/category/
tag. */ (0,Lt.__)("WordPress adds a lot of links and content to your site's %1$s and HTTP headers. For most websites you can safely disable all of these, which can help to save bytes, electricity, and trees.","wordpress-seo"),""),{code:(0,e.createElement)(l.Code,null,"")}),removeShortlinks:(0,i.createInterpolateElement)(d,{code:(0,e.createElement)(l.Code,{variant:"block"},'')}),removeRestApiLinks:(0,i.createInterpolateElement)(d,{code:(0,e.createElement)(l.Code,{variant:"block"},'')}),removeRsdWlwLinks:(0,i.createInterpolateElement)(u,{code1:(0,e.createElement)(l.Code,{variant:"block"},''),code2:(0,e.createElement)(l.Code,{variant:"block"},'')}),removeOembedLinks:(0,i.createInterpolateElement)(d,{code:(0,e.createElement)(l.Code,{variant:"block"},'')}),removeGenerator:(0,i.createInterpolateElement)(d,{code:(0,e.createElement)(l.Code,{variant:"block"},'')}),removePingbackHeader:(0,i.createInterpolateElement)(d,{code:(0,e.createElement)(l.Code,{variant:"block"},"X-Pingback: https://www.example.com/xmlrpc.php")}),removePoweredByHeader:(0,i.createInterpolateElement)(d,{code:(0,e.createElement)(l.Code,{variant:"block"},"X-Powered-By: PHP/7.4.1")}),removeFeedGlobal:(0,i.createInterpolateElement)(d,{code:(0,e.createElement)(l.Code,{variant:"block"},'')}),removeFeedGlobalComments:(0,i.createInterpolateElement)(d,{code:(0,e.createElement)(l.Code,{variant:"block"},'')}),removeFeedPostComments:(0,i.createInterpolateElement)(d,{code:(0,e.createElement)(l.Code,{variant:"block"},'')}),removeFeedAuthors:(0,i.createInterpolateElement)(d,{code:(0,e.createElement)(l.Code,{variant:"block"},'')}),removeFeedPostTypes:(0,i.createInterpolateElement)(d,{code:(0,e.createElement)(l.Code,{variant:"block"},'')}),removeFeedCategories:(0,i.createInterpolateElement)(d,{code:(0,e.createElement)(l.Code,{variant:"block"},'')}),removeFeedTags:(0,i.createInterpolateElement)(d,{code:(0,e.createElement)(l.Code,{variant:"block"},'')}),removeFeedCustomTaxonomies:(0,i.createInterpolateElement)(d,{code:(0,e.createElement)(l.Code,{variant:"block"},'')}),removeFeedSearch:(0,i.createInterpolateElement)(d,{code:(0,e.createElement)(l.Code,{variant:"block"},'')}),removeAtomRdfFeeds:(0,i.createInterpolateElement)(d,{code:(0,e.createElement)(l.Code,{variant:"block"},'')}),denyWpJsonCrawling:(0,i.createInterpolateElement)(u,{code1:(0,e.createElement)(l.Code,{variant:"block"},"https://www.example.com/wp-json/"),code2:(0,e.createElement)(l.Code,{variant:"block"},"https://www.example.com/?rest_route=/")}),blockUnwantedBots:(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("Lots of web traffic comes from bots crawling the web. Some can benefit your site or business, while other bots don’t. Blocking unwanted bots can save energy, help with site performance, and protect copyrighted content. Learn more about %1$swhen to block unwanted bots%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)(Er,{id:"link-block-unwanted-bots-info",href:n})}),redirectSearchPrettyUrls:(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s, %2$s and %3$s expand to example parts of a URL, surrounded by tags. */ (0,Lt.__)("Consolidates WordPress' multiple site search URL formats into the %1$s syntax. E.g., %2$s will redirect to %3$s","wordpress-seo"),"","",""),{code1:(0,e.createElement)(l.Code,null,"?s="),code2:(0,e.createElement)(l.Code,{variant:"block"},"https://www.example.com/search/cats"),code3:(0,e.createElement)(l.Code,{variant:"block"},"https://www.example.com/?s=cats")}),denySearchCrawling:(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s, %2$s and %3$s expand to example parts of a URL, surrounded by tags. */ (0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling of URLs like %1$s, %2$s and %3$s.","wordpress-seo"),"","",""),{code1:(0,e.createElement)(l.Code,null,"?s="),code2:(0,e.createElement)(l.Code,null,"/search/"),code3:(0,e.createElement)(l.Code,null,"/page/*/?s=")}),advancedUrlCleanup:(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an example part of a URL, surrounded by a tag. */ (0,Lt.__)("Users and search engines may often request your URLs whilst using query parameters, like %1$s. These can be helpful for tracking, filtering, and powering advanced functionality - but they come with a performance and SEO ‘cost’. Sites which don’t rely on URL parameters might benefit from using these options.","wordpress-seo"),""),{code:(0,e.createElement)(l.Code,null,"?color=red")}),cleanCampaignTrackingUrls:(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: * %1$s expands to `utm`. * %2$s expands to `#`. * %3$s expands to `301`. * %4$s and %5$s both expand to an example within a tag. */ (0,Lt.__)("Replaces %1$s tracking parameters with the (more performant) %2$s equivalent, via a %3$s redirect. E.g., %4$s will be redirected to %5$s","wordpress-seo"),"","","","",""),{code1:(0,e.createElement)(l.Code,null,"utm"),code2:(0,e.createElement)(l.Code,null,"#"),code3:(0,e.createElement)(l.Code,null,"301"),code4:(0,e.createElement)(l.Code,{variant:"block"},"https://www.example.com/?utm_medium=organic"),code5:(0,e.createElement)(l.Code,{variant:"block"},"https://www.example.com/#utm_medium=organic")}),cleanPermalinks:(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: * %1$s expands to `301`. * %2$s and %3$s both expand to an example within a tag. */ (0,Lt.__)("Removes unknown URL parameters via a %1$s redirect. E.g., %2$s will be redirected to %3$s","wordpress-seo"),"","","")+(0,Lt.sprintf)( /** * translators: * %1$s through %7$s each expand to a parameter name within a tag. For example, gclid. */ (0,Lt.__)("Note that the following commonly-used parameters will not be removed: %1$s, %2$s, %3$s, %4$s, %5$s, %6$s, and %7$s.","wordpress-seo"),"","","","","","",""),{code1:(0,e.createElement)(l.Code,null,"301"),code2:(0,e.createElement)(l.Code,{variant:"block"},"https://www.example.com/?unknown_parameter=yes"),code3:(0,e.createElement)(l.Code,{variant:"block"},"https://www.example.com"),code4:(0,e.createElement)(l.Code,null,"gclid"),code5:(0,e.createElement)(l.Code,null,"gtm_debug"),code6:(0,e.createElement)(l.Code,null,"utm_campaign"),code7:(0,e.createElement)(l.Code,null,"utm_content"),code8:(0,e.createElement)(l.Code,null,"utm_medium"),code9:(0,e.createElement)(l.Code,null,"utm_source"),code10:(0,e.createElement)(l.Code,null,"utm_term")}),cleanPermalinksExtraVariables:(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: * %1$s expands to `unknown_parameter`. * %2$s and %3$s both expand to an example within a tag. */ (0,Lt.__)("Prevents specific URL parameters from being removed by the above feature. E.g., adding %1$s will prevent %2$s from being redirected to %3$s. You can add multiple parameters and separate them by using enter or a comma.","wordpress-seo"),"","",""),{code1:(0,e.createElement)(l.Code,null,"unknown_parameter"),code2:(0,e.createElement)(l.Code,null,"https://www.example.com/?unknown_parameter=yes"),code3:(0,e.createElement)(l.Code,null,"https://www.example.com")})})),[]),{values:m}=q(),{remove_feed_global_comments:f,remove_feed_post_comments:h,search_cleanup:y,search_cleanup_emoji:w,search_cleanup_patterns:_,clean_permalinks:g}=m.wpseo;return(0,e.createElement)(uo,{title:(0,Lt.__)("Crawl optimization","wordpress-seo"),description:p.page},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("Remove unwanted metadata","wordpress-seo"),description:p.removeUnwantedMetadata},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_shortlinks",id:"input-wpseo-remove_shortlinks",label:(0,Lt.__)("Remove shortlinks","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links to WordPress' internal 'shortlink' URLs for your posts.","wordpress-seo")," ",p.removeShortlinks),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_rest_api_links",id:"input-wpseo-remove_rest_api_links",label:(0,Lt.__)("Remove REST API links","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links to the location of your site’s REST API endpoints.","wordpress-seo")," ",p.removeRestApiLinks),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_rsd_wlw_links",id:"input-wpseo-remove_rsd_wlw_links",label:(0,Lt.__)("Remove RSD / WLW links","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links used by external systems for publishing content to your blog.","wordpress-seo")," ",p.removeRsdWlwLinks),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_oembed_links",id:"input-wpseo-remove_oembed_links",label:(0,Lt.__)("Remove oEmbed links","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links used for embedding your content on other sites.","wordpress-seo")," ",p.removeOembedLinks),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_generator",id:"input-wpseo-remove_generator",label:(0,Lt.__)("Remove generator tag","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove information about the plugins and software used by your site.","wordpress-seo")," ",p.removeGenerator),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_pingback_header",id:"input-wpseo-remove_pingback_header",label:(0,Lt.__)("Pingback HTTP header","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links which allow others sites to ‘ping’ yours when they link to you.","wordpress-seo")," ",p.removePingbackHeader),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_powered_by_header",id:"input-wpseo-remove_powered_by_header",label:(0,Lt.__)("Remove powered by HTTP header","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove information about the plugins and software used by your site.","wordpress-seo")," ",p.removePoweredByHeader)),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Disable unwanted content formats","wordpress-seo"),description:(0,Lt.__)("WordPress outputs your content in many different formats, across many different URLs (like RSS feeds of your posts and categories). It’s generally good practice to disable the formats you’re not actively using.","wordpress-seo")},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_global",id:"input-wpseo-remove_feed_global",label:(0,Lt.__)("Remove global feed","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide an overview of your recent posts.","wordpress-seo")," ",p.removeFeedGlobal),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_global_comments",id:"input-wpseo-remove_feed_global_comments",label:(0,Lt.__)("Remove global comment feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide an overview of recent comments on your site.","wordpress-seo")," ",p.removeFeedGlobalComments,(0,Lt.__)("Also disables post comment feeds.","wordpress-seo")),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_post_comments",id:"input-wpseo-remove_feed_post_comments",label:(0,Lt.__)("Remove post comments feeds","wordpress-seo"),disabled:f,checked:f||h,className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about recent comments on each post.","wordpress-seo")," ",p.removeFeedPostComments),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_authors",id:"input-wpseo-remove_feed_authors",label:(0,Lt.__)("Remove post authors feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about recent posts by specific authors.","wordpress-seo")," ",p.removeFeedAuthors),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_post_types",id:"input-wpseo-remove_feed_post_types",label:(0,Lt.__)("Remove post type feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your recent posts, for each post type.","wordpress-seo")," ",p.removeFeedPostTypes),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_categories",id:"input-wpseo-remove_feed_categories",label:(0,Lt.__)("Remove category feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your recent posts, for each category.","wordpress-seo")," ",p.removeFeedCategories),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_tags",id:"input-wpseo-remove_feed_tags",label:(0,Lt.__)("Remove tag feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your recent posts, for each tag.","wordpress-seo")," ",p.removeFeedTags),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_custom_taxonomies",id:"input-wpseo-remove_feed_custom_taxonomies",label:(0,Lt.__)("Remove custom taxonomy feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your recent posts, for each custom taxonomy.","wordpress-seo")," ",p.removeFeedCustomTaxonomies),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_search",id:"input-wpseo-remove_feed_search",label:(0,Lt.__)("Remove search results feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your search results.","wordpress-seo")," ",p.removeFeedSearch),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_atom_rdf_feeds",id:"input-wpseo-remove_atom_rdf_feeds",label:(0,Lt.__)("Remove Atom / RDF feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide alternative (legacy) formats of all of the above.","wordpress-seo")," ",p.removeAtomRdfFeeds)),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Remove unused resources","wordpress-seo"),description:(0,Lt.__)("WordPress loads lots of resources, some of which your site might not need. If you’re not using these, removing them can speed up your pages and save resources.","wordpress-seo")},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_emoji_scripts",id:"input-wpseo-remove_emoji_scripts",label:(0,Lt.__)("Remove emoji scripts","wordpress-seo"),description:(0,Lt.__)("Remove JavaScript used for converting emoji characters in older browsers.","wordpress-seo"),className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_wp_json_crawling",id:"input-wpseo-deny_wp_json_crawling",label:(0,Lt.__)("Remove WP-JSON API","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling of WordPress' JSON API endpoints.","wordpress-seo")," ",p.denyWpJsonCrawling)),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Block unwanted bots","wordpress-seo"),description:p.blockUnwantedBots},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_adsbot_crawling",id:"input-wpseo-deny_adsbot_crawling",label:(0,Lt.__)("Prevent Google AdsBot from crawling","wordpress-seo"),description:(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by Google AdsBot. You should only enable this setting if you're not using Google Ads on your site.","wordpress-seo"),className:"yst-max-w-2xl"}),(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!s&&!t,variant:"card",cardLink:c,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...r},(0,e.createElement)(pl,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_google_extended_crawling",id:"input-wpseo-deny_google_extended_crawling",label:(0,Lt.__)("Prevent Google Gemini and Vertex AI bots from crawling","wordpress-seo"),description:(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by the Google-Extended bot. Enabling this setting won’t prevent Google from indexing your website.","wordpress-seo"),labelSuffix:t&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium"),className:"yst-max-w-2xl",isDummy:!t}),(0,e.createElement)(pl,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_gptbot_crawling",id:"input-wpseo-deny_gptbot_crawling",label:(0,Lt.__)("Prevent OpenAI GPTBot from crawling","wordpress-seo"),description:(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by OpenAI GPTBot.","wordpress-seo"),labelSuffix:t&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium"),className:"yst-max-w-2xl",isDummy:!t}),(0,e.createElement)(pl,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_ccbot_crawling",id:"input-wpseo-deny_ccbot_crawling",label:(0,Lt.__)("Prevent Common Crawl CCBot from crawling","wordpress-seo"),description:(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by Common Crawl CCBot.","wordpress-seo"),labelSuffix:t&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium"),className:"yst-max-w-2xl",isDummy:!t}))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Internal site search cleanup","wordpress-seo"),description:(0,Lt.__)("Your internal site search can create lots of confusing URLs for search engines, and can even be used as a way for SEO spammers to attack your site. Most sites will benefit from experimenting with these protections and optimizations, even if you don’t have a search feature in your theme.","wordpress-seo")},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.search_cleanup",id:"input-wpseo-search_cleanup",label:(0,Lt.__)("Filter search terms","wordpress-seo"),description:(0,Lt.__)("Enables advanced settings for protecting your internal site search URLs.","wordpress-seo"),className:"yst-max-w-2xl"}),(0,e.createElement)(dl,{as:l.TextField,type:"number",name:"wpseo.search_character_limit",id:"input-wpseo-search_character_limit",label:(0,Lt.__)("Max number of characters to allow in searches","wordpress-seo"),description:(0,Lt.__)("Limit the length of internal site search queries to reduce the impact of spam attacks and confusing URLs. Please enter a number between 1 and 50.","wordpress-seo"),disabled:!y}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.search_cleanup_emoji",id:"input-wpseo-search_cleanup_emoji",label:(0,Lt.__)("Filter searches with emojis and other special characters","wordpress-seo"),description:(0,Lt.__)("Block internal site searches which contain complex and non-alphanumeric characters, as they may be part of a spam attack.","wordpress-seo"),disabled:!y,checked:y&&w,className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.search_cleanup_patterns",id:"input-wpseo-search_cleanup_patterns",label:(0,Lt.__)("Filter searches with common spam patterns","wordpress-seo"),description:(0,Lt.__)("Block internal site searches which match the patterns of known spam attacks.","wordpress-seo"),disabled:!y,checked:y&&_,className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.redirect_search_pretty_urls",id:"input-wpseo-redirect_search_pretty_urls",label:(0,Lt.__)("Redirect pretty URLs to ‘raw’ formats","wordpress-seo"),description:p.redirectSearchPrettyUrls,className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_search_crawling",id:"input-wpseo-deny_search_crawling",label:(0,Lt.__)("Prevent crawling of internal site search URLs","wordpress-seo"),description:p.denySearchCrawling,className:"yst-max-w-2xl"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Advanced: URL cleanup","wordpress-seo"),description:p.advancedUrlCleanup},(0,e.createElement)(l.Alert,{id:"alert-permalink-cleanup-settings",variant:"error"},(0,i.createInterpolateElement)((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. (0,Lt.__)("Warning! These are expert features, so make sure you know what you're doing before using this setting. You might break your site. %1$sRead more about how your site can be affected%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)("a",{id:"link-permalink-cleanup-info",href:o,target:"_blank",rel:"noopener noreferrer"})})),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.clean_campaign_tracking_urls",id:"input-wpseo-clean_campaign_tracking_urls",label:(0,Lt.__)("Optimize Google Analytics utm tracking parameters","wordpress-seo"),description:p.cleanCampaignTrackingUrls,className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.clean_permalinks",id:"input-wpseo-clean_permalinks",label:(0,Lt.__)("Remove unregistered URL parameters","wordpress-seo"),description:p.cleanPermalinks,className:"yst-max-w-2xl"}),(0,e.createElement)(ba,{name:"wpseo.clean_permalinks_extra_variables",id:"input-wpseo-clean_permalinks_extra_variables",label:(0,Lt.__)("Additional URL parameters to allow","wordpress-seo"),description:p.cleanPermalinksExtraVariables,disabled:!g})))))},fl=Ca(_a),hl=()=>{const t=(0,Lt.__)("Date archives","wordpress-seo"),s=aa("selectPreference",[],"userLocale"),r=(0,i.useMemo)((()=>gn(t,s)),[t,s]),a=aa("selectUpsellSettingsAsProps"),o=aa("selectReplacementVariablesFor",[],"date_archive","custom-post-type_archive"),n=aa("selectRecommendedReplacementVariablesFor",[],"date_archive","custom-post-type_archive"),c=aa("selectLink",[],"https://yoa.st/show-x"),d=aa("selectPreference",[],"isPremium"),u=aa("selectLink",[],"https://yoa.st/4e0"),p=aa("selectExampleUrl",[],"/2020/"),m=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})})),[]),f=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to "Date archives". * %2$s expands to an example URL, e.g. https://example.com/author/example/. * %3$s expands to "date archives". */ (0,Lt.__)("%1$s (e.g. %2$s) are based on publication dates. From an SEO perspective, the posts in these archives have no real relation to the other posts except for their publication dates, which doesn’t say much about the content. They could also lead to duplicate content issues. This is why we recommend you to disable %3$s.","wordpress-seo"),t,"",r),{exampleUrl:(0,e.createElement)(l.Code,null,p)}))),{values:h}=q(),{opengraph:y}=h.wpseo_social,{"disable-date":w,"noindex-archive-wpseo":_}=h.wpseo_titles;return(0,e.createElement)(uo,{title:t,description:f},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)("fieldset",{className:"yst-min-width-0 yst-space-y-8"},(0,e.createElement)(ua,{name:"wpseo_titles.disable-date",id:"input-wpseo_titles-disable-date",label:(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Enable %1$s","wordpress-seo"),r),description:(0,Lt.sprintf)( // translators: %1$s expands to "Date archives". (0,Lt.__)("%1$s can cause duplicate content issues. For most sites, we recommend that you disable this setting.","wordpress-seo"),t),className:"yst-max-w-sm"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Search appearance","wordpress-seo"),description:(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Determine how your %1$s should look in search engines.","wordpress-seo"),r)},(0,e.createElement)(ua,{name:"wpseo_titles.noindex-archive-wpseo",id:"input-wpseo_titles-noindex-archive-wpseo",label:(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Show %1$s in search results","wordpress-seo"),r),description:(0,e.createElement)(e.Fragment,null,(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps. We recommend that you disable this setting.","wordpress-seo"),r)," ",(0,e.createElement)(l.Link,{href:c,target:"_blank",rel:"noopener"},(0,Lt.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:w,checked:!w&&!_,className:"yst-max-w-sm"}),(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.title-archive-wpseo",fieldId:"input-wpseo_titles-title-archive-wpseo",label:(0,Lt.__)("SEO title","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:n,disabled:w}),(0,e.createElement)(_a,{type:"description",name:"wpseo_titles.metadesc-archive-wpseo",fieldId:"input-wpseo_titles-metadesc-archive-wpseo",label:(0,Lt.__)("Meta description","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:n,disabled:w,className:"yst-replacevar--description"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},(0,e.createElement)("span",null,(0,Lt.__)("Social media appearance","wordpress-seo")),d&&(0,e.createElement)(l.Badge,{variant:"upsell"},"Premium")),description:(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Determine how your %1$s should look on social media by default.","wordpress-seo"),r)},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!d,variant:"card",cardLink:u,cardText:(0,Lt.sprintf)( // translators: %1$s expands to Premium. (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...a},(0,e.createElement)(Wa,{isEnabled:!d||y}),(0,e.createElement)(ha,{id:"wpseo_titles-social-image-archive-wpseo",label:(0,Lt.__)("Social image","wordpress-seo"),previewLabel:m,mediaUrlName:"wpseo_titles.social-image-url-archive-wpseo",mediaIdName:"wpseo_titles.social-image-id-archive-wpseo",disabled:w||!y,isDummy:!d}),(0,e.createElement)(fl,{type:"title",name:"wpseo_titles.social-title-archive-wpseo",fieldId:"input-wpseo_titles-social-title-archive-wpseo",label:(0,Lt.__)("Social title","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:n,disabled:w||!y,isDummy:!d}),(0,e.createElement)(fl,{type:"description",name:"wpseo_titles.social-description-archive-wpseo",fieldId:"input-wpseo_titles-social-description-archive-wpseo",label:(0,Lt.__)("Social description","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:n,className:"yst-replacevar--description",disabled:w||!y,isDummy:!d}))))))},yl=Ca(_a),wl=()=>{const{name:t,label:s,singularLabel:r}=aa("selectTaxonomy",[],"post_format"),a=aa("selectPreference",[],"userLocale"),o=(0,i.useMemo)((()=>gn(s,a)),[s,a]),n=(0,i.useMemo)((()=>gn(r,a)),[r,a]),c=aa("selectUpsellSettingsAsProps"),d=aa("selectReplacementVariablesFor",[t],t,"term-in-custom-taxonomy"),u=aa("selectRecommendedReplacementVariablesFor",[t],t,"term-in-custom-taxonomy"),p=aa("selectLink",[],"https://yoa.st/show-x"),m=aa("selectPreference",[],"isPremium"),f=aa("selectLink",[],"https://yoa.st/4e0"),h=aa("selectExampleUrl",[],"/format/example/"),y=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})})),[]),w=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("(e.g., %1$s)","wordpress-seo"),""),{exampleUrl:(0,e.createElement)(l.Code,null,h)}))),{values:_}=q(),{opengraph:g}=_.wpseo_social,{"disable-post_format":b,"noindex-tax-post_format":v}=_.wpseo_titles;return(0,e.createElement)(uo,{title:(0,Lt.__)("Format archives","wordpress-seo"),description:w},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(ua,{name:"wpseo_titles.disable-post_format",id:"input-wpseo_titles-disable-post_format",label:(0,Lt.__)("Enable format-based archives","wordpress-seo"),description:(0,Lt.__)("Format-based archives can cause duplicate content issues. For most sites, we recommend that you disable this setting.","wordpress-seo"),className:"yst-max-w-sm"}),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Search appearance","wordpress-seo"),description:(0,Lt.sprintf)( // translators: %1$s expands to "formats". %2$s expands to "Yoast SEO". (0,Lt.__)("Determine how your %1$s should look in search engines. You can always customize the settings for individual %1$s in the %2$s metabox.","wordpress-seo"),o,"Yoast SEO")},(0,e.createElement)(ua,{name:`wpseo_titles.noindex-tax-${t}`,id:`input-wpseo_titles-noindex-tax-${t}`,label:(0,Lt.sprintf)( // translators: %1$s expands to "format". (0,Lt.__)("Show %1$s archives in search results","wordpress-seo"),n),description:(0,e.createElement)(e.Fragment,null,(0,Lt.sprintf)( // translators: %1$s expands to "formats". (0,Lt.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps. We recommend that you disable this setting.","wordpress-seo"),o)," ",(0,e.createElement)(l.Link,{href:p,target:"_blank",rel:"noopener"},(0,Lt.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:b,checked:!b&&!v,className:"yst-max-w-sm"}),(0,e.createElement)(_a,{type:"title",name:`wpseo_titles.title-tax-${t}`,fieldId:`input-wpseo_titles-title-tax-${t}`,label:(0,Lt.__)("SEO title","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,disabled:b}),(0,e.createElement)(_a,{type:"description",name:`wpseo_titles.metadesc-tax-${t}`,fieldId:`input-wpseo_titles-metadesc-tax-${t}`,label:(0,Lt.__)("Meta description","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,disabled:b,className:"yst-replacevar--description"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},(0,e.createElement)("span",null,(0,Lt.__)("Social media appearance","wordpress-seo")),m&&(0,e.createElement)(l.Badge,{variant:"upsell"},"Premium")),description:(0,Lt.sprintf)( // translators: %1$s expands to "formats". %2$s expands to "Yoast SEO". (0,Lt.__)("Determine how your %1$s should look on social media by default. You can always customize the settings for individual %1$s in the %2$s metabox.","wordpress-seo"),o,"Yoast SEO")},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!m,variant:"card",cardLink:f,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...c},(0,e.createElement)(Wa,{isEnabled:!m||g}),(0,e.createElement)(ha,{id:`wpseo_titles-social-image-tax-${t}`,label:(0,Lt.__)("Social image","wordpress-seo"),previewLabel:y,mediaUrlName:`wpseo_titles.social-image-url-tax-${t}`,mediaIdName:`wpseo_titles.social-image-id-tax-${t}`,disabled:b||!g,isDummy:!m}),(0,e.createElement)(yl,{type:"title",name:`wpseo_titles.social-title-tax-${t}`,fieldId:`input-wpseo_titles-social-title-tax-${t}`,label:(0,Lt.__)("Social title","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,disabled:b||!g,isDummy:!m}),(0,e.createElement)(yl,{type:"description",name:`wpseo_titles.social-description-tax-${t}`,fieldId:`input-wpseo_titles-social-description-tax-${t}`,label:(0,Lt.__)("Social description","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,className:"yst-replacevar--description",disabled:b||!g,isDummy:!m}))))))},_l=()=>{const t=aa("selectReplacementVariablesFor",[],"homepage","page"),s=aa("selectRecommendedReplacementVariablesFor",[],"homepage","page"),r=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})})),[]),{values:a}=q(),{opengraph:o}=a.wpseo_social;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(na,{title:(0,Lt.__)("Search appearance","wordpress-seo"),description:(0,Lt.__)("Determine how your homepage should look in the search results.","wordpress-seo")},(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.title-home-wpseo",fieldId:"input-wpseo_titles-title-home-wpseo",label:(0,Lt.__)("SEO title","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s}),(0,e.createElement)(_a,{type:"description",name:"wpseo_titles.metadesc-home-wpseo",fieldId:"input-wpseo_titles-metadesc-home-wpseo",label:(0,Lt.__)("Meta description","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s,className:"yst-replacevar--description"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Social media appearance","wordpress-seo"),description:(0,Lt.__)("Determine how your homepage should look on social media.","wordpress-seo")},(0,e.createElement)(Wa,{isEnabled:o /* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */,text:(0,Lt.__)("The %1$ssocial image%2$s, %1$ssocial title%2$s and %1$ssocial description%2$s require Open Graph data, which is currently disabled in the ‘Social sharing’ section in %3$sSite features%4$s.","wordpress-seo")}),(0,e.createElement)(ha,{id:"wpseo_titles-open_graph_frontpage_image",label:(0,Lt.__)("Social image","wordpress-seo"),previewLabel:r,mediaUrlName:"wpseo_titles.open_graph_frontpage_image",mediaIdName:"wpseo_titles.open_graph_frontpage_image_id",disabled:!o}),(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.open_graph_frontpage_title",fieldId:"input-wpseo_titles-open_graph_frontpage_title",label:(0,Lt.__)("Social title","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s,disabled:!o}),(0,e.createElement)(_a,{type:"description",name:"wpseo_titles.open_graph_frontpage_desc",fieldId:"input-wpseo_titles-open_graph_frontpage_desc",label:(0,Lt.__)("Social description","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s,className:"yst-replacevar--description",disabled:!o})))},gl=()=>{const t=aa("selectPreference",[],"homepagePageEditUrl"),s=aa("selectPreference",[],"homepagePostsEditUrl"),r=(0,i.useMemo)((()=>Xi((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("You can determine the title and description for the homepage by %1$sediting the homepage itself%2$s.","wordpress-seo"),"",""),t,"link-homepage-page-edit"))),a=(0,i.useMemo)((()=>Xi((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("You can determine the title and description for the blog page by %1$sediting the blog page itself%2$s.","wordpress-seo"),"",""),s,"link-homepage-posts-page-edit")));return(0,e.createElement)("div",{className:"yst-max-w-screen-sm"},(0,e.createElement)(l.Alert,null,(0,e.createElement)("p",null,r),s&&(0,e.createElement)("p",{className:"yst-pt-2"},a)))},bl=()=>{const t=aa("selectPreference",[],"homepageIsLatestPosts");return(0,e.createElement)(uo,{title:(0,Lt.__)("Homepage","wordpress-seo"),description:(0,Lt.__)("Determine how your homepage should look in the search results and on social media. This is what people probably will see when they search for your brand name.","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},t&&(0,e.createElement)(_l,null),!t&&(0,e.createElement)(gl,null))))},vl=()=>{const{name:t,label:s,hasSchemaArticleType:r}=aa("selectPostType",[],"attachment"),a=aa("selectPreference",[],"userLocale"),o=(0,i.useMemo)((()=>gn(s,a)),[s,a]),n=aa("selectReplacementVariablesFor",[t],t,"custom_post_type"),c=aa("selectRecommendedReplacementVariablesFor",[t],t,"custom_post_type"),d=aa("selectArticleTypeValuesFor",[t],t),u=aa("selectPageTypeValuesFor",[t],t),p=aa("selectLink",[],"https://yoa.st/media-pages-thin-content"),m=aa("selectLink",[],"https://yoa.st/show-x"),{values:f}=q(),{"disable-attachment":h,"noindex-attachment":y}=f.wpseo_titles,w=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s and %2$s are replaced by opening and closing tags. * %3$s expands to "media". * %4$s expand to "Yoast SEO". * %5$s expand to "WordPress". */ (0,Lt.__)("When you upload media (e.g. an image or video), %5$s automatically creates a %3$s page (attachment URL) for it. These pages are quite empty and could cause %1$sthin content problems and lead to excess pages on your site%2$s. Therefore, %4$s disables them by default (and redirects the attachment URL to the media itself).","wordpress-seo"),"","",o,"Yoast SEO","WordPress"),{a:(0,e.createElement)("a",{href:p,target:"_blank",rel:"noopener noreferrer"})})));return(0,e.createElement)(uo,{title:(0,Lt.sprintf)( // translators: %1$s expands to "Media". (0,Lt.__)("%1$s pages","wordpress-seo"),s),description:w},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)("fieldset",{className:"yst-min-width-0 yst-space-y-8"},(0,e.createElement)(ua,{name:`wpseo_titles.disable-${t}`,id:`input-wpseo_titles-disable-${t}`,label:(0,Lt.sprintf)( // translators: %1$s expands to "media". (0,Lt.__)("Enable %1$s pages","wordpress-seo"),o),description:(0,Lt.sprintf)( // translators: %1$s expands to "media". (0,Lt.__)("We recommend keeping %1$s pages disabled. This will cause all attachment URLs to be redirected to the media itself.","wordpress-seo"),o),className:"yst-max-w-sm"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Search appearance","wordpress-seo"),description:(0,Lt.sprintf)( // translators: %1$s expands to "media". %3$s expands to "Yoast SEO". (0,Lt.__)("Determine how your %1$s pages should look in search engines. You can always customize the settings for individual %1$s pages in the %2$s metabox.","wordpress-seo"),o,"Yoast SEO")},(0,e.createElement)(ua,{name:`wpseo_titles.noindex-${t}`,id:`input-wpseo_titles-noindex-${t}`,label:(0,Lt.sprintf)( // translators: %1$s expands to "media". (0,Lt.__)("Show %1$s pages in search results","wordpress-seo"),o),description:(0,e.createElement)(e.Fragment,null,(0,Lt.sprintf)( // translators: %1$s expands to "media". (0,Lt.__)("Disabling this means that %1$s pages created by WordPress will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),o),(0,e.createElement)("br",null),(0,e.createElement)(l.Link,{href:m,target:"_blank",rel:"noopener"},(0,Lt.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:h,checked:!h&&!y,className:"yst-max-w-sm"}),(0,e.createElement)(_a,{type:"title",name:`wpseo_titles.title-${t}`,fieldId:`input-wpseo_titles-title-${t}`,label:(0,Lt.__)("SEO title","wordpress-seo"),replacementVariables:n,recommendedReplacementVariables:c,disabled:h}),(0,e.createElement)(_a,{type:"description",name:`wpseo_titles.metadesc-${t}`,fieldId:`input-wpseo_titles-metadesc-${t}`,label:(0,Lt.__)("Meta description","wordpress-seo"),replacementVariables:n,recommendedReplacementVariables:c,disabled:h,className:"yst-replacevar--description"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Schema","wordpress-seo"),description:(0,Lt.sprintf)( // translators: %1$s expands to "media". %3$s expands to "Yoast SEO". (0,Lt.__)("Determine how your %1$s pages should be described by default in your site's Schema.org markup. You can always customize the settings for individual %1$s pages in the %2$s metabox.","wordpress-seo"),o,"Yoast SEO")},(0,e.createElement)(Ra,{as:l.SelectField,type:"select",name:`wpseo_titles.schema-page-type-${t}`,id:`input-wpseo_titles-schema-page-type-${t}`,label:(0,Lt.__)("Page type","wordpress-seo"),options:u,disabled:h,className:"yst-max-w-sm"}),r&&(0,e.createElement)("div",null,(0,e.createElement)(Ra,{as:l.SelectField,type:"select",name:`wpseo_titles.schema-article-type-${t}`,id:`input-wpseo_titles-schema-article-type-${t}`,label:(0,Lt.__)("Article type","wordpress-seo"),options:d,disabled:h,className:"yst-max-w-sm"}),(0,e.createElement)(za,{name:t,disabled:h}))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Additional settings","wordpress-seo")},(0,e.createElement)(Ra,{as:l.ToggleField,type:"checkbox",name:`wpseo_titles.display-metabox-pt-${t}`,id:`input-wpseo_titles-display-metabox-pt-${t}`,label:(0,Lt.__)("Enable SEO controls and assessments","wordpress-seo"),description:(0,Lt.__)("Show or hide our tools and controls in the attachment editor.","wordpress-seo"),disabled:h,className:"yst-max-w-sm"})))))},El=({children:t})=>(0,e.createElement)(l.Table.Cell,{className:"yst-font-medium"},(0,e.createElement)("span",{className:"yst-text-slate-900"},t));El.propTypes={children:ir().node.isRequired};const xl=()=>(0,e.createElement)(uo,{title:(0,Lt.__)("RSS","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("RSS feed","wordpress-seo"),description:(0,Lt.__)("Automatically add content to your RSS. This enables you to add links back to your blog and your blog posts, helping search engines identify you as the original source of the content.","wordpress-seo")},(0,e.createElement)(te,{as:l.TextareaField,type:"textarea",rows:4,name:"wpseo_titles.rssbefore",id:"input-wpseo_titles-rssbefore",label:(0,Lt.__)("Content to put before each post in the feed","wordpress-seo")}),(0,e.createElement)(te,{as:l.TextareaField,type:"textarea",rows:4,name:"wpseo_titles.rssafter",id:"input-wpseo_titles-rssafter",label:(0,Lt.__)("Content to put after each post in the feed","wordpress-seo")})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{as:"section",title:(0,Lt.__)("Available variables","wordpress-seo"),description:(0,Lt.__)("You can use the following variables within the content, they will be replaced by the value on the right.","wordpress-seo")},(0,e.createElement)(l.Table,null,(0,e.createElement)(l.Table.Head,null,(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(l.Table.Header,{scope:"col"},(0,Lt.__)("Variable","wordpress-seo")),(0,e.createElement)(l.Table.Header,{scope:"col"},(0,Lt.__)("Description","wordpress-seo")))),(0,e.createElement)(l.Table.Body,null,(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(El,null,"%%AUTHORLINK%%"),(0,e.createElement)(l.Table.Cell,null,(0,Lt.__)("A link to the archive for the post author, with the author's name as anchor text.","wordpress-seo"))),(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(El,null,"%%POSTLINK%%"),(0,e.createElement)(l.Table.Cell,null,(0,Lt.__)("A link to the post, with the title as anchor text.","wordpress-seo"))),(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(El,null,"%%BLOGLINK%%"),(0,e.createElement)(l.Table.Cell,null,(0,Lt.__)("A link to your site, with your site's name as anchor text.","wordpress-seo"))),(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(El,null,"%%BLOGDESCLINK%%"),(0,e.createElement)(l.Table.Cell,null,(0,Lt.__)("A link to your site, with your site's name and description as anchor text.","wordpress-seo"))))))))),kl=Oa(l.ToggleField),Sl=Aa($a),Ll=()=>{const t=(0,i.useMemo)((()=>(0,le.get)(window,"wpseoScriptData.separators",{})),[]),s=aa("selectPreference",[],"generalSettingsUrl"),r=aa("selectPreference",[],"canManageOptions",!1),a=aa("selectPreference",[],"showForceRewriteTitlesSetting",!1),o=aa("selectLink",[],"https://yoa.st/site-basics-replacement-variables"),n=aa("selectLink",[],"https://yoa.st/usage-tracking-2"),c=aa("selectLink",[],"https://yoa.st/site-policies-learn-more"),d=aa("selectPreference",[],"siteTitle",""),u=aa("selectLink",[],"https://yoa.st/site-policies-upsell"),p=aa("selectPreference",[],"isPremium"),m=aa("selectUpsellSettingsAsProps"),{fetchPages:f}=ta(),h=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("Usage tracking allows us to track some data about your site to improve our plugin. %1$sLearn more about which data we track and why%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)("a",{id:"link-usage-tracking",href:n,target:"_blank",rel:"noopener"})})),[]),y=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("Select the pages on your website which contain information about your organizational and publishing policies. Some of these might not apply to your site, and you can select the same page for multiple policies. %1$sLearn more about why setting your site policies is important%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)("a",{id:"link-site-policies",href:c,target:"_blank",rel:"noopener"})})),[c]),w=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s and %2$s expand to an opening and closing emphasis tag. %3$s and %4$s expand to an opening and closing anchor tag. */ (0,Lt.__)("Set the basic info for your website. You can use %1$stagline%2$s and %1$sseparator%2$s as %3$sreplacement variables%4$s when configuring the search appearance of your content.","wordpress-seo"),"","","",""),{em:(0,e.createElement)("em",null),a:(0,e.createElement)("a",{id:"site-basics-replacement-variables",href:o,target:"_blank",rel:"noopener"})})),[]),_=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */ (0,Lt.__)("We're sorry, you're not allowed to edit the %1$swebsite name%2$s and %1$stagline%2$s.","wordpress-seo"),"",""),{em:(0,e.createElement)("em",null)})),[]),g=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})})),[]),b=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening anchor tag. * %2$s expands to a closing anchor tag. */ (0,Lt.__)("This field updates the %1$stagline in your WordPress settings%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)("a",{href:`${s}#blogdescription`,target:"_blank",rel:"noopener noreferrer"})})),[]),v=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which describes the editorial principles of your organization. %1$sWhat%2$s do you write about, %1$swho%2$s do you write for, and %1$swhy%2$s?","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),E=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which describes the ownership structure of your organization. It should include information about %1$sfunding%2$s and %1$sgrants%2$s.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),x=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which describes how your organization collects and responds to %1$sfeedback%2$s, engages with the %1$spublic%2$s, and prioritizes %1$stransparency%2$s.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),k=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which outlines your procedure for addressing %1$serrors%2$s (e.g., publishing retractions or corrections).","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),S=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which describes the personal, organizational, and corporate %1$sstandards%2$s of %1$sbehavior%2$s expected by your organization.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),L=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which provides information on your diversity policies for %1$seditorial%2$s content.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),T=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which provides information about your diversity policies for %1$sstaffing%2$s, %1$shiring%2$s and %1$semployment%2$s.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),{values:F}=q(),{opengraph:$}=F.wpseo_social;return(0,i.useEffect)((()=>{f()}),[f]),(0,e.createElement)(uo,{title:(0,Lt.__)("Site basics","wordpress-seo"),description:(0,Lt.__)("Configure the basics for your website.","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("Site info","wordpress-seo"),description:w},!r&&(0,e.createElement)(l.Alert,{variant:"warning",id:"alert-site-defaults-variables",className:"yst-mb-8"},_),(0,e.createElement)("div",{className:"lg:yst-mt-0 lg:yst-col-span-2 yst-space-y-8"},(0,e.createElement)(Da,{as:l.TextField,name:"wpseo_titles.website_name",id:"input-wpseo_titles-website_name",label:(0,Lt.__)("Website name","wordpress-seo"),placeholder:d}),(0,e.createElement)(Da,{as:l.TextField,name:"wpseo_titles.alternate_website_name",id:"input-wpseo_titles-alternate_website_name",label:(0,Lt.__)("Alternate website name","wordpress-seo"),description:(0,Lt.__)("Use the alternate website name for acronyms, or a shorter version of your website's name.","wordpress-seo")}),(0,e.createElement)(te,{as:l.TextField,type:"text",name:"blogdescription",id:"input-blogdescription",label:(0,Lt.__)("Tagline","wordpress-seo"),description:r&&b,readOnly:!r})),(0,e.createElement)(l.RadioGroup,{label:(0,Lt.__)("Title separator","wordpress-seo"),variant:"inline-block"},(0,le.map)(t,(({label:t,aria_label:s},r)=>(0,e.createElement)(te,{key:r,as:l.Radio,type:"radio",variant:"inline-block",name:"wpseo_titles.separator",id:`input-wpseo_titles-separator-${r}`,label:t,isLabelDangerousHtml:!0,"aria-label":s,value:r})))),(0,e.createElement)(Wa,{isEnabled:$,text:/* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */ (0,Lt.__)("The %1$sSite image%2$s requires Open Graph data, which is currently disabled in the ‘Social sharing’ section in %3$sSite features%4$s.","wordpress-seo")}),(0,e.createElement)(ha,{id:"wpseo_social-og_default_image",label:(0,Lt.__)("Site image","wordpress-seo"),description:(0,Lt.__)("This image is used as a fallback for posts/pages that don't have any images set.","wordpress-seo"),previewLabel:g,mediaUrlName:"wpseo_social.og_default_image",mediaIdName:"wpseo_social.og_default_image_id",disabled:!$})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Site preferences","wordpress-seo")},a&&(0,e.createElement)(Ra,{as:l.ToggleField,type:"checkbox",name:"wpseo_titles.forcerewritetitle",id:"input-wpseo_titles-forcerewritetitle",label:(0,Lt.__)("Force rewrite titles","wordpress-seo"),description:(0,Lt.sprintf)(/* translators: %1$s expands to "Yoast SEO" */ (0,Lt.__)("%1$s has auto-detected whether it needs to force rewrite the titles for your pages, if you think it's wrong and you know what you're doing, you can change the setting here.","wordpress-seo"),"Yoast SEO"),className:"yst-max-w-sm"}),(0,e.createElement)(Ra,{as:l.ToggleField,type:"checkbox",name:"wpseo.disableadvanced_meta",id:"input-wpseo-disableadvanced_meta",label:(0,Lt.__)("Restrict advanced settings for authors","wordpress-seo"),description:(0,Lt.sprintf)(/* translators: %1$s expands to "Yoast SEO" */ (0,Lt.__)("By default only editors and administrators can access the Advanced and Schema section of the %1$s sidebar or metabox. Disabling this allows access to all users.","wordpress-seo"),"Yoast SEO"),className:"yst-max-w-sm"}),(0,e.createElement)(Ra,{as:kl,type:"checkbox",name:"wpseo.tracking",id:"input-wpseo-tracking",label:(0,Lt.__)("Usage tracking","wordpress-seo"),description:h,className:"yst-max-w-sm"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)(e.Fragment,null,(0,Lt.__)("Site policies","wordpress-seo"),p&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium")),description:y},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!p,variant:"card",cardLink:u,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...m},(0,e.createElement)(Sl,{name:"wpseo_titles.publishing_principles_id",id:"input-wpseo_titles-publishing_principles_id",label:(0,Lt.__)("Publishing principles","wordpress-seo"),className:"yst-max-w-sm",description:v,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.ownership_funding_info_id",id:"input-wpseo_titles-ownership_funding_info_id",label:(0,Lt.__)("Ownership / Funding info","wordpress-seo"),className:"yst-max-w-sm",description:E,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.actionable_feedback_policy_id",id:"input-wpseo_titles-actionable_feedback_policy_id",label:(0,Lt.__)("Actionable feedback policy","wordpress-seo"),className:"yst-max-w-sm",description:x,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.corrections_policy_id",id:"input-wpseo_titles-corrections_policy_id",label:(0,Lt.__)("Corrections policy","wordpress-seo"),className:"yst-max-w-sm",description:k,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.ethics_policy_id",id:"input-wpseo_titles-ethics_policy_id",label:(0,Lt.__)("Ethics policy","wordpress-seo"),className:"yst-max-w-sm",description:S,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.diversity_policy_id",id:"input-wpseo_titles-diversity_policy_id",label:(0,Lt.__)("Diversity policy","wordpress-seo"),className:"yst-max-w-sm",description:L,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.diversity_staffing_report_id",id:"input-wpseo_titles-diversity_staffing_report_id",label:(0,Lt.__)("Diversity staffing report","wordpress-seo"),className:"yst-max-w-sm",description:T,isDummy:!p}))))))},Tl=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))})),Fl=({name:t,cardId:s,inputId:r,children:a,imageSrc:o,imageAlt:n,isPremiumFeature:c=!1,isPremiumLink:d="",isBetaFeature:u=!1,isNewFeature:p=!1,hasPremiumBadge:m=!1,title:f})=>{const h=aa("selectPreference",[],"isPremium"),y=aa("selectPluginUrl",[o],o),{isDisabled:w,message:_,disabledSetting:g}=Xr({name:t}),{values:b}=q(),v=aa("selectLink",[d],d),E=aa("selectUpsellSettingsAsProps"),x=(0,l.useSvgAria)(),k=(0,i.useMemo)((()=>(0,le.get)(b,t,!1)),[b,t]),S=(0,i.useMemo)((()=>!h&&c),[h,c]),L=(0,i.useMemo)((()=>w||!S&&!k),[w,S,k]),T=(0,i.useMemo)((()=>w||h&&c&&m||u||p&&!h),[w,h,c,u,p]);return(0,e.createElement)(l.Card,{id:s},(0,e.createElement)(l.Card.Header,{className:"yst-h-auto yst-p-0"},(0,e.createElement)("img",{className:or()("yst-w-full yst-transition yst-duration-200",L&&"yst-opacity-50 yst-filter yst-grayscale"),src:y,alt:null!=n?n:"",width:500,height:250,loading:"lazy",decoding:"async"}),T&&(0,e.createElement)("div",{className:"yst-absolute yst-top-2 yst-end-2 yst-flex yst-gap-1.5"},w&&(0,e.createElement)(l.Badge,{size:"small",variant:"plain"},_),h&&c&&m&&(0,e.createElement)(l.Badge,{size:"small",variant:"upsell"},"Premium"),u&&(0,e.createElement)(l.Badge,{size:"small",variant:"info"},"Beta"),p&&!h&&(0,e.createElement)(l.Badge,{size:"small",variant:"info"},"New"))),(0,e.createElement)(l.Card.Content,{className:"yst-flex yst-flex-col yst-gap-3"},(0,e.createElement)(l.Title,{as:"h3"},f),a),(0,e.createElement)(l.Card.Footer,null,!S&&(0,e.createElement)(Ra,{as:l.ToggleField,type:"checkbox",name:t,id:r,"aria-label":`${(0,Lt.__)("Enable feature","wordpress-seo")} ${f}`,label:(0,Lt.__)("Enable feature","wordpress-seo"),disabled:w,checked:"language"!==g&&k}),S&&(0,e.createElement)(l.Button,{as:"a",className:"yst-gap-2 yst-w-full yst-px-2",variant:"upsell",href:v,target:"_blank",rel:"noopener",...E},(0,e.createElement)(cr,{className:"yst-w-5 yst-h-5 yst--ms-1 yst-shrink-0",...x}),(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"))))};Fl.propTypes={name:ir().string.isRequired,cardId:ir().string.isRequired,inputId:ir().string.isRequired,children:ir().node.isRequired,imageSrc:ir().string.isRequired,imageAlt:ir().string,isPremiumFeature:ir().bool,isBetaFeature:ir().bool,isNewFeature:ir().bool,isPremiumLink:ir().string,hasPremiumBadge:ir().bool,title:ir().string.isRequired};const $l=({id:t,link:s,ariaLabel:r,...a})=>{const o=aa("selectLink",[s],s);return(0,e.createElement)(l.Link,{id:t,href:o,variant:"primary",className:"yst-flex yst-items-center yst-gap-1 yst-no-underline yst-font-medium",target:"_blank",rel:"noopener","aria-label":(0,Lt.sprintf)(/* translators: Hidden accessibility text; %s expands to a translated string of this feature, e.g. "SEO analysis". */ (0,Lt.__)("Learn more about %s (Opens in a new browser tab)","wordpress-seo"),r),...a},(0,Lt.__)("Learn more","wordpress-seo"),(0,e.createElement)(xr,{className:"yst-w-4 yst-h-4 yst-icon-rtl"}))};$l.propTypes={id:ir().string.isRequired,link:ir().string.isRequired,ariaLabel:ir().string.isRequired};const Pl=()=>{const t=aa("selectPreference",[],"isPremium"),s=aa("selectPreference",[],"sitemapUrl"),{values:r,initialValues:a}=q(),{enable_xml_sitemap:o}=r.wpseo,{enable_xml_sitemap:n}=a.wpseo,c=(0,i.useMemo)((()=>t?"yst-grid yst-gap-6 yst-grid-cols-1 sm:yst-grid-cols-2 min-[783px]:yst-grid-cols-1 lg:yst-grid-cols-2 xl:yst-grid-cols-3 2xl:yst-grid-cols-4":"yst-grid yst-gap-6 yst-grid-cols-1 sm:yst-grid-cols-2 min-[783px]:yst-grid-cols-1 lg:yst-grid-cols-2 2xl:yst-grid-cols-3 min-[1800px]:yst-grid-cols-4"),[t]);return(0,e.createElement)(uo,{title:(0,Lt.__)("Site features","wordpress-seo"),description:(0,Lt.__)("Tell us which features you want to use.","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-6xl"},(0,e.createElement)("fieldset",{className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("Writing","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2"},(0,Lt.__)("Writing","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo.keyword_analysis_active",cardId:"card-wpseo-keyword_analysis_active",inputId:"input-wpseo-keyword_analysis_active",imageSrc:"/images/seo_analysis.png",title:(0,Lt.__)("SEO analysis","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("The SEO analysis offers suggestions to improve the findability of your text and makes sure that your content meets best practices.","wordpress-seo")),(0,e.createElement)($l,{id:"link-seo-analysis",link:"https://yoa.st/2ak",ariaLabel:(0,Lt.__)("SEO analysis","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.content_analysis_active",cardId:"card-wpseo-content_analysis_active",inputId:"input-wpseo-content_analysis_active",imageSrc:"/images/readability_analysis.png",title:(0,Lt.__)("Readability analysis","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("The readability analysis offers suggestions to improve the structure and style of your text.","wordpress-seo")),(0,e.createElement)($l,{id:"link-readability-analysis",link:"https://yoa.st/2ao",ariaLabel:(0,Lt.__)("Readability analysis","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.inclusive_language_analysis_active",cardId:"card-wpseo-inclusive_language_analysis_active",inputId:"input-wpseo-inclusive_language_analysis_active",imageSrc:"/images/inclusive_language_analysis.png",title:(0,Lt.__)("Inclusive language analysis","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("The inclusive language analysis offers suggestions to write more inclusive copy, so more people will be able to relate to your content.","wordpress-seo")),(0,e.createElement)($l,{id:"link-inclusive-language-analysis",link:"https://yoa.st/inclusive-language-feature-learn-more",ariaLabel:(0,Lt.__)("Inclusive language analysis","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_ai_generator",cardId:"card-wpseo-enable_ai_generator",inputId:"input-wpseo-enable_ai_generator",imageSrc:"/images/ai-generator.png",isPremiumFeature:!0,hasPremiumBadge:!1,isBetaFeature:!0,isPremiumLink:"https://yoa.st/get-ai-generator",title:"Yoast AI"},(0,e.createElement)("p",null,(0,Lt.__)("The AI features help you create better content by providing optimization suggestions that you can apply as you wish.","wordpress-seo")),(0,e.createElement)($l,{id:"link-ai-generator",link:"https://yoa.st/ai-generator-feature",ariaLabel:(0,Lt.__)("AI title & description generator","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_metabox_insights",cardId:"card-wpseo-enable_metabox_insights",inputId:"input-wpseo-enable_metabox_insights",imageSrc:"/images/insights.png",title:(0,Lt.__)("Insights","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Get more insights into what you are writing. What words do you use most often? How much time does it take to read your text? Is your text easy to read?","wordpress-seo")),(0,e.createElement)($l,{id:"link-insights",link:"https://yoa.st/4ew",ariaLabel:(0,Lt.__)("Insights","wordpress-seo")})))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("fieldset",{className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("Site structure","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2"},(0,Lt.__)("Site structure","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo.enable_cornerstone_content",cardId:"card-wpseo-enable_cornerstone_content",inputId:"input-wpseo-enable_cornerstone_content",imageSrc:"/images/cornerstone_content.png",title:(0,Lt.__)("Cornerstone content","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Mark and filter your cornerstone content to make sure your most important articles get the attention they deserve. To help you write excellent copy, we’ll assess your text more strictly.","wordpress-seo")),(0,e.createElement)($l,{id:"link-cornerstone-content",link:"https://yoa.st/dashboard-help-cornerstone",ariaLabel:(0,Lt.__)("Cornerstone content","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_text_link_counter",cardId:"card-wpseo-enable_text_link_counter",inputId:"input-wpseo-enable_text_link_counter",imageSrc:"/images/text_link_counter.png",title:(0,Lt.__)("Text link counter","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Count the number of internal links from and to your posts to improve your site structure.","wordpress-seo")),(0,e.createElement)($l,{id:"link-text-link-counter",link:"https://yoa.st/2aj",ariaLabel:(0,Lt.__)("Text link counter","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_link_suggestions",cardId:"card-wpseo-enable_link_suggestions",inputId:"input-wpseo-enable_link_suggestions",imageSrc:"/images/link_suggestions.png",isPremiumFeature:!0,hasPremiumBadge:!0,isPremiumLink:"https://yoa.st/get-link-suggestions",title:(0,Lt.__)("Internal linking suggestions","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("No need to figure out what to link to. You get linking suggestions for relevant posts and pages to make your website easier to navigate.","wordpress-seo")),(0,e.createElement)($l,{id:"link-suggestions-link",link:t?"https://yoa.st/17g":"https://yoa.st/4ev",ariaLabel:(0,Lt.__)("Link suggestions","wordpress-seo")})))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("fieldset",{id:"section-social-sharing",className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("Social sharing","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2",className:"yst-mb-2"},(0,Lt.__)("Social sharing","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo_social.opengraph",cardId:"card-wpseo_social-opengraph",inputId:"input-wpseo_social-opengraph",imageSrc:"/images/open_graph.png",title:(0,Lt.__)("Open Graph data","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Allows for Facebook and other social media to display a preview with images and a text excerpt when a link to your site is shared. Keep this feature enabled to optimize your site for social media.","wordpress-seo")),(0,e.createElement)($l,{id:"link-open-graph-data",link:"https://yoa.st/site-features-open-graph-data",ariaLabel:(0,Lt.__)("Open Graph data","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo_social.twitter",cardId:"card-wpseo_social-twitter",inputId:"input-wpseo_social-twitter",imageSrc:"/images/twitter_card.png",title:(0,Lt.__)("X card data","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Allows for X to display a preview with images and a text excerpt when a link to your site is shared.","wordpress-seo")),(0,e.createElement)($l,{id:"link-twitter-card-data",link:"https://yoa.st/site-features-twitter-card-data",ariaLabel:(0,Lt.__)("X card data","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_enhanced_slack_sharing",cardId:"card-wpseo-enable_enhanced_slack_sharing",inputId:"input-wpseo-enable_enhanced_slack_sharing",imageSrc:"/images/slack_sharing.png",title:(0,Lt.__)("Slack sharing","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("This adds an author byline and reading time estimate to the article’s snippet when shared on Slack.","wordpress-seo")),(0,e.createElement)($l,{id:"link-slack-sharing",link:"https://yoa.st/help-slack-share",ariaLabel:(0,Lt.__)("Slack sharing","wordpress-seo")})))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("fieldset",{className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("Tools","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2"},(0,Lt.__)("Tools","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo.enable_admin_bar_menu",cardId:"card-wpseo-enable_admin_bar_menu",inputId:"input-wpseo-enable_admin_bar_menu",imageSrc:"/images/admin_bar.png",title:(0,Lt.__)("Admin bar menu","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.sprintf)( // translators: %1$s expands to Yoast. (0,Lt.__)("The %1$s icon in the top admin bar provides quick access to third-party tools for analyzing pages and makes it easy to see if you have new notifications.","wordpress-seo"),"Yoast")),(0,e.createElement)($l,{id:"link-admin-bar",link:"https://yoa.st/site-features-admin-bar",ariaLabel:(0,Lt.__)("Admin bar menu","wordpress-seo")})))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("fieldset",{className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("APIs","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2"},(0,Lt.__)("APIs","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo.enable_headless_rest_endpoints",cardId:"card-wpseo-enable_headless_rest_endpoints",inputId:"input-wpseo-enable_headless_rest_endpoints",imageSrc:"/images/rest_api.png",title:(0,Lt.__)("REST API endpoint","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("This Yoast SEO REST API endpoint gives you all the metadata you need for a specific URL. This will make it very easy for headless WordPress sites to use Yoast SEO for all their SEO meta output.","wordpress-seo")),(0,e.createElement)($l,{id:"link-rest-api-endpoint",link:"https://yoa.st/site-features-rest-api-endpoint",ariaLabel:(0,Lt.__)("REST API endpoint","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_xml_sitemap",cardId:"card-wpseo-enable_xml_sitemap",inputId:"input-wpseo-enable_xml_sitemap",imageSrc:"/images/xml_sitemaps.png",title:(0,Lt.__)("XML sitemaps","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.sprintf)( // translators: %1$s expands to "Yoast SEO". (0,Lt.__)("Enable the %1$s XML sitemaps. A sitemap is a file that lists a website's essential pages to make sure search engines can find and crawl them.","wordpress-seo"),"Yoast SEO")),n&&o&&(0,e.createElement)(l.Button,{as:"a",id:"link-xml-sitemaps",href:s,variant:"secondary",target:"_blank",rel:"noopener",className:"yst-self-start"},(0,Lt.__)("View the XML sitemap","wordpress-seo"),(0,e.createElement)(Tl,{className:"yst--me-1 yst-ms-1 yst-h-5 yst-w-5 yst-text-slate-400 rtl:yst-rotate-[270deg]"})),(0,e.createElement)($l,{id:"link-xml-sitemaps-learn-more",link:"https://yoa.st/2a-",ariaLabel:(0,Lt.__)("XML sitemaps","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_index_now",cardId:"card-wpseo-enable_index_now",inputId:"input-wpseo-enable_index_now",imageSrc:"/images/indexnow.png",isPremiumFeature:!0,hasPremiumBadge:!0,isPremiumLink:"https://yoa.st/get-indexnow",title:(0,Lt.__)("IndexNow","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Automatically ping search engines like Bing and Yandex whenever you publish, update or delete a post.","wordpress-seo")),(0,e.createElement)($l,{id:"link-index-now",link:"https://yoa.st/index-now-feature",ariaLabel:(0,Lt.__)("IndexNow","wordpress-seo")})))))))},Rl=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"}))})),Nl=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{fillRule:"evenodd",d:"M10 3a1 1 0 011 1v5h5a1 1 0 110 2h-5v5a1 1 0 11-2 0v-5H4a1 1 0 110-2h5V4a1 1 0 011-1z",clipRule:"evenodd"}))})),Il=Ca(Da),Ol=Aa(Ia),Cl=()=>{const{values:t}=q(),{website_name:s,company_or_person:r,company_or_person_user_id:a,company_name:o,company_logo_id:n}=t.wpseo_titles,{other_social_urls:c}=t.wpseo_social,d=aa("selectUserById",[a],a),u=aa("selectLink",[],"https://yoa.st/1-p"),p=aa("selectLink",[],"https://yoa.st/3r3"),m=aa("selectLink",[],"https://yoa.st/site-representation-org-additional-info-upsell"),f=aa("selectLink",[],"https://yoa.st/site-representation-org-identifiers"),h=aa("selectLink",[],"https://yoa.st/site-representation-organization-person"),y=aa("selectPreference",[],"editUserUrl"),w=aa("selectPreference",[],"isLocalSeoActive"),_=aa("selectPreference",[],"companyOrPersonMessage"),g=aa("selectFallback",[],"siteLogoId"),b=aa("selectCanEditUser",[null==d?void 0:d.id],null==d?void 0:d.id),v=aa("selectPreference",[],"isPremium"),E=aa("selectUpsellSettingsAsProps"),x=aa("selectLink",[],"https://yoa.st/get-mastodon-integration"),k=aa("selectLink",[],"https://yoa.st/site-representation-mastodon"),S=aa("selectPreference",[],"localSeoPageSettingUrl");let L=(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Lt.__)("You have %1$s activated on your site. You can provide your VAT ID and Tax ID in the %2$s‘Business info’ settings%3$s.","wordpress-seo"),"Yoast Local SEO","",""),{a:(0,e.createElement)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})}),T=(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Lt.__)("You have %1$s activated on your site. You can provide your email and phone in the %2$s‘Business info’ settings%3$s.","wordpress-seo"),"Yoast Local SEO","",""),{a:(0,e.createElement)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})});S.includes("wpseo_locations")&&(L=(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Lt.__)("You have %1$s activated on your site, and you've configured your business for multiple locations. This allows you to provide your VAT ID and Tax ID for %2$seach specific location%3$s.","wordpress-seo"),"Yoast Local SEO","",""),{a:(0,e.createElement)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})}),T=(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Lt.__)("You have %1$s activated on your site, and you've configured your business for multiple locations. This allows you to provide your email and phone for %2$seach specific location%3$s.","wordpress-seo"),"Yoast Local SEO","",""),{a:(0,e.createElement)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})}));const F=(0,i.useCallback)((async e=>{var t;await e.push(""),null===(t=document.getElementById(`input-wpseo_social-other_social_urls-${c.length}`))||void 0===t||t.focus()}),[c]);return(0,e.createElement)(uo,{title:(0,Lt.__)("Site representation","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. (0,Lt.__)("This info is intended to appear in %1$sGoogle's Knowledge Graph%2$s.","wordpress-seo"),"",""),u,"link-google-knowledge-graph")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("Organization/person","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. (0,Lt.__)("Choose whether your site represents an organization or a person. %1$sLearn more about the differences and choosing between Organization and Person%2$s.","wordpress-seo"),"",""),h,"link-site-representation-organization-person")},w&&(0,e.createElement)(l.Alert,{id:"alert-local-seo-company-or-person",variant:"info"},_),(0,e.createElement)(l.RadioGroup,{disabled:w},(0,e.createElement)(te,{as:l.Radio,type:"radio",name:"wpseo_titles.company_or_person",id:"input-wpseo_titles-company_or_person-company",label:(0,Lt.__)("Organization","wordpress-seo"),value:"company",disabled:w}),(0,e.createElement)(te,{as:l.Radio,type:"radio",name:"wpseo_titles.company_or_person",id:"input-wpseo_titles-company_or_person-person",label:(0,Lt.__)("Person","wordpress-seo"),value:"person",disabled:w}))),(0,e.createElement)("section",{className:"yst-space-y-8"}),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("div",{className:"yst-relative"},(0,e.createElement)(ia.Z,{easing:"ease-out",duration:300,delay:300,height:"company"===r?"auto":0,animateOpacity:!0},(0,e.createElement)(na,{title:(0,Lt.__)("Organization","wordpress-seo"),description:(0,Lt.__)("Please tell us more about your organization. This information will help Google to understand your website, and improve your chance of getting rich results.","wordpress-seo")},(!o||n<1)&&(0,e.createElement)(l.Alert,{id:"alert-organization-name-logo",variant:"info"},Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. (0,Lt.__)("An organization name and logo need to be set for structured data to work properly. Since you haven’t set these yet, we are using the site name and logo as default values. %1$sLearn more about the importance of structured data%2$s.","wordpress-seo"),"",""),p,"link-structured-data")),(0,e.createElement)(te,{as:l.TextField,name:"wpseo_titles.company_name",id:"input-wpseo_titles-company_name",label:(0,Lt.__)("Organization name","wordpress-seo"),placeholder:s}),(0,e.createElement)(te,{as:l.TextField,name:"wpseo_titles.company_alternate_name",id:"input-wpseo_titles-company_alternate_name",label:(0,Lt.__)("Alternate organization name","wordpress-seo"),description:(0,Lt.__)("Use the alternate organization name for acronyms, or a shorter version of your organization's name.","wordpress-seo")}),(0,e.createElement)(ha,{id:"wpseo_titles-company_logo",label:(0,Lt.__)("Organization logo","wordpress-seo"),variant:"square",previewLabel:(0,i.createInterpolateElement)((0,Lt.sprintf)( /* translators: %1$s expands to an opening strong tag. %2$s expands to a closing strong tag. %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","696x696px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})}),mediaUrlName:"wpseo_titles.company_logo",mediaIdName:"wpseo_titles.company_logo_id",fallbackMediaId:g})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{id:"fieldset-wpseo_social-other_social_urls",title:(0,Lt.__)("Other profiles","wordpress-seo"),description:(0,Lt.__)("Tell us if you have any other profiles on the web that belong to your organization. This can be any number of profiles, like YouTube, LinkedIn, Pinterest, or even Wikipedia.","wordpress-seo")},(0,e.createElement)(Da,{as:l.TextField,name:"wpseo_social.facebook_site",id:"input-wpseo_social-facebook_site",label:(0,Lt.__)("Facebook","wordpress-seo"),placeholder:(0,Lt.__)("E.g. https://facebook.com/yoast","wordpress-seo")}),(0,e.createElement)(Da,{as:l.TextField,name:"wpseo_social.twitter_site",id:"input-wpseo_social-twitter_site",label:(0,Lt.__)("X","wordpress-seo"),placeholder:(0,Lt.__)("E.g. https://x.com/yoast","wordpress-seo")}),(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!v,variant:"card",cardLink:x,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...E},(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_social.mastodon_url",id:"input-wpseo_social-mastodon_url",label:(0,Lt.__)("Mastodon","wordpress-seo"),placeholder:(0,Lt.__)("E.g. https://mastodon.social/@yoast","wordpress-seo"),labelSuffix:v&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium"),isDummy:!v,description:(0,e.createElement)(i.Fragment,null,(0,Lt.__)("Get your site verified in your Mastodon profile.","wordpress-seo")," ",(0,e.createElement)(l.Link,{id:"link-wpseo_social-mastodon_url",href:k,target:"_blank",rel:"noopener"},(0,Lt.__)("Read more about how to get your site verified.","wordpress-seo")))})),(0,e.createElement)(ie,{name:"wpseo_social.other_social_urls"},(t=>(0,e.createElement)(i.Fragment,null,c.map(((s,r)=>(0,e.createElement)(Js,{key:`wpseo_social.other_social_urls.${r}`,as:i.Fragment,appear:!0,show:!0,enter:"yst-transition yst-ease-out yst-duration-300",enterFrom:"yst-transform yst-opacity-0",enterTo:"yst-transform yst-opacity-100",leave:"yst-transition yst-ease-out yst-duration-300",leaveFrom:"yst-transform yst-opacity-100",leaveTo:"yst-transform yst-opacity-0"},(0,e.createElement)("div",{className:"yst-w-full yst-flex yst-items-start yst-gap-2"},(0,e.createElement)(Da,{as:l.TextField,name:`wpseo_social.other_social_urls.${r}`,id:`input-wpseo_social-other_social_urls-${r}`,label:(0,Lt.sprintf)((0,Lt.__)("Other profile %1$s","wordpress-seo"),r+1),placeholder:(0,Lt.__)("E.g. https://example.com/yoast","wordpress-seo"),className:"yst-grow"}),(0,e.createElement)(l.Button,{variant:"secondary",onClick:t.remove.bind(null,r),className:"yst-mt-7 yst-p-2.5","aria-label":(0,Lt.sprintf)((0,Lt.__)("Remove Other profile %1$s","wordpress-seo"),r+1)},(0,e.createElement)(Rl,{className:"yst-h-5 yst-w-5"})))))),(0,e.createElement)(l.Button,{id:"button-add-social-profile",variant:"secondary",onClick:()=>F(t)},(0,e.createElement)(Nl,{className:"yst--ms-1 yst-me-1 yst-h-5 yst-w-5 yst-text-slate-400"}),(0,Lt.__)("Add another profile","wordpress-seo")))))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)(i.Fragment,null,(0,Lt.__)("Additional organization info","wordpress-seo"),v&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium")),description:(0,Lt.__)("Enrich your organization's profile by providing more in-depth information. The more details you share, the better Google understands your website.","wordpress-seo")},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!v,variant:"card",cardLink:m,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...E},(0,e.createElement)(Il,{as:l.TextareaField,name:"wpseo_titles.org-description",id:"input-wpseo_titles-org-description",label:(0,Lt.__)("Organization description","wordpress-seo"),isDummy:!v,maxLength:2e3}),w&&v&&(0,e.createElement)(l.Alert,{id:"alert-local-seo-vat-or-tax-id",variant:"info"},T),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-email",id:"input-wpseo_titles-org-email",type:"email",label:(0,Lt.__)("Organization email address","wordpress-seo"),isDummy:!v||w}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-phone",id:"input-wpseo_titles-org-phone",label:(0,Lt.__)("Organization phone number","wordpress-seo"),isDummy:!v||w}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-legal-name",id:"input-wpseo_titles-org-legal-name",label:(0,Lt.__)("Organization's legal name","wordpress-seo"),isDummy:!v}),(0,e.createElement)(Il,{as:l.TextField,className:"yst-w-3/5",name:"wpseo_titles.org-founding-date",id:"input-wpseo_titles-org-founding-date",label:(0,Lt.__)("Organization's founding date","wordpress-seo"),type:"date",isDummy:!v}),(0,e.createElement)(Ol,{name:"wpseo_titles.org-number-employees",className:"yst-w-3/5",id:"input-wpseo_titles-org-number-employees",label:(0,Lt.__)("Number of employees","wordpress-seo"),placeholder:(0,Lt.__)("Select a range / Enter a number","wordpress-seo"),isDummy:!v,options:[{value:"",label:"None"},{value:"1-10",label:(0,Lt.__)("1–10 employees","wordpress-seo")},{value:"11-50",label:(0,Lt.__)("11–50 employees","wordpress-seo")},{value:"51-200",label:(0,Lt.__)("51–200 employees","wordpress-seo")},{value:"201-500",label:(0,Lt.__)("201–500 employees","wordpress-seo")},{value:"501-1000",label:(0,Lt.__)("501–1000 employees","wordpress-seo")},{value:"1001-5000",label:(0,Lt.__)("1001–5000 employees","wordpress-seo")},{value:"5001-10000",label:(0,Lt.__)("5001–10000 employees","wordpress-seo")}]}))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)(i.Fragment,null,(0,Lt.__)("Organization identifiers","wordpress-seo"),v&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium")),description:(0,Lt.__)("Please tell us more about your organization’s identifiers. This information will help Google to display accurate and helpful details about your organization.","wordpress-seo")},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!v,variant:"card",cardLink:f,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...E},w&&v&&(0,e.createElement)(l.Alert,{id:"alert-local-seo-vat-or-tax-id",variant:"info"},L),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-vat-id",id:"input-wpseo_titles-org-vat-id",label:(0,Lt.__)("VAT ID","wordpress-seo"),isDummy:!v||w}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-tax-id",id:"input-wpseo_titles-org-tax-id",label:(0,Lt.__)("Tax ID","wordpress-seo"),isDummy:!v||w}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-iso",id:"input-wpseo_titles-org-iso",label:(0,Lt.__)("ISO 6523","wordpress-seo"),isDummy:!v}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-duns",id:"input-wpseo_titles-org-duns",label:(0,Lt.__)("DUNS","wordpress-seo"),isDummy:!v}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-leicode",id:"input-wpseo_titles-org-leicode",label:(0,Lt.__)("LEI code","wordpress-seo"),isDummy:!v}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-naics",id:"input-wpseo_titles-org-naics",label:(0,Lt.__)("NAICS","wordpress-seo"),isDummy:!v})))),(0,e.createElement)(ia.Z,{easing:"ease-out",duration:300,delay:300,height:"person"===r?"auto":0,animateOpacity:!0},(0,e.createElement)(na,{title:(0,Lt.__)("Personal info","wordpress-seo"),description:(0,Lt.__)("Please tell us more about the person this site represents.","wordpress-seo")},(0,e.createElement)(Sa,{name:"wpseo_titles.company_or_person_user_id",id:"input-wpseo_titles-company_or_person_user_id",label:(0,Lt.__)("Select a user","wordpress-seo"),className:"yst-max-w-sm"}),!(0,le.isEmpty)(d)&&(0,e.createElement)(l.Alert,{id:"alert-person-user-profile"},b&&(0,i.createInterpolateElement)((0,Lt.sprintf)( /* translators: %1$s and %2$s are replaced by opening and closing tags. %3$s and %4$s are replaced by opening and closing tags. %5$s is replaced by the selected user display name. */ (0,Lt.__)("You have selected the user %1$s%5$s%2$s as the person this site represents. Their user profile information will now be used in search results. %3$sUpdate their profile to make sure the information is correct%4$s.","wordpress-seo"),"","","","",null==d?void 0:d.name),{strong:(0,e.createElement)("strong",{className:"yst-font-medium"}),a:(0,e.createElement)("a",{id:"link-person-user-profile",href:`${y}?user_id=${null==d?void 0:d.id}`,target:"_blank",rel:"noopener noreferrer"})}),!b&&(0,i.createInterpolateElement)((0,Lt.sprintf)( /* translators: %1$s and %2$s are replaced by opening and closing tags. %3$s is replaced by the selected user display name. */ (0,Lt.__)("You have selected the user %1$s%3$s%2$s as the person this site represents. Their user profile information will now be used in search results. We're sorry, you're not allowed to edit this user's profile. Please contact your admin or %1$s%3$s%2$s to check and/or update the profile.","wordpress-seo"),"","",null==d?void 0:d.name),{strong:(0,e.createElement)("strong",{className:"yst-font-medium"})})),(0,e.createElement)(ha,{id:"wpseo_titles-person_logo",label:(0,Lt.__)("Personal logo or avatar","wordpress-seo"),variant:"square",previewLabel:(0,i.createInterpolateElement)((0,Lt.sprintf)( /* translators: %1$s expands to an opening strong tag. %2$s expands to a closing strong tag. %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","696x696px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})}),mediaUrlName:"wpseo_titles.person_logo",mediaIdName:"wpseo_titles.person_logo_id",fallbackMediaId:g,disabled:!a})))))))},Al=()=>{const t=aa("selectReplacementVariablesFor",[],"search","search"),s=aa("selectRecommendedReplacementVariablesFor",[],"search","search"),r=aa("selectReplacementVariablesFor",[],"404","404"),a=aa("selectRecommendedReplacementVariablesFor",[],"404","404");return(0,e.createElement)(uo,{title:(0,Lt.__)("Special pages","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("Internal search pages","wordpress-seo"),description:(0,Lt.__)("Determine how the title of your internal search pages should look in the browser.","wordpress-seo")},(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.title-search-wpseo",fieldId:"input-wpseo_titles-title-search-wpseo",label:(0,Lt.__)("Page title","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("404 error pages","wordpress-seo"),description:(0,Lt.__)("Determine how the title of your 404 error pages should look in the browser.","wordpress-seo")},(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.title-404-wpseo",fieldId:"input-wpseo_titles-title-404-wpseo",label:(0,Lt.__)("Page title","wordpress-seo"),replacementVariables:r,recommendedReplacementVariables:a})))))},Ml=/content=(['"])?(?[^'"> ]+)(?:\1|[ />])/,Dl=e=>{var t;const s=e.target.value.match(Ml);return null!=s&&null!==(t=s.groups)&&void 0!==t&&t.content?s.groups.content:e.target.value},Bl=Ma(Ra),Ul=()=>{const t=aa("selectPreference",[],"siteUrl");return(0,e.createElement)(uo,{title:(0,Lt.__)("Site connections","wordpress-seo"),description:(0,Lt.__)("Verify your site with different tools. This will add a verification meta tag to your homepage. You can find instructions on how to verify your site for each platform by following the link in the description.","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)("fieldset",{className:"yst-min-width-0 yst-max-w-screen-sm yst-space-y-8"},(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo.baiduverify",id:"input-wpseo-baiduverify",label:(0,Lt.__)("Baidu","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Get your verification code in %1$sBaidu Webmaster tools%2$s.","wordpress-seo"),"",""),"https://ziyuan.baidu.com/site","link-baidu-webmaster-tools"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl}),(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo.msverify",id:"input-wpseo-msverify",label:(0,Lt.__)("Bing","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Get your verification code in %1$sBing Webmaster tools%2$s.","wordpress-seo"),"",""),`https://www.bing.com/toolbox/webmaster/#/Dashboard/?url=${t}`,"link-bing-webmaster-tools"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl}),(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo.googleverify",id:"input-wpseo-googleverify",label:(0,Lt.__)("Google","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Get your verification code in %1$sGoogle Search console%2$s.","wordpress-seo"),"",""),(0,Rt.addQueryArgs)("https://search.google.com/search-console/users",{hl:"en",tid:"alternate",siteUrl:t}),"link-google-search-console"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl}),(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo_social.pinterestverify",id:"input-wpseo_social-pinterestverify",label:(0,Lt.__)("Pinterest","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Claim your site over at %1$sPinterest%2$s.","wordpress-seo"),"",""),"https://www.pinterest.com/settings/claim","link-pinterest"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl}),(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo.yandexverify",id:"input-wpseo-yandexverify",label:(0,Lt.__)("Yandex","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Get your verification code in %1$sYandex Webmaster tools%2$s.","wordpress-seo"),"",""),"https://webmaster.yandex.com/sites/add/","link-yandex-webmaster-tools"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl})))))},jl=({postTypes:t,taxonomies:s,idSuffix:r=""})=>{const a=(0,l.useSvgAria)(),o=aa("selectPreference",[],"isPremium"),n=(0,i.useCallback)((({show:t,toggle:s,ariaProps:r})=>{const o=(0,i.useMemo)((()=>t?sr:rr),[t]);return(0,e.createElement)("div",{className:"yst-relative"},(0,e.createElement)("hr",{className:"yst-absolute yst-inset-x-0 yst-top-1/2 yst-bg-slate-200"}),(0,e.createElement)("button",{type:"button",className:"yst-relative yst-flex yst-items-center yst-gap-1.5 yst-px-2.5 yst-py-1 yst-mx-auto yst-text-xs yst-font-medium yst-text-slate-700 yst-bg-slate-50 yst-rounded-full yst-border yst-border-slate-300 hover:yst-bg-white hover:yst-text-slate-800 focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-primary-500 focus:yst-ring-offset-2",onClick:s,...r},t?(0,Lt.__)("Show less","wordpress-seo"):(0,Lt.__)("Show more","wordpress-seo"),(0,e.createElement)(o,{className:"yst-h-4 yst-w-4 yst-flex-shrink-0 yst-text-slate-400 group-hover:yst-text-slate-500 yst-stroke-3",...a})))}),[]);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("header",{className:"yst-px-3 yst-mb-6 yst-space-y-6"},(0,e.createElement)(Et,{id:`link-yoast-logo${r}`,to:"/",className:"yst-inline-block yst-rounded-md focus:yst-ring-primary-500","aria-label":"Yoast SEO"+(o?" Premium":"")},(0,e.createElement)(Qr,{className:"yst-w-40",...a})),(0,e.createElement)(Ji,{buttonId:`button-search${r}`})),(0,e.createElement)("div",{className:"yst-px-0.5 yst-space-y-6"},(0,e.createElement)(l.SidebarNavigation.MenuItem,{id:`menu-general${r}`,icon:Qs,label:(0,Lt.__)("General","wordpress-seo")},(0,e.createElement)(vr,{to:"/site-features",label:(0,Lt.__)("Site features","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/site-basics",label:(0,Lt.__)("Site basics","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/site-representation",label:(0,Lt.__)("Site representation","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/site-connections",label:(0,Lt.__)("Site connections","wordpress-seo"),idSuffix:r})),(0,e.createElement)(l.SidebarNavigation.MenuItem,{id:`menu-content-types${r}`,icon:Xs,label:(0,Lt.__)("Content types","wordpress-seo")},(0,e.createElement)(l.ChildrenLimiter,{limit:5,renderButton:n},(0,e.createElement)(vr,{to:"/homepage",label:(0,Lt.__)("Homepage","wordpress-seo"),idSuffix:r}),(0,le.map)(t,(({name:t,route:s,label:a,isNew:o})=>(0,e.createElement)(vr,{key:`link-post-type-${t}`,to:`/post-type/${s}`,label:(0,e.createElement)("span",{className:"yst-inline-flex yst-items-center yst-gap-1.5"},a,o&&(0,e.createElement)(l.Badge,{variant:"info"},(0,Lt.__)("New","wordpress-seo"))),idSuffix:r}))))),(0,e.createElement)(l.SidebarNavigation.MenuItem,{id:`menu-categories-and-tags${r}`,icon:er,label:(0,Lt.__)("Categories & tags","wordpress-seo")},(0,e.createElement)(l.ChildrenLimiter,{limit:5,renderButton:n},(0,le.map)(s,(t=>(0,e.createElement)(vr,{key:`link-taxonomy-${t.name}`,to:`/taxonomy/${t.route}`,label:(0,e.createElement)("span",{className:"yst-inline-flex yst-items-center yst-gap-1.5"},t.label,t.isNew&&(0,e.createElement)(l.Badge,{variant:"info"},(0,Lt.__)("New","wordpress-seo"))),idSuffix:r}))))),(0,e.createElement)(l.SidebarNavigation.MenuItem,{id:`menu-advanced${r}`,icon:tr,label:(0,Lt.__)("Advanced","wordpress-seo"),defaultOpen:!1},(0,e.createElement)(vr,{to:"/crawl-optimization",label:(0,Lt.__)("Crawl optimization","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/breadcrumbs",label:(0,Lt.__)("Breadcrumbs","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/author-archives",label:(0,Lt.__)("Author archives","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/date-archives",label:(0,Lt.__)("Date archives","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/format-archives",label:(0,Lt.__)("Format archives","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/special-pages",label:(0,Lt.__)("Special pages","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/media-pages",label:(0,Lt.__)("Media pages","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/rss",label:(0,Lt.__)("RSS","wordpress-seo"),idSuffix:r}))))};jl.propTypes={postTypes:ir().object.isRequired,taxonomies:ir().object.isRequired,idSuffix:ir().string};const Vl=()=>{const{pathname:t}=Qe(),s=aa("selectPostTypes"),r=aa("selectTaxonomies"),o=aa("selectPreference",[],"isPremium"),n=aa("selectLink",[],"https://yoa.st/17h"),c=aa("selectLink",[],"https://yoa.st/jj"),d=aa("selectUpsellSettingsAsProps"),u=aa("selectLink",[],"https://yoa.st/3t6"),{isPromotionActive:p}=(0,a.useSelect)(ea);(()=>{const{hash:e,pathname:t,key:s}=Qe();(0,i.useEffect)((()=>{const t=e.replace("#",""),s=document.getElementById(t)||document.querySelector(`[data-id="${t}"]`);if(s)s.scrollIntoView({behavior:"smooth"}),setTimeout((()=>s.focus()),800);else{const e=document.getElementById("yoast-seo-settings");null==e||e.scrollIntoView({behavior:"smooth"})}}),[t,e,s])})();const{dirty:m}=q();return(0,l.useBeforeUnload)(m,(0,Lt.__)("There are unsaved changes on this page. Leaving means that those changes will be lost. Are you sure you want to leave this page?","wordpress-seo")),(0,e.createElement)(e.Fragment,null,(0,e.createElement)(ja,null),(0,e.createElement)(l.SidebarNavigation,{activePath:t},(0,e.createElement)(l.SidebarNavigation.Mobile,{openButtonId:"button-open-settings-navigation-mobile",closeButtonId:"button-close-settings-navigation-mobile" /* translators: Hidden accessibility text. */,openButtonScreenReaderText:(0,Lt.__)("Open settings navigation","wordpress-seo") /* translators: Hidden accessibility text. */,closeButtonScreenReaderText:(0,Lt.__)("Close settings navigation","wordpress-seo"),"aria-label":(0,Lt.__)("Settings navigation","wordpress-seo")},(0,e.createElement)(jl,{idSuffix:"-mobile",postTypes:s,taxonomies:r})),(0,e.createElement)("div",{className:"yst-p-4 min-[783px]:yst-p-8 yst-flex yst-gap-4"},(0,e.createElement)("aside",{className:"yst-sidebar yst-sidebar-nav yst-shrink-0 yst-hidden min-[783px]:yst-block yst-pb-6 yst-bottom-0 yst-w-56"},(0,e.createElement)(l.SidebarNavigation.Sidebar,null,(0,e.createElement)(jl,{postTypes:s,taxonomies:r}))),(0,e.createElement)("div",{className:or()("yst-flex yst-grow yst-flex-wrap",!o&&"xl:yst-pe-[17.5rem]")},(0,e.createElement)("div",{className:"yst-grow yst-max-w-page yst-space-y-6 yst-mb-8 xl:yst-mb-0"},(0,e.createElement)(l.Paper,{as:"main"},(0,e.createElement)(l.ErrorBoundary,{FallbackComponent:Qi},(0,e.createElement)(Js,{key:t,appear:!0,show:!0,enter:"yst-transition-opacity yst-delay-100 yst-duration-300",enterFrom:"yst-opacity-0",enterTo:"yst-opacity-100"},(0,e.createElement)(ft,null,(0,e.createElement)(pt,{path:"author-archives",element:(0,e.createElement)(ll,null)}),(0,e.createElement)(pt,{path:"breadcrumbs",element:(0,e.createElement)(cl,null)}),(0,e.createElement)(pt,{path:"crawl-optimization",element:(0,e.createElement)(ml,null)}),(0,e.createElement)(pt,{path:"date-archives",element:(0,e.createElement)(hl,null)}),(0,e.createElement)(pt,{path:"homepage",element:(0,e.createElement)(bl,null)}),(0,e.createElement)(pt,{path:"format-archives",element:(0,e.createElement)(wl,null)}),(0,e.createElement)(pt,{path:"media-pages",element:(0,e.createElement)(vl,null)}),(0,e.createElement)(pt,{path:"rss",element:(0,e.createElement)(xl,null)}),(0,e.createElement)(pt,{path:"site-basics",element:(0,e.createElement)(Ll,null)}),(0,e.createElement)(pt,{path:"site-connections",element:(0,e.createElement)(Ul,null)}),(0,e.createElement)(pt,{path:"site-representation",element:(0,e.createElement)(Cl,null)}),(0,e.createElement)(pt,{path:"site-features",element:(0,e.createElement)(Pl,null)}),(0,e.createElement)(pt,{path:"special-pages",element:(0,e.createElement)(Al,null)}),(0,e.createElement)(pt,{path:"post-type"},(0,le.map)(s,(t=>(0,e.createElement)(pt,{key:`route-post-type-${t.name}`,path:t.route,element:(0,e.createElement)(rl,{...t})})))),(0,e.createElement)(pt,{path:"taxonomy"},(0,le.map)(r,(t=>(0,e.createElement)(pt,{key:`route-taxonomy-${t.name}`,path:t.route,element:(0,e.createElement)(nl,{...t})})))),(0,e.createElement)(pt,{path:"*",element:(0,e.createElement)(ut,{to:"/site-features",replace:!0})}))))),!o&&(0,e.createElement)(zr,{premiumLink:n,premiumUpsellConfig:d,isPromotionActive:p})),!o&&(0,e.createElement)("div",{className:"xl:yst-max-w-3xl xl:yst-fixed xl:yst-end-8 xl:yst-w-[16rem]"},(0,e.createElement)(qr,{premiumLink:c,premiumUpsellConfig:d,academyLink:u,isPromotionActive:p}))))))},zl=window.yoast.externals.redux,ql=()=>(0,le.get)(window,"wpseoScriptData.postTypes",{}),Wl="updatePostTypeReviewStatus",Hl=(0,Tt.createSlice)({name:"postTypes",initialState:ql(),reducers:{},extraReducers:e=>{e.addCase(`${Wl}/result`,((e,{payload:t})=>{e[t].isNew=!1}))}}),Yl={selectPostType:(e,t,s={})=>(0,le.get)(e,`postTypes.${t}`,s),selectAllPostTypes:(e,t=null)=>{const s=(0,le.get)(e,"postTypes",{});return t?(0,le.pick)(s,t):s}};Yl.selectPostTypes=(0,Tt.createSelector)(Yl.selectAllPostTypes,(e=>(0,le.omit)(e,["attachment"])));const Gl={[Wl]:async({payload:e})=>Gt()({path:"/yoast/v1/new-content-type-visibility/dismiss-post-type",method:"POST",data:{post_type_name:e}})},Kl={...Hl.actions,updatePostTypeReviewStatus:function*(e){try{yield{type:Wl,payload:e}}catch(t){console.error(`Error: Failed to remove "New" badge for ${e}, ${t}`)}return{type:`${Wl}/result`,payload:e}}},Zl=Hl.reducer,Jl=()=>{var e;return{...(0,le.get)(window,"wpseoScriptData.preferences",{}),documentTitle:(0,le.defaultTo)(null===(e=document)||void 0===e?void 0:e.title,"")}},Ql=(0,Tt.createSlice)({name:"preferences",initialState:Jl(),reducers:{}}),Xl={selectPreference:(e,t,s={})=>(0,le.get)(e,`preferences.${t}`,s),selectPreferences:e=>(0,le.get)(e,"preferences",{})};Xl.selectHasPageForPosts=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"homepageIsLatestPosts"),e=>Xl.selectPreference(e,"homepagePostsEditUrl")],((e,t)=>!e&&!(0,le.isEmpty)(t))),Xl.selectCanEditUser=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"currentUserId",-1),e=>Xl.selectPreference(e,"canEditUsers",!1),(e,t)=>t],((e,t,s)=>e===s||t)),Xl.selectExampleUrl=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"siteUrl","https://example.com"),(e,t)=>t],((e,t)=>e+t)),Xl.selectPluginUrl=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"pluginUrl","https://example.com"),(e,t)=>t],((e,t)=>e+t)),Xl.selectUpsellSettingsAsProps=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"upsellSettings",{}),(e,t="premiumCtbId")=>t],((e,t)=>({"data-action":null==e?void 0:e.actionId,"data-ctb-id":null==e?void 0:e[t]})));const ec=Ql.actions,tc=Ql.reducer,sc=()=>(0,le.reduce)((0,le.get)(window,"wpseoScriptData.taxonomies",{}),((e,{postTypes:t,...s},r)=>({...e,[r]:{...s,postTypes:(0,le.values)(t)}})),{}),rc="updateTaxonomyReviewStatus",ac=(0,Tt.createSlice)({name:"taxonomies",initialState:sc(),reducers:{},extraReducers:e=>{e.addCase(`${rc}/result`,((e,{payload:t})=>{e[t].isNew=!1}))}}),oc={selectTaxonomy:(e,t,s={})=>(0,le.get)(e,`taxonomies.${t}`,s),selectAllTaxonomies:e=>(0,le.get)(e,"taxonomies",{})};oc.selectTaxonomies=(0,Tt.createSelector)(oc.selectAllTaxonomies,(e=>(0,le.omit)(e,["post_format"])));const nc={[rc]:async({payload:e})=>Gt()({path:"/yoast/v1/new-content-type-visibility/dismiss-taxonomy",method:"POST",data:{taxonomy_name:e}})},ic={...ac.actions,updateTaxonomyReviewStatus:function*(e){try{yield{type:rc,payload:e}}catch(t){console.error(`Error: Failed to remove "New" badge for ${e}, ${t}`)}return{type:`${rc}/result`,payload:e}}},lc=ac.reducer,cc={selectBreadcrumbsForPostTypes:(0,Tt.createSelector)([oc.selectAllTaxonomies,Yl.selectAllPostTypes],((e,t)=>{const s={value:0,label:(0,Lt.__)("None","wordpress-seo")},r={};return(0,le.forEach)(t,((t,a)=>{const o=(0,le.filter)(e,(e=>(0,le.includes)(e.postTypes,a)));(0,le.isEmpty)(o)||(r[a]={...t,options:[s,...(0,le.map)(o,(({name:e,label:t})=>({value:e,label:t})))]})})),r})),selectBreadcrumbsForTaxonomies:(0,Tt.createSelector)([oc.selectAllTaxonomies,Yl.selectAllPostTypes,Xl.selectHasPageForPosts],((e,t,s)=>{let r=[{value:0,label:(0,Lt.__)("None","wordpress-seo")}];s&&r.push({value:"post",label:(0,Lt.__)("Blog","wordpress-seo")});const a=(0,le.filter)(t,(({hasArchive:e})=>e));return r=r.concat((0,le.map)(a,(({name:e,label:t})=>({value:e,label:t})))),(0,le.mapValues)(e,(e=>({name:e.name,label:e.label,options:r})))}))},dc=()=>({...(0,le.get)(window,"wpseoScriptData.defaultSettingValues",{})}),uc=(0,Tt.createSlice)({name:"defaultSettingValues",initialState:dc(),reducers:{}}),pc={selectDefaultSettingValue:(e,t,s={})=>(0,le.get)(e,`defaultSettingValues.${t}`,s),selectDefaultSettingValues:e=>(0,le.get)(e,"defaultSettingValues",{})},mc=uc.actions,fc=uc.reducer,hc=()=>(0,le.get)(window,"wpseoScriptData.fallbacks",{}),yc=(0,Tt.createSlice)({name:"fallbacks",initialState:hc(),reducers:{}}),wc={selectFallback:(e,t,s={})=>(0,le.get)(e,`fallbacks.${t}`,s),selectFallbacks:e=>(0,le.get)(e,"fallbacks",{})},_c=yc.actions,gc=yc.reducer,bc=(0,Tt.createEntityAdapter)(),vc=()=>bc.getInitialState({status:Qt,error:""}),Ec="fetchMedia",xc=e=>{var t,s;return{id:null==e?void 0:e.id,title:(null==e||null===(t=e.title)||void 0===t?void 0:t.rendered)||(null==e?void 0:e.title),slug:(null==e?void 0:e.slug)||(null==e?void 0:e.name),alt:(null==e?void 0:e.alt_text)||(null==e?void 0:e.alt),url:(null==e?void 0:e.source_url)||(null==e?void 0:e.url),type:(null==e?void 0:e.media_type)||(null==e?void 0:e.type),mime:(null==e?void 0:e.mime_type)||(null==e?void 0:e.mime),author:null==e?void 0:e.author,sizes:(0,le.mapValues)((null==e?void 0:e.sizes)||(null==e||null===(s=e.media_details)||void 0===s?void 0:s.sizes),(e=>({url:(null==e?void 0:e.url)||(null==e?void 0:e.source_url),width:null==e?void 0:e.width,height:null==e?void 0:e.height})),{})}},kc=(0,Tt.createSlice)({name:"media",initialState:vc(),reducers:{addOneMedia:{reducer:bc.addOne,prepare:e=>({payload:xc(e)})},addManyMedia:{reducer:bc.addMany,prepare:e=>({payload:(0,le.map)(e,xc)})}},extraReducers:e=>{e.addCase(`${Ec}/${Kt}`,(e=>{e.status=Xt})),e.addCase(`${Ec}/${Zt}`,((e,t)=>{e.status=es,bc.addMany(e,(0,le.map)(t.payload,xc))})),e.addCase(`${Ec}/${Jt}`,((e,t)=>{e.status=ts,e.error=t.payload}))}}),Sc=bc.getSelectors((e=>e.media)),Lc={selectMediaIds:Sc.selectIds,selectMediaById:Sc.selectById,selectIsMediaLoading:e=>(0,le.get)(e,"media.status",Qt)===Xt,selectIsMediaError:e=>(0,le.get)(e,"media.status",Qt)===ts},Tc={...kc.actions,fetchMedia:function*(e){yield{type:`${Ec}/${Kt}`};try{const t=yield{type:Ec,payload:{per_page:100,include:e}};return{type:`${Ec}/${Zt}`,payload:t}}catch(e){return{type:`${Ec}/${Jt}`,payload:e}}}},Fc={[Ec]:async({payload:e})=>Gt()({path:`/wp/v2/media?${(0,Rt.buildQueryString)(e)}`})},$c=kc.reducer,Pc=window.wp.htmlEntities,Rc=(0,Tt.createEntityAdapter)(),Nc="fetchPages",Ic="pages";let Oc;const Cc=e=>{var t;return{id:null==e?void 0:e.id,name:(0,Pc.decodeEntities)((0,le.trim)(null==e?void 0:e.title.rendered))||(null==e?void 0:e.slug)||e.id,slug:null==e?void 0:e.slug,protected:null==e||null===(t=e.content)||void 0===t?void 0:t.protected}},Ac=(0,Tt.createSlice)({name:"pages",initialState:Rc.getInitialState({status:Qt,error:""}),reducers:{addOnePage:{reducer:Rc.addOne,prepare:e=>({payload:Cc(e)})},addManyPages:{reducer:Rc.addMany,prepare:e=>({payload:(0,le.map)(e,Cc)})}},extraReducers:e=>{e.addCase(`${Nc}/${Kt}`,(e=>{e.status=Xt})),e.addCase(`${Nc}/${Zt}`,((e,t)=>{e.status=es,Rc.addMany(e,(0,le.map)(t.payload,Cc))})),e.addCase(`${Nc}/${Jt}`,((e,t)=>{e.status=ts,e.error=t.payload}))}}),Mc=Ac.getInitialState,Dc=Rc.getSelectors((e=>e.pages)),Bc={selectPageIds:Dc.selectIds,selectPageById:Dc.selectById,selectPages:Dc.selectEntities};Bc.selectPagesWith=(0,Tt.createSelector)([Bc.selectPages,(e,t={})=>t],((e,t)=>{const s={};t.forEach((t=>{null!=t&&t.id&&!e[t.id]&&(s[t.id]={...t})}));const r=(0,le.pickBy)(e,(e=>!e.protected));return{...s,...r}}));const Uc={...Ac.actions,fetchPages:function*(e){yield{type:`${Nc}/${Kt}`};try{const t=yield{type:Nc,payload:{...e}};return{type:`${Nc}/${Zt}`,payload:t}}catch(e){return{type:`${Nc}/${Jt}`,payload:e}}}},jc={[Nc]:async({payload:e})=>{var t;return null===(t=Oc)||void 0===t||t.abort(),Oc=new AbortController,Gt()({path:`/wp/v2/pages?${(0,Rt.buildQueryString)(e)}`,signal:Oc.signal})}},Vc=Ac.reducer,zc=()=>({recommended:(0,le.get)(window,"wpseoScriptData.replacementVariables.recommended",{}),shared:(0,le.get)(window,"wpseoScriptData.replacementVariables.shared",[]),specific:(0,le.get)(window,"wpseoScriptData.replacementVariables.specific",{}),variables:(0,le.get)(window,"wpseoScriptData.replacementVariables.variables",[])}),qc=(0,Tt.createSlice)({name:"replacementVariables",initialState:zc(),reducers:{}}),Wc={selectRecommendedReplacementVariables:e=>(0,le.get)(e,"replacementVariables.recommended",{}),selectSharedReplacementVariables:e=>(0,le.get)(e,"replacementVariables.shared",[]),selectSpecificReplacementVariables:e=>(0,le.get)(e,"replacementVariables.specific",{}),selectReplacementVariables:e=>(0,le.get)(e,"replacementVariables.variables",[])};Wc.selectSpecificReplacementVariablesFor=(0,Tt.createSelector)([Wc.selectSharedReplacementVariables,Wc.selectSpecificReplacementVariables,(e,t)=>t,(e,t,s)=>s],((e,t,s,r)=>[...e,...(0,le.get)(t,s,(0,le.get)(t,r,[]))])),Wc.selectReplacementVariablesFor=(0,Tt.createSelector)([Wc.selectReplacementVariables,Wc.selectSpecificReplacementVariablesFor],((e,t)=>(0,le.filter)(e,(({name:e})=>(0,le.includes)(t,e))))),Wc.selectRecommendedReplacementVariablesFor=(0,Tt.createSelector)([Wc.selectRecommendedReplacementVariables,(e,t)=>t,(e,t,s)=>s],((e,t,s)=>(0,le.get)(e,t,(0,le.get)(e,s,[]))));const Hc=qc.actions,Yc=qc.reducer,Gc=(e,t)=>{ // translators: %1$s expands to the schema type, e.g. "Web Page" or "Blog Post". const s=(0,Lt.__)("%1$s (default)","wordpress-seo");return e.map((({label:e,value:r})=>({value:r,label:r===t?(0,Lt.sprintf)(s,e):e})))},Kc=()=>({articleTypes:(0,le.get)(window,"wpseoScriptData.schema.articleTypes",{}),articleTypeDefaults:(0,le.get)(window,"wpseoScriptData.schema.articleTypeDefaults",{}),pageTypes:(0,le.get)(window,"wpseoScriptData.schema.pageTypes",{}),pageTypeDefaults:(0,le.get)(window,"wpseoScriptData.schema.pageTypeDefaults",{})}),Zc=(0,Tt.createSlice)({name:"schema",initialState:Kc(),reducers:{}}),Jc={selectSchema:e=>(0,le.get)(e,"schema",{}),selectArticleTypes:e=>(0,le.get)(e,"schema.articleTypes",{}),selectArticleTypeDefaults:e=>(0,le.get)(e,"schema.articleTypeDefaults",{}),selectPageTypes:e=>(0,le.get)(e,"schema.pageTypes",{}),selectPageTypeDefaults:e=>(0,le.get)(e,"schema.pageTypeDefaults",{})};Jc.selectArticleTypeValues=(0,Tt.createSelector)(Jc.selectArticleTypes,(e=>(0,le.values)(e))),Jc.selectArticleTypeDefault=(0,Tt.createSelector)([Jc.selectArticleTypeDefaults,(e,t)=>t],((e,t)=>(0,le.get)(e,t,"None"))),Jc.selectArticleTypeValuesFor=(0,Tt.createSelector)([Jc.selectArticleTypeValues,Jc.selectArticleTypeDefault],((e,t)=>Gc(e,t))),Jc.selectPageTypeValues=(0,Tt.createSelector)(Jc.selectPageTypes,(e=>(0,le.values)(e))),Jc.selectPageTypeDefault=(0,Tt.createSelector)([Jc.selectPageTypeDefaults,(e,t)=>t],((e,t)=>(0,le.get)(e,t,"WebPage"))),Jc.selectPageTypeValuesFor=(0,Tt.createSelector)([Jc.selectPageTypeValues,Jc.selectPageTypeDefault],((e,t)=>Gc(e,t)));const Qc=Zc.actions,Xc=Zc.reducer,ed=(e,{userLocale:t})=>gn((0,le.join)([...(0,le.isArray)(null==e?void 0:e.keywords)?e.keywords:[],null==e?void 0:e.routeLabel,null==e?void 0:e.fieldLabel]," "),t),td=(e,t="",{userLocale:s})=>(0,le.reduce)(e,((e,r,a)=>{const o=(0,le.join)((0,le.filter)([t,a],Boolean),".");return"other_social_urls"===a?{...e,[o]:{route:null==r?void 0:r.route,routeLabel:null==r?void 0:r.routeLabel,fieldId:null==r?void 0:r.fieldId,fieldLabel:null==r?void 0:r.fieldLabel,keywords:ed(r,{userLocale:s})}}:null!=r&&r.route?{...e,[o]:{...r,keywords:ed(r,{userLocale:s})}}:{...e,...td(r,o,{userLocale:s})}}),{}),sd=()=>{const e=(0,le.get)(window,"wpseoScriptData.postTypes",{}),t=(0,le.get)(window,"wpseoScriptData.taxonomies",{}),s=(0,le.get)(window,"wpseoScriptData.preferences.userLocale",{});return{index:En(e,t,{userLocale:s})}},rd=(0,Tt.createSlice)({name:"search",initialState:sd(),reducers:{}}),ad={selectSearchIndex:e=>(0,le.get)(e,"search.index",{})};ad.selectQueryableSearchIndex=(0,Tt.createSelector)([ad.selectSearchIndex,e=>Xl.selectPreference(e,"userLocale")],((e,t)=>td(e,"",{userLocale:t})));const od=rd.actions,nd=rd.reducer,id=(0,Tt.createEntityAdapter)(),ld="fetchUsers",cd=()=>id.getInitialState({status:Qt,error:""}),dd=e=>({id:null==e?void 0:e.id,name:(0,le.trim)(null==e?void 0:e.name)||(null==e?void 0:e.slug)||(null==e?void 0:e.id),slug:null==e?void 0:e.slug}),ud=(0,Tt.createSlice)({name:"users",initialState:cd(),reducers:{addOneUser:{reducer:id.addOne,prepare:e=>({payload:dd(e)})},addManyUsers:{reducer:id.addMany,prepare:e=>({payload:(0,le.map)(e,dd)})}},extraReducers:e=>{e.addCase(`${ld}/${Kt}`,(e=>{e.status=Xt})),e.addCase(`${ld}/${Zt}`,((e,t)=>{e.status=es,id.addMany(e,(0,le.map)(t.payload,dd))})),e.addCase(`${ld}/${Jt}`,((e,t)=>{e.status=ts,e.error=t.payload}))}}),pd=id.getSelectors((e=>e.users)),md={selectUserIds:pd.selectIds,selectUserById:pd.selectById,selectUsers:pd.selectEntities};md.selectUsersWith=(0,Tt.createSelector)([md.selectUsers,(e,t={})=>t],((e,t)=>null!=t&&t.id&&!e[t.id]?{...e,[t.id]:{...t}}:e));const fd={...ud.actions,fetchUsers:function*(e){yield{type:`${ld}/${Kt}`};try{const t=yield{type:ld,payload:{...e}};return{type:`${ld}/${Zt}`,payload:t}}catch(e){return{type:`${ld}/${Jt}`,payload:e}}}},hd={[ld]:async({payload:e})=>Gt()({path:`/wp/v2/users?${(0,Rt.buildQueryString)(e)}`})},yd=ud.reducer,{isPromotionActive:wd}=zl.selectors,{currentPromotions:_d}=zl.reducers,{setCurrentPromotions:gd}=zl.actions,bd=({initialState:e={}}={})=>{(0,a.register)((({initialState:e})=>(0,a.createReduxStore)(ea,{actions:{...mc,..._c,...At,...Tc,...Vt,...Uc,...Kl,...ec,...Hc,...Qc,...od,...ic,...fd,setCurrentPromotions:gd},selectors:{...cc,...pc,...wc,...Ct,...Lc,...jt,...Bc,...Yl,...Xl,...Wc,...Jc,...ad,...oc,...md,isPromotionActive:wd},initialState:(0,le.merge)({},{defaultSettingValues:dc(),fallbacks:hc(),[Nt]:Ot(),media:vc(),[Dt]:Ut(),[Ic]:Mc(),postTypes:ql(),preferences:Jl(),replacementVariables:zc(),schema:Kc(),search:sd(),taxonomies:sc(),users:cd(),currentPromotions:{promotions:[]}},e),reducer:(0,a.combineReducers)({defaultSettingValues:fc,fallbacks:gc,[Nt]:Mt,media:$c,[Dt]:zt,[Ic]:Vc,postTypes:Zl,preferences:tc,replacementVariables:Yc,schema:Xc,search:nd,taxonomies:lc,users:yd,currentPromotions:_d}),controls:{...Fc,...hd,...Gl,...nc,...jc}}))({initialState:e}))};n()((()=>{const t=document.getElementById("yoast-seo-settings");if(!t)return;const s=document.createElement("div"),o=s.attachShadow({mode:"open"});document.body.appendChild(s);const n=(0,le.get)(window,"wpseoScriptData.settings",{}),c=(0,le.get)(window,"wpseoScriptData.fallbacks",{}),d=(0,le.get)(window,"wpseoScriptData.postTypes",{}),u=(0,le.get)(window,"wpseoScriptData.taxonomies",{}),p=(0,le.get)(window,"wpseoScriptData.showNewContentTypeNotification",!1)?{"new-content-type":{id:"new-content-type",variant:"info",size:"large",title:(0,Lt.__)("New type of content added to your site!","wordpress-seo"),description:(0,Lt.__)("Please see the “New” badges and review the Search appearance settings.","wordpress-seo")}}:{};bd({initialState:{notifications:p,[Nt]:(0,le.get)(window,"wpseoScriptData.linkParams",{}),currentPromotions:{promotions:(0,le.get)(window,"wpseoScriptData.currentPromotions",[])}}}),(async({settings:e,fallbacks:t})=>{const s=(0,le.get)(e,"wpseo_titles",{}),r=(0,le.filter)([(0,le.get)(e,"wpseo_social.og_default_image_id","0"),(0,le.get)(e,"wpseo_titles.open_graph_frontpage_image_id","0"),(0,le.get)(e,"wpseo_titles.company_logo_id","0"),(0,le.get)(e,"wpseo_titles.person_logo_id","0"),(0,le.get)(t,"siteLogoId","0"),...(0,le.reduce)(s,((e,t,s)=>(0,le.includes)(s,"social-image-id")?[...e,t]:e),[])],Boolean),o=(0,le.chunk)(r,100),{fetchMedia:n}=(0,a.dispatch)(ea);(0,le.forEach)(o,n)})({settings:n,fallbacks:c}),(async({settings:e})=>{const t=(0,le.get)(e,"wpseo_titles.company_or_person_user_id"),{fetchUsers:s}=(0,a.dispatch)(ea);t&&s({include:[t]})})({settings:n}),document.querySelector('[href="#wpbody-content"]').addEventListener("click",(e=>{var t,s;e.preventDefault(),window.outerWidth>782?null===(s=document.getElementById("link-yoast-logo"))||void 0===s||s.focus():null===(t=document.getElementById("button-open-settings-navigation-mobile"))||void 0===t||t.focus()})),document.querySelector('[href="#wp-toolbar"]').addEventListener("click",(e=>{var t;e.preventDefault(),null===(t=document.querySelector("#wp-admin-bar-wp-logo a"))||void 0===t||t.focus()})),(()=>{const e=document.getElementById("wpcontent"),t=document.getElementById("adminmenuwrap");e&&t&&(e.style.minHeight=`${t.offsetHeight}px`)})();const m=(0,a.select)(ea).selectPreference("isRtl",!1);(0,i.render)((0,e.createElement)(l.Root,{context:{isRtl:m}},(0,e.createElement)(St.StyleSheetManager,{target:o},(0,e.createElement)(r.SlotFillProvider,null,(0,e.createElement)(gt,null,(0,e.createElement)(K,{initialValues:n,validationSchema:Wi(d,u),onSubmit:kn},(0,e.createElement)(Vl,null)))))),t)}))})()})();
tags. */ (0,Lt.__)("Consolidates WordPress' multiple site search URL formats into the %1$s syntax. E.g., %2$s will redirect to %3$s","wordpress-seo"),"","",""),{code1:(0,e.createElement)(l.Code,null,"?s="),code2:(0,e.createElement)(l.Code,{variant:"block"},"https://www.example.com/search/cats"),code3:(0,e.createElement)(l.Code,{variant:"block"},"https://www.example.com/?s=cats")}),denySearchCrawling:(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s, %2$s and %3$s expand to example parts of a URL, surrounded by tags. */ (0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling of URLs like %1$s, %2$s and %3$s.","wordpress-seo"),"","",""),{code1:(0,e.createElement)(l.Code,null,"?s="),code2:(0,e.createElement)(l.Code,null,"/search/"),code3:(0,e.createElement)(l.Code,null,"/page/*/?s=")}),advancedUrlCleanup:(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an example part of a URL, surrounded by a tag. */ (0,Lt.__)("Users and search engines may often request your URLs whilst using query parameters, like %1$s. These can be helpful for tracking, filtering, and powering advanced functionality - but they come with a performance and SEO ‘cost’. Sites which don’t rely on URL parameters might benefit from using these options.","wordpress-seo"),""),{code:(0,e.createElement)(l.Code,null,"?color=red")}),cleanCampaignTrackingUrls:(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: * %1$s expands to `utm`. * %2$s expands to `#`. * %3$s expands to `301`. * %4$s and %5$s both expand to an example within a tag. */ (0,Lt.__)("Replaces %1$s tracking parameters with the (more performant) %2$s equivalent, via a %3$s redirect. E.g., %4$s will be redirected to %5$s","wordpress-seo"),"","","","",""),{code1:(0,e.createElement)(l.Code,null,"utm"),code2:(0,e.createElement)(l.Code,null,"#"),code3:(0,e.createElement)(l.Code,null,"301"),code4:(0,e.createElement)(l.Code,{variant:"block"},"https://www.example.com/?utm_medium=organic"),code5:(0,e.createElement)(l.Code,{variant:"block"},"https://www.example.com/#utm_medium=organic")}),cleanPermalinks:(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: * %1$s expands to `301`. * %2$s and %3$s both expand to an example within a tag. */ (0,Lt.__)("Removes unknown URL parameters via a %1$s redirect. E.g., %2$s will be redirected to %3$s","wordpress-seo"),"","","")+(0,Lt.sprintf)( /** * translators: * %1$s through %7$s each expand to a parameter name within a tag. For example, gclid. */ (0,Lt.__)("Note that the following commonly-used parameters will not be removed: %1$s, %2$s, %3$s, %4$s, %5$s, %6$s, and %7$s.","wordpress-seo"),"","","","","","",""),{code1:(0,e.createElement)(l.Code,null,"301"),code2:(0,e.createElement)(l.Code,{variant:"block"},"https://www.example.com/?unknown_parameter=yes"),code3:(0,e.createElement)(l.Code,{variant:"block"},"https://www.example.com"),code4:(0,e.createElement)(l.Code,null,"gclid"),code5:(0,e.createElement)(l.Code,null,"gtm_debug"),code6:(0,e.createElement)(l.Code,null,"utm_campaign"),code7:(0,e.createElement)(l.Code,null,"utm_content"),code8:(0,e.createElement)(l.Code,null,"utm_medium"),code9:(0,e.createElement)(l.Code,null,"utm_source"),code10:(0,e.createElement)(l.Code,null,"utm_term")}),cleanPermalinksExtraVariables:(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: * %1$s expands to `unknown_parameter`. * %2$s and %3$s both expand to an example within a tag. */ (0,Lt.__)("Prevents specific URL parameters from being removed by the above feature. E.g., adding %1$s will prevent %2$s from being redirected to %3$s. You can add multiple parameters and separate them by using enter or a comma.","wordpress-seo"),"","",""),{code1:(0,e.createElement)(l.Code,null,"unknown_parameter"),code2:(0,e.createElement)(l.Code,null,"https://www.example.com/?unknown_parameter=yes"),code3:(0,e.createElement)(l.Code,null,"https://www.example.com")})})),[]),{values:m}=q(),{remove_feed_global_comments:f,remove_feed_post_comments:h,search_cleanup:y,search_cleanup_emoji:w,search_cleanup_patterns:_,clean_permalinks:g}=m.wpseo;return(0,e.createElement)(uo,{title:(0,Lt.__)("Crawl optimization","wordpress-seo"),description:p.page},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("Remove unwanted metadata","wordpress-seo"),description:p.removeUnwantedMetadata},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_shortlinks",id:"input-wpseo-remove_shortlinks",label:(0,Lt.__)("Remove shortlinks","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links to WordPress' internal 'shortlink' URLs for your posts.","wordpress-seo")," ",p.removeShortlinks),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_rest_api_links",id:"input-wpseo-remove_rest_api_links",label:(0,Lt.__)("Remove REST API links","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links to the location of your site’s REST API endpoints.","wordpress-seo")," ",p.removeRestApiLinks),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_rsd_wlw_links",id:"input-wpseo-remove_rsd_wlw_links",label:(0,Lt.__)("Remove RSD / WLW links","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links used by external systems for publishing content to your blog.","wordpress-seo")," ",p.removeRsdWlwLinks),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_oembed_links",id:"input-wpseo-remove_oembed_links",label:(0,Lt.__)("Remove oEmbed links","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links used for embedding your content on other sites.","wordpress-seo")," ",p.removeOembedLinks),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_generator",id:"input-wpseo-remove_generator",label:(0,Lt.__)("Remove generator tag","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove information about the plugins and software used by your site.","wordpress-seo")," ",p.removeGenerator),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_pingback_header",id:"input-wpseo-remove_pingback_header",label:(0,Lt.__)("Pingback HTTP header","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links which allow others sites to ‘ping’ yours when they link to you.","wordpress-seo")," ",p.removePingbackHeader),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_powered_by_header",id:"input-wpseo-remove_powered_by_header",label:(0,Lt.__)("Remove powered by HTTP header","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove information about the plugins and software used by your site.","wordpress-seo")," ",p.removePoweredByHeader)),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Disable unwanted content formats","wordpress-seo"),description:(0,Lt.__)("WordPress outputs your content in many different formats, across many different URLs (like RSS feeds of your posts and categories). It’s generally good practice to disable the formats you’re not actively using.","wordpress-seo")},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_global",id:"input-wpseo-remove_feed_global",label:(0,Lt.__)("Remove global feed","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide an overview of your recent posts.","wordpress-seo")," ",p.removeFeedGlobal),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_global_comments",id:"input-wpseo-remove_feed_global_comments",label:(0,Lt.__)("Remove global comment feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide an overview of recent comments on your site.","wordpress-seo")," ",p.removeFeedGlobalComments,(0,Lt.__)("Also disables post comment feeds.","wordpress-seo")),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_post_comments",id:"input-wpseo-remove_feed_post_comments",label:(0,Lt.__)("Remove post comments feeds","wordpress-seo"),disabled:f,checked:f||h,className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about recent comments on each post.","wordpress-seo")," ",p.removeFeedPostComments),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_authors",id:"input-wpseo-remove_feed_authors",label:(0,Lt.__)("Remove post authors feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about recent posts by specific authors.","wordpress-seo")," ",p.removeFeedAuthors),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_post_types",id:"input-wpseo-remove_feed_post_types",label:(0,Lt.__)("Remove post type feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your recent posts, for each post type.","wordpress-seo")," ",p.removeFeedPostTypes),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_categories",id:"input-wpseo-remove_feed_categories",label:(0,Lt.__)("Remove category feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your recent posts, for each category.","wordpress-seo")," ",p.removeFeedCategories),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_tags",id:"input-wpseo-remove_feed_tags",label:(0,Lt.__)("Remove tag feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your recent posts, for each tag.","wordpress-seo")," ",p.removeFeedTags),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_custom_taxonomies",id:"input-wpseo-remove_feed_custom_taxonomies",label:(0,Lt.__)("Remove custom taxonomy feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your recent posts, for each custom taxonomy.","wordpress-seo")," ",p.removeFeedCustomTaxonomies),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_search",id:"input-wpseo-remove_feed_search",label:(0,Lt.__)("Remove search results feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your search results.","wordpress-seo")," ",p.removeFeedSearch),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_atom_rdf_feeds",id:"input-wpseo-remove_atom_rdf_feeds",label:(0,Lt.__)("Remove Atom / RDF feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide alternative (legacy) formats of all of the above.","wordpress-seo")," ",p.removeAtomRdfFeeds)),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Remove unused resources","wordpress-seo"),description:(0,Lt.__)("WordPress loads lots of resources, some of which your site might not need. If you’re not using these, removing them can speed up your pages and save resources.","wordpress-seo")},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_emoji_scripts",id:"input-wpseo-remove_emoji_scripts",label:(0,Lt.__)("Remove emoji scripts","wordpress-seo"),description:(0,Lt.__)("Remove JavaScript used for converting emoji characters in older browsers.","wordpress-seo"),className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_wp_json_crawling",id:"input-wpseo-deny_wp_json_crawling",label:(0,Lt.__)("Remove WP-JSON API","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling of WordPress' JSON API endpoints.","wordpress-seo")," ",p.denyWpJsonCrawling)),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Block unwanted bots","wordpress-seo"),description:p.blockUnwantedBots},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_adsbot_crawling",id:"input-wpseo-deny_adsbot_crawling",label:(0,Lt.__)("Prevent Google AdsBot from crawling","wordpress-seo"),description:(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by Google AdsBot. You should only enable this setting if you're not using Google Ads on your site.","wordpress-seo"),className:"yst-max-w-2xl"}),(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!s&&!t,variant:"card",cardLink:c,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...r},(0,e.createElement)(pl,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_google_extended_crawling",id:"input-wpseo-deny_google_extended_crawling",label:(0,Lt.__)("Prevent Google Gemini and Vertex AI bots from crawling","wordpress-seo"),description:(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by the Google-Extended bot. Enabling this setting won’t prevent Google from indexing your website.","wordpress-seo"),labelSuffix:t&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium"),className:"yst-max-w-2xl",isDummy:!t}),(0,e.createElement)(pl,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_gptbot_crawling",id:"input-wpseo-deny_gptbot_crawling",label:(0,Lt.__)("Prevent OpenAI GPTBot from crawling","wordpress-seo"),description:(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by OpenAI GPTBot.","wordpress-seo"),labelSuffix:t&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium"),className:"yst-max-w-2xl",isDummy:!t}),(0,e.createElement)(pl,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_ccbot_crawling",id:"input-wpseo-deny_ccbot_crawling",label:(0,Lt.__)("Prevent Common Crawl CCBot from crawling","wordpress-seo"),description:(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by Common Crawl CCBot.","wordpress-seo"),labelSuffix:t&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium"),className:"yst-max-w-2xl",isDummy:!t}))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Internal site search cleanup","wordpress-seo"),description:(0,Lt.__)("Your internal site search can create lots of confusing URLs for search engines, and can even be used as a way for SEO spammers to attack your site. Most sites will benefit from experimenting with these protections and optimizations, even if you don’t have a search feature in your theme.","wordpress-seo")},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.search_cleanup",id:"input-wpseo-search_cleanup",label:(0,Lt.__)("Filter search terms","wordpress-seo"),description:(0,Lt.__)("Enables advanced settings for protecting your internal site search URLs.","wordpress-seo"),className:"yst-max-w-2xl"}),(0,e.createElement)(dl,{as:l.TextField,type:"number",name:"wpseo.search_character_limit",id:"input-wpseo-search_character_limit",label:(0,Lt.__)("Max number of characters to allow in searches","wordpress-seo"),description:(0,Lt.__)("Limit the length of internal site search queries to reduce the impact of spam attacks and confusing URLs. Please enter a number between 1 and 50.","wordpress-seo"),disabled:!y}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.search_cleanup_emoji",id:"input-wpseo-search_cleanup_emoji",label:(0,Lt.__)("Filter searches with emojis and other special characters","wordpress-seo"),description:(0,Lt.__)("Block internal site searches which contain complex and non-alphanumeric characters, as they may be part of a spam attack.","wordpress-seo"),disabled:!y,checked:y&&w,className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.search_cleanup_patterns",id:"input-wpseo-search_cleanup_patterns",label:(0,Lt.__)("Filter searches with common spam patterns","wordpress-seo"),description:(0,Lt.__)("Block internal site searches which match the patterns of known spam attacks.","wordpress-seo"),disabled:!y,checked:y&&_,className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.redirect_search_pretty_urls",id:"input-wpseo-redirect_search_pretty_urls",label:(0,Lt.__)("Redirect pretty URLs to ‘raw’ formats","wordpress-seo"),description:p.redirectSearchPrettyUrls,className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_search_crawling",id:"input-wpseo-deny_search_crawling",label:(0,Lt.__)("Prevent crawling of internal site search URLs","wordpress-seo"),description:p.denySearchCrawling,className:"yst-max-w-2xl"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Advanced: URL cleanup","wordpress-seo"),description:p.advancedUrlCleanup},(0,e.createElement)(l.Alert,{id:"alert-permalink-cleanup-settings",variant:"error"},(0,i.createInterpolateElement)((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. (0,Lt.__)("Warning! These are expert features, so make sure you know what you're doing before using this setting. You might break your site. %1$sRead more about how your site can be affected%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)("a",{id:"link-permalink-cleanup-info",href:o,target:"_blank",rel:"noopener noreferrer"})})),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.clean_campaign_tracking_urls",id:"input-wpseo-clean_campaign_tracking_urls",label:(0,Lt.__)("Optimize Google Analytics utm tracking parameters","wordpress-seo"),description:p.cleanCampaignTrackingUrls,className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.clean_permalinks",id:"input-wpseo-clean_permalinks",label:(0,Lt.__)("Remove unregistered URL parameters","wordpress-seo"),description:p.cleanPermalinks,className:"yst-max-w-2xl"}),(0,e.createElement)(ba,{name:"wpseo.clean_permalinks_extra_variables",id:"input-wpseo-clean_permalinks_extra_variables",label:(0,Lt.__)("Additional URL parameters to allow","wordpress-seo"),description:p.cleanPermalinksExtraVariables,disabled:!g})))))},fl=Ca(_a),hl=()=>{const t=(0,Lt.__)("Date archives","wordpress-seo"),s=aa("selectPreference",[],"userLocale"),r=(0,i.useMemo)((()=>gn(t,s)),[t,s]),a=aa("selectUpsellSettingsAsProps"),o=aa("selectReplacementVariablesFor",[],"date_archive","custom-post-type_archive"),n=aa("selectRecommendedReplacementVariablesFor",[],"date_archive","custom-post-type_archive"),c=aa("selectLink",[],"https://yoa.st/show-x"),d=aa("selectPreference",[],"isPremium"),u=aa("selectLink",[],"https://yoa.st/4e0"),p=aa("selectExampleUrl",[],"/2020/"),m=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})})),[]),f=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to "Date archives". * %2$s expands to an example URL, e.g. https://example.com/author/example/. * %3$s expands to "date archives". */ (0,Lt.__)("%1$s (e.g. %2$s) are based on publication dates. From an SEO perspective, the posts in these archives have no real relation to the other posts except for their publication dates, which doesn’t say much about the content. They could also lead to duplicate content issues. This is why we recommend you to disable %3$s.","wordpress-seo"),t,"",r),{exampleUrl:(0,e.createElement)(l.Code,null,p)}))),{values:h}=q(),{opengraph:y}=h.wpseo_social,{"disable-date":w,"noindex-archive-wpseo":_}=h.wpseo_titles;return(0,e.createElement)(uo,{title:t,description:f},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)("fieldset",{className:"yst-min-width-0 yst-space-y-8"},(0,e.createElement)(ua,{name:"wpseo_titles.disable-date",id:"input-wpseo_titles-disable-date",label:(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Enable %1$s","wordpress-seo"),r),description:(0,Lt.sprintf)( // translators: %1$s expands to "Date archives". (0,Lt.__)("%1$s can cause duplicate content issues. For most sites, we recommend that you disable this setting.","wordpress-seo"),t),className:"yst-max-w-sm"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Search appearance","wordpress-seo"),description:(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Determine how your %1$s should look in search engines.","wordpress-seo"),r)},(0,e.createElement)(ua,{name:"wpseo_titles.noindex-archive-wpseo",id:"input-wpseo_titles-noindex-archive-wpseo",label:(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Show %1$s in search results","wordpress-seo"),r),description:(0,e.createElement)(e.Fragment,null,(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps. We recommend that you disable this setting.","wordpress-seo"),r)," ",(0,e.createElement)(l.Link,{href:c,target:"_blank",rel:"noopener"},(0,Lt.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:w,checked:!w&&!_,className:"yst-max-w-sm"}),(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.title-archive-wpseo",fieldId:"input-wpseo_titles-title-archive-wpseo",label:(0,Lt.__)("SEO title","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:n,disabled:w}),(0,e.createElement)(_a,{type:"description",name:"wpseo_titles.metadesc-archive-wpseo",fieldId:"input-wpseo_titles-metadesc-archive-wpseo",label:(0,Lt.__)("Meta description","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:n,disabled:w,className:"yst-replacevar--description"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},(0,e.createElement)("span",null,(0,Lt.__)("Social media appearance","wordpress-seo")),d&&(0,e.createElement)(l.Badge,{variant:"upsell"},"Premium")),description:(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Determine how your %1$s should look on social media by default.","wordpress-seo"),r)},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!d,variant:"card",cardLink:u,cardText:(0,Lt.sprintf)( // translators: %1$s expands to Premium. (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...a},(0,e.createElement)(Wa,{isEnabled:!d||y}),(0,e.createElement)(ha,{id:"wpseo_titles-social-image-archive-wpseo",label:(0,Lt.__)("Social image","wordpress-seo"),previewLabel:m,mediaUrlName:"wpseo_titles.social-image-url-archive-wpseo",mediaIdName:"wpseo_titles.social-image-id-archive-wpseo",disabled:w||!y,isDummy:!d}),(0,e.createElement)(fl,{type:"title",name:"wpseo_titles.social-title-archive-wpseo",fieldId:"input-wpseo_titles-social-title-archive-wpseo",label:(0,Lt.__)("Social title","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:n,disabled:w||!y,isDummy:!d}),(0,e.createElement)(fl,{type:"description",name:"wpseo_titles.social-description-archive-wpseo",fieldId:"input-wpseo_titles-social-description-archive-wpseo",label:(0,Lt.__)("Social description","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:n,className:"yst-replacevar--description",disabled:w||!y,isDummy:!d}))))))},yl=Ca(_a),wl=()=>{const{name:t,label:s,singularLabel:r}=aa("selectTaxonomy",[],"post_format"),a=aa("selectPreference",[],"userLocale"),o=(0,i.useMemo)((()=>gn(s,a)),[s,a]),n=(0,i.useMemo)((()=>gn(r,a)),[r,a]),c=aa("selectUpsellSettingsAsProps"),d=aa("selectReplacementVariablesFor",[t],t,"term-in-custom-taxonomy"),u=aa("selectRecommendedReplacementVariablesFor",[t],t,"term-in-custom-taxonomy"),p=aa("selectLink",[],"https://yoa.st/show-x"),m=aa("selectPreference",[],"isPremium"),f=aa("selectLink",[],"https://yoa.st/4e0"),h=aa("selectExampleUrl",[],"/format/example/"),y=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})})),[]),w=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("(e.g., %1$s)","wordpress-seo"),""),{exampleUrl:(0,e.createElement)(l.Code,null,h)}))),{values:_}=q(),{opengraph:g}=_.wpseo_social,{"disable-post_format":b,"noindex-tax-post_format":v}=_.wpseo_titles;return(0,e.createElement)(uo,{title:(0,Lt.__)("Format archives","wordpress-seo"),description:w},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(ua,{name:"wpseo_titles.disable-post_format",id:"input-wpseo_titles-disable-post_format",label:(0,Lt.__)("Enable format-based archives","wordpress-seo"),description:(0,Lt.__)("Format-based archives can cause duplicate content issues. For most sites, we recommend that you disable this setting.","wordpress-seo"),className:"yst-max-w-sm"}),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Search appearance","wordpress-seo"),description:(0,Lt.sprintf)( // translators: %1$s expands to "formats". %2$s expands to "Yoast SEO". (0,Lt.__)("Determine how your %1$s should look in search engines. You can always customize the settings for individual %1$s in the %2$s metabox.","wordpress-seo"),o,"Yoast SEO")},(0,e.createElement)(ua,{name:`wpseo_titles.noindex-tax-${t}`,id:`input-wpseo_titles-noindex-tax-${t}`,label:(0,Lt.sprintf)( // translators: %1$s expands to "format". (0,Lt.__)("Show %1$s archives in search results","wordpress-seo"),n),description:(0,e.createElement)(e.Fragment,null,(0,Lt.sprintf)( // translators: %1$s expands to "formats". (0,Lt.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps. We recommend that you disable this setting.","wordpress-seo"),o)," ",(0,e.createElement)(l.Link,{href:p,target:"_blank",rel:"noopener"},(0,Lt.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:b,checked:!b&&!v,className:"yst-max-w-sm"}),(0,e.createElement)(_a,{type:"title",name:`wpseo_titles.title-tax-${t}`,fieldId:`input-wpseo_titles-title-tax-${t}`,label:(0,Lt.__)("SEO title","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,disabled:b}),(0,e.createElement)(_a,{type:"description",name:`wpseo_titles.metadesc-tax-${t}`,fieldId:`input-wpseo_titles-metadesc-tax-${t}`,label:(0,Lt.__)("Meta description","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,disabled:b,className:"yst-replacevar--description"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},(0,e.createElement)("span",null,(0,Lt.__)("Social media appearance","wordpress-seo")),m&&(0,e.createElement)(l.Badge,{variant:"upsell"},"Premium")),description:(0,Lt.sprintf)( // translators: %1$s expands to "formats". %2$s expands to "Yoast SEO". (0,Lt.__)("Determine how your %1$s should look on social media by default. You can always customize the settings for individual %1$s in the %2$s metabox.","wordpress-seo"),o,"Yoast SEO")},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!m,variant:"card",cardLink:f,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...c},(0,e.createElement)(Wa,{isEnabled:!m||g}),(0,e.createElement)(ha,{id:`wpseo_titles-social-image-tax-${t}`,label:(0,Lt.__)("Social image","wordpress-seo"),previewLabel:y,mediaUrlName:`wpseo_titles.social-image-url-tax-${t}`,mediaIdName:`wpseo_titles.social-image-id-tax-${t}`,disabled:b||!g,isDummy:!m}),(0,e.createElement)(yl,{type:"title",name:`wpseo_titles.social-title-tax-${t}`,fieldId:`input-wpseo_titles-social-title-tax-${t}`,label:(0,Lt.__)("Social title","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,disabled:b||!g,isDummy:!m}),(0,e.createElement)(yl,{type:"description",name:`wpseo_titles.social-description-tax-${t}`,fieldId:`input-wpseo_titles-social-description-tax-${t}`,label:(0,Lt.__)("Social description","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,className:"yst-replacevar--description",disabled:b||!g,isDummy:!m}))))))},_l=()=>{const t=aa("selectReplacementVariablesFor",[],"homepage","page"),s=aa("selectRecommendedReplacementVariablesFor",[],"homepage","page"),r=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})})),[]),{values:a}=q(),{opengraph:o}=a.wpseo_social;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(na,{title:(0,Lt.__)("Search appearance","wordpress-seo"),description:(0,Lt.__)("Determine how your homepage should look in the search results.","wordpress-seo")},(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.title-home-wpseo",fieldId:"input-wpseo_titles-title-home-wpseo",label:(0,Lt.__)("SEO title","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s}),(0,e.createElement)(_a,{type:"description",name:"wpseo_titles.metadesc-home-wpseo",fieldId:"input-wpseo_titles-metadesc-home-wpseo",label:(0,Lt.__)("Meta description","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s,className:"yst-replacevar--description"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Social media appearance","wordpress-seo"),description:(0,Lt.__)("Determine how your homepage should look on social media.","wordpress-seo")},(0,e.createElement)(Wa,{isEnabled:o /* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */,text:(0,Lt.__)("The %1$ssocial image%2$s, %1$ssocial title%2$s and %1$ssocial description%2$s require Open Graph data, which is currently disabled in the ‘Social sharing’ section in %3$sSite features%4$s.","wordpress-seo")}),(0,e.createElement)(ha,{id:"wpseo_titles-open_graph_frontpage_image",label:(0,Lt.__)("Social image","wordpress-seo"),previewLabel:r,mediaUrlName:"wpseo_titles.open_graph_frontpage_image",mediaIdName:"wpseo_titles.open_graph_frontpage_image_id",disabled:!o}),(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.open_graph_frontpage_title",fieldId:"input-wpseo_titles-open_graph_frontpage_title",label:(0,Lt.__)("Social title","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s,disabled:!o}),(0,e.createElement)(_a,{type:"description",name:"wpseo_titles.open_graph_frontpage_desc",fieldId:"input-wpseo_titles-open_graph_frontpage_desc",label:(0,Lt.__)("Social description","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s,className:"yst-replacevar--description",disabled:!o})))},gl=()=>{const t=aa("selectPreference",[],"homepagePageEditUrl"),s=aa("selectPreference",[],"homepagePostsEditUrl"),r=(0,i.useMemo)((()=>Xi((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("You can determine the title and description for the homepage by %1$sediting the homepage itself%2$s.","wordpress-seo"),"",""),t,"link-homepage-page-edit"))),a=(0,i.useMemo)((()=>Xi((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("You can determine the title and description for the blog page by %1$sediting the blog page itself%2$s.","wordpress-seo"),"",""),s,"link-homepage-posts-page-edit")));return(0,e.createElement)("div",{className:"yst-max-w-screen-sm"},(0,e.createElement)(l.Alert,null,(0,e.createElement)("p",null,r),s&&(0,e.createElement)("p",{className:"yst-pt-2"},a)))},bl=()=>{const t=aa("selectPreference",[],"homepageIsLatestPosts");return(0,e.createElement)(uo,{title:(0,Lt.__)("Homepage","wordpress-seo"),description:(0,Lt.__)("Determine how your homepage should look in the search results and on social media. This is what people probably will see when they search for your brand name.","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},t&&(0,e.createElement)(_l,null),!t&&(0,e.createElement)(gl,null))))},vl=()=>{const{name:t,label:s,hasSchemaArticleType:r}=aa("selectPostType",[],"attachment"),a=aa("selectPreference",[],"userLocale"),o=(0,i.useMemo)((()=>gn(s,a)),[s,a]),n=aa("selectReplacementVariablesFor",[t],t,"custom_post_type"),c=aa("selectRecommendedReplacementVariablesFor",[t],t,"custom_post_type"),d=aa("selectArticleTypeValuesFor",[t],t),u=aa("selectPageTypeValuesFor",[t],t),p=aa("selectLink",[],"https://yoa.st/media-pages-thin-content"),m=aa("selectLink",[],"https://yoa.st/show-x"),{values:f}=q(),{"disable-attachment":h,"noindex-attachment":y}=f.wpseo_titles,w=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s and %2$s are replaced by opening and closing tags. * %3$s expands to "media". * %4$s expand to "Yoast SEO". * %5$s expand to "WordPress". */ (0,Lt.__)("When you upload media (e.g. an image or video), %5$s automatically creates a %3$s page (attachment URL) for it. These pages are quite empty and could cause %1$sthin content problems and lead to excess pages on your site%2$s. Therefore, %4$s disables them by default (and redirects the attachment URL to the media itself).","wordpress-seo"),"","",o,"Yoast SEO","WordPress"),{a:(0,e.createElement)("a",{href:p,target:"_blank",rel:"noopener noreferrer"})})));return(0,e.createElement)(uo,{title:(0,Lt.sprintf)( // translators: %1$s expands to "Media". (0,Lt.__)("%1$s pages","wordpress-seo"),s),description:w},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)("fieldset",{className:"yst-min-width-0 yst-space-y-8"},(0,e.createElement)(ua,{name:`wpseo_titles.disable-${t}`,id:`input-wpseo_titles-disable-${t}`,label:(0,Lt.sprintf)( // translators: %1$s expands to "media". (0,Lt.__)("Enable %1$s pages","wordpress-seo"),o),description:(0,Lt.sprintf)( // translators: %1$s expands to "media". (0,Lt.__)("We recommend keeping %1$s pages disabled. This will cause all attachment URLs to be redirected to the media itself.","wordpress-seo"),o),className:"yst-max-w-sm"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Search appearance","wordpress-seo"),description:(0,Lt.sprintf)( // translators: %1$s expands to "media". %3$s expands to "Yoast SEO". (0,Lt.__)("Determine how your %1$s pages should look in search engines. You can always customize the settings for individual %1$s pages in the %2$s metabox.","wordpress-seo"),o,"Yoast SEO")},(0,e.createElement)(ua,{name:`wpseo_titles.noindex-${t}`,id:`input-wpseo_titles-noindex-${t}`,label:(0,Lt.sprintf)( // translators: %1$s expands to "media". (0,Lt.__)("Show %1$s pages in search results","wordpress-seo"),o),description:(0,e.createElement)(e.Fragment,null,(0,Lt.sprintf)( // translators: %1$s expands to "media". (0,Lt.__)("Disabling this means that %1$s pages created by WordPress will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),o),(0,e.createElement)("br",null),(0,e.createElement)(l.Link,{href:m,target:"_blank",rel:"noopener"},(0,Lt.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:h,checked:!h&&!y,className:"yst-max-w-sm"}),(0,e.createElement)(_a,{type:"title",name:`wpseo_titles.title-${t}`,fieldId:`input-wpseo_titles-title-${t}`,label:(0,Lt.__)("SEO title","wordpress-seo"),replacementVariables:n,recommendedReplacementVariables:c,disabled:h}),(0,e.createElement)(_a,{type:"description",name:`wpseo_titles.metadesc-${t}`,fieldId:`input-wpseo_titles-metadesc-${t}`,label:(0,Lt.__)("Meta description","wordpress-seo"),replacementVariables:n,recommendedReplacementVariables:c,disabled:h,className:"yst-replacevar--description"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Schema","wordpress-seo"),description:(0,Lt.sprintf)( // translators: %1$s expands to "media". %3$s expands to "Yoast SEO". (0,Lt.__)("Determine how your %1$s pages should be described by default in your site's Schema.org markup. You can always customize the settings for individual %1$s pages in the %2$s metabox.","wordpress-seo"),o,"Yoast SEO")},(0,e.createElement)(Ra,{as:l.SelectField,type:"select",name:`wpseo_titles.schema-page-type-${t}`,id:`input-wpseo_titles-schema-page-type-${t}`,label:(0,Lt.__)("Page type","wordpress-seo"),options:u,disabled:h,className:"yst-max-w-sm"}),r&&(0,e.createElement)("div",null,(0,e.createElement)(Ra,{as:l.SelectField,type:"select",name:`wpseo_titles.schema-article-type-${t}`,id:`input-wpseo_titles-schema-article-type-${t}`,label:(0,Lt.__)("Article type","wordpress-seo"),options:d,disabled:h,className:"yst-max-w-sm"}),(0,e.createElement)(za,{name:t,disabled:h}))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Additional settings","wordpress-seo")},(0,e.createElement)(Ra,{as:l.ToggleField,type:"checkbox",name:`wpseo_titles.display-metabox-pt-${t}`,id:`input-wpseo_titles-display-metabox-pt-${t}`,label:(0,Lt.__)("Enable SEO controls and assessments","wordpress-seo"),description:(0,Lt.__)("Show or hide our tools and controls in the attachment editor.","wordpress-seo"),disabled:h,className:"yst-max-w-sm"})))))},El=({children:t})=>(0,e.createElement)(l.Table.Cell,{className:"yst-font-medium"},(0,e.createElement)("span",{className:"yst-text-slate-900"},t));El.propTypes={children:ir().node.isRequired};const xl=()=>(0,e.createElement)(uo,{title:(0,Lt.__)("RSS","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("RSS feed","wordpress-seo"),description:(0,Lt.__)("Automatically add content to your RSS. This enables you to add links back to your blog and your blog posts, helping search engines identify you as the original source of the content.","wordpress-seo")},(0,e.createElement)(te,{as:l.TextareaField,type:"textarea",rows:4,name:"wpseo_titles.rssbefore",id:"input-wpseo_titles-rssbefore",label:(0,Lt.__)("Content to put before each post in the feed","wordpress-seo")}),(0,e.createElement)(te,{as:l.TextareaField,type:"textarea",rows:4,name:"wpseo_titles.rssafter",id:"input-wpseo_titles-rssafter",label:(0,Lt.__)("Content to put after each post in the feed","wordpress-seo")})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{as:"section",title:(0,Lt.__)("Available variables","wordpress-seo"),description:(0,Lt.__)("You can use the following variables within the content, they will be replaced by the value on the right.","wordpress-seo")},(0,e.createElement)(l.Table,null,(0,e.createElement)(l.Table.Head,null,(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(l.Table.Header,{scope:"col"},(0,Lt.__)("Variable","wordpress-seo")),(0,e.createElement)(l.Table.Header,{scope:"col"},(0,Lt.__)("Description","wordpress-seo")))),(0,e.createElement)(l.Table.Body,null,(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(El,null,"%%AUTHORLINK%%"),(0,e.createElement)(l.Table.Cell,null,(0,Lt.__)("A link to the archive for the post author, with the author's name as anchor text.","wordpress-seo"))),(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(El,null,"%%POSTLINK%%"),(0,e.createElement)(l.Table.Cell,null,(0,Lt.__)("A link to the post, with the title as anchor text.","wordpress-seo"))),(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(El,null,"%%BLOGLINK%%"),(0,e.createElement)(l.Table.Cell,null,(0,Lt.__)("A link to your site, with your site's name as anchor text.","wordpress-seo"))),(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(El,null,"%%BLOGDESCLINK%%"),(0,e.createElement)(l.Table.Cell,null,(0,Lt.__)("A link to your site, with your site's name and description as anchor text.","wordpress-seo"))))))))),kl=Oa(l.ToggleField),Sl=Aa($a),Ll=()=>{const t=(0,i.useMemo)((()=>(0,le.get)(window,"wpseoScriptData.separators",{})),[]),s=aa("selectPreference",[],"generalSettingsUrl"),r=aa("selectPreference",[],"canManageOptions",!1),a=aa("selectPreference",[],"showForceRewriteTitlesSetting",!1),o=aa("selectLink",[],"https://yoa.st/site-basics-replacement-variables"),n=aa("selectLink",[],"https://yoa.st/usage-tracking-2"),c=aa("selectLink",[],"https://yoa.st/site-policies-learn-more"),d=aa("selectPreference",[],"siteTitle",""),u=aa("selectLink",[],"https://yoa.st/site-policies-upsell"),p=aa("selectPreference",[],"isPremium"),m=aa("selectUpsellSettingsAsProps"),{fetchPages:f}=ta(),h=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("Usage tracking allows us to track some data about your site to improve our plugin. %1$sLearn more about which data we track and why%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)("a",{id:"link-usage-tracking",href:n,target:"_blank",rel:"noopener"})})),[]),y=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("Select the pages on your website which contain information about your organizational and publishing policies. Some of these might not apply to your site, and you can select the same page for multiple policies. %1$sLearn more about why setting your site policies is important%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)("a",{id:"link-site-policies",href:c,target:"_blank",rel:"noopener"})})),[c]),w=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s and %2$s expand to an opening and closing emphasis tag. %3$s and %4$s expand to an opening and closing anchor tag. */ (0,Lt.__)("Set the basic info for your website. You can use %1$stagline%2$s and %1$sseparator%2$s as %3$sreplacement variables%4$s when configuring the search appearance of your content.","wordpress-seo"),"","","",""),{em:(0,e.createElement)("em",null),a:(0,e.createElement)("a",{id:"site-basics-replacement-variables",href:o,target:"_blank",rel:"noopener"})})),[]),_=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */ (0,Lt.__)("We're sorry, you're not allowed to edit the %1$swebsite name%2$s and %1$stagline%2$s.","wordpress-seo"),"",""),{em:(0,e.createElement)("em",null)})),[]),g=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})})),[]),b=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening anchor tag. * %2$s expands to a closing anchor tag. */ (0,Lt.__)("This field updates the %1$stagline in your WordPress settings%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)("a",{href:`${s}#blogdescription`,target:"_blank",rel:"noopener noreferrer"})})),[]),v=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which describes the editorial principles of your organization. %1$sWhat%2$s do you write about, %1$swho%2$s do you write for, and %1$swhy%2$s?","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),E=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which describes the ownership structure of your organization. It should include information about %1$sfunding%2$s and %1$sgrants%2$s.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),x=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which describes how your organization collects and responds to %1$sfeedback%2$s, engages with the %1$spublic%2$s, and prioritizes %1$stransparency%2$s.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),k=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which outlines your procedure for addressing %1$serrors%2$s (e.g., publishing retractions or corrections).","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),S=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which describes the personal, organizational, and corporate %1$sstandards%2$s of %1$sbehavior%2$s expected by your organization.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),L=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which provides information on your diversity policies for %1$seditorial%2$s content.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),T=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which provides information about your diversity policies for %1$sstaffing%2$s, %1$shiring%2$s and %1$semployment%2$s.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),{values:F}=q(),{opengraph:$}=F.wpseo_social;return(0,i.useEffect)((()=>{f()}),[f]),(0,e.createElement)(uo,{title:(0,Lt.__)("Site basics","wordpress-seo"),description:(0,Lt.__)("Configure the basics for your website.","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("Site info","wordpress-seo"),description:w},!r&&(0,e.createElement)(l.Alert,{variant:"warning",id:"alert-site-defaults-variables",className:"yst-mb-8"},_),(0,e.createElement)("div",{className:"lg:yst-mt-0 lg:yst-col-span-2 yst-space-y-8"},(0,e.createElement)(Da,{as:l.TextField,name:"wpseo_titles.website_name",id:"input-wpseo_titles-website_name",label:(0,Lt.__)("Website name","wordpress-seo"),placeholder:d}),(0,e.createElement)(Da,{as:l.TextField,name:"wpseo_titles.alternate_website_name",id:"input-wpseo_titles-alternate_website_name",label:(0,Lt.__)("Alternate website name","wordpress-seo"),description:(0,Lt.__)("Use the alternate website name for acronyms, or a shorter version of your website's name.","wordpress-seo")}),(0,e.createElement)(te,{as:l.TextField,type:"text",name:"blogdescription",id:"input-blogdescription",label:(0,Lt.__)("Tagline","wordpress-seo"),description:r&&b,readOnly:!r})),(0,e.createElement)(l.RadioGroup,{label:(0,Lt.__)("Title separator","wordpress-seo"),variant:"inline-block"},(0,le.map)(t,(({label:t,aria_label:s},r)=>(0,e.createElement)(te,{key:r,as:l.Radio,type:"radio",variant:"inline-block",name:"wpseo_titles.separator",id:`input-wpseo_titles-separator-${r}`,label:t,isLabelDangerousHtml:!0,"aria-label":s,value:r})))),(0,e.createElement)(Wa,{isEnabled:$,text:/* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */ (0,Lt.__)("The %1$sSite image%2$s requires Open Graph data, which is currently disabled in the ‘Social sharing’ section in %3$sSite features%4$s.","wordpress-seo")}),(0,e.createElement)(ha,{id:"wpseo_social-og_default_image",label:(0,Lt.__)("Site image","wordpress-seo"),description:(0,Lt.__)("This image is used as a fallback for posts/pages that don't have any images set.","wordpress-seo"),previewLabel:g,mediaUrlName:"wpseo_social.og_default_image",mediaIdName:"wpseo_social.og_default_image_id",disabled:!$})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Site preferences","wordpress-seo")},a&&(0,e.createElement)(Ra,{as:l.ToggleField,type:"checkbox",name:"wpseo_titles.forcerewritetitle",id:"input-wpseo_titles-forcerewritetitle",label:(0,Lt.__)("Force rewrite titles","wordpress-seo"),description:(0,Lt.sprintf)(/* translators: %1$s expands to "Yoast SEO" */ (0,Lt.__)("%1$s has auto-detected whether it needs to force rewrite the titles for your pages, if you think it's wrong and you know what you're doing, you can change the setting here.","wordpress-seo"),"Yoast SEO"),className:"yst-max-w-sm"}),(0,e.createElement)(Ra,{as:l.ToggleField,type:"checkbox",name:"wpseo.disableadvanced_meta",id:"input-wpseo-disableadvanced_meta",label:(0,Lt.__)("Restrict advanced settings for authors","wordpress-seo"),description:(0,Lt.sprintf)(/* translators: %1$s expands to "Yoast SEO" */ (0,Lt.__)("By default only editors and administrators can access the Advanced and Schema section of the %1$s sidebar or metabox. Disabling this allows access to all users.","wordpress-seo"),"Yoast SEO"),className:"yst-max-w-sm"}),(0,e.createElement)(Ra,{as:kl,type:"checkbox",name:"wpseo.tracking",id:"input-wpseo-tracking",label:(0,Lt.__)("Usage tracking","wordpress-seo"),description:h,className:"yst-max-w-sm"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)(e.Fragment,null,(0,Lt.__)("Site policies","wordpress-seo"),p&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium")),description:y},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!p,variant:"card",cardLink:u,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...m},(0,e.createElement)(Sl,{name:"wpseo_titles.publishing_principles_id",id:"input-wpseo_titles-publishing_principles_id",label:(0,Lt.__)("Publishing principles","wordpress-seo"),className:"yst-max-w-sm",description:v,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.ownership_funding_info_id",id:"input-wpseo_titles-ownership_funding_info_id",label:(0,Lt.__)("Ownership / Funding info","wordpress-seo"),className:"yst-max-w-sm",description:E,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.actionable_feedback_policy_id",id:"input-wpseo_titles-actionable_feedback_policy_id",label:(0,Lt.__)("Actionable feedback policy","wordpress-seo"),className:"yst-max-w-sm",description:x,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.corrections_policy_id",id:"input-wpseo_titles-corrections_policy_id",label:(0,Lt.__)("Corrections policy","wordpress-seo"),className:"yst-max-w-sm",description:k,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.ethics_policy_id",id:"input-wpseo_titles-ethics_policy_id",label:(0,Lt.__)("Ethics policy","wordpress-seo"),className:"yst-max-w-sm",description:S,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.diversity_policy_id",id:"input-wpseo_titles-diversity_policy_id",label:(0,Lt.__)("Diversity policy","wordpress-seo"),className:"yst-max-w-sm",description:L,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.diversity_staffing_report_id",id:"input-wpseo_titles-diversity_staffing_report_id",label:(0,Lt.__)("Diversity staffing report","wordpress-seo"),className:"yst-max-w-sm",description:T,isDummy:!p}))))))},Tl=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))})),Fl=({name:t,cardId:s,inputId:r,children:a,imageSrc:o,imageAlt:n,isPremiumFeature:c=!1,isPremiumLink:d="",isBetaFeature:u=!1,isNewFeature:p=!1,hasPremiumBadge:m=!1,title:f})=>{const h=aa("selectPreference",[],"isPremium"),y=aa("selectPluginUrl",[o],o),{isDisabled:w,message:_,disabledSetting:g}=Xr({name:t}),{values:b}=q(),v=aa("selectLink",[d],d),E=aa("selectUpsellSettingsAsProps"),x=(0,l.useSvgAria)(),k=(0,i.useMemo)((()=>(0,le.get)(b,t,!1)),[b,t]),S=(0,i.useMemo)((()=>!h&&c),[h,c]),L=(0,i.useMemo)((()=>w||!S&&!k),[w,S,k]),T=(0,i.useMemo)((()=>w||h&&c&&m||u||p&&!h),[w,h,c,u,p]);return(0,e.createElement)(l.Card,{id:s},(0,e.createElement)(l.Card.Header,{className:"yst-h-auto yst-p-0"},(0,e.createElement)("img",{className:or()("yst-w-full yst-transition yst-duration-200",L&&"yst-opacity-50 yst-filter yst-grayscale"),src:y,alt:null!=n?n:"",width:500,height:250,loading:"lazy",decoding:"async"}),T&&(0,e.createElement)("div",{className:"yst-absolute yst-top-2 yst-end-2 yst-flex yst-gap-1.5"},w&&(0,e.createElement)(l.Badge,{size:"small",variant:"plain"},_),h&&c&&m&&(0,e.createElement)(l.Badge,{size:"small",variant:"upsell"},"Premium"),u&&(0,e.createElement)(l.Badge,{size:"small",variant:"info"},"Beta"),p&&!h&&(0,e.createElement)(l.Badge,{size:"small",variant:"info"},"New"))),(0,e.createElement)(l.Card.Content,{className:"yst-flex yst-flex-col yst-gap-3"},(0,e.createElement)(l.Title,{as:"h3"},f),a),(0,e.createElement)(l.Card.Footer,null,!S&&(0,e.createElement)(Ra,{as:l.ToggleField,type:"checkbox",name:t,id:r,"aria-label":`${(0,Lt.__)("Enable feature","wordpress-seo")} ${f}`,label:(0,Lt.__)("Enable feature","wordpress-seo"),disabled:w,checked:"language"!==g&&k}),S&&(0,e.createElement)(l.Button,{as:"a",className:"yst-gap-2 yst-w-full yst-px-2",variant:"upsell",href:v,target:"_blank",rel:"noopener",...E},(0,e.createElement)(cr,{className:"yst-w-5 yst-h-5 yst--ms-1 yst-shrink-0",...x}),(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"))))};Fl.propTypes={name:ir().string.isRequired,cardId:ir().string.isRequired,inputId:ir().string.isRequired,children:ir().node.isRequired,imageSrc:ir().string.isRequired,imageAlt:ir().string,isPremiumFeature:ir().bool,isBetaFeature:ir().bool,isNewFeature:ir().bool,isPremiumLink:ir().string,hasPremiumBadge:ir().bool,title:ir().string.isRequired};const $l=({id:t,link:s,ariaLabel:r,...a})=>{const o=aa("selectLink",[s],s);return(0,e.createElement)(l.Link,{id:t,href:o,variant:"primary",className:"yst-flex yst-items-center yst-gap-1 yst-no-underline yst-font-medium",target:"_blank",rel:"noopener","aria-label":(0,Lt.sprintf)(/* translators: Hidden accessibility text; %s expands to a translated string of this feature, e.g. "SEO analysis". */ (0,Lt.__)("Learn more about %s (Opens in a new browser tab)","wordpress-seo"),r),...a},(0,Lt.__)("Learn more","wordpress-seo"),(0,e.createElement)(xr,{className:"yst-w-4 yst-h-4 yst-icon-rtl"}))};$l.propTypes={id:ir().string.isRequired,link:ir().string.isRequired,ariaLabel:ir().string.isRequired};const Pl=()=>{const t=aa("selectPreference",[],"isPremium"),s=aa("selectPreference",[],"sitemapUrl"),{values:r,initialValues:a}=q(),{enable_xml_sitemap:o}=r.wpseo,{enable_xml_sitemap:n}=a.wpseo,c=(0,i.useMemo)((()=>t?"yst-grid yst-gap-6 yst-grid-cols-1 sm:yst-grid-cols-2 min-[783px]:yst-grid-cols-1 lg:yst-grid-cols-2 xl:yst-grid-cols-3 2xl:yst-grid-cols-4":"yst-grid yst-gap-6 yst-grid-cols-1 sm:yst-grid-cols-2 min-[783px]:yst-grid-cols-1 lg:yst-grid-cols-2 2xl:yst-grid-cols-3 min-[1800px]:yst-grid-cols-4"),[t]);return(0,e.createElement)(uo,{title:(0,Lt.__)("Site features","wordpress-seo"),description:(0,Lt.__)("Tell us which features you want to use.","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-6xl"},(0,e.createElement)("fieldset",{className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("Writing","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2"},(0,Lt.__)("Writing","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo.keyword_analysis_active",cardId:"card-wpseo-keyword_analysis_active",inputId:"input-wpseo-keyword_analysis_active",imageSrc:"/images/seo_analysis.png",title:(0,Lt.__)("SEO analysis","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("The SEO analysis offers suggestions to improve the findability of your text and makes sure that your content meets best practices.","wordpress-seo")),(0,e.createElement)($l,{id:"link-seo-analysis",link:"https://yoa.st/2ak",ariaLabel:(0,Lt.__)("SEO analysis","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.content_analysis_active",cardId:"card-wpseo-content_analysis_active",inputId:"input-wpseo-content_analysis_active",imageSrc:"/images/readability_analysis.png",title:(0,Lt.__)("Readability analysis","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("The readability analysis offers suggestions to improve the structure and style of your text.","wordpress-seo")),(0,e.createElement)($l,{id:"link-readability-analysis",link:"https://yoa.st/2ao",ariaLabel:(0,Lt.__)("Readability analysis","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.inclusive_language_analysis_active",cardId:"card-wpseo-inclusive_language_analysis_active",inputId:"input-wpseo-inclusive_language_analysis_active",imageSrc:"/images/inclusive_language_analysis.png",title:(0,Lt.__)("Inclusive language analysis","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("The inclusive language analysis offers suggestions to write more inclusive copy, so more people will be able to relate to your content.","wordpress-seo")),(0,e.createElement)($l,{id:"link-inclusive-language-analysis",link:"https://yoa.st/inclusive-language-feature-learn-more",ariaLabel:(0,Lt.__)("Inclusive language analysis","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_ai_generator",cardId:"card-wpseo-enable_ai_generator",inputId:"input-wpseo-enable_ai_generator",imageSrc:"/images/ai-generator.png",isPremiumFeature:!0,hasPremiumBadge:!1,isBetaFeature:!0,isPremiumLink:"https://yoa.st/get-ai-generator",title:"Yoast AI"},(0,e.createElement)("p",null,(0,Lt.__)("The AI features help you create better content by providing optimization suggestions that you can apply as you wish.","wordpress-seo")),(0,e.createElement)($l,{id:"link-ai-generator",link:"https://yoa.st/ai-generator-feature",ariaLabel:(0,Lt.__)("AI title & description generator","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_metabox_insights",cardId:"card-wpseo-enable_metabox_insights",inputId:"input-wpseo-enable_metabox_insights",imageSrc:"/images/insights.png",title:(0,Lt.__)("Insights","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Get more insights into what you are writing. What words do you use most often? How much time does it take to read your text? Is your text easy to read?","wordpress-seo")),(0,e.createElement)($l,{id:"link-insights",link:"https://yoa.st/4ew",ariaLabel:(0,Lt.__)("Insights","wordpress-seo")})))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("fieldset",{className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("Site structure","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2"},(0,Lt.__)("Site structure","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo.enable_cornerstone_content",cardId:"card-wpseo-enable_cornerstone_content",inputId:"input-wpseo-enable_cornerstone_content",imageSrc:"/images/cornerstone_content.png",title:(0,Lt.__)("Cornerstone content","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Mark and filter your cornerstone content to make sure your most important articles get the attention they deserve. To help you write excellent copy, we’ll assess your text more strictly.","wordpress-seo")),(0,e.createElement)($l,{id:"link-cornerstone-content",link:"https://yoa.st/dashboard-help-cornerstone",ariaLabel:(0,Lt.__)("Cornerstone content","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_text_link_counter",cardId:"card-wpseo-enable_text_link_counter",inputId:"input-wpseo-enable_text_link_counter",imageSrc:"/images/text_link_counter.png",title:(0,Lt.__)("Text link counter","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Count the number of internal links from and to your posts to improve your site structure.","wordpress-seo")),(0,e.createElement)($l,{id:"link-text-link-counter",link:"https://yoa.st/2aj",ariaLabel:(0,Lt.__)("Text link counter","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_link_suggestions",cardId:"card-wpseo-enable_link_suggestions",inputId:"input-wpseo-enable_link_suggestions",imageSrc:"/images/link_suggestions.png",isPremiumFeature:!0,hasPremiumBadge:!0,isPremiumLink:"https://yoa.st/get-link-suggestions",title:(0,Lt.__)("Internal linking suggestions","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("No need to figure out what to link to. You get linking suggestions for relevant posts and pages to make your website easier to navigate.","wordpress-seo")),(0,e.createElement)($l,{id:"link-suggestions-link",link:t?"https://yoa.st/17g":"https://yoa.st/4ev",ariaLabel:(0,Lt.__)("Link suggestions","wordpress-seo")})))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("fieldset",{id:"section-social-sharing",className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("Social sharing","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2",className:"yst-mb-2"},(0,Lt.__)("Social sharing","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo_social.opengraph",cardId:"card-wpseo_social-opengraph",inputId:"input-wpseo_social-opengraph",imageSrc:"/images/open_graph.png",title:(0,Lt.__)("Open Graph data","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Allows for Facebook and other social media to display a preview with images and a text excerpt when a link to your site is shared. Keep this feature enabled to optimize your site for social media.","wordpress-seo")),(0,e.createElement)($l,{id:"link-open-graph-data",link:"https://yoa.st/site-features-open-graph-data",ariaLabel:(0,Lt.__)("Open Graph data","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo_social.twitter",cardId:"card-wpseo_social-twitter",inputId:"input-wpseo_social-twitter",imageSrc:"/images/twitter_card.png",title:(0,Lt.__)("X card data","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Allows for X to display a preview with images and a text excerpt when a link to your site is shared.","wordpress-seo")),(0,e.createElement)($l,{id:"link-twitter-card-data",link:"https://yoa.st/site-features-twitter-card-data",ariaLabel:(0,Lt.__)("X card data","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_enhanced_slack_sharing",cardId:"card-wpseo-enable_enhanced_slack_sharing",inputId:"input-wpseo-enable_enhanced_slack_sharing",imageSrc:"/images/slack_sharing.png",title:(0,Lt.__)("Slack sharing","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("This adds an author byline and reading time estimate to the article’s snippet when shared on Slack.","wordpress-seo")),(0,e.createElement)($l,{id:"link-slack-sharing",link:"https://yoa.st/help-slack-share",ariaLabel:(0,Lt.__)("Slack sharing","wordpress-seo")})))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("fieldset",{className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("Tools","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2"},(0,Lt.__)("Tools","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo.enable_admin_bar_menu",cardId:"card-wpseo-enable_admin_bar_menu",inputId:"input-wpseo-enable_admin_bar_menu",imageSrc:"/images/admin_bar.png",title:(0,Lt.__)("Admin bar menu","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.sprintf)( // translators: %1$s expands to Yoast. (0,Lt.__)("The %1$s icon in the top admin bar provides quick access to third-party tools for analyzing pages and makes it easy to see if you have new notifications.","wordpress-seo"),"Yoast")),(0,e.createElement)($l,{id:"link-admin-bar",link:"https://yoa.st/site-features-admin-bar",ariaLabel:(0,Lt.__)("Admin bar menu","wordpress-seo")})))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("fieldset",{className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("APIs","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2"},(0,Lt.__)("APIs","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo.enable_headless_rest_endpoints",cardId:"card-wpseo-enable_headless_rest_endpoints",inputId:"input-wpseo-enable_headless_rest_endpoints",imageSrc:"/images/rest_api.png",title:(0,Lt.__)("REST API endpoint","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("This Yoast SEO REST API endpoint gives you all the metadata you need for a specific URL. This will make it very easy for headless WordPress sites to use Yoast SEO for all their SEO meta output.","wordpress-seo")),(0,e.createElement)($l,{id:"link-rest-api-endpoint",link:"https://yoa.st/site-features-rest-api-endpoint",ariaLabel:(0,Lt.__)("REST API endpoint","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_xml_sitemap",cardId:"card-wpseo-enable_xml_sitemap",inputId:"input-wpseo-enable_xml_sitemap",imageSrc:"/images/xml_sitemaps.png",title:(0,Lt.__)("XML sitemaps","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.sprintf)( // translators: %1$s expands to "Yoast SEO". (0,Lt.__)("Enable the %1$s XML sitemaps. A sitemap is a file that lists a website's essential pages to make sure search engines can find and crawl them.","wordpress-seo"),"Yoast SEO")),n&&o&&(0,e.createElement)(l.Button,{as:"a",id:"link-xml-sitemaps",href:s,variant:"secondary",target:"_blank",rel:"noopener",className:"yst-self-start"},(0,Lt.__)("View the XML sitemap","wordpress-seo"),(0,e.createElement)(Tl,{className:"yst--me-1 yst-ms-1 yst-h-5 yst-w-5 yst-text-slate-400 rtl:yst-rotate-[270deg]"})),(0,e.createElement)($l,{id:"link-xml-sitemaps-learn-more",link:"https://yoa.st/2a-",ariaLabel:(0,Lt.__)("XML sitemaps","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_index_now",cardId:"card-wpseo-enable_index_now",inputId:"input-wpseo-enable_index_now",imageSrc:"/images/indexnow.png",isPremiumFeature:!0,hasPremiumBadge:!0,isPremiumLink:"https://yoa.st/get-indexnow",title:(0,Lt.__)("IndexNow","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Automatically ping search engines like Bing and Yandex whenever you publish, update or delete a post.","wordpress-seo")),(0,e.createElement)($l,{id:"link-index-now",link:"https://yoa.st/index-now-feature",ariaLabel:(0,Lt.__)("IndexNow","wordpress-seo")})))))))},Rl=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"}))})),Nl=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{fillRule:"evenodd",d:"M10 3a1 1 0 011 1v5h5a1 1 0 110 2h-5v5a1 1 0 11-2 0v-5H4a1 1 0 110-2h5V4a1 1 0 011-1z",clipRule:"evenodd"}))})),Il=Ca(Da),Ol=Aa(Ia),Cl=()=>{const{values:t}=q(),{website_name:s,company_or_person:r,company_or_person_user_id:a,company_name:o,company_logo_id:n}=t.wpseo_titles,{other_social_urls:c}=t.wpseo_social,d=aa("selectUserById",[a],a),u=aa("selectLink",[],"https://yoa.st/1-p"),p=aa("selectLink",[],"https://yoa.st/3r3"),m=aa("selectLink",[],"https://yoa.st/site-representation-org-additional-info-upsell"),f=aa("selectLink",[],"https://yoa.st/site-representation-org-identifiers"),h=aa("selectLink",[],"https://yoa.st/site-representation-organization-person"),y=aa("selectPreference",[],"editUserUrl"),w=aa("selectPreference",[],"isLocalSeoActive"),_=aa("selectPreference",[],"companyOrPersonMessage"),g=aa("selectFallback",[],"siteLogoId"),b=aa("selectCanEditUser",[null==d?void 0:d.id],null==d?void 0:d.id),v=aa("selectPreference",[],"isPremium"),E=aa("selectUpsellSettingsAsProps"),x=aa("selectLink",[],"https://yoa.st/get-mastodon-integration"),k=aa("selectLink",[],"https://yoa.st/site-representation-mastodon"),S=aa("selectPreference",[],"localSeoPageSettingUrl");let L=(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Lt.__)("You have %1$s activated on your site. You can provide your VAT ID and Tax ID in the %2$s‘Business info’ settings%3$s.","wordpress-seo"),"Yoast Local SEO","",""),{a:(0,e.createElement)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})}),T=(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Lt.__)("You have %1$s activated on your site. You can provide your email and phone in the %2$s‘Business info’ settings%3$s.","wordpress-seo"),"Yoast Local SEO","",""),{a:(0,e.createElement)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})});S.includes("wpseo_locations")&&(L=(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Lt.__)("You have %1$s activated on your site, and you've configured your business for multiple locations. This allows you to provide your VAT ID and Tax ID for %2$seach specific location%3$s.","wordpress-seo"),"Yoast Local SEO","",""),{a:(0,e.createElement)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})}),T=(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Lt.__)("You have %1$s activated on your site, and you've configured your business for multiple locations. This allows you to provide your email and phone for %2$seach specific location%3$s.","wordpress-seo"),"Yoast Local SEO","",""),{a:(0,e.createElement)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})}));const F=(0,i.useCallback)((async e=>{var t;await e.push(""),null===(t=document.getElementById(`input-wpseo_social-other_social_urls-${c.length}`))||void 0===t||t.focus()}),[c]);return(0,e.createElement)(uo,{title:(0,Lt.__)("Site representation","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. (0,Lt.__)("This info is intended to appear in %1$sGoogle's Knowledge Graph%2$s.","wordpress-seo"),"",""),u,"link-google-knowledge-graph")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("Organization/person","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. (0,Lt.__)("Choose whether your site represents an organization or a person. %1$sLearn more about the differences and choosing between Organization and Person%2$s.","wordpress-seo"),"",""),h,"link-site-representation-organization-person")},w&&(0,e.createElement)(l.Alert,{id:"alert-local-seo-company-or-person",variant:"info"},_),(0,e.createElement)(l.RadioGroup,{disabled:w},(0,e.createElement)(te,{as:l.Radio,type:"radio",name:"wpseo_titles.company_or_person",id:"input-wpseo_titles-company_or_person-company",label:(0,Lt.__)("Organization","wordpress-seo"),value:"company",disabled:w}),(0,e.createElement)(te,{as:l.Radio,type:"radio",name:"wpseo_titles.company_or_person",id:"input-wpseo_titles-company_or_person-person",label:(0,Lt.__)("Person","wordpress-seo"),value:"person",disabled:w}))),(0,e.createElement)("section",{className:"yst-space-y-8"}),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("div",{className:"yst-relative"},(0,e.createElement)(ia.Z,{easing:"ease-out",duration:300,delay:300,height:"company"===r?"auto":0,animateOpacity:!0},(0,e.createElement)(na,{title:(0,Lt.__)("Organization","wordpress-seo"),description:(0,Lt.__)("Please tell us more about your organization. This information will help Google to understand your website, and improve your chance of getting rich results.","wordpress-seo")},(!o||n<1)&&(0,e.createElement)(l.Alert,{id:"alert-organization-name-logo",variant:"info"},Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. (0,Lt.__)("An organization name and logo need to be set for structured data to work properly. Since you haven’t set these yet, we are using the site name and logo as default values. %1$sLearn more about the importance of structured data%2$s.","wordpress-seo"),"",""),p,"link-structured-data")),(0,e.createElement)(te,{as:l.TextField,name:"wpseo_titles.company_name",id:"input-wpseo_titles-company_name",label:(0,Lt.__)("Organization name","wordpress-seo"),placeholder:s}),(0,e.createElement)(te,{as:l.TextField,name:"wpseo_titles.company_alternate_name",id:"input-wpseo_titles-company_alternate_name",label:(0,Lt.__)("Alternate organization name","wordpress-seo"),description:(0,Lt.__)("Use the alternate organization name for acronyms, or a shorter version of your organization's name.","wordpress-seo")}),(0,e.createElement)(ha,{id:"wpseo_titles-company_logo",label:(0,Lt.__)("Organization logo","wordpress-seo"),variant:"square",previewLabel:(0,i.createInterpolateElement)((0,Lt.sprintf)( /* translators: %1$s expands to an opening strong tag. %2$s expands to a closing strong tag. %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","696x696px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})}),mediaUrlName:"wpseo_titles.company_logo",mediaIdName:"wpseo_titles.company_logo_id",fallbackMediaId:g})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{id:"fieldset-wpseo_social-other_social_urls",title:(0,Lt.__)("Other profiles","wordpress-seo"),description:(0,Lt.__)("Tell us if you have any other profiles on the web that belong to your organization. This can be any number of profiles, like YouTube, LinkedIn, Pinterest, or even Wikipedia.","wordpress-seo")},(0,e.createElement)(Da,{as:l.TextField,name:"wpseo_social.facebook_site",id:"input-wpseo_social-facebook_site",label:(0,Lt.__)("Facebook","wordpress-seo"),placeholder:(0,Lt.__)("E.g. https://facebook.com/yoast","wordpress-seo")}),(0,e.createElement)(Da,{as:l.TextField,name:"wpseo_social.twitter_site",id:"input-wpseo_social-twitter_site",label:(0,Lt.__)("X","wordpress-seo"),placeholder:(0,Lt.__)("E.g. https://x.com/yoast","wordpress-seo")}),(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!v,variant:"card",cardLink:x,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...E},(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_social.mastodon_url",id:"input-wpseo_social-mastodon_url",label:(0,Lt.__)("Mastodon","wordpress-seo"),placeholder:(0,Lt.__)("E.g. https://mastodon.social/@yoast","wordpress-seo"),labelSuffix:v&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium"),isDummy:!v,description:(0,e.createElement)(i.Fragment,null,(0,Lt.__)("Get your site verified in your Mastodon profile.","wordpress-seo")," ",(0,e.createElement)(l.Link,{id:"link-wpseo_social-mastodon_url",href:k,target:"_blank",rel:"noopener"},(0,Lt.__)("Read more about how to get your site verified.","wordpress-seo")))})),(0,e.createElement)(ie,{name:"wpseo_social.other_social_urls"},(t=>(0,e.createElement)(i.Fragment,null,c.map(((s,r)=>(0,e.createElement)(Js,{key:`wpseo_social.other_social_urls.${r}`,as:i.Fragment,appear:!0,show:!0,enter:"yst-transition yst-ease-out yst-duration-300",enterFrom:"yst-transform yst-opacity-0",enterTo:"yst-transform yst-opacity-100",leave:"yst-transition yst-ease-out yst-duration-300",leaveFrom:"yst-transform yst-opacity-100",leaveTo:"yst-transform yst-opacity-0"},(0,e.createElement)("div",{className:"yst-w-full yst-flex yst-items-start yst-gap-2"},(0,e.createElement)(Da,{as:l.TextField,name:`wpseo_social.other_social_urls.${r}`,id:`input-wpseo_social-other_social_urls-${r}`,label:(0,Lt.sprintf)((0,Lt.__)("Other profile %1$s","wordpress-seo"),r+1),placeholder:(0,Lt.__)("E.g. https://example.com/yoast","wordpress-seo"),className:"yst-grow"}),(0,e.createElement)(l.Button,{variant:"secondary",onClick:t.remove.bind(null,r),className:"yst-mt-7 yst-p-2.5","aria-label":(0,Lt.sprintf)((0,Lt.__)("Remove Other profile %1$s","wordpress-seo"),r+1)},(0,e.createElement)(Rl,{className:"yst-h-5 yst-w-5"})))))),(0,e.createElement)(l.Button,{id:"button-add-social-profile",variant:"secondary",onClick:()=>F(t)},(0,e.createElement)(Nl,{className:"yst--ms-1 yst-me-1 yst-h-5 yst-w-5 yst-text-slate-400"}),(0,Lt.__)("Add another profile","wordpress-seo")))))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)(i.Fragment,null,(0,Lt.__)("Additional organization info","wordpress-seo"),v&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium")),description:(0,Lt.__)("Enrich your organization's profile by providing more in-depth information. The more details you share, the better Google understands your website.","wordpress-seo")},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!v,variant:"card",cardLink:m,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...E},(0,e.createElement)(Il,{as:l.TextareaField,name:"wpseo_titles.org-description",id:"input-wpseo_titles-org-description",label:(0,Lt.__)("Organization description","wordpress-seo"),isDummy:!v,maxLength:2e3}),w&&v&&(0,e.createElement)(l.Alert,{id:"alert-local-seo-vat-or-tax-id",variant:"info"},T),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-email",id:"input-wpseo_titles-org-email",type:"email",label:(0,Lt.__)("Organization email address","wordpress-seo"),isDummy:!v||w}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-phone",id:"input-wpseo_titles-org-phone",label:(0,Lt.__)("Organization phone number","wordpress-seo"),isDummy:!v||w}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-legal-name",id:"input-wpseo_titles-org-legal-name",label:(0,Lt.__)("Organization's legal name","wordpress-seo"),isDummy:!v}),(0,e.createElement)(Il,{as:l.TextField,className:"yst-w-3/5",name:"wpseo_titles.org-founding-date",id:"input-wpseo_titles-org-founding-date",label:(0,Lt.__)("Organization's founding date","wordpress-seo"),type:"date",isDummy:!v}),(0,e.createElement)(Ol,{name:"wpseo_titles.org-number-employees",className:"yst-w-3/5",id:"input-wpseo_titles-org-number-employees",label:(0,Lt.__)("Number of employees","wordpress-seo"),placeholder:(0,Lt.__)("Select a range / Enter a number","wordpress-seo"),isDummy:!v,options:[{value:"",label:"None"},{value:"1-10",label:(0,Lt.__)("1–10 employees","wordpress-seo")},{value:"11-50",label:(0,Lt.__)("11–50 employees","wordpress-seo")},{value:"51-200",label:(0,Lt.__)("51–200 employees","wordpress-seo")},{value:"201-500",label:(0,Lt.__)("201–500 employees","wordpress-seo")},{value:"501-1000",label:(0,Lt.__)("501–1000 employees","wordpress-seo")},{value:"1001-5000",label:(0,Lt.__)("1001–5000 employees","wordpress-seo")},{value:"5001-10000",label:(0,Lt.__)("5001–10000 employees","wordpress-seo")}]}))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)(i.Fragment,null,(0,Lt.__)("Organization identifiers","wordpress-seo"),v&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium")),description:(0,Lt.__)("Please tell us more about your organization’s identifiers. This information will help Google to display accurate and helpful details about your organization.","wordpress-seo")},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!v,variant:"card",cardLink:f,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...E},w&&v&&(0,e.createElement)(l.Alert,{id:"alert-local-seo-vat-or-tax-id",variant:"info"},L),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-vat-id",id:"input-wpseo_titles-org-vat-id",label:(0,Lt.__)("VAT ID","wordpress-seo"),isDummy:!v||w}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-tax-id",id:"input-wpseo_titles-org-tax-id",label:(0,Lt.__)("Tax ID","wordpress-seo"),isDummy:!v||w}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-iso",id:"input-wpseo_titles-org-iso",label:(0,Lt.__)("ISO 6523","wordpress-seo"),isDummy:!v}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-duns",id:"input-wpseo_titles-org-duns",label:(0,Lt.__)("DUNS","wordpress-seo"),isDummy:!v}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-leicode",id:"input-wpseo_titles-org-leicode",label:(0,Lt.__)("LEI code","wordpress-seo"),isDummy:!v}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-naics",id:"input-wpseo_titles-org-naics",label:(0,Lt.__)("NAICS","wordpress-seo"),isDummy:!v})))),(0,e.createElement)(ia.Z,{easing:"ease-out",duration:300,delay:300,height:"person"===r?"auto":0,animateOpacity:!0},(0,e.createElement)(na,{title:(0,Lt.__)("Personal info","wordpress-seo"),description:(0,Lt.__)("Please tell us more about the person this site represents.","wordpress-seo")},(0,e.createElement)(Sa,{name:"wpseo_titles.company_or_person_user_id",id:"input-wpseo_titles-company_or_person_user_id",label:(0,Lt.__)("Select a user","wordpress-seo"),className:"yst-max-w-sm"}),!(0,le.isEmpty)(d)&&(0,e.createElement)(l.Alert,{id:"alert-person-user-profile"},b&&(0,i.createInterpolateElement)((0,Lt.sprintf)( /* translators: %1$s and %2$s are replaced by opening and closing tags. %3$s and %4$s are replaced by opening and closing tags. %5$s is replaced by the selected user display name. */ (0,Lt.__)("You have selected the user %1$s%5$s%2$s as the person this site represents. Their user profile information will now be used in search results. %3$sUpdate their profile to make sure the information is correct%4$s.","wordpress-seo"),"","","","",null==d?void 0:d.name),{strong:(0,e.createElement)("strong",{className:"yst-font-medium"}),a:(0,e.createElement)("a",{id:"link-person-user-profile",href:`${y}?user_id=${null==d?void 0:d.id}`,target:"_blank",rel:"noopener noreferrer"})}),!b&&(0,i.createInterpolateElement)((0,Lt.sprintf)( /* translators: %1$s and %2$s are replaced by opening and closing tags. %3$s is replaced by the selected user display name. */ (0,Lt.__)("You have selected the user %1$s%3$s%2$s as the person this site represents. Their user profile information will now be used in search results. We're sorry, you're not allowed to edit this user's profile. Please contact your admin or %1$s%3$s%2$s to check and/or update the profile.","wordpress-seo"),"","",null==d?void 0:d.name),{strong:(0,e.createElement)("strong",{className:"yst-font-medium"})})),(0,e.createElement)(ha,{id:"wpseo_titles-person_logo",label:(0,Lt.__)("Personal logo or avatar","wordpress-seo"),variant:"square",previewLabel:(0,i.createInterpolateElement)((0,Lt.sprintf)( /* translators: %1$s expands to an opening strong tag. %2$s expands to a closing strong tag. %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","696x696px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})}),mediaUrlName:"wpseo_titles.person_logo",mediaIdName:"wpseo_titles.person_logo_id",fallbackMediaId:g,disabled:!a})))))))},Al=()=>{const t=aa("selectReplacementVariablesFor",[],"search","search"),s=aa("selectRecommendedReplacementVariablesFor",[],"search","search"),r=aa("selectReplacementVariablesFor",[],"404","404"),a=aa("selectRecommendedReplacementVariablesFor",[],"404","404");return(0,e.createElement)(uo,{title:(0,Lt.__)("Special pages","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("Internal search pages","wordpress-seo"),description:(0,Lt.__)("Determine how the title of your internal search pages should look in the browser.","wordpress-seo")},(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.title-search-wpseo",fieldId:"input-wpseo_titles-title-search-wpseo",label:(0,Lt.__)("Page title","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("404 error pages","wordpress-seo"),description:(0,Lt.__)("Determine how the title of your 404 error pages should look in the browser.","wordpress-seo")},(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.title-404-wpseo",fieldId:"input-wpseo_titles-title-404-wpseo",label:(0,Lt.__)("Page title","wordpress-seo"),replacementVariables:r,recommendedReplacementVariables:a})))))},Ml=/content=(['"])?(?[^'"> ]+)(?:\1|[ />])/,Dl=e=>{var t;const s=e.target.value.match(Ml);return null!=s&&null!==(t=s.groups)&&void 0!==t&&t.content?s.groups.content:e.target.value},Bl=Ma(Ra),Ul=()=>{const t=aa("selectPreference",[],"siteUrl");return(0,e.createElement)(uo,{title:(0,Lt.__)("Site connections","wordpress-seo"),description:(0,Lt.__)("Verify your site with different tools. This will add a verification meta tag to your homepage. You can find instructions on how to verify your site for each platform by following the link in the description.","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)("fieldset",{className:"yst-min-width-0 yst-max-w-screen-sm yst-space-y-8"},(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo.baiduverify",id:"input-wpseo-baiduverify",label:(0,Lt.__)("Baidu","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Get your verification code in %1$sBaidu Webmaster tools%2$s.","wordpress-seo"),"",""),"https://ziyuan.baidu.com/site","link-baidu-webmaster-tools"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl}),(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo.msverify",id:"input-wpseo-msverify",label:(0,Lt.__)("Bing","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Get your verification code in %1$sBing Webmaster tools%2$s.","wordpress-seo"),"",""),`https://www.bing.com/toolbox/webmaster/#/Dashboard/?url=${t}`,"link-bing-webmaster-tools"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl}),(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo.googleverify",id:"input-wpseo-googleverify",label:(0,Lt.__)("Google","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Get your verification code in %1$sGoogle Search console%2$s.","wordpress-seo"),"",""),(0,Rt.addQueryArgs)("https://search.google.com/search-console/users",{hl:"en",tid:"alternate",siteUrl:t}),"link-google-search-console"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl}),(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo_social.pinterestverify",id:"input-wpseo_social-pinterestverify",label:(0,Lt.__)("Pinterest","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Claim your site over at %1$sPinterest%2$s.","wordpress-seo"),"",""),"https://www.pinterest.com/settings/claim","link-pinterest"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl}),(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo.yandexverify",id:"input-wpseo-yandexverify",label:(0,Lt.__)("Yandex","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Get your verification code in %1$sYandex Webmaster tools%2$s.","wordpress-seo"),"",""),"https://webmaster.yandex.com/sites/add/","link-yandex-webmaster-tools"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl})))))},jl=({postTypes:t,taxonomies:s,idSuffix:r=""})=>{const a=(0,l.useSvgAria)(),o=aa("selectPreference",[],"isPremium"),n=(0,i.useCallback)((({show:t,toggle:s,ariaProps:r})=>{const o=(0,i.useMemo)((()=>t?sr:rr),[t]);return(0,e.createElement)("div",{className:"yst-relative"},(0,e.createElement)("hr",{className:"yst-absolute yst-inset-x-0 yst-top-1/2 yst-bg-slate-200"}),(0,e.createElement)("button",{type:"button",className:"yst-relative yst-flex yst-items-center yst-gap-1.5 yst-px-2.5 yst-py-1 yst-mx-auto yst-text-xs yst-font-medium yst-text-slate-700 yst-bg-slate-50 yst-rounded-full yst-border yst-border-slate-300 hover:yst-bg-white hover:yst-text-slate-800 focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-primary-500 focus:yst-ring-offset-2",onClick:s,...r},t?(0,Lt.__)("Show less","wordpress-seo"):(0,Lt.__)("Show more","wordpress-seo"),(0,e.createElement)(o,{className:"yst-h-4 yst-w-4 yst-flex-shrink-0 yst-text-slate-400 group-hover:yst-text-slate-500 yst-stroke-3",...a})))}),[]);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("header",{className:"yst-px-3 yst-mb-6 yst-space-y-6"},(0,e.createElement)(Et,{id:`link-yoast-logo${r}`,to:"/",className:"yst-inline-block yst-rounded-md focus:yst-ring-primary-500","aria-label":"Yoast SEO"+(o?" Premium":"")},(0,e.createElement)(Qr,{className:"yst-w-40",...a})),(0,e.createElement)(Ji,{buttonId:`button-search${r}`})),(0,e.createElement)("div",{className:"yst-px-0.5 yst-space-y-6"},(0,e.createElement)(l.SidebarNavigation.MenuItem,{id:`menu-general${r}`,icon:Qs,label:(0,Lt.__)("General","wordpress-seo")},(0,e.createElement)(vr,{to:"/site-features",label:(0,Lt.__)("Site features","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/site-basics",label:(0,Lt.__)("Site basics","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/site-representation",label:(0,Lt.__)("Site representation","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/site-connections",label:(0,Lt.__)("Site connections","wordpress-seo"),idSuffix:r})),(0,e.createElement)(l.SidebarNavigation.MenuItem,{id:`menu-content-types${r}`,icon:Xs,label:(0,Lt.__)("Content types","wordpress-seo")},(0,e.createElement)(l.ChildrenLimiter,{limit:5,renderButton:n},(0,e.createElement)(vr,{to:"/homepage",label:(0,Lt.__)("Homepage","wordpress-seo"),idSuffix:r}),(0,le.map)(t,(({name:t,route:s,label:a,isNew:o})=>(0,e.createElement)(vr,{key:`link-post-type-${t}`,to:`/post-type/${s}`,label:(0,e.createElement)("span",{className:"yst-inline-flex yst-items-center yst-gap-1.5"},a,o&&(0,e.createElement)(l.Badge,{variant:"info"},(0,Lt.__)("New","wordpress-seo"))),idSuffix:r}))))),(0,e.createElement)(l.SidebarNavigation.MenuItem,{id:`menu-categories-and-tags${r}`,icon:er,label:(0,Lt.__)("Categories & tags","wordpress-seo")},(0,e.createElement)(l.ChildrenLimiter,{limit:5,renderButton:n},(0,le.map)(s,(t=>(0,e.createElement)(vr,{key:`link-taxonomy-${t.name}`,to:`/taxonomy/${t.route}`,label:(0,e.createElement)("span",{className:"yst-inline-flex yst-items-center yst-gap-1.5"},t.label,t.isNew&&(0,e.createElement)(l.Badge,{variant:"info"},(0,Lt.__)("New","wordpress-seo"))),idSuffix:r}))))),(0,e.createElement)(l.SidebarNavigation.MenuItem,{id:`menu-advanced${r}`,icon:tr,label:(0,Lt.__)("Advanced","wordpress-seo"),defaultOpen:!1},(0,e.createElement)(vr,{to:"/crawl-optimization",label:(0,Lt.__)("Crawl optimization","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/breadcrumbs",label:(0,Lt.__)("Breadcrumbs","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/author-archives",label:(0,Lt.__)("Author archives","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/date-archives",label:(0,Lt.__)("Date archives","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/format-archives",label:(0,Lt.__)("Format archives","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/special-pages",label:(0,Lt.__)("Special pages","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/media-pages",label:(0,Lt.__)("Media pages","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/rss",label:(0,Lt.__)("RSS","wordpress-seo"),idSuffix:r}))))};jl.propTypes={postTypes:ir().object.isRequired,taxonomies:ir().object.isRequired,idSuffix:ir().string};const Vl=()=>{const{pathname:t}=Qe(),s=aa("selectPostTypes"),r=aa("selectTaxonomies"),o=aa("selectPreference",[],"isPremium"),n=aa("selectLink",[],"https://yoa.st/17h"),c=aa("selectLink",[],"https://yoa.st/jj"),d=aa("selectUpsellSettingsAsProps"),u=aa("selectLink",[],"https://yoa.st/3t6"),{isPromotionActive:p}=(0,a.useSelect)(ea);(()=>{const{hash:e,pathname:t,key:s}=Qe();(0,i.useEffect)((()=>{const t=e.replace("#",""),s=document.getElementById(t)||document.querySelector(`[data-id="${t}"]`);if(s)s.scrollIntoView({behavior:"smooth"}),setTimeout((()=>s.focus()),800);else{const e=document.getElementById("yoast-seo-settings");null==e||e.scrollIntoView({behavior:"smooth"})}}),[t,e,s])})();const{dirty:m}=q();return(0,l.useBeforeUnload)(m,(0,Lt.__)("There are unsaved changes on this page. Leaving means that those changes will be lost. Are you sure you want to leave this page?","wordpress-seo")),(0,e.createElement)(e.Fragment,null,(0,e.createElement)(ja,null),(0,e.createElement)(l.SidebarNavigation,{activePath:t},(0,e.createElement)(l.SidebarNavigation.Mobile,{openButtonId:"button-open-settings-navigation-mobile",closeButtonId:"button-close-settings-navigation-mobile" /* translators: Hidden accessibility text. */,openButtonScreenReaderText:(0,Lt.__)("Open settings navigation","wordpress-seo") /* translators: Hidden accessibility text. */,closeButtonScreenReaderText:(0,Lt.__)("Close settings navigation","wordpress-seo"),"aria-label":(0,Lt.__)("Settings navigation","wordpress-seo")},(0,e.createElement)(jl,{idSuffix:"-mobile",postTypes:s,taxonomies:r})),(0,e.createElement)("div",{className:"yst-p-4 min-[783px]:yst-p-8 yst-flex yst-gap-4"},(0,e.createElement)("aside",{className:"yst-sidebar yst-sidebar-nav yst-shrink-0 yst-hidden min-[783px]:yst-block yst-pb-6 yst-bottom-0 yst-w-56"},(0,e.createElement)(l.SidebarNavigation.Sidebar,null,(0,e.createElement)(jl,{postTypes:s,taxonomies:r}))),(0,e.createElement)("div",{className:or()("yst-flex yst-grow yst-flex-wrap",!o&&"xl:yst-pe-[17.5rem]")},(0,e.createElement)("div",{className:"yst-grow yst-max-w-page yst-space-y-6 yst-mb-8 xl:yst-mb-0"},(0,e.createElement)(l.Paper,{as:"main"},(0,e.createElement)(l.ErrorBoundary,{FallbackComponent:Qi},(0,e.createElement)(Js,{key:t,appear:!0,show:!0,enter:"yst-transition-opacity yst-delay-100 yst-duration-300",enterFrom:"yst-opacity-0",enterTo:"yst-opacity-100"},(0,e.createElement)(ft,null,(0,e.createElement)(pt,{path:"author-archives",element:(0,e.createElement)(ll,null)}),(0,e.createElement)(pt,{path:"breadcrumbs",element:(0,e.createElement)(cl,null)}),(0,e.createElement)(pt,{path:"crawl-optimization",element:(0,e.createElement)(ml,null)}),(0,e.createElement)(pt,{path:"date-archives",element:(0,e.createElement)(hl,null)}),(0,e.createElement)(pt,{path:"homepage",element:(0,e.createElement)(bl,null)}),(0,e.createElement)(pt,{path:"format-archives",element:(0,e.createElement)(wl,null)}),(0,e.createElement)(pt,{path:"media-pages",element:(0,e.createElement)(vl,null)}),(0,e.createElement)(pt,{path:"rss",element:(0,e.createElement)(xl,null)}),(0,e.createElement)(pt,{path:"site-basics",element:(0,e.createElement)(Ll,null)}),(0,e.createElement)(pt,{path:"site-connections",element:(0,e.createElement)(Ul,null)}),(0,e.createElement)(pt,{path:"site-representation",element:(0,e.createElement)(Cl,null)}),(0,e.createElement)(pt,{path:"site-features",element:(0,e.createElement)(Pl,null)}),(0,e.createElement)(pt,{path:"special-pages",element:(0,e.createElement)(Al,null)}),(0,e.createElement)(pt,{path:"post-type"},(0,le.map)(s,(t=>(0,e.createElement)(pt,{key:`route-post-type-${t.name}`,path:t.route,element:(0,e.createElement)(rl,{...t})})))),(0,e.createElement)(pt,{path:"taxonomy"},(0,le.map)(r,(t=>(0,e.createElement)(pt,{key:`route-taxonomy-${t.name}`,path:t.route,element:(0,e.createElement)(nl,{...t})})))),(0,e.createElement)(pt,{path:"*",element:(0,e.createElement)(ut,{to:"/site-features",replace:!0})}))))),!o&&(0,e.createElement)(zr,{premiumLink:n,premiumUpsellConfig:d,isPromotionActive:p})),!o&&(0,e.createElement)("div",{className:"xl:yst-max-w-3xl xl:yst-fixed xl:yst-end-8 xl:yst-w-[16rem]"},(0,e.createElement)(qr,{premiumLink:c,premiumUpsellConfig:d,academyLink:u,isPromotionActive:p}))))))},zl=window.yoast.externals.redux,ql=()=>(0,le.get)(window,"wpseoScriptData.postTypes",{}),Wl="updatePostTypeReviewStatus",Hl=(0,Tt.createSlice)({name:"postTypes",initialState:ql(),reducers:{},extraReducers:e=>{e.addCase(`${Wl}/result`,((e,{payload:t})=>{e[t].isNew=!1}))}}),Yl={selectPostType:(e,t,s={})=>(0,le.get)(e,`postTypes.${t}`,s),selectAllPostTypes:(e,t=null)=>{const s=(0,le.get)(e,"postTypes",{});return t?(0,le.pick)(s,t):s}};Yl.selectPostTypes=(0,Tt.createSelector)(Yl.selectAllPostTypes,(e=>(0,le.omit)(e,["attachment"])));const Gl={[Wl]:async({payload:e})=>Gt()({path:"/yoast/v1/new-content-type-visibility/dismiss-post-type",method:"POST",data:{post_type_name:e}})},Kl={...Hl.actions,updatePostTypeReviewStatus:function*(e){try{yield{type:Wl,payload:e}}catch(t){console.error(`Error: Failed to remove "New" badge for ${e}, ${t}`)}return{type:`${Wl}/result`,payload:e}}},Zl=Hl.reducer,Jl=()=>{var e;return{...(0,le.get)(window,"wpseoScriptData.preferences",{}),documentTitle:(0,le.defaultTo)(null===(e=document)||void 0===e?void 0:e.title,"")}},Ql=(0,Tt.createSlice)({name:"preferences",initialState:Jl(),reducers:{}}),Xl={selectPreference:(e,t,s={})=>(0,le.get)(e,`preferences.${t}`,s),selectPreferences:e=>(0,le.get)(e,"preferences",{})};Xl.selectHasPageForPosts=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"homepageIsLatestPosts"),e=>Xl.selectPreference(e,"homepagePostsEditUrl")],((e,t)=>!e&&!(0,le.isEmpty)(t))),Xl.selectCanEditUser=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"currentUserId",-1),e=>Xl.selectPreference(e,"canEditUsers",!1),(e,t)=>t],((e,t,s)=>e===s||t)),Xl.selectExampleUrl=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"siteUrl","https://example.com"),(e,t)=>t],((e,t)=>e+t)),Xl.selectPluginUrl=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"pluginUrl","https://example.com"),(e,t)=>t],((e,t)=>e+t)),Xl.selectUpsellSettingsAsProps=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"upsellSettings",{}),(e,t="premiumCtbId")=>t],((e,t)=>({"data-action":null==e?void 0:e.actionId,"data-ctb-id":null==e?void 0:e[t]})));const ec=Ql.actions,tc=Ql.reducer,sc=()=>(0,le.reduce)((0,le.get)(window,"wpseoScriptData.taxonomies",{}),((e,{postTypes:t,...s},r)=>({...e,[r]:{...s,postTypes:(0,le.values)(t)}})),{}),rc="updateTaxonomyReviewStatus",ac=(0,Tt.createSlice)({name:"taxonomies",initialState:sc(),reducers:{},extraReducers:e=>{e.addCase(`${rc}/result`,((e,{payload:t})=>{e[t].isNew=!1}))}}),oc={selectTaxonomy:(e,t,s={})=>(0,le.get)(e,`taxonomies.${t}`,s),selectAllTaxonomies:e=>(0,le.get)(e,"taxonomies",{})};oc.selectTaxonomies=(0,Tt.createSelector)(oc.selectAllTaxonomies,(e=>(0,le.omit)(e,["post_format"])));const nc={[rc]:async({payload:e})=>Gt()({path:"/yoast/v1/new-content-type-visibility/dismiss-taxonomy",method:"POST",data:{taxonomy_name:e}})},ic={...ac.actions,updateTaxonomyReviewStatus:function*(e){try{yield{type:rc,payload:e}}catch(t){console.error(`Error: Failed to remove "New" badge for ${e}, ${t}`)}return{type:`${rc}/result`,payload:e}}},lc=ac.reducer,cc={selectBreadcrumbsForPostTypes:(0,Tt.createSelector)([oc.selectAllTaxonomies,Yl.selectAllPostTypes],((e,t)=>{const s={value:0,label:(0,Lt.__)("None","wordpress-seo")},r={};return(0,le.forEach)(t,((t,a)=>{const o=(0,le.filter)(e,(e=>(0,le.includes)(e.postTypes,a)));(0,le.isEmpty)(o)||(r[a]={...t,options:[s,...(0,le.map)(o,(({name:e,label:t})=>({value:e,label:t})))]})})),r})),selectBreadcrumbsForTaxonomies:(0,Tt.createSelector)([oc.selectAllTaxonomies,Yl.selectAllPostTypes,Xl.selectHasPageForPosts],((e,t,s)=>{let r=[{value:0,label:(0,Lt.__)("None","wordpress-seo")}];s&&r.push({value:"post",label:(0,Lt.__)("Blog","wordpress-seo")});const a=(0,le.filter)(t,(({hasArchive:e})=>e));return r=r.concat((0,le.map)(a,(({name:e,label:t})=>({value:e,label:t})))),(0,le.mapValues)(e,(e=>({name:e.name,label:e.label,options:r})))}))},dc=()=>({...(0,le.get)(window,"wpseoScriptData.defaultSettingValues",{})}),uc=(0,Tt.createSlice)({name:"defaultSettingValues",initialState:dc(),reducers:{}}),pc={selectDefaultSettingValue:(e,t,s={})=>(0,le.get)(e,`defaultSettingValues.${t}`,s),selectDefaultSettingValues:e=>(0,le.get)(e,"defaultSettingValues",{})},mc=uc.actions,fc=uc.reducer,hc=()=>(0,le.get)(window,"wpseoScriptData.fallbacks",{}),yc=(0,Tt.createSlice)({name:"fallbacks",initialState:hc(),reducers:{}}),wc={selectFallback:(e,t,s={})=>(0,le.get)(e,`fallbacks.${t}`,s),selectFallbacks:e=>(0,le.get)(e,"fallbacks",{})},_c=yc.actions,gc=yc.reducer,bc=(0,Tt.createEntityAdapter)(),vc=()=>bc.getInitialState({status:Qt,error:""}),Ec="fetchMedia",xc=e=>{var t,s;return{id:null==e?void 0:e.id,title:(null==e||null===(t=e.title)||void 0===t?void 0:t.rendered)||(null==e?void 0:e.title),slug:(null==e?void 0:e.slug)||(null==e?void 0:e.name),alt:(null==e?void 0:e.alt_text)||(null==e?void 0:e.alt),url:(null==e?void 0:e.source_url)||(null==e?void 0:e.url),type:(null==e?void 0:e.media_type)||(null==e?void 0:e.type),mime:(null==e?void 0:e.mime_type)||(null==e?void 0:e.mime),author:null==e?void 0:e.author,sizes:(0,le.mapValues)((null==e?void 0:e.sizes)||(null==e||null===(s=e.media_details)||void 0===s?void 0:s.sizes),(e=>({url:(null==e?void 0:e.url)||(null==e?void 0:e.source_url),width:null==e?void 0:e.width,height:null==e?void 0:e.height})),{})}},kc=(0,Tt.createSlice)({name:"media",initialState:vc(),reducers:{addOneMedia:{reducer:bc.addOne,prepare:e=>({payload:xc(e)})},addManyMedia:{reducer:bc.addMany,prepare:e=>({payload:(0,le.map)(e,xc)})}},extraReducers:e=>{e.addCase(`${Ec}/${Kt}`,(e=>{e.status=Xt})),e.addCase(`${Ec}/${Zt}`,((e,t)=>{e.status=es,bc.addMany(e,(0,le.map)(t.payload,xc))})),e.addCase(`${Ec}/${Jt}`,((e,t)=>{e.status=ts,e.error=t.payload}))}}),Sc=bc.getSelectors((e=>e.media)),Lc={selectMediaIds:Sc.selectIds,selectMediaById:Sc.selectById,selectIsMediaLoading:e=>(0,le.get)(e,"media.status",Qt)===Xt,selectIsMediaError:e=>(0,le.get)(e,"media.status",Qt)===ts},Tc={...kc.actions,fetchMedia:function*(e){yield{type:`${Ec}/${Kt}`};try{const t=yield{type:Ec,payload:{per_page:100,include:e}};return{type:`${Ec}/${Zt}`,payload:t}}catch(e){return{type:`${Ec}/${Jt}`,payload:e}}}},Fc={[Ec]:async({payload:e})=>Gt()({path:`/wp/v2/media?${(0,Rt.buildQueryString)(e)}`})},$c=kc.reducer,Pc=window.wp.htmlEntities,Rc=(0,Tt.createEntityAdapter)(),Nc="fetchPages",Ic="pages";let Oc;const Cc=e=>{var t;return{id:null==e?void 0:e.id,name:(0,Pc.decodeEntities)((0,le.trim)(null==e?void 0:e.title.rendered))||(null==e?void 0:e.slug)||e.id,slug:null==e?void 0:e.slug,protected:null==e||null===(t=e.content)||void 0===t?void 0:t.protected}},Ac=(0,Tt.createSlice)({name:"pages",initialState:Rc.getInitialState({status:Qt,error:""}),reducers:{addOnePage:{reducer:Rc.addOne,prepare:e=>({payload:Cc(e)})},addManyPages:{reducer:Rc.addMany,prepare:e=>({payload:(0,le.map)(e,Cc)})}},extraReducers:e=>{e.addCase(`${Nc}/${Kt}`,(e=>{e.status=Xt})),e.addCase(`${Nc}/${Zt}`,((e,t)=>{e.status=es,Rc.addMany(e,(0,le.map)(t.payload,Cc))})),e.addCase(`${Nc}/${Jt}`,((e,t)=>{e.status=ts,e.error=t.payload}))}}),Mc=Ac.getInitialState,Dc=Rc.getSelectors((e=>e.pages)),Bc={selectPageIds:Dc.selectIds,selectPageById:Dc.selectById,selectPages:Dc.selectEntities};Bc.selectPagesWith=(0,Tt.createSelector)([Bc.selectPages,(e,t={})=>t],((e,t)=>{const s={};t.forEach((t=>{null!=t&&t.id&&!e[t.id]&&(s[t.id]={...t})}));const r=(0,le.pickBy)(e,(e=>!e.protected));return{...s,...r}}));const Uc={...Ac.actions,fetchPages:function*(e){yield{type:`${Nc}/${Kt}`};try{const t=yield{type:Nc,payload:{...e}};return{type:`${Nc}/${Zt}`,payload:t}}catch(e){return{type:`${Nc}/${Jt}`,payload:e}}}},jc={[Nc]:async({payload:e})=>{var t;return null===(t=Oc)||void 0===t||t.abort(),Oc=new AbortController,Gt()({path:`/wp/v2/pages?${(0,Rt.buildQueryString)(e)}`,signal:Oc.signal})}},Vc=Ac.reducer,zc=()=>({recommended:(0,le.get)(window,"wpseoScriptData.replacementVariables.recommended",{}),shared:(0,le.get)(window,"wpseoScriptData.replacementVariables.shared",[]),specific:(0,le.get)(window,"wpseoScriptData.replacementVariables.specific",{}),variables:(0,le.get)(window,"wpseoScriptData.replacementVariables.variables",[])}),qc=(0,Tt.createSlice)({name:"replacementVariables",initialState:zc(),reducers:{}}),Wc={selectRecommendedReplacementVariables:e=>(0,le.get)(e,"replacementVariables.recommended",{}),selectSharedReplacementVariables:e=>(0,le.get)(e,"replacementVariables.shared",[]),selectSpecificReplacementVariables:e=>(0,le.get)(e,"replacementVariables.specific",{}),selectReplacementVariables:e=>(0,le.get)(e,"replacementVariables.variables",[])};Wc.selectSpecificReplacementVariablesFor=(0,Tt.createSelector)([Wc.selectSharedReplacementVariables,Wc.selectSpecificReplacementVariables,(e,t)=>t,(e,t,s)=>s],((e,t,s,r)=>[...e,...(0,le.get)(t,s,(0,le.get)(t,r,[]))])),Wc.selectReplacementVariablesFor=(0,Tt.createSelector)([Wc.selectReplacementVariables,Wc.selectSpecificReplacementVariablesFor],((e,t)=>(0,le.filter)(e,(({name:e})=>(0,le.includes)(t,e))))),Wc.selectRecommendedReplacementVariablesFor=(0,Tt.createSelector)([Wc.selectRecommendedReplacementVariables,(e,t)=>t,(e,t,s)=>s],((e,t,s)=>(0,le.get)(e,t,(0,le.get)(e,s,[]))));const Hc=qc.actions,Yc=qc.reducer,Gc=(e,t)=>{ // translators: %1$s expands to the schema type, e.g. "Web Page" or "Blog Post". const s=(0,Lt.__)("%1$s (default)","wordpress-seo");return e.map((({label:e,value:r})=>({value:r,label:r===t?(0,Lt.sprintf)(s,e):e})))},Kc=()=>({articleTypes:(0,le.get)(window,"wpseoScriptData.schema.articleTypes",{}),articleTypeDefaults:(0,le.get)(window,"wpseoScriptData.schema.articleTypeDefaults",{}),pageTypes:(0,le.get)(window,"wpseoScriptData.schema.pageTypes",{}),pageTypeDefaults:(0,le.get)(window,"wpseoScriptData.schema.pageTypeDefaults",{})}),Zc=(0,Tt.createSlice)({name:"schema",initialState:Kc(),reducers:{}}),Jc={selectSchema:e=>(0,le.get)(e,"schema",{}),selectArticleTypes:e=>(0,le.get)(e,"schema.articleTypes",{}),selectArticleTypeDefaults:e=>(0,le.get)(e,"schema.articleTypeDefaults",{}),selectPageTypes:e=>(0,le.get)(e,"schema.pageTypes",{}),selectPageTypeDefaults:e=>(0,le.get)(e,"schema.pageTypeDefaults",{})};Jc.selectArticleTypeValues=(0,Tt.createSelector)(Jc.selectArticleTypes,(e=>(0,le.values)(e))),Jc.selectArticleTypeDefault=(0,Tt.createSelector)([Jc.selectArticleTypeDefaults,(e,t)=>t],((e,t)=>(0,le.get)(e,t,"None"))),Jc.selectArticleTypeValuesFor=(0,Tt.createSelector)([Jc.selectArticleTypeValues,Jc.selectArticleTypeDefault],((e,t)=>Gc(e,t))),Jc.selectPageTypeValues=(0,Tt.createSelector)(Jc.selectPageTypes,(e=>(0,le.values)(e))),Jc.selectPageTypeDefault=(0,Tt.createSelector)([Jc.selectPageTypeDefaults,(e,t)=>t],((e,t)=>(0,le.get)(e,t,"WebPage"))),Jc.selectPageTypeValuesFor=(0,Tt.createSelector)([Jc.selectPageTypeValues,Jc.selectPageTypeDefault],((e,t)=>Gc(e,t)));const Qc=Zc.actions,Xc=Zc.reducer,ed=(e,{userLocale:t})=>gn((0,le.join)([...(0,le.isArray)(null==e?void 0:e.keywords)?e.keywords:[],null==e?void 0:e.routeLabel,null==e?void 0:e.fieldLabel]," "),t),td=(e,t="",{userLocale:s})=>(0,le.reduce)(e,((e,r,a)=>{const o=(0,le.join)((0,le.filter)([t,a],Boolean),".");return"other_social_urls"===a?{...e,[o]:{route:null==r?void 0:r.route,routeLabel:null==r?void 0:r.routeLabel,fieldId:null==r?void 0:r.fieldId,fieldLabel:null==r?void 0:r.fieldLabel,keywords:ed(r,{userLocale:s})}}:null!=r&&r.route?{...e,[o]:{...r,keywords:ed(r,{userLocale:s})}}:{...e,...td(r,o,{userLocale:s})}}),{}),sd=()=>{const e=(0,le.get)(window,"wpseoScriptData.postTypes",{}),t=(0,le.get)(window,"wpseoScriptData.taxonomies",{}),s=(0,le.get)(window,"wpseoScriptData.preferences.userLocale",{});return{index:En(e,t,{userLocale:s})}},rd=(0,Tt.createSlice)({name:"search",initialState:sd(),reducers:{}}),ad={selectSearchIndex:e=>(0,le.get)(e,"search.index",{})};ad.selectQueryableSearchIndex=(0,Tt.createSelector)([ad.selectSearchIndex,e=>Xl.selectPreference(e,"userLocale")],((e,t)=>td(e,"",{userLocale:t})));const od=rd.actions,nd=rd.reducer,id=(0,Tt.createEntityAdapter)(),ld="fetchUsers",cd=()=>id.getInitialState({status:Qt,error:""}),dd=e=>({id:null==e?void 0:e.id,name:(0,le.trim)(null==e?void 0:e.name)||(null==e?void 0:e.slug)||(null==e?void 0:e.id),slug:null==e?void 0:e.slug}),ud=(0,Tt.createSlice)({name:"users",initialState:cd(),reducers:{addOneUser:{reducer:id.addOne,prepare:e=>({payload:dd(e)})},addManyUsers:{reducer:id.addMany,prepare:e=>({payload:(0,le.map)(e,dd)})}},extraReducers:e=>{e.addCase(`${ld}/${Kt}`,(e=>{e.status=Xt})),e.addCase(`${ld}/${Zt}`,((e,t)=>{e.status=es,id.addMany(e,(0,le.map)(t.payload,dd))})),e.addCase(`${ld}/${Jt}`,((e,t)=>{e.status=ts,e.error=t.payload}))}}),pd=id.getSelectors((e=>e.users)),md={selectUserIds:pd.selectIds,selectUserById:pd.selectById,selectUsers:pd.selectEntities};md.selectUsersWith=(0,Tt.createSelector)([md.selectUsers,(e,t={})=>t],((e,t)=>null!=t&&t.id&&!e[t.id]?{...e,[t.id]:{...t}}:e));const fd={...ud.actions,fetchUsers:function*(e){yield{type:`${ld}/${Kt}`};try{const t=yield{type:ld,payload:{...e}};return{type:`${ld}/${Zt}`,payload:t}}catch(e){return{type:`${ld}/${Jt}`,payload:e}}}},hd={[ld]:async({payload:e})=>Gt()({path:`/wp/v2/users?${(0,Rt.buildQueryString)(e)}`})},yd=ud.reducer,{isPromotionActive:wd}=zl.selectors,{currentPromotions:_d}=zl.reducers,{setCurrentPromotions:gd}=zl.actions,bd=({initialState:e={}}={})=>{(0,a.register)((({initialState:e})=>(0,a.createReduxStore)(ea,{actions:{...mc,..._c,...At,...Tc,...Vt,...Uc,...Kl,...ec,...Hc,...Qc,...od,...ic,...fd,setCurrentPromotions:gd},selectors:{...cc,...pc,...wc,...Ct,...Lc,...jt,...Bc,...Yl,...Xl,...Wc,...Jc,...ad,...oc,...md,isPromotionActive:wd},initialState:(0,le.merge)({},{defaultSettingValues:dc(),fallbacks:hc(),[Nt]:Ot(),media:vc(),[Dt]:Ut(),[Ic]:Mc(),postTypes:ql(),preferences:Jl(),replacementVariables:zc(),schema:Kc(),search:sd(),taxonomies:sc(),users:cd(),currentPromotions:{promotions:[]}},e),reducer:(0,a.combineReducers)({defaultSettingValues:fc,fallbacks:gc,[Nt]:Mt,media:$c,[Dt]:zt,[Ic]:Vc,postTypes:Zl,preferences:tc,replacementVariables:Yc,schema:Xc,search:nd,taxonomies:lc,users:yd,currentPromotions:_d}),controls:{...Fc,...hd,...Gl,...nc,...jc}}))({initialState:e}))};n()((()=>{const t=document.getElementById("yoast-seo-settings");if(!t)return;const s=document.createElement("div"),o=s.attachShadow({mode:"open"});document.body.appendChild(s);const n=(0,le.get)(window,"wpseoScriptData.settings",{}),c=(0,le.get)(window,"wpseoScriptData.fallbacks",{}),d=(0,le.get)(window,"wpseoScriptData.postTypes",{}),u=(0,le.get)(window,"wpseoScriptData.taxonomies",{}),p=(0,le.get)(window,"wpseoScriptData.showNewContentTypeNotification",!1)?{"new-content-type":{id:"new-content-type",variant:"info",size:"large",title:(0,Lt.__)("New type of content added to your site!","wordpress-seo"),description:(0,Lt.__)("Please see the “New” badges and review the Search appearance settings.","wordpress-seo")}}:{};bd({initialState:{notifications:p,[Nt]:(0,le.get)(window,"wpseoScriptData.linkParams",{}),currentPromotions:{promotions:(0,le.get)(window,"wpseoScriptData.currentPromotions",[])}}}),(async({settings:e,fallbacks:t})=>{const s=(0,le.get)(e,"wpseo_titles",{}),r=(0,le.filter)([(0,le.get)(e,"wpseo_social.og_default_image_id","0"),(0,le.get)(e,"wpseo_titles.open_graph_frontpage_image_id","0"),(0,le.get)(e,"wpseo_titles.company_logo_id","0"),(0,le.get)(e,"wpseo_titles.person_logo_id","0"),(0,le.get)(t,"siteLogoId","0"),...(0,le.reduce)(s,((e,t,s)=>(0,le.includes)(s,"social-image-id")?[...e,t]:e),[])],Boolean),o=(0,le.chunk)(r,100),{fetchMedia:n}=(0,a.dispatch)(ea);(0,le.forEach)(o,n)})({settings:n,fallbacks:c}),(async({settings:e})=>{const t=(0,le.get)(e,"wpseo_titles.company_or_person_user_id"),{fetchUsers:s}=(0,a.dispatch)(ea);t&&s({include:[t]})})({settings:n}),document.querySelector('[href="#wpbody-content"]').addEventListener("click",(e=>{var t,s;e.preventDefault(),window.outerWidth>782?null===(s=document.getElementById("link-yoast-logo"))||void 0===s||s.focus():null===(t=document.getElementById("button-open-settings-navigation-mobile"))||void 0===t||t.focus()})),document.querySelector('[href="#wp-toolbar"]').addEventListener("click",(e=>{var t;e.preventDefault(),null===(t=document.querySelector("#wp-admin-bar-wp-logo a"))||void 0===t||t.focus()})),(()=>{const e=document.getElementById("wpcontent"),t=document.getElementById("adminmenuwrap");e&&t&&(e.style.minHeight=`${t.offsetHeight}px`)})();const m=(0,a.select)(ea).selectPreference("isRtl",!1);(0,i.render)((0,e.createElement)(l.Root,{context:{isRtl:m}},(0,e.createElement)(St.StyleSheetManager,{target:o},(0,e.createElement)(r.SlotFillProvider,null,(0,e.createElement)(gt,null,(0,e.createElement)(K,{initialValues:n,validationSchema:Wi(d,u),onSubmit:kn},(0,e.createElement)(Vl,null)))))),t)}))})()})();
tags. */ (0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling of URLs like %1$s, %2$s and %3$s.","wordpress-seo"),"","",""),{code1:(0,e.createElement)(l.Code,null,"?s="),code2:(0,e.createElement)(l.Code,null,"/search/"),code3:(0,e.createElement)(l.Code,null,"/page/*/?s=")}),advancedUrlCleanup:(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an example part of a URL, surrounded by a tag. */ (0,Lt.__)("Users and search engines may often request your URLs whilst using query parameters, like %1$s. These can be helpful for tracking, filtering, and powering advanced functionality - but they come with a performance and SEO ‘cost’. Sites which don’t rely on URL parameters might benefit from using these options.","wordpress-seo"),""),{code:(0,e.createElement)(l.Code,null,"?color=red")}),cleanCampaignTrackingUrls:(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: * %1$s expands to `utm`. * %2$s expands to `#`. * %3$s expands to `301`. * %4$s and %5$s both expand to an example within a tag. */ (0,Lt.__)("Replaces %1$s tracking parameters with the (more performant) %2$s equivalent, via a %3$s redirect. E.g., %4$s will be redirected to %5$s","wordpress-seo"),"","","","",""),{code1:(0,e.createElement)(l.Code,null,"utm"),code2:(0,e.createElement)(l.Code,null,"#"),code3:(0,e.createElement)(l.Code,null,"301"),code4:(0,e.createElement)(l.Code,{variant:"block"},"https://www.example.com/?utm_medium=organic"),code5:(0,e.createElement)(l.Code,{variant:"block"},"https://www.example.com/#utm_medium=organic")}),cleanPermalinks:(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: * %1$s expands to `301`. * %2$s and %3$s both expand to an example within a tag. */ (0,Lt.__)("Removes unknown URL parameters via a %1$s redirect. E.g., %2$s will be redirected to %3$s","wordpress-seo"),"","","")+(0,Lt.sprintf)( /** * translators: * %1$s through %7$s each expand to a parameter name within a tag. For example, gclid. */ (0,Lt.__)("Note that the following commonly-used parameters will not be removed: %1$s, %2$s, %3$s, %4$s, %5$s, %6$s, and %7$s.","wordpress-seo"),"","","","","","",""),{code1:(0,e.createElement)(l.Code,null,"301"),code2:(0,e.createElement)(l.Code,{variant:"block"},"https://www.example.com/?unknown_parameter=yes"),code3:(0,e.createElement)(l.Code,{variant:"block"},"https://www.example.com"),code4:(0,e.createElement)(l.Code,null,"gclid"),code5:(0,e.createElement)(l.Code,null,"gtm_debug"),code6:(0,e.createElement)(l.Code,null,"utm_campaign"),code7:(0,e.createElement)(l.Code,null,"utm_content"),code8:(0,e.createElement)(l.Code,null,"utm_medium"),code9:(0,e.createElement)(l.Code,null,"utm_source"),code10:(0,e.createElement)(l.Code,null,"utm_term")}),cleanPermalinksExtraVariables:(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: * %1$s expands to `unknown_parameter`. * %2$s and %3$s both expand to an example within a tag. */ (0,Lt.__)("Prevents specific URL parameters from being removed by the above feature. E.g., adding %1$s will prevent %2$s from being redirected to %3$s. You can add multiple parameters and separate them by using enter or a comma.","wordpress-seo"),"","",""),{code1:(0,e.createElement)(l.Code,null,"unknown_parameter"),code2:(0,e.createElement)(l.Code,null,"https://www.example.com/?unknown_parameter=yes"),code3:(0,e.createElement)(l.Code,null,"https://www.example.com")})})),[]),{values:m}=q(),{remove_feed_global_comments:f,remove_feed_post_comments:h,search_cleanup:y,search_cleanup_emoji:w,search_cleanup_patterns:_,clean_permalinks:g}=m.wpseo;return(0,e.createElement)(uo,{title:(0,Lt.__)("Crawl optimization","wordpress-seo"),description:p.page},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("Remove unwanted metadata","wordpress-seo"),description:p.removeUnwantedMetadata},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_shortlinks",id:"input-wpseo-remove_shortlinks",label:(0,Lt.__)("Remove shortlinks","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links to WordPress' internal 'shortlink' URLs for your posts.","wordpress-seo")," ",p.removeShortlinks),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_rest_api_links",id:"input-wpseo-remove_rest_api_links",label:(0,Lt.__)("Remove REST API links","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links to the location of your site’s REST API endpoints.","wordpress-seo")," ",p.removeRestApiLinks),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_rsd_wlw_links",id:"input-wpseo-remove_rsd_wlw_links",label:(0,Lt.__)("Remove RSD / WLW links","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links used by external systems for publishing content to your blog.","wordpress-seo")," ",p.removeRsdWlwLinks),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_oembed_links",id:"input-wpseo-remove_oembed_links",label:(0,Lt.__)("Remove oEmbed links","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links used for embedding your content on other sites.","wordpress-seo")," ",p.removeOembedLinks),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_generator",id:"input-wpseo-remove_generator",label:(0,Lt.__)("Remove generator tag","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove information about the plugins and software used by your site.","wordpress-seo")," ",p.removeGenerator),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_pingback_header",id:"input-wpseo-remove_pingback_header",label:(0,Lt.__)("Pingback HTTP header","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links which allow others sites to ‘ping’ yours when they link to you.","wordpress-seo")," ",p.removePingbackHeader),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_powered_by_header",id:"input-wpseo-remove_powered_by_header",label:(0,Lt.__)("Remove powered by HTTP header","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove information about the plugins and software used by your site.","wordpress-seo")," ",p.removePoweredByHeader)),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Disable unwanted content formats","wordpress-seo"),description:(0,Lt.__)("WordPress outputs your content in many different formats, across many different URLs (like RSS feeds of your posts and categories). It’s generally good practice to disable the formats you’re not actively using.","wordpress-seo")},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_global",id:"input-wpseo-remove_feed_global",label:(0,Lt.__)("Remove global feed","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide an overview of your recent posts.","wordpress-seo")," ",p.removeFeedGlobal),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_global_comments",id:"input-wpseo-remove_feed_global_comments",label:(0,Lt.__)("Remove global comment feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide an overview of recent comments on your site.","wordpress-seo")," ",p.removeFeedGlobalComments,(0,Lt.__)("Also disables post comment feeds.","wordpress-seo")),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_post_comments",id:"input-wpseo-remove_feed_post_comments",label:(0,Lt.__)("Remove post comments feeds","wordpress-seo"),disabled:f,checked:f||h,className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about recent comments on each post.","wordpress-seo")," ",p.removeFeedPostComments),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_authors",id:"input-wpseo-remove_feed_authors",label:(0,Lt.__)("Remove post authors feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about recent posts by specific authors.","wordpress-seo")," ",p.removeFeedAuthors),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_post_types",id:"input-wpseo-remove_feed_post_types",label:(0,Lt.__)("Remove post type feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your recent posts, for each post type.","wordpress-seo")," ",p.removeFeedPostTypes),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_categories",id:"input-wpseo-remove_feed_categories",label:(0,Lt.__)("Remove category feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your recent posts, for each category.","wordpress-seo")," ",p.removeFeedCategories),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_tags",id:"input-wpseo-remove_feed_tags",label:(0,Lt.__)("Remove tag feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your recent posts, for each tag.","wordpress-seo")," ",p.removeFeedTags),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_custom_taxonomies",id:"input-wpseo-remove_feed_custom_taxonomies",label:(0,Lt.__)("Remove custom taxonomy feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your recent posts, for each custom taxonomy.","wordpress-seo")," ",p.removeFeedCustomTaxonomies),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_search",id:"input-wpseo-remove_feed_search",label:(0,Lt.__)("Remove search results feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your search results.","wordpress-seo")," ",p.removeFeedSearch),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_atom_rdf_feeds",id:"input-wpseo-remove_atom_rdf_feeds",label:(0,Lt.__)("Remove Atom / RDF feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide alternative (legacy) formats of all of the above.","wordpress-seo")," ",p.removeAtomRdfFeeds)),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Remove unused resources","wordpress-seo"),description:(0,Lt.__)("WordPress loads lots of resources, some of which your site might not need. If you’re not using these, removing them can speed up your pages and save resources.","wordpress-seo")},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_emoji_scripts",id:"input-wpseo-remove_emoji_scripts",label:(0,Lt.__)("Remove emoji scripts","wordpress-seo"),description:(0,Lt.__)("Remove JavaScript used for converting emoji characters in older browsers.","wordpress-seo"),className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_wp_json_crawling",id:"input-wpseo-deny_wp_json_crawling",label:(0,Lt.__)("Remove WP-JSON API","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling of WordPress' JSON API endpoints.","wordpress-seo")," ",p.denyWpJsonCrawling)),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Block unwanted bots","wordpress-seo"),description:p.blockUnwantedBots},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_adsbot_crawling",id:"input-wpseo-deny_adsbot_crawling",label:(0,Lt.__)("Prevent Google AdsBot from crawling","wordpress-seo"),description:(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by Google AdsBot. You should only enable this setting if you're not using Google Ads on your site.","wordpress-seo"),className:"yst-max-w-2xl"}),(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!s&&!t,variant:"card",cardLink:c,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...r},(0,e.createElement)(pl,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_google_extended_crawling",id:"input-wpseo-deny_google_extended_crawling",label:(0,Lt.__)("Prevent Google Gemini and Vertex AI bots from crawling","wordpress-seo"),description:(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by the Google-Extended bot. Enabling this setting won’t prevent Google from indexing your website.","wordpress-seo"),labelSuffix:t&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium"),className:"yst-max-w-2xl",isDummy:!t}),(0,e.createElement)(pl,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_gptbot_crawling",id:"input-wpseo-deny_gptbot_crawling",label:(0,Lt.__)("Prevent OpenAI GPTBot from crawling","wordpress-seo"),description:(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by OpenAI GPTBot.","wordpress-seo"),labelSuffix:t&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium"),className:"yst-max-w-2xl",isDummy:!t}),(0,e.createElement)(pl,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_ccbot_crawling",id:"input-wpseo-deny_ccbot_crawling",label:(0,Lt.__)("Prevent Common Crawl CCBot from crawling","wordpress-seo"),description:(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by Common Crawl CCBot.","wordpress-seo"),labelSuffix:t&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium"),className:"yst-max-w-2xl",isDummy:!t}))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Internal site search cleanup","wordpress-seo"),description:(0,Lt.__)("Your internal site search can create lots of confusing URLs for search engines, and can even be used as a way for SEO spammers to attack your site. Most sites will benefit from experimenting with these protections and optimizations, even if you don’t have a search feature in your theme.","wordpress-seo")},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.search_cleanup",id:"input-wpseo-search_cleanup",label:(0,Lt.__)("Filter search terms","wordpress-seo"),description:(0,Lt.__)("Enables advanced settings for protecting your internal site search URLs.","wordpress-seo"),className:"yst-max-w-2xl"}),(0,e.createElement)(dl,{as:l.TextField,type:"number",name:"wpseo.search_character_limit",id:"input-wpseo-search_character_limit",label:(0,Lt.__)("Max number of characters to allow in searches","wordpress-seo"),description:(0,Lt.__)("Limit the length of internal site search queries to reduce the impact of spam attacks and confusing URLs. Please enter a number between 1 and 50.","wordpress-seo"),disabled:!y}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.search_cleanup_emoji",id:"input-wpseo-search_cleanup_emoji",label:(0,Lt.__)("Filter searches with emojis and other special characters","wordpress-seo"),description:(0,Lt.__)("Block internal site searches which contain complex and non-alphanumeric characters, as they may be part of a spam attack.","wordpress-seo"),disabled:!y,checked:y&&w,className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.search_cleanup_patterns",id:"input-wpseo-search_cleanup_patterns",label:(0,Lt.__)("Filter searches with common spam patterns","wordpress-seo"),description:(0,Lt.__)("Block internal site searches which match the patterns of known spam attacks.","wordpress-seo"),disabled:!y,checked:y&&_,className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.redirect_search_pretty_urls",id:"input-wpseo-redirect_search_pretty_urls",label:(0,Lt.__)("Redirect pretty URLs to ‘raw’ formats","wordpress-seo"),description:p.redirectSearchPrettyUrls,className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_search_crawling",id:"input-wpseo-deny_search_crawling",label:(0,Lt.__)("Prevent crawling of internal site search URLs","wordpress-seo"),description:p.denySearchCrawling,className:"yst-max-w-2xl"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Advanced: URL cleanup","wordpress-seo"),description:p.advancedUrlCleanup},(0,e.createElement)(l.Alert,{id:"alert-permalink-cleanup-settings",variant:"error"},(0,i.createInterpolateElement)((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. (0,Lt.__)("Warning! These are expert features, so make sure you know what you're doing before using this setting. You might break your site. %1$sRead more about how your site can be affected%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)("a",{id:"link-permalink-cleanup-info",href:o,target:"_blank",rel:"noopener noreferrer"})})),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.clean_campaign_tracking_urls",id:"input-wpseo-clean_campaign_tracking_urls",label:(0,Lt.__)("Optimize Google Analytics utm tracking parameters","wordpress-seo"),description:p.cleanCampaignTrackingUrls,className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.clean_permalinks",id:"input-wpseo-clean_permalinks",label:(0,Lt.__)("Remove unregistered URL parameters","wordpress-seo"),description:p.cleanPermalinks,className:"yst-max-w-2xl"}),(0,e.createElement)(ba,{name:"wpseo.clean_permalinks_extra_variables",id:"input-wpseo-clean_permalinks_extra_variables",label:(0,Lt.__)("Additional URL parameters to allow","wordpress-seo"),description:p.cleanPermalinksExtraVariables,disabled:!g})))))},fl=Ca(_a),hl=()=>{const t=(0,Lt.__)("Date archives","wordpress-seo"),s=aa("selectPreference",[],"userLocale"),r=(0,i.useMemo)((()=>gn(t,s)),[t,s]),a=aa("selectUpsellSettingsAsProps"),o=aa("selectReplacementVariablesFor",[],"date_archive","custom-post-type_archive"),n=aa("selectRecommendedReplacementVariablesFor",[],"date_archive","custom-post-type_archive"),c=aa("selectLink",[],"https://yoa.st/show-x"),d=aa("selectPreference",[],"isPremium"),u=aa("selectLink",[],"https://yoa.st/4e0"),p=aa("selectExampleUrl",[],"/2020/"),m=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})})),[]),f=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to "Date archives". * %2$s expands to an example URL, e.g. https://example.com/author/example/. * %3$s expands to "date archives". */ (0,Lt.__)("%1$s (e.g. %2$s) are based on publication dates. From an SEO perspective, the posts in these archives have no real relation to the other posts except for their publication dates, which doesn’t say much about the content. They could also lead to duplicate content issues. This is why we recommend you to disable %3$s.","wordpress-seo"),t,"",r),{exampleUrl:(0,e.createElement)(l.Code,null,p)}))),{values:h}=q(),{opengraph:y}=h.wpseo_social,{"disable-date":w,"noindex-archive-wpseo":_}=h.wpseo_titles;return(0,e.createElement)(uo,{title:t,description:f},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)("fieldset",{className:"yst-min-width-0 yst-space-y-8"},(0,e.createElement)(ua,{name:"wpseo_titles.disable-date",id:"input-wpseo_titles-disable-date",label:(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Enable %1$s","wordpress-seo"),r),description:(0,Lt.sprintf)( // translators: %1$s expands to "Date archives". (0,Lt.__)("%1$s can cause duplicate content issues. For most sites, we recommend that you disable this setting.","wordpress-seo"),t),className:"yst-max-w-sm"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Search appearance","wordpress-seo"),description:(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Determine how your %1$s should look in search engines.","wordpress-seo"),r)},(0,e.createElement)(ua,{name:"wpseo_titles.noindex-archive-wpseo",id:"input-wpseo_titles-noindex-archive-wpseo",label:(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Show %1$s in search results","wordpress-seo"),r),description:(0,e.createElement)(e.Fragment,null,(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps. We recommend that you disable this setting.","wordpress-seo"),r)," ",(0,e.createElement)(l.Link,{href:c,target:"_blank",rel:"noopener"},(0,Lt.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:w,checked:!w&&!_,className:"yst-max-w-sm"}),(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.title-archive-wpseo",fieldId:"input-wpseo_titles-title-archive-wpseo",label:(0,Lt.__)("SEO title","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:n,disabled:w}),(0,e.createElement)(_a,{type:"description",name:"wpseo_titles.metadesc-archive-wpseo",fieldId:"input-wpseo_titles-metadesc-archive-wpseo",label:(0,Lt.__)("Meta description","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:n,disabled:w,className:"yst-replacevar--description"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},(0,e.createElement)("span",null,(0,Lt.__)("Social media appearance","wordpress-seo")),d&&(0,e.createElement)(l.Badge,{variant:"upsell"},"Premium")),description:(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Determine how your %1$s should look on social media by default.","wordpress-seo"),r)},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!d,variant:"card",cardLink:u,cardText:(0,Lt.sprintf)( // translators: %1$s expands to Premium. (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...a},(0,e.createElement)(Wa,{isEnabled:!d||y}),(0,e.createElement)(ha,{id:"wpseo_titles-social-image-archive-wpseo",label:(0,Lt.__)("Social image","wordpress-seo"),previewLabel:m,mediaUrlName:"wpseo_titles.social-image-url-archive-wpseo",mediaIdName:"wpseo_titles.social-image-id-archive-wpseo",disabled:w||!y,isDummy:!d}),(0,e.createElement)(fl,{type:"title",name:"wpseo_titles.social-title-archive-wpseo",fieldId:"input-wpseo_titles-social-title-archive-wpseo",label:(0,Lt.__)("Social title","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:n,disabled:w||!y,isDummy:!d}),(0,e.createElement)(fl,{type:"description",name:"wpseo_titles.social-description-archive-wpseo",fieldId:"input-wpseo_titles-social-description-archive-wpseo",label:(0,Lt.__)("Social description","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:n,className:"yst-replacevar--description",disabled:w||!y,isDummy:!d}))))))},yl=Ca(_a),wl=()=>{const{name:t,label:s,singularLabel:r}=aa("selectTaxonomy",[],"post_format"),a=aa("selectPreference",[],"userLocale"),o=(0,i.useMemo)((()=>gn(s,a)),[s,a]),n=(0,i.useMemo)((()=>gn(r,a)),[r,a]),c=aa("selectUpsellSettingsAsProps"),d=aa("selectReplacementVariablesFor",[t],t,"term-in-custom-taxonomy"),u=aa("selectRecommendedReplacementVariablesFor",[t],t,"term-in-custom-taxonomy"),p=aa("selectLink",[],"https://yoa.st/show-x"),m=aa("selectPreference",[],"isPremium"),f=aa("selectLink",[],"https://yoa.st/4e0"),h=aa("selectExampleUrl",[],"/format/example/"),y=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})})),[]),w=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("(e.g., %1$s)","wordpress-seo"),""),{exampleUrl:(0,e.createElement)(l.Code,null,h)}))),{values:_}=q(),{opengraph:g}=_.wpseo_social,{"disable-post_format":b,"noindex-tax-post_format":v}=_.wpseo_titles;return(0,e.createElement)(uo,{title:(0,Lt.__)("Format archives","wordpress-seo"),description:w},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(ua,{name:"wpseo_titles.disable-post_format",id:"input-wpseo_titles-disable-post_format",label:(0,Lt.__)("Enable format-based archives","wordpress-seo"),description:(0,Lt.__)("Format-based archives can cause duplicate content issues. For most sites, we recommend that you disable this setting.","wordpress-seo"),className:"yst-max-w-sm"}),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Search appearance","wordpress-seo"),description:(0,Lt.sprintf)( // translators: %1$s expands to "formats". %2$s expands to "Yoast SEO". (0,Lt.__)("Determine how your %1$s should look in search engines. You can always customize the settings for individual %1$s in the %2$s metabox.","wordpress-seo"),o,"Yoast SEO")},(0,e.createElement)(ua,{name:`wpseo_titles.noindex-tax-${t}`,id:`input-wpseo_titles-noindex-tax-${t}`,label:(0,Lt.sprintf)( // translators: %1$s expands to "format". (0,Lt.__)("Show %1$s archives in search results","wordpress-seo"),n),description:(0,e.createElement)(e.Fragment,null,(0,Lt.sprintf)( // translators: %1$s expands to "formats". (0,Lt.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps. We recommend that you disable this setting.","wordpress-seo"),o)," ",(0,e.createElement)(l.Link,{href:p,target:"_blank",rel:"noopener"},(0,Lt.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:b,checked:!b&&!v,className:"yst-max-w-sm"}),(0,e.createElement)(_a,{type:"title",name:`wpseo_titles.title-tax-${t}`,fieldId:`input-wpseo_titles-title-tax-${t}`,label:(0,Lt.__)("SEO title","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,disabled:b}),(0,e.createElement)(_a,{type:"description",name:`wpseo_titles.metadesc-tax-${t}`,fieldId:`input-wpseo_titles-metadesc-tax-${t}`,label:(0,Lt.__)("Meta description","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,disabled:b,className:"yst-replacevar--description"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},(0,e.createElement)("span",null,(0,Lt.__)("Social media appearance","wordpress-seo")),m&&(0,e.createElement)(l.Badge,{variant:"upsell"},"Premium")),description:(0,Lt.sprintf)( // translators: %1$s expands to "formats". %2$s expands to "Yoast SEO". (0,Lt.__)("Determine how your %1$s should look on social media by default. You can always customize the settings for individual %1$s in the %2$s metabox.","wordpress-seo"),o,"Yoast SEO")},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!m,variant:"card",cardLink:f,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...c},(0,e.createElement)(Wa,{isEnabled:!m||g}),(0,e.createElement)(ha,{id:`wpseo_titles-social-image-tax-${t}`,label:(0,Lt.__)("Social image","wordpress-seo"),previewLabel:y,mediaUrlName:`wpseo_titles.social-image-url-tax-${t}`,mediaIdName:`wpseo_titles.social-image-id-tax-${t}`,disabled:b||!g,isDummy:!m}),(0,e.createElement)(yl,{type:"title",name:`wpseo_titles.social-title-tax-${t}`,fieldId:`input-wpseo_titles-social-title-tax-${t}`,label:(0,Lt.__)("Social title","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,disabled:b||!g,isDummy:!m}),(0,e.createElement)(yl,{type:"description",name:`wpseo_titles.social-description-tax-${t}`,fieldId:`input-wpseo_titles-social-description-tax-${t}`,label:(0,Lt.__)("Social description","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,className:"yst-replacevar--description",disabled:b||!g,isDummy:!m}))))))},_l=()=>{const t=aa("selectReplacementVariablesFor",[],"homepage","page"),s=aa("selectRecommendedReplacementVariablesFor",[],"homepage","page"),r=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})})),[]),{values:a}=q(),{opengraph:o}=a.wpseo_social;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(na,{title:(0,Lt.__)("Search appearance","wordpress-seo"),description:(0,Lt.__)("Determine how your homepage should look in the search results.","wordpress-seo")},(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.title-home-wpseo",fieldId:"input-wpseo_titles-title-home-wpseo",label:(0,Lt.__)("SEO title","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s}),(0,e.createElement)(_a,{type:"description",name:"wpseo_titles.metadesc-home-wpseo",fieldId:"input-wpseo_titles-metadesc-home-wpseo",label:(0,Lt.__)("Meta description","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s,className:"yst-replacevar--description"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Social media appearance","wordpress-seo"),description:(0,Lt.__)("Determine how your homepage should look on social media.","wordpress-seo")},(0,e.createElement)(Wa,{isEnabled:o /* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */,text:(0,Lt.__)("The %1$ssocial image%2$s, %1$ssocial title%2$s and %1$ssocial description%2$s require Open Graph data, which is currently disabled in the ‘Social sharing’ section in %3$sSite features%4$s.","wordpress-seo")}),(0,e.createElement)(ha,{id:"wpseo_titles-open_graph_frontpage_image",label:(0,Lt.__)("Social image","wordpress-seo"),previewLabel:r,mediaUrlName:"wpseo_titles.open_graph_frontpage_image",mediaIdName:"wpseo_titles.open_graph_frontpage_image_id",disabled:!o}),(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.open_graph_frontpage_title",fieldId:"input-wpseo_titles-open_graph_frontpage_title",label:(0,Lt.__)("Social title","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s,disabled:!o}),(0,e.createElement)(_a,{type:"description",name:"wpseo_titles.open_graph_frontpage_desc",fieldId:"input-wpseo_titles-open_graph_frontpage_desc",label:(0,Lt.__)("Social description","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s,className:"yst-replacevar--description",disabled:!o})))},gl=()=>{const t=aa("selectPreference",[],"homepagePageEditUrl"),s=aa("selectPreference",[],"homepagePostsEditUrl"),r=(0,i.useMemo)((()=>Xi((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("You can determine the title and description for the homepage by %1$sediting the homepage itself%2$s.","wordpress-seo"),"",""),t,"link-homepage-page-edit"))),a=(0,i.useMemo)((()=>Xi((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("You can determine the title and description for the blog page by %1$sediting the blog page itself%2$s.","wordpress-seo"),"",""),s,"link-homepage-posts-page-edit")));return(0,e.createElement)("div",{className:"yst-max-w-screen-sm"},(0,e.createElement)(l.Alert,null,(0,e.createElement)("p",null,r),s&&(0,e.createElement)("p",{className:"yst-pt-2"},a)))},bl=()=>{const t=aa("selectPreference",[],"homepageIsLatestPosts");return(0,e.createElement)(uo,{title:(0,Lt.__)("Homepage","wordpress-seo"),description:(0,Lt.__)("Determine how your homepage should look in the search results and on social media. This is what people probably will see when they search for your brand name.","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},t&&(0,e.createElement)(_l,null),!t&&(0,e.createElement)(gl,null))))},vl=()=>{const{name:t,label:s,hasSchemaArticleType:r}=aa("selectPostType",[],"attachment"),a=aa("selectPreference",[],"userLocale"),o=(0,i.useMemo)((()=>gn(s,a)),[s,a]),n=aa("selectReplacementVariablesFor",[t],t,"custom_post_type"),c=aa("selectRecommendedReplacementVariablesFor",[t],t,"custom_post_type"),d=aa("selectArticleTypeValuesFor",[t],t),u=aa("selectPageTypeValuesFor",[t],t),p=aa("selectLink",[],"https://yoa.st/media-pages-thin-content"),m=aa("selectLink",[],"https://yoa.st/show-x"),{values:f}=q(),{"disable-attachment":h,"noindex-attachment":y}=f.wpseo_titles,w=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s and %2$s are replaced by opening and closing tags. * %3$s expands to "media". * %4$s expand to "Yoast SEO". * %5$s expand to "WordPress". */ (0,Lt.__)("When you upload media (e.g. an image or video), %5$s automatically creates a %3$s page (attachment URL) for it. These pages are quite empty and could cause %1$sthin content problems and lead to excess pages on your site%2$s. Therefore, %4$s disables them by default (and redirects the attachment URL to the media itself).","wordpress-seo"),"","",o,"Yoast SEO","WordPress"),{a:(0,e.createElement)("a",{href:p,target:"_blank",rel:"noopener noreferrer"})})));return(0,e.createElement)(uo,{title:(0,Lt.sprintf)( // translators: %1$s expands to "Media". (0,Lt.__)("%1$s pages","wordpress-seo"),s),description:w},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)("fieldset",{className:"yst-min-width-0 yst-space-y-8"},(0,e.createElement)(ua,{name:`wpseo_titles.disable-${t}`,id:`input-wpseo_titles-disable-${t}`,label:(0,Lt.sprintf)( // translators: %1$s expands to "media". (0,Lt.__)("Enable %1$s pages","wordpress-seo"),o),description:(0,Lt.sprintf)( // translators: %1$s expands to "media". (0,Lt.__)("We recommend keeping %1$s pages disabled. This will cause all attachment URLs to be redirected to the media itself.","wordpress-seo"),o),className:"yst-max-w-sm"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Search appearance","wordpress-seo"),description:(0,Lt.sprintf)( // translators: %1$s expands to "media". %3$s expands to "Yoast SEO". (0,Lt.__)("Determine how your %1$s pages should look in search engines. You can always customize the settings for individual %1$s pages in the %2$s metabox.","wordpress-seo"),o,"Yoast SEO")},(0,e.createElement)(ua,{name:`wpseo_titles.noindex-${t}`,id:`input-wpseo_titles-noindex-${t}`,label:(0,Lt.sprintf)( // translators: %1$s expands to "media". (0,Lt.__)("Show %1$s pages in search results","wordpress-seo"),o),description:(0,e.createElement)(e.Fragment,null,(0,Lt.sprintf)( // translators: %1$s expands to "media". (0,Lt.__)("Disabling this means that %1$s pages created by WordPress will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),o),(0,e.createElement)("br",null),(0,e.createElement)(l.Link,{href:m,target:"_blank",rel:"noopener"},(0,Lt.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:h,checked:!h&&!y,className:"yst-max-w-sm"}),(0,e.createElement)(_a,{type:"title",name:`wpseo_titles.title-${t}`,fieldId:`input-wpseo_titles-title-${t}`,label:(0,Lt.__)("SEO title","wordpress-seo"),replacementVariables:n,recommendedReplacementVariables:c,disabled:h}),(0,e.createElement)(_a,{type:"description",name:`wpseo_titles.metadesc-${t}`,fieldId:`input-wpseo_titles-metadesc-${t}`,label:(0,Lt.__)("Meta description","wordpress-seo"),replacementVariables:n,recommendedReplacementVariables:c,disabled:h,className:"yst-replacevar--description"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Schema","wordpress-seo"),description:(0,Lt.sprintf)( // translators: %1$s expands to "media". %3$s expands to "Yoast SEO". (0,Lt.__)("Determine how your %1$s pages should be described by default in your site's Schema.org markup. You can always customize the settings for individual %1$s pages in the %2$s metabox.","wordpress-seo"),o,"Yoast SEO")},(0,e.createElement)(Ra,{as:l.SelectField,type:"select",name:`wpseo_titles.schema-page-type-${t}`,id:`input-wpseo_titles-schema-page-type-${t}`,label:(0,Lt.__)("Page type","wordpress-seo"),options:u,disabled:h,className:"yst-max-w-sm"}),r&&(0,e.createElement)("div",null,(0,e.createElement)(Ra,{as:l.SelectField,type:"select",name:`wpseo_titles.schema-article-type-${t}`,id:`input-wpseo_titles-schema-article-type-${t}`,label:(0,Lt.__)("Article type","wordpress-seo"),options:d,disabled:h,className:"yst-max-w-sm"}),(0,e.createElement)(za,{name:t,disabled:h}))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Additional settings","wordpress-seo")},(0,e.createElement)(Ra,{as:l.ToggleField,type:"checkbox",name:`wpseo_titles.display-metabox-pt-${t}`,id:`input-wpseo_titles-display-metabox-pt-${t}`,label:(0,Lt.__)("Enable SEO controls and assessments","wordpress-seo"),description:(0,Lt.__)("Show or hide our tools and controls in the attachment editor.","wordpress-seo"),disabled:h,className:"yst-max-w-sm"})))))},El=({children:t})=>(0,e.createElement)(l.Table.Cell,{className:"yst-font-medium"},(0,e.createElement)("span",{className:"yst-text-slate-900"},t));El.propTypes={children:ir().node.isRequired};const xl=()=>(0,e.createElement)(uo,{title:(0,Lt.__)("RSS","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("RSS feed","wordpress-seo"),description:(0,Lt.__)("Automatically add content to your RSS. This enables you to add links back to your blog and your blog posts, helping search engines identify you as the original source of the content.","wordpress-seo")},(0,e.createElement)(te,{as:l.TextareaField,type:"textarea",rows:4,name:"wpseo_titles.rssbefore",id:"input-wpseo_titles-rssbefore",label:(0,Lt.__)("Content to put before each post in the feed","wordpress-seo")}),(0,e.createElement)(te,{as:l.TextareaField,type:"textarea",rows:4,name:"wpseo_titles.rssafter",id:"input-wpseo_titles-rssafter",label:(0,Lt.__)("Content to put after each post in the feed","wordpress-seo")})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{as:"section",title:(0,Lt.__)("Available variables","wordpress-seo"),description:(0,Lt.__)("You can use the following variables within the content, they will be replaced by the value on the right.","wordpress-seo")},(0,e.createElement)(l.Table,null,(0,e.createElement)(l.Table.Head,null,(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(l.Table.Header,{scope:"col"},(0,Lt.__)("Variable","wordpress-seo")),(0,e.createElement)(l.Table.Header,{scope:"col"},(0,Lt.__)("Description","wordpress-seo")))),(0,e.createElement)(l.Table.Body,null,(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(El,null,"%%AUTHORLINK%%"),(0,e.createElement)(l.Table.Cell,null,(0,Lt.__)("A link to the archive for the post author, with the author's name as anchor text.","wordpress-seo"))),(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(El,null,"%%POSTLINK%%"),(0,e.createElement)(l.Table.Cell,null,(0,Lt.__)("A link to the post, with the title as anchor text.","wordpress-seo"))),(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(El,null,"%%BLOGLINK%%"),(0,e.createElement)(l.Table.Cell,null,(0,Lt.__)("A link to your site, with your site's name as anchor text.","wordpress-seo"))),(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(El,null,"%%BLOGDESCLINK%%"),(0,e.createElement)(l.Table.Cell,null,(0,Lt.__)("A link to your site, with your site's name and description as anchor text.","wordpress-seo"))))))))),kl=Oa(l.ToggleField),Sl=Aa($a),Ll=()=>{const t=(0,i.useMemo)((()=>(0,le.get)(window,"wpseoScriptData.separators",{})),[]),s=aa("selectPreference",[],"generalSettingsUrl"),r=aa("selectPreference",[],"canManageOptions",!1),a=aa("selectPreference",[],"showForceRewriteTitlesSetting",!1),o=aa("selectLink",[],"https://yoa.st/site-basics-replacement-variables"),n=aa("selectLink",[],"https://yoa.st/usage-tracking-2"),c=aa("selectLink",[],"https://yoa.st/site-policies-learn-more"),d=aa("selectPreference",[],"siteTitle",""),u=aa("selectLink",[],"https://yoa.st/site-policies-upsell"),p=aa("selectPreference",[],"isPremium"),m=aa("selectUpsellSettingsAsProps"),{fetchPages:f}=ta(),h=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("Usage tracking allows us to track some data about your site to improve our plugin. %1$sLearn more about which data we track and why%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)("a",{id:"link-usage-tracking",href:n,target:"_blank",rel:"noopener"})})),[]),y=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("Select the pages on your website which contain information about your organizational and publishing policies. Some of these might not apply to your site, and you can select the same page for multiple policies. %1$sLearn more about why setting your site policies is important%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)("a",{id:"link-site-policies",href:c,target:"_blank",rel:"noopener"})})),[c]),w=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s and %2$s expand to an opening and closing emphasis tag. %3$s and %4$s expand to an opening and closing anchor tag. */ (0,Lt.__)("Set the basic info for your website. You can use %1$stagline%2$s and %1$sseparator%2$s as %3$sreplacement variables%4$s when configuring the search appearance of your content.","wordpress-seo"),"","","",""),{em:(0,e.createElement)("em",null),a:(0,e.createElement)("a",{id:"site-basics-replacement-variables",href:o,target:"_blank",rel:"noopener"})})),[]),_=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */ (0,Lt.__)("We're sorry, you're not allowed to edit the %1$swebsite name%2$s and %1$stagline%2$s.","wordpress-seo"),"",""),{em:(0,e.createElement)("em",null)})),[]),g=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})})),[]),b=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening anchor tag. * %2$s expands to a closing anchor tag. */ (0,Lt.__)("This field updates the %1$stagline in your WordPress settings%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)("a",{href:`${s}#blogdescription`,target:"_blank",rel:"noopener noreferrer"})})),[]),v=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which describes the editorial principles of your organization. %1$sWhat%2$s do you write about, %1$swho%2$s do you write for, and %1$swhy%2$s?","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),E=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which describes the ownership structure of your organization. It should include information about %1$sfunding%2$s and %1$sgrants%2$s.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),x=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which describes how your organization collects and responds to %1$sfeedback%2$s, engages with the %1$spublic%2$s, and prioritizes %1$stransparency%2$s.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),k=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which outlines your procedure for addressing %1$serrors%2$s (e.g., publishing retractions or corrections).","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),S=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which describes the personal, organizational, and corporate %1$sstandards%2$s of %1$sbehavior%2$s expected by your organization.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),L=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which provides information on your diversity policies for %1$seditorial%2$s content.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),T=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which provides information about your diversity policies for %1$sstaffing%2$s, %1$shiring%2$s and %1$semployment%2$s.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),{values:F}=q(),{opengraph:$}=F.wpseo_social;return(0,i.useEffect)((()=>{f()}),[f]),(0,e.createElement)(uo,{title:(0,Lt.__)("Site basics","wordpress-seo"),description:(0,Lt.__)("Configure the basics for your website.","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("Site info","wordpress-seo"),description:w},!r&&(0,e.createElement)(l.Alert,{variant:"warning",id:"alert-site-defaults-variables",className:"yst-mb-8"},_),(0,e.createElement)("div",{className:"lg:yst-mt-0 lg:yst-col-span-2 yst-space-y-8"},(0,e.createElement)(Da,{as:l.TextField,name:"wpseo_titles.website_name",id:"input-wpseo_titles-website_name",label:(0,Lt.__)("Website name","wordpress-seo"),placeholder:d}),(0,e.createElement)(Da,{as:l.TextField,name:"wpseo_titles.alternate_website_name",id:"input-wpseo_titles-alternate_website_name",label:(0,Lt.__)("Alternate website name","wordpress-seo"),description:(0,Lt.__)("Use the alternate website name for acronyms, or a shorter version of your website's name.","wordpress-seo")}),(0,e.createElement)(te,{as:l.TextField,type:"text",name:"blogdescription",id:"input-blogdescription",label:(0,Lt.__)("Tagline","wordpress-seo"),description:r&&b,readOnly:!r})),(0,e.createElement)(l.RadioGroup,{label:(0,Lt.__)("Title separator","wordpress-seo"),variant:"inline-block"},(0,le.map)(t,(({label:t,aria_label:s},r)=>(0,e.createElement)(te,{key:r,as:l.Radio,type:"radio",variant:"inline-block",name:"wpseo_titles.separator",id:`input-wpseo_titles-separator-${r}`,label:t,isLabelDangerousHtml:!0,"aria-label":s,value:r})))),(0,e.createElement)(Wa,{isEnabled:$,text:/* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */ (0,Lt.__)("The %1$sSite image%2$s requires Open Graph data, which is currently disabled in the ‘Social sharing’ section in %3$sSite features%4$s.","wordpress-seo")}),(0,e.createElement)(ha,{id:"wpseo_social-og_default_image",label:(0,Lt.__)("Site image","wordpress-seo"),description:(0,Lt.__)("This image is used as a fallback for posts/pages that don't have any images set.","wordpress-seo"),previewLabel:g,mediaUrlName:"wpseo_social.og_default_image",mediaIdName:"wpseo_social.og_default_image_id",disabled:!$})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Site preferences","wordpress-seo")},a&&(0,e.createElement)(Ra,{as:l.ToggleField,type:"checkbox",name:"wpseo_titles.forcerewritetitle",id:"input-wpseo_titles-forcerewritetitle",label:(0,Lt.__)("Force rewrite titles","wordpress-seo"),description:(0,Lt.sprintf)(/* translators: %1$s expands to "Yoast SEO" */ (0,Lt.__)("%1$s has auto-detected whether it needs to force rewrite the titles for your pages, if you think it's wrong and you know what you're doing, you can change the setting here.","wordpress-seo"),"Yoast SEO"),className:"yst-max-w-sm"}),(0,e.createElement)(Ra,{as:l.ToggleField,type:"checkbox",name:"wpseo.disableadvanced_meta",id:"input-wpseo-disableadvanced_meta",label:(0,Lt.__)("Restrict advanced settings for authors","wordpress-seo"),description:(0,Lt.sprintf)(/* translators: %1$s expands to "Yoast SEO" */ (0,Lt.__)("By default only editors and administrators can access the Advanced and Schema section of the %1$s sidebar or metabox. Disabling this allows access to all users.","wordpress-seo"),"Yoast SEO"),className:"yst-max-w-sm"}),(0,e.createElement)(Ra,{as:kl,type:"checkbox",name:"wpseo.tracking",id:"input-wpseo-tracking",label:(0,Lt.__)("Usage tracking","wordpress-seo"),description:h,className:"yst-max-w-sm"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)(e.Fragment,null,(0,Lt.__)("Site policies","wordpress-seo"),p&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium")),description:y},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!p,variant:"card",cardLink:u,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...m},(0,e.createElement)(Sl,{name:"wpseo_titles.publishing_principles_id",id:"input-wpseo_titles-publishing_principles_id",label:(0,Lt.__)("Publishing principles","wordpress-seo"),className:"yst-max-w-sm",description:v,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.ownership_funding_info_id",id:"input-wpseo_titles-ownership_funding_info_id",label:(0,Lt.__)("Ownership / Funding info","wordpress-seo"),className:"yst-max-w-sm",description:E,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.actionable_feedback_policy_id",id:"input-wpseo_titles-actionable_feedback_policy_id",label:(0,Lt.__)("Actionable feedback policy","wordpress-seo"),className:"yst-max-w-sm",description:x,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.corrections_policy_id",id:"input-wpseo_titles-corrections_policy_id",label:(0,Lt.__)("Corrections policy","wordpress-seo"),className:"yst-max-w-sm",description:k,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.ethics_policy_id",id:"input-wpseo_titles-ethics_policy_id",label:(0,Lt.__)("Ethics policy","wordpress-seo"),className:"yst-max-w-sm",description:S,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.diversity_policy_id",id:"input-wpseo_titles-diversity_policy_id",label:(0,Lt.__)("Diversity policy","wordpress-seo"),className:"yst-max-w-sm",description:L,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.diversity_staffing_report_id",id:"input-wpseo_titles-diversity_staffing_report_id",label:(0,Lt.__)("Diversity staffing report","wordpress-seo"),className:"yst-max-w-sm",description:T,isDummy:!p}))))))},Tl=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))})),Fl=({name:t,cardId:s,inputId:r,children:a,imageSrc:o,imageAlt:n,isPremiumFeature:c=!1,isPremiumLink:d="",isBetaFeature:u=!1,isNewFeature:p=!1,hasPremiumBadge:m=!1,title:f})=>{const h=aa("selectPreference",[],"isPremium"),y=aa("selectPluginUrl",[o],o),{isDisabled:w,message:_,disabledSetting:g}=Xr({name:t}),{values:b}=q(),v=aa("selectLink",[d],d),E=aa("selectUpsellSettingsAsProps"),x=(0,l.useSvgAria)(),k=(0,i.useMemo)((()=>(0,le.get)(b,t,!1)),[b,t]),S=(0,i.useMemo)((()=>!h&&c),[h,c]),L=(0,i.useMemo)((()=>w||!S&&!k),[w,S,k]),T=(0,i.useMemo)((()=>w||h&&c&&m||u||p&&!h),[w,h,c,u,p]);return(0,e.createElement)(l.Card,{id:s},(0,e.createElement)(l.Card.Header,{className:"yst-h-auto yst-p-0"},(0,e.createElement)("img",{className:or()("yst-w-full yst-transition yst-duration-200",L&&"yst-opacity-50 yst-filter yst-grayscale"),src:y,alt:null!=n?n:"",width:500,height:250,loading:"lazy",decoding:"async"}),T&&(0,e.createElement)("div",{className:"yst-absolute yst-top-2 yst-end-2 yst-flex yst-gap-1.5"},w&&(0,e.createElement)(l.Badge,{size:"small",variant:"plain"},_),h&&c&&m&&(0,e.createElement)(l.Badge,{size:"small",variant:"upsell"},"Premium"),u&&(0,e.createElement)(l.Badge,{size:"small",variant:"info"},"Beta"),p&&!h&&(0,e.createElement)(l.Badge,{size:"small",variant:"info"},"New"))),(0,e.createElement)(l.Card.Content,{className:"yst-flex yst-flex-col yst-gap-3"},(0,e.createElement)(l.Title,{as:"h3"},f),a),(0,e.createElement)(l.Card.Footer,null,!S&&(0,e.createElement)(Ra,{as:l.ToggleField,type:"checkbox",name:t,id:r,"aria-label":`${(0,Lt.__)("Enable feature","wordpress-seo")} ${f}`,label:(0,Lt.__)("Enable feature","wordpress-seo"),disabled:w,checked:"language"!==g&&k}),S&&(0,e.createElement)(l.Button,{as:"a",className:"yst-gap-2 yst-w-full yst-px-2",variant:"upsell",href:v,target:"_blank",rel:"noopener",...E},(0,e.createElement)(cr,{className:"yst-w-5 yst-h-5 yst--ms-1 yst-shrink-0",...x}),(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"))))};Fl.propTypes={name:ir().string.isRequired,cardId:ir().string.isRequired,inputId:ir().string.isRequired,children:ir().node.isRequired,imageSrc:ir().string.isRequired,imageAlt:ir().string,isPremiumFeature:ir().bool,isBetaFeature:ir().bool,isNewFeature:ir().bool,isPremiumLink:ir().string,hasPremiumBadge:ir().bool,title:ir().string.isRequired};const $l=({id:t,link:s,ariaLabel:r,...a})=>{const o=aa("selectLink",[s],s);return(0,e.createElement)(l.Link,{id:t,href:o,variant:"primary",className:"yst-flex yst-items-center yst-gap-1 yst-no-underline yst-font-medium",target:"_blank",rel:"noopener","aria-label":(0,Lt.sprintf)(/* translators: Hidden accessibility text; %s expands to a translated string of this feature, e.g. "SEO analysis". */ (0,Lt.__)("Learn more about %s (Opens in a new browser tab)","wordpress-seo"),r),...a},(0,Lt.__)("Learn more","wordpress-seo"),(0,e.createElement)(xr,{className:"yst-w-4 yst-h-4 yst-icon-rtl"}))};$l.propTypes={id:ir().string.isRequired,link:ir().string.isRequired,ariaLabel:ir().string.isRequired};const Pl=()=>{const t=aa("selectPreference",[],"isPremium"),s=aa("selectPreference",[],"sitemapUrl"),{values:r,initialValues:a}=q(),{enable_xml_sitemap:o}=r.wpseo,{enable_xml_sitemap:n}=a.wpseo,c=(0,i.useMemo)((()=>t?"yst-grid yst-gap-6 yst-grid-cols-1 sm:yst-grid-cols-2 min-[783px]:yst-grid-cols-1 lg:yst-grid-cols-2 xl:yst-grid-cols-3 2xl:yst-grid-cols-4":"yst-grid yst-gap-6 yst-grid-cols-1 sm:yst-grid-cols-2 min-[783px]:yst-grid-cols-1 lg:yst-grid-cols-2 2xl:yst-grid-cols-3 min-[1800px]:yst-grid-cols-4"),[t]);return(0,e.createElement)(uo,{title:(0,Lt.__)("Site features","wordpress-seo"),description:(0,Lt.__)("Tell us which features you want to use.","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-6xl"},(0,e.createElement)("fieldset",{className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("Writing","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2"},(0,Lt.__)("Writing","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo.keyword_analysis_active",cardId:"card-wpseo-keyword_analysis_active",inputId:"input-wpseo-keyword_analysis_active",imageSrc:"/images/seo_analysis.png",title:(0,Lt.__)("SEO analysis","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("The SEO analysis offers suggestions to improve the findability of your text and makes sure that your content meets best practices.","wordpress-seo")),(0,e.createElement)($l,{id:"link-seo-analysis",link:"https://yoa.st/2ak",ariaLabel:(0,Lt.__)("SEO analysis","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.content_analysis_active",cardId:"card-wpseo-content_analysis_active",inputId:"input-wpseo-content_analysis_active",imageSrc:"/images/readability_analysis.png",title:(0,Lt.__)("Readability analysis","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("The readability analysis offers suggestions to improve the structure and style of your text.","wordpress-seo")),(0,e.createElement)($l,{id:"link-readability-analysis",link:"https://yoa.st/2ao",ariaLabel:(0,Lt.__)("Readability analysis","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.inclusive_language_analysis_active",cardId:"card-wpseo-inclusive_language_analysis_active",inputId:"input-wpseo-inclusive_language_analysis_active",imageSrc:"/images/inclusive_language_analysis.png",title:(0,Lt.__)("Inclusive language analysis","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("The inclusive language analysis offers suggestions to write more inclusive copy, so more people will be able to relate to your content.","wordpress-seo")),(0,e.createElement)($l,{id:"link-inclusive-language-analysis",link:"https://yoa.st/inclusive-language-feature-learn-more",ariaLabel:(0,Lt.__)("Inclusive language analysis","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_ai_generator",cardId:"card-wpseo-enable_ai_generator",inputId:"input-wpseo-enable_ai_generator",imageSrc:"/images/ai-generator.png",isPremiumFeature:!0,hasPremiumBadge:!1,isBetaFeature:!0,isPremiumLink:"https://yoa.st/get-ai-generator",title:"Yoast AI"},(0,e.createElement)("p",null,(0,Lt.__)("The AI features help you create better content by providing optimization suggestions that you can apply as you wish.","wordpress-seo")),(0,e.createElement)($l,{id:"link-ai-generator",link:"https://yoa.st/ai-generator-feature",ariaLabel:(0,Lt.__)("AI title & description generator","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_metabox_insights",cardId:"card-wpseo-enable_metabox_insights",inputId:"input-wpseo-enable_metabox_insights",imageSrc:"/images/insights.png",title:(0,Lt.__)("Insights","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Get more insights into what you are writing. What words do you use most often? How much time does it take to read your text? Is your text easy to read?","wordpress-seo")),(0,e.createElement)($l,{id:"link-insights",link:"https://yoa.st/4ew",ariaLabel:(0,Lt.__)("Insights","wordpress-seo")})))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("fieldset",{className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("Site structure","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2"},(0,Lt.__)("Site structure","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo.enable_cornerstone_content",cardId:"card-wpseo-enable_cornerstone_content",inputId:"input-wpseo-enable_cornerstone_content",imageSrc:"/images/cornerstone_content.png",title:(0,Lt.__)("Cornerstone content","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Mark and filter your cornerstone content to make sure your most important articles get the attention they deserve. To help you write excellent copy, we’ll assess your text more strictly.","wordpress-seo")),(0,e.createElement)($l,{id:"link-cornerstone-content",link:"https://yoa.st/dashboard-help-cornerstone",ariaLabel:(0,Lt.__)("Cornerstone content","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_text_link_counter",cardId:"card-wpseo-enable_text_link_counter",inputId:"input-wpseo-enable_text_link_counter",imageSrc:"/images/text_link_counter.png",title:(0,Lt.__)("Text link counter","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Count the number of internal links from and to your posts to improve your site structure.","wordpress-seo")),(0,e.createElement)($l,{id:"link-text-link-counter",link:"https://yoa.st/2aj",ariaLabel:(0,Lt.__)("Text link counter","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_link_suggestions",cardId:"card-wpseo-enable_link_suggestions",inputId:"input-wpseo-enable_link_suggestions",imageSrc:"/images/link_suggestions.png",isPremiumFeature:!0,hasPremiumBadge:!0,isPremiumLink:"https://yoa.st/get-link-suggestions",title:(0,Lt.__)("Internal linking suggestions","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("No need to figure out what to link to. You get linking suggestions for relevant posts and pages to make your website easier to navigate.","wordpress-seo")),(0,e.createElement)($l,{id:"link-suggestions-link",link:t?"https://yoa.st/17g":"https://yoa.st/4ev",ariaLabel:(0,Lt.__)("Link suggestions","wordpress-seo")})))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("fieldset",{id:"section-social-sharing",className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("Social sharing","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2",className:"yst-mb-2"},(0,Lt.__)("Social sharing","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo_social.opengraph",cardId:"card-wpseo_social-opengraph",inputId:"input-wpseo_social-opengraph",imageSrc:"/images/open_graph.png",title:(0,Lt.__)("Open Graph data","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Allows for Facebook and other social media to display a preview with images and a text excerpt when a link to your site is shared. Keep this feature enabled to optimize your site for social media.","wordpress-seo")),(0,e.createElement)($l,{id:"link-open-graph-data",link:"https://yoa.st/site-features-open-graph-data",ariaLabel:(0,Lt.__)("Open Graph data","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo_social.twitter",cardId:"card-wpseo_social-twitter",inputId:"input-wpseo_social-twitter",imageSrc:"/images/twitter_card.png",title:(0,Lt.__)("X card data","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Allows for X to display a preview with images and a text excerpt when a link to your site is shared.","wordpress-seo")),(0,e.createElement)($l,{id:"link-twitter-card-data",link:"https://yoa.st/site-features-twitter-card-data",ariaLabel:(0,Lt.__)("X card data","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_enhanced_slack_sharing",cardId:"card-wpseo-enable_enhanced_slack_sharing",inputId:"input-wpseo-enable_enhanced_slack_sharing",imageSrc:"/images/slack_sharing.png",title:(0,Lt.__)("Slack sharing","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("This adds an author byline and reading time estimate to the article’s snippet when shared on Slack.","wordpress-seo")),(0,e.createElement)($l,{id:"link-slack-sharing",link:"https://yoa.st/help-slack-share",ariaLabel:(0,Lt.__)("Slack sharing","wordpress-seo")})))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("fieldset",{className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("Tools","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2"},(0,Lt.__)("Tools","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo.enable_admin_bar_menu",cardId:"card-wpseo-enable_admin_bar_menu",inputId:"input-wpseo-enable_admin_bar_menu",imageSrc:"/images/admin_bar.png",title:(0,Lt.__)("Admin bar menu","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.sprintf)( // translators: %1$s expands to Yoast. (0,Lt.__)("The %1$s icon in the top admin bar provides quick access to third-party tools for analyzing pages and makes it easy to see if you have new notifications.","wordpress-seo"),"Yoast")),(0,e.createElement)($l,{id:"link-admin-bar",link:"https://yoa.st/site-features-admin-bar",ariaLabel:(0,Lt.__)("Admin bar menu","wordpress-seo")})))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("fieldset",{className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("APIs","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2"},(0,Lt.__)("APIs","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo.enable_headless_rest_endpoints",cardId:"card-wpseo-enable_headless_rest_endpoints",inputId:"input-wpseo-enable_headless_rest_endpoints",imageSrc:"/images/rest_api.png",title:(0,Lt.__)("REST API endpoint","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("This Yoast SEO REST API endpoint gives you all the metadata you need for a specific URL. This will make it very easy for headless WordPress sites to use Yoast SEO for all their SEO meta output.","wordpress-seo")),(0,e.createElement)($l,{id:"link-rest-api-endpoint",link:"https://yoa.st/site-features-rest-api-endpoint",ariaLabel:(0,Lt.__)("REST API endpoint","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_xml_sitemap",cardId:"card-wpseo-enable_xml_sitemap",inputId:"input-wpseo-enable_xml_sitemap",imageSrc:"/images/xml_sitemaps.png",title:(0,Lt.__)("XML sitemaps","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.sprintf)( // translators: %1$s expands to "Yoast SEO". (0,Lt.__)("Enable the %1$s XML sitemaps. A sitemap is a file that lists a website's essential pages to make sure search engines can find and crawl them.","wordpress-seo"),"Yoast SEO")),n&&o&&(0,e.createElement)(l.Button,{as:"a",id:"link-xml-sitemaps",href:s,variant:"secondary",target:"_blank",rel:"noopener",className:"yst-self-start"},(0,Lt.__)("View the XML sitemap","wordpress-seo"),(0,e.createElement)(Tl,{className:"yst--me-1 yst-ms-1 yst-h-5 yst-w-5 yst-text-slate-400 rtl:yst-rotate-[270deg]"})),(0,e.createElement)($l,{id:"link-xml-sitemaps-learn-more",link:"https://yoa.st/2a-",ariaLabel:(0,Lt.__)("XML sitemaps","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_index_now",cardId:"card-wpseo-enable_index_now",inputId:"input-wpseo-enable_index_now",imageSrc:"/images/indexnow.png",isPremiumFeature:!0,hasPremiumBadge:!0,isPremiumLink:"https://yoa.st/get-indexnow",title:(0,Lt.__)("IndexNow","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Automatically ping search engines like Bing and Yandex whenever you publish, update or delete a post.","wordpress-seo")),(0,e.createElement)($l,{id:"link-index-now",link:"https://yoa.st/index-now-feature",ariaLabel:(0,Lt.__)("IndexNow","wordpress-seo")})))))))},Rl=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"}))})),Nl=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{fillRule:"evenodd",d:"M10 3a1 1 0 011 1v5h5a1 1 0 110 2h-5v5a1 1 0 11-2 0v-5H4a1 1 0 110-2h5V4a1 1 0 011-1z",clipRule:"evenodd"}))})),Il=Ca(Da),Ol=Aa(Ia),Cl=()=>{const{values:t}=q(),{website_name:s,company_or_person:r,company_or_person_user_id:a,company_name:o,company_logo_id:n}=t.wpseo_titles,{other_social_urls:c}=t.wpseo_social,d=aa("selectUserById",[a],a),u=aa("selectLink",[],"https://yoa.st/1-p"),p=aa("selectLink",[],"https://yoa.st/3r3"),m=aa("selectLink",[],"https://yoa.st/site-representation-org-additional-info-upsell"),f=aa("selectLink",[],"https://yoa.st/site-representation-org-identifiers"),h=aa("selectLink",[],"https://yoa.st/site-representation-organization-person"),y=aa("selectPreference",[],"editUserUrl"),w=aa("selectPreference",[],"isLocalSeoActive"),_=aa("selectPreference",[],"companyOrPersonMessage"),g=aa("selectFallback",[],"siteLogoId"),b=aa("selectCanEditUser",[null==d?void 0:d.id],null==d?void 0:d.id),v=aa("selectPreference",[],"isPremium"),E=aa("selectUpsellSettingsAsProps"),x=aa("selectLink",[],"https://yoa.st/get-mastodon-integration"),k=aa("selectLink",[],"https://yoa.st/site-representation-mastodon"),S=aa("selectPreference",[],"localSeoPageSettingUrl");let L=(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Lt.__)("You have %1$s activated on your site. You can provide your VAT ID and Tax ID in the %2$s‘Business info’ settings%3$s.","wordpress-seo"),"Yoast Local SEO","",""),{a:(0,e.createElement)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})}),T=(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Lt.__)("You have %1$s activated on your site. You can provide your email and phone in the %2$s‘Business info’ settings%3$s.","wordpress-seo"),"Yoast Local SEO","",""),{a:(0,e.createElement)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})});S.includes("wpseo_locations")&&(L=(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Lt.__)("You have %1$s activated on your site, and you've configured your business for multiple locations. This allows you to provide your VAT ID and Tax ID for %2$seach specific location%3$s.","wordpress-seo"),"Yoast Local SEO","",""),{a:(0,e.createElement)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})}),T=(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Lt.__)("You have %1$s activated on your site, and you've configured your business for multiple locations. This allows you to provide your email and phone for %2$seach specific location%3$s.","wordpress-seo"),"Yoast Local SEO","",""),{a:(0,e.createElement)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})}));const F=(0,i.useCallback)((async e=>{var t;await e.push(""),null===(t=document.getElementById(`input-wpseo_social-other_social_urls-${c.length}`))||void 0===t||t.focus()}),[c]);return(0,e.createElement)(uo,{title:(0,Lt.__)("Site representation","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. (0,Lt.__)("This info is intended to appear in %1$sGoogle's Knowledge Graph%2$s.","wordpress-seo"),"",""),u,"link-google-knowledge-graph")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("Organization/person","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. (0,Lt.__)("Choose whether your site represents an organization or a person. %1$sLearn more about the differences and choosing between Organization and Person%2$s.","wordpress-seo"),"",""),h,"link-site-representation-organization-person")},w&&(0,e.createElement)(l.Alert,{id:"alert-local-seo-company-or-person",variant:"info"},_),(0,e.createElement)(l.RadioGroup,{disabled:w},(0,e.createElement)(te,{as:l.Radio,type:"radio",name:"wpseo_titles.company_or_person",id:"input-wpseo_titles-company_or_person-company",label:(0,Lt.__)("Organization","wordpress-seo"),value:"company",disabled:w}),(0,e.createElement)(te,{as:l.Radio,type:"radio",name:"wpseo_titles.company_or_person",id:"input-wpseo_titles-company_or_person-person",label:(0,Lt.__)("Person","wordpress-seo"),value:"person",disabled:w}))),(0,e.createElement)("section",{className:"yst-space-y-8"}),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("div",{className:"yst-relative"},(0,e.createElement)(ia.Z,{easing:"ease-out",duration:300,delay:300,height:"company"===r?"auto":0,animateOpacity:!0},(0,e.createElement)(na,{title:(0,Lt.__)("Organization","wordpress-seo"),description:(0,Lt.__)("Please tell us more about your organization. This information will help Google to understand your website, and improve your chance of getting rich results.","wordpress-seo")},(!o||n<1)&&(0,e.createElement)(l.Alert,{id:"alert-organization-name-logo",variant:"info"},Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. (0,Lt.__)("An organization name and logo need to be set for structured data to work properly. Since you haven’t set these yet, we are using the site name and logo as default values. %1$sLearn more about the importance of structured data%2$s.","wordpress-seo"),"",""),p,"link-structured-data")),(0,e.createElement)(te,{as:l.TextField,name:"wpseo_titles.company_name",id:"input-wpseo_titles-company_name",label:(0,Lt.__)("Organization name","wordpress-seo"),placeholder:s}),(0,e.createElement)(te,{as:l.TextField,name:"wpseo_titles.company_alternate_name",id:"input-wpseo_titles-company_alternate_name",label:(0,Lt.__)("Alternate organization name","wordpress-seo"),description:(0,Lt.__)("Use the alternate organization name for acronyms, or a shorter version of your organization's name.","wordpress-seo")}),(0,e.createElement)(ha,{id:"wpseo_titles-company_logo",label:(0,Lt.__)("Organization logo","wordpress-seo"),variant:"square",previewLabel:(0,i.createInterpolateElement)((0,Lt.sprintf)( /* translators: %1$s expands to an opening strong tag. %2$s expands to a closing strong tag. %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","696x696px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})}),mediaUrlName:"wpseo_titles.company_logo",mediaIdName:"wpseo_titles.company_logo_id",fallbackMediaId:g})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{id:"fieldset-wpseo_social-other_social_urls",title:(0,Lt.__)("Other profiles","wordpress-seo"),description:(0,Lt.__)("Tell us if you have any other profiles on the web that belong to your organization. This can be any number of profiles, like YouTube, LinkedIn, Pinterest, or even Wikipedia.","wordpress-seo")},(0,e.createElement)(Da,{as:l.TextField,name:"wpseo_social.facebook_site",id:"input-wpseo_social-facebook_site",label:(0,Lt.__)("Facebook","wordpress-seo"),placeholder:(0,Lt.__)("E.g. https://facebook.com/yoast","wordpress-seo")}),(0,e.createElement)(Da,{as:l.TextField,name:"wpseo_social.twitter_site",id:"input-wpseo_social-twitter_site",label:(0,Lt.__)("X","wordpress-seo"),placeholder:(0,Lt.__)("E.g. https://x.com/yoast","wordpress-seo")}),(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!v,variant:"card",cardLink:x,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...E},(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_social.mastodon_url",id:"input-wpseo_social-mastodon_url",label:(0,Lt.__)("Mastodon","wordpress-seo"),placeholder:(0,Lt.__)("E.g. https://mastodon.social/@yoast","wordpress-seo"),labelSuffix:v&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium"),isDummy:!v,description:(0,e.createElement)(i.Fragment,null,(0,Lt.__)("Get your site verified in your Mastodon profile.","wordpress-seo")," ",(0,e.createElement)(l.Link,{id:"link-wpseo_social-mastodon_url",href:k,target:"_blank",rel:"noopener"},(0,Lt.__)("Read more about how to get your site verified.","wordpress-seo")))})),(0,e.createElement)(ie,{name:"wpseo_social.other_social_urls"},(t=>(0,e.createElement)(i.Fragment,null,c.map(((s,r)=>(0,e.createElement)(Js,{key:`wpseo_social.other_social_urls.${r}`,as:i.Fragment,appear:!0,show:!0,enter:"yst-transition yst-ease-out yst-duration-300",enterFrom:"yst-transform yst-opacity-0",enterTo:"yst-transform yst-opacity-100",leave:"yst-transition yst-ease-out yst-duration-300",leaveFrom:"yst-transform yst-opacity-100",leaveTo:"yst-transform yst-opacity-0"},(0,e.createElement)("div",{className:"yst-w-full yst-flex yst-items-start yst-gap-2"},(0,e.createElement)(Da,{as:l.TextField,name:`wpseo_social.other_social_urls.${r}`,id:`input-wpseo_social-other_social_urls-${r}`,label:(0,Lt.sprintf)((0,Lt.__)("Other profile %1$s","wordpress-seo"),r+1),placeholder:(0,Lt.__)("E.g. https://example.com/yoast","wordpress-seo"),className:"yst-grow"}),(0,e.createElement)(l.Button,{variant:"secondary",onClick:t.remove.bind(null,r),className:"yst-mt-7 yst-p-2.5","aria-label":(0,Lt.sprintf)((0,Lt.__)("Remove Other profile %1$s","wordpress-seo"),r+1)},(0,e.createElement)(Rl,{className:"yst-h-5 yst-w-5"})))))),(0,e.createElement)(l.Button,{id:"button-add-social-profile",variant:"secondary",onClick:()=>F(t)},(0,e.createElement)(Nl,{className:"yst--ms-1 yst-me-1 yst-h-5 yst-w-5 yst-text-slate-400"}),(0,Lt.__)("Add another profile","wordpress-seo")))))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)(i.Fragment,null,(0,Lt.__)("Additional organization info","wordpress-seo"),v&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium")),description:(0,Lt.__)("Enrich your organization's profile by providing more in-depth information. The more details you share, the better Google understands your website.","wordpress-seo")},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!v,variant:"card",cardLink:m,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...E},(0,e.createElement)(Il,{as:l.TextareaField,name:"wpseo_titles.org-description",id:"input-wpseo_titles-org-description",label:(0,Lt.__)("Organization description","wordpress-seo"),isDummy:!v,maxLength:2e3}),w&&v&&(0,e.createElement)(l.Alert,{id:"alert-local-seo-vat-or-tax-id",variant:"info"},T),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-email",id:"input-wpseo_titles-org-email",type:"email",label:(0,Lt.__)("Organization email address","wordpress-seo"),isDummy:!v||w}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-phone",id:"input-wpseo_titles-org-phone",label:(0,Lt.__)("Organization phone number","wordpress-seo"),isDummy:!v||w}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-legal-name",id:"input-wpseo_titles-org-legal-name",label:(0,Lt.__)("Organization's legal name","wordpress-seo"),isDummy:!v}),(0,e.createElement)(Il,{as:l.TextField,className:"yst-w-3/5",name:"wpseo_titles.org-founding-date",id:"input-wpseo_titles-org-founding-date",label:(0,Lt.__)("Organization's founding date","wordpress-seo"),type:"date",isDummy:!v}),(0,e.createElement)(Ol,{name:"wpseo_titles.org-number-employees",className:"yst-w-3/5",id:"input-wpseo_titles-org-number-employees",label:(0,Lt.__)("Number of employees","wordpress-seo"),placeholder:(0,Lt.__)("Select a range / Enter a number","wordpress-seo"),isDummy:!v,options:[{value:"",label:"None"},{value:"1-10",label:(0,Lt.__)("1–10 employees","wordpress-seo")},{value:"11-50",label:(0,Lt.__)("11–50 employees","wordpress-seo")},{value:"51-200",label:(0,Lt.__)("51–200 employees","wordpress-seo")},{value:"201-500",label:(0,Lt.__)("201–500 employees","wordpress-seo")},{value:"501-1000",label:(0,Lt.__)("501–1000 employees","wordpress-seo")},{value:"1001-5000",label:(0,Lt.__)("1001–5000 employees","wordpress-seo")},{value:"5001-10000",label:(0,Lt.__)("5001–10000 employees","wordpress-seo")}]}))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)(i.Fragment,null,(0,Lt.__)("Organization identifiers","wordpress-seo"),v&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium")),description:(0,Lt.__)("Please tell us more about your organization’s identifiers. This information will help Google to display accurate and helpful details about your organization.","wordpress-seo")},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!v,variant:"card",cardLink:f,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...E},w&&v&&(0,e.createElement)(l.Alert,{id:"alert-local-seo-vat-or-tax-id",variant:"info"},L),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-vat-id",id:"input-wpseo_titles-org-vat-id",label:(0,Lt.__)("VAT ID","wordpress-seo"),isDummy:!v||w}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-tax-id",id:"input-wpseo_titles-org-tax-id",label:(0,Lt.__)("Tax ID","wordpress-seo"),isDummy:!v||w}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-iso",id:"input-wpseo_titles-org-iso",label:(0,Lt.__)("ISO 6523","wordpress-seo"),isDummy:!v}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-duns",id:"input-wpseo_titles-org-duns",label:(0,Lt.__)("DUNS","wordpress-seo"),isDummy:!v}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-leicode",id:"input-wpseo_titles-org-leicode",label:(0,Lt.__)("LEI code","wordpress-seo"),isDummy:!v}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-naics",id:"input-wpseo_titles-org-naics",label:(0,Lt.__)("NAICS","wordpress-seo"),isDummy:!v})))),(0,e.createElement)(ia.Z,{easing:"ease-out",duration:300,delay:300,height:"person"===r?"auto":0,animateOpacity:!0},(0,e.createElement)(na,{title:(0,Lt.__)("Personal info","wordpress-seo"),description:(0,Lt.__)("Please tell us more about the person this site represents.","wordpress-seo")},(0,e.createElement)(Sa,{name:"wpseo_titles.company_or_person_user_id",id:"input-wpseo_titles-company_or_person_user_id",label:(0,Lt.__)("Select a user","wordpress-seo"),className:"yst-max-w-sm"}),!(0,le.isEmpty)(d)&&(0,e.createElement)(l.Alert,{id:"alert-person-user-profile"},b&&(0,i.createInterpolateElement)((0,Lt.sprintf)( /* translators: %1$s and %2$s are replaced by opening and closing tags. %3$s and %4$s are replaced by opening and closing tags. %5$s is replaced by the selected user display name. */ (0,Lt.__)("You have selected the user %1$s%5$s%2$s as the person this site represents. Their user profile information will now be used in search results. %3$sUpdate their profile to make sure the information is correct%4$s.","wordpress-seo"),"","","","",null==d?void 0:d.name),{strong:(0,e.createElement)("strong",{className:"yst-font-medium"}),a:(0,e.createElement)("a",{id:"link-person-user-profile",href:`${y}?user_id=${null==d?void 0:d.id}`,target:"_blank",rel:"noopener noreferrer"})}),!b&&(0,i.createInterpolateElement)((0,Lt.sprintf)( /* translators: %1$s and %2$s are replaced by opening and closing tags. %3$s is replaced by the selected user display name. */ (0,Lt.__)("You have selected the user %1$s%3$s%2$s as the person this site represents. Their user profile information will now be used in search results. We're sorry, you're not allowed to edit this user's profile. Please contact your admin or %1$s%3$s%2$s to check and/or update the profile.","wordpress-seo"),"","",null==d?void 0:d.name),{strong:(0,e.createElement)("strong",{className:"yst-font-medium"})})),(0,e.createElement)(ha,{id:"wpseo_titles-person_logo",label:(0,Lt.__)("Personal logo or avatar","wordpress-seo"),variant:"square",previewLabel:(0,i.createInterpolateElement)((0,Lt.sprintf)( /* translators: %1$s expands to an opening strong tag. %2$s expands to a closing strong tag. %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","696x696px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})}),mediaUrlName:"wpseo_titles.person_logo",mediaIdName:"wpseo_titles.person_logo_id",fallbackMediaId:g,disabled:!a})))))))},Al=()=>{const t=aa("selectReplacementVariablesFor",[],"search","search"),s=aa("selectRecommendedReplacementVariablesFor",[],"search","search"),r=aa("selectReplacementVariablesFor",[],"404","404"),a=aa("selectRecommendedReplacementVariablesFor",[],"404","404");return(0,e.createElement)(uo,{title:(0,Lt.__)("Special pages","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("Internal search pages","wordpress-seo"),description:(0,Lt.__)("Determine how the title of your internal search pages should look in the browser.","wordpress-seo")},(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.title-search-wpseo",fieldId:"input-wpseo_titles-title-search-wpseo",label:(0,Lt.__)("Page title","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("404 error pages","wordpress-seo"),description:(0,Lt.__)("Determine how the title of your 404 error pages should look in the browser.","wordpress-seo")},(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.title-404-wpseo",fieldId:"input-wpseo_titles-title-404-wpseo",label:(0,Lt.__)("Page title","wordpress-seo"),replacementVariables:r,recommendedReplacementVariables:a})))))},Ml=/content=(['"])?(?[^'"> ]+)(?:\1|[ />])/,Dl=e=>{var t;const s=e.target.value.match(Ml);return null!=s&&null!==(t=s.groups)&&void 0!==t&&t.content?s.groups.content:e.target.value},Bl=Ma(Ra),Ul=()=>{const t=aa("selectPreference",[],"siteUrl");return(0,e.createElement)(uo,{title:(0,Lt.__)("Site connections","wordpress-seo"),description:(0,Lt.__)("Verify your site with different tools. This will add a verification meta tag to your homepage. You can find instructions on how to verify your site for each platform by following the link in the description.","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)("fieldset",{className:"yst-min-width-0 yst-max-w-screen-sm yst-space-y-8"},(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo.baiduverify",id:"input-wpseo-baiduverify",label:(0,Lt.__)("Baidu","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Get your verification code in %1$sBaidu Webmaster tools%2$s.","wordpress-seo"),"",""),"https://ziyuan.baidu.com/site","link-baidu-webmaster-tools"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl}),(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo.msverify",id:"input-wpseo-msverify",label:(0,Lt.__)("Bing","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Get your verification code in %1$sBing Webmaster tools%2$s.","wordpress-seo"),"",""),`https://www.bing.com/toolbox/webmaster/#/Dashboard/?url=${t}`,"link-bing-webmaster-tools"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl}),(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo.googleverify",id:"input-wpseo-googleverify",label:(0,Lt.__)("Google","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Get your verification code in %1$sGoogle Search console%2$s.","wordpress-seo"),"",""),(0,Rt.addQueryArgs)("https://search.google.com/search-console/users",{hl:"en",tid:"alternate",siteUrl:t}),"link-google-search-console"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl}),(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo_social.pinterestverify",id:"input-wpseo_social-pinterestverify",label:(0,Lt.__)("Pinterest","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Claim your site over at %1$sPinterest%2$s.","wordpress-seo"),"",""),"https://www.pinterest.com/settings/claim","link-pinterest"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl}),(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo.yandexverify",id:"input-wpseo-yandexverify",label:(0,Lt.__)("Yandex","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Get your verification code in %1$sYandex Webmaster tools%2$s.","wordpress-seo"),"",""),"https://webmaster.yandex.com/sites/add/","link-yandex-webmaster-tools"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl})))))},jl=({postTypes:t,taxonomies:s,idSuffix:r=""})=>{const a=(0,l.useSvgAria)(),o=aa("selectPreference",[],"isPremium"),n=(0,i.useCallback)((({show:t,toggle:s,ariaProps:r})=>{const o=(0,i.useMemo)((()=>t?sr:rr),[t]);return(0,e.createElement)("div",{className:"yst-relative"},(0,e.createElement)("hr",{className:"yst-absolute yst-inset-x-0 yst-top-1/2 yst-bg-slate-200"}),(0,e.createElement)("button",{type:"button",className:"yst-relative yst-flex yst-items-center yst-gap-1.5 yst-px-2.5 yst-py-1 yst-mx-auto yst-text-xs yst-font-medium yst-text-slate-700 yst-bg-slate-50 yst-rounded-full yst-border yst-border-slate-300 hover:yst-bg-white hover:yst-text-slate-800 focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-primary-500 focus:yst-ring-offset-2",onClick:s,...r},t?(0,Lt.__)("Show less","wordpress-seo"):(0,Lt.__)("Show more","wordpress-seo"),(0,e.createElement)(o,{className:"yst-h-4 yst-w-4 yst-flex-shrink-0 yst-text-slate-400 group-hover:yst-text-slate-500 yst-stroke-3",...a})))}),[]);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("header",{className:"yst-px-3 yst-mb-6 yst-space-y-6"},(0,e.createElement)(Et,{id:`link-yoast-logo${r}`,to:"/",className:"yst-inline-block yst-rounded-md focus:yst-ring-primary-500","aria-label":"Yoast SEO"+(o?" Premium":"")},(0,e.createElement)(Qr,{className:"yst-w-40",...a})),(0,e.createElement)(Ji,{buttonId:`button-search${r}`})),(0,e.createElement)("div",{className:"yst-px-0.5 yst-space-y-6"},(0,e.createElement)(l.SidebarNavigation.MenuItem,{id:`menu-general${r}`,icon:Qs,label:(0,Lt.__)("General","wordpress-seo")},(0,e.createElement)(vr,{to:"/site-features",label:(0,Lt.__)("Site features","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/site-basics",label:(0,Lt.__)("Site basics","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/site-representation",label:(0,Lt.__)("Site representation","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/site-connections",label:(0,Lt.__)("Site connections","wordpress-seo"),idSuffix:r})),(0,e.createElement)(l.SidebarNavigation.MenuItem,{id:`menu-content-types${r}`,icon:Xs,label:(0,Lt.__)("Content types","wordpress-seo")},(0,e.createElement)(l.ChildrenLimiter,{limit:5,renderButton:n},(0,e.createElement)(vr,{to:"/homepage",label:(0,Lt.__)("Homepage","wordpress-seo"),idSuffix:r}),(0,le.map)(t,(({name:t,route:s,label:a,isNew:o})=>(0,e.createElement)(vr,{key:`link-post-type-${t}`,to:`/post-type/${s}`,label:(0,e.createElement)("span",{className:"yst-inline-flex yst-items-center yst-gap-1.5"},a,o&&(0,e.createElement)(l.Badge,{variant:"info"},(0,Lt.__)("New","wordpress-seo"))),idSuffix:r}))))),(0,e.createElement)(l.SidebarNavigation.MenuItem,{id:`menu-categories-and-tags${r}`,icon:er,label:(0,Lt.__)("Categories & tags","wordpress-seo")},(0,e.createElement)(l.ChildrenLimiter,{limit:5,renderButton:n},(0,le.map)(s,(t=>(0,e.createElement)(vr,{key:`link-taxonomy-${t.name}`,to:`/taxonomy/${t.route}`,label:(0,e.createElement)("span",{className:"yst-inline-flex yst-items-center yst-gap-1.5"},t.label,t.isNew&&(0,e.createElement)(l.Badge,{variant:"info"},(0,Lt.__)("New","wordpress-seo"))),idSuffix:r}))))),(0,e.createElement)(l.SidebarNavigation.MenuItem,{id:`menu-advanced${r}`,icon:tr,label:(0,Lt.__)("Advanced","wordpress-seo"),defaultOpen:!1},(0,e.createElement)(vr,{to:"/crawl-optimization",label:(0,Lt.__)("Crawl optimization","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/breadcrumbs",label:(0,Lt.__)("Breadcrumbs","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/author-archives",label:(0,Lt.__)("Author archives","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/date-archives",label:(0,Lt.__)("Date archives","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/format-archives",label:(0,Lt.__)("Format archives","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/special-pages",label:(0,Lt.__)("Special pages","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/media-pages",label:(0,Lt.__)("Media pages","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/rss",label:(0,Lt.__)("RSS","wordpress-seo"),idSuffix:r}))))};jl.propTypes={postTypes:ir().object.isRequired,taxonomies:ir().object.isRequired,idSuffix:ir().string};const Vl=()=>{const{pathname:t}=Qe(),s=aa("selectPostTypes"),r=aa("selectTaxonomies"),o=aa("selectPreference",[],"isPremium"),n=aa("selectLink",[],"https://yoa.st/17h"),c=aa("selectLink",[],"https://yoa.st/jj"),d=aa("selectUpsellSettingsAsProps"),u=aa("selectLink",[],"https://yoa.st/3t6"),{isPromotionActive:p}=(0,a.useSelect)(ea);(()=>{const{hash:e,pathname:t,key:s}=Qe();(0,i.useEffect)((()=>{const t=e.replace("#",""),s=document.getElementById(t)||document.querySelector(`[data-id="${t}"]`);if(s)s.scrollIntoView({behavior:"smooth"}),setTimeout((()=>s.focus()),800);else{const e=document.getElementById("yoast-seo-settings");null==e||e.scrollIntoView({behavior:"smooth"})}}),[t,e,s])})();const{dirty:m}=q();return(0,l.useBeforeUnload)(m,(0,Lt.__)("There are unsaved changes on this page. Leaving means that those changes will be lost. Are you sure you want to leave this page?","wordpress-seo")),(0,e.createElement)(e.Fragment,null,(0,e.createElement)(ja,null),(0,e.createElement)(l.SidebarNavigation,{activePath:t},(0,e.createElement)(l.SidebarNavigation.Mobile,{openButtonId:"button-open-settings-navigation-mobile",closeButtonId:"button-close-settings-navigation-mobile" /* translators: Hidden accessibility text. */,openButtonScreenReaderText:(0,Lt.__)("Open settings navigation","wordpress-seo") /* translators: Hidden accessibility text. */,closeButtonScreenReaderText:(0,Lt.__)("Close settings navigation","wordpress-seo"),"aria-label":(0,Lt.__)("Settings navigation","wordpress-seo")},(0,e.createElement)(jl,{idSuffix:"-mobile",postTypes:s,taxonomies:r})),(0,e.createElement)("div",{className:"yst-p-4 min-[783px]:yst-p-8 yst-flex yst-gap-4"},(0,e.createElement)("aside",{className:"yst-sidebar yst-sidebar-nav yst-shrink-0 yst-hidden min-[783px]:yst-block yst-pb-6 yst-bottom-0 yst-w-56"},(0,e.createElement)(l.SidebarNavigation.Sidebar,null,(0,e.createElement)(jl,{postTypes:s,taxonomies:r}))),(0,e.createElement)("div",{className:or()("yst-flex yst-grow yst-flex-wrap",!o&&"xl:yst-pe-[17.5rem]")},(0,e.createElement)("div",{className:"yst-grow yst-max-w-page yst-space-y-6 yst-mb-8 xl:yst-mb-0"},(0,e.createElement)(l.Paper,{as:"main"},(0,e.createElement)(l.ErrorBoundary,{FallbackComponent:Qi},(0,e.createElement)(Js,{key:t,appear:!0,show:!0,enter:"yst-transition-opacity yst-delay-100 yst-duration-300",enterFrom:"yst-opacity-0",enterTo:"yst-opacity-100"},(0,e.createElement)(ft,null,(0,e.createElement)(pt,{path:"author-archives",element:(0,e.createElement)(ll,null)}),(0,e.createElement)(pt,{path:"breadcrumbs",element:(0,e.createElement)(cl,null)}),(0,e.createElement)(pt,{path:"crawl-optimization",element:(0,e.createElement)(ml,null)}),(0,e.createElement)(pt,{path:"date-archives",element:(0,e.createElement)(hl,null)}),(0,e.createElement)(pt,{path:"homepage",element:(0,e.createElement)(bl,null)}),(0,e.createElement)(pt,{path:"format-archives",element:(0,e.createElement)(wl,null)}),(0,e.createElement)(pt,{path:"media-pages",element:(0,e.createElement)(vl,null)}),(0,e.createElement)(pt,{path:"rss",element:(0,e.createElement)(xl,null)}),(0,e.createElement)(pt,{path:"site-basics",element:(0,e.createElement)(Ll,null)}),(0,e.createElement)(pt,{path:"site-connections",element:(0,e.createElement)(Ul,null)}),(0,e.createElement)(pt,{path:"site-representation",element:(0,e.createElement)(Cl,null)}),(0,e.createElement)(pt,{path:"site-features",element:(0,e.createElement)(Pl,null)}),(0,e.createElement)(pt,{path:"special-pages",element:(0,e.createElement)(Al,null)}),(0,e.createElement)(pt,{path:"post-type"},(0,le.map)(s,(t=>(0,e.createElement)(pt,{key:`route-post-type-${t.name}`,path:t.route,element:(0,e.createElement)(rl,{...t})})))),(0,e.createElement)(pt,{path:"taxonomy"},(0,le.map)(r,(t=>(0,e.createElement)(pt,{key:`route-taxonomy-${t.name}`,path:t.route,element:(0,e.createElement)(nl,{...t})})))),(0,e.createElement)(pt,{path:"*",element:(0,e.createElement)(ut,{to:"/site-features",replace:!0})}))))),!o&&(0,e.createElement)(zr,{premiumLink:n,premiumUpsellConfig:d,isPromotionActive:p})),!o&&(0,e.createElement)("div",{className:"xl:yst-max-w-3xl xl:yst-fixed xl:yst-end-8 xl:yst-w-[16rem]"},(0,e.createElement)(qr,{premiumLink:c,premiumUpsellConfig:d,academyLink:u,isPromotionActive:p}))))))},zl=window.yoast.externals.redux,ql=()=>(0,le.get)(window,"wpseoScriptData.postTypes",{}),Wl="updatePostTypeReviewStatus",Hl=(0,Tt.createSlice)({name:"postTypes",initialState:ql(),reducers:{},extraReducers:e=>{e.addCase(`${Wl}/result`,((e,{payload:t})=>{e[t].isNew=!1}))}}),Yl={selectPostType:(e,t,s={})=>(0,le.get)(e,`postTypes.${t}`,s),selectAllPostTypes:(e,t=null)=>{const s=(0,le.get)(e,"postTypes",{});return t?(0,le.pick)(s,t):s}};Yl.selectPostTypes=(0,Tt.createSelector)(Yl.selectAllPostTypes,(e=>(0,le.omit)(e,["attachment"])));const Gl={[Wl]:async({payload:e})=>Gt()({path:"/yoast/v1/new-content-type-visibility/dismiss-post-type",method:"POST",data:{post_type_name:e}})},Kl={...Hl.actions,updatePostTypeReviewStatus:function*(e){try{yield{type:Wl,payload:e}}catch(t){console.error(`Error: Failed to remove "New" badge for ${e}, ${t}`)}return{type:`${Wl}/result`,payload:e}}},Zl=Hl.reducer,Jl=()=>{var e;return{...(0,le.get)(window,"wpseoScriptData.preferences",{}),documentTitle:(0,le.defaultTo)(null===(e=document)||void 0===e?void 0:e.title,"")}},Ql=(0,Tt.createSlice)({name:"preferences",initialState:Jl(),reducers:{}}),Xl={selectPreference:(e,t,s={})=>(0,le.get)(e,`preferences.${t}`,s),selectPreferences:e=>(0,le.get)(e,"preferences",{})};Xl.selectHasPageForPosts=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"homepageIsLatestPosts"),e=>Xl.selectPreference(e,"homepagePostsEditUrl")],((e,t)=>!e&&!(0,le.isEmpty)(t))),Xl.selectCanEditUser=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"currentUserId",-1),e=>Xl.selectPreference(e,"canEditUsers",!1),(e,t)=>t],((e,t,s)=>e===s||t)),Xl.selectExampleUrl=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"siteUrl","https://example.com"),(e,t)=>t],((e,t)=>e+t)),Xl.selectPluginUrl=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"pluginUrl","https://example.com"),(e,t)=>t],((e,t)=>e+t)),Xl.selectUpsellSettingsAsProps=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"upsellSettings",{}),(e,t="premiumCtbId")=>t],((e,t)=>({"data-action":null==e?void 0:e.actionId,"data-ctb-id":null==e?void 0:e[t]})));const ec=Ql.actions,tc=Ql.reducer,sc=()=>(0,le.reduce)((0,le.get)(window,"wpseoScriptData.taxonomies",{}),((e,{postTypes:t,...s},r)=>({...e,[r]:{...s,postTypes:(0,le.values)(t)}})),{}),rc="updateTaxonomyReviewStatus",ac=(0,Tt.createSlice)({name:"taxonomies",initialState:sc(),reducers:{},extraReducers:e=>{e.addCase(`${rc}/result`,((e,{payload:t})=>{e[t].isNew=!1}))}}),oc={selectTaxonomy:(e,t,s={})=>(0,le.get)(e,`taxonomies.${t}`,s),selectAllTaxonomies:e=>(0,le.get)(e,"taxonomies",{})};oc.selectTaxonomies=(0,Tt.createSelector)(oc.selectAllTaxonomies,(e=>(0,le.omit)(e,["post_format"])));const nc={[rc]:async({payload:e})=>Gt()({path:"/yoast/v1/new-content-type-visibility/dismiss-taxonomy",method:"POST",data:{taxonomy_name:e}})},ic={...ac.actions,updateTaxonomyReviewStatus:function*(e){try{yield{type:rc,payload:e}}catch(t){console.error(`Error: Failed to remove "New" badge for ${e}, ${t}`)}return{type:`${rc}/result`,payload:e}}},lc=ac.reducer,cc={selectBreadcrumbsForPostTypes:(0,Tt.createSelector)([oc.selectAllTaxonomies,Yl.selectAllPostTypes],((e,t)=>{const s={value:0,label:(0,Lt.__)("None","wordpress-seo")},r={};return(0,le.forEach)(t,((t,a)=>{const o=(0,le.filter)(e,(e=>(0,le.includes)(e.postTypes,a)));(0,le.isEmpty)(o)||(r[a]={...t,options:[s,...(0,le.map)(o,(({name:e,label:t})=>({value:e,label:t})))]})})),r})),selectBreadcrumbsForTaxonomies:(0,Tt.createSelector)([oc.selectAllTaxonomies,Yl.selectAllPostTypes,Xl.selectHasPageForPosts],((e,t,s)=>{let r=[{value:0,label:(0,Lt.__)("None","wordpress-seo")}];s&&r.push({value:"post",label:(0,Lt.__)("Blog","wordpress-seo")});const a=(0,le.filter)(t,(({hasArchive:e})=>e));return r=r.concat((0,le.map)(a,(({name:e,label:t})=>({value:e,label:t})))),(0,le.mapValues)(e,(e=>({name:e.name,label:e.label,options:r})))}))},dc=()=>({...(0,le.get)(window,"wpseoScriptData.defaultSettingValues",{})}),uc=(0,Tt.createSlice)({name:"defaultSettingValues",initialState:dc(),reducers:{}}),pc={selectDefaultSettingValue:(e,t,s={})=>(0,le.get)(e,`defaultSettingValues.${t}`,s),selectDefaultSettingValues:e=>(0,le.get)(e,"defaultSettingValues",{})},mc=uc.actions,fc=uc.reducer,hc=()=>(0,le.get)(window,"wpseoScriptData.fallbacks",{}),yc=(0,Tt.createSlice)({name:"fallbacks",initialState:hc(),reducers:{}}),wc={selectFallback:(e,t,s={})=>(0,le.get)(e,`fallbacks.${t}`,s),selectFallbacks:e=>(0,le.get)(e,"fallbacks",{})},_c=yc.actions,gc=yc.reducer,bc=(0,Tt.createEntityAdapter)(),vc=()=>bc.getInitialState({status:Qt,error:""}),Ec="fetchMedia",xc=e=>{var t,s;return{id:null==e?void 0:e.id,title:(null==e||null===(t=e.title)||void 0===t?void 0:t.rendered)||(null==e?void 0:e.title),slug:(null==e?void 0:e.slug)||(null==e?void 0:e.name),alt:(null==e?void 0:e.alt_text)||(null==e?void 0:e.alt),url:(null==e?void 0:e.source_url)||(null==e?void 0:e.url),type:(null==e?void 0:e.media_type)||(null==e?void 0:e.type),mime:(null==e?void 0:e.mime_type)||(null==e?void 0:e.mime),author:null==e?void 0:e.author,sizes:(0,le.mapValues)((null==e?void 0:e.sizes)||(null==e||null===(s=e.media_details)||void 0===s?void 0:s.sizes),(e=>({url:(null==e?void 0:e.url)||(null==e?void 0:e.source_url),width:null==e?void 0:e.width,height:null==e?void 0:e.height})),{})}},kc=(0,Tt.createSlice)({name:"media",initialState:vc(),reducers:{addOneMedia:{reducer:bc.addOne,prepare:e=>({payload:xc(e)})},addManyMedia:{reducer:bc.addMany,prepare:e=>({payload:(0,le.map)(e,xc)})}},extraReducers:e=>{e.addCase(`${Ec}/${Kt}`,(e=>{e.status=Xt})),e.addCase(`${Ec}/${Zt}`,((e,t)=>{e.status=es,bc.addMany(e,(0,le.map)(t.payload,xc))})),e.addCase(`${Ec}/${Jt}`,((e,t)=>{e.status=ts,e.error=t.payload}))}}),Sc=bc.getSelectors((e=>e.media)),Lc={selectMediaIds:Sc.selectIds,selectMediaById:Sc.selectById,selectIsMediaLoading:e=>(0,le.get)(e,"media.status",Qt)===Xt,selectIsMediaError:e=>(0,le.get)(e,"media.status",Qt)===ts},Tc={...kc.actions,fetchMedia:function*(e){yield{type:`${Ec}/${Kt}`};try{const t=yield{type:Ec,payload:{per_page:100,include:e}};return{type:`${Ec}/${Zt}`,payload:t}}catch(e){return{type:`${Ec}/${Jt}`,payload:e}}}},Fc={[Ec]:async({payload:e})=>Gt()({path:`/wp/v2/media?${(0,Rt.buildQueryString)(e)}`})},$c=kc.reducer,Pc=window.wp.htmlEntities,Rc=(0,Tt.createEntityAdapter)(),Nc="fetchPages",Ic="pages";let Oc;const Cc=e=>{var t;return{id:null==e?void 0:e.id,name:(0,Pc.decodeEntities)((0,le.trim)(null==e?void 0:e.title.rendered))||(null==e?void 0:e.slug)||e.id,slug:null==e?void 0:e.slug,protected:null==e||null===(t=e.content)||void 0===t?void 0:t.protected}},Ac=(0,Tt.createSlice)({name:"pages",initialState:Rc.getInitialState({status:Qt,error:""}),reducers:{addOnePage:{reducer:Rc.addOne,prepare:e=>({payload:Cc(e)})},addManyPages:{reducer:Rc.addMany,prepare:e=>({payload:(0,le.map)(e,Cc)})}},extraReducers:e=>{e.addCase(`${Nc}/${Kt}`,(e=>{e.status=Xt})),e.addCase(`${Nc}/${Zt}`,((e,t)=>{e.status=es,Rc.addMany(e,(0,le.map)(t.payload,Cc))})),e.addCase(`${Nc}/${Jt}`,((e,t)=>{e.status=ts,e.error=t.payload}))}}),Mc=Ac.getInitialState,Dc=Rc.getSelectors((e=>e.pages)),Bc={selectPageIds:Dc.selectIds,selectPageById:Dc.selectById,selectPages:Dc.selectEntities};Bc.selectPagesWith=(0,Tt.createSelector)([Bc.selectPages,(e,t={})=>t],((e,t)=>{const s={};t.forEach((t=>{null!=t&&t.id&&!e[t.id]&&(s[t.id]={...t})}));const r=(0,le.pickBy)(e,(e=>!e.protected));return{...s,...r}}));const Uc={...Ac.actions,fetchPages:function*(e){yield{type:`${Nc}/${Kt}`};try{const t=yield{type:Nc,payload:{...e}};return{type:`${Nc}/${Zt}`,payload:t}}catch(e){return{type:`${Nc}/${Jt}`,payload:e}}}},jc={[Nc]:async({payload:e})=>{var t;return null===(t=Oc)||void 0===t||t.abort(),Oc=new AbortController,Gt()({path:`/wp/v2/pages?${(0,Rt.buildQueryString)(e)}`,signal:Oc.signal})}},Vc=Ac.reducer,zc=()=>({recommended:(0,le.get)(window,"wpseoScriptData.replacementVariables.recommended",{}),shared:(0,le.get)(window,"wpseoScriptData.replacementVariables.shared",[]),specific:(0,le.get)(window,"wpseoScriptData.replacementVariables.specific",{}),variables:(0,le.get)(window,"wpseoScriptData.replacementVariables.variables",[])}),qc=(0,Tt.createSlice)({name:"replacementVariables",initialState:zc(),reducers:{}}),Wc={selectRecommendedReplacementVariables:e=>(0,le.get)(e,"replacementVariables.recommended",{}),selectSharedReplacementVariables:e=>(0,le.get)(e,"replacementVariables.shared",[]),selectSpecificReplacementVariables:e=>(0,le.get)(e,"replacementVariables.specific",{}),selectReplacementVariables:e=>(0,le.get)(e,"replacementVariables.variables",[])};Wc.selectSpecificReplacementVariablesFor=(0,Tt.createSelector)([Wc.selectSharedReplacementVariables,Wc.selectSpecificReplacementVariables,(e,t)=>t,(e,t,s)=>s],((e,t,s,r)=>[...e,...(0,le.get)(t,s,(0,le.get)(t,r,[]))])),Wc.selectReplacementVariablesFor=(0,Tt.createSelector)([Wc.selectReplacementVariables,Wc.selectSpecificReplacementVariablesFor],((e,t)=>(0,le.filter)(e,(({name:e})=>(0,le.includes)(t,e))))),Wc.selectRecommendedReplacementVariablesFor=(0,Tt.createSelector)([Wc.selectRecommendedReplacementVariables,(e,t)=>t,(e,t,s)=>s],((e,t,s)=>(0,le.get)(e,t,(0,le.get)(e,s,[]))));const Hc=qc.actions,Yc=qc.reducer,Gc=(e,t)=>{ // translators: %1$s expands to the schema type, e.g. "Web Page" or "Blog Post". const s=(0,Lt.__)("%1$s (default)","wordpress-seo");return e.map((({label:e,value:r})=>({value:r,label:r===t?(0,Lt.sprintf)(s,e):e})))},Kc=()=>({articleTypes:(0,le.get)(window,"wpseoScriptData.schema.articleTypes",{}),articleTypeDefaults:(0,le.get)(window,"wpseoScriptData.schema.articleTypeDefaults",{}),pageTypes:(0,le.get)(window,"wpseoScriptData.schema.pageTypes",{}),pageTypeDefaults:(0,le.get)(window,"wpseoScriptData.schema.pageTypeDefaults",{})}),Zc=(0,Tt.createSlice)({name:"schema",initialState:Kc(),reducers:{}}),Jc={selectSchema:e=>(0,le.get)(e,"schema",{}),selectArticleTypes:e=>(0,le.get)(e,"schema.articleTypes",{}),selectArticleTypeDefaults:e=>(0,le.get)(e,"schema.articleTypeDefaults",{}),selectPageTypes:e=>(0,le.get)(e,"schema.pageTypes",{}),selectPageTypeDefaults:e=>(0,le.get)(e,"schema.pageTypeDefaults",{})};Jc.selectArticleTypeValues=(0,Tt.createSelector)(Jc.selectArticleTypes,(e=>(0,le.values)(e))),Jc.selectArticleTypeDefault=(0,Tt.createSelector)([Jc.selectArticleTypeDefaults,(e,t)=>t],((e,t)=>(0,le.get)(e,t,"None"))),Jc.selectArticleTypeValuesFor=(0,Tt.createSelector)([Jc.selectArticleTypeValues,Jc.selectArticleTypeDefault],((e,t)=>Gc(e,t))),Jc.selectPageTypeValues=(0,Tt.createSelector)(Jc.selectPageTypes,(e=>(0,le.values)(e))),Jc.selectPageTypeDefault=(0,Tt.createSelector)([Jc.selectPageTypeDefaults,(e,t)=>t],((e,t)=>(0,le.get)(e,t,"WebPage"))),Jc.selectPageTypeValuesFor=(0,Tt.createSelector)([Jc.selectPageTypeValues,Jc.selectPageTypeDefault],((e,t)=>Gc(e,t)));const Qc=Zc.actions,Xc=Zc.reducer,ed=(e,{userLocale:t})=>gn((0,le.join)([...(0,le.isArray)(null==e?void 0:e.keywords)?e.keywords:[],null==e?void 0:e.routeLabel,null==e?void 0:e.fieldLabel]," "),t),td=(e,t="",{userLocale:s})=>(0,le.reduce)(e,((e,r,a)=>{const o=(0,le.join)((0,le.filter)([t,a],Boolean),".");return"other_social_urls"===a?{...e,[o]:{route:null==r?void 0:r.route,routeLabel:null==r?void 0:r.routeLabel,fieldId:null==r?void 0:r.fieldId,fieldLabel:null==r?void 0:r.fieldLabel,keywords:ed(r,{userLocale:s})}}:null!=r&&r.route?{...e,[o]:{...r,keywords:ed(r,{userLocale:s})}}:{...e,...td(r,o,{userLocale:s})}}),{}),sd=()=>{const e=(0,le.get)(window,"wpseoScriptData.postTypes",{}),t=(0,le.get)(window,"wpseoScriptData.taxonomies",{}),s=(0,le.get)(window,"wpseoScriptData.preferences.userLocale",{});return{index:En(e,t,{userLocale:s})}},rd=(0,Tt.createSlice)({name:"search",initialState:sd(),reducers:{}}),ad={selectSearchIndex:e=>(0,le.get)(e,"search.index",{})};ad.selectQueryableSearchIndex=(0,Tt.createSelector)([ad.selectSearchIndex,e=>Xl.selectPreference(e,"userLocale")],((e,t)=>td(e,"",{userLocale:t})));const od=rd.actions,nd=rd.reducer,id=(0,Tt.createEntityAdapter)(),ld="fetchUsers",cd=()=>id.getInitialState({status:Qt,error:""}),dd=e=>({id:null==e?void 0:e.id,name:(0,le.trim)(null==e?void 0:e.name)||(null==e?void 0:e.slug)||(null==e?void 0:e.id),slug:null==e?void 0:e.slug}),ud=(0,Tt.createSlice)({name:"users",initialState:cd(),reducers:{addOneUser:{reducer:id.addOne,prepare:e=>({payload:dd(e)})},addManyUsers:{reducer:id.addMany,prepare:e=>({payload:(0,le.map)(e,dd)})}},extraReducers:e=>{e.addCase(`${ld}/${Kt}`,(e=>{e.status=Xt})),e.addCase(`${ld}/${Zt}`,((e,t)=>{e.status=es,id.addMany(e,(0,le.map)(t.payload,dd))})),e.addCase(`${ld}/${Jt}`,((e,t)=>{e.status=ts,e.error=t.payload}))}}),pd=id.getSelectors((e=>e.users)),md={selectUserIds:pd.selectIds,selectUserById:pd.selectById,selectUsers:pd.selectEntities};md.selectUsersWith=(0,Tt.createSelector)([md.selectUsers,(e,t={})=>t],((e,t)=>null!=t&&t.id&&!e[t.id]?{...e,[t.id]:{...t}}:e));const fd={...ud.actions,fetchUsers:function*(e){yield{type:`${ld}/${Kt}`};try{const t=yield{type:ld,payload:{...e}};return{type:`${ld}/${Zt}`,payload:t}}catch(e){return{type:`${ld}/${Jt}`,payload:e}}}},hd={[ld]:async({payload:e})=>Gt()({path:`/wp/v2/users?${(0,Rt.buildQueryString)(e)}`})},yd=ud.reducer,{isPromotionActive:wd}=zl.selectors,{currentPromotions:_d}=zl.reducers,{setCurrentPromotions:gd}=zl.actions,bd=({initialState:e={}}={})=>{(0,a.register)((({initialState:e})=>(0,a.createReduxStore)(ea,{actions:{...mc,..._c,...At,...Tc,...Vt,...Uc,...Kl,...ec,...Hc,...Qc,...od,...ic,...fd,setCurrentPromotions:gd},selectors:{...cc,...pc,...wc,...Ct,...Lc,...jt,...Bc,...Yl,...Xl,...Wc,...Jc,...ad,...oc,...md,isPromotionActive:wd},initialState:(0,le.merge)({},{defaultSettingValues:dc(),fallbacks:hc(),[Nt]:Ot(),media:vc(),[Dt]:Ut(),[Ic]:Mc(),postTypes:ql(),preferences:Jl(),replacementVariables:zc(),schema:Kc(),search:sd(),taxonomies:sc(),users:cd(),currentPromotions:{promotions:[]}},e),reducer:(0,a.combineReducers)({defaultSettingValues:fc,fallbacks:gc,[Nt]:Mt,media:$c,[Dt]:zt,[Ic]:Vc,postTypes:Zl,preferences:tc,replacementVariables:Yc,schema:Xc,search:nd,taxonomies:lc,users:yd,currentPromotions:_d}),controls:{...Fc,...hd,...Gl,...nc,...jc}}))({initialState:e}))};n()((()=>{const t=document.getElementById("yoast-seo-settings");if(!t)return;const s=document.createElement("div"),o=s.attachShadow({mode:"open"});document.body.appendChild(s);const n=(0,le.get)(window,"wpseoScriptData.settings",{}),c=(0,le.get)(window,"wpseoScriptData.fallbacks",{}),d=(0,le.get)(window,"wpseoScriptData.postTypes",{}),u=(0,le.get)(window,"wpseoScriptData.taxonomies",{}),p=(0,le.get)(window,"wpseoScriptData.showNewContentTypeNotification",!1)?{"new-content-type":{id:"new-content-type",variant:"info",size:"large",title:(0,Lt.__)("New type of content added to your site!","wordpress-seo"),description:(0,Lt.__)("Please see the “New” badges and review the Search appearance settings.","wordpress-seo")}}:{};bd({initialState:{notifications:p,[Nt]:(0,le.get)(window,"wpseoScriptData.linkParams",{}),currentPromotions:{promotions:(0,le.get)(window,"wpseoScriptData.currentPromotions",[])}}}),(async({settings:e,fallbacks:t})=>{const s=(0,le.get)(e,"wpseo_titles",{}),r=(0,le.filter)([(0,le.get)(e,"wpseo_social.og_default_image_id","0"),(0,le.get)(e,"wpseo_titles.open_graph_frontpage_image_id","0"),(0,le.get)(e,"wpseo_titles.company_logo_id","0"),(0,le.get)(e,"wpseo_titles.person_logo_id","0"),(0,le.get)(t,"siteLogoId","0"),...(0,le.reduce)(s,((e,t,s)=>(0,le.includes)(s,"social-image-id")?[...e,t]:e),[])],Boolean),o=(0,le.chunk)(r,100),{fetchMedia:n}=(0,a.dispatch)(ea);(0,le.forEach)(o,n)})({settings:n,fallbacks:c}),(async({settings:e})=>{const t=(0,le.get)(e,"wpseo_titles.company_or_person_user_id"),{fetchUsers:s}=(0,a.dispatch)(ea);t&&s({include:[t]})})({settings:n}),document.querySelector('[href="#wpbody-content"]').addEventListener("click",(e=>{var t,s;e.preventDefault(),window.outerWidth>782?null===(s=document.getElementById("link-yoast-logo"))||void 0===s||s.focus():null===(t=document.getElementById("button-open-settings-navigation-mobile"))||void 0===t||t.focus()})),document.querySelector('[href="#wp-toolbar"]').addEventListener("click",(e=>{var t;e.preventDefault(),null===(t=document.querySelector("#wp-admin-bar-wp-logo a"))||void 0===t||t.focus()})),(()=>{const e=document.getElementById("wpcontent"),t=document.getElementById("adminmenuwrap");e&&t&&(e.style.minHeight=`${t.offsetHeight}px`)})();const m=(0,a.select)(ea).selectPreference("isRtl",!1);(0,i.render)((0,e.createElement)(l.Root,{context:{isRtl:m}},(0,e.createElement)(St.StyleSheetManager,{target:o},(0,e.createElement)(r.SlotFillProvider,null,(0,e.createElement)(gt,null,(0,e.createElement)(K,{initialValues:n,validationSchema:Wi(d,u),onSubmit:kn},(0,e.createElement)(Vl,null)))))),t)}))})()})();
tag. */ (0,Lt.__)("Users and search engines may often request your URLs whilst using query parameters, like %1$s. These can be helpful for tracking, filtering, and powering advanced functionality - but they come with a performance and SEO ‘cost’. Sites which don’t rely on URL parameters might benefit from using these options.","wordpress-seo"),""),{code:(0,e.createElement)(l.Code,null,"?color=red")}),cleanCampaignTrackingUrls:(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: * %1$s expands to `utm`. * %2$s expands to `#`. * %3$s expands to `301`. * %4$s and %5$s both expand to an example within a tag. */ (0,Lt.__)("Replaces %1$s tracking parameters with the (more performant) %2$s equivalent, via a %3$s redirect. E.g., %4$s will be redirected to %5$s","wordpress-seo"),"","","","",""),{code1:(0,e.createElement)(l.Code,null,"utm"),code2:(0,e.createElement)(l.Code,null,"#"),code3:(0,e.createElement)(l.Code,null,"301"),code4:(0,e.createElement)(l.Code,{variant:"block"},"https://www.example.com/?utm_medium=organic"),code5:(0,e.createElement)(l.Code,{variant:"block"},"https://www.example.com/#utm_medium=organic")}),cleanPermalinks:(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: * %1$s expands to `301`. * %2$s and %3$s both expand to an example within a tag. */ (0,Lt.__)("Removes unknown URL parameters via a %1$s redirect. E.g., %2$s will be redirected to %3$s","wordpress-seo"),"","","")+(0,Lt.sprintf)( /** * translators: * %1$s through %7$s each expand to a parameter name within a tag. For example, gclid. */ (0,Lt.__)("Note that the following commonly-used parameters will not be removed: %1$s, %2$s, %3$s, %4$s, %5$s, %6$s, and %7$s.","wordpress-seo"),"","","","","","",""),{code1:(0,e.createElement)(l.Code,null,"301"),code2:(0,e.createElement)(l.Code,{variant:"block"},"https://www.example.com/?unknown_parameter=yes"),code3:(0,e.createElement)(l.Code,{variant:"block"},"https://www.example.com"),code4:(0,e.createElement)(l.Code,null,"gclid"),code5:(0,e.createElement)(l.Code,null,"gtm_debug"),code6:(0,e.createElement)(l.Code,null,"utm_campaign"),code7:(0,e.createElement)(l.Code,null,"utm_content"),code8:(0,e.createElement)(l.Code,null,"utm_medium"),code9:(0,e.createElement)(l.Code,null,"utm_source"),code10:(0,e.createElement)(l.Code,null,"utm_term")}),cleanPermalinksExtraVariables:(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: * %1$s expands to `unknown_parameter`. * %2$s and %3$s both expand to an example within a tag. */ (0,Lt.__)("Prevents specific URL parameters from being removed by the above feature. E.g., adding %1$s will prevent %2$s from being redirected to %3$s. You can add multiple parameters and separate them by using enter or a comma.","wordpress-seo"),"","",""),{code1:(0,e.createElement)(l.Code,null,"unknown_parameter"),code2:(0,e.createElement)(l.Code,null,"https://www.example.com/?unknown_parameter=yes"),code3:(0,e.createElement)(l.Code,null,"https://www.example.com")})})),[]),{values:m}=q(),{remove_feed_global_comments:f,remove_feed_post_comments:h,search_cleanup:y,search_cleanup_emoji:w,search_cleanup_patterns:_,clean_permalinks:g}=m.wpseo;return(0,e.createElement)(uo,{title:(0,Lt.__)("Crawl optimization","wordpress-seo"),description:p.page},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("Remove unwanted metadata","wordpress-seo"),description:p.removeUnwantedMetadata},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_shortlinks",id:"input-wpseo-remove_shortlinks",label:(0,Lt.__)("Remove shortlinks","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links to WordPress' internal 'shortlink' URLs for your posts.","wordpress-seo")," ",p.removeShortlinks),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_rest_api_links",id:"input-wpseo-remove_rest_api_links",label:(0,Lt.__)("Remove REST API links","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links to the location of your site’s REST API endpoints.","wordpress-seo")," ",p.removeRestApiLinks),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_rsd_wlw_links",id:"input-wpseo-remove_rsd_wlw_links",label:(0,Lt.__)("Remove RSD / WLW links","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links used by external systems for publishing content to your blog.","wordpress-seo")," ",p.removeRsdWlwLinks),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_oembed_links",id:"input-wpseo-remove_oembed_links",label:(0,Lt.__)("Remove oEmbed links","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links used for embedding your content on other sites.","wordpress-seo")," ",p.removeOembedLinks),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_generator",id:"input-wpseo-remove_generator",label:(0,Lt.__)("Remove generator tag","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove information about the plugins and software used by your site.","wordpress-seo")," ",p.removeGenerator),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_pingback_header",id:"input-wpseo-remove_pingback_header",label:(0,Lt.__)("Pingback HTTP header","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links which allow others sites to ‘ping’ yours when they link to you.","wordpress-seo")," ",p.removePingbackHeader),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_powered_by_header",id:"input-wpseo-remove_powered_by_header",label:(0,Lt.__)("Remove powered by HTTP header","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove information about the plugins and software used by your site.","wordpress-seo")," ",p.removePoweredByHeader)),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Disable unwanted content formats","wordpress-seo"),description:(0,Lt.__)("WordPress outputs your content in many different formats, across many different URLs (like RSS feeds of your posts and categories). It’s generally good practice to disable the formats you’re not actively using.","wordpress-seo")},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_global",id:"input-wpseo-remove_feed_global",label:(0,Lt.__)("Remove global feed","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide an overview of your recent posts.","wordpress-seo")," ",p.removeFeedGlobal),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_global_comments",id:"input-wpseo-remove_feed_global_comments",label:(0,Lt.__)("Remove global comment feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide an overview of recent comments on your site.","wordpress-seo")," ",p.removeFeedGlobalComments,(0,Lt.__)("Also disables post comment feeds.","wordpress-seo")),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_post_comments",id:"input-wpseo-remove_feed_post_comments",label:(0,Lt.__)("Remove post comments feeds","wordpress-seo"),disabled:f,checked:f||h,className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about recent comments on each post.","wordpress-seo")," ",p.removeFeedPostComments),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_authors",id:"input-wpseo-remove_feed_authors",label:(0,Lt.__)("Remove post authors feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about recent posts by specific authors.","wordpress-seo")," ",p.removeFeedAuthors),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_post_types",id:"input-wpseo-remove_feed_post_types",label:(0,Lt.__)("Remove post type feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your recent posts, for each post type.","wordpress-seo")," ",p.removeFeedPostTypes),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_categories",id:"input-wpseo-remove_feed_categories",label:(0,Lt.__)("Remove category feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your recent posts, for each category.","wordpress-seo")," ",p.removeFeedCategories),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_tags",id:"input-wpseo-remove_feed_tags",label:(0,Lt.__)("Remove tag feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your recent posts, for each tag.","wordpress-seo")," ",p.removeFeedTags),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_custom_taxonomies",id:"input-wpseo-remove_feed_custom_taxonomies",label:(0,Lt.__)("Remove custom taxonomy feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your recent posts, for each custom taxonomy.","wordpress-seo")," ",p.removeFeedCustomTaxonomies),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_search",id:"input-wpseo-remove_feed_search",label:(0,Lt.__)("Remove search results feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your search results.","wordpress-seo")," ",p.removeFeedSearch),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_atom_rdf_feeds",id:"input-wpseo-remove_atom_rdf_feeds",label:(0,Lt.__)("Remove Atom / RDF feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide alternative (legacy) formats of all of the above.","wordpress-seo")," ",p.removeAtomRdfFeeds)),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Remove unused resources","wordpress-seo"),description:(0,Lt.__)("WordPress loads lots of resources, some of which your site might not need. If you’re not using these, removing them can speed up your pages and save resources.","wordpress-seo")},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_emoji_scripts",id:"input-wpseo-remove_emoji_scripts",label:(0,Lt.__)("Remove emoji scripts","wordpress-seo"),description:(0,Lt.__)("Remove JavaScript used for converting emoji characters in older browsers.","wordpress-seo"),className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_wp_json_crawling",id:"input-wpseo-deny_wp_json_crawling",label:(0,Lt.__)("Remove WP-JSON API","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling of WordPress' JSON API endpoints.","wordpress-seo")," ",p.denyWpJsonCrawling)),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Block unwanted bots","wordpress-seo"),description:p.blockUnwantedBots},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_adsbot_crawling",id:"input-wpseo-deny_adsbot_crawling",label:(0,Lt.__)("Prevent Google AdsBot from crawling","wordpress-seo"),description:(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by Google AdsBot. You should only enable this setting if you're not using Google Ads on your site.","wordpress-seo"),className:"yst-max-w-2xl"}),(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!s&&!t,variant:"card",cardLink:c,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...r},(0,e.createElement)(pl,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_google_extended_crawling",id:"input-wpseo-deny_google_extended_crawling",label:(0,Lt.__)("Prevent Google Gemini and Vertex AI bots from crawling","wordpress-seo"),description:(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by the Google-Extended bot. Enabling this setting won’t prevent Google from indexing your website.","wordpress-seo"),labelSuffix:t&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium"),className:"yst-max-w-2xl",isDummy:!t}),(0,e.createElement)(pl,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_gptbot_crawling",id:"input-wpseo-deny_gptbot_crawling",label:(0,Lt.__)("Prevent OpenAI GPTBot from crawling","wordpress-seo"),description:(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by OpenAI GPTBot.","wordpress-seo"),labelSuffix:t&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium"),className:"yst-max-w-2xl",isDummy:!t}),(0,e.createElement)(pl,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_ccbot_crawling",id:"input-wpseo-deny_ccbot_crawling",label:(0,Lt.__)("Prevent Common Crawl CCBot from crawling","wordpress-seo"),description:(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by Common Crawl CCBot.","wordpress-seo"),labelSuffix:t&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium"),className:"yst-max-w-2xl",isDummy:!t}))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Internal site search cleanup","wordpress-seo"),description:(0,Lt.__)("Your internal site search can create lots of confusing URLs for search engines, and can even be used as a way for SEO spammers to attack your site. Most sites will benefit from experimenting with these protections and optimizations, even if you don’t have a search feature in your theme.","wordpress-seo")},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.search_cleanup",id:"input-wpseo-search_cleanup",label:(0,Lt.__)("Filter search terms","wordpress-seo"),description:(0,Lt.__)("Enables advanced settings for protecting your internal site search URLs.","wordpress-seo"),className:"yst-max-w-2xl"}),(0,e.createElement)(dl,{as:l.TextField,type:"number",name:"wpseo.search_character_limit",id:"input-wpseo-search_character_limit",label:(0,Lt.__)("Max number of characters to allow in searches","wordpress-seo"),description:(0,Lt.__)("Limit the length of internal site search queries to reduce the impact of spam attacks and confusing URLs. Please enter a number between 1 and 50.","wordpress-seo"),disabled:!y}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.search_cleanup_emoji",id:"input-wpseo-search_cleanup_emoji",label:(0,Lt.__)("Filter searches with emojis and other special characters","wordpress-seo"),description:(0,Lt.__)("Block internal site searches which contain complex and non-alphanumeric characters, as they may be part of a spam attack.","wordpress-seo"),disabled:!y,checked:y&&w,className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.search_cleanup_patterns",id:"input-wpseo-search_cleanup_patterns",label:(0,Lt.__)("Filter searches with common spam patterns","wordpress-seo"),description:(0,Lt.__)("Block internal site searches which match the patterns of known spam attacks.","wordpress-seo"),disabled:!y,checked:y&&_,className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.redirect_search_pretty_urls",id:"input-wpseo-redirect_search_pretty_urls",label:(0,Lt.__)("Redirect pretty URLs to ‘raw’ formats","wordpress-seo"),description:p.redirectSearchPrettyUrls,className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_search_crawling",id:"input-wpseo-deny_search_crawling",label:(0,Lt.__)("Prevent crawling of internal site search URLs","wordpress-seo"),description:p.denySearchCrawling,className:"yst-max-w-2xl"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Advanced: URL cleanup","wordpress-seo"),description:p.advancedUrlCleanup},(0,e.createElement)(l.Alert,{id:"alert-permalink-cleanup-settings",variant:"error"},(0,i.createInterpolateElement)((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. (0,Lt.__)("Warning! These are expert features, so make sure you know what you're doing before using this setting. You might break your site. %1$sRead more about how your site can be affected%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)("a",{id:"link-permalink-cleanup-info",href:o,target:"_blank",rel:"noopener noreferrer"})})),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.clean_campaign_tracking_urls",id:"input-wpseo-clean_campaign_tracking_urls",label:(0,Lt.__)("Optimize Google Analytics utm tracking parameters","wordpress-seo"),description:p.cleanCampaignTrackingUrls,className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.clean_permalinks",id:"input-wpseo-clean_permalinks",label:(0,Lt.__)("Remove unregistered URL parameters","wordpress-seo"),description:p.cleanPermalinks,className:"yst-max-w-2xl"}),(0,e.createElement)(ba,{name:"wpseo.clean_permalinks_extra_variables",id:"input-wpseo-clean_permalinks_extra_variables",label:(0,Lt.__)("Additional URL parameters to allow","wordpress-seo"),description:p.cleanPermalinksExtraVariables,disabled:!g})))))},fl=Ca(_a),hl=()=>{const t=(0,Lt.__)("Date archives","wordpress-seo"),s=aa("selectPreference",[],"userLocale"),r=(0,i.useMemo)((()=>gn(t,s)),[t,s]),a=aa("selectUpsellSettingsAsProps"),o=aa("selectReplacementVariablesFor",[],"date_archive","custom-post-type_archive"),n=aa("selectRecommendedReplacementVariablesFor",[],"date_archive","custom-post-type_archive"),c=aa("selectLink",[],"https://yoa.st/show-x"),d=aa("selectPreference",[],"isPremium"),u=aa("selectLink",[],"https://yoa.st/4e0"),p=aa("selectExampleUrl",[],"/2020/"),m=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})})),[]),f=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to "Date archives". * %2$s expands to an example URL, e.g. https://example.com/author/example/. * %3$s expands to "date archives". */ (0,Lt.__)("%1$s (e.g. %2$s) are based on publication dates. From an SEO perspective, the posts in these archives have no real relation to the other posts except for their publication dates, which doesn’t say much about the content. They could also lead to duplicate content issues. This is why we recommend you to disable %3$s.","wordpress-seo"),t,"",r),{exampleUrl:(0,e.createElement)(l.Code,null,p)}))),{values:h}=q(),{opengraph:y}=h.wpseo_social,{"disable-date":w,"noindex-archive-wpseo":_}=h.wpseo_titles;return(0,e.createElement)(uo,{title:t,description:f},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)("fieldset",{className:"yst-min-width-0 yst-space-y-8"},(0,e.createElement)(ua,{name:"wpseo_titles.disable-date",id:"input-wpseo_titles-disable-date",label:(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Enable %1$s","wordpress-seo"),r),description:(0,Lt.sprintf)( // translators: %1$s expands to "Date archives". (0,Lt.__)("%1$s can cause duplicate content issues. For most sites, we recommend that you disable this setting.","wordpress-seo"),t),className:"yst-max-w-sm"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Search appearance","wordpress-seo"),description:(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Determine how your %1$s should look in search engines.","wordpress-seo"),r)},(0,e.createElement)(ua,{name:"wpseo_titles.noindex-archive-wpseo",id:"input-wpseo_titles-noindex-archive-wpseo",label:(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Show %1$s in search results","wordpress-seo"),r),description:(0,e.createElement)(e.Fragment,null,(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps. We recommend that you disable this setting.","wordpress-seo"),r)," ",(0,e.createElement)(l.Link,{href:c,target:"_blank",rel:"noopener"},(0,Lt.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:w,checked:!w&&!_,className:"yst-max-w-sm"}),(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.title-archive-wpseo",fieldId:"input-wpseo_titles-title-archive-wpseo",label:(0,Lt.__)("SEO title","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:n,disabled:w}),(0,e.createElement)(_a,{type:"description",name:"wpseo_titles.metadesc-archive-wpseo",fieldId:"input-wpseo_titles-metadesc-archive-wpseo",label:(0,Lt.__)("Meta description","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:n,disabled:w,className:"yst-replacevar--description"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},(0,e.createElement)("span",null,(0,Lt.__)("Social media appearance","wordpress-seo")),d&&(0,e.createElement)(l.Badge,{variant:"upsell"},"Premium")),description:(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Determine how your %1$s should look on social media by default.","wordpress-seo"),r)},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!d,variant:"card",cardLink:u,cardText:(0,Lt.sprintf)( // translators: %1$s expands to Premium. (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...a},(0,e.createElement)(Wa,{isEnabled:!d||y}),(0,e.createElement)(ha,{id:"wpseo_titles-social-image-archive-wpseo",label:(0,Lt.__)("Social image","wordpress-seo"),previewLabel:m,mediaUrlName:"wpseo_titles.social-image-url-archive-wpseo",mediaIdName:"wpseo_titles.social-image-id-archive-wpseo",disabled:w||!y,isDummy:!d}),(0,e.createElement)(fl,{type:"title",name:"wpseo_titles.social-title-archive-wpseo",fieldId:"input-wpseo_titles-social-title-archive-wpseo",label:(0,Lt.__)("Social title","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:n,disabled:w||!y,isDummy:!d}),(0,e.createElement)(fl,{type:"description",name:"wpseo_titles.social-description-archive-wpseo",fieldId:"input-wpseo_titles-social-description-archive-wpseo",label:(0,Lt.__)("Social description","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:n,className:"yst-replacevar--description",disabled:w||!y,isDummy:!d}))))))},yl=Ca(_a),wl=()=>{const{name:t,label:s,singularLabel:r}=aa("selectTaxonomy",[],"post_format"),a=aa("selectPreference",[],"userLocale"),o=(0,i.useMemo)((()=>gn(s,a)),[s,a]),n=(0,i.useMemo)((()=>gn(r,a)),[r,a]),c=aa("selectUpsellSettingsAsProps"),d=aa("selectReplacementVariablesFor",[t],t,"term-in-custom-taxonomy"),u=aa("selectRecommendedReplacementVariablesFor",[t],t,"term-in-custom-taxonomy"),p=aa("selectLink",[],"https://yoa.st/show-x"),m=aa("selectPreference",[],"isPremium"),f=aa("selectLink",[],"https://yoa.st/4e0"),h=aa("selectExampleUrl",[],"/format/example/"),y=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})})),[]),w=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("(e.g., %1$s)","wordpress-seo"),""),{exampleUrl:(0,e.createElement)(l.Code,null,h)}))),{values:_}=q(),{opengraph:g}=_.wpseo_social,{"disable-post_format":b,"noindex-tax-post_format":v}=_.wpseo_titles;return(0,e.createElement)(uo,{title:(0,Lt.__)("Format archives","wordpress-seo"),description:w},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(ua,{name:"wpseo_titles.disable-post_format",id:"input-wpseo_titles-disable-post_format",label:(0,Lt.__)("Enable format-based archives","wordpress-seo"),description:(0,Lt.__)("Format-based archives can cause duplicate content issues. For most sites, we recommend that you disable this setting.","wordpress-seo"),className:"yst-max-w-sm"}),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Search appearance","wordpress-seo"),description:(0,Lt.sprintf)( // translators: %1$s expands to "formats". %2$s expands to "Yoast SEO". (0,Lt.__)("Determine how your %1$s should look in search engines. You can always customize the settings for individual %1$s in the %2$s metabox.","wordpress-seo"),o,"Yoast SEO")},(0,e.createElement)(ua,{name:`wpseo_titles.noindex-tax-${t}`,id:`input-wpseo_titles-noindex-tax-${t}`,label:(0,Lt.sprintf)( // translators: %1$s expands to "format". (0,Lt.__)("Show %1$s archives in search results","wordpress-seo"),n),description:(0,e.createElement)(e.Fragment,null,(0,Lt.sprintf)( // translators: %1$s expands to "formats". (0,Lt.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps. We recommend that you disable this setting.","wordpress-seo"),o)," ",(0,e.createElement)(l.Link,{href:p,target:"_blank",rel:"noopener"},(0,Lt.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:b,checked:!b&&!v,className:"yst-max-w-sm"}),(0,e.createElement)(_a,{type:"title",name:`wpseo_titles.title-tax-${t}`,fieldId:`input-wpseo_titles-title-tax-${t}`,label:(0,Lt.__)("SEO title","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,disabled:b}),(0,e.createElement)(_a,{type:"description",name:`wpseo_titles.metadesc-tax-${t}`,fieldId:`input-wpseo_titles-metadesc-tax-${t}`,label:(0,Lt.__)("Meta description","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,disabled:b,className:"yst-replacevar--description"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},(0,e.createElement)("span",null,(0,Lt.__)("Social media appearance","wordpress-seo")),m&&(0,e.createElement)(l.Badge,{variant:"upsell"},"Premium")),description:(0,Lt.sprintf)( // translators: %1$s expands to "formats". %2$s expands to "Yoast SEO". (0,Lt.__)("Determine how your %1$s should look on social media by default. You can always customize the settings for individual %1$s in the %2$s metabox.","wordpress-seo"),o,"Yoast SEO")},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!m,variant:"card",cardLink:f,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...c},(0,e.createElement)(Wa,{isEnabled:!m||g}),(0,e.createElement)(ha,{id:`wpseo_titles-social-image-tax-${t}`,label:(0,Lt.__)("Social image","wordpress-seo"),previewLabel:y,mediaUrlName:`wpseo_titles.social-image-url-tax-${t}`,mediaIdName:`wpseo_titles.social-image-id-tax-${t}`,disabled:b||!g,isDummy:!m}),(0,e.createElement)(yl,{type:"title",name:`wpseo_titles.social-title-tax-${t}`,fieldId:`input-wpseo_titles-social-title-tax-${t}`,label:(0,Lt.__)("Social title","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,disabled:b||!g,isDummy:!m}),(0,e.createElement)(yl,{type:"description",name:`wpseo_titles.social-description-tax-${t}`,fieldId:`input-wpseo_titles-social-description-tax-${t}`,label:(0,Lt.__)("Social description","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,className:"yst-replacevar--description",disabled:b||!g,isDummy:!m}))))))},_l=()=>{const t=aa("selectReplacementVariablesFor",[],"homepage","page"),s=aa("selectRecommendedReplacementVariablesFor",[],"homepage","page"),r=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})})),[]),{values:a}=q(),{opengraph:o}=a.wpseo_social;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(na,{title:(0,Lt.__)("Search appearance","wordpress-seo"),description:(0,Lt.__)("Determine how your homepage should look in the search results.","wordpress-seo")},(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.title-home-wpseo",fieldId:"input-wpseo_titles-title-home-wpseo",label:(0,Lt.__)("SEO title","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s}),(0,e.createElement)(_a,{type:"description",name:"wpseo_titles.metadesc-home-wpseo",fieldId:"input-wpseo_titles-metadesc-home-wpseo",label:(0,Lt.__)("Meta description","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s,className:"yst-replacevar--description"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Social media appearance","wordpress-seo"),description:(0,Lt.__)("Determine how your homepage should look on social media.","wordpress-seo")},(0,e.createElement)(Wa,{isEnabled:o /* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */,text:(0,Lt.__)("The %1$ssocial image%2$s, %1$ssocial title%2$s and %1$ssocial description%2$s require Open Graph data, which is currently disabled in the ‘Social sharing’ section in %3$sSite features%4$s.","wordpress-seo")}),(0,e.createElement)(ha,{id:"wpseo_titles-open_graph_frontpage_image",label:(0,Lt.__)("Social image","wordpress-seo"),previewLabel:r,mediaUrlName:"wpseo_titles.open_graph_frontpage_image",mediaIdName:"wpseo_titles.open_graph_frontpage_image_id",disabled:!o}),(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.open_graph_frontpage_title",fieldId:"input-wpseo_titles-open_graph_frontpage_title",label:(0,Lt.__)("Social title","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s,disabled:!o}),(0,e.createElement)(_a,{type:"description",name:"wpseo_titles.open_graph_frontpage_desc",fieldId:"input-wpseo_titles-open_graph_frontpage_desc",label:(0,Lt.__)("Social description","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s,className:"yst-replacevar--description",disabled:!o})))},gl=()=>{const t=aa("selectPreference",[],"homepagePageEditUrl"),s=aa("selectPreference",[],"homepagePostsEditUrl"),r=(0,i.useMemo)((()=>Xi((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("You can determine the title and description for the homepage by %1$sediting the homepage itself%2$s.","wordpress-seo"),"",""),t,"link-homepage-page-edit"))),a=(0,i.useMemo)((()=>Xi((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("You can determine the title and description for the blog page by %1$sediting the blog page itself%2$s.","wordpress-seo"),"",""),s,"link-homepage-posts-page-edit")));return(0,e.createElement)("div",{className:"yst-max-w-screen-sm"},(0,e.createElement)(l.Alert,null,(0,e.createElement)("p",null,r),s&&(0,e.createElement)("p",{className:"yst-pt-2"},a)))},bl=()=>{const t=aa("selectPreference",[],"homepageIsLatestPosts");return(0,e.createElement)(uo,{title:(0,Lt.__)("Homepage","wordpress-seo"),description:(0,Lt.__)("Determine how your homepage should look in the search results and on social media. This is what people probably will see when they search for your brand name.","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},t&&(0,e.createElement)(_l,null),!t&&(0,e.createElement)(gl,null))))},vl=()=>{const{name:t,label:s,hasSchemaArticleType:r}=aa("selectPostType",[],"attachment"),a=aa("selectPreference",[],"userLocale"),o=(0,i.useMemo)((()=>gn(s,a)),[s,a]),n=aa("selectReplacementVariablesFor",[t],t,"custom_post_type"),c=aa("selectRecommendedReplacementVariablesFor",[t],t,"custom_post_type"),d=aa("selectArticleTypeValuesFor",[t],t),u=aa("selectPageTypeValuesFor",[t],t),p=aa("selectLink",[],"https://yoa.st/media-pages-thin-content"),m=aa("selectLink",[],"https://yoa.st/show-x"),{values:f}=q(),{"disable-attachment":h,"noindex-attachment":y}=f.wpseo_titles,w=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s and %2$s are replaced by opening and closing tags. * %3$s expands to "media". * %4$s expand to "Yoast SEO". * %5$s expand to "WordPress". */ (0,Lt.__)("When you upload media (e.g. an image or video), %5$s automatically creates a %3$s page (attachment URL) for it. These pages are quite empty and could cause %1$sthin content problems and lead to excess pages on your site%2$s. Therefore, %4$s disables them by default (and redirects the attachment URL to the media itself).","wordpress-seo"),"","",o,"Yoast SEO","WordPress"),{a:(0,e.createElement)("a",{href:p,target:"_blank",rel:"noopener noreferrer"})})));return(0,e.createElement)(uo,{title:(0,Lt.sprintf)( // translators: %1$s expands to "Media". (0,Lt.__)("%1$s pages","wordpress-seo"),s),description:w},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)("fieldset",{className:"yst-min-width-0 yst-space-y-8"},(0,e.createElement)(ua,{name:`wpseo_titles.disable-${t}`,id:`input-wpseo_titles-disable-${t}`,label:(0,Lt.sprintf)( // translators: %1$s expands to "media". (0,Lt.__)("Enable %1$s pages","wordpress-seo"),o),description:(0,Lt.sprintf)( // translators: %1$s expands to "media". (0,Lt.__)("We recommend keeping %1$s pages disabled. This will cause all attachment URLs to be redirected to the media itself.","wordpress-seo"),o),className:"yst-max-w-sm"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Search appearance","wordpress-seo"),description:(0,Lt.sprintf)( // translators: %1$s expands to "media". %3$s expands to "Yoast SEO". (0,Lt.__)("Determine how your %1$s pages should look in search engines. You can always customize the settings for individual %1$s pages in the %2$s metabox.","wordpress-seo"),o,"Yoast SEO")},(0,e.createElement)(ua,{name:`wpseo_titles.noindex-${t}`,id:`input-wpseo_titles-noindex-${t}`,label:(0,Lt.sprintf)( // translators: %1$s expands to "media". (0,Lt.__)("Show %1$s pages in search results","wordpress-seo"),o),description:(0,e.createElement)(e.Fragment,null,(0,Lt.sprintf)( // translators: %1$s expands to "media". (0,Lt.__)("Disabling this means that %1$s pages created by WordPress will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),o),(0,e.createElement)("br",null),(0,e.createElement)(l.Link,{href:m,target:"_blank",rel:"noopener"},(0,Lt.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:h,checked:!h&&!y,className:"yst-max-w-sm"}),(0,e.createElement)(_a,{type:"title",name:`wpseo_titles.title-${t}`,fieldId:`input-wpseo_titles-title-${t}`,label:(0,Lt.__)("SEO title","wordpress-seo"),replacementVariables:n,recommendedReplacementVariables:c,disabled:h}),(0,e.createElement)(_a,{type:"description",name:`wpseo_titles.metadesc-${t}`,fieldId:`input-wpseo_titles-metadesc-${t}`,label:(0,Lt.__)("Meta description","wordpress-seo"),replacementVariables:n,recommendedReplacementVariables:c,disabled:h,className:"yst-replacevar--description"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Schema","wordpress-seo"),description:(0,Lt.sprintf)( // translators: %1$s expands to "media". %3$s expands to "Yoast SEO". (0,Lt.__)("Determine how your %1$s pages should be described by default in your site's Schema.org markup. You can always customize the settings for individual %1$s pages in the %2$s metabox.","wordpress-seo"),o,"Yoast SEO")},(0,e.createElement)(Ra,{as:l.SelectField,type:"select",name:`wpseo_titles.schema-page-type-${t}`,id:`input-wpseo_titles-schema-page-type-${t}`,label:(0,Lt.__)("Page type","wordpress-seo"),options:u,disabled:h,className:"yst-max-w-sm"}),r&&(0,e.createElement)("div",null,(0,e.createElement)(Ra,{as:l.SelectField,type:"select",name:`wpseo_titles.schema-article-type-${t}`,id:`input-wpseo_titles-schema-article-type-${t}`,label:(0,Lt.__)("Article type","wordpress-seo"),options:d,disabled:h,className:"yst-max-w-sm"}),(0,e.createElement)(za,{name:t,disabled:h}))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Additional settings","wordpress-seo")},(0,e.createElement)(Ra,{as:l.ToggleField,type:"checkbox",name:`wpseo_titles.display-metabox-pt-${t}`,id:`input-wpseo_titles-display-metabox-pt-${t}`,label:(0,Lt.__)("Enable SEO controls and assessments","wordpress-seo"),description:(0,Lt.__)("Show or hide our tools and controls in the attachment editor.","wordpress-seo"),disabled:h,className:"yst-max-w-sm"})))))},El=({children:t})=>(0,e.createElement)(l.Table.Cell,{className:"yst-font-medium"},(0,e.createElement)("span",{className:"yst-text-slate-900"},t));El.propTypes={children:ir().node.isRequired};const xl=()=>(0,e.createElement)(uo,{title:(0,Lt.__)("RSS","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("RSS feed","wordpress-seo"),description:(0,Lt.__)("Automatically add content to your RSS. This enables you to add links back to your blog and your blog posts, helping search engines identify you as the original source of the content.","wordpress-seo")},(0,e.createElement)(te,{as:l.TextareaField,type:"textarea",rows:4,name:"wpseo_titles.rssbefore",id:"input-wpseo_titles-rssbefore",label:(0,Lt.__)("Content to put before each post in the feed","wordpress-seo")}),(0,e.createElement)(te,{as:l.TextareaField,type:"textarea",rows:4,name:"wpseo_titles.rssafter",id:"input-wpseo_titles-rssafter",label:(0,Lt.__)("Content to put after each post in the feed","wordpress-seo")})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{as:"section",title:(0,Lt.__)("Available variables","wordpress-seo"),description:(0,Lt.__)("You can use the following variables within the content, they will be replaced by the value on the right.","wordpress-seo")},(0,e.createElement)(l.Table,null,(0,e.createElement)(l.Table.Head,null,(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(l.Table.Header,{scope:"col"},(0,Lt.__)("Variable","wordpress-seo")),(0,e.createElement)(l.Table.Header,{scope:"col"},(0,Lt.__)("Description","wordpress-seo")))),(0,e.createElement)(l.Table.Body,null,(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(El,null,"%%AUTHORLINK%%"),(0,e.createElement)(l.Table.Cell,null,(0,Lt.__)("A link to the archive for the post author, with the author's name as anchor text.","wordpress-seo"))),(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(El,null,"%%POSTLINK%%"),(0,e.createElement)(l.Table.Cell,null,(0,Lt.__)("A link to the post, with the title as anchor text.","wordpress-seo"))),(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(El,null,"%%BLOGLINK%%"),(0,e.createElement)(l.Table.Cell,null,(0,Lt.__)("A link to your site, with your site's name as anchor text.","wordpress-seo"))),(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(El,null,"%%BLOGDESCLINK%%"),(0,e.createElement)(l.Table.Cell,null,(0,Lt.__)("A link to your site, with your site's name and description as anchor text.","wordpress-seo"))))))))),kl=Oa(l.ToggleField),Sl=Aa($a),Ll=()=>{const t=(0,i.useMemo)((()=>(0,le.get)(window,"wpseoScriptData.separators",{})),[]),s=aa("selectPreference",[],"generalSettingsUrl"),r=aa("selectPreference",[],"canManageOptions",!1),a=aa("selectPreference",[],"showForceRewriteTitlesSetting",!1),o=aa("selectLink",[],"https://yoa.st/site-basics-replacement-variables"),n=aa("selectLink",[],"https://yoa.st/usage-tracking-2"),c=aa("selectLink",[],"https://yoa.st/site-policies-learn-more"),d=aa("selectPreference",[],"siteTitle",""),u=aa("selectLink",[],"https://yoa.st/site-policies-upsell"),p=aa("selectPreference",[],"isPremium"),m=aa("selectUpsellSettingsAsProps"),{fetchPages:f}=ta(),h=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("Usage tracking allows us to track some data about your site to improve our plugin. %1$sLearn more about which data we track and why%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)("a",{id:"link-usage-tracking",href:n,target:"_blank",rel:"noopener"})})),[]),y=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("Select the pages on your website which contain information about your organizational and publishing policies. Some of these might not apply to your site, and you can select the same page for multiple policies. %1$sLearn more about why setting your site policies is important%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)("a",{id:"link-site-policies",href:c,target:"_blank",rel:"noopener"})})),[c]),w=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s and %2$s expand to an opening and closing emphasis tag. %3$s and %4$s expand to an opening and closing anchor tag. */ (0,Lt.__)("Set the basic info for your website. You can use %1$stagline%2$s and %1$sseparator%2$s as %3$sreplacement variables%4$s when configuring the search appearance of your content.","wordpress-seo"),"","","",""),{em:(0,e.createElement)("em",null),a:(0,e.createElement)("a",{id:"site-basics-replacement-variables",href:o,target:"_blank",rel:"noopener"})})),[]),_=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */ (0,Lt.__)("We're sorry, you're not allowed to edit the %1$swebsite name%2$s and %1$stagline%2$s.","wordpress-seo"),"",""),{em:(0,e.createElement)("em",null)})),[]),g=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})})),[]),b=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening anchor tag. * %2$s expands to a closing anchor tag. */ (0,Lt.__)("This field updates the %1$stagline in your WordPress settings%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)("a",{href:`${s}#blogdescription`,target:"_blank",rel:"noopener noreferrer"})})),[]),v=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which describes the editorial principles of your organization. %1$sWhat%2$s do you write about, %1$swho%2$s do you write for, and %1$swhy%2$s?","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),E=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which describes the ownership structure of your organization. It should include information about %1$sfunding%2$s and %1$sgrants%2$s.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),x=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which describes how your organization collects and responds to %1$sfeedback%2$s, engages with the %1$spublic%2$s, and prioritizes %1$stransparency%2$s.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),k=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which outlines your procedure for addressing %1$serrors%2$s (e.g., publishing retractions or corrections).","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),S=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which describes the personal, organizational, and corporate %1$sstandards%2$s of %1$sbehavior%2$s expected by your organization.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),L=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which provides information on your diversity policies for %1$seditorial%2$s content.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),T=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which provides information about your diversity policies for %1$sstaffing%2$s, %1$shiring%2$s and %1$semployment%2$s.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),{values:F}=q(),{opengraph:$}=F.wpseo_social;return(0,i.useEffect)((()=>{f()}),[f]),(0,e.createElement)(uo,{title:(0,Lt.__)("Site basics","wordpress-seo"),description:(0,Lt.__)("Configure the basics for your website.","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("Site info","wordpress-seo"),description:w},!r&&(0,e.createElement)(l.Alert,{variant:"warning",id:"alert-site-defaults-variables",className:"yst-mb-8"},_),(0,e.createElement)("div",{className:"lg:yst-mt-0 lg:yst-col-span-2 yst-space-y-8"},(0,e.createElement)(Da,{as:l.TextField,name:"wpseo_titles.website_name",id:"input-wpseo_titles-website_name",label:(0,Lt.__)("Website name","wordpress-seo"),placeholder:d}),(0,e.createElement)(Da,{as:l.TextField,name:"wpseo_titles.alternate_website_name",id:"input-wpseo_titles-alternate_website_name",label:(0,Lt.__)("Alternate website name","wordpress-seo"),description:(0,Lt.__)("Use the alternate website name for acronyms, or a shorter version of your website's name.","wordpress-seo")}),(0,e.createElement)(te,{as:l.TextField,type:"text",name:"blogdescription",id:"input-blogdescription",label:(0,Lt.__)("Tagline","wordpress-seo"),description:r&&b,readOnly:!r})),(0,e.createElement)(l.RadioGroup,{label:(0,Lt.__)("Title separator","wordpress-seo"),variant:"inline-block"},(0,le.map)(t,(({label:t,aria_label:s},r)=>(0,e.createElement)(te,{key:r,as:l.Radio,type:"radio",variant:"inline-block",name:"wpseo_titles.separator",id:`input-wpseo_titles-separator-${r}`,label:t,isLabelDangerousHtml:!0,"aria-label":s,value:r})))),(0,e.createElement)(Wa,{isEnabled:$,text:/* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */ (0,Lt.__)("The %1$sSite image%2$s requires Open Graph data, which is currently disabled in the ‘Social sharing’ section in %3$sSite features%4$s.","wordpress-seo")}),(0,e.createElement)(ha,{id:"wpseo_social-og_default_image",label:(0,Lt.__)("Site image","wordpress-seo"),description:(0,Lt.__)("This image is used as a fallback for posts/pages that don't have any images set.","wordpress-seo"),previewLabel:g,mediaUrlName:"wpseo_social.og_default_image",mediaIdName:"wpseo_social.og_default_image_id",disabled:!$})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Site preferences","wordpress-seo")},a&&(0,e.createElement)(Ra,{as:l.ToggleField,type:"checkbox",name:"wpseo_titles.forcerewritetitle",id:"input-wpseo_titles-forcerewritetitle",label:(0,Lt.__)("Force rewrite titles","wordpress-seo"),description:(0,Lt.sprintf)(/* translators: %1$s expands to "Yoast SEO" */ (0,Lt.__)("%1$s has auto-detected whether it needs to force rewrite the titles for your pages, if you think it's wrong and you know what you're doing, you can change the setting here.","wordpress-seo"),"Yoast SEO"),className:"yst-max-w-sm"}),(0,e.createElement)(Ra,{as:l.ToggleField,type:"checkbox",name:"wpseo.disableadvanced_meta",id:"input-wpseo-disableadvanced_meta",label:(0,Lt.__)("Restrict advanced settings for authors","wordpress-seo"),description:(0,Lt.sprintf)(/* translators: %1$s expands to "Yoast SEO" */ (0,Lt.__)("By default only editors and administrators can access the Advanced and Schema section of the %1$s sidebar or metabox. Disabling this allows access to all users.","wordpress-seo"),"Yoast SEO"),className:"yst-max-w-sm"}),(0,e.createElement)(Ra,{as:kl,type:"checkbox",name:"wpseo.tracking",id:"input-wpseo-tracking",label:(0,Lt.__)("Usage tracking","wordpress-seo"),description:h,className:"yst-max-w-sm"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)(e.Fragment,null,(0,Lt.__)("Site policies","wordpress-seo"),p&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium")),description:y},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!p,variant:"card",cardLink:u,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...m},(0,e.createElement)(Sl,{name:"wpseo_titles.publishing_principles_id",id:"input-wpseo_titles-publishing_principles_id",label:(0,Lt.__)("Publishing principles","wordpress-seo"),className:"yst-max-w-sm",description:v,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.ownership_funding_info_id",id:"input-wpseo_titles-ownership_funding_info_id",label:(0,Lt.__)("Ownership / Funding info","wordpress-seo"),className:"yst-max-w-sm",description:E,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.actionable_feedback_policy_id",id:"input-wpseo_titles-actionable_feedback_policy_id",label:(0,Lt.__)("Actionable feedback policy","wordpress-seo"),className:"yst-max-w-sm",description:x,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.corrections_policy_id",id:"input-wpseo_titles-corrections_policy_id",label:(0,Lt.__)("Corrections policy","wordpress-seo"),className:"yst-max-w-sm",description:k,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.ethics_policy_id",id:"input-wpseo_titles-ethics_policy_id",label:(0,Lt.__)("Ethics policy","wordpress-seo"),className:"yst-max-w-sm",description:S,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.diversity_policy_id",id:"input-wpseo_titles-diversity_policy_id",label:(0,Lt.__)("Diversity policy","wordpress-seo"),className:"yst-max-w-sm",description:L,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.diversity_staffing_report_id",id:"input-wpseo_titles-diversity_staffing_report_id",label:(0,Lt.__)("Diversity staffing report","wordpress-seo"),className:"yst-max-w-sm",description:T,isDummy:!p}))))))},Tl=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))})),Fl=({name:t,cardId:s,inputId:r,children:a,imageSrc:o,imageAlt:n,isPremiumFeature:c=!1,isPremiumLink:d="",isBetaFeature:u=!1,isNewFeature:p=!1,hasPremiumBadge:m=!1,title:f})=>{const h=aa("selectPreference",[],"isPremium"),y=aa("selectPluginUrl",[o],o),{isDisabled:w,message:_,disabledSetting:g}=Xr({name:t}),{values:b}=q(),v=aa("selectLink",[d],d),E=aa("selectUpsellSettingsAsProps"),x=(0,l.useSvgAria)(),k=(0,i.useMemo)((()=>(0,le.get)(b,t,!1)),[b,t]),S=(0,i.useMemo)((()=>!h&&c),[h,c]),L=(0,i.useMemo)((()=>w||!S&&!k),[w,S,k]),T=(0,i.useMemo)((()=>w||h&&c&&m||u||p&&!h),[w,h,c,u,p]);return(0,e.createElement)(l.Card,{id:s},(0,e.createElement)(l.Card.Header,{className:"yst-h-auto yst-p-0"},(0,e.createElement)("img",{className:or()("yst-w-full yst-transition yst-duration-200",L&&"yst-opacity-50 yst-filter yst-grayscale"),src:y,alt:null!=n?n:"",width:500,height:250,loading:"lazy",decoding:"async"}),T&&(0,e.createElement)("div",{className:"yst-absolute yst-top-2 yst-end-2 yst-flex yst-gap-1.5"},w&&(0,e.createElement)(l.Badge,{size:"small",variant:"plain"},_),h&&c&&m&&(0,e.createElement)(l.Badge,{size:"small",variant:"upsell"},"Premium"),u&&(0,e.createElement)(l.Badge,{size:"small",variant:"info"},"Beta"),p&&!h&&(0,e.createElement)(l.Badge,{size:"small",variant:"info"},"New"))),(0,e.createElement)(l.Card.Content,{className:"yst-flex yst-flex-col yst-gap-3"},(0,e.createElement)(l.Title,{as:"h3"},f),a),(0,e.createElement)(l.Card.Footer,null,!S&&(0,e.createElement)(Ra,{as:l.ToggleField,type:"checkbox",name:t,id:r,"aria-label":`${(0,Lt.__)("Enable feature","wordpress-seo")} ${f}`,label:(0,Lt.__)("Enable feature","wordpress-seo"),disabled:w,checked:"language"!==g&&k}),S&&(0,e.createElement)(l.Button,{as:"a",className:"yst-gap-2 yst-w-full yst-px-2",variant:"upsell",href:v,target:"_blank",rel:"noopener",...E},(0,e.createElement)(cr,{className:"yst-w-5 yst-h-5 yst--ms-1 yst-shrink-0",...x}),(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"))))};Fl.propTypes={name:ir().string.isRequired,cardId:ir().string.isRequired,inputId:ir().string.isRequired,children:ir().node.isRequired,imageSrc:ir().string.isRequired,imageAlt:ir().string,isPremiumFeature:ir().bool,isBetaFeature:ir().bool,isNewFeature:ir().bool,isPremiumLink:ir().string,hasPremiumBadge:ir().bool,title:ir().string.isRequired};const $l=({id:t,link:s,ariaLabel:r,...a})=>{const o=aa("selectLink",[s],s);return(0,e.createElement)(l.Link,{id:t,href:o,variant:"primary",className:"yst-flex yst-items-center yst-gap-1 yst-no-underline yst-font-medium",target:"_blank",rel:"noopener","aria-label":(0,Lt.sprintf)(/* translators: Hidden accessibility text; %s expands to a translated string of this feature, e.g. "SEO analysis". */ (0,Lt.__)("Learn more about %s (Opens in a new browser tab)","wordpress-seo"),r),...a},(0,Lt.__)("Learn more","wordpress-seo"),(0,e.createElement)(xr,{className:"yst-w-4 yst-h-4 yst-icon-rtl"}))};$l.propTypes={id:ir().string.isRequired,link:ir().string.isRequired,ariaLabel:ir().string.isRequired};const Pl=()=>{const t=aa("selectPreference",[],"isPremium"),s=aa("selectPreference",[],"sitemapUrl"),{values:r,initialValues:a}=q(),{enable_xml_sitemap:o}=r.wpseo,{enable_xml_sitemap:n}=a.wpseo,c=(0,i.useMemo)((()=>t?"yst-grid yst-gap-6 yst-grid-cols-1 sm:yst-grid-cols-2 min-[783px]:yst-grid-cols-1 lg:yst-grid-cols-2 xl:yst-grid-cols-3 2xl:yst-grid-cols-4":"yst-grid yst-gap-6 yst-grid-cols-1 sm:yst-grid-cols-2 min-[783px]:yst-grid-cols-1 lg:yst-grid-cols-2 2xl:yst-grid-cols-3 min-[1800px]:yst-grid-cols-4"),[t]);return(0,e.createElement)(uo,{title:(0,Lt.__)("Site features","wordpress-seo"),description:(0,Lt.__)("Tell us which features you want to use.","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-6xl"},(0,e.createElement)("fieldset",{className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("Writing","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2"},(0,Lt.__)("Writing","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo.keyword_analysis_active",cardId:"card-wpseo-keyword_analysis_active",inputId:"input-wpseo-keyword_analysis_active",imageSrc:"/images/seo_analysis.png",title:(0,Lt.__)("SEO analysis","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("The SEO analysis offers suggestions to improve the findability of your text and makes sure that your content meets best practices.","wordpress-seo")),(0,e.createElement)($l,{id:"link-seo-analysis",link:"https://yoa.st/2ak",ariaLabel:(0,Lt.__)("SEO analysis","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.content_analysis_active",cardId:"card-wpseo-content_analysis_active",inputId:"input-wpseo-content_analysis_active",imageSrc:"/images/readability_analysis.png",title:(0,Lt.__)("Readability analysis","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("The readability analysis offers suggestions to improve the structure and style of your text.","wordpress-seo")),(0,e.createElement)($l,{id:"link-readability-analysis",link:"https://yoa.st/2ao",ariaLabel:(0,Lt.__)("Readability analysis","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.inclusive_language_analysis_active",cardId:"card-wpseo-inclusive_language_analysis_active",inputId:"input-wpseo-inclusive_language_analysis_active",imageSrc:"/images/inclusive_language_analysis.png",title:(0,Lt.__)("Inclusive language analysis","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("The inclusive language analysis offers suggestions to write more inclusive copy, so more people will be able to relate to your content.","wordpress-seo")),(0,e.createElement)($l,{id:"link-inclusive-language-analysis",link:"https://yoa.st/inclusive-language-feature-learn-more",ariaLabel:(0,Lt.__)("Inclusive language analysis","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_ai_generator",cardId:"card-wpseo-enable_ai_generator",inputId:"input-wpseo-enable_ai_generator",imageSrc:"/images/ai-generator.png",isPremiumFeature:!0,hasPremiumBadge:!1,isBetaFeature:!0,isPremiumLink:"https://yoa.st/get-ai-generator",title:"Yoast AI"},(0,e.createElement)("p",null,(0,Lt.__)("The AI features help you create better content by providing optimization suggestions that you can apply as you wish.","wordpress-seo")),(0,e.createElement)($l,{id:"link-ai-generator",link:"https://yoa.st/ai-generator-feature",ariaLabel:(0,Lt.__)("AI title & description generator","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_metabox_insights",cardId:"card-wpseo-enable_metabox_insights",inputId:"input-wpseo-enable_metabox_insights",imageSrc:"/images/insights.png",title:(0,Lt.__)("Insights","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Get more insights into what you are writing. What words do you use most often? How much time does it take to read your text? Is your text easy to read?","wordpress-seo")),(0,e.createElement)($l,{id:"link-insights",link:"https://yoa.st/4ew",ariaLabel:(0,Lt.__)("Insights","wordpress-seo")})))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("fieldset",{className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("Site structure","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2"},(0,Lt.__)("Site structure","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo.enable_cornerstone_content",cardId:"card-wpseo-enable_cornerstone_content",inputId:"input-wpseo-enable_cornerstone_content",imageSrc:"/images/cornerstone_content.png",title:(0,Lt.__)("Cornerstone content","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Mark and filter your cornerstone content to make sure your most important articles get the attention they deserve. To help you write excellent copy, we’ll assess your text more strictly.","wordpress-seo")),(0,e.createElement)($l,{id:"link-cornerstone-content",link:"https://yoa.st/dashboard-help-cornerstone",ariaLabel:(0,Lt.__)("Cornerstone content","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_text_link_counter",cardId:"card-wpseo-enable_text_link_counter",inputId:"input-wpseo-enable_text_link_counter",imageSrc:"/images/text_link_counter.png",title:(0,Lt.__)("Text link counter","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Count the number of internal links from and to your posts to improve your site structure.","wordpress-seo")),(0,e.createElement)($l,{id:"link-text-link-counter",link:"https://yoa.st/2aj",ariaLabel:(0,Lt.__)("Text link counter","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_link_suggestions",cardId:"card-wpseo-enable_link_suggestions",inputId:"input-wpseo-enable_link_suggestions",imageSrc:"/images/link_suggestions.png",isPremiumFeature:!0,hasPremiumBadge:!0,isPremiumLink:"https://yoa.st/get-link-suggestions",title:(0,Lt.__)("Internal linking suggestions","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("No need to figure out what to link to. You get linking suggestions for relevant posts and pages to make your website easier to navigate.","wordpress-seo")),(0,e.createElement)($l,{id:"link-suggestions-link",link:t?"https://yoa.st/17g":"https://yoa.st/4ev",ariaLabel:(0,Lt.__)("Link suggestions","wordpress-seo")})))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("fieldset",{id:"section-social-sharing",className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("Social sharing","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2",className:"yst-mb-2"},(0,Lt.__)("Social sharing","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo_social.opengraph",cardId:"card-wpseo_social-opengraph",inputId:"input-wpseo_social-opengraph",imageSrc:"/images/open_graph.png",title:(0,Lt.__)("Open Graph data","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Allows for Facebook and other social media to display a preview with images and a text excerpt when a link to your site is shared. Keep this feature enabled to optimize your site for social media.","wordpress-seo")),(0,e.createElement)($l,{id:"link-open-graph-data",link:"https://yoa.st/site-features-open-graph-data",ariaLabel:(0,Lt.__)("Open Graph data","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo_social.twitter",cardId:"card-wpseo_social-twitter",inputId:"input-wpseo_social-twitter",imageSrc:"/images/twitter_card.png",title:(0,Lt.__)("X card data","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Allows for X to display a preview with images and a text excerpt when a link to your site is shared.","wordpress-seo")),(0,e.createElement)($l,{id:"link-twitter-card-data",link:"https://yoa.st/site-features-twitter-card-data",ariaLabel:(0,Lt.__)("X card data","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_enhanced_slack_sharing",cardId:"card-wpseo-enable_enhanced_slack_sharing",inputId:"input-wpseo-enable_enhanced_slack_sharing",imageSrc:"/images/slack_sharing.png",title:(0,Lt.__)("Slack sharing","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("This adds an author byline and reading time estimate to the article’s snippet when shared on Slack.","wordpress-seo")),(0,e.createElement)($l,{id:"link-slack-sharing",link:"https://yoa.st/help-slack-share",ariaLabel:(0,Lt.__)("Slack sharing","wordpress-seo")})))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("fieldset",{className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("Tools","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2"},(0,Lt.__)("Tools","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo.enable_admin_bar_menu",cardId:"card-wpseo-enable_admin_bar_menu",inputId:"input-wpseo-enable_admin_bar_menu",imageSrc:"/images/admin_bar.png",title:(0,Lt.__)("Admin bar menu","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.sprintf)( // translators: %1$s expands to Yoast. (0,Lt.__)("The %1$s icon in the top admin bar provides quick access to third-party tools for analyzing pages and makes it easy to see if you have new notifications.","wordpress-seo"),"Yoast")),(0,e.createElement)($l,{id:"link-admin-bar",link:"https://yoa.st/site-features-admin-bar",ariaLabel:(0,Lt.__)("Admin bar menu","wordpress-seo")})))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("fieldset",{className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("APIs","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2"},(0,Lt.__)("APIs","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo.enable_headless_rest_endpoints",cardId:"card-wpseo-enable_headless_rest_endpoints",inputId:"input-wpseo-enable_headless_rest_endpoints",imageSrc:"/images/rest_api.png",title:(0,Lt.__)("REST API endpoint","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("This Yoast SEO REST API endpoint gives you all the metadata you need for a specific URL. This will make it very easy for headless WordPress sites to use Yoast SEO for all their SEO meta output.","wordpress-seo")),(0,e.createElement)($l,{id:"link-rest-api-endpoint",link:"https://yoa.st/site-features-rest-api-endpoint",ariaLabel:(0,Lt.__)("REST API endpoint","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_xml_sitemap",cardId:"card-wpseo-enable_xml_sitemap",inputId:"input-wpseo-enable_xml_sitemap",imageSrc:"/images/xml_sitemaps.png",title:(0,Lt.__)("XML sitemaps","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.sprintf)( // translators: %1$s expands to "Yoast SEO". (0,Lt.__)("Enable the %1$s XML sitemaps. A sitemap is a file that lists a website's essential pages to make sure search engines can find and crawl them.","wordpress-seo"),"Yoast SEO")),n&&o&&(0,e.createElement)(l.Button,{as:"a",id:"link-xml-sitemaps",href:s,variant:"secondary",target:"_blank",rel:"noopener",className:"yst-self-start"},(0,Lt.__)("View the XML sitemap","wordpress-seo"),(0,e.createElement)(Tl,{className:"yst--me-1 yst-ms-1 yst-h-5 yst-w-5 yst-text-slate-400 rtl:yst-rotate-[270deg]"})),(0,e.createElement)($l,{id:"link-xml-sitemaps-learn-more",link:"https://yoa.st/2a-",ariaLabel:(0,Lt.__)("XML sitemaps","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_index_now",cardId:"card-wpseo-enable_index_now",inputId:"input-wpseo-enable_index_now",imageSrc:"/images/indexnow.png",isPremiumFeature:!0,hasPremiumBadge:!0,isPremiumLink:"https://yoa.st/get-indexnow",title:(0,Lt.__)("IndexNow","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Automatically ping search engines like Bing and Yandex whenever you publish, update or delete a post.","wordpress-seo")),(0,e.createElement)($l,{id:"link-index-now",link:"https://yoa.st/index-now-feature",ariaLabel:(0,Lt.__)("IndexNow","wordpress-seo")})))))))},Rl=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"}))})),Nl=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{fillRule:"evenodd",d:"M10 3a1 1 0 011 1v5h5a1 1 0 110 2h-5v5a1 1 0 11-2 0v-5H4a1 1 0 110-2h5V4a1 1 0 011-1z",clipRule:"evenodd"}))})),Il=Ca(Da),Ol=Aa(Ia),Cl=()=>{const{values:t}=q(),{website_name:s,company_or_person:r,company_or_person_user_id:a,company_name:o,company_logo_id:n}=t.wpseo_titles,{other_social_urls:c}=t.wpseo_social,d=aa("selectUserById",[a],a),u=aa("selectLink",[],"https://yoa.st/1-p"),p=aa("selectLink",[],"https://yoa.st/3r3"),m=aa("selectLink",[],"https://yoa.st/site-representation-org-additional-info-upsell"),f=aa("selectLink",[],"https://yoa.st/site-representation-org-identifiers"),h=aa("selectLink",[],"https://yoa.st/site-representation-organization-person"),y=aa("selectPreference",[],"editUserUrl"),w=aa("selectPreference",[],"isLocalSeoActive"),_=aa("selectPreference",[],"companyOrPersonMessage"),g=aa("selectFallback",[],"siteLogoId"),b=aa("selectCanEditUser",[null==d?void 0:d.id],null==d?void 0:d.id),v=aa("selectPreference",[],"isPremium"),E=aa("selectUpsellSettingsAsProps"),x=aa("selectLink",[],"https://yoa.st/get-mastodon-integration"),k=aa("selectLink",[],"https://yoa.st/site-representation-mastodon"),S=aa("selectPreference",[],"localSeoPageSettingUrl");let L=(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Lt.__)("You have %1$s activated on your site. You can provide your VAT ID and Tax ID in the %2$s‘Business info’ settings%3$s.","wordpress-seo"),"Yoast Local SEO","",""),{a:(0,e.createElement)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})}),T=(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Lt.__)("You have %1$s activated on your site. You can provide your email and phone in the %2$s‘Business info’ settings%3$s.","wordpress-seo"),"Yoast Local SEO","",""),{a:(0,e.createElement)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})});S.includes("wpseo_locations")&&(L=(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Lt.__)("You have %1$s activated on your site, and you've configured your business for multiple locations. This allows you to provide your VAT ID and Tax ID for %2$seach specific location%3$s.","wordpress-seo"),"Yoast Local SEO","",""),{a:(0,e.createElement)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})}),T=(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Lt.__)("You have %1$s activated on your site, and you've configured your business for multiple locations. This allows you to provide your email and phone for %2$seach specific location%3$s.","wordpress-seo"),"Yoast Local SEO","",""),{a:(0,e.createElement)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})}));const F=(0,i.useCallback)((async e=>{var t;await e.push(""),null===(t=document.getElementById(`input-wpseo_social-other_social_urls-${c.length}`))||void 0===t||t.focus()}),[c]);return(0,e.createElement)(uo,{title:(0,Lt.__)("Site representation","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. (0,Lt.__)("This info is intended to appear in %1$sGoogle's Knowledge Graph%2$s.","wordpress-seo"),"",""),u,"link-google-knowledge-graph")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("Organization/person","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. (0,Lt.__)("Choose whether your site represents an organization or a person. %1$sLearn more about the differences and choosing between Organization and Person%2$s.","wordpress-seo"),"",""),h,"link-site-representation-organization-person")},w&&(0,e.createElement)(l.Alert,{id:"alert-local-seo-company-or-person",variant:"info"},_),(0,e.createElement)(l.RadioGroup,{disabled:w},(0,e.createElement)(te,{as:l.Radio,type:"radio",name:"wpseo_titles.company_or_person",id:"input-wpseo_titles-company_or_person-company",label:(0,Lt.__)("Organization","wordpress-seo"),value:"company",disabled:w}),(0,e.createElement)(te,{as:l.Radio,type:"radio",name:"wpseo_titles.company_or_person",id:"input-wpseo_titles-company_or_person-person",label:(0,Lt.__)("Person","wordpress-seo"),value:"person",disabled:w}))),(0,e.createElement)("section",{className:"yst-space-y-8"}),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("div",{className:"yst-relative"},(0,e.createElement)(ia.Z,{easing:"ease-out",duration:300,delay:300,height:"company"===r?"auto":0,animateOpacity:!0},(0,e.createElement)(na,{title:(0,Lt.__)("Organization","wordpress-seo"),description:(0,Lt.__)("Please tell us more about your organization. This information will help Google to understand your website, and improve your chance of getting rich results.","wordpress-seo")},(!o||n<1)&&(0,e.createElement)(l.Alert,{id:"alert-organization-name-logo",variant:"info"},Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. (0,Lt.__)("An organization name and logo need to be set for structured data to work properly. Since you haven’t set these yet, we are using the site name and logo as default values. %1$sLearn more about the importance of structured data%2$s.","wordpress-seo"),"",""),p,"link-structured-data")),(0,e.createElement)(te,{as:l.TextField,name:"wpseo_titles.company_name",id:"input-wpseo_titles-company_name",label:(0,Lt.__)("Organization name","wordpress-seo"),placeholder:s}),(0,e.createElement)(te,{as:l.TextField,name:"wpseo_titles.company_alternate_name",id:"input-wpseo_titles-company_alternate_name",label:(0,Lt.__)("Alternate organization name","wordpress-seo"),description:(0,Lt.__)("Use the alternate organization name for acronyms, or a shorter version of your organization's name.","wordpress-seo")}),(0,e.createElement)(ha,{id:"wpseo_titles-company_logo",label:(0,Lt.__)("Organization logo","wordpress-seo"),variant:"square",previewLabel:(0,i.createInterpolateElement)((0,Lt.sprintf)( /* translators: %1$s expands to an opening strong tag. %2$s expands to a closing strong tag. %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","696x696px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})}),mediaUrlName:"wpseo_titles.company_logo",mediaIdName:"wpseo_titles.company_logo_id",fallbackMediaId:g})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{id:"fieldset-wpseo_social-other_social_urls",title:(0,Lt.__)("Other profiles","wordpress-seo"),description:(0,Lt.__)("Tell us if you have any other profiles on the web that belong to your organization. This can be any number of profiles, like YouTube, LinkedIn, Pinterest, or even Wikipedia.","wordpress-seo")},(0,e.createElement)(Da,{as:l.TextField,name:"wpseo_social.facebook_site",id:"input-wpseo_social-facebook_site",label:(0,Lt.__)("Facebook","wordpress-seo"),placeholder:(0,Lt.__)("E.g. https://facebook.com/yoast","wordpress-seo")}),(0,e.createElement)(Da,{as:l.TextField,name:"wpseo_social.twitter_site",id:"input-wpseo_social-twitter_site",label:(0,Lt.__)("X","wordpress-seo"),placeholder:(0,Lt.__)("E.g. https://x.com/yoast","wordpress-seo")}),(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!v,variant:"card",cardLink:x,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...E},(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_social.mastodon_url",id:"input-wpseo_social-mastodon_url",label:(0,Lt.__)("Mastodon","wordpress-seo"),placeholder:(0,Lt.__)("E.g. https://mastodon.social/@yoast","wordpress-seo"),labelSuffix:v&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium"),isDummy:!v,description:(0,e.createElement)(i.Fragment,null,(0,Lt.__)("Get your site verified in your Mastodon profile.","wordpress-seo")," ",(0,e.createElement)(l.Link,{id:"link-wpseo_social-mastodon_url",href:k,target:"_blank",rel:"noopener"},(0,Lt.__)("Read more about how to get your site verified.","wordpress-seo")))})),(0,e.createElement)(ie,{name:"wpseo_social.other_social_urls"},(t=>(0,e.createElement)(i.Fragment,null,c.map(((s,r)=>(0,e.createElement)(Js,{key:`wpseo_social.other_social_urls.${r}`,as:i.Fragment,appear:!0,show:!0,enter:"yst-transition yst-ease-out yst-duration-300",enterFrom:"yst-transform yst-opacity-0",enterTo:"yst-transform yst-opacity-100",leave:"yst-transition yst-ease-out yst-duration-300",leaveFrom:"yst-transform yst-opacity-100",leaveTo:"yst-transform yst-opacity-0"},(0,e.createElement)("div",{className:"yst-w-full yst-flex yst-items-start yst-gap-2"},(0,e.createElement)(Da,{as:l.TextField,name:`wpseo_social.other_social_urls.${r}`,id:`input-wpseo_social-other_social_urls-${r}`,label:(0,Lt.sprintf)((0,Lt.__)("Other profile %1$s","wordpress-seo"),r+1),placeholder:(0,Lt.__)("E.g. https://example.com/yoast","wordpress-seo"),className:"yst-grow"}),(0,e.createElement)(l.Button,{variant:"secondary",onClick:t.remove.bind(null,r),className:"yst-mt-7 yst-p-2.5","aria-label":(0,Lt.sprintf)((0,Lt.__)("Remove Other profile %1$s","wordpress-seo"),r+1)},(0,e.createElement)(Rl,{className:"yst-h-5 yst-w-5"})))))),(0,e.createElement)(l.Button,{id:"button-add-social-profile",variant:"secondary",onClick:()=>F(t)},(0,e.createElement)(Nl,{className:"yst--ms-1 yst-me-1 yst-h-5 yst-w-5 yst-text-slate-400"}),(0,Lt.__)("Add another profile","wordpress-seo")))))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)(i.Fragment,null,(0,Lt.__)("Additional organization info","wordpress-seo"),v&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium")),description:(0,Lt.__)("Enrich your organization's profile by providing more in-depth information. The more details you share, the better Google understands your website.","wordpress-seo")},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!v,variant:"card",cardLink:m,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...E},(0,e.createElement)(Il,{as:l.TextareaField,name:"wpseo_titles.org-description",id:"input-wpseo_titles-org-description",label:(0,Lt.__)("Organization description","wordpress-seo"),isDummy:!v,maxLength:2e3}),w&&v&&(0,e.createElement)(l.Alert,{id:"alert-local-seo-vat-or-tax-id",variant:"info"},T),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-email",id:"input-wpseo_titles-org-email",type:"email",label:(0,Lt.__)("Organization email address","wordpress-seo"),isDummy:!v||w}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-phone",id:"input-wpseo_titles-org-phone",label:(0,Lt.__)("Organization phone number","wordpress-seo"),isDummy:!v||w}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-legal-name",id:"input-wpseo_titles-org-legal-name",label:(0,Lt.__)("Organization's legal name","wordpress-seo"),isDummy:!v}),(0,e.createElement)(Il,{as:l.TextField,className:"yst-w-3/5",name:"wpseo_titles.org-founding-date",id:"input-wpseo_titles-org-founding-date",label:(0,Lt.__)("Organization's founding date","wordpress-seo"),type:"date",isDummy:!v}),(0,e.createElement)(Ol,{name:"wpseo_titles.org-number-employees",className:"yst-w-3/5",id:"input-wpseo_titles-org-number-employees",label:(0,Lt.__)("Number of employees","wordpress-seo"),placeholder:(0,Lt.__)("Select a range / Enter a number","wordpress-seo"),isDummy:!v,options:[{value:"",label:"None"},{value:"1-10",label:(0,Lt.__)("1–10 employees","wordpress-seo")},{value:"11-50",label:(0,Lt.__)("11–50 employees","wordpress-seo")},{value:"51-200",label:(0,Lt.__)("51–200 employees","wordpress-seo")},{value:"201-500",label:(0,Lt.__)("201–500 employees","wordpress-seo")},{value:"501-1000",label:(0,Lt.__)("501–1000 employees","wordpress-seo")},{value:"1001-5000",label:(0,Lt.__)("1001–5000 employees","wordpress-seo")},{value:"5001-10000",label:(0,Lt.__)("5001–10000 employees","wordpress-seo")}]}))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)(i.Fragment,null,(0,Lt.__)("Organization identifiers","wordpress-seo"),v&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium")),description:(0,Lt.__)("Please tell us more about your organization’s identifiers. This information will help Google to display accurate and helpful details about your organization.","wordpress-seo")},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!v,variant:"card",cardLink:f,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...E},w&&v&&(0,e.createElement)(l.Alert,{id:"alert-local-seo-vat-or-tax-id",variant:"info"},L),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-vat-id",id:"input-wpseo_titles-org-vat-id",label:(0,Lt.__)("VAT ID","wordpress-seo"),isDummy:!v||w}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-tax-id",id:"input-wpseo_titles-org-tax-id",label:(0,Lt.__)("Tax ID","wordpress-seo"),isDummy:!v||w}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-iso",id:"input-wpseo_titles-org-iso",label:(0,Lt.__)("ISO 6523","wordpress-seo"),isDummy:!v}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-duns",id:"input-wpseo_titles-org-duns",label:(0,Lt.__)("DUNS","wordpress-seo"),isDummy:!v}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-leicode",id:"input-wpseo_titles-org-leicode",label:(0,Lt.__)("LEI code","wordpress-seo"),isDummy:!v}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-naics",id:"input-wpseo_titles-org-naics",label:(0,Lt.__)("NAICS","wordpress-seo"),isDummy:!v})))),(0,e.createElement)(ia.Z,{easing:"ease-out",duration:300,delay:300,height:"person"===r?"auto":0,animateOpacity:!0},(0,e.createElement)(na,{title:(0,Lt.__)("Personal info","wordpress-seo"),description:(0,Lt.__)("Please tell us more about the person this site represents.","wordpress-seo")},(0,e.createElement)(Sa,{name:"wpseo_titles.company_or_person_user_id",id:"input-wpseo_titles-company_or_person_user_id",label:(0,Lt.__)("Select a user","wordpress-seo"),className:"yst-max-w-sm"}),!(0,le.isEmpty)(d)&&(0,e.createElement)(l.Alert,{id:"alert-person-user-profile"},b&&(0,i.createInterpolateElement)((0,Lt.sprintf)( /* translators: %1$s and %2$s are replaced by opening and closing tags. %3$s and %4$s are replaced by opening and closing tags. %5$s is replaced by the selected user display name. */ (0,Lt.__)("You have selected the user %1$s%5$s%2$s as the person this site represents. Their user profile information will now be used in search results. %3$sUpdate their profile to make sure the information is correct%4$s.","wordpress-seo"),"","","","",null==d?void 0:d.name),{strong:(0,e.createElement)("strong",{className:"yst-font-medium"}),a:(0,e.createElement)("a",{id:"link-person-user-profile",href:`${y}?user_id=${null==d?void 0:d.id}`,target:"_blank",rel:"noopener noreferrer"})}),!b&&(0,i.createInterpolateElement)((0,Lt.sprintf)( /* translators: %1$s and %2$s are replaced by opening and closing tags. %3$s is replaced by the selected user display name. */ (0,Lt.__)("You have selected the user %1$s%3$s%2$s as the person this site represents. Their user profile information will now be used in search results. We're sorry, you're not allowed to edit this user's profile. Please contact your admin or %1$s%3$s%2$s to check and/or update the profile.","wordpress-seo"),"","",null==d?void 0:d.name),{strong:(0,e.createElement)("strong",{className:"yst-font-medium"})})),(0,e.createElement)(ha,{id:"wpseo_titles-person_logo",label:(0,Lt.__)("Personal logo or avatar","wordpress-seo"),variant:"square",previewLabel:(0,i.createInterpolateElement)((0,Lt.sprintf)( /* translators: %1$s expands to an opening strong tag. %2$s expands to a closing strong tag. %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","696x696px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})}),mediaUrlName:"wpseo_titles.person_logo",mediaIdName:"wpseo_titles.person_logo_id",fallbackMediaId:g,disabled:!a})))))))},Al=()=>{const t=aa("selectReplacementVariablesFor",[],"search","search"),s=aa("selectRecommendedReplacementVariablesFor",[],"search","search"),r=aa("selectReplacementVariablesFor",[],"404","404"),a=aa("selectRecommendedReplacementVariablesFor",[],"404","404");return(0,e.createElement)(uo,{title:(0,Lt.__)("Special pages","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("Internal search pages","wordpress-seo"),description:(0,Lt.__)("Determine how the title of your internal search pages should look in the browser.","wordpress-seo")},(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.title-search-wpseo",fieldId:"input-wpseo_titles-title-search-wpseo",label:(0,Lt.__)("Page title","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("404 error pages","wordpress-seo"),description:(0,Lt.__)("Determine how the title of your 404 error pages should look in the browser.","wordpress-seo")},(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.title-404-wpseo",fieldId:"input-wpseo_titles-title-404-wpseo",label:(0,Lt.__)("Page title","wordpress-seo"),replacementVariables:r,recommendedReplacementVariables:a})))))},Ml=/content=(['"])?(?[^'"> ]+)(?:\1|[ />])/,Dl=e=>{var t;const s=e.target.value.match(Ml);return null!=s&&null!==(t=s.groups)&&void 0!==t&&t.content?s.groups.content:e.target.value},Bl=Ma(Ra),Ul=()=>{const t=aa("selectPreference",[],"siteUrl");return(0,e.createElement)(uo,{title:(0,Lt.__)("Site connections","wordpress-seo"),description:(0,Lt.__)("Verify your site with different tools. This will add a verification meta tag to your homepage. You can find instructions on how to verify your site for each platform by following the link in the description.","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)("fieldset",{className:"yst-min-width-0 yst-max-w-screen-sm yst-space-y-8"},(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo.baiduverify",id:"input-wpseo-baiduverify",label:(0,Lt.__)("Baidu","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Get your verification code in %1$sBaidu Webmaster tools%2$s.","wordpress-seo"),"",""),"https://ziyuan.baidu.com/site","link-baidu-webmaster-tools"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl}),(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo.msverify",id:"input-wpseo-msverify",label:(0,Lt.__)("Bing","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Get your verification code in %1$sBing Webmaster tools%2$s.","wordpress-seo"),"",""),`https://www.bing.com/toolbox/webmaster/#/Dashboard/?url=${t}`,"link-bing-webmaster-tools"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl}),(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo.googleverify",id:"input-wpseo-googleverify",label:(0,Lt.__)("Google","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Get your verification code in %1$sGoogle Search console%2$s.","wordpress-seo"),"",""),(0,Rt.addQueryArgs)("https://search.google.com/search-console/users",{hl:"en",tid:"alternate",siteUrl:t}),"link-google-search-console"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl}),(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo_social.pinterestverify",id:"input-wpseo_social-pinterestverify",label:(0,Lt.__)("Pinterest","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Claim your site over at %1$sPinterest%2$s.","wordpress-seo"),"",""),"https://www.pinterest.com/settings/claim","link-pinterest"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl}),(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo.yandexverify",id:"input-wpseo-yandexverify",label:(0,Lt.__)("Yandex","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Get your verification code in %1$sYandex Webmaster tools%2$s.","wordpress-seo"),"",""),"https://webmaster.yandex.com/sites/add/","link-yandex-webmaster-tools"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl})))))},jl=({postTypes:t,taxonomies:s,idSuffix:r=""})=>{const a=(0,l.useSvgAria)(),o=aa("selectPreference",[],"isPremium"),n=(0,i.useCallback)((({show:t,toggle:s,ariaProps:r})=>{const o=(0,i.useMemo)((()=>t?sr:rr),[t]);return(0,e.createElement)("div",{className:"yst-relative"},(0,e.createElement)("hr",{className:"yst-absolute yst-inset-x-0 yst-top-1/2 yst-bg-slate-200"}),(0,e.createElement)("button",{type:"button",className:"yst-relative yst-flex yst-items-center yst-gap-1.5 yst-px-2.5 yst-py-1 yst-mx-auto yst-text-xs yst-font-medium yst-text-slate-700 yst-bg-slate-50 yst-rounded-full yst-border yst-border-slate-300 hover:yst-bg-white hover:yst-text-slate-800 focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-primary-500 focus:yst-ring-offset-2",onClick:s,...r},t?(0,Lt.__)("Show less","wordpress-seo"):(0,Lt.__)("Show more","wordpress-seo"),(0,e.createElement)(o,{className:"yst-h-4 yst-w-4 yst-flex-shrink-0 yst-text-slate-400 group-hover:yst-text-slate-500 yst-stroke-3",...a})))}),[]);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("header",{className:"yst-px-3 yst-mb-6 yst-space-y-6"},(0,e.createElement)(Et,{id:`link-yoast-logo${r}`,to:"/",className:"yst-inline-block yst-rounded-md focus:yst-ring-primary-500","aria-label":"Yoast SEO"+(o?" Premium":"")},(0,e.createElement)(Qr,{className:"yst-w-40",...a})),(0,e.createElement)(Ji,{buttonId:`button-search${r}`})),(0,e.createElement)("div",{className:"yst-px-0.5 yst-space-y-6"},(0,e.createElement)(l.SidebarNavigation.MenuItem,{id:`menu-general${r}`,icon:Qs,label:(0,Lt.__)("General","wordpress-seo")},(0,e.createElement)(vr,{to:"/site-features",label:(0,Lt.__)("Site features","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/site-basics",label:(0,Lt.__)("Site basics","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/site-representation",label:(0,Lt.__)("Site representation","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/site-connections",label:(0,Lt.__)("Site connections","wordpress-seo"),idSuffix:r})),(0,e.createElement)(l.SidebarNavigation.MenuItem,{id:`menu-content-types${r}`,icon:Xs,label:(0,Lt.__)("Content types","wordpress-seo")},(0,e.createElement)(l.ChildrenLimiter,{limit:5,renderButton:n},(0,e.createElement)(vr,{to:"/homepage",label:(0,Lt.__)("Homepage","wordpress-seo"),idSuffix:r}),(0,le.map)(t,(({name:t,route:s,label:a,isNew:o})=>(0,e.createElement)(vr,{key:`link-post-type-${t}`,to:`/post-type/${s}`,label:(0,e.createElement)("span",{className:"yst-inline-flex yst-items-center yst-gap-1.5"},a,o&&(0,e.createElement)(l.Badge,{variant:"info"},(0,Lt.__)("New","wordpress-seo"))),idSuffix:r}))))),(0,e.createElement)(l.SidebarNavigation.MenuItem,{id:`menu-categories-and-tags${r}`,icon:er,label:(0,Lt.__)("Categories & tags","wordpress-seo")},(0,e.createElement)(l.ChildrenLimiter,{limit:5,renderButton:n},(0,le.map)(s,(t=>(0,e.createElement)(vr,{key:`link-taxonomy-${t.name}`,to:`/taxonomy/${t.route}`,label:(0,e.createElement)("span",{className:"yst-inline-flex yst-items-center yst-gap-1.5"},t.label,t.isNew&&(0,e.createElement)(l.Badge,{variant:"info"},(0,Lt.__)("New","wordpress-seo"))),idSuffix:r}))))),(0,e.createElement)(l.SidebarNavigation.MenuItem,{id:`menu-advanced${r}`,icon:tr,label:(0,Lt.__)("Advanced","wordpress-seo"),defaultOpen:!1},(0,e.createElement)(vr,{to:"/crawl-optimization",label:(0,Lt.__)("Crawl optimization","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/breadcrumbs",label:(0,Lt.__)("Breadcrumbs","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/author-archives",label:(0,Lt.__)("Author archives","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/date-archives",label:(0,Lt.__)("Date archives","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/format-archives",label:(0,Lt.__)("Format archives","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/special-pages",label:(0,Lt.__)("Special pages","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/media-pages",label:(0,Lt.__)("Media pages","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/rss",label:(0,Lt.__)("RSS","wordpress-seo"),idSuffix:r}))))};jl.propTypes={postTypes:ir().object.isRequired,taxonomies:ir().object.isRequired,idSuffix:ir().string};const Vl=()=>{const{pathname:t}=Qe(),s=aa("selectPostTypes"),r=aa("selectTaxonomies"),o=aa("selectPreference",[],"isPremium"),n=aa("selectLink",[],"https://yoa.st/17h"),c=aa("selectLink",[],"https://yoa.st/jj"),d=aa("selectUpsellSettingsAsProps"),u=aa("selectLink",[],"https://yoa.st/3t6"),{isPromotionActive:p}=(0,a.useSelect)(ea);(()=>{const{hash:e,pathname:t,key:s}=Qe();(0,i.useEffect)((()=>{const t=e.replace("#",""),s=document.getElementById(t)||document.querySelector(`[data-id="${t}"]`);if(s)s.scrollIntoView({behavior:"smooth"}),setTimeout((()=>s.focus()),800);else{const e=document.getElementById("yoast-seo-settings");null==e||e.scrollIntoView({behavior:"smooth"})}}),[t,e,s])})();const{dirty:m}=q();return(0,l.useBeforeUnload)(m,(0,Lt.__)("There are unsaved changes on this page. Leaving means that those changes will be lost. Are you sure you want to leave this page?","wordpress-seo")),(0,e.createElement)(e.Fragment,null,(0,e.createElement)(ja,null),(0,e.createElement)(l.SidebarNavigation,{activePath:t},(0,e.createElement)(l.SidebarNavigation.Mobile,{openButtonId:"button-open-settings-navigation-mobile",closeButtonId:"button-close-settings-navigation-mobile" /* translators: Hidden accessibility text. */,openButtonScreenReaderText:(0,Lt.__)("Open settings navigation","wordpress-seo") /* translators: Hidden accessibility text. */,closeButtonScreenReaderText:(0,Lt.__)("Close settings navigation","wordpress-seo"),"aria-label":(0,Lt.__)("Settings navigation","wordpress-seo")},(0,e.createElement)(jl,{idSuffix:"-mobile",postTypes:s,taxonomies:r})),(0,e.createElement)("div",{className:"yst-p-4 min-[783px]:yst-p-8 yst-flex yst-gap-4"},(0,e.createElement)("aside",{className:"yst-sidebar yst-sidebar-nav yst-shrink-0 yst-hidden min-[783px]:yst-block yst-pb-6 yst-bottom-0 yst-w-56"},(0,e.createElement)(l.SidebarNavigation.Sidebar,null,(0,e.createElement)(jl,{postTypes:s,taxonomies:r}))),(0,e.createElement)("div",{className:or()("yst-flex yst-grow yst-flex-wrap",!o&&"xl:yst-pe-[17.5rem]")},(0,e.createElement)("div",{className:"yst-grow yst-max-w-page yst-space-y-6 yst-mb-8 xl:yst-mb-0"},(0,e.createElement)(l.Paper,{as:"main"},(0,e.createElement)(l.ErrorBoundary,{FallbackComponent:Qi},(0,e.createElement)(Js,{key:t,appear:!0,show:!0,enter:"yst-transition-opacity yst-delay-100 yst-duration-300",enterFrom:"yst-opacity-0",enterTo:"yst-opacity-100"},(0,e.createElement)(ft,null,(0,e.createElement)(pt,{path:"author-archives",element:(0,e.createElement)(ll,null)}),(0,e.createElement)(pt,{path:"breadcrumbs",element:(0,e.createElement)(cl,null)}),(0,e.createElement)(pt,{path:"crawl-optimization",element:(0,e.createElement)(ml,null)}),(0,e.createElement)(pt,{path:"date-archives",element:(0,e.createElement)(hl,null)}),(0,e.createElement)(pt,{path:"homepage",element:(0,e.createElement)(bl,null)}),(0,e.createElement)(pt,{path:"format-archives",element:(0,e.createElement)(wl,null)}),(0,e.createElement)(pt,{path:"media-pages",element:(0,e.createElement)(vl,null)}),(0,e.createElement)(pt,{path:"rss",element:(0,e.createElement)(xl,null)}),(0,e.createElement)(pt,{path:"site-basics",element:(0,e.createElement)(Ll,null)}),(0,e.createElement)(pt,{path:"site-connections",element:(0,e.createElement)(Ul,null)}),(0,e.createElement)(pt,{path:"site-representation",element:(0,e.createElement)(Cl,null)}),(0,e.createElement)(pt,{path:"site-features",element:(0,e.createElement)(Pl,null)}),(0,e.createElement)(pt,{path:"special-pages",element:(0,e.createElement)(Al,null)}),(0,e.createElement)(pt,{path:"post-type"},(0,le.map)(s,(t=>(0,e.createElement)(pt,{key:`route-post-type-${t.name}`,path:t.route,element:(0,e.createElement)(rl,{...t})})))),(0,e.createElement)(pt,{path:"taxonomy"},(0,le.map)(r,(t=>(0,e.createElement)(pt,{key:`route-taxonomy-${t.name}`,path:t.route,element:(0,e.createElement)(nl,{...t})})))),(0,e.createElement)(pt,{path:"*",element:(0,e.createElement)(ut,{to:"/site-features",replace:!0})}))))),!o&&(0,e.createElement)(zr,{premiumLink:n,premiumUpsellConfig:d,isPromotionActive:p})),!o&&(0,e.createElement)("div",{className:"xl:yst-max-w-3xl xl:yst-fixed xl:yst-end-8 xl:yst-w-[16rem]"},(0,e.createElement)(qr,{premiumLink:c,premiumUpsellConfig:d,academyLink:u,isPromotionActive:p}))))))},zl=window.yoast.externals.redux,ql=()=>(0,le.get)(window,"wpseoScriptData.postTypes",{}),Wl="updatePostTypeReviewStatus",Hl=(0,Tt.createSlice)({name:"postTypes",initialState:ql(),reducers:{},extraReducers:e=>{e.addCase(`${Wl}/result`,((e,{payload:t})=>{e[t].isNew=!1}))}}),Yl={selectPostType:(e,t,s={})=>(0,le.get)(e,`postTypes.${t}`,s),selectAllPostTypes:(e,t=null)=>{const s=(0,le.get)(e,"postTypes",{});return t?(0,le.pick)(s,t):s}};Yl.selectPostTypes=(0,Tt.createSelector)(Yl.selectAllPostTypes,(e=>(0,le.omit)(e,["attachment"])));const Gl={[Wl]:async({payload:e})=>Gt()({path:"/yoast/v1/new-content-type-visibility/dismiss-post-type",method:"POST",data:{post_type_name:e}})},Kl={...Hl.actions,updatePostTypeReviewStatus:function*(e){try{yield{type:Wl,payload:e}}catch(t){console.error(`Error: Failed to remove "New" badge for ${e}, ${t}`)}return{type:`${Wl}/result`,payload:e}}},Zl=Hl.reducer,Jl=()=>{var e;return{...(0,le.get)(window,"wpseoScriptData.preferences",{}),documentTitle:(0,le.defaultTo)(null===(e=document)||void 0===e?void 0:e.title,"")}},Ql=(0,Tt.createSlice)({name:"preferences",initialState:Jl(),reducers:{}}),Xl={selectPreference:(e,t,s={})=>(0,le.get)(e,`preferences.${t}`,s),selectPreferences:e=>(0,le.get)(e,"preferences",{})};Xl.selectHasPageForPosts=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"homepageIsLatestPosts"),e=>Xl.selectPreference(e,"homepagePostsEditUrl")],((e,t)=>!e&&!(0,le.isEmpty)(t))),Xl.selectCanEditUser=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"currentUserId",-1),e=>Xl.selectPreference(e,"canEditUsers",!1),(e,t)=>t],((e,t,s)=>e===s||t)),Xl.selectExampleUrl=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"siteUrl","https://example.com"),(e,t)=>t],((e,t)=>e+t)),Xl.selectPluginUrl=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"pluginUrl","https://example.com"),(e,t)=>t],((e,t)=>e+t)),Xl.selectUpsellSettingsAsProps=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"upsellSettings",{}),(e,t="premiumCtbId")=>t],((e,t)=>({"data-action":null==e?void 0:e.actionId,"data-ctb-id":null==e?void 0:e[t]})));const ec=Ql.actions,tc=Ql.reducer,sc=()=>(0,le.reduce)((0,le.get)(window,"wpseoScriptData.taxonomies",{}),((e,{postTypes:t,...s},r)=>({...e,[r]:{...s,postTypes:(0,le.values)(t)}})),{}),rc="updateTaxonomyReviewStatus",ac=(0,Tt.createSlice)({name:"taxonomies",initialState:sc(),reducers:{},extraReducers:e=>{e.addCase(`${rc}/result`,((e,{payload:t})=>{e[t].isNew=!1}))}}),oc={selectTaxonomy:(e,t,s={})=>(0,le.get)(e,`taxonomies.${t}`,s),selectAllTaxonomies:e=>(0,le.get)(e,"taxonomies",{})};oc.selectTaxonomies=(0,Tt.createSelector)(oc.selectAllTaxonomies,(e=>(0,le.omit)(e,["post_format"])));const nc={[rc]:async({payload:e})=>Gt()({path:"/yoast/v1/new-content-type-visibility/dismiss-taxonomy",method:"POST",data:{taxonomy_name:e}})},ic={...ac.actions,updateTaxonomyReviewStatus:function*(e){try{yield{type:rc,payload:e}}catch(t){console.error(`Error: Failed to remove "New" badge for ${e}, ${t}`)}return{type:`${rc}/result`,payload:e}}},lc=ac.reducer,cc={selectBreadcrumbsForPostTypes:(0,Tt.createSelector)([oc.selectAllTaxonomies,Yl.selectAllPostTypes],((e,t)=>{const s={value:0,label:(0,Lt.__)("None","wordpress-seo")},r={};return(0,le.forEach)(t,((t,a)=>{const o=(0,le.filter)(e,(e=>(0,le.includes)(e.postTypes,a)));(0,le.isEmpty)(o)||(r[a]={...t,options:[s,...(0,le.map)(o,(({name:e,label:t})=>({value:e,label:t})))]})})),r})),selectBreadcrumbsForTaxonomies:(0,Tt.createSelector)([oc.selectAllTaxonomies,Yl.selectAllPostTypes,Xl.selectHasPageForPosts],((e,t,s)=>{let r=[{value:0,label:(0,Lt.__)("None","wordpress-seo")}];s&&r.push({value:"post",label:(0,Lt.__)("Blog","wordpress-seo")});const a=(0,le.filter)(t,(({hasArchive:e})=>e));return r=r.concat((0,le.map)(a,(({name:e,label:t})=>({value:e,label:t})))),(0,le.mapValues)(e,(e=>({name:e.name,label:e.label,options:r})))}))},dc=()=>({...(0,le.get)(window,"wpseoScriptData.defaultSettingValues",{})}),uc=(0,Tt.createSlice)({name:"defaultSettingValues",initialState:dc(),reducers:{}}),pc={selectDefaultSettingValue:(e,t,s={})=>(0,le.get)(e,`defaultSettingValues.${t}`,s),selectDefaultSettingValues:e=>(0,le.get)(e,"defaultSettingValues",{})},mc=uc.actions,fc=uc.reducer,hc=()=>(0,le.get)(window,"wpseoScriptData.fallbacks",{}),yc=(0,Tt.createSlice)({name:"fallbacks",initialState:hc(),reducers:{}}),wc={selectFallback:(e,t,s={})=>(0,le.get)(e,`fallbacks.${t}`,s),selectFallbacks:e=>(0,le.get)(e,"fallbacks",{})},_c=yc.actions,gc=yc.reducer,bc=(0,Tt.createEntityAdapter)(),vc=()=>bc.getInitialState({status:Qt,error:""}),Ec="fetchMedia",xc=e=>{var t,s;return{id:null==e?void 0:e.id,title:(null==e||null===(t=e.title)||void 0===t?void 0:t.rendered)||(null==e?void 0:e.title),slug:(null==e?void 0:e.slug)||(null==e?void 0:e.name),alt:(null==e?void 0:e.alt_text)||(null==e?void 0:e.alt),url:(null==e?void 0:e.source_url)||(null==e?void 0:e.url),type:(null==e?void 0:e.media_type)||(null==e?void 0:e.type),mime:(null==e?void 0:e.mime_type)||(null==e?void 0:e.mime),author:null==e?void 0:e.author,sizes:(0,le.mapValues)((null==e?void 0:e.sizes)||(null==e||null===(s=e.media_details)||void 0===s?void 0:s.sizes),(e=>({url:(null==e?void 0:e.url)||(null==e?void 0:e.source_url),width:null==e?void 0:e.width,height:null==e?void 0:e.height})),{})}},kc=(0,Tt.createSlice)({name:"media",initialState:vc(),reducers:{addOneMedia:{reducer:bc.addOne,prepare:e=>({payload:xc(e)})},addManyMedia:{reducer:bc.addMany,prepare:e=>({payload:(0,le.map)(e,xc)})}},extraReducers:e=>{e.addCase(`${Ec}/${Kt}`,(e=>{e.status=Xt})),e.addCase(`${Ec}/${Zt}`,((e,t)=>{e.status=es,bc.addMany(e,(0,le.map)(t.payload,xc))})),e.addCase(`${Ec}/${Jt}`,((e,t)=>{e.status=ts,e.error=t.payload}))}}),Sc=bc.getSelectors((e=>e.media)),Lc={selectMediaIds:Sc.selectIds,selectMediaById:Sc.selectById,selectIsMediaLoading:e=>(0,le.get)(e,"media.status",Qt)===Xt,selectIsMediaError:e=>(0,le.get)(e,"media.status",Qt)===ts},Tc={...kc.actions,fetchMedia:function*(e){yield{type:`${Ec}/${Kt}`};try{const t=yield{type:Ec,payload:{per_page:100,include:e}};return{type:`${Ec}/${Zt}`,payload:t}}catch(e){return{type:`${Ec}/${Jt}`,payload:e}}}},Fc={[Ec]:async({payload:e})=>Gt()({path:`/wp/v2/media?${(0,Rt.buildQueryString)(e)}`})},$c=kc.reducer,Pc=window.wp.htmlEntities,Rc=(0,Tt.createEntityAdapter)(),Nc="fetchPages",Ic="pages";let Oc;const Cc=e=>{var t;return{id:null==e?void 0:e.id,name:(0,Pc.decodeEntities)((0,le.trim)(null==e?void 0:e.title.rendered))||(null==e?void 0:e.slug)||e.id,slug:null==e?void 0:e.slug,protected:null==e||null===(t=e.content)||void 0===t?void 0:t.protected}},Ac=(0,Tt.createSlice)({name:"pages",initialState:Rc.getInitialState({status:Qt,error:""}),reducers:{addOnePage:{reducer:Rc.addOne,prepare:e=>({payload:Cc(e)})},addManyPages:{reducer:Rc.addMany,prepare:e=>({payload:(0,le.map)(e,Cc)})}},extraReducers:e=>{e.addCase(`${Nc}/${Kt}`,(e=>{e.status=Xt})),e.addCase(`${Nc}/${Zt}`,((e,t)=>{e.status=es,Rc.addMany(e,(0,le.map)(t.payload,Cc))})),e.addCase(`${Nc}/${Jt}`,((e,t)=>{e.status=ts,e.error=t.payload}))}}),Mc=Ac.getInitialState,Dc=Rc.getSelectors((e=>e.pages)),Bc={selectPageIds:Dc.selectIds,selectPageById:Dc.selectById,selectPages:Dc.selectEntities};Bc.selectPagesWith=(0,Tt.createSelector)([Bc.selectPages,(e,t={})=>t],((e,t)=>{const s={};t.forEach((t=>{null!=t&&t.id&&!e[t.id]&&(s[t.id]={...t})}));const r=(0,le.pickBy)(e,(e=>!e.protected));return{...s,...r}}));const Uc={...Ac.actions,fetchPages:function*(e){yield{type:`${Nc}/${Kt}`};try{const t=yield{type:Nc,payload:{...e}};return{type:`${Nc}/${Zt}`,payload:t}}catch(e){return{type:`${Nc}/${Jt}`,payload:e}}}},jc={[Nc]:async({payload:e})=>{var t;return null===(t=Oc)||void 0===t||t.abort(),Oc=new AbortController,Gt()({path:`/wp/v2/pages?${(0,Rt.buildQueryString)(e)}`,signal:Oc.signal})}},Vc=Ac.reducer,zc=()=>({recommended:(0,le.get)(window,"wpseoScriptData.replacementVariables.recommended",{}),shared:(0,le.get)(window,"wpseoScriptData.replacementVariables.shared",[]),specific:(0,le.get)(window,"wpseoScriptData.replacementVariables.specific",{}),variables:(0,le.get)(window,"wpseoScriptData.replacementVariables.variables",[])}),qc=(0,Tt.createSlice)({name:"replacementVariables",initialState:zc(),reducers:{}}),Wc={selectRecommendedReplacementVariables:e=>(0,le.get)(e,"replacementVariables.recommended",{}),selectSharedReplacementVariables:e=>(0,le.get)(e,"replacementVariables.shared",[]),selectSpecificReplacementVariables:e=>(0,le.get)(e,"replacementVariables.specific",{}),selectReplacementVariables:e=>(0,le.get)(e,"replacementVariables.variables",[])};Wc.selectSpecificReplacementVariablesFor=(0,Tt.createSelector)([Wc.selectSharedReplacementVariables,Wc.selectSpecificReplacementVariables,(e,t)=>t,(e,t,s)=>s],((e,t,s,r)=>[...e,...(0,le.get)(t,s,(0,le.get)(t,r,[]))])),Wc.selectReplacementVariablesFor=(0,Tt.createSelector)([Wc.selectReplacementVariables,Wc.selectSpecificReplacementVariablesFor],((e,t)=>(0,le.filter)(e,(({name:e})=>(0,le.includes)(t,e))))),Wc.selectRecommendedReplacementVariablesFor=(0,Tt.createSelector)([Wc.selectRecommendedReplacementVariables,(e,t)=>t,(e,t,s)=>s],((e,t,s)=>(0,le.get)(e,t,(0,le.get)(e,s,[]))));const Hc=qc.actions,Yc=qc.reducer,Gc=(e,t)=>{ // translators: %1$s expands to the schema type, e.g. "Web Page" or "Blog Post". const s=(0,Lt.__)("%1$s (default)","wordpress-seo");return e.map((({label:e,value:r})=>({value:r,label:r===t?(0,Lt.sprintf)(s,e):e})))},Kc=()=>({articleTypes:(0,le.get)(window,"wpseoScriptData.schema.articleTypes",{}),articleTypeDefaults:(0,le.get)(window,"wpseoScriptData.schema.articleTypeDefaults",{}),pageTypes:(0,le.get)(window,"wpseoScriptData.schema.pageTypes",{}),pageTypeDefaults:(0,le.get)(window,"wpseoScriptData.schema.pageTypeDefaults",{})}),Zc=(0,Tt.createSlice)({name:"schema",initialState:Kc(),reducers:{}}),Jc={selectSchema:e=>(0,le.get)(e,"schema",{}),selectArticleTypes:e=>(0,le.get)(e,"schema.articleTypes",{}),selectArticleTypeDefaults:e=>(0,le.get)(e,"schema.articleTypeDefaults",{}),selectPageTypes:e=>(0,le.get)(e,"schema.pageTypes",{}),selectPageTypeDefaults:e=>(0,le.get)(e,"schema.pageTypeDefaults",{})};Jc.selectArticleTypeValues=(0,Tt.createSelector)(Jc.selectArticleTypes,(e=>(0,le.values)(e))),Jc.selectArticleTypeDefault=(0,Tt.createSelector)([Jc.selectArticleTypeDefaults,(e,t)=>t],((e,t)=>(0,le.get)(e,t,"None"))),Jc.selectArticleTypeValuesFor=(0,Tt.createSelector)([Jc.selectArticleTypeValues,Jc.selectArticleTypeDefault],((e,t)=>Gc(e,t))),Jc.selectPageTypeValues=(0,Tt.createSelector)(Jc.selectPageTypes,(e=>(0,le.values)(e))),Jc.selectPageTypeDefault=(0,Tt.createSelector)([Jc.selectPageTypeDefaults,(e,t)=>t],((e,t)=>(0,le.get)(e,t,"WebPage"))),Jc.selectPageTypeValuesFor=(0,Tt.createSelector)([Jc.selectPageTypeValues,Jc.selectPageTypeDefault],((e,t)=>Gc(e,t)));const Qc=Zc.actions,Xc=Zc.reducer,ed=(e,{userLocale:t})=>gn((0,le.join)([...(0,le.isArray)(null==e?void 0:e.keywords)?e.keywords:[],null==e?void 0:e.routeLabel,null==e?void 0:e.fieldLabel]," "),t),td=(e,t="",{userLocale:s})=>(0,le.reduce)(e,((e,r,a)=>{const o=(0,le.join)((0,le.filter)([t,a],Boolean),".");return"other_social_urls"===a?{...e,[o]:{route:null==r?void 0:r.route,routeLabel:null==r?void 0:r.routeLabel,fieldId:null==r?void 0:r.fieldId,fieldLabel:null==r?void 0:r.fieldLabel,keywords:ed(r,{userLocale:s})}}:null!=r&&r.route?{...e,[o]:{...r,keywords:ed(r,{userLocale:s})}}:{...e,...td(r,o,{userLocale:s})}}),{}),sd=()=>{const e=(0,le.get)(window,"wpseoScriptData.postTypes",{}),t=(0,le.get)(window,"wpseoScriptData.taxonomies",{}),s=(0,le.get)(window,"wpseoScriptData.preferences.userLocale",{});return{index:En(e,t,{userLocale:s})}},rd=(0,Tt.createSlice)({name:"search",initialState:sd(),reducers:{}}),ad={selectSearchIndex:e=>(0,le.get)(e,"search.index",{})};ad.selectQueryableSearchIndex=(0,Tt.createSelector)([ad.selectSearchIndex,e=>Xl.selectPreference(e,"userLocale")],((e,t)=>td(e,"",{userLocale:t})));const od=rd.actions,nd=rd.reducer,id=(0,Tt.createEntityAdapter)(),ld="fetchUsers",cd=()=>id.getInitialState({status:Qt,error:""}),dd=e=>({id:null==e?void 0:e.id,name:(0,le.trim)(null==e?void 0:e.name)||(null==e?void 0:e.slug)||(null==e?void 0:e.id),slug:null==e?void 0:e.slug}),ud=(0,Tt.createSlice)({name:"users",initialState:cd(),reducers:{addOneUser:{reducer:id.addOne,prepare:e=>({payload:dd(e)})},addManyUsers:{reducer:id.addMany,prepare:e=>({payload:(0,le.map)(e,dd)})}},extraReducers:e=>{e.addCase(`${ld}/${Kt}`,(e=>{e.status=Xt})),e.addCase(`${ld}/${Zt}`,((e,t)=>{e.status=es,id.addMany(e,(0,le.map)(t.payload,dd))})),e.addCase(`${ld}/${Jt}`,((e,t)=>{e.status=ts,e.error=t.payload}))}}),pd=id.getSelectors((e=>e.users)),md={selectUserIds:pd.selectIds,selectUserById:pd.selectById,selectUsers:pd.selectEntities};md.selectUsersWith=(0,Tt.createSelector)([md.selectUsers,(e,t={})=>t],((e,t)=>null!=t&&t.id&&!e[t.id]?{...e,[t.id]:{...t}}:e));const fd={...ud.actions,fetchUsers:function*(e){yield{type:`${ld}/${Kt}`};try{const t=yield{type:ld,payload:{...e}};return{type:`${ld}/${Zt}`,payload:t}}catch(e){return{type:`${ld}/${Jt}`,payload:e}}}},hd={[ld]:async({payload:e})=>Gt()({path:`/wp/v2/users?${(0,Rt.buildQueryString)(e)}`})},yd=ud.reducer,{isPromotionActive:wd}=zl.selectors,{currentPromotions:_d}=zl.reducers,{setCurrentPromotions:gd}=zl.actions,bd=({initialState:e={}}={})=>{(0,a.register)((({initialState:e})=>(0,a.createReduxStore)(ea,{actions:{...mc,..._c,...At,...Tc,...Vt,...Uc,...Kl,...ec,...Hc,...Qc,...od,...ic,...fd,setCurrentPromotions:gd},selectors:{...cc,...pc,...wc,...Ct,...Lc,...jt,...Bc,...Yl,...Xl,...Wc,...Jc,...ad,...oc,...md,isPromotionActive:wd},initialState:(0,le.merge)({},{defaultSettingValues:dc(),fallbacks:hc(),[Nt]:Ot(),media:vc(),[Dt]:Ut(),[Ic]:Mc(),postTypes:ql(),preferences:Jl(),replacementVariables:zc(),schema:Kc(),search:sd(),taxonomies:sc(),users:cd(),currentPromotions:{promotions:[]}},e),reducer:(0,a.combineReducers)({defaultSettingValues:fc,fallbacks:gc,[Nt]:Mt,media:$c,[Dt]:zt,[Ic]:Vc,postTypes:Zl,preferences:tc,replacementVariables:Yc,schema:Xc,search:nd,taxonomies:lc,users:yd,currentPromotions:_d}),controls:{...Fc,...hd,...Gl,...nc,...jc}}))({initialState:e}))};n()((()=>{const t=document.getElementById("yoast-seo-settings");if(!t)return;const s=document.createElement("div"),o=s.attachShadow({mode:"open"});document.body.appendChild(s);const n=(0,le.get)(window,"wpseoScriptData.settings",{}),c=(0,le.get)(window,"wpseoScriptData.fallbacks",{}),d=(0,le.get)(window,"wpseoScriptData.postTypes",{}),u=(0,le.get)(window,"wpseoScriptData.taxonomies",{}),p=(0,le.get)(window,"wpseoScriptData.showNewContentTypeNotification",!1)?{"new-content-type":{id:"new-content-type",variant:"info",size:"large",title:(0,Lt.__)("New type of content added to your site!","wordpress-seo"),description:(0,Lt.__)("Please see the “New” badges and review the Search appearance settings.","wordpress-seo")}}:{};bd({initialState:{notifications:p,[Nt]:(0,le.get)(window,"wpseoScriptData.linkParams",{}),currentPromotions:{promotions:(0,le.get)(window,"wpseoScriptData.currentPromotions",[])}}}),(async({settings:e,fallbacks:t})=>{const s=(0,le.get)(e,"wpseo_titles",{}),r=(0,le.filter)([(0,le.get)(e,"wpseo_social.og_default_image_id","0"),(0,le.get)(e,"wpseo_titles.open_graph_frontpage_image_id","0"),(0,le.get)(e,"wpseo_titles.company_logo_id","0"),(0,le.get)(e,"wpseo_titles.person_logo_id","0"),(0,le.get)(t,"siteLogoId","0"),...(0,le.reduce)(s,((e,t,s)=>(0,le.includes)(s,"social-image-id")?[...e,t]:e),[])],Boolean),o=(0,le.chunk)(r,100),{fetchMedia:n}=(0,a.dispatch)(ea);(0,le.forEach)(o,n)})({settings:n,fallbacks:c}),(async({settings:e})=>{const t=(0,le.get)(e,"wpseo_titles.company_or_person_user_id"),{fetchUsers:s}=(0,a.dispatch)(ea);t&&s({include:[t]})})({settings:n}),document.querySelector('[href="#wpbody-content"]').addEventListener("click",(e=>{var t,s;e.preventDefault(),window.outerWidth>782?null===(s=document.getElementById("link-yoast-logo"))||void 0===s||s.focus():null===(t=document.getElementById("button-open-settings-navigation-mobile"))||void 0===t||t.focus()})),document.querySelector('[href="#wp-toolbar"]').addEventListener("click",(e=>{var t;e.preventDefault(),null===(t=document.querySelector("#wp-admin-bar-wp-logo a"))||void 0===t||t.focus()})),(()=>{const e=document.getElementById("wpcontent"),t=document.getElementById("adminmenuwrap");e&&t&&(e.style.minHeight=`${t.offsetHeight}px`)})();const m=(0,a.select)(ea).selectPreference("isRtl",!1);(0,i.render)((0,e.createElement)(l.Root,{context:{isRtl:m}},(0,e.createElement)(St.StyleSheetManager,{target:o},(0,e.createElement)(r.SlotFillProvider,null,(0,e.createElement)(gt,null,(0,e.createElement)(K,{initialValues:n,validationSchema:Wi(d,u),onSubmit:kn},(0,e.createElement)(Vl,null)))))),t)}))})()})();
utm
#
301
tag. */ (0,Lt.__)("Replaces %1$s tracking parameters with the (more performant) %2$s equivalent, via a %3$s redirect. E.g., %4$s will be redirected to %5$s","wordpress-seo"),"","","","",""),{code1:(0,e.createElement)(l.Code,null,"utm"),code2:(0,e.createElement)(l.Code,null,"#"),code3:(0,e.createElement)(l.Code,null,"301"),code4:(0,e.createElement)(l.Code,{variant:"block"},"https://www.example.com/?utm_medium=organic"),code5:(0,e.createElement)(l.Code,{variant:"block"},"https://www.example.com/#utm_medium=organic")}),cleanPermalinks:(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: * %1$s expands to `301`. * %2$s and %3$s both expand to an example within a tag. */ (0,Lt.__)("Removes unknown URL parameters via a %1$s redirect. E.g., %2$s will be redirected to %3$s","wordpress-seo"),"","","")+(0,Lt.sprintf)( /** * translators: * %1$s through %7$s each expand to a parameter name within a tag. For example, gclid. */ (0,Lt.__)("Note that the following commonly-used parameters will not be removed: %1$s, %2$s, %3$s, %4$s, %5$s, %6$s, and %7$s.","wordpress-seo"),"","","","","","",""),{code1:(0,e.createElement)(l.Code,null,"301"),code2:(0,e.createElement)(l.Code,{variant:"block"},"https://www.example.com/?unknown_parameter=yes"),code3:(0,e.createElement)(l.Code,{variant:"block"},"https://www.example.com"),code4:(0,e.createElement)(l.Code,null,"gclid"),code5:(0,e.createElement)(l.Code,null,"gtm_debug"),code6:(0,e.createElement)(l.Code,null,"utm_campaign"),code7:(0,e.createElement)(l.Code,null,"utm_content"),code8:(0,e.createElement)(l.Code,null,"utm_medium"),code9:(0,e.createElement)(l.Code,null,"utm_source"),code10:(0,e.createElement)(l.Code,null,"utm_term")}),cleanPermalinksExtraVariables:(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: * %1$s expands to `unknown_parameter`. * %2$s and %3$s both expand to an example within a tag. */ (0,Lt.__)("Prevents specific URL parameters from being removed by the above feature. E.g., adding %1$s will prevent %2$s from being redirected to %3$s. You can add multiple parameters and separate them by using enter or a comma.","wordpress-seo"),"","",""),{code1:(0,e.createElement)(l.Code,null,"unknown_parameter"),code2:(0,e.createElement)(l.Code,null,"https://www.example.com/?unknown_parameter=yes"),code3:(0,e.createElement)(l.Code,null,"https://www.example.com")})})),[]),{values:m}=q(),{remove_feed_global_comments:f,remove_feed_post_comments:h,search_cleanup:y,search_cleanup_emoji:w,search_cleanup_patterns:_,clean_permalinks:g}=m.wpseo;return(0,e.createElement)(uo,{title:(0,Lt.__)("Crawl optimization","wordpress-seo"),description:p.page},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("Remove unwanted metadata","wordpress-seo"),description:p.removeUnwantedMetadata},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_shortlinks",id:"input-wpseo-remove_shortlinks",label:(0,Lt.__)("Remove shortlinks","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links to WordPress' internal 'shortlink' URLs for your posts.","wordpress-seo")," ",p.removeShortlinks),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_rest_api_links",id:"input-wpseo-remove_rest_api_links",label:(0,Lt.__)("Remove REST API links","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links to the location of your site’s REST API endpoints.","wordpress-seo")," ",p.removeRestApiLinks),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_rsd_wlw_links",id:"input-wpseo-remove_rsd_wlw_links",label:(0,Lt.__)("Remove RSD / WLW links","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links used by external systems for publishing content to your blog.","wordpress-seo")," ",p.removeRsdWlwLinks),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_oembed_links",id:"input-wpseo-remove_oembed_links",label:(0,Lt.__)("Remove oEmbed links","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links used for embedding your content on other sites.","wordpress-seo")," ",p.removeOembedLinks),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_generator",id:"input-wpseo-remove_generator",label:(0,Lt.__)("Remove generator tag","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove information about the plugins and software used by your site.","wordpress-seo")," ",p.removeGenerator),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_pingback_header",id:"input-wpseo-remove_pingback_header",label:(0,Lt.__)("Pingback HTTP header","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links which allow others sites to ‘ping’ yours when they link to you.","wordpress-seo")," ",p.removePingbackHeader),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_powered_by_header",id:"input-wpseo-remove_powered_by_header",label:(0,Lt.__)("Remove powered by HTTP header","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove information about the plugins and software used by your site.","wordpress-seo")," ",p.removePoweredByHeader)),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Disable unwanted content formats","wordpress-seo"),description:(0,Lt.__)("WordPress outputs your content in many different formats, across many different URLs (like RSS feeds of your posts and categories). It’s generally good practice to disable the formats you’re not actively using.","wordpress-seo")},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_global",id:"input-wpseo-remove_feed_global",label:(0,Lt.__)("Remove global feed","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide an overview of your recent posts.","wordpress-seo")," ",p.removeFeedGlobal),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_global_comments",id:"input-wpseo-remove_feed_global_comments",label:(0,Lt.__)("Remove global comment feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide an overview of recent comments on your site.","wordpress-seo")," ",p.removeFeedGlobalComments,(0,Lt.__)("Also disables post comment feeds.","wordpress-seo")),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_post_comments",id:"input-wpseo-remove_feed_post_comments",label:(0,Lt.__)("Remove post comments feeds","wordpress-seo"),disabled:f,checked:f||h,className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about recent comments on each post.","wordpress-seo")," ",p.removeFeedPostComments),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_authors",id:"input-wpseo-remove_feed_authors",label:(0,Lt.__)("Remove post authors feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about recent posts by specific authors.","wordpress-seo")," ",p.removeFeedAuthors),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_post_types",id:"input-wpseo-remove_feed_post_types",label:(0,Lt.__)("Remove post type feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your recent posts, for each post type.","wordpress-seo")," ",p.removeFeedPostTypes),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_categories",id:"input-wpseo-remove_feed_categories",label:(0,Lt.__)("Remove category feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your recent posts, for each category.","wordpress-seo")," ",p.removeFeedCategories),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_tags",id:"input-wpseo-remove_feed_tags",label:(0,Lt.__)("Remove tag feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your recent posts, for each tag.","wordpress-seo")," ",p.removeFeedTags),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_custom_taxonomies",id:"input-wpseo-remove_feed_custom_taxonomies",label:(0,Lt.__)("Remove custom taxonomy feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your recent posts, for each custom taxonomy.","wordpress-seo")," ",p.removeFeedCustomTaxonomies),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_search",id:"input-wpseo-remove_feed_search",label:(0,Lt.__)("Remove search results feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your search results.","wordpress-seo")," ",p.removeFeedSearch),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_atom_rdf_feeds",id:"input-wpseo-remove_atom_rdf_feeds",label:(0,Lt.__)("Remove Atom / RDF feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide alternative (legacy) formats of all of the above.","wordpress-seo")," ",p.removeAtomRdfFeeds)),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Remove unused resources","wordpress-seo"),description:(0,Lt.__)("WordPress loads lots of resources, some of which your site might not need. If you’re not using these, removing them can speed up your pages and save resources.","wordpress-seo")},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_emoji_scripts",id:"input-wpseo-remove_emoji_scripts",label:(0,Lt.__)("Remove emoji scripts","wordpress-seo"),description:(0,Lt.__)("Remove JavaScript used for converting emoji characters in older browsers.","wordpress-seo"),className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_wp_json_crawling",id:"input-wpseo-deny_wp_json_crawling",label:(0,Lt.__)("Remove WP-JSON API","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling of WordPress' JSON API endpoints.","wordpress-seo")," ",p.denyWpJsonCrawling)),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Block unwanted bots","wordpress-seo"),description:p.blockUnwantedBots},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_adsbot_crawling",id:"input-wpseo-deny_adsbot_crawling",label:(0,Lt.__)("Prevent Google AdsBot from crawling","wordpress-seo"),description:(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by Google AdsBot. You should only enable this setting if you're not using Google Ads on your site.","wordpress-seo"),className:"yst-max-w-2xl"}),(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!s&&!t,variant:"card",cardLink:c,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...r},(0,e.createElement)(pl,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_google_extended_crawling",id:"input-wpseo-deny_google_extended_crawling",label:(0,Lt.__)("Prevent Google Gemini and Vertex AI bots from crawling","wordpress-seo"),description:(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by the Google-Extended bot. Enabling this setting won’t prevent Google from indexing your website.","wordpress-seo"),labelSuffix:t&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium"),className:"yst-max-w-2xl",isDummy:!t}),(0,e.createElement)(pl,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_gptbot_crawling",id:"input-wpseo-deny_gptbot_crawling",label:(0,Lt.__)("Prevent OpenAI GPTBot from crawling","wordpress-seo"),description:(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by OpenAI GPTBot.","wordpress-seo"),labelSuffix:t&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium"),className:"yst-max-w-2xl",isDummy:!t}),(0,e.createElement)(pl,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_ccbot_crawling",id:"input-wpseo-deny_ccbot_crawling",label:(0,Lt.__)("Prevent Common Crawl CCBot from crawling","wordpress-seo"),description:(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by Common Crawl CCBot.","wordpress-seo"),labelSuffix:t&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium"),className:"yst-max-w-2xl",isDummy:!t}))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Internal site search cleanup","wordpress-seo"),description:(0,Lt.__)("Your internal site search can create lots of confusing URLs for search engines, and can even be used as a way for SEO spammers to attack your site. Most sites will benefit from experimenting with these protections and optimizations, even if you don’t have a search feature in your theme.","wordpress-seo")},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.search_cleanup",id:"input-wpseo-search_cleanup",label:(0,Lt.__)("Filter search terms","wordpress-seo"),description:(0,Lt.__)("Enables advanced settings for protecting your internal site search URLs.","wordpress-seo"),className:"yst-max-w-2xl"}),(0,e.createElement)(dl,{as:l.TextField,type:"number",name:"wpseo.search_character_limit",id:"input-wpseo-search_character_limit",label:(0,Lt.__)("Max number of characters to allow in searches","wordpress-seo"),description:(0,Lt.__)("Limit the length of internal site search queries to reduce the impact of spam attacks and confusing URLs. Please enter a number between 1 and 50.","wordpress-seo"),disabled:!y}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.search_cleanup_emoji",id:"input-wpseo-search_cleanup_emoji",label:(0,Lt.__)("Filter searches with emojis and other special characters","wordpress-seo"),description:(0,Lt.__)("Block internal site searches which contain complex and non-alphanumeric characters, as they may be part of a spam attack.","wordpress-seo"),disabled:!y,checked:y&&w,className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.search_cleanup_patterns",id:"input-wpseo-search_cleanup_patterns",label:(0,Lt.__)("Filter searches with common spam patterns","wordpress-seo"),description:(0,Lt.__)("Block internal site searches which match the patterns of known spam attacks.","wordpress-seo"),disabled:!y,checked:y&&_,className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.redirect_search_pretty_urls",id:"input-wpseo-redirect_search_pretty_urls",label:(0,Lt.__)("Redirect pretty URLs to ‘raw’ formats","wordpress-seo"),description:p.redirectSearchPrettyUrls,className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_search_crawling",id:"input-wpseo-deny_search_crawling",label:(0,Lt.__)("Prevent crawling of internal site search URLs","wordpress-seo"),description:p.denySearchCrawling,className:"yst-max-w-2xl"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Advanced: URL cleanup","wordpress-seo"),description:p.advancedUrlCleanup},(0,e.createElement)(l.Alert,{id:"alert-permalink-cleanup-settings",variant:"error"},(0,i.createInterpolateElement)((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. (0,Lt.__)("Warning! These are expert features, so make sure you know what you're doing before using this setting. You might break your site. %1$sRead more about how your site can be affected%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)("a",{id:"link-permalink-cleanup-info",href:o,target:"_blank",rel:"noopener noreferrer"})})),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.clean_campaign_tracking_urls",id:"input-wpseo-clean_campaign_tracking_urls",label:(0,Lt.__)("Optimize Google Analytics utm tracking parameters","wordpress-seo"),description:p.cleanCampaignTrackingUrls,className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.clean_permalinks",id:"input-wpseo-clean_permalinks",label:(0,Lt.__)("Remove unregistered URL parameters","wordpress-seo"),description:p.cleanPermalinks,className:"yst-max-w-2xl"}),(0,e.createElement)(ba,{name:"wpseo.clean_permalinks_extra_variables",id:"input-wpseo-clean_permalinks_extra_variables",label:(0,Lt.__)("Additional URL parameters to allow","wordpress-seo"),description:p.cleanPermalinksExtraVariables,disabled:!g})))))},fl=Ca(_a),hl=()=>{const t=(0,Lt.__)("Date archives","wordpress-seo"),s=aa("selectPreference",[],"userLocale"),r=(0,i.useMemo)((()=>gn(t,s)),[t,s]),a=aa("selectUpsellSettingsAsProps"),o=aa("selectReplacementVariablesFor",[],"date_archive","custom-post-type_archive"),n=aa("selectRecommendedReplacementVariablesFor",[],"date_archive","custom-post-type_archive"),c=aa("selectLink",[],"https://yoa.st/show-x"),d=aa("selectPreference",[],"isPremium"),u=aa("selectLink",[],"https://yoa.st/4e0"),p=aa("selectExampleUrl",[],"/2020/"),m=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})})),[]),f=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to "Date archives". * %2$s expands to an example URL, e.g. https://example.com/author/example/. * %3$s expands to "date archives". */ (0,Lt.__)("%1$s (e.g. %2$s) are based on publication dates. From an SEO perspective, the posts in these archives have no real relation to the other posts except for their publication dates, which doesn’t say much about the content. They could also lead to duplicate content issues. This is why we recommend you to disable %3$s.","wordpress-seo"),t,"",r),{exampleUrl:(0,e.createElement)(l.Code,null,p)}))),{values:h}=q(),{opengraph:y}=h.wpseo_social,{"disable-date":w,"noindex-archive-wpseo":_}=h.wpseo_titles;return(0,e.createElement)(uo,{title:t,description:f},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)("fieldset",{className:"yst-min-width-0 yst-space-y-8"},(0,e.createElement)(ua,{name:"wpseo_titles.disable-date",id:"input-wpseo_titles-disable-date",label:(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Enable %1$s","wordpress-seo"),r),description:(0,Lt.sprintf)( // translators: %1$s expands to "Date archives". (0,Lt.__)("%1$s can cause duplicate content issues. For most sites, we recommend that you disable this setting.","wordpress-seo"),t),className:"yst-max-w-sm"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Search appearance","wordpress-seo"),description:(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Determine how your %1$s should look in search engines.","wordpress-seo"),r)},(0,e.createElement)(ua,{name:"wpseo_titles.noindex-archive-wpseo",id:"input-wpseo_titles-noindex-archive-wpseo",label:(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Show %1$s in search results","wordpress-seo"),r),description:(0,e.createElement)(e.Fragment,null,(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps. We recommend that you disable this setting.","wordpress-seo"),r)," ",(0,e.createElement)(l.Link,{href:c,target:"_blank",rel:"noopener"},(0,Lt.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:w,checked:!w&&!_,className:"yst-max-w-sm"}),(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.title-archive-wpseo",fieldId:"input-wpseo_titles-title-archive-wpseo",label:(0,Lt.__)("SEO title","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:n,disabled:w}),(0,e.createElement)(_a,{type:"description",name:"wpseo_titles.metadesc-archive-wpseo",fieldId:"input-wpseo_titles-metadesc-archive-wpseo",label:(0,Lt.__)("Meta description","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:n,disabled:w,className:"yst-replacevar--description"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},(0,e.createElement)("span",null,(0,Lt.__)("Social media appearance","wordpress-seo")),d&&(0,e.createElement)(l.Badge,{variant:"upsell"},"Premium")),description:(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Determine how your %1$s should look on social media by default.","wordpress-seo"),r)},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!d,variant:"card",cardLink:u,cardText:(0,Lt.sprintf)( // translators: %1$s expands to Premium. (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...a},(0,e.createElement)(Wa,{isEnabled:!d||y}),(0,e.createElement)(ha,{id:"wpseo_titles-social-image-archive-wpseo",label:(0,Lt.__)("Social image","wordpress-seo"),previewLabel:m,mediaUrlName:"wpseo_titles.social-image-url-archive-wpseo",mediaIdName:"wpseo_titles.social-image-id-archive-wpseo",disabled:w||!y,isDummy:!d}),(0,e.createElement)(fl,{type:"title",name:"wpseo_titles.social-title-archive-wpseo",fieldId:"input-wpseo_titles-social-title-archive-wpseo",label:(0,Lt.__)("Social title","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:n,disabled:w||!y,isDummy:!d}),(0,e.createElement)(fl,{type:"description",name:"wpseo_titles.social-description-archive-wpseo",fieldId:"input-wpseo_titles-social-description-archive-wpseo",label:(0,Lt.__)("Social description","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:n,className:"yst-replacevar--description",disabled:w||!y,isDummy:!d}))))))},yl=Ca(_a),wl=()=>{const{name:t,label:s,singularLabel:r}=aa("selectTaxonomy",[],"post_format"),a=aa("selectPreference",[],"userLocale"),o=(0,i.useMemo)((()=>gn(s,a)),[s,a]),n=(0,i.useMemo)((()=>gn(r,a)),[r,a]),c=aa("selectUpsellSettingsAsProps"),d=aa("selectReplacementVariablesFor",[t],t,"term-in-custom-taxonomy"),u=aa("selectRecommendedReplacementVariablesFor",[t],t,"term-in-custom-taxonomy"),p=aa("selectLink",[],"https://yoa.st/show-x"),m=aa("selectPreference",[],"isPremium"),f=aa("selectLink",[],"https://yoa.st/4e0"),h=aa("selectExampleUrl",[],"/format/example/"),y=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})})),[]),w=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("(e.g., %1$s)","wordpress-seo"),""),{exampleUrl:(0,e.createElement)(l.Code,null,h)}))),{values:_}=q(),{opengraph:g}=_.wpseo_social,{"disable-post_format":b,"noindex-tax-post_format":v}=_.wpseo_titles;return(0,e.createElement)(uo,{title:(0,Lt.__)("Format archives","wordpress-seo"),description:w},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(ua,{name:"wpseo_titles.disable-post_format",id:"input-wpseo_titles-disable-post_format",label:(0,Lt.__)("Enable format-based archives","wordpress-seo"),description:(0,Lt.__)("Format-based archives can cause duplicate content issues. For most sites, we recommend that you disable this setting.","wordpress-seo"),className:"yst-max-w-sm"}),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Search appearance","wordpress-seo"),description:(0,Lt.sprintf)( // translators: %1$s expands to "formats". %2$s expands to "Yoast SEO". (0,Lt.__)("Determine how your %1$s should look in search engines. You can always customize the settings for individual %1$s in the %2$s metabox.","wordpress-seo"),o,"Yoast SEO")},(0,e.createElement)(ua,{name:`wpseo_titles.noindex-tax-${t}`,id:`input-wpseo_titles-noindex-tax-${t}`,label:(0,Lt.sprintf)( // translators: %1$s expands to "format". (0,Lt.__)("Show %1$s archives in search results","wordpress-seo"),n),description:(0,e.createElement)(e.Fragment,null,(0,Lt.sprintf)( // translators: %1$s expands to "formats". (0,Lt.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps. We recommend that you disable this setting.","wordpress-seo"),o)," ",(0,e.createElement)(l.Link,{href:p,target:"_blank",rel:"noopener"},(0,Lt.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:b,checked:!b&&!v,className:"yst-max-w-sm"}),(0,e.createElement)(_a,{type:"title",name:`wpseo_titles.title-tax-${t}`,fieldId:`input-wpseo_titles-title-tax-${t}`,label:(0,Lt.__)("SEO title","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,disabled:b}),(0,e.createElement)(_a,{type:"description",name:`wpseo_titles.metadesc-tax-${t}`,fieldId:`input-wpseo_titles-metadesc-tax-${t}`,label:(0,Lt.__)("Meta description","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,disabled:b,className:"yst-replacevar--description"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},(0,e.createElement)("span",null,(0,Lt.__)("Social media appearance","wordpress-seo")),m&&(0,e.createElement)(l.Badge,{variant:"upsell"},"Premium")),description:(0,Lt.sprintf)( // translators: %1$s expands to "formats". %2$s expands to "Yoast SEO". (0,Lt.__)("Determine how your %1$s should look on social media by default. You can always customize the settings for individual %1$s in the %2$s metabox.","wordpress-seo"),o,"Yoast SEO")},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!m,variant:"card",cardLink:f,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...c},(0,e.createElement)(Wa,{isEnabled:!m||g}),(0,e.createElement)(ha,{id:`wpseo_titles-social-image-tax-${t}`,label:(0,Lt.__)("Social image","wordpress-seo"),previewLabel:y,mediaUrlName:`wpseo_titles.social-image-url-tax-${t}`,mediaIdName:`wpseo_titles.social-image-id-tax-${t}`,disabled:b||!g,isDummy:!m}),(0,e.createElement)(yl,{type:"title",name:`wpseo_titles.social-title-tax-${t}`,fieldId:`input-wpseo_titles-social-title-tax-${t}`,label:(0,Lt.__)("Social title","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,disabled:b||!g,isDummy:!m}),(0,e.createElement)(yl,{type:"description",name:`wpseo_titles.social-description-tax-${t}`,fieldId:`input-wpseo_titles-social-description-tax-${t}`,label:(0,Lt.__)("Social description","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,className:"yst-replacevar--description",disabled:b||!g,isDummy:!m}))))))},_l=()=>{const t=aa("selectReplacementVariablesFor",[],"homepage","page"),s=aa("selectRecommendedReplacementVariablesFor",[],"homepage","page"),r=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})})),[]),{values:a}=q(),{opengraph:o}=a.wpseo_social;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(na,{title:(0,Lt.__)("Search appearance","wordpress-seo"),description:(0,Lt.__)("Determine how your homepage should look in the search results.","wordpress-seo")},(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.title-home-wpseo",fieldId:"input-wpseo_titles-title-home-wpseo",label:(0,Lt.__)("SEO title","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s}),(0,e.createElement)(_a,{type:"description",name:"wpseo_titles.metadesc-home-wpseo",fieldId:"input-wpseo_titles-metadesc-home-wpseo",label:(0,Lt.__)("Meta description","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s,className:"yst-replacevar--description"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Social media appearance","wordpress-seo"),description:(0,Lt.__)("Determine how your homepage should look on social media.","wordpress-seo")},(0,e.createElement)(Wa,{isEnabled:o /* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */,text:(0,Lt.__)("The %1$ssocial image%2$s, %1$ssocial title%2$s and %1$ssocial description%2$s require Open Graph data, which is currently disabled in the ‘Social sharing’ section in %3$sSite features%4$s.","wordpress-seo")}),(0,e.createElement)(ha,{id:"wpseo_titles-open_graph_frontpage_image",label:(0,Lt.__)("Social image","wordpress-seo"),previewLabel:r,mediaUrlName:"wpseo_titles.open_graph_frontpage_image",mediaIdName:"wpseo_titles.open_graph_frontpage_image_id",disabled:!o}),(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.open_graph_frontpage_title",fieldId:"input-wpseo_titles-open_graph_frontpage_title",label:(0,Lt.__)("Social title","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s,disabled:!o}),(0,e.createElement)(_a,{type:"description",name:"wpseo_titles.open_graph_frontpage_desc",fieldId:"input-wpseo_titles-open_graph_frontpage_desc",label:(0,Lt.__)("Social description","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s,className:"yst-replacevar--description",disabled:!o})))},gl=()=>{const t=aa("selectPreference",[],"homepagePageEditUrl"),s=aa("selectPreference",[],"homepagePostsEditUrl"),r=(0,i.useMemo)((()=>Xi((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("You can determine the title and description for the homepage by %1$sediting the homepage itself%2$s.","wordpress-seo"),"",""),t,"link-homepage-page-edit"))),a=(0,i.useMemo)((()=>Xi((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("You can determine the title and description for the blog page by %1$sediting the blog page itself%2$s.","wordpress-seo"),"",""),s,"link-homepage-posts-page-edit")));return(0,e.createElement)("div",{className:"yst-max-w-screen-sm"},(0,e.createElement)(l.Alert,null,(0,e.createElement)("p",null,r),s&&(0,e.createElement)("p",{className:"yst-pt-2"},a)))},bl=()=>{const t=aa("selectPreference",[],"homepageIsLatestPosts");return(0,e.createElement)(uo,{title:(0,Lt.__)("Homepage","wordpress-seo"),description:(0,Lt.__)("Determine how your homepage should look in the search results and on social media. This is what people probably will see when they search for your brand name.","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},t&&(0,e.createElement)(_l,null),!t&&(0,e.createElement)(gl,null))))},vl=()=>{const{name:t,label:s,hasSchemaArticleType:r}=aa("selectPostType",[],"attachment"),a=aa("selectPreference",[],"userLocale"),o=(0,i.useMemo)((()=>gn(s,a)),[s,a]),n=aa("selectReplacementVariablesFor",[t],t,"custom_post_type"),c=aa("selectRecommendedReplacementVariablesFor",[t],t,"custom_post_type"),d=aa("selectArticleTypeValuesFor",[t],t),u=aa("selectPageTypeValuesFor",[t],t),p=aa("selectLink",[],"https://yoa.st/media-pages-thin-content"),m=aa("selectLink",[],"https://yoa.st/show-x"),{values:f}=q(),{"disable-attachment":h,"noindex-attachment":y}=f.wpseo_titles,w=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s and %2$s are replaced by opening and closing tags. * %3$s expands to "media". * %4$s expand to "Yoast SEO". * %5$s expand to "WordPress". */ (0,Lt.__)("When you upload media (e.g. an image or video), %5$s automatically creates a %3$s page (attachment URL) for it. These pages are quite empty and could cause %1$sthin content problems and lead to excess pages on your site%2$s. Therefore, %4$s disables them by default (and redirects the attachment URL to the media itself).","wordpress-seo"),"","",o,"Yoast SEO","WordPress"),{a:(0,e.createElement)("a",{href:p,target:"_blank",rel:"noopener noreferrer"})})));return(0,e.createElement)(uo,{title:(0,Lt.sprintf)( // translators: %1$s expands to "Media". (0,Lt.__)("%1$s pages","wordpress-seo"),s),description:w},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)("fieldset",{className:"yst-min-width-0 yst-space-y-8"},(0,e.createElement)(ua,{name:`wpseo_titles.disable-${t}`,id:`input-wpseo_titles-disable-${t}`,label:(0,Lt.sprintf)( // translators: %1$s expands to "media". (0,Lt.__)("Enable %1$s pages","wordpress-seo"),o),description:(0,Lt.sprintf)( // translators: %1$s expands to "media". (0,Lt.__)("We recommend keeping %1$s pages disabled. This will cause all attachment URLs to be redirected to the media itself.","wordpress-seo"),o),className:"yst-max-w-sm"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Search appearance","wordpress-seo"),description:(0,Lt.sprintf)( // translators: %1$s expands to "media". %3$s expands to "Yoast SEO". (0,Lt.__)("Determine how your %1$s pages should look in search engines. You can always customize the settings for individual %1$s pages in the %2$s metabox.","wordpress-seo"),o,"Yoast SEO")},(0,e.createElement)(ua,{name:`wpseo_titles.noindex-${t}`,id:`input-wpseo_titles-noindex-${t}`,label:(0,Lt.sprintf)( // translators: %1$s expands to "media". (0,Lt.__)("Show %1$s pages in search results","wordpress-seo"),o),description:(0,e.createElement)(e.Fragment,null,(0,Lt.sprintf)( // translators: %1$s expands to "media". (0,Lt.__)("Disabling this means that %1$s pages created by WordPress will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),o),(0,e.createElement)("br",null),(0,e.createElement)(l.Link,{href:m,target:"_blank",rel:"noopener"},(0,Lt.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:h,checked:!h&&!y,className:"yst-max-w-sm"}),(0,e.createElement)(_a,{type:"title",name:`wpseo_titles.title-${t}`,fieldId:`input-wpseo_titles-title-${t}`,label:(0,Lt.__)("SEO title","wordpress-seo"),replacementVariables:n,recommendedReplacementVariables:c,disabled:h}),(0,e.createElement)(_a,{type:"description",name:`wpseo_titles.metadesc-${t}`,fieldId:`input-wpseo_titles-metadesc-${t}`,label:(0,Lt.__)("Meta description","wordpress-seo"),replacementVariables:n,recommendedReplacementVariables:c,disabled:h,className:"yst-replacevar--description"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Schema","wordpress-seo"),description:(0,Lt.sprintf)( // translators: %1$s expands to "media". %3$s expands to "Yoast SEO". (0,Lt.__)("Determine how your %1$s pages should be described by default in your site's Schema.org markup. You can always customize the settings for individual %1$s pages in the %2$s metabox.","wordpress-seo"),o,"Yoast SEO")},(0,e.createElement)(Ra,{as:l.SelectField,type:"select",name:`wpseo_titles.schema-page-type-${t}`,id:`input-wpseo_titles-schema-page-type-${t}`,label:(0,Lt.__)("Page type","wordpress-seo"),options:u,disabled:h,className:"yst-max-w-sm"}),r&&(0,e.createElement)("div",null,(0,e.createElement)(Ra,{as:l.SelectField,type:"select",name:`wpseo_titles.schema-article-type-${t}`,id:`input-wpseo_titles-schema-article-type-${t}`,label:(0,Lt.__)("Article type","wordpress-seo"),options:d,disabled:h,className:"yst-max-w-sm"}),(0,e.createElement)(za,{name:t,disabled:h}))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Additional settings","wordpress-seo")},(0,e.createElement)(Ra,{as:l.ToggleField,type:"checkbox",name:`wpseo_titles.display-metabox-pt-${t}`,id:`input-wpseo_titles-display-metabox-pt-${t}`,label:(0,Lt.__)("Enable SEO controls and assessments","wordpress-seo"),description:(0,Lt.__)("Show or hide our tools and controls in the attachment editor.","wordpress-seo"),disabled:h,className:"yst-max-w-sm"})))))},El=({children:t})=>(0,e.createElement)(l.Table.Cell,{className:"yst-font-medium"},(0,e.createElement)("span",{className:"yst-text-slate-900"},t));El.propTypes={children:ir().node.isRequired};const xl=()=>(0,e.createElement)(uo,{title:(0,Lt.__)("RSS","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("RSS feed","wordpress-seo"),description:(0,Lt.__)("Automatically add content to your RSS. This enables you to add links back to your blog and your blog posts, helping search engines identify you as the original source of the content.","wordpress-seo")},(0,e.createElement)(te,{as:l.TextareaField,type:"textarea",rows:4,name:"wpseo_titles.rssbefore",id:"input-wpseo_titles-rssbefore",label:(0,Lt.__)("Content to put before each post in the feed","wordpress-seo")}),(0,e.createElement)(te,{as:l.TextareaField,type:"textarea",rows:4,name:"wpseo_titles.rssafter",id:"input-wpseo_titles-rssafter",label:(0,Lt.__)("Content to put after each post in the feed","wordpress-seo")})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{as:"section",title:(0,Lt.__)("Available variables","wordpress-seo"),description:(0,Lt.__)("You can use the following variables within the content, they will be replaced by the value on the right.","wordpress-seo")},(0,e.createElement)(l.Table,null,(0,e.createElement)(l.Table.Head,null,(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(l.Table.Header,{scope:"col"},(0,Lt.__)("Variable","wordpress-seo")),(0,e.createElement)(l.Table.Header,{scope:"col"},(0,Lt.__)("Description","wordpress-seo")))),(0,e.createElement)(l.Table.Body,null,(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(El,null,"%%AUTHORLINK%%"),(0,e.createElement)(l.Table.Cell,null,(0,Lt.__)("A link to the archive for the post author, with the author's name as anchor text.","wordpress-seo"))),(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(El,null,"%%POSTLINK%%"),(0,e.createElement)(l.Table.Cell,null,(0,Lt.__)("A link to the post, with the title as anchor text.","wordpress-seo"))),(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(El,null,"%%BLOGLINK%%"),(0,e.createElement)(l.Table.Cell,null,(0,Lt.__)("A link to your site, with your site's name as anchor text.","wordpress-seo"))),(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(El,null,"%%BLOGDESCLINK%%"),(0,e.createElement)(l.Table.Cell,null,(0,Lt.__)("A link to your site, with your site's name and description as anchor text.","wordpress-seo"))))))))),kl=Oa(l.ToggleField),Sl=Aa($a),Ll=()=>{const t=(0,i.useMemo)((()=>(0,le.get)(window,"wpseoScriptData.separators",{})),[]),s=aa("selectPreference",[],"generalSettingsUrl"),r=aa("selectPreference",[],"canManageOptions",!1),a=aa("selectPreference",[],"showForceRewriteTitlesSetting",!1),o=aa("selectLink",[],"https://yoa.st/site-basics-replacement-variables"),n=aa("selectLink",[],"https://yoa.st/usage-tracking-2"),c=aa("selectLink",[],"https://yoa.st/site-policies-learn-more"),d=aa("selectPreference",[],"siteTitle",""),u=aa("selectLink",[],"https://yoa.st/site-policies-upsell"),p=aa("selectPreference",[],"isPremium"),m=aa("selectUpsellSettingsAsProps"),{fetchPages:f}=ta(),h=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("Usage tracking allows us to track some data about your site to improve our plugin. %1$sLearn more about which data we track and why%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)("a",{id:"link-usage-tracking",href:n,target:"_blank",rel:"noopener"})})),[]),y=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("Select the pages on your website which contain information about your organizational and publishing policies. Some of these might not apply to your site, and you can select the same page for multiple policies. %1$sLearn more about why setting your site policies is important%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)("a",{id:"link-site-policies",href:c,target:"_blank",rel:"noopener"})})),[c]),w=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s and %2$s expand to an opening and closing emphasis tag. %3$s and %4$s expand to an opening and closing anchor tag. */ (0,Lt.__)("Set the basic info for your website. You can use %1$stagline%2$s and %1$sseparator%2$s as %3$sreplacement variables%4$s when configuring the search appearance of your content.","wordpress-seo"),"","","",""),{em:(0,e.createElement)("em",null),a:(0,e.createElement)("a",{id:"site-basics-replacement-variables",href:o,target:"_blank",rel:"noopener"})})),[]),_=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */ (0,Lt.__)("We're sorry, you're not allowed to edit the %1$swebsite name%2$s and %1$stagline%2$s.","wordpress-seo"),"",""),{em:(0,e.createElement)("em",null)})),[]),g=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})})),[]),b=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening anchor tag. * %2$s expands to a closing anchor tag. */ (0,Lt.__)("This field updates the %1$stagline in your WordPress settings%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)("a",{href:`${s}#blogdescription`,target:"_blank",rel:"noopener noreferrer"})})),[]),v=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which describes the editorial principles of your organization. %1$sWhat%2$s do you write about, %1$swho%2$s do you write for, and %1$swhy%2$s?","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),E=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which describes the ownership structure of your organization. It should include information about %1$sfunding%2$s and %1$sgrants%2$s.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),x=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which describes how your organization collects and responds to %1$sfeedback%2$s, engages with the %1$spublic%2$s, and prioritizes %1$stransparency%2$s.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),k=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which outlines your procedure for addressing %1$serrors%2$s (e.g., publishing retractions or corrections).","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),S=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which describes the personal, organizational, and corporate %1$sstandards%2$s of %1$sbehavior%2$s expected by your organization.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),L=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which provides information on your diversity policies for %1$seditorial%2$s content.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),T=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which provides information about your diversity policies for %1$sstaffing%2$s, %1$shiring%2$s and %1$semployment%2$s.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),{values:F}=q(),{opengraph:$}=F.wpseo_social;return(0,i.useEffect)((()=>{f()}),[f]),(0,e.createElement)(uo,{title:(0,Lt.__)("Site basics","wordpress-seo"),description:(0,Lt.__)("Configure the basics for your website.","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("Site info","wordpress-seo"),description:w},!r&&(0,e.createElement)(l.Alert,{variant:"warning",id:"alert-site-defaults-variables",className:"yst-mb-8"},_),(0,e.createElement)("div",{className:"lg:yst-mt-0 lg:yst-col-span-2 yst-space-y-8"},(0,e.createElement)(Da,{as:l.TextField,name:"wpseo_titles.website_name",id:"input-wpseo_titles-website_name",label:(0,Lt.__)("Website name","wordpress-seo"),placeholder:d}),(0,e.createElement)(Da,{as:l.TextField,name:"wpseo_titles.alternate_website_name",id:"input-wpseo_titles-alternate_website_name",label:(0,Lt.__)("Alternate website name","wordpress-seo"),description:(0,Lt.__)("Use the alternate website name for acronyms, or a shorter version of your website's name.","wordpress-seo")}),(0,e.createElement)(te,{as:l.TextField,type:"text",name:"blogdescription",id:"input-blogdescription",label:(0,Lt.__)("Tagline","wordpress-seo"),description:r&&b,readOnly:!r})),(0,e.createElement)(l.RadioGroup,{label:(0,Lt.__)("Title separator","wordpress-seo"),variant:"inline-block"},(0,le.map)(t,(({label:t,aria_label:s},r)=>(0,e.createElement)(te,{key:r,as:l.Radio,type:"radio",variant:"inline-block",name:"wpseo_titles.separator",id:`input-wpseo_titles-separator-${r}`,label:t,isLabelDangerousHtml:!0,"aria-label":s,value:r})))),(0,e.createElement)(Wa,{isEnabled:$,text:/* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */ (0,Lt.__)("The %1$sSite image%2$s requires Open Graph data, which is currently disabled in the ‘Social sharing’ section in %3$sSite features%4$s.","wordpress-seo")}),(0,e.createElement)(ha,{id:"wpseo_social-og_default_image",label:(0,Lt.__)("Site image","wordpress-seo"),description:(0,Lt.__)("This image is used as a fallback for posts/pages that don't have any images set.","wordpress-seo"),previewLabel:g,mediaUrlName:"wpseo_social.og_default_image",mediaIdName:"wpseo_social.og_default_image_id",disabled:!$})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Site preferences","wordpress-seo")},a&&(0,e.createElement)(Ra,{as:l.ToggleField,type:"checkbox",name:"wpseo_titles.forcerewritetitle",id:"input-wpseo_titles-forcerewritetitle",label:(0,Lt.__)("Force rewrite titles","wordpress-seo"),description:(0,Lt.sprintf)(/* translators: %1$s expands to "Yoast SEO" */ (0,Lt.__)("%1$s has auto-detected whether it needs to force rewrite the titles for your pages, if you think it's wrong and you know what you're doing, you can change the setting here.","wordpress-seo"),"Yoast SEO"),className:"yst-max-w-sm"}),(0,e.createElement)(Ra,{as:l.ToggleField,type:"checkbox",name:"wpseo.disableadvanced_meta",id:"input-wpseo-disableadvanced_meta",label:(0,Lt.__)("Restrict advanced settings for authors","wordpress-seo"),description:(0,Lt.sprintf)(/* translators: %1$s expands to "Yoast SEO" */ (0,Lt.__)("By default only editors and administrators can access the Advanced and Schema section of the %1$s sidebar or metabox. Disabling this allows access to all users.","wordpress-seo"),"Yoast SEO"),className:"yst-max-w-sm"}),(0,e.createElement)(Ra,{as:kl,type:"checkbox",name:"wpseo.tracking",id:"input-wpseo-tracking",label:(0,Lt.__)("Usage tracking","wordpress-seo"),description:h,className:"yst-max-w-sm"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)(e.Fragment,null,(0,Lt.__)("Site policies","wordpress-seo"),p&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium")),description:y},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!p,variant:"card",cardLink:u,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...m},(0,e.createElement)(Sl,{name:"wpseo_titles.publishing_principles_id",id:"input-wpseo_titles-publishing_principles_id",label:(0,Lt.__)("Publishing principles","wordpress-seo"),className:"yst-max-w-sm",description:v,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.ownership_funding_info_id",id:"input-wpseo_titles-ownership_funding_info_id",label:(0,Lt.__)("Ownership / Funding info","wordpress-seo"),className:"yst-max-w-sm",description:E,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.actionable_feedback_policy_id",id:"input-wpseo_titles-actionable_feedback_policy_id",label:(0,Lt.__)("Actionable feedback policy","wordpress-seo"),className:"yst-max-w-sm",description:x,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.corrections_policy_id",id:"input-wpseo_titles-corrections_policy_id",label:(0,Lt.__)("Corrections policy","wordpress-seo"),className:"yst-max-w-sm",description:k,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.ethics_policy_id",id:"input-wpseo_titles-ethics_policy_id",label:(0,Lt.__)("Ethics policy","wordpress-seo"),className:"yst-max-w-sm",description:S,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.diversity_policy_id",id:"input-wpseo_titles-diversity_policy_id",label:(0,Lt.__)("Diversity policy","wordpress-seo"),className:"yst-max-w-sm",description:L,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.diversity_staffing_report_id",id:"input-wpseo_titles-diversity_staffing_report_id",label:(0,Lt.__)("Diversity staffing report","wordpress-seo"),className:"yst-max-w-sm",description:T,isDummy:!p}))))))},Tl=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))})),Fl=({name:t,cardId:s,inputId:r,children:a,imageSrc:o,imageAlt:n,isPremiumFeature:c=!1,isPremiumLink:d="",isBetaFeature:u=!1,isNewFeature:p=!1,hasPremiumBadge:m=!1,title:f})=>{const h=aa("selectPreference",[],"isPremium"),y=aa("selectPluginUrl",[o],o),{isDisabled:w,message:_,disabledSetting:g}=Xr({name:t}),{values:b}=q(),v=aa("selectLink",[d],d),E=aa("selectUpsellSettingsAsProps"),x=(0,l.useSvgAria)(),k=(0,i.useMemo)((()=>(0,le.get)(b,t,!1)),[b,t]),S=(0,i.useMemo)((()=>!h&&c),[h,c]),L=(0,i.useMemo)((()=>w||!S&&!k),[w,S,k]),T=(0,i.useMemo)((()=>w||h&&c&&m||u||p&&!h),[w,h,c,u,p]);return(0,e.createElement)(l.Card,{id:s},(0,e.createElement)(l.Card.Header,{className:"yst-h-auto yst-p-0"},(0,e.createElement)("img",{className:or()("yst-w-full yst-transition yst-duration-200",L&&"yst-opacity-50 yst-filter yst-grayscale"),src:y,alt:null!=n?n:"",width:500,height:250,loading:"lazy",decoding:"async"}),T&&(0,e.createElement)("div",{className:"yst-absolute yst-top-2 yst-end-2 yst-flex yst-gap-1.5"},w&&(0,e.createElement)(l.Badge,{size:"small",variant:"plain"},_),h&&c&&m&&(0,e.createElement)(l.Badge,{size:"small",variant:"upsell"},"Premium"),u&&(0,e.createElement)(l.Badge,{size:"small",variant:"info"},"Beta"),p&&!h&&(0,e.createElement)(l.Badge,{size:"small",variant:"info"},"New"))),(0,e.createElement)(l.Card.Content,{className:"yst-flex yst-flex-col yst-gap-3"},(0,e.createElement)(l.Title,{as:"h3"},f),a),(0,e.createElement)(l.Card.Footer,null,!S&&(0,e.createElement)(Ra,{as:l.ToggleField,type:"checkbox",name:t,id:r,"aria-label":`${(0,Lt.__)("Enable feature","wordpress-seo")} ${f}`,label:(0,Lt.__)("Enable feature","wordpress-seo"),disabled:w,checked:"language"!==g&&k}),S&&(0,e.createElement)(l.Button,{as:"a",className:"yst-gap-2 yst-w-full yst-px-2",variant:"upsell",href:v,target:"_blank",rel:"noopener",...E},(0,e.createElement)(cr,{className:"yst-w-5 yst-h-5 yst--ms-1 yst-shrink-0",...x}),(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"))))};Fl.propTypes={name:ir().string.isRequired,cardId:ir().string.isRequired,inputId:ir().string.isRequired,children:ir().node.isRequired,imageSrc:ir().string.isRequired,imageAlt:ir().string,isPremiumFeature:ir().bool,isBetaFeature:ir().bool,isNewFeature:ir().bool,isPremiumLink:ir().string,hasPremiumBadge:ir().bool,title:ir().string.isRequired};const $l=({id:t,link:s,ariaLabel:r,...a})=>{const o=aa("selectLink",[s],s);return(0,e.createElement)(l.Link,{id:t,href:o,variant:"primary",className:"yst-flex yst-items-center yst-gap-1 yst-no-underline yst-font-medium",target:"_blank",rel:"noopener","aria-label":(0,Lt.sprintf)(/* translators: Hidden accessibility text; %s expands to a translated string of this feature, e.g. "SEO analysis". */ (0,Lt.__)("Learn more about %s (Opens in a new browser tab)","wordpress-seo"),r),...a},(0,Lt.__)("Learn more","wordpress-seo"),(0,e.createElement)(xr,{className:"yst-w-4 yst-h-4 yst-icon-rtl"}))};$l.propTypes={id:ir().string.isRequired,link:ir().string.isRequired,ariaLabel:ir().string.isRequired};const Pl=()=>{const t=aa("selectPreference",[],"isPremium"),s=aa("selectPreference",[],"sitemapUrl"),{values:r,initialValues:a}=q(),{enable_xml_sitemap:o}=r.wpseo,{enable_xml_sitemap:n}=a.wpseo,c=(0,i.useMemo)((()=>t?"yst-grid yst-gap-6 yst-grid-cols-1 sm:yst-grid-cols-2 min-[783px]:yst-grid-cols-1 lg:yst-grid-cols-2 xl:yst-grid-cols-3 2xl:yst-grid-cols-4":"yst-grid yst-gap-6 yst-grid-cols-1 sm:yst-grid-cols-2 min-[783px]:yst-grid-cols-1 lg:yst-grid-cols-2 2xl:yst-grid-cols-3 min-[1800px]:yst-grid-cols-4"),[t]);return(0,e.createElement)(uo,{title:(0,Lt.__)("Site features","wordpress-seo"),description:(0,Lt.__)("Tell us which features you want to use.","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-6xl"},(0,e.createElement)("fieldset",{className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("Writing","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2"},(0,Lt.__)("Writing","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo.keyword_analysis_active",cardId:"card-wpseo-keyword_analysis_active",inputId:"input-wpseo-keyword_analysis_active",imageSrc:"/images/seo_analysis.png",title:(0,Lt.__)("SEO analysis","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("The SEO analysis offers suggestions to improve the findability of your text and makes sure that your content meets best practices.","wordpress-seo")),(0,e.createElement)($l,{id:"link-seo-analysis",link:"https://yoa.st/2ak",ariaLabel:(0,Lt.__)("SEO analysis","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.content_analysis_active",cardId:"card-wpseo-content_analysis_active",inputId:"input-wpseo-content_analysis_active",imageSrc:"/images/readability_analysis.png",title:(0,Lt.__)("Readability analysis","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("The readability analysis offers suggestions to improve the structure and style of your text.","wordpress-seo")),(0,e.createElement)($l,{id:"link-readability-analysis",link:"https://yoa.st/2ao",ariaLabel:(0,Lt.__)("Readability analysis","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.inclusive_language_analysis_active",cardId:"card-wpseo-inclusive_language_analysis_active",inputId:"input-wpseo-inclusive_language_analysis_active",imageSrc:"/images/inclusive_language_analysis.png",title:(0,Lt.__)("Inclusive language analysis","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("The inclusive language analysis offers suggestions to write more inclusive copy, so more people will be able to relate to your content.","wordpress-seo")),(0,e.createElement)($l,{id:"link-inclusive-language-analysis",link:"https://yoa.st/inclusive-language-feature-learn-more",ariaLabel:(0,Lt.__)("Inclusive language analysis","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_ai_generator",cardId:"card-wpseo-enable_ai_generator",inputId:"input-wpseo-enable_ai_generator",imageSrc:"/images/ai-generator.png",isPremiumFeature:!0,hasPremiumBadge:!1,isBetaFeature:!0,isPremiumLink:"https://yoa.st/get-ai-generator",title:"Yoast AI"},(0,e.createElement)("p",null,(0,Lt.__)("The AI features help you create better content by providing optimization suggestions that you can apply as you wish.","wordpress-seo")),(0,e.createElement)($l,{id:"link-ai-generator",link:"https://yoa.st/ai-generator-feature",ariaLabel:(0,Lt.__)("AI title & description generator","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_metabox_insights",cardId:"card-wpseo-enable_metabox_insights",inputId:"input-wpseo-enable_metabox_insights",imageSrc:"/images/insights.png",title:(0,Lt.__)("Insights","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Get more insights into what you are writing. What words do you use most often? How much time does it take to read your text? Is your text easy to read?","wordpress-seo")),(0,e.createElement)($l,{id:"link-insights",link:"https://yoa.st/4ew",ariaLabel:(0,Lt.__)("Insights","wordpress-seo")})))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("fieldset",{className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("Site structure","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2"},(0,Lt.__)("Site structure","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo.enable_cornerstone_content",cardId:"card-wpseo-enable_cornerstone_content",inputId:"input-wpseo-enable_cornerstone_content",imageSrc:"/images/cornerstone_content.png",title:(0,Lt.__)("Cornerstone content","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Mark and filter your cornerstone content to make sure your most important articles get the attention they deserve. To help you write excellent copy, we’ll assess your text more strictly.","wordpress-seo")),(0,e.createElement)($l,{id:"link-cornerstone-content",link:"https://yoa.st/dashboard-help-cornerstone",ariaLabel:(0,Lt.__)("Cornerstone content","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_text_link_counter",cardId:"card-wpseo-enable_text_link_counter",inputId:"input-wpseo-enable_text_link_counter",imageSrc:"/images/text_link_counter.png",title:(0,Lt.__)("Text link counter","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Count the number of internal links from and to your posts to improve your site structure.","wordpress-seo")),(0,e.createElement)($l,{id:"link-text-link-counter",link:"https://yoa.st/2aj",ariaLabel:(0,Lt.__)("Text link counter","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_link_suggestions",cardId:"card-wpseo-enable_link_suggestions",inputId:"input-wpseo-enable_link_suggestions",imageSrc:"/images/link_suggestions.png",isPremiumFeature:!0,hasPremiumBadge:!0,isPremiumLink:"https://yoa.st/get-link-suggestions",title:(0,Lt.__)("Internal linking suggestions","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("No need to figure out what to link to. You get linking suggestions for relevant posts and pages to make your website easier to navigate.","wordpress-seo")),(0,e.createElement)($l,{id:"link-suggestions-link",link:t?"https://yoa.st/17g":"https://yoa.st/4ev",ariaLabel:(0,Lt.__)("Link suggestions","wordpress-seo")})))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("fieldset",{id:"section-social-sharing",className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("Social sharing","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2",className:"yst-mb-2"},(0,Lt.__)("Social sharing","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo_social.opengraph",cardId:"card-wpseo_social-opengraph",inputId:"input-wpseo_social-opengraph",imageSrc:"/images/open_graph.png",title:(0,Lt.__)("Open Graph data","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Allows for Facebook and other social media to display a preview with images and a text excerpt when a link to your site is shared. Keep this feature enabled to optimize your site for social media.","wordpress-seo")),(0,e.createElement)($l,{id:"link-open-graph-data",link:"https://yoa.st/site-features-open-graph-data",ariaLabel:(0,Lt.__)("Open Graph data","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo_social.twitter",cardId:"card-wpseo_social-twitter",inputId:"input-wpseo_social-twitter",imageSrc:"/images/twitter_card.png",title:(0,Lt.__)("X card data","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Allows for X to display a preview with images and a text excerpt when a link to your site is shared.","wordpress-seo")),(0,e.createElement)($l,{id:"link-twitter-card-data",link:"https://yoa.st/site-features-twitter-card-data",ariaLabel:(0,Lt.__)("X card data","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_enhanced_slack_sharing",cardId:"card-wpseo-enable_enhanced_slack_sharing",inputId:"input-wpseo-enable_enhanced_slack_sharing",imageSrc:"/images/slack_sharing.png",title:(0,Lt.__)("Slack sharing","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("This adds an author byline and reading time estimate to the article’s snippet when shared on Slack.","wordpress-seo")),(0,e.createElement)($l,{id:"link-slack-sharing",link:"https://yoa.st/help-slack-share",ariaLabel:(0,Lt.__)("Slack sharing","wordpress-seo")})))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("fieldset",{className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("Tools","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2"},(0,Lt.__)("Tools","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo.enable_admin_bar_menu",cardId:"card-wpseo-enable_admin_bar_menu",inputId:"input-wpseo-enable_admin_bar_menu",imageSrc:"/images/admin_bar.png",title:(0,Lt.__)("Admin bar menu","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.sprintf)( // translators: %1$s expands to Yoast. (0,Lt.__)("The %1$s icon in the top admin bar provides quick access to third-party tools for analyzing pages and makes it easy to see if you have new notifications.","wordpress-seo"),"Yoast")),(0,e.createElement)($l,{id:"link-admin-bar",link:"https://yoa.st/site-features-admin-bar",ariaLabel:(0,Lt.__)("Admin bar menu","wordpress-seo")})))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("fieldset",{className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("APIs","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2"},(0,Lt.__)("APIs","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo.enable_headless_rest_endpoints",cardId:"card-wpseo-enable_headless_rest_endpoints",inputId:"input-wpseo-enable_headless_rest_endpoints",imageSrc:"/images/rest_api.png",title:(0,Lt.__)("REST API endpoint","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("This Yoast SEO REST API endpoint gives you all the metadata you need for a specific URL. This will make it very easy for headless WordPress sites to use Yoast SEO for all their SEO meta output.","wordpress-seo")),(0,e.createElement)($l,{id:"link-rest-api-endpoint",link:"https://yoa.st/site-features-rest-api-endpoint",ariaLabel:(0,Lt.__)("REST API endpoint","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_xml_sitemap",cardId:"card-wpseo-enable_xml_sitemap",inputId:"input-wpseo-enable_xml_sitemap",imageSrc:"/images/xml_sitemaps.png",title:(0,Lt.__)("XML sitemaps","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.sprintf)( // translators: %1$s expands to "Yoast SEO". (0,Lt.__)("Enable the %1$s XML sitemaps. A sitemap is a file that lists a website's essential pages to make sure search engines can find and crawl them.","wordpress-seo"),"Yoast SEO")),n&&o&&(0,e.createElement)(l.Button,{as:"a",id:"link-xml-sitemaps",href:s,variant:"secondary",target:"_blank",rel:"noopener",className:"yst-self-start"},(0,Lt.__)("View the XML sitemap","wordpress-seo"),(0,e.createElement)(Tl,{className:"yst--me-1 yst-ms-1 yst-h-5 yst-w-5 yst-text-slate-400 rtl:yst-rotate-[270deg]"})),(0,e.createElement)($l,{id:"link-xml-sitemaps-learn-more",link:"https://yoa.st/2a-",ariaLabel:(0,Lt.__)("XML sitemaps","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_index_now",cardId:"card-wpseo-enable_index_now",inputId:"input-wpseo-enable_index_now",imageSrc:"/images/indexnow.png",isPremiumFeature:!0,hasPremiumBadge:!0,isPremiumLink:"https://yoa.st/get-indexnow",title:(0,Lt.__)("IndexNow","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Automatically ping search engines like Bing and Yandex whenever you publish, update or delete a post.","wordpress-seo")),(0,e.createElement)($l,{id:"link-index-now",link:"https://yoa.st/index-now-feature",ariaLabel:(0,Lt.__)("IndexNow","wordpress-seo")})))))))},Rl=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"}))})),Nl=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{fillRule:"evenodd",d:"M10 3a1 1 0 011 1v5h5a1 1 0 110 2h-5v5a1 1 0 11-2 0v-5H4a1 1 0 110-2h5V4a1 1 0 011-1z",clipRule:"evenodd"}))})),Il=Ca(Da),Ol=Aa(Ia),Cl=()=>{const{values:t}=q(),{website_name:s,company_or_person:r,company_or_person_user_id:a,company_name:o,company_logo_id:n}=t.wpseo_titles,{other_social_urls:c}=t.wpseo_social,d=aa("selectUserById",[a],a),u=aa("selectLink",[],"https://yoa.st/1-p"),p=aa("selectLink",[],"https://yoa.st/3r3"),m=aa("selectLink",[],"https://yoa.st/site-representation-org-additional-info-upsell"),f=aa("selectLink",[],"https://yoa.st/site-representation-org-identifiers"),h=aa("selectLink",[],"https://yoa.st/site-representation-organization-person"),y=aa("selectPreference",[],"editUserUrl"),w=aa("selectPreference",[],"isLocalSeoActive"),_=aa("selectPreference",[],"companyOrPersonMessage"),g=aa("selectFallback",[],"siteLogoId"),b=aa("selectCanEditUser",[null==d?void 0:d.id],null==d?void 0:d.id),v=aa("selectPreference",[],"isPremium"),E=aa("selectUpsellSettingsAsProps"),x=aa("selectLink",[],"https://yoa.st/get-mastodon-integration"),k=aa("selectLink",[],"https://yoa.st/site-representation-mastodon"),S=aa("selectPreference",[],"localSeoPageSettingUrl");let L=(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Lt.__)("You have %1$s activated on your site. You can provide your VAT ID and Tax ID in the %2$s‘Business info’ settings%3$s.","wordpress-seo"),"Yoast Local SEO","",""),{a:(0,e.createElement)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})}),T=(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Lt.__)("You have %1$s activated on your site. You can provide your email and phone in the %2$s‘Business info’ settings%3$s.","wordpress-seo"),"Yoast Local SEO","",""),{a:(0,e.createElement)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})});S.includes("wpseo_locations")&&(L=(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Lt.__)("You have %1$s activated on your site, and you've configured your business for multiple locations. This allows you to provide your VAT ID and Tax ID for %2$seach specific location%3$s.","wordpress-seo"),"Yoast Local SEO","",""),{a:(0,e.createElement)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})}),T=(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Lt.__)("You have %1$s activated on your site, and you've configured your business for multiple locations. This allows you to provide your email and phone for %2$seach specific location%3$s.","wordpress-seo"),"Yoast Local SEO","",""),{a:(0,e.createElement)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})}));const F=(0,i.useCallback)((async e=>{var t;await e.push(""),null===(t=document.getElementById(`input-wpseo_social-other_social_urls-${c.length}`))||void 0===t||t.focus()}),[c]);return(0,e.createElement)(uo,{title:(0,Lt.__)("Site representation","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. (0,Lt.__)("This info is intended to appear in %1$sGoogle's Knowledge Graph%2$s.","wordpress-seo"),"",""),u,"link-google-knowledge-graph")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("Organization/person","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. (0,Lt.__)("Choose whether your site represents an organization or a person. %1$sLearn more about the differences and choosing between Organization and Person%2$s.","wordpress-seo"),"",""),h,"link-site-representation-organization-person")},w&&(0,e.createElement)(l.Alert,{id:"alert-local-seo-company-or-person",variant:"info"},_),(0,e.createElement)(l.RadioGroup,{disabled:w},(0,e.createElement)(te,{as:l.Radio,type:"radio",name:"wpseo_titles.company_or_person",id:"input-wpseo_titles-company_or_person-company",label:(0,Lt.__)("Organization","wordpress-seo"),value:"company",disabled:w}),(0,e.createElement)(te,{as:l.Radio,type:"radio",name:"wpseo_titles.company_or_person",id:"input-wpseo_titles-company_or_person-person",label:(0,Lt.__)("Person","wordpress-seo"),value:"person",disabled:w}))),(0,e.createElement)("section",{className:"yst-space-y-8"}),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("div",{className:"yst-relative"},(0,e.createElement)(ia.Z,{easing:"ease-out",duration:300,delay:300,height:"company"===r?"auto":0,animateOpacity:!0},(0,e.createElement)(na,{title:(0,Lt.__)("Organization","wordpress-seo"),description:(0,Lt.__)("Please tell us more about your organization. This information will help Google to understand your website, and improve your chance of getting rich results.","wordpress-seo")},(!o||n<1)&&(0,e.createElement)(l.Alert,{id:"alert-organization-name-logo",variant:"info"},Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. (0,Lt.__)("An organization name and logo need to be set for structured data to work properly. Since you haven’t set these yet, we are using the site name and logo as default values. %1$sLearn more about the importance of structured data%2$s.","wordpress-seo"),"",""),p,"link-structured-data")),(0,e.createElement)(te,{as:l.TextField,name:"wpseo_titles.company_name",id:"input-wpseo_titles-company_name",label:(0,Lt.__)("Organization name","wordpress-seo"),placeholder:s}),(0,e.createElement)(te,{as:l.TextField,name:"wpseo_titles.company_alternate_name",id:"input-wpseo_titles-company_alternate_name",label:(0,Lt.__)("Alternate organization name","wordpress-seo"),description:(0,Lt.__)("Use the alternate organization name for acronyms, or a shorter version of your organization's name.","wordpress-seo")}),(0,e.createElement)(ha,{id:"wpseo_titles-company_logo",label:(0,Lt.__)("Organization logo","wordpress-seo"),variant:"square",previewLabel:(0,i.createInterpolateElement)((0,Lt.sprintf)( /* translators: %1$s expands to an opening strong tag. %2$s expands to a closing strong tag. %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","696x696px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})}),mediaUrlName:"wpseo_titles.company_logo",mediaIdName:"wpseo_titles.company_logo_id",fallbackMediaId:g})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{id:"fieldset-wpseo_social-other_social_urls",title:(0,Lt.__)("Other profiles","wordpress-seo"),description:(0,Lt.__)("Tell us if you have any other profiles on the web that belong to your organization. This can be any number of profiles, like YouTube, LinkedIn, Pinterest, or even Wikipedia.","wordpress-seo")},(0,e.createElement)(Da,{as:l.TextField,name:"wpseo_social.facebook_site",id:"input-wpseo_social-facebook_site",label:(0,Lt.__)("Facebook","wordpress-seo"),placeholder:(0,Lt.__)("E.g. https://facebook.com/yoast","wordpress-seo")}),(0,e.createElement)(Da,{as:l.TextField,name:"wpseo_social.twitter_site",id:"input-wpseo_social-twitter_site",label:(0,Lt.__)("X","wordpress-seo"),placeholder:(0,Lt.__)("E.g. https://x.com/yoast","wordpress-seo")}),(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!v,variant:"card",cardLink:x,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...E},(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_social.mastodon_url",id:"input-wpseo_social-mastodon_url",label:(0,Lt.__)("Mastodon","wordpress-seo"),placeholder:(0,Lt.__)("E.g. https://mastodon.social/@yoast","wordpress-seo"),labelSuffix:v&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium"),isDummy:!v,description:(0,e.createElement)(i.Fragment,null,(0,Lt.__)("Get your site verified in your Mastodon profile.","wordpress-seo")," ",(0,e.createElement)(l.Link,{id:"link-wpseo_social-mastodon_url",href:k,target:"_blank",rel:"noopener"},(0,Lt.__)("Read more about how to get your site verified.","wordpress-seo")))})),(0,e.createElement)(ie,{name:"wpseo_social.other_social_urls"},(t=>(0,e.createElement)(i.Fragment,null,c.map(((s,r)=>(0,e.createElement)(Js,{key:`wpseo_social.other_social_urls.${r}`,as:i.Fragment,appear:!0,show:!0,enter:"yst-transition yst-ease-out yst-duration-300",enterFrom:"yst-transform yst-opacity-0",enterTo:"yst-transform yst-opacity-100",leave:"yst-transition yst-ease-out yst-duration-300",leaveFrom:"yst-transform yst-opacity-100",leaveTo:"yst-transform yst-opacity-0"},(0,e.createElement)("div",{className:"yst-w-full yst-flex yst-items-start yst-gap-2"},(0,e.createElement)(Da,{as:l.TextField,name:`wpseo_social.other_social_urls.${r}`,id:`input-wpseo_social-other_social_urls-${r}`,label:(0,Lt.sprintf)((0,Lt.__)("Other profile %1$s","wordpress-seo"),r+1),placeholder:(0,Lt.__)("E.g. https://example.com/yoast","wordpress-seo"),className:"yst-grow"}),(0,e.createElement)(l.Button,{variant:"secondary",onClick:t.remove.bind(null,r),className:"yst-mt-7 yst-p-2.5","aria-label":(0,Lt.sprintf)((0,Lt.__)("Remove Other profile %1$s","wordpress-seo"),r+1)},(0,e.createElement)(Rl,{className:"yst-h-5 yst-w-5"})))))),(0,e.createElement)(l.Button,{id:"button-add-social-profile",variant:"secondary",onClick:()=>F(t)},(0,e.createElement)(Nl,{className:"yst--ms-1 yst-me-1 yst-h-5 yst-w-5 yst-text-slate-400"}),(0,Lt.__)("Add another profile","wordpress-seo")))))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)(i.Fragment,null,(0,Lt.__)("Additional organization info","wordpress-seo"),v&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium")),description:(0,Lt.__)("Enrich your organization's profile by providing more in-depth information. The more details you share, the better Google understands your website.","wordpress-seo")},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!v,variant:"card",cardLink:m,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...E},(0,e.createElement)(Il,{as:l.TextareaField,name:"wpseo_titles.org-description",id:"input-wpseo_titles-org-description",label:(0,Lt.__)("Organization description","wordpress-seo"),isDummy:!v,maxLength:2e3}),w&&v&&(0,e.createElement)(l.Alert,{id:"alert-local-seo-vat-or-tax-id",variant:"info"},T),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-email",id:"input-wpseo_titles-org-email",type:"email",label:(0,Lt.__)("Organization email address","wordpress-seo"),isDummy:!v||w}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-phone",id:"input-wpseo_titles-org-phone",label:(0,Lt.__)("Organization phone number","wordpress-seo"),isDummy:!v||w}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-legal-name",id:"input-wpseo_titles-org-legal-name",label:(0,Lt.__)("Organization's legal name","wordpress-seo"),isDummy:!v}),(0,e.createElement)(Il,{as:l.TextField,className:"yst-w-3/5",name:"wpseo_titles.org-founding-date",id:"input-wpseo_titles-org-founding-date",label:(0,Lt.__)("Organization's founding date","wordpress-seo"),type:"date",isDummy:!v}),(0,e.createElement)(Ol,{name:"wpseo_titles.org-number-employees",className:"yst-w-3/5",id:"input-wpseo_titles-org-number-employees",label:(0,Lt.__)("Number of employees","wordpress-seo"),placeholder:(0,Lt.__)("Select a range / Enter a number","wordpress-seo"),isDummy:!v,options:[{value:"",label:"None"},{value:"1-10",label:(0,Lt.__)("1–10 employees","wordpress-seo")},{value:"11-50",label:(0,Lt.__)("11–50 employees","wordpress-seo")},{value:"51-200",label:(0,Lt.__)("51–200 employees","wordpress-seo")},{value:"201-500",label:(0,Lt.__)("201–500 employees","wordpress-seo")},{value:"501-1000",label:(0,Lt.__)("501–1000 employees","wordpress-seo")},{value:"1001-5000",label:(0,Lt.__)("1001–5000 employees","wordpress-seo")},{value:"5001-10000",label:(0,Lt.__)("5001–10000 employees","wordpress-seo")}]}))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)(i.Fragment,null,(0,Lt.__)("Organization identifiers","wordpress-seo"),v&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium")),description:(0,Lt.__)("Please tell us more about your organization’s identifiers. This information will help Google to display accurate and helpful details about your organization.","wordpress-seo")},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!v,variant:"card",cardLink:f,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...E},w&&v&&(0,e.createElement)(l.Alert,{id:"alert-local-seo-vat-or-tax-id",variant:"info"},L),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-vat-id",id:"input-wpseo_titles-org-vat-id",label:(0,Lt.__)("VAT ID","wordpress-seo"),isDummy:!v||w}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-tax-id",id:"input-wpseo_titles-org-tax-id",label:(0,Lt.__)("Tax ID","wordpress-seo"),isDummy:!v||w}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-iso",id:"input-wpseo_titles-org-iso",label:(0,Lt.__)("ISO 6523","wordpress-seo"),isDummy:!v}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-duns",id:"input-wpseo_titles-org-duns",label:(0,Lt.__)("DUNS","wordpress-seo"),isDummy:!v}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-leicode",id:"input-wpseo_titles-org-leicode",label:(0,Lt.__)("LEI code","wordpress-seo"),isDummy:!v}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-naics",id:"input-wpseo_titles-org-naics",label:(0,Lt.__)("NAICS","wordpress-seo"),isDummy:!v})))),(0,e.createElement)(ia.Z,{easing:"ease-out",duration:300,delay:300,height:"person"===r?"auto":0,animateOpacity:!0},(0,e.createElement)(na,{title:(0,Lt.__)("Personal info","wordpress-seo"),description:(0,Lt.__)("Please tell us more about the person this site represents.","wordpress-seo")},(0,e.createElement)(Sa,{name:"wpseo_titles.company_or_person_user_id",id:"input-wpseo_titles-company_or_person_user_id",label:(0,Lt.__)("Select a user","wordpress-seo"),className:"yst-max-w-sm"}),!(0,le.isEmpty)(d)&&(0,e.createElement)(l.Alert,{id:"alert-person-user-profile"},b&&(0,i.createInterpolateElement)((0,Lt.sprintf)( /* translators: %1$s and %2$s are replaced by opening and closing tags. %3$s and %4$s are replaced by opening and closing tags. %5$s is replaced by the selected user display name. */ (0,Lt.__)("You have selected the user %1$s%5$s%2$s as the person this site represents. Their user profile information will now be used in search results. %3$sUpdate their profile to make sure the information is correct%4$s.","wordpress-seo"),"","","","",null==d?void 0:d.name),{strong:(0,e.createElement)("strong",{className:"yst-font-medium"}),a:(0,e.createElement)("a",{id:"link-person-user-profile",href:`${y}?user_id=${null==d?void 0:d.id}`,target:"_blank",rel:"noopener noreferrer"})}),!b&&(0,i.createInterpolateElement)((0,Lt.sprintf)( /* translators: %1$s and %2$s are replaced by opening and closing tags. %3$s is replaced by the selected user display name. */ (0,Lt.__)("You have selected the user %1$s%3$s%2$s as the person this site represents. Their user profile information will now be used in search results. We're sorry, you're not allowed to edit this user's profile. Please contact your admin or %1$s%3$s%2$s to check and/or update the profile.","wordpress-seo"),"","",null==d?void 0:d.name),{strong:(0,e.createElement)("strong",{className:"yst-font-medium"})})),(0,e.createElement)(ha,{id:"wpseo_titles-person_logo",label:(0,Lt.__)("Personal logo or avatar","wordpress-seo"),variant:"square",previewLabel:(0,i.createInterpolateElement)((0,Lt.sprintf)( /* translators: %1$s expands to an opening strong tag. %2$s expands to a closing strong tag. %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","696x696px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})}),mediaUrlName:"wpseo_titles.person_logo",mediaIdName:"wpseo_titles.person_logo_id",fallbackMediaId:g,disabled:!a})))))))},Al=()=>{const t=aa("selectReplacementVariablesFor",[],"search","search"),s=aa("selectRecommendedReplacementVariablesFor",[],"search","search"),r=aa("selectReplacementVariablesFor",[],"404","404"),a=aa("selectRecommendedReplacementVariablesFor",[],"404","404");return(0,e.createElement)(uo,{title:(0,Lt.__)("Special pages","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("Internal search pages","wordpress-seo"),description:(0,Lt.__)("Determine how the title of your internal search pages should look in the browser.","wordpress-seo")},(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.title-search-wpseo",fieldId:"input-wpseo_titles-title-search-wpseo",label:(0,Lt.__)("Page title","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("404 error pages","wordpress-seo"),description:(0,Lt.__)("Determine how the title of your 404 error pages should look in the browser.","wordpress-seo")},(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.title-404-wpseo",fieldId:"input-wpseo_titles-title-404-wpseo",label:(0,Lt.__)("Page title","wordpress-seo"),replacementVariables:r,recommendedReplacementVariables:a})))))},Ml=/content=(['"])?(?[^'"> ]+)(?:\1|[ />])/,Dl=e=>{var t;const s=e.target.value.match(Ml);return null!=s&&null!==(t=s.groups)&&void 0!==t&&t.content?s.groups.content:e.target.value},Bl=Ma(Ra),Ul=()=>{const t=aa("selectPreference",[],"siteUrl");return(0,e.createElement)(uo,{title:(0,Lt.__)("Site connections","wordpress-seo"),description:(0,Lt.__)("Verify your site with different tools. This will add a verification meta tag to your homepage. You can find instructions on how to verify your site for each platform by following the link in the description.","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)("fieldset",{className:"yst-min-width-0 yst-max-w-screen-sm yst-space-y-8"},(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo.baiduverify",id:"input-wpseo-baiduverify",label:(0,Lt.__)("Baidu","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Get your verification code in %1$sBaidu Webmaster tools%2$s.","wordpress-seo"),"",""),"https://ziyuan.baidu.com/site","link-baidu-webmaster-tools"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl}),(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo.msverify",id:"input-wpseo-msverify",label:(0,Lt.__)("Bing","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Get your verification code in %1$sBing Webmaster tools%2$s.","wordpress-seo"),"",""),`https://www.bing.com/toolbox/webmaster/#/Dashboard/?url=${t}`,"link-bing-webmaster-tools"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl}),(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo.googleverify",id:"input-wpseo-googleverify",label:(0,Lt.__)("Google","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Get your verification code in %1$sGoogle Search console%2$s.","wordpress-seo"),"",""),(0,Rt.addQueryArgs)("https://search.google.com/search-console/users",{hl:"en",tid:"alternate",siteUrl:t}),"link-google-search-console"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl}),(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo_social.pinterestverify",id:"input-wpseo_social-pinterestverify",label:(0,Lt.__)("Pinterest","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Claim your site over at %1$sPinterest%2$s.","wordpress-seo"),"",""),"https://www.pinterest.com/settings/claim","link-pinterest"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl}),(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo.yandexverify",id:"input-wpseo-yandexverify",label:(0,Lt.__)("Yandex","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Get your verification code in %1$sYandex Webmaster tools%2$s.","wordpress-seo"),"",""),"https://webmaster.yandex.com/sites/add/","link-yandex-webmaster-tools"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl})))))},jl=({postTypes:t,taxonomies:s,idSuffix:r=""})=>{const a=(0,l.useSvgAria)(),o=aa("selectPreference",[],"isPremium"),n=(0,i.useCallback)((({show:t,toggle:s,ariaProps:r})=>{const o=(0,i.useMemo)((()=>t?sr:rr),[t]);return(0,e.createElement)("div",{className:"yst-relative"},(0,e.createElement)("hr",{className:"yst-absolute yst-inset-x-0 yst-top-1/2 yst-bg-slate-200"}),(0,e.createElement)("button",{type:"button",className:"yst-relative yst-flex yst-items-center yst-gap-1.5 yst-px-2.5 yst-py-1 yst-mx-auto yst-text-xs yst-font-medium yst-text-slate-700 yst-bg-slate-50 yst-rounded-full yst-border yst-border-slate-300 hover:yst-bg-white hover:yst-text-slate-800 focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-primary-500 focus:yst-ring-offset-2",onClick:s,...r},t?(0,Lt.__)("Show less","wordpress-seo"):(0,Lt.__)("Show more","wordpress-seo"),(0,e.createElement)(o,{className:"yst-h-4 yst-w-4 yst-flex-shrink-0 yst-text-slate-400 group-hover:yst-text-slate-500 yst-stroke-3",...a})))}),[]);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("header",{className:"yst-px-3 yst-mb-6 yst-space-y-6"},(0,e.createElement)(Et,{id:`link-yoast-logo${r}`,to:"/",className:"yst-inline-block yst-rounded-md focus:yst-ring-primary-500","aria-label":"Yoast SEO"+(o?" Premium":"")},(0,e.createElement)(Qr,{className:"yst-w-40",...a})),(0,e.createElement)(Ji,{buttonId:`button-search${r}`})),(0,e.createElement)("div",{className:"yst-px-0.5 yst-space-y-6"},(0,e.createElement)(l.SidebarNavigation.MenuItem,{id:`menu-general${r}`,icon:Qs,label:(0,Lt.__)("General","wordpress-seo")},(0,e.createElement)(vr,{to:"/site-features",label:(0,Lt.__)("Site features","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/site-basics",label:(0,Lt.__)("Site basics","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/site-representation",label:(0,Lt.__)("Site representation","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/site-connections",label:(0,Lt.__)("Site connections","wordpress-seo"),idSuffix:r})),(0,e.createElement)(l.SidebarNavigation.MenuItem,{id:`menu-content-types${r}`,icon:Xs,label:(0,Lt.__)("Content types","wordpress-seo")},(0,e.createElement)(l.ChildrenLimiter,{limit:5,renderButton:n},(0,e.createElement)(vr,{to:"/homepage",label:(0,Lt.__)("Homepage","wordpress-seo"),idSuffix:r}),(0,le.map)(t,(({name:t,route:s,label:a,isNew:o})=>(0,e.createElement)(vr,{key:`link-post-type-${t}`,to:`/post-type/${s}`,label:(0,e.createElement)("span",{className:"yst-inline-flex yst-items-center yst-gap-1.5"},a,o&&(0,e.createElement)(l.Badge,{variant:"info"},(0,Lt.__)("New","wordpress-seo"))),idSuffix:r}))))),(0,e.createElement)(l.SidebarNavigation.MenuItem,{id:`menu-categories-and-tags${r}`,icon:er,label:(0,Lt.__)("Categories & tags","wordpress-seo")},(0,e.createElement)(l.ChildrenLimiter,{limit:5,renderButton:n},(0,le.map)(s,(t=>(0,e.createElement)(vr,{key:`link-taxonomy-${t.name}`,to:`/taxonomy/${t.route}`,label:(0,e.createElement)("span",{className:"yst-inline-flex yst-items-center yst-gap-1.5"},t.label,t.isNew&&(0,e.createElement)(l.Badge,{variant:"info"},(0,Lt.__)("New","wordpress-seo"))),idSuffix:r}))))),(0,e.createElement)(l.SidebarNavigation.MenuItem,{id:`menu-advanced${r}`,icon:tr,label:(0,Lt.__)("Advanced","wordpress-seo"),defaultOpen:!1},(0,e.createElement)(vr,{to:"/crawl-optimization",label:(0,Lt.__)("Crawl optimization","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/breadcrumbs",label:(0,Lt.__)("Breadcrumbs","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/author-archives",label:(0,Lt.__)("Author archives","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/date-archives",label:(0,Lt.__)("Date archives","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/format-archives",label:(0,Lt.__)("Format archives","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/special-pages",label:(0,Lt.__)("Special pages","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/media-pages",label:(0,Lt.__)("Media pages","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/rss",label:(0,Lt.__)("RSS","wordpress-seo"),idSuffix:r}))))};jl.propTypes={postTypes:ir().object.isRequired,taxonomies:ir().object.isRequired,idSuffix:ir().string};const Vl=()=>{const{pathname:t}=Qe(),s=aa("selectPostTypes"),r=aa("selectTaxonomies"),o=aa("selectPreference",[],"isPremium"),n=aa("selectLink",[],"https://yoa.st/17h"),c=aa("selectLink",[],"https://yoa.st/jj"),d=aa("selectUpsellSettingsAsProps"),u=aa("selectLink",[],"https://yoa.st/3t6"),{isPromotionActive:p}=(0,a.useSelect)(ea);(()=>{const{hash:e,pathname:t,key:s}=Qe();(0,i.useEffect)((()=>{const t=e.replace("#",""),s=document.getElementById(t)||document.querySelector(`[data-id="${t}"]`);if(s)s.scrollIntoView({behavior:"smooth"}),setTimeout((()=>s.focus()),800);else{const e=document.getElementById("yoast-seo-settings");null==e||e.scrollIntoView({behavior:"smooth"})}}),[t,e,s])})();const{dirty:m}=q();return(0,l.useBeforeUnload)(m,(0,Lt.__)("There are unsaved changes on this page. Leaving means that those changes will be lost. Are you sure you want to leave this page?","wordpress-seo")),(0,e.createElement)(e.Fragment,null,(0,e.createElement)(ja,null),(0,e.createElement)(l.SidebarNavigation,{activePath:t},(0,e.createElement)(l.SidebarNavigation.Mobile,{openButtonId:"button-open-settings-navigation-mobile",closeButtonId:"button-close-settings-navigation-mobile" /* translators: Hidden accessibility text. */,openButtonScreenReaderText:(0,Lt.__)("Open settings navigation","wordpress-seo") /* translators: Hidden accessibility text. */,closeButtonScreenReaderText:(0,Lt.__)("Close settings navigation","wordpress-seo"),"aria-label":(0,Lt.__)("Settings navigation","wordpress-seo")},(0,e.createElement)(jl,{idSuffix:"-mobile",postTypes:s,taxonomies:r})),(0,e.createElement)("div",{className:"yst-p-4 min-[783px]:yst-p-8 yst-flex yst-gap-4"},(0,e.createElement)("aside",{className:"yst-sidebar yst-sidebar-nav yst-shrink-0 yst-hidden min-[783px]:yst-block yst-pb-6 yst-bottom-0 yst-w-56"},(0,e.createElement)(l.SidebarNavigation.Sidebar,null,(0,e.createElement)(jl,{postTypes:s,taxonomies:r}))),(0,e.createElement)("div",{className:or()("yst-flex yst-grow yst-flex-wrap",!o&&"xl:yst-pe-[17.5rem]")},(0,e.createElement)("div",{className:"yst-grow yst-max-w-page yst-space-y-6 yst-mb-8 xl:yst-mb-0"},(0,e.createElement)(l.Paper,{as:"main"},(0,e.createElement)(l.ErrorBoundary,{FallbackComponent:Qi},(0,e.createElement)(Js,{key:t,appear:!0,show:!0,enter:"yst-transition-opacity yst-delay-100 yst-duration-300",enterFrom:"yst-opacity-0",enterTo:"yst-opacity-100"},(0,e.createElement)(ft,null,(0,e.createElement)(pt,{path:"author-archives",element:(0,e.createElement)(ll,null)}),(0,e.createElement)(pt,{path:"breadcrumbs",element:(0,e.createElement)(cl,null)}),(0,e.createElement)(pt,{path:"crawl-optimization",element:(0,e.createElement)(ml,null)}),(0,e.createElement)(pt,{path:"date-archives",element:(0,e.createElement)(hl,null)}),(0,e.createElement)(pt,{path:"homepage",element:(0,e.createElement)(bl,null)}),(0,e.createElement)(pt,{path:"format-archives",element:(0,e.createElement)(wl,null)}),(0,e.createElement)(pt,{path:"media-pages",element:(0,e.createElement)(vl,null)}),(0,e.createElement)(pt,{path:"rss",element:(0,e.createElement)(xl,null)}),(0,e.createElement)(pt,{path:"site-basics",element:(0,e.createElement)(Ll,null)}),(0,e.createElement)(pt,{path:"site-connections",element:(0,e.createElement)(Ul,null)}),(0,e.createElement)(pt,{path:"site-representation",element:(0,e.createElement)(Cl,null)}),(0,e.createElement)(pt,{path:"site-features",element:(0,e.createElement)(Pl,null)}),(0,e.createElement)(pt,{path:"special-pages",element:(0,e.createElement)(Al,null)}),(0,e.createElement)(pt,{path:"post-type"},(0,le.map)(s,(t=>(0,e.createElement)(pt,{key:`route-post-type-${t.name}`,path:t.route,element:(0,e.createElement)(rl,{...t})})))),(0,e.createElement)(pt,{path:"taxonomy"},(0,le.map)(r,(t=>(0,e.createElement)(pt,{key:`route-taxonomy-${t.name}`,path:t.route,element:(0,e.createElement)(nl,{...t})})))),(0,e.createElement)(pt,{path:"*",element:(0,e.createElement)(ut,{to:"/site-features",replace:!0})}))))),!o&&(0,e.createElement)(zr,{premiumLink:n,premiumUpsellConfig:d,isPromotionActive:p})),!o&&(0,e.createElement)("div",{className:"xl:yst-max-w-3xl xl:yst-fixed xl:yst-end-8 xl:yst-w-[16rem]"},(0,e.createElement)(qr,{premiumLink:c,premiumUpsellConfig:d,academyLink:u,isPromotionActive:p}))))))},zl=window.yoast.externals.redux,ql=()=>(0,le.get)(window,"wpseoScriptData.postTypes",{}),Wl="updatePostTypeReviewStatus",Hl=(0,Tt.createSlice)({name:"postTypes",initialState:ql(),reducers:{},extraReducers:e=>{e.addCase(`${Wl}/result`,((e,{payload:t})=>{e[t].isNew=!1}))}}),Yl={selectPostType:(e,t,s={})=>(0,le.get)(e,`postTypes.${t}`,s),selectAllPostTypes:(e,t=null)=>{const s=(0,le.get)(e,"postTypes",{});return t?(0,le.pick)(s,t):s}};Yl.selectPostTypes=(0,Tt.createSelector)(Yl.selectAllPostTypes,(e=>(0,le.omit)(e,["attachment"])));const Gl={[Wl]:async({payload:e})=>Gt()({path:"/yoast/v1/new-content-type-visibility/dismiss-post-type",method:"POST",data:{post_type_name:e}})},Kl={...Hl.actions,updatePostTypeReviewStatus:function*(e){try{yield{type:Wl,payload:e}}catch(t){console.error(`Error: Failed to remove "New" badge for ${e}, ${t}`)}return{type:`${Wl}/result`,payload:e}}},Zl=Hl.reducer,Jl=()=>{var e;return{...(0,le.get)(window,"wpseoScriptData.preferences",{}),documentTitle:(0,le.defaultTo)(null===(e=document)||void 0===e?void 0:e.title,"")}},Ql=(0,Tt.createSlice)({name:"preferences",initialState:Jl(),reducers:{}}),Xl={selectPreference:(e,t,s={})=>(0,le.get)(e,`preferences.${t}`,s),selectPreferences:e=>(0,le.get)(e,"preferences",{})};Xl.selectHasPageForPosts=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"homepageIsLatestPosts"),e=>Xl.selectPreference(e,"homepagePostsEditUrl")],((e,t)=>!e&&!(0,le.isEmpty)(t))),Xl.selectCanEditUser=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"currentUserId",-1),e=>Xl.selectPreference(e,"canEditUsers",!1),(e,t)=>t],((e,t,s)=>e===s||t)),Xl.selectExampleUrl=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"siteUrl","https://example.com"),(e,t)=>t],((e,t)=>e+t)),Xl.selectPluginUrl=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"pluginUrl","https://example.com"),(e,t)=>t],((e,t)=>e+t)),Xl.selectUpsellSettingsAsProps=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"upsellSettings",{}),(e,t="premiumCtbId")=>t],((e,t)=>({"data-action":null==e?void 0:e.actionId,"data-ctb-id":null==e?void 0:e[t]})));const ec=Ql.actions,tc=Ql.reducer,sc=()=>(0,le.reduce)((0,le.get)(window,"wpseoScriptData.taxonomies",{}),((e,{postTypes:t,...s},r)=>({...e,[r]:{...s,postTypes:(0,le.values)(t)}})),{}),rc="updateTaxonomyReviewStatus",ac=(0,Tt.createSlice)({name:"taxonomies",initialState:sc(),reducers:{},extraReducers:e=>{e.addCase(`${rc}/result`,((e,{payload:t})=>{e[t].isNew=!1}))}}),oc={selectTaxonomy:(e,t,s={})=>(0,le.get)(e,`taxonomies.${t}`,s),selectAllTaxonomies:e=>(0,le.get)(e,"taxonomies",{})};oc.selectTaxonomies=(0,Tt.createSelector)(oc.selectAllTaxonomies,(e=>(0,le.omit)(e,["post_format"])));const nc={[rc]:async({payload:e})=>Gt()({path:"/yoast/v1/new-content-type-visibility/dismiss-taxonomy",method:"POST",data:{taxonomy_name:e}})},ic={...ac.actions,updateTaxonomyReviewStatus:function*(e){try{yield{type:rc,payload:e}}catch(t){console.error(`Error: Failed to remove "New" badge for ${e}, ${t}`)}return{type:`${rc}/result`,payload:e}}},lc=ac.reducer,cc={selectBreadcrumbsForPostTypes:(0,Tt.createSelector)([oc.selectAllTaxonomies,Yl.selectAllPostTypes],((e,t)=>{const s={value:0,label:(0,Lt.__)("None","wordpress-seo")},r={};return(0,le.forEach)(t,((t,a)=>{const o=(0,le.filter)(e,(e=>(0,le.includes)(e.postTypes,a)));(0,le.isEmpty)(o)||(r[a]={...t,options:[s,...(0,le.map)(o,(({name:e,label:t})=>({value:e,label:t})))]})})),r})),selectBreadcrumbsForTaxonomies:(0,Tt.createSelector)([oc.selectAllTaxonomies,Yl.selectAllPostTypes,Xl.selectHasPageForPosts],((e,t,s)=>{let r=[{value:0,label:(0,Lt.__)("None","wordpress-seo")}];s&&r.push({value:"post",label:(0,Lt.__)("Blog","wordpress-seo")});const a=(0,le.filter)(t,(({hasArchive:e})=>e));return r=r.concat((0,le.map)(a,(({name:e,label:t})=>({value:e,label:t})))),(0,le.mapValues)(e,(e=>({name:e.name,label:e.label,options:r})))}))},dc=()=>({...(0,le.get)(window,"wpseoScriptData.defaultSettingValues",{})}),uc=(0,Tt.createSlice)({name:"defaultSettingValues",initialState:dc(),reducers:{}}),pc={selectDefaultSettingValue:(e,t,s={})=>(0,le.get)(e,`defaultSettingValues.${t}`,s),selectDefaultSettingValues:e=>(0,le.get)(e,"defaultSettingValues",{})},mc=uc.actions,fc=uc.reducer,hc=()=>(0,le.get)(window,"wpseoScriptData.fallbacks",{}),yc=(0,Tt.createSlice)({name:"fallbacks",initialState:hc(),reducers:{}}),wc={selectFallback:(e,t,s={})=>(0,le.get)(e,`fallbacks.${t}`,s),selectFallbacks:e=>(0,le.get)(e,"fallbacks",{})},_c=yc.actions,gc=yc.reducer,bc=(0,Tt.createEntityAdapter)(),vc=()=>bc.getInitialState({status:Qt,error:""}),Ec="fetchMedia",xc=e=>{var t,s;return{id:null==e?void 0:e.id,title:(null==e||null===(t=e.title)||void 0===t?void 0:t.rendered)||(null==e?void 0:e.title),slug:(null==e?void 0:e.slug)||(null==e?void 0:e.name),alt:(null==e?void 0:e.alt_text)||(null==e?void 0:e.alt),url:(null==e?void 0:e.source_url)||(null==e?void 0:e.url),type:(null==e?void 0:e.media_type)||(null==e?void 0:e.type),mime:(null==e?void 0:e.mime_type)||(null==e?void 0:e.mime),author:null==e?void 0:e.author,sizes:(0,le.mapValues)((null==e?void 0:e.sizes)||(null==e||null===(s=e.media_details)||void 0===s?void 0:s.sizes),(e=>({url:(null==e?void 0:e.url)||(null==e?void 0:e.source_url),width:null==e?void 0:e.width,height:null==e?void 0:e.height})),{})}},kc=(0,Tt.createSlice)({name:"media",initialState:vc(),reducers:{addOneMedia:{reducer:bc.addOne,prepare:e=>({payload:xc(e)})},addManyMedia:{reducer:bc.addMany,prepare:e=>({payload:(0,le.map)(e,xc)})}},extraReducers:e=>{e.addCase(`${Ec}/${Kt}`,(e=>{e.status=Xt})),e.addCase(`${Ec}/${Zt}`,((e,t)=>{e.status=es,bc.addMany(e,(0,le.map)(t.payload,xc))})),e.addCase(`${Ec}/${Jt}`,((e,t)=>{e.status=ts,e.error=t.payload}))}}),Sc=bc.getSelectors((e=>e.media)),Lc={selectMediaIds:Sc.selectIds,selectMediaById:Sc.selectById,selectIsMediaLoading:e=>(0,le.get)(e,"media.status",Qt)===Xt,selectIsMediaError:e=>(0,le.get)(e,"media.status",Qt)===ts},Tc={...kc.actions,fetchMedia:function*(e){yield{type:`${Ec}/${Kt}`};try{const t=yield{type:Ec,payload:{per_page:100,include:e}};return{type:`${Ec}/${Zt}`,payload:t}}catch(e){return{type:`${Ec}/${Jt}`,payload:e}}}},Fc={[Ec]:async({payload:e})=>Gt()({path:`/wp/v2/media?${(0,Rt.buildQueryString)(e)}`})},$c=kc.reducer,Pc=window.wp.htmlEntities,Rc=(0,Tt.createEntityAdapter)(),Nc="fetchPages",Ic="pages";let Oc;const Cc=e=>{var t;return{id:null==e?void 0:e.id,name:(0,Pc.decodeEntities)((0,le.trim)(null==e?void 0:e.title.rendered))||(null==e?void 0:e.slug)||e.id,slug:null==e?void 0:e.slug,protected:null==e||null===(t=e.content)||void 0===t?void 0:t.protected}},Ac=(0,Tt.createSlice)({name:"pages",initialState:Rc.getInitialState({status:Qt,error:""}),reducers:{addOnePage:{reducer:Rc.addOne,prepare:e=>({payload:Cc(e)})},addManyPages:{reducer:Rc.addMany,prepare:e=>({payload:(0,le.map)(e,Cc)})}},extraReducers:e=>{e.addCase(`${Nc}/${Kt}`,(e=>{e.status=Xt})),e.addCase(`${Nc}/${Zt}`,((e,t)=>{e.status=es,Rc.addMany(e,(0,le.map)(t.payload,Cc))})),e.addCase(`${Nc}/${Jt}`,((e,t)=>{e.status=ts,e.error=t.payload}))}}),Mc=Ac.getInitialState,Dc=Rc.getSelectors((e=>e.pages)),Bc={selectPageIds:Dc.selectIds,selectPageById:Dc.selectById,selectPages:Dc.selectEntities};Bc.selectPagesWith=(0,Tt.createSelector)([Bc.selectPages,(e,t={})=>t],((e,t)=>{const s={};t.forEach((t=>{null!=t&&t.id&&!e[t.id]&&(s[t.id]={...t})}));const r=(0,le.pickBy)(e,(e=>!e.protected));return{...s,...r}}));const Uc={...Ac.actions,fetchPages:function*(e){yield{type:`${Nc}/${Kt}`};try{const t=yield{type:Nc,payload:{...e}};return{type:`${Nc}/${Zt}`,payload:t}}catch(e){return{type:`${Nc}/${Jt}`,payload:e}}}},jc={[Nc]:async({payload:e})=>{var t;return null===(t=Oc)||void 0===t||t.abort(),Oc=new AbortController,Gt()({path:`/wp/v2/pages?${(0,Rt.buildQueryString)(e)}`,signal:Oc.signal})}},Vc=Ac.reducer,zc=()=>({recommended:(0,le.get)(window,"wpseoScriptData.replacementVariables.recommended",{}),shared:(0,le.get)(window,"wpseoScriptData.replacementVariables.shared",[]),specific:(0,le.get)(window,"wpseoScriptData.replacementVariables.specific",{}),variables:(0,le.get)(window,"wpseoScriptData.replacementVariables.variables",[])}),qc=(0,Tt.createSlice)({name:"replacementVariables",initialState:zc(),reducers:{}}),Wc={selectRecommendedReplacementVariables:e=>(0,le.get)(e,"replacementVariables.recommended",{}),selectSharedReplacementVariables:e=>(0,le.get)(e,"replacementVariables.shared",[]),selectSpecificReplacementVariables:e=>(0,le.get)(e,"replacementVariables.specific",{}),selectReplacementVariables:e=>(0,le.get)(e,"replacementVariables.variables",[])};Wc.selectSpecificReplacementVariablesFor=(0,Tt.createSelector)([Wc.selectSharedReplacementVariables,Wc.selectSpecificReplacementVariables,(e,t)=>t,(e,t,s)=>s],((e,t,s,r)=>[...e,...(0,le.get)(t,s,(0,le.get)(t,r,[]))])),Wc.selectReplacementVariablesFor=(0,Tt.createSelector)([Wc.selectReplacementVariables,Wc.selectSpecificReplacementVariablesFor],((e,t)=>(0,le.filter)(e,(({name:e})=>(0,le.includes)(t,e))))),Wc.selectRecommendedReplacementVariablesFor=(0,Tt.createSelector)([Wc.selectRecommendedReplacementVariables,(e,t)=>t,(e,t,s)=>s],((e,t,s)=>(0,le.get)(e,t,(0,le.get)(e,s,[]))));const Hc=qc.actions,Yc=qc.reducer,Gc=(e,t)=>{ // translators: %1$s expands to the schema type, e.g. "Web Page" or "Blog Post". const s=(0,Lt.__)("%1$s (default)","wordpress-seo");return e.map((({label:e,value:r})=>({value:r,label:r===t?(0,Lt.sprintf)(s,e):e})))},Kc=()=>({articleTypes:(0,le.get)(window,"wpseoScriptData.schema.articleTypes",{}),articleTypeDefaults:(0,le.get)(window,"wpseoScriptData.schema.articleTypeDefaults",{}),pageTypes:(0,le.get)(window,"wpseoScriptData.schema.pageTypes",{}),pageTypeDefaults:(0,le.get)(window,"wpseoScriptData.schema.pageTypeDefaults",{})}),Zc=(0,Tt.createSlice)({name:"schema",initialState:Kc(),reducers:{}}),Jc={selectSchema:e=>(0,le.get)(e,"schema",{}),selectArticleTypes:e=>(0,le.get)(e,"schema.articleTypes",{}),selectArticleTypeDefaults:e=>(0,le.get)(e,"schema.articleTypeDefaults",{}),selectPageTypes:e=>(0,le.get)(e,"schema.pageTypes",{}),selectPageTypeDefaults:e=>(0,le.get)(e,"schema.pageTypeDefaults",{})};Jc.selectArticleTypeValues=(0,Tt.createSelector)(Jc.selectArticleTypes,(e=>(0,le.values)(e))),Jc.selectArticleTypeDefault=(0,Tt.createSelector)([Jc.selectArticleTypeDefaults,(e,t)=>t],((e,t)=>(0,le.get)(e,t,"None"))),Jc.selectArticleTypeValuesFor=(0,Tt.createSelector)([Jc.selectArticleTypeValues,Jc.selectArticleTypeDefault],((e,t)=>Gc(e,t))),Jc.selectPageTypeValues=(0,Tt.createSelector)(Jc.selectPageTypes,(e=>(0,le.values)(e))),Jc.selectPageTypeDefault=(0,Tt.createSelector)([Jc.selectPageTypeDefaults,(e,t)=>t],((e,t)=>(0,le.get)(e,t,"WebPage"))),Jc.selectPageTypeValuesFor=(0,Tt.createSelector)([Jc.selectPageTypeValues,Jc.selectPageTypeDefault],((e,t)=>Gc(e,t)));const Qc=Zc.actions,Xc=Zc.reducer,ed=(e,{userLocale:t})=>gn((0,le.join)([...(0,le.isArray)(null==e?void 0:e.keywords)?e.keywords:[],null==e?void 0:e.routeLabel,null==e?void 0:e.fieldLabel]," "),t),td=(e,t="",{userLocale:s})=>(0,le.reduce)(e,((e,r,a)=>{const o=(0,le.join)((0,le.filter)([t,a],Boolean),".");return"other_social_urls"===a?{...e,[o]:{route:null==r?void 0:r.route,routeLabel:null==r?void 0:r.routeLabel,fieldId:null==r?void 0:r.fieldId,fieldLabel:null==r?void 0:r.fieldLabel,keywords:ed(r,{userLocale:s})}}:null!=r&&r.route?{...e,[o]:{...r,keywords:ed(r,{userLocale:s})}}:{...e,...td(r,o,{userLocale:s})}}),{}),sd=()=>{const e=(0,le.get)(window,"wpseoScriptData.postTypes",{}),t=(0,le.get)(window,"wpseoScriptData.taxonomies",{}),s=(0,le.get)(window,"wpseoScriptData.preferences.userLocale",{});return{index:En(e,t,{userLocale:s})}},rd=(0,Tt.createSlice)({name:"search",initialState:sd(),reducers:{}}),ad={selectSearchIndex:e=>(0,le.get)(e,"search.index",{})};ad.selectQueryableSearchIndex=(0,Tt.createSelector)([ad.selectSearchIndex,e=>Xl.selectPreference(e,"userLocale")],((e,t)=>td(e,"",{userLocale:t})));const od=rd.actions,nd=rd.reducer,id=(0,Tt.createEntityAdapter)(),ld="fetchUsers",cd=()=>id.getInitialState({status:Qt,error:""}),dd=e=>({id:null==e?void 0:e.id,name:(0,le.trim)(null==e?void 0:e.name)||(null==e?void 0:e.slug)||(null==e?void 0:e.id),slug:null==e?void 0:e.slug}),ud=(0,Tt.createSlice)({name:"users",initialState:cd(),reducers:{addOneUser:{reducer:id.addOne,prepare:e=>({payload:dd(e)})},addManyUsers:{reducer:id.addMany,prepare:e=>({payload:(0,le.map)(e,dd)})}},extraReducers:e=>{e.addCase(`${ld}/${Kt}`,(e=>{e.status=Xt})),e.addCase(`${ld}/${Zt}`,((e,t)=>{e.status=es,id.addMany(e,(0,le.map)(t.payload,dd))})),e.addCase(`${ld}/${Jt}`,((e,t)=>{e.status=ts,e.error=t.payload}))}}),pd=id.getSelectors((e=>e.users)),md={selectUserIds:pd.selectIds,selectUserById:pd.selectById,selectUsers:pd.selectEntities};md.selectUsersWith=(0,Tt.createSelector)([md.selectUsers,(e,t={})=>t],((e,t)=>null!=t&&t.id&&!e[t.id]?{...e,[t.id]:{...t}}:e));const fd={...ud.actions,fetchUsers:function*(e){yield{type:`${ld}/${Kt}`};try{const t=yield{type:ld,payload:{...e}};return{type:`${ld}/${Zt}`,payload:t}}catch(e){return{type:`${ld}/${Jt}`,payload:e}}}},hd={[ld]:async({payload:e})=>Gt()({path:`/wp/v2/users?${(0,Rt.buildQueryString)(e)}`})},yd=ud.reducer,{isPromotionActive:wd}=zl.selectors,{currentPromotions:_d}=zl.reducers,{setCurrentPromotions:gd}=zl.actions,bd=({initialState:e={}}={})=>{(0,a.register)((({initialState:e})=>(0,a.createReduxStore)(ea,{actions:{...mc,..._c,...At,...Tc,...Vt,...Uc,...Kl,...ec,...Hc,...Qc,...od,...ic,...fd,setCurrentPromotions:gd},selectors:{...cc,...pc,...wc,...Ct,...Lc,...jt,...Bc,...Yl,...Xl,...Wc,...Jc,...ad,...oc,...md,isPromotionActive:wd},initialState:(0,le.merge)({},{defaultSettingValues:dc(),fallbacks:hc(),[Nt]:Ot(),media:vc(),[Dt]:Ut(),[Ic]:Mc(),postTypes:ql(),preferences:Jl(),replacementVariables:zc(),schema:Kc(),search:sd(),taxonomies:sc(),users:cd(),currentPromotions:{promotions:[]}},e),reducer:(0,a.combineReducers)({defaultSettingValues:fc,fallbacks:gc,[Nt]:Mt,media:$c,[Dt]:zt,[Ic]:Vc,postTypes:Zl,preferences:tc,replacementVariables:Yc,schema:Xc,search:nd,taxonomies:lc,users:yd,currentPromotions:_d}),controls:{...Fc,...hd,...Gl,...nc,...jc}}))({initialState:e}))};n()((()=>{const t=document.getElementById("yoast-seo-settings");if(!t)return;const s=document.createElement("div"),o=s.attachShadow({mode:"open"});document.body.appendChild(s);const n=(0,le.get)(window,"wpseoScriptData.settings",{}),c=(0,le.get)(window,"wpseoScriptData.fallbacks",{}),d=(0,le.get)(window,"wpseoScriptData.postTypes",{}),u=(0,le.get)(window,"wpseoScriptData.taxonomies",{}),p=(0,le.get)(window,"wpseoScriptData.showNewContentTypeNotification",!1)?{"new-content-type":{id:"new-content-type",variant:"info",size:"large",title:(0,Lt.__)("New type of content added to your site!","wordpress-seo"),description:(0,Lt.__)("Please see the “New” badges and review the Search appearance settings.","wordpress-seo")}}:{};bd({initialState:{notifications:p,[Nt]:(0,le.get)(window,"wpseoScriptData.linkParams",{}),currentPromotions:{promotions:(0,le.get)(window,"wpseoScriptData.currentPromotions",[])}}}),(async({settings:e,fallbacks:t})=>{const s=(0,le.get)(e,"wpseo_titles",{}),r=(0,le.filter)([(0,le.get)(e,"wpseo_social.og_default_image_id","0"),(0,le.get)(e,"wpseo_titles.open_graph_frontpage_image_id","0"),(0,le.get)(e,"wpseo_titles.company_logo_id","0"),(0,le.get)(e,"wpseo_titles.person_logo_id","0"),(0,le.get)(t,"siteLogoId","0"),...(0,le.reduce)(s,((e,t,s)=>(0,le.includes)(s,"social-image-id")?[...e,t]:e),[])],Boolean),o=(0,le.chunk)(r,100),{fetchMedia:n}=(0,a.dispatch)(ea);(0,le.forEach)(o,n)})({settings:n,fallbacks:c}),(async({settings:e})=>{const t=(0,le.get)(e,"wpseo_titles.company_or_person_user_id"),{fetchUsers:s}=(0,a.dispatch)(ea);t&&s({include:[t]})})({settings:n}),document.querySelector('[href="#wpbody-content"]').addEventListener("click",(e=>{var t,s;e.preventDefault(),window.outerWidth>782?null===(s=document.getElementById("link-yoast-logo"))||void 0===s||s.focus():null===(t=document.getElementById("button-open-settings-navigation-mobile"))||void 0===t||t.focus()})),document.querySelector('[href="#wp-toolbar"]').addEventListener("click",(e=>{var t;e.preventDefault(),null===(t=document.querySelector("#wp-admin-bar-wp-logo a"))||void 0===t||t.focus()})),(()=>{const e=document.getElementById("wpcontent"),t=document.getElementById("adminmenuwrap");e&&t&&(e.style.minHeight=`${t.offsetHeight}px`)})();const m=(0,a.select)(ea).selectPreference("isRtl",!1);(0,i.render)((0,e.createElement)(l.Root,{context:{isRtl:m}},(0,e.createElement)(St.StyleSheetManager,{target:o},(0,e.createElement)(r.SlotFillProvider,null,(0,e.createElement)(gt,null,(0,e.createElement)(K,{initialValues:n,validationSchema:Wi(d,u),onSubmit:kn},(0,e.createElement)(Vl,null)))))),t)}))})()})();
tag. */ (0,Lt.__)("Removes unknown URL parameters via a %1$s redirect. E.g., %2$s will be redirected to %3$s","wordpress-seo"),"","","")+(0,Lt.sprintf)( /** * translators: * %1$s through %7$s each expand to a parameter name within a tag. For example, gclid. */ (0,Lt.__)("Note that the following commonly-used parameters will not be removed: %1$s, %2$s, %3$s, %4$s, %5$s, %6$s, and %7$s.","wordpress-seo"),"","","","","","",""),{code1:(0,e.createElement)(l.Code,null,"301"),code2:(0,e.createElement)(l.Code,{variant:"block"},"https://www.example.com/?unknown_parameter=yes"),code3:(0,e.createElement)(l.Code,{variant:"block"},"https://www.example.com"),code4:(0,e.createElement)(l.Code,null,"gclid"),code5:(0,e.createElement)(l.Code,null,"gtm_debug"),code6:(0,e.createElement)(l.Code,null,"utm_campaign"),code7:(0,e.createElement)(l.Code,null,"utm_content"),code8:(0,e.createElement)(l.Code,null,"utm_medium"),code9:(0,e.createElement)(l.Code,null,"utm_source"),code10:(0,e.createElement)(l.Code,null,"utm_term")}),cleanPermalinksExtraVariables:(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: * %1$s expands to `unknown_parameter`. * %2$s and %3$s both expand to an example within a tag. */ (0,Lt.__)("Prevents specific URL parameters from being removed by the above feature. E.g., adding %1$s will prevent %2$s from being redirected to %3$s. You can add multiple parameters and separate them by using enter or a comma.","wordpress-seo"),"","",""),{code1:(0,e.createElement)(l.Code,null,"unknown_parameter"),code2:(0,e.createElement)(l.Code,null,"https://www.example.com/?unknown_parameter=yes"),code3:(0,e.createElement)(l.Code,null,"https://www.example.com")})})),[]),{values:m}=q(),{remove_feed_global_comments:f,remove_feed_post_comments:h,search_cleanup:y,search_cleanup_emoji:w,search_cleanup_patterns:_,clean_permalinks:g}=m.wpseo;return(0,e.createElement)(uo,{title:(0,Lt.__)("Crawl optimization","wordpress-seo"),description:p.page},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("Remove unwanted metadata","wordpress-seo"),description:p.removeUnwantedMetadata},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_shortlinks",id:"input-wpseo-remove_shortlinks",label:(0,Lt.__)("Remove shortlinks","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links to WordPress' internal 'shortlink' URLs for your posts.","wordpress-seo")," ",p.removeShortlinks),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_rest_api_links",id:"input-wpseo-remove_rest_api_links",label:(0,Lt.__)("Remove REST API links","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links to the location of your site’s REST API endpoints.","wordpress-seo")," ",p.removeRestApiLinks),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_rsd_wlw_links",id:"input-wpseo-remove_rsd_wlw_links",label:(0,Lt.__)("Remove RSD / WLW links","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links used by external systems for publishing content to your blog.","wordpress-seo")," ",p.removeRsdWlwLinks),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_oembed_links",id:"input-wpseo-remove_oembed_links",label:(0,Lt.__)("Remove oEmbed links","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links used for embedding your content on other sites.","wordpress-seo")," ",p.removeOembedLinks),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_generator",id:"input-wpseo-remove_generator",label:(0,Lt.__)("Remove generator tag","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove information about the plugins and software used by your site.","wordpress-seo")," ",p.removeGenerator),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_pingback_header",id:"input-wpseo-remove_pingback_header",label:(0,Lt.__)("Pingback HTTP header","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links which allow others sites to ‘ping’ yours when they link to you.","wordpress-seo")," ",p.removePingbackHeader),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_powered_by_header",id:"input-wpseo-remove_powered_by_header",label:(0,Lt.__)("Remove powered by HTTP header","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove information about the plugins and software used by your site.","wordpress-seo")," ",p.removePoweredByHeader)),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Disable unwanted content formats","wordpress-seo"),description:(0,Lt.__)("WordPress outputs your content in many different formats, across many different URLs (like RSS feeds of your posts and categories). It’s generally good practice to disable the formats you’re not actively using.","wordpress-seo")},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_global",id:"input-wpseo-remove_feed_global",label:(0,Lt.__)("Remove global feed","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide an overview of your recent posts.","wordpress-seo")," ",p.removeFeedGlobal),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_global_comments",id:"input-wpseo-remove_feed_global_comments",label:(0,Lt.__)("Remove global comment feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide an overview of recent comments on your site.","wordpress-seo")," ",p.removeFeedGlobalComments,(0,Lt.__)("Also disables post comment feeds.","wordpress-seo")),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_post_comments",id:"input-wpseo-remove_feed_post_comments",label:(0,Lt.__)("Remove post comments feeds","wordpress-seo"),disabled:f,checked:f||h,className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about recent comments on each post.","wordpress-seo")," ",p.removeFeedPostComments),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_authors",id:"input-wpseo-remove_feed_authors",label:(0,Lt.__)("Remove post authors feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about recent posts by specific authors.","wordpress-seo")," ",p.removeFeedAuthors),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_post_types",id:"input-wpseo-remove_feed_post_types",label:(0,Lt.__)("Remove post type feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your recent posts, for each post type.","wordpress-seo")," ",p.removeFeedPostTypes),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_categories",id:"input-wpseo-remove_feed_categories",label:(0,Lt.__)("Remove category feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your recent posts, for each category.","wordpress-seo")," ",p.removeFeedCategories),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_tags",id:"input-wpseo-remove_feed_tags",label:(0,Lt.__)("Remove tag feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your recent posts, for each tag.","wordpress-seo")," ",p.removeFeedTags),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_custom_taxonomies",id:"input-wpseo-remove_feed_custom_taxonomies",label:(0,Lt.__)("Remove custom taxonomy feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your recent posts, for each custom taxonomy.","wordpress-seo")," ",p.removeFeedCustomTaxonomies),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_search",id:"input-wpseo-remove_feed_search",label:(0,Lt.__)("Remove search results feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your search results.","wordpress-seo")," ",p.removeFeedSearch),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_atom_rdf_feeds",id:"input-wpseo-remove_atom_rdf_feeds",label:(0,Lt.__)("Remove Atom / RDF feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide alternative (legacy) formats of all of the above.","wordpress-seo")," ",p.removeAtomRdfFeeds)),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Remove unused resources","wordpress-seo"),description:(0,Lt.__)("WordPress loads lots of resources, some of which your site might not need. If you’re not using these, removing them can speed up your pages and save resources.","wordpress-seo")},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_emoji_scripts",id:"input-wpseo-remove_emoji_scripts",label:(0,Lt.__)("Remove emoji scripts","wordpress-seo"),description:(0,Lt.__)("Remove JavaScript used for converting emoji characters in older browsers.","wordpress-seo"),className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_wp_json_crawling",id:"input-wpseo-deny_wp_json_crawling",label:(0,Lt.__)("Remove WP-JSON API","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling of WordPress' JSON API endpoints.","wordpress-seo")," ",p.denyWpJsonCrawling)),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Block unwanted bots","wordpress-seo"),description:p.blockUnwantedBots},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_adsbot_crawling",id:"input-wpseo-deny_adsbot_crawling",label:(0,Lt.__)("Prevent Google AdsBot from crawling","wordpress-seo"),description:(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by Google AdsBot. You should only enable this setting if you're not using Google Ads on your site.","wordpress-seo"),className:"yst-max-w-2xl"}),(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!s&&!t,variant:"card",cardLink:c,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...r},(0,e.createElement)(pl,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_google_extended_crawling",id:"input-wpseo-deny_google_extended_crawling",label:(0,Lt.__)("Prevent Google Gemini and Vertex AI bots from crawling","wordpress-seo"),description:(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by the Google-Extended bot. Enabling this setting won’t prevent Google from indexing your website.","wordpress-seo"),labelSuffix:t&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium"),className:"yst-max-w-2xl",isDummy:!t}),(0,e.createElement)(pl,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_gptbot_crawling",id:"input-wpseo-deny_gptbot_crawling",label:(0,Lt.__)("Prevent OpenAI GPTBot from crawling","wordpress-seo"),description:(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by OpenAI GPTBot.","wordpress-seo"),labelSuffix:t&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium"),className:"yst-max-w-2xl",isDummy:!t}),(0,e.createElement)(pl,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_ccbot_crawling",id:"input-wpseo-deny_ccbot_crawling",label:(0,Lt.__)("Prevent Common Crawl CCBot from crawling","wordpress-seo"),description:(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by Common Crawl CCBot.","wordpress-seo"),labelSuffix:t&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium"),className:"yst-max-w-2xl",isDummy:!t}))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Internal site search cleanup","wordpress-seo"),description:(0,Lt.__)("Your internal site search can create lots of confusing URLs for search engines, and can even be used as a way for SEO spammers to attack your site. Most sites will benefit from experimenting with these protections and optimizations, even if you don’t have a search feature in your theme.","wordpress-seo")},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.search_cleanup",id:"input-wpseo-search_cleanup",label:(0,Lt.__)("Filter search terms","wordpress-seo"),description:(0,Lt.__)("Enables advanced settings for protecting your internal site search URLs.","wordpress-seo"),className:"yst-max-w-2xl"}),(0,e.createElement)(dl,{as:l.TextField,type:"number",name:"wpseo.search_character_limit",id:"input-wpseo-search_character_limit",label:(0,Lt.__)("Max number of characters to allow in searches","wordpress-seo"),description:(0,Lt.__)("Limit the length of internal site search queries to reduce the impact of spam attacks and confusing URLs. Please enter a number between 1 and 50.","wordpress-seo"),disabled:!y}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.search_cleanup_emoji",id:"input-wpseo-search_cleanup_emoji",label:(0,Lt.__)("Filter searches with emojis and other special characters","wordpress-seo"),description:(0,Lt.__)("Block internal site searches which contain complex and non-alphanumeric characters, as they may be part of a spam attack.","wordpress-seo"),disabled:!y,checked:y&&w,className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.search_cleanup_patterns",id:"input-wpseo-search_cleanup_patterns",label:(0,Lt.__)("Filter searches with common spam patterns","wordpress-seo"),description:(0,Lt.__)("Block internal site searches which match the patterns of known spam attacks.","wordpress-seo"),disabled:!y,checked:y&&_,className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.redirect_search_pretty_urls",id:"input-wpseo-redirect_search_pretty_urls",label:(0,Lt.__)("Redirect pretty URLs to ‘raw’ formats","wordpress-seo"),description:p.redirectSearchPrettyUrls,className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_search_crawling",id:"input-wpseo-deny_search_crawling",label:(0,Lt.__)("Prevent crawling of internal site search URLs","wordpress-seo"),description:p.denySearchCrawling,className:"yst-max-w-2xl"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Advanced: URL cleanup","wordpress-seo"),description:p.advancedUrlCleanup},(0,e.createElement)(l.Alert,{id:"alert-permalink-cleanup-settings",variant:"error"},(0,i.createInterpolateElement)((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. (0,Lt.__)("Warning! These are expert features, so make sure you know what you're doing before using this setting. You might break your site. %1$sRead more about how your site can be affected%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)("a",{id:"link-permalink-cleanup-info",href:o,target:"_blank",rel:"noopener noreferrer"})})),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.clean_campaign_tracking_urls",id:"input-wpseo-clean_campaign_tracking_urls",label:(0,Lt.__)("Optimize Google Analytics utm tracking parameters","wordpress-seo"),description:p.cleanCampaignTrackingUrls,className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.clean_permalinks",id:"input-wpseo-clean_permalinks",label:(0,Lt.__)("Remove unregistered URL parameters","wordpress-seo"),description:p.cleanPermalinks,className:"yst-max-w-2xl"}),(0,e.createElement)(ba,{name:"wpseo.clean_permalinks_extra_variables",id:"input-wpseo-clean_permalinks_extra_variables",label:(0,Lt.__)("Additional URL parameters to allow","wordpress-seo"),description:p.cleanPermalinksExtraVariables,disabled:!g})))))},fl=Ca(_a),hl=()=>{const t=(0,Lt.__)("Date archives","wordpress-seo"),s=aa("selectPreference",[],"userLocale"),r=(0,i.useMemo)((()=>gn(t,s)),[t,s]),a=aa("selectUpsellSettingsAsProps"),o=aa("selectReplacementVariablesFor",[],"date_archive","custom-post-type_archive"),n=aa("selectRecommendedReplacementVariablesFor",[],"date_archive","custom-post-type_archive"),c=aa("selectLink",[],"https://yoa.st/show-x"),d=aa("selectPreference",[],"isPremium"),u=aa("selectLink",[],"https://yoa.st/4e0"),p=aa("selectExampleUrl",[],"/2020/"),m=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})})),[]),f=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to "Date archives". * %2$s expands to an example URL, e.g. https://example.com/author/example/. * %3$s expands to "date archives". */ (0,Lt.__)("%1$s (e.g. %2$s) are based on publication dates. From an SEO perspective, the posts in these archives have no real relation to the other posts except for their publication dates, which doesn’t say much about the content. They could also lead to duplicate content issues. This is why we recommend you to disable %3$s.","wordpress-seo"),t,"",r),{exampleUrl:(0,e.createElement)(l.Code,null,p)}))),{values:h}=q(),{opengraph:y}=h.wpseo_social,{"disable-date":w,"noindex-archive-wpseo":_}=h.wpseo_titles;return(0,e.createElement)(uo,{title:t,description:f},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)("fieldset",{className:"yst-min-width-0 yst-space-y-8"},(0,e.createElement)(ua,{name:"wpseo_titles.disable-date",id:"input-wpseo_titles-disable-date",label:(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Enable %1$s","wordpress-seo"),r),description:(0,Lt.sprintf)( // translators: %1$s expands to "Date archives". (0,Lt.__)("%1$s can cause duplicate content issues. For most sites, we recommend that you disable this setting.","wordpress-seo"),t),className:"yst-max-w-sm"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Search appearance","wordpress-seo"),description:(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Determine how your %1$s should look in search engines.","wordpress-seo"),r)},(0,e.createElement)(ua,{name:"wpseo_titles.noindex-archive-wpseo",id:"input-wpseo_titles-noindex-archive-wpseo",label:(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Show %1$s in search results","wordpress-seo"),r),description:(0,e.createElement)(e.Fragment,null,(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps. We recommend that you disable this setting.","wordpress-seo"),r)," ",(0,e.createElement)(l.Link,{href:c,target:"_blank",rel:"noopener"},(0,Lt.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:w,checked:!w&&!_,className:"yst-max-w-sm"}),(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.title-archive-wpseo",fieldId:"input-wpseo_titles-title-archive-wpseo",label:(0,Lt.__)("SEO title","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:n,disabled:w}),(0,e.createElement)(_a,{type:"description",name:"wpseo_titles.metadesc-archive-wpseo",fieldId:"input-wpseo_titles-metadesc-archive-wpseo",label:(0,Lt.__)("Meta description","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:n,disabled:w,className:"yst-replacevar--description"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},(0,e.createElement)("span",null,(0,Lt.__)("Social media appearance","wordpress-seo")),d&&(0,e.createElement)(l.Badge,{variant:"upsell"},"Premium")),description:(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Determine how your %1$s should look on social media by default.","wordpress-seo"),r)},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!d,variant:"card",cardLink:u,cardText:(0,Lt.sprintf)( // translators: %1$s expands to Premium. (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...a},(0,e.createElement)(Wa,{isEnabled:!d||y}),(0,e.createElement)(ha,{id:"wpseo_titles-social-image-archive-wpseo",label:(0,Lt.__)("Social image","wordpress-seo"),previewLabel:m,mediaUrlName:"wpseo_titles.social-image-url-archive-wpseo",mediaIdName:"wpseo_titles.social-image-id-archive-wpseo",disabled:w||!y,isDummy:!d}),(0,e.createElement)(fl,{type:"title",name:"wpseo_titles.social-title-archive-wpseo",fieldId:"input-wpseo_titles-social-title-archive-wpseo",label:(0,Lt.__)("Social title","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:n,disabled:w||!y,isDummy:!d}),(0,e.createElement)(fl,{type:"description",name:"wpseo_titles.social-description-archive-wpseo",fieldId:"input-wpseo_titles-social-description-archive-wpseo",label:(0,Lt.__)("Social description","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:n,className:"yst-replacevar--description",disabled:w||!y,isDummy:!d}))))))},yl=Ca(_a),wl=()=>{const{name:t,label:s,singularLabel:r}=aa("selectTaxonomy",[],"post_format"),a=aa("selectPreference",[],"userLocale"),o=(0,i.useMemo)((()=>gn(s,a)),[s,a]),n=(0,i.useMemo)((()=>gn(r,a)),[r,a]),c=aa("selectUpsellSettingsAsProps"),d=aa("selectReplacementVariablesFor",[t],t,"term-in-custom-taxonomy"),u=aa("selectRecommendedReplacementVariablesFor",[t],t,"term-in-custom-taxonomy"),p=aa("selectLink",[],"https://yoa.st/show-x"),m=aa("selectPreference",[],"isPremium"),f=aa("selectLink",[],"https://yoa.st/4e0"),h=aa("selectExampleUrl",[],"/format/example/"),y=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})})),[]),w=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("(e.g., %1$s)","wordpress-seo"),""),{exampleUrl:(0,e.createElement)(l.Code,null,h)}))),{values:_}=q(),{opengraph:g}=_.wpseo_social,{"disable-post_format":b,"noindex-tax-post_format":v}=_.wpseo_titles;return(0,e.createElement)(uo,{title:(0,Lt.__)("Format archives","wordpress-seo"),description:w},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(ua,{name:"wpseo_titles.disable-post_format",id:"input-wpseo_titles-disable-post_format",label:(0,Lt.__)("Enable format-based archives","wordpress-seo"),description:(0,Lt.__)("Format-based archives can cause duplicate content issues. For most sites, we recommend that you disable this setting.","wordpress-seo"),className:"yst-max-w-sm"}),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Search appearance","wordpress-seo"),description:(0,Lt.sprintf)( // translators: %1$s expands to "formats". %2$s expands to "Yoast SEO". (0,Lt.__)("Determine how your %1$s should look in search engines. You can always customize the settings for individual %1$s in the %2$s metabox.","wordpress-seo"),o,"Yoast SEO")},(0,e.createElement)(ua,{name:`wpseo_titles.noindex-tax-${t}`,id:`input-wpseo_titles-noindex-tax-${t}`,label:(0,Lt.sprintf)( // translators: %1$s expands to "format". (0,Lt.__)("Show %1$s archives in search results","wordpress-seo"),n),description:(0,e.createElement)(e.Fragment,null,(0,Lt.sprintf)( // translators: %1$s expands to "formats". (0,Lt.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps. We recommend that you disable this setting.","wordpress-seo"),o)," ",(0,e.createElement)(l.Link,{href:p,target:"_blank",rel:"noopener"},(0,Lt.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:b,checked:!b&&!v,className:"yst-max-w-sm"}),(0,e.createElement)(_a,{type:"title",name:`wpseo_titles.title-tax-${t}`,fieldId:`input-wpseo_titles-title-tax-${t}`,label:(0,Lt.__)("SEO title","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,disabled:b}),(0,e.createElement)(_a,{type:"description",name:`wpseo_titles.metadesc-tax-${t}`,fieldId:`input-wpseo_titles-metadesc-tax-${t}`,label:(0,Lt.__)("Meta description","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,disabled:b,className:"yst-replacevar--description"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},(0,e.createElement)("span",null,(0,Lt.__)("Social media appearance","wordpress-seo")),m&&(0,e.createElement)(l.Badge,{variant:"upsell"},"Premium")),description:(0,Lt.sprintf)( // translators: %1$s expands to "formats". %2$s expands to "Yoast SEO". (0,Lt.__)("Determine how your %1$s should look on social media by default. You can always customize the settings for individual %1$s in the %2$s metabox.","wordpress-seo"),o,"Yoast SEO")},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!m,variant:"card",cardLink:f,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...c},(0,e.createElement)(Wa,{isEnabled:!m||g}),(0,e.createElement)(ha,{id:`wpseo_titles-social-image-tax-${t}`,label:(0,Lt.__)("Social image","wordpress-seo"),previewLabel:y,mediaUrlName:`wpseo_titles.social-image-url-tax-${t}`,mediaIdName:`wpseo_titles.social-image-id-tax-${t}`,disabled:b||!g,isDummy:!m}),(0,e.createElement)(yl,{type:"title",name:`wpseo_titles.social-title-tax-${t}`,fieldId:`input-wpseo_titles-social-title-tax-${t}`,label:(0,Lt.__)("Social title","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,disabled:b||!g,isDummy:!m}),(0,e.createElement)(yl,{type:"description",name:`wpseo_titles.social-description-tax-${t}`,fieldId:`input-wpseo_titles-social-description-tax-${t}`,label:(0,Lt.__)("Social description","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,className:"yst-replacevar--description",disabled:b||!g,isDummy:!m}))))))},_l=()=>{const t=aa("selectReplacementVariablesFor",[],"homepage","page"),s=aa("selectRecommendedReplacementVariablesFor",[],"homepage","page"),r=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})})),[]),{values:a}=q(),{opengraph:o}=a.wpseo_social;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(na,{title:(0,Lt.__)("Search appearance","wordpress-seo"),description:(0,Lt.__)("Determine how your homepage should look in the search results.","wordpress-seo")},(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.title-home-wpseo",fieldId:"input-wpseo_titles-title-home-wpseo",label:(0,Lt.__)("SEO title","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s}),(0,e.createElement)(_a,{type:"description",name:"wpseo_titles.metadesc-home-wpseo",fieldId:"input-wpseo_titles-metadesc-home-wpseo",label:(0,Lt.__)("Meta description","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s,className:"yst-replacevar--description"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Social media appearance","wordpress-seo"),description:(0,Lt.__)("Determine how your homepage should look on social media.","wordpress-seo")},(0,e.createElement)(Wa,{isEnabled:o /* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */,text:(0,Lt.__)("The %1$ssocial image%2$s, %1$ssocial title%2$s and %1$ssocial description%2$s require Open Graph data, which is currently disabled in the ‘Social sharing’ section in %3$sSite features%4$s.","wordpress-seo")}),(0,e.createElement)(ha,{id:"wpseo_titles-open_graph_frontpage_image",label:(0,Lt.__)("Social image","wordpress-seo"),previewLabel:r,mediaUrlName:"wpseo_titles.open_graph_frontpage_image",mediaIdName:"wpseo_titles.open_graph_frontpage_image_id",disabled:!o}),(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.open_graph_frontpage_title",fieldId:"input-wpseo_titles-open_graph_frontpage_title",label:(0,Lt.__)("Social title","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s,disabled:!o}),(0,e.createElement)(_a,{type:"description",name:"wpseo_titles.open_graph_frontpage_desc",fieldId:"input-wpseo_titles-open_graph_frontpage_desc",label:(0,Lt.__)("Social description","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s,className:"yst-replacevar--description",disabled:!o})))},gl=()=>{const t=aa("selectPreference",[],"homepagePageEditUrl"),s=aa("selectPreference",[],"homepagePostsEditUrl"),r=(0,i.useMemo)((()=>Xi((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("You can determine the title and description for the homepage by %1$sediting the homepage itself%2$s.","wordpress-seo"),"",""),t,"link-homepage-page-edit"))),a=(0,i.useMemo)((()=>Xi((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("You can determine the title and description for the blog page by %1$sediting the blog page itself%2$s.","wordpress-seo"),"",""),s,"link-homepage-posts-page-edit")));return(0,e.createElement)("div",{className:"yst-max-w-screen-sm"},(0,e.createElement)(l.Alert,null,(0,e.createElement)("p",null,r),s&&(0,e.createElement)("p",{className:"yst-pt-2"},a)))},bl=()=>{const t=aa("selectPreference",[],"homepageIsLatestPosts");return(0,e.createElement)(uo,{title:(0,Lt.__)("Homepage","wordpress-seo"),description:(0,Lt.__)("Determine how your homepage should look in the search results and on social media. This is what people probably will see when they search for your brand name.","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},t&&(0,e.createElement)(_l,null),!t&&(0,e.createElement)(gl,null))))},vl=()=>{const{name:t,label:s,hasSchemaArticleType:r}=aa("selectPostType",[],"attachment"),a=aa("selectPreference",[],"userLocale"),o=(0,i.useMemo)((()=>gn(s,a)),[s,a]),n=aa("selectReplacementVariablesFor",[t],t,"custom_post_type"),c=aa("selectRecommendedReplacementVariablesFor",[t],t,"custom_post_type"),d=aa("selectArticleTypeValuesFor",[t],t),u=aa("selectPageTypeValuesFor",[t],t),p=aa("selectLink",[],"https://yoa.st/media-pages-thin-content"),m=aa("selectLink",[],"https://yoa.st/show-x"),{values:f}=q(),{"disable-attachment":h,"noindex-attachment":y}=f.wpseo_titles,w=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s and %2$s are replaced by opening and closing tags. * %3$s expands to "media". * %4$s expand to "Yoast SEO". * %5$s expand to "WordPress". */ (0,Lt.__)("When you upload media (e.g. an image or video), %5$s automatically creates a %3$s page (attachment URL) for it. These pages are quite empty and could cause %1$sthin content problems and lead to excess pages on your site%2$s. Therefore, %4$s disables them by default (and redirects the attachment URL to the media itself).","wordpress-seo"),"","",o,"Yoast SEO","WordPress"),{a:(0,e.createElement)("a",{href:p,target:"_blank",rel:"noopener noreferrer"})})));return(0,e.createElement)(uo,{title:(0,Lt.sprintf)( // translators: %1$s expands to "Media". (0,Lt.__)("%1$s pages","wordpress-seo"),s),description:w},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)("fieldset",{className:"yst-min-width-0 yst-space-y-8"},(0,e.createElement)(ua,{name:`wpseo_titles.disable-${t}`,id:`input-wpseo_titles-disable-${t}`,label:(0,Lt.sprintf)( // translators: %1$s expands to "media". (0,Lt.__)("Enable %1$s pages","wordpress-seo"),o),description:(0,Lt.sprintf)( // translators: %1$s expands to "media". (0,Lt.__)("We recommend keeping %1$s pages disabled. This will cause all attachment URLs to be redirected to the media itself.","wordpress-seo"),o),className:"yst-max-w-sm"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Search appearance","wordpress-seo"),description:(0,Lt.sprintf)( // translators: %1$s expands to "media". %3$s expands to "Yoast SEO". (0,Lt.__)("Determine how your %1$s pages should look in search engines. You can always customize the settings for individual %1$s pages in the %2$s metabox.","wordpress-seo"),o,"Yoast SEO")},(0,e.createElement)(ua,{name:`wpseo_titles.noindex-${t}`,id:`input-wpseo_titles-noindex-${t}`,label:(0,Lt.sprintf)( // translators: %1$s expands to "media". (0,Lt.__)("Show %1$s pages in search results","wordpress-seo"),o),description:(0,e.createElement)(e.Fragment,null,(0,Lt.sprintf)( // translators: %1$s expands to "media". (0,Lt.__)("Disabling this means that %1$s pages created by WordPress will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),o),(0,e.createElement)("br",null),(0,e.createElement)(l.Link,{href:m,target:"_blank",rel:"noopener"},(0,Lt.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:h,checked:!h&&!y,className:"yst-max-w-sm"}),(0,e.createElement)(_a,{type:"title",name:`wpseo_titles.title-${t}`,fieldId:`input-wpseo_titles-title-${t}`,label:(0,Lt.__)("SEO title","wordpress-seo"),replacementVariables:n,recommendedReplacementVariables:c,disabled:h}),(0,e.createElement)(_a,{type:"description",name:`wpseo_titles.metadesc-${t}`,fieldId:`input-wpseo_titles-metadesc-${t}`,label:(0,Lt.__)("Meta description","wordpress-seo"),replacementVariables:n,recommendedReplacementVariables:c,disabled:h,className:"yst-replacevar--description"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Schema","wordpress-seo"),description:(0,Lt.sprintf)( // translators: %1$s expands to "media". %3$s expands to "Yoast SEO". (0,Lt.__)("Determine how your %1$s pages should be described by default in your site's Schema.org markup. You can always customize the settings for individual %1$s pages in the %2$s metabox.","wordpress-seo"),o,"Yoast SEO")},(0,e.createElement)(Ra,{as:l.SelectField,type:"select",name:`wpseo_titles.schema-page-type-${t}`,id:`input-wpseo_titles-schema-page-type-${t}`,label:(0,Lt.__)("Page type","wordpress-seo"),options:u,disabled:h,className:"yst-max-w-sm"}),r&&(0,e.createElement)("div",null,(0,e.createElement)(Ra,{as:l.SelectField,type:"select",name:`wpseo_titles.schema-article-type-${t}`,id:`input-wpseo_titles-schema-article-type-${t}`,label:(0,Lt.__)("Article type","wordpress-seo"),options:d,disabled:h,className:"yst-max-w-sm"}),(0,e.createElement)(za,{name:t,disabled:h}))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Additional settings","wordpress-seo")},(0,e.createElement)(Ra,{as:l.ToggleField,type:"checkbox",name:`wpseo_titles.display-metabox-pt-${t}`,id:`input-wpseo_titles-display-metabox-pt-${t}`,label:(0,Lt.__)("Enable SEO controls and assessments","wordpress-seo"),description:(0,Lt.__)("Show or hide our tools and controls in the attachment editor.","wordpress-seo"),disabled:h,className:"yst-max-w-sm"})))))},El=({children:t})=>(0,e.createElement)(l.Table.Cell,{className:"yst-font-medium"},(0,e.createElement)("span",{className:"yst-text-slate-900"},t));El.propTypes={children:ir().node.isRequired};const xl=()=>(0,e.createElement)(uo,{title:(0,Lt.__)("RSS","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("RSS feed","wordpress-seo"),description:(0,Lt.__)("Automatically add content to your RSS. This enables you to add links back to your blog and your blog posts, helping search engines identify you as the original source of the content.","wordpress-seo")},(0,e.createElement)(te,{as:l.TextareaField,type:"textarea",rows:4,name:"wpseo_titles.rssbefore",id:"input-wpseo_titles-rssbefore",label:(0,Lt.__)("Content to put before each post in the feed","wordpress-seo")}),(0,e.createElement)(te,{as:l.TextareaField,type:"textarea",rows:4,name:"wpseo_titles.rssafter",id:"input-wpseo_titles-rssafter",label:(0,Lt.__)("Content to put after each post in the feed","wordpress-seo")})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{as:"section",title:(0,Lt.__)("Available variables","wordpress-seo"),description:(0,Lt.__)("You can use the following variables within the content, they will be replaced by the value on the right.","wordpress-seo")},(0,e.createElement)(l.Table,null,(0,e.createElement)(l.Table.Head,null,(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(l.Table.Header,{scope:"col"},(0,Lt.__)("Variable","wordpress-seo")),(0,e.createElement)(l.Table.Header,{scope:"col"},(0,Lt.__)("Description","wordpress-seo")))),(0,e.createElement)(l.Table.Body,null,(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(El,null,"%%AUTHORLINK%%"),(0,e.createElement)(l.Table.Cell,null,(0,Lt.__)("A link to the archive for the post author, with the author's name as anchor text.","wordpress-seo"))),(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(El,null,"%%POSTLINK%%"),(0,e.createElement)(l.Table.Cell,null,(0,Lt.__)("A link to the post, with the title as anchor text.","wordpress-seo"))),(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(El,null,"%%BLOGLINK%%"),(0,e.createElement)(l.Table.Cell,null,(0,Lt.__)("A link to your site, with your site's name as anchor text.","wordpress-seo"))),(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(El,null,"%%BLOGDESCLINK%%"),(0,e.createElement)(l.Table.Cell,null,(0,Lt.__)("A link to your site, with your site's name and description as anchor text.","wordpress-seo"))))))))),kl=Oa(l.ToggleField),Sl=Aa($a),Ll=()=>{const t=(0,i.useMemo)((()=>(0,le.get)(window,"wpseoScriptData.separators",{})),[]),s=aa("selectPreference",[],"generalSettingsUrl"),r=aa("selectPreference",[],"canManageOptions",!1),a=aa("selectPreference",[],"showForceRewriteTitlesSetting",!1),o=aa("selectLink",[],"https://yoa.st/site-basics-replacement-variables"),n=aa("selectLink",[],"https://yoa.st/usage-tracking-2"),c=aa("selectLink",[],"https://yoa.st/site-policies-learn-more"),d=aa("selectPreference",[],"siteTitle",""),u=aa("selectLink",[],"https://yoa.st/site-policies-upsell"),p=aa("selectPreference",[],"isPremium"),m=aa("selectUpsellSettingsAsProps"),{fetchPages:f}=ta(),h=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("Usage tracking allows us to track some data about your site to improve our plugin. %1$sLearn more about which data we track and why%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)("a",{id:"link-usage-tracking",href:n,target:"_blank",rel:"noopener"})})),[]),y=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("Select the pages on your website which contain information about your organizational and publishing policies. Some of these might not apply to your site, and you can select the same page for multiple policies. %1$sLearn more about why setting your site policies is important%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)("a",{id:"link-site-policies",href:c,target:"_blank",rel:"noopener"})})),[c]),w=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s and %2$s expand to an opening and closing emphasis tag. %3$s and %4$s expand to an opening and closing anchor tag. */ (0,Lt.__)("Set the basic info for your website. You can use %1$stagline%2$s and %1$sseparator%2$s as %3$sreplacement variables%4$s when configuring the search appearance of your content.","wordpress-seo"),"","","",""),{em:(0,e.createElement)("em",null),a:(0,e.createElement)("a",{id:"site-basics-replacement-variables",href:o,target:"_blank",rel:"noopener"})})),[]),_=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */ (0,Lt.__)("We're sorry, you're not allowed to edit the %1$swebsite name%2$s and %1$stagline%2$s.","wordpress-seo"),"",""),{em:(0,e.createElement)("em",null)})),[]),g=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})})),[]),b=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening anchor tag. * %2$s expands to a closing anchor tag. */ (0,Lt.__)("This field updates the %1$stagline in your WordPress settings%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)("a",{href:`${s}#blogdescription`,target:"_blank",rel:"noopener noreferrer"})})),[]),v=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which describes the editorial principles of your organization. %1$sWhat%2$s do you write about, %1$swho%2$s do you write for, and %1$swhy%2$s?","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),E=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which describes the ownership structure of your organization. It should include information about %1$sfunding%2$s and %1$sgrants%2$s.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),x=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which describes how your organization collects and responds to %1$sfeedback%2$s, engages with the %1$spublic%2$s, and prioritizes %1$stransparency%2$s.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),k=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which outlines your procedure for addressing %1$serrors%2$s (e.g., publishing retractions or corrections).","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),S=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which describes the personal, organizational, and corporate %1$sstandards%2$s of %1$sbehavior%2$s expected by your organization.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),L=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which provides information on your diversity policies for %1$seditorial%2$s content.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),T=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which provides information about your diversity policies for %1$sstaffing%2$s, %1$shiring%2$s and %1$semployment%2$s.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),{values:F}=q(),{opengraph:$}=F.wpseo_social;return(0,i.useEffect)((()=>{f()}),[f]),(0,e.createElement)(uo,{title:(0,Lt.__)("Site basics","wordpress-seo"),description:(0,Lt.__)("Configure the basics for your website.","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("Site info","wordpress-seo"),description:w},!r&&(0,e.createElement)(l.Alert,{variant:"warning",id:"alert-site-defaults-variables",className:"yst-mb-8"},_),(0,e.createElement)("div",{className:"lg:yst-mt-0 lg:yst-col-span-2 yst-space-y-8"},(0,e.createElement)(Da,{as:l.TextField,name:"wpseo_titles.website_name",id:"input-wpseo_titles-website_name",label:(0,Lt.__)("Website name","wordpress-seo"),placeholder:d}),(0,e.createElement)(Da,{as:l.TextField,name:"wpseo_titles.alternate_website_name",id:"input-wpseo_titles-alternate_website_name",label:(0,Lt.__)("Alternate website name","wordpress-seo"),description:(0,Lt.__)("Use the alternate website name for acronyms, or a shorter version of your website's name.","wordpress-seo")}),(0,e.createElement)(te,{as:l.TextField,type:"text",name:"blogdescription",id:"input-blogdescription",label:(0,Lt.__)("Tagline","wordpress-seo"),description:r&&b,readOnly:!r})),(0,e.createElement)(l.RadioGroup,{label:(0,Lt.__)("Title separator","wordpress-seo"),variant:"inline-block"},(0,le.map)(t,(({label:t,aria_label:s},r)=>(0,e.createElement)(te,{key:r,as:l.Radio,type:"radio",variant:"inline-block",name:"wpseo_titles.separator",id:`input-wpseo_titles-separator-${r}`,label:t,isLabelDangerousHtml:!0,"aria-label":s,value:r})))),(0,e.createElement)(Wa,{isEnabled:$,text:/* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */ (0,Lt.__)("The %1$sSite image%2$s requires Open Graph data, which is currently disabled in the ‘Social sharing’ section in %3$sSite features%4$s.","wordpress-seo")}),(0,e.createElement)(ha,{id:"wpseo_social-og_default_image",label:(0,Lt.__)("Site image","wordpress-seo"),description:(0,Lt.__)("This image is used as a fallback for posts/pages that don't have any images set.","wordpress-seo"),previewLabel:g,mediaUrlName:"wpseo_social.og_default_image",mediaIdName:"wpseo_social.og_default_image_id",disabled:!$})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Site preferences","wordpress-seo")},a&&(0,e.createElement)(Ra,{as:l.ToggleField,type:"checkbox",name:"wpseo_titles.forcerewritetitle",id:"input-wpseo_titles-forcerewritetitle",label:(0,Lt.__)("Force rewrite titles","wordpress-seo"),description:(0,Lt.sprintf)(/* translators: %1$s expands to "Yoast SEO" */ (0,Lt.__)("%1$s has auto-detected whether it needs to force rewrite the titles for your pages, if you think it's wrong and you know what you're doing, you can change the setting here.","wordpress-seo"),"Yoast SEO"),className:"yst-max-w-sm"}),(0,e.createElement)(Ra,{as:l.ToggleField,type:"checkbox",name:"wpseo.disableadvanced_meta",id:"input-wpseo-disableadvanced_meta",label:(0,Lt.__)("Restrict advanced settings for authors","wordpress-seo"),description:(0,Lt.sprintf)(/* translators: %1$s expands to "Yoast SEO" */ (0,Lt.__)("By default only editors and administrators can access the Advanced and Schema section of the %1$s sidebar or metabox. Disabling this allows access to all users.","wordpress-seo"),"Yoast SEO"),className:"yst-max-w-sm"}),(0,e.createElement)(Ra,{as:kl,type:"checkbox",name:"wpseo.tracking",id:"input-wpseo-tracking",label:(0,Lt.__)("Usage tracking","wordpress-seo"),description:h,className:"yst-max-w-sm"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)(e.Fragment,null,(0,Lt.__)("Site policies","wordpress-seo"),p&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium")),description:y},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!p,variant:"card",cardLink:u,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...m},(0,e.createElement)(Sl,{name:"wpseo_titles.publishing_principles_id",id:"input-wpseo_titles-publishing_principles_id",label:(0,Lt.__)("Publishing principles","wordpress-seo"),className:"yst-max-w-sm",description:v,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.ownership_funding_info_id",id:"input-wpseo_titles-ownership_funding_info_id",label:(0,Lt.__)("Ownership / Funding info","wordpress-seo"),className:"yst-max-w-sm",description:E,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.actionable_feedback_policy_id",id:"input-wpseo_titles-actionable_feedback_policy_id",label:(0,Lt.__)("Actionable feedback policy","wordpress-seo"),className:"yst-max-w-sm",description:x,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.corrections_policy_id",id:"input-wpseo_titles-corrections_policy_id",label:(0,Lt.__)("Corrections policy","wordpress-seo"),className:"yst-max-w-sm",description:k,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.ethics_policy_id",id:"input-wpseo_titles-ethics_policy_id",label:(0,Lt.__)("Ethics policy","wordpress-seo"),className:"yst-max-w-sm",description:S,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.diversity_policy_id",id:"input-wpseo_titles-diversity_policy_id",label:(0,Lt.__)("Diversity policy","wordpress-seo"),className:"yst-max-w-sm",description:L,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.diversity_staffing_report_id",id:"input-wpseo_titles-diversity_staffing_report_id",label:(0,Lt.__)("Diversity staffing report","wordpress-seo"),className:"yst-max-w-sm",description:T,isDummy:!p}))))))},Tl=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))})),Fl=({name:t,cardId:s,inputId:r,children:a,imageSrc:o,imageAlt:n,isPremiumFeature:c=!1,isPremiumLink:d="",isBetaFeature:u=!1,isNewFeature:p=!1,hasPremiumBadge:m=!1,title:f})=>{const h=aa("selectPreference",[],"isPremium"),y=aa("selectPluginUrl",[o],o),{isDisabled:w,message:_,disabledSetting:g}=Xr({name:t}),{values:b}=q(),v=aa("selectLink",[d],d),E=aa("selectUpsellSettingsAsProps"),x=(0,l.useSvgAria)(),k=(0,i.useMemo)((()=>(0,le.get)(b,t,!1)),[b,t]),S=(0,i.useMemo)((()=>!h&&c),[h,c]),L=(0,i.useMemo)((()=>w||!S&&!k),[w,S,k]),T=(0,i.useMemo)((()=>w||h&&c&&m||u||p&&!h),[w,h,c,u,p]);return(0,e.createElement)(l.Card,{id:s},(0,e.createElement)(l.Card.Header,{className:"yst-h-auto yst-p-0"},(0,e.createElement)("img",{className:or()("yst-w-full yst-transition yst-duration-200",L&&"yst-opacity-50 yst-filter yst-grayscale"),src:y,alt:null!=n?n:"",width:500,height:250,loading:"lazy",decoding:"async"}),T&&(0,e.createElement)("div",{className:"yst-absolute yst-top-2 yst-end-2 yst-flex yst-gap-1.5"},w&&(0,e.createElement)(l.Badge,{size:"small",variant:"plain"},_),h&&c&&m&&(0,e.createElement)(l.Badge,{size:"small",variant:"upsell"},"Premium"),u&&(0,e.createElement)(l.Badge,{size:"small",variant:"info"},"Beta"),p&&!h&&(0,e.createElement)(l.Badge,{size:"small",variant:"info"},"New"))),(0,e.createElement)(l.Card.Content,{className:"yst-flex yst-flex-col yst-gap-3"},(0,e.createElement)(l.Title,{as:"h3"},f),a),(0,e.createElement)(l.Card.Footer,null,!S&&(0,e.createElement)(Ra,{as:l.ToggleField,type:"checkbox",name:t,id:r,"aria-label":`${(0,Lt.__)("Enable feature","wordpress-seo")} ${f}`,label:(0,Lt.__)("Enable feature","wordpress-seo"),disabled:w,checked:"language"!==g&&k}),S&&(0,e.createElement)(l.Button,{as:"a",className:"yst-gap-2 yst-w-full yst-px-2",variant:"upsell",href:v,target:"_blank",rel:"noopener",...E},(0,e.createElement)(cr,{className:"yst-w-5 yst-h-5 yst--ms-1 yst-shrink-0",...x}),(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"))))};Fl.propTypes={name:ir().string.isRequired,cardId:ir().string.isRequired,inputId:ir().string.isRequired,children:ir().node.isRequired,imageSrc:ir().string.isRequired,imageAlt:ir().string,isPremiumFeature:ir().bool,isBetaFeature:ir().bool,isNewFeature:ir().bool,isPremiumLink:ir().string,hasPremiumBadge:ir().bool,title:ir().string.isRequired};const $l=({id:t,link:s,ariaLabel:r,...a})=>{const o=aa("selectLink",[s],s);return(0,e.createElement)(l.Link,{id:t,href:o,variant:"primary",className:"yst-flex yst-items-center yst-gap-1 yst-no-underline yst-font-medium",target:"_blank",rel:"noopener","aria-label":(0,Lt.sprintf)(/* translators: Hidden accessibility text; %s expands to a translated string of this feature, e.g. "SEO analysis". */ (0,Lt.__)("Learn more about %s (Opens in a new browser tab)","wordpress-seo"),r),...a},(0,Lt.__)("Learn more","wordpress-seo"),(0,e.createElement)(xr,{className:"yst-w-4 yst-h-4 yst-icon-rtl"}))};$l.propTypes={id:ir().string.isRequired,link:ir().string.isRequired,ariaLabel:ir().string.isRequired};const Pl=()=>{const t=aa("selectPreference",[],"isPremium"),s=aa("selectPreference",[],"sitemapUrl"),{values:r,initialValues:a}=q(),{enable_xml_sitemap:o}=r.wpseo,{enable_xml_sitemap:n}=a.wpseo,c=(0,i.useMemo)((()=>t?"yst-grid yst-gap-6 yst-grid-cols-1 sm:yst-grid-cols-2 min-[783px]:yst-grid-cols-1 lg:yst-grid-cols-2 xl:yst-grid-cols-3 2xl:yst-grid-cols-4":"yst-grid yst-gap-6 yst-grid-cols-1 sm:yst-grid-cols-2 min-[783px]:yst-grid-cols-1 lg:yst-grid-cols-2 2xl:yst-grid-cols-3 min-[1800px]:yst-grid-cols-4"),[t]);return(0,e.createElement)(uo,{title:(0,Lt.__)("Site features","wordpress-seo"),description:(0,Lt.__)("Tell us which features you want to use.","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-6xl"},(0,e.createElement)("fieldset",{className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("Writing","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2"},(0,Lt.__)("Writing","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo.keyword_analysis_active",cardId:"card-wpseo-keyword_analysis_active",inputId:"input-wpseo-keyword_analysis_active",imageSrc:"/images/seo_analysis.png",title:(0,Lt.__)("SEO analysis","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("The SEO analysis offers suggestions to improve the findability of your text and makes sure that your content meets best practices.","wordpress-seo")),(0,e.createElement)($l,{id:"link-seo-analysis",link:"https://yoa.st/2ak",ariaLabel:(0,Lt.__)("SEO analysis","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.content_analysis_active",cardId:"card-wpseo-content_analysis_active",inputId:"input-wpseo-content_analysis_active",imageSrc:"/images/readability_analysis.png",title:(0,Lt.__)("Readability analysis","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("The readability analysis offers suggestions to improve the structure and style of your text.","wordpress-seo")),(0,e.createElement)($l,{id:"link-readability-analysis",link:"https://yoa.st/2ao",ariaLabel:(0,Lt.__)("Readability analysis","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.inclusive_language_analysis_active",cardId:"card-wpseo-inclusive_language_analysis_active",inputId:"input-wpseo-inclusive_language_analysis_active",imageSrc:"/images/inclusive_language_analysis.png",title:(0,Lt.__)("Inclusive language analysis","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("The inclusive language analysis offers suggestions to write more inclusive copy, so more people will be able to relate to your content.","wordpress-seo")),(0,e.createElement)($l,{id:"link-inclusive-language-analysis",link:"https://yoa.st/inclusive-language-feature-learn-more",ariaLabel:(0,Lt.__)("Inclusive language analysis","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_ai_generator",cardId:"card-wpseo-enable_ai_generator",inputId:"input-wpseo-enable_ai_generator",imageSrc:"/images/ai-generator.png",isPremiumFeature:!0,hasPremiumBadge:!1,isBetaFeature:!0,isPremiumLink:"https://yoa.st/get-ai-generator",title:"Yoast AI"},(0,e.createElement)("p",null,(0,Lt.__)("The AI features help you create better content by providing optimization suggestions that you can apply as you wish.","wordpress-seo")),(0,e.createElement)($l,{id:"link-ai-generator",link:"https://yoa.st/ai-generator-feature",ariaLabel:(0,Lt.__)("AI title & description generator","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_metabox_insights",cardId:"card-wpseo-enable_metabox_insights",inputId:"input-wpseo-enable_metabox_insights",imageSrc:"/images/insights.png",title:(0,Lt.__)("Insights","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Get more insights into what you are writing. What words do you use most often? How much time does it take to read your text? Is your text easy to read?","wordpress-seo")),(0,e.createElement)($l,{id:"link-insights",link:"https://yoa.st/4ew",ariaLabel:(0,Lt.__)("Insights","wordpress-seo")})))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("fieldset",{className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("Site structure","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2"},(0,Lt.__)("Site structure","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo.enable_cornerstone_content",cardId:"card-wpseo-enable_cornerstone_content",inputId:"input-wpseo-enable_cornerstone_content",imageSrc:"/images/cornerstone_content.png",title:(0,Lt.__)("Cornerstone content","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Mark and filter your cornerstone content to make sure your most important articles get the attention they deserve. To help you write excellent copy, we’ll assess your text more strictly.","wordpress-seo")),(0,e.createElement)($l,{id:"link-cornerstone-content",link:"https://yoa.st/dashboard-help-cornerstone",ariaLabel:(0,Lt.__)("Cornerstone content","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_text_link_counter",cardId:"card-wpseo-enable_text_link_counter",inputId:"input-wpseo-enable_text_link_counter",imageSrc:"/images/text_link_counter.png",title:(0,Lt.__)("Text link counter","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Count the number of internal links from and to your posts to improve your site structure.","wordpress-seo")),(0,e.createElement)($l,{id:"link-text-link-counter",link:"https://yoa.st/2aj",ariaLabel:(0,Lt.__)("Text link counter","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_link_suggestions",cardId:"card-wpseo-enable_link_suggestions",inputId:"input-wpseo-enable_link_suggestions",imageSrc:"/images/link_suggestions.png",isPremiumFeature:!0,hasPremiumBadge:!0,isPremiumLink:"https://yoa.st/get-link-suggestions",title:(0,Lt.__)("Internal linking suggestions","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("No need to figure out what to link to. You get linking suggestions for relevant posts and pages to make your website easier to navigate.","wordpress-seo")),(0,e.createElement)($l,{id:"link-suggestions-link",link:t?"https://yoa.st/17g":"https://yoa.st/4ev",ariaLabel:(0,Lt.__)("Link suggestions","wordpress-seo")})))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("fieldset",{id:"section-social-sharing",className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("Social sharing","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2",className:"yst-mb-2"},(0,Lt.__)("Social sharing","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo_social.opengraph",cardId:"card-wpseo_social-opengraph",inputId:"input-wpseo_social-opengraph",imageSrc:"/images/open_graph.png",title:(0,Lt.__)("Open Graph data","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Allows for Facebook and other social media to display a preview with images and a text excerpt when a link to your site is shared. Keep this feature enabled to optimize your site for social media.","wordpress-seo")),(0,e.createElement)($l,{id:"link-open-graph-data",link:"https://yoa.st/site-features-open-graph-data",ariaLabel:(0,Lt.__)("Open Graph data","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo_social.twitter",cardId:"card-wpseo_social-twitter",inputId:"input-wpseo_social-twitter",imageSrc:"/images/twitter_card.png",title:(0,Lt.__)("X card data","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Allows for X to display a preview with images and a text excerpt when a link to your site is shared.","wordpress-seo")),(0,e.createElement)($l,{id:"link-twitter-card-data",link:"https://yoa.st/site-features-twitter-card-data",ariaLabel:(0,Lt.__)("X card data","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_enhanced_slack_sharing",cardId:"card-wpseo-enable_enhanced_slack_sharing",inputId:"input-wpseo-enable_enhanced_slack_sharing",imageSrc:"/images/slack_sharing.png",title:(0,Lt.__)("Slack sharing","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("This adds an author byline and reading time estimate to the article’s snippet when shared on Slack.","wordpress-seo")),(0,e.createElement)($l,{id:"link-slack-sharing",link:"https://yoa.st/help-slack-share",ariaLabel:(0,Lt.__)("Slack sharing","wordpress-seo")})))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("fieldset",{className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("Tools","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2"},(0,Lt.__)("Tools","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo.enable_admin_bar_menu",cardId:"card-wpseo-enable_admin_bar_menu",inputId:"input-wpseo-enable_admin_bar_menu",imageSrc:"/images/admin_bar.png",title:(0,Lt.__)("Admin bar menu","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.sprintf)( // translators: %1$s expands to Yoast. (0,Lt.__)("The %1$s icon in the top admin bar provides quick access to third-party tools for analyzing pages and makes it easy to see if you have new notifications.","wordpress-seo"),"Yoast")),(0,e.createElement)($l,{id:"link-admin-bar",link:"https://yoa.st/site-features-admin-bar",ariaLabel:(0,Lt.__)("Admin bar menu","wordpress-seo")})))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("fieldset",{className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("APIs","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2"},(0,Lt.__)("APIs","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo.enable_headless_rest_endpoints",cardId:"card-wpseo-enable_headless_rest_endpoints",inputId:"input-wpseo-enable_headless_rest_endpoints",imageSrc:"/images/rest_api.png",title:(0,Lt.__)("REST API endpoint","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("This Yoast SEO REST API endpoint gives you all the metadata you need for a specific URL. This will make it very easy for headless WordPress sites to use Yoast SEO for all their SEO meta output.","wordpress-seo")),(0,e.createElement)($l,{id:"link-rest-api-endpoint",link:"https://yoa.st/site-features-rest-api-endpoint",ariaLabel:(0,Lt.__)("REST API endpoint","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_xml_sitemap",cardId:"card-wpseo-enable_xml_sitemap",inputId:"input-wpseo-enable_xml_sitemap",imageSrc:"/images/xml_sitemaps.png",title:(0,Lt.__)("XML sitemaps","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.sprintf)( // translators: %1$s expands to "Yoast SEO". (0,Lt.__)("Enable the %1$s XML sitemaps. A sitemap is a file that lists a website's essential pages to make sure search engines can find and crawl them.","wordpress-seo"),"Yoast SEO")),n&&o&&(0,e.createElement)(l.Button,{as:"a",id:"link-xml-sitemaps",href:s,variant:"secondary",target:"_blank",rel:"noopener",className:"yst-self-start"},(0,Lt.__)("View the XML sitemap","wordpress-seo"),(0,e.createElement)(Tl,{className:"yst--me-1 yst-ms-1 yst-h-5 yst-w-5 yst-text-slate-400 rtl:yst-rotate-[270deg]"})),(0,e.createElement)($l,{id:"link-xml-sitemaps-learn-more",link:"https://yoa.st/2a-",ariaLabel:(0,Lt.__)("XML sitemaps","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_index_now",cardId:"card-wpseo-enable_index_now",inputId:"input-wpseo-enable_index_now",imageSrc:"/images/indexnow.png",isPremiumFeature:!0,hasPremiumBadge:!0,isPremiumLink:"https://yoa.st/get-indexnow",title:(0,Lt.__)("IndexNow","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Automatically ping search engines like Bing and Yandex whenever you publish, update or delete a post.","wordpress-seo")),(0,e.createElement)($l,{id:"link-index-now",link:"https://yoa.st/index-now-feature",ariaLabel:(0,Lt.__)("IndexNow","wordpress-seo")})))))))},Rl=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"}))})),Nl=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{fillRule:"evenodd",d:"M10 3a1 1 0 011 1v5h5a1 1 0 110 2h-5v5a1 1 0 11-2 0v-5H4a1 1 0 110-2h5V4a1 1 0 011-1z",clipRule:"evenodd"}))})),Il=Ca(Da),Ol=Aa(Ia),Cl=()=>{const{values:t}=q(),{website_name:s,company_or_person:r,company_or_person_user_id:a,company_name:o,company_logo_id:n}=t.wpseo_titles,{other_social_urls:c}=t.wpseo_social,d=aa("selectUserById",[a],a),u=aa("selectLink",[],"https://yoa.st/1-p"),p=aa("selectLink",[],"https://yoa.st/3r3"),m=aa("selectLink",[],"https://yoa.st/site-representation-org-additional-info-upsell"),f=aa("selectLink",[],"https://yoa.st/site-representation-org-identifiers"),h=aa("selectLink",[],"https://yoa.st/site-representation-organization-person"),y=aa("selectPreference",[],"editUserUrl"),w=aa("selectPreference",[],"isLocalSeoActive"),_=aa("selectPreference",[],"companyOrPersonMessage"),g=aa("selectFallback",[],"siteLogoId"),b=aa("selectCanEditUser",[null==d?void 0:d.id],null==d?void 0:d.id),v=aa("selectPreference",[],"isPremium"),E=aa("selectUpsellSettingsAsProps"),x=aa("selectLink",[],"https://yoa.st/get-mastodon-integration"),k=aa("selectLink",[],"https://yoa.st/site-representation-mastodon"),S=aa("selectPreference",[],"localSeoPageSettingUrl");let L=(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Lt.__)("You have %1$s activated on your site. You can provide your VAT ID and Tax ID in the %2$s‘Business info’ settings%3$s.","wordpress-seo"),"Yoast Local SEO","",""),{a:(0,e.createElement)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})}),T=(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Lt.__)("You have %1$s activated on your site. You can provide your email and phone in the %2$s‘Business info’ settings%3$s.","wordpress-seo"),"Yoast Local SEO","",""),{a:(0,e.createElement)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})});S.includes("wpseo_locations")&&(L=(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Lt.__)("You have %1$s activated on your site, and you've configured your business for multiple locations. This allows you to provide your VAT ID and Tax ID for %2$seach specific location%3$s.","wordpress-seo"),"Yoast Local SEO","",""),{a:(0,e.createElement)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})}),T=(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Lt.__)("You have %1$s activated on your site, and you've configured your business for multiple locations. This allows you to provide your email and phone for %2$seach specific location%3$s.","wordpress-seo"),"Yoast Local SEO","",""),{a:(0,e.createElement)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})}));const F=(0,i.useCallback)((async e=>{var t;await e.push(""),null===(t=document.getElementById(`input-wpseo_social-other_social_urls-${c.length}`))||void 0===t||t.focus()}),[c]);return(0,e.createElement)(uo,{title:(0,Lt.__)("Site representation","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. (0,Lt.__)("This info is intended to appear in %1$sGoogle's Knowledge Graph%2$s.","wordpress-seo"),"",""),u,"link-google-knowledge-graph")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("Organization/person","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. (0,Lt.__)("Choose whether your site represents an organization or a person. %1$sLearn more about the differences and choosing between Organization and Person%2$s.","wordpress-seo"),"",""),h,"link-site-representation-organization-person")},w&&(0,e.createElement)(l.Alert,{id:"alert-local-seo-company-or-person",variant:"info"},_),(0,e.createElement)(l.RadioGroup,{disabled:w},(0,e.createElement)(te,{as:l.Radio,type:"radio",name:"wpseo_titles.company_or_person",id:"input-wpseo_titles-company_or_person-company",label:(0,Lt.__)("Organization","wordpress-seo"),value:"company",disabled:w}),(0,e.createElement)(te,{as:l.Radio,type:"radio",name:"wpseo_titles.company_or_person",id:"input-wpseo_titles-company_or_person-person",label:(0,Lt.__)("Person","wordpress-seo"),value:"person",disabled:w}))),(0,e.createElement)("section",{className:"yst-space-y-8"}),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("div",{className:"yst-relative"},(0,e.createElement)(ia.Z,{easing:"ease-out",duration:300,delay:300,height:"company"===r?"auto":0,animateOpacity:!0},(0,e.createElement)(na,{title:(0,Lt.__)("Organization","wordpress-seo"),description:(0,Lt.__)("Please tell us more about your organization. This information will help Google to understand your website, and improve your chance of getting rich results.","wordpress-seo")},(!o||n<1)&&(0,e.createElement)(l.Alert,{id:"alert-organization-name-logo",variant:"info"},Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. (0,Lt.__)("An organization name and logo need to be set for structured data to work properly. Since you haven’t set these yet, we are using the site name and logo as default values. %1$sLearn more about the importance of structured data%2$s.","wordpress-seo"),"",""),p,"link-structured-data")),(0,e.createElement)(te,{as:l.TextField,name:"wpseo_titles.company_name",id:"input-wpseo_titles-company_name",label:(0,Lt.__)("Organization name","wordpress-seo"),placeholder:s}),(0,e.createElement)(te,{as:l.TextField,name:"wpseo_titles.company_alternate_name",id:"input-wpseo_titles-company_alternate_name",label:(0,Lt.__)("Alternate organization name","wordpress-seo"),description:(0,Lt.__)("Use the alternate organization name for acronyms, or a shorter version of your organization's name.","wordpress-seo")}),(0,e.createElement)(ha,{id:"wpseo_titles-company_logo",label:(0,Lt.__)("Organization logo","wordpress-seo"),variant:"square",previewLabel:(0,i.createInterpolateElement)((0,Lt.sprintf)( /* translators: %1$s expands to an opening strong tag. %2$s expands to a closing strong tag. %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","696x696px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})}),mediaUrlName:"wpseo_titles.company_logo",mediaIdName:"wpseo_titles.company_logo_id",fallbackMediaId:g})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{id:"fieldset-wpseo_social-other_social_urls",title:(0,Lt.__)("Other profiles","wordpress-seo"),description:(0,Lt.__)("Tell us if you have any other profiles on the web that belong to your organization. This can be any number of profiles, like YouTube, LinkedIn, Pinterest, or even Wikipedia.","wordpress-seo")},(0,e.createElement)(Da,{as:l.TextField,name:"wpseo_social.facebook_site",id:"input-wpseo_social-facebook_site",label:(0,Lt.__)("Facebook","wordpress-seo"),placeholder:(0,Lt.__)("E.g. https://facebook.com/yoast","wordpress-seo")}),(0,e.createElement)(Da,{as:l.TextField,name:"wpseo_social.twitter_site",id:"input-wpseo_social-twitter_site",label:(0,Lt.__)("X","wordpress-seo"),placeholder:(0,Lt.__)("E.g. https://x.com/yoast","wordpress-seo")}),(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!v,variant:"card",cardLink:x,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...E},(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_social.mastodon_url",id:"input-wpseo_social-mastodon_url",label:(0,Lt.__)("Mastodon","wordpress-seo"),placeholder:(0,Lt.__)("E.g. https://mastodon.social/@yoast","wordpress-seo"),labelSuffix:v&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium"),isDummy:!v,description:(0,e.createElement)(i.Fragment,null,(0,Lt.__)("Get your site verified in your Mastodon profile.","wordpress-seo")," ",(0,e.createElement)(l.Link,{id:"link-wpseo_social-mastodon_url",href:k,target:"_blank",rel:"noopener"},(0,Lt.__)("Read more about how to get your site verified.","wordpress-seo")))})),(0,e.createElement)(ie,{name:"wpseo_social.other_social_urls"},(t=>(0,e.createElement)(i.Fragment,null,c.map(((s,r)=>(0,e.createElement)(Js,{key:`wpseo_social.other_social_urls.${r}`,as:i.Fragment,appear:!0,show:!0,enter:"yst-transition yst-ease-out yst-duration-300",enterFrom:"yst-transform yst-opacity-0",enterTo:"yst-transform yst-opacity-100",leave:"yst-transition yst-ease-out yst-duration-300",leaveFrom:"yst-transform yst-opacity-100",leaveTo:"yst-transform yst-opacity-0"},(0,e.createElement)("div",{className:"yst-w-full yst-flex yst-items-start yst-gap-2"},(0,e.createElement)(Da,{as:l.TextField,name:`wpseo_social.other_social_urls.${r}`,id:`input-wpseo_social-other_social_urls-${r}`,label:(0,Lt.sprintf)((0,Lt.__)("Other profile %1$s","wordpress-seo"),r+1),placeholder:(0,Lt.__)("E.g. https://example.com/yoast","wordpress-seo"),className:"yst-grow"}),(0,e.createElement)(l.Button,{variant:"secondary",onClick:t.remove.bind(null,r),className:"yst-mt-7 yst-p-2.5","aria-label":(0,Lt.sprintf)((0,Lt.__)("Remove Other profile %1$s","wordpress-seo"),r+1)},(0,e.createElement)(Rl,{className:"yst-h-5 yst-w-5"})))))),(0,e.createElement)(l.Button,{id:"button-add-social-profile",variant:"secondary",onClick:()=>F(t)},(0,e.createElement)(Nl,{className:"yst--ms-1 yst-me-1 yst-h-5 yst-w-5 yst-text-slate-400"}),(0,Lt.__)("Add another profile","wordpress-seo")))))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)(i.Fragment,null,(0,Lt.__)("Additional organization info","wordpress-seo"),v&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium")),description:(0,Lt.__)("Enrich your organization's profile by providing more in-depth information. The more details you share, the better Google understands your website.","wordpress-seo")},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!v,variant:"card",cardLink:m,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...E},(0,e.createElement)(Il,{as:l.TextareaField,name:"wpseo_titles.org-description",id:"input-wpseo_titles-org-description",label:(0,Lt.__)("Organization description","wordpress-seo"),isDummy:!v,maxLength:2e3}),w&&v&&(0,e.createElement)(l.Alert,{id:"alert-local-seo-vat-or-tax-id",variant:"info"},T),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-email",id:"input-wpseo_titles-org-email",type:"email",label:(0,Lt.__)("Organization email address","wordpress-seo"),isDummy:!v||w}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-phone",id:"input-wpseo_titles-org-phone",label:(0,Lt.__)("Organization phone number","wordpress-seo"),isDummy:!v||w}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-legal-name",id:"input-wpseo_titles-org-legal-name",label:(0,Lt.__)("Organization's legal name","wordpress-seo"),isDummy:!v}),(0,e.createElement)(Il,{as:l.TextField,className:"yst-w-3/5",name:"wpseo_titles.org-founding-date",id:"input-wpseo_titles-org-founding-date",label:(0,Lt.__)("Organization's founding date","wordpress-seo"),type:"date",isDummy:!v}),(0,e.createElement)(Ol,{name:"wpseo_titles.org-number-employees",className:"yst-w-3/5",id:"input-wpseo_titles-org-number-employees",label:(0,Lt.__)("Number of employees","wordpress-seo"),placeholder:(0,Lt.__)("Select a range / Enter a number","wordpress-seo"),isDummy:!v,options:[{value:"",label:"None"},{value:"1-10",label:(0,Lt.__)("1–10 employees","wordpress-seo")},{value:"11-50",label:(0,Lt.__)("11–50 employees","wordpress-seo")},{value:"51-200",label:(0,Lt.__)("51–200 employees","wordpress-seo")},{value:"201-500",label:(0,Lt.__)("201–500 employees","wordpress-seo")},{value:"501-1000",label:(0,Lt.__)("501–1000 employees","wordpress-seo")},{value:"1001-5000",label:(0,Lt.__)("1001–5000 employees","wordpress-seo")},{value:"5001-10000",label:(0,Lt.__)("5001–10000 employees","wordpress-seo")}]}))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)(i.Fragment,null,(0,Lt.__)("Organization identifiers","wordpress-seo"),v&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium")),description:(0,Lt.__)("Please tell us more about your organization’s identifiers. This information will help Google to display accurate and helpful details about your organization.","wordpress-seo")},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!v,variant:"card",cardLink:f,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...E},w&&v&&(0,e.createElement)(l.Alert,{id:"alert-local-seo-vat-or-tax-id",variant:"info"},L),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-vat-id",id:"input-wpseo_titles-org-vat-id",label:(0,Lt.__)("VAT ID","wordpress-seo"),isDummy:!v||w}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-tax-id",id:"input-wpseo_titles-org-tax-id",label:(0,Lt.__)("Tax ID","wordpress-seo"),isDummy:!v||w}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-iso",id:"input-wpseo_titles-org-iso",label:(0,Lt.__)("ISO 6523","wordpress-seo"),isDummy:!v}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-duns",id:"input-wpseo_titles-org-duns",label:(0,Lt.__)("DUNS","wordpress-seo"),isDummy:!v}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-leicode",id:"input-wpseo_titles-org-leicode",label:(0,Lt.__)("LEI code","wordpress-seo"),isDummy:!v}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-naics",id:"input-wpseo_titles-org-naics",label:(0,Lt.__)("NAICS","wordpress-seo"),isDummy:!v})))),(0,e.createElement)(ia.Z,{easing:"ease-out",duration:300,delay:300,height:"person"===r?"auto":0,animateOpacity:!0},(0,e.createElement)(na,{title:(0,Lt.__)("Personal info","wordpress-seo"),description:(0,Lt.__)("Please tell us more about the person this site represents.","wordpress-seo")},(0,e.createElement)(Sa,{name:"wpseo_titles.company_or_person_user_id",id:"input-wpseo_titles-company_or_person_user_id",label:(0,Lt.__)("Select a user","wordpress-seo"),className:"yst-max-w-sm"}),!(0,le.isEmpty)(d)&&(0,e.createElement)(l.Alert,{id:"alert-person-user-profile"},b&&(0,i.createInterpolateElement)((0,Lt.sprintf)( /* translators: %1$s and %2$s are replaced by opening and closing tags. %3$s and %4$s are replaced by opening and closing tags. %5$s is replaced by the selected user display name. */ (0,Lt.__)("You have selected the user %1$s%5$s%2$s as the person this site represents. Their user profile information will now be used in search results. %3$sUpdate their profile to make sure the information is correct%4$s.","wordpress-seo"),"","","","",null==d?void 0:d.name),{strong:(0,e.createElement)("strong",{className:"yst-font-medium"}),a:(0,e.createElement)("a",{id:"link-person-user-profile",href:`${y}?user_id=${null==d?void 0:d.id}`,target:"_blank",rel:"noopener noreferrer"})}),!b&&(0,i.createInterpolateElement)((0,Lt.sprintf)( /* translators: %1$s and %2$s are replaced by opening and closing tags. %3$s is replaced by the selected user display name. */ (0,Lt.__)("You have selected the user %1$s%3$s%2$s as the person this site represents. Their user profile information will now be used in search results. We're sorry, you're not allowed to edit this user's profile. Please contact your admin or %1$s%3$s%2$s to check and/or update the profile.","wordpress-seo"),"","",null==d?void 0:d.name),{strong:(0,e.createElement)("strong",{className:"yst-font-medium"})})),(0,e.createElement)(ha,{id:"wpseo_titles-person_logo",label:(0,Lt.__)("Personal logo or avatar","wordpress-seo"),variant:"square",previewLabel:(0,i.createInterpolateElement)((0,Lt.sprintf)( /* translators: %1$s expands to an opening strong tag. %2$s expands to a closing strong tag. %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","696x696px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})}),mediaUrlName:"wpseo_titles.person_logo",mediaIdName:"wpseo_titles.person_logo_id",fallbackMediaId:g,disabled:!a})))))))},Al=()=>{const t=aa("selectReplacementVariablesFor",[],"search","search"),s=aa("selectRecommendedReplacementVariablesFor",[],"search","search"),r=aa("selectReplacementVariablesFor",[],"404","404"),a=aa("selectRecommendedReplacementVariablesFor",[],"404","404");return(0,e.createElement)(uo,{title:(0,Lt.__)("Special pages","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("Internal search pages","wordpress-seo"),description:(0,Lt.__)("Determine how the title of your internal search pages should look in the browser.","wordpress-seo")},(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.title-search-wpseo",fieldId:"input-wpseo_titles-title-search-wpseo",label:(0,Lt.__)("Page title","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("404 error pages","wordpress-seo"),description:(0,Lt.__)("Determine how the title of your 404 error pages should look in the browser.","wordpress-seo")},(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.title-404-wpseo",fieldId:"input-wpseo_titles-title-404-wpseo",label:(0,Lt.__)("Page title","wordpress-seo"),replacementVariables:r,recommendedReplacementVariables:a})))))},Ml=/content=(['"])?(?[^'"> ]+)(?:\1|[ />])/,Dl=e=>{var t;const s=e.target.value.match(Ml);return null!=s&&null!==(t=s.groups)&&void 0!==t&&t.content?s.groups.content:e.target.value},Bl=Ma(Ra),Ul=()=>{const t=aa("selectPreference",[],"siteUrl");return(0,e.createElement)(uo,{title:(0,Lt.__)("Site connections","wordpress-seo"),description:(0,Lt.__)("Verify your site with different tools. This will add a verification meta tag to your homepage. You can find instructions on how to verify your site for each platform by following the link in the description.","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)("fieldset",{className:"yst-min-width-0 yst-max-w-screen-sm yst-space-y-8"},(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo.baiduverify",id:"input-wpseo-baiduverify",label:(0,Lt.__)("Baidu","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Get your verification code in %1$sBaidu Webmaster tools%2$s.","wordpress-seo"),"",""),"https://ziyuan.baidu.com/site","link-baidu-webmaster-tools"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl}),(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo.msverify",id:"input-wpseo-msverify",label:(0,Lt.__)("Bing","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Get your verification code in %1$sBing Webmaster tools%2$s.","wordpress-seo"),"",""),`https://www.bing.com/toolbox/webmaster/#/Dashboard/?url=${t}`,"link-bing-webmaster-tools"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl}),(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo.googleverify",id:"input-wpseo-googleverify",label:(0,Lt.__)("Google","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Get your verification code in %1$sGoogle Search console%2$s.","wordpress-seo"),"",""),(0,Rt.addQueryArgs)("https://search.google.com/search-console/users",{hl:"en",tid:"alternate",siteUrl:t}),"link-google-search-console"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl}),(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo_social.pinterestverify",id:"input-wpseo_social-pinterestverify",label:(0,Lt.__)("Pinterest","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Claim your site over at %1$sPinterest%2$s.","wordpress-seo"),"",""),"https://www.pinterest.com/settings/claim","link-pinterest"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl}),(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo.yandexverify",id:"input-wpseo-yandexverify",label:(0,Lt.__)("Yandex","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Get your verification code in %1$sYandex Webmaster tools%2$s.","wordpress-seo"),"",""),"https://webmaster.yandex.com/sites/add/","link-yandex-webmaster-tools"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl})))))},jl=({postTypes:t,taxonomies:s,idSuffix:r=""})=>{const a=(0,l.useSvgAria)(),o=aa("selectPreference",[],"isPremium"),n=(0,i.useCallback)((({show:t,toggle:s,ariaProps:r})=>{const o=(0,i.useMemo)((()=>t?sr:rr),[t]);return(0,e.createElement)("div",{className:"yst-relative"},(0,e.createElement)("hr",{className:"yst-absolute yst-inset-x-0 yst-top-1/2 yst-bg-slate-200"}),(0,e.createElement)("button",{type:"button",className:"yst-relative yst-flex yst-items-center yst-gap-1.5 yst-px-2.5 yst-py-1 yst-mx-auto yst-text-xs yst-font-medium yst-text-slate-700 yst-bg-slate-50 yst-rounded-full yst-border yst-border-slate-300 hover:yst-bg-white hover:yst-text-slate-800 focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-primary-500 focus:yst-ring-offset-2",onClick:s,...r},t?(0,Lt.__)("Show less","wordpress-seo"):(0,Lt.__)("Show more","wordpress-seo"),(0,e.createElement)(o,{className:"yst-h-4 yst-w-4 yst-flex-shrink-0 yst-text-slate-400 group-hover:yst-text-slate-500 yst-stroke-3",...a})))}),[]);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("header",{className:"yst-px-3 yst-mb-6 yst-space-y-6"},(0,e.createElement)(Et,{id:`link-yoast-logo${r}`,to:"/",className:"yst-inline-block yst-rounded-md focus:yst-ring-primary-500","aria-label":"Yoast SEO"+(o?" Premium":"")},(0,e.createElement)(Qr,{className:"yst-w-40",...a})),(0,e.createElement)(Ji,{buttonId:`button-search${r}`})),(0,e.createElement)("div",{className:"yst-px-0.5 yst-space-y-6"},(0,e.createElement)(l.SidebarNavigation.MenuItem,{id:`menu-general${r}`,icon:Qs,label:(0,Lt.__)("General","wordpress-seo")},(0,e.createElement)(vr,{to:"/site-features",label:(0,Lt.__)("Site features","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/site-basics",label:(0,Lt.__)("Site basics","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/site-representation",label:(0,Lt.__)("Site representation","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/site-connections",label:(0,Lt.__)("Site connections","wordpress-seo"),idSuffix:r})),(0,e.createElement)(l.SidebarNavigation.MenuItem,{id:`menu-content-types${r}`,icon:Xs,label:(0,Lt.__)("Content types","wordpress-seo")},(0,e.createElement)(l.ChildrenLimiter,{limit:5,renderButton:n},(0,e.createElement)(vr,{to:"/homepage",label:(0,Lt.__)("Homepage","wordpress-seo"),idSuffix:r}),(0,le.map)(t,(({name:t,route:s,label:a,isNew:o})=>(0,e.createElement)(vr,{key:`link-post-type-${t}`,to:`/post-type/${s}`,label:(0,e.createElement)("span",{className:"yst-inline-flex yst-items-center yst-gap-1.5"},a,o&&(0,e.createElement)(l.Badge,{variant:"info"},(0,Lt.__)("New","wordpress-seo"))),idSuffix:r}))))),(0,e.createElement)(l.SidebarNavigation.MenuItem,{id:`menu-categories-and-tags${r}`,icon:er,label:(0,Lt.__)("Categories & tags","wordpress-seo")},(0,e.createElement)(l.ChildrenLimiter,{limit:5,renderButton:n},(0,le.map)(s,(t=>(0,e.createElement)(vr,{key:`link-taxonomy-${t.name}`,to:`/taxonomy/${t.route}`,label:(0,e.createElement)("span",{className:"yst-inline-flex yst-items-center yst-gap-1.5"},t.label,t.isNew&&(0,e.createElement)(l.Badge,{variant:"info"},(0,Lt.__)("New","wordpress-seo"))),idSuffix:r}))))),(0,e.createElement)(l.SidebarNavigation.MenuItem,{id:`menu-advanced${r}`,icon:tr,label:(0,Lt.__)("Advanced","wordpress-seo"),defaultOpen:!1},(0,e.createElement)(vr,{to:"/crawl-optimization",label:(0,Lt.__)("Crawl optimization","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/breadcrumbs",label:(0,Lt.__)("Breadcrumbs","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/author-archives",label:(0,Lt.__)("Author archives","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/date-archives",label:(0,Lt.__)("Date archives","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/format-archives",label:(0,Lt.__)("Format archives","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/special-pages",label:(0,Lt.__)("Special pages","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/media-pages",label:(0,Lt.__)("Media pages","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/rss",label:(0,Lt.__)("RSS","wordpress-seo"),idSuffix:r}))))};jl.propTypes={postTypes:ir().object.isRequired,taxonomies:ir().object.isRequired,idSuffix:ir().string};const Vl=()=>{const{pathname:t}=Qe(),s=aa("selectPostTypes"),r=aa("selectTaxonomies"),o=aa("selectPreference",[],"isPremium"),n=aa("selectLink",[],"https://yoa.st/17h"),c=aa("selectLink",[],"https://yoa.st/jj"),d=aa("selectUpsellSettingsAsProps"),u=aa("selectLink",[],"https://yoa.st/3t6"),{isPromotionActive:p}=(0,a.useSelect)(ea);(()=>{const{hash:e,pathname:t,key:s}=Qe();(0,i.useEffect)((()=>{const t=e.replace("#",""),s=document.getElementById(t)||document.querySelector(`[data-id="${t}"]`);if(s)s.scrollIntoView({behavior:"smooth"}),setTimeout((()=>s.focus()),800);else{const e=document.getElementById("yoast-seo-settings");null==e||e.scrollIntoView({behavior:"smooth"})}}),[t,e,s])})();const{dirty:m}=q();return(0,l.useBeforeUnload)(m,(0,Lt.__)("There are unsaved changes on this page. Leaving means that those changes will be lost. Are you sure you want to leave this page?","wordpress-seo")),(0,e.createElement)(e.Fragment,null,(0,e.createElement)(ja,null),(0,e.createElement)(l.SidebarNavigation,{activePath:t},(0,e.createElement)(l.SidebarNavigation.Mobile,{openButtonId:"button-open-settings-navigation-mobile",closeButtonId:"button-close-settings-navigation-mobile" /* translators: Hidden accessibility text. */,openButtonScreenReaderText:(0,Lt.__)("Open settings navigation","wordpress-seo") /* translators: Hidden accessibility text. */,closeButtonScreenReaderText:(0,Lt.__)("Close settings navigation","wordpress-seo"),"aria-label":(0,Lt.__)("Settings navigation","wordpress-seo")},(0,e.createElement)(jl,{idSuffix:"-mobile",postTypes:s,taxonomies:r})),(0,e.createElement)("div",{className:"yst-p-4 min-[783px]:yst-p-8 yst-flex yst-gap-4"},(0,e.createElement)("aside",{className:"yst-sidebar yst-sidebar-nav yst-shrink-0 yst-hidden min-[783px]:yst-block yst-pb-6 yst-bottom-0 yst-w-56"},(0,e.createElement)(l.SidebarNavigation.Sidebar,null,(0,e.createElement)(jl,{postTypes:s,taxonomies:r}))),(0,e.createElement)("div",{className:or()("yst-flex yst-grow yst-flex-wrap",!o&&"xl:yst-pe-[17.5rem]")},(0,e.createElement)("div",{className:"yst-grow yst-max-w-page yst-space-y-6 yst-mb-8 xl:yst-mb-0"},(0,e.createElement)(l.Paper,{as:"main"},(0,e.createElement)(l.ErrorBoundary,{FallbackComponent:Qi},(0,e.createElement)(Js,{key:t,appear:!0,show:!0,enter:"yst-transition-opacity yst-delay-100 yst-duration-300",enterFrom:"yst-opacity-0",enterTo:"yst-opacity-100"},(0,e.createElement)(ft,null,(0,e.createElement)(pt,{path:"author-archives",element:(0,e.createElement)(ll,null)}),(0,e.createElement)(pt,{path:"breadcrumbs",element:(0,e.createElement)(cl,null)}),(0,e.createElement)(pt,{path:"crawl-optimization",element:(0,e.createElement)(ml,null)}),(0,e.createElement)(pt,{path:"date-archives",element:(0,e.createElement)(hl,null)}),(0,e.createElement)(pt,{path:"homepage",element:(0,e.createElement)(bl,null)}),(0,e.createElement)(pt,{path:"format-archives",element:(0,e.createElement)(wl,null)}),(0,e.createElement)(pt,{path:"media-pages",element:(0,e.createElement)(vl,null)}),(0,e.createElement)(pt,{path:"rss",element:(0,e.createElement)(xl,null)}),(0,e.createElement)(pt,{path:"site-basics",element:(0,e.createElement)(Ll,null)}),(0,e.createElement)(pt,{path:"site-connections",element:(0,e.createElement)(Ul,null)}),(0,e.createElement)(pt,{path:"site-representation",element:(0,e.createElement)(Cl,null)}),(0,e.createElement)(pt,{path:"site-features",element:(0,e.createElement)(Pl,null)}),(0,e.createElement)(pt,{path:"special-pages",element:(0,e.createElement)(Al,null)}),(0,e.createElement)(pt,{path:"post-type"},(0,le.map)(s,(t=>(0,e.createElement)(pt,{key:`route-post-type-${t.name}`,path:t.route,element:(0,e.createElement)(rl,{...t})})))),(0,e.createElement)(pt,{path:"taxonomy"},(0,le.map)(r,(t=>(0,e.createElement)(pt,{key:`route-taxonomy-${t.name}`,path:t.route,element:(0,e.createElement)(nl,{...t})})))),(0,e.createElement)(pt,{path:"*",element:(0,e.createElement)(ut,{to:"/site-features",replace:!0})}))))),!o&&(0,e.createElement)(zr,{premiumLink:n,premiumUpsellConfig:d,isPromotionActive:p})),!o&&(0,e.createElement)("div",{className:"xl:yst-max-w-3xl xl:yst-fixed xl:yst-end-8 xl:yst-w-[16rem]"},(0,e.createElement)(qr,{premiumLink:c,premiumUpsellConfig:d,academyLink:u,isPromotionActive:p}))))))},zl=window.yoast.externals.redux,ql=()=>(0,le.get)(window,"wpseoScriptData.postTypes",{}),Wl="updatePostTypeReviewStatus",Hl=(0,Tt.createSlice)({name:"postTypes",initialState:ql(),reducers:{},extraReducers:e=>{e.addCase(`${Wl}/result`,((e,{payload:t})=>{e[t].isNew=!1}))}}),Yl={selectPostType:(e,t,s={})=>(0,le.get)(e,`postTypes.${t}`,s),selectAllPostTypes:(e,t=null)=>{const s=(0,le.get)(e,"postTypes",{});return t?(0,le.pick)(s,t):s}};Yl.selectPostTypes=(0,Tt.createSelector)(Yl.selectAllPostTypes,(e=>(0,le.omit)(e,["attachment"])));const Gl={[Wl]:async({payload:e})=>Gt()({path:"/yoast/v1/new-content-type-visibility/dismiss-post-type",method:"POST",data:{post_type_name:e}})},Kl={...Hl.actions,updatePostTypeReviewStatus:function*(e){try{yield{type:Wl,payload:e}}catch(t){console.error(`Error: Failed to remove "New" badge for ${e}, ${t}`)}return{type:`${Wl}/result`,payload:e}}},Zl=Hl.reducer,Jl=()=>{var e;return{...(0,le.get)(window,"wpseoScriptData.preferences",{}),documentTitle:(0,le.defaultTo)(null===(e=document)||void 0===e?void 0:e.title,"")}},Ql=(0,Tt.createSlice)({name:"preferences",initialState:Jl(),reducers:{}}),Xl={selectPreference:(e,t,s={})=>(0,le.get)(e,`preferences.${t}`,s),selectPreferences:e=>(0,le.get)(e,"preferences",{})};Xl.selectHasPageForPosts=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"homepageIsLatestPosts"),e=>Xl.selectPreference(e,"homepagePostsEditUrl")],((e,t)=>!e&&!(0,le.isEmpty)(t))),Xl.selectCanEditUser=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"currentUserId",-1),e=>Xl.selectPreference(e,"canEditUsers",!1),(e,t)=>t],((e,t,s)=>e===s||t)),Xl.selectExampleUrl=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"siteUrl","https://example.com"),(e,t)=>t],((e,t)=>e+t)),Xl.selectPluginUrl=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"pluginUrl","https://example.com"),(e,t)=>t],((e,t)=>e+t)),Xl.selectUpsellSettingsAsProps=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"upsellSettings",{}),(e,t="premiumCtbId")=>t],((e,t)=>({"data-action":null==e?void 0:e.actionId,"data-ctb-id":null==e?void 0:e[t]})));const ec=Ql.actions,tc=Ql.reducer,sc=()=>(0,le.reduce)((0,le.get)(window,"wpseoScriptData.taxonomies",{}),((e,{postTypes:t,...s},r)=>({...e,[r]:{...s,postTypes:(0,le.values)(t)}})),{}),rc="updateTaxonomyReviewStatus",ac=(0,Tt.createSlice)({name:"taxonomies",initialState:sc(),reducers:{},extraReducers:e=>{e.addCase(`${rc}/result`,((e,{payload:t})=>{e[t].isNew=!1}))}}),oc={selectTaxonomy:(e,t,s={})=>(0,le.get)(e,`taxonomies.${t}`,s),selectAllTaxonomies:e=>(0,le.get)(e,"taxonomies",{})};oc.selectTaxonomies=(0,Tt.createSelector)(oc.selectAllTaxonomies,(e=>(0,le.omit)(e,["post_format"])));const nc={[rc]:async({payload:e})=>Gt()({path:"/yoast/v1/new-content-type-visibility/dismiss-taxonomy",method:"POST",data:{taxonomy_name:e}})},ic={...ac.actions,updateTaxonomyReviewStatus:function*(e){try{yield{type:rc,payload:e}}catch(t){console.error(`Error: Failed to remove "New" badge for ${e}, ${t}`)}return{type:`${rc}/result`,payload:e}}},lc=ac.reducer,cc={selectBreadcrumbsForPostTypes:(0,Tt.createSelector)([oc.selectAllTaxonomies,Yl.selectAllPostTypes],((e,t)=>{const s={value:0,label:(0,Lt.__)("None","wordpress-seo")},r={};return(0,le.forEach)(t,((t,a)=>{const o=(0,le.filter)(e,(e=>(0,le.includes)(e.postTypes,a)));(0,le.isEmpty)(o)||(r[a]={...t,options:[s,...(0,le.map)(o,(({name:e,label:t})=>({value:e,label:t})))]})})),r})),selectBreadcrumbsForTaxonomies:(0,Tt.createSelector)([oc.selectAllTaxonomies,Yl.selectAllPostTypes,Xl.selectHasPageForPosts],((e,t,s)=>{let r=[{value:0,label:(0,Lt.__)("None","wordpress-seo")}];s&&r.push({value:"post",label:(0,Lt.__)("Blog","wordpress-seo")});const a=(0,le.filter)(t,(({hasArchive:e})=>e));return r=r.concat((0,le.map)(a,(({name:e,label:t})=>({value:e,label:t})))),(0,le.mapValues)(e,(e=>({name:e.name,label:e.label,options:r})))}))},dc=()=>({...(0,le.get)(window,"wpseoScriptData.defaultSettingValues",{})}),uc=(0,Tt.createSlice)({name:"defaultSettingValues",initialState:dc(),reducers:{}}),pc={selectDefaultSettingValue:(e,t,s={})=>(0,le.get)(e,`defaultSettingValues.${t}`,s),selectDefaultSettingValues:e=>(0,le.get)(e,"defaultSettingValues",{})},mc=uc.actions,fc=uc.reducer,hc=()=>(0,le.get)(window,"wpseoScriptData.fallbacks",{}),yc=(0,Tt.createSlice)({name:"fallbacks",initialState:hc(),reducers:{}}),wc={selectFallback:(e,t,s={})=>(0,le.get)(e,`fallbacks.${t}`,s),selectFallbacks:e=>(0,le.get)(e,"fallbacks",{})},_c=yc.actions,gc=yc.reducer,bc=(0,Tt.createEntityAdapter)(),vc=()=>bc.getInitialState({status:Qt,error:""}),Ec="fetchMedia",xc=e=>{var t,s;return{id:null==e?void 0:e.id,title:(null==e||null===(t=e.title)||void 0===t?void 0:t.rendered)||(null==e?void 0:e.title),slug:(null==e?void 0:e.slug)||(null==e?void 0:e.name),alt:(null==e?void 0:e.alt_text)||(null==e?void 0:e.alt),url:(null==e?void 0:e.source_url)||(null==e?void 0:e.url),type:(null==e?void 0:e.media_type)||(null==e?void 0:e.type),mime:(null==e?void 0:e.mime_type)||(null==e?void 0:e.mime),author:null==e?void 0:e.author,sizes:(0,le.mapValues)((null==e?void 0:e.sizes)||(null==e||null===(s=e.media_details)||void 0===s?void 0:s.sizes),(e=>({url:(null==e?void 0:e.url)||(null==e?void 0:e.source_url),width:null==e?void 0:e.width,height:null==e?void 0:e.height})),{})}},kc=(0,Tt.createSlice)({name:"media",initialState:vc(),reducers:{addOneMedia:{reducer:bc.addOne,prepare:e=>({payload:xc(e)})},addManyMedia:{reducer:bc.addMany,prepare:e=>({payload:(0,le.map)(e,xc)})}},extraReducers:e=>{e.addCase(`${Ec}/${Kt}`,(e=>{e.status=Xt})),e.addCase(`${Ec}/${Zt}`,((e,t)=>{e.status=es,bc.addMany(e,(0,le.map)(t.payload,xc))})),e.addCase(`${Ec}/${Jt}`,((e,t)=>{e.status=ts,e.error=t.payload}))}}),Sc=bc.getSelectors((e=>e.media)),Lc={selectMediaIds:Sc.selectIds,selectMediaById:Sc.selectById,selectIsMediaLoading:e=>(0,le.get)(e,"media.status",Qt)===Xt,selectIsMediaError:e=>(0,le.get)(e,"media.status",Qt)===ts},Tc={...kc.actions,fetchMedia:function*(e){yield{type:`${Ec}/${Kt}`};try{const t=yield{type:Ec,payload:{per_page:100,include:e}};return{type:`${Ec}/${Zt}`,payload:t}}catch(e){return{type:`${Ec}/${Jt}`,payload:e}}}},Fc={[Ec]:async({payload:e})=>Gt()({path:`/wp/v2/media?${(0,Rt.buildQueryString)(e)}`})},$c=kc.reducer,Pc=window.wp.htmlEntities,Rc=(0,Tt.createEntityAdapter)(),Nc="fetchPages",Ic="pages";let Oc;const Cc=e=>{var t;return{id:null==e?void 0:e.id,name:(0,Pc.decodeEntities)((0,le.trim)(null==e?void 0:e.title.rendered))||(null==e?void 0:e.slug)||e.id,slug:null==e?void 0:e.slug,protected:null==e||null===(t=e.content)||void 0===t?void 0:t.protected}},Ac=(0,Tt.createSlice)({name:"pages",initialState:Rc.getInitialState({status:Qt,error:""}),reducers:{addOnePage:{reducer:Rc.addOne,prepare:e=>({payload:Cc(e)})},addManyPages:{reducer:Rc.addMany,prepare:e=>({payload:(0,le.map)(e,Cc)})}},extraReducers:e=>{e.addCase(`${Nc}/${Kt}`,(e=>{e.status=Xt})),e.addCase(`${Nc}/${Zt}`,((e,t)=>{e.status=es,Rc.addMany(e,(0,le.map)(t.payload,Cc))})),e.addCase(`${Nc}/${Jt}`,((e,t)=>{e.status=ts,e.error=t.payload}))}}),Mc=Ac.getInitialState,Dc=Rc.getSelectors((e=>e.pages)),Bc={selectPageIds:Dc.selectIds,selectPageById:Dc.selectById,selectPages:Dc.selectEntities};Bc.selectPagesWith=(0,Tt.createSelector)([Bc.selectPages,(e,t={})=>t],((e,t)=>{const s={};t.forEach((t=>{null!=t&&t.id&&!e[t.id]&&(s[t.id]={...t})}));const r=(0,le.pickBy)(e,(e=>!e.protected));return{...s,...r}}));const Uc={...Ac.actions,fetchPages:function*(e){yield{type:`${Nc}/${Kt}`};try{const t=yield{type:Nc,payload:{...e}};return{type:`${Nc}/${Zt}`,payload:t}}catch(e){return{type:`${Nc}/${Jt}`,payload:e}}}},jc={[Nc]:async({payload:e})=>{var t;return null===(t=Oc)||void 0===t||t.abort(),Oc=new AbortController,Gt()({path:`/wp/v2/pages?${(0,Rt.buildQueryString)(e)}`,signal:Oc.signal})}},Vc=Ac.reducer,zc=()=>({recommended:(0,le.get)(window,"wpseoScriptData.replacementVariables.recommended",{}),shared:(0,le.get)(window,"wpseoScriptData.replacementVariables.shared",[]),specific:(0,le.get)(window,"wpseoScriptData.replacementVariables.specific",{}),variables:(0,le.get)(window,"wpseoScriptData.replacementVariables.variables",[])}),qc=(0,Tt.createSlice)({name:"replacementVariables",initialState:zc(),reducers:{}}),Wc={selectRecommendedReplacementVariables:e=>(0,le.get)(e,"replacementVariables.recommended",{}),selectSharedReplacementVariables:e=>(0,le.get)(e,"replacementVariables.shared",[]),selectSpecificReplacementVariables:e=>(0,le.get)(e,"replacementVariables.specific",{}),selectReplacementVariables:e=>(0,le.get)(e,"replacementVariables.variables",[])};Wc.selectSpecificReplacementVariablesFor=(0,Tt.createSelector)([Wc.selectSharedReplacementVariables,Wc.selectSpecificReplacementVariables,(e,t)=>t,(e,t,s)=>s],((e,t,s,r)=>[...e,...(0,le.get)(t,s,(0,le.get)(t,r,[]))])),Wc.selectReplacementVariablesFor=(0,Tt.createSelector)([Wc.selectReplacementVariables,Wc.selectSpecificReplacementVariablesFor],((e,t)=>(0,le.filter)(e,(({name:e})=>(0,le.includes)(t,e))))),Wc.selectRecommendedReplacementVariablesFor=(0,Tt.createSelector)([Wc.selectRecommendedReplacementVariables,(e,t)=>t,(e,t,s)=>s],((e,t,s)=>(0,le.get)(e,t,(0,le.get)(e,s,[]))));const Hc=qc.actions,Yc=qc.reducer,Gc=(e,t)=>{ // translators: %1$s expands to the schema type, e.g. "Web Page" or "Blog Post". const s=(0,Lt.__)("%1$s (default)","wordpress-seo");return e.map((({label:e,value:r})=>({value:r,label:r===t?(0,Lt.sprintf)(s,e):e})))},Kc=()=>({articleTypes:(0,le.get)(window,"wpseoScriptData.schema.articleTypes",{}),articleTypeDefaults:(0,le.get)(window,"wpseoScriptData.schema.articleTypeDefaults",{}),pageTypes:(0,le.get)(window,"wpseoScriptData.schema.pageTypes",{}),pageTypeDefaults:(0,le.get)(window,"wpseoScriptData.schema.pageTypeDefaults",{})}),Zc=(0,Tt.createSlice)({name:"schema",initialState:Kc(),reducers:{}}),Jc={selectSchema:e=>(0,le.get)(e,"schema",{}),selectArticleTypes:e=>(0,le.get)(e,"schema.articleTypes",{}),selectArticleTypeDefaults:e=>(0,le.get)(e,"schema.articleTypeDefaults",{}),selectPageTypes:e=>(0,le.get)(e,"schema.pageTypes",{}),selectPageTypeDefaults:e=>(0,le.get)(e,"schema.pageTypeDefaults",{})};Jc.selectArticleTypeValues=(0,Tt.createSelector)(Jc.selectArticleTypes,(e=>(0,le.values)(e))),Jc.selectArticleTypeDefault=(0,Tt.createSelector)([Jc.selectArticleTypeDefaults,(e,t)=>t],((e,t)=>(0,le.get)(e,t,"None"))),Jc.selectArticleTypeValuesFor=(0,Tt.createSelector)([Jc.selectArticleTypeValues,Jc.selectArticleTypeDefault],((e,t)=>Gc(e,t))),Jc.selectPageTypeValues=(0,Tt.createSelector)(Jc.selectPageTypes,(e=>(0,le.values)(e))),Jc.selectPageTypeDefault=(0,Tt.createSelector)([Jc.selectPageTypeDefaults,(e,t)=>t],((e,t)=>(0,le.get)(e,t,"WebPage"))),Jc.selectPageTypeValuesFor=(0,Tt.createSelector)([Jc.selectPageTypeValues,Jc.selectPageTypeDefault],((e,t)=>Gc(e,t)));const Qc=Zc.actions,Xc=Zc.reducer,ed=(e,{userLocale:t})=>gn((0,le.join)([...(0,le.isArray)(null==e?void 0:e.keywords)?e.keywords:[],null==e?void 0:e.routeLabel,null==e?void 0:e.fieldLabel]," "),t),td=(e,t="",{userLocale:s})=>(0,le.reduce)(e,((e,r,a)=>{const o=(0,le.join)((0,le.filter)([t,a],Boolean),".");return"other_social_urls"===a?{...e,[o]:{route:null==r?void 0:r.route,routeLabel:null==r?void 0:r.routeLabel,fieldId:null==r?void 0:r.fieldId,fieldLabel:null==r?void 0:r.fieldLabel,keywords:ed(r,{userLocale:s})}}:null!=r&&r.route?{...e,[o]:{...r,keywords:ed(r,{userLocale:s})}}:{...e,...td(r,o,{userLocale:s})}}),{}),sd=()=>{const e=(0,le.get)(window,"wpseoScriptData.postTypes",{}),t=(0,le.get)(window,"wpseoScriptData.taxonomies",{}),s=(0,le.get)(window,"wpseoScriptData.preferences.userLocale",{});return{index:En(e,t,{userLocale:s})}},rd=(0,Tt.createSlice)({name:"search",initialState:sd(),reducers:{}}),ad={selectSearchIndex:e=>(0,le.get)(e,"search.index",{})};ad.selectQueryableSearchIndex=(0,Tt.createSelector)([ad.selectSearchIndex,e=>Xl.selectPreference(e,"userLocale")],((e,t)=>td(e,"",{userLocale:t})));const od=rd.actions,nd=rd.reducer,id=(0,Tt.createEntityAdapter)(),ld="fetchUsers",cd=()=>id.getInitialState({status:Qt,error:""}),dd=e=>({id:null==e?void 0:e.id,name:(0,le.trim)(null==e?void 0:e.name)||(null==e?void 0:e.slug)||(null==e?void 0:e.id),slug:null==e?void 0:e.slug}),ud=(0,Tt.createSlice)({name:"users",initialState:cd(),reducers:{addOneUser:{reducer:id.addOne,prepare:e=>({payload:dd(e)})},addManyUsers:{reducer:id.addMany,prepare:e=>({payload:(0,le.map)(e,dd)})}},extraReducers:e=>{e.addCase(`${ld}/${Kt}`,(e=>{e.status=Xt})),e.addCase(`${ld}/${Zt}`,((e,t)=>{e.status=es,id.addMany(e,(0,le.map)(t.payload,dd))})),e.addCase(`${ld}/${Jt}`,((e,t)=>{e.status=ts,e.error=t.payload}))}}),pd=id.getSelectors((e=>e.users)),md={selectUserIds:pd.selectIds,selectUserById:pd.selectById,selectUsers:pd.selectEntities};md.selectUsersWith=(0,Tt.createSelector)([md.selectUsers,(e,t={})=>t],((e,t)=>null!=t&&t.id&&!e[t.id]?{...e,[t.id]:{...t}}:e));const fd={...ud.actions,fetchUsers:function*(e){yield{type:`${ld}/${Kt}`};try{const t=yield{type:ld,payload:{...e}};return{type:`${ld}/${Zt}`,payload:t}}catch(e){return{type:`${ld}/${Jt}`,payload:e}}}},hd={[ld]:async({payload:e})=>Gt()({path:`/wp/v2/users?${(0,Rt.buildQueryString)(e)}`})},yd=ud.reducer,{isPromotionActive:wd}=zl.selectors,{currentPromotions:_d}=zl.reducers,{setCurrentPromotions:gd}=zl.actions,bd=({initialState:e={}}={})=>{(0,a.register)((({initialState:e})=>(0,a.createReduxStore)(ea,{actions:{...mc,..._c,...At,...Tc,...Vt,...Uc,...Kl,...ec,...Hc,...Qc,...od,...ic,...fd,setCurrentPromotions:gd},selectors:{...cc,...pc,...wc,...Ct,...Lc,...jt,...Bc,...Yl,...Xl,...Wc,...Jc,...ad,...oc,...md,isPromotionActive:wd},initialState:(0,le.merge)({},{defaultSettingValues:dc(),fallbacks:hc(),[Nt]:Ot(),media:vc(),[Dt]:Ut(),[Ic]:Mc(),postTypes:ql(),preferences:Jl(),replacementVariables:zc(),schema:Kc(),search:sd(),taxonomies:sc(),users:cd(),currentPromotions:{promotions:[]}},e),reducer:(0,a.combineReducers)({defaultSettingValues:fc,fallbacks:gc,[Nt]:Mt,media:$c,[Dt]:zt,[Ic]:Vc,postTypes:Zl,preferences:tc,replacementVariables:Yc,schema:Xc,search:nd,taxonomies:lc,users:yd,currentPromotions:_d}),controls:{...Fc,...hd,...Gl,...nc,...jc}}))({initialState:e}))};n()((()=>{const t=document.getElementById("yoast-seo-settings");if(!t)return;const s=document.createElement("div"),o=s.attachShadow({mode:"open"});document.body.appendChild(s);const n=(0,le.get)(window,"wpseoScriptData.settings",{}),c=(0,le.get)(window,"wpseoScriptData.fallbacks",{}),d=(0,le.get)(window,"wpseoScriptData.postTypes",{}),u=(0,le.get)(window,"wpseoScriptData.taxonomies",{}),p=(0,le.get)(window,"wpseoScriptData.showNewContentTypeNotification",!1)?{"new-content-type":{id:"new-content-type",variant:"info",size:"large",title:(0,Lt.__)("New type of content added to your site!","wordpress-seo"),description:(0,Lt.__)("Please see the “New” badges and review the Search appearance settings.","wordpress-seo")}}:{};bd({initialState:{notifications:p,[Nt]:(0,le.get)(window,"wpseoScriptData.linkParams",{}),currentPromotions:{promotions:(0,le.get)(window,"wpseoScriptData.currentPromotions",[])}}}),(async({settings:e,fallbacks:t})=>{const s=(0,le.get)(e,"wpseo_titles",{}),r=(0,le.filter)([(0,le.get)(e,"wpseo_social.og_default_image_id","0"),(0,le.get)(e,"wpseo_titles.open_graph_frontpage_image_id","0"),(0,le.get)(e,"wpseo_titles.company_logo_id","0"),(0,le.get)(e,"wpseo_titles.person_logo_id","0"),(0,le.get)(t,"siteLogoId","0"),...(0,le.reduce)(s,((e,t,s)=>(0,le.includes)(s,"social-image-id")?[...e,t]:e),[])],Boolean),o=(0,le.chunk)(r,100),{fetchMedia:n}=(0,a.dispatch)(ea);(0,le.forEach)(o,n)})({settings:n,fallbacks:c}),(async({settings:e})=>{const t=(0,le.get)(e,"wpseo_titles.company_or_person_user_id"),{fetchUsers:s}=(0,a.dispatch)(ea);t&&s({include:[t]})})({settings:n}),document.querySelector('[href="#wpbody-content"]').addEventListener("click",(e=>{var t,s;e.preventDefault(),window.outerWidth>782?null===(s=document.getElementById("link-yoast-logo"))||void 0===s||s.focus():null===(t=document.getElementById("button-open-settings-navigation-mobile"))||void 0===t||t.focus()})),document.querySelector('[href="#wp-toolbar"]').addEventListener("click",(e=>{var t;e.preventDefault(),null===(t=document.querySelector("#wp-admin-bar-wp-logo a"))||void 0===t||t.focus()})),(()=>{const e=document.getElementById("wpcontent"),t=document.getElementById("adminmenuwrap");e&&t&&(e.style.minHeight=`${t.offsetHeight}px`)})();const m=(0,a.select)(ea).selectPreference("isRtl",!1);(0,i.render)((0,e.createElement)(l.Root,{context:{isRtl:m}},(0,e.createElement)(St.StyleSheetManager,{target:o},(0,e.createElement)(r.SlotFillProvider,null,(0,e.createElement)(gt,null,(0,e.createElement)(K,{initialValues:n,validationSchema:Wi(d,u),onSubmit:kn},(0,e.createElement)(Vl,null)))))),t)}))})()})();
tag. For example, gclid. */ (0,Lt.__)("Note that the following commonly-used parameters will not be removed: %1$s, %2$s, %3$s, %4$s, %5$s, %6$s, and %7$s.","wordpress-seo"),"","","","","","",""),{code1:(0,e.createElement)(l.Code,null,"301"),code2:(0,e.createElement)(l.Code,{variant:"block"},"https://www.example.com/?unknown_parameter=yes"),code3:(0,e.createElement)(l.Code,{variant:"block"},"https://www.example.com"),code4:(0,e.createElement)(l.Code,null,"gclid"),code5:(0,e.createElement)(l.Code,null,"gtm_debug"),code6:(0,e.createElement)(l.Code,null,"utm_campaign"),code7:(0,e.createElement)(l.Code,null,"utm_content"),code8:(0,e.createElement)(l.Code,null,"utm_medium"),code9:(0,e.createElement)(l.Code,null,"utm_source"),code10:(0,e.createElement)(l.Code,null,"utm_term")}),cleanPermalinksExtraVariables:(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: * %1$s expands to `unknown_parameter`. * %2$s and %3$s both expand to an example within a tag. */ (0,Lt.__)("Prevents specific URL parameters from being removed by the above feature. E.g., adding %1$s will prevent %2$s from being redirected to %3$s. You can add multiple parameters and separate them by using enter or a comma.","wordpress-seo"),"","",""),{code1:(0,e.createElement)(l.Code,null,"unknown_parameter"),code2:(0,e.createElement)(l.Code,null,"https://www.example.com/?unknown_parameter=yes"),code3:(0,e.createElement)(l.Code,null,"https://www.example.com")})})),[]),{values:m}=q(),{remove_feed_global_comments:f,remove_feed_post_comments:h,search_cleanup:y,search_cleanup_emoji:w,search_cleanup_patterns:_,clean_permalinks:g}=m.wpseo;return(0,e.createElement)(uo,{title:(0,Lt.__)("Crawl optimization","wordpress-seo"),description:p.page},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("Remove unwanted metadata","wordpress-seo"),description:p.removeUnwantedMetadata},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_shortlinks",id:"input-wpseo-remove_shortlinks",label:(0,Lt.__)("Remove shortlinks","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links to WordPress' internal 'shortlink' URLs for your posts.","wordpress-seo")," ",p.removeShortlinks),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_rest_api_links",id:"input-wpseo-remove_rest_api_links",label:(0,Lt.__)("Remove REST API links","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links to the location of your site’s REST API endpoints.","wordpress-seo")," ",p.removeRestApiLinks),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_rsd_wlw_links",id:"input-wpseo-remove_rsd_wlw_links",label:(0,Lt.__)("Remove RSD / WLW links","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links used by external systems for publishing content to your blog.","wordpress-seo")," ",p.removeRsdWlwLinks),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_oembed_links",id:"input-wpseo-remove_oembed_links",label:(0,Lt.__)("Remove oEmbed links","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links used for embedding your content on other sites.","wordpress-seo")," ",p.removeOembedLinks),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_generator",id:"input-wpseo-remove_generator",label:(0,Lt.__)("Remove generator tag","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove information about the plugins and software used by your site.","wordpress-seo")," ",p.removeGenerator),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_pingback_header",id:"input-wpseo-remove_pingback_header",label:(0,Lt.__)("Pingback HTTP header","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links which allow others sites to ‘ping’ yours when they link to you.","wordpress-seo")," ",p.removePingbackHeader),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_powered_by_header",id:"input-wpseo-remove_powered_by_header",label:(0,Lt.__)("Remove powered by HTTP header","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove information about the plugins and software used by your site.","wordpress-seo")," ",p.removePoweredByHeader)),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Disable unwanted content formats","wordpress-seo"),description:(0,Lt.__)("WordPress outputs your content in many different formats, across many different URLs (like RSS feeds of your posts and categories). It’s generally good practice to disable the formats you’re not actively using.","wordpress-seo")},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_global",id:"input-wpseo-remove_feed_global",label:(0,Lt.__)("Remove global feed","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide an overview of your recent posts.","wordpress-seo")," ",p.removeFeedGlobal),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_global_comments",id:"input-wpseo-remove_feed_global_comments",label:(0,Lt.__)("Remove global comment feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide an overview of recent comments on your site.","wordpress-seo")," ",p.removeFeedGlobalComments,(0,Lt.__)("Also disables post comment feeds.","wordpress-seo")),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_post_comments",id:"input-wpseo-remove_feed_post_comments",label:(0,Lt.__)("Remove post comments feeds","wordpress-seo"),disabled:f,checked:f||h,className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about recent comments on each post.","wordpress-seo")," ",p.removeFeedPostComments),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_authors",id:"input-wpseo-remove_feed_authors",label:(0,Lt.__)("Remove post authors feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about recent posts by specific authors.","wordpress-seo")," ",p.removeFeedAuthors),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_post_types",id:"input-wpseo-remove_feed_post_types",label:(0,Lt.__)("Remove post type feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your recent posts, for each post type.","wordpress-seo")," ",p.removeFeedPostTypes),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_categories",id:"input-wpseo-remove_feed_categories",label:(0,Lt.__)("Remove category feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your recent posts, for each category.","wordpress-seo")," ",p.removeFeedCategories),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_tags",id:"input-wpseo-remove_feed_tags",label:(0,Lt.__)("Remove tag feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your recent posts, for each tag.","wordpress-seo")," ",p.removeFeedTags),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_custom_taxonomies",id:"input-wpseo-remove_feed_custom_taxonomies",label:(0,Lt.__)("Remove custom taxonomy feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your recent posts, for each custom taxonomy.","wordpress-seo")," ",p.removeFeedCustomTaxonomies),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_search",id:"input-wpseo-remove_feed_search",label:(0,Lt.__)("Remove search results feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your search results.","wordpress-seo")," ",p.removeFeedSearch),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_atom_rdf_feeds",id:"input-wpseo-remove_atom_rdf_feeds",label:(0,Lt.__)("Remove Atom / RDF feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide alternative (legacy) formats of all of the above.","wordpress-seo")," ",p.removeAtomRdfFeeds)),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Remove unused resources","wordpress-seo"),description:(0,Lt.__)("WordPress loads lots of resources, some of which your site might not need. If you’re not using these, removing them can speed up your pages and save resources.","wordpress-seo")},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_emoji_scripts",id:"input-wpseo-remove_emoji_scripts",label:(0,Lt.__)("Remove emoji scripts","wordpress-seo"),description:(0,Lt.__)("Remove JavaScript used for converting emoji characters in older browsers.","wordpress-seo"),className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_wp_json_crawling",id:"input-wpseo-deny_wp_json_crawling",label:(0,Lt.__)("Remove WP-JSON API","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling of WordPress' JSON API endpoints.","wordpress-seo")," ",p.denyWpJsonCrawling)),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Block unwanted bots","wordpress-seo"),description:p.blockUnwantedBots},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_adsbot_crawling",id:"input-wpseo-deny_adsbot_crawling",label:(0,Lt.__)("Prevent Google AdsBot from crawling","wordpress-seo"),description:(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by Google AdsBot. You should only enable this setting if you're not using Google Ads on your site.","wordpress-seo"),className:"yst-max-w-2xl"}),(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!s&&!t,variant:"card",cardLink:c,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...r},(0,e.createElement)(pl,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_google_extended_crawling",id:"input-wpseo-deny_google_extended_crawling",label:(0,Lt.__)("Prevent Google Gemini and Vertex AI bots from crawling","wordpress-seo"),description:(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by the Google-Extended bot. Enabling this setting won’t prevent Google from indexing your website.","wordpress-seo"),labelSuffix:t&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium"),className:"yst-max-w-2xl",isDummy:!t}),(0,e.createElement)(pl,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_gptbot_crawling",id:"input-wpseo-deny_gptbot_crawling",label:(0,Lt.__)("Prevent OpenAI GPTBot from crawling","wordpress-seo"),description:(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by OpenAI GPTBot.","wordpress-seo"),labelSuffix:t&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium"),className:"yst-max-w-2xl",isDummy:!t}),(0,e.createElement)(pl,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_ccbot_crawling",id:"input-wpseo-deny_ccbot_crawling",label:(0,Lt.__)("Prevent Common Crawl CCBot from crawling","wordpress-seo"),description:(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by Common Crawl CCBot.","wordpress-seo"),labelSuffix:t&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium"),className:"yst-max-w-2xl",isDummy:!t}))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Internal site search cleanup","wordpress-seo"),description:(0,Lt.__)("Your internal site search can create lots of confusing URLs for search engines, and can even be used as a way for SEO spammers to attack your site. Most sites will benefit from experimenting with these protections and optimizations, even if you don’t have a search feature in your theme.","wordpress-seo")},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.search_cleanup",id:"input-wpseo-search_cleanup",label:(0,Lt.__)("Filter search terms","wordpress-seo"),description:(0,Lt.__)("Enables advanced settings for protecting your internal site search URLs.","wordpress-seo"),className:"yst-max-w-2xl"}),(0,e.createElement)(dl,{as:l.TextField,type:"number",name:"wpseo.search_character_limit",id:"input-wpseo-search_character_limit",label:(0,Lt.__)("Max number of characters to allow in searches","wordpress-seo"),description:(0,Lt.__)("Limit the length of internal site search queries to reduce the impact of spam attacks and confusing URLs. Please enter a number between 1 and 50.","wordpress-seo"),disabled:!y}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.search_cleanup_emoji",id:"input-wpseo-search_cleanup_emoji",label:(0,Lt.__)("Filter searches with emojis and other special characters","wordpress-seo"),description:(0,Lt.__)("Block internal site searches which contain complex and non-alphanumeric characters, as they may be part of a spam attack.","wordpress-seo"),disabled:!y,checked:y&&w,className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.search_cleanup_patterns",id:"input-wpseo-search_cleanup_patterns",label:(0,Lt.__)("Filter searches with common spam patterns","wordpress-seo"),description:(0,Lt.__)("Block internal site searches which match the patterns of known spam attacks.","wordpress-seo"),disabled:!y,checked:y&&_,className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.redirect_search_pretty_urls",id:"input-wpseo-redirect_search_pretty_urls",label:(0,Lt.__)("Redirect pretty URLs to ‘raw’ formats","wordpress-seo"),description:p.redirectSearchPrettyUrls,className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_search_crawling",id:"input-wpseo-deny_search_crawling",label:(0,Lt.__)("Prevent crawling of internal site search URLs","wordpress-seo"),description:p.denySearchCrawling,className:"yst-max-w-2xl"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Advanced: URL cleanup","wordpress-seo"),description:p.advancedUrlCleanup},(0,e.createElement)(l.Alert,{id:"alert-permalink-cleanup-settings",variant:"error"},(0,i.createInterpolateElement)((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. (0,Lt.__)("Warning! These are expert features, so make sure you know what you're doing before using this setting. You might break your site. %1$sRead more about how your site can be affected%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)("a",{id:"link-permalink-cleanup-info",href:o,target:"_blank",rel:"noopener noreferrer"})})),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.clean_campaign_tracking_urls",id:"input-wpseo-clean_campaign_tracking_urls",label:(0,Lt.__)("Optimize Google Analytics utm tracking parameters","wordpress-seo"),description:p.cleanCampaignTrackingUrls,className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.clean_permalinks",id:"input-wpseo-clean_permalinks",label:(0,Lt.__)("Remove unregistered URL parameters","wordpress-seo"),description:p.cleanPermalinks,className:"yst-max-w-2xl"}),(0,e.createElement)(ba,{name:"wpseo.clean_permalinks_extra_variables",id:"input-wpseo-clean_permalinks_extra_variables",label:(0,Lt.__)("Additional URL parameters to allow","wordpress-seo"),description:p.cleanPermalinksExtraVariables,disabled:!g})))))},fl=Ca(_a),hl=()=>{const t=(0,Lt.__)("Date archives","wordpress-seo"),s=aa("selectPreference",[],"userLocale"),r=(0,i.useMemo)((()=>gn(t,s)),[t,s]),a=aa("selectUpsellSettingsAsProps"),o=aa("selectReplacementVariablesFor",[],"date_archive","custom-post-type_archive"),n=aa("selectRecommendedReplacementVariablesFor",[],"date_archive","custom-post-type_archive"),c=aa("selectLink",[],"https://yoa.st/show-x"),d=aa("selectPreference",[],"isPremium"),u=aa("selectLink",[],"https://yoa.st/4e0"),p=aa("selectExampleUrl",[],"/2020/"),m=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})})),[]),f=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to "Date archives". * %2$s expands to an example URL, e.g. https://example.com/author/example/. * %3$s expands to "date archives". */ (0,Lt.__)("%1$s (e.g. %2$s) are based on publication dates. From an SEO perspective, the posts in these archives have no real relation to the other posts except for their publication dates, which doesn’t say much about the content. They could also lead to duplicate content issues. This is why we recommend you to disable %3$s.","wordpress-seo"),t,"",r),{exampleUrl:(0,e.createElement)(l.Code,null,p)}))),{values:h}=q(),{opengraph:y}=h.wpseo_social,{"disable-date":w,"noindex-archive-wpseo":_}=h.wpseo_titles;return(0,e.createElement)(uo,{title:t,description:f},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)("fieldset",{className:"yst-min-width-0 yst-space-y-8"},(0,e.createElement)(ua,{name:"wpseo_titles.disable-date",id:"input-wpseo_titles-disable-date",label:(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Enable %1$s","wordpress-seo"),r),description:(0,Lt.sprintf)( // translators: %1$s expands to "Date archives". (0,Lt.__)("%1$s can cause duplicate content issues. For most sites, we recommend that you disable this setting.","wordpress-seo"),t),className:"yst-max-w-sm"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Search appearance","wordpress-seo"),description:(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Determine how your %1$s should look in search engines.","wordpress-seo"),r)},(0,e.createElement)(ua,{name:"wpseo_titles.noindex-archive-wpseo",id:"input-wpseo_titles-noindex-archive-wpseo",label:(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Show %1$s in search results","wordpress-seo"),r),description:(0,e.createElement)(e.Fragment,null,(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps. We recommend that you disable this setting.","wordpress-seo"),r)," ",(0,e.createElement)(l.Link,{href:c,target:"_blank",rel:"noopener"},(0,Lt.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:w,checked:!w&&!_,className:"yst-max-w-sm"}),(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.title-archive-wpseo",fieldId:"input-wpseo_titles-title-archive-wpseo",label:(0,Lt.__)("SEO title","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:n,disabled:w}),(0,e.createElement)(_a,{type:"description",name:"wpseo_titles.metadesc-archive-wpseo",fieldId:"input-wpseo_titles-metadesc-archive-wpseo",label:(0,Lt.__)("Meta description","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:n,disabled:w,className:"yst-replacevar--description"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},(0,e.createElement)("span",null,(0,Lt.__)("Social media appearance","wordpress-seo")),d&&(0,e.createElement)(l.Badge,{variant:"upsell"},"Premium")),description:(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Determine how your %1$s should look on social media by default.","wordpress-seo"),r)},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!d,variant:"card",cardLink:u,cardText:(0,Lt.sprintf)( // translators: %1$s expands to Premium. (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...a},(0,e.createElement)(Wa,{isEnabled:!d||y}),(0,e.createElement)(ha,{id:"wpseo_titles-social-image-archive-wpseo",label:(0,Lt.__)("Social image","wordpress-seo"),previewLabel:m,mediaUrlName:"wpseo_titles.social-image-url-archive-wpseo",mediaIdName:"wpseo_titles.social-image-id-archive-wpseo",disabled:w||!y,isDummy:!d}),(0,e.createElement)(fl,{type:"title",name:"wpseo_titles.social-title-archive-wpseo",fieldId:"input-wpseo_titles-social-title-archive-wpseo",label:(0,Lt.__)("Social title","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:n,disabled:w||!y,isDummy:!d}),(0,e.createElement)(fl,{type:"description",name:"wpseo_titles.social-description-archive-wpseo",fieldId:"input-wpseo_titles-social-description-archive-wpseo",label:(0,Lt.__)("Social description","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:n,className:"yst-replacevar--description",disabled:w||!y,isDummy:!d}))))))},yl=Ca(_a),wl=()=>{const{name:t,label:s,singularLabel:r}=aa("selectTaxonomy",[],"post_format"),a=aa("selectPreference",[],"userLocale"),o=(0,i.useMemo)((()=>gn(s,a)),[s,a]),n=(0,i.useMemo)((()=>gn(r,a)),[r,a]),c=aa("selectUpsellSettingsAsProps"),d=aa("selectReplacementVariablesFor",[t],t,"term-in-custom-taxonomy"),u=aa("selectRecommendedReplacementVariablesFor",[t],t,"term-in-custom-taxonomy"),p=aa("selectLink",[],"https://yoa.st/show-x"),m=aa("selectPreference",[],"isPremium"),f=aa("selectLink",[],"https://yoa.st/4e0"),h=aa("selectExampleUrl",[],"/format/example/"),y=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})})),[]),w=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("(e.g., %1$s)","wordpress-seo"),""),{exampleUrl:(0,e.createElement)(l.Code,null,h)}))),{values:_}=q(),{opengraph:g}=_.wpseo_social,{"disable-post_format":b,"noindex-tax-post_format":v}=_.wpseo_titles;return(0,e.createElement)(uo,{title:(0,Lt.__)("Format archives","wordpress-seo"),description:w},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(ua,{name:"wpseo_titles.disable-post_format",id:"input-wpseo_titles-disable-post_format",label:(0,Lt.__)("Enable format-based archives","wordpress-seo"),description:(0,Lt.__)("Format-based archives can cause duplicate content issues. For most sites, we recommend that you disable this setting.","wordpress-seo"),className:"yst-max-w-sm"}),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Search appearance","wordpress-seo"),description:(0,Lt.sprintf)( // translators: %1$s expands to "formats". %2$s expands to "Yoast SEO". (0,Lt.__)("Determine how your %1$s should look in search engines. You can always customize the settings for individual %1$s in the %2$s metabox.","wordpress-seo"),o,"Yoast SEO")},(0,e.createElement)(ua,{name:`wpseo_titles.noindex-tax-${t}`,id:`input-wpseo_titles-noindex-tax-${t}`,label:(0,Lt.sprintf)( // translators: %1$s expands to "format". (0,Lt.__)("Show %1$s archives in search results","wordpress-seo"),n),description:(0,e.createElement)(e.Fragment,null,(0,Lt.sprintf)( // translators: %1$s expands to "formats". (0,Lt.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps. We recommend that you disable this setting.","wordpress-seo"),o)," ",(0,e.createElement)(l.Link,{href:p,target:"_blank",rel:"noopener"},(0,Lt.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:b,checked:!b&&!v,className:"yst-max-w-sm"}),(0,e.createElement)(_a,{type:"title",name:`wpseo_titles.title-tax-${t}`,fieldId:`input-wpseo_titles-title-tax-${t}`,label:(0,Lt.__)("SEO title","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,disabled:b}),(0,e.createElement)(_a,{type:"description",name:`wpseo_titles.metadesc-tax-${t}`,fieldId:`input-wpseo_titles-metadesc-tax-${t}`,label:(0,Lt.__)("Meta description","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,disabled:b,className:"yst-replacevar--description"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},(0,e.createElement)("span",null,(0,Lt.__)("Social media appearance","wordpress-seo")),m&&(0,e.createElement)(l.Badge,{variant:"upsell"},"Premium")),description:(0,Lt.sprintf)( // translators: %1$s expands to "formats". %2$s expands to "Yoast SEO". (0,Lt.__)("Determine how your %1$s should look on social media by default. You can always customize the settings for individual %1$s in the %2$s metabox.","wordpress-seo"),o,"Yoast SEO")},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!m,variant:"card",cardLink:f,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...c},(0,e.createElement)(Wa,{isEnabled:!m||g}),(0,e.createElement)(ha,{id:`wpseo_titles-social-image-tax-${t}`,label:(0,Lt.__)("Social image","wordpress-seo"),previewLabel:y,mediaUrlName:`wpseo_titles.social-image-url-tax-${t}`,mediaIdName:`wpseo_titles.social-image-id-tax-${t}`,disabled:b||!g,isDummy:!m}),(0,e.createElement)(yl,{type:"title",name:`wpseo_titles.social-title-tax-${t}`,fieldId:`input-wpseo_titles-social-title-tax-${t}`,label:(0,Lt.__)("Social title","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,disabled:b||!g,isDummy:!m}),(0,e.createElement)(yl,{type:"description",name:`wpseo_titles.social-description-tax-${t}`,fieldId:`input-wpseo_titles-social-description-tax-${t}`,label:(0,Lt.__)("Social description","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,className:"yst-replacevar--description",disabled:b||!g,isDummy:!m}))))))},_l=()=>{const t=aa("selectReplacementVariablesFor",[],"homepage","page"),s=aa("selectRecommendedReplacementVariablesFor",[],"homepage","page"),r=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})})),[]),{values:a}=q(),{opengraph:o}=a.wpseo_social;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(na,{title:(0,Lt.__)("Search appearance","wordpress-seo"),description:(0,Lt.__)("Determine how your homepage should look in the search results.","wordpress-seo")},(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.title-home-wpseo",fieldId:"input-wpseo_titles-title-home-wpseo",label:(0,Lt.__)("SEO title","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s}),(0,e.createElement)(_a,{type:"description",name:"wpseo_titles.metadesc-home-wpseo",fieldId:"input-wpseo_titles-metadesc-home-wpseo",label:(0,Lt.__)("Meta description","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s,className:"yst-replacevar--description"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Social media appearance","wordpress-seo"),description:(0,Lt.__)("Determine how your homepage should look on social media.","wordpress-seo")},(0,e.createElement)(Wa,{isEnabled:o /* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */,text:(0,Lt.__)("The %1$ssocial image%2$s, %1$ssocial title%2$s and %1$ssocial description%2$s require Open Graph data, which is currently disabled in the ‘Social sharing’ section in %3$sSite features%4$s.","wordpress-seo")}),(0,e.createElement)(ha,{id:"wpseo_titles-open_graph_frontpage_image",label:(0,Lt.__)("Social image","wordpress-seo"),previewLabel:r,mediaUrlName:"wpseo_titles.open_graph_frontpage_image",mediaIdName:"wpseo_titles.open_graph_frontpage_image_id",disabled:!o}),(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.open_graph_frontpage_title",fieldId:"input-wpseo_titles-open_graph_frontpage_title",label:(0,Lt.__)("Social title","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s,disabled:!o}),(0,e.createElement)(_a,{type:"description",name:"wpseo_titles.open_graph_frontpage_desc",fieldId:"input-wpseo_titles-open_graph_frontpage_desc",label:(0,Lt.__)("Social description","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s,className:"yst-replacevar--description",disabled:!o})))},gl=()=>{const t=aa("selectPreference",[],"homepagePageEditUrl"),s=aa("selectPreference",[],"homepagePostsEditUrl"),r=(0,i.useMemo)((()=>Xi((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("You can determine the title and description for the homepage by %1$sediting the homepage itself%2$s.","wordpress-seo"),"",""),t,"link-homepage-page-edit"))),a=(0,i.useMemo)((()=>Xi((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("You can determine the title and description for the blog page by %1$sediting the blog page itself%2$s.","wordpress-seo"),"",""),s,"link-homepage-posts-page-edit")));return(0,e.createElement)("div",{className:"yst-max-w-screen-sm"},(0,e.createElement)(l.Alert,null,(0,e.createElement)("p",null,r),s&&(0,e.createElement)("p",{className:"yst-pt-2"},a)))},bl=()=>{const t=aa("selectPreference",[],"homepageIsLatestPosts");return(0,e.createElement)(uo,{title:(0,Lt.__)("Homepage","wordpress-seo"),description:(0,Lt.__)("Determine how your homepage should look in the search results and on social media. This is what people probably will see when they search for your brand name.","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},t&&(0,e.createElement)(_l,null),!t&&(0,e.createElement)(gl,null))))},vl=()=>{const{name:t,label:s,hasSchemaArticleType:r}=aa("selectPostType",[],"attachment"),a=aa("selectPreference",[],"userLocale"),o=(0,i.useMemo)((()=>gn(s,a)),[s,a]),n=aa("selectReplacementVariablesFor",[t],t,"custom_post_type"),c=aa("selectRecommendedReplacementVariablesFor",[t],t,"custom_post_type"),d=aa("selectArticleTypeValuesFor",[t],t),u=aa("selectPageTypeValuesFor",[t],t),p=aa("selectLink",[],"https://yoa.st/media-pages-thin-content"),m=aa("selectLink",[],"https://yoa.st/show-x"),{values:f}=q(),{"disable-attachment":h,"noindex-attachment":y}=f.wpseo_titles,w=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s and %2$s are replaced by opening and closing tags. * %3$s expands to "media". * %4$s expand to "Yoast SEO". * %5$s expand to "WordPress". */ (0,Lt.__)("When you upload media (e.g. an image or video), %5$s automatically creates a %3$s page (attachment URL) for it. These pages are quite empty and could cause %1$sthin content problems and lead to excess pages on your site%2$s. Therefore, %4$s disables them by default (and redirects the attachment URL to the media itself).","wordpress-seo"),"","",o,"Yoast SEO","WordPress"),{a:(0,e.createElement)("a",{href:p,target:"_blank",rel:"noopener noreferrer"})})));return(0,e.createElement)(uo,{title:(0,Lt.sprintf)( // translators: %1$s expands to "Media". (0,Lt.__)("%1$s pages","wordpress-seo"),s),description:w},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)("fieldset",{className:"yst-min-width-0 yst-space-y-8"},(0,e.createElement)(ua,{name:`wpseo_titles.disable-${t}`,id:`input-wpseo_titles-disable-${t}`,label:(0,Lt.sprintf)( // translators: %1$s expands to "media". (0,Lt.__)("Enable %1$s pages","wordpress-seo"),o),description:(0,Lt.sprintf)( // translators: %1$s expands to "media". (0,Lt.__)("We recommend keeping %1$s pages disabled. This will cause all attachment URLs to be redirected to the media itself.","wordpress-seo"),o),className:"yst-max-w-sm"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Search appearance","wordpress-seo"),description:(0,Lt.sprintf)( // translators: %1$s expands to "media". %3$s expands to "Yoast SEO". (0,Lt.__)("Determine how your %1$s pages should look in search engines. You can always customize the settings for individual %1$s pages in the %2$s metabox.","wordpress-seo"),o,"Yoast SEO")},(0,e.createElement)(ua,{name:`wpseo_titles.noindex-${t}`,id:`input-wpseo_titles-noindex-${t}`,label:(0,Lt.sprintf)( // translators: %1$s expands to "media". (0,Lt.__)("Show %1$s pages in search results","wordpress-seo"),o),description:(0,e.createElement)(e.Fragment,null,(0,Lt.sprintf)( // translators: %1$s expands to "media". (0,Lt.__)("Disabling this means that %1$s pages created by WordPress will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),o),(0,e.createElement)("br",null),(0,e.createElement)(l.Link,{href:m,target:"_blank",rel:"noopener"},(0,Lt.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:h,checked:!h&&!y,className:"yst-max-w-sm"}),(0,e.createElement)(_a,{type:"title",name:`wpseo_titles.title-${t}`,fieldId:`input-wpseo_titles-title-${t}`,label:(0,Lt.__)("SEO title","wordpress-seo"),replacementVariables:n,recommendedReplacementVariables:c,disabled:h}),(0,e.createElement)(_a,{type:"description",name:`wpseo_titles.metadesc-${t}`,fieldId:`input-wpseo_titles-metadesc-${t}`,label:(0,Lt.__)("Meta description","wordpress-seo"),replacementVariables:n,recommendedReplacementVariables:c,disabled:h,className:"yst-replacevar--description"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Schema","wordpress-seo"),description:(0,Lt.sprintf)( // translators: %1$s expands to "media". %3$s expands to "Yoast SEO". (0,Lt.__)("Determine how your %1$s pages should be described by default in your site's Schema.org markup. You can always customize the settings for individual %1$s pages in the %2$s metabox.","wordpress-seo"),o,"Yoast SEO")},(0,e.createElement)(Ra,{as:l.SelectField,type:"select",name:`wpseo_titles.schema-page-type-${t}`,id:`input-wpseo_titles-schema-page-type-${t}`,label:(0,Lt.__)("Page type","wordpress-seo"),options:u,disabled:h,className:"yst-max-w-sm"}),r&&(0,e.createElement)("div",null,(0,e.createElement)(Ra,{as:l.SelectField,type:"select",name:`wpseo_titles.schema-article-type-${t}`,id:`input-wpseo_titles-schema-article-type-${t}`,label:(0,Lt.__)("Article type","wordpress-seo"),options:d,disabled:h,className:"yst-max-w-sm"}),(0,e.createElement)(za,{name:t,disabled:h}))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Additional settings","wordpress-seo")},(0,e.createElement)(Ra,{as:l.ToggleField,type:"checkbox",name:`wpseo_titles.display-metabox-pt-${t}`,id:`input-wpseo_titles-display-metabox-pt-${t}`,label:(0,Lt.__)("Enable SEO controls and assessments","wordpress-seo"),description:(0,Lt.__)("Show or hide our tools and controls in the attachment editor.","wordpress-seo"),disabled:h,className:"yst-max-w-sm"})))))},El=({children:t})=>(0,e.createElement)(l.Table.Cell,{className:"yst-font-medium"},(0,e.createElement)("span",{className:"yst-text-slate-900"},t));El.propTypes={children:ir().node.isRequired};const xl=()=>(0,e.createElement)(uo,{title:(0,Lt.__)("RSS","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("RSS feed","wordpress-seo"),description:(0,Lt.__)("Automatically add content to your RSS. This enables you to add links back to your blog and your blog posts, helping search engines identify you as the original source of the content.","wordpress-seo")},(0,e.createElement)(te,{as:l.TextareaField,type:"textarea",rows:4,name:"wpseo_titles.rssbefore",id:"input-wpseo_titles-rssbefore",label:(0,Lt.__)("Content to put before each post in the feed","wordpress-seo")}),(0,e.createElement)(te,{as:l.TextareaField,type:"textarea",rows:4,name:"wpseo_titles.rssafter",id:"input-wpseo_titles-rssafter",label:(0,Lt.__)("Content to put after each post in the feed","wordpress-seo")})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{as:"section",title:(0,Lt.__)("Available variables","wordpress-seo"),description:(0,Lt.__)("You can use the following variables within the content, they will be replaced by the value on the right.","wordpress-seo")},(0,e.createElement)(l.Table,null,(0,e.createElement)(l.Table.Head,null,(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(l.Table.Header,{scope:"col"},(0,Lt.__)("Variable","wordpress-seo")),(0,e.createElement)(l.Table.Header,{scope:"col"},(0,Lt.__)("Description","wordpress-seo")))),(0,e.createElement)(l.Table.Body,null,(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(El,null,"%%AUTHORLINK%%"),(0,e.createElement)(l.Table.Cell,null,(0,Lt.__)("A link to the archive for the post author, with the author's name as anchor text.","wordpress-seo"))),(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(El,null,"%%POSTLINK%%"),(0,e.createElement)(l.Table.Cell,null,(0,Lt.__)("A link to the post, with the title as anchor text.","wordpress-seo"))),(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(El,null,"%%BLOGLINK%%"),(0,e.createElement)(l.Table.Cell,null,(0,Lt.__)("A link to your site, with your site's name as anchor text.","wordpress-seo"))),(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(El,null,"%%BLOGDESCLINK%%"),(0,e.createElement)(l.Table.Cell,null,(0,Lt.__)("A link to your site, with your site's name and description as anchor text.","wordpress-seo"))))))))),kl=Oa(l.ToggleField),Sl=Aa($a),Ll=()=>{const t=(0,i.useMemo)((()=>(0,le.get)(window,"wpseoScriptData.separators",{})),[]),s=aa("selectPreference",[],"generalSettingsUrl"),r=aa("selectPreference",[],"canManageOptions",!1),a=aa("selectPreference",[],"showForceRewriteTitlesSetting",!1),o=aa("selectLink",[],"https://yoa.st/site-basics-replacement-variables"),n=aa("selectLink",[],"https://yoa.st/usage-tracking-2"),c=aa("selectLink",[],"https://yoa.st/site-policies-learn-more"),d=aa("selectPreference",[],"siteTitle",""),u=aa("selectLink",[],"https://yoa.st/site-policies-upsell"),p=aa("selectPreference",[],"isPremium"),m=aa("selectUpsellSettingsAsProps"),{fetchPages:f}=ta(),h=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("Usage tracking allows us to track some data about your site to improve our plugin. %1$sLearn more about which data we track and why%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)("a",{id:"link-usage-tracking",href:n,target:"_blank",rel:"noopener"})})),[]),y=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("Select the pages on your website which contain information about your organizational and publishing policies. Some of these might not apply to your site, and you can select the same page for multiple policies. %1$sLearn more about why setting your site policies is important%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)("a",{id:"link-site-policies",href:c,target:"_blank",rel:"noopener"})})),[c]),w=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s and %2$s expand to an opening and closing emphasis tag. %3$s and %4$s expand to an opening and closing anchor tag. */ (0,Lt.__)("Set the basic info for your website. You can use %1$stagline%2$s and %1$sseparator%2$s as %3$sreplacement variables%4$s when configuring the search appearance of your content.","wordpress-seo"),"","","",""),{em:(0,e.createElement)("em",null),a:(0,e.createElement)("a",{id:"site-basics-replacement-variables",href:o,target:"_blank",rel:"noopener"})})),[]),_=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */ (0,Lt.__)("We're sorry, you're not allowed to edit the %1$swebsite name%2$s and %1$stagline%2$s.","wordpress-seo"),"",""),{em:(0,e.createElement)("em",null)})),[]),g=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})})),[]),b=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening anchor tag. * %2$s expands to a closing anchor tag. */ (0,Lt.__)("This field updates the %1$stagline in your WordPress settings%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)("a",{href:`${s}#blogdescription`,target:"_blank",rel:"noopener noreferrer"})})),[]),v=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which describes the editorial principles of your organization. %1$sWhat%2$s do you write about, %1$swho%2$s do you write for, and %1$swhy%2$s?","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),E=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which describes the ownership structure of your organization. It should include information about %1$sfunding%2$s and %1$sgrants%2$s.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),x=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which describes how your organization collects and responds to %1$sfeedback%2$s, engages with the %1$spublic%2$s, and prioritizes %1$stransparency%2$s.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),k=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which outlines your procedure for addressing %1$serrors%2$s (e.g., publishing retractions or corrections).","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),S=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which describes the personal, organizational, and corporate %1$sstandards%2$s of %1$sbehavior%2$s expected by your organization.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),L=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which provides information on your diversity policies for %1$seditorial%2$s content.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),T=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which provides information about your diversity policies for %1$sstaffing%2$s, %1$shiring%2$s and %1$semployment%2$s.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),{values:F}=q(),{opengraph:$}=F.wpseo_social;return(0,i.useEffect)((()=>{f()}),[f]),(0,e.createElement)(uo,{title:(0,Lt.__)("Site basics","wordpress-seo"),description:(0,Lt.__)("Configure the basics for your website.","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("Site info","wordpress-seo"),description:w},!r&&(0,e.createElement)(l.Alert,{variant:"warning",id:"alert-site-defaults-variables",className:"yst-mb-8"},_),(0,e.createElement)("div",{className:"lg:yst-mt-0 lg:yst-col-span-2 yst-space-y-8"},(0,e.createElement)(Da,{as:l.TextField,name:"wpseo_titles.website_name",id:"input-wpseo_titles-website_name",label:(0,Lt.__)("Website name","wordpress-seo"),placeholder:d}),(0,e.createElement)(Da,{as:l.TextField,name:"wpseo_titles.alternate_website_name",id:"input-wpseo_titles-alternate_website_name",label:(0,Lt.__)("Alternate website name","wordpress-seo"),description:(0,Lt.__)("Use the alternate website name for acronyms, or a shorter version of your website's name.","wordpress-seo")}),(0,e.createElement)(te,{as:l.TextField,type:"text",name:"blogdescription",id:"input-blogdescription",label:(0,Lt.__)("Tagline","wordpress-seo"),description:r&&b,readOnly:!r})),(0,e.createElement)(l.RadioGroup,{label:(0,Lt.__)("Title separator","wordpress-seo"),variant:"inline-block"},(0,le.map)(t,(({label:t,aria_label:s},r)=>(0,e.createElement)(te,{key:r,as:l.Radio,type:"radio",variant:"inline-block",name:"wpseo_titles.separator",id:`input-wpseo_titles-separator-${r}`,label:t,isLabelDangerousHtml:!0,"aria-label":s,value:r})))),(0,e.createElement)(Wa,{isEnabled:$,text:/* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */ (0,Lt.__)("The %1$sSite image%2$s requires Open Graph data, which is currently disabled in the ‘Social sharing’ section in %3$sSite features%4$s.","wordpress-seo")}),(0,e.createElement)(ha,{id:"wpseo_social-og_default_image",label:(0,Lt.__)("Site image","wordpress-seo"),description:(0,Lt.__)("This image is used as a fallback for posts/pages that don't have any images set.","wordpress-seo"),previewLabel:g,mediaUrlName:"wpseo_social.og_default_image",mediaIdName:"wpseo_social.og_default_image_id",disabled:!$})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Site preferences","wordpress-seo")},a&&(0,e.createElement)(Ra,{as:l.ToggleField,type:"checkbox",name:"wpseo_titles.forcerewritetitle",id:"input-wpseo_titles-forcerewritetitle",label:(0,Lt.__)("Force rewrite titles","wordpress-seo"),description:(0,Lt.sprintf)(/* translators: %1$s expands to "Yoast SEO" */ (0,Lt.__)("%1$s has auto-detected whether it needs to force rewrite the titles for your pages, if you think it's wrong and you know what you're doing, you can change the setting here.","wordpress-seo"),"Yoast SEO"),className:"yst-max-w-sm"}),(0,e.createElement)(Ra,{as:l.ToggleField,type:"checkbox",name:"wpseo.disableadvanced_meta",id:"input-wpseo-disableadvanced_meta",label:(0,Lt.__)("Restrict advanced settings for authors","wordpress-seo"),description:(0,Lt.sprintf)(/* translators: %1$s expands to "Yoast SEO" */ (0,Lt.__)("By default only editors and administrators can access the Advanced and Schema section of the %1$s sidebar or metabox. Disabling this allows access to all users.","wordpress-seo"),"Yoast SEO"),className:"yst-max-w-sm"}),(0,e.createElement)(Ra,{as:kl,type:"checkbox",name:"wpseo.tracking",id:"input-wpseo-tracking",label:(0,Lt.__)("Usage tracking","wordpress-seo"),description:h,className:"yst-max-w-sm"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)(e.Fragment,null,(0,Lt.__)("Site policies","wordpress-seo"),p&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium")),description:y},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!p,variant:"card",cardLink:u,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...m},(0,e.createElement)(Sl,{name:"wpseo_titles.publishing_principles_id",id:"input-wpseo_titles-publishing_principles_id",label:(0,Lt.__)("Publishing principles","wordpress-seo"),className:"yst-max-w-sm",description:v,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.ownership_funding_info_id",id:"input-wpseo_titles-ownership_funding_info_id",label:(0,Lt.__)("Ownership / Funding info","wordpress-seo"),className:"yst-max-w-sm",description:E,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.actionable_feedback_policy_id",id:"input-wpseo_titles-actionable_feedback_policy_id",label:(0,Lt.__)("Actionable feedback policy","wordpress-seo"),className:"yst-max-w-sm",description:x,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.corrections_policy_id",id:"input-wpseo_titles-corrections_policy_id",label:(0,Lt.__)("Corrections policy","wordpress-seo"),className:"yst-max-w-sm",description:k,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.ethics_policy_id",id:"input-wpseo_titles-ethics_policy_id",label:(0,Lt.__)("Ethics policy","wordpress-seo"),className:"yst-max-w-sm",description:S,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.diversity_policy_id",id:"input-wpseo_titles-diversity_policy_id",label:(0,Lt.__)("Diversity policy","wordpress-seo"),className:"yst-max-w-sm",description:L,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.diversity_staffing_report_id",id:"input-wpseo_titles-diversity_staffing_report_id",label:(0,Lt.__)("Diversity staffing report","wordpress-seo"),className:"yst-max-w-sm",description:T,isDummy:!p}))))))},Tl=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))})),Fl=({name:t,cardId:s,inputId:r,children:a,imageSrc:o,imageAlt:n,isPremiumFeature:c=!1,isPremiumLink:d="",isBetaFeature:u=!1,isNewFeature:p=!1,hasPremiumBadge:m=!1,title:f})=>{const h=aa("selectPreference",[],"isPremium"),y=aa("selectPluginUrl",[o],o),{isDisabled:w,message:_,disabledSetting:g}=Xr({name:t}),{values:b}=q(),v=aa("selectLink",[d],d),E=aa("selectUpsellSettingsAsProps"),x=(0,l.useSvgAria)(),k=(0,i.useMemo)((()=>(0,le.get)(b,t,!1)),[b,t]),S=(0,i.useMemo)((()=>!h&&c),[h,c]),L=(0,i.useMemo)((()=>w||!S&&!k),[w,S,k]),T=(0,i.useMemo)((()=>w||h&&c&&m||u||p&&!h),[w,h,c,u,p]);return(0,e.createElement)(l.Card,{id:s},(0,e.createElement)(l.Card.Header,{className:"yst-h-auto yst-p-0"},(0,e.createElement)("img",{className:or()("yst-w-full yst-transition yst-duration-200",L&&"yst-opacity-50 yst-filter yst-grayscale"),src:y,alt:null!=n?n:"",width:500,height:250,loading:"lazy",decoding:"async"}),T&&(0,e.createElement)("div",{className:"yst-absolute yst-top-2 yst-end-2 yst-flex yst-gap-1.5"},w&&(0,e.createElement)(l.Badge,{size:"small",variant:"plain"},_),h&&c&&m&&(0,e.createElement)(l.Badge,{size:"small",variant:"upsell"},"Premium"),u&&(0,e.createElement)(l.Badge,{size:"small",variant:"info"},"Beta"),p&&!h&&(0,e.createElement)(l.Badge,{size:"small",variant:"info"},"New"))),(0,e.createElement)(l.Card.Content,{className:"yst-flex yst-flex-col yst-gap-3"},(0,e.createElement)(l.Title,{as:"h3"},f),a),(0,e.createElement)(l.Card.Footer,null,!S&&(0,e.createElement)(Ra,{as:l.ToggleField,type:"checkbox",name:t,id:r,"aria-label":`${(0,Lt.__)("Enable feature","wordpress-seo")} ${f}`,label:(0,Lt.__)("Enable feature","wordpress-seo"),disabled:w,checked:"language"!==g&&k}),S&&(0,e.createElement)(l.Button,{as:"a",className:"yst-gap-2 yst-w-full yst-px-2",variant:"upsell",href:v,target:"_blank",rel:"noopener",...E},(0,e.createElement)(cr,{className:"yst-w-5 yst-h-5 yst--ms-1 yst-shrink-0",...x}),(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"))))};Fl.propTypes={name:ir().string.isRequired,cardId:ir().string.isRequired,inputId:ir().string.isRequired,children:ir().node.isRequired,imageSrc:ir().string.isRequired,imageAlt:ir().string,isPremiumFeature:ir().bool,isBetaFeature:ir().bool,isNewFeature:ir().bool,isPremiumLink:ir().string,hasPremiumBadge:ir().bool,title:ir().string.isRequired};const $l=({id:t,link:s,ariaLabel:r,...a})=>{const o=aa("selectLink",[s],s);return(0,e.createElement)(l.Link,{id:t,href:o,variant:"primary",className:"yst-flex yst-items-center yst-gap-1 yst-no-underline yst-font-medium",target:"_blank",rel:"noopener","aria-label":(0,Lt.sprintf)(/* translators: Hidden accessibility text; %s expands to a translated string of this feature, e.g. "SEO analysis". */ (0,Lt.__)("Learn more about %s (Opens in a new browser tab)","wordpress-seo"),r),...a},(0,Lt.__)("Learn more","wordpress-seo"),(0,e.createElement)(xr,{className:"yst-w-4 yst-h-4 yst-icon-rtl"}))};$l.propTypes={id:ir().string.isRequired,link:ir().string.isRequired,ariaLabel:ir().string.isRequired};const Pl=()=>{const t=aa("selectPreference",[],"isPremium"),s=aa("selectPreference",[],"sitemapUrl"),{values:r,initialValues:a}=q(),{enable_xml_sitemap:o}=r.wpseo,{enable_xml_sitemap:n}=a.wpseo,c=(0,i.useMemo)((()=>t?"yst-grid yst-gap-6 yst-grid-cols-1 sm:yst-grid-cols-2 min-[783px]:yst-grid-cols-1 lg:yst-grid-cols-2 xl:yst-grid-cols-3 2xl:yst-grid-cols-4":"yst-grid yst-gap-6 yst-grid-cols-1 sm:yst-grid-cols-2 min-[783px]:yst-grid-cols-1 lg:yst-grid-cols-2 2xl:yst-grid-cols-3 min-[1800px]:yst-grid-cols-4"),[t]);return(0,e.createElement)(uo,{title:(0,Lt.__)("Site features","wordpress-seo"),description:(0,Lt.__)("Tell us which features you want to use.","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-6xl"},(0,e.createElement)("fieldset",{className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("Writing","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2"},(0,Lt.__)("Writing","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo.keyword_analysis_active",cardId:"card-wpseo-keyword_analysis_active",inputId:"input-wpseo-keyword_analysis_active",imageSrc:"/images/seo_analysis.png",title:(0,Lt.__)("SEO analysis","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("The SEO analysis offers suggestions to improve the findability of your text and makes sure that your content meets best practices.","wordpress-seo")),(0,e.createElement)($l,{id:"link-seo-analysis",link:"https://yoa.st/2ak",ariaLabel:(0,Lt.__)("SEO analysis","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.content_analysis_active",cardId:"card-wpseo-content_analysis_active",inputId:"input-wpseo-content_analysis_active",imageSrc:"/images/readability_analysis.png",title:(0,Lt.__)("Readability analysis","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("The readability analysis offers suggestions to improve the structure and style of your text.","wordpress-seo")),(0,e.createElement)($l,{id:"link-readability-analysis",link:"https://yoa.st/2ao",ariaLabel:(0,Lt.__)("Readability analysis","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.inclusive_language_analysis_active",cardId:"card-wpseo-inclusive_language_analysis_active",inputId:"input-wpseo-inclusive_language_analysis_active",imageSrc:"/images/inclusive_language_analysis.png",title:(0,Lt.__)("Inclusive language analysis","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("The inclusive language analysis offers suggestions to write more inclusive copy, so more people will be able to relate to your content.","wordpress-seo")),(0,e.createElement)($l,{id:"link-inclusive-language-analysis",link:"https://yoa.st/inclusive-language-feature-learn-more",ariaLabel:(0,Lt.__)("Inclusive language analysis","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_ai_generator",cardId:"card-wpseo-enable_ai_generator",inputId:"input-wpseo-enable_ai_generator",imageSrc:"/images/ai-generator.png",isPremiumFeature:!0,hasPremiumBadge:!1,isBetaFeature:!0,isPremiumLink:"https://yoa.st/get-ai-generator",title:"Yoast AI"},(0,e.createElement)("p",null,(0,Lt.__)("The AI features help you create better content by providing optimization suggestions that you can apply as you wish.","wordpress-seo")),(0,e.createElement)($l,{id:"link-ai-generator",link:"https://yoa.st/ai-generator-feature",ariaLabel:(0,Lt.__)("AI title & description generator","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_metabox_insights",cardId:"card-wpseo-enable_metabox_insights",inputId:"input-wpseo-enable_metabox_insights",imageSrc:"/images/insights.png",title:(0,Lt.__)("Insights","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Get more insights into what you are writing. What words do you use most often? How much time does it take to read your text? Is your text easy to read?","wordpress-seo")),(0,e.createElement)($l,{id:"link-insights",link:"https://yoa.st/4ew",ariaLabel:(0,Lt.__)("Insights","wordpress-seo")})))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("fieldset",{className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("Site structure","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2"},(0,Lt.__)("Site structure","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo.enable_cornerstone_content",cardId:"card-wpseo-enable_cornerstone_content",inputId:"input-wpseo-enable_cornerstone_content",imageSrc:"/images/cornerstone_content.png",title:(0,Lt.__)("Cornerstone content","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Mark and filter your cornerstone content to make sure your most important articles get the attention they deserve. To help you write excellent copy, we’ll assess your text more strictly.","wordpress-seo")),(0,e.createElement)($l,{id:"link-cornerstone-content",link:"https://yoa.st/dashboard-help-cornerstone",ariaLabel:(0,Lt.__)("Cornerstone content","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_text_link_counter",cardId:"card-wpseo-enable_text_link_counter",inputId:"input-wpseo-enable_text_link_counter",imageSrc:"/images/text_link_counter.png",title:(0,Lt.__)("Text link counter","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Count the number of internal links from and to your posts to improve your site structure.","wordpress-seo")),(0,e.createElement)($l,{id:"link-text-link-counter",link:"https://yoa.st/2aj",ariaLabel:(0,Lt.__)("Text link counter","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_link_suggestions",cardId:"card-wpseo-enable_link_suggestions",inputId:"input-wpseo-enable_link_suggestions",imageSrc:"/images/link_suggestions.png",isPremiumFeature:!0,hasPremiumBadge:!0,isPremiumLink:"https://yoa.st/get-link-suggestions",title:(0,Lt.__)("Internal linking suggestions","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("No need to figure out what to link to. You get linking suggestions for relevant posts and pages to make your website easier to navigate.","wordpress-seo")),(0,e.createElement)($l,{id:"link-suggestions-link",link:t?"https://yoa.st/17g":"https://yoa.st/4ev",ariaLabel:(0,Lt.__)("Link suggestions","wordpress-seo")})))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("fieldset",{id:"section-social-sharing",className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("Social sharing","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2",className:"yst-mb-2"},(0,Lt.__)("Social sharing","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo_social.opengraph",cardId:"card-wpseo_social-opengraph",inputId:"input-wpseo_social-opengraph",imageSrc:"/images/open_graph.png",title:(0,Lt.__)("Open Graph data","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Allows for Facebook and other social media to display a preview with images and a text excerpt when a link to your site is shared. Keep this feature enabled to optimize your site for social media.","wordpress-seo")),(0,e.createElement)($l,{id:"link-open-graph-data",link:"https://yoa.st/site-features-open-graph-data",ariaLabel:(0,Lt.__)("Open Graph data","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo_social.twitter",cardId:"card-wpseo_social-twitter",inputId:"input-wpseo_social-twitter",imageSrc:"/images/twitter_card.png",title:(0,Lt.__)("X card data","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Allows for X to display a preview with images and a text excerpt when a link to your site is shared.","wordpress-seo")),(0,e.createElement)($l,{id:"link-twitter-card-data",link:"https://yoa.st/site-features-twitter-card-data",ariaLabel:(0,Lt.__)("X card data","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_enhanced_slack_sharing",cardId:"card-wpseo-enable_enhanced_slack_sharing",inputId:"input-wpseo-enable_enhanced_slack_sharing",imageSrc:"/images/slack_sharing.png",title:(0,Lt.__)("Slack sharing","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("This adds an author byline and reading time estimate to the article’s snippet when shared on Slack.","wordpress-seo")),(0,e.createElement)($l,{id:"link-slack-sharing",link:"https://yoa.st/help-slack-share",ariaLabel:(0,Lt.__)("Slack sharing","wordpress-seo")})))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("fieldset",{className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("Tools","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2"},(0,Lt.__)("Tools","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo.enable_admin_bar_menu",cardId:"card-wpseo-enable_admin_bar_menu",inputId:"input-wpseo-enable_admin_bar_menu",imageSrc:"/images/admin_bar.png",title:(0,Lt.__)("Admin bar menu","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.sprintf)( // translators: %1$s expands to Yoast. (0,Lt.__)("The %1$s icon in the top admin bar provides quick access to third-party tools for analyzing pages and makes it easy to see if you have new notifications.","wordpress-seo"),"Yoast")),(0,e.createElement)($l,{id:"link-admin-bar",link:"https://yoa.st/site-features-admin-bar",ariaLabel:(0,Lt.__)("Admin bar menu","wordpress-seo")})))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("fieldset",{className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("APIs","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2"},(0,Lt.__)("APIs","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo.enable_headless_rest_endpoints",cardId:"card-wpseo-enable_headless_rest_endpoints",inputId:"input-wpseo-enable_headless_rest_endpoints",imageSrc:"/images/rest_api.png",title:(0,Lt.__)("REST API endpoint","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("This Yoast SEO REST API endpoint gives you all the metadata you need for a specific URL. This will make it very easy for headless WordPress sites to use Yoast SEO for all their SEO meta output.","wordpress-seo")),(0,e.createElement)($l,{id:"link-rest-api-endpoint",link:"https://yoa.st/site-features-rest-api-endpoint",ariaLabel:(0,Lt.__)("REST API endpoint","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_xml_sitemap",cardId:"card-wpseo-enable_xml_sitemap",inputId:"input-wpseo-enable_xml_sitemap",imageSrc:"/images/xml_sitemaps.png",title:(0,Lt.__)("XML sitemaps","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.sprintf)( // translators: %1$s expands to "Yoast SEO". (0,Lt.__)("Enable the %1$s XML sitemaps. A sitemap is a file that lists a website's essential pages to make sure search engines can find and crawl them.","wordpress-seo"),"Yoast SEO")),n&&o&&(0,e.createElement)(l.Button,{as:"a",id:"link-xml-sitemaps",href:s,variant:"secondary",target:"_blank",rel:"noopener",className:"yst-self-start"},(0,Lt.__)("View the XML sitemap","wordpress-seo"),(0,e.createElement)(Tl,{className:"yst--me-1 yst-ms-1 yst-h-5 yst-w-5 yst-text-slate-400 rtl:yst-rotate-[270deg]"})),(0,e.createElement)($l,{id:"link-xml-sitemaps-learn-more",link:"https://yoa.st/2a-",ariaLabel:(0,Lt.__)("XML sitemaps","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_index_now",cardId:"card-wpseo-enable_index_now",inputId:"input-wpseo-enable_index_now",imageSrc:"/images/indexnow.png",isPremiumFeature:!0,hasPremiumBadge:!0,isPremiumLink:"https://yoa.st/get-indexnow",title:(0,Lt.__)("IndexNow","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Automatically ping search engines like Bing and Yandex whenever you publish, update or delete a post.","wordpress-seo")),(0,e.createElement)($l,{id:"link-index-now",link:"https://yoa.st/index-now-feature",ariaLabel:(0,Lt.__)("IndexNow","wordpress-seo")})))))))},Rl=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"}))})),Nl=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{fillRule:"evenodd",d:"M10 3a1 1 0 011 1v5h5a1 1 0 110 2h-5v5a1 1 0 11-2 0v-5H4a1 1 0 110-2h5V4a1 1 0 011-1z",clipRule:"evenodd"}))})),Il=Ca(Da),Ol=Aa(Ia),Cl=()=>{const{values:t}=q(),{website_name:s,company_or_person:r,company_or_person_user_id:a,company_name:o,company_logo_id:n}=t.wpseo_titles,{other_social_urls:c}=t.wpseo_social,d=aa("selectUserById",[a],a),u=aa("selectLink",[],"https://yoa.st/1-p"),p=aa("selectLink",[],"https://yoa.st/3r3"),m=aa("selectLink",[],"https://yoa.st/site-representation-org-additional-info-upsell"),f=aa("selectLink",[],"https://yoa.st/site-representation-org-identifiers"),h=aa("selectLink",[],"https://yoa.st/site-representation-organization-person"),y=aa("selectPreference",[],"editUserUrl"),w=aa("selectPreference",[],"isLocalSeoActive"),_=aa("selectPreference",[],"companyOrPersonMessage"),g=aa("selectFallback",[],"siteLogoId"),b=aa("selectCanEditUser",[null==d?void 0:d.id],null==d?void 0:d.id),v=aa("selectPreference",[],"isPremium"),E=aa("selectUpsellSettingsAsProps"),x=aa("selectLink",[],"https://yoa.st/get-mastodon-integration"),k=aa("selectLink",[],"https://yoa.st/site-representation-mastodon"),S=aa("selectPreference",[],"localSeoPageSettingUrl");let L=(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Lt.__)("You have %1$s activated on your site. You can provide your VAT ID and Tax ID in the %2$s‘Business info’ settings%3$s.","wordpress-seo"),"Yoast Local SEO","",""),{a:(0,e.createElement)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})}),T=(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Lt.__)("You have %1$s activated on your site. You can provide your email and phone in the %2$s‘Business info’ settings%3$s.","wordpress-seo"),"Yoast Local SEO","",""),{a:(0,e.createElement)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})});S.includes("wpseo_locations")&&(L=(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Lt.__)("You have %1$s activated on your site, and you've configured your business for multiple locations. This allows you to provide your VAT ID and Tax ID for %2$seach specific location%3$s.","wordpress-seo"),"Yoast Local SEO","",""),{a:(0,e.createElement)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})}),T=(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Lt.__)("You have %1$s activated on your site, and you've configured your business for multiple locations. This allows you to provide your email and phone for %2$seach specific location%3$s.","wordpress-seo"),"Yoast Local SEO","",""),{a:(0,e.createElement)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})}));const F=(0,i.useCallback)((async e=>{var t;await e.push(""),null===(t=document.getElementById(`input-wpseo_social-other_social_urls-${c.length}`))||void 0===t||t.focus()}),[c]);return(0,e.createElement)(uo,{title:(0,Lt.__)("Site representation","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. (0,Lt.__)("This info is intended to appear in %1$sGoogle's Knowledge Graph%2$s.","wordpress-seo"),"",""),u,"link-google-knowledge-graph")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("Organization/person","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. (0,Lt.__)("Choose whether your site represents an organization or a person. %1$sLearn more about the differences and choosing between Organization and Person%2$s.","wordpress-seo"),"",""),h,"link-site-representation-organization-person")},w&&(0,e.createElement)(l.Alert,{id:"alert-local-seo-company-or-person",variant:"info"},_),(0,e.createElement)(l.RadioGroup,{disabled:w},(0,e.createElement)(te,{as:l.Radio,type:"radio",name:"wpseo_titles.company_or_person",id:"input-wpseo_titles-company_or_person-company",label:(0,Lt.__)("Organization","wordpress-seo"),value:"company",disabled:w}),(0,e.createElement)(te,{as:l.Radio,type:"radio",name:"wpseo_titles.company_or_person",id:"input-wpseo_titles-company_or_person-person",label:(0,Lt.__)("Person","wordpress-seo"),value:"person",disabled:w}))),(0,e.createElement)("section",{className:"yst-space-y-8"}),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("div",{className:"yst-relative"},(0,e.createElement)(ia.Z,{easing:"ease-out",duration:300,delay:300,height:"company"===r?"auto":0,animateOpacity:!0},(0,e.createElement)(na,{title:(0,Lt.__)("Organization","wordpress-seo"),description:(0,Lt.__)("Please tell us more about your organization. This information will help Google to understand your website, and improve your chance of getting rich results.","wordpress-seo")},(!o||n<1)&&(0,e.createElement)(l.Alert,{id:"alert-organization-name-logo",variant:"info"},Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. (0,Lt.__)("An organization name and logo need to be set for structured data to work properly. Since you haven’t set these yet, we are using the site name and logo as default values. %1$sLearn more about the importance of structured data%2$s.","wordpress-seo"),"",""),p,"link-structured-data")),(0,e.createElement)(te,{as:l.TextField,name:"wpseo_titles.company_name",id:"input-wpseo_titles-company_name",label:(0,Lt.__)("Organization name","wordpress-seo"),placeholder:s}),(0,e.createElement)(te,{as:l.TextField,name:"wpseo_titles.company_alternate_name",id:"input-wpseo_titles-company_alternate_name",label:(0,Lt.__)("Alternate organization name","wordpress-seo"),description:(0,Lt.__)("Use the alternate organization name for acronyms, or a shorter version of your organization's name.","wordpress-seo")}),(0,e.createElement)(ha,{id:"wpseo_titles-company_logo",label:(0,Lt.__)("Organization logo","wordpress-seo"),variant:"square",previewLabel:(0,i.createInterpolateElement)((0,Lt.sprintf)( /* translators: %1$s expands to an opening strong tag. %2$s expands to a closing strong tag. %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","696x696px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})}),mediaUrlName:"wpseo_titles.company_logo",mediaIdName:"wpseo_titles.company_logo_id",fallbackMediaId:g})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{id:"fieldset-wpseo_social-other_social_urls",title:(0,Lt.__)("Other profiles","wordpress-seo"),description:(0,Lt.__)("Tell us if you have any other profiles on the web that belong to your organization. This can be any number of profiles, like YouTube, LinkedIn, Pinterest, or even Wikipedia.","wordpress-seo")},(0,e.createElement)(Da,{as:l.TextField,name:"wpseo_social.facebook_site",id:"input-wpseo_social-facebook_site",label:(0,Lt.__)("Facebook","wordpress-seo"),placeholder:(0,Lt.__)("E.g. https://facebook.com/yoast","wordpress-seo")}),(0,e.createElement)(Da,{as:l.TextField,name:"wpseo_social.twitter_site",id:"input-wpseo_social-twitter_site",label:(0,Lt.__)("X","wordpress-seo"),placeholder:(0,Lt.__)("E.g. https://x.com/yoast","wordpress-seo")}),(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!v,variant:"card",cardLink:x,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...E},(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_social.mastodon_url",id:"input-wpseo_social-mastodon_url",label:(0,Lt.__)("Mastodon","wordpress-seo"),placeholder:(0,Lt.__)("E.g. https://mastodon.social/@yoast","wordpress-seo"),labelSuffix:v&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium"),isDummy:!v,description:(0,e.createElement)(i.Fragment,null,(0,Lt.__)("Get your site verified in your Mastodon profile.","wordpress-seo")," ",(0,e.createElement)(l.Link,{id:"link-wpseo_social-mastodon_url",href:k,target:"_blank",rel:"noopener"},(0,Lt.__)("Read more about how to get your site verified.","wordpress-seo")))})),(0,e.createElement)(ie,{name:"wpseo_social.other_social_urls"},(t=>(0,e.createElement)(i.Fragment,null,c.map(((s,r)=>(0,e.createElement)(Js,{key:`wpseo_social.other_social_urls.${r}`,as:i.Fragment,appear:!0,show:!0,enter:"yst-transition yst-ease-out yst-duration-300",enterFrom:"yst-transform yst-opacity-0",enterTo:"yst-transform yst-opacity-100",leave:"yst-transition yst-ease-out yst-duration-300",leaveFrom:"yst-transform yst-opacity-100",leaveTo:"yst-transform yst-opacity-0"},(0,e.createElement)("div",{className:"yst-w-full yst-flex yst-items-start yst-gap-2"},(0,e.createElement)(Da,{as:l.TextField,name:`wpseo_social.other_social_urls.${r}`,id:`input-wpseo_social-other_social_urls-${r}`,label:(0,Lt.sprintf)((0,Lt.__)("Other profile %1$s","wordpress-seo"),r+1),placeholder:(0,Lt.__)("E.g. https://example.com/yoast","wordpress-seo"),className:"yst-grow"}),(0,e.createElement)(l.Button,{variant:"secondary",onClick:t.remove.bind(null,r),className:"yst-mt-7 yst-p-2.5","aria-label":(0,Lt.sprintf)((0,Lt.__)("Remove Other profile %1$s","wordpress-seo"),r+1)},(0,e.createElement)(Rl,{className:"yst-h-5 yst-w-5"})))))),(0,e.createElement)(l.Button,{id:"button-add-social-profile",variant:"secondary",onClick:()=>F(t)},(0,e.createElement)(Nl,{className:"yst--ms-1 yst-me-1 yst-h-5 yst-w-5 yst-text-slate-400"}),(0,Lt.__)("Add another profile","wordpress-seo")))))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)(i.Fragment,null,(0,Lt.__)("Additional organization info","wordpress-seo"),v&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium")),description:(0,Lt.__)("Enrich your organization's profile by providing more in-depth information. The more details you share, the better Google understands your website.","wordpress-seo")},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!v,variant:"card",cardLink:m,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...E},(0,e.createElement)(Il,{as:l.TextareaField,name:"wpseo_titles.org-description",id:"input-wpseo_titles-org-description",label:(0,Lt.__)("Organization description","wordpress-seo"),isDummy:!v,maxLength:2e3}),w&&v&&(0,e.createElement)(l.Alert,{id:"alert-local-seo-vat-or-tax-id",variant:"info"},T),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-email",id:"input-wpseo_titles-org-email",type:"email",label:(0,Lt.__)("Organization email address","wordpress-seo"),isDummy:!v||w}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-phone",id:"input-wpseo_titles-org-phone",label:(0,Lt.__)("Organization phone number","wordpress-seo"),isDummy:!v||w}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-legal-name",id:"input-wpseo_titles-org-legal-name",label:(0,Lt.__)("Organization's legal name","wordpress-seo"),isDummy:!v}),(0,e.createElement)(Il,{as:l.TextField,className:"yst-w-3/5",name:"wpseo_titles.org-founding-date",id:"input-wpseo_titles-org-founding-date",label:(0,Lt.__)("Organization's founding date","wordpress-seo"),type:"date",isDummy:!v}),(0,e.createElement)(Ol,{name:"wpseo_titles.org-number-employees",className:"yst-w-3/5",id:"input-wpseo_titles-org-number-employees",label:(0,Lt.__)("Number of employees","wordpress-seo"),placeholder:(0,Lt.__)("Select a range / Enter a number","wordpress-seo"),isDummy:!v,options:[{value:"",label:"None"},{value:"1-10",label:(0,Lt.__)("1–10 employees","wordpress-seo")},{value:"11-50",label:(0,Lt.__)("11–50 employees","wordpress-seo")},{value:"51-200",label:(0,Lt.__)("51–200 employees","wordpress-seo")},{value:"201-500",label:(0,Lt.__)("201–500 employees","wordpress-seo")},{value:"501-1000",label:(0,Lt.__)("501–1000 employees","wordpress-seo")},{value:"1001-5000",label:(0,Lt.__)("1001–5000 employees","wordpress-seo")},{value:"5001-10000",label:(0,Lt.__)("5001–10000 employees","wordpress-seo")}]}))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)(i.Fragment,null,(0,Lt.__)("Organization identifiers","wordpress-seo"),v&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium")),description:(0,Lt.__)("Please tell us more about your organization’s identifiers. This information will help Google to display accurate and helpful details about your organization.","wordpress-seo")},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!v,variant:"card",cardLink:f,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...E},w&&v&&(0,e.createElement)(l.Alert,{id:"alert-local-seo-vat-or-tax-id",variant:"info"},L),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-vat-id",id:"input-wpseo_titles-org-vat-id",label:(0,Lt.__)("VAT ID","wordpress-seo"),isDummy:!v||w}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-tax-id",id:"input-wpseo_titles-org-tax-id",label:(0,Lt.__)("Tax ID","wordpress-seo"),isDummy:!v||w}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-iso",id:"input-wpseo_titles-org-iso",label:(0,Lt.__)("ISO 6523","wordpress-seo"),isDummy:!v}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-duns",id:"input-wpseo_titles-org-duns",label:(0,Lt.__)("DUNS","wordpress-seo"),isDummy:!v}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-leicode",id:"input-wpseo_titles-org-leicode",label:(0,Lt.__)("LEI code","wordpress-seo"),isDummy:!v}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-naics",id:"input-wpseo_titles-org-naics",label:(0,Lt.__)("NAICS","wordpress-seo"),isDummy:!v})))),(0,e.createElement)(ia.Z,{easing:"ease-out",duration:300,delay:300,height:"person"===r?"auto":0,animateOpacity:!0},(0,e.createElement)(na,{title:(0,Lt.__)("Personal info","wordpress-seo"),description:(0,Lt.__)("Please tell us more about the person this site represents.","wordpress-seo")},(0,e.createElement)(Sa,{name:"wpseo_titles.company_or_person_user_id",id:"input-wpseo_titles-company_or_person_user_id",label:(0,Lt.__)("Select a user","wordpress-seo"),className:"yst-max-w-sm"}),!(0,le.isEmpty)(d)&&(0,e.createElement)(l.Alert,{id:"alert-person-user-profile"},b&&(0,i.createInterpolateElement)((0,Lt.sprintf)( /* translators: %1$s and %2$s are replaced by opening and closing tags. %3$s and %4$s are replaced by opening and closing tags. %5$s is replaced by the selected user display name. */ (0,Lt.__)("You have selected the user %1$s%5$s%2$s as the person this site represents. Their user profile information will now be used in search results. %3$sUpdate their profile to make sure the information is correct%4$s.","wordpress-seo"),"","","","",null==d?void 0:d.name),{strong:(0,e.createElement)("strong",{className:"yst-font-medium"}),a:(0,e.createElement)("a",{id:"link-person-user-profile",href:`${y}?user_id=${null==d?void 0:d.id}`,target:"_blank",rel:"noopener noreferrer"})}),!b&&(0,i.createInterpolateElement)((0,Lt.sprintf)( /* translators: %1$s and %2$s are replaced by opening and closing tags. %3$s is replaced by the selected user display name. */ (0,Lt.__)("You have selected the user %1$s%3$s%2$s as the person this site represents. Their user profile information will now be used in search results. We're sorry, you're not allowed to edit this user's profile. Please contact your admin or %1$s%3$s%2$s to check and/or update the profile.","wordpress-seo"),"","",null==d?void 0:d.name),{strong:(0,e.createElement)("strong",{className:"yst-font-medium"})})),(0,e.createElement)(ha,{id:"wpseo_titles-person_logo",label:(0,Lt.__)("Personal logo or avatar","wordpress-seo"),variant:"square",previewLabel:(0,i.createInterpolateElement)((0,Lt.sprintf)( /* translators: %1$s expands to an opening strong tag. %2$s expands to a closing strong tag. %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","696x696px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})}),mediaUrlName:"wpseo_titles.person_logo",mediaIdName:"wpseo_titles.person_logo_id",fallbackMediaId:g,disabled:!a})))))))},Al=()=>{const t=aa("selectReplacementVariablesFor",[],"search","search"),s=aa("selectRecommendedReplacementVariablesFor",[],"search","search"),r=aa("selectReplacementVariablesFor",[],"404","404"),a=aa("selectRecommendedReplacementVariablesFor",[],"404","404");return(0,e.createElement)(uo,{title:(0,Lt.__)("Special pages","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("Internal search pages","wordpress-seo"),description:(0,Lt.__)("Determine how the title of your internal search pages should look in the browser.","wordpress-seo")},(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.title-search-wpseo",fieldId:"input-wpseo_titles-title-search-wpseo",label:(0,Lt.__)("Page title","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("404 error pages","wordpress-seo"),description:(0,Lt.__)("Determine how the title of your 404 error pages should look in the browser.","wordpress-seo")},(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.title-404-wpseo",fieldId:"input-wpseo_titles-title-404-wpseo",label:(0,Lt.__)("Page title","wordpress-seo"),replacementVariables:r,recommendedReplacementVariables:a})))))},Ml=/content=(['"])?(?[^'"> ]+)(?:\1|[ />])/,Dl=e=>{var t;const s=e.target.value.match(Ml);return null!=s&&null!==(t=s.groups)&&void 0!==t&&t.content?s.groups.content:e.target.value},Bl=Ma(Ra),Ul=()=>{const t=aa("selectPreference",[],"siteUrl");return(0,e.createElement)(uo,{title:(0,Lt.__)("Site connections","wordpress-seo"),description:(0,Lt.__)("Verify your site with different tools. This will add a verification meta tag to your homepage. You can find instructions on how to verify your site for each platform by following the link in the description.","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)("fieldset",{className:"yst-min-width-0 yst-max-w-screen-sm yst-space-y-8"},(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo.baiduverify",id:"input-wpseo-baiduverify",label:(0,Lt.__)("Baidu","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Get your verification code in %1$sBaidu Webmaster tools%2$s.","wordpress-seo"),"",""),"https://ziyuan.baidu.com/site","link-baidu-webmaster-tools"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl}),(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo.msverify",id:"input-wpseo-msverify",label:(0,Lt.__)("Bing","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Get your verification code in %1$sBing Webmaster tools%2$s.","wordpress-seo"),"",""),`https://www.bing.com/toolbox/webmaster/#/Dashboard/?url=${t}`,"link-bing-webmaster-tools"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl}),(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo.googleverify",id:"input-wpseo-googleverify",label:(0,Lt.__)("Google","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Get your verification code in %1$sGoogle Search console%2$s.","wordpress-seo"),"",""),(0,Rt.addQueryArgs)("https://search.google.com/search-console/users",{hl:"en",tid:"alternate",siteUrl:t}),"link-google-search-console"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl}),(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo_social.pinterestverify",id:"input-wpseo_social-pinterestverify",label:(0,Lt.__)("Pinterest","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Claim your site over at %1$sPinterest%2$s.","wordpress-seo"),"",""),"https://www.pinterest.com/settings/claim","link-pinterest"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl}),(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo.yandexverify",id:"input-wpseo-yandexverify",label:(0,Lt.__)("Yandex","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Get your verification code in %1$sYandex Webmaster tools%2$s.","wordpress-seo"),"",""),"https://webmaster.yandex.com/sites/add/","link-yandex-webmaster-tools"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl})))))},jl=({postTypes:t,taxonomies:s,idSuffix:r=""})=>{const a=(0,l.useSvgAria)(),o=aa("selectPreference",[],"isPremium"),n=(0,i.useCallback)((({show:t,toggle:s,ariaProps:r})=>{const o=(0,i.useMemo)((()=>t?sr:rr),[t]);return(0,e.createElement)("div",{className:"yst-relative"},(0,e.createElement)("hr",{className:"yst-absolute yst-inset-x-0 yst-top-1/2 yst-bg-slate-200"}),(0,e.createElement)("button",{type:"button",className:"yst-relative yst-flex yst-items-center yst-gap-1.5 yst-px-2.5 yst-py-1 yst-mx-auto yst-text-xs yst-font-medium yst-text-slate-700 yst-bg-slate-50 yst-rounded-full yst-border yst-border-slate-300 hover:yst-bg-white hover:yst-text-slate-800 focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-primary-500 focus:yst-ring-offset-2",onClick:s,...r},t?(0,Lt.__)("Show less","wordpress-seo"):(0,Lt.__)("Show more","wordpress-seo"),(0,e.createElement)(o,{className:"yst-h-4 yst-w-4 yst-flex-shrink-0 yst-text-slate-400 group-hover:yst-text-slate-500 yst-stroke-3",...a})))}),[]);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("header",{className:"yst-px-3 yst-mb-6 yst-space-y-6"},(0,e.createElement)(Et,{id:`link-yoast-logo${r}`,to:"/",className:"yst-inline-block yst-rounded-md focus:yst-ring-primary-500","aria-label":"Yoast SEO"+(o?" Premium":"")},(0,e.createElement)(Qr,{className:"yst-w-40",...a})),(0,e.createElement)(Ji,{buttonId:`button-search${r}`})),(0,e.createElement)("div",{className:"yst-px-0.5 yst-space-y-6"},(0,e.createElement)(l.SidebarNavigation.MenuItem,{id:`menu-general${r}`,icon:Qs,label:(0,Lt.__)("General","wordpress-seo")},(0,e.createElement)(vr,{to:"/site-features",label:(0,Lt.__)("Site features","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/site-basics",label:(0,Lt.__)("Site basics","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/site-representation",label:(0,Lt.__)("Site representation","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/site-connections",label:(0,Lt.__)("Site connections","wordpress-seo"),idSuffix:r})),(0,e.createElement)(l.SidebarNavigation.MenuItem,{id:`menu-content-types${r}`,icon:Xs,label:(0,Lt.__)("Content types","wordpress-seo")},(0,e.createElement)(l.ChildrenLimiter,{limit:5,renderButton:n},(0,e.createElement)(vr,{to:"/homepage",label:(0,Lt.__)("Homepage","wordpress-seo"),idSuffix:r}),(0,le.map)(t,(({name:t,route:s,label:a,isNew:o})=>(0,e.createElement)(vr,{key:`link-post-type-${t}`,to:`/post-type/${s}`,label:(0,e.createElement)("span",{className:"yst-inline-flex yst-items-center yst-gap-1.5"},a,o&&(0,e.createElement)(l.Badge,{variant:"info"},(0,Lt.__)("New","wordpress-seo"))),idSuffix:r}))))),(0,e.createElement)(l.SidebarNavigation.MenuItem,{id:`menu-categories-and-tags${r}`,icon:er,label:(0,Lt.__)("Categories & tags","wordpress-seo")},(0,e.createElement)(l.ChildrenLimiter,{limit:5,renderButton:n},(0,le.map)(s,(t=>(0,e.createElement)(vr,{key:`link-taxonomy-${t.name}`,to:`/taxonomy/${t.route}`,label:(0,e.createElement)("span",{className:"yst-inline-flex yst-items-center yst-gap-1.5"},t.label,t.isNew&&(0,e.createElement)(l.Badge,{variant:"info"},(0,Lt.__)("New","wordpress-seo"))),idSuffix:r}))))),(0,e.createElement)(l.SidebarNavigation.MenuItem,{id:`menu-advanced${r}`,icon:tr,label:(0,Lt.__)("Advanced","wordpress-seo"),defaultOpen:!1},(0,e.createElement)(vr,{to:"/crawl-optimization",label:(0,Lt.__)("Crawl optimization","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/breadcrumbs",label:(0,Lt.__)("Breadcrumbs","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/author-archives",label:(0,Lt.__)("Author archives","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/date-archives",label:(0,Lt.__)("Date archives","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/format-archives",label:(0,Lt.__)("Format archives","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/special-pages",label:(0,Lt.__)("Special pages","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/media-pages",label:(0,Lt.__)("Media pages","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/rss",label:(0,Lt.__)("RSS","wordpress-seo"),idSuffix:r}))))};jl.propTypes={postTypes:ir().object.isRequired,taxonomies:ir().object.isRequired,idSuffix:ir().string};const Vl=()=>{const{pathname:t}=Qe(),s=aa("selectPostTypes"),r=aa("selectTaxonomies"),o=aa("selectPreference",[],"isPremium"),n=aa("selectLink",[],"https://yoa.st/17h"),c=aa("selectLink",[],"https://yoa.st/jj"),d=aa("selectUpsellSettingsAsProps"),u=aa("selectLink",[],"https://yoa.st/3t6"),{isPromotionActive:p}=(0,a.useSelect)(ea);(()=>{const{hash:e,pathname:t,key:s}=Qe();(0,i.useEffect)((()=>{const t=e.replace("#",""),s=document.getElementById(t)||document.querySelector(`[data-id="${t}"]`);if(s)s.scrollIntoView({behavior:"smooth"}),setTimeout((()=>s.focus()),800);else{const e=document.getElementById("yoast-seo-settings");null==e||e.scrollIntoView({behavior:"smooth"})}}),[t,e,s])})();const{dirty:m}=q();return(0,l.useBeforeUnload)(m,(0,Lt.__)("There are unsaved changes on this page. Leaving means that those changes will be lost. Are you sure you want to leave this page?","wordpress-seo")),(0,e.createElement)(e.Fragment,null,(0,e.createElement)(ja,null),(0,e.createElement)(l.SidebarNavigation,{activePath:t},(0,e.createElement)(l.SidebarNavigation.Mobile,{openButtonId:"button-open-settings-navigation-mobile",closeButtonId:"button-close-settings-navigation-mobile" /* translators: Hidden accessibility text. */,openButtonScreenReaderText:(0,Lt.__)("Open settings navigation","wordpress-seo") /* translators: Hidden accessibility text. */,closeButtonScreenReaderText:(0,Lt.__)("Close settings navigation","wordpress-seo"),"aria-label":(0,Lt.__)("Settings navigation","wordpress-seo")},(0,e.createElement)(jl,{idSuffix:"-mobile",postTypes:s,taxonomies:r})),(0,e.createElement)("div",{className:"yst-p-4 min-[783px]:yst-p-8 yst-flex yst-gap-4"},(0,e.createElement)("aside",{className:"yst-sidebar yst-sidebar-nav yst-shrink-0 yst-hidden min-[783px]:yst-block yst-pb-6 yst-bottom-0 yst-w-56"},(0,e.createElement)(l.SidebarNavigation.Sidebar,null,(0,e.createElement)(jl,{postTypes:s,taxonomies:r}))),(0,e.createElement)("div",{className:or()("yst-flex yst-grow yst-flex-wrap",!o&&"xl:yst-pe-[17.5rem]")},(0,e.createElement)("div",{className:"yst-grow yst-max-w-page yst-space-y-6 yst-mb-8 xl:yst-mb-0"},(0,e.createElement)(l.Paper,{as:"main"},(0,e.createElement)(l.ErrorBoundary,{FallbackComponent:Qi},(0,e.createElement)(Js,{key:t,appear:!0,show:!0,enter:"yst-transition-opacity yst-delay-100 yst-duration-300",enterFrom:"yst-opacity-0",enterTo:"yst-opacity-100"},(0,e.createElement)(ft,null,(0,e.createElement)(pt,{path:"author-archives",element:(0,e.createElement)(ll,null)}),(0,e.createElement)(pt,{path:"breadcrumbs",element:(0,e.createElement)(cl,null)}),(0,e.createElement)(pt,{path:"crawl-optimization",element:(0,e.createElement)(ml,null)}),(0,e.createElement)(pt,{path:"date-archives",element:(0,e.createElement)(hl,null)}),(0,e.createElement)(pt,{path:"homepage",element:(0,e.createElement)(bl,null)}),(0,e.createElement)(pt,{path:"format-archives",element:(0,e.createElement)(wl,null)}),(0,e.createElement)(pt,{path:"media-pages",element:(0,e.createElement)(vl,null)}),(0,e.createElement)(pt,{path:"rss",element:(0,e.createElement)(xl,null)}),(0,e.createElement)(pt,{path:"site-basics",element:(0,e.createElement)(Ll,null)}),(0,e.createElement)(pt,{path:"site-connections",element:(0,e.createElement)(Ul,null)}),(0,e.createElement)(pt,{path:"site-representation",element:(0,e.createElement)(Cl,null)}),(0,e.createElement)(pt,{path:"site-features",element:(0,e.createElement)(Pl,null)}),(0,e.createElement)(pt,{path:"special-pages",element:(0,e.createElement)(Al,null)}),(0,e.createElement)(pt,{path:"post-type"},(0,le.map)(s,(t=>(0,e.createElement)(pt,{key:`route-post-type-${t.name}`,path:t.route,element:(0,e.createElement)(rl,{...t})})))),(0,e.createElement)(pt,{path:"taxonomy"},(0,le.map)(r,(t=>(0,e.createElement)(pt,{key:`route-taxonomy-${t.name}`,path:t.route,element:(0,e.createElement)(nl,{...t})})))),(0,e.createElement)(pt,{path:"*",element:(0,e.createElement)(ut,{to:"/site-features",replace:!0})}))))),!o&&(0,e.createElement)(zr,{premiumLink:n,premiumUpsellConfig:d,isPromotionActive:p})),!o&&(0,e.createElement)("div",{className:"xl:yst-max-w-3xl xl:yst-fixed xl:yst-end-8 xl:yst-w-[16rem]"},(0,e.createElement)(qr,{premiumLink:c,premiumUpsellConfig:d,academyLink:u,isPromotionActive:p}))))))},zl=window.yoast.externals.redux,ql=()=>(0,le.get)(window,"wpseoScriptData.postTypes",{}),Wl="updatePostTypeReviewStatus",Hl=(0,Tt.createSlice)({name:"postTypes",initialState:ql(),reducers:{},extraReducers:e=>{e.addCase(`${Wl}/result`,((e,{payload:t})=>{e[t].isNew=!1}))}}),Yl={selectPostType:(e,t,s={})=>(0,le.get)(e,`postTypes.${t}`,s),selectAllPostTypes:(e,t=null)=>{const s=(0,le.get)(e,"postTypes",{});return t?(0,le.pick)(s,t):s}};Yl.selectPostTypes=(0,Tt.createSelector)(Yl.selectAllPostTypes,(e=>(0,le.omit)(e,["attachment"])));const Gl={[Wl]:async({payload:e})=>Gt()({path:"/yoast/v1/new-content-type-visibility/dismiss-post-type",method:"POST",data:{post_type_name:e}})},Kl={...Hl.actions,updatePostTypeReviewStatus:function*(e){try{yield{type:Wl,payload:e}}catch(t){console.error(`Error: Failed to remove "New" badge for ${e}, ${t}`)}return{type:`${Wl}/result`,payload:e}}},Zl=Hl.reducer,Jl=()=>{var e;return{...(0,le.get)(window,"wpseoScriptData.preferences",{}),documentTitle:(0,le.defaultTo)(null===(e=document)||void 0===e?void 0:e.title,"")}},Ql=(0,Tt.createSlice)({name:"preferences",initialState:Jl(),reducers:{}}),Xl={selectPreference:(e,t,s={})=>(0,le.get)(e,`preferences.${t}`,s),selectPreferences:e=>(0,le.get)(e,"preferences",{})};Xl.selectHasPageForPosts=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"homepageIsLatestPosts"),e=>Xl.selectPreference(e,"homepagePostsEditUrl")],((e,t)=>!e&&!(0,le.isEmpty)(t))),Xl.selectCanEditUser=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"currentUserId",-1),e=>Xl.selectPreference(e,"canEditUsers",!1),(e,t)=>t],((e,t,s)=>e===s||t)),Xl.selectExampleUrl=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"siteUrl","https://example.com"),(e,t)=>t],((e,t)=>e+t)),Xl.selectPluginUrl=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"pluginUrl","https://example.com"),(e,t)=>t],((e,t)=>e+t)),Xl.selectUpsellSettingsAsProps=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"upsellSettings",{}),(e,t="premiumCtbId")=>t],((e,t)=>({"data-action":null==e?void 0:e.actionId,"data-ctb-id":null==e?void 0:e[t]})));const ec=Ql.actions,tc=Ql.reducer,sc=()=>(0,le.reduce)((0,le.get)(window,"wpseoScriptData.taxonomies",{}),((e,{postTypes:t,...s},r)=>({...e,[r]:{...s,postTypes:(0,le.values)(t)}})),{}),rc="updateTaxonomyReviewStatus",ac=(0,Tt.createSlice)({name:"taxonomies",initialState:sc(),reducers:{},extraReducers:e=>{e.addCase(`${rc}/result`,((e,{payload:t})=>{e[t].isNew=!1}))}}),oc={selectTaxonomy:(e,t,s={})=>(0,le.get)(e,`taxonomies.${t}`,s),selectAllTaxonomies:e=>(0,le.get)(e,"taxonomies",{})};oc.selectTaxonomies=(0,Tt.createSelector)(oc.selectAllTaxonomies,(e=>(0,le.omit)(e,["post_format"])));const nc={[rc]:async({payload:e})=>Gt()({path:"/yoast/v1/new-content-type-visibility/dismiss-taxonomy",method:"POST",data:{taxonomy_name:e}})},ic={...ac.actions,updateTaxonomyReviewStatus:function*(e){try{yield{type:rc,payload:e}}catch(t){console.error(`Error: Failed to remove "New" badge for ${e}, ${t}`)}return{type:`${rc}/result`,payload:e}}},lc=ac.reducer,cc={selectBreadcrumbsForPostTypes:(0,Tt.createSelector)([oc.selectAllTaxonomies,Yl.selectAllPostTypes],((e,t)=>{const s={value:0,label:(0,Lt.__)("None","wordpress-seo")},r={};return(0,le.forEach)(t,((t,a)=>{const o=(0,le.filter)(e,(e=>(0,le.includes)(e.postTypes,a)));(0,le.isEmpty)(o)||(r[a]={...t,options:[s,...(0,le.map)(o,(({name:e,label:t})=>({value:e,label:t})))]})})),r})),selectBreadcrumbsForTaxonomies:(0,Tt.createSelector)([oc.selectAllTaxonomies,Yl.selectAllPostTypes,Xl.selectHasPageForPosts],((e,t,s)=>{let r=[{value:0,label:(0,Lt.__)("None","wordpress-seo")}];s&&r.push({value:"post",label:(0,Lt.__)("Blog","wordpress-seo")});const a=(0,le.filter)(t,(({hasArchive:e})=>e));return r=r.concat((0,le.map)(a,(({name:e,label:t})=>({value:e,label:t})))),(0,le.mapValues)(e,(e=>({name:e.name,label:e.label,options:r})))}))},dc=()=>({...(0,le.get)(window,"wpseoScriptData.defaultSettingValues",{})}),uc=(0,Tt.createSlice)({name:"defaultSettingValues",initialState:dc(),reducers:{}}),pc={selectDefaultSettingValue:(e,t,s={})=>(0,le.get)(e,`defaultSettingValues.${t}`,s),selectDefaultSettingValues:e=>(0,le.get)(e,"defaultSettingValues",{})},mc=uc.actions,fc=uc.reducer,hc=()=>(0,le.get)(window,"wpseoScriptData.fallbacks",{}),yc=(0,Tt.createSlice)({name:"fallbacks",initialState:hc(),reducers:{}}),wc={selectFallback:(e,t,s={})=>(0,le.get)(e,`fallbacks.${t}`,s),selectFallbacks:e=>(0,le.get)(e,"fallbacks",{})},_c=yc.actions,gc=yc.reducer,bc=(0,Tt.createEntityAdapter)(),vc=()=>bc.getInitialState({status:Qt,error:""}),Ec="fetchMedia",xc=e=>{var t,s;return{id:null==e?void 0:e.id,title:(null==e||null===(t=e.title)||void 0===t?void 0:t.rendered)||(null==e?void 0:e.title),slug:(null==e?void 0:e.slug)||(null==e?void 0:e.name),alt:(null==e?void 0:e.alt_text)||(null==e?void 0:e.alt),url:(null==e?void 0:e.source_url)||(null==e?void 0:e.url),type:(null==e?void 0:e.media_type)||(null==e?void 0:e.type),mime:(null==e?void 0:e.mime_type)||(null==e?void 0:e.mime),author:null==e?void 0:e.author,sizes:(0,le.mapValues)((null==e?void 0:e.sizes)||(null==e||null===(s=e.media_details)||void 0===s?void 0:s.sizes),(e=>({url:(null==e?void 0:e.url)||(null==e?void 0:e.source_url),width:null==e?void 0:e.width,height:null==e?void 0:e.height})),{})}},kc=(0,Tt.createSlice)({name:"media",initialState:vc(),reducers:{addOneMedia:{reducer:bc.addOne,prepare:e=>({payload:xc(e)})},addManyMedia:{reducer:bc.addMany,prepare:e=>({payload:(0,le.map)(e,xc)})}},extraReducers:e=>{e.addCase(`${Ec}/${Kt}`,(e=>{e.status=Xt})),e.addCase(`${Ec}/${Zt}`,((e,t)=>{e.status=es,bc.addMany(e,(0,le.map)(t.payload,xc))})),e.addCase(`${Ec}/${Jt}`,((e,t)=>{e.status=ts,e.error=t.payload}))}}),Sc=bc.getSelectors((e=>e.media)),Lc={selectMediaIds:Sc.selectIds,selectMediaById:Sc.selectById,selectIsMediaLoading:e=>(0,le.get)(e,"media.status",Qt)===Xt,selectIsMediaError:e=>(0,le.get)(e,"media.status",Qt)===ts},Tc={...kc.actions,fetchMedia:function*(e){yield{type:`${Ec}/${Kt}`};try{const t=yield{type:Ec,payload:{per_page:100,include:e}};return{type:`${Ec}/${Zt}`,payload:t}}catch(e){return{type:`${Ec}/${Jt}`,payload:e}}}},Fc={[Ec]:async({payload:e})=>Gt()({path:`/wp/v2/media?${(0,Rt.buildQueryString)(e)}`})},$c=kc.reducer,Pc=window.wp.htmlEntities,Rc=(0,Tt.createEntityAdapter)(),Nc="fetchPages",Ic="pages";let Oc;const Cc=e=>{var t;return{id:null==e?void 0:e.id,name:(0,Pc.decodeEntities)((0,le.trim)(null==e?void 0:e.title.rendered))||(null==e?void 0:e.slug)||e.id,slug:null==e?void 0:e.slug,protected:null==e||null===(t=e.content)||void 0===t?void 0:t.protected}},Ac=(0,Tt.createSlice)({name:"pages",initialState:Rc.getInitialState({status:Qt,error:""}),reducers:{addOnePage:{reducer:Rc.addOne,prepare:e=>({payload:Cc(e)})},addManyPages:{reducer:Rc.addMany,prepare:e=>({payload:(0,le.map)(e,Cc)})}},extraReducers:e=>{e.addCase(`${Nc}/${Kt}`,(e=>{e.status=Xt})),e.addCase(`${Nc}/${Zt}`,((e,t)=>{e.status=es,Rc.addMany(e,(0,le.map)(t.payload,Cc))})),e.addCase(`${Nc}/${Jt}`,((e,t)=>{e.status=ts,e.error=t.payload}))}}),Mc=Ac.getInitialState,Dc=Rc.getSelectors((e=>e.pages)),Bc={selectPageIds:Dc.selectIds,selectPageById:Dc.selectById,selectPages:Dc.selectEntities};Bc.selectPagesWith=(0,Tt.createSelector)([Bc.selectPages,(e,t={})=>t],((e,t)=>{const s={};t.forEach((t=>{null!=t&&t.id&&!e[t.id]&&(s[t.id]={...t})}));const r=(0,le.pickBy)(e,(e=>!e.protected));return{...s,...r}}));const Uc={...Ac.actions,fetchPages:function*(e){yield{type:`${Nc}/${Kt}`};try{const t=yield{type:Nc,payload:{...e}};return{type:`${Nc}/${Zt}`,payload:t}}catch(e){return{type:`${Nc}/${Jt}`,payload:e}}}},jc={[Nc]:async({payload:e})=>{var t;return null===(t=Oc)||void 0===t||t.abort(),Oc=new AbortController,Gt()({path:`/wp/v2/pages?${(0,Rt.buildQueryString)(e)}`,signal:Oc.signal})}},Vc=Ac.reducer,zc=()=>({recommended:(0,le.get)(window,"wpseoScriptData.replacementVariables.recommended",{}),shared:(0,le.get)(window,"wpseoScriptData.replacementVariables.shared",[]),specific:(0,le.get)(window,"wpseoScriptData.replacementVariables.specific",{}),variables:(0,le.get)(window,"wpseoScriptData.replacementVariables.variables",[])}),qc=(0,Tt.createSlice)({name:"replacementVariables",initialState:zc(),reducers:{}}),Wc={selectRecommendedReplacementVariables:e=>(0,le.get)(e,"replacementVariables.recommended",{}),selectSharedReplacementVariables:e=>(0,le.get)(e,"replacementVariables.shared",[]),selectSpecificReplacementVariables:e=>(0,le.get)(e,"replacementVariables.specific",{}),selectReplacementVariables:e=>(0,le.get)(e,"replacementVariables.variables",[])};Wc.selectSpecificReplacementVariablesFor=(0,Tt.createSelector)([Wc.selectSharedReplacementVariables,Wc.selectSpecificReplacementVariables,(e,t)=>t,(e,t,s)=>s],((e,t,s,r)=>[...e,...(0,le.get)(t,s,(0,le.get)(t,r,[]))])),Wc.selectReplacementVariablesFor=(0,Tt.createSelector)([Wc.selectReplacementVariables,Wc.selectSpecificReplacementVariablesFor],((e,t)=>(0,le.filter)(e,(({name:e})=>(0,le.includes)(t,e))))),Wc.selectRecommendedReplacementVariablesFor=(0,Tt.createSelector)([Wc.selectRecommendedReplacementVariables,(e,t)=>t,(e,t,s)=>s],((e,t,s)=>(0,le.get)(e,t,(0,le.get)(e,s,[]))));const Hc=qc.actions,Yc=qc.reducer,Gc=(e,t)=>{ // translators: %1$s expands to the schema type, e.g. "Web Page" or "Blog Post". const s=(0,Lt.__)("%1$s (default)","wordpress-seo");return e.map((({label:e,value:r})=>({value:r,label:r===t?(0,Lt.sprintf)(s,e):e})))},Kc=()=>({articleTypes:(0,le.get)(window,"wpseoScriptData.schema.articleTypes",{}),articleTypeDefaults:(0,le.get)(window,"wpseoScriptData.schema.articleTypeDefaults",{}),pageTypes:(0,le.get)(window,"wpseoScriptData.schema.pageTypes",{}),pageTypeDefaults:(0,le.get)(window,"wpseoScriptData.schema.pageTypeDefaults",{})}),Zc=(0,Tt.createSlice)({name:"schema",initialState:Kc(),reducers:{}}),Jc={selectSchema:e=>(0,le.get)(e,"schema",{}),selectArticleTypes:e=>(0,le.get)(e,"schema.articleTypes",{}),selectArticleTypeDefaults:e=>(0,le.get)(e,"schema.articleTypeDefaults",{}),selectPageTypes:e=>(0,le.get)(e,"schema.pageTypes",{}),selectPageTypeDefaults:e=>(0,le.get)(e,"schema.pageTypeDefaults",{})};Jc.selectArticleTypeValues=(0,Tt.createSelector)(Jc.selectArticleTypes,(e=>(0,le.values)(e))),Jc.selectArticleTypeDefault=(0,Tt.createSelector)([Jc.selectArticleTypeDefaults,(e,t)=>t],((e,t)=>(0,le.get)(e,t,"None"))),Jc.selectArticleTypeValuesFor=(0,Tt.createSelector)([Jc.selectArticleTypeValues,Jc.selectArticleTypeDefault],((e,t)=>Gc(e,t))),Jc.selectPageTypeValues=(0,Tt.createSelector)(Jc.selectPageTypes,(e=>(0,le.values)(e))),Jc.selectPageTypeDefault=(0,Tt.createSelector)([Jc.selectPageTypeDefaults,(e,t)=>t],((e,t)=>(0,le.get)(e,t,"WebPage"))),Jc.selectPageTypeValuesFor=(0,Tt.createSelector)([Jc.selectPageTypeValues,Jc.selectPageTypeDefault],((e,t)=>Gc(e,t)));const Qc=Zc.actions,Xc=Zc.reducer,ed=(e,{userLocale:t})=>gn((0,le.join)([...(0,le.isArray)(null==e?void 0:e.keywords)?e.keywords:[],null==e?void 0:e.routeLabel,null==e?void 0:e.fieldLabel]," "),t),td=(e,t="",{userLocale:s})=>(0,le.reduce)(e,((e,r,a)=>{const o=(0,le.join)((0,le.filter)([t,a],Boolean),".");return"other_social_urls"===a?{...e,[o]:{route:null==r?void 0:r.route,routeLabel:null==r?void 0:r.routeLabel,fieldId:null==r?void 0:r.fieldId,fieldLabel:null==r?void 0:r.fieldLabel,keywords:ed(r,{userLocale:s})}}:null!=r&&r.route?{...e,[o]:{...r,keywords:ed(r,{userLocale:s})}}:{...e,...td(r,o,{userLocale:s})}}),{}),sd=()=>{const e=(0,le.get)(window,"wpseoScriptData.postTypes",{}),t=(0,le.get)(window,"wpseoScriptData.taxonomies",{}),s=(0,le.get)(window,"wpseoScriptData.preferences.userLocale",{});return{index:En(e,t,{userLocale:s})}},rd=(0,Tt.createSlice)({name:"search",initialState:sd(),reducers:{}}),ad={selectSearchIndex:e=>(0,le.get)(e,"search.index",{})};ad.selectQueryableSearchIndex=(0,Tt.createSelector)([ad.selectSearchIndex,e=>Xl.selectPreference(e,"userLocale")],((e,t)=>td(e,"",{userLocale:t})));const od=rd.actions,nd=rd.reducer,id=(0,Tt.createEntityAdapter)(),ld="fetchUsers",cd=()=>id.getInitialState({status:Qt,error:""}),dd=e=>({id:null==e?void 0:e.id,name:(0,le.trim)(null==e?void 0:e.name)||(null==e?void 0:e.slug)||(null==e?void 0:e.id),slug:null==e?void 0:e.slug}),ud=(0,Tt.createSlice)({name:"users",initialState:cd(),reducers:{addOneUser:{reducer:id.addOne,prepare:e=>({payload:dd(e)})},addManyUsers:{reducer:id.addMany,prepare:e=>({payload:(0,le.map)(e,dd)})}},extraReducers:e=>{e.addCase(`${ld}/${Kt}`,(e=>{e.status=Xt})),e.addCase(`${ld}/${Zt}`,((e,t)=>{e.status=es,id.addMany(e,(0,le.map)(t.payload,dd))})),e.addCase(`${ld}/${Jt}`,((e,t)=>{e.status=ts,e.error=t.payload}))}}),pd=id.getSelectors((e=>e.users)),md={selectUserIds:pd.selectIds,selectUserById:pd.selectById,selectUsers:pd.selectEntities};md.selectUsersWith=(0,Tt.createSelector)([md.selectUsers,(e,t={})=>t],((e,t)=>null!=t&&t.id&&!e[t.id]?{...e,[t.id]:{...t}}:e));const fd={...ud.actions,fetchUsers:function*(e){yield{type:`${ld}/${Kt}`};try{const t=yield{type:ld,payload:{...e}};return{type:`${ld}/${Zt}`,payload:t}}catch(e){return{type:`${ld}/${Jt}`,payload:e}}}},hd={[ld]:async({payload:e})=>Gt()({path:`/wp/v2/users?${(0,Rt.buildQueryString)(e)}`})},yd=ud.reducer,{isPromotionActive:wd}=zl.selectors,{currentPromotions:_d}=zl.reducers,{setCurrentPromotions:gd}=zl.actions,bd=({initialState:e={}}={})=>{(0,a.register)((({initialState:e})=>(0,a.createReduxStore)(ea,{actions:{...mc,..._c,...At,...Tc,...Vt,...Uc,...Kl,...ec,...Hc,...Qc,...od,...ic,...fd,setCurrentPromotions:gd},selectors:{...cc,...pc,...wc,...Ct,...Lc,...jt,...Bc,...Yl,...Xl,...Wc,...Jc,...ad,...oc,...md,isPromotionActive:wd},initialState:(0,le.merge)({},{defaultSettingValues:dc(),fallbacks:hc(),[Nt]:Ot(),media:vc(),[Dt]:Ut(),[Ic]:Mc(),postTypes:ql(),preferences:Jl(),replacementVariables:zc(),schema:Kc(),search:sd(),taxonomies:sc(),users:cd(),currentPromotions:{promotions:[]}},e),reducer:(0,a.combineReducers)({defaultSettingValues:fc,fallbacks:gc,[Nt]:Mt,media:$c,[Dt]:zt,[Ic]:Vc,postTypes:Zl,preferences:tc,replacementVariables:Yc,schema:Xc,search:nd,taxonomies:lc,users:yd,currentPromotions:_d}),controls:{...Fc,...hd,...Gl,...nc,...jc}}))({initialState:e}))};n()((()=>{const t=document.getElementById("yoast-seo-settings");if(!t)return;const s=document.createElement("div"),o=s.attachShadow({mode:"open"});document.body.appendChild(s);const n=(0,le.get)(window,"wpseoScriptData.settings",{}),c=(0,le.get)(window,"wpseoScriptData.fallbacks",{}),d=(0,le.get)(window,"wpseoScriptData.postTypes",{}),u=(0,le.get)(window,"wpseoScriptData.taxonomies",{}),p=(0,le.get)(window,"wpseoScriptData.showNewContentTypeNotification",!1)?{"new-content-type":{id:"new-content-type",variant:"info",size:"large",title:(0,Lt.__)("New type of content added to your site!","wordpress-seo"),description:(0,Lt.__)("Please see the “New” badges and review the Search appearance settings.","wordpress-seo")}}:{};bd({initialState:{notifications:p,[Nt]:(0,le.get)(window,"wpseoScriptData.linkParams",{}),currentPromotions:{promotions:(0,le.get)(window,"wpseoScriptData.currentPromotions",[])}}}),(async({settings:e,fallbacks:t})=>{const s=(0,le.get)(e,"wpseo_titles",{}),r=(0,le.filter)([(0,le.get)(e,"wpseo_social.og_default_image_id","0"),(0,le.get)(e,"wpseo_titles.open_graph_frontpage_image_id","0"),(0,le.get)(e,"wpseo_titles.company_logo_id","0"),(0,le.get)(e,"wpseo_titles.person_logo_id","0"),(0,le.get)(t,"siteLogoId","0"),...(0,le.reduce)(s,((e,t,s)=>(0,le.includes)(s,"social-image-id")?[...e,t]:e),[])],Boolean),o=(0,le.chunk)(r,100),{fetchMedia:n}=(0,a.dispatch)(ea);(0,le.forEach)(o,n)})({settings:n,fallbacks:c}),(async({settings:e})=>{const t=(0,le.get)(e,"wpseo_titles.company_or_person_user_id"),{fetchUsers:s}=(0,a.dispatch)(ea);t&&s({include:[t]})})({settings:n}),document.querySelector('[href="#wpbody-content"]').addEventListener("click",(e=>{var t,s;e.preventDefault(),window.outerWidth>782?null===(s=document.getElementById("link-yoast-logo"))||void 0===s||s.focus():null===(t=document.getElementById("button-open-settings-navigation-mobile"))||void 0===t||t.focus()})),document.querySelector('[href="#wp-toolbar"]').addEventListener("click",(e=>{var t;e.preventDefault(),null===(t=document.querySelector("#wp-admin-bar-wp-logo a"))||void 0===t||t.focus()})),(()=>{const e=document.getElementById("wpcontent"),t=document.getElementById("adminmenuwrap");e&&t&&(e.style.minHeight=`${t.offsetHeight}px`)})();const m=(0,a.select)(ea).selectPreference("isRtl",!1);(0,i.render)((0,e.createElement)(l.Root,{context:{isRtl:m}},(0,e.createElement)(St.StyleSheetManager,{target:o},(0,e.createElement)(r.SlotFillProvider,null,(0,e.createElement)(gt,null,(0,e.createElement)(K,{initialValues:n,validationSchema:Wi(d,u),onSubmit:kn},(0,e.createElement)(Vl,null)))))),t)}))})()})();
gclid
unknown_parameter
tag. */ (0,Lt.__)("Prevents specific URL parameters from being removed by the above feature. E.g., adding %1$s will prevent %2$s from being redirected to %3$s. You can add multiple parameters and separate them by using enter or a comma.","wordpress-seo"),"","",""),{code1:(0,e.createElement)(l.Code,null,"unknown_parameter"),code2:(0,e.createElement)(l.Code,null,"https://www.example.com/?unknown_parameter=yes"),code3:(0,e.createElement)(l.Code,null,"https://www.example.com")})})),[]),{values:m}=q(),{remove_feed_global_comments:f,remove_feed_post_comments:h,search_cleanup:y,search_cleanup_emoji:w,search_cleanup_patterns:_,clean_permalinks:g}=m.wpseo;return(0,e.createElement)(uo,{title:(0,Lt.__)("Crawl optimization","wordpress-seo"),description:p.page},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("Remove unwanted metadata","wordpress-seo"),description:p.removeUnwantedMetadata},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_shortlinks",id:"input-wpseo-remove_shortlinks",label:(0,Lt.__)("Remove shortlinks","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links to WordPress' internal 'shortlink' URLs for your posts.","wordpress-seo")," ",p.removeShortlinks),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_rest_api_links",id:"input-wpseo-remove_rest_api_links",label:(0,Lt.__)("Remove REST API links","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links to the location of your site’s REST API endpoints.","wordpress-seo")," ",p.removeRestApiLinks),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_rsd_wlw_links",id:"input-wpseo-remove_rsd_wlw_links",label:(0,Lt.__)("Remove RSD / WLW links","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links used by external systems for publishing content to your blog.","wordpress-seo")," ",p.removeRsdWlwLinks),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_oembed_links",id:"input-wpseo-remove_oembed_links",label:(0,Lt.__)("Remove oEmbed links","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links used for embedding your content on other sites.","wordpress-seo")," ",p.removeOembedLinks),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_generator",id:"input-wpseo-remove_generator",label:(0,Lt.__)("Remove generator tag","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove information about the plugins and software used by your site.","wordpress-seo")," ",p.removeGenerator),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_pingback_header",id:"input-wpseo-remove_pingback_header",label:(0,Lt.__)("Pingback HTTP header","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove links which allow others sites to ‘ping’ yours when they link to you.","wordpress-seo")," ",p.removePingbackHeader),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_powered_by_header",id:"input-wpseo-remove_powered_by_header",label:(0,Lt.__)("Remove powered by HTTP header","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove information about the plugins and software used by your site.","wordpress-seo")," ",p.removePoweredByHeader)),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Disable unwanted content formats","wordpress-seo"),description:(0,Lt.__)("WordPress outputs your content in many different formats, across many different URLs (like RSS feeds of your posts and categories). It’s generally good practice to disable the formats you’re not actively using.","wordpress-seo")},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_global",id:"input-wpseo-remove_feed_global",label:(0,Lt.__)("Remove global feed","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide an overview of your recent posts.","wordpress-seo")," ",p.removeFeedGlobal),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_global_comments",id:"input-wpseo-remove_feed_global_comments",label:(0,Lt.__)("Remove global comment feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide an overview of recent comments on your site.","wordpress-seo")," ",p.removeFeedGlobalComments,(0,Lt.__)("Also disables post comment feeds.","wordpress-seo")),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_post_comments",id:"input-wpseo-remove_feed_post_comments",label:(0,Lt.__)("Remove post comments feeds","wordpress-seo"),disabled:f,checked:f||h,className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about recent comments on each post.","wordpress-seo")," ",p.removeFeedPostComments),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_authors",id:"input-wpseo-remove_feed_authors",label:(0,Lt.__)("Remove post authors feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about recent posts by specific authors.","wordpress-seo")," ",p.removeFeedAuthors),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_post_types",id:"input-wpseo-remove_feed_post_types",label:(0,Lt.__)("Remove post type feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your recent posts, for each post type.","wordpress-seo")," ",p.removeFeedPostTypes),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_categories",id:"input-wpseo-remove_feed_categories",label:(0,Lt.__)("Remove category feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your recent posts, for each category.","wordpress-seo")," ",p.removeFeedCategories),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_tags",id:"input-wpseo-remove_feed_tags",label:(0,Lt.__)("Remove tag feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your recent posts, for each tag.","wordpress-seo")," ",p.removeFeedTags),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_custom_taxonomies",id:"input-wpseo-remove_feed_custom_taxonomies",label:(0,Lt.__)("Remove custom taxonomy feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your recent posts, for each custom taxonomy.","wordpress-seo")," ",p.removeFeedCustomTaxonomies),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_search",id:"input-wpseo-remove_feed_search",label:(0,Lt.__)("Remove search results feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide information about your search results.","wordpress-seo")," ",p.removeFeedSearch),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_atom_rdf_feeds",id:"input-wpseo-remove_atom_rdf_feeds",label:(0,Lt.__)("Remove Atom / RDF feeds","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Remove URLs which provide alternative (legacy) formats of all of the above.","wordpress-seo")," ",p.removeAtomRdfFeeds)),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Remove unused resources","wordpress-seo"),description:(0,Lt.__)("WordPress loads lots of resources, some of which your site might not need. If you’re not using these, removing them can speed up your pages and save resources.","wordpress-seo")},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_emoji_scripts",id:"input-wpseo-remove_emoji_scripts",label:(0,Lt.__)("Remove emoji scripts","wordpress-seo"),description:(0,Lt.__)("Remove JavaScript used for converting emoji characters in older browsers.","wordpress-seo"),className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_wp_json_crawling",id:"input-wpseo-deny_wp_json_crawling",label:(0,Lt.__)("Remove WP-JSON API","wordpress-seo"),className:"yst-max-w-2xl"},(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling of WordPress' JSON API endpoints.","wordpress-seo")," ",p.denyWpJsonCrawling)),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Block unwanted bots","wordpress-seo"),description:p.blockUnwantedBots},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_adsbot_crawling",id:"input-wpseo-deny_adsbot_crawling",label:(0,Lt.__)("Prevent Google AdsBot from crawling","wordpress-seo"),description:(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by Google AdsBot. You should only enable this setting if you're not using Google Ads on your site.","wordpress-seo"),className:"yst-max-w-2xl"}),(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!s&&!t,variant:"card",cardLink:c,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...r},(0,e.createElement)(pl,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_google_extended_crawling",id:"input-wpseo-deny_google_extended_crawling",label:(0,Lt.__)("Prevent Google Gemini and Vertex AI bots from crawling","wordpress-seo"),description:(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by the Google-Extended bot. Enabling this setting won’t prevent Google from indexing your website.","wordpress-seo"),labelSuffix:t&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium"),className:"yst-max-w-2xl",isDummy:!t}),(0,e.createElement)(pl,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_gptbot_crawling",id:"input-wpseo-deny_gptbot_crawling",label:(0,Lt.__)("Prevent OpenAI GPTBot from crawling","wordpress-seo"),description:(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by OpenAI GPTBot.","wordpress-seo"),labelSuffix:t&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium"),className:"yst-max-w-2xl",isDummy:!t}),(0,e.createElement)(pl,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_ccbot_crawling",id:"input-wpseo-deny_ccbot_crawling",label:(0,Lt.__)("Prevent Common Crawl CCBot from crawling","wordpress-seo"),description:(0,Lt.__)("Add a ‘disallow’ rule to your robots.txt file to prevent crawling by Common Crawl CCBot.","wordpress-seo"),labelSuffix:t&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium"),className:"yst-max-w-2xl",isDummy:!t}))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Internal site search cleanup","wordpress-seo"),description:(0,Lt.__)("Your internal site search can create lots of confusing URLs for search engines, and can even be used as a way for SEO spammers to attack your site. Most sites will benefit from experimenting with these protections and optimizations, even if you don’t have a search feature in your theme.","wordpress-seo")},(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.search_cleanup",id:"input-wpseo-search_cleanup",label:(0,Lt.__)("Filter search terms","wordpress-seo"),description:(0,Lt.__)("Enables advanced settings for protecting your internal site search URLs.","wordpress-seo"),className:"yst-max-w-2xl"}),(0,e.createElement)(dl,{as:l.TextField,type:"number",name:"wpseo.search_character_limit",id:"input-wpseo-search_character_limit",label:(0,Lt.__)("Max number of characters to allow in searches","wordpress-seo"),description:(0,Lt.__)("Limit the length of internal site search queries to reduce the impact of spam attacks and confusing URLs. Please enter a number between 1 and 50.","wordpress-seo"),disabled:!y}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.search_cleanup_emoji",id:"input-wpseo-search_cleanup_emoji",label:(0,Lt.__)("Filter searches with emojis and other special characters","wordpress-seo"),description:(0,Lt.__)("Block internal site searches which contain complex and non-alphanumeric characters, as they may be part of a spam attack.","wordpress-seo"),disabled:!y,checked:y&&w,className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.search_cleanup_patterns",id:"input-wpseo-search_cleanup_patterns",label:(0,Lt.__)("Filter searches with common spam patterns","wordpress-seo"),description:(0,Lt.__)("Block internal site searches which match the patterns of known spam attacks.","wordpress-seo"),disabled:!y,checked:y&&_,className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.redirect_search_pretty_urls",id:"input-wpseo-redirect_search_pretty_urls",label:(0,Lt.__)("Redirect pretty URLs to ‘raw’ formats","wordpress-seo"),description:p.redirectSearchPrettyUrls,className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.deny_search_crawling",id:"input-wpseo-deny_search_crawling",label:(0,Lt.__)("Prevent crawling of internal site search URLs","wordpress-seo"),description:p.denySearchCrawling,className:"yst-max-w-2xl"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Advanced: URL cleanup","wordpress-seo"),description:p.advancedUrlCleanup},(0,e.createElement)(l.Alert,{id:"alert-permalink-cleanup-settings",variant:"error"},(0,i.createInterpolateElement)((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. (0,Lt.__)("Warning! These are expert features, so make sure you know what you're doing before using this setting. You might break your site. %1$sRead more about how your site can be affected%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)("a",{id:"link-permalink-cleanup-info",href:o,target:"_blank",rel:"noopener noreferrer"})})),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.clean_campaign_tracking_urls",id:"input-wpseo-clean_campaign_tracking_urls",label:(0,Lt.__)("Optimize Google Analytics utm tracking parameters","wordpress-seo"),description:p.cleanCampaignTrackingUrls,className:"yst-max-w-2xl"}),(0,e.createElement)(ul,{as:l.ToggleField,type:"checkbox",name:"wpseo.clean_permalinks",id:"input-wpseo-clean_permalinks",label:(0,Lt.__)("Remove unregistered URL parameters","wordpress-seo"),description:p.cleanPermalinks,className:"yst-max-w-2xl"}),(0,e.createElement)(ba,{name:"wpseo.clean_permalinks_extra_variables",id:"input-wpseo-clean_permalinks_extra_variables",label:(0,Lt.__)("Additional URL parameters to allow","wordpress-seo"),description:p.cleanPermalinksExtraVariables,disabled:!g})))))},fl=Ca(_a),hl=()=>{const t=(0,Lt.__)("Date archives","wordpress-seo"),s=aa("selectPreference",[],"userLocale"),r=(0,i.useMemo)((()=>gn(t,s)),[t,s]),a=aa("selectUpsellSettingsAsProps"),o=aa("selectReplacementVariablesFor",[],"date_archive","custom-post-type_archive"),n=aa("selectRecommendedReplacementVariablesFor",[],"date_archive","custom-post-type_archive"),c=aa("selectLink",[],"https://yoa.st/show-x"),d=aa("selectPreference",[],"isPremium"),u=aa("selectLink",[],"https://yoa.st/4e0"),p=aa("selectExampleUrl",[],"/2020/"),m=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})})),[]),f=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to "Date archives". * %2$s expands to an example URL, e.g. https://example.com/author/example/. * %3$s expands to "date archives". */ (0,Lt.__)("%1$s (e.g. %2$s) are based on publication dates. From an SEO perspective, the posts in these archives have no real relation to the other posts except for their publication dates, which doesn’t say much about the content. They could also lead to duplicate content issues. This is why we recommend you to disable %3$s.","wordpress-seo"),t,"",r),{exampleUrl:(0,e.createElement)(l.Code,null,p)}))),{values:h}=q(),{opengraph:y}=h.wpseo_social,{"disable-date":w,"noindex-archive-wpseo":_}=h.wpseo_titles;return(0,e.createElement)(uo,{title:t,description:f},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)("fieldset",{className:"yst-min-width-0 yst-space-y-8"},(0,e.createElement)(ua,{name:"wpseo_titles.disable-date",id:"input-wpseo_titles-disable-date",label:(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Enable %1$s","wordpress-seo"),r),description:(0,Lt.sprintf)( // translators: %1$s expands to "Date archives". (0,Lt.__)("%1$s can cause duplicate content issues. For most sites, we recommend that you disable this setting.","wordpress-seo"),t),className:"yst-max-w-sm"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Search appearance","wordpress-seo"),description:(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Determine how your %1$s should look in search engines.","wordpress-seo"),r)},(0,e.createElement)(ua,{name:"wpseo_titles.noindex-archive-wpseo",id:"input-wpseo_titles-noindex-archive-wpseo",label:(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Show %1$s in search results","wordpress-seo"),r),description:(0,e.createElement)(e.Fragment,null,(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps. We recommend that you disable this setting.","wordpress-seo"),r)," ",(0,e.createElement)(l.Link,{href:c,target:"_blank",rel:"noopener"},(0,Lt.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:w,checked:!w&&!_,className:"yst-max-w-sm"}),(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.title-archive-wpseo",fieldId:"input-wpseo_titles-title-archive-wpseo",label:(0,Lt.__)("SEO title","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:n,disabled:w}),(0,e.createElement)(_a,{type:"description",name:"wpseo_titles.metadesc-archive-wpseo",fieldId:"input-wpseo_titles-metadesc-archive-wpseo",label:(0,Lt.__)("Meta description","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:n,disabled:w,className:"yst-replacevar--description"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},(0,e.createElement)("span",null,(0,Lt.__)("Social media appearance","wordpress-seo")),d&&(0,e.createElement)(l.Badge,{variant:"upsell"},"Premium")),description:(0,Lt.sprintf)( // translators: %1$s expands to "date archives". (0,Lt.__)("Determine how your %1$s should look on social media by default.","wordpress-seo"),r)},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!d,variant:"card",cardLink:u,cardText:(0,Lt.sprintf)( // translators: %1$s expands to Premium. (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...a},(0,e.createElement)(Wa,{isEnabled:!d||y}),(0,e.createElement)(ha,{id:"wpseo_titles-social-image-archive-wpseo",label:(0,Lt.__)("Social image","wordpress-seo"),previewLabel:m,mediaUrlName:"wpseo_titles.social-image-url-archive-wpseo",mediaIdName:"wpseo_titles.social-image-id-archive-wpseo",disabled:w||!y,isDummy:!d}),(0,e.createElement)(fl,{type:"title",name:"wpseo_titles.social-title-archive-wpseo",fieldId:"input-wpseo_titles-social-title-archive-wpseo",label:(0,Lt.__)("Social title","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:n,disabled:w||!y,isDummy:!d}),(0,e.createElement)(fl,{type:"description",name:"wpseo_titles.social-description-archive-wpseo",fieldId:"input-wpseo_titles-social-description-archive-wpseo",label:(0,Lt.__)("Social description","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:n,className:"yst-replacevar--description",disabled:w||!y,isDummy:!d}))))))},yl=Ca(_a),wl=()=>{const{name:t,label:s,singularLabel:r}=aa("selectTaxonomy",[],"post_format"),a=aa("selectPreference",[],"userLocale"),o=(0,i.useMemo)((()=>gn(s,a)),[s,a]),n=(0,i.useMemo)((()=>gn(r,a)),[r,a]),c=aa("selectUpsellSettingsAsProps"),d=aa("selectReplacementVariablesFor",[t],t,"term-in-custom-taxonomy"),u=aa("selectRecommendedReplacementVariablesFor",[t],t,"term-in-custom-taxonomy"),p=aa("selectLink",[],"https://yoa.st/show-x"),m=aa("selectPreference",[],"isPremium"),f=aa("selectLink",[],"https://yoa.st/4e0"),h=aa("selectExampleUrl",[],"/format/example/"),y=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})})),[]),w=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("(e.g., %1$s)","wordpress-seo"),""),{exampleUrl:(0,e.createElement)(l.Code,null,h)}))),{values:_}=q(),{opengraph:g}=_.wpseo_social,{"disable-post_format":b,"noindex-tax-post_format":v}=_.wpseo_titles;return(0,e.createElement)(uo,{title:(0,Lt.__)("Format archives","wordpress-seo"),description:w},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(ua,{name:"wpseo_titles.disable-post_format",id:"input-wpseo_titles-disable-post_format",label:(0,Lt.__)("Enable format-based archives","wordpress-seo"),description:(0,Lt.__)("Format-based archives can cause duplicate content issues. For most sites, we recommend that you disable this setting.","wordpress-seo"),className:"yst-max-w-sm"}),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Search appearance","wordpress-seo"),description:(0,Lt.sprintf)( // translators: %1$s expands to "formats". %2$s expands to "Yoast SEO". (0,Lt.__)("Determine how your %1$s should look in search engines. You can always customize the settings for individual %1$s in the %2$s metabox.","wordpress-seo"),o,"Yoast SEO")},(0,e.createElement)(ua,{name:`wpseo_titles.noindex-tax-${t}`,id:`input-wpseo_titles-noindex-tax-${t}`,label:(0,Lt.sprintf)( // translators: %1$s expands to "format". (0,Lt.__)("Show %1$s archives in search results","wordpress-seo"),n),description:(0,e.createElement)(e.Fragment,null,(0,Lt.sprintf)( // translators: %1$s expands to "formats". (0,Lt.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps. We recommend that you disable this setting.","wordpress-seo"),o)," ",(0,e.createElement)(l.Link,{href:p,target:"_blank",rel:"noopener"},(0,Lt.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:b,checked:!b&&!v,className:"yst-max-w-sm"}),(0,e.createElement)(_a,{type:"title",name:`wpseo_titles.title-tax-${t}`,fieldId:`input-wpseo_titles-title-tax-${t}`,label:(0,Lt.__)("SEO title","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,disabled:b}),(0,e.createElement)(_a,{type:"description",name:`wpseo_titles.metadesc-tax-${t}`,fieldId:`input-wpseo_titles-metadesc-tax-${t}`,label:(0,Lt.__)("Meta description","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,disabled:b,className:"yst-replacevar--description"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},(0,e.createElement)("span",null,(0,Lt.__)("Social media appearance","wordpress-seo")),m&&(0,e.createElement)(l.Badge,{variant:"upsell"},"Premium")),description:(0,Lt.sprintf)( // translators: %1$s expands to "formats". %2$s expands to "Yoast SEO". (0,Lt.__)("Determine how your %1$s should look on social media by default. You can always customize the settings for individual %1$s in the %2$s metabox.","wordpress-seo"),o,"Yoast SEO")},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!m,variant:"card",cardLink:f,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...c},(0,e.createElement)(Wa,{isEnabled:!m||g}),(0,e.createElement)(ha,{id:`wpseo_titles-social-image-tax-${t}`,label:(0,Lt.__)("Social image","wordpress-seo"),previewLabel:y,mediaUrlName:`wpseo_titles.social-image-url-tax-${t}`,mediaIdName:`wpseo_titles.social-image-id-tax-${t}`,disabled:b||!g,isDummy:!m}),(0,e.createElement)(yl,{type:"title",name:`wpseo_titles.social-title-tax-${t}`,fieldId:`input-wpseo_titles-social-title-tax-${t}`,label:(0,Lt.__)("Social title","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,disabled:b||!g,isDummy:!m}),(0,e.createElement)(yl,{type:"description",name:`wpseo_titles.social-description-tax-${t}`,fieldId:`input-wpseo_titles-social-description-tax-${t}`,label:(0,Lt.__)("Social description","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,className:"yst-replacevar--description",disabled:b||!g,isDummy:!m}))))))},_l=()=>{const t=aa("selectReplacementVariablesFor",[],"homepage","page"),s=aa("selectRecommendedReplacementVariablesFor",[],"homepage","page"),r=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})})),[]),{values:a}=q(),{opengraph:o}=a.wpseo_social;return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(na,{title:(0,Lt.__)("Search appearance","wordpress-seo"),description:(0,Lt.__)("Determine how your homepage should look in the search results.","wordpress-seo")},(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.title-home-wpseo",fieldId:"input-wpseo_titles-title-home-wpseo",label:(0,Lt.__)("SEO title","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s}),(0,e.createElement)(_a,{type:"description",name:"wpseo_titles.metadesc-home-wpseo",fieldId:"input-wpseo_titles-metadesc-home-wpseo",label:(0,Lt.__)("Meta description","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s,className:"yst-replacevar--description"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Social media appearance","wordpress-seo"),description:(0,Lt.__)("Determine how your homepage should look on social media.","wordpress-seo")},(0,e.createElement)(Wa,{isEnabled:o /* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */,text:(0,Lt.__)("The %1$ssocial image%2$s, %1$ssocial title%2$s and %1$ssocial description%2$s require Open Graph data, which is currently disabled in the ‘Social sharing’ section in %3$sSite features%4$s.","wordpress-seo")}),(0,e.createElement)(ha,{id:"wpseo_titles-open_graph_frontpage_image",label:(0,Lt.__)("Social image","wordpress-seo"),previewLabel:r,mediaUrlName:"wpseo_titles.open_graph_frontpage_image",mediaIdName:"wpseo_titles.open_graph_frontpage_image_id",disabled:!o}),(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.open_graph_frontpage_title",fieldId:"input-wpseo_titles-open_graph_frontpage_title",label:(0,Lt.__)("Social title","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s,disabled:!o}),(0,e.createElement)(_a,{type:"description",name:"wpseo_titles.open_graph_frontpage_desc",fieldId:"input-wpseo_titles-open_graph_frontpage_desc",label:(0,Lt.__)("Social description","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s,className:"yst-replacevar--description",disabled:!o})))},gl=()=>{const t=aa("selectPreference",[],"homepagePageEditUrl"),s=aa("selectPreference",[],"homepagePostsEditUrl"),r=(0,i.useMemo)((()=>Xi((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("You can determine the title and description for the homepage by %1$sediting the homepage itself%2$s.","wordpress-seo"),"",""),t,"link-homepage-page-edit"))),a=(0,i.useMemo)((()=>Xi((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("You can determine the title and description for the blog page by %1$sediting the blog page itself%2$s.","wordpress-seo"),"",""),s,"link-homepage-posts-page-edit")));return(0,e.createElement)("div",{className:"yst-max-w-screen-sm"},(0,e.createElement)(l.Alert,null,(0,e.createElement)("p",null,r),s&&(0,e.createElement)("p",{className:"yst-pt-2"},a)))},bl=()=>{const t=aa("selectPreference",[],"homepageIsLatestPosts");return(0,e.createElement)(uo,{title:(0,Lt.__)("Homepage","wordpress-seo"),description:(0,Lt.__)("Determine how your homepage should look in the search results and on social media. This is what people probably will see when they search for your brand name.","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},t&&(0,e.createElement)(_l,null),!t&&(0,e.createElement)(gl,null))))},vl=()=>{const{name:t,label:s,hasSchemaArticleType:r}=aa("selectPostType",[],"attachment"),a=aa("selectPreference",[],"userLocale"),o=(0,i.useMemo)((()=>gn(s,a)),[s,a]),n=aa("selectReplacementVariablesFor",[t],t,"custom_post_type"),c=aa("selectRecommendedReplacementVariablesFor",[t],t,"custom_post_type"),d=aa("selectArticleTypeValuesFor",[t],t),u=aa("selectPageTypeValuesFor",[t],t),p=aa("selectLink",[],"https://yoa.st/media-pages-thin-content"),m=aa("selectLink",[],"https://yoa.st/show-x"),{values:f}=q(),{"disable-attachment":h,"noindex-attachment":y}=f.wpseo_titles,w=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s and %2$s are replaced by opening and closing tags. * %3$s expands to "media". * %4$s expand to "Yoast SEO". * %5$s expand to "WordPress". */ (0,Lt.__)("When you upload media (e.g. an image or video), %5$s automatically creates a %3$s page (attachment URL) for it. These pages are quite empty and could cause %1$sthin content problems and lead to excess pages on your site%2$s. Therefore, %4$s disables them by default (and redirects the attachment URL to the media itself).","wordpress-seo"),"","",o,"Yoast SEO","WordPress"),{a:(0,e.createElement)("a",{href:p,target:"_blank",rel:"noopener noreferrer"})})));return(0,e.createElement)(uo,{title:(0,Lt.sprintf)( // translators: %1$s expands to "Media". (0,Lt.__)("%1$s pages","wordpress-seo"),s),description:w},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)("fieldset",{className:"yst-min-width-0 yst-space-y-8"},(0,e.createElement)(ua,{name:`wpseo_titles.disable-${t}`,id:`input-wpseo_titles-disable-${t}`,label:(0,Lt.sprintf)( // translators: %1$s expands to "media". (0,Lt.__)("Enable %1$s pages","wordpress-seo"),o),description:(0,Lt.sprintf)( // translators: %1$s expands to "media". (0,Lt.__)("We recommend keeping %1$s pages disabled. This will cause all attachment URLs to be redirected to the media itself.","wordpress-seo"),o),className:"yst-max-w-sm"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Search appearance","wordpress-seo"),description:(0,Lt.sprintf)( // translators: %1$s expands to "media". %3$s expands to "Yoast SEO". (0,Lt.__)("Determine how your %1$s pages should look in search engines. You can always customize the settings for individual %1$s pages in the %2$s metabox.","wordpress-seo"),o,"Yoast SEO")},(0,e.createElement)(ua,{name:`wpseo_titles.noindex-${t}`,id:`input-wpseo_titles-noindex-${t}`,label:(0,Lt.sprintf)( // translators: %1$s expands to "media". (0,Lt.__)("Show %1$s pages in search results","wordpress-seo"),o),description:(0,e.createElement)(e.Fragment,null,(0,Lt.sprintf)( // translators: %1$s expands to "media". (0,Lt.__)("Disabling this means that %1$s pages created by WordPress will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),o),(0,e.createElement)("br",null),(0,e.createElement)(l.Link,{href:m,target:"_blank",rel:"noopener"},(0,Lt.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:h,checked:!h&&!y,className:"yst-max-w-sm"}),(0,e.createElement)(_a,{type:"title",name:`wpseo_titles.title-${t}`,fieldId:`input-wpseo_titles-title-${t}`,label:(0,Lt.__)("SEO title","wordpress-seo"),replacementVariables:n,recommendedReplacementVariables:c,disabled:h}),(0,e.createElement)(_a,{type:"description",name:`wpseo_titles.metadesc-${t}`,fieldId:`input-wpseo_titles-metadesc-${t}`,label:(0,Lt.__)("Meta description","wordpress-seo"),replacementVariables:n,recommendedReplacementVariables:c,disabled:h,className:"yst-replacevar--description"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Schema","wordpress-seo"),description:(0,Lt.sprintf)( // translators: %1$s expands to "media". %3$s expands to "Yoast SEO". (0,Lt.__)("Determine how your %1$s pages should be described by default in your site's Schema.org markup. You can always customize the settings for individual %1$s pages in the %2$s metabox.","wordpress-seo"),o,"Yoast SEO")},(0,e.createElement)(Ra,{as:l.SelectField,type:"select",name:`wpseo_titles.schema-page-type-${t}`,id:`input-wpseo_titles-schema-page-type-${t}`,label:(0,Lt.__)("Page type","wordpress-seo"),options:u,disabled:h,className:"yst-max-w-sm"}),r&&(0,e.createElement)("div",null,(0,e.createElement)(Ra,{as:l.SelectField,type:"select",name:`wpseo_titles.schema-article-type-${t}`,id:`input-wpseo_titles-schema-article-type-${t}`,label:(0,Lt.__)("Article type","wordpress-seo"),options:d,disabled:h,className:"yst-max-w-sm"}),(0,e.createElement)(za,{name:t,disabled:h}))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Additional settings","wordpress-seo")},(0,e.createElement)(Ra,{as:l.ToggleField,type:"checkbox",name:`wpseo_titles.display-metabox-pt-${t}`,id:`input-wpseo_titles-display-metabox-pt-${t}`,label:(0,Lt.__)("Enable SEO controls and assessments","wordpress-seo"),description:(0,Lt.__)("Show or hide our tools and controls in the attachment editor.","wordpress-seo"),disabled:h,className:"yst-max-w-sm"})))))},El=({children:t})=>(0,e.createElement)(l.Table.Cell,{className:"yst-font-medium"},(0,e.createElement)("span",{className:"yst-text-slate-900"},t));El.propTypes={children:ir().node.isRequired};const xl=()=>(0,e.createElement)(uo,{title:(0,Lt.__)("RSS","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("RSS feed","wordpress-seo"),description:(0,Lt.__)("Automatically add content to your RSS. This enables you to add links back to your blog and your blog posts, helping search engines identify you as the original source of the content.","wordpress-seo")},(0,e.createElement)(te,{as:l.TextareaField,type:"textarea",rows:4,name:"wpseo_titles.rssbefore",id:"input-wpseo_titles-rssbefore",label:(0,Lt.__)("Content to put before each post in the feed","wordpress-seo")}),(0,e.createElement)(te,{as:l.TextareaField,type:"textarea",rows:4,name:"wpseo_titles.rssafter",id:"input-wpseo_titles-rssafter",label:(0,Lt.__)("Content to put after each post in the feed","wordpress-seo")})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{as:"section",title:(0,Lt.__)("Available variables","wordpress-seo"),description:(0,Lt.__)("You can use the following variables within the content, they will be replaced by the value on the right.","wordpress-seo")},(0,e.createElement)(l.Table,null,(0,e.createElement)(l.Table.Head,null,(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(l.Table.Header,{scope:"col"},(0,Lt.__)("Variable","wordpress-seo")),(0,e.createElement)(l.Table.Header,{scope:"col"},(0,Lt.__)("Description","wordpress-seo")))),(0,e.createElement)(l.Table.Body,null,(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(El,null,"%%AUTHORLINK%%"),(0,e.createElement)(l.Table.Cell,null,(0,Lt.__)("A link to the archive for the post author, with the author's name as anchor text.","wordpress-seo"))),(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(El,null,"%%POSTLINK%%"),(0,e.createElement)(l.Table.Cell,null,(0,Lt.__)("A link to the post, with the title as anchor text.","wordpress-seo"))),(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(El,null,"%%BLOGLINK%%"),(0,e.createElement)(l.Table.Cell,null,(0,Lt.__)("A link to your site, with your site's name as anchor text.","wordpress-seo"))),(0,e.createElement)(l.Table.Row,null,(0,e.createElement)(El,null,"%%BLOGDESCLINK%%"),(0,e.createElement)(l.Table.Cell,null,(0,Lt.__)("A link to your site, with your site's name and description as anchor text.","wordpress-seo"))))))))),kl=Oa(l.ToggleField),Sl=Aa($a),Ll=()=>{const t=(0,i.useMemo)((()=>(0,le.get)(window,"wpseoScriptData.separators",{})),[]),s=aa("selectPreference",[],"generalSettingsUrl"),r=aa("selectPreference",[],"canManageOptions",!1),a=aa("selectPreference",[],"showForceRewriteTitlesSetting",!1),o=aa("selectLink",[],"https://yoa.st/site-basics-replacement-variables"),n=aa("selectLink",[],"https://yoa.st/usage-tracking-2"),c=aa("selectLink",[],"https://yoa.st/site-policies-learn-more"),d=aa("selectPreference",[],"siteTitle",""),u=aa("selectLink",[],"https://yoa.st/site-policies-upsell"),p=aa("selectPreference",[],"isPremium"),m=aa("selectUpsellSettingsAsProps"),{fetchPages:f}=ta(),h=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("Usage tracking allows us to track some data about your site to improve our plugin. %1$sLearn more about which data we track and why%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)("a",{id:"link-usage-tracking",href:n,target:"_blank",rel:"noopener"})})),[]),y=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */ (0,Lt.__)("Select the pages on your website which contain information about your organizational and publishing policies. Some of these might not apply to your site, and you can select the same page for multiple policies. %1$sLearn more about why setting your site policies is important%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)("a",{id:"link-site-policies",href:c,target:"_blank",rel:"noopener"})})),[c]),w=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s and %2$s expand to an opening and closing emphasis tag. %3$s and %4$s expand to an opening and closing anchor tag. */ (0,Lt.__)("Set the basic info for your website. You can use %1$stagline%2$s and %1$sseparator%2$s as %3$sreplacement variables%4$s when configuring the search appearance of your content.","wordpress-seo"),"","","",""),{em:(0,e.createElement)("em",null),a:(0,e.createElement)("a",{id:"site-basics-replacement-variables",href:o,target:"_blank",rel:"noopener"})})),[]),_=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */ (0,Lt.__)("We're sorry, you're not allowed to edit the %1$swebsite name%2$s and %1$stagline%2$s.","wordpress-seo"),"",""),{em:(0,e.createElement)("em",null)})),[]),g=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening strong tag. * %2$s expands to a closing strong tag. * %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","1200x675px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})})),[]),b=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening anchor tag. * %2$s expands to a closing anchor tag. */ (0,Lt.__)("This field updates the %1$stagline in your WordPress settings%2$s.","wordpress-seo"),"",""),{a:(0,e.createElement)("a",{href:`${s}#blogdescription`,target:"_blank",rel:"noopener noreferrer"})})),[]),v=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which describes the editorial principles of your organization. %1$sWhat%2$s do you write about, %1$swho%2$s do you write for, and %1$swhy%2$s?","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),E=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which describes the ownership structure of your organization. It should include information about %1$sfunding%2$s and %1$sgrants%2$s.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),x=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which describes how your organization collects and responds to %1$sfeedback%2$s, engages with the %1$spublic%2$s, and prioritizes %1$stransparency%2$s.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),k=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which outlines your procedure for addressing %1$serrors%2$s (e.g., publishing retractions or corrections).","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),S=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which describes the personal, organizational, and corporate %1$sstandards%2$s of %1$sbehavior%2$s expected by your organization.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),L=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which provides information on your diversity policies for %1$seditorial%2$s content.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),T=(0,i.useMemo)((()=>(0,i.createInterpolateElement)((0,Lt.sprintf)( /** * translators: %1$s expands to an opening italics tag. * %2$s expands to a closing italics tag. */ (0,Lt.__)("Select a page which provides information about your diversity policies for %1$sstaffing%2$s, %1$shiring%2$s and %1$semployment%2$s.","wordpress-seo"),"",""),{i:(0,e.createElement)("i",null)})),[]),{values:F}=q(),{opengraph:$}=F.wpseo_social;return(0,i.useEffect)((()=>{f()}),[f]),(0,e.createElement)(uo,{title:(0,Lt.__)("Site basics","wordpress-seo"),description:(0,Lt.__)("Configure the basics for your website.","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("Site info","wordpress-seo"),description:w},!r&&(0,e.createElement)(l.Alert,{variant:"warning",id:"alert-site-defaults-variables",className:"yst-mb-8"},_),(0,e.createElement)("div",{className:"lg:yst-mt-0 lg:yst-col-span-2 yst-space-y-8"},(0,e.createElement)(Da,{as:l.TextField,name:"wpseo_titles.website_name",id:"input-wpseo_titles-website_name",label:(0,Lt.__)("Website name","wordpress-seo"),placeholder:d}),(0,e.createElement)(Da,{as:l.TextField,name:"wpseo_titles.alternate_website_name",id:"input-wpseo_titles-alternate_website_name",label:(0,Lt.__)("Alternate website name","wordpress-seo"),description:(0,Lt.__)("Use the alternate website name for acronyms, or a shorter version of your website's name.","wordpress-seo")}),(0,e.createElement)(te,{as:l.TextField,type:"text",name:"blogdescription",id:"input-blogdescription",label:(0,Lt.__)("Tagline","wordpress-seo"),description:r&&b,readOnly:!r})),(0,e.createElement)(l.RadioGroup,{label:(0,Lt.__)("Title separator","wordpress-seo"),variant:"inline-block"},(0,le.map)(t,(({label:t,aria_label:s},r)=>(0,e.createElement)(te,{key:r,as:l.Radio,type:"radio",variant:"inline-block",name:"wpseo_titles.separator",id:`input-wpseo_titles-separator-${r}`,label:t,isLabelDangerousHtml:!0,"aria-label":s,value:r})))),(0,e.createElement)(Wa,{isEnabled:$,text:/* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */ (0,Lt.__)("The %1$sSite image%2$s requires Open Graph data, which is currently disabled in the ‘Social sharing’ section in %3$sSite features%4$s.","wordpress-seo")}),(0,e.createElement)(ha,{id:"wpseo_social-og_default_image",label:(0,Lt.__)("Site image","wordpress-seo"),description:(0,Lt.__)("This image is used as a fallback for posts/pages that don't have any images set.","wordpress-seo"),previewLabel:g,mediaUrlName:"wpseo_social.og_default_image",mediaIdName:"wpseo_social.og_default_image_id",disabled:!$})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("Site preferences","wordpress-seo")},a&&(0,e.createElement)(Ra,{as:l.ToggleField,type:"checkbox",name:"wpseo_titles.forcerewritetitle",id:"input-wpseo_titles-forcerewritetitle",label:(0,Lt.__)("Force rewrite titles","wordpress-seo"),description:(0,Lt.sprintf)(/* translators: %1$s expands to "Yoast SEO" */ (0,Lt.__)("%1$s has auto-detected whether it needs to force rewrite the titles for your pages, if you think it's wrong and you know what you're doing, you can change the setting here.","wordpress-seo"),"Yoast SEO"),className:"yst-max-w-sm"}),(0,e.createElement)(Ra,{as:l.ToggleField,type:"checkbox",name:"wpseo.disableadvanced_meta",id:"input-wpseo-disableadvanced_meta",label:(0,Lt.__)("Restrict advanced settings for authors","wordpress-seo"),description:(0,Lt.sprintf)(/* translators: %1$s expands to "Yoast SEO" */ (0,Lt.__)("By default only editors and administrators can access the Advanced and Schema section of the %1$s sidebar or metabox. Disabling this allows access to all users.","wordpress-seo"),"Yoast SEO"),className:"yst-max-w-sm"}),(0,e.createElement)(Ra,{as:kl,type:"checkbox",name:"wpseo.tracking",id:"input-wpseo-tracking",label:(0,Lt.__)("Usage tracking","wordpress-seo"),description:h,className:"yst-max-w-sm"})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)(e.Fragment,null,(0,Lt.__)("Site policies","wordpress-seo"),p&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium")),description:y},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!p,variant:"card",cardLink:u,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...m},(0,e.createElement)(Sl,{name:"wpseo_titles.publishing_principles_id",id:"input-wpseo_titles-publishing_principles_id",label:(0,Lt.__)("Publishing principles","wordpress-seo"),className:"yst-max-w-sm",description:v,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.ownership_funding_info_id",id:"input-wpseo_titles-ownership_funding_info_id",label:(0,Lt.__)("Ownership / Funding info","wordpress-seo"),className:"yst-max-w-sm",description:E,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.actionable_feedback_policy_id",id:"input-wpseo_titles-actionable_feedback_policy_id",label:(0,Lt.__)("Actionable feedback policy","wordpress-seo"),className:"yst-max-w-sm",description:x,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.corrections_policy_id",id:"input-wpseo_titles-corrections_policy_id",label:(0,Lt.__)("Corrections policy","wordpress-seo"),className:"yst-max-w-sm",description:k,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.ethics_policy_id",id:"input-wpseo_titles-ethics_policy_id",label:(0,Lt.__)("Ethics policy","wordpress-seo"),className:"yst-max-w-sm",description:S,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.diversity_policy_id",id:"input-wpseo_titles-diversity_policy_id",label:(0,Lt.__)("Diversity policy","wordpress-seo"),className:"yst-max-w-sm",description:L,isDummy:!p}),(0,e.createElement)(Sl,{name:"wpseo_titles.diversity_staffing_report_id",id:"input-wpseo_titles-diversity_staffing_report_id",label:(0,Lt.__)("Diversity staffing report","wordpress-seo"),className:"yst-max-w-sm",description:T,isDummy:!p}))))))},Tl=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"}))})),Fl=({name:t,cardId:s,inputId:r,children:a,imageSrc:o,imageAlt:n,isPremiumFeature:c=!1,isPremiumLink:d="",isBetaFeature:u=!1,isNewFeature:p=!1,hasPremiumBadge:m=!1,title:f})=>{const h=aa("selectPreference",[],"isPremium"),y=aa("selectPluginUrl",[o],o),{isDisabled:w,message:_,disabledSetting:g}=Xr({name:t}),{values:b}=q(),v=aa("selectLink",[d],d),E=aa("selectUpsellSettingsAsProps"),x=(0,l.useSvgAria)(),k=(0,i.useMemo)((()=>(0,le.get)(b,t,!1)),[b,t]),S=(0,i.useMemo)((()=>!h&&c),[h,c]),L=(0,i.useMemo)((()=>w||!S&&!k),[w,S,k]),T=(0,i.useMemo)((()=>w||h&&c&&m||u||p&&!h),[w,h,c,u,p]);return(0,e.createElement)(l.Card,{id:s},(0,e.createElement)(l.Card.Header,{className:"yst-h-auto yst-p-0"},(0,e.createElement)("img",{className:or()("yst-w-full yst-transition yst-duration-200",L&&"yst-opacity-50 yst-filter yst-grayscale"),src:y,alt:null!=n?n:"",width:500,height:250,loading:"lazy",decoding:"async"}),T&&(0,e.createElement)("div",{className:"yst-absolute yst-top-2 yst-end-2 yst-flex yst-gap-1.5"},w&&(0,e.createElement)(l.Badge,{size:"small",variant:"plain"},_),h&&c&&m&&(0,e.createElement)(l.Badge,{size:"small",variant:"upsell"},"Premium"),u&&(0,e.createElement)(l.Badge,{size:"small",variant:"info"},"Beta"),p&&!h&&(0,e.createElement)(l.Badge,{size:"small",variant:"info"},"New"))),(0,e.createElement)(l.Card.Content,{className:"yst-flex yst-flex-col yst-gap-3"},(0,e.createElement)(l.Title,{as:"h3"},f),a),(0,e.createElement)(l.Card.Footer,null,!S&&(0,e.createElement)(Ra,{as:l.ToggleField,type:"checkbox",name:t,id:r,"aria-label":`${(0,Lt.__)("Enable feature","wordpress-seo")} ${f}`,label:(0,Lt.__)("Enable feature","wordpress-seo"),disabled:w,checked:"language"!==g&&k}),S&&(0,e.createElement)(l.Button,{as:"a",className:"yst-gap-2 yst-w-full yst-px-2",variant:"upsell",href:v,target:"_blank",rel:"noopener",...E},(0,e.createElement)(cr,{className:"yst-w-5 yst-h-5 yst--ms-1 yst-shrink-0",...x}),(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"))))};Fl.propTypes={name:ir().string.isRequired,cardId:ir().string.isRequired,inputId:ir().string.isRequired,children:ir().node.isRequired,imageSrc:ir().string.isRequired,imageAlt:ir().string,isPremiumFeature:ir().bool,isBetaFeature:ir().bool,isNewFeature:ir().bool,isPremiumLink:ir().string,hasPremiumBadge:ir().bool,title:ir().string.isRequired};const $l=({id:t,link:s,ariaLabel:r,...a})=>{const o=aa("selectLink",[s],s);return(0,e.createElement)(l.Link,{id:t,href:o,variant:"primary",className:"yst-flex yst-items-center yst-gap-1 yst-no-underline yst-font-medium",target:"_blank",rel:"noopener","aria-label":(0,Lt.sprintf)(/* translators: Hidden accessibility text; %s expands to a translated string of this feature, e.g. "SEO analysis". */ (0,Lt.__)("Learn more about %s (Opens in a new browser tab)","wordpress-seo"),r),...a},(0,Lt.__)("Learn more","wordpress-seo"),(0,e.createElement)(xr,{className:"yst-w-4 yst-h-4 yst-icon-rtl"}))};$l.propTypes={id:ir().string.isRequired,link:ir().string.isRequired,ariaLabel:ir().string.isRequired};const Pl=()=>{const t=aa("selectPreference",[],"isPremium"),s=aa("selectPreference",[],"sitemapUrl"),{values:r,initialValues:a}=q(),{enable_xml_sitemap:o}=r.wpseo,{enable_xml_sitemap:n}=a.wpseo,c=(0,i.useMemo)((()=>t?"yst-grid yst-gap-6 yst-grid-cols-1 sm:yst-grid-cols-2 min-[783px]:yst-grid-cols-1 lg:yst-grid-cols-2 xl:yst-grid-cols-3 2xl:yst-grid-cols-4":"yst-grid yst-gap-6 yst-grid-cols-1 sm:yst-grid-cols-2 min-[783px]:yst-grid-cols-1 lg:yst-grid-cols-2 2xl:yst-grid-cols-3 min-[1800px]:yst-grid-cols-4"),[t]);return(0,e.createElement)(uo,{title:(0,Lt.__)("Site features","wordpress-seo"),description:(0,Lt.__)("Tell us which features you want to use.","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-6xl"},(0,e.createElement)("fieldset",{className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("Writing","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2"},(0,Lt.__)("Writing","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo.keyword_analysis_active",cardId:"card-wpseo-keyword_analysis_active",inputId:"input-wpseo-keyword_analysis_active",imageSrc:"/images/seo_analysis.png",title:(0,Lt.__)("SEO analysis","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("The SEO analysis offers suggestions to improve the findability of your text and makes sure that your content meets best practices.","wordpress-seo")),(0,e.createElement)($l,{id:"link-seo-analysis",link:"https://yoa.st/2ak",ariaLabel:(0,Lt.__)("SEO analysis","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.content_analysis_active",cardId:"card-wpseo-content_analysis_active",inputId:"input-wpseo-content_analysis_active",imageSrc:"/images/readability_analysis.png",title:(0,Lt.__)("Readability analysis","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("The readability analysis offers suggestions to improve the structure and style of your text.","wordpress-seo")),(0,e.createElement)($l,{id:"link-readability-analysis",link:"https://yoa.st/2ao",ariaLabel:(0,Lt.__)("Readability analysis","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.inclusive_language_analysis_active",cardId:"card-wpseo-inclusive_language_analysis_active",inputId:"input-wpseo-inclusive_language_analysis_active",imageSrc:"/images/inclusive_language_analysis.png",title:(0,Lt.__)("Inclusive language analysis","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("The inclusive language analysis offers suggestions to write more inclusive copy, so more people will be able to relate to your content.","wordpress-seo")),(0,e.createElement)($l,{id:"link-inclusive-language-analysis",link:"https://yoa.st/inclusive-language-feature-learn-more",ariaLabel:(0,Lt.__)("Inclusive language analysis","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_ai_generator",cardId:"card-wpseo-enable_ai_generator",inputId:"input-wpseo-enable_ai_generator",imageSrc:"/images/ai-generator.png",isPremiumFeature:!0,hasPremiumBadge:!1,isBetaFeature:!0,isPremiumLink:"https://yoa.st/get-ai-generator",title:"Yoast AI"},(0,e.createElement)("p",null,(0,Lt.__)("The AI features help you create better content by providing optimization suggestions that you can apply as you wish.","wordpress-seo")),(0,e.createElement)($l,{id:"link-ai-generator",link:"https://yoa.st/ai-generator-feature",ariaLabel:(0,Lt.__)("AI title & description generator","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_metabox_insights",cardId:"card-wpseo-enable_metabox_insights",inputId:"input-wpseo-enable_metabox_insights",imageSrc:"/images/insights.png",title:(0,Lt.__)("Insights","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Get more insights into what you are writing. What words do you use most often? How much time does it take to read your text? Is your text easy to read?","wordpress-seo")),(0,e.createElement)($l,{id:"link-insights",link:"https://yoa.st/4ew",ariaLabel:(0,Lt.__)("Insights","wordpress-seo")})))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("fieldset",{className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("Site structure","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2"},(0,Lt.__)("Site structure","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo.enable_cornerstone_content",cardId:"card-wpseo-enable_cornerstone_content",inputId:"input-wpseo-enable_cornerstone_content",imageSrc:"/images/cornerstone_content.png",title:(0,Lt.__)("Cornerstone content","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Mark and filter your cornerstone content to make sure your most important articles get the attention they deserve. To help you write excellent copy, we’ll assess your text more strictly.","wordpress-seo")),(0,e.createElement)($l,{id:"link-cornerstone-content",link:"https://yoa.st/dashboard-help-cornerstone",ariaLabel:(0,Lt.__)("Cornerstone content","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_text_link_counter",cardId:"card-wpseo-enable_text_link_counter",inputId:"input-wpseo-enable_text_link_counter",imageSrc:"/images/text_link_counter.png",title:(0,Lt.__)("Text link counter","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Count the number of internal links from and to your posts to improve your site structure.","wordpress-seo")),(0,e.createElement)($l,{id:"link-text-link-counter",link:"https://yoa.st/2aj",ariaLabel:(0,Lt.__)("Text link counter","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_link_suggestions",cardId:"card-wpseo-enable_link_suggestions",inputId:"input-wpseo-enable_link_suggestions",imageSrc:"/images/link_suggestions.png",isPremiumFeature:!0,hasPremiumBadge:!0,isPremiumLink:"https://yoa.st/get-link-suggestions",title:(0,Lt.__)("Internal linking suggestions","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("No need to figure out what to link to. You get linking suggestions for relevant posts and pages to make your website easier to navigate.","wordpress-seo")),(0,e.createElement)($l,{id:"link-suggestions-link",link:t?"https://yoa.st/17g":"https://yoa.st/4ev",ariaLabel:(0,Lt.__)("Link suggestions","wordpress-seo")})))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("fieldset",{id:"section-social-sharing",className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("Social sharing","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2",className:"yst-mb-2"},(0,Lt.__)("Social sharing","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo_social.opengraph",cardId:"card-wpseo_social-opengraph",inputId:"input-wpseo_social-opengraph",imageSrc:"/images/open_graph.png",title:(0,Lt.__)("Open Graph data","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Allows for Facebook and other social media to display a preview with images and a text excerpt when a link to your site is shared. Keep this feature enabled to optimize your site for social media.","wordpress-seo")),(0,e.createElement)($l,{id:"link-open-graph-data",link:"https://yoa.st/site-features-open-graph-data",ariaLabel:(0,Lt.__)("Open Graph data","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo_social.twitter",cardId:"card-wpseo_social-twitter",inputId:"input-wpseo_social-twitter",imageSrc:"/images/twitter_card.png",title:(0,Lt.__)("X card data","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Allows for X to display a preview with images and a text excerpt when a link to your site is shared.","wordpress-seo")),(0,e.createElement)($l,{id:"link-twitter-card-data",link:"https://yoa.st/site-features-twitter-card-data",ariaLabel:(0,Lt.__)("X card data","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_enhanced_slack_sharing",cardId:"card-wpseo-enable_enhanced_slack_sharing",inputId:"input-wpseo-enable_enhanced_slack_sharing",imageSrc:"/images/slack_sharing.png",title:(0,Lt.__)("Slack sharing","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("This adds an author byline and reading time estimate to the article’s snippet when shared on Slack.","wordpress-seo")),(0,e.createElement)($l,{id:"link-slack-sharing",link:"https://yoa.st/help-slack-share",ariaLabel:(0,Lt.__)("Slack sharing","wordpress-seo")})))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("fieldset",{className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("Tools","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2"},(0,Lt.__)("Tools","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo.enable_admin_bar_menu",cardId:"card-wpseo-enable_admin_bar_menu",inputId:"input-wpseo-enable_admin_bar_menu",imageSrc:"/images/admin_bar.png",title:(0,Lt.__)("Admin bar menu","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.sprintf)( // translators: %1$s expands to Yoast. (0,Lt.__)("The %1$s icon in the top admin bar provides quick access to third-party tools for analyzing pages and makes it easy to see if you have new notifications.","wordpress-seo"),"Yoast")),(0,e.createElement)($l,{id:"link-admin-bar",link:"https://yoa.st/site-features-admin-bar",ariaLabel:(0,Lt.__)("Admin bar menu","wordpress-seo")})))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("fieldset",{className:"yst-min-w-0"},(0,e.createElement)("legend",{className:"yst-sr-only"},(0,Lt.__)("APIs","wordpress-seo")),(0,e.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},(0,e.createElement)(l.Title,{as:"h2",size:"2"},(0,Lt.__)("APIs","wordpress-seo"))),(0,e.createElement)("div",{className:c},(0,e.createElement)(Fl,{name:"wpseo.enable_headless_rest_endpoints",cardId:"card-wpseo-enable_headless_rest_endpoints",inputId:"input-wpseo-enable_headless_rest_endpoints",imageSrc:"/images/rest_api.png",title:(0,Lt.__)("REST API endpoint","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("This Yoast SEO REST API endpoint gives you all the metadata you need for a specific URL. This will make it very easy for headless WordPress sites to use Yoast SEO for all their SEO meta output.","wordpress-seo")),(0,e.createElement)($l,{id:"link-rest-api-endpoint",link:"https://yoa.st/site-features-rest-api-endpoint",ariaLabel:(0,Lt.__)("REST API endpoint","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_xml_sitemap",cardId:"card-wpseo-enable_xml_sitemap",inputId:"input-wpseo-enable_xml_sitemap",imageSrc:"/images/xml_sitemaps.png",title:(0,Lt.__)("XML sitemaps","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.sprintf)( // translators: %1$s expands to "Yoast SEO". (0,Lt.__)("Enable the %1$s XML sitemaps. A sitemap is a file that lists a website's essential pages to make sure search engines can find and crawl them.","wordpress-seo"),"Yoast SEO")),n&&o&&(0,e.createElement)(l.Button,{as:"a",id:"link-xml-sitemaps",href:s,variant:"secondary",target:"_blank",rel:"noopener",className:"yst-self-start"},(0,Lt.__)("View the XML sitemap","wordpress-seo"),(0,e.createElement)(Tl,{className:"yst--me-1 yst-ms-1 yst-h-5 yst-w-5 yst-text-slate-400 rtl:yst-rotate-[270deg]"})),(0,e.createElement)($l,{id:"link-xml-sitemaps-learn-more",link:"https://yoa.st/2a-",ariaLabel:(0,Lt.__)("XML sitemaps","wordpress-seo")})),(0,e.createElement)(Fl,{name:"wpseo.enable_index_now",cardId:"card-wpseo-enable_index_now",inputId:"input-wpseo-enable_index_now",imageSrc:"/images/indexnow.png",isPremiumFeature:!0,hasPremiumBadge:!0,isPremiumLink:"https://yoa.st/get-indexnow",title:(0,Lt.__)("IndexNow","wordpress-seo")},(0,e.createElement)("p",null,(0,Lt.__)("Automatically ping search engines like Bing and Yandex whenever you publish, update or delete a post.","wordpress-seo")),(0,e.createElement)($l,{id:"link-index-now",link:"https://yoa.st/index-now-feature",ariaLabel:(0,Lt.__)("IndexNow","wordpress-seo")})))))))},Rl=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"}))})),Nl=e.forwardRef((function(t,s){return e.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:s},t),e.createElement("path",{fillRule:"evenodd",d:"M10 3a1 1 0 011 1v5h5a1 1 0 110 2h-5v5a1 1 0 11-2 0v-5H4a1 1 0 110-2h5V4a1 1 0 011-1z",clipRule:"evenodd"}))})),Il=Ca(Da),Ol=Aa(Ia),Cl=()=>{const{values:t}=q(),{website_name:s,company_or_person:r,company_or_person_user_id:a,company_name:o,company_logo_id:n}=t.wpseo_titles,{other_social_urls:c}=t.wpseo_social,d=aa("selectUserById",[a],a),u=aa("selectLink",[],"https://yoa.st/1-p"),p=aa("selectLink",[],"https://yoa.st/3r3"),m=aa("selectLink",[],"https://yoa.st/site-representation-org-additional-info-upsell"),f=aa("selectLink",[],"https://yoa.st/site-representation-org-identifiers"),h=aa("selectLink",[],"https://yoa.st/site-representation-organization-person"),y=aa("selectPreference",[],"editUserUrl"),w=aa("selectPreference",[],"isLocalSeoActive"),_=aa("selectPreference",[],"companyOrPersonMessage"),g=aa("selectFallback",[],"siteLogoId"),b=aa("selectCanEditUser",[null==d?void 0:d.id],null==d?void 0:d.id),v=aa("selectPreference",[],"isPremium"),E=aa("selectUpsellSettingsAsProps"),x=aa("selectLink",[],"https://yoa.st/get-mastodon-integration"),k=aa("selectLink",[],"https://yoa.st/site-representation-mastodon"),S=aa("selectPreference",[],"localSeoPageSettingUrl");let L=(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Lt.__)("You have %1$s activated on your site. You can provide your VAT ID and Tax ID in the %2$s‘Business info’ settings%3$s.","wordpress-seo"),"Yoast Local SEO","",""),{a:(0,e.createElement)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})}),T=(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Lt.__)("You have %1$s activated on your site. You can provide your email and phone in the %2$s‘Business info’ settings%3$s.","wordpress-seo"),"Yoast Local SEO","",""),{a:(0,e.createElement)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})});S.includes("wpseo_locations")&&(L=(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Lt.__)("You have %1$s activated on your site, and you've configured your business for multiple locations. This allows you to provide your VAT ID and Tax ID for %2$seach specific location%3$s.","wordpress-seo"),"Yoast Local SEO","",""),{a:(0,e.createElement)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})}),T=(0,i.createInterpolateElement)((0,Lt.sprintf)(/* translators: %1$s expands for Yoast Local SEO, %2$s and %3$s expands to a link tags. */ (0,Lt.__)("You have %1$s activated on your site, and you've configured your business for multiple locations. This allows you to provide your email and phone for %2$seach specific location%3$s.","wordpress-seo"),"Yoast Local SEO","",""),{a:(0,e.createElement)("a",{href:S,target:"_blank",className:"yst-underline yst-font-medium"})}));const F=(0,i.useCallback)((async e=>{var t;await e.push(""),null===(t=document.getElementById(`input-wpseo_social-other_social_urls-${c.length}`))||void 0===t||t.focus()}),[c]);return(0,e.createElement)(uo,{title:(0,Lt.__)("Site representation","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. (0,Lt.__)("This info is intended to appear in %1$sGoogle's Knowledge Graph%2$s.","wordpress-seo"),"",""),u,"link-google-knowledge-graph")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("Organization/person","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. (0,Lt.__)("Choose whether your site represents an organization or a person. %1$sLearn more about the differences and choosing between Organization and Person%2$s.","wordpress-seo"),"",""),h,"link-site-representation-organization-person")},w&&(0,e.createElement)(l.Alert,{id:"alert-local-seo-company-or-person",variant:"info"},_),(0,e.createElement)(l.RadioGroup,{disabled:w},(0,e.createElement)(te,{as:l.Radio,type:"radio",name:"wpseo_titles.company_or_person",id:"input-wpseo_titles-company_or_person-company",label:(0,Lt.__)("Organization","wordpress-seo"),value:"company",disabled:w}),(0,e.createElement)(te,{as:l.Radio,type:"radio",name:"wpseo_titles.company_or_person",id:"input-wpseo_titles-company_or_person-person",label:(0,Lt.__)("Person","wordpress-seo"),value:"person",disabled:w}))),(0,e.createElement)("section",{className:"yst-space-y-8"}),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)("div",{className:"yst-relative"},(0,e.createElement)(ia.Z,{easing:"ease-out",duration:300,delay:300,height:"company"===r?"auto":0,animateOpacity:!0},(0,e.createElement)(na,{title:(0,Lt.__)("Organization","wordpress-seo"),description:(0,Lt.__)("Please tell us more about your organization. This information will help Google to understand your website, and improve your chance of getting rich results.","wordpress-seo")},(!o||n<1)&&(0,e.createElement)(l.Alert,{id:"alert-organization-name-logo",variant:"info"},Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags. (0,Lt.__)("An organization name and logo need to be set for structured data to work properly. Since you haven’t set these yet, we are using the site name and logo as default values. %1$sLearn more about the importance of structured data%2$s.","wordpress-seo"),"",""),p,"link-structured-data")),(0,e.createElement)(te,{as:l.TextField,name:"wpseo_titles.company_name",id:"input-wpseo_titles-company_name",label:(0,Lt.__)("Organization name","wordpress-seo"),placeholder:s}),(0,e.createElement)(te,{as:l.TextField,name:"wpseo_titles.company_alternate_name",id:"input-wpseo_titles-company_alternate_name",label:(0,Lt.__)("Alternate organization name","wordpress-seo"),description:(0,Lt.__)("Use the alternate organization name for acronyms, or a shorter version of your organization's name.","wordpress-seo")}),(0,e.createElement)(ha,{id:"wpseo_titles-company_logo",label:(0,Lt.__)("Organization logo","wordpress-seo"),variant:"square",previewLabel:(0,i.createInterpolateElement)((0,Lt.sprintf)( /* translators: %1$s expands to an opening strong tag. %2$s expands to a closing strong tag. %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","696x696px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})}),mediaUrlName:"wpseo_titles.company_logo",mediaIdName:"wpseo_titles.company_logo_id",fallbackMediaId:g})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{id:"fieldset-wpseo_social-other_social_urls",title:(0,Lt.__)("Other profiles","wordpress-seo"),description:(0,Lt.__)("Tell us if you have any other profiles on the web that belong to your organization. This can be any number of profiles, like YouTube, LinkedIn, Pinterest, or even Wikipedia.","wordpress-seo")},(0,e.createElement)(Da,{as:l.TextField,name:"wpseo_social.facebook_site",id:"input-wpseo_social-facebook_site",label:(0,Lt.__)("Facebook","wordpress-seo"),placeholder:(0,Lt.__)("E.g. https://facebook.com/yoast","wordpress-seo")}),(0,e.createElement)(Da,{as:l.TextField,name:"wpseo_social.twitter_site",id:"input-wpseo_social-twitter_site",label:(0,Lt.__)("X","wordpress-seo"),placeholder:(0,Lt.__)("E.g. https://x.com/yoast","wordpress-seo")}),(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!v,variant:"card",cardLink:x,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...E},(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_social.mastodon_url",id:"input-wpseo_social-mastodon_url",label:(0,Lt.__)("Mastodon","wordpress-seo"),placeholder:(0,Lt.__)("E.g. https://mastodon.social/@yoast","wordpress-seo"),labelSuffix:v&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium"),isDummy:!v,description:(0,e.createElement)(i.Fragment,null,(0,Lt.__)("Get your site verified in your Mastodon profile.","wordpress-seo")," ",(0,e.createElement)(l.Link,{id:"link-wpseo_social-mastodon_url",href:k,target:"_blank",rel:"noopener"},(0,Lt.__)("Read more about how to get your site verified.","wordpress-seo")))})),(0,e.createElement)(ie,{name:"wpseo_social.other_social_urls"},(t=>(0,e.createElement)(i.Fragment,null,c.map(((s,r)=>(0,e.createElement)(Js,{key:`wpseo_social.other_social_urls.${r}`,as:i.Fragment,appear:!0,show:!0,enter:"yst-transition yst-ease-out yst-duration-300",enterFrom:"yst-transform yst-opacity-0",enterTo:"yst-transform yst-opacity-100",leave:"yst-transition yst-ease-out yst-duration-300",leaveFrom:"yst-transform yst-opacity-100",leaveTo:"yst-transform yst-opacity-0"},(0,e.createElement)("div",{className:"yst-w-full yst-flex yst-items-start yst-gap-2"},(0,e.createElement)(Da,{as:l.TextField,name:`wpseo_social.other_social_urls.${r}`,id:`input-wpseo_social-other_social_urls-${r}`,label:(0,Lt.sprintf)((0,Lt.__)("Other profile %1$s","wordpress-seo"),r+1),placeholder:(0,Lt.__)("E.g. https://example.com/yoast","wordpress-seo"),className:"yst-grow"}),(0,e.createElement)(l.Button,{variant:"secondary",onClick:t.remove.bind(null,r),className:"yst-mt-7 yst-p-2.5","aria-label":(0,Lt.sprintf)((0,Lt.__)("Remove Other profile %1$s","wordpress-seo"),r+1)},(0,e.createElement)(Rl,{className:"yst-h-5 yst-w-5"})))))),(0,e.createElement)(l.Button,{id:"button-add-social-profile",variant:"secondary",onClick:()=>F(t)},(0,e.createElement)(Nl,{className:"yst--ms-1 yst-me-1 yst-h-5 yst-w-5 yst-text-slate-400"}),(0,Lt.__)("Add another profile","wordpress-seo")))))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)(i.Fragment,null,(0,Lt.__)("Additional organization info","wordpress-seo"),v&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium")),description:(0,Lt.__)("Enrich your organization's profile by providing more in-depth information. The more details you share, the better Google understands your website.","wordpress-seo")},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!v,variant:"card",cardLink:m,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...E},(0,e.createElement)(Il,{as:l.TextareaField,name:"wpseo_titles.org-description",id:"input-wpseo_titles-org-description",label:(0,Lt.__)("Organization description","wordpress-seo"),isDummy:!v,maxLength:2e3}),w&&v&&(0,e.createElement)(l.Alert,{id:"alert-local-seo-vat-or-tax-id",variant:"info"},T),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-email",id:"input-wpseo_titles-org-email",type:"email",label:(0,Lt.__)("Organization email address","wordpress-seo"),isDummy:!v||w}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-phone",id:"input-wpseo_titles-org-phone",label:(0,Lt.__)("Organization phone number","wordpress-seo"),isDummy:!v||w}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-legal-name",id:"input-wpseo_titles-org-legal-name",label:(0,Lt.__)("Organization's legal name","wordpress-seo"),isDummy:!v}),(0,e.createElement)(Il,{as:l.TextField,className:"yst-w-3/5",name:"wpseo_titles.org-founding-date",id:"input-wpseo_titles-org-founding-date",label:(0,Lt.__)("Organization's founding date","wordpress-seo"),type:"date",isDummy:!v}),(0,e.createElement)(Ol,{name:"wpseo_titles.org-number-employees",className:"yst-w-3/5",id:"input-wpseo_titles-org-number-employees",label:(0,Lt.__)("Number of employees","wordpress-seo"),placeholder:(0,Lt.__)("Select a range / Enter a number","wordpress-seo"),isDummy:!v,options:[{value:"",label:"None"},{value:"1-10",label:(0,Lt.__)("1–10 employees","wordpress-seo")},{value:"11-50",label:(0,Lt.__)("11–50 employees","wordpress-seo")},{value:"51-200",label:(0,Lt.__)("51–200 employees","wordpress-seo")},{value:"201-500",label:(0,Lt.__)("201–500 employees","wordpress-seo")},{value:"501-1000",label:(0,Lt.__)("501–1000 employees","wordpress-seo")},{value:"1001-5000",label:(0,Lt.__)("1001–5000 employees","wordpress-seo")},{value:"5001-10000",label:(0,Lt.__)("5001–10000 employees","wordpress-seo")}]}))),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,e.createElement)(i.Fragment,null,(0,Lt.__)("Organization identifiers","wordpress-seo"),v&&(0,e.createElement)(l.Badge,{className:"yst-ms-1.5",size:"small",variant:"upsell"},"Premium")),description:(0,Lt.__)("Please tell us more about your organization’s identifiers. This information will help Google to display accurate and helpful details about your organization.","wordpress-seo")},(0,e.createElement)(l.FeatureUpsell,{shouldUpsell:!v,variant:"card",cardLink:f,cardText:(0,Lt.sprintf)(/* translators: %1$s expands to Premium. */ (0,Lt.__)("Unlock with %1$s","wordpress-seo"),"Premium"),...E},w&&v&&(0,e.createElement)(l.Alert,{id:"alert-local-seo-vat-or-tax-id",variant:"info"},L),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-vat-id",id:"input-wpseo_titles-org-vat-id",label:(0,Lt.__)("VAT ID","wordpress-seo"),isDummy:!v||w}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-tax-id",id:"input-wpseo_titles-org-tax-id",label:(0,Lt.__)("Tax ID","wordpress-seo"),isDummy:!v||w}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-iso",id:"input-wpseo_titles-org-iso",label:(0,Lt.__)("ISO 6523","wordpress-seo"),isDummy:!v}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-duns",id:"input-wpseo_titles-org-duns",label:(0,Lt.__)("DUNS","wordpress-seo"),isDummy:!v}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-leicode",id:"input-wpseo_titles-org-leicode",label:(0,Lt.__)("LEI code","wordpress-seo"),isDummy:!v}),(0,e.createElement)(Il,{as:l.TextField,name:"wpseo_titles.org-naics",id:"input-wpseo_titles-org-naics",label:(0,Lt.__)("NAICS","wordpress-seo"),isDummy:!v})))),(0,e.createElement)(ia.Z,{easing:"ease-out",duration:300,delay:300,height:"person"===r?"auto":0,animateOpacity:!0},(0,e.createElement)(na,{title:(0,Lt.__)("Personal info","wordpress-seo"),description:(0,Lt.__)("Please tell us more about the person this site represents.","wordpress-seo")},(0,e.createElement)(Sa,{name:"wpseo_titles.company_or_person_user_id",id:"input-wpseo_titles-company_or_person_user_id",label:(0,Lt.__)("Select a user","wordpress-seo"),className:"yst-max-w-sm"}),!(0,le.isEmpty)(d)&&(0,e.createElement)(l.Alert,{id:"alert-person-user-profile"},b&&(0,i.createInterpolateElement)((0,Lt.sprintf)( /* translators: %1$s and %2$s are replaced by opening and closing tags. %3$s and %4$s are replaced by opening and closing tags. %5$s is replaced by the selected user display name. */ (0,Lt.__)("You have selected the user %1$s%5$s%2$s as the person this site represents. Their user profile information will now be used in search results. %3$sUpdate their profile to make sure the information is correct%4$s.","wordpress-seo"),"","","","",null==d?void 0:d.name),{strong:(0,e.createElement)("strong",{className:"yst-font-medium"}),a:(0,e.createElement)("a",{id:"link-person-user-profile",href:`${y}?user_id=${null==d?void 0:d.id}`,target:"_blank",rel:"noopener noreferrer"})}),!b&&(0,i.createInterpolateElement)((0,Lt.sprintf)( /* translators: %1$s and %2$s are replaced by opening and closing tags. %3$s is replaced by the selected user display name. */ (0,Lt.__)("You have selected the user %1$s%3$s%2$s as the person this site represents. Their user profile information will now be used in search results. We're sorry, you're not allowed to edit this user's profile. Please contact your admin or %1$s%3$s%2$s to check and/or update the profile.","wordpress-seo"),"","",null==d?void 0:d.name),{strong:(0,e.createElement)("strong",{className:"yst-font-medium"})})),(0,e.createElement)(ha,{id:"wpseo_titles-person_logo",label:(0,Lt.__)("Personal logo or avatar","wordpress-seo"),variant:"square",previewLabel:(0,i.createInterpolateElement)((0,Lt.sprintf)( /* translators: %1$s expands to an opening strong tag. %2$s expands to a closing strong tag. %3$s expands to the recommended image size. */ (0,Lt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"","","696x696px"),{strong:(0,e.createElement)("strong",{className:"yst-font-semibold"})}),mediaUrlName:"wpseo_titles.person_logo",mediaIdName:"wpseo_titles.person_logo_id",fallbackMediaId:g,disabled:!a})))))))},Al=()=>{const t=aa("selectReplacementVariablesFor",[],"search","search"),s=aa("selectRecommendedReplacementVariablesFor",[],"search","search"),r=aa("selectReplacementVariablesFor",[],"404","404"),a=aa("selectRecommendedReplacementVariablesFor",[],"404","404");return(0,e.createElement)(uo,{title:(0,Lt.__)("Special pages","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)(na,{title:(0,Lt.__)("Internal search pages","wordpress-seo"),description:(0,Lt.__)("Determine how the title of your internal search pages should look in the browser.","wordpress-seo")},(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.title-search-wpseo",fieldId:"input-wpseo_titles-title-search-wpseo",label:(0,Lt.__)("Page title","wordpress-seo"),replacementVariables:t,recommendedReplacementVariables:s})),(0,e.createElement)("hr",{className:"yst-my-8"}),(0,e.createElement)(na,{title:(0,Lt.__)("404 error pages","wordpress-seo"),description:(0,Lt.__)("Determine how the title of your 404 error pages should look in the browser.","wordpress-seo")},(0,e.createElement)(_a,{type:"title",name:"wpseo_titles.title-404-wpseo",fieldId:"input-wpseo_titles-title-404-wpseo",label:(0,Lt.__)("Page title","wordpress-seo"),replacementVariables:r,recommendedReplacementVariables:a})))))},Ml=/content=(['"])?(?[^'"> ]+)(?:\1|[ />])/,Dl=e=>{var t;const s=e.target.value.match(Ml);return null!=s&&null!==(t=s.groups)&&void 0!==t&&t.content?s.groups.content:e.target.value},Bl=Ma(Ra),Ul=()=>{const t=aa("selectPreference",[],"siteUrl");return(0,e.createElement)(uo,{title:(0,Lt.__)("Site connections","wordpress-seo"),description:(0,Lt.__)("Verify your site with different tools. This will add a verification meta tag to your homepage. You can find instructions on how to verify your site for each platform by following the link in the description.","wordpress-seo")},(0,e.createElement)(ca,null,(0,e.createElement)("div",{className:"yst-max-w-5xl"},(0,e.createElement)("fieldset",{className:"yst-min-width-0 yst-max-w-screen-sm yst-space-y-8"},(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo.baiduverify",id:"input-wpseo-baiduverify",label:(0,Lt.__)("Baidu","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Get your verification code in %1$sBaidu Webmaster tools%2$s.","wordpress-seo"),"",""),"https://ziyuan.baidu.com/site","link-baidu-webmaster-tools"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl}),(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo.msverify",id:"input-wpseo-msverify",label:(0,Lt.__)("Bing","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Get your verification code in %1$sBing Webmaster tools%2$s.","wordpress-seo"),"",""),`https://www.bing.com/toolbox/webmaster/#/Dashboard/?url=${t}`,"link-bing-webmaster-tools"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl}),(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo.googleverify",id:"input-wpseo-googleverify",label:(0,Lt.__)("Google","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Get your verification code in %1$sGoogle Search console%2$s.","wordpress-seo"),"",""),(0,Rt.addQueryArgs)("https://search.google.com/search-console/users",{hl:"en",tid:"alternate",siteUrl:t}),"link-google-search-console"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl}),(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo_social.pinterestverify",id:"input-wpseo_social-pinterestverify",label:(0,Lt.__)("Pinterest","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Claim your site over at %1$sPinterest%2$s.","wordpress-seo"),"",""),"https://www.pinterest.com/settings/claim","link-pinterest"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl}),(0,e.createElement)(Bl,{as:l.TextField,type:"text",name:"wpseo.yandexverify",id:"input-wpseo-yandexverify",label:(0,Lt.__)("Yandex","wordpress-seo"),description:Xi((0,Lt.sprintf)( // translators: %1$s and %2$s are replaced by opening and closing tags, respectively. (0,Lt.__)("Get your verification code in %1$sYandex Webmaster tools%2$s.","wordpress-seo"),"",""),"https://webmaster.yandex.com/sites/add/","link-yandex-webmaster-tools"),placeholder:(0,Lt.__)("Add verification code","wordpress-seo"),transformValue:Dl})))))},jl=({postTypes:t,taxonomies:s,idSuffix:r=""})=>{const a=(0,l.useSvgAria)(),o=aa("selectPreference",[],"isPremium"),n=(0,i.useCallback)((({show:t,toggle:s,ariaProps:r})=>{const o=(0,i.useMemo)((()=>t?sr:rr),[t]);return(0,e.createElement)("div",{className:"yst-relative"},(0,e.createElement)("hr",{className:"yst-absolute yst-inset-x-0 yst-top-1/2 yst-bg-slate-200"}),(0,e.createElement)("button",{type:"button",className:"yst-relative yst-flex yst-items-center yst-gap-1.5 yst-px-2.5 yst-py-1 yst-mx-auto yst-text-xs yst-font-medium yst-text-slate-700 yst-bg-slate-50 yst-rounded-full yst-border yst-border-slate-300 hover:yst-bg-white hover:yst-text-slate-800 focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-primary-500 focus:yst-ring-offset-2",onClick:s,...r},t?(0,Lt.__)("Show less","wordpress-seo"):(0,Lt.__)("Show more","wordpress-seo"),(0,e.createElement)(o,{className:"yst-h-4 yst-w-4 yst-flex-shrink-0 yst-text-slate-400 group-hover:yst-text-slate-500 yst-stroke-3",...a})))}),[]);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("header",{className:"yst-px-3 yst-mb-6 yst-space-y-6"},(0,e.createElement)(Et,{id:`link-yoast-logo${r}`,to:"/",className:"yst-inline-block yst-rounded-md focus:yst-ring-primary-500","aria-label":"Yoast SEO"+(o?" Premium":"")},(0,e.createElement)(Qr,{className:"yst-w-40",...a})),(0,e.createElement)(Ji,{buttonId:`button-search${r}`})),(0,e.createElement)("div",{className:"yst-px-0.5 yst-space-y-6"},(0,e.createElement)(l.SidebarNavigation.MenuItem,{id:`menu-general${r}`,icon:Qs,label:(0,Lt.__)("General","wordpress-seo")},(0,e.createElement)(vr,{to:"/site-features",label:(0,Lt.__)("Site features","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/site-basics",label:(0,Lt.__)("Site basics","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/site-representation",label:(0,Lt.__)("Site representation","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/site-connections",label:(0,Lt.__)("Site connections","wordpress-seo"),idSuffix:r})),(0,e.createElement)(l.SidebarNavigation.MenuItem,{id:`menu-content-types${r}`,icon:Xs,label:(0,Lt.__)("Content types","wordpress-seo")},(0,e.createElement)(l.ChildrenLimiter,{limit:5,renderButton:n},(0,e.createElement)(vr,{to:"/homepage",label:(0,Lt.__)("Homepage","wordpress-seo"),idSuffix:r}),(0,le.map)(t,(({name:t,route:s,label:a,isNew:o})=>(0,e.createElement)(vr,{key:`link-post-type-${t}`,to:`/post-type/${s}`,label:(0,e.createElement)("span",{className:"yst-inline-flex yst-items-center yst-gap-1.5"},a,o&&(0,e.createElement)(l.Badge,{variant:"info"},(0,Lt.__)("New","wordpress-seo"))),idSuffix:r}))))),(0,e.createElement)(l.SidebarNavigation.MenuItem,{id:`menu-categories-and-tags${r}`,icon:er,label:(0,Lt.__)("Categories & tags","wordpress-seo")},(0,e.createElement)(l.ChildrenLimiter,{limit:5,renderButton:n},(0,le.map)(s,(t=>(0,e.createElement)(vr,{key:`link-taxonomy-${t.name}`,to:`/taxonomy/${t.route}`,label:(0,e.createElement)("span",{className:"yst-inline-flex yst-items-center yst-gap-1.5"},t.label,t.isNew&&(0,e.createElement)(l.Badge,{variant:"info"},(0,Lt.__)("New","wordpress-seo"))),idSuffix:r}))))),(0,e.createElement)(l.SidebarNavigation.MenuItem,{id:`menu-advanced${r}`,icon:tr,label:(0,Lt.__)("Advanced","wordpress-seo"),defaultOpen:!1},(0,e.createElement)(vr,{to:"/crawl-optimization",label:(0,Lt.__)("Crawl optimization","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/breadcrumbs",label:(0,Lt.__)("Breadcrumbs","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/author-archives",label:(0,Lt.__)("Author archives","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/date-archives",label:(0,Lt.__)("Date archives","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/format-archives",label:(0,Lt.__)("Format archives","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/special-pages",label:(0,Lt.__)("Special pages","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/media-pages",label:(0,Lt.__)("Media pages","wordpress-seo"),idSuffix:r}),(0,e.createElement)(vr,{to:"/rss",label:(0,Lt.__)("RSS","wordpress-seo"),idSuffix:r}))))};jl.propTypes={postTypes:ir().object.isRequired,taxonomies:ir().object.isRequired,idSuffix:ir().string};const Vl=()=>{const{pathname:t}=Qe(),s=aa("selectPostTypes"),r=aa("selectTaxonomies"),o=aa("selectPreference",[],"isPremium"),n=aa("selectLink",[],"https://yoa.st/17h"),c=aa("selectLink",[],"https://yoa.st/jj"),d=aa("selectUpsellSettingsAsProps"),u=aa("selectLink",[],"https://yoa.st/3t6"),{isPromotionActive:p}=(0,a.useSelect)(ea);(()=>{const{hash:e,pathname:t,key:s}=Qe();(0,i.useEffect)((()=>{const t=e.replace("#",""),s=document.getElementById(t)||document.querySelector(`[data-id="${t}"]`);if(s)s.scrollIntoView({behavior:"smooth"}),setTimeout((()=>s.focus()),800);else{const e=document.getElementById("yoast-seo-settings");null==e||e.scrollIntoView({behavior:"smooth"})}}),[t,e,s])})();const{dirty:m}=q();return(0,l.useBeforeUnload)(m,(0,Lt.__)("There are unsaved changes on this page. Leaving means that those changes will be lost. Are you sure you want to leave this page?","wordpress-seo")),(0,e.createElement)(e.Fragment,null,(0,e.createElement)(ja,null),(0,e.createElement)(l.SidebarNavigation,{activePath:t},(0,e.createElement)(l.SidebarNavigation.Mobile,{openButtonId:"button-open-settings-navigation-mobile",closeButtonId:"button-close-settings-navigation-mobile" /* translators: Hidden accessibility text. */,openButtonScreenReaderText:(0,Lt.__)("Open settings navigation","wordpress-seo") /* translators: Hidden accessibility text. */,closeButtonScreenReaderText:(0,Lt.__)("Close settings navigation","wordpress-seo"),"aria-label":(0,Lt.__)("Settings navigation","wordpress-seo")},(0,e.createElement)(jl,{idSuffix:"-mobile",postTypes:s,taxonomies:r})),(0,e.createElement)("div",{className:"yst-p-4 min-[783px]:yst-p-8 yst-flex yst-gap-4"},(0,e.createElement)("aside",{className:"yst-sidebar yst-sidebar-nav yst-shrink-0 yst-hidden min-[783px]:yst-block yst-pb-6 yst-bottom-0 yst-w-56"},(0,e.createElement)(l.SidebarNavigation.Sidebar,null,(0,e.createElement)(jl,{postTypes:s,taxonomies:r}))),(0,e.createElement)("div",{className:or()("yst-flex yst-grow yst-flex-wrap",!o&&"xl:yst-pe-[17.5rem]")},(0,e.createElement)("div",{className:"yst-grow yst-max-w-page yst-space-y-6 yst-mb-8 xl:yst-mb-0"},(0,e.createElement)(l.Paper,{as:"main"},(0,e.createElement)(l.ErrorBoundary,{FallbackComponent:Qi},(0,e.createElement)(Js,{key:t,appear:!0,show:!0,enter:"yst-transition-opacity yst-delay-100 yst-duration-300",enterFrom:"yst-opacity-0",enterTo:"yst-opacity-100"},(0,e.createElement)(ft,null,(0,e.createElement)(pt,{path:"author-archives",element:(0,e.createElement)(ll,null)}),(0,e.createElement)(pt,{path:"breadcrumbs",element:(0,e.createElement)(cl,null)}),(0,e.createElement)(pt,{path:"crawl-optimization",element:(0,e.createElement)(ml,null)}),(0,e.createElement)(pt,{path:"date-archives",element:(0,e.createElement)(hl,null)}),(0,e.createElement)(pt,{path:"homepage",element:(0,e.createElement)(bl,null)}),(0,e.createElement)(pt,{path:"format-archives",element:(0,e.createElement)(wl,null)}),(0,e.createElement)(pt,{path:"media-pages",element:(0,e.createElement)(vl,null)}),(0,e.createElement)(pt,{path:"rss",element:(0,e.createElement)(xl,null)}),(0,e.createElement)(pt,{path:"site-basics",element:(0,e.createElement)(Ll,null)}),(0,e.createElement)(pt,{path:"site-connections",element:(0,e.createElement)(Ul,null)}),(0,e.createElement)(pt,{path:"site-representation",element:(0,e.createElement)(Cl,null)}),(0,e.createElement)(pt,{path:"site-features",element:(0,e.createElement)(Pl,null)}),(0,e.createElement)(pt,{path:"special-pages",element:(0,e.createElement)(Al,null)}),(0,e.createElement)(pt,{path:"post-type"},(0,le.map)(s,(t=>(0,e.createElement)(pt,{key:`route-post-type-${t.name}`,path:t.route,element:(0,e.createElement)(rl,{...t})})))),(0,e.createElement)(pt,{path:"taxonomy"},(0,le.map)(r,(t=>(0,e.createElement)(pt,{key:`route-taxonomy-${t.name}`,path:t.route,element:(0,e.createElement)(nl,{...t})})))),(0,e.createElement)(pt,{path:"*",element:(0,e.createElement)(ut,{to:"/site-features",replace:!0})}))))),!o&&(0,e.createElement)(zr,{premiumLink:n,premiumUpsellConfig:d,isPromotionActive:p})),!o&&(0,e.createElement)("div",{className:"xl:yst-max-w-3xl xl:yst-fixed xl:yst-end-8 xl:yst-w-[16rem]"},(0,e.createElement)(qr,{premiumLink:c,premiumUpsellConfig:d,academyLink:u,isPromotionActive:p}))))))},zl=window.yoast.externals.redux,ql=()=>(0,le.get)(window,"wpseoScriptData.postTypes",{}),Wl="updatePostTypeReviewStatus",Hl=(0,Tt.createSlice)({name:"postTypes",initialState:ql(),reducers:{},extraReducers:e=>{e.addCase(`${Wl}/result`,((e,{payload:t})=>{e[t].isNew=!1}))}}),Yl={selectPostType:(e,t,s={})=>(0,le.get)(e,`postTypes.${t}`,s),selectAllPostTypes:(e,t=null)=>{const s=(0,le.get)(e,"postTypes",{});return t?(0,le.pick)(s,t):s}};Yl.selectPostTypes=(0,Tt.createSelector)(Yl.selectAllPostTypes,(e=>(0,le.omit)(e,["attachment"])));const Gl={[Wl]:async({payload:e})=>Gt()({path:"/yoast/v1/new-content-type-visibility/dismiss-post-type",method:"POST",data:{post_type_name:e}})},Kl={...Hl.actions,updatePostTypeReviewStatus:function*(e){try{yield{type:Wl,payload:e}}catch(t){console.error(`Error: Failed to remove "New" badge for ${e}, ${t}`)}return{type:`${Wl}/result`,payload:e}}},Zl=Hl.reducer,Jl=()=>{var e;return{...(0,le.get)(window,"wpseoScriptData.preferences",{}),documentTitle:(0,le.defaultTo)(null===(e=document)||void 0===e?void 0:e.title,"")}},Ql=(0,Tt.createSlice)({name:"preferences",initialState:Jl(),reducers:{}}),Xl={selectPreference:(e,t,s={})=>(0,le.get)(e,`preferences.${t}`,s),selectPreferences:e=>(0,le.get)(e,"preferences",{})};Xl.selectHasPageForPosts=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"homepageIsLatestPosts"),e=>Xl.selectPreference(e,"homepagePostsEditUrl")],((e,t)=>!e&&!(0,le.isEmpty)(t))),Xl.selectCanEditUser=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"currentUserId",-1),e=>Xl.selectPreference(e,"canEditUsers",!1),(e,t)=>t],((e,t,s)=>e===s||t)),Xl.selectExampleUrl=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"siteUrl","https://example.com"),(e,t)=>t],((e,t)=>e+t)),Xl.selectPluginUrl=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"pluginUrl","https://example.com"),(e,t)=>t],((e,t)=>e+t)),Xl.selectUpsellSettingsAsProps=(0,Tt.createSelector)([e=>Xl.selectPreference(e,"upsellSettings",{}),(e,t="premiumCtbId")=>t],((e,t)=>({"data-action":null==e?void 0:e.actionId,"data-ctb-id":null==e?void 0:e[t]})));const ec=Ql.actions,tc=Ql.reducer,sc=()=>(0,le.reduce)((0,le.get)(window,"wpseoScriptData.taxonomies",{}),((e,{postTypes:t,...s},r)=>({...e,[r]:{...s,postTypes:(0,le.values)(t)}})),{}),rc="updateTaxonomyReviewStatus",ac=(0,Tt.createSlice)({name:"taxonomies",initialState:sc(),reducers:{},extraReducers:e=>{e.addCase(`${rc}/result`,((e,{payload:t})=>{e[t].isNew=!1}))}}),oc={selectTaxonomy:(e,t,s={})=>(0,le.get)(e,`taxonomies.${t}`,s),selectAllTaxonomies:e=>(0,le.get)(e,"taxonomies",{})};oc.selectTaxonomies=(0,Tt.createSelector)(oc.selectAllTaxonomies,(e=>(0,le.omit)(e,["post_format"])));const nc={[rc]:async({payload:e})=>Gt()({path:"/yoast/v1/new-content-type-visibility/dismiss-taxonomy",method:"POST",data:{taxonomy_name:e}})},ic={...ac.actions,updateTaxonomyReviewStatus:function*(e){try{yield{type:rc,payload:e}}catch(t){console.error(`Error: Failed to remove "New" badge for ${e}, ${t}`)}return{type:`${rc}/result`,payload:e}}},lc=ac.reducer,cc={selectBreadcrumbsForPostTypes:(0,Tt.createSelector)([oc.selectAllTaxonomies,Yl.selectAllPostTypes],((e,t)=>{const s={value:0,label:(0,Lt.__)("None","wordpress-seo")},r={};return(0,le.forEach)(t,((t,a)=>{const o=(0,le.filter)(e,(e=>(0,le.includes)(e.postTypes,a)));(0,le.isEmpty)(o)||(r[a]={...t,options:[s,...(0,le.map)(o,(({name:e,label:t})=>({value:e,label:t})))]})})),r})),selectBreadcrumbsForTaxonomies:(0,Tt.createSelector)([oc.selectAllTaxonomies,Yl.selectAllPostTypes,Xl.selectHasPageForPosts],((e,t,s)=>{let r=[{value:0,label:(0,Lt.__)("None","wordpress-seo")}];s&&r.push({value:"post",label:(0,Lt.__)("Blog","wordpress-seo")});const a=(0,le.filter)(t,(({hasArchive:e})=>e));return r=r.concat((0,le.map)(a,(({name:e,label:t})=>({value:e,label:t})))),(0,le.mapValues)(e,(e=>({name:e.name,label:e.label,options:r})))}))},dc=()=>({...(0,le.get)(window,"wpseoScriptData.defaultSettingValues",{})}),uc=(0,Tt.createSlice)({name:"defaultSettingValues",initialState:dc(),reducers:{}}),pc={selectDefaultSettingValue:(e,t,s={})=>(0,le.get)(e,`defaultSettingValues.${t}`,s),selectDefaultSettingValues:e=>(0,le.get)(e,"defaultSettingValues",{})},mc=uc.actions,fc=uc.reducer,hc=()=>(0,le.get)(window,"wpseoScriptData.fallbacks",{}),yc=(0,Tt.createSlice)({name:"fallbacks",initialState:hc(),reducers:{}}),wc={selectFallback:(e,t,s={})=>(0,le.get)(e,`fallbacks.${t}`,s),selectFallbacks:e=>(0,le.get)(e,"fallbacks",{})},_c=yc.actions,gc=yc.reducer,bc=(0,Tt.createEntityAdapter)(),vc=()=>bc.getInitialState({status:Qt,error:""}),Ec="fetchMedia",xc=e=>{var t,s;return{id:null==e?void 0:e.id,title:(null==e||null===(t=e.title)||void 0===t?void 0:t.rendered)||(null==e?void 0:e.title),slug:(null==e?void 0:e.slug)||(null==e?void 0:e.name),alt:(null==e?void 0:e.alt_text)||(null==e?void 0:e.alt),url:(null==e?void 0:e.source_url)||(null==e?void 0:e.url),type:(null==e?void 0:e.media_type)||(null==e?void 0:e.type),mime:(null==e?void 0:e.mime_type)||(null==e?void 0:e.mime),author:null==e?void 0:e.author,sizes:(0,le.mapValues)((null==e?void 0:e.sizes)||(null==e||null===(s=e.media_details)||void 0===s?void 0:s.sizes),(e=>({url:(null==e?void 0:e.url)||(null==e?void 0:e.source_url),width:null==e?void 0:e.width,height:null==e?void 0:e.height})),{})}},kc=(0,Tt.createSlice)({name:"media",initialState:vc(),reducers:{addOneMedia:{reducer:bc.addOne,prepare:e=>({payload:xc(e)})},addManyMedia:{reducer:bc.addMany,prepare:e=>({payload:(0,le.map)(e,xc)})}},extraReducers:e=>{e.addCase(`${Ec}/${Kt}`,(e=>{e.status=Xt})),e.addCase(`${Ec}/${Zt}`,((e,t)=>{e.status=es,bc.addMany(e,(0,le.map)(t.payload,xc))})),e.addCase(`${Ec}/${Jt}`,((e,t)=>{e.status=ts,e.error=t.payload}))}}),Sc=bc.getSelectors((e=>e.media)),Lc={selectMediaIds:Sc.selectIds,selectMediaById:Sc.selectById,selectIsMediaLoading:e=>(0,le.get)(e,"media.status",Qt)===Xt,selectIsMediaError:e=>(0,le.get)(e,"media.status",Qt)===ts},Tc={...kc.actions,fetchMedia:function*(e){yield{type:`${Ec}/${Kt}`};try{const t=yield{type:Ec,payload:{per_page:100,include:e}};return{type:`${Ec}/${Zt}`,payload:t}}catch(e){return{type:`${Ec}/${Jt}`,payload:e}}}},Fc={[Ec]:async({payload:e})=>Gt()({path:`/wp/v2/media?${(0,Rt.buildQueryString)(e)}`})},$c=kc.reducer,Pc=window.wp.htmlEntities,Rc=(0,Tt.createEntityAdapter)(),Nc="fetchPages",Ic="pages";let Oc;const Cc=e=>{var t;return{id:null==e?void 0:e.id,name:(0,Pc.decodeEntities)((0,le.trim)(null==e?void 0:e.title.rendered))||(null==e?void 0:e.slug)||e.id,slug:null==e?void 0:e.slug,protected:null==e||null===(t=e.content)||void 0===t?void 0:t.protected}},Ac=(0,Tt.createSlice)({name:"pages",initialState:Rc.getInitialState({status:Qt,error:""}),reducers:{addOnePage:{reducer:Rc.addOne,prepare:e=>({payload:Cc(e)})},addManyPages:{reducer:Rc.addMany,prepare:e=>({payload:(0,le.map)(e,Cc)})}},extraReducers:e=>{e.addCase(`${Nc}/${Kt}`,(e=>{e.status=Xt})),e.addCase(`${Nc}/${Zt}`,((e,t)=>{e.status=es,Rc.addMany(e,(0,le.map)(t.payload,Cc))})),e.addCase(`${Nc}/${Jt}`,((e,t)=>{e.status=ts,e.error=t.payload}))}}),Mc=Ac.getInitialState,Dc=Rc.getSelectors((e=>e.pages)),Bc={selectPageIds:Dc.selectIds,selectPageById:Dc.selectById,selectPages:Dc.selectEntities};Bc.selectPagesWith=(0,Tt.createSelector)([Bc.selectPages,(e,t={})=>t],((e,t)=>{const s={};t.forEach((t=>{null!=t&&t.id&&!e[t.id]&&(s[t.id]={...t})}));const r=(0,le.pickBy)(e,(e=>!e.protected));return{...s,...r}}));const Uc={...Ac.actions,fetchPages:function*(e){yield{type:`${Nc}/${Kt}`};try{const t=yield{type:Nc,payload:{...e}};return{type:`${Nc}/${Zt}`,payload:t}}catch(e){return{type:`${Nc}/${Jt}`,payload:e}}}},jc={[Nc]:async({payload:e})=>{var t;return null===(t=Oc)||void 0===t||t.abort(),Oc=new AbortController,Gt()({path:`/wp/v2/pages?${(0,Rt.buildQueryString)(e)}`,signal:Oc.signal})}},Vc=Ac.reducer,zc=()=>({recommended:(0,le.get)(window,"wpseoScriptData.replacementVariables.recommended",{}),shared:(0,le.get)(window,"wpseoScriptData.replacementVariables.shared",[]),specific:(0,le.get)(window,"wpseoScriptData.replacementVariables.specific",{}),variables:(0,le.get)(window,"wpseoScriptData.replacementVariables.variables",[])}),qc=(0,Tt.createSlice)({name:"replacementVariables",initialState:zc(),reducers:{}}),Wc={selectRecommendedReplacementVariables:e=>(0,le.get)(e,"replacementVariables.recommended",{}),selectSharedReplacementVariables:e=>(0,le.get)(e,"replacementVariables.shared",[]),selectSpecificReplacementVariables:e=>(0,le.get)(e,"replacementVariables.specific",{}),selectReplacementVariables:e=>(0,le.get)(e,"replacementVariables.variables",[])};Wc.selectSpecificReplacementVariablesFor=(0,Tt.createSelector)([Wc.selectSharedReplacementVariables,Wc.selectSpecificReplacementVariables,(e,t)=>t,(e,t,s)=>s],((e,t,s,r)=>[...e,...(0,le.get)(t,s,(0,le.get)(t,r,[]))])),Wc.selectReplacementVariablesFor=(0,Tt.createSelector)([Wc.selectReplacementVariables,Wc.selectSpecificReplacementVariablesFor],((e,t)=>(0,le.filter)(e,(({name:e})=>(0,le.includes)(t,e))))),Wc.selectRecommendedReplacementVariablesFor=(0,Tt.createSelector)([Wc.selectRecommendedReplacementVariables,(e,t)=>t,(e,t,s)=>s],((e,t,s)=>(0,le.get)(e,t,(0,le.get)(e,s,[]))));const Hc=qc.actions,Yc=qc.reducer,Gc=(e,t)=>{ // translators: %1$s expands to the schema type, e.g. "Web Page" or "Blog Post". const s=(0,Lt.__)("%1$s (default)","wordpress-seo");return e.map((({label:e,value:r})=>({value:r,label:r===t?(0,Lt.sprintf)(s,e):e})))},Kc=()=>({articleTypes:(0,le.get)(window,"wpseoScriptData.schema.articleTypes",{}),articleTypeDefaults:(0,le.get)(window,"wpseoScriptData.schema.articleTypeDefaults",{}),pageTypes:(0,le.get)(window,"wpseoScriptData.schema.pageTypes",{}),pageTypeDefaults:(0,le.get)(window,"wpseoScriptData.schema.pageTypeDefaults",{})}),Zc=(0,Tt.createSlice)({name:"schema",initialState:Kc(),reducers:{}}),Jc={selectSchema:e=>(0,le.get)(e,"schema",{}),selectArticleTypes:e=>(0,le.get)(e,"schema.articleTypes",{}),selectArticleTypeDefaults:e=>(0,le.get)(e,"schema.articleTypeDefaults",{}),selectPageTypes:e=>(0,le.get)(e,"schema.pageTypes",{}),selectPageTypeDefaults:e=>(0,le.get)(e,"schema.pageTypeDefaults",{})};Jc.selectArticleTypeValues=(0,Tt.createSelector)(Jc.selectArticleTypes,(e=>(0,le.values)(e))),Jc.selectArticleTypeDefault=(0,Tt.createSelector)([Jc.selectArticleTypeDefaults,(e,t)=>t],((e,t)=>(0,le.get)(e,t,"None"))),Jc.selectArticleTypeValuesFor=(0,Tt.createSelector)([Jc.selectArticleTypeValues,Jc.selectArticleTypeDefault],((e,t)=>Gc(e,t))),Jc.selectPageTypeValues=(0,Tt.createSelector)(Jc.selectPageTypes,(e=>(0,le.values)(e))),Jc.selectPageTypeDefault=(0,Tt.createSelector)([Jc.selectPageTypeDefaults,(e,t)=>t],((e,t)=>(0,le.get)(e,t,"WebPage"))),Jc.selectPageTypeValuesFor=(0,Tt.createSelector)([Jc.selectPageTypeValues,Jc.selectPageTypeDefault],((e,t)=>Gc(e,t)));const Qc=Zc.actions,Xc=Zc.reducer,ed=(e,{userLocale:t})=>gn((0,le.join)([...(0,le.isArray)(null==e?void 0:e.keywords)?e.keywords:[],null==e?void 0:e.routeLabel,null==e?void 0:e.fieldLabel]," "),t),td=(e,t="",{userLocale:s})=>(0,le.reduce)(e,((e,r,a)=>{const o=(0,le.join)((0,le.filter)([t,a],Boolean),".");return"other_social_urls"===a?{...e,[o]:{route:null==r?void 0:r.route,routeLabel:null==r?void 0:r.routeLabel,fieldId:null==r?void 0:r.fieldId,fieldLabel:null==r?void 0:r.fieldLabel,keywords:ed(r,{userLocale:s})}}:null!=r&&r.route?{...e,[o]:{...r,keywords:ed(r,{userLocale:s})}}:{...e,...td(r,o,{userLocale:s})}}),{}),sd=()=>{const e=(0,le.get)(window,"wpseoScriptData.postTypes",{}),t=(0,le.get)(window,"wpseoScriptData.taxonomies",{}),s=(0,le.get)(window,"wpseoScriptData.preferences.userLocale",{});return{index:En(e,t,{userLocale:s})}},rd=(0,Tt.createSlice)({name:"search",initialState:sd(),reducers:{}}),ad={selectSearchIndex:e=>(0,le.get)(e,"search.index",{})};ad.selectQueryableSearchIndex=(0,Tt.createSelector)([ad.selectSearchIndex,e=>Xl.selectPreference(e,"userLocale")],((e,t)=>td(e,"",{userLocale:t})));const od=rd.actions,nd=rd.reducer,id=(0,Tt.createEntityAdapter)(),ld="fetchUsers",cd=()=>id.getInitialState({status:Qt,error:""}),dd=e=>({id:null==e?void 0:e.id,name:(0,le.trim)(null==e?void 0:e.name)||(null==e?void 0:e.slug)||(null==e?void 0:e.id),slug:null==e?void 0:e.slug}),ud=(0,Tt.createSlice)({name:"users",initialState:cd(),reducers:{addOneUser:{reducer:id.addOne,prepare:e=>({payload:dd(e)})},addManyUsers:{reducer:id.addMany,prepare:e=>({payload:(0,le.map)(e,dd)})}},extraReducers:e=>{e.addCase(`${ld}/${Kt}`,(e=>{e.status=Xt})),e.addCase(`${ld}/${Zt}`,((e,t)=>{e.status=es,id.addMany(e,(0,le.map)(t.payload,dd))})),e.addCase(`${ld}/${Jt}`,((e,t)=>{e.status=ts,e.error=t.payload}))}}),pd=id.getSelectors((e=>e.users)),md={selectUserIds:pd.selectIds,selectUserById:pd.selectById,selectUsers:pd.selectEntities};md.selectUsersWith=(0,Tt.createSelector)([md.selectUsers,(e,t={})=>t],((e,t)=>null!=t&&t.id&&!e[t.id]?{...e,[t.id]:{...t}}:e));const fd={...ud.actions,fetchUsers:function*(e){yield{type:`${ld}/${Kt}`};try{const t=yield{type:ld,payload:{...e}};return{type:`${ld}/${Zt}`,payload:t}}catch(e){return{type:`${ld}/${Jt}`,payload:e}}}},hd={[ld]:async({payload:e})=>Gt()({path:`/wp/v2/users?${(0,Rt.buildQueryString)(e)}`})},yd=ud.reducer,{isPromotionActive:wd}=zl.selectors,{currentPromotions:_d}=zl.reducers,{setCurrentPromotions:gd}=zl.actions,bd=({initialState:e={}}={})=>{(0,a.register)((({initialState:e})=>(0,a.createReduxStore)(ea,{actions:{...mc,..._c,...At,...Tc,...Vt,...Uc,...Kl,...ec,...Hc,...Qc,...od,...ic,...fd,setCurrentPromotions:gd},selectors:{...cc,...pc,...wc,...Ct,...Lc,...jt,...Bc,...Yl,...Xl,...Wc,...Jc,...ad,...oc,...md,isPromotionActive:wd},initialState:(0,le.merge)({},{defaultSettingValues:dc(),fallbacks:hc(),[Nt]:Ot(),media:vc(),[Dt]:Ut(),[Ic]:Mc(),postTypes:ql(),preferences:Jl(),replacementVariables:zc(),schema:Kc(),search:sd(),taxonomies:sc(),users:cd(),currentPromotions:{promotions:[]}},e),reducer:(0,a.combineReducers)({defaultSettingValues:fc,fallbacks:gc,[Nt]:Mt,media:$c,[Dt]:zt,[Ic]:Vc,postTypes:Zl,preferences:tc,replacementVariables:Yc,schema:Xc,search:nd,taxonomies:lc,users:yd,currentPromotions:_d}),controls:{...Fc,...hd,...Gl,...nc,...jc}}))({initialState:e}))};n()((()=>{const t=document.getElementById("yoast-seo-settings");if(!t)return;const s=document.createElement("div"),o=s.attachShadow({mode:"open"});document.body.appendChild(s);const n=(0,le.get)(window,"wpseoScriptData.settings",{}),c=(0,le.get)(window,"wpseoScriptData.fallbacks",{}),d=(0,le.get)(window,"wpseoScriptData.postTypes",{}),u=(0,le.get)(window,"wpseoScriptData.taxonomies",{}),p=(0,le.get)(window,"wpseoScriptData.showNewContentTypeNotification",!1)?{"new-content-type":{id:"new-content-type",variant:"info",size:"large",title:(0,Lt.__)("New type of content added to your site!","wordpress-seo"),description:(0,Lt.__)("Please see the “New” badges and review the Search appearance settings.","wordpress-seo")}}:{};bd({initialState:{notifications:p,[Nt]:(0,le.get)(window,"wpseoScriptData.linkParams",{}),currentPromotions:{promotions:(0,le.get)(window,"wpseoScriptData.currentPromotions",[])}}}),(async({settings:e,fallbacks:t})=>{const s=(0,le.get)(e,"wpseo_titles",{}),r=(0,le.filter)([(0,le.get)(e,"wpseo_social.og_default_image_id","0"),(0,le.get)(e,"wpseo_titles.open_graph_frontpage_image_id","0"),(0,le.get)(e,"wpseo_titles.company_logo_id","0"),(0,le.get)(e,"wpseo_titles.person_logo_id","0"),(0,le.get)(t,"siteLogoId","0"),...(0,le.reduce)(s,((e,t,s)=>(0,le.includes)(s,"social-image-id")?[...e,t]:e),[])],Boolean),o=(0,le.chunk)(r,100),{fetchMedia:n}=(0,a.dispatch)(ea);(0,le.forEach)(o,n)})({settings:n,fallbacks:c}),(async({settings:e})=>{const t=(0,le.get)(e,"wpseo_titles.company_or_person_user_id"),{fetchUsers:s}=(0,a.dispatch)(ea);t&&s({include:[t]})})({settings:n}),document.querySelector('[href="#wpbody-content"]').addEventListener("click",(e=>{var t,s;e.preventDefault(),window.outerWidth>782?null===(s=document.getElementById("link-yoast-logo"))||void 0===s||s.focus():null===(t=document.getElementById("button-open-settings-navigation-mobile"))||void 0===t||t.focus()})),document.querySelector('[href="#wp-toolbar"]').addEventListener("click",(e=>{var t;e.preventDefault(),null===(t=document.querySelector("#wp-admin-bar-wp-logo a"))||void 0===t||t.focus()})),(()=>{const e=document.getElementById("wpcontent"),t=document.getElementById("adminmenuwrap");e&&t&&(e.style.minHeight=`${t.offsetHeight}px`)})();const m=(0,a.select)(ea).selectPreference("isRtl",!1);(0,i.render)((0,e.createElement)(l.Root,{context:{isRtl:m}},(0,e.createElement)(St.StyleSheetManager,{target:o},(0,e.createElement)(r.SlotFillProvider,null,(0,e.createElement)(gt,null,(0,e.createElement)(K,{initialValues:n,validationSchema:Wi(d,u),onSubmit:kn},(0,e.createElement)(Vl,null)))))),t)}))})()})();