310 lines
404 KiB
JavaScript
310 lines
404 KiB
JavaScript
|
!function(e){var t={};function r(s){if(t[s])return t[s].exports;var a=t[s]={i:s,l:!1,exports:{}};return e[s].call(a.exports,a,a.exports,r),a.l=!0,a.exports}r.m=e,r.c=t,r.d=function(e,t,s){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:s})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var s=Object.create(null);if(r.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(s,a,function(t){return e[t]}.bind(null,a));return s},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=282)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.React},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.wp.data},,function(e,t){e.exports=window.yoast.uiLibrary},,,function(e,t,r){"use strict";r.d(t,"a",(function(){return s})),r.d(t,"b",(function(){return a})),r.d(t,"c",(function(){return n}));const s={request:"request",success:"success",error:"error"},a={idle:"idle",loading:"loading",success:"success",error:"error"},n={showPlay:"showPlay",askPermission:"askPermission",isPlaying:"isPlaying"}},function(e,t){e.exports=window.yoast.styledComponents},function(e,t){function r(){return e.exports=r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,r.apply(this,arguments)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.yoast.reduxJsToolkit},,function(e,t){e.exports=window.wp.url},,,function(e,t){e.exports=window.wp.components},,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var s=r(3),a=r.n(s),n=r(50);let o=function(e){let t=Object(n.a)(e);return a.a.useCallback((...e)=>t.current(...e),[t])}},function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"e",(function(){return l})),r.d(t,"k",(function(){return c})),r.d(t,"i",(function(){return d})),r.d(t,"j",(function(){return u})),r.d(t,"b",(function(){return p})),r.d(t,"f",(function(){return b})),r.d(t,"n",(function(){return f})),r.d(t,"l",(function(){return h})),r.d(t,"m",(function(){return y})),r.d(t,"c",(function(){return _})),r.d(t,"g",(function(){return O})),r.d(t,"q",(function(){return j})),r.d(t,"o",(function(){return g})),r.d(t,"p",(function(){return v})),r.d(t,"d",(function(){return k})),r.d(t,"h",(function(){return T})),r.d(t,"u",(function(){return L})),r.d(t,"r",(function(){return P})),r.d(t,"s",(function(){return R})),r.d(t,"t",(function(){return I}));var s=r(13),a=r(15),n=r(4);const o="linkParams",i=Object(s.createSlice)({name:o,initialState:{},reducers:{setLinkParams:(e,t)=>{let{payload:r}=t;return r}}}),l=i.getInitialState,c={selectLinkParam:function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(n.get)(e,`${o}.${t}`,r)},selectLinkParams:e=>Object(n.get)(e,o,{})};c.selectLink=Object(s.createSelector)([c.selectLinkParams,(e,t)=>t],(e,t)=>Object(a.addQueryArgs)(t,e));const d=i.actions,u=i.reducer,p="notifications",m=Object(s.createSlice)({name:p,initialState:{},reducers:{addNotification:{reducer:(e,t)=>{let{payload:r}=t;e[r.id]={id:r.id,variant:r.variant,size:r.size,title:r.title,description:r.description}},prepare:e=>{let{id:t,variant:r="info",size:a="default",title:n,description:o}=e;return{payload:{id:t||Object(s.nanoid)(),variant:r,size:a,title:n||"",description:o}}}},removeNotification:(e,t)=>{let{payload:r}=t;return Object(n.omit)(e,r)}}}),b=m.getInitialState,f={selectNotifications:e=>Object(n.get)(e,p,{}),selectNotification:(e,t)=>Object(n.get)(e,[p,t],null)},
|
|||
|
/* translators: %1$s expands to "Yoast SEO" academy, which is a clickable link. */
|
|||
|
Object(a.__)("Want to learn SEO from Team Yoast? Check out our %1$s!","wordpress-seo"),"<link/>"),{link:Object(s.createElement)("a",{href:t,target:"_blank",rel:"noopener"},"Yoast SEO academy")}),[]);return Object(s.createElement)(n.Paper,{as:"div",className:"yst-p-6 yst-space-y-3"},Object(s.createElement)(n.Title,{as:"h2",size:"4",className:"yst-text-base yst-text-primary-500"},Object(a.__)("Learn SEO","wordpress-seo")),Object(s.createElement)("p",null,r,Object(s.createElement)("br",null),Object(a.__)("We have both free and premium online courses to learn everything you need to know about SEO.","wordpress-seo")),Object(s.createElement)(n.Link,{href:t,className:"yst-block",target:"_blank",rel:"noopener"},Object(a.sprintf)(
|
|||
|
/* translators: %1$s expands to "Yoast SEO academy". */
|
|||
|
Object(a.__)("Check out %1$s","wordpress-seo"),"Yoast SEO academy")))};l.propTypes={link:i.a.string.isRequired};var c=r(132),d=r(3),u=d.forwardRef((function(e,t){return d.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),d.createElement("path",{fillRule:"evenodd",d:"M12.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L14.586 11H3a1 1 0 110-2h11.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"}))}));const p=e=>{let{learnMoreLink:t,upsellLink:r,thumbnail:o,wistiaEmbedPermission:i}=e;const{onClose:l,initialFocus:d}=Object(n.useModalContext)();return Object(s.createElement)("div",{className:"yst-flex yst-flex-col yst-items-center yst-p-10"},Object(s.createElement)("div",{className:"yst-relative yst-w-full"},Object(s.createElement)(q,{videoId:"vmrahpfjxp",thumbnail:o,wistiaEmbedPermission:i}),Object(s.createElement)(n.Badge,{className:"yst-absolute yst-top-0 yst-right-2 yst-mt-2 yst-ml-2",variant:"info"},"Beta")),Object(s.createElement)("div",{className:"yst-mt-6 yst-text-xs yst-font-medium"},Object(s.createElement)("span",{className:"yst-uppercase yst-text-slate-500"},Object(a.sprintf)(
|
|||
|
/* translators: %1$s expands to Yoast SEO Premium. */
|
|||
|
Object(a.__)("New to %1$s","wordpress-seo"),"Yoast SEO Premium"))," ",Object(s.createElement)("span",{className:"yst-uppercase yst-text-slate-700"},"21.0")),Object(s.createElement)("div",{className:"yst-mt-4 yst-mx-1.5 yst-text-center"},Object(s.createElement)("h3",{className:"yst-text-slate-900 yst-text-lg yst-font-medium"},Object(a.__)("Generate titles & descriptions with Yoast AI!","wordpress-seo")),Object(s.createElement)("div",{className:"yst-mt-2 yst-text-slate-600 yst-text-sm"},Object(s.createInterpolateElement)(Object(a.sprintf)(
|
|||
|
/* translators: %1$s and %2$s are anchor tag; %3$s is the arrow icon. */
|
|||
|
Object(a.__)("Speed up your workflow with generative AI. Get high-quality title and description suggestions for your search and social appearance. %1$sLearn more%2$s%3$s","wordpress-seo"),"<a>","<ArrowNarrowRightIcon />","</a>"),{a:Object(s.createElement)(_,{href:t,className:"yst-inline-flex yst-items-center yst-gap-1 yst-no-underline yst-font-medium",variant:"primary"}),ArrowNarrowRightIcon:Object(s.createElement)(u,{className:"yst-w-4 yst-h-4 rtl:yst-rotate-180"})}))),Object(s.createElement)("div",{className:"yst-w-full yst-flex yst-mt-10"},Object(s.createElement)(n.Button,{as:"a",className:"yst-grow",size:"large",variant:"upsell",href:r,target:"_blank",ref:d},Object(s.createElement)(c.a,{className:"yst--ml-1 yst-mr-2 yst-h-5 yst-w-5"}),Object(a.__)("Unlock with Premium","wordpress-seo"),Object(s.createElement)("span",{className:"yst-sr-only"},Object(a.__)("(Opens in a new browser tab)","wordpress-seo")))),Object(s.createElement)(n.Button,{as:"a",className:"yst-mt-4",variant:"tertiary",onClick:l},Object(a.__)("Close","wordpress-seo")))};var m;function b(){return(b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e}).apply(this,arguments)}function f(e){return d.createElement("svg",b({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 1000 1000"},e),m||(m=d.createElement("path",{d:"M500 0C223.9 0 0 223.9 0 500s223.9 500 500 500 500-223.9 500-500S776.1 0 500 0zm87.2 412.4c0-21.9 4.3-40.2 13.1-54.4s24-27.1 45.9-38.2l10.1-4.9c17.8-9 22.4-16.7 22.4-26 0-11.1-9.5-19.1-25-19.1-18.3 0-32.2 9.5-41.8 28.9l-24.7-24.8c5.4-11.6 14.1-20.9 25.8-28.1a70.8 70.8 0 0138.9-11.1c17.8 0 33.3 4.6 45.9 14.2s19.4 22.7 19.4 39.4c0 26.6-15 42.9-43.1 57.3l-15.7 8c-16.8 8.5-25.1 16-27.4 29.4h85.4v35.4H587.2zm-82.1 373.3c-157.8 0-285.7-127.9-285.7-285.7s127.9-285.7 285.7-285.7a286.4 286.4 0 0155.9 5.5l-55.9 116.9c-90 0-163.3 73.3-163.3 163.3s73.3 163.3 163.3 163.3a162.8 162.8 0 00106.4-39.6l61.8 107.2a283.9 283.9 0 01-168.2 54.8zM705 704.1l-70.7-122.5H492.9l70.7-122.4H705l70.7 122.4z",fill:"#fff"})))}p.propTypes={learnMoreLink:i.a.string.isRequired,upsellLink:i.a.string.isRequired,thumbnail:i.a.shape({src:i.a.string.isRequired,width:i.a.string,height:i.a.string}).isRequired,wistiaEmbedPermission:i.a.shape({value:i.a.bool.isRequired,status:i.a.string.isRequired,set:i.a.func.isRequired}).isRequired},r(87);var h=r(12),y=r.n(h);const _=e=>{let{href:t,children:r,...o}=e;return Object(s.createElement)(n.Link,y()({target:"_blank",rel:"noopener noreferrer"},o,{href:t}),r,Object(s.createElement)("span",{className:"yst-sr-only"},Object(a.__)("(Opens in a new browser tab)","wordpress-seo")))};_.propTypes={href:i.a.string.isRequired,children:i.a.node},_.defaultProps={children:null};var w,O,j,g,v,E,x,S,k,F,T,L,P,R,I=r(199);function N(){return(N=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e}).apply(this,arguments)}function M(e){return d.createElement("svg",N({xmlns:"http://www.w3.org/2000/svg",id:"star-rating-half_svg__Layer_1","data-name":"Layer 1",viewBox:"0 0 500 475.53"},e),w||(w=d.createElement("defs",null,d.createElement("style",null,".star-rating-half_svg__cls-1{fill:#fbbf24}"))),O||(O=d.createElement("path",{className:"star-rating-half_svg__cls-1",d:"M250 392.04L98.15 471.87l29-169.09L4.3 183.03l169.77-24.67L250 4.52l75.93 153.84 169.77 24.67-122.85 119.75 29 169.09L250 392.04z"})),j||(j=d.createElement("path",{className:"star-rating-half_svg__cls-1",d:"M250 33.51l73.67 149.27.93 1.88 2.08.3L491.4 208.9 372.21 325.09l-1.51 1.47.36 2.07 28.14 164.06-147.34-77.46-1.86-1-1.86 1-147.34 77.46 28.14-164.06.36-2.07-1.51-1.47L8.6 208.9 173.32 185l2.08-.3.93-1.88L250 33.51m0-9L172.75 181 0 206.11 125 328 95.49 500 250 418.77 404.51 500 375 328l125-121.89L327.25 181 250 24.47z",transform:"translate(0 -24.47)"})),g||(g=d.createElement("path",{fill:"#f3f4f6",d:"M500 181.64l-172.75-25.11L250 0v394.3l154.51 81.23L375 303.48l125-1
|
|||
|
/* translators: %1$s and %2$s expand to opening and closing <strong> tags. */
|
|||
|
Object(a.__)("Be more efficient in creating titles and meta descriptions with the help of AI. %1$sGet 24/7 support%2$s and boost your website’s visibility.","wordpress-seo"),"<strong>","</strong>"),{strong:Object(s.createElement)("strong",null)}),[]),i=Object(s.createInterpolateElement)(Object(a.sprintf)(
|
|||
|
/* translators: %1$s and %2$s expand to a span wrap to avoid linebreaks. %3$s expands to "Yoast SEO Premium". */
|
|||
|
Object(a.__)("%1$sGet%2$s %3$s","wordpress-seo"),"<nowrap>","</nowrap>","Yoast SEO Premium"),{nowrap:Object(s.createElement)("span",{className:"yst-whitespace-nowrap"})});return Object(s.createElement)("div",{className:"yst-p-6 yst-rounded-lg yst-text-white yst-bg-primary-500 yst-shadow"},Object(s.createElement)("figure",{className:"yst-logo-square yst-w-16 yst-h-16 yst-mt-[-2.6rem] yst-mx-auto yst-overflow-hidden yst-border yst-border-white yst-rounded-xl yst-rounded-br-none"},Object(s.createElement)(D,null)),Object(s.createElement)(n.Title,{as:"h2",className:"yst-mt-6 yst-text-base yst-font-extrabold yst-text-white"},i),Object(s.createElement)("p",{className:"yst-mt-2"},o),Object(s.createElement)(n.Button,y()({as:"a",variant:"upsell",href:t,target:"_blank",rel:"noopener",className:"yst-flex yst-justify-center yst-gap-2 yst-mt-4 focus:yst-ring-offset-primary-500"},r),Object(s.createElement)("span",null,i),Object(s.createElement)(I.a,{className:"yst-w-4 yst-h-4 yst-icon-rtl"})),Object(s.createElement)("a",{className:"yst-block yst-mt-4 yst-no-underline",href:"https://www.g2.com/products/yoast-yoast/reviews",target:"_blank",rel:"noopener noreferrer"},Object(s.createElement)("span",{className:"yst-font-medium yst-text-white hover:yst-underline"},Object(a.__)("Read reviews from real users","wordpress-seo")),Object(s.createElement)("span",{className:"yst-flex yst-gap-2 yst-mt-2 yst-items-center"},Object(s.createElement)(f,{className:"yst-w-5 yst-h-5"}),Object(s.createElement)("span",{className:"yst-flex yst-gap-1"},Object(s.createElement)(C,{className:"yst-w-5 yst-h-5"}),Object(s.createElement)(C,{className:"yst-w-5 yst-h-5"}),Object(s.createElement)(C,{className:"yst-w-5 yst-h-5"}),Object(s.createElement)(C,{className:"yst-w-5 yst-h-5"}),Object(s.createElement)(M,{className:"yst-w-5 yst-h-5"})),Object(s.createElement)("span",{className:"yst-text-sm yst-font-semibold yst-text-white"},"4.6 / 5"))))};V.propTypes={link:i.a.string.isRequired,linkProps:i.a.object},V.defaultProps={linkProps:{}};const B=e=>{let{children:t}=e;return Object(s.createElement)("div",{className:"xl:yst-max-w-3xl xl:yst-fixed xl:yst-right-8 xl:yst-w-[16rem]"},Object(s.createElement)("div",{className:"yst-grid yst-grid-cols-1 sm:yst-grid-cols-2 min-[783px]:yst-grid-cols-1 lg:yst-grid-cols-2 xl:yst-grid-cols-1 yst-gap-4"},t))};B.propTypes={children:i.a.node.isRequired};var U=r(97),z=r(10);const q=e=>{let{videoId:t,thumbnail:r,wistiaEmbedPermission:o}=e;const[i,l]=Object(s.useState)(o.value?z.c.isPlaying:z.c.showPlay),c=Object(s.useCallback)(()=>l(z.c.isPlaying),[l]),d=Object(s.useCallback)(()=>{o.value?c():l(z.c.askPermission)},[o.value,c,l]),u=Object(s.useCallback)(()=>l(z.c.showPlay),[l]),p=Object(s.useCallback)(()=>{o.set(!0),c()},[o.set,c]);return Object(s.createElement)(s.Fragment,null,o.value&&Object(s.createElement)(U.Helmet,null,Object(s.createElement)("script",{src:"https://fast.wistia.com/assets/external/E-v1.js",async:!0})),Object(s.createElement)("div",{className:"yst-relative yst-w-full yst-h-0 yst-pt-[56.25%] yst-overflow-hidden yst-rounded-md yst-drop-shadow-md yst-bg-white"},i===z.c.showPlay&&Object(s.createElement)("button",{className:"yst-absolute yst-inset-0 yst-button yst-p-0 yst-border-none yst-bg-white yst-transition-opacity yst-duration-1000 yst-opacity-100",onClick:d},Object(s.createElement)("img",y()({className:"yst-w-full yst-h-auto",alt:"",loading:"lazy",decoding:"async"},r))),i===z.c.askPermission&&Object(s.createElement)("div",{className:"yst-absolute yst-inset-0 yst-flex yst-flex-col yst-items-center yst-justify-center yst-bg-white"},Object(s.createElement)("p",{className:"yst-max-w-xs yst-mx-auto yst-text-center"},o.status===z.b.loading&&Object(s.createElement)(n.Spinner,null),o.status!==z.b.loading&&Object(a.sprintf)(
|
|||
|
/* translators: %1$s expands to Yoast SEO. %2$s expands to Wistia. */
|
|||
|
Object(a.__)("To see this video, you need to allow %1$s to load embedded videos from %2$s.","wordpress-seo"),"Yoast SEO","Wistia")),Object(s.createElement)("div",{className:"yst-flex yst-mt-6 yst-gap-x-4"},Object(s.createElement)(n.Button,{type:"button",variant:"secondary",onClick:u,disabled:o.status===z.b.loading},Object(a.__)("Deny","wordpress-seo")),Object(s.createElement)(n.Button,{type:"button",variant:"primary",onClick:p,disabled:o.status===z.b.loading},Object(a.__)("Allow","wordpress-seo")))),o.value&&i===z.c.isPlaying&&Object(s.createElement)("div",{className:"yst-absolute yst-w-full yst-h-full yst-top-0 yst-left-0"},null===t&&Object(s.createElement)(n.Spinner,{className:"yst-h-full yst-mx-auto"}),null!==t&&Object(s.createElement)("div",{className:`wistia_embed wistia_async_${t} videoFoam=true`}))))};q.propTypes={videoId:i.a.string.isRequired,thumbnail:i.a.shape({src:i.a.string.isRequired,width:i.a.string,height:i.a.string}).isRequired,wistiaEmbedPermission:i.a.shape({value:i.a.bool.isRequired,status:i.a.string.isRequired,set:i.a.func.isRequired}).isRequired}},,,function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var s,a=r(3),n=r.n(a),o=r(33),i=r(138),l=r(63);let c=null!=(s=n.a.useId)?s:function(){let e=Object(i.a)(),[t,r]=n.a.useState(e?()=>l.a.nextId():null);return Object(o.a)(()=>{null===t&&r(l.a.nextId())},[t]),null!=t?""+t:void 0}},,,,,function(e,t){e.exports=window.yoast.reactHelmet},,,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return p})),r.d(t,"b",(function(){return m})),r.d(t,"c",(function(){return b})),r(59);var s=r(35),a=r(119);let n=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>e+":not([tabindex='-1'])").join(",");var o,i,l,c=((l=c||{})[l.First=1]="First",l[l.Previous=2]="Previous",l[l.Next=4]="Next",l[l.Last=8]="Last",l[l.WrapAround=16]="WrapAround",l[l.NoScroll=32]="NoScroll",l),d=((i=d||{})[i.Error=0]="Error",i[i.Overflow=1]="Overflow",i[i.Success=2]="Success",i[i.Underflow=3]="Underflow",i),u=((o=u||{})[o.Previous=-1]="Previous",o[o.Next=1]="Next",o),p=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(p||{});function m(e,t=0){var r;return e!==(null==(r=Object(a.a)(e))?void 0:r.body)&&Object(s.a)(t,{0:()=>e.matches(n),1(){let t=e;for(;null!==t;){if(t.matches(n))return!0;t=t.parentElement}return!1}})}function b(e,t=(e=>e)){return e.slice().sort((e,r)=>{let s=t(e),a=t(r);if(null===s||null===a)return 0;let n=s.compareDocumentPosition(a);return n&Node.DOCUMENT_POSITION_FOLLOWING?-1:n&Node.DOCUMENT_POSITION_PRECEDING?1:0})}["textarea","input"].join(",")},,,,,,,,,function(e,t){e.exports=window.yoast.replacementVariableEditor},,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var s=r(63);function a(e){return s.a.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}},,,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var s=r(3),a=r(33),n=r(50);function o(e,t){let[r,o]=Object(s.useState)(e),i=Object(n.a)(e);return Object(a.a)(()=>o(i.current),[i,o,...t]),r}},,,,,,function(e,t,r){"use strict";var s=r(3);const a=s.forwardRef((function(e,t){return s.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:t},e),s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z"}))}));t.a=a},,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var s=r(3),a=r(63);function n(){let[e,t]=Object(s.useState)(a.a.isHandoffComplete);return e&&!1===a.a.isHandoffComplete&&t(!1),Object(s.useEffect)(()=>{!0!==e&&t(!0)},[e]),Object(s.useEffect)(()=>a.a.handoff(),[]),e}},,,,,,,,,,,,,,function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return o}));var s,a=r(26),n=((s=n||{})[s.None=1]="None",s[s.
|
|||
|
/* translators: %s Expands to "Yoast News SEO" */
|
|||
|
Object(tt.__)("Are you publishing news articles? %s helps you optimize your site for Google News.","wordpress-seo"),"Yoast News SEO")," ",Object(s.createElement)("a",{id:"link-get-news-seo",href:n,target:"_blank",rel:"noopener noreferrer"},Object(tt.sprintf)(
|
|||
|
/* translators: %s: Expands to "Yoast News SEO". */
|
|||
|
Object(tt.__)("Get the %s plugin now!","wordpress-seo"),"Yoast News SEO"))))};Zt.propTypes={name:nt.a.string.isRequired,disabled:nt.a.bool};var er=Zt;const tr=e=>{let{isEnabled:t,text:
|
|||
|
/* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */
|
|||
|
r=Object(tt.__)("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")}=e;const a=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)(r,"<em>","</em>","<link>","</link>"),{em:Object(s.createElement)("em",null),link:Object(s.createElement)(Be,{to:"/site-features#section-social-sharing"})}),[]);return t?null:Object(s.createElement)(l.Alert,{variant:"info",className:"yst-mb-6"},a)};tr.propTypes={isEnabled:nt.a.bool.isRequired,text:nt.a.string};var rr=tr,sr=r(97),ar={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",padding:0,width:"1px",position:"absolute"},nr=function(e){var t=e.message,r=e["aria-live"];return d.a.createElement("div",{style:ar,role:"log","aria-live":r},t||"")};nr.propTypes={};var or=nr;function ir(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lr(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var cr=function(e){function t(){var r,s;ir(this,t);for(var a=arguments.length,n=Array(a),o=0;o<a;o++)n[o]=arguments[o];return r=s=lr(this,e.call.apply(e,[this].concat(n))),s.state={assertiveMessage1:"",assertiveMessage2:"",politeMessage1:"",politeMessage2:"",oldPolitemessage:"",oldPoliteMessageId:"",oldAssertiveMessage:"",oldAssertiveMessageId:"",setAlternatePolite:!1,setAlternateAssertive:!1},lr(s,r)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.getDerivedStateFromProps=function(e,t){var r=t.oldPolitemessage,s=t.oldPoliteMessageId,a=t.oldAssertiveMessage,n=t.oldAssertiveMessageId,o=e.politeMessage,i=e.politeMessageId,l=e.assertiveMessage,c=e.assertiveMessageId;return r!==o||s!==i?{politeMessage1:t.setAlternatePolite?"":o,politeMessage2:t.setAlternatePolite?o:"",oldPolitemessage:o,oldPoliteMessageId:i,setAlternatePolite:!t.setAlternatePolite}:a!==l||n!==c?{assertiveMessage1:t.setAlternateAssertive?"":l,assertiveMessage2:t.setAlternateAssertive?l:"",oldAssertiveMessage:l,oldAssertiveMessageId:c,setAlternateAssertive:!t.setAlternateAssertive}:null},t.prototype.render=function(){var e=this.state,t=e.assertiveMessage1,r=e.assertiveMessage2,s=e.politeMessage1,a=e.politeMessage2;return d.a.createElement("div",null,d.a.createElement(or,{"aria-live":"assertive",message:t}),d.a.createElement(or,{"aria-live":"assertive",message:r}),d.a.createElement(or,{"aria-live":"polite",message:s}),d.a.createElement(or,{"aria-live":"polite",message:a}))},t}(c.Component);cr.propTypes={};var dr=cr;function ur(){console.warn("Announcement failed, LiveAnnouncer context is missing")}var pr=d.a.createContext({announceAssertive:ur,announcePolite:ur}),mr=function(e){function t(r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var s=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,r));return s.announcePolite=function(e,t){s.setState({announcePoliteMessage:e,politeMessageId:t||""})},s.announceAssertive=function(e,t){s.setState({announceAssertiveMessage:e,assertiveMessageId:t||""})},s.state={announcePoliteMessage:"",politeMessageId:"",announceAssertiveMessage:"",assertiveMessageId:"",updateFunctions:{announcePolite:s.announcePolite,announceAssertive:s.announceAssertive}},s}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&
|
|||
|
/* translators: 1: Settings' section title, 2: Yoast SEO */
|
|||
|
Object(tt.__)("%1$s Settings - %2$s","wordpress-seo"),r,"Yoast SEO");return Object(s.createElement)(mr,null,Object(s.createElement)(gr,{message:o,"aria-live":"polite"}),Object(s.createElement)(sr.Helmet,null,Object(s.createElement)("title",null,n)),Object(s.createElement)("header",{className:"yst-p-8 yst-border-b yst-border-slate-200"},Object(s.createElement)("div",{className:"yst-max-w-screen-sm"},Object(s.createElement)(l.Title,null,r),a&&Object(s.createElement)("p",{className:"yst-text-tiny yst-mt-3"},a))),t)};vr.propTypes={children:nt.a.node.isRequired,title:nt.a.string.isRequired,description:nt.a.node};var Er=vr,xr=r(304),Sr=c.forwardRef((function(e,t){return c.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:t},e),c.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"}))})),kr=c.forwardRef((function(e,t){return c.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:t},e),c.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"}))}));function Fr(){return(Fr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e}).apply(this,arguments)}function Tr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,s=new Array(t);r<t;r++)s[r]=e[r];return s}r(223);var Lr=["shift","alt","meta","mod"],Pr={esc:"escape",return:"enter",left:"arrowleft",up:"arrowup",right:"arrowright",down:"arrowdown",1:"digit1",2:"digit2",3:"digit3",4:"digit4",5:"digit5",6:"digit6",7:"digit7",8:"digit8",9:"digit9"};function Rr(e,t){return void 0===t&&(t=","),"string"==typeof e?e.split(t):e}function Ir(e,t){void 0===t&&(t="+");var r=e.toLocaleLowerCase().split(t).map((function(e){return e.trim()})).map((function(e){return Pr[e]||e}));return Fr({},{alt:r.includes("alt"),shift:r.includes("shift"),meta:r.includes("meta"),mod:r.includes("mod")},{keys:r.filter((function(e){return!Lr.includes(e)}))})}function Nr(e,t){var r=e.target;void 0===t&&(t=!1);var s=r&&r.tagName;return t instanceof Array?Boolean(s&&t&&t.some((function(e){return e.toLowerCase()===s.toLowerCase()}))):Boolean(s&&t&&!0===t)}var Mr=Object(c.createContext)(void 0),Ar=Object(c.createContext)({hotkeys:[],enabledScopes:[],toggleScope:function(){},enableScope:function(){},disableScope:function(){}});var Cr=function(e){e.stopPropagation(),e.preventDefault(),e.stopImmediatePropagation()},$r="undefined"!=typeof window?c.useLayoutEffect:c.useEffect,Dr=new Set;function Vr(e,t,r,s){var a=Object(c.useRef)(null),n=r instanceof Array?s instanceof Array?void 0:s:r,o=r instanceof Array?r:s instanceof Array?s:[],i=Object(c.useCallback)(t,[].concat(o)),l=function(e){var t=Object(c.useRef)(void 0);return function e(t,r){return t&&r&&"object"==typeof t&&"object"==typeof r?Object.keys(t).length===Object.keys(r).length&&Object.keys(t).reduce((function(s,a){return s&&e(t[a],r[a])}),!0):t===r}(t.current,e)||(t.current=e),t.current}(n),d=Object(c.useContext)(Ar).enabledScopes,u=Object(c.useContext)(Mr);return $r((function(){if(!1!==(null==l?void 0:l.enabled)&&(t=d,r=null==l?void 0:l.scopes,0===t.length&&r?(console.warn('A hotkey has the "scopes" option set, however no active scopes were found. If you want to use the global scopes feature, you need to wrap your app in a <HotkeysProvider>'),1):!r||t.some((function(e){return r.includes(e)}))||t.includes("*"))){var t,r,s=function(t){var r;Nr(t,["input","textarea","select"])&&!Nr(t,null==l?void 0:l.enableOnFormTags)||(null===a.current||document.activeElement===a.current||a.current.contains(document.activeElement)?(null==(r=t.target)||!r.isContentEditable||null!=l&&l.enableOnContentEditable)&&Rr(e,null==l?void 0:l.splitKey).forEach((function(e){var r,s=Ir(e,null==l?void 0:l.combinationKey);if(function(e,t,r){var s=t.alt,a=t.meta,n=t
|
|||
|
Object(tt.__)("Show %1$s in search results","wordpress-seo"),Ur(s,o)),keywords:[]},["display-metabox-pt-"+r]:{route:"/post-type/"+a,routeLabel:s,fieldId:"input-wpseo_titles-display-metabox-pt-"+r,fieldLabel:Object(tt.__)("Enable SEO controls and assessments","wordpress-seo"),keywords:[]},["schema-page-type-"+r]:{route:"/post-type/"+a,routeLabel:s,fieldId:"input-wpseo_titles-schema-page-type-"+r,fieldLabel:Object(tt.__)("Page type","wordpress-seo"),keywords:[Object(tt.__)("Schema","wordpress-seo"),Object(tt.__)("Structured data","wordpress-seo")]},["schema-article-type-"+r]:{route:"/post-type/"+a,routeLabel:s,fieldId:"input-wpseo_titles-schema-article-type-"+r,fieldLabel:Object(tt.__)("Article type","wordpress-seo"),keywords:[Object(tt.__)("Schema","wordpress-seo"),Object(tt.__)("Structured data","wordpress-seo")]},["page-analyse-extra-"+r]:{route:"/post-type/"+a,routeLabel:s,fieldId:"input-wpseo_titles-page-analyse-extra-"+r,fieldLabel:Object(tt.__)("Add custom fields to page analysis","wordpress-seo"),keywords:[]},..."attachment"!==r&&{["social-title-"+r]:{route:"/post-type/"+a,routeLabel:s,fieldId:"input-wpseo_titles-social-title-"+r,fieldLabel:Object(tt.__)("Social title","wordpress-seo"),keywords:[]},["social-description-"+r]:{route:"/post-type/"+a,routeLabel:s,fieldId:"input-wpseo_titles-social-description-"+r,fieldLabel:Object(tt.__)("Social description","wordpress-seo"),keywords:[]},["social-image-id-"+r]:{route:"/post-type/"+a,routeLabel:s,fieldId:`button-wpseo_titles-social-image-${r}-preview`,fieldLabel:Object(tt.__)("Social image","wordpress-seo"),keywords:[]}},...n&&{["title-ptarchive-"+r]:{route:"/post-type/"+a,routeLabel:s,fieldId:"input-wpseo_titles-title-ptarchive-"+r,fieldLabel:Object(tt.__)("Archive SEO title","wordpress-seo"),keywords:[]},["metadesc-ptarchive-"+r]:{route:"/post-type/"+a,routeLabel:s,fieldId:"input-wpseo_titles-metadesc-ptarchive-"+r,fieldLabel:Object(tt.__)("Archive meta description","wordpress-seo"),keywords:[]},["bctitle-ptarchive-"+r]:{route:"/post-type/"+a,routeLabel:s,fieldId:"input-wpseo_titles-bctitle-ptarchive-"+r,fieldLabel:Object(tt.__)("Archive breadcrumbs title","wordpress-seo"),keywords:[]},["noindex-ptarchive-"+r]:{route:"/post-type/"+a,routeLabel:s,fieldId:"input-wpseo_titles-noindex-ptarchive-"+r,fieldLabel:Object(tt.sprintf)(// translators: %1$s expands to the post type plural, e.g. Posts.
|
|||
|
Object(tt.__)("Show the archive for %1$s in search results","wordpress-seo"),Ur(s,o)),keywords:[]},["social-title-ptarchive-"+r]:{route:"/post-type/"+a,routeLabel:s,fieldId:"input-wpseo_titles-social-title-ptarchive-"+r,fieldLabel:Object(tt.__)("Archive social title","wordpress-seo"),keywords:[]},["social-description-ptarchive-"+r]:{route:"/post-type/"+a,routeLabel:s,fieldId:"input-wpseo_titles-social-description-ptarchive-"+r,fieldLabel:Object(tt.__)("Archive social description","wordpress-seo"),keywords:[]},["social-image-id-ptarchive-"+r]:{route:"/post-type/"+a,routeLabel:s,fieldId:`button-wpseo_titles-social-image-ptarchive-${r}-preview`,fieldLabel:Object(tt.__)("Archive social image","wordpress-seo"),keywords:[]}}}},qr=(e,t)=>{let{name:r,label:s,route:a}=e,{userLocale:n}=t;return{["title-tax-"+r]:{route:"/taxonomy/"+a,routeLabel:s,fieldId:"input-wpseo_titles-title-tax-"+r,fieldLabel:Object(tt.__)("SEO title","wordpress-seo"),keywords:[]},["metadesc-tax-"+r]:{route:"/taxonomy/"+a,routeLabel:s,fieldId:"input-wpseo_titles-metadesc-tax-"+r,fieldLabel:Object(tt.__)("Meta description","wordpress-seo"),keywords:[]},["display-metabox-tax-"+r]:{route:"/taxonomy/"+a,routeLabel:s,fieldId:"input-wpseo_titles-display-metabox-tax-"+r,fieldLabel:Object(tt.sprintf)(
|
|||
|
/* translators: %1$s expands to "Yoast SEO". %2$s expands to the taxonomy plural, e.g. Categories. */
|
|||
|
Object(tt.__)("Enable %1$s for %2$s","wordpress-seo"),"Yoast SEO",Ur(s,n)),keywords:[]},["display-metabox-tax-"+r]:{route:"/taxonomy/"+a,routeLabel:s,fieldId:"input-wpseo_titles-display-metabox-tax-"+r,fieldLabel:Object(tt.__)("Enable SEO controls and assessments","wordpress-seo"),keywords:[]},["noindex-tax-"+r]:{route:"/taxonomy/"+a,routeLabel:s,fieldId:"input-wpseo_titles-noindex-tax-"+r,fieldLabel:Object(tt.sprintf)(// translators: %1$s expands to the taxonomy plural, e.g. Categories.
|
|||
|
Object(tt.__)("Show %1$s in search results","wordpress-seo"),Ur(s,n)),keywords:[]},["social-title-tax-"+r]:{route:"/taxonomy/"+a,routeLabel:s,fieldId:"input-wpseo_titles-social-title-tax-"+r,fieldLabel:Object(tt.__)("Social title","wordpress-seo"),keywords:[]},["social-description-tax-"+r]:{route:"/taxonomy/"+a,routeLabel:s,fieldId:"input-wpseo_titles-social-description-tax-"+r,fieldLabel:Object(tt.__)("Social description","wordpress-seo"),keywords:[]},["social-image-id-tax-"+r]:{route:"/taxonomy/"+a,routeLabel:s,fieldId:`button-wpseo_titles-social-image-tax-${r}-preview`,fieldLabel:Object(tt.__)("Social image","wordpress-seo"),keywords:[]},..."category"===r&&{stripcategorybase:{route:"/taxonomy/"+a,routeLabel:s,fieldId:"input-wpseo_titles-stripcategorybase",fieldLabel:Object(tt.__)("Show the categories prefix in the slug","wordpress-seo"),keywords:[]}}}},Wr=function(e,t){let{userLocale:r}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{blogdescription:{route:"/site-basics",routeLabel:Object(tt.__)("Site basics","wordpress-seo"),fieldId:"input-blogdescription",fieldLabel:Object(tt.__)("Tagline","wordpress-seo"),keywords:[]},wpseo:{keyword_analysis_active:{route:"/site-features",routeLabel:Object(tt.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-keyword_analysis_active",fieldLabel:Object(tt.__)("SEO analysis","wordpress-seo"),keywords:[]},content_analysis_active:{route:"/site-features",routeLabel:Object(tt.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-content_analysis_active",fieldLabel:Object(tt.__)("Readability analysis","wordpress-seo"),keywords:[]},inclusive_language_analysis_active:{route:"/site-features",routeLabel:Object(tt.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-inclusive_language_analysis_active",fieldLabel:Object(tt.__)("Inclusive language analysis","wordpress-seo"),keywords:[]},enable_metabox_insights:{route:"/site-features",routeLabel:Object(tt.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_metabox_insights",fieldLabel:Object(tt.__)("Insights","wordpress-seo"),keywords:[]},enable_cornerstone_content:{route:"/site-features",routeLabel:Object(tt.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_cornerstone_content",fieldLabel:Object(tt.__)("Cornerstone content","wordpress-seo"),keywords:[]},enable_text_link_counter:{route:"/site-features",routeLabel:Object(tt.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_text_link_counter",fieldLabel:Object(tt.__)("Text link counter","wordpress-seo"),keywords:[]},enable_link_suggestions:{route:"/site-features",routeLabel:Object(tt.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_link_suggestions",fieldLabel:Object(tt.__)("Link suggestions","wordpress-seo"),keywords:[]},enable_enhanced_slack_sharing:{route:"/site-features",routeLabel:Object(tt.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_enhanced_slack_sharing",fieldLabel:Object(tt.__)("Slack sharing","wordpress-seo"),keywords:[Object(tt.__)("Share","wordpress-seo")]},enable_admin_bar_menu:{route:"/site-features",routeLabel:Object(tt.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_admin_bar_menu",fieldLabel:Object(tt.__)("Admin bar menu","wordpress-seo"),keywords:[]},enable_headless_rest_endpoints:{route:"/site-features",routeLabel:Object(tt.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_headless_rest_endpoints",fieldLabel:Object(tt.__)("REST API endpoint","wordpress-seo"),keywords:[]},enable_xml_sitemap:{route:"/site-features",routeLabel:Object(tt.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_xml_sitemap",fieldLabel:Object(tt.__)("XML sitemaps","wordpress-seo"),keywords:[]},enable_index_now:{route:"/site-features",routeLabel:Object(tt.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_index_now",fieldLabel:Object(tt.__)("IndexNow","wordpress-seo"),keywords:[Object(tt.__)("Index Now","wordpress-seo")]},enable_ai_generator:{route:"/site-features",routeLabel:Object(tt.__)("Site features","wordpress-seo"),fieldId:"card-wpseo-enable_a
|
|||
|
// translators: %1$s expands to the post type plural, e.g. posts.
|
|||
|
fieldLabel:Object(tt.sprintf)(Object(tt.__)("Breadcrumbs for %1$s","wordpress-seo"),Ur(s.label,r)),keywords:[]}}},{}),...Object(ie.reduce)(t,(e,t)=>({...e,[`taxonomy-${t.name}-ptparent`]:{route:"/breadcrumbs",routeLabel:Object(tt.__)("Breadcrumbs","wordpress-seo"),fieldId:`input-wpseo_titles-taxonomy-${t.name}-ptparent`,
|
|||
|
// translators: %1$s expands to the taxonomy plural, e.g. categories.
|
|||
|
fieldLabel:Object(tt.sprintf)(Object(tt.__)("Breadcrumbs for %1$s","wordpress-seo"),Ur(t.label,r)),keywords:[]}}),{}),"disable-author":{route:"/author-archives",routeLabel:Object(tt.__)("Author archives","wordpress-seo"),fieldId:"input-wpseo_titles-disable-author",fieldLabel:Object(tt.__)("Enable author archives","wordpress-seo"),keywords:[]},"noindex-author-wpseo":{route:"/author-archives",routeLabel:Object(tt.__)("Author archives","wordpress-seo"),fieldId:"input-wpseo_titles-noindex-author-wpseo",fieldLabel:Object(tt.__)("Show author archives in search results","wordpress-seo"),keywords:[]},"noindex-author-noposts-wpseo":{route:"/author-archives",routeLabel:Object(tt.__)("Author archives","wordpress-seo"),fieldId:"input-wpseo_titles-noindex-author-noposts-wpseo",fieldLabel:Object(tt.__)("Show archives for authors without posts in search results","wordpress-seo"),keywords:[]},"title-author-wpseo":{route:"/author-archives",routeLabel:Object(tt.__)("Author archives","wordpress-seo"),fieldId:"input-wpseo_titles-title-author-wpseo",fieldLabel:Object(tt.__)("SEO title","wordpress-seo"),keywords:[]},"metadesc-author-wpseo":{route:"/author-archives",routeLabel:Object(tt.__)("Author archives","wordpress-seo"),fieldId:"input-wpseo_titles-metadesc-author-wpseo",fieldLabel:Object(tt.__)("Meta description","wordpress-seo"),keywords:[]},"social-image-id-author-wpseo":{route:"/author-archives",routeLabel:Object(tt.__)("Author archives","wordpress-seo"),fieldId:"button-wpseo_titles-social-image-author-wpseo-preview",fieldLabel:Object(tt.__)("Social image","wordpress-seo"),keywords:[]},"social-title-author-wpseo":{route:"/author-archives",routeLabel:Object(tt.__)("Author archives","wordpress-seo"),fieldId:"input-wpseo_titles-social-title-author-wpseo",fieldLabel:Object(tt.__)("Social title","wordpress-seo"),keywords:[]},"social-description-author-wpseo":{route:"/author-archives",routeLabel:Object(tt.__)("Author archives","wordpress-seo"),fieldId:"input-wpseo_titles-social-description-author-wpseo",fieldLabel:Object(tt.__)("Social description","wordpress-seo"),keywords:[]},"disable-date":{route:"/date-archives",routeLabel:Object(tt.__)("Date archives","wordpress-seo"),fieldId:"input-wpseo_titles-disable-date",fieldLabel:Object(tt.__)("Enable date archives","wordpress-seo"),keywords:[]},"noindex-archive-wpseo":{route:"/date-archives",routeLabel:Object(tt.__)("Date archives","wordpress-seo"),fieldId:"input-wpseo_titles-noindex-archive-wpseo",fieldLabel:Object(tt.__)("Show date archives in search results","wordpress-seo"),keywords:[]},"title-archive-wpseo":{route:"/date-archives",routeLabel:Object(tt.__)("Date archives","wordpress-seo"),fieldId:"input-wpseo_titles-title-archive-wpseo",fieldLabel:Object(tt.__)("SEO title","wordpress-seo"),keywords:[]},"metadesc-archive-wpseo":{route:"/date-archives",routeLabel:Object(tt.__)("Date archives","wordpress-seo"),fieldId:"input-wpseo_titles-metadesc-archive-wpseo",fieldLabel:Object(tt.__)("Meta description","wordpress-seo"),keywords:[]},"social-image-id-archive-wpseo":{route:"/date-archives",routeLabel:Object(tt.__)("Date archives","wordpress-seo"),fieldId:"button-wpseo_titles-social-image-archive-wpseo-preview",fieldLabel:Object(tt.__)("Social image","wordpress-seo"),keywords:[]},"social-title-archive-wpseo":{route:"/date-archives",routeLabel:Object(tt.__)("Date archives","wordpress-seo"),fieldId:"input-wpseo_titles-social-title-archive-wpseo",fieldLabel:Object(tt.__)("Social title","wordpress-seo"),keywords:[]},"social-description-archive-wpseo":{route:"/date-archives",routeLabel:Object(tt.__)("Date archives","wordpress-seo"),fieldId:"input-wpseo_titles-social-description-archive-wpseo",fieldLabel:Object(tt.__)("Social description","wordpress-seo"),keywords:[]},"title-search-wpseo":{route:"/special-pages",routeLabel:Object(tt.__)("Special pages","wordpress-seo"),fieldId:"input-wpseo_titles-title-search-wpseo",fieldLabel:Object(tt.__)("Search pages title","wordpress-seo"),keywords:[]},"title-404-wpseo":{route:"/special-pages",routeLabel:Object(tt.__)("Special pages","wordpress-seo"),fieldId:"inp
|
|||
|
// translators: %1$s exapnds to array index + 1.
|
|||
|
fieldLabel:Object(tt.sprintf)(Object(tt.__)("Other profile %1$s","wordpress-seo"),e+1)}))}}}},Hr=async e=>{const{endpoint:t,nonce:r}=Object(ie.get)(window,"wpseoScriptData",{}),s=new FormData;s.set("option_page","wpseo_page_settings"),s.set("_wp_http_referer","admin.php?page=wpseo_page_settings_saved"),s.set("action","update"),s.set("_wpnonce",r),Object(ie.forEach)(e,(e,t)=>{Object(ie.isObject)(e)?Object(ie.forEach)(e,(e,r)=>{Object(ie.isArray)(e)?Object(ie.forEach)(e,(e,a)=>s.set(`${t}[${r}][${a}]`,e)):s.set(`${t}[${r}]`,e)}):s.set(t,e)});try{const e=await fetch(t,{method:"POST",body:new URLSearchParams(s)}),r=await e.text();if(Object(ie.includes)(r,"{{ yoast-success: false }}"))throw new Error("Yoast options invalid.");if(!e.url.endsWith("settings-updated=true"))throw new Error("WordPress options save did not get to the end.")}catch(e){throw new Error(e.message)}},Gr=async(e,t)=>{let{resetForm:r}=t;const{addNotification:s}=Object(n.dispatch)(lt),{selectPreference:a}=Object(n.select)(lt),o=a("canManageOptions",!1);try{return await Promise.all([Hr(o?e:Object(ie.omit)(e,["blogdescription"]))]),s({variant:"success",title:Object(tt.__)("Great! Your settings were saved successfully.","wordpress-seo")}),r({values:e}),!0}catch(e){return s({id:"submit-error",variant:"error",title:Object(tt.__)("Oops! Something went wrong while saving.","wordpress-seo")}),console.error("Error while saving:",e.message),!1}};var Yr,Kr;try{Yr=Map}catch(e){}try{Kr=Set}catch(e){}function Qr(e){return function e(t,r,s){if(!t||"object"!=typeof t||"function"==typeof t)return t;if(t.nodeType&&"cloneNode"in t)return t.cloneNode(!0);if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp)return new RegExp(t);if(Array.isArray(t))return t.map(Qr);if(Yr&&t instanceof Yr)return new Map(Array.from(t.entries()));if(Kr&&t instanceof Kr)return new Set(Array.from(t.values()));if(t instanceof Object){r.push(t);var a=Object.create(t);for(var n in s.push(a),t){var o=r.findIndex((function(e){return e===t[n]}));a[n]=o>-1?s[o]:e(t[n],r,s)}return a}return t}(e,[],[])}const Jr=Object.prototype.toString,Xr=Error.prototype.toString,Zr=RegExp.prototype.toString,es="undefined"!=typeof Symbol?Symbol.prototype.toString:()=>"",ts=/^Symbol\((.*)\)(.*)$/;function rs(e,t=!1){if(null==e||!0===e||!1===e)return""+e;const r=typeof e;if("number"===r)return function(e){return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e}(e);if("string"===r)return t?`"${e}"`:e;if("function"===r)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===r)return es.call(e).replace(ts,"Symbol($1)");const s=Jr.call(e).slice(8,-1);return"Date"===s?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===s||e instanceof Error?"["+Xr.call(e)+"]":"RegExp"===s?Zr.call(e):null}function ss(e,t){let r=rs(e,t);return null!==r?r:JSON.stringify(e,(function(e,r){let s=rs(this[e],t);return null!==s?s:r}),2)}let as={default:"${path} is invalid",required:"${path} is a required field",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:r,originalValue:s})=>{let a=null!=s&&s!==r,n=`${e} must be a \`${t}\` type, but the final value was: \`${ss(r,!0)}\``+(a?` (cast from the value \`${ss(s,!0)}\`).`:".");return null===r&&(n+='\n If "null" is intended as an empty value be sure to mark the schema as `.nullable()`'),n},defined:"${path} must be defined"},ns={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},os={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must b
|
|||
|
/* translators: %d expands to the number of results found. */
|
|||
|
Object(tt._n)("%d result found, use up and down arrow keys to navigate","%d results found, use up and down arrow keys to navigate",s.length,"wordpress-seo"),s.length)),m(o)},100),[u,d,g]),S=Object(s.useCallback)(e=>{c(e.target.value),x(e.target.value)},[c,x]),k=Object(s.useCallback)(e=>{let{active:t}=e;return st()("yst-group yst-block yst-no-underline yst-text-sm yst-text-slate-800 yst-select-none yst-py-3 yst-px-4 hover:yst-bg-primary-600 hover:yst-text-white focus:yst-bg-primary-600 focus:yst-text-white",t&&"yst-text-white yst-bg-primary-600")},[]);return Object(s.createElement)(s.Fragment,null,Object(s.createElement)("button",{id:t,type:"button",className:"yst-w-full yst-flex yst-items-center yst-bg-white yst-text-sm yst-leading-6 yst-text-slate-500 yst-rounded-md yst-border yst-border-slate-300 yst-shadow-sm yst-py-1.5 yst-pl-2 yst-pr-3 focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-offset-2 focus:yst-ring-primary-500",onClick:n},Object(s.createElement)(Sr,He()({className:"yst-flex-none yst-w-5 yst-h-5 yst-mr-3 yst-text-slate-400"},b)),Object(s.createElement)("span",{className:"yst-overflow-hidden yst-whitespace-nowrap yst-text-ellipsis"},i||Object(tt.__)("Quick search...","wordpress-seo")),"desktop"===(null==y?void 0:y.type)&&Object(s.createElement)("span",{className:"yst-ml-auto yst-flex-none yst-text-xs yst-font-semibold yst-text-slate-400"},"macOS"===(null==_?void 0:_.name)?Object(tt.__)("⌘K","wordpress-seo"):Object(tt.__)("CtrlK","wordpress-seo"))),Object(s.createElement)(l.Modal,{id:r,onClose:o,isOpen:a,initialFocus:h,position:"top-center","aria-label":Object(tt.__)("Search","wordpress-seo")},Object(s.createElement)(l.Modal.Panel,{hasCloseButton:!1},Object(s.createElement)(mr,null,j&&Object(s.createElement)(gr,{message:j,"aria-live":"polite"})),Object(s.createElement)(xr.a,{as:"div",className:"yst--m-6",onChange:E},Object(s.createElement)("div",{className:"yst-relative"},Object(s.createElement)(Sr,He()({className:"yst-pointer-events-none yst-absolute yst-top-3.5 yst-left-4 yst-h-5 yst-w-5 yst-text-slate-400"},b)),Object(s.createElement)(xr.a.Input,{ref:h,id:"input-search",placeholder:Object(tt.__)("Search...","wordpress-seo"),"aria-label":Object(tt.__)("Search","wordpress-seo"),value:i,onChange:S,className:"yst-h-12 yst-w-full yst-border-0 yst-rounded-lg sm:yst-text-sm yst-bg-transparent yst-px-11 yst-text-slate-800 yst-placeholder-slate-500 focus:yst-outline-none focus:yst-ring-inset focus:yst-ring-2 focus:yst-ring-primary-500 focus:yst-border-primary-500"}),Object(s.createElement)("div",{className:"yst-modal__close"},Object(s.createElement)("button",{type:"button",onClick:o,className:"yst-modal__close-button"},Object(s.createElement)("span",{className:"yst-sr-only"},Object(tt.__)("Close","wordpress-seo")),Object(s.createElement)(kr,He()({className:"yst-h-6 yst-w-6"},b))))),i.length>=v&&!Object(ie.isEmpty)(p)&&Object(s.createElement)(xr.a.Options,{static:!0,className:"yst-max-h-[calc(90vh-10rem)] yst-scroll-pt-11 yst-scroll-pb-2 yst-space-y-2 yst-overflow-y-auto yst-pb-2"},Object(ie.map)(p,(e,t)=>{var r;return Object(s.createElement)("div",{key:(null==e||null===(r=e[0])||void 0===r?void 0:r.route)||"group-"+t,role:"presentation"},Object(s.createElement)(l.Title,{id:`group-${t}-title`,as:"h4",size:"5",className:"yst-bg-slate-100 yst-font-semibold yst-py-3 yst-px-4",role:"presentation","aria-hidden":"true"},Object(ie.first)(e).routeLabel),Object(s.createElement)("div",{role:"presentation"},Object(ie.map)(e,e=>Object(s.createElement)(xr.a.Option,{key:e.fieldId,value:e,className:k},Object(s.createElement)(pa,e)))))})),i.length<v&&Object(s.createElement)(ma,{title:Object(tt.__)("Search","wordpress-seo")},Object(s.createElement)("p",{className:"yst-text-slate-500"},Object(tt.__)("Please enter a search term with at least 3 characters.","wordpress-seo"))),i.length>=v&&Object(ie.isEmpty)(p)&&Object(s.createElement)(s.Fragment,null,Object(s.createElement)(ma,{title:Object(tt.__)("No results found","wordpress-seo")},Object(s.createElement)("p",{className:"yst-text-slate-500"},Object(tt.__)("We couldn’t find
|
|||
|
/**
|
|||
|
* 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.
|
|||
|
*/
|
|||
|
Object(tt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"<strong>","</strong>","1200x675px"),{strong:Object(s.createElement)("strong",{className:"yst-font-semibold"})}),[]),P=Object(s.useMemo)(()=>_&&"product"===t,[t,_]),R=Object(s.useMemo)(()=>w?Object(ka.a)(Object(tt.sprintf)(
|
|||
|
/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */
|
|||
|
Object(tt.__)("You can edit the SEO metadata for this custom type on the %1$sShop page%2$s.","wordpress-seo"),"<a>","</a>"),O,"link-edit-woocommerce-shop-page"):Object(ka.a)(Object(tt.sprintf)(
|
|||
|
/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */
|
|||
|
Object(tt.__)("You haven't set a Shop page in your WooCommerce settings. %1$sPlease do this first%2$s.","wordpress-seo"),"<a>","</a>"),j,"link-woocommerce-shop-page-setting"),[w,j,O]),I=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing <em> tags.
|
|||
|
Object(tt.__)("You can add multiple custom fields and separate them by using %1$senter%2$s or %1$scomma%2$s.","wordpress-seo"),"<em>","</em>"),{em:Object(s.createElement)("em",null)}),[]),N=Object(s.useMemo)(()=>Object(ka.a)(Object(tt.sprintf)(
|
|||
|
// translators: %1$s expands to the post type plural, e.g. posts. %2$s and %3$s expand to opening and closing anchor tag. %4$s expands to "Yoast SEO".
|
|||
|
Object(tt.__)("Determine how your %1$s should be described by default in %2$syour site's Schema.org markup%3$s. You can always change the settings for individual %1$s in the %4$s sidebar or metabox.","wordpress-seo"),F,"<a>","</a>","Yoast SEO"),S,"link-post-type-schema"),[F,S]),{values:M}=W(),{opengraph:A}=M.wpseo_social,{"breadcrumbs-enable":C}=M.wpseo_titles;return Object(s.createElement)(Er,{title:r,description:Object(tt.sprintf)(
|
|||
|
/* translators: %1$s expands to the post type plural, e.g. posts. */
|
|||
|
Object(tt.__)("Determine how your %1$s should look in search engines and on social media.","wordpress-seo"),F)},Object(s.createElement)(wt,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)(bt,{title:Object(tt.__)("Search appearance","wordpress-seo"),description:Object(tt.sprintf)(
|
|||
|
// translators: %1$s expands to the post type plural, e.g. posts. %2$s expands to "Yoast SEO".
|
|||
|
Object(tt.__)("Determine what your %1$s should look like in the search results by default. You can always customize the settings for individual %1$s in the %2$s sidebar or metabox.","wordpress-seo"),F,"Yoast SEO")},Object(s.createElement)(jt,{name:"wpseo_titles.noindex-"+t,id:"input-wpseo_titles-noindex-"+t,label:Object(tt.sprintf)(// translators: %1$s expands to the post type plural, e.g. posts.
|
|||
|
Object(tt.__)("Show %1$s in search results","wordpress-seo"),F),description:Object(s.createElement)(s.Fragment,null,Object(tt.sprintf)(// translators: %1$s expands to the post type plural, e.g. posts.
|
|||
|
Object(tt.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),F)," ",Object(s.createElement)(l.Link,{href:v,target:"_blank",rel:"noopener"},Object(tt.__)("Read more about the search results settings","wordpress-seo")),"."),className:"yst-max-w-sm"}),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(Ft,{type:"title",name:"wpseo_titles.title-"+t,fieldId:"input-wpseo_titles-title-"+t,label:Object(tt.__)("SEO title","wordpress-seo"),replacementVariables:c,recommendedReplacementVariables:u}),Object(s.createElement)(Ft,{type:"description",name:"wpseo_titles.metadesc-"+t,fieldId:"input-wpseo_titles-metadesc-"+t,label:Object(tt.__)("Meta description","wordpress-seo"),replacementVariables:c,recommendedReplacementVariables:u,className:"yst-replacevar--description"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(s.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},Object(s.createElement)("span",null,Object(tt.__)("Social appearance","wordpress-seo")),b&&Object(s.createElement)(l.Badge,{variant:"upsell"},"Premium")),description:Object(tt.sprintf)(
|
|||
|
// translators: %1$s expands to the post type plural, e.g. posts. %2$s expands to "Yoast SEO".
|
|||
|
Object(tt.__)("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 sidebar or metabox.","wordpress-seo"),F,"Yoast SEO")},Object(s.createElement)(l.FeatureUpsell,He()({shouldUpsell:!b,variant:"card",cardLink:E,cardText:Object(tt.sprintf)(
|
|||
|
/* translators: %1$s expands to Premium. */
|
|||
|
Object(tt.__)("Unlock with %1$s","wordpress-seo"),"Premium")},d),Object(s.createElement)(rr,{isEnabled:!b||A}),Object(s.createElement)(xt,{id:"wpseo_titles-social-image-"+t,label:Object(tt.__)("Social image","wordpress-seo"),previewLabel:L,mediaUrlName:"wpseo_titles.social-image-url-"+t,mediaIdName:"wpseo_titles.social-image-id-"+t,disabled:!A,isDummy:!b}),Object(s.createElement)(Ta,{type:"title",name:"wpseo_titles.social-title-"+t,fieldId:"input-wpseo_titles-social-title-"+t,label:Object(tt.__)("Social title","wordpress-seo"),replacementVariables:c,recommendedReplacementVariables:u,disabled:!A,isDummy:!b}),Object(s.createElement)(Ta,{type:"description",name:"wpseo_titles.social-description-"+t,fieldId:"input-wpseo_titles-social-description-"+t,label:Object(tt.__)("Social description","wordpress-seo"),replacementVariables:c,recommendedReplacementVariables:u,className:"yst-replacevar--description",disabled:!A,isDummy:!b}))),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Schema","wordpress-seo"),description:N},Object(s.createElement)(Wt,{as:l.SelectField,type:"select",name:"wpseo_titles.schema-page-type-"+t,id:"input-wpseo_titles-schema-page-type-"+t,label:Object(tt.__)("Page type","wordpress-seo"),options:y,className:"yst-max-w-sm"}),o&&Object(s.createElement)("div",null,Object(s.createElement)(Wt,{as:l.SelectField,type:"select",name:"wpseo_titles.schema-article-type-"+t,id:"input-wpseo_titles-schema-article-type-"+t,label:Object(tt.__)("Article type","wordpress-seo"),options:h,className:"yst-max-w-sm"}),Object(s.createElement)(er,{name:t}))),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Additional settings","wordpress-seo")},Object(s.createElement)(Wt,{as:l.ToggleField,type:"checkbox",name:"wpseo_titles.display-metabox-pt-"+t,id:"input-wpseo_titles-display-metabox-pt-"+t,label:Object(tt.__)("Enable SEO controls and assessments","wordpress-seo"),description:Object(tt.__)("Show or hide our tools and controls in the content editor.","wordpress-seo"),className:"yst-max-w-sm"}),Object(s.createElement)(l.FeatureUpsell,He()({shouldUpsell:!b,variant:"card",cardLink:x,cardText:Object(tt.sprintf)(
|
|||
|
/* translators: %1$s expands to Premium. */
|
|||
|
Object(tt.__)("Unlock with %1$s","wordpress-seo"),"Premium")},d),Object(s.createElement)(Fa,{name:"wpseo_titles.page-analyse-extra-"+t,id:"input-wpseo_titles-page-analyse-extra-"+t,label:Object(tt.__)("Add custom fields to page analysis","wordpress-seo"),labelSuffix:b&&Object(s.createElement)(l.Badge,{className:"yst-ml-1.5",size:"small",variant:"upsell"},"Premium"),description:Object(s.createElement)(s.Fragment,null,I,Object(s.createElement)("br",null),Object(s.createElement)(l.Link,{id:"link-custom-fields-page-analysis-"+t,href:f,target:"_blank",rel:"noopener"},Object(tt.__)("Read more about our custom field analysis","wordpress-seo")),"."),isDummy:!b}))),n&&Object(s.createElement)(s.Fragment,null,Object(s.createElement)("hr",{className:"yst-my-16"}),Object(s.createElement)("div",{className:"yst-mb-8"},Object(s.createElement)(l.Title,{as:"h2",className:"yst-mb-2"},Object(tt.sprintf)(// translators: %1$s expands to the post type plural, e.g. Posts.
|
|||
|
Object(tt.__)("%1$s archive","wordpress-seo"),r)),Object(s.createElement)("p",{className:"yst-text-tiny"},P&&R,!P&&Object(tt.sprintf)(// translators: %1$s expands to the post type singular, e.g. post.
|
|||
|
Object(tt.__)("These settings are specifically for optimizing your %1$s archive.","wordpress-seo"),T))),!P&&Object(s.createElement)(s.Fragment,null,Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Search appearance","wordpress-seo"),description:Object(tt.sprintf)(// translators: %1$s expands to the post type plural, e.g. posts.
|
|||
|
Object(tt.__)("Determine how your %1$s archive should look in search engines.","wordpress-seo"),F)},Object(s.createElement)(jt,{name:"wpseo_titles.noindex-ptarchive-"+t,id:"input-wpseo_titles-noindex-ptarchive-"+t,label:Object(tt.sprintf)(// translators: %1$s expands to the post type plural, e.g. posts.
|
|||
|
Object(tt.__)("Show the archive for %1$s in search results","wordpress-seo"),F),description:Object(tt.sprintf)(// translators: %1$s expands to the post type plural, e.g. posts.
|
|||
|
Object(tt.__)("Disabling this means that the archive for %1$s will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),F),className:"yst-max-w-sm"}),Object(s.createElement)(Ft,{type:"title",name:"wpseo_titles.title-ptarchive-"+t,fieldId:"input-wpseo_titles-title-ptarchive-"+t,label:Object(tt.__)("SEO title","wordpress-seo"),replacementVariables:p,recommendedReplacementVariables:m}),Object(s.createElement)(Ft,{type:"description",name:"wpseo_titles.metadesc-ptarchive-"+t,fieldId:"input-wpseo_titles-metadesc-ptarchive-"+t,label:Object(tt.__)("Meta description","wordpress-seo"),replacementVariables:p,recommendedReplacementVariables:m,className:"yst-replacevar--description"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(s.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},Object(s.createElement)("span",null,Object(tt.__)("Social appearance","wordpress-seo")),b&&Object(s.createElement)(l.Badge,{variant:"upsell"},"Premium")),description:Object(tt.sprintf)(// translators: %1$s expands to the post type plural, e.g. posts.
|
|||
|
Object(tt.__)("Determine how your %1$s archive should look on social media.","wordpress-seo"),F)},Object(s.createElement)(l.FeatureUpsell,He()({shouldUpsell:!b,variant:"card",cardLink:E,cardText:Object(tt.sprintf)(// translators: %1$s expands to Premium.
|
|||
|
Object(tt.__)("Unlock with %1$s","wordpress-seo"),"Premium")},d),Object(s.createElement)(xt,{id:"wpseo_titles-social-image-ptarchive-"+t,label:Object(tt.__)("Social image","wordpress-seo"),previewLabel:L,mediaUrlName:"wpseo_titles.social-image-url-ptarchive-"+t,mediaIdName:"wpseo_titles.social-image-id-ptarchive-"+t,disabled:!A,isDummy:!b}),Object(s.createElement)(Ta,{type:"title",name:"wpseo_titles.social-title-ptarchive-"+t,fieldId:"input-wpseo_titles-social-title-ptarchive-"+t,label:Object(tt.__)("Social title","wordpress-seo"),replacementVariables:p,recommendedReplacementVariables:m,disabled:!A,isDummy:!b}),Object(s.createElement)(Ta,{type:"description",name:"wpseo_titles.social-description-ptarchive-"+t,fieldId:"input-wpseo_titles-social-description-ptarchive-"+t,label:Object(tt.__)("Social description","wordpress-seo"),replacementVariables:p,recommendedReplacementVariables:m,className:"yst-replacevar--description",disabled:!A,isDummy:!b}))),C&&Object(s.createElement)(s.Fragment,null,Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Additional settings","wordpress-seo")},Object(s.createElement)(ee,{as:l.TextField,type:"text",name:"wpseo_titles.bctitle-ptarchive-"+t,id:"input-wpseo_titles-bctitle-ptarchive-"+t,label:Object(tt.__)("Breadcrumbs title","wordpress-seo")}))))))))};La.propTypes={name:nt.a.string.isRequired,label:nt.a.string.isRequired,singularLabel:nt.a.string.isRequired,hasArchive:nt.a.bool.isRequired,hasSchemaArticleType:nt.a.bool.isRequired,isNew:nt.a.bool.isRequired};var Pa=La;const Ra=Gt(Ft),Ia=e=>{let{name:t,label:r,postTypes:a,showUi:n,isNew:o}=e;const i=pt("selectPostTypes",[a],a),c=pt("selectUpsellSettingsAsProps"),d=pt("selectReplacementVariablesFor",[t],t,"term-in-custom-taxonomy"),u=pt("selectRecommendedReplacementVariablesFor",[t],t,"term-in-custom-taxonomy"),p=pt("selectLink",[],"https://yoa.st/show-x"),m=pt("selectPreference",[],"isPremium"),b=pt("selectPreference",[],"userLocale"),f=pt("selectPreference",[],"editTaxonomyUrl"),h=pt("selectLink",[],"https://yoa.st/4e0"),y=Object(s.useMemo)(()=>Ur(r,b),[r,b]),_=Object(s.useMemo)(()=>Object(ie.values)(i),[i]),w=Object(s.useMemo)(()=>Object(ie.initial)(_),[_]),O=Object(s.useMemo)(()=>Object(ie.last)(_),[_]),{updateTaxonomyReviewStatus:j}=ct();Object(s.useEffect)(()=>{o&&j(t)},[t,j]);const g=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.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.
|
|||
|
*/
|
|||
|
Object(tt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"<strong>","</strong>","1200x675px"),{strong:Object(s.createElement)("strong",{className:"yst-font-semibold"})}),[]),v=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)(
|
|||
|
/* translators: %s expands to <code>/category/</code> */
|
|||
|
Object(tt.__)("Category URLs in WordPress contain a prefix, usually %s. Show or hide that prefix in category URLs.","wordpress-seo"),"<code />"),{code:Object(s.createElement)(l.Code,null,"/category/")}),[]),E=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)(
|
|||
|
/**
|
|||
|
* translators: %1$s and %2$s expand to post type plurals in code blocks, e.g. Posts Pages and Custom Post Type.
|
|||
|
*/
|
|||
|
Object(tt.__)("This taxonomy is used for %1$s and %2$s.","wordpress-seo"),"<code1 />","<code2 />"),{code1:Object(s.createElement)(s.Fragment,null,Object(ie.map)(w,(e,t)=>Object(s.createElement)(s.Fragment,null,Object(s.createElement)(l.Code,{key:null==e?void 0:e.name},null==e?void 0:e.label),t<w.length-1&&" "))),code2:Object(s.createElement)(l.Code,null,null==O?void 0:O.label)}),[r,w,O]),x=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)(
|
|||
|
/**
|
|||
|
* translators: %1$s expands to the post type plural in code block, e.g. Posts.
|
|||
|
*/
|
|||
|
Object(tt.__)("This taxonomy is used for %2$s.","wordpress-seo"),r,"<code />"),{code:Object(s.createElement)(l.Code,null,null==O?void 0:O.label)}),[r,O]),{values:S}=W(),{opengraph:k}=S.wpseo_social,F=Object(s.useMemo)(()=>w.length>1?E:x,[w,E,x]),T=Object(s.useCallback)(()=>n&&Object(s.createElement)(Wt,{as:l.ToggleField,type:"checkbox",name:"wpseo_titles.display-metabox-tax-"+t,id:"input-wpseo_titles-display-metabox-tax-"+t,label:Object(tt.__)("Enable SEO controls and assessments","wordpress-seo"),description:Object(tt.__)("Show or hide our tools and controls in the content editor.","wordpress-seo"),className:"yst-max-w-sm"}),[n,t]),L=Object(s.useCallback)(()=>"category"===t&&Object(s.createElement)(jt,{name:"wpseo_titles.stripcategorybase",id:"input-wpseo_titles-stripcategorybase",label:Object(tt.__)("Show the categories prefix in the slug","wordpress-seo"),description:v,className:"yst-max-w-sm"}),[t,v]),P=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)(
|
|||
|
/**
|
|||
|
* translators: %1$s expands to the name of the taxonomy.
|
|||
|
*/
|
|||
|
Object(tt.__)("The name of this category is %1$s.","wordpress-seo"),"<link />"),{link:Object(s.createElement)(l.Link,{href:`${f}?taxonomy=${t}`},t)}),[t]);return Object(s.createElement)(Er,{title:r,description:Object(s.createElement)(s.Fragment,null,Object(tt.sprintf)(
|
|||
|
/* translators: %1$s expands to the taxonomy plural, e.g. categories. */
|
|||
|
Object(tt.__)("Determine how your %1$s should look in search engines and on social media.","wordpress-seo"),y),Object(s.createElement)("br",null),Object(ie.isEmpty)(_)?P:F)},Object(s.createElement)(wt,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)(bt,{title:Object(tt.__)("Search appearance","wordpress-seo"),description:Object(tt.sprintf)(
|
|||
|
// translators: %1$s expands to the post type plural, e.g. Posts. %2$s expands to "Yoast SEO".
|
|||
|
Object(tt.__)("Determine what your %1$s should look like in the search results by default. You can always customize the settings for individual %1$s in the %2$s metabox.","wordpress-seo"),y,"Yoast SEO")},Object(s.createElement)(jt,{name:"wpseo_titles.noindex-tax-"+t,id:"input-wpseo_titles-noindex-tax-"+t,label:Object(tt.sprintf)(// translators: %1$s expands to the taxonomy plural, e.g. Categories.
|
|||
|
Object(tt.__)("Show %1$s in search results","wordpress-seo"),y),description:Object(s.createElement)(s.Fragment,null,Object(tt.sprintf)(// translators: %1$s expands to the taxonomy plural, e.g. Categories.
|
|||
|
Object(tt.__)("Disabling this means that archive pages for %1$s will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),y)," ",Object(s.createElement)(l.Link,{href:p,target:"_blank",rel:"noopener"},Object(tt.__)("Read more about the search results settings","wordpress-seo")),"."),className:"yst-max-w-sm"}),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(Ft,{type:"title",name:"wpseo_titles.title-tax-"+t,fieldId:"input-wpseo_titles-title-tax-"+t,label:Object(tt.__)("SEO title","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u}),Object(s.createElement)(Ft,{type:"description",name:"wpseo_titles.metadesc-tax-"+t,fieldId:"input-wpseo_titles-metadesc-tax-"+t,label:Object(tt.__)("Meta description","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,className:"yst-replacevar--description"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(s.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},Object(s.createElement)("span",null,Object(tt.__)("Social appearance","wordpress-seo")),m&&Object(s.createElement)(l.Badge,{variant:"upsell"},"Premium")),description:Object(tt.sprintf)(
|
|||
|
// translators: %1$s expands to the taxonomy plural, e.g. Categories. %2$s expand to Yoast SEO.
|
|||
|
Object(tt.__)("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"),y,"Yoast SEO")},Object(s.createElement)(l.FeatureUpsell,He()({shouldUpsell:!m,variant:"card",cardLink:h,cardText:Object(tt.sprintf)(
|
|||
|
/* translators: %1$s expands to Premium. */
|
|||
|
Object(tt.__)("Unlock with %1$s","wordpress-seo"),"Premium")},c),Object(s.createElement)(rr,{isEnabled:!m||k}),Object(s.createElement)(xt,{id:"wpseo_titles-social-image-tax-"+t,label:Object(tt.__)("Social image","wordpress-seo"),previewLabel:g,mediaUrlName:"wpseo_titles.social-image-url-tax-"+t,mediaIdName:"wpseo_titles.social-image-id-tax-"+t,disabled:!k,isDummy:!m}),Object(s.createElement)(Ra,{type:"title",name:"wpseo_titles.social-title-tax-"+t,fieldId:"input-wpseo_titles-social-title-tax-"+t,label:Object(tt.__)("Social title","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,disabled:!k,isDummy:!m}),Object(s.createElement)(Ra,{type:"description",name:"wpseo_titles.social-description-tax-"+t,fieldId:"input-wpseo_titles-social-description-tax-"+t,label:Object(tt.__)("Social description","wordpress-seo"),replacementVariables:d,recommendedReplacementVariables:u,className:"yst-replacevar--description",disabled:!k,isDummy:!m}))),(n||"category"===t)&&Object(s.createElement)(s.Fragment,null,Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Additional settings","wordpress-seo")},T(),L())))))};Ia.propTypes={name:nt.a.string.isRequired,label:nt.a.string.isRequired,postTypes:nt.a.arrayOf(nt.a.string).isRequired,showUi:nt.a.bool.isRequired,isNew:nt.a.bool.isRequired};var Na=Ia;const Ma=Gt(Ft);var Aa=()=>{const e=Object(tt.__)("Author archives","wordpress-seo"),t=Object(tt.__)("Author archive","wordpress-seo"),r=pt("selectPreference",[],"userLocale"),a=Object(s.useMemo)(()=>Ur(e,r),[e,r]),n=Object(s.useMemo)(()=>Ur(t,r),[t,r]),o=pt("selectUpsellSettingsAsProps"),i=pt("selectReplacementVariablesFor",[],"author_archives","custom-post-type_archive"),c=pt("selectRecommendedReplacementVariablesFor",[],"author_archives","custom-post-type_archive"),d=pt("selectLink",[],"https://yoa.st/duplicate-content"),u=pt("selectLink",[],"https://yoa.st/show-x"),p=pt("selectPreference",[],"isPremium"),m=pt("selectExampleUrl",[],"/author/example/"),b=pt("selectLink",[],"https://yoa.st/4e0"),f=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.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.
|
|||
|
*/
|
|||
|
Object(tt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"<strong>","</strong>","1200x675px"),{strong:Object(s.createElement)("strong",{className:"yst-font-semibold"})}),[]),h=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)(
|
|||
|
/**
|
|||
|
* translators: %1$s expands to "author archive".
|
|||
|
* %2$s expands to an example URL, e.g. https://example.com/author/example/.
|
|||
|
* %3$s and %4$s expand to opening and closing <a> tags.
|
|||
|
*/
|
|||
|
Object(tt.__)("If you're running a one author blog, the %1$s (e.g. %2$s) will be exactly the same as your homepage. This is what's called a %3$sduplicate content problem%4$s. If this is the case on your site, you can choose to either disable it (which makes it redirect to the homepage), or prevent it from showing up in search results.","wordpress-seo"),n,"<exampleUrl />","<a>","</a>"),{exampleUrl:Object(s.createElement)(l.Code,null,m),a:Object(s.createElement)("a",{href:d,target:"_blank",rel:"noopener"})}),[]),{values:y}=W(),{opengraph:_}=y.wpseo_social,{"disable-author":w,"noindex-author-wpseo":O,"noindex-author-noposts-wpseo":j}=y.wpseo_titles;return Object(s.createElement)(Er,{title:e,description:h},Object(s.createElement)(wt,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)(jt,{name:"wpseo_titles.disable-author",id:"input-wpseo_titles-disable-author",label:Object(tt.sprintf)(// translators: %1$s expands to "author archives".
|
|||
|
Object(tt.__)("Enable %1$s","wordpress-seo"),a),description:Object(tt.sprintf)(// translators: %1$s expands to "author archive".
|
|||
|
Object(tt.__)("Disabling this will redirect the %1$s to your site's homepage.","wordpress-seo"),n),className:"yst-max-w-sm"}),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Search appearance","wordpress-seo"),description:Object(tt.sprintf)(// translators: %1$s expands to "author archives".
|
|||
|
Object(tt.__)("Determine how your %1$s should look in search engines.","wordpress-seo"),a)},Object(s.createElement)(jt,{name:"wpseo_titles.noindex-author-wpseo",id:"input-wpseo_titles-noindex-author-wpseo",label:Object(tt.sprintf)(// translators: %1$s expands to "author archives".
|
|||
|
Object(tt.__)("Show %1$s in search results","wordpress-seo"),a),description:Object(s.createElement)(s.Fragment,null,Object(tt.sprintf)(// translators: %1$s expands to "author archives".
|
|||
|
Object(tt.__)("Disabling this means that %1$s will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),a)," ",Object(s.createElement)(l.Link,{href:u,target:"_blank",rel:"noopener"},Object(tt.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:w,checked:!w&&!O,className:"yst-max-w-sm"}),Object(s.createElement)(jt,{name:"wpseo_titles.noindex-author-noposts-wpseo",id:"input-wpseo_titles-noindex-author-noposts-wpseo",label:Object(tt.sprintf)(// translators: %1$s expands to "author archives".
|
|||
|
Object(tt.__)("Show %1$s without posts in search results","wordpress-seo"),a),description:Object(tt.sprintf)(// translators: %1$s expands to "author archives".
|
|||
|
Object(tt.__)("Disabling this means that %1$s without any posts will not be indexed by search engines and will be excluded from XML sitemaps.","wordpress-seo"),a),checked:!w&&!O&&!j,disabled:w||O,className:"yst-max-w-sm"}),Object(s.createElement)(Ft,{type:"title",name:"wpseo_titles.title-author-wpseo",fieldId:"input-wpseo_titles-title-author-wpseo",label:Object(tt.__)("SEO title","wordpress-seo"),replacementVariables:i,recommendedReplacementVariables:c,disabled:w}),Object(s.createElement)(Ft,{type:"description",name:"wpseo_titles.metadesc-author-wpseo",fieldId:"input-wpseo_titles-metadesc-author-wpseo",label:Object(tt.__)("Meta description","wordpress-seo"),replacementVariables:i,recommendedReplacementVariables:c,disabled:w,className:"yst-replacevar--description"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(s.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},Object(s.createElement)("span",null,Object(tt.__)("Social appearance","wordpress-seo")),p&&Object(s.createElement)(l.Badge,{variant:"upsell"},"Premium")),description:Object(tt.sprintf)(// translators: %1$s expands to "author archives".
|
|||
|
Object(tt.__)("Determine how your %1$s should look on social media.","wordpress-seo"),a)},Object(s.createElement)(l.FeatureUpsell,He()({shouldUpsell:!p,variant:"card",cardLink:b,cardText:Object(tt.sprintf)(
|
|||
|
/* translators: %1$s expands to Premium. */
|
|||
|
Object(tt.__)("Unlock with %1$s","wordpress-seo"),"Premium")},o),Object(s.createElement)(rr,{isEnabled:!p||_}),Object(s.createElement)(xt,{id:"wpseo_titles-social-image-author-wpseo",label:Object(tt.__)("Social image","wordpress-seo"),previewLabel:f,mediaUrlName:"wpseo_titles.social-image-url-author-wpseo",mediaIdName:"wpseo_titles.social-image-id-author-wpseo",disabled:w||!_,isDummy:!p}),Object(s.createElement)(Ma,{type:"title",name:"wpseo_titles.social-title-author-wpseo",fieldId:"input-wpseo_titles-social-title-author-wpseo",label:Object(tt.__)("Social title","wordpress-seo"),replacementVariables:i,recommendedReplacementVariables:c,disabled:w||!_,isDummy:!p}),Object(s.createElement)(Ma,{type:"description",name:"wpseo_titles.social-description-author-wpseo",fieldId:"input-wpseo_titles-social-description-author-wpseo",label:Object(tt.__)("Social description","wordpress-seo"),replacementVariables:i,recommendedReplacementVariables:c,className:"yst-replacevar--description",disabled:w||!_,isDummy:!p}))))))},Ca=()=>{const e=pt("selectLink",[],"https://yoa.st/header-breadcrumbs"),t=pt("selectLink",[],"https://yoa.st/breadcrumbs"),r=pt("selectBreadcrumbsForPostTypes"),a=pt("selectBreadcrumbsForTaxonomies"),n=pt("selectHasPageForPosts");return Object(s.createElement)(Er,{title:Object(tt.__)("Breadcrumbs","wordpress-seo"),description:Object(ka.a)(Object(tt.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing <a> tags.
|
|||
|
Object(tt.__)("Configure the appearance and behavior of %1$syour breadcrumbs%2$s.","wordpress-seo"),"<a>","</a>"),e,"link-header-breadcrumbs")},Object(s.createElement)(wt,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)(bt,{title:Object(tt.__)("Breadcrumb appearance","wordpress-seo"),description:Object(tt.__)("Choose the general appearance of your breadcrumbs.","wordpress-seo")},Object(s.createElement)(ee,{as:l.TextField,type:"text",name:"wpseo_titles.breadcrumbs-sep",id:"input-wpseo_titles-breadcrumbs-sep",label:Object(tt.__)("Separator between breadcrumbs","wordpress-seo"),placeholder:Object(tt.__)("Add separator","wordpress-seo")}),Object(s.createElement)(ee,{as:l.TextField,type:"text",name:"wpseo_titles.breadcrumbs-home",id:"input-wpseo_titles-breadcrumbs-home",label:Object(tt.__)("Anchor text for the Homepage","wordpress-seo"),placeholder:Object(tt.__)("Add anchor text","wordpress-seo")}),Object(s.createElement)(ee,{as:l.TextField,type:"text",name:"wpseo_titles.breadcrumbs-prefix",id:"input-wpseo_titles-breadcrumbs-prefix",label:Object(tt.__)("Prefix for the breadcrumb path","wordpress-seo"),placeholder:Object(tt.__)("Add prefix","wordpress-seo")}),Object(s.createElement)(ee,{as:l.TextField,type:"text",name:"wpseo_titles.breadcrumbs-archiveprefix",id:"input-wpseo_titles-breadcrumbs-archiveprefix",label:Object(tt.__)("Prefix for archive breadcrumbs","wordpress-seo"),placeholder:Object(tt.__)("Add prefix","wordpress-seo")}),Object(s.createElement)(ee,{as:l.TextField,type:"text",name:"wpseo_titles.breadcrumbs-searchprefix",id:"input-wpseo_titles-breadcrumbs-searchprefix",label:Object(tt.__)("Prefix for search page breadcrumbs","wordpress-seo"),placeholder:Object(tt.__)("Add prefix","wordpress-seo")}),Object(s.createElement)(ee,{as:l.TextField,type:"text",name:"wpseo_titles.breadcrumbs-404crumb",id:"input-wpseo_titles-breadcrumbs-404crumb",label:Object(tt.__)("Breadcrumb for 404 page","wordpress-seo"),placeholder:Object(tt.__)("Add separator","wordpress-seo")}),n&&Object(s.createElement)(Wt,{as:l.ToggleField,type:"checkbox",name:"wpseo_titles.breadcrumbs-display-blog-page",id:"input-wpseo_titles-breadcrumbs-display-blog-page",label:Object(tt.__)("Show blog page in breadcrumbs","wordpress-seo"),className:"yst-max-w-sm"}),Object(s.createElement)(Wt,{as:l.ToggleField,type:"checkbox",name:"wpseo_titles.breadcrumbs-boldlast",id:"input-wpseo_titles-breadcrumbs-boldlast",label:Object(tt.__)("Bold the last page","wordpress-seo"),className:"yst-max-w-sm"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Breadcrumbs for post types","wordpress-seo"),description:Object(tt.__)("Choose which Taxonomy you wish to show in the breadcrumbs for Post types.","wordpress-seo")},Object(ie.map)(r,(e,t)=>Object(s.createElement)(Wt,{key:t,as:l.SelectField,name:`wpseo_titles.post_types-${t}-maintax`,id:`input-wpseo_titles-post_types-${t}-maintax`,label:Object(s.createElement)(s.Fragment,null,e.label,Object(s.createElement)(l.Code,{className:"yst-ml-2"},t)),options:e.options,className:"yst-max-w-sm"}))),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Breadcrumbs for taxonomies","wordpress-seo"),description:Object(tt.__)("Choose which Post type you wish to show in the breadcrumbs for Taxonomies.","wordpress-seo")},Object(ie.map)(a,e=>Object(s.createElement)(Wt,{key:e.name,as:l.SelectField,name:`wpseo_titles.taxonomy-${e.name}-ptparent`,id:`input-wpseo_titles-taxonomy-${e.name}-ptparent`,label:Object(s.createElement)(s.Fragment,null,e.label,Object(s.createElement)(l.Code,{className:"yst-ml-2"},e.name)),options:e.options,className:"yst-max-w-sm"}))),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("How to insert breadcrumbs in your theme","wordpress-seo")},Object(s.createElement)("p",null,Object(ka.a)(Object(tt.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing <a> tags. %3$s expands to "Yoast SEO".
|
|||
|
Object(tt.__)("Not sure how to implement the %3$s breadcrumbs on your site? Read %1$sour help article on breadcrumbs implementation%2$s.","wordpress-seo"),"<a>","</a>","Yoast SEO"),t,"link-breadcrumbs-help-article")),Object(s.createElement)("p",null,Object(tt.__)("You can always choose to enable/disable them for your theme below. This setting will not apply to breadcrumbs inserted through a widget, a block or a shortcode.","wordpress-seo")),Object(s.createElement)(Wt,{as:l.ToggleField,type:"checkbox",name:"wpseo_titles.breadcrumbs-enable",id:"input-wpseo_titles-breadcrumbs-enable",label:Object(tt.__)("Enable breadcrumbs for your theme","wordpress-seo"),className:"yst-max-w-sm"})))))};const $a=Yt(ee),Da=Ht(Wt);var Va=()=>{const e=pt("selectLink",[],"https://yoa.st/crawl-settings"),t=pt("selectLink",[],"https://yoa.st/permalink-cleanup"),r=Object(s.useMemo)(()=>Object(tt.sprintf)(
|
|||
|
/* translators: %1$s expands to an example within a code tag. */
|
|||
|
Object(tt.__)("E.g., %1$s","wordpress-seo"),"<code/>"),[]),a=Object(s.useMemo)(()=>Object(tt.sprintf)(
|
|||
|
/* translators: %1$s and %2$s both expand to an example within a code tag. */
|
|||
|
Object(tt.__)("E.g., %1$s and %2$s","wordpress-seo"),"<code1/>","<code2/>"),[]),n=Object(s.useMemo)(()=>({page:Object(s.createInterpolateElement)(Object(tt.sprintf)(
|
|||
|
/* translators: %1$s and %2$s are replaced by opening and closing <a> tags. */
|
|||
|
Object(tt.__)("Make your site more efficient and more environmentally friendly by preventing search engines from crawling things they don’t need to, and by removing unused WordPress features. %1$sLearn more about crawl settings and how they could benefit your site%2$s.","wordpress-seo"),"<a>","</a>"),{a:Object(s.createElement)("a",{id:"link-crawl-settings-info",href:e,target:"_blank",rel:"noopener noreferrer"})}),removeUnwantedMetadata:Object(s.createInterpolateElement)(Object(tt.sprintf)(
|
|||
|
/* translators: %1$s expands to `<head>` within a <code> tag. */
|
|||
|
Object(tt.__)("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/>"),{code:Object(s.createElement)(l.Code,null,"<head>")}),removeShortlinks:Object(s.createInterpolateElement)(r,{code:Object(s.createElement)(l.Code,{variant:"block"},'<link rel="shortlink" href="https://www.example.com/?p=1" />')}),removeRestApiLinks:Object(s.createInterpolateElement)(r,{code:Object(s.createElement)(l.Code,{variant:"block"},'<link rel="https://api.w.org/" href="https://www.example.com/wp-json/" />')}),removeRsdWlwLinks:Object(s.createInterpolateElement)(a,{code1:Object(s.createElement)(l.Code,{variant:"block"},'<link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://www.example.com/xmlrpc.php?rsd" />'),code2:Object(s.createElement)(l.Code,{variant:"block"},'<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://www.example.com/wp-includes/wlwmanifest.xml" />')}),removeOembedLinks:Object(s.createInterpolateElement)(r,{code:Object(s.createElement)(l.Code,{variant:"block"},'<link rel="alternate" type="application/json+oembed" href="https://www.example.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.example.com%2Fexample-post%2F" />')}),removeGenerator:Object(s.createInterpolateElement)(r,{code:Object(s.createElement)(l.Code,{variant:"block"},'<meta name="generator" content="WordPress 6.0.1" />')}),removePingbackHeader:Object(s.createInterpolateElement)(r,{code:Object(s.createElement)(l.Code,{variant:"block"},"X-Pingback: https://www.example.com/xmlrpc.php")}),removePoweredByHeader:Object(s.createInterpolateElement)(r,{code:Object(s.createElement)(l.Code,{variant:"block"},"X-Powered-By: PHP/7.4.1")}),removeFeedGlobal:Object(s.createInterpolateElement)(r,{code:Object(s.createElement)(l.Code,{variant:"block"},'<link rel="alternate" type="application/rss+xml" title="Example Website - Feed" href="https://www.example.com/feed/" />')}),removeFeedGlobalComments:Object(s.createInterpolateElement)(r,{code:Object(s.createElement)(l.Code,{variant:"block"},'<link rel="alternate" type="application/rss+xml" title="Example Website - Comments Feed" href="https://www.example.com/comments/feed/" />')}),removeFeedPostComments:Object(s.createInterpolateElement)(r,{code:Object(s.createElement)(l.Code,{variant:"block"},'<link rel="alternate" type="application/rss+xml" title="Example Website - Example post Comments Feed" href="https://www.example.com/example-post/feed/" />')}),removeFeedAuthors:Object(s.createInterpolateElement)(r,{code:Object(s.createElement)(l.Code,{variant:"block"},'<link rel="alternate" type="application/rss+xml" title="Example Website - Posts by Example Author Feed" href="https://www.example.com/author/example-author/feed/" />')}),removeFeedPostTypes:Object(s.createInterpolateElement)(r,{code:Object(s.createElement)(l.Code,{variant:"block"},'<link rel="alternate" type="application/rss+xml" title="Example Website - Movies Feed" href="https://www.example.com/movies/feed/" />')}),removeFeedCategories:Object(s.createInterpolateElement)(r,{code:Object(s.createElement)(l.Code,{variant:"block"},'<link rel="alternate" type="application/rss+xml" title="Example Website - News Category Feed" href="https://www.example.com/category/news/feed/" />')}),removeFeedTags:Object(s.createInterpolateElement)(r,{code:Object(s.createElement)(l.Code,{variant:"block"},'<link rel="alternate" type="application/rss+xml" title="Example Website - Blue Tag Feed" href="https://www.example.com/tag/blue/feed/" />')}),removeFeedCustomTaxonomies:Object(s.createInterpolateElement)(r,{code:Object(s.createElement)(l.Code,{variant:"block"},'<link rel="alternate" type="application/rss+xml" title="Example Website - Large size Feed" href="https://www.example.com/size/large/feed/" />')}),removeFeedSearch:Object(s.createInterpolateElement)(r,{code:Object(s.createElement)(l.Code,{variant:"block"},'<link rel="alternate" type="application/rss+xml" title="Example Website - Search Results for \'
|
|||
|
/* translators: %1$s, %2$s and %3$s expand to example parts of a URL, surrounded by <code> tags. */
|
|||
|
Object(tt.__)("Consolidates WordPress' multiple site search URL formats into the %1$s syntax. E.g., %2$s will redirect to %3$s","wordpress-seo"),"<code1/>","<code2/>","<code3/>"),{code1:Object(s.createElement)(l.Code,null,"?s="),code2:Object(s.createElement)(l.Code,{variant:"block"},"https://www.example.com/search/cats"),code3:Object(s.createElement)(l.Code,{variant:"block"},"https://www.example.com/?s=cats")}),denySearchCrawling:Object(s.createInterpolateElement)(Object(tt.sprintf)(
|
|||
|
/* translators: %1$s, %2$s and %3$s expand to example parts of a URL, surrounded by <code> tags. */
|
|||
|
Object(tt.__)("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/>","<code2/>","<code3/>"),{code1:Object(s.createElement)(l.Code,null,"?s="),code2:Object(s.createElement)(l.Code,null,"/search/"),code3:Object(s.createElement)(l.Code,null,"/page/*/?s=")}),advancedUrlCleanup:Object(s.createInterpolateElement)(Object(tt.sprintf)(
|
|||
|
/* translators: %1$s expands to an example part of a URL, surrounded by a <code> tag. */
|
|||
|
Object(tt.__)("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/>"),{code:Object(s.createElement)(l.Code,null,"?color=red")}),cleanCampaignTrackingUrls:Object(s.createInterpolateElement)(Object(tt.sprintf)(
|
|||
|
/**
|
|||
|
* translators:
|
|||
|
* %1$s expands to `<code>utm</code>`.
|
|||
|
* %2$s expands to `<code>#</code>`.
|
|||
|
* %3$s expands to `<code>301</code>`.
|
|||
|
* %4$s and %5$s both expand to an example within a <code> tag.
|
|||
|
*/
|
|||
|
Object(tt.__)("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/>","<code2/>","<code3/>","<code4/>","<code5/>"),{code1:Object(s.createElement)(l.Code,null,"utm"),code2:Object(s.createElement)(l.Code,null,"#"),code3:Object(s.createElement)(l.Code,null,"301"),code4:Object(s.createElement)(l.Code,{variant:"block"},"https://www.example.com/?utm_medium=organic"),code5:Object(s.createElement)(l.Code,{variant:"block"},"https://www.example.com/#utm_medium=organic")}),cleanPermalinks:Object(s.createInterpolateElement)(Object(tt.sprintf)(
|
|||
|
/**
|
|||
|
* translators:
|
|||
|
* %1$s expands to `<code>301</code>`.
|
|||
|
* %2$s and %3$s both expand to an example within a <code> tag.
|
|||
|
*/
|
|||
|
Object(tt.__)("Removes unknown URL parameters via a %1$s redirect. E.g., %2$s will be redirected to %3$s","wordpress-seo"),"<code1/>","<code2/>","<code3/>")+Object(tt.sprintf)(
|
|||
|
/**
|
|||
|
* translators:
|
|||
|
* %1$s through %7$s each expand to a parameter name within a <code> tag. For example, <code>gclid</code>.
|
|||
|
*/
|
|||
|
Object(tt.__)("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"),"<code4/>","<code5/>","<code6/>","<code7/>","<code8/>","<code9/>","<code10/>"),{code1:Object(s.createElement)(l.Code,null,"301"),code2:Object(s.createElement)(l.Code,{variant:"block"},"https://www.example.com/?unknown_parameter=yes"),code3:Object(s.createElement)(l.Code,{variant:"block"},"https://www.example.com"),code4:Object(s.createElement)(l.Code,null,"gclid"),code5:Object(s.createElement)(l.Code,null,"gtm_debug"),code6:Object(s.createElement)(l.Code,null,"utm_campaign"),code7:Object(s.createElement)(l.Code,null,"utm_content"),code8:Object(s.createElement)(l.Code,null,"utm_medium"),code9:Object(s.createElement)(l.Code,null,"utm_source"),code10:Object(s.createElement)(l.Code,null,"utm_term")}),cleanPermalinksExtraVariables:Object(s.createInterpolateElement)(Object(tt.sprintf)(
|
|||
|
/**
|
|||
|
* translators:
|
|||
|
* %1$s expands to `<code>unknown_parameter</code>`.
|
|||
|
* %2$s and %3$s both expand to an example within a <code> tag.
|
|||
|
*/
|
|||
|
Object(tt.__)("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/>","<code2/>","<code3/>"),{code1:Object(s.createElement)(l.Code,null,"unknown_parameter"),code2:Object(s.createElement)(l.Code,null,"https://www.example.com/?unknown_parameter=yes"),code3:Object(s.createElement)(l.Code,null,"https://www.example.com")})}),[]),{values:o}=W(),{remove_feed_global_comments:i,remove_feed_post_comments:c,search_cleanup:d,search_cleanup_emoji:u,search_cleanup_patterns:p,clean_permalinks:m}=o.wpseo;return Object(s.createElement)(Er,{title:Object(tt.__)("Crawl optimization","wordpress-seo"),description:n.page},Object(s.createElement)(wt,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)(bt,{title:Object(tt.__)("Remove unwanted metadata","wordpress-seo"),description:n.removeUnwantedMetadata},Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_shortlinks",id:"input-wpseo-remove_shortlinks",label:Object(tt.__)("Remove shortlinks","wordpress-seo"),className:"yst-max-w-2xl"},Object(tt.__)("Remove links to WordPress' internal 'shortlink' URLs for your posts.","wordpress-seo")," ",n.removeShortlinks),Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_rest_api_links",id:"input-wpseo-remove_rest_api_links",label:Object(tt.__)("Remove REST API links","wordpress-seo"),className:"yst-max-w-2xl"},Object(tt.__)("Remove links to the location of your site’s REST API endpoints.","wordpress-seo")," ",n.removeRestApiLinks),Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_rsd_wlw_links",id:"input-wpseo-remove_rsd_wlw_links",label:Object(tt.__)("Remove RSD / WLW links","wordpress-seo"),className:"yst-max-w-2xl"},Object(tt.__)("Remove links used by external systems for publishing content to your blog.","wordpress-seo")," ",n.removeRsdWlwLinks),Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_oembed_links",id:"input-wpseo-remove_oembed_links",label:Object(tt.__)("Remove oEmbed links","wordpress-seo"),className:"yst-max-w-2xl"},Object(tt.__)("Remove links used for embedding your content on other sites.","wordpress-seo")," ",n.removeOembedLinks),Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_generator",id:"input-wpseo-remove_generator",label:Object(tt.__)("Remove generator tag","wordpress-seo"),className:"yst-max-w-2xl"},Object(tt.__)("Remove information about the plugins and software used by your site.","wordpress-seo")," ",n.removeGenerator),Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_pingback_header",id:"input-wpseo-remove_pingback_header",label:Object(tt.__)("Pingback HTTP header","wordpress-seo"),className:"yst-max-w-2xl"},Object(tt.__)("Remove links which allow others sites to ‘ping’ yours when they link to you.","wordpress-seo")," ",n.removePingbackHeader),Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_powered_by_header",id:"input-wpseo-remove_powered_by_header",label:Object(tt.__)("Remove powered by HTTP header","wordpress-seo"),className:"yst-max-w-2xl"},Object(tt.__)("Remove information about the plugins and software used by your site.","wordpress-seo")," ",n.removePoweredByHeader)),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Disable unwanted content formats","wordpress-seo"),description:Object(tt.__)("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")},Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.remove_feed_global",id:"input-wpseo-remove_feed_global",label:Object(tt.__)("Remove global feed","wordpress-seo"),className:"yst-max-w
|
|||
|
Object(tt.__)("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>","</a>"),{a:Object(s.createElement)("a",{id:"link-permalink-cleanup-info",href:t,target:"_blank",rel:"noopener noreferrer"})})),Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.clean_campaign_tracking_urls",id:"input-wpseo-clean_campaign_tracking_urls",label:Object(tt.__)("Optimize Google Analytics utm tracking parameters","wordpress-seo"),description:n.cleanCampaignTrackingUrls,className:"yst-max-w-2xl"}),Object(s.createElement)(Da,{as:l.ToggleField,type:"checkbox",name:"wpseo.clean_permalinks",id:"input-wpseo-clean_permalinks",label:Object(tt.__)("Remove unregistered URL parameters","wordpress-seo"),description:n.cleanPermalinks,className:"yst-max-w-2xl"}),Object(s.createElement)(Lt,{name:"wpseo.clean_permalinks_extra_variables",id:"input-wpseo-clean_permalinks_extra_variables",label:Object(tt.__)("Additional URL parameters to allow","wordpress-seo"),description:n.cleanPermalinksExtraVariables,disabled:!m})))))};const Ba=Gt(Ft);var Ua=()=>{const e=Object(tt.__)("Date archives","wordpress-seo"),t=pt("selectPreference",[],"userLocale"),r=Object(s.useMemo)(()=>Ur(e,t),[e,t]),a=pt("selectUpsellSettingsAsProps"),n=pt("selectReplacementVariablesFor",[],"date_archive","custom-post-type_archive"),o=pt("selectRecommendedReplacementVariablesFor",[],"date_archive","custom-post-type_archive"),i=pt("selectLink",[],"https://yoa.st/show-x"),c=pt("selectPreference",[],"isPremium"),d=pt("selectLink",[],"https://yoa.st/4e0"),u=pt("selectExampleUrl",[],"/2020/"),p=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.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.
|
|||
|
*/
|
|||
|
Object(tt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"<strong>","</strong>","1200x675px"),{strong:Object(s.createElement)("strong",{className:"yst-font-semibold"})}),[]),m=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.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".
|
|||
|
*/
|
|||
|
Object(tt.__)("%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"),e,"<exampleUrl />",r),{exampleUrl:Object(s.createElement)(l.Code,null,u)})),{values:b}=W(),{opengraph:f}=b.wpseo_social,{"disable-date":h,"noindex-archive-wpseo":y}=b.wpseo_titles;return Object(s.createElement)(Er,{title:e,description:m},Object(s.createElement)(wt,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)("fieldset",{className:"yst-min-width-0 yst-space-y-8"},Object(s.createElement)(jt,{name:"wpseo_titles.disable-date",id:"input-wpseo_titles-disable-date",label:Object(tt.sprintf)(// translators: %1$s expands to "date archives".
|
|||
|
Object(tt.__)("Enable %1$s","wordpress-seo"),r),description:Object(tt.sprintf)(// translators: %1$s expands to "Date archives".
|
|||
|
Object(tt.__)("%1$s can cause duplicate content issues. For most sites, we recommend that you disable this setting.","wordpress-seo"),e),className:"yst-max-w-sm"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Search appearance","wordpress-seo"),description:Object(tt.sprintf)(// translators: %1$s expands to "date archives".
|
|||
|
Object(tt.__)("Determine how your %1$s should look in search engines.","wordpress-seo"),r)},Object(s.createElement)(jt,{name:"wpseo_titles.noindex-archive-wpseo",id:"input-wpseo_titles-noindex-archive-wpseo",label:Object(tt.sprintf)(// translators: %1$s expands to "date archives".
|
|||
|
Object(tt.__)("Show %1$s in search results","wordpress-seo"),r),description:Object(s.createElement)(s.Fragment,null,Object(tt.sprintf)(// translators: %1$s expands to "date archives".
|
|||
|
Object(tt.__)("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)," ",Object(s.createElement)(l.Link,{href:i,target:"_blank",rel:"noopener"},Object(tt.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:h,checked:!h&&!y,className:"yst-max-w-sm"}),Object(s.createElement)(Ft,{type:"title",name:"wpseo_titles.title-archive-wpseo",fieldId:"input-wpseo_titles-title-archive-wpseo",label:Object(tt.__)("SEO title","wordpress-seo"),replacementVariables:n,recommendedReplacementVariables:o,disabled:h}),Object(s.createElement)(Ft,{type:"description",name:"wpseo_titles.metadesc-archive-wpseo",fieldId:"input-wpseo_titles-metadesc-archive-wpseo",label:Object(tt.__)("Meta description","wordpress-seo"),replacementVariables:n,recommendedReplacementVariables:o,disabled:h,className:"yst-replacevar--description"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(s.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},Object(s.createElement)("span",null,Object(tt.__)("Social appearance","wordpress-seo")),c&&Object(s.createElement)(l.Badge,{variant:"upsell"},"Premium")),description:Object(tt.sprintf)(// translators: %1$s expands to "date archives".
|
|||
|
Object(tt.__)("Determine how your %1$s should look on social media by default.","wordpress-seo"),r)},Object(s.createElement)(l.FeatureUpsell,He()({shouldUpsell:!c,variant:"card",cardLink:d,cardText:Object(tt.sprintf)(// translators: %1$s expands to Premium.
|
|||
|
Object(tt.__)("Unlock with %1$s","wordpress-seo"),"Premium")},a),Object(s.createElement)(rr,{isEnabled:!c||f}),Object(s.createElement)(xt,{id:"wpseo_titles-social-image-archive-wpseo",label:Object(tt.__)("Social image","wordpress-seo"),previewLabel:p,mediaUrlName:"wpseo_titles.social-image-url-archive-wpseo",mediaIdName:"wpseo_titles.social-image-id-archive-wpseo",disabled:h||!f,isDummy:!c}),Object(s.createElement)(Ba,{type:"title",name:"wpseo_titles.social-title-archive-wpseo",fieldId:"input-wpseo_titles-social-title-archive-wpseo",label:Object(tt.__)("Social title","wordpress-seo"),replacementVariables:n,recommendedReplacementVariables:o,disabled:h||!f,isDummy:!c}),Object(s.createElement)(Ba,{type:"description",name:"wpseo_titles.social-description-archive-wpseo",fieldId:"input-wpseo_titles-social-description-archive-wpseo",label:Object(tt.__)("Social description","wordpress-seo"),replacementVariables:n,recommendedReplacementVariables:o,className:"yst-replacevar--description",disabled:h||!f,isDummy:!c}))))))};const za=Gt(Ft);var qa=()=>{const{name:e,label:t,singularLabel:r}=pt("selectTaxonomy",[],"post_format"),a=pt("selectPreference",[],"userLocale"),n=Object(s.useMemo)(()=>Ur(t,a),[t,a]),o=Object(s.useMemo)(()=>Ur(r,a),[r,a]),i=pt("selectUpsellSettingsAsProps"),c=pt("selectReplacementVariablesFor",[e],e,"term-in-custom-taxonomy"),d=pt("selectRecommendedReplacementVariablesFor",[e],e,"term-in-custom-taxonomy"),u=pt("selectLink",[],"https://yoa.st/show-x"),p=pt("selectPreference",[],"isPremium"),m=pt("selectLink",[],"https://yoa.st/4e0"),b=pt("selectExampleUrl",[],"/format/example/"),f=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.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.
|
|||
|
*/
|
|||
|
Object(tt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"<strong>","</strong>","1200x675px"),{strong:Object(s.createElement)("strong",{className:"yst-font-semibold"})}),[]),h=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)(
|
|||
|
/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */
|
|||
|
Object(tt.__)("(e.g., %1$s)","wordpress-seo"),"<exampleUrl />"),{exampleUrl:Object(s.createElement)(l.Code,null,b)})),{values:y}=W(),{opengraph:_}=y.wpseo_social,{"disable-post_format":w,"noindex-tax-post_format":O}=y.wpseo_titles;return Object(s.createElement)(Er,{title:Object(tt.__)("Format archives","wordpress-seo"),description:h},Object(s.createElement)(wt,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)(jt,{name:"wpseo_titles.disable-post_format",id:"input-wpseo_titles-disable-post_format",label:Object(tt.__)("Enable format-based archives","wordpress-seo"),description:Object(tt.__)("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"}),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Search appearance","wordpress-seo"),description:Object(tt.sprintf)(
|
|||
|
// translators: %1$s expands to "formats". %2$s expands to "Yoast SEO".
|
|||
|
Object(tt.__)("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"),n,"Yoast SEO")},Object(s.createElement)(jt,{name:"wpseo_titles.noindex-tax-"+e,id:"input-wpseo_titles-noindex-tax-"+e,label:Object(tt.sprintf)(// translators: %1$s expands to "format".
|
|||
|
Object(tt.__)("Show %1$s archives in search results","wordpress-seo"),o),description:Object(s.createElement)(s.Fragment,null,Object(tt.sprintf)(// translators: %1$s expands to "formats".
|
|||
|
Object(tt.__)("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"),n)," ",Object(s.createElement)(l.Link,{href:u,target:"_blank",rel:"noopener"},Object(tt.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:w,checked:!w&&!O,className:"yst-max-w-sm"}),Object(s.createElement)(Ft,{type:"title",name:"wpseo_titles.title-tax-"+e,fieldId:"input-wpseo_titles-title-tax-"+e,label:Object(tt.__)("SEO title","wordpress-seo"),replacementVariables:c,recommendedReplacementVariables:d,disabled:w}),Object(s.createElement)(Ft,{type:"description",name:"wpseo_titles.metadesc-tax-"+e,fieldId:"input-wpseo_titles-metadesc-tax-"+e,label:Object(tt.__)("Meta description","wordpress-seo"),replacementVariables:c,recommendedReplacementVariables:d,disabled:w,className:"yst-replacevar--description"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(s.createElement)("div",{className:"yst-flex yst-items-center yst-gap-1.5"},Object(s.createElement)("span",null,Object(tt.__)("Social appearance","wordpress-seo")),p&&Object(s.createElement)(l.Badge,{variant:"upsell"},"Premium")),description:Object(tt.sprintf)(
|
|||
|
// translators: %1$s expands to "formats". %2$s expands to "Yoast SEO".
|
|||
|
Object(tt.__)("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"),n,"Yoast SEO")},Object(s.createElement)(l.FeatureUpsell,He()({shouldUpsell:!p,variant:"card",cardLink:m,cardText:Object(tt.sprintf)(
|
|||
|
/* translators: %1$s expands to Premium. */
|
|||
|
Object(tt.__)("Unlock with %1$s","wordpress-seo"),"Premium")},i),Object(s.createElement)(rr,{isEnabled:!p||_}),Object(s.createElement)(xt,{id:"wpseo_titles-social-image-tax-"+e,label:Object(tt.__)("Social image","wordpress-seo"),previewLabel:f,mediaUrlName:"wpseo_titles.social-image-url-tax-"+e,mediaIdName:"wpseo_titles.social-image-id-tax-"+e,disabled:w||!_,isDummy:!p}),Object(s.createElement)(za,{type:"title",name:"wpseo_titles.social-title-tax-"+e,fieldId:"input-wpseo_titles-social-title-tax-"+e,label:Object(tt.__)("Social title","wordpress-seo"),replacementVariables:c,recommendedReplacementVariables:d,disabled:w||!_,isDummy:!p}),Object(s.createElement)(za,{type:"description",name:"wpseo_titles.social-description-tax-"+e,fieldId:"input-wpseo_titles-social-description-tax-"+e,label:Object(tt.__)("Social description","wordpress-seo"),replacementVariables:c,recommendedReplacementVariables:d,className:"yst-replacevar--description",disabled:w||!_,isDummy:!p}))))))};const Wa=()=>{const e=pt("selectReplacementVariablesFor",[],"homepage","page"),t=pt("selectRecommendedReplacementVariablesFor",[],"homepage","page"),r=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.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.
|
|||
|
*/
|
|||
|
Object(tt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"<strong>","</strong>","1200x675px"),{strong:Object(s.createElement)("strong",{className:"yst-font-semibold"})}),[]),{values:a}=W(),{opengraph:n}=a.wpseo_social;return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(bt,{title:Object(tt.__)("Search appearance","wordpress-seo"),description:Object(tt.__)("Determine how your homepage should look in the search results.","wordpress-seo")},Object(s.createElement)(Ft,{type:"title",name:"wpseo_titles.title-home-wpseo",fieldId:"input-wpseo_titles-title-home-wpseo",label:Object(tt.__)("SEO title","wordpress-seo"),replacementVariables:e,recommendedReplacementVariables:t}),Object(s.createElement)(Ft,{type:"description",name:"wpseo_titles.metadesc-home-wpseo",fieldId:"input-wpseo_titles-metadesc-home-wpseo",label:Object(tt.__)("Meta description","wordpress-seo"),replacementVariables:e,recommendedReplacementVariables:t,className:"yst-replacevar--description"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Social appearance","wordpress-seo"),description:Object(tt.__)("Determine how your homepage should look on social media.","wordpress-seo")},Object(s.createElement)(rr,{isEnabled:n
|
|||
|
/* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */,text:Object(tt.__)("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")}),Object(s.createElement)(xt,{id:"wpseo_titles-open_graph_frontpage_image",label:Object(tt.__)("Social image","wordpress-seo"),previewLabel:r,mediaUrlName:"wpseo_titles.open_graph_frontpage_image",mediaIdName:"wpseo_titles.open_graph_frontpage_image_id",disabled:!n}),Object(s.createElement)(Ft,{type:"title",name:"wpseo_titles.open_graph_frontpage_title",fieldId:"input-wpseo_titles-open_graph_frontpage_title",label:Object(tt.__)("Social title","wordpress-seo"),replacementVariables:e,recommendedReplacementVariables:t,disabled:!n}),Object(s.createElement)(Ft,{type:"description",name:"wpseo_titles.open_graph_frontpage_desc",fieldId:"input-wpseo_titles-open_graph_frontpage_desc",label:Object(tt.__)("Social description","wordpress-seo"),replacementVariables:e,recommendedReplacementVariables:t,className:"yst-replacevar--description",disabled:!n})))},Ha=()=>{const e=pt("selectPreference",[],"homepagePageEditUrl"),t=pt("selectPreference",[],"homepagePostsEditUrl"),r=Object(s.useMemo)(()=>Object(ka.a)(Object(tt.sprintf)(
|
|||
|
/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */
|
|||
|
Object(tt.__)("You can determine the title and description for the homepage by %1$sediting the homepage itself%2$s.","wordpress-seo"),"<a>","</a>"),e,"link-homepage-page-edit")),a=Object(s.useMemo)(()=>Object(ka.a)(Object(tt.sprintf)(
|
|||
|
/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */
|
|||
|
Object(tt.__)("You can determine the title and description for the blog page by %1$sediting the blog page itself%2$s.","wordpress-seo"),"<a>","</a>"),t,"link-homepage-posts-page-edit"));return Object(s.createElement)("div",{className:"yst-max-w-screen-sm"},Object(s.createElement)(l.Alert,null,Object(s.createElement)("p",null,r),t&&Object(s.createElement)("p",{className:"yst-pt-2"},a)))};var Ga=()=>{const e=pt("selectPreference",[],"homepageIsLatestPosts");return Object(s.createElement)(Er,{title:Object(tt.__)("Homepage","wordpress-seo"),description:Object(tt.__)("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")},Object(s.createElement)(wt,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},e&&Object(s.createElement)(Wa,null),!e&&Object(s.createElement)(Ha,null))))},Ya=()=>{const{name:e,label:t,hasSchemaArticleType:r}=pt("selectPostType",[],"attachment"),a=pt("selectPreference",[],"userLocale"),n=Object(s.useMemo)(()=>Ur(t,a),[t,a]),o=pt("selectReplacementVariablesFor",[e],e,"custom_post_type"),i=pt("selectRecommendedReplacementVariablesFor",[e],e,"custom_post_type"),c=pt("selectArticleTypeValuesFor",[e],e),d=pt("selectPageTypeValuesFor",[e],e),u=pt("selectLink",[],"https://yoa.st/media-pages-thin-content"),p=pt("selectLink",[],"https://yoa.st/show-x"),{values:m}=W(),{"disable-attachment":b,"noindex-attachment":f}=m.wpseo_titles,h=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)(
|
|||
|
/**
|
|||
|
* translators: %1$s and %2$s are replaced by opening and closing <a> tags.
|
|||
|
* %3$s expands to "media".
|
|||
|
* %4$s expand to "Yoast SEO".
|
|||
|
* %5$s expand to "WordPress".
|
|||
|
*/
|
|||
|
Object(tt.__)("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"),"<a>","</a>",n,"Yoast SEO","WordPress"),{a:Object(s.createElement)("a",{href:u,target:"_blank",rel:"noopener noreferrer"})}));return Object(s.createElement)(Er,{title:Object(tt.sprintf)(// translators: %1$s expands to "Media".
|
|||
|
Object(tt.__)("%1$s pages","wordpress-seo"),t),description:h},Object(s.createElement)(wt,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)("fieldset",{className:"yst-min-width-0 yst-space-y-8"},Object(s.createElement)(jt,{name:"wpseo_titles.disable-"+e,id:"input-wpseo_titles-disable-"+e,label:Object(tt.sprintf)(// translators: %1$s expands to "media".
|
|||
|
Object(tt.__)("Enable %1$s pages","wordpress-seo"),n),description:Object(tt.sprintf)(// translators: %1$s expands to "media".
|
|||
|
Object(tt.__)("We recommend keeping %1$s pages disabled. This will cause all attachment URLs to be redirected to the media itself.","wordpress-seo"),n),className:"yst-max-w-sm"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Search appearance","wordpress-seo"),description:Object(tt.sprintf)(
|
|||
|
// translators: %1$s expands to "media". %3$s expands to "Yoast SEO".
|
|||
|
Object(tt.__)("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"),n,"Yoast SEO")},Object(s.createElement)(jt,{name:"wpseo_titles.noindex-"+e,id:"input-wpseo_titles-noindex-"+e,label:Object(tt.sprintf)(// translators: %1$s expands to "media".
|
|||
|
Object(tt.__)("Show %1$s pages in search results","wordpress-seo"),n),description:Object(s.createElement)(s.Fragment,null,Object(tt.sprintf)(// translators: %1$s expands to "media".
|
|||
|
Object(tt.__)("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"),n),Object(s.createElement)("br",null),Object(s.createElement)(l.Link,{href:p,target:"_blank",rel:"noopener"},Object(tt.__)("Read more about the search results settings","wordpress-seo")),"."),disabled:b,checked:!b&&!f,className:"yst-max-w-sm"}),Object(s.createElement)(Ft,{type:"title",name:"wpseo_titles.title-"+e,fieldId:"input-wpseo_titles-title-"+e,label:Object(tt.__)("SEO title","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:i,disabled:b}),Object(s.createElement)(Ft,{type:"description",name:"wpseo_titles.metadesc-"+e,fieldId:"input-wpseo_titles-metadesc-"+e,label:Object(tt.__)("Meta description","wordpress-seo"),replacementVariables:o,recommendedReplacementVariables:i,disabled:b,className:"yst-replacevar--description"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Schema","wordpress-seo"),description:Object(tt.sprintf)(
|
|||
|
// translators: %1$s expands to "media". %3$s expands to "Yoast SEO".
|
|||
|
Object(tt.__)("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"),n,"Yoast SEO")},Object(s.createElement)(Wt,{as:l.SelectField,type:"select",name:"wpseo_titles.schema-page-type-"+e,id:"input-wpseo_titles-schema-page-type-"+e,label:Object(tt.__)("Page type","wordpress-seo"),options:d,disabled:b,className:"yst-max-w-sm"}),r&&Object(s.createElement)("div",null,Object(s.createElement)(Wt,{as:l.SelectField,type:"select",name:"wpseo_titles.schema-article-type-"+e,id:"input-wpseo_titles-schema-article-type-"+e,label:Object(tt.__)("Article type","wordpress-seo"),options:c,disabled:b,className:"yst-max-w-sm"}),Object(s.createElement)(er,{name:e,disabled:b}))),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Additional settings","wordpress-seo")},Object(s.createElement)(Wt,{as:l.ToggleField,type:"checkbox",name:"wpseo_titles.display-metabox-pt-"+e,id:"input-wpseo_titles-display-metabox-pt-"+e,label:Object(tt.__)("Enable SEO controls and assessments","wordpress-seo"),description:Object(tt.__)("Show or hide our tools and controls in the attachment editor.","wordpress-seo"),disabled:b,className:"yst-max-w-sm"})))))};const Ka=e=>{let{children:t}=e;return Object(s.createElement)(l.Table.Cell,{className:"yst-font-medium"},Object(s.createElement)("span",{className:"yst-text-slate-900"},t))};Ka.propTypes={children:nt.a.node.isRequired};var Qa=()=>Object(s.createElement)(Er,{title:Object(tt.__)("RSS","wordpress-seo")},Object(s.createElement)(wt,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)(bt,{title:Object(tt.__)("RSS feed","wordpress-seo"),description:Object(tt.__)("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")},Object(s.createElement)(ee,{as:l.TextareaField,type:"textarea",rows:4,name:"wpseo_titles.rssbefore",id:"input-wpseo_titles-rssbefore",label:Object(tt.__)("Content to put before each post in the feed","wordpress-seo")}),Object(s.createElement)(ee,{as:l.TextareaField,type:"textarea",rows:4,name:"wpseo_titles.rssafter",id:"input-wpseo_titles-rssafter",label:Object(tt.__)("Content to put after each post in the feed","wordpress-seo")})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{as:"section",title:Object(tt.__)("Available variables","wordpress-seo"),description:Object(tt.__)("You can use the following variables within the content, they will be replaced by the value on the right.","wordpress-seo")},Object(s.createElement)(l.Table,null,Object(s.createElement)(l.Table.Head,null,Object(s.createElement)(l.Table.Row,null,Object(s.createElement)(l.Table.Header,{scope:"col"},Object(tt.__)("Variable","wordpress-seo")),Object(s.createElement)(l.Table.Header,{scope:"col"},Object(tt.__)("Description","wordpress-seo")))),Object(s.createElement)(l.Table.Body,null,Object(s.createElement)(l.Table.Row,null,Object(s.createElement)(Ka,null,"%%AUTHORLINK%%"),Object(s.createElement)(l.Table.Cell,null,Object(tt.__)("A link to the archive for the post author, with the author's name as anchor text.","wordpress-seo"))),Object(s.createElement)(l.Table.Row,null,Object(s.createElement)(Ka,null,"%%POSTLINK%%"),Object(s.createElement)(l.Table.Cell,null,Object(tt.__)("A link to the post, with the title as anchor text.","wordpress-seo"))),Object(s.createElement)(l.Table.Row,null,Object(s.createElement)(Ka,null,"%%BLOGLINK%%"),Object(s.createElement)(l.Table.Cell,null,Object(tt.__)("A link to your site, with your site's name as anchor text.","wordpress-seo"))),Object(s.createElement)(l.Table.Row,null,Object(s.createElement)(Ka,null,"%%BLOGDESCLINK%%"),Object(s.createElement)(l.Table.Cell,null,Object(tt.__)("A link to your site, with your site's name and description as anchor text.","wordpress-seo")))))))));const Ja=Ht(l.ToggleField),Xa=(e=>{
|
|||
|
/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */
|
|||
|
Object(tt.__)("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>","</a>"),{a:Object(s.createElement)("a",{id:"link-usage-tracking",href:o,target:"_blank",rel:"noopener"})}),[]),f=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)(
|
|||
|
/* translators: %1$s expands to an opening tag. %2$s expands to a closing tag. */
|
|||
|
Object(tt.__)("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>","</a>"),{a:Object(s.createElement)("a",{id:"link-site-policies",href:i,target:"_blank",rel:"noopener"})}),[i]),h=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.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. */
|
|||
|
Object(tt.__)("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>","</em>","<a>","</a>"),{em:Object(s.createElement)("em",null),a:Object(s.createElement)("a",{id:"site-basics-replacement-variables",href:n,target:"_blank",rel:"noopener"})}),[]),y=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)(
|
|||
|
/* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */
|
|||
|
Object(tt.__)("We're sorry, you're not allowed to edit the %1$swebsite name%2$s and %1$stagline%2$s.","wordpress-seo"),"<em>","</em>"),{em:Object(s.createElement)("em",null)}),[]),_=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.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.
|
|||
|
*/
|
|||
|
Object(tt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"<strong>","</strong>","1200x675px"),{strong:Object(s.createElement)("strong",{className:"yst-font-semibold"})}),[]),w=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)(
|
|||
|
/**
|
|||
|
* translators: %1$s expands to an opening anchor tag.
|
|||
|
* %2$s expands to a closing anchor tag.
|
|||
|
*/
|
|||
|
Object(tt.__)("This field updates the %1$stagline in your WordPress settings%2$s.","wordpress-seo"),"<a>","</a>"),{a:Object(s.createElement)("a",{href:t+"#blogdescription",target:"_blank",rel:"noopener noreferrer"})}),[]),O=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)(
|
|||
|
/**
|
|||
|
* translators: %1$s expands to an opening italics tag.
|
|||
|
* %2$s expands to a closing italics tag.
|
|||
|
*/
|
|||
|
Object(tt.__)("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>","</i>"),{i:Object(s.createElement)("i",null)}),[]),j=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)(
|
|||
|
/**
|
|||
|
* translators: %1$s expands to an opening italics tag.
|
|||
|
* %2$s expands to a closing italics tag.
|
|||
|
*/
|
|||
|
Object(tt.__)("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>","</i>"),{i:Object(s.createElement)("i",null)}),[]),g=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)(
|
|||
|
/**
|
|||
|
* translators: %1$s expands to an opening italics tag.
|
|||
|
* %2$s expands to a closing italics tag.
|
|||
|
*/
|
|||
|
Object(tt.__)("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>","</i>"),{i:Object(s.createElement)("i",null)}),[]),v=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)(
|
|||
|
/**
|
|||
|
* translators: %1$s expands to an opening italics tag.
|
|||
|
* %2$s expands to a closing italics tag.
|
|||
|
*/
|
|||
|
Object(tt.__)("Select a page which outlines your procedure for addressing %1$serrors%2$s (e.g., publishing retractions or corrections).","wordpress-seo"),"<i>","</i>"),{i:Object(s.createElement)("i",null)}),[]),E=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)(
|
|||
|
/**
|
|||
|
* translators: %1$s expands to an opening italics tag.
|
|||
|
* %2$s expands to a closing italics tag.
|
|||
|
*/
|
|||
|
Object(tt.__)("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>","</i>"),{i:Object(s.createElement)("i",null)}),[]),x=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)(
|
|||
|
/**
|
|||
|
* translators: %1$s expands to an opening italics tag.
|
|||
|
* %2$s expands to a closing italics tag.
|
|||
|
*/
|
|||
|
Object(tt.__)("Select a page which provides information on your diversity policies for %1$seditorial%2$s content.","wordpress-seo"),"<i>","</i>"),{i:Object(s.createElement)("i",null)}),[]),S=Object(s.useMemo)(()=>Object(s.createInterpolateElement)(Object(tt.sprintf)(
|
|||
|
/**
|
|||
|
* translators: %1$s expands to an opening italics tag.
|
|||
|
* %2$s expands to a closing italics tag.
|
|||
|
*/
|
|||
|
Object(tt.__)("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>","</i>"),{i:Object(s.createElement)("i",null)}),[]),{values:k}=W(),{opengraph:F}=k.wpseo_social;return Object(s.useEffect)(()=>{m()},[m]),Object(s.createElement)(Er,{title:Object(tt.__)("Site basics","wordpress-seo"),description:Object(tt.__)("Configure the basics for your website.","wordpress-seo")},Object(s.createElement)(wt,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)(bt,{title:Object(tt.__)("Site info","wordpress-seo"),description:h},!r&&Object(s.createElement)(l.Alert,{variant:"warning",id:"alert-site-defaults-variables",className:"yst-mb-8"},y),Object(s.createElement)("div",{className:"lg:yst-mt-0 lg:yst-col-span-2 yst-space-y-8"},Object(s.createElement)(Kt,{as:l.TextField,name:"wpseo_titles.website_name",id:"input-wpseo_titles-website_name",label:Object(tt.__)("Website name","wordpress-seo"),placeholder:c}),Object(s.createElement)(Kt,{as:l.TextField,name:"wpseo_titles.alternate_website_name",id:"input-wpseo_titles-alternate_website_name",label:Object(tt.__)("Alternate website name","wordpress-seo"),description:Object(tt.__)("Use the alternate website name for acronyms, or a shorter version of your website's name.","wordpress-seo")}),Object(s.createElement)(ee,{as:l.TextField,type:"text",name:"blogdescription",id:"input-blogdescription",label:Object(tt.__)("Tagline","wordpress-seo"),description:r&&w,readOnly:!r})),Object(s.createElement)(l.RadioGroup,{label:Object(tt.__)("Title separator","wordpress-seo"),variant:"inline-block"},Object(ie.map)(e,(e,t)=>{let{label:r,aria_label:a}=e;return Object(s.createElement)(ee,{key:t,as:l.Radio,type:"radio",variant:"inline-block",name:"wpseo_titles.separator",id:"input-wpseo_titles-separator-"+t,label:r,isLabelDangerousHtml:!0,"aria-label":a,value:t})})),Object(s.createElement)(rr,{isEnabled:F,text:
|
|||
|
/* translators: %1$s expands to an opening emphasis tag. %2$s expands to a closing emphasis tag. */
|
|||
|
Object(tt.__)("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")}),Object(s.createElement)(xt,{id:"wpseo_social-og_default_image",label:Object(tt.__)("Site image","wordpress-seo"),description:Object(tt.__)("This image is used as a fallback for posts/pages that don't have any images set.","wordpress-seo"),previewLabel:_,mediaUrlName:"wpseo_social.og_default_image",mediaIdName:"wpseo_social.og_default_image_id",disabled:!F})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Site preferences","wordpress-seo")},a&&Object(s.createElement)(Wt,{as:l.ToggleField,type:"checkbox",name:"wpseo_titles.forcerewritetitle",id:"input-wpseo_titles-forcerewritetitle",label:Object(tt.__)("Force rewrite titles","wordpress-seo"),description:Object(tt.sprintf)(
|
|||
|
/* translators: %1$s expands to "Yoast SEO" */
|
|||
|
Object(tt.__)("%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"}),Object(s.createElement)(Wt,{as:l.ToggleField,type:"checkbox",name:"wpseo.disableadvanced_meta",id:"input-wpseo-disableadvanced_meta",label:Object(tt.__)("Restrict advanced settings for authors","wordpress-seo"),description:Object(tt.sprintf)(
|
|||
|
/* translators: %1$s expands to "Yoast SEO" */
|
|||
|
Object(tt.__)("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"}),Object(s.createElement)(Wt,{as:Ja,type:"checkbox",name:"wpseo.tracking",id:"input-wpseo-tracking",label:Object(tt.__)("Usage tracking","wordpress-seo"),description:b,className:"yst-max-w-sm"})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("Site policies","wordpress-seo"),description:f},Object(s.createElement)(l.FeatureUpsell,He()({shouldUpsell:!u,variant:"card",cardLink:d,cardText:Object(tt.sprintf)(
|
|||
|
/* translators: %1$s expands to Premium. */
|
|||
|
Object(tt.__)("Unlock with %1$s","wordpress-seo"),"Premium")},p),Object(s.createElement)(Xa,{name:"wpseo_titles.publishing_principles_id",id:"input-wpseo_titles-publishing_principles_id",label:Object(tt.__)("Publishing principles","wordpress-seo"),className:"yst-max-w-sm",description:O,isDummy:!u}),Object(s.createElement)(Xa,{name:"wpseo_titles.ownership_funding_info_id",id:"input-wpseo_titles-ownership_funding_info_id",label:Object(tt.__)("Ownership / Funding info","wordpress-seo"),className:"yst-max-w-sm",description:j,isDummy:!u}),Object(s.createElement)(Xa,{name:"wpseo_titles.actionable_feedback_policy_id",id:"input-wpseo_titles-actionable_feedback_policy_id",label:Object(tt.__)("Actionable feedback policy","wordpress-seo"),className:"yst-max-w-sm",description:g,isDummy:!u}),Object(s.createElement)(Xa,{name:"wpseo_titles.corrections_policy_id",id:"input-wpseo_titles-corrections_policy_id",label:Object(tt.__)("Corrections policy","wordpress-seo"),className:"yst-max-w-sm",description:v,isDummy:!u}),Object(s.createElement)(Xa,{name:"wpseo_titles.ethics_policy_id",id:"input-wpseo_titles-ethics_policy_id",label:Object(tt.__)("Ethics policy","wordpress-seo"),className:"yst-max-w-sm",description:E,isDummy:!u}),Object(s.createElement)(Xa,{name:"wpseo_titles.diversity_policy_id",id:"input-wpseo_titles-diversity_policy_id",label:Object(tt.__)("Diversity policy","wordpress-seo"),className:"yst-max-w-sm",description:x,isDummy:!u}),Object(s.createElement)(Xa,{name:"wpseo_titles.diversity_staffing_report_id",id:"input-wpseo_titles-diversity_staffing_report_id",label:Object(tt.__)("Diversity staffing report","wordpress-seo"),className:"yst-max-w-sm",description:S,isDummy:!u}))))))},en=r(132),tn=r(273);const rn=e=>{let{name:t,cardId:r,inputId:a,children:n,imageSrc:o,imageAlt:i,isPremiumFeature:c=!1,isPremiumLink:d="",isBetaFeature:u=!1,isNewFeature:p=!1,hasPremiumBadge:m=!1,title:b}=e;const f=pt("selectPreference",[],"isPremium"),h=pt("selectPluginUrl",[o],o),{isDisabled:y,message:_,disabledSetting:w}=it({name:t}),{values:O}=W(),j=pt("selectLink",[d],d),g=pt("selectUpsellSettingsAsProps"),v=Object(l.useSvgAria)(),E=Object(s.useMemo)(()=>Object(ie.get)(O,t,!1),[O,t]),x=Object(s.useMemo)(()=>!f&&c,[f,c]),S=Object(s.useMemo)(()=>y||!x&&!E,[y,x,E]),k=Object(s.useMemo)(()=>y||f&&c&&m||u||p&&!f,[y,f,c,u,p]);return Object(s.createElement)(l.Card,{id:r},Object(s.createElement)(l.Card.Header,{className:"yst-h-auto yst-p-0"},Object(s.createElement)("img",{className:st()("yst-w-full yst-transition yst-duration-200",S&&"yst-opacity-50 yst-filter yst-grayscale"),src:h,alt:null!=i?i:"",width:500,height:250,loading:"lazy",decoding:"async"}),k&&Object(s.createElement)("div",{className:"yst-absolute yst-top-2 yst-right-2 yst-flex yst-gap-1.5"},y&&Object(s.createElement)(l.Badge,{size:"small",variant:"plain"},_),f&&c&&m&&Object(s.createElement)(l.Badge,{size:"small",variant:"upsell"},"Premium"),u&&Object(s.createElement)(l.Badge,{size:"small",variant:"info"},"Beta"),p&&!f&&Object(s.createElement)(l.Badge,{size:"small",variant:"info"},"New"))),Object(s.createElement)(l.Card.Content,{className:"yst-flex yst-flex-col yst-gap-3"},Object(s.createElement)(l.Title,{as:"h3"},b),n),Object(s.createElement)(l.Card.Footer,null,!x&&Object(s.createElement)(Wt,{as:l.ToggleField,type:"checkbox",name:t,id:a,"aria-label":`${Object(tt.__)("Enable feature","wordpress-seo")} ${b}`,label:Object(tt.__)("Enable feature","wordpress-seo"),disabled:y,checked:"language"!==w&&E}),x&&Object(s.createElement)(l.Button,He()({as:"a",className:"yst-gap-2 yst-w-full yst-px-2",variant:"upsell",href:j,target:"_blank",rel:"noopener"},g),Object(s.createElement)(en.a,He()({className:"yst-w-5 yst-h-5 yst--ml-1 yst-shrink-0"},v)),Object(tt.sprintf)(
|
|||
|
/* translators: %1$s expands to Premium. */
|
|||
|
Object(tt.__)("Unlock with %1$s","wordpress-seo"),"Premium"))))};rn.propTypes={name:nt.a.string.isRequired,cardId:nt.a.string.isRequired,inputId:nt.a.string.isRequired,children:nt.a.node.isRequired,imageSrc:nt.a.string.isRequired,imageAlt:nt.a.string,isPremiumFeature:nt.a.bool,isBetaFeature:nt.a.bool,isNewFeature:nt.a.bool,isPremiumLink:nt.a.string,hasPremiumBadge:nt.a.bool,title:nt.a.string.isRequired};const sn=e=>{let{id:t,link:r,ariaLabel:a,...n}=e;const o=pt("selectLink",[r],r);return Object(s.createElement)(l.Link,He()({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":`Learn more about ${a} (Opens in a new browser tab)`},n),Object(tt.__)("Learn more","wordpress-seo"),Object(s.createElement)(Xe.a,{className:"yst-w-4 yst-h-4 yst-icon-rtl"}))};sn.propTypes={id:nt.a.string.isRequired,link:nt.a.string.isRequired,ariaLabel:nt.a.string.isRequired};var an=()=>{const e=pt("selectPreference",[],"isPremium"),t=pt("selectPreference",[],"sitemapUrl"),{values:r,initialValues:a}=W(),{enable_xml_sitemap:n}=r.wpseo,{enable_xml_sitemap:o}=a.wpseo,i=Object(s.useMemo)(()=>e?"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",[e]);return Object(s.createElement)(Er,{title:Object(tt.__)("Site features","wordpress-seo"),description:Object(tt.__)("Tell us which features you want to use.","wordpress-seo")},Object(s.createElement)(wt,null,Object(s.createElement)("div",{className:"yst-max-w-6xl"},Object(s.createElement)("fieldset",{className:"yst-min-w-0"},Object(s.createElement)("legend",{className:"yst-sr-only"},Object(tt.__)("Writing","wordpress-seo")),Object(s.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},Object(s.createElement)(l.Title,{as:"h2",size:"2"},Object(tt.__)("Writing","wordpress-seo"))),Object(s.createElement)("div",{className:i},Object(s.createElement)(rn,{name:"wpseo.keyword_analysis_active",cardId:"card-wpseo-keyword_analysis_active",inputId:"input-wpseo-keyword_analysis_active",imageSrc:"/images/seo_analysis.png",title:Object(tt.__)("SEO analysis","wordpress-seo")},Object(s.createElement)("p",null,Object(tt.__)("The SEO analysis offers suggestions to improve the findability of your text and makes sure that your content meets best practices.","wordpress-seo")),Object(s.createElement)(sn,{id:"link-seo-analysis",link:"https://yoa.st/2ak",ariaLabel:Object(tt.__)("SEO analysis","wordpress-seo")})),Object(s.createElement)(rn,{name:"wpseo.content_analysis_active",cardId:"card-wpseo-content_analysis_active",inputId:"input-wpseo-content_analysis_active",imageSrc:"/images/readability_analysis.png",title:Object(tt.__)("Readability analysis","wordpress-seo")},Object(s.createElement)("p",null,Object(tt.__)("The readability analysis offers suggestions to improve the structure and style of your text.","wordpress-seo")),Object(s.createElement)(sn,{id:"link-readability-analysis",link:"https://yoa.st/2ao",ariaLabel:Object(tt.__)("Readability analysis","wordpress-seo")})),Object(s.createElement)(rn,{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:Object(tt.__)("Inclusive language analysis","wordpress-seo")},Object(s.createElement)("p",null,Object(tt.__)("The inclusive language analysis offers suggestions to write more inclusive copy, so more people will be able to relate to your content.","wordpress-seo")),Object(s.createElement)(sn,{id:"link-inclusive-language-analysis",link:"https://yoa.st/inclusive-language-feature-learn-more",ariaLabel:Object(tt.__)("Inclusive language analysis","wordpress-seo")})),Object(s.createElement)(rn,{name:"wpseo.enable_ai_generator",cardId:"card-wpseo-enable_ai_generator",inputId:"input-w
|
|||
|
Object(tt.__)("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")),Object(s.createElement)(sn,{id:"link-admin-bar",link:"https://yoa.st/site-features-admin-bar",ariaLabel:Object(tt.__)("Admin bar menu","wordpress-seo")})))),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)("fieldset",{className:"yst-min-w-0"},Object(s.createElement)("legend",{className:"yst-sr-only"},Object(tt.__)("APIs","wordpress-seo")),Object(s.createElement)("div",{className:"yst-max-w-screen-sm yst-mb-8"},Object(s.createElement)(l.Title,{as:"h2",size:"2"},Object(tt.__)("APIs","wordpress-seo"))),Object(s.createElement)("div",{className:i},Object(s.createElement)(rn,{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:Object(tt.__)("REST API endpoint","wordpress-seo")},Object(s.createElement)("p",null,Object(tt.__)("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")),Object(s.createElement)(sn,{id:"link-rest-api-endpoint",link:"https://yoa.st/site-features-rest-api-endpoint",ariaLabel:Object(tt.__)("REST API endpoint","wordpress-seo")})),Object(s.createElement)(rn,{name:"wpseo.enable_xml_sitemap",cardId:"card-wpseo-enable_xml_sitemap",inputId:"input-wpseo-enable_xml_sitemap",imageSrc:"/images/xml_sitemaps.png",title:Object(tt.__)("XML sitemaps","wordpress-seo")},Object(s.createElement)("p",null,Object(tt.sprintf)(// translators: %1$s expands to "Yoast SEO".
|
|||
|
Object(tt.__)("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")),o&&n&&Object(s.createElement)(l.Button,{as:"a",id:"link-xml-sitemaps",href:t,variant:"secondary",target:"_blank",rel:"noopener",className:"yst-self-start"},Object(tt.__)("View the XML sitemap","wordpress-seo"),Object(s.createElement)(tn.a,{className:"yst--mr-1 yst-ml-1 yst-h-5 yst-w-5 yst-text-slate-400"})),Object(s.createElement)(sn,{id:"link-xml-sitemaps-learn-more",link:"https://yoa.st/2a-",ariaLabel:Object(tt.__)("XML sitemaps","wordpress-seo")})),Object(s.createElement)(rn,{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:Object(tt.__)("IndexNow","wordpress-seo")},Object(s.createElement)("p",null,Object(tt.__)("Automatically ping search engines like Bing and Yandex whenever you publish, update or delete a post.","wordpress-seo")),Object(s.createElement)(sn,{id:"link-index-now",link:"https://yoa.st/index-now-feature",ariaLabel:Object(tt.__)("IndexNow","wordpress-seo")})))))))},nn=r(258),on=r(259);const ln=Gt(Kt);var cn=()=>{const{values:e}=W(),{website_name:t,company_or_person:r,company_or_person_user_id:a,company_name:n,company_logo_id:o}=e.wpseo_titles,{other_social_urls:i}=e.wpseo_social,c=pt("selectUserById",[a],a),d=pt("selectLink",[],"https://yoa.st/1-p"),u=pt("selectLink",[],"https://yoa.st/3r3"),p=pt("selectLink",[],"https://yoa.st/site-representation-organization-person"),m=pt("selectPreference",[],"editUserUrl"),b=pt("selectPreference",[],"isLocalSeoActive"),f=pt("selectPreference",[],"companyOrPersonMessage"),h=pt("selectFallback",[],"siteLogoId"),y=pt("selectCanEditUser",[null==c?void 0:c.id],null==c?void 0:c.id),_=pt("selectPreference",[],"isPremium"),w=pt("selectUpsellSettingsAsProps"),O=pt("selectLink",[],"https://yoa.st/get-mastodon-integration"),j=pt("selectLink",[],"https://yoa.st/site-representation-mastodon"),g=Object(s.useCallback)(async e=>{var t;await e.push(""),null===(t=document.getElementById("input-wpseo_social-other_social_urls-"+i.length))||void 0===t||t.focus()},[i]);return Object(s.createElement)(Er,{title:Object(tt.__)("Site representation","wordpress-seo"),description:Object(ka.a)(Object(tt.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing <a> tags.
|
|||
|
Object(tt.__)("This info is intended to appear in %1$sGoogle's Knowledge Graph%2$s.","wordpress-seo"),"<a>","</a>"),d,"link-google-knowledge-graph")},Object(s.createElement)(wt,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)(bt,{title:Object(tt.__)("Organization/person","wordpress-seo"),description:Object(ka.a)(Object(tt.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing <a> tags.
|
|||
|
Object(tt.__)("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"),"<a>","</a>"),p,"link-site-representation-organization-person")},b&&Object(s.createElement)(l.Alert,{id:"alert-local-seo-company-or-person",variant:"info"},f),Object(s.createElement)(l.RadioGroup,{disabled:b},Object(s.createElement)(ee,{as:l.Radio,type:"radio",name:"wpseo_titles.company_or_person",id:"input-wpseo_titles-company_or_person-company",label:Object(tt.__)("Organization","wordpress-seo"),value:"company",disabled:b}),Object(s.createElement)(ee,{as:l.Radio,type:"radio",name:"wpseo_titles.company_or_person",id:"input-wpseo_titles-company_or_person-person",label:Object(tt.__)("Person","wordpress-seo"),value:"person",disabled:b}))),Object(s.createElement)("section",{className:"yst-space-y-8"}),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)("div",{className:"yst-relative"},Object(s.createElement)(yt.a,{easing:"ease-out",duration:300,delay:300,height:"company"===r?"auto":0,animateOpacity:!0},Object(s.createElement)(bt,{title:Object(tt.__)("Organization","wordpress-seo"),description:Object(tt.__)("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")},(!n||o<1)&&Object(s.createElement)(l.Alert,{id:"alert-organization-name-logo",variant:"info"},Object(ka.a)(Object(tt.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing <a> tags.
|
|||
|
Object(tt.__)("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"),"<a>","</a>"),u,"link-structured-data")),Object(s.createElement)(ee,{as:l.TextField,name:"wpseo_titles.company_name",id:"input-wpseo_titles-company_name",label:Object(tt.__)("Organization name","wordpress-seo"),placeholder:t}),Object(s.createElement)(ee,{as:l.TextField,name:"wpseo_titles.company_alternate_name",id:"input-wpseo_titles-company_alternate_name",label:Object(tt.__)("Alternate organization name","wordpress-seo"),description:Object(tt.__)("Use the alternate organization name for acronyms, or a shorter version of your organization's name.","wordpress-seo")}),Object(s.createElement)(xt,{id:"wpseo_titles-company_logo",label:Object(tt.__)("Organization logo","wordpress-seo"),variant:"square",previewLabel:Object(s.createInterpolateElement)(Object(tt.sprintf)(// translators: %1$s expands to an opening strong tag.
|
|||
|
Object(tt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"<strong>","</strong>","696x696px"),{strong:Object(s.createElement)("strong",{className:"yst-font-semibold"})}),mediaUrlName:"wpseo_titles.company_logo",mediaIdName:"wpseo_titles.company_logo_id",fallbackMediaId:h})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{id:"fieldset-wpseo_social-other_social_urls",title:Object(tt.__)("Other profiles","wordpress-seo"),description:Object(tt.__)("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")},Object(s.createElement)(Kt,{as:l.TextField,name:"wpseo_social.facebook_site",id:"input-wpseo_social-facebook_site",label:Object(tt.__)("Facebook","wordpress-seo"),placeholder:Object(tt.__)("E.g. https://facebook.com/yoast","wordpress-seo")}),Object(s.createElement)(Kt,{as:l.TextField,name:"wpseo_social.twitter_site",id:"input-wpseo_social-twitter_site",label:Object(tt.__)("Twitter","wordpress-seo"),placeholder:Object(tt.__)("E.g. https://twitter.com/yoast","wordpress-seo")}),Object(s.createElement)(l.FeatureUpsell,He()({shouldUpsell:!_,variant:"card",cardLink:O,cardText:Object(tt.sprintf)(
|
|||
|
/* translators: %1$s expands to Premium. */
|
|||
|
Object(tt.__)("Unlock with %1$s","wordpress-seo"),"Premium")},w),Object(s.createElement)(ln,{as:l.TextField,name:"wpseo_social.mastodon_url",id:"input-wpseo_social-mastodon_url",label:Object(tt.__)("Mastodon","wordpress-seo"),placeholder:Object(tt.__)("E.g. https://mastodon.social/@yoast","wordpress-seo"),labelSuffix:_&&Object(s.createElement)(l.Badge,{className:"yst-ml-1.5",size:"small",variant:"upsell"},"Premium"),isDummy:!_,description:Object(s.createElement)(s.Fragment,null,Object(tt.__)("Get your site verified in your Mastodon profile.","wordpress-seo")," ",Object(s.createElement)(l.Link,{id:"link-wpseo_social-mastodon_url",href:j,target:"_blank",rel:"noopener"},Object(tt.__)("Read more about how to get your site verified.","wordpress-seo")))})),Object(s.createElement)(oe,{name:"wpseo_social.other_social_urls"},e=>Object(s.createElement)(s.Fragment,null,i.map((t,r)=>Object(s.createElement)(Ge.a,{key:"wpseo_social.other_social_urls."+r,as:s.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"},Object(s.createElement)("div",{className:"yst-w-full yst-flex yst-items-start yst-gap-2"},Object(s.createElement)(Kt,{as:l.TextField,name:"wpseo_social.other_social_urls."+r,id:"input-wpseo_social-other_social_urls-"+r,label:Object(tt.sprintf)(Object(tt.__)("Other profile %1$s","wordpress-seo"),r+1),placeholder:Object(tt.__)("E.g. https://example.com/yoast","wordpress-seo"),className:"yst-grow"}),Object(s.createElement)(l.Button,{variant:"secondary",onClick:e.remove.bind(null,r),className:"yst-mt-7 yst-p-2.5","aria-label":Object(tt.sprintf)(Object(tt.__)("Remove Other profile %1$s","wordpress-seo"),r+1)},Object(s.createElement)(nn.a,{className:"yst-h-5 yst-w-5"}))))),Object(s.createElement)(l.Button,{id:"button-add-social-profile",variant:"secondary",onClick:()=>g(e)},Object(s.createElement)(on.a,{className:"yst--ml-1 yst-mr-1 yst-h-5 yst-w-5 yst-text-slate-400"}),Object(tt.__)("Add another profile","wordpress-seo")))))),Object(s.createElement)(yt.a,{easing:"ease-out",duration:300,delay:300,height:"person"===r?"auto":0,animateOpacity:!0},Object(s.createElement)(bt,{title:Object(tt.__)("Personal info","wordpress-seo"),description:Object(tt.__)("Please tell us more about the person this site represents.","wordpress-seo")},Object(s.createElement)(Dt,{name:"wpseo_titles.company_or_person_user_id",id:"input-wpseo_titles-company_or_person_user_id",label:Object(tt.__)("Select a user","wordpress-seo"),className:"yst-max-w-sm"}),!Object(ie.isEmpty)(c)&&Object(s.createElement)(l.Alert,{id:"alert-person-user-profile"},y&&Object(s.createInterpolateElement)(Object(tt.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing <span> tags.
|
|||
|
Object(tt.__)("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"),"<strong>","</strong>","<a>","</a>",null==c?void 0:c.name),{strong:Object(s.createElement)("strong",{className:"yst-font-medium"}),a:Object(s.createElement)("a",{id:"link-person-user-profile",href:`${m}?user_id=${null==c?void 0:c.id}`,target:"_blank",rel:"noopener noreferrer"})}),!y&&Object(s.createInterpolateElement)(Object(tt.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing <span> tags.
|
|||
|
Object(tt.__)("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"),"<strong>","</strong>",null==c?void 0:c.name),{strong:Object(s.createElement)("strong",{className:"yst-font-medium"})})),Object(s.createElement)(xt,{id:"wpseo_titles-person_logo",label:Object(tt.__)("Personal logo or avatar","wordpress-seo"),variant:"square",previewLabel:Object(s.createInterpolateElement)(Object(tt.sprintf)(// translators: %1$s expands to an opening strong tag.
|
|||
|
Object(tt.__)("Recommended size for this image is %1$s%3$s%2$s","wordpress-seo"),"<strong>","</strong>","696x696px"),{strong:Object(s.createElement)("strong",{className:"yst-font-semibold"})}),mediaUrlName:"wpseo_titles.person_logo",mediaIdName:"wpseo_titles.person_logo_id",fallbackMediaId:h,disabled:!a})))))))},dn=()=>{const e=pt("selectReplacementVariablesFor",[],"search","search"),t=pt("selectRecommendedReplacementVariablesFor",[],"search","search"),r=pt("selectReplacementVariablesFor",[],"404","404"),a=pt("selectRecommendedReplacementVariablesFor",[],"404","404");return Object(s.createElement)(Er,{title:Object(tt.__)("Special pages","wordpress-seo")},Object(s.createElement)(wt,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)(bt,{title:Object(tt.__)("Internal search pages","wordpress-seo"),description:Object(tt.__)("Determine how the title of your internal search pages should look in the browser.","wordpress-seo")},Object(s.createElement)(Ft,{type:"title",name:"wpseo_titles.title-search-wpseo",fieldId:"input-wpseo_titles-title-search-wpseo",label:Object(tt.__)("Page title","wordpress-seo"),replacementVariables:e,recommendedReplacementVariables:t})),Object(s.createElement)("hr",{className:"yst-my-8"}),Object(s.createElement)(bt,{title:Object(tt.__)("404 error pages","wordpress-seo"),description:Object(tt.__)("Determine how the title of your 404 error pages should look in the browser.","wordpress-seo")},Object(s.createElement)(Ft,{type:"title",name:"wpseo_titles.title-404-wpseo",fieldId:"input-wpseo_titles-title-404-wpseo",label:Object(tt.__)("Page title","wordpress-seo"),replacementVariables:r,recommendedReplacementVariables:a})))))};const un=/content=(['"])?(?<content>[^'"> ]+)(?:\1|[ />])/,pn=e=>{var t;const r=e.target.value.match(un);return null!=r&&null!==(t=r.groups)&&void 0!==t&&t.content?r.groups.content:e.target.value},mn=Yt(Wt);var bn=()=>{const e=pt("selectPreference",[],"siteUrl");return Object(s.createElement)(Er,{title:Object(tt.__)("Site connections","wordpress-seo"),description:Object(tt.__)("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")},Object(s.createElement)(wt,null,Object(s.createElement)("div",{className:"yst-max-w-5xl"},Object(s.createElement)("fieldset",{className:"yst-min-width-0 yst-max-w-screen-sm yst-space-y-8"},Object(s.createElement)(mn,{as:l.TextField,type:"text",name:"wpseo.baiduverify",id:"input-wpseo-baiduverify",label:Object(tt.__)("Baidu","wordpress-seo"),description:Object(ka.a)(Object(tt.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing <a> tags, respectively.
|
|||
|
Object(tt.__)("Get your verification code in %1$sBaidu Webmaster tools%2$s.","wordpress-seo"),"<a>","</a>"),"https://ziyuan.baidu.com/site","link-baidu-webmaster-tools"),placeholder:Object(tt.__)("Add verification code","wordpress-seo"),transformValue:pn}),Object(s.createElement)(mn,{as:l.TextField,type:"text",name:"wpseo.msverify",id:"input-wpseo-msverify",label:Object(tt.__)("Bing","wordpress-seo"),description:Object(ka.a)(Object(tt.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing <a> tags, respectively.
|
|||
|
Object(tt.__)("Get your verification code in %1$sBing Webmaster tools%2$s.","wordpress-seo"),"<a>","</a>"),"https://www.bing.com/toolbox/webmaster/#/Dashboard/?url="+e,"link-bing-webmaster-tools"),placeholder:Object(tt.__)("Add verification code","wordpress-seo"),transformValue:pn}),Object(s.createElement)(mn,{as:l.TextField,type:"text",name:"wpseo.googleverify",id:"input-wpseo-googleverify",label:Object(tt.__)("Google","wordpress-seo"),description:Object(ka.a)(Object(tt.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing <a> tags, respectively.
|
|||
|
Object(tt.__)("Get your verification code in %1$sGoogle Search console%2$s.","wordpress-seo"),"<a>","</a>"),Object(Nt.addQueryArgs)("https://search.google.com/search-console/users",{hl:"en",tid:"alternate",siteUrl:e}),"link-google-search-console"),placeholder:Object(tt.__)("Add verification code","wordpress-seo"),transformValue:pn}),Object(s.createElement)(mn,{as:l.TextField,type:"text",name:"wpseo_social.pinterestverify",id:"input-wpseo_social-pinterestverify",label:Object(tt.__)("Pinterest","wordpress-seo"),description:Object(ka.a)(Object(tt.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing <a> tags, respectively.
|
|||
|
Object(tt.__)("Claim your site over at %1$sPinterest%2$s.","wordpress-seo"),"<a>","</a>"),"https://www.pinterest.com/settings/claim","link-pinterest"),placeholder:Object(tt.__)("Add verification code","wordpress-seo"),transformValue:pn}),Object(s.createElement)(mn,{as:l.TextField,type:"text",name:"wpseo.yandexverify",id:"input-wpseo-yandexverify",label:Object(tt.__)("Yandex","wordpress-seo"),description:Object(ka.a)(Object(tt.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing <a> tags, respectively.
|
|||
|
Object(tt.__)("Get your verification code in %1$sYandex Webmaster tools%2$s.","wordpress-seo"),"<a>","</a>"),"https://webmaster.yandex.com/sites/add/","link-yandex-webmaster-tools"),placeholder:Object(tt.__)("Add verification code","wordpress-seo"),transformValue:pn})))))};const fn=e=>{let{postTypes:t,taxonomies:r,idSuffix:a=""}=e;const n=Object(l.useSvgAria)(),o=pt("selectPreference",[],"isPremium"),i=Object(s.useCallback)(e=>{let{show:t,toggle:r,ariaProps:a}=e;const o=Object(s.useMemo)(()=>t?Ze:et,[t]);return Object(s.createElement)("div",{className:"yst-relative"},Object(s.createElement)("hr",{className:"yst-absolute yst-inset-x-0 yst-top-1/2 yst-bg-slate-200"}),Object(s.createElement)("button",He()({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:r},a),t?Object(tt.__)("Show less","wordpress-seo"):Object(tt.__)("Show more","wordpress-seo"),Object(s.createElement)(o,He()({className:"yst-h-4 yst-w-4 yst-flex-shrink-0 yst-text-slate-400 group-hover:yst-text-slate-500 yst-stroke-3"},n))))},[]);return Object(s.createElement)(s.Fragment,null,Object(s.createElement)("header",{className:"yst-px-3 yst-mb-6 yst-space-y-6"},Object(s.createElement)(Be,{id:"link-yoast-logo"+a,to:"/",className:"yst-inline-block yst-rounded-md focus:yst-ring-primary-500","aria-label":"Yoast SEO"+(o?" Premium":"")},Object(s.createElement)(Sa,He()({className:"yst-w-40"},n))),Object(s.createElement)(fa,{buttonId:"button-search"+a})),Object(s.createElement)("div",{className:"yst-px-0.5 yst-space-y-6"},Object(s.createElement)(_a.MenuItem,{id:"menu-general"+a,icon:Ye,label:Object(tt.__)("General","wordpress-seo")},Object(s.createElement)(_a.SubmenuItem,{to:"/site-features",label:Object(tt.__)("Site features","wordpress-seo"),idSuffix:a}),Object(s.createElement)(_a.SubmenuItem,{to:"/site-basics",label:Object(tt.__)("Site basics","wordpress-seo"),idSuffix:a}),Object(s.createElement)(_a.SubmenuItem,{to:"/site-representation",label:Object(tt.__)("Site representation","wordpress-seo"),idSuffix:a}),Object(s.createElement)(_a.SubmenuItem,{to:"/site-connections",label:Object(tt.__)("Site connections","wordpress-seo"),idSuffix:a})),Object(s.createElement)(_a.MenuItem,{id:"menu-content-types"+a,icon:Ke,label:Object(tt.__)("Content types","wordpress-seo")},Object(s.createElement)(l.ChildrenLimiter,{limit:5,renderButton:i},Object(s.createElement)(_a.SubmenuItem,{to:"/homepage",label:Object(tt.__)("Homepage","wordpress-seo"),idSuffix:a}),Object(ie.map)(t,e=>{let{name:t,route:r,label:n,isNew:o}=e;return Object(s.createElement)(_a.SubmenuItem,{key:"link-post-type-"+t,to:"/post-type/"+r,label:Object(s.createElement)("span",{className:"yst-inline-flex yst-items-center yst-gap-1.5"},n,o&&Object(s.createElement)(l.Badge,{variant:"info"},Object(tt.__)("New","wordpress-seo"))),idSuffix:a})}))),Object(s.createElement)(_a.MenuItem,{id:"menu-categories-and-tags"+a,icon:Qe,label:Object(tt.__)("Categories & tags","wordpress-seo")},Object(s.createElement)(l.ChildrenLimiter,{limit:5,renderButton:i},Object(ie.map)(r,e=>Object(s.createElement)(_a.SubmenuItem,{key:"link-taxonomy-"+e.name,to:"/taxonomy/"+e.route,label:Object(s.createElement)("span",{className:"yst-inline-flex yst-items-center yst-gap-1.5"},e.label,e.isNew&&Object(s.createElement)(l.Badge,{variant:"info"},Object(tt.__)("New","wordpress-seo"))),idSuffix:a})))),Object(s.createElement)(_a.MenuItem,{id:"menu-advanced"+a,icon:Je,label:Object(tt.__)("Advanced","wordpress-seo"),defaultOpen:!1},Object(s.createElement)(_a.SubmenuItem,{to:"/crawl-optimization",label:Object(tt.__)("Crawl optimization","wordpress-seo"),idSuffix:a}),Object(s.createElement)(_a.SubmenuItem,{to:"/breadcrumbs",label:Object(tt.__)("Breadcrumbs","wordpress-seo"),idSuffix:a}),Object(s.createElement)(_a.SubmenuItem,{to:"/author-archives",label:Object(tt.__)("Au
|
|||
|
/* translators: %s expands to "Yoast SEO" Premium */
|
|||
|
Object(tt.__)("Upgrade to %s","wordpress-seo"),"Yoast SEO Premium")),Object(s.createElement)("ul",{className:"yst-grid yst-grid-cols-1 sm:yst-grid-cols-2 yst-gap-x-6 yst-list-disc yst-pl-[1em] yst-list-outside yst-text-slate-800 yst-mt-6"},Object(s.createElement)("li",null,Object(s.createElement)("span",{className:"yst-font-semibold"},Object(tt.__)("Use AI","wordpress-seo")),": ",Object(tt.__)("Quickly create titles & meta descriptions","wordpress-seo")),Object(s.createElement)("li",null,Object(s.createElement)("span",{className:"yst-font-semibold"},Object(tt.__)("No more dead links","wordpress-seo")),": ",Object(tt.__)("Easy redirect manager","wordpress-seo")),Object(s.createElement)("li",null,Object(s.createElement)("span",{className:"yst-font-semibold"},Object(tt.__)("Superfast internal linking suggestions","wordpress-seo"))),Object(s.createElement)("li",null,Object(s.createElement)("span",{className:"yst-font-semibold"},Object(tt.__)("Social media preview","wordpress-seo")),": ",Object(tt.__)("Facebook & Twitter","wordpress-seo")),Object(s.createElement)("li",null,Object(s.createElement)("span",{className:"yst-font-semibold"},Object(tt.__)("Multiple keyphrases","wordpress-seo")),": ",Object(tt.__)("Increase your SEO reach","wordpress-seo")),Object(s.createElement)("li",null,Object(s.createElement)("span",{className:"yst-font-semibold"},Object(tt.__)("SEO Workouts","wordpress-seo")),": ",Object(tt.__)("Get guided in routine SEO tasks","wordpress-seo")),Object(s.createElement)("li",null,Object(s.createElement)("span",{className:"yst-font-semibold"},Object(tt.__)("24/7 email support","wordpress-seo"))),Object(s.createElement)("li",null,Object(s.createElement)("span",{className:"yst-font-semibold"},Object(tt.__)("No ads!","wordpress-seo")))),Object(s.createElement)(l.Button,He()({as:"a",variant:"upsell",size:"large",href:e,className:"yst-gap-2 yst-mt-4",target:"_blank",rel:"noopener"},t),Object(tt.sprintf)(
|
|||
|
/* translators: %s expands to "Yoast SEO" Premium */
|
|||
|
Object(tt.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),Object(s.createElement)(Xe.a,{className:"yst-w-4 yst-h-4 yst-icon-rtl"})))};var yn=()=>{const{pathname:e}=Pe(),t=pt("selectPostTypes"),r=pt("selectTaxonomies"),a=pt("selectPreference",[],"isPremium");(()=>{const{hash:e,pathname:t,key:r}=Pe();Object(s.useEffect)(()=>{const t=e.replace("#",""),r=document.getElementById(t)||document.querySelector(`[data-id="${t}"]`);if(r)r.scrollIntoView({behavior:"smooth"}),setTimeout(()=>r.focus(),800);else{const e=document.getElementById("yoast-seo-settings");null==e||e.scrollIntoView({behavior:"smooth"})}},[t,e,r])})();const{dirty:n}=W();return Object(l.useBeforeUnload)(n,Object(tt.__)("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")),Object(s.createElement)(s.Fragment,null,Object(s.createElement)(Xt,null),Object(s.createElement)(_a,{activePath:e},Object(s.createElement)(_a.Mobile,{openButtonId:"button-open-settings-navigation-mobile",closeButtonId:"button-close-settings-navigation-mobile",openButtonScreenReaderText:Object(tt.__)("Open settings navigation","wordpress-seo"),closeButtonScreenReaderText:Object(tt.__)("Close settings navigation","wordpress-seo"),"aria-label":Object(tt.__)("Settings navigation","wordpress-seo")},Object(s.createElement)(fn,{idSuffix:"-mobile",postTypes:t,taxonomies:r})),Object(s.createElement)("div",{className:"yst-p-4 min-[783px]:yst-p-8 yst-flex yst-gap-4"},Object(s.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"},Object(s.createElement)(_a.Sidebar,null,Object(s.createElement)(fn,{postTypes:t,taxonomies:r}))),Object(s.createElement)("div",{className:st()("yst-flex yst-grow yst-flex-wrap",!a&&"xl:yst-pr-[17.5rem]")},Object(s.createElement)("div",{className:"yst-grow yst-space-y-6 yst-mb-8 xl:yst-mb-0"},Object(s.createElement)(l.Paper,{as:"main"},Object(s.createElement)(l.ErrorBoundary,{FallbackComponent:Ea},Object(s.createElement)(Ge.a,{key:e,appear:!0,show:!0,enter:"yst-transition-opacity yst-delay-100 yst-duration-300",enterFrom:"yst-opacity-0",enterTo:"yst-opacity-100"},Object(s.createElement)(Ce,null,Object(s.createElement)(Me,{path:"author-archives",element:Object(s.createElement)(Aa,null)}),Object(s.createElement)(Me,{path:"breadcrumbs",element:Object(s.createElement)(Ca,null)}),Object(s.createElement)(Me,{path:"crawl-optimization",element:Object(s.createElement)(Va,null)}),Object(s.createElement)(Me,{path:"date-archives",element:Object(s.createElement)(Ua,null)}),Object(s.createElement)(Me,{path:"homepage",element:Object(s.createElement)(Ga,null)}),Object(s.createElement)(Me,{path:"format-archives",element:Object(s.createElement)(qa,null)}),Object(s.createElement)(Me,{path:"media-pages",element:Object(s.createElement)(Ya,null)}),Object(s.createElement)(Me,{path:"rss",element:Object(s.createElement)(Qa,null)}),Object(s.createElement)(Me,{path:"site-basics",element:Object(s.createElement)(Za,null)}),Object(s.createElement)(Me,{path:"site-connections",element:Object(s.createElement)(bn,null)}),Object(s.createElement)(Me,{path:"site-representation",element:Object(s.createElement)(cn,null)}),Object(s.createElement)(Me,{path:"site-features",element:Object(s.createElement)(an,null)}),Object(s.createElement)(Me,{path:"special-pages",element:Object(s.createElement)(dn,null)}),Object(s.createElement)(Me,{path:"post-type"},Object(ie.map)(t,e=>Object(s.createElement)(Me,{key:"route-post-type-"+e.name,path:e.route,element:Object(s.createElement)(Pa,e)}))),Object(s.createElement)(Me,{path:"taxonomy"},Object(ie.map)(r,e=>Object(s.createElement)(Me,{key:"route-taxonomy-"+e.name,path:e.route,element:Object(s.createElement)(Na,e)}))),Object(s.createElement)(Me,{path:"*",element:Object(s.createElement)(Ne,{to:"/site-features",replace:!0})}))))),!a&&Object(s.createElement)(hn,null)),Object(s.createElement)(Oa,null)))))},wn=r(13);const On=()=>Object(ie.get)(window,"wpseoScriptData.postTypes",{}),jn=Object(wn.createSlice)({
|
|||
|
// translators: %1$s expands to the schema type, e.g. "Web Page" or "Blog Post".
|
|||
|
const r=Object(tt.__)("%1$s (default)","wordpress-seo");return e.map(e=>{let{label:s,value:a}=e;return{value:a,label:a===t?Object(tt.sprintf)(r,s):s}})},jo=()=>({articleTypes:Object(ie.get)(window,"wpseoScriptData.schema.articleTypes",{}),articleTypeDefaults:Object(ie.get)(window,"wpseoScriptData.schema.articleTypeDefaults",{}),pageTypes:Object(ie.get)(window,"wpseoScriptData.schema.pageTypes",{}),pageTypeDefaults:Object(ie.get)(window,"wpseoScriptData.schema.pageTypeDefaults",{})}),go=Object(wn.createSlice)({name:"schema",initialState:jo(),reducers:{}}),vo={selectSchema:e=>Object(ie.get)(e,"schema",{}),selectArticleTypes:e=>Object(ie.get)(e,"schema.articleTypes",{}),selectArticleTypeDefaults:e=>Object(ie.get)(e,"schema.articleTypeDefaults",{}),selectPageTypes:e=>Object(ie.get)(e,"schema.pageTypes",{}),selectPageTypeDefaults:e=>Object(ie.get)(e,"schema.pageTypeDefaults",{})};vo.selectArticleTypeValues=Object(wn.createSelector)(vo.selectArticleTypes,e=>Object(ie.values)(e)),vo.selectArticleTypeDefault=Object(wn.createSelector)([vo.selectArticleTypeDefaults,(e,t)=>t],(e,t)=>Object(ie.get)(e,t,"None")),vo.selectArticleTypeValuesFor=Object(wn.createSelector)([vo.selectArticleTypeValues,vo.selectArticleTypeDefault],(e,t)=>Oo(e,t)),vo.selectPageTypeValues=Object(wn.createSelector)(vo.selectPageTypes,e=>Object(ie.values)(e)),vo.selectPageTypeDefault=Object(wn.createSelector)([vo.selectPageTypeDefaults,(e,t)=>t],(e,t)=>Object(ie.get)(e,t,"WebPage")),vo.selectPageTypeValuesFor=Object(wn.createSelector)([vo.selectPageTypeValues,vo.selectPageTypeDefault],(e,t)=>Oo(e,t));const Eo=go.actions;var xo=go.reducer;const So=(e,t)=>{let{userLocale:r}=t;return Ur(Object(ie.join)([...Object(ie.isArray)(null==e?void 0:e.keywords)?e.keywords:[],null==e?void 0:e.routeLabel,null==e?void 0:e.fieldLabel]," "),r)},ko=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",{userLocale:r}=arguments.length>2?arguments[2]:void 0;return Object(ie.reduce)(e,(e,s,a)=>{const n=Object(ie.join)(Object(ie.filter)([t,a],Boolean),".");return"other_social_urls"===a?{...e,[n]:{route:null==s?void 0:s.route,routeLabel:null==s?void 0:s.routeLabel,fieldId:null==s?void 0:s.fieldId,fieldLabel:null==s?void 0:s.fieldLabel,keywords:So(s,{userLocale:r})}}:null!=s&&s.route?{...e,[n]:{...s,keywords:So(s,{userLocale:r})}}:{...e,...ko(s,n,{userLocale:r})}},{})},Fo=()=>{const e=Object(ie.get)(window,"wpseoScriptData.postTypes",{}),t=Object(ie.get)(window,"wpseoScriptData.taxonomies",{}),r=Object(ie.get)(window,"wpseoScriptData.preferences.userLocale",{});return{index:Wr(e,t,{userLocale:r})}},To=Object(wn.createSlice)({name:"search",initialState:Fo(),reducers:{}}),Lo={selectSearchIndex:e=>Object(ie.get)(e,"search.index",{})};Lo.selectQueryableSearchIndex=Object(wn.createSelector)([Lo.selectSearchIndex,e=>Fn.selectPreference(e,"userLocale")],(e,t)=>ko(e,"",{userLocale:t}));const Po=To.actions;var Ro=To.reducer;const Io=Object(wn.createEntityAdapter)(),No=()=>Io.getInitialState({status:Mt.b.idle,error:""}),Mo=e=>({id:null==e?void 0:e.id,name:Object(ie.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}),Ao=Object(wn.createSlice)({name:"users",initialState:No(),reducers:{addOneUser:{reducer:Io.addOne,prepare:e=>({payload:Mo(e)})},addManyUsers:{reducer:Io.addMany,prepare:e=>({payload:Object(ie.map)(e,Mo)})}},extraReducers:e=>{e.addCase("fetchUsers/"+Mt.a.request,e=>{e.status=Mt.b.loading}),e.addCase("fetchUsers/"+Mt.a.success,(e,t)=>{e.status=Mt.b.success,Io.addMany(e,Object(ie.map)(t.payload,Mo))}),e.addCase("fetchUsers/"+Mt.a.error,(e,t)=>{e.status=Mt.b.error,e.error=t.payload})}}),Co=Io.getSelectors(e=>e.users),$o={selectUserIds:Co.selectIds,selectUserById:Co.selectById,selectUsers:Co.selectEntities};$o.selectUsersWith=Object(wn.createSelector)([$o.selectUsers,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t}],(e,t)=>null!=t&&t.id&&!e[t.id]?{...e,[t.id]:{...t}}:e);const Do={...Ao.actions,fetchUsers:function*(e){yield{type:"fetchUsers/"+Mt.a.request};try{const t=yield{type:
|