Files
medicalalert-web-reloaded/wp/wp-content/plugins/wordpress-seo/js/dist/elementor.js
Tony Volpe 8f4b5efda6 Merged in feature/MAW-855-import-code-into-aws (pull request #2)
code import from pantheon

* code import from pantheon
2023-12-04 23:08:14 +00:00

565 lines
263 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

!function(e){var t={};function a(n){if(t[n])return t[n].exports;var s=t[n]={i:n,l:!1,exports:{}};return e[n].call(s.exports,s,s.exports,a),s.l=!0,s.exports}a.m=e,a.c=t,a.d=function(e,t,n){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(a.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)a.d(n,s,function(t){return e[t]}.bind(null,s));return n},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=295)}([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){e.exports=window.yoast.componentsNew},function(e,t){e.exports=window.yoast.styledComponents},function(e,t){function a(){return e.exports=a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,a.apply(this,arguments)}e.exports=a,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){e.exports=window.yoast.helpers},function(e,t,a){"use strict";a.d(t,"a",(function(){return n})),a.d(t,"b",(function(){return s})),a.d(t,"c",(function(){return r}));const n={request:"request",success:"success",error:"error"},s={idle:"idle",loading:"loading",success:"success",error:"error"},r={showPlay:"showPlay",askPermission:"askPermission",isPlaying:"isPlaying"}},function(e,t){e.exports=window.yoast.reduxJsToolkit},function(e,t){e.exports=window.wp.url},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.yoast.styleGuide},function(e,t){e.exports=window.yoast.externals.redux},function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var n=a(4);function s(){return Object(n.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.compose},,function(e,t){e.exports=window.yoast.externals.contexts},function(e,t){e.exports=window.yoast.socialMetadataForms},,function(e,t,a){"use strict";a.d(t,"a",(function(){return o})),a.d(t,"e",(function(){return c})),a.d(t,"k",(function(){return l})),a.d(t,"i",(function(){return d})),a.d(t,"j",(function(){return u})),a.d(t,"b",(function(){return p})),a.d(t,"f",(function(){return b})),a.d(t,"n",(function(){return h})),a.d(t,"l",(function(){return g})),a.d(t,"m",(function(){return f})),a.d(t,"c",(function(){return y})),a.d(t,"g",(function(){return O})),a.d(t,"q",(function(){return j})),a.d(t,"o",(function(){return E})),a.d(t,"p",(function(){return v})),a.d(t,"d",(function(){return T})),a.d(t,"h",(function(){return R})),a.d(t,"u",(function(){return C})),a.d(t,"r",(function(){return I})),a.d(t,"s",(function(){return P})),a.d(t,"t",(function(){return L}));var n=a(13),s=a(14),r=a(4);const o="linkParams",i=Object(n.createSlice)({name:o,initialState:{},reducers:{setLinkParams:(e,t)=>{let{payload:a}=t;return a}}}),c=i.getInitialState,l={selectLinkParam:function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object(r.get)(e,`${o}.${t}`,a)},selectLinkParams:e=>Object(r.get)(e,o,{})};l.selectLink=Object(n.createSelector)([l.selectLinkParams,(e,t)=>t],(e,t)=>Object(s.addQueryArgs)(t,e));const d=i.actions,u=i.reducer,p="notifications",m=Object(n.createSlice)({name:p,initialState:{},reducers:{addNotification:{reducer:(e,t)=>{let{payload:a}=t;e[a.id]={id:a.id,variant:a.variant,size:a.size,title:a.title,description:a.description}},prepare:e=>{let{id:t,variant:a="info",size:s="default",title:r,description:o}=e;return{payload:{id:t||Object(n.nanoid)(),variant:a,size:s,title:r||"",description:o}}}},removeNotification:(e,t)=>{let{payload:a}=t;return Object(r.omit)(e,a)}}}),b=m.getInitialState,h={selectNotifications:e=>Object(r.get)(e,p,{}),selectNotification:(e,t)=>Object(r.get)(e,[p,t],null)},g=m.actions,f=m.reducer,y="pluginUrl",w=Object(n.createSlice)({name:y,initialState:"",reducers:{setPluginUrl:(e,t)=>{let{payload:a}=t;return a}}}),O=w.getInitialState,j={selectPluginUrl:e=>Object(r.get)(e,y,"")};j.selectImageLink=Object(n.createSelector)([j.selectPluginUrl,function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"images";return a},(e,t)=>t],(e,t,a)=>[Object(r.trimEnd)(e,"/"),Object(r.trim)(t,"/"),Object(r.trimStart)(a,"/")].join("/"));const E=w.actions,v=w.reducer;var _=a(26),k=a.n(_),x=a(12);const T="wistiaEmbedPermission",S=Object(n.createSlice)({name:T,initialState:{value:!1,status:x.b.idle,error:{}},reducers:{setWistiaEmbedPermissionValue:(e,t)=>{let{payload:a}=t;e.value=Boolean(a)}},extraReducers:e=>{e.addCase(`${T}/${x.a.request}`,e=>{e.status=x.b.loading}),e.addCase(`${T}/${x.a.success}`,(e,t)=>{let{payload:a}=t;e.status=x.b.success,e.value=Boolean(a&&a.value)}),e.addCase(`${T}/${x.a.error}`,(e,t)=>{let{payload:a}=t;e.status=x.b.error,e.value=Boolean(a&&a.value),e.error={code:Object(r.get)(a,"error.code",500),message:Object(r.get)(a,"error.message","Unknown")}})}}),R=S.getInitialState,C={selectWistiaEmbedPermission:e=>Object(r.get)(e,T,{value:!1,status:x.b.idle}),selectWistiaEmbedPermissionValue:e=>Object(r.get)(e,[T,"value"],!1),selectWistiaEmbedPermissionStatus:e=>Object(r.get)(e,[T,"status"],x.b.idle),selectWistiaEmbedPermissionError:e=>Object(r.get)(e,[T,"error"],{})},I={...S.actions,setWistiaEmbedPermission:function*(e){yield{type:`${T}/${x.a.request}`};try{return yield{type:T,payload:e},{type:`${T}/${x.a.success}`,payload:{value:e}}}catch(t){return{type:`${T}/${x.a.error}`,payload:{error:t,value:e}}}}},P={[T]:async e=>{let{payload:t}=e;return k()({path:"/yoast/v1/wistia_embed_permission",method:"POST",data:{value:Boolean(t)}})}},L=S.reducer},function(e,t){e.exports=window.wp.apiFetch},,function(e,t,a){"use strict";a.d(t,"b",(function(){return s})),a.d(t,"a",(function(){return r}));var n=a(0);function s(e){return e.charAt(0).toUpperCase()+e.slice(1)}function r(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(n.createInterpolateElement)(e,{a:Object(n.createElement)("a",{id:a,href:t,target:"_blank",rel:"noopener noreferrer"})})}},function(e,t,a){var n;!function(){"use strict";var a={}.hasOwnProperty;function s(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var r=typeof n;if("string"===r||"number"===r)e.push(n);else if(Array.isArray(n)){if(n.length){var o=s.apply(null,n);o&&e.push(o)}}else if("object"===r){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var i in n)a.call(n,i)&&n[i]&&e.push(i)}}}return e.join(" ")}e.exports?(s.default=s,e.exports=s):void 0===(n=function(){return s}.apply(t,[]))||(e.exports=n)}()},function(e,t,a){"use strict";a.d(t,"b",(function(){return r})),a.d(t,"a",(function(){return o}));var n=a(26),s=a.n(n);async function r(e,t,a){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:200;try{const s=await e();return!!s&&(s.status===n?t(s):a(s))}catch(e){console.error(e.message)}}async function o(e){try{return await s()(e)}catch(e){return e.error&&e.status?e:e instanceof Response&&await e.json()}}},function(e,t,a){"use strict";var n=a(4),s={source:"wpseoScriptData.analysis.plugins.replaceVars",scope:[],aliases:[]},r=function(e,t,a){this.placeholder=e,this.replacement=t,this.options=Object(n.defaults)(a,s)};r.prototype.getPlaceholder=function(e){return(e=e||!1)&&this.hasAlias()?this.placeholder+"|"+this.getAliases().join("|"):this.placeholder},r.prototype.setSource=function(e){this.options.source=e},r.prototype.hasScope=function(){return!Object(n.isEmpty)(this.options.scope)},r.prototype.addScope=function(e){this.hasScope()||(this.options.scope=[]),this.options.scope.push(e)},r.prototype.inScope=function(e){return!this.hasScope()||Object(n.indexOf)(this.options.scope,e)>-1},r.prototype.hasAlias=function(){return!Object(n.isEmpty)(this.options.aliases)},r.prototype.addAlias=function(e){this.hasAlias()||(this.options.aliases=[]),this.options.aliases.push(e)},r.prototype.getAliases=function(){return this.options.aliases},t.a=r},function(e,t,a){"use strict";var n=a(0),s=a(2),r=a.n(s);const o=e=>{let{children:t}=e;return Object(n.createElement)("div",null,t)};o.propTypes={renderPriority:r.a.number.isRequired,children:r.a.node.isRequired},t.a=o},function(e,t,a){"use strict";a.d(t,"b",(function(){return l}));var n=a(10),s=a.n(n),r=a(0),o=a(2),i=a.n(o),c=a(19);const l="yoast yoast-gutenberg-modal",d=e=>{const{title:t,className:a,showYoastIcon:n,additionalClassName:o,...i}=e,l=n?Object(r.createElement)("span",{className:"yoast-icon"}):null;return Object(r.createElement)(c.Modal,s()({title:t,className:`${a} ${o}`,icon:l},i),e.children)};d.propTypes={title:i.a.string,className:i.a.string,showYoastIcon:i.a.bool,children:i.a.oneOfType([i.a.node,i.a.arrayOf(i.a.node)]),additionalClassName:i.a.string},d.defaultProps={title:"Yoast SEO",className:l,showYoastIcon:!0,children:null,additionalClassName:""},t.a=d},,function(e,t,a){"use strict";a.d(t,"c",(function(){return r})),a.d(t,"b",(function(){return o})),a.d(t,"e",(function(){return i})),a.d(t,"a",(function(){return c})),a.d(t,"d",(function(){return l})),a.d(t,"f",(function(){return d})),a.d(t,"g",(function(){return u}));var n=a(4),s=a(30);async function r(){return await Object(s.a)({path:"yoast/v1/wincher/authorization-url",method:"GET"})}async function o(){return await Object(s.a)({path:"yoast/v1/wincher/account/limit",method:"GET"})}async function i(){return await Object(s.a)({path:"yoast/v1/wincher/account/upgrade-campaign",method:"GET"})}async function c(e){const{code:t,websiteId:a}=e;return await Object(s.a)({path:"yoast/v1/wincher/authenticate",method:"POST",data:{code:t,websiteId:a}})}async function l(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=arguments.length>2?arguments[2]:void 0;return await Object(s.a)({path:"yoast/v1/wincher/keyphrases",method:"POST",data:{keyphrases:e,permalink:t},signal:a})}async function d(e){return Object(n.isArray)(e)||(e=[e]),await Object(s.a)({path:"yoast/v1/wincher/keyphrases/track",method:"POST",data:{keyphrases:e}})}async function u(e){return await Object(s.a)({path:"yoast/v1/wincher/keyphrases/untrack",method:"DELETE",data:{keyphraseID:e}})}},,,,function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s=i(a(3)),r=i(a(160)),o=i(a(163));function i(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,a=e.components,i=e.throwErrors;if(c=t,!a)return t;if("object"!==(void 0===a?"undefined":n(a))){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var l=(0,o.default)(t);try{return function e(t,a){var o,i,l,d,u,p,m,b,h=[],g={};for(p=0;p<t.length;p++)if("string"!==(u=t[p]).type){if(!a.hasOwnProperty(u.value)||void 0===a[u.value])throw new Error("Invalid interpolation, missing component node: `"+u.value+"`");if("object"!==n(a[u.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+u.value+"`","\n> "+c);if("componentClose"===u.type)throw new Error("Missing opening component token: `"+u.value+"`");if("componentOpen"===u.type){o=a[u.value],l=p;break}h.push(a[u.value])}else h.push(u.value);return o&&(d=function(e,t){var a,n,s=t[e],r=0;for(n=e+1;n<t.length;n++)if((a=t[n]).value===s.value){if("componentOpen"===a.type){r++;continue}if("componentClose"===a.type){if(0===r)return n;r--}}throw new Error("Missing closing component token `"+s.value+"`")}(l,t),m=e(t.slice(l+1,d),a),i=s.default.cloneElement(o,{},m),h.push(i),d<t.length-1&&(b=e(t.slice(d+1),a),h=h.concat(b))),1===h.length?h[0]:(h.forEach((function(e,t){e&&(g["interpolation-child-"+t]=e)})),(0,r.default)(g))}(l,a)}catch(e){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},function(e,t){e.exports=window.wp.hooks},function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));const{get:n}=lodash,s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n(window,"wordproofSdk.data"+(e?"."+e:""),t)}},function(e,t,a){"use strict";a.d(t,"a",(function(){return r})),a.d(t,"b",(function(){return o})),a.d(t,"c",(function(){return c})),a.d(t,"d",(function(){return l}));var n=a(4),s=a(18);const r=e=>Object(n.get)(window,"wordproofSdk.data"+(e?"."+e:""),{}),o=()=>{const e=Object(s.a)();return 1===Object(n.get)(e,"wordproofIntegrationActive",0)},i=e=>{const t=new CustomEvent(e);window.dispatchEvent(t)},c=()=>{i("wordproof:open_authentication")},l=()=>{i("wordproof:open_settings")}},function(e,t,a){"use strict";a.d(t,"g",(function(){return s})),a.d(t,"h",(function(){return r})),a.d(t,"b",(function(){return o})),a.d(t,"a",(function(){return i})),a.d(t,"i",(function(){return c})),a.d(t,"c",(function(){return l})),a.d(t,"f",(function(){return d})),a.d(t,"e",(function(){return u})),a.d(t,"j",(function(){return p})),a.d(t,"d",(function(){return m})),a.d(t,"o",(function(){return b})),a.d(t,"p",(function(){return h})),a.d(t,"k",(function(){return g})),a.d(t,"q",(function(){return f})),a.d(t,"r",(function(){return y})),a.d(t,"n",(function(){return w})),a.d(t,"m",(function(){return O})),a.d(t,"l",(function(){return j}));var n=a(11);const s="SNIPPET_EDITOR_SWITCH_MODE",r="SNIPPET_EDITOR_UPDATE_DATA",o="SNIPPET_EDITOR_FIND_CUSTOM_FIELDS",i="SNIPPET_EDITOR_CUSTOM_FIELD_RESULTS",c="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",l="SNIPPET_EDITOR_HIDE_REPLACEMENT_VARIABLES",d="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",u="SNIPPET_EDITOR_REFRESH",p="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",m="LOAD_SNIPPET_EDITOR_DATA";function b(e){return{type:s,mode:e}}function h(e){return{type:r,data:e}}function*g(e,t){const a=yield{type:o,query:e,postId:t};return{type:i,results:a}}function f(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",s=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const r="string"==typeof t?Object(n.decodeHTML)(t):t;return{type:c,name:e,value:r,label:a,hidden:s}}function y(e){return{type:p,wordsToHighlight:e}}function w(e){return{type:d,name:e}}function O(){return{type:u,time:(new Date).getMilliseconds()}}function j(e){return{type:l,data:e}}},,,,,function(e,t,a){"use strict";a.d(t,"c",(function(){return o})),a.d(t,"a",(function(){return i})),a.d(t,"b",(function(){return c}));var n=a(26),s=a.n(n),r=a(54);async function o(e,t,a){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:200;try{const s=await e();return!!s&&(s.status===n?t(s):a(s))}catch(e){}}async function i(e){try{return await s()(e)}catch(e){return e.error&&e.status?e:e instanceof window.Response&&await e.json()}}const c=async()=>await o(async()=>await Object(r.a)(),e=>e,()=>!1)},,function(e,t,a){"use strict";var n=a(0),s=a(8),r=a(2),o=a.n(r);const i=e=>Object(n.createElement)("div",{className:"yoast components-panel__body"},Object(n.createElement)("h2",{className:"components-panel__body-title"},Object(n.createElement)("button",{id:e.id,onClick:e.onClick,className:"components-button components-panel__body-toggle"},e.prefixIcon&&Object(n.createElement)("span",{className:"yoast-icon-span",style:{fill:""+(e.prefixIcon&&e.prefixIcon.color||"")}},Object(n.createElement)(s.SvgIcon,{size:e.prefixIcon.size,icon:e.prefixIcon.icon})),Object(n.createElement)("span",{className:"yoast-title-container"},Object(n.createElement)("div",{className:"yoast-title"},e.title),Object(n.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.children,e.suffixIcon&&Object(n.createElement)(s.SvgIcon,{size:e.suffixIcon.size,icon:e.suffixIcon.icon}),e.SuffixHeroIcon)));t.a=i,i.propTypes={onClick:o.a.func.isRequired,title:o.a.string.isRequired,id:o.a.string,subTitle:o.a.string,suffixIcon:o.a.object,SuffixHeroIcon:o.a.object,prefixIcon:o.a.object,children:o.a.node},i.defaultProps={id:"",suffixIcon:null,SuffixHeroIcon:null,prefixIcon:null,subTitle:"",children:null}},,,function(e,t,a){"use strict";a.d(t,"a",(function(){return i})),a.d(t,"b",(function(){return c})),a.d(t,"c",(function(){return l})),a.d(t,"d",(function(){return d}));var n=a(4),s=a(11),r=a(23);const o=e=>({type:e.subtype,width:e.width,height:e.height,url:e.url,id:e.id,sizes:e.sizes,alt:e.alt||e.title||e.name});function i(e){return new Promise((t,a)=>{window.wp.media.attachment||a(),window.wp.media.attachment(e).fetch().then(e=>{t(o(e))}).catch(()=>a())})}function c(e){(function(e){const t=window.wp.media();return t.on("select",()=>{const a=t.state().get("selection").first();e(o(a.attributes))}),t})(e).open()}const l=e=>{const{width:t,height:a}=e,n=Object(r.determineFacebookImageMode)({width:t,height:a}),o=r.FACEBOOK_IMAGE_SIZES[n+"Width"],i=r.FACEBOOK_IMAGE_SIZES[n+"Height"],c=Object.values(e.sizes).find(e=>e.width>=o&&e.height>=i);return{url:c?c.url:e.url,id:e.id,warnings:Object(s.validateFacebookImage)(e),alt:e.alt||""}},d=e=>{const t="summary"!==Object(n.get)(window,"wpseoScriptData.metabox.twitterCardType")?"landscape":"square",a=r.TWITTER_IMAGE_SIZES[t+"Width"],o=r.TWITTER_IMAGE_SIZES[t+"Height"],i=Object.values(e.sizes).find(e=>e.width>=a&&e.height>=o);return{url:i?i.url:e.url,id:e.id,warnings:Object(s.validateTwitterImage)(e),alt:e.alt||""}}},function(e,t,a){"use strict";a.d(t,"e",(function(){return s})),a.d(t,"f",(function(){return r})),a.d(t,"a",(function(){return o})),a.d(t,"d",(function(){return i})),a.d(t,"b",(function(){return c})),a.d(t,"g",(function(){return l})),a.d(t,"c",(function(){return d}));var n=a(48);const s=async e=>{const{state:t,code:a}=e;return await Object(n.a)({path:"wordproof/v1/oauth/authenticate",method:"POST",data:{state:t,code:a}})},r=async e=>{const{settings:t}=e;return await Object(n.a)({path:"wordproof/v1/settings",method:"POST",data:{settings:t}})},o=async()=>await Object(n.a)({path:"wordproof/v1/oauth/destroy",method:"POST"}),i=async()=>await Object(n.a)({path:"wordproof/v1/settings",method:"GET"}),c=async()=>await Object(n.a)({path:"wordproof/v1/authentication",method:"GET"}),l=async e=>Object(n.a)({path:`wordproof/v1/posts/${e}/timestamp`,method:"POST"}),d=async e=>Object(n.a)({path:`wordproof/v1/posts/${e}/timestamp/transaction/latest`,method:"GET"})},function(e,t,a){"use strict";a.d(t,"a",(function(){return i})),a.d(t,"b",(function(){return c}));var n=a(9),s=a.n(n),r=a(8),o=a(11);const i=s.a.div`
min-width: 600px;
@media screen and ( max-width: 680px ) {
min-width: 0;
width: 86vw;
}
`,c=s.a.div`
@media screen and ( min-width: 600px ) {
max-width: 420px;
}
`;s()(r.Icon)`
float: ${Object(o.getDirectionalStyle)("right","left")};
margin: ${Object(o.getDirectionalStyle)("0 0 16px 16px","0 16px 16px 0")};
&& {
width: 150px;
height: 150px;
@media screen and ( max-width: 680px ) {
width: 80px;
height: 80px;
}
}
`},function(e,t,a){"use strict";a.d(t,"a",(function(){return r}));var n=a(18),s=a(4);function r(){const e=Object(n.a)();return 1===Object(s.get)(e,"keywordAnalysisActive",0)}},,,function(e,t,a){"use strict";function n(){}a.d(t,"a",(function(){return n}))},,function(e,t,a){"use strict";a.d(t,"a",(function(){return u}));var n=a(10),s=a.n(n),r=a(0),o=a(29),i=a.n(o),c=a(2),l=a.n(c);const d=e=>{let{className:t,...a}=e;return Object(r.createElement)("span",s()({className:i()("yst-grow yst-overflow-hidden yst-overflow-ellipsis yst-whitespace-nowrap yst-font-wp yst-text-[#555] yst-text-base yst-leading-[normal] yst-subpixel-antialiased yst-text-left",t)},a))};d.displayName="MetaboxButton.Text",d.propTypes={className:l.a.string},d.defaultProps={className:""};const u=e=>{let{className:t,...a}=e;return Object(r.createElement)("button",s()({type:"button",className:i()("yst-flex yst-items-center yst-w-full yst-pl-6 yst-p-4 yst-space-x-2 yst-border-t yst-border-t-[rgb(0,0,0,0.2)] yst-rounded-none yst-transition-all hover:yst-bg-[#f0f0f0] focus:yst-outline focus:yst-outline-[1px] focus:yst-outline-[color:#0066cd] focus:-yst-outline-offset-1 focus:yst-shadow-[0_0_3px_rgba(8,74,103,0.8)]",t)},a))};u.propTypes={className:l.a.string},u.defaultProps={className:""},u.Text=d},function(e,t,a){"use strict";a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return c})),a.d(t,"d",(function(){return l})),a.d(t,"e",(function(){return d})),a.d(t,"a",(function(){return u}));var n=a(5),s=a(131);let r=null;const o=()=>{if(null===r){const e=Object(n.dispatch)("yoast-seo/editor").runAnalysis;r=new s.a(e)}return r},i=e=>o()._ready(e),c=e=>o()._reloaded(e),l=(e,t,a,n)=>o()._registerModification(e,t,a,n),d=(e,t)=>o()._registerPlugin(e,t),u=(e,t,a)=>o().loaded?o()._applyModifications(e,t,a):t},,function(e,t){e.exports=window.yoast.externals.components},function(e,t,a){"use strict";a.r(t),a.d(t,"nonReplaceVars",(function(){return l})),a.d(t,"fillReplacementVariables",(function(){return d})),a.d(t,"handlePrefixes",(function(){return u})),a.d(t,"createLabelFromName",(function(){return p})),a.d(t,"pushNewReplaceVar",(function(){return m})),a.d(t,"replaceSpaces",(function(){return b})),a.d(t,"prepareCustomFieldForDispatch",(function(){return h})),a.d(t,"prepareCustomTaxonomyForDispatch",(function(){return g})),a.d(t,"mapCustomTaxonomies",(function(){return f})),a.d(t,"mapCustomFields",(function(){return y})),a.d(t,"excerptFromContent",(function(){return w})),a.d(t,"applyReplaceUsingPlugin",(function(){return O}));var n=a(4),s=a(114),r=a(43),o=a(28),i=a(11);const{stripHTMLTags:c}=i.strings,l=["slug","content","contentImage","snippetPreviewImageURL"];function d(e,t){Object(n.forEach)(e,(e,a)=>{l.includes(a)||t.dispatch(Object(r.q)(a,e))})}function u(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");const t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}function p(e){return e=u(e),Object(o.b)(e)}function m(e,t){return e.push({name:t.name,label:t.label||p(t.name),value:t.value}),e}function b(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function h(e){return{name:"cf_"+b(e),label:Object(o.b)(e+" (custom field)")}}function g(e){const t=b(e);return{name:"ct_"+t,label:Object(o.b)(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:Object(o.b)(e+" description (custom taxonomy)")}}function f(e,t){return e.custom_taxonomies?(Object(n.forEach)(e.custom_taxonomies,(e,a)=>{const{name:n,label:s,descriptionName:o,descriptionLabel:i}=g(a);t.dispatch(Object(r.q)(n,e.name,s)),t.dispatch(Object(r.q)(o,e.description,i))}),Object(n.omit)({...e},"custom_taxonomies")):e}function y(e,t){return e.custom_fields?(Object(n.forEach)(e.custom_fields,(e,a)=>{const{name:n,label:s}=h(a);t.dispatch(Object(r.q)(n,e,s))}),Object(n.omit)({...e},"custom_fields")):e}function w(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(s.stripTags)(e)).trim()).length<=t||(e=e.substring(0,t),/\s/.test(e)&&(e=e.substring(0,e.lastIndexOf(" ")))),e}const O=function(e){const t=Object(n.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(n.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){const t=Object(n.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],n.identity);return{url:e.url,title:c(t(e.title)),description:c(t(e.description)),filteredSEOTitle:e.filteredSEOTitle?c(t(e.filteredSEOTitle)):""}}(e);const a=t._applyModifications.bind(t);return{url:e.url,title:c(a("data_page_title",e.title)),description:c(a("data_meta_desc",e.description)),filteredSEOTitle:e.filteredSEOTitle?c(a("data_page_title",e.filteredSEOTitle)):""}}},,,,function(e,t,a){"use strict";a.d(t,"a",(function(){return r}));var n=a(4),s=a(18);function r(){const e=Object(s.a)();return Object(n.get)(e,"contentLocale","en_US")}},function(e,t,a){"use strict";a.d(t,"a",(function(){return o}));var n=a(20),s=a(0),r=a(22);function o(){return Object(n.createHigherOrderComponent)((function(e){return Object(n.pure)((function(t){const a=Object(s.useContext)(r.LocationContext);return Object(s.createElement)(e,{...t,location:a})}))}),"withLocation")}},function(e,t,a){"use strict";var n=a(16),s=a(11),r=a(9),o=a.n(r);const i=Object(s.makeOutboundLink)(o.a.a`
display: inline-block;
position: relative;
outline: none;
text-decoration: none;
border-radius: 100%;
width: 24px;
height: 24px;
margin: -4px 0;
vertical-align: middle;
color: ${n.colors.$color_help_text};
&:hover,
&:focus {
color: ${n.colors.$color_snippet_focus};
}
// Overwrite the default blue active color for links.
&:active {
color: ${n.colors.$color_help_text};
}
&::before {
position: absolute;
top: 0;
left: 0;
padding: 2px;
content: "\f223";
}
`);t.a=i},function(e,t,a){"use strict";var n=a(0),s=a(5),r=a(11),o=a(2),i=a.n(o),c=a(9),l=a.n(c),d=a(1);const u=l.a.div`
padding: 25px 32px 32px;
color: #303030;
`,p=l.a.ul`
margin: 0;
padding: 0;
li {
list-style-image: var(--yoast-svg-icon-check);
margin: 0.5rem 0 0 1.5rem;
line-height: 1.4em;
&::marker {
font-size: 1.5rem;
}
}
`,m=l.a.span`
display: block;
margin-top: 4px;
`,b=l.a.h2`
margin-top: 0;
margin-bottom: 0.25rem;
color: #303030;
font-size: 0.8125rem;
font-weight: 600;
`,h=l.a.p`
display: block;
margin: 0.25rem 0 1rem 0 !important;
max-width: 420px;
`,g=l.a.hr`
margin-top: 1.5rem;
margin-bottom: 1rem;
border-top: 0;
border-bottom: 1px solid #E2E8F0;
`,f=l.a.div`
text-align: center;
`,y=l.a.a`
width: 100%;
`,w=Object(r.makeOutboundLink)(y);class O extends n.Component{constructor(e){super(e),this.state={defaultPrice:"99"}}createBenefitsList(e){return e.length>0&&Object(n.createElement)(p,{role:"list"},e.map((e,t)=>Object(n.createElement)("li",{key:"upsell-benefit-"+t},Object(n.createInterpolateElement)(e.replace("<strong>","{{strong}}").replace("</strong>","{{/strong}}"),{strong:Object(n.createElement)("strong",null)}))))}render(){const e=Object(s.select)("yoast-seo/editor").isPromotionActive("black-friday-2023-promotion"),{defaultPrice:t}=this.state,a=e?"69.30":null,r=a||t;return Object(n.createElement)(n.Fragment,null,e&&Object(n.createElement)("div",{className:"yst-flex yst-justify-between yst-items-center yst-text-lg yst-content-between yst-bg-black yst-text-amber-300 yst-h-9 yst-border-amber-300 yst-border-y yst-border-x-0 yst-border-solid yst-px-6"},Object(n.createElement)("div",null,Object(d.__)("BLACK FRIDAY","wordpress-seo")),Object(n.createElement)("div",null,Object(d.__)("30% OFF","wordpress-seo"))),Object(n.createElement)(u,null,Object(n.createElement)(b,null,this.props.title),Object(n.createElement)(h,null,this.props.description),Object(n.createElement)(f,null,Object(n.createElement)(w,this.props.upsellButton,this.props.upsellButtonText,this.props.upsellButtonHasCaret&&Object(n.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),Object(n.createElement)("div",{className:"yst-text-slate-600 yst-my-4"},a&&Object(n.createElement)(n.Fragment,null,Object(n.createElement)("span",{className:"yst-text-slate-500 yst-line-through"},t)," "),Object(n.createElement)("span",{className:"yst-text-slate-900 yst-text-2xl yst-font-bold"},r)," ",Object(d.__)("$ USD / € EUR / £ GBP per year (ex. VAT)","wordpress-seo")),Object(n.createElement)(m,{id:this.props.upsellButton["aria-describedby"]},this.props.upsellButtonLabel)),Object(n.createElement)(g,null),Object(n.createElement)(b,null,this.props.benefitsTitle),this.createBenefitsList(this.props.benefits)))}}O.propTypes={title:i.a.node,benefits:i.a.array,benefitsTitle:i.a.node,description:i.a.node,upsellButton:i.a.object,upsellButtonText:i.a.string.isRequired,upsellButtonLabel:i.a.string,upsellButtonHasCaret:i.a.bool},O.defaultProps={title:null,description:null,benefits:[],benefitsTitle:null,upsellButton:{href:"",className:"button button-primary"},upsellButtonLabel:"",upsellButtonHasCaret:!0},t.a=O},function(e,t,a){"use strict";a.d(t,"a",(function(){return r}));var n=a(18),s=a(4);function r(){const e=Object(n.a)();return 1===Object(s.get)(e,"contentAnalysisActive",0)}},function(e,t,a){"use strict";a.r(t),a.d(t,"sortResultsByIdentifier",(function(){return c})),a.d(t,"default",(function(){return l})),a.d(t,"initializationDone",(function(){return d}));var n=a(40),s=a(17),r=a(15),o=a(59);let i=!1;function c(e){return e.sort((e,t)=>e._identifier.localeCompare(t._identifier))}function l(e,t,a,l,d){if(!i)return;const u=r.Paper.parse(t());e.analyze(u).then(r=>{const{result:{seo:o,readability:i,inclusiveLanguage:p}}=r;if(o){const e=o[""];e.results.forEach(e=>{e.getMarker=()=>()=>a(u,e.marks)}),e.results=c(e.results),l.dispatch(s.actions.setSeoResultsForKeyword(u.getKeyword(),e.results)),l.dispatch(s.actions.setOverallSeoScore(e.score,u.getKeyword())),l.dispatch(s.actions.refreshSnippetEditor()),d.saveScores(e.score,u.getKeyword())}i&&(i.results.forEach(e=>{e.getMarker=()=>()=>a(u,e.marks)}),i.results=c(i.results),l.dispatch(s.actions.setReadabilityResults(i.results)),l.dispatch(s.actions.setOverallReadabilityScore(i.score)),l.dispatch(s.actions.refreshSnippetEditor()),d.saveContentScore(i.score)),p&&(p.results.forEach(e=>{e.getMarker=()=>()=>a(u,e.marks)}),p.results=c(p.results),l.dispatch(s.actions.setInclusiveLanguageResults(p.results)),l.dispatch(s.actions.setOverallInclusiveLanguageScore(p.score)),l.dispatch(s.actions.refreshSnippetEditor()),d.saveInclusiveLanguageScore(p.score)),Object(n.doAction)("yoast.analysis.refresh",r,{paper:u,worker:e,collectData:t,applyMarks:a,store:l,dataCollector:d})}).catch(o.a)}function d(){i=!0}},,,,function(e,t,a){"use strict";var n=a(0);let s,r,o,i;const c=/<(\/)?(\w+)\s*(\/)?>/g;function l(e,t,a,n,s){return{element:e,tokenStart:t,tokenLength:a,prevOffset:n,leadingTextStart:s,children:[]}}function d(){const e=s.length-r;0!==e&&o.push(s.substr(r,e))}function u(e){const{element:t,tokenStart:a,tokenLength:r,prevOffset:o,children:c}=e,l=i[i.length-1],d=s.substr(l.prevOffset,a-l.prevOffset);d&&l.children.push(d),l.children.push(Object(n.cloneElement)(t,null,...c)),l.prevOffset=o||a+r}function p(e){const t=function(){const e=c.exec(s);if(null===e)return["no-more-tokens"];const t=e.index,[a,n,r,o]=e,i=a.length;return o?["self-closed",r,t,i]:n?["closer",r,t,i]:["opener",r,t,i]}(),[a,p,m,b]=t,h=i.length,g=m>r?r:null;if(!e[p])return d(),!1;switch(a){case"no-more-tokens":if(0!==h){const{leadingTextStart:e,tokenStart:t}=i.pop();o.push(s.substr(e,t))}return d(),!1;case"self-closed":return 0===h?(null!==g&&o.push(s.substr(g,m-g)),o.push(e[p]),r=m+b,!0):(u(l(e[p],m,b)),r=m+b,!0);case"opener":return i.push(l(e[p],m,b,m+b,g)),r=m+b,!0;case"closer":if(1===h)return function(e){const{element:t,leadingTextStart:a,prevOffset:r,tokenStart:c,children:l}=i.pop(),d=e?s.substr(r,e-r):s.substr(r);d&&l.push(d),null!==a&&o.push(s.substr(a,c-a)),o.push(Object(n.cloneElement)(t,null,...l))}(m),r=m+b,!0;const t=i.pop(),a=s.substr(t.prevOffset,m-t.prevOffset);t.children.push(a),t.prevOffset=m+b;const c=l(t.element,t.tokenStart,t.tokenLength,m+b);return c.children=t.children,u(c),r=m+b,!0;default:return d(),!1}}t.a=(e,t)=>{if(s=e,r=0,o=[],i=[],c.lastIndex=0,!(e=>{const t="object"==typeof e,a=t&&Object.values(e);return t&&a.length&&a.every(e=>Object(n.isValidElement)(e))})(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(p(t));return Object(n.createElement)(n.Fragment,null,...o)}},function(e,t){e.exports=window.yoast.replacementVariableEditor},function(e,t,a){"use strict";var n=a(0),s=a(2),r=a.n(s),o=a(9),i=a(22);const c=e=>{let{theme:t,location:a,children:s}=e;return Object(n.createElement)(i.LocationProvider,{value:a},Object(n.createElement)(o.ThemeProvider,{theme:t},s))};c.propTypes={theme:r.a.object.isRequired,location:r.a.oneOf(["sidebar","metabox","modal"]).isRequired,children:r.a.element.isRequired},t.a=c},function(e,t,a){"use strict";var n=a(0),s=a(2),r=a.n(s),o=a(1);const i=e=>{let{data:t,mapChartDataToTableData:a,dataTableCaption:s,dataTableHeaderLabels:r,isDataTableVisuallyHidden:i}=e;return t.length!==r.length?Object(n.createElement)("p",null,Object(o.__)("The number of headers and header labels don't match.","wordpress-seo")):Object(n.createElement)("div",{className:i?"screen-reader-text":null},Object(n.createElement)("table",null,Object(n.createElement)("caption",null,s),Object(n.createElement)("thead",null,Object(n.createElement)("tr",null,r.map((e,t)=>Object(n.createElement)("th",{key:t},e)))),Object(n.createElement)("tbody",null,Object(n.createElement)("tr",null,t.map((e,t)=>Object(n.createElement)("td",{key:t},a(e.y)))))))};i.propTypes={data:r.a.arrayOf(r.a.shape({x:r.a.number,y:r.a.number})).isRequired,mapChartDataToTableData:r.a.func,dataTableCaption:r.a.string.isRequired,dataTableHeaderLabels:r.a.array.isRequired,isDataTableVisuallyHidden:r.a.bool},i.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var c=i;const l=e=>{let{data:t,width:a,height:s,fillColor:r,strokeColor:o,strokeWidth:i,className:l,mapChartDataToTableData:d,dataTableCaption:u,dataTableHeaderLabels:p,isDataTableVisuallyHidden:m}=e;const b=Math.max(1,Math.max(...t.map(e=>e.x))),h=Math.max(1,Math.max(...t.map(e=>e.y))),g=s-i,f=t.map(e=>`${e.x/b*a},${g-e.y/h*g+i}`).join(" "),y=`0,${g+i} `+f+` ${a},${g+i}`;return Object(n.createElement)(n.Fragment,null,Object(n.createElement)("svg",{width:a,height:s,viewBox:`0 0 ${a} ${s}`,className:l,role:"img","aria-hidden":"true",focusable:"false"},Object(n.createElement)("polygon",{fill:r,points:y}),Object(n.createElement)("polyline",{fill:"none",stroke:o,strokeWidth:i,strokeLinejoin:"round",strokeLinecap:"round",points:f})),d&&Object(n.createElement)(c,{data:t,mapChartDataToTableData:d,dataTableCaption:u,dataTableHeaderLabels:p,isDataTableVisuallyHidden:m}))};l.propTypes={data:r.a.arrayOf(r.a.shape({x:r.a.number,y:r.a.number})).isRequired,width:r.a.number.isRequired,height:r.a.number.isRequired,fillColor:r.a.string,strokeColor:r.a.string,strokeWidth:r.a.number,className:r.a.string,mapChartDataToTableData:r.a.func,dataTableCaption:r.a.string.isRequired,dataTableHeaderLabels:r.a.array.isRequired,isDataTableVisuallyHidden:r.a.bool},l.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0},t.a=l},,,,function(e,t,a){"use strict";var n=a(4);const s=Object(n.memoize)((e,t)=>0===e?n.noop:Object(n.debounce)(a=>t(a,e),500));t.a=s},function(e,t,a){"use strict";a.d(t,"a",(function(){return c})),a.d(t,"b",(function(){return p})),a.d(t,"c",(function(){return y})),a.d(t,"d",(function(){return z})),a.d(t,"e",(function(){return U})),a.d(t,"f",(function(){return B}));var n=a(0),s=a(1),r=a(6),o=a(2),i=a.n(o);const c=e=>{let{link:t}=e;const a=Object(n.useMemo)(()=>Object(n.createInterpolateElement)(Object(s.sprintf)(
/* translators: %1$s expands to "Yoast SEO" academy, which is a clickable link. */
Object(s.__)("Want to learn SEO from Team Yoast? Check out our %1$s!","wordpress-seo"),"<link/>"),{link:Object(n.createElement)("a",{href:t,target:"_blank",rel:"noopener"},"Yoast SEO academy")}),[]);return Object(n.createElement)(r.Paper,{as:"div",className:"yst-p-6 yst-space-y-3"},Object(n.createElement)(r.Title,{as:"h2",size:"4",className:"yst-text-base yst-text-primary-500"},Object(s.__)("Learn SEO","wordpress-seo")),Object(n.createElement)("p",null,a,Object(n.createElement)("br",null),Object(s.__)("We have both free and premium online courses to learn everything you need to know about SEO.","wordpress-seo")),Object(n.createElement)(r.Link,{href:t,className:"yst-block",target:"_blank",rel:"noopener"},Object(s.sprintf)(
/* translators: %1$s expands to "Yoast SEO academy". */
Object(s.__)("Check out %1$s","wordpress-seo"),"Yoast SEO academy")))};c.propTypes={link:i.a.string.isRequired};var l=a(138),d=a(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:a,thumbnail:o,wistiaEmbedPermission:i}=e;const{onClose:c,initialFocus:d}=Object(r.useModalContext)();return Object(n.createElement)("div",{className:"yst-flex yst-flex-col yst-items-center yst-p-10"},Object(n.createElement)("div",{className:"yst-relative yst-w-full"},Object(n.createElement)(B,{videoId:"vmrahpfjxp",thumbnail:o,wistiaEmbedPermission:i}),Object(n.createElement)(r.Badge,{className:"yst-absolute yst-top-0 yst-right-2 yst-mt-2 yst-ml-2",variant:"info"},"Beta")),Object(n.createElement)("div",{className:"yst-mt-6 yst-text-xs yst-font-medium"},Object(n.createElement)("span",{className:"yst-uppercase yst-text-slate-500"},Object(s.sprintf)(
/* translators: %1$s expands to Yoast SEO Premium. */
Object(s.__)("New to %1$s","wordpress-seo"),"Yoast SEO Premium"))," ",Object(n.createElement)("span",{className:"yst-uppercase yst-text-slate-700"},"21.0")),Object(n.createElement)("div",{className:"yst-mt-4 yst-mx-1.5 yst-text-center"},Object(n.createElement)("h3",{className:"yst-text-slate-900 yst-text-lg yst-font-medium"},Object(s.__)("Generate titles & descriptions with Yoast AI!","wordpress-seo")),Object(n.createElement)("div",{className:"yst-mt-2 yst-text-slate-600 yst-text-sm"},Object(n.createInterpolateElement)(Object(s.sprintf)(
/* translators: %1$s and %2$s are anchor tag; %3$s is the arrow icon. */
Object(s.__)("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(n.createElement)(y,{href:t,className:"yst-inline-flex yst-items-center yst-gap-1 yst-no-underline yst-font-medium",variant:"primary"}),ArrowNarrowRightIcon:Object(n.createElement)(u,{className:"yst-w-4 yst-h-4 rtl:yst-rotate-180"})}))),Object(n.createElement)("div",{className:"yst-w-full yst-flex yst-mt-10"},Object(n.createElement)(r.Button,{as:"a",className:"yst-grow",size:"large",variant:"upsell",href:a,target:"_blank",ref:d},Object(n.createElement)(l.a,{className:"yst--ml-1 yst-mr-2 yst-h-5 yst-w-5"}),Object(s.__)("Unlock with Premium","wordpress-seo"),Object(n.createElement)("span",{className:"yst-sr-only"},
/* translators: Hidden accessibility text. */
Object(s.__)("(Opens in a new browser tab)","wordpress-seo")))),Object(n.createElement)(r.Button,{as:"a",className:"yst-mt-4",variant:"tertiary",onClick:c},Object(s.__)("Close","wordpress-seo")))};var m;function b(){return(b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function h(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},a(92);var g=a(10),f=a.n(g);const y=e=>{let{href:t,children:a,...o}=e;return Object(n.createElement)(r.Link,f()({target:"_blank",rel:"noopener noreferrer"},o,{href:t}),a,Object(n.createElement)("span",{className:"yst-sr-only"},
/* translators: Hidden accessibility text. */
Object(s.__)("(Opens in a new browser tab)","wordpress-seo")))};y.propTypes={href:i.a.string.isRequired,children:i.a.node},y.defaultProps={children:null};var w,O,j,E,v,_,k,x,T,S,R,C,I,P,L=a(207);function A(){return(A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function M(e){return d.createElement("svg",A({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)"})),E||(E=d.createElement("path",{fill:"#f3f4f6",d:"M500 181.64l-172.75-25.11L250 0v394.3l154.51 81.23L375 303.48l125-121.84z"})))}function N(){return(N=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function D(e){return d.createElement("svg",N({xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 500 475.53"},e),v||(v=d.createElement("path",{fill:"#fbbf24",d:"M250 0l77.25 156.53L500 181.64 375 303.48l29.51 172.05L250 394.3 95.49 475.53 125 303.48 0 181.64l172.75-25.11L250 0z"})))}function F(){return(F=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function q(e){return d.createElement("svg",F({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 500 500"},e),_||(_=d.createElement("path",{d:"M80 0h340a80 80 0 0180 80v420H80a80 80 0 01-80-80V80A80 80 0 0180 0z",fill:"#a4286a"})),k||(k=d.createElement("path",{d:"M437.61 2L155.89 500H500V80a80 80 0 00-62.39-78z",fill:"#6c2548"})),x||(x=d.createElement("path",{d:"M74.4 337.3v34.9c21.6-.9 38.5-8 52.8-22.5s27.4-38 39.9-72.9l92.6-248h-44.8L140.3 236l-37-116.2h-41l54.4 139.8a57.54 57.54 0 010 41.8c-5.5 14.2-15.4 30.9-42.3 35.9z",fill:"#fff"})),T||(T=d.createElement("circle",{cx:368.33,cy:124.68,r:97.34,transform:"rotate(-45 368.335 124.68)",fill:"#9fda4f"})),S||(S=d.createElement("path",{d:"M416.2 39.93l-95.74 169.51A97.34 97.34 0 10416.2 39.93z",fill:"#77b227"})),R||(R=d.createElement("path",{d:"M294.78 254.75l-.15-.08-.13-.07a63.6 63.6 0 00-62.56 110.76h.13a63.6 63.6 0 0062.71-110.67z",fill:"#fec228"})),C||(C=d.createElement("path",{d:"M294.5 254.59l-62.56 110.76a63.6 63.6 0 1062.56-110.76z",fill:"#f49a00"})),I||(I=d.createElement("path",{d:"M222.31 450.07A38.16 38.16 0 00203 416.83a38.18 38.18 0 1019.41 33.27z",fill:"#ff4e47"})),P||(P=d.createElement("path",{d:"M202.9 416.8l-37.54 66.48a38.17 38.17 0 0037.54-66.48z",fill:"#ed261f"})))}const z=e=>{let{link:t,linkProps:a,promotions:o}=e;const i=Object(n.useMemo)(()=>Object(s.__)("Use AI to generate titles and meta descriptions, automatically redirect deleted pages, get 24/7 support and much, much more!","wordpress-seo"),[]),c=Object(n.createInterpolateElement)(Object(s.sprintf)(
/* translators: %1$s and %2$s expand to a span wrap to avoid linebreaks. %3$s expands to "Yoast SEO Premium". */
Object(s.__)("%1$sGet%2$s %3$s","wordpress-seo"),"<nowrap>","</nowrap>","Yoast SEO Premium"),{nowrap:Object(n.createElement)("span",{className:"yst-whitespace-nowrap"})}),l=o.includes("black-friday-2023-promotion"),d=Object(n.createInterpolateElement)(Object(s.sprintf)(
/* translators: %1$s and %2$s expand to strong tags. */
Object(s.__)("%1$sSAVE 30%%%2$s on your 12 month subscription","wordpress-seo"),"<strong>","</strong>"),{strong:Object(n.createElement)("strong",null)});return Object(n.createElement)("div",{className:"yst-p-6 yst-rounded-lg yst-text-white yst-bg-primary-500 yst-shadow"},Object(n.createElement)("figure",{className:"yst-logo-square yst-w-16 yst-h-16 yst-mx-auto yst-overflow-hidden yst-border yst-border-white yst-rounded-xl yst-rounded-br-none yst-relative yst-z-10 yst-mt-[-2.6rem]"},Object(n.createElement)(q,null)),l&&Object(n.createElement)("div",{className:"sidebar__sale_banner_container"},Object(n.createElement)("div",{className:"sidebar__sale_banner"},Object(n.createElement)("span",{className:"banner_text"},Object(s.__)("BLACK FRIDAY - 30% OFF","wordpress-seo")))),Object(n.createElement)(r.Title,{as:"h2",className:"yst-mt-6 yst-text-base yst-font-extrabold yst-text-white"},c),Object(n.createElement)("p",{className:"yst-mt-2"},i),l&&Object(n.createElement)("div",{className:"yst-text-center yst-border-t-[1px] yst-border-white yst-italic yst-mt-3"},Object(n.createElement)("p",{className:"yst-text-[10px] yst-my-3 yst-mx-0"},d)),Object(n.createElement)(r.Button,f()({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"},a),Object(n.createElement)("span",null,l?Object(s.__)("Claim your 30% off now!","wordpress-seo"):c),Object(n.createElement)(L.a,{className:"yst-w-4 yst-h-4 yst-icon-rtl"})),Object(n.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(n.createElement)("span",{className:"yst-font-medium yst-text-white hover:yst-underline"},Object(s.__)("Read reviews from real users","wordpress-seo")),Object(n.createElement)("span",{className:"yst-flex yst-gap-2 yst-mt-2 yst-items-center"},Object(n.createElement)(h,{className:"yst-w-5 yst-h-5"}),Object(n.createElement)("span",{className:"yst-flex yst-gap-1"},Object(n.createElement)(D,{className:"yst-w-5 yst-h-5"}),Object(n.createElement)(D,{className:"yst-w-5 yst-h-5"}),Object(n.createElement)(D,{className:"yst-w-5 yst-h-5"}),Object(n.createElement)(D,{className:"yst-w-5 yst-h-5"}),Object(n.createElement)(M,{className:"yst-w-5 yst-h-5"})),Object(n.createElement)("span",{className:"yst-text-sm yst-font-semibold yst-text-white"},"4.6 / 5"))))};z.propTypes={link:i.a.string.isRequired,linkProps:i.a.object,promotions:i.a.array},z.defaultProps={linkProps:{},promotions:[]};const U=e=>{let{children:t}=e;return Object(n.createElement)("div",{className:"xl:yst-max-w-3xl xl:yst-fixed xl:yst-right-8 xl:yst-w-[16rem]"},Object(n.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))};U.propTypes={children:i.a.node.isRequired};var W=a(102),$=a(12);const B=e=>{let{videoId:t,thumbnail:a,wistiaEmbedPermission:o}=e;const[i,c]=Object(n.useState)(o.value?$.c.isPlaying:$.c.showPlay),l=Object(n.useCallback)(()=>c($.c.isPlaying),[c]),d=Object(n.useCallback)(()=>{o.value?l():c($.c.askPermission)},[o.value,l,c]),u=Object(n.useCallback)(()=>c($.c.showPlay),[c]),p=Object(n.useCallback)(()=>{o.set(!0),l()},[o.set,l]);return Object(n.createElement)(n.Fragment,null,o.value&&Object(n.createElement)(W.Helmet,null,Object(n.createElement)("script",{src:"https://fast.wistia.com/assets/external/E-v1.js",async:!0})),Object(n.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===$.c.showPlay&&Object(n.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(n.createElement)("img",f()({className:"yst-w-full yst-h-auto",alt:"",loading:"lazy",decoding:"async"},a))),i===$.c.askPermission&&Object(n.createElement)("div",{className:"yst-absolute yst-inset-0 yst-flex yst-flex-col yst-items-center yst-justify-center yst-bg-white"},Object(n.createElement)("p",{className:"yst-max-w-xs yst-mx-auto yst-text-center"},o.status===$.b.loading&&Object(n.createElement)(r.Spinner,null),o.status!==$.b.loading&&Object(s.sprintf)(
/* translators: %1$s expands to Yoast SEO. %2$s expands to Wistia. */
Object(s.__)("To see this video, you need to allow %1$s to load embedded videos from %2$s.","wordpress-seo"),"Yoast SEO","Wistia")),Object(n.createElement)("div",{className:"yst-flex yst-mt-6 yst-gap-x-4"},Object(n.createElement)(r.Button,{type:"button",variant:"secondary",onClick:u,disabled:o.status===$.b.loading},Object(s.__)("Deny","wordpress-seo")),Object(n.createElement)(r.Button,{type:"button",variant:"primary",onClick:p,disabled:o.status===$.b.loading},Object(s.__)("Allow","wordpress-seo")))),o.value&&i===$.c.isPlaying&&Object(n.createElement)("div",{className:"yst-absolute yst-w-full yst-h-full yst-top-0 yst-left-0"},null===t&&Object(n.createElement)(r.Spinner,{className:"yst-h-full yst-mx-auto"}),null!==t&&Object(n.createElement)("div",{className:`wistia_embed wistia_async_${t} videoFoam=true`}))))};B.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,a){"use strict";a.d(t,"b",(function(){return i})),a.d(t,"a",(function(){return o}));var n=a(9),s=a.n(n),r=a(16);const o=s.a.legend`
margin: 16px 0;
padding: 0;
color: ${r.colors.$color_headings};
font-size: 12px;
font-weight: 300;
`,i=s.a.legend`
margin: 0 0 16px;
padding: 0;
color: ${r.colors.$color_headings};
font-size: 12px;
font-weight: 300;
`},function(e,t,a){"use strict";a.d(t,"a",(function(){return d}));var n=a(10),s=a.n(n),r=a(0),o=a(2),i=a.n(o),c=a(5),l=a(97);const d=e=>{let{store:t="yoast-seo/editor",image:a=null,title:n,promoId:o,alertKey:i,children:d,...u}=e;return Object(c.select)(t).isPromotionActive(o)&&Object(r.createElement)(l.a,s()({alertKey:i,store:t,id:i,title:n,image:a},u),d)};d.propTypes={store:i.a.string,image:i.a.elementType,title:i.a.any.isRequired,promoId:i.a.string.isRequired,alertKey:i.a.string.isRequired,children:i.a.node}},function(e,t,a){"use strict";var n=a(0),s=a(8),r=a(2),o=a.n(r);const i=e=>{const[t,a]=Object(n.useState)(!1),{prefixIcon:r}=e;return Object(n.createElement)("div",{className:"yoast components-panel__body "+(t?"is-opened":"")},Object(n.createElement)("h2",{className:"components-panel__body-title"},Object(n.createElement)("button",{onClick:function(){a(!t)},className:"components-button components-panel__body-toggle"},Object(n.createElement)("span",{className:"yoast-icon-span",style:{fill:""+(r&&r.color||"")}},r&&Object(n.createElement)(s.SvgIcon,{icon:r.icon,color:r.color,size:r.size})),Object(n.createElement)("span",{className:"yoast-title-container"},Object(n.createElement)("div",{className:"yoast-title"},e.title),Object(n.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.hasBetaBadgeLabel&&Object(n.createElement)(s.BetaBadge,null),Object(n.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),t&&e.children)};t.a=i,i.propTypes={title:o.a.string.isRequired,children:o.a.oneOfType([o.a.node,o.a.arrayOf(o.a.node)]).isRequired,prefixIcon:o.a.object,subTitle:o.a.string,hasBetaBadgeLabel:o.a.bool},i.defaultProps={prefixIcon:null,subTitle:"",hasBetaBadgeLabel:!1}},function(e,t){e.exports=window.moment},function(e,t,a){"use strict";a.d(t,"a",(function(){return c}));var n=a(0),s=a(6),r=a(2),o=a.n(r);const i={variant:{lg:{grid:"yst-grid lg:yst-grid-cols-3 lg:yst-gap-12",col1:"yst-col-span-1",col2:"lg:yst-mt-0 lg:yst-col-span-2"},xl:{grid:"yst-grid xl:yst-grid-cols-3 xl:yst-gap-12",col1:"yst-col-span-1",col2:"xl:yst-mt-0 xl:yst-col-span-2"},"2xl":{grid:"yst-grid 2xl:yst-grid-cols-3 2xl:yst-gap-12",col1:"yst-col-span-1",col2:"2xl:yst-mt-0 2xl:yst-col-span-2"}}},c=e=>{let{id:t,children:a,title:r,description:o=null,variant:c="2xl"}=e;return Object(n.createElement)("section",{id:t,className:i.variant[c].grid},Object(n.createElement)("div",{className:i.variant[c].col1},Object(n.createElement)("div",{className:"yst-max-w-screen-sm"},Object(n.createElement)(s.Title,{as:"h2",size:"4"},r),o&&Object(n.createElement)("p",{className:"yst-mt-2"},o))),Object(n.createElement)("fieldset",{className:"yst-min-w-0 yst-mt-8 "+i.variant[c].col2},Object(n.createElement)("legend",{className:"yst-sr-only"},r),Object(n.createElement)("div",{className:"yst-space-y-8"},a)))};c.propTypes={id:o.a.string,children:o.a.node.isRequired,title:o.a.node.isRequired,description:o.a.node,variant:o.a.oneOf(Object.keys(i.variant))}},function(e,t){e.exports=window.yoast.featureFlag},,,,function(e,t,a){"use strict";var n=a(0),s=a(1),r=a(2),o=a.n(r),i=a(118);const c=e=>{let{children:t,id:a,hasIcon:r=!0,title:o,image:i=null,isAlertDismissed:c,onDismissed:l}=e;return c?null:Object(n.createElement)("div",{id:a,className:"notice-yoast yoast is-dismissible"},Object(n.createElement)("div",{className:"notice-yoast__container"},Object(n.createElement)("div",null,Object(n.createElement)("div",{className:"notice-yoast__header"},r&&Object(n.createElement)("span",{className:"yoast-icon"}),Object(n.createElement)("h2",{className:"notice-yoast__header-heading"},o)),Object(n.createElement)("p",null,t)),i&&Object(n.createElement)(i,{height:"60"})),Object(n.createElement)("button",{className:"notice-dismiss",onClick:l},Object(n.createElement)("span",{className:"screen-reader-text"},
/* translators: Hidden accessibility text. */
Object(s.__)("Dismiss this notice.","wordpress-seo"))))};c.propTypes={children:o.a.node.isRequired,id:o.a.string.isRequired,hasIcon:o.a.bool,title:o.a.any.isRequired,image:o.a.elementType,isAlertDismissed:o.a.bool.isRequired,onDismissed:o.a.func.isRequired},t.a=Object(i.a)(c)},,function(e,t,a){"use strict";a.r(t),a.d(t,"refreshDelay",(function(){return n}));const n=500},,function(e,t,a){"use strict";a.d(t,"a",(function(){return p})),a.d(t,"b",(function(){return m}));var n=a(4),s=a(15),r=a(69);function o(){return Object(n.get)(window,["wpseoAdminL10n","default_query_params"],{})}var i=a(132),c=a(73),l=a(56),d=a(107),u=a(93);function p(){const e=Object(n.get)(window,["wpseoScriptData","analysis","worker","url"],"analysis-worker.js"),t=Object(s.createWorker)(e),a=Object(n.get)(window,["wpseoScriptData","analysis","worker","dependencies"],[]),r=[];for(const e in a){if(!Object.prototype.hasOwnProperty.call(a,e))continue;const t=window.document.getElementById(e+"-js-translations");if(!t)continue;const n=t.innerHTML.slice(214),s=n.indexOf(","),o=n.slice(0,s-1);try{const e=JSON.parse(n.slice(s+1,-4));r.push([o,e])}catch(t){console.warn(`Failed to parse translation data for ${e} to send to the Yoast SEO worker`);continue}}return t.postMessage({dependencies:a,translations:r}),new s.AnalysisWorkerWrapper(t)}function m(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={locale:Object(r.a)(),contentAnalysisActive:Object(c.a)(),keywordAnalysisActive:Object(l.a)(),inclusiveLanguageAnalysisActive:Object(d.a)(),defaultQueryParams:o(),logLevel:Object(n.get)(window,["wpseoScriptData","analysis","worker","log_level"],"ERROR"),enabledFeatures:Object(u.enabledFeatures)()};t=Object(n.merge)(t,e);const a=Object(i.a)();return Object(n.isUndefined)(a)||Object(n.isUndefined)(a.domain)||(t.translations=a),t}},function(e,t){e.exports=window.yoast.reactHelmet},function(e,t,a){"use strict";var n=a(20),s=a(5),r=a(105);t.a=Object(n.compose)([Object(s.withSelect)((e,t)=>{const{getPostOrPageString:a,getIsModalOpen:n}=e("yoast-seo/editor");return{postTypeName:a(),isOpen:n(t.id)}}),Object(s.withDispatch)((e,t)=>{const{openEditorModal:a,closeEditorModal:n}=e("yoast-seo/editor");return{open:()=>a(t.id),close:n}})])(r.a)},function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));class n{static get articleTypeInput(){return document.getElementById("yoast_wpseo_schema_article_type")}static get defaultArticleType(){return n.articleTypeInput.getAttribute("data-default")}static get articleType(){return n.articleTypeInput.value}static set articleType(e){n.articleTypeInput.value=e}static get pageTypeInput(){return document.getElementById("yoast_wpseo_schema_page_type")}static get defaultPageType(){return n.pageTypeInput.getAttribute("data-default")}static get pageType(){return n.pageTypeInput.value}static set pageType(e){n.pageTypeInput.value=e}}},function(e,t,a){"use strict";a.d(t,"b",(function(){return u}));var n=a(0),s=a(1),r=a(33),o=a(2),i=a.n(o),c=a(4),l=a(50),d=a(22);const u=e=>{let t=!0;if("blur"===e.type){const{relatedTarget:a}=e;if(a){const e=["media-modal","wp-core-ui"];t=Object(c.intersection)(e,Array.from(a.classList)).length!==e.length}}return t},p=e=>{let{id:t,postTypeName:a,children:o,title:i,isOpen:c,close:p,open:m,shouldCloseOnClickOutside:b,showChangesWarning:h,SuffixHeroIcon:g}=e;const f=Object(n.useCallback)(e=>{u(e)&&p()},[p]);return Object(n.createElement)(n.Fragment,null,c&&Object(n.createElement)(d.LocationProvider,{value:"modal"},Object(n.createElement)(r.a,{title:i,onRequestClose:f,additionalClassName:"yoast-collapsible-modal yoast-post-settings-modal",id:"id",shouldCloseOnClickOutside:b},Object(n.createElement)("div",{className:"yoast-content-container"},Object(n.createElement)("div",{className:"yoast-modal-content"},o)),Object(n.createElement)("div",{className:"yoast-notice-container"},Object(n.createElement)("hr",null),Object(n.createElement)("div",{className:"yoast-button-container"},h&&Object(n.createElement)("p",null,
/* Translators: %s translates to the Post Label in singular form */
Object(s.sprintf)(Object(s.__)("Make sure to save your %s for changes to take effect","wordpress-seo"),a)),Object(n.createElement)("button",{className:"yoast-button yoast-button--primary yoast-button--post-settings-modal",type:"button",onClick:f},
/* Translators: %s translates to the Post Label in singular form */
Object(s.sprintf)(Object(s.__)("Return to your %s","wordpress-seo"),a)))))),Object(n.createElement)(l.a,{id:t+"-open-button",title:i,SuffixHeroIcon:g,suffixIcon:!g&&{size:"20px",icon:"pencil-square"},onClick:m}))};p.propTypes={id:i.a.string.isRequired,postTypeName:i.a.string.isRequired,children:i.a.oneOfType([i.a.node,i.a.arrayOf(i.a.node)]).isRequired,title:i.a.string.isRequired,isOpen:i.a.bool.isRequired,open:i.a.func.isRequired,close:i.a.func.isRequired,shouldCloseOnClickOutside:i.a.bool,showChangesWarning:i.a.bool,SuffixHeroIcon:i.a.object},p.defaultProps={shouldCloseOnClickOutside:!0,showChangesWarning:!0},t.a=p},function(e,t,a){"use strict";function n(e){let t=document.getElementById("yoast-measurement-element");return t||(t=function(){const e=document.createElement("div");return e.id="yoast-measurement-element",e.style.position="absolute",e.style.left="-9999em",e.style.top=0,e.style.height=0,e.style.overflow="hidden",e.style.fontFamily="arial, sans-serif",e.style.fontSize="20px",e.style.fontWeight="400",document.body.appendChild(e),e}()),t.innerText=e,t.offsetWidth}a.d(t,"a",(function(){return n}))},function(e,t,a){"use strict";a.d(t,"a",(function(){return r}));var n=a(18),s=a(4);function r(){const e=Object(n.a)();return 1===Object(s.get)(e,"inclusiveLanguageAnalysisActive",0)}},function(e,t,a){"use strict";a.d(t,"a",(function(){return g})),a.d(t,"c",(function(){return f})),a.d(t,"b",(function(){return y}));var n=a(0),s=a(2),r=a.n(s),o=a(1),i=a(4),c=a(91),l=a.n(c),d=a(8),u=a(11),p=a(81),m=()=>Object(n.createElement)("p",{className:"yoast-wincher-seo-performance-modal__loading-message"},Object(o.__)("Tracking the ranking position...","wordpress-seo")," ",Object(n.createElement)(d.SvgIcon,{icon:"loading-spinner"}));const b=Object(u.makeOutboundLink)();function h(e){return Math.round(100*e)}function g(e){let{chartData:t}=e;if(Object(i.isEmpty)(t)||Object(i.isEmpty)(t.position))return"?";const a=function(e){return Array.from({length:e.position.history.length},(e,t)=>t+1).map(e=>Object(o.sprintf)(Object(o._n)("%d day","%d days",e,"wordpress-seo"),e))}(t),s=t.position.history.map((e,t)=>({x:t,y:101-e.value}));return Object(n.createElement)(p.a,{width:66,height:24,data:s,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:h,dataTableCaption:Object(o.__)("Keyphrase position in the last 90 days on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:a})}function f(e){return!e||!e.position||e.position.value>100?"> 100":e.position.value}function y(e){const{keyphrase:t,rowData:a,onTrackKeyphrase:s,onUntrackKeyphrase:r,isFocusKeyphrase:c,isDisabled:u,isLoading:p}=e,h=!Object(i.isEmpty)(a),y=Object(n.useCallback)(()=>{u||(h?r(t,a.id):s(t))},[t,s,r,h,a,u]);return Object(n.createElement)("tr",null,Object(n.createElement)("td",{className:"yoast-table--nopadding"},function(e){let{keyphrase:t,isEnabled:a,toggleAction:s,isLoading:r}=e;return r?Object(n.createElement)(d.SvgIcon,{icon:"loading-spinner"}):Object(n.createElement)(d.Toggle,{id:"toggle-keyphrase-tracking-"+t,className:"wincher-toggle",isEnabled:a,onSetToggleState:s,showToggleStateLabel:!1})}({keyphrase:t,isEnabled:h,toggleAction:y,isLoading:p})),Object(n.createElement)("td",null,t,c&&Object(n.createElement)("span",null,"*")),function(e){const{rowData:t,websiteId:a}=e,s=!Object(i.isEmpty)(t),r=t&&t.updated_at&&l()(t.updated_at)>=l()().subtract(7,"days"),c=t?Object(o.sprintf)("https://app.wincher.com/websites/%s/keywords?serp=%s&utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast",a,t.id):null;return s?r?Object(n.createElement)(n.Fragment,null,Object(n.createElement)("td",null,f(t)),Object(n.createElement)("td",{className:"yoast-table--nopadding"},Object(n.createElement)(g,{chartData:t})),Object(n.createElement)("td",{className:"yoast-table--nobreak"},Object(n.createElement)(b,{href:c},Object(o.__)("View","wordpress-seo")))):Object(n.createElement)(n.Fragment,null,Object(n.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},Object(n.createElement)(m,null))):Object(n.createElement)(n.Fragment,null,Object(n.createElement)("td",null,"?"),Object(n.createElement)("td",{className:"yoast-table--nopadding"},"?"),Object(n.createElement)("td",{className:"yoast-table--nobreak"}))}(e))}g.propTypes={chartData:r.a.object},g.defaultProps={chartData:{}},y.propTypes={rowData:r.a.object,keyphrase:r.a.string.isRequired,onTrackKeyphrase:r.a.func,onUntrackKeyphrase:r.a.func,isFocusKeyphrase:r.a.bool,isDisabled:r.a.bool,isLoading:r.a.bool,websiteId:r.a.string},y.defaultProps={rowData:{},onTrackKeyphrase:()=>{},onUntrackKeyphrase:()=>{},isFocusKeyphrase:!1,isDisabled:!1,isLoading:!1,websiteId:""}},,,,function(e,t,a){"use strict";function n(e){return function(){return e}}var s=function(){};s.thatReturns=n,s.thatReturnsFalse=n(!1),s.thatReturnsTrue=n(!0),s.thatReturnsNull=n(null),s.thatReturnsThis=function(){return this},s.thatReturnsArgument=function(e){return e},e.exports=s},function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var n,s,r=a(3);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function i(e){return r.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 425 456.27","aria-hidden":"true"},e),n||(n=r.createElement("path",{d:"M73 405.26a66.79 66.79 0 01-6.54-1.7 64.75 64.75 0 01-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 01-5.08-4.19 69.21 69.21 0 01-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 01-3.44-5.64 68.29 68.29 0 01-8.29-32.55V142.13a68.26 68.26 0 018.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0114.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0173 75.09a68.75 68.75 0 0113.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 000 142.13v196.09A86.84 86.84 0 0086.75 425h11.32v-18.35H86.75A68.75 68.75 0 0173 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 018.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 01391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 018.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 00-56.45-81.28z"})),s||(s=r.createElement("path",{d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 010 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z",stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81})))}},function(e,t){e.exports=window.wp.sanitize},function(e,t,a){"use strict";var n=a(10),s=a.n(n),r=a(0),o=a(9),i=a.n(o),c=a(39),l=a.n(c),d=a(2),u=a.n(d),p=a(1),m=a(8),b=a(16),h=a(11),g=a(35);const f=i.a.p`
color: ${b.colors.$color_pink_dark};
font-size: 14px;
font-weight: 700;
margin: 13px 0 10px;
`,y=i()(m.SvgIcon)`
margin-right: 5px;
vertical-align: middle;
`,w=i.a.button`
position: absolute;
top: 9px;
right: 9px;
border: none;
background: none;
cursor: pointer;
`,O=i.a.p`
font-size: 13px;
font-weight: 500;
margin: 10px 0 13px;
`,j=i.a.div`
position: relative;
background: ${e=>e.isTitleShortened?"#F5F7F7":"transparent"};
border: 1px solid #C7C7C7;
border-left: 4px solid${b.colors.$color_pink_dark};
padding: 0 16px;
margin-bottom: 1.5em;
`,E=e=>{let{limit:t,usage:a,isTitleShortened:n,isFreeAccount:s}=e;const o=Object(p.sprintf)(
/* Translators: %1$s expands to the number of used keywords.
* %2$s expands to the account keywords limit.
*/
Object(p.__)("Your are tracking %1$s out of %2$s keyphrases included in your free account.","wordpress-seo"),a,t),i=Object(p.sprintf)(
/* Translators: %1$s expands to the number of used keywords.
* %2$s expands to the account keywords limit.
*/
Object(p.__)("Your are tracking %1$s out of %2$s keyphrases included in your account.","wordpress-seo"),a,t),c=s?o:i,l=Object(p.sprintf)(
/* Translators: %1$s expands to the number of used keywords.
* %2$s expands to the account keywords limit.
*/
Object(p.__)("Keyphrases tracked: %1$s/%2$s","wordpress-seo"),a,t),d=n?l:c;return Object(r.createElement)(f,null,n&&Object(r.createElement)(y,{icon:"exclamation-triangle",color:b.colors.$color_pink_dark,size:"14px"}),d)};E.propTypes={limit:u.a.number.isRequired,usage:u.a.number.isRequired,isTitleShortened:u.a.bool,isFreeAccount:u.a.bool};const v=Object(h.makeOutboundLink)(),_=e=>{let{discount:t,months:a}=e;const n=Object(r.createElement)(v,{href:wpseoAdminGlobalL10n["links.wincher.upgrade"],style:{fontWeight:600}},Object(p.sprintf)(
/* Translators: %s : Expands to "Wincher". */
Object(p.__)("Click here to upgrade your %s plan","wordpress-seo"),"Wincher"));if(!t||!a)return Object(r.createElement)(O,null,n);const s=100*t,o=Object(p.sprintf)(
/* Translators: %1$s expands to upgrade account link.
* %2$s expands to the upgrade discount value.
* %3$s expands to the upgrade discount duration e.g. 2 months.
*/
Object(p.__)("%1$s and get an exclusive %2$s discount for %3$s month(s).","wordpress-seo"),"{{wincherAccountUpgradeLink/}}",s+"%",a);return Object(r.createElement)(O,null,l()({mixedString:o,components:{wincherAccountUpgradeLink:n}}))};_.propTypes={discount:u.a.number,months:u.a.number};const k=e=>{let{onClose:t,isTitleShortened:a}=e;const n=(()=>{const[e,t]=Object(r.useState)(null);return Object(r.useEffect)(()=>{e||Object(g.b)().then(e=>t(e))},[e]),e})(),o=(()=>{const[e,t]=Object(r.useState)(null);return Object(r.useEffect)(()=>{e||Object(g.e)().then(e=>t(e))},[e]),e})();if(null===n)return null;const{limit:i,usage:c}=n;if(!(i&&c/i>=.8))return null;const l=Boolean(null==o?void 0:o.discount);return Object(r.createElement)(j,{isTitleShortened:a},t&&Object(r.createElement)(w,{"aria-label":Object(p.__)("Close the upgrade callout","wordpress-seo"),onClick:t},Object(r.createElement)(m.SvgIcon,{icon:"times-circle",color:b.colors.$color_pink_dark,size:"14px"})),Object(r.createElement)(E,s()({},n,{isTitleShortened:a,isFreeAccount:l})),Object(r.createElement)(_,{discount:null==o?void 0:o.discount,months:null==o?void 0:o.months}))};k.propTypes={onClose:u.a.func,isTitleShortened:u.a.bool},t.a=k},function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));class n{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.url=e,this.origin=new URL(e).origin,this.eventHandlers=Object.assign({success:{type:"",callback:()=>{}},error:{type:"",callback:()=>{}}},t),this.options=Object.assign({height:570,width:340,title:""},a),this.popup=null,this.createPopup=this.createPopup.bind(this),this.messageHandler=this.messageHandler.bind(this),this.getPopup=this.getPopup.bind(this)}createPopup(){const{height:e,width:t,title:a}=this.options,n=["top="+(window.top.outerHeight/2+window.top.screenY-e/2),"left="+(window.top.outerWidth/2+window.top.screenX-t/2),"width="+t,"height="+e,"resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(this.url,a,n.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.messageHandler,!1)}async messageHandler(e){const{data:t,source:a,origin:n}=e;n===this.origin&&this.popup===a&&(t.type===this.eventHandlers.success.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.success.callback(t)),t.type===this.eventHandlers.error.type&&(this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),await this.eventHandlers.error.callback(t)))}getPopup(){return this.popup}isClosed(){return!this.popup||this.popup.closed}focus(){this.isClosed()||this.popup.focus()}}},function(e,t,a){"use strict";var n=a(0),s=a(2),r=a.n(s),o=a(1),i=a(39),c=a.n(i),l=a(8);const d=e=>{const t=Object(o.sprintf)(
/* translators: %s expands to a link to open the Wincher login popup. */
Object(o.__)("It seems like something went wrong when retrieving your website's data. Please %s and try again.","wordpress-seo"),"{{reconnectToWincher/}}","Wincher");return Object(n.createElement)(l.Alert,{type:"error",className:e.className},c()({mixedString:t,components:{reconnectToWincher:Object(n.createElement)("a",{href:"#",onClick:t=>{t.preventDefault(),e.onReconnect()}},Object(o.sprintf)(
/* translators: %s : Expands to "Wincher". */
Object(o.__)("reconnect to %s","wordpress-seo"),"Wincher"))}}))};d.propTypes={onReconnect:r.a.func.isRequired,className:r.a.string},d.defaultProps={className:""},t.a=d},function(e,t,a){"use strict";var n=a(20),s=a(5);const r=Object(n.compose)([Object(s.withSelect)((e,t)=>{const{isAlertDismissed:a}=e(t.store||"yoast-seo/editor");return{isAlertDismissed:a(t.alertKey)}}),Object(s.withDispatch)((e,t)=>{const{dismissAlert:a}=e(t.store||"yoast-seo/editor");return{onDismissed:()=>a(t.alertKey)}})]);t.a=r},function(e,t,a){"use strict";var n=a(0),s=a(1),r=a(2),o=a.n(r),i=a(138),c=a(6);const l=e=>{let{link:t,text:a}=e;return Object(n.createElement)(c.Root,null,Object(n.createElement)("p",null,a),Object(n.createElement)(c.Button,{href:t,as:"a",className:"yst-gap-2 yst-mb-5 yst-mt-2",variant:"upsell",target:"_blank",rel:"noopener"},Object(n.createElement)(i.a,{className:"yst-w-4 yst-h-4 yst--ml-1 yst-shrink-0"}),Object(s.sprintf)(
/* translators: %1$s expands to Yoast WooCommerce SEO. */
Object(s.__)("Unlock with %1$s","wordpress-seo"),"Yoast WooCommerce SEO")))};l.propTypes={link:o.a.string.isRequired,text:o.a.string.isRequired},t.a=l},function(e,t,a){"use strict";var n=a(0),s=a(2),r=a.n(s),o=a(10),i=a.n(o),c=a(1),l=a(4),d=a(6),u=a(9),p=a.n(u),m=a(14),b=a(3),h=a.n(b);const g=p.a.p`
color: #606770;
flex-shrink: 0;
font-size: 12px;
line-height: 16px;
overflow: hidden;
padding: 0;
text-overflow: ellipsis;
text-transform: uppercase;
white-space: nowrap;
margin: 0;
position: ${e=>"landscape"===e.mode?"relative":"static"};
`,f=e=>{const{siteUrl:t}=e;return Object(n.createElement)(b.Fragment,null,Object(n.createElement)("span",{className:"screen-reader-text"},t),Object(n.createElement)(g,{"aria-hidden":"true"},Object(n.createElement)("span",null,t)))};f.propTypes={siteUrl:r.a.string.isRequired};var y=f,w=a(23),O=a(16);const j=p.a.img`
&& {
max-width: ${e=>e.width}px;
height: ${e=>e.height}px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
max-width: none;
}
`,E=p.a.img`
&&{
height: 100%;
position: absolute;
width: 100%;
object-fit: cover;
}
`,v=p.a.div`
padding-bottom: ${e=>e.aspectRatio}%;
`,_=e=>{const{imageProps:t,width:a,height:s,imageMode:r}=e;return"landscape"===r?Object(n.createElement)(v,{aspectRatio:t.aspectRatio},Object(n.createElement)(E,{src:t.src,alt:t.alt})):Object(n.createElement)(j,{src:t.src,alt:t.alt,width:a,height:s,imageProperties:t})};function k(e){return"Twitter"===e?w.TWITTER_IMAGE_SIZES:w.FACEBOOK_IMAGE_SIZES}function x(e){return new Promise((t,a)=>{const n=new Image;n.onload=()=>{t({width:n.width,height:n.height})},n.onerror=a,n.src=e})}function T(e,t,a){return"landscape"===a?{widthRatio:t.width/e.landscapeWidth,heightRatio:t.height/e.landscapeHeight}:"portrait"===a?{widthRatio:t.width/e.portraitWidth,heightRatio:t.height/e.portraitHeight}:{widthRatio:t.width/e.squareWidth,heightRatio:t.height/e.squareHeight}}function S(e,t){return t.widthRatio<=t.heightRatio?{width:Math.round(e.width/t.widthRatio),height:Math.round(e.height/t.widthRatio)}:{width:Math.round(e.width/t.heightRatio),height:Math.round(e.height/t.heightRatio)}}function R(e,t,a){return"square"===a&&t.width===t.height?{width:e.squareWidth,height:e.squareHeight}:S(t,T(e,t,a))}async function C(e,t){let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const n=await x(e);let s=a?"landscape":"square";"Facebook"===t&&(s=Object(w.determineFacebookImageMode)(n));const r=k(t),o=R(r,n,s);return{mode:s,height:o.height,width:o.width}}async function I(e,t){let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{return{imageProperties:await C(e,t,a),status:"loaded"}}catch(e){return{imageProperties:null,status:"errored"}}}_.propTypes={imageProps:r.a.shape({src:r.a.string.isRequired,alt:r.a.string.isRequired,aspectRatio:r.a.number.isRequired}).isRequired,width:r.a.number.isRequired,height:r.a.number.isRequired,imageMode:r.a.string},_.defaultProps={imageMode:"landscape"};const P=p.a.div`
position: relative;
${e=>"landscape"===e.mode?"max-width: "+e.dimensions.width:`min-width: ${e.dimensions.width}; height: ${e.dimensions.height}`};
overflow: hidden;
background-color: ${O.colors.$color_white};
`,L=p.a.div`
box-sizing: border-box;
max-width: ${w.FACEBOOK_IMAGE_SIZES.landscapeWidth}px;
height: ${w.FACEBOOK_IMAGE_SIZES.landscapeHeight}px;
background-color: ${O.colors.$color_grey};
border-style: dashed;
border-width: 1px;
// We're not using standard colors to increase contrast for accessibility.
color: #006DAC;
// We're not using standard colors to increase contrast for accessibility.
background-color: #f1f1f1;
display: flex;
justify-content: center;
align-items: center;
text-decoration: underline;
font-size: 14px;
cursor: pointer;
`;class A extends b.Component{constructor(e){super(e),this.state={imageProperties:null,status:"loading"},this.socialMedium="Facebook",this.handleFacebookImage=this.handleFacebookImage.bind(this),this.setState=this.setState.bind(this)}async handleFacebookImage(){try{const e=await I(this.props.src,this.socialMedium);this.setState(e),this.props.onImageLoaded(e.imageProperties.mode||"landscape")}catch(e){this.setState(e),this.props.onImageLoaded("landscape")}}componentDidUpdate(e){e.src!==this.props.src&&this.handleFacebookImage()}componentDidMount(){this.handleFacebookImage()}retrieveContainerDimensions(e){switch(e){case"square":return{height:w.FACEBOOK_IMAGE_SIZES.squareHeight+"px",width:w.FACEBOOK_IMAGE_SIZES.squareWidth+"px"};case"portrait":return{height:w.FACEBOOK_IMAGE_SIZES.portraitHeight+"px",width:w.FACEBOOK_IMAGE_SIZES.portraitWidth+"px"};case"landscape":return{height:w.FACEBOOK_IMAGE_SIZES.landscapeHeight+"px",width:w.FACEBOOK_IMAGE_SIZES.landscapeWidth+"px"}}}render(){const{imageProperties:e,status:t}=this.state;if("loading"===t||""===this.props.src||"errored"===t)return Object(n.createElement)(L,{onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},Object(c.__)("Select image","wordpress-seo"));const a=this.retrieveContainerDimensions(e.mode);return Object(n.createElement)(P,{mode:e.mode,dimensions:a,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,onClick:this.props.onImageClick},Object(n.createElement)(_,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:w.FACEBOOK_IMAGE_SIZES.aspectRatio},width:e.width,height:e.height,imageMode:e.mode}))}}A.propTypes={src:r.a.string,alt:r.a.string,onImageLoaded:r.a.func,onImageClick:r.a.func,onMouseEnter:r.a.func,onMouseLeave:r.a.func},A.defaultProps={src:"",alt:"",onImageLoaded:l.noop,onImageClick:l.noop,onMouseEnter:l.noop,onMouseLeave:l.noop};var M=A,N=p.a.span`
line-height: ${20}px;
min-height : ${20}px;
color: #1d2129;
font-weight: 600;
overflow: hidden;
font-size: 16px;
margin: 3px 0 0;
letter-spacing: normal;
white-space: normal;
flex-shrink: 0;
cursor: pointer;
display: -webkit-box;
-webkit-line-clamp: ${e=>e.lineCount};
-webkit-box-orient: vertical;
overflow: hidden;
`,D=p.a.p`
line-height: ${16}px;
min-height : ${16}px;
color: #606770;
font-size: 14px;
padding: 0;
text-overflow: ellipsis;
margin: 3px 0 0 0;
display: -webkit-box;
cursor: pointer;
-webkit-line-clamp: ${e=>e.lineCount};
-webkit-box-orient: vertical;
overflow: hidden;
@media all and ( max-width: ${e=>e.maxWidth} ) {
display: none;
}
`;const F=e=>{switch(e){case"landscape":return"527px";case"square":case"portrait":return"369px";default:return"476px"}},q=p.a.div`
box-sizing: border-box;
display: flex;
flex-direction: ${e=>"landscape"===e.mode?"column":"row"};
background-color: #f2f3f5;
max-width: 527px;
`,z=p.a.div`
box-sizing: border-box;
background-color: #f2f3f5;
margin: 0;
padding: 10px 12px;
position: relative;
border-bottom: ${e=>"landscape"===e.mode?"":"1px solid #dddfe2"};
border-top: ${e=>"landscape"===e.mode?"":"1px solid #dddfe2"};
border-right: ${e=>"landscape"===e.mode?"":"1px solid #dddfe2"};
border: ${e=>"landscape"===e.mode?"1px solid #dddfe2":""};
display: flex;
flex-direction: column;
flex-grow: 1;
justify-content: ${e=>"landscape"===e.mode?"flex-start":"center"};
font-size: 12px;
overflow: hidden;
`;class U extends b.Component{constructor(e){super(e),this.state={imageMode:null,maxLineCount:0,descriptionLineCount:0},this.facebookTitleRef=h.a.createRef(),this.onImageLoaded=this.onImageLoaded.bind(this),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}onImageLoaded(e){this.setState({imageMode:e})}getTitleLineCount(){return this.facebookTitleRef.current.offsetHeight/20}maybeSetMaxLineCount(){const{imageMode:e,maxLineCount:t}=this.state,a="landscape"===e?2:5;a!==t&&this.setState({maxLineCount:a})}maybeSetDescriptionLineCount(){const{descriptionLineCount:e,maxLineCount:t,imageMode:a}=this.state,n=this.getTitleLineCount();let s=t-n;"portrait"===a&&(s=5===n?0:4),s!==e&&this.setState({descriptionLineCount:s})}componentDidUpdate(){this.maybeSetMaxLineCount(),this.maybeSetDescriptionLineCount()}render(){const{imageMode:e,maxLineCount:t,descriptionLineCount:a}=this.state;return Object(n.createElement)(q,{id:"facebookPreview",mode:e},Object(n.createElement)(M,{src:this.props.imageUrl||this.props.imageFallbackUrl,alt:this.props.alt,onImageLoaded:this.onImageLoaded,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),Object(n.createElement)(z,{mode:e},Object(n.createElement)(y,{siteUrl:this.props.siteUrl,mode:e}),Object(n.createElement)(N,{ref:this.facebookTitleRef,onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle,lineCount:t},this.props.title),a>0&&Object(n.createElement)(D,{maxWidth:F(e),onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription,lineCount:a},this.props.description)))}}U.propTypes={siteUrl:r.a.string.isRequired,title:r.a.string.isRequired,description:r.a.string,imageUrl:r.a.string,imageFallbackUrl:r.a.string,alt:r.a.string,onSelect:r.a.func,onImageClick:r.a.func,onMouseHover:r.a.func},U.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{}};var W=U;const $=p.a.div`
text-transform: lowercase;
color: rgb(83, 100, 113);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin: 0;
fill: currentcolor;
display: flex;
flex-direction: row;
align-items: flex-end;
`,B=e=>Object(n.createElement)($,null,Object(n.createElement)("span",null,e.siteUrl));B.propTypes={siteUrl:r.a.string.isRequired};var K=B;const H=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e?`\n\t\t\tmax-width: ${w.TWITTER_IMAGE_SIZES.landscapeWidth}px;\n\t\t\t${t?"border-bottom: 1px solid #E1E8ED;":""}\n\t\t\tborder-radius: 14px 14px 0 0;\n\t\t\t`:`\n\t\twidth: ${w.TWITTER_IMAGE_SIZES.squareWidth}px;\n\t\t${t?"border-right: 1px solid #E1E8ED;":""}\n\t\tborder-radius: 14px 0 0 14px;\n\t\t`},V=p.a.div`
position: relative;
box-sizing: content-box;
overflow: hidden;
background-color: #e1e8ed;
flex-shrink: 0;
${e=>H(e.isLarge)}
`,Y=p.a.div`
display: flex;
justify-content: center;
align-items: center;
box-sizing: border-box;
max-width: 100%;
margin: 0;
padding: 1em;
text-align: center;
font-size: 1rem;
${e=>H(e.isLarge,!1)}
`,G=p()(Y)`
${e=>e.isLarge&&`height: ${w.TWITTER_IMAGE_SIZES.landscapeHeight}px;`}
border-top-left-radius: 14px;
${e=>e.isLarge?"border-top-right-radius":"border-bottom-left-radius"}: 14px;
border-style: dashed;
border-width: 1px;
// We're not using standard colors to increase contrast for accessibility.
color: #006DAC;
// We're not using standard colors to increase contrast for accessibility.
background-color: #f1f1f1;
text-decoration: underline;
font-size: 14px;
cursor: pointer;
`;class Z extends h.a.Component{constructor(e){super(e),this.state={status:"loading"},this.socialMedium="Twitter",this.handleTwitterImage=this.handleTwitterImage.bind(this),this.setState=this.setState.bind(this)}async handleTwitterImage(){if(null===this.props.src)return;const e=await I(this.props.src,this.socialMedium,this.props.isLarge);this.setState(e)}componentDidUpdate(e){e.src!==this.props.src&&this.handleTwitterImage()}componentDidMount(){this.handleTwitterImage()}render(){const{status:e,imageProperties:t}=this.state;return"loading"===e||""===this.props.src||"errored"===e?Object(n.createElement)(G,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},Object(c.__)("Select image","wordpress-seo")):Object(n.createElement)(V,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},Object(n.createElement)(_,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:w.TWITTER_IMAGE_SIZES.aspectRatio},width:t.width,height:t.height,imageMode:t.mode}))}}Z.propTypes={isLarge:r.a.bool.isRequired,src:r.a.string,alt:r.a.string,onImageClick:r.a.func,onMouseEnter:r.a.func,onMouseLeave:r.a.func},Z.defaultProps={src:"",alt:"",onMouseEnter:l.noop,onImageClick:l.noop,onMouseLeave:l.noop};const Q=p.a.div`
display: flex;
flex-direction: column;
padding: 12px;
justify-content: center;
margin: 0;
box-sizing: border-box;
flex: auto;
min-width: 0px;
gap:2px;
> * {
line-height:20px;
min-height:20px;
font-size:15px;
}
`,J=e=>Object(n.createElement)(Q,null,e.children);J.propTypes={children:r.a.array.isRequired};var X=J,ee=p.a.p`
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin: 0;
color: rgb(15, 20, 25);
cursor: pointer;
`,te=p.a.p`
max-height: 55px;
overflow: hidden;
text-overflow: ellipsis;
margin: 0;
color: rgb(83, 100, 113);
display: -webkit-box;
cursor: pointer;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
@media all and ( max-width: ${w.TWITTER_IMAGE_SIZES.landscapeWidth}px ) {
display: none;
}
`;const ae=p.a.div`
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
font-size: 15px;
font-weight: 400;
line-height: 20px;
max-width: 507px;
border: 1px solid #E1E8ED;
box-sizing: border-box;
border-radius: 14px;
color: #292F33;
background: #FFFFFF;
text-overflow: ellipsis;
display: flex;
&:hover {
background: #f5f8fa;
border: 1px solid rgba(136,153,166,.5);
}
`,ne=p()(ae)`
flex-direction: column;
max-height: 370px;
`,se=p()(ae)`
flex-direction: row;
height: 125px;
`;class re extends b.Component{constructor(e){super(e),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}render(){const{isLarge:e,imageUrl:t,imageFallbackUrl:a,alt:s,title:r,description:o,siteUrl:i}=this.props,c=e?ne:se;return Object(n.createElement)(c,{id:"twitterPreview"},Object(n.createElement)(Z,{src:t||a,alt:s,isLarge:e,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),Object(n.createElement)(X,null,Object(n.createElement)(K,{siteUrl:i}),Object(n.createElement)(ee,{onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle},r),Object(n.createElement)(te,{onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription},o)))}}re.propTypes={siteUrl:r.a.string.isRequired,title:r.a.string.isRequired,description:r.a.string,isLarge:r.a.bool,imageUrl:r.a.string,imageFallbackUrl:r.a.string,alt:r.a.string,onSelect:r.a.func,onImageClick:r.a.func,onMouseHover:r.a.func},re.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{},isLarge:!0};var oe=re,ie=a(8),ce=a(79);class le extends b.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.SocialPreview="Social"===e.socialMediumName?W:oe,this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},()=>this.setEditorFocus(e))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:e,onTitleChange:t,onSelectImageClick:a,onRemoveImageClick:s,socialMediumName:r,imageWarnings:o,siteUrl:i,description:c,descriptionInputPlaceholder:l,descriptionPreviewFallback:d,imageUrl:u,imageFallbackUrl:p,alt:m,title:b,titleInputPlaceholder:g,titlePreviewFallback:f,replacementVariables:y,recommendedReplacementVariables:O,applyReplacementVariables:j,onReplacementVariableSearchChange:E,isPremium:v,isLarge:_,socialPreviewLabel:k,idSuffix:x,activeMetaTabId:T}=this.props,S=j({title:b||f,description:c||d});return Object(n.createElement)(h.a.Fragment,null,k&&Object(n.createElement)(ie.SimulatedLabel,null,k),Object(n.createElement)(this.SocialPreview,{onMouseHover:this.setHoveredField,onSelect:this.setActiveField,onImageClick:a,siteUrl:i,title:S.title,description:S.description,imageUrl:u,imageFallbackUrl:p,alt:m,isLarge:_,activeMetaTabId:T}),Object(n.createElement)(w.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:r,title:b,titleInputPlaceholder:g,onRemoveImageClick:s,imageSelected:!!u,imageUrl:u,onTitleChange:t,onSelectImageClick:a,description:c,descriptionInputPlaceholder:l,imageWarnings:o,replacementVariables:y,recommendedReplacementVariables:O,onReplacementVariableSearchChange:E,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:v,setEditorRef:this.setEditorRef,idSuffix:x}))}}le.propTypes={title:r.a.string.isRequired,onTitleChange:r.a.func.isRequired,description:r.a.string.isRequired,onDescriptionChange:r.a.func.isRequired,imageUrl:r.a.string.isRequired,imageFallbackUrl:r.a.string.isRequired,onSelectImageClick:r.a.func.isRequired,onRemoveImageClick:r.a.func.isRequired,socialMediumName:r.a.string.isRequired,alt:r.a.string,isPremium:r.a.bool,imageWarnings:r.a.array,isLarge:r.a.bool,siteUrl:r.a.string,descriptionInputPlaceholder:r.a.string,titleInputPlaceholder:r.a.string,descriptionPreviewFallback:r.a.string,titlePreviewFallback:r.a.string,replacementVariables:ce.replacementVariablesShape,recommendedReplacementVariables:ce.recommendedReplacementVariablesShape,applyReplacementVariables:r.a.func,onReplacementVariableSearchChange:r.a.func,socialPreviewLabel:r.a.string,idSuffix:r.a.string,activeMetaTabId:r.a.string},le.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,isLarge:!0,siteUrl:"",descriptionInputPlaceholder:"",titleInputPlaceholder:"",descriptionPreviewFallback:"",titlePreviewFallback:"",alt:"",applyReplacementVariables:e=>e,onReplacementVariableSearchChange:null,socialPreviewLabel:"",idSuffix:"",activeMetaTabId:""};const de={},ue=function(e,t){let{log:a=console.warn}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};de[e]||(de[e]=!0,a(t))},pe=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.noop;const a={};for(const n in e)Object.hasOwn(e,n)&&Object.defineProperty(a,n,{set:a=>{e[n]=a,t("set",n,a)},get:()=>(t("get",n),e[n])});return a};pe({squareWidth:125,squareHeight:125,landscapeWidth:506,landscapeHeight:265,aspectRatio:50.2},(e,t)=>ue(`@yoast/social-metadata-previews/TWITTER_IMAGE_SIZES/${e}/${t}`,`[@yoast/social-metadata-previews] "TWITTER_IMAGE_SIZES.${t}" is deprecated and will be removed in the future, please use this from @yoast/social-metadata-forms instead.`)),pe({squareWidth:158,squareHeight:158,landscapeWidth:527,landscapeHeight:273,portraitWidth:158,portraitHeight:237,aspectRatio:52.2,largeThreshold:{width:446,height:233}},(e,t)=>ue(`@yoast/social-metadata-previews/FACEBOOK_IMAGE_SIZES/${e}/${t}`,`[@yoast/social-metadata-previews] "FACEBOOK_IMAGE_SIZES.${t}" is deprecated and will be removed in the future, please use this from @yoast/social-metadata-forms instead.`));const me=p.a.div`
max-width: calc(527px + 1.5rem);
`,be=e=>{const{locationContext:t}=Object(d.useRootContext)();return Object(n.createElement)(d.Root,null,Object(n.createElement)(me,null,Object(n.createElement)(d.FeatureUpsell,i()({shouldUpsell:!0,variant:"card",cardLink:Object(m.addQueryArgs)(wpseoAdminL10n["shortlinks.upsell.social_preview."+e.socialMediumName.toLowerCase()],{context:t}),cardText:Object(c.sprintf)(
/* translators: %1$s expands to Yoast SEO Premium. */
Object(c.__)("Unlock with %1$s","wordpress-seo"),"Yoast SEO Premium")},{"data-action":"load-nfd-ctb","data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2"}),Object(n.createElement)("div",{className:"yst-grayscale yst-opacity-50"},Object(n.createElement)(d.Label,null,Object(c.sprintf)(
/* translators: %1$s expands to Social or Twitter. */
Object(c.__)("%1$s share preview","wordpress-seo"),e.socialMediumName)),Object(n.createElement)(W,{title:"",description:"",siteUrl:"",imageUrl:"",imageFallbackUrl:"",alt:"",onSelect:l.noop,onImageClick:l.noop,onMouseHover:l.noop})))))};be.propTypes={socialMediumName:r.a.oneOf(["Social","Twitter"]).isRequired};var he=be;class ge extends n.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},()=>this.setEditorFocus(e))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:e,onTitleChange:t,onSelectImageClick:a,onRemoveImageClick:s,socialMediumName:r,imageWarnings:o,description:i,descriptionInputPlaceholder:c,imageUrl:l,alt:d,title:u,titleInputPlaceholder:p,replacementVariables:m,recommendedReplacementVariables:b,onReplacementVariableSearchChange:h,isPremium:g,location:f}=this.props;return Object(n.createElement)(n.Fragment,null,Object(n.createElement)(he,{socialMediumName:r}),Object(n.createElement)(w.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:r,title:u,titleInputPlaceholder:p,onRemoveImageClick:s,imageSelected:!!l,imageUrl:l,imageAltText:d,onTitleChange:t,onSelectImageClick:a,description:i,descriptionInputPlaceholder:c,imageWarnings:o,replacementVariables:m,recommendedReplacementVariables:b,onReplacementVariableSearchChange:h,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:g,setEditorRef:this.setEditorRef,idSuffix:f}))}}ge.propTypes={title:r.a.string.isRequired,onTitleChange:r.a.func.isRequired,description:r.a.string.isRequired,onDescriptionChange:r.a.func.isRequired,imageUrl:r.a.string.isRequired,onSelectImageClick:r.a.func.isRequired,onRemoveImageClick:r.a.func.isRequired,socialMediumName:r.a.string.isRequired,isPremium:r.a.bool,imageWarnings:r.a.array,descriptionInputPlaceholder:r.a.string,titleInputPlaceholder:r.a.string,replacementVariables:ce.replacementVariablesShape,recommendedReplacementVariables:ce.recommendedReplacementVariablesShape,onReplacementVariableSearchChange:r.a.func,location:r.a.string,alt:r.a.string},ge.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",onReplacementVariableSearchChange:null,location:"",alt:""},t.a=ge},function(e,t,a){"use strict";function n(e){const t=new window.CustomEvent(e);window.dispatchEvent(t)}a.d(t,"a",(function(){return n}))},function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var n=a(4);const s=function(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return()=>t.map(e=>e())};t.b=(e,t)=>{let a=e();return()=>{const s=e();Object(n.isEqual)(s,a)||(a=s,t(Object(n.clone)(s)))}}},function(e,t,a){"use strict";a.d(t,"b",(function(){return d})),a.d(t,"a",(function(){return u}));var n=a(0),s=a(19),r=a(18),o=a(80);const i=[];let c=null;class l extends n.Component{constructor(e){super(e),this.state={registeredComponents:[]}}registerComponent(e,t){this.setState({registeredComponents:[...this.state.registeredComponents,{key:e,Component:t}]})}render(){return this.state.registeredComponents.map(e=>{let{Component:t,key:a}=e;return Object(n.createElement)(t,{key:a})})}}function d(e,t){const a=Object(r.a)();c=Object(n.createRef)();const d={isRtl:a.isRtl};Object(n.render)(Object(n.createElement)(o.a,{theme:d,location:"sidebar"},Object(n.createElement)(s.SlotFillProvider,null,Object(n.createElement)(n.Fragment,null,t,Object(n.createElement)(l,{ref:c})))),document.getElementById(e)),i.forEach(e=>{c.current.registerComponent(e.key,e.Component)})}function u(e,t){null===c||null===c.current?i.push({key:e,Component:t}):c.current.registerComponent(e,t)}},function(e,t,a){"use strict";var n=a(20),s=a(5),r=a(0),o=a(19),i=a(2),c=a.n(i),l=a(120);const d=e=>(Object(r.useEffect)(()=>{setTimeout(e.onLoad)},[]),e.isPremium?Object(r.createElement)(o.Slot,{name:"YoastTwitterPremium"+(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(l.a,e));d.propTypes={isPremium:c.a.bool.isRequired,onLoad:c.a.func.isRequired,location:c.a.string.isRequired};var u=d,p=a(18),m=a(70),b=a(53),h=a(85);const g=()=>{Object(b.b)(e=>Object(s.dispatch)("yoast-seo/editor").setTwitterPreviewImage(Object(b.d)(e)))};t.a=Object(n.compose)([Object(s.withSelect)(e=>{const{getTwitterDescription:t,getTwitterTitle:a,getTwitterImageUrl:n,getFacebookImageUrl:s,getFacebookTitle:r,getFacebookDescription:o,getDescription:i,getSeoTitle:c,getTwitterWarnings:l,getTwitterImageType:d,getImageFallback:u,getRecommendedReplaceVars:m,getReplaceVars:b,getSiteUrl:h,getSeoTitleTemplate:g,getSeoTitleTemplateNoFallback:f,getSocialTitleTemplate:y,getSeoDescriptionTemplate:w,getSocialDescriptionTemplate:O,getReplacedExcerpt:j,getTwitterAltText:E}=e("yoast-seo/editor");return{imageUrl:n(),imageFallbackUrl:s()||u(),recommendedReplacementVariables:m(),replacementVariables:b(),description:t(),descriptionPreviewFallback:O()||o()||i()||w()||j()||"",title:a(),titlePreviewFallback:y()||r()||c()||f()||g()||"",imageWarnings:l(),siteUrl:h(),isPremium:!!Object(p.a)().isPremium,isLarge:"summary"!==d(),titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"Twitter",alt:E()}}),Object(s.withDispatch)((e,t,a)=>{let{select:n}=a;const{setTwitterPreviewTitle:s,setTwitterPreviewDescription:r,clearTwitterPreviewImage:o,loadTwitterPreviewData:i,findCustomFields:c}=e("yoast-seo/editor"),l=n("yoast-seo/editor").getPostId();return{onSelectImageClick:g,onRemoveImageClick:o,onDescriptionChange:r,onTitleChange:s,onLoad:i,onReplacementVariableSearchChange:Object(h.a)(l,c)}}),Object(m.a)()])(u)},function(e,t,a){"use strict";var n=a(3);const s=n.forwardRef((function(e,t){return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),n.createElement("path",{fillRule:"evenodd",d:"M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z",clipRule:"evenodd"}))}));t.a=s},function(e,t,a){"use strict";var n=a(0),s=a(1),r=a(39),o=a.n(r),i=a(11);const c=Object(i.makeOutboundLink)(),l=Object(i.makeOutboundLink)();t.a=()=>{const e=Object(s.sprintf)(Object(s.__)(
/* translators: %1$s expands to a link to Wincher, %2$s expands to a link to the keyphrase tracking article on Yoast.com */
"With %1$s you can track the ranking position of your page in the search results based on your keyphrase(s). %2$s","wordpress-seo"),"{{wincherLink/}}","{{wincherReadMoreLink/}}");return Object(n.createElement)("p",null,o()({mixedString:e,components:{wincherLink:Object(n.createElement)(c,{href:wpseoAdminGlobalL10n["links.wincher.website"]},"Wincher"),wincherReadMoreLink:Object(n.createElement)(l,{href:wpseoAdminL10n["shortlinks.wincher.seo_performance"]},Object(s.__)("Read more about keyphrase tracking with Wincher","wordpress-seo"))}}))}},function(e,t,a){"use strict";a.d(t,"a",(function(){return J}));var n,s,r,o,i,c,l,d,u,p,m,b,h,g,f,y,w,O,j,E,v,_,k,x,T,S,R,C,I,P,L,A,M,N,D,F,q,z,U,W,$,B,K,H,V,Y,G,Z=a(3);function Q(){return(Q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function J(e){return Z.createElement("svg",Q({"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 360"},e),n||(n=Z.createElement("circle",{cx:226,cy:211,r:149,fill:"#f0ecf0"})),s||(s=Z.createElement("path",{d:"M173.53 189.38s-35.47-5.3-41.78-11c-9.39-24.93-29.61-48-35.47-66.21-.71-2.24 3.72-11.39 3.53-15.41s-5.34-11.64-5.23-14-.09-15.27-.09-15.27l-4.75-.72s-5.13 6.07-3.56 9.87c-1.73-4.19 4.3 7.93.5 9.35 0 0-6-5.94-11.76-8.27s-19.57-3.65-19.57-3.65L43.19 73l-4.42.6L31 69.7l-2.85 5.12 7.53 5.29L40.86 92l17.19 10.2 10.2 10.56 9.86 3.56s26.49 79.67 45 92c17 11.33 37.23 15.92 37.23 15.92z",fill:"#fbd2a6"})),r||(r=Z.createElement("path",{d:"M270.52 345.13c2.76-14.59 15.94-35.73 30.24-54.58 16.22-21.39 14-79.66-33.19-91.46-17.3-4.32-52.25-1-59.85-3.41C186.54 189 170 187 168 190.17c-5 10.51-7.73 27.81-5.51 36.26 1.18 4.73 3.54 5.91 20.49 13.4-5.12 15-16.35 26.3-22.86 37s7.88 27.2 7.1 33.51c-.48 3.8-4.26 21.13-7.18 34.25a149.47 149.47 0 00110.3 8.66 25.66 25.66 0 01.18-8.12z",fill:"#a4286a"})),o||(o=Z.createElement("path",{d:"M206.76 66.43c-5 14.4-1.42 25.67-3.93 40.74-10 60.34-24.08 43.92-31.44 93.6 7.24-14.19 14.32-15.82 20.63-23.11-.83 3.09-10.25 13.75-8.05 34.81 9.85-8.51 6.35-8.75 11.86-8.54.36 3.25 3.53 3.22-3.59 10.53 2.52.69 17.42-14.32 20.16-12.66s0 5.72-6 7.76c2.15 2.2 30.47-3.87 43.81-14.71 4.93-4 10-13.16 13.38-18.2 7.17-10.62 12.38-24.77 17.71-36.6 8.94-19.87 15.09-39.34 16.11-61.31.53-10.44-3.41-18.44-4.41-28.86-2.57-27.8-67.63-37.26-86.24 16.55z",fill:"#9a5815"})),i||(i=Z.createElement("path",{d:"M277.74 179.06c.62-.79 1.24-1.59 1.84-2.39-.85 2.59-1.52 3.73-1.84 2.39z",fill:"#efb17c"})),c||(c=Z.createElement("path",{d:"M216.1 206.72c3.69-5.42 8.28-3.35 15.57-8.28 3.76-3.06 1.57-9.46 1.77-11.82 18.25 4.56 37.38-1.18 49.07-16 .62 5.16-2.77 22.27-.2 27 4.73 8.67 13.4 18.92 13.4 18.92-35.47-2.76-63.45 39-89.86 44.54 5.52-28.74-2.36-35.84 10.25-54.36z",fill:"#fbd2a6"})),l||(l=Z.createElement("path",{d:"M235.21 167.9l53.21-25.23s-3.65 24-6.5 32.72c-64.05 62.66-46.47-7.33-46.71-7.49z",fill:"#f6b488"})),d||(d=Z.createElement("path",{d:"M226.86 50.64C215 59.31 206.37 93.21 204 95.57c-19.46 19.47-3.59 41.39-3.94 51.24-.2 5.52-4.14 25.42 5.72 29.36 22.22 8.89 60-3.48 67.19-12.61 13.28-16.75 40.89-94.78 17.74-108.19-7.92-4.58-42.78-20.18-63.85-4.73z",fill:"#fbd2a6"})),u||(u=Z.createElement("path",{d:"M243.69 143.66c-10.7-6.16-8.56-6.73-19.76-12.71-3.86-2.07-3.94.64-6.32 0-2.91-.79-1.39-2.74-5.37-3.48-6.52-1.21-3.67 3.63-3.15 6 1.32 6.15-8.17 17.3 3.26 21.42 12.65 4.55 21.38-9.41 31.34-11.23z",fill:"#e5766c"})),p||(p=Z.createElement("path",{d:"M240.68 143.9c-11.49-5.53-11.65-8.17-24.64-11.69-8.6-2.32-5.53 1-5.69 4.42-.2 4.16-1.26 9.87 4.9 12.66 9 4.09 18.16-6.02 25.43-5.39zm.7-40.9c-.16 1.26-.06 4.9 5.46 8.25 11.43-4.73 16.36-2.56 17-3.33 1.48-1.76-2-8.87-7.88-9.85-5.58-.94-14.14 1.24-14.58 4.93z",fill:"#fff"})),m||(m=Z.createElement("path",{d:"M263.53 108.19c-4.32-4.33-6.85-6.24-12.26-8.21-2.77-1-6.18.18-8.65 1.67a3.65 3.65 0 00-1.24 1.23h-.12a3.73 3.73 0 011-1.52 12.53 12.53 0 0111.93-3c4.73 1 9.43 4.63 9.42 9.82z",fill:"#000001"})),b||(b=Z.createElement("circle",{cx:254.13,cy:104.05,r:4.19,fill:"#000001"})),h||(h=Z.createElement("path",{d:"M225.26 99.22c-.29 1-6.6 3.45-10.92 1.48-1.15-3.24-5-6.43-5.25-6.71-.5-2.86 5.55-8 10.06-6.3a10.21 10.21 0 016.11 11.53z",fill:"#fff"})),g||(g=Z.createElement("path",{d:"M209.29 94.21c-.19-2.34 1.84-4.1 3.65-5.2 7-3.87 13.18 3 12.43 10h-.12c-.14-4-2.38-8.44-6.47-9.11a3.19 3.19 0 00-2.42.31c-1.37.85-2.38 2-3.89 2.56-1 .45-1.92.42-3 1.4h-.22z",fill:"#000001"})),f||(f=Z.createElement("circle",{cx:219.55,cy:95.28,r:4,fill:"#000001"})),y||(y=Z.createElement("path",{d:"M218.66 120.27a27.32 27.32 0 004.54 3.45c-2.29-.72-4.28-.69-6.32-2.27-2.53-2-3.39-5.16-.73-7.72 10.24-9.82 12.56-13.82 14.77-24.42-1 12.37-6 17.77-10.63 23.18-2.53 2.97-4.68 5.06-1.63 7.78z",fill:"#efb17c"})),w||(w=Z.createElement("path",{d:"M231.22 69.91c-.67-3.41-8.78-2.83-11.06-1.93-3.48 1.39-6.08 5.22-7.13 8.53 2.9-4.3 6.74-8.12 12.46-6 1.16.42 3.18 2.35 4.48 1.85s1.03-2.2 1.25-2.45zm32.16 8.56c-2.75-1.66-12.24-5.08-12.18.82 2.56.24 5-.19 7.64.95 11.22 4.76 12.77 17.61 12.85 17.86.2-.53.1 1.26.23.7-.02.2.95-12.12-8.54-20.33z",fill:"#a57c52"})),O||(O=Z.createElement("path",{d:"M53.43 250.73c6.29 0-.6-.17 7.34 0 1.89.05-2.38-.7 0-.69 4.54-4.2 12.48-.74 20.6-2.45 4.55.35 3.93 1.35 5.59 4.19 4.89 8.38 4.78 14.21 14 19.56 16.42 8.38 66 12.92 88.49 18.86 5.52.83 42.64-20.15 61-23.75 6.51 10.74 11.46 28.68 8.39 34.93-6.54 13.3-57.07 25.4-75.91 25.15C156.47 326.18 94 294 92.2 293c-.94-.57.7-.7-7.68 0s-10.15.72-17.47-1.4c-3-.87-4.61-1.33-6.33-3.54-2 .22-3.39.2-4.78-1-3.15-2.74-4.84-6.61-2.73-10.06h-.12c-3.35-2.48-6.54-7.69-3.08-11.72 1-1.18 6.06-1.94 7.77-2.28-1.58-.29-6.37.19-7.49-.72-3.06-2.5-4.96-11.55 3.14-11.55z",fill:"#fbd2a6"})),j||(j=Z.createElement("path",{d:"M303.22 237.52c-9.87-11.88-41.59 8.19-47.8 12.34s-14.89 17.95-14.89 17.95c6 9.43 8.36 31 5.65 46.34l30.51-3s18-15.62 22.59-28.7 6.3-42.54 6.3-42.54",fill:"#a4286a"})),E||(E=Z.createElement("path",{d:"M278.63 31.67c-6.08 0-22.91 4.07-22.93 12.91 0 11 47.9 38.38 16.14 85.85 10.21-.79 10.79-8.12 14.92-14.93-3.66 77-49.38 93.58-40.51 142.25 7.68-25.81 20.3-11.62 38.13-33.84 3.45 4.88 9 18.28-9.46 33.78 50-31.26 57.31-56.6 51.92-95C319.93 113.53 348.7 42 278.63 31.67z",fill:"#cb9833"})),v||(v=Z.createElement("path",{d:"M283.64 126.83c-2.42 9.67-8 15.76-1.48 16.46A21.26 21.26 0 00302 132.6c5.17-8.52 3.93-16.44-2.46-18s-13.48 2.56-15.9 12.23z",fill:"#fbd2a6"})),_||(_=Z.createElement("path",{d:"M38 73.45c1.92 2 4.25 9.21 6.32 10.91 2.25 1.85 5.71 2.12 8.1 4.45 3.66-2 6-8.72 10-9.31-2.59 1.31-4.42 3.5-6.93 4.88-1.42.8-3 1.31-4.38 2.25-2.16-1.46-4.27-1.77-6.26-3.38-2.52-2.02-5.31-8-6.85-9.8z",fill:"#efb17c"})),k||(k=Z.createElement("path",{d:"M39 74.4c4.83 1.1 12.52 6.44 15.89 10-3.22-1.34-14.73-6.15-15.89-10zm.62-1.5c6.71-.79 18 1.54 23.29 5.9-3.85-.2-5.42-1.48-9-2.94-4.08-1.69-8.83-2.03-14.29-2.96zm46.43 14.58c-3.72-1.32-10.52-1.13-13.22 3.52 2-1.16 1.84-2.11 4.18-1.72-3.81-4.15 8.16-.74 11.6-.24m-2.78 13.15c.56-3.29-8-7.81-10.58-9.17-6.25-3.29-12.16 1.36-19.33-4.53 5.94 6.1 14.23 2.5 19.55 5.76 3.06 1.88 8.65 6.09 9.35 9.38-.23-.4 1.29-1.44 1.01-1.44z",fill:"#efb17c"})),x||(x=Z.createElement("circle",{cx:38.13,cy:30.03,r:3.14,fill:"#b89ac8"})),T||(T=Z.createElement("circle",{cx:60.26,cy:39.96,r:3.14,fill:"#e31e0c"})),S||(S=Z.createElement("circle",{cx:50.29,cy:25.63,r:3.14,fill:"#3baa45"})),R||(R=Z.createElement("circle",{cx:22.19,cy:19.21,r:3.14,fill:"#2ca9e1"})),C||(C=Z.createElement("circle",{cx:22.19,cy:30.03,r:3.14,fill:"#e31e0c"})),I||(I=Z.createElement("circle",{cx:26.86,cy:8.28,r:3.14,fill:"#3baa45"})),P||(P=Z.createElement("circle",{cx:49.32,cy:39.99,r:3.14,fill:"#e31e0c"})),L||(L=Z.createElement("circle",{cx:63.86,cy:59.52,r:3.14,fill:"#f8ad39"})),A||(A=Z.createElement("circle",{cx:50.88,cy:50.72,r:3.14,fill:"#3baa45"})),M||(M=Z.createElement("circle",{cx:63.47,cy:76.17,r:3.14,fill:"#e31e0c"})),N||(N=Z.createElement("circle",{cx:38.34,cy:14.83,r:3.14,fill:"#2ca9e1"})),D||(D=Z.createElement("circle",{cx:44.44,cy:5.92,r:3.14,fill:"#f8ad39"})),F||(F=Z.createElement("circle",{cx:57.42,cy:10.24,r:3.14,fill:"#e31e0c"})),q||(q=Z.createElement("circle",{cx:66.81,cy:12.4,r:3.14,fill:"#2ca9e1"})),z||(z=Z.createElement("circle",{cx:77.95,cy:5.14,r:3.14,fill:"#b89ac8"})),U||(U=Z.createElement("circle",{cx:77.95,cy:30.34,r:3.14,fill:"#e31e0c"})),W||(W=Z.createElement("circle",{cx:80.97,cy:16.55,r:3.14,fill:"#f8ad39"})),$||($=Z.createElement("circle",{cx:62.96,cy:27.27,r:3.14,fill:"#3baa45"})),B||(B=Z.createElement("circle",{cx:75.36,cy:48.67,r:3.14,fill:"#2ca9e1"})),K||(K=Z.createElement("circle",{cx:76.11,cy:65.31,r:3.14,fill:"#3baa45"})),H||(H=Z.createElement("path",{d:"M78.58 178.43C54.36 167.26 32 198.93 5 198.93c19.56 20.49 63.53 1.52 69 15.5 1.48-14.01 4.11-30.9 4.58-36z",fill:"#71b026"})),V||(V=Z.createElement("path",{d:"M67.75 251.08c0-4.65 10.13-72.65 10.13-72.65h2.8l-9.09 72.3z",fill:"#074a67"})),Y||(Y=Z.createElement("ellipse",{cx:255.38,cy:103.18,rx:1.84,ry:1.77,fill:"#fff"})),G||(G=Z.createElement("ellipse",{cx:221.24,cy:94.75,rx:1.84,ry:1.77,fill:"#fff"})))}},function(e,t,a){"use strict";var n=a(5),s=a(20),r=a(10),o=a.n(r),i=a(0),c=a(1),l=a(2),d=a.n(l),u=a(4),p=a(9),m=a.n(p),b=a(8),h=a(11),g=a(39),f=a.n(g);const y=Object(h.makeOutboundLink)(),w=e=>{const t=Object(c.sprintf)(
/* translators: %d expands to the amount of allowed keyphrases on a free account, %s expands to a link to Wincher plans. */
Object(c.__)("You've reached the maximum amount of %d keyphrases you can add to your Wincher account. If you wish to add more keyphrases, please %s.","wordpress-seo"),e.limit,"{{updateWincherPlanLink/}}");return Object(i.createElement)(b.Alert,{type:"error"},f()({mixedString:t,components:{updateWincherPlanLink:Object(i.createElement)(y,{href:wpseoAdminGlobalL10n["links.wincher.pricing"]},Object(c.sprintf)(
/* translators: %s : Expands to "Wincher". */
Object(c.__)("upgrade your %s plan","wordpress-seo"),"Wincher"))}}))};w.propTypes={limit:d.a.number},w.defaultProps={limit:10};var O=w,j=()=>Object(i.createElement)(b.Alert,{type:"error"},Object(c.__)("Something went wrong while tracking the ranking position(s) of your page. Please try again later.","wordpress-seo")),E=a(115),v=()=>Object(i.createElement)(b.Alert,{type:"success"},Object(c.sprintf)(
/* translators: %s: Expands to "Wincher". */
Object(c.__)("You have successfully connected to %s! You can now track the SEO performance for the keyphrase(s) of this page.","wordpress-seo"),"Wincher")),_=()=>Object(i.createElement)(b.Alert,{type:"info"},Object(c.sprintf)(
/* translators: %s: Expands to "Wincher". */
Object(c.__)("%s is currently tracking the ranking position(s) of your page. This may take a few minutes. Please wait or check back later.","wordpress-seo"),"Wincher")),k=a(108),x=a(35),T=a(30);const S=Object(h.makeOutboundLink)(),R=m.a.span`
display: block;
font-style: italic;
@media (min-width: 782px) {
display: inline;
position: absolute;
${Object(h.getDirectionalStyle)("right","left")}: 8px;
}
`,C=m.a.th`
min-width: 60px;
`,I=m.a.div`
width: 100%;
overflow-y: auto;
`,P=e=>{const t=Object(i.useRef)();return Object(i.useEffect)(()=>{t.current=e}),t.current},L=Object(u.debounce)(x.d,500,{leading:!0}),A=e=>{const{addTrackedKeyphrase:t,isLoggedIn:a,keyphrases:n,permalink:s,removeTrackedKeyphrase:r,setKeyphraseLimitReached:o,setRequestFailed:l,setRequestSucceeded:d,setTrackedKeyphrases:p,setHasTrackedAll:m,trackAll:b,trackedKeyphrases:h,isNewlyAuthenticated:g,websiteId:f,focusKeyphrase:y,newRequest:w}=e,O=Object(i.useRef)(),j=Object(i.useRef)(),E=Object(i.useRef)(!1),[v,_]=Object(i.useState)([]),A=Object(i.useCallback)(e=>{const t=e.toLowerCase();return h&&!Object(u.isEmpty)(h)&&h.hasOwnProperty(t)?h[t]:null},[h]),M=Object(i.useMemo)(()=>async()=>{await Object(T.b)(()=>(j.current&&j.current.abort(),j.current="undefined"==typeof AbortController?null:new AbortController,L(n,s,j.current.signal)),e=>{d(e),p(e.results)},e=>{l(e)})},[d,l,p,n,s]),N=Object(i.useCallback)(async e=>{const a=(Array.isArray(e)?e:[e]).map(e=>e.toLowerCase());_(e=>[...e,...a]),await Object(T.b)(()=>Object(x.f)(a),e=>{d(e),t(e.results),M()},e=>{400===e.status&&e.limit&&o(e.limit),l(e)},201),_(e=>Object(u.without)(e,...a))},[d,l,o,t,M]),D=Object(i.useCallback)(async(e,t)=>{e=e.toLowerCase(),_(t=>[...t,e]),await Object(T.b)(()=>Object(x.g)(t),t=>{d(t),r(e)},e=>{l(e)}),_(t=>Object(u.without)(t,e))},[d,r,l]),F=Object(i.useCallback)(async e=>{w(),await N(e)},[w,N]),q=P(s),z=P(n);Object(i.useEffect)(()=>{a&&s&&(s!==q||Object(u.difference)(n,z).length)&&M()},[a,s,q,n,z,M]),Object(i.useEffect)(()=>{if(a&&b&&null!==h){const e=n.filter(e=>!A(e));e.length&&N(e),m()}},[a,b,h,N,m,A,n]),Object(i.useEffect)(()=>{g&&!E.current&&(M(),E.current=!0)},[g,M]),Object(i.useEffect)(()=>{if(a&&!Object(u.isEmpty)(h))return Object(u.filter)(h,e=>Object(u.isEmpty)(e.updated_at)).length>0&&(O.current=setInterval(()=>{M()},1e4)),()=>{clearInterval(O.current)}},[a,h,M]);const U=a&&null===h;return n&&!Object(u.isEmpty)(n)&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(I,null,Object(i.createElement)("table",{className:"yoast yoast-table"},Object(i.createElement)("thead",null,Object(i.createElement)("tr",null,Object(i.createElement)("th",{scope:"col",abbr:Object(c.__)("Tracking","wordpress-seo")},Object(c.__)("Tracking","wordpress-seo")),Object(i.createElement)("th",{scope:"col",abbr:Object(c.__)("Keyphrase","wordpress-seo")},Object(c.__)("Keyphrase","wordpress-seo")),Object(i.createElement)("th",{scope:"col",abbr:Object(c.__)("Position","wordpress-seo")},Object(c.__)("Position","wordpress-seo")),Object(i.createElement)("th",{scope:"col",abbr:Object(c.__)("Position over time","wordpress-seo")},Object(c.__)("Position over time","wordpress-seo")),Object(i.createElement)(C,{className:"yoast-table--nobreak"}))),Object(i.createElement)("tbody",null,n.map((e,t)=>Object(i.createElement)(k.b,{key:"trackable-keyphrase-"+t,keyphrase:e,onTrackKeyphrase:F,onUntrackKeyphrase:D,rowData:A(e),isFocusKeyphrase:e===y.trim().toLowerCase(),websiteId:f,isDisabled:!a,isLoading:U||v.indexOf(e.toLowerCase())>=0}))))),Object(i.createElement)("p",{style:{marginBottom:0,position:"relative"}},Object(i.createElement)(S,{href:wpseoAdminGlobalL10n["links.wincher.login"]},Object(c.sprintf)(
/* translators: %s expands to Wincher */
Object(c.__)("Get more insights over at %s","wordpress-seo"),"Wincher")),Object(i.createElement)(R,null,Object(c.__)("* focus keyphrase","wordpress-seo"))))};A.propTypes={addTrackedKeyphrase:d.a.func.isRequired,isLoggedIn:d.a.bool,isNewlyAuthenticated:d.a.bool,keyphrases:d.a.array,newRequest:d.a.func.isRequired,removeTrackedKeyphrase:d.a.func.isRequired,setRequestFailed:d.a.func.isRequired,setKeyphraseLimitReached:d.a.func.isRequired,setRequestSucceeded:d.a.func.isRequired,setTrackedKeyphrases:d.a.func.isRequired,setHasTrackedAll:d.a.func.isRequired,trackAll:d.a.bool,trackedKeyphrases:d.a.object,websiteId:d.a.string,permalink:d.a.string.isRequired,focusKeyphrase:d.a.string},A.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],trackAll:!1,trackedKeyphrases:null,websiteId:"",focusKeyphrase:""};var M=A,N=Object(s.compose)([Object(n.withSelect)(e=>{const{getWincherWebsiteId:t,getWincherTrackedKeyphrases:a,getWincherTrackableKeyphrases:n,getWincherLoginStatus:s,getWincherPermalink:r,getFocusKeyphrase:o,isWincherNewlyAuthenticated:i,shouldWincherTrackAll:c}=e("yoast-seo/editor");return{focusKeyphrase:o(),keyphrases:n(),trackedKeyphrases:a(),isLoggedIn:s(),trackAll:c(),websiteId:t(),isNewlyAuthenticated:i(),permalink:r()}}),Object(n.withDispatch)(e=>{const{setWincherNewRequest:t,setWincherRequestSucceeded:a,setWincherRequestFailed:n,setWincherSetKeyphraseLimitReached:s,setWincherTrackedKeyphrases:r,setWincherTrackingForKeyphrase:o,setWincherTrackAllKeyphrases:i,unsetWincherTrackingForKeyphrase:c}=e("yoast-seo/editor");return{newRequest:()=>{t()},setRequestSucceeded:e=>{a(e)},setRequestFailed:e=>{n(e)},setKeyphraseLimitReached:e=>{s(e)},addTrackedKeyphrase:e=>{o(e)},removeTrackedKeyphrase:e=>{c(e)},setTrackedKeyphrases:e=>{r(e)},setHasTrackedAll:()=>{i(!1)}}})])(M),D=a(126),F=()=>Object(i.createElement)(b.Alert,{type:"error"},Object(c.__)("No keyphrase has been set. Please set a keyphrase first.","wordpress-seo")),q=()=>Object(i.createElement)(b.Alert,{type:"info"},Object(c.sprintf)(
/* translators: %s: Expands to "Wincher". */
Object(c.__)("Automatic tracking of keyphrases is enabled. Your keyphrase(s) will automatically be tracked by %s when you publish your post.","wordpress-seo"),"Wincher")),z=a(116),U=a(117),W=()=>Object(i.createElement)(b.Alert,{type:"error"},Object(c.__)("Before you can track your SEO performance make sure to set either the posts title and save it as a draft or manually set the posts slug.","wordpress-seo"));const $=e=>{let{response:t,onLogin:a}=e;return[401,403,404].includes(t.status)?Object(i.createElement)(U.a,{onReconnect:a}):Object(i.createElement)(j,null)};$.propTypes={response:d.a.object.isRequired,onLogin:d.a.func.isRequired};const B=e=>{let{isSuccess:t,response:a,allKeyphrasesMissRanking:n,onLogin:s,keyphraseLimitReached:r,limit:o}=e;return r?Object(i.createElement)(O,{limit:o}):Object(u.isEmpty)(a)||t?n?Object(i.createElement)(_,null):null:Object(i.createElement)($,{response:a,onLogin:s})};B.propTypes={isSuccess:d.a.bool.isRequired,allKeyphrasesMissRanking:d.a.bool.isRequired,response:d.a.object,onLogin:d.a.func.isRequired,keyphraseLimitReached:d.a.bool.isRequired,limit:d.a.number.isRequired},B.defaultProps={response:{}};let K=null;const H=async e=>{if(K&&!K.isClosed())return void K.focus();const{url:t}=await Object(x.c)();K=new z.a(t,{success:{type:"wincher:oauth:success",callback:t=>(async(e,t)=>{const{onAuthentication:a,setRequestSucceeded:n,setRequestFailed:s,keyphrases:r,addTrackedKeyphrase:o,setKeyphraseLimitReached:i}=e;await Object(T.b)(()=>Object(x.a)(t),async e=>{a(!0,!0,t.websiteId.toString()),n(e);const c=(Array.isArray(r)?r:[r]).map(e=>e.toLowerCase());await Object(T.b)(()=>Object(x.f)(c),e=>{n(e),o(e.results)},e=>{400===e.status&&e.limit&&i(e.limit),s(e)},201);const l=K.getPopup();l&&l.close()},async e=>s(e))})(e,t)},error:{type:"wincher:oauth:error",callback:()=>e.onAuthentication(!1,!1)}},{title:"Wincher_login",width:500,height:700}),K.createPopup()},V=e=>e.isLoggedIn?null:Object(i.createElement)("p",null,Object(i.createElement)(b.NewButton,{onClick:e.onLogin,variant:"primary"},Object(c.sprintf)(
/* translators: %s expands to Wincher */
Object(c.__)("Connect with %s","wordpress-seo"),"Wincher")));V.propTypes={isLoggedIn:d.a.bool.isRequired,onLogin:d.a.func.isRequired};const Y=m.a.div`
p {
margin: 1em 0;
}
`,G=m.a.div`
${e=>e.isDisabled&&"\n\t\topacity: .5;\n\t\tpointer-events: none;\n\t"};
`,Z=m.a.div`
font-weight: var(--yoast-font-weight-bold);
color: var(--yoast-color-label);
font-size: var(--yoast-font-size-default);
`,Q=e=>{const{isLoggedIn:t,keyphrases:a,shouldTrackAll:n,permalink:s}=e;return!s&&t?Object(i.createElement)(W,null):0===a.length?Object(i.createElement)(F,null):Object(i.createElement)(G,{isDisabled:!t},Object(i.createElement)("p",null,Object(c.__)("You can enable / disable tracking the SEO performance for each keyphrase below.","wordpress-seo")),t&&n&&Object(i.createElement)(q,null),Object(i.createElement)(N,null))};function J(e){const{isNewlyAuthenticated:t,isLoggedIn:a}=e,n=Object(i.useCallback)(()=>{H(e)},[H,e]);return Object(i.createElement)(Y,null,t&&Object(i.createElement)(v,null),a&&Object(i.createElement)(E.a,null),Object(i.createElement)(Z,null,Object(c.__)("SEO performance","wordpress-seo"),Object(i.createElement)(b.HelpIcon,{linkTo:wpseoAdminL10n["shortlinks.wincher.seo_performance"]
/* translators: Hidden accessibility text. */,linkText:Object(c.__)("Learn more about the SEO performance feature.","wordpress-seo")})),Object(i.createElement)(D.a,null),Object(i.createElement)(V,{isLoggedIn:a,onLogin:n}),Object(i.createElement)(B,o()({},e,{onLogin:n})),Object(i.createElement)(Q,e))}Q.propTypes={keyphrases:d.a.array.isRequired,isLoggedIn:d.a.bool.isRequired,shouldTrackAll:d.a.bool.isRequired,permalink:d.a.string.isRequired},J.propTypes={addTrackedKeyphrase:d.a.func.isRequired,isLoggedIn:d.a.bool,isNewlyAuthenticated:d.a.bool,keyphrases:d.a.array,response:d.a.object,shouldTrackAll:d.a.bool,permalink:d.a.string},J.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],response:{},shouldTrackAll:!1,permalink:""},t.a=Object(s.compose)([Object(n.withSelect)(e=>{const{isWincherNewlyAuthenticated:t,getWincherKeyphraseLimitReached:a,getWincherLimit:n,getWincherLoginStatus:s,getWincherRequestIsSuccess:r,getWincherRequestResponse:o,getWincherTrackableKeyphrases:i,getWincherAllKeyphrasesMissRanking:c,getWincherPermalink:l,shouldWincherAutomaticallyTrackAll:d}=e("yoast-seo/editor");return{keyphrases:i(),allKeyphrasesMissRanking:c(),isLoggedIn:s(),isNewlyAuthenticated:t(),isSuccess:r(),keyphraseLimitReached:a(),limit:n(),response:o(),shouldTrackAll:d(),permalink:l()}}),Object(n.withDispatch)(e=>{const{setWincherWebsiteId:t,setWincherRequestSucceeded:a,setWincherRequestFailed:n,setWincherTrackingForKeyphrase:s,setWincherSetKeyphraseLimitReached:r,setWincherLoginStatus:o}=e("yoast-seo/editor");return{setRequestSucceeded:e=>{a(e)},setRequestFailed:e=>{n(e)},addTrackedKeyphrase:e=>{s(e)},setKeyphraseLimitReached:e=>{r(e)},onAuthentication:(e,a,n)=>{t(n),o(e,a)}}})])(J)},,,function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var n=a(4);class s{constructor(e){this.refresh=e,this.loaded=!1,this.preloadThreshold=3e3,this.plugins={},this.modifications={},this._registerPlugin=this._registerPlugin.bind(this),this._ready=this._ready.bind(this),this._reloaded=this._reloaded.bind(this),this._registerModification=this._registerModification.bind(this),this._registerAssessment=this._registerAssessment.bind(this),this._applyModifications=this._applyModifications.bind(this),setTimeout(this._pollLoadingPlugins.bind(this),1500)}_registerPlugin(e,t){return Object(n.isString)(e)?Object(n.isUndefined)(t)||Object(n.isObject)(t)?!1===this._validateUniqueness(e)?(console.error("Failed to register plugin. Plugin with name "+e+" already exists"),!1):(this.plugins[e]=t,!0):(console.error("Failed to register plugin "+e+". Expected parameters `options` to be a object."),!1):(console.error("Failed to register plugin. Expected parameter `pluginName` to be a string."),!1)}_ready(e){return Object(n.isString)(e)?Object(n.isUndefined)(this.plugins[e])?(console.error("Failed to modify status for plugin "+e+". The plugin was not properly registered."),!1):(this.plugins[e].status="ready",!0):(console.error("Failed to modify status for plugin "+e+". Expected parameter `pluginName` to be a string."),!1)}_reloaded(e){return Object(n.isString)(e)?Object(n.isUndefined)(this.plugins[e])?(console.error("Failed to reload Content Analysis for plugin "+e+". The plugin was not properly registered."),!1):(this.refresh(),!0):(console.error("Failed to reload Content Analysis for "+e+". Expected parameter `pluginName` to be a string."),!1)}_registerModification(e,t,a,s){if(!Object(n.isString)(e))return console.error("Failed to register modification for plugin "+a+". Expected parameter `modification` to be a string."),!1;if(!Object(n.isFunction)(t))return console.error("Failed to register modification for plugin "+a+". Expected parameter `callable` to be a function."),!1;if(!Object(n.isString)(a))return console.error("Failed to register modification for plugin "+a+". Expected parameter `pluginName` to be a string."),!1;if(!1===this._validateOrigin(a))return console.error("Failed to register modification for plugin "+a+". The integration has not finished loading yet."),!1;const r={callable:t,origin:a,priority:Object(n.isNumber)(s)?s:10};return Object(n.isUndefined)(this.modifications[e])&&(this.modifications[e]=[]),this.modifications[e].push(r),!0}_registerAssessment(e,t,a,s){return Object(n.isString)(t)?Object(n.isObject)(a)?Object(n.isString)(s)?(t=s+"-"+t,e.addAssessment(t,a),!0):(console.error("Failed to register assessment for plugin "+s+". Expected parameter `pluginName` to be a string."),!1):(console.error("Failed to register assessment for plugin "+s+". Expected parameter `assessment` to be a function."),!1):(console.error("Failed to register test for plugin "+s+". Expected parameter `name` to be a string."),!1)}_applyModifications(e,t,a){let s=this.modifications[e];return!Object(n.isArray)(s)||s.length<1||(s=this._stripIllegalModifications(s),s.sort((e,t)=>e.priority-t.priority),Object(n.forEach)(s,(function(n){const s=n.callable(t,a);typeof s==typeof t?t=s:console.error("Modification with name "+e+" performed by plugin with name "+n.origin+" was ignored because the data that was returned by it was of a different type than the data we had passed it.")}))),t}_pollLoadingPlugins(e){e=Object(n.isUndefined)(e)?0:e,!0===this._allReady()?(this.loaded=!0,this.refresh()):e>=this.preloadThreshold?(this._pollTimeExceeded(),this.loaded=!0,this.refresh()):(e+=50,setTimeout(this._pollLoadingPlugins.bind(this,e),50))}_allReady(){return Object(n.reduce)(this.plugins,(function(e,t){return e&&"ready"===t.status}),!0)}_pollTimeExceeded(){Object(n.forEach)(this.plugins,(function(e,t){Object(n.isUndefined)(e.options)||"ready"===e.options.status||(console.error("Error: Plugin "+t+". did not finish loading in time."),delete this.plugins[t])}))}_stripIllegalModifications(e){return Object(n.forEach)(e,(t,a)=>{!1===this._validateOrigin(t.origin)&&delete e[a]}),e}_validateOrigin(e){return"ready"===this.plugins[e].status}_validateUniqueness(e){return Object(n.isUndefined)(this.plugins[e])}}},function(e,t,a){"use strict";a.d(t,"a",(function(){return r}));var n=a(4),s=a(18);function r(){const e=Object(s.a)();return Object(n.get)(e,"translations",{domain:"wordpress-seo",locale_data:{"wordpress-seo":{"":{}}}})}},,,function(e,t,a){"use strict";var n=a(20),s=a(5),r=a(0),o=a(19),i=a(2),c=a.n(i),l=a(120);const d=e=>{const[t,a]=Object(r.useState)(""),n=Object(r.useCallback)(e=>{a(e.detail.metaTabId)},[a]);Object(r.useEffect)(()=>(setTimeout(e.onLoad),window.addEventListener("YoastSEO:metaTabChange",n),()=>{window.removeEventListener("YoastSEO:metaTabChange",n)}),[]);const s=Object(r.useMemo)(()=>({...e,activeMetaTabId:t}),[e,t]);return e.isPremium?Object(r.createElement)(o.Slot,{name:"YoastFacebookPremium"+(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:s}):Object(r.createElement)(l.a,s)};d.propTypes={isPremium:c.a.bool.isRequired,onLoad:c.a.func.isRequired,location:c.a.string.isRequired};var u=d,p=a(18),m=a(70),b=a(53),h=a(85);const g=()=>{Object(b.b)(e=>Object(s.dispatch)("yoast-seo/editor").setFacebookPreviewImage(Object(b.c)(e)))};t.a=Object(n.compose)([Object(s.withSelect)(e=>{const{getFacebookDescription:t,getDescription:a,getFacebookTitle:n,getSeoTitle:s,getFacebookImageUrl:r,getImageFallback:o,getFacebookWarnings:i,getRecommendedReplaceVars:c,getReplaceVars:l,getSiteUrl:d,getSeoTitleTemplate:u,getSeoTitleTemplateNoFallback:m,getSocialTitleTemplate:b,getSeoDescriptionTemplate:h,getSocialDescriptionTemplate:g,getReplacedExcerpt:f,getFacebookAltText:y}=e("yoast-seo/editor");return{imageUrl:r(),imageFallbackUrl:o(),recommendedReplacementVariables:c(),replacementVariables:l(),description:t(),descriptionPreviewFallback:g()||a()||h()||f()||"",title:n(),titlePreviewFallback:b()||s()||m()||u()||"",imageWarnings:i(),siteUrl:d(),isPremium:!!Object(p.a)().isPremium,titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"Social",alt:y()}}),Object(s.withDispatch)((e,t,a)=>{let{select:n}=a;const{setFacebookPreviewTitle:s,setFacebookPreviewDescription:r,clearFacebookPreviewImage:o,loadFacebookPreviewData:i,findCustomFields:c}=e("yoast-seo/editor"),l=n("yoast-seo/editor").getPostId();return{onSelectImageClick:g,onRemoveImageClick:o,onDescriptionChange:r,onTitleChange:s,onLoad:i,onReplacementVariableSearchChange:Object(h.a)(l,c)}}),Object(m.a)()])(u)},,function(e,t,a){"use strict";function n(e){let{alertKey:t}=e;return new Promise(e=>wpseoApi.post("alerts/dismiss",{key:t},()=>e()))}a.r(t),a.d(t,"DISMISS_ALERT",(function(){return n}))},function(e,t,a){"use strict";var n=a(3);const s=n.forwardRef((function(e,t){return n.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),n.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=s},function(e,t,a){"use strict";var n=a(0),s=a(1),r=a(2),o=a.n(r),i=a(72);const c=e=>{const t=[Object(s.__)("Create content faster: Use AI to create titles & meta descriptions","wordpress-seo"),Object(s.__)("Get extra SEO checks with the Premium SEO analysis","wordpress-seo"),Object(s.__)("Avoid dead links on your site","wordpress-seo"),Object(s.__)("Easily improve the structure of your site","wordpress-seo"),Object(s.__)("Preview how your content looks when shared on social","wordpress-seo"),Object(s.__)("Get guidance & save time on routine SEO tasks","wordpress-seo")];return Object(n.createElement)(i.a,{title:Object(s.__)("Reach a wider audience","wordpress-seo"),description:Object(s.__)("Get help optimizing for up to 5 related keyphrases. This helps you reach a wider audience and get more traffic.","wordpress-seo"),benefitsTitle:Object(s.__)("Whats more in Yoast SEO Premium?","wordpress-seo"),benefits:t,upsellButtonText:Object(s.sprintf)(
/* translators: %s expands to 'Yoast SEO Premium'. */
Object(s.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null,"data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2","data-action":"load-nfd-ctb"},upsellButtonLabel:Object(s.__)("1 year free support and updates included!","wordpress-seo")})};c.propTypes={buyLink:o.a.string.isRequired},t.a=c},function(e,t,a){"use strict";var n=a(5),s=a(20),r=a(0),o=a(1),i=a(2),c=a.n(i),l=a(4),d=a(8),u=()=>Object(r.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},Object(o.sprintf)(
/* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */
Object(o.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",Object(r.createElement)(d.SvgIcon,{icon:"loading-spinner"})),p=a(11);const m=Object(p.makeOutboundLink)();var b=()=>Object(r.createElement)(r.Fragment,null,Object(r.createElement)("p",null,Object(o.sprintf)(
/* translators: %s : Expands to "Semrush". */
Object(o.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush")),Object(r.createElement)(m,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},Object(o.sprintf)(
/* translators: %s : Expands to "Semrush". */
Object(o.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),Object(r.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"}))),h=a(26),g=a.n(h),f=a(14);const y="yoast-semrush-country-selector",w=[{value:"us",name:"United States - US"},{value:"uk",name:"United Kingdom - UK"},{value:"ca",name:"Canada - CA"},{value:"ru",name:"Russia - RU"},{value:"de",name:"Germany - DE"},{value:"fr",name:"France - FR"},{value:"es",name:"Spain - ES"},{value:"it",name:"Italy - IT"},{value:"br",name:"Brazil - BR"},{value:"au",name:"Australia - AU"},{value:"ar",name:"Argentina - AR"},{value:"be",name:"Belgium - BE"},{value:"ch",name:"Switzerland - CH"},{value:"dk",name:"Denmark - DK"},{value:"fi",name:"Finland - FI"},{value:"hk",name:"Hong Kong - HK"},{value:"ie",name:"Ireland - IE"},{value:"il",name:"Israel - IL"},{value:"mx",name:"Mexico - MX"},{value:"nl",name:"Netherlands - NL"},{value:"no",name:"Norway - NO"},{value:"pl",name:"Poland - PL"},{value:"se",name:"Sweden - SE"},{value:"sg",name:"Singapore - SG"},{value:"tr",name:"Turkey - TR"},{value:"jp",name:"Japan - JP"},{value:"in",name:"India - IN"},{value:"hu",name:"Hungary - HU"},{value:"af",name:"Afghanistan - AF"},{value:"al",name:"Albania - AL"},{value:"dz",name:"Algeria - DZ"},{value:"ao",name:"Angola - AO"},{value:"am",name:"Armenia - AM"},{value:"at",name:"Austria - AT"},{value:"az",name:"Azerbaijan - AZ"},{value:"bh",name:"Bahrain - BH"},{value:"bd",name:"Bangladesh - BD"},{value:"by",name:"Belarus - BY"},{value:"bz",name:"Belize - BZ"},{value:"bo",name:"Bolivia - BO"},{value:"ba",name:"Bosnia and Herzegovina - BA"},{value:"bw",name:"Botswana - BW"},{value:"bn",name:"Brunei - BN"},{value:"bg",name:"Bulgaria - BG"},{value:"cv",name:"Cabo Verde - CV"},{value:"kh",name:"Cambodia - KH"},{value:"cm",name:"Cameroon - CM"},{value:"cl",name:"Chile - CL"},{value:"co",name:"Colombia - CO"},{value:"cr",name:"Costa Rica - CR"},{value:"hr",name:"Croatia - HR"},{value:"cy",name:"Cyprus - CY"},{value:"cz",name:"Czech Republic - CZ"},{value:"cd",name:"Congo - CD"},{value:"do",name:"Dominican Republic - DO"},{value:"ec",name:"Ecuador - EC"},{value:"eg",name:"Egypt - EG"},{value:"sv",name:"El Salvador - SV"},{value:"ee",name:"Estonia - EE"},{value:"et",name:"Ethiopia - ET"},{value:"ge",name:"Georgia - GE"},{value:"gh",name:"Ghana - GH"},{value:"gr",name:"Greece - GR"},{value:"gt",name:"Guatemala - GT"},{value:"gy",name:"Guyana - GY"},{value:"ht",name:"Haiti - HT"},{value:"hn",name:"Honduras - HN"},{value:"is",name:"Iceland - IS"},{value:"id",name:"Indonesia - ID"},{value:"jm",name:"Jamaica - JM"},{value:"jo",name:"Jordan - JO"},{value:"kz",name:"Kazakhstan - KZ"},{value:"kw",name:"Kuwait - KW"},{value:"lv",name:"Latvia - LV"},{value:"lb",name:"Lebanon - LB"},{value:"lt",name:"Lithuania - LT"},{value:"lu",name:"Luxembourg - LU"},{value:"mg",name:"Madagascar - MG"},{value:"my",name:"Malaysia - MY"},{value:"mt",name:"Malta - MT"},{value:"mu",name:"Mauritius - MU"},{value:"md",name:"Moldova - MD"},{value:"mn",name:"Mongolia - MN"},{value:"me",name:"Montenegro - ME"},{value:"ma",name:"Morocco - MA"},{value:"mz",name:"Mozambique - MZ"},{value:"na",name:"Namibia - NA"},{value:"np",name:"Nepal - NP"},{value:"nz",name:"New Zealand - NZ"},{value:"ni",name:"Nicaragua - NI"},{value:"ng",name:"Nigeria - NG"},{value:"om",name:"Oman - OM"},{value:"py",name:"Paraguay - PY"},{value:"pe",name:"Peru - PE"},{value:"ph",name:"Philippines - PH"},{value:"pt",name:"Portugal - PT"},{value:"ro",name:"Romania - RO"},{value:"sa",name:"Saudi Arabia - SA"},{value:"sn",name:"Senegal - SN"},{value:"rs",name:"Serbia - RS"},{value:"sk",name:"Slovakia - SK"},{value:"si",name:"Slovenia - SI"},{value:"za",name:"South Africa - ZA"},{value:"kr",name:"South Korea - KR"},{value:"lk",name:"Sri Lanka - LK"},{value:"th",name:"Thailand - TH"},{value:"bs",name:"Bahamas - BS"},{value:"tt",name:"Trinidad and Tobago - TT"},{value:"tn",name:"Tunisia - TN"},{value:"ua",name:"Ukraine - UA"},{value:"ae",name:"United Arab Emirates - AE"},{value:"uy",name:"Uruguay - UY"},{value:"ve",name:"Venezuela - VE"},{value:"vn",name:"Vietnam - VN"},{value:"zm",name:"Zambia - ZM"},{value:"zw",name:"Zimbabwe - ZW"},{value:"ly",name:"Libya - LY"}];class O extends r.Component{constructor(e){super(e),this.relatedKeyphrasesRequest=this.relatedKeyphrasesRequest.bind(this),this.onChangeHandler=this.onChangeHandler.bind(this)}componentDidMount(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}storeCountryCode(e){g()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}async relatedKeyphrasesRequest(){const{keyphrase:e,countryCode:t,newRequest:a}=this.props;a(t,e),this.storeCountryCode(t);const n=await this.doRequest(e,t);200!==n.status?this.handleFailedResponse(n):this.handleSuccessResponse(n)}handleSuccessResponse(e){const{setNoResultsFound:t,setRequestSucceeded:a}=this.props;0!==e.results.rows.length?a(e):t()}handleFailedResponse(e){const{setRequestLimitReached:t,setRequestFailed:a}=this.props;"error"in e&&(e.error.includes("TOTAL LIMIT EXCEEDED")?t():a(e))}async doRequest(e,t){return await g()({path:Object(f.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:e,country_code:t})})}onChangeHandler(e){this.props.setCountry(e)}render(){return Object(r.createElement)("div",{id:y},Object(r.createElement)(d.SingleSelect,{id:y+"-select",label:Object(o.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:w,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),Object(r.createElement)(d.NewButton,{id:y+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},Object(o.__)("Select country","wordpress-seo")))}}O.propTypes={keyphrase:c.a.string,countryCode:c.a.string,response:c.a.object,lastRequestKeyphrase:c.a.string,setCountry:c.a.func.isRequired,newRequest:c.a.func.isRequired,setNoResultsFound:c.a.func.isRequired,setRequestSucceeded:c.a.func.isRequired,setRequestLimitReached:c.a.func.isRequired,setRequestFailed:c.a.func.isRequired},O.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};var j=O,E=a(81),v=a(71);const _=Object(p.makeOutboundLink)();class k extends r.Component{constructor(e){super(e),this.transformTrendDataToChartPoints=this.transformTrendDataToChartPoints.bind(this),this.getAreaChartDataTableHeaderLabels=this.getAreaChartDataTableHeaderLabels.bind(this),this.mapAreaChartDataToTableData=this.mapAreaChartDataToTableData.bind(this)}transformTrendDataToChartPoints(e){return e.split(",").map((e,t)=>({x:t,y:parseFloat(e)}))}getAreaChartDataTableHeaderLabels(){return[Object(o.__)("Twelve months ago","wordpress-seo"),Object(o.__)("Eleven months ago","wordpress-seo"),Object(o.__)("Ten months ago","wordpress-seo"),Object(o.__)("Nine months ago","wordpress-seo"),Object(o.__)("Eight months ago","wordpress-seo"),Object(o.__)("Seven months ago","wordpress-seo"),Object(o.__)("Six months ago","wordpress-seo"),Object(o.__)("Five months ago","wordpress-seo"),Object(o.__)("Four months ago","wordpress-seo"),Object(o.__)("Three months ago","wordpress-seo"),Object(o.__)("Two months ago","wordpress-seo"),Object(o.__)("Last month","wordpress-seo")]}mapAreaChartDataToTableData(e){return Math.round(100*e)}render(){const{keyphrase:e,relatedKeyphrases:t,countryCode:a,data:n,renderAction:s}=this.props,i="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(e)+"&db="+encodeURIComponent(a);return n&&!Object(l.isEmpty)(n.results)&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)("table",{className:"yoast yoast-table"},Object(r.createElement)("thead",null,Object(r.createElement)("tr",null,Object(r.createElement)("th",{scope:"col",className:"yoast-table--primary"},Object(o.__)("Related keyphrase","wordpress-seo")),Object(r.createElement)("th",{scope:"col",abbr:Object(o.__)("Volume","wordpress-seo")},Object(o.__)("Volume","wordpress-seo"),Object(r.createElement)(v.a,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},Object(r.createElement)("span",{className:"screen-reader-text"},
/* translators: Hidden accessibility text. */
Object(o.__)("Learn more about the related keyphrases volume","wordpress-seo")))),Object(r.createElement)("th",{scope:"col",abbr:Object(o.__)("Trend","wordpress-seo")},Object(o.__)("Trend","wordpress-seo"),Object(r.createElement)(v.a,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},Object(r.createElement)("span",{className:"screen-reader-text"},
/* translators: Hidden accessibility text. */
Object(o.__)("Learn more about the related keyphrases trend","wordpress-seo")))),s&&Object(r.createElement)("td",{className:"yoast-table--nobreak"}))),Object(r.createElement)("tbody",null,n.results.rows.map((e,a)=>{const n=e[0],i=this.transformTrendDataToChartPoints(e[2]),c=this.getAreaChartDataTableHeaderLabels();return Object(r.createElement)("tr",{key:a},Object(r.createElement)("td",null,n),Object(r.createElement)("td",null,e[1]),Object(r.createElement)("td",{className:"yoast-table--nopadding"},Object(r.createElement)(E.a,{width:66,height:24,data:i,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:this.mapAreaChartDataToTableData,dataTableCaption:Object(o.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:c})),s&&Object(r.createElement)("td",{className:"yoast-table--nobreak"},s(n,t)))}))),Object(r.createElement)("p",{style:{marginBottom:0}},Object(r.createElement)(_,{href:i},Object(o.sprintf)(
/* translators: %s expands to Semrush */
Object(o.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}k.propTypes={data:c.a.object,keyphrase:c.a.string,relatedKeyphrases:c.a.array,countryCode:c.a.string,renderAction:c.a.func},k.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null};var x=k;const T=Object(p.makeOutboundLink)();var S=()=>Object(r.createElement)(d.Alert,{type:"info"},Object(o.sprintf)(
/* translators: %s: Expands to "Yoast SEO". */
Object(o.__)("Would you like to be able to add these related keyphrases to the %s analysis so you can optimize your content even further?","wordpress-seo"),"Yoast SEO")+" ",Object(r.createElement)(T,{href:window.wpseoAdminL10n["shortlinks.semrush.premium_landing_page"]},Object(o.sprintf)(
/* translators: %s: Expands to "Yoast SEO Premium". */
Object(o.__)("Check out %s!","wordpress-seo"),"Yoast SEO Premium"))),R=()=>Object(r.createElement)(d.Alert,{type:"error"},Object(o.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo")),C=()=>Object(r.createElement)(d.Alert,{type:"warning"},Object(o.sprintf)(
/* translators: %s: Expands to "Yoast SEO". */
Object(o.__)("You've reached the maximum amount of 4 related keyphrases. You can change or remove related keyphrases in the %s metabox or sidebar.","wordpress-seo"),"Yoast SEO")),I=a(18);function P(e){const{response:t,lastRequestKeyphrase:a,keyphrase:n,newRequest:s,setCountry:i,renderAction:c,countryCode:d,requestLimitReached:p,setRequestFailed:m,setNoResultsFound:h,relatedKeyphrases:g,setRequestSucceeded:f,setRequestLimitReached:y}=e,w=Object(I.a)().isPremium;return Object(r.createElement)(r.Fragment,null,!p&&Object(r.createElement)(r.Fragment,null,!w&&Object(r.createElement)(S,null),w&&function(e){return e&&e.length>=4}(g)&&Object(r.createElement)(C,null),Object(r.createElement)(j,{countryCode:d,setCountry:i,newRequest:s,keyphrase:n,setRequestFailed:m,setNoResultsFound:h,setRequestSucceeded:f,setRequestLimitReached:y,response:t,lastRequestKeyphrase:a})),function(e){const{isPending:t,requestLimitReached:a,isSuccess:n,response:s,requestHasData:i}=e;return t?Object(r.createElement)(u,null):a?Object(r.createElement)(b,null):!n&&function(e){return!Object(l.isEmpty)(e)&&"error"in e}(s)?Object(r.createElement)(R,null):i?void 0:Object(r.createElement)("p",null,Object(o.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(e),Object(r.createElement)(x,{keyphrase:n,relatedKeyphrases:g,countryCode:d,renderAction:c,data:t}))}P.propTypes={keyphrase:c.a.string,relatedKeyphrases:c.a.array,renderAction:c.a.func,requestLimitReached:c.a.bool,countryCode:c.a.string.isRequired,setCountry:c.a.func.isRequired,newRequest:c.a.func.isRequired,setRequestSucceeded:c.a.func.isRequired,setRequestLimitReached:c.a.func.isRequired,setRequestFailed:c.a.func.isRequired,setNoResultsFound:c.a.func.isRequired,response:c.a.object,lastRequestKeyphrase:c.a.string},P.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""},t.a=Object(s.compose)([Object(n.withSelect)(e=>{const{getFocusKeyphrase:t,getSEMrushSelectedCountry:a,getSEMrushRequestLimitReached:n,getSEMrushRequestResponse:s,getSEMrushRequestIsSuccess:r,getSEMrushIsRequestPending:o,getSEMrushRequestHasData:i,getSEMrushRequestKeyphrase:c}=e("yoast-seo/editor");return{keyphrase:t(),countryCode:a(),requestLimitReached:n(),response:s(),isSuccess:r(),isPending:o(),requestHasData:i(),lastRequestKeyphrase:c()}}),Object(n.withDispatch)(e=>{const{setSEMrushChangeCountry:t,setSEMrushNewRequest:a,setSEMrushRequestSucceeded:n,setSEMrushRequestFailed:s,setSEMrushSetRequestLimitReached:r,setSEMrushNoResultsFound:o}=e("yoast-seo/editor");return{setCountry:e=>{t(e)},newRequest:(e,t)=>{a(e,t)},setRequestSucceeded:e=>{n(e)},setRequestFailed:e=>{s(e)},setRequestLimitReached:()=>{r()},setNoResultsFound:()=>{o()}}})])(P)},function(e,t,a){"use strict";a.d(t,"a",(function(){return m})),a.d(t,"b",(function(){return b}));var n=a(5),s=a(40),r=a(4),o=a(15),i=a(99),c=a(59),l=a(74),d=a(101),u=a(62);const p=Object(r.debounce)((async function(e,t){const{text:a,...r}=t,i=new o.Paper(a,r);try{const t=await e.analyze(i),{seo:a,readability:r,inclusiveLanguage:o}=t.result;if(a){const e=a[""];e.results=Object(l.sortResultsByIdentifier)(e.results),Object(n.dispatch)("yoast-seo/editor").setSeoResultsForKeyword(i.getKeyword(),e.results),Object(n.dispatch)("yoast-seo/editor").setOverallSeoScore(e.score,i.getKeyword())}r&&(r.results=Object(l.sortResultsByIdentifier)(r.results),Object(n.dispatch)("yoast-seo/editor").setReadabilityResults(r.results),Object(n.dispatch)("yoast-seo/editor").setOverallReadabilityScore(r.score)),o&&(o.results=Object(l.sortResultsByIdentifier)(o.results),Object(n.dispatch)("yoast-seo/editor").setInclusiveLanguageResults(o.results),Object(n.dispatch)("yoast-seo/editor").setOverallInclusiveLanguageScore(o.score)),Object(s.doAction)("yoast.analysis.run",t,{paper:i})}catch(e){Object(c.a)()}}),i.refreshDelay);function m(){const{getAnalysisData:e,getEditorDataTitle:t}=Object(n.select)("yoast-seo/editor");let a=e();a={...a,textTitle:t()};const r=function(e){return e.title=Object(u.a)("data_page_title",e.title),e.title=Object(u.a)("title",e.title),e.description=Object(u.a)("data_meta_desc",e.description),e.text=Object(u.a)("content",e.text),e}(a);return Object(s.applyFilters)("yoast.analysis.data",r)}function b(){const{getAnalysisTimestamp:e,isCornerstoneContent:t}=Object(n.select)("yoast-seo/editor"),a=Object(d.a)();a.initialize(Object(d.b)({useCornerstone:t()})).catch(c.a);let s=m(),o=t(),i=e();return Object(n.subscribe)(()=>{const n=t(),l=m(),d=e();if(n!==o)return o=n,s=l,void a.initialize({useCornerstone:n}).then(()=>p(a,l)).catch(c.a);d===i&&!1!==Object(r.isEqual)(l,s)||(s=l,i=d,p(a,l))}),a}},,function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var n=a(4);function s(e){return void 0===e.length?e:Object(n.flatten)(e).sort((e,t)=>void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority)}},function(e,t,a){"use strict";var n=a(20),s=a(5),r=a(64),o=a(70);t.a=Object(n.compose)([Object(s.withSelect)(e=>{const{isCornerstoneContent:t}=e("yoast-seo/editor");return{isCornerstone:t(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}}),Object(s.withDispatch)(e=>{const{toggleCornerstoneContent:t}=e("yoast-seo/editor");return{onChange:t}}),Object(o.a)()])(r.CollapsibleCornerstone)},function(e,t,a){"use strict";var n=a(0),s=a(5),r=a(1),o=a(8),i=a(4);t.a=()=>{const e=Object(s.useSelect)(e=>e("yoast-seo/editor").getEstimatedReadingTime(),[]),t=Object(n.useMemo)(()=>Object(i.get)(window,"wpseoAdminL10n.shortlinks-insights-estimated_reading_time",""),[]);return Object(n.createElement)(o.InsightsCard,{amount:e,unit:Object(r._n)("minute","minutes",e,"wordpress-seo"),title:Object(r.__)("Reading time","wordpress-seo"),linkTo:t
/* translators: Hidden accessibility text. */,linkText:Object(r.__)("Learn more about reading time","wordpress-seo")})}},function(e,t,a){"use strict";var n=a(0),s=a(5),r=a(1),o=a(8),i=a(11),c=a(15),l=a(4);const d=Object(i.makeOutboundLink)();function u(e,t,a){const s=function(e){switch(e){case c.DIFFICULTY.FAIRLY_DIFFICULT:case c.DIFFICULTY.DIFFICULT:case c.DIFFICULTY.VERY_DIFFICULT:return Object(r.__)("Try to make shorter sentences, using less difficult words to improve readability","wordpress-seo");case c.DIFFICULTY.NO_DATA:return Object(r.__)("Continue writing to get insight into the readability of your text!","wordpress-seo");default:return Object(r.__)("Good job!","wordpress-seo")}}(t);return Object(n.createElement)("span",null,function(e,t){return-1===e?Object(r.sprintf)(Object(r.__)("Your text should be slightly longer to calculate your Flesch reading ease score.","wordpress-seo")):Object(r.sprintf)(
/* Translators: %1$s expands to the numeric Flesch reading ease score,
%2$s expands to the easiness of reading (e.g. 'easy' or 'very difficult').
*/
Object(r.__)("The copy scores %1$s in the test, which is considered %2$s to read.","wordpress-seo"),e,function(e){switch(e){case c.DIFFICULTY.NO_DATA:return Object(r.__)("no data","wordpress-seo");case c.DIFFICULTY.VERY_EASY:return Object(r.__)("very easy","wordpress-seo");case c.DIFFICULTY.EASY:return Object(r.__)("easy","wordpress-seo");case c.DIFFICULTY.FAIRLY_EASY:return Object(r.__)("fairly easy","wordpress-seo");case c.DIFFICULTY.OKAY:return Object(r.__)("okay","wordpress-seo");case c.DIFFICULTY.FAIRLY_DIFFICULT:return Object(r.__)("fairly difficult","wordpress-seo");case c.DIFFICULTY.DIFFICULT:return Object(r.__)("difficult","wordpress-seo");case c.DIFFICULTY.VERY_DIFFICULT:return Object(r.__)("very difficult","wordpress-seo")}}(t))}(e,t)," ",t>=c.DIFFICULTY.FAIRLY_DIFFICULT?Object(n.createElement)(d,{href:a},s+"."):s)}t.a=()=>{let e=Object(s.useSelect)(e=>e("yoast-seo/editor").getFleschReadingEaseScore(),[]);const t=Object(n.useMemo)(()=>Object(l.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease",""),[]),a=Object(s.useSelect)(e=>e("yoast-seo/editor").getFleschReadingEaseDifficulty(),[e]),i=Object(n.useMemo)(()=>{const t=Object(l.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease_article","");return u(e,a,t)},[e,a]);return-1===e&&(e="?"),Object(n.createElement)(o.InsightsCard,{amount:e,unit:Object(r.__)("out of 100","wordpress-seo"),title:Object(r.__)("Flesch reading ease","wordpress-seo"),linkTo:t
/* translators: Hidden accessibility text. */,linkText:Object(r.__)("Learn more about Flesch reading ease","wordpress-seo"),description:i})}},function(e,t,a){"use strict";var n=a(0),s=a(5),r=a(1),o=a(8),i=a(4);t.a=()=>{const e=Object(s.useSelect)(e=>e("yoast-seo/editor").getTextLength(),[]),t=Object(n.useMemo)(()=>Object(i.get)(window,"wpseoAdminL10n.shortlinks-insights-word_count",""),[]);let a=Object(r._n)("word","words",e.count,"wordpress-seo"),c=Object(r.__)("Word count","wordpress-seo"),l=Object(r.__)("Learn more about word count","wordpress-seo");return"character"===e.unit&&(a=Object(r._n)("character","characters",e.count,"wordpress-seo"),c=Object(r.__)("Character count","wordpress-seo"),
/* translators: Hidden accessibility text. */
l=Object(r.__)("Learn more about character count","wordpress-seo")),Object(n.createElement)(o.InsightsCard,{amount:e.count,unit:a,title:c,linkTo:t,linkText:l})}},function(e,t,a){"use strict";a.d(t,"a",(function(){return g}));var n=a(10),s=a.n(n),r=a(0),o=a(125),i=a(1),c=a(14),l=a(22),d=a(6),u=a(61),p=a(50),m=a(72),b=a(55),h=a(33);const g=()=>{const[e,,,t,a]=Object(d.useToggleState)(!1),{locationContext:n}=Object(l.useRootContext)(),g=Object(d.useSvgAria)(),f=n.includes("sidebar"),y=n.includes("metabox"),w=wpseoAdminL10n[f?"shortlinks.upsell.sidebar.internal_linking_suggestions":"shortlinks.upsell.metabox.internal_linking_suggestions"];return Object(r.createElement)(r.Fragment,null,e&&Object(r.createElement)(h.a,{title:Object(i.__)("Get internal linking suggestions","wordpress-seo"),onRequestClose:a,additionalClassName:"",id:"yoast-internal-linking-suggestions-upsell",className:h.b+" yoast-gutenberg-modal__box yoast-gutenberg-modal__no-padding",shouldCloseOnClickOutside:!0},Object(r.createElement)(b.b,null,Object(r.createElement)(m.a,{title:Object(i.__)("Rank higher by connecting your content","wordpress-seo"),description:Object(i.sprintf)(
/* translators: %s expands to Yoast SEO Premium. */
Object(i.__)("%s automatically suggests to what content you can link with easy drag-and-drop functionality, which is good for your SEO!","wordpress-seo"),"Yoast SEO Premium"),benefitsTitle:Object(i.__)("Whats more in Yoast SEO Premium?","wordpress-seo"),benefits:[Object(i.__)("Create content faster: Use AI to create titles & meta descriptions","wordpress-seo"),Object(i.__)("Get extra SEO checks with the Premium SEO analysis","wordpress-seo"),Object(i.__)("Get help ranking for multiple keyphrases","wordpress-seo"),Object(i.__)("Avoid dead links on your site","wordpress-seo"),Object(i.__)("Preview how your content looks when shared on social","wordpress-seo"),Object(i.__)("Get guidance & save time on routine SEO tasks","wordpress-seo")],upsellButtonText:Object(i.sprintf)(
/* translators: %s expands to 'Yoast SEO Premium'. */
Object(i.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:Object(c.addQueryArgs)(w,{context:n}),className:"yoast-button-upsell",rel:null,"data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2","data-action":"load-nfd-ctb"},upsellButtonLabel:Object(i.__)("1 year free support and updates included!","wordpress-seo")}))),f&&Object(r.createElement)(p.a,{id:"yoast-internal-linking-suggestions-sidebar-modal-open-button",title:Object(i.__)("Internal linking suggestions","wordpress-seo"),onClick:t},Object(r.createElement)("div",{className:"yst-root"},Object(r.createElement)(d.Badge,{size:"small",variant:"upsell"},Object(r.createElement)(o.a,s()({className:"yst-w-2.5 yst-h-2.5 yst-shrink-0"},g))))),y&&Object(r.createElement)("div",{className:"yst-root"},Object(r.createElement)(u.a,{id:"yoast-internal-linking-suggestions-metabox-modal-open-button",onClick:t},Object(r.createElement)(u.a.Text,null,Object(i.__)("Internal linking suggestions","wordpress-seo")),Object(r.createElement)(d.Badge,{size:"small",variant:"upsell"},Object(r.createElement)(o.a,s()({className:"yst-w-2.5 yst-h-2.5 yst-mr-1 yst-shrink-0"},g)),Object(r.createElement)("span",null,"Premium")))))}},function(e,t,a){"use strict";var n=a(10),s=a.n(n),r=a(0),o=a(125),i=a(1),c=a(14),l=a(8),d=a(22),u=a(16),p=a(6),m=a(61),b=a(50),h=a(55),g=a(33),f=a(139);t.a=()=>{const[e,,,t,a]=Object(p.useToggleState)(!1),n=Object(r.useContext)(d.LocationContext),{locationContext:y}=Object(d.useRootContext)(),w=Object(p.useSvgAria)(),O=wpseoAdminL10n["sidebar"===n.toLowerCase()?"shortlinks.upsell.sidebar.additional_button":"shortlinks.upsell.metabox.additional_button"];return Object(r.createElement)(r.Fragment,null,e&&Object(r.createElement)(g.a,{title:Object(i.__)("Add related keyphrases","wordpress-seo"),onRequestClose:a,additionalClassName:"",id:"yoast-additional-keyphrases-modal",className:g.b+" yoast-gutenberg-modal__box yoast-gutenberg-modal__no-padding",shouldCloseOnClickOutside:!0},Object(r.createElement)(h.b,null,Object(r.createElement)(f.a,{buyLink:Object(c.addQueryArgs)(O,{context:y})}))),"sidebar"===n&&Object(r.createElement)(b.a,{id:"yoast-additional-keyphrase-modal-open-button",title:Object(i.__)("Add related keyphrase","wordpress-seo"),prefixIcon:{icon:"plus",color:u.colors.$color_grey_medium_dark},onClick:t},Object(r.createElement)("div",{className:"yst-root"},Object(r.createElement)(p.Badge,{size:"small",variant:"upsell"},Object(r.createElement)(o.a,s()({className:"yst-w-2.5 yst-h-2.5 yst-shrink-0"},w))))),"metabox"===n&&Object(r.createElement)("div",{className:"yst-root"},Object(r.createElement)(m.a,{id:"yoast-additional-keyphrase-metabox-modal-open-button",onClick:t},Object(r.createElement)(l.SvgIcon,{icon:"plus",color:u.colors.$color_grey_medium_dark}),Object(r.createElement)(m.a.Text,null,Object(i.__)("Add related keyphrase","wordpress-seo")),Object(r.createElement)(p.Badge,{size:"small",variant:"upsell"},Object(r.createElement)(o.a,s()({className:"yst-w-2.5 yst-h-2.5 yst-mr-1 yst-shrink-0"},w)),Object(r.createElement)("span",null,"Premium")))))}},function(e,t,a){"use strict";a.d(t,"a",(function(){return p}));var n=a(10),s=a.n(n),r=a(0),o=a(5),i=a(1),c=a(14),l=a(2),d=a.n(l),u=a(89);const p=e=>{let{store:t="yoast-seo/editor",location:a="sidebar",...n}=e;const l=Object(o.useSelect)(e=>e(t).getIsPremium(),[t]),d=Object(o.useSelect)(e=>e(t).selectLinkParams(),[t]),p="sidebar"===a?Object(i.sprintf)(
/* translators: %1$s expands to YOAST SEO PREMIUM */
Object(i.__)("BLACK FRIDAY SALE: %1$s","wordpress-seo"),"YOAST SEO PREMIUM"):Object(r.createInterpolateElement)(Object(i.sprintf)(
/* translators: %1$s expands to YOAST SEO PREMIUM, %2$s expands to a link on yoast.com, %3$s expands to the anchor end tag. */
Object(i.__)("BLACK FRIDAY SALE: %1$s %2$sBuy now!%3$s","wordpress-seo"),"YOAST SEO PREMIUM","<a>","</a>"),{a:Object(r.createElement)("a",{href:Object(c.addQueryArgs)("https://yoa.st/black-friday-sale",d),target:"_blank",rel:"noreferrer"})});return l?null:Object(r.createElement)(u.a,s()({id:"black-friday-2023-promotion-"+a,promoId:"black-friday-2023-promotion",alertKey:"black-friday-2023-promotion",store:t,title:p,image:Image},n),Object(r.createElement)("span",{className:"yoast-bf-sale-badge"},Object(i.__)("30% OFF!","wordpress-seo")," "),"sidebar"===a&&Object(r.createElement)("a",{className:"yst-block yst--mb-[1em]",href:Object(c.addQueryArgs)("https://yoa.st/black-friday-sale",d),target:"_blank",rel:"noreferrer"},Object(i.__)("Buy now!","wordpress-seo")))};p.propTypes={store:d.a.string,location:d.a.oneOf(["sidebar","metabox"])}},,,function(e,t,a){"use strict";var n=a(20),s=a(5),r=a(0),o=a(1),i=a(8),c=a(11),l=a(2),d=a.n(l),u=a(22),p=a(4),m=a(42),b=a(19);const h=e=>{if(!e.isAuthenticated)return null;const t=Object(r.useCallback)(()=>{Object(m.d)()});return Object(r.createElement)(b.Button,{variant:"link",onClick:t},Object(o.__)("Manage WordProof settings","wordpress-seo"))};h.propTypes={isAuthenticated:d.a.bool.isRequired};const g=e=>{const t=Object(r.useCallback)(()=>{Object(m.c)()});return!e.isAuthenticated&&e.toggleIsEnabled?Object(r.createElement)(b.Button,{variant:"link",onClick:t},Object(o.__)("Authenticate with WordProof","wordpress-seo")):null};g.propTypes={isAuthenticated:d.a.bool.isRequired,toggleIsEnabled:d.a.bool.isRequired};class f extends r.Component{constructor(e){super(e),this.handleToggle=this.handleToggle.bind(this),this.turnToggleOff=this.turnToggleOff.bind(this),this.turnToggleOn=this.turnToggleOn.bind(this)}componentDidMount(){window.addEventListener("wordproof:webhook:failed",this.turnToggleOff,!1),window.addEventListener("wordproof:oauth:success",this.turnToggleOn,!1)}componentWillUnmount(){window.removeEventListener("wordproof:webhook:failed",this.turnToggleOff,!1),window.removeEventListener("wordproof:oauth:success",this.turnToggleOn,!1)}handleToggle(e){this.props.isAuthenticated||!e?this.props.onToggle(e):Object(m.c)()}turnToggleOn(){this.props.onToggle(!0)}turnToggleOff(){this.props.onToggle(!1)}render(){return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(i.FieldGroup
/* translators: Hidden accessibility text. */,{linkText:Object(o.__)("Learn more about timestamping","wordpress-seo"),linkTo:"https://yoa.st/wordproof-integration",htmlFor:this.props.id,label:Object(o.__)("Timestamp with WordProof","wordpress-seo")},Object(r.createElement)(i.Toggle,{id:this.props.id,labelText:Object(o.sprintf)(
/* Translators: %s translates to the Post type in singular form */
Object(o.__)("Timestamp this %s","wordpress-seo"),this.props.postTypeName.toLowerCase()),isEnabled:this.props.isEnabled,onSetToggleState:this.handleToggle}),Object(r.createElement)(h,{isAuthenticated:this.props.isAuthenticated}),Object(r.createElement)(g,{toggleIsEnabled:this.props.isEnabled,isAuthenticated:this.props.isAuthenticated}),!this.props.isAuthenticated&&this.props.isEnabled&&Object(r.createElement)(i.Alert,{className:"yoast-wordproof-metabox-alert",type:"info"},Object(o.__)("Unable to create new timestamps. Please authenticate with WordProof.","wordpress-seo"))))}}f.propTypes={id:d.a.string,isEnabled:d.a.bool,onToggle:d.a.func,postTypeName:d.a.string,isAuthenticated:d.a.bool.isRequired},f.defaultProps={id:"timestamp-toggle",isEnabled:!0,postTypeName:"post",onToggle:p.noop};var y=Object(n.compose)([Object(s.withSelect)(e=>({isAuthenticated:e("wordproof").getIsAuthenticated()}))])(f);const w=e=>{let{noIndex:t,onNoIndexChange:a,editorContext:n,isPrivateBlog:s}=e;const l=(e=>{const t=Object(o.__)("No","wordpress-seo"),a=Object(o.__)("Yes","wordpress-seo"),n=e.noIndex?t:a;return window.wpseoScriptData.isPost?[{name:Object(o.sprintf)(
/* Translators: %s translates to "yes" or "no", %s translates to the Post Label in plural form */
Object(o.__)("%s (current default for %s)","wordpress-seo"),n,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:a,value:"2"}]:[{name:Object(o.sprintf)(
/* Translators: %s translates to the "yes" or "no" ,%s translates to the Post Label in plural form */
Object(o.__)("%s (current default for %s)","wordpress-seo"),n,e.postTypeNamePlural),value:"default"},{name:a,value:"index"},{name:t,value:"noindex"}]})(n);return Object(r.createElement)(u.LocationConsumer,null,e=>Object(r.createElement)(r.Fragment,null,s&&Object(r.createElement)(i.Alert,{type:"warning"},Object(o.__)("Even though you can set the meta robots setting here, the entire site is set to noindex in the sitewide privacy settings, so these settings won't have an effect.","wordpress-seo")),Object(r.createElement)(i.Select,{label:Object(o.sprintf)(
/* Translators: %s translates to the Post Label in singular form */
Object(o.__)("Allow search engines to show this %s in search results?","wordpress-seo"),n.postTypeNameSingular),onChange:a,id:Object(c.join)(["yoast-meta-robots-noindex",e]),options:l,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.allow_search_engines"]
/* translators: Hidden accessibility text. */,linkText:Object(o.__)("Learn more about the no-index setting on our help page.","wordpress-seo")})))};w.propTypes={noIndex:d.a.string.isRequired,onNoIndexChange:d.a.func.isRequired,editorContext:d.a.object.isRequired,isPrivateBlog:d.a.bool},w.defaultProps={isPrivateBlog:!1};const O=e=>{let{noFollow:t,onNoFollowChange:a,postTypeName:n}=e;return Object(r.createElement)(u.LocationConsumer,null,e=>{const s=Object(c.join)(["yoast-meta-robots-nofollow",e]);return Object(r.createElement)(i.RadioButtonGroup,{id:s,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:Object(o.sprintf)(
/* Translators: %s translates to the Post Label in singular form */
Object(o.__)("Should search engines follow links on this %s","wordpress-seo"),n),groupName:s,onChange:a,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.follow_links"]
/* translators: Hidden accessibility text. */,linkText:Object(o.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})})};O.propTypes={noFollow:d.a.string.isRequired,onNoFollowChange:d.a.func.isRequired,postTypeName:d.a.string.isRequired};const j=e=>{let{advanced:t,onAdvancedChange:a}=e;return Object(r.createElement)(u.LocationConsumer,null,e=>{const n=Object(c.join)(["yoast-meta-robots-advanced",e]),s=n+"-input";return Object(r.createElement)(i.MultiSelect,{label:Object(o.__)("Meta robots advanced","wordpress-seo"),onChange:a,id:n,inputId:s,options:[{name:Object(o.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:Object(o.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:Object(o.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.meta_robots"]
/* translators: Hidden accessibility text. */,linkText:Object(o.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})})};j.propTypes={advanced:d.a.array.isRequired,onAdvancedChange:d.a.func.isRequired};const E=e=>{let{breadcrumbsTitle:t,onBreadcrumbsTitleChange:a}=e;return Object(r.createElement)(u.LocationConsumer,null,e=>Object(r.createElement)(i.TextInput,{label:Object(o.__)("Breadcrumbs Title","wordpress-seo"),id:Object(c.join)(["yoast-breadcrumbs-title",e]),onChange:a,value:t,linkTo:wpseoAdminL10n["shortlinks.advanced.breadcrumbs_title"]
/* translators: Hidden accessibility text. */,linkText:Object(o.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")}))};E.propTypes={breadcrumbsTitle:d.a.string.isRequired,onBreadcrumbsTitleChange:d.a.func.isRequired};const v=e=>{let{canonical:t,onCanonicalChange:a}=e;return Object(r.createElement)(u.LocationConsumer,null,e=>Object(r.createElement)(i.TextInput,{label:Object(o.__)("Canonical URL","wordpress-seo"),id:Object(c.join)(["yoast-canonical",e]),onChange:a,value:t,linkTo:"https://yoa.st/canonical-url"
/* translators: Hidden accessibility text. */,linkText:Object(o.__)("Learn more about canonical URLs on our help page.","wordpress-seo")}))};v.propTypes={canonical:d.a.string.isRequired,onCanonicalChange:d.a.func.isRequired};const _=e=>{let{wordproofTimestamp:t,onWordProofTimestampChange:a,postTypeName:n}=e;return Object(r.createElement)(u.LocationConsumer,null,e=>Object(r.createElement)(y,{id:Object(c.join)(["yoast-wordproof-timestamp",e]),isEnabled:t,onToggle:a,postTypeName:n}))};_.propTypes={wordproofTimestamp:d.a.bool.isRequired,onWordProofTimestampChange:d.a.func.isRequired,postTypeName:d.a.string.isRequired};const k=e=>{const{noIndex:t,noFollow:a,advanced:n,breadcrumbsTitle:s,canonical:o,wordproofTimestamp:i,onNoIndexChange:c,onNoFollowChange:l,onAdvancedChange:d,onBreadcrumbsTitleChange:u,onCanonicalChange:p,onWordProofTimestampChange:m,onLoad:b,isLoading:h,editorContext:g,isBreadcrumbsDisabled:f,isPrivateBlog:y,isWordProofIntegrationActive:k}=e;Object(r.useEffect)(()=>{setTimeout(()=>{h&&b()})});const x={noIndex:t,onNoIndexChange:c,editorContext:g,isPrivateBlog:y},T={noFollow:a,onNoFollowChange:l,postTypeName:g.postTypeNameSingular},S={advanced:n,onAdvancedChange:d},R={breadcrumbsTitle:s,onBreadcrumbsTitleChange:u},C={canonical:o,onCanonicalChange:p},I={wordproofTimestamp:i,onWordProofTimestampChange:m,postTypeName:g.postTypeNameSingular};return h?null:Object(r.createElement)(r.Fragment,null,Object(r.createElement)(w,x),g.isPost&&Object(r.createElement)(O,T),g.isPost&&Object(r.createElement)(j,S),!f&&Object(r.createElement)(E,R),Object(r.createElement)(v,C),k&&Object(r.createElement)(_,I))};k.propTypes={noIndex:d.a.string.isRequired,canonical:d.a.string.isRequired,wordproofTimestamp:d.a.bool,onNoIndexChange:d.a.func.isRequired,onCanonicalChange:d.a.func.isRequired,onWordProofTimestampChange:d.a.func,onLoad:d.a.func.isRequired,isLoading:d.a.bool.isRequired,editorContext:d.a.object.isRequired,isBreadcrumbsDisabled:d.a.bool.isRequired,isPrivateBlog:d.a.bool,advanced:d.a.array,onAdvancedChange:d.a.func,noFollow:d.a.string,onNoFollowChange:d.a.func,breadcrumbsTitle:d.a.string,onBreadcrumbsTitleChange:d.a.func,isWordProofIntegrationActive:d.a.bool.isRequired},k.defaultProps={advanced:[],onAdvancedChange:()=>{},noFollow:"",onNoFollowChange:()=>{},breadcrumbsTitle:"",onBreadcrumbsTitleChange:()=>{},isPrivateBlog:!1,onWordProofTimestampChange:()=>{},wordproofTimestamp:!1};var x=k;t.a=Object(n.compose)([Object(s.withSelect)(e=>{const{getNoIndex:t,getNoFollow:a,getAdvanced:n,getBreadcrumbsTitle:s,getCanonical:r,getWordProofTimestamp:o,getIsLoading:i,getEditorContext:c,getPreferences:l}=e("yoast-seo/editor"),{isBreadcrumbsDisabled:d,isPrivateBlog:u,isWordProofIntegrationActive:p}=l();return{noIndex:t(),noFollow:a(),advanced:n(),breadcrumbsTitle:s(),canonical:r(),wordproofTimestamp:o(),isLoading:i(),editorContext:c(),isBreadcrumbsDisabled:d,isPrivateBlog:u,isWordProofIntegrationActive:p}}),Object(s.withDispatch)(e=>{const{setNoIndex:t,setNoFollow:a,setAdvanced:n,setBreadcrumbsTitle:s,setCanonical:r,setWordProofTimestamp:o,loadAdvancedSettingsData:i}=e("yoast-seo/editor");return{onNoIndexChange:t,onNoFollowChange:a,onAdvancedChange:n,onBreadcrumbsTitleChange:s,onCanonicalChange:r,onWordProofTimestampChange:o,onLoad:i}})])(x)},function(e,t,a){"use strict";var n=a(0),s=a(20),r=a(5),o=a(1),i=a(2),c=a.n(i),l=a(8),d=a(11),u=a(39),p=a.n(u),m=a(9),b=a.n(m),h=a(119),g=a(4);const f=Object(d.makeOutboundLink)(),y=b.a.div`
padding: 16px;
`;function w(e){let{location:t,show:a}=e;return a?Object(n.createElement)(l.Alert,{type:"info"},Object(o.sprintf)(
/* translators: %s Expands to "Yoast News SEO" */
Object(o.__)("Are you working on a news article? %s helps you optimize your site for Google News.","wordpress-seo"),"Yoast News SEO")+" ",Object(n.createElement)(f,{href:window.wpseoAdminL10n[`shortlinks.upsell.${t}.news`]},Object(o.sprintf)(
/* translators: %s: Expands to "Yoast News SEO". */
Object(o.__)("Buy %s now!","wordpress-seo"),"Yoast News SEO"))):null}w.propTypes={show:c.a.bool.isRequired,location:c.a.string.isRequired};const O=(e,t,a)=>{const n=e.find(e=>e.value===t);return[{name:Object(o.sprintf)(
/* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */
Object(o.__)("Default for %1$s (%2$s)","wordpress-seo"),a,n?n.name:""),value:""},...e]},j=e=>Object(o.sprintf)(
/* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Settings page */
Object(o.__)("You can change the default type for %1$s under Content types in the %2$sSettings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}");c.a.string.isRequired,c.a.string.isRequired,c.a.string.isRequired;const E=e=>{const t=O(e.pageTypeOptions,e.defaultPageType,e.postTypeName),a=O(e.articleTypeOptions,e.defaultArticleType,e.postTypeName),s=Object(g.get)(window,"wpseoScriptData.metabox.woocommerceUpsellSchemaLink",""),r=Object(g.get)(window,"wpseoScriptData.woocommerceUpsell",""),[i,c]=Object(n.useState)(e.schemaArticleTypeSelected),u=Object(o.__)("Want your products stand out in search results with rich results like price, reviews and more?","wordpress-seo"),m=Object(n.useCallback)((e,t)=>{c(t)},[i]);return Object(n.useEffect)(()=>{m(null,e.schemaArticleTypeSelected)},[e.schemaArticleTypeSelected]),Object(n.createElement)(n.Fragment,null,Object(n.createElement)(l.FieldGroup,{label:Object(o.__)("What type of page or content is this?","wordpress-seo"),linkTo:e.additionalHelpTextLink
/* translators: Hidden accessibility text. */,linkText:Object(o.__)("Learn more about page or content types","wordpress-seo")}),r&&Object(n.createElement)(h.a,{link:s,text:u}),Object(n.createElement)(l.Select,{id:Object(d.join)(["yoast-schema-page-type",e.location]),options:t,label:Object(o.__)("Page type","wordpress-seo"),onChange:e.schemaPageTypeChange,selected:e.schemaPageTypeSelected}),e.showArticleTypeInput&&Object(n.createElement)(l.Select,{id:Object(d.join)(["yoast-schema-article-type",e.location]),options:a,label:Object(o.__)("Article type","wordpress-seo"),onChange:e.schemaArticleTypeChange,selected:e.schemaArticleTypeSelected,onOptionFocus:m}),Object(n.createElement)(w,{location:e.location,show:!e.isNewsEnabled&&(f=i,y=e.defaultArticleType,"NewsArticle"===f||""===f&&"NewsArticle"===y)}),e.displayFooter&&Object(n.createElement)("p",null,(b=e.postTypeName,p()({mixedString:j(b),components:{link:Object(n.createElement)("a",{href:"/wp-admin/admin.php?page=wpseo_page_settings",target:"_blank"})}}))));var b,f,y},v=c.a.arrayOf(c.a.shape({name:c.a.string,value:c.a.string}));E.propTypes={schemaPageTypeChange:c.a.func,schemaPageTypeSelected:c.a.string,pageTypeOptions:v.isRequired,schemaArticleTypeChange:c.a.func,schemaArticleTypeSelected:c.a.string,articleTypeOptions:v.isRequired,showArticleTypeInput:c.a.bool.isRequired,additionalHelpTextLink:c.a.string.isRequired,helpTextLink:c.a.string.isRequired,helpTextTitle:c.a.string.isRequired,helpTextDescription:c.a.string.isRequired,postTypeName:c.a.string.isRequired,displayFooter:c.a.bool,defaultPageType:c.a.string.isRequired,defaultArticleType:c.a.string.isRequired,location:c.a.string.isRequired,isNewsEnabled:c.a.bool},E.defaultProps={schemaPageTypeChange:()=>{},schemaPageTypeSelected:null,schemaArticleTypeChange:()=>{},schemaArticleTypeSelected:null,displayFooter:!1,isNewsEnabled:!1};const _=e=>e.isMetabox?Object(n.createPortal)(Object(n.createElement)(y,null,Object(n.createElement)(E,e)),document.getElementById("wpseo-meta-section-schema")):Object(n.createElement)(E,e);_.propTypes={showArticleTypeInput:c.a.bool,articleTypeLabel:c.a.string,additionalHelpTextLink:c.a.string,pageTypeLabel:c.a.string.isRequired,helpTextLink:c.a.string.isRequired,helpTextTitle:c.a.string.isRequired,helpTextDescription:c.a.string.isRequired,isMetabox:c.a.bool.isRequired,postTypeName:c.a.string.isRequired,displayFooter:c.a.bool,loadSchemaArticleData:c.a.func.isRequired,loadSchemaPageData:c.a.func.isRequired,location:c.a.string.isRequired},_.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1};var k=_,x=a(104),T=a(70);const S=e=>{const t=null!==x.a.articleTypeInput;Object(n.useEffect)(()=>{e.loadSchemaPageData(),t&&e.loadSchemaArticleData()},[]);const{pageTypeOptions:a,articleTypeOptions:s}=window.wpseoScriptData.metabox.schema,r={articleTypeLabel:Object(o.__)("Article type","wordpress-seo"),pageTypeLabel:Object(o.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:Object(o.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:Object(o.__)("This helps search engines understand your website and your content. You can change some of your settings for this page below.","wordpress-seo"),showArticleTypeInput:t,pageTypeOptions:a,articleTypeOptions:s},i={...e,...r,...(c=e.location,"metabox"===c?{helpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.page_type"],isMetabox:!0}:{helpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.page_type"],isMetabox:!1})};var c;return Object(n.createElement)(k,i)};S.propTypes={displayFooter:c.a.bool.isRequired,schemaPageTypeSelected:c.a.string.isRequired,schemaArticleTypeSelected:c.a.string.isRequired,defaultArticleType:c.a.string.isRequired,defaultPageType:c.a.string.isRequired,loadSchemaPageData:c.a.func.isRequired,loadSchemaArticleData:c.a.func.isRequired,schemaPageTypeChange:c.a.func.isRequired,schemaArticleTypeChange:c.a.func.isRequired,location:c.a.string.isRequired},t.a=Object(s.compose)([Object(r.withSelect)(e=>{const{getPreferences:t,getPageType:a,getDefaultPageType:n,getArticleType:s,getDefaultArticleType:r}=e("yoast-seo/editor"),{displaySchemaSettingsFooter:o,isNewsEnabled:i}=t();return{displayFooter:o,isNewsEnabled:i,schemaPageTypeSelected:a(),schemaArticleTypeSelected:s(),defaultArticleType:r(),defaultPageType:n()}}),Object(r.withDispatch)(e=>{const{setPageType:t,setArticleType:a,getSchemaPageData:n,getSchemaArticleData:s}=e("yoast-seo/editor");return{loadSchemaPageData:n,loadSchemaArticleData:s,schemaPageTypeChange:t,schemaArticleTypeChange:a}}),Object(T.a)()])(S)},function(e,t,a){"use strict";var n=a(10),s=a.n(n),r=a(0),o=a(125),i=a(1),c=a(8),l=a(16),d=a(6),u=a(2),p=a.n(u),m=a(61),b=a(50),h=a(55),g=a(33),f=a(14),y=a(22),w=a(72);const O=e=>{const t=[Object(i.__)("Create content faster: Use AI to create titles & meta descriptions","wordpress-seo"),Object(i.__)("Get help ranking for multiple keyphrases","wordpress-seo"),Object(i.__)("Avoid dead links on your site","wordpress-seo"),Object(i.__)("Easily improve the structure of your site","wordpress-seo"),Object(i.__)("Preview how your content looks when shared on social","wordpress-seo"),Object(i.__)("Get guidance & save time on routine SEO tasks","wordpress-seo")],{locationContext:a}=Object(y.useRootContext)(),n=Object(f.addQueryArgs)(wpseoAdminL10n[e.buyLink],{context:a});return Object(r.createElement)(w.a,{title:Object(i.__)("Get more help with writing content that ranks","wordpress-seo"),description:Object(i.__)("Check your text on even more SEO criteria and get an enhanced keyphrase analysis, making it easier to optimize your content.","wordpress-seo"),benefitsTitle:Object(i.__)("Whats more in Yoast SEO Premium?","wordpress-seo"),benefits:t,upsellButtonText:Object(i.sprintf)(
/* translators: %s expands to 'Yoast SEO Premium'. */
Object(i.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:n,className:"yoast-button-upsell",rel:null,"data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2","data-action":"load-nfd-ctb"},upsellButtonLabel:Object(i.__)("1 year of premium support and updates included!","wordpress-seo")})};O.propTypes={buyLink:p.a.string.isRequired};var j=O;const E=e=>{let{location:t}=e;const[a,n]=Object(r.useState)(!1),u=Object(r.useCallback)(()=>n(!1),[]),p=Object(r.useCallback)(()=>n(!0),[]),f=Object(d.useSvgAria)();return Object(r.createElement)(r.Fragment,null,a&&Object(r.createElement)(g.a,{title:Object(i.__)("Unlock Premium SEO analysis","wordpress-seo"),onRequestClose:u,additionalClassName:"",className:g.b+" yoast-gutenberg-modal__box yoast-gutenberg-modal__no-padding",id:"yoast-premium-seo-analysis-modal",shouldCloseOnClickOutside:!0},Object(r.createElement)(h.b,null,Object(r.createElement)(j,{buyLink:`shortlinks.upsell.${t}.premium_seo_analysis_button`}))),"sidebar"===t&&Object(r.createElement)(b.a,{id:"yoast-premium-seo-analysis-modal-open-button",title:Object(i.__)("Premium SEO analysis","wordpress-seo"),prefixIcon:{icon:"seo-score-none",color:l.colors.$color_grey},onClick:p},Object(r.createElement)("div",{className:"yst-root"},Object(r.createElement)(d.Badge,{size:"small",variant:"upsell"},Object(r.createElement)(o.a,s()({className:"yst-w-2.5 yst-h-2.5 yst-shrink-0"},f))))),"metabox"===t&&Object(r.createElement)("div",{className:"yst-root"},Object(r.createElement)(m.a,{id:"yoast-premium-seo-analysis-metabox-modal-open-button",onClick:p},Object(r.createElement)(c.SvgIcon,{icon:"seo-score-none",color:l.colors.$color_grey}),Object(r.createElement)(m.a.Text,null,Object(i.__)("Premium SEO analysis","wordpress-seo")),Object(r.createElement)(d.Badge,{size:"small",variant:"upsell"},Object(r.createElement)(o.a,s()({className:"yst-w-2.5 yst-h-2.5 yst-mr-1 yst-shrink-0"},f)),Object(r.createElement)("span",null,"Premium")))))};E.propTypes={location:p.a.string},E.defaultProps={location:"sidebar"},t.a=E},function(e,t,a){"use strict";var n=a(10),s=a.n(n),r=a(0),o=a(20),i=a(5),c=a(1),l=a(171),d=a(22),u=a(2),p=a.n(u),m=a(9),b=a.n(m),h=a(8),g=a(11);const f=b()(h.StyledSection)`
&${h.StyledSectionBase} {
padding: 0;
& ${h.StyledHeading} {
${Object(g.getDirectionalStyle)("padding-left","padding-right")}: 20px;
margin-left: ${Object(g.getDirectionalStyle)("0","20px")};
}
}
`,y=e=>{let{children:t,title:a,icon:n,hasPaperStyle:s,shoppingData:o}=e;return Object(r.createElement)(f,{headingLevel:3,headingText:a,headingIcon:n,headingIconColor:"#555",hasPaperStyle:s,shoppingData:o},t)};y.propTypes={children:p.a.element,title:p.a.string,icon:p.a.string,hasPaperStyle:p.a.bool,shoppingData:p.a.object},y.defaultProps={hasPaperStyle:!0,shoppingData:null};var w=y,O=a(65),j=a(85),E=a(119),v=a(4);const _=function(e,t){let a=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(a=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[a]&&(e.url=e.url.slice(0,a)+e.url.slice(a+1)),Object(O.applyReplaceUsingPlugin)(e)};t.a=Object(o.compose)([Object(i.withSelect)((function(e){const{getBaseUrlFromSettings:t,getDateFromSettings:a,getFocusKeyphrase:n,getRecommendedReplaceVars:s,getReplaceVars:r,getShoppingData:o,getSiteIconUrlFromSettings:i,getSnippetEditorData:c,getSnippetEditorMode:l,getSnippetEditorPreviewImageUrl:d,getSnippetEditorWordsToHighlight:u,isCornerstoneContent:p,getIsTerm:m,getContentLocale:b,getSiteName:h}=e("yoast-seo/editor"),g=r();return g.forEach(e=>{""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")}),{baseUrl:t(),data:c(),date:a(),faviconSrc:i(),keyword:n(),mobileImageSrc:d(),mode:l(),recommendedReplacementVariables:s(),replacementVariables:g,shoppingData:o(),wordsToHighlight:u(),isCornerstone:p(),isTaxonomy:m(),locale:b(),siteName:h()}})),Object(i.withDispatch)((function(e,t,a){let{select:n}=a;const{updateData:s,switchMode:r,updateAnalysisData:o,findCustomFields:i}=e("yoast-seo/editor"),c=e("core/editor"),l=n("yoast-seo/editor").getPostId();return{onChange:(e,t)=>{switch(e){case"mode":r(t);break;case"slug":s({slug:t}),c&&c.editPost({slug:t});break;default:s({[e]:t})}},onChangeAnalysisData:o,onReplacementVariableSearchChange:Object(j.a)(l,i)}}))])(e=>{const t=Object(v.get)(window,"wpseoScriptData.metabox.woocommerceUpsellGooglePreviewLink",""),a=Object(v.get)(window,"wpseoScriptData.woocommerceUpsell",""),n=Object(c.__)("Want an enhanced Google preview of how your WooCommerce products look in the search results?","wordpress-seo");return Object(r.createElement)(d.LocationConsumer,null,o=>Object(r.createElement)(w,{icon:"eye",hasPaperStyle:e.hasPaperStyle},Object(r.createElement)(r.Fragment,null,a&&Object(r.createElement)(E.a,{link:t,text:n}),Object(r.createElement)(l.SnippetEditor,s()({},e,{descriptionPlaceholder:Object(c.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:_,showCloseButton:!1,idSuffix:o})))))})},function(e,t,a){"use strict";var n=a(0),s=a(5),r=a(1),o=a(11),i=a(4),c=a(2),l=a.n(c),d=a(78),u=a(10),p=a.n(u),m=a(29),b=a.n(m);const h=e=>{let{data:t,itemScreenReaderText:a,className:s,...o}=e;const c=Object(n.useMemo)(()=>{var e,a;return null!==(e=null===(a=Object(i.maxBy)(t,"number"))||void 0===a?void 0:a.number)&&void 0!==e?e:0},[t]);return Object(n.createElement)("ul",p()({className:b()("yoast-data-model",s)},o),t.map(e=>{let{name:t,number:s}=e;return Object(n.createElement)("li",{key:t+"_dataItem",style:{"--yoast-width":s/c*100+"%"}},t,Object(n.createElement)("span",null,s),a&&Object(n.createElement)("span",{className:"screen-reader-text"},Object(r.sprintf)(a,s)))}))};h.propTypes={data:l.a.arrayOf(l.a.shape({name:l.a.string.isRequired,number:l.a.number.isRequired})),itemScreenReaderText:l.a.string,className:l.a.string},h.defaultProps={data:[],itemScreenReaderText:"",className:""};var g=h,f=a(14),y=a(22);const w=Object(o.makeOutboundLink)(),O=e=>{let{location:t}=e;const a=Object(s.useSelect)(e=>{var t,a;return null===(t=null===(a=e("yoast-seo-premium/editor"))||void 0===a?void 0:a.getPreference("isProminentWordsAvailable",!1))||void 0===t||t},[]),o=Object(s.useSelect)(e=>e("yoast-seo/editor").getPreference("shouldUpsell",!1),[]),c=Object(n.useMemo)(()=>Object(i.get)(window,`wpseoAdminL10n.shortlinks-insights-upsell-${t}-prominent_words`,""),[t]),l=Object(n.useMemo)(()=>{const e=Object(i.get)(window,"wpseoAdminL10n.shortlinks-insights-keyword_research_link","");return Object(d.a)(Object(r.sprintf)(Object(r.__)("Read our %1$sultimate guide to keyword research%2$s to learn more about keyword research and keyword strategy.","wordpress-seo"),"<a>","</a>"),{a:Object(n.createElement)(w,{href:e})})},[]),u=Object(n.useMemo)(()=>Object(d.a)(Object(r.sprintf)(// translators: %1$s expands to a starting `b` tag, %1$s expands to a closing `b` tag and %3$s expands to `Yoast SEO Premium`.
Object(r.__)("With %1$s%3$s%2$s, this section will show you which words occur most often in your text. By checking these prominent words against your intended keyword(s), you'll know how to edit your text to be more focused.","wordpress-seo"),"<b>","</b>","Yoast SEO Premium"),{b:Object(n.createElement)("b",null)}),[]),p=Object(s.useSelect)(e=>{var t,a;return null!==(t=null===(a=e("yoast-seo-premium/editor"))||void 0===a?void 0:a.getProminentWords())&&void 0!==t?t:[]},[]),m=Object(n.useMemo)(()=>{const e=Object(r.sprintf)(// translators: %1$s expands to Yoast SEO Premium.
Object(r.__)("Get %s to enjoy the benefits of prominent words","wordpress-seo"),"Yoast SEO Premium").split(/\s+/);return e.map((t,a)=>({name:t,number:e.length-a}))},[]),b=Object(n.useMemo)(()=>o?m:p.map(e=>{let{word:t,occurrence:a}=e;return{name:t,number:a}}),[p,m]);if(!a)return null;const{locationContext:h}=Object(y.useRootContext)();return Object(n.createElement)("div",{className:"yoast-prominent-words"},Object(n.createElement)("div",{className:"yoast-field-group__title"},Object(n.createElement)("b",null,Object(r.__)("Prominent words","wordpress-seo"))),!o&&Object(n.createElement)("p",null,0===b.length?Object(r.__)("Once you add a bit more copy, we'll give you a list of words that occur the most in the content. These give an indication of what your content focuses on.","wordpress-seo"):Object(r.__)("The following words occur the most in the content. These give an indication of what your content focuses on. If the words differ a lot from your topic, you might want to rewrite your content accordingly.","wordpress-seo")),o&&Object(n.createElement)("p",null,u),o&&Object(n.createElement)(w,{href:Object(f.addQueryArgs)(c,{context:h}),"data-action":"load-nfd-ctb","data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2",className:"yoast-button yoast-button-upsell"},Object(r.sprintf)(// translators: %s expands to `Premium` (part of add-on name).
Object(r.__)("Unlock with %s","wordpress-seo"),"Premium"),Object(n.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),Object(n.createElement)("p",null,l),Object(n.createElement)(g,{data:b,itemScreenReaderText:
/* translators: Hidden accessibility text; %d expands to the number of occurrences. */
Object(r.__)("%d occurrences","wordpress-seo"),"aria-label":Object(r.__)("Prominent words","wordpress-seo"),className:o?"yoast-data-model--upsell":null}))};O.propTypes={location:l.a.string.isRequired},t.a=O},function(e,t,a){"use strict";var n=a(0),s=a(19),r=a(1),o=a(8),i=a(4),c=a(2),l=a.n(c),d=a(11),u=a(78);const p=Object(d.makeOutboundLink)(),m=e=>{let{location:t}=e;const a=Object(n.useMemo)(()=>Object(i.get)(window,`wpseoAdminL10n.shortlinks-insights-upsell-${t}-text_formality`,""),[t]),s=Object(n.useMemo)(()=>Object(u.a)(Object(r.sprintf)(// Translators: %1$s expands to a starting `b` tag, %2$s expands to a closing `b` tag and %3$s expands to `Yoast SEO Premium`.
Object(r.__)("%1$s%3$s%2$s will help you assess the formality level of your text.","wordpress-seo"),"<b>","</b>","Yoast SEO Premium"),{b:Object(n.createElement)("b",null)}),[]);return Object(n.createElement)(n.Fragment,null,Object(n.createElement)("div",null,Object(n.createElement)("p",null,s),Object(n.createElement)(p,{href:a,className:"yoast-button yoast-button-upsell"},Object(r.sprintf)(// Translators: %s expands to `Premium` (part of add-on name).
Object(r.__)("Unlock with %s","wordpress-seo"),"Premium"),Object(n.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"}))))};m.propTypes={location:l.a.string.isRequired};var b=m,h=a(5),g=a(18);const f=e=>{let{location:t,name:a}=e;const c=Object(h.useSelect)(e=>e("yoast-seo/editor").isFormalitySupported(),[]),l=Object(g.a)().isPremium,d=l?Object(i.get)(window,"wpseoAdminL10n.shortlinks-insights-text_formality_info_premium",""):Object(i.get)(window,"wpseoAdminL10n.shortlinks-insights-text_formality_info_free",""),u=Object(r.__)("Read more about text formality.","wordpress-seo");return c?Object(n.createElement)("div",{className:"yoast-text-formality"},Object(n.createElement)("div",{className:"yoast-field-group__title"},Object(n.createElement)("b",null,Object(r.__)("Text formality","wordpress-seo")),Object(n.createElement)(o.HelpIcon,{linkTo:d,linkText:u})),l?Object(n.createElement)(s.Slot,{name:a}):Object(n.createElement)(b,{location:t})):null};f.propTypes={location:l.a.string.isRequired,name:l.a.string.isRequired},t.a=f},,function(e,t,a){"use strict";var n=a(3),s="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,r=a(112),o=a(161),i=a(162),c="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(a=e.key,n={"=":"=0",":":"=2"},"$"+(""+a).replace(/[=:]/g,(function(e){return n[e]}))):t.toString(36);var a,n}var d=/\/+/g;function u(e){return(""+e).replace(d,"$&/")}var p,m,b=h,h=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function g(e,t,a,n){this.result=e,this.keyPrefix=t,this.func=a,this.context=n,this.count=0}function f(e,t,a){var s,o,i=e.result,c=e.keyPrefix,l=e.func,d=e.context,p=l.call(d,t,e.count++);Array.isArray(p)?y(p,i,a,r.thatReturnsArgument):null!=p&&(n.isValidElement(p)&&(s=p,o=c+(!p.key||t&&t.key===p.key?"":u(p.key)+"/")+a,p=n.cloneElement(s,{key:o},void 0!==s.props?s.props.children:void 0)),i.push(p))}function y(e,t,a,n,r){var i="";null!=a&&(i=u(a)+"/");var d=g.getPooled(t,i,n,r);!function(e,t,a){null==e||function e(t,a,n,r){var i,d=typeof t;if("undefined"!==d&&"boolean"!==d||(t=null),null===t||"string"===d||"number"===d||"object"===d&&t.$$typeof===s)return n(r,t,""===a?"."+l(t,0):a),1;var u=0,p=""===a?".":a+":";if(Array.isArray(t))for(var m=0;m<t.length;m++)u+=e(i=t[m],p+l(i,m),n,r);else{var b=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(b)for(var h,g=b.call(t),f=0;!(h=g.next()).done;)u+=e(i=h.value,p+l(i,f++),n,r);else if("object"===d){var y=""+t;o(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===y?"object with keys {"+Object.keys(t).join(", ")+"}":y,"")}}return u}(e,"",t,a)}(e,f,d),g.release(d)}g.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},p=function(e,t,a,n){if(this.instancePool.length){var s=this.instancePool.pop();return this.call(s,e,t,a,n),s}return new this(e,t,a,n)},(m=g).instancePool=[],m.getPooled=p||b,m.poolSize||(m.poolSize=10),m.release=function(e){o(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return i(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(n.isValidElement(e))return i(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;o(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var a in e)y(e[a],t,a,r.thatReturnsArgument);return t}},function(e,t,a){"use strict";e.exports=function(e,t,a,n,s,r,o,i){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[a,n,s,r,o,i],d=0;(c=new Error(t.replace(/%s/g,(function(){return l[d++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,a){"use strict";var n=a(112);e.exports=n},function(e,t,a){"use strict";function n(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(n)}},,,,,,,,function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,a){"use strict";var n=a(10),s=a.n(n),r=a(0),o=a(1),i=a(5),c=a(2),l=a.n(c),d=a(97),u=a(127);const p=e=>{let{store:t="yoast-seo/editor",image:a=u.a,url:n,...c}=e;return Object(i.useSelect)(e=>e(t).getIsPremium())?null:Object(r.createElement)(d.a,s()({alertKey:"webinar-promo-notification",store:t,id:"webinar-promo-notification",title:Object(o.__)("Join our FREE webinar for SEO success","wordpress-seo"),image:a,url:n},c),Object(o.__)("Feeling lost when it comes to optimizing your site for the search engines? Join our FREE webinar to gain the confidence that you need in order to start optimizing like a pro! You'll obtain the knowledge and tools to start effectively implementing SEO.","wordpress-seo")," ",Object(r.createElement)("a",{href:n,target:"_blank",rel:"noreferrer"},Object(o.__)("Sign up today!","wordpress-seo")))};p.propTypes={store:l.a.string,image:l.a.elementType,url:l.a.string.isRequired},t.a=p},function(e,t,a){"use strict";a.d(t,"a",(function(){return p}));var n=a(10),s=a.n(n),r=a(0),o=a(5),i=a(1),c=a(14),l=a(2),d=a.n(l),u=a(89);const p=e=>{let{store:t="yoast-seo/editor",...a}=e;const n=Object(o.useSelect)(e=>e(t).selectLinkParams(),[t]),l=Object(r.createInterpolateElement)(Object(i.sprintf)(
/* translators: %1$s expands to Yoast, %2$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */
Object(i.__)("The %1$s %2$sultimate Black Friday checklist%3$s helps you prepare in time, so you can boost your results during this sale.","wordpress-seo"),"Yoast","<strong>","</strong>"),{strong:Object(r.createElement)("strong",null)});return Object(r.createElement)(u.a,s()({id:"black-friday-2023-sidebar-checklist",promoId:"black-friday-2023-checklist",alertKey:"black-friday-2023-sidebar-checklist",store:t,title:Object(i.__)("Is your WooCommerce store ready for Black Friday?","wordpress-seo")},a),l," ",Object(r.createElement)("a",{href:Object(c.addQueryArgs)("https://yoa.st/black-friday-checklist",n),target:"_blank",rel:"noreferrer"},Object(i.__)("Get the checklist and start optimizing now!","wordpress-seo")))};p.propTypes={store:d.a.string}},function(e,t,a){"use strict";a.d(t,"a",(function(){return s})),a.d(t,"b",(function(){return r}));var n=a(5);const s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"yoast-seo/editor";const t=Object(n.select)(e).isPromotionActive("black-friday-2023-checklist"),a=Object(n.select)(e).isAlertDismissed("black-friday-2023-sidebar-checklist");return!t||a},r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"yoast-seo/editor";const t=Object(n.select)(e).isPromotionActive("black-friday-2023-promotion"),a=Object(n.select)(e).isAlertDismissed("black-friday-2023-promotion");return t?a:s(e)}},,function(e,t,a){"use strict";a.d(t,"a",(function(){return r}));var n=a(4),s=jQuery;function r(e,t,a,n,r){this._scriptUrl=n,this._options={usedKeywords:t.keyword_usage,usedKeywordsPostTypes:t.keyword_usage_post_types,searchUrl:t.search_url,postUrl:t.post_edit_url},this._keywordUsage=t.keyword_usage,this._usedKeywordsPostTypes=t.keyword_usage_post_types,this._postID=s("#post_ID, [name=tag_ID]").val(),this._taxonomy=s("[name=taxonomy]").val()||"",this._nonce=r,this._ajaxAction=e,this._refreshAnalysis=a,this._initialized=!1}r.prototype.init=function(){const{worker:e}=window.YoastSEO.analysis;this.requestKeywordUsage=Object(n.debounce)(this.requestKeywordUsage.bind(this),500),e.loadScript(this._scriptUrl).then(()=>{e.sendMessage("initialize",this._options,"used-keywords-assessment")}).then(()=>{this._initialized=!0,Object(n.isEqual)(this._options.usedKeywords,this._keywordUsage)?this._refreshAnalysis():e.sendMessage("updateKeywordUsage",this._keywordUsage,"used-keywords-assessment").then(()=>this._refreshAnalysis())}).catch(e=>console.error(e))},r.prototype.setKeyword=function(e){Object(n.has)(this._keywordUsage,e)||this.requestKeywordUsage(e)},r.prototype.requestKeywordUsage=function(e){s.post(ajaxurl,{action:this._ajaxAction,post_id:this._postID,keyword:e,taxonomy:this._taxonomy,nonce:this._nonce},this.updateKeywordUsage.bind(this,e),"json")},r.prototype.updateKeywordUsage=function(e,t){const{worker:a}=window.YoastSEO.analysis,s=t.keyword_usage,r=t.post_types;s&&Object(n.isArray)(s)&&(this._keywordUsage[e]=s,this._usedKeywordsPostTypes[e]=r,this._initialized&&a.sendMessage("updateKeywordUsage",{usedKeywords:this._keywordUsage,usedKeywordsPostTypes:this._usedKeywordsPostTypes},"used-keywords-assessment").then(()=>this._refreshAnalysis()))}},function(e,t,a){"use strict";var n=a(5),s=a(4),r=a(15),o=a(122),i=a(141);t.a=()=>{if(Object(n.select)("yoast-seo/editor").getPreference("isInsightsEnabled",!1))return Object(n.dispatch)("yoast-seo/editor").loadEstimatedReadingTime(),Object(n.subscribe)(Object(s.debounce)((()=>{const{getEditorDataContent:e,getContentLocale:t}=Object(n.select)("yoast-seo/editor"),a=Object(o.a)(e,t),c=(()=>{const{setEstimatedReadingTime:e,setFleschReadingEase:t,setTextLength:a}=Object(n.dispatch)("yoast-seo/editor"),o=Object(s.get)(window,"YoastSEO.analysis.worker.runResearch",s.noop);return()=>{const n=r.Paper.parse(Object(i.a)());o("readingTime",n).then(t=>e(t.result)),o("getFleschReadingScore",n).then(e=>{e.result&&t(e.result)}),o("wordCountInText",n).then(e=>a(e.result))}})();return setTimeout(c,1500),Object(o.b)(a,c)})(),1500,{maxWait:3e3}))}},,,,function(e,t,a){"use strict";var n,s,r,o,i,c,l,d,u,p,m,b,h,g,f,y,w,O,j,E,v,_,k,x,T,S,R,C,I,P,L,A,M,N,D,F,q,z,U,W,$,B,K,H,V,Y,G,Z,Q=a(0),J=a(1),X=a(28),ee=()=>Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)("p",null,Object(X.a)(Object(J.sprintf)(
/* translators: 1: Opening a html tag, 2: Closing a html tag. 3: WordProof. 4. WordPress */
Object(J.__)("Something went wrong authenticating your %3$s account with the %4$s site. Please try again or contact %1$s%3$s support%2$s.","wordpress-seo"),"<a>","</a>","WordProof","WordPress"),"https://help.wordproof.com/"))),te=a(3);function ae(){return(ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function ne(e){return te.createElement("svg",ae({"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 360"},e),n||(n=te.createElement("circle",{cx:226,cy:211,r:149,fill:"#f0ecf0"})),s||(s=te.createElement("path",{d:"M173.53 189.38s-35.47-5.3-41.78-11c-9.39-24.93-29.61-48-35.47-66.21-.71-2.24 3.72-11.39 3.53-15.41s-5.34-11.64-5.23-14-.09-15.27-.09-15.27l-4.75-.72s-5.13 6.07-3.56 9.87c-1.73-4.19 4.3 7.93.5 9.35 0 0-6-5.94-11.76-8.27s-19.57-3.65-19.57-3.65L43.19 73l-4.42.6L31 69.7l-2.85 5.12 7.53 5.29L40.86 92l17.19 10.2 10.2 10.56 9.86 3.56s26.49 79.67 45 92c17 11.33 37.23 15.92 37.23 15.92z",fill:"#fbd2a6"})),r||(r=te.createElement("path",{d:"M270.52 345.13c2.76-14.59 15.94-35.73 30.24-54.58 16.22-21.39 14-79.66-33.19-91.46-17.3-4.32-52.25-1-59.85-3.41C186.54 189 170 187 168 190.17c-5 10.51-7.73 27.81-5.51 36.26 1.18 4.73 3.54 5.91 20.49 13.4-5.12 15-16.35 26.3-22.86 37s7.88 27.2 7.1 33.51c-.48 3.8-4.26 21.13-7.18 34.25a149.47 149.47 0 00110.3 8.66 25.66 25.66 0 01.18-8.12z",fill:"#a4286a"})),o||(o=te.createElement("path",{d:"M206.76 66.43c-5 14.4-1.42 25.67-3.93 40.74-10 60.34-24.08 43.92-31.44 93.6 7.24-14.19 14.32-15.82 20.63-23.11-.83 3.09-10.25 13.75-8.05 34.81 9.85-8.51 6.35-8.75 11.86-8.54.36 3.25 3.53 3.22-3.59 10.53 2.52.69 17.42-14.32 20.16-12.66s0 5.72-6 7.76c2.15 2.2 30.47-3.87 43.81-14.71 4.93-4 10-13.16 13.38-18.2 7.17-10.62 12.38-24.77 17.71-36.6 8.94-19.87 15.09-39.34 16.11-61.31.53-10.44-3.41-18.44-4.41-28.86-2.57-27.8-67.63-37.26-86.24 16.55z",fill:"#9a5815"})),i||(i=te.createElement("path",{d:"M277.74 179.06c.62-.79 1.24-1.59 1.84-2.39-.85 2.59-1.52 3.73-1.84 2.39z",fill:"#efb17c"})),c||(c=te.createElement("path",{d:"M216.1 206.72c3.69-5.42 8.28-3.35 15.57-8.28 3.76-3.06 1.57-9.46 1.77-11.82 18.25 4.56 37.38-1.18 49.07-16 .62 5.16-2.77 22.27-.2 27 4.73 8.67 13.4 18.92 13.4 18.92-35.47-2.76-63.45 39-89.86 44.54 5.52-28.74-2.36-35.84 10.25-54.36z",fill:"#fbd2a6"})),l||(l=te.createElement("path",{d:"M235.21 167.9l53.21-25.23s-3.65 24-6.5 32.72c-64.05 62.66-46.47-7.33-46.71-7.49z",fill:"#f6b488"})),d||(d=te.createElement("path",{d:"M277.68 178.82z",fill:"#efb17c"})),u||(u=te.createElement("path",{d:"M226.86 50.64C215 59.31 206.37 93.21 204 95.57c-19.46 19.47-3.59 41.39-3.94 51.24-.2 5.52-4.14 25.42 5.72 29.36 22.22 8.89 60-3.48 67.19-12.61 13.28-16.75 40.89-94.78 17.74-108.19-7.92-4.58-42.78-20.18-63.85-4.73z",fill:"#fbd2a6"})),p||(p=te.createElement("path",{d:"M243.69 143.66c-10.7-6.16-8.56-6.73-19.76-12.71-3.86-2.07-3.94.64-6.32 0-2.91-.79-1.39-2.74-5.37-3.48-6.52-1.21-3.67 3.63-3.15 6 1.32 6.15-8.17 17.3 3.26 21.42 12.65 4.55 21.38-9.41 31.34-11.23z",fill:"#e5766c"})),m||(m=te.createElement("path",{d:"M240.68 143.9c-11.49-5.53-11.65-8.17-24.64-11.69-8.6-2.32-5.53 1-5.69 4.42-.2 4.16-1.26 9.87 4.9 12.66 9 4.09 18.16-6.02 25.43-5.39zM241.38 103c-.16 1.26-.06 4.9 5.46 8.25 11.43-4.73 16.36-2.56 17-3.33 1.48-1.76-2-8.87-7.88-9.85-5.58-.94-14.14 1.24-14.58 4.93z",fill:"#fff"})),b||(b=te.createElement("path",{d:"M263.53 108.19c-4.32-4.33-6.85-6.24-12.26-8.21-2.77-1-6.18.18-8.65 1.67a3.65 3.65 0 00-1.24 1.23h-.12a3.73 3.73 0 011-1.52 12.53 12.53 0 0111.93-3c4.73 1 9.43 4.63 9.42 9.82z",fill:"#000001"})),h||(h=te.createElement("circle",{cx:254.13,cy:104.05,r:4.19,fill:"#000001"})),g||(g=te.createElement("path",{d:"M225.26 99.22c-.29 1-6.6 3.45-10.92 1.48-1.15-3.24-5-6.43-5.25-6.71-.5-2.86 5.55-8 10.06-6.3a10.21 10.21 0 016.11 11.53z",fill:"#fff"})),f||(f=te.createElement("path",{d:"M209.29 94.21c-.19-2.34 1.84-4.1 3.65-5.2 7-3.87 13.18 3 12.43 10h-.12c-.14-4-2.38-8.44-6.47-9.11a3.19 3.19 0 00-2.42.31c-1.37.85-2.38 2-3.89 2.56-1 .45-1.92.42-3 1.4h-.22z",fill:"#000001"})),y||(y=te.createElement("circle",{cx:219.55,cy:95.28,r:4,fill:"#000001"})),w||(w=te.createElement("path",{d:"M218.66 120.27a27.32 27.32 0 004.54 3.45c-2.29-.72-4.28-.69-6.32-2.27-2.53-2-3.39-5.16-.73-7.72 10.24-9.82 12.56-13.82 14.77-24.42-1 12.37-6 17.77-10.63 23.18-2.53 2.97-4.68 5.06-1.63 7.78z",fill:"#efb17c"})),O||(O=te.createElement("path",{d:"M231.22 69.91c-.67-3.41-8.78-2.83-11.06-1.93-3.48 1.39-6.08 5.22-7.13 8.53 2.9-4.3 6.74-8.12 12.46-6 1.16.42 3.18 2.35 4.48 1.85s1.03-2.2 1.25-2.45zM263.38 78.47c-2.75-1.66-12.24-5.08-12.18.82 2.56.24 5-.19 7.64.95 11.22 4.76 12.77 17.61 12.85 17.86.2-.53.1 1.26.23.7-.02.2.95-12.12-8.54-20.33z",fill:"#a57c52"})),j||(j=te.createElement("path",{d:"M53.43 250.73c6.29 0-.6-.17 7.34 0 1.89.05-2.38-.7 0-.69 4.54-4.2 12.48-.74 20.6-2.45 4.55.35 3.93 1.35 5.59 4.19 4.89 8.38 4.78 14.21 14 19.56 16.42 8.38 66 12.92 88.49 18.86 5.52.83 42.64-20.15 61-23.75 6.51 10.74 11.46 28.68 8.39 34.93-6.54 13.3-57.07 25.4-75.91 25.15C156.47 326.18 94 294 92.2 293c-.94-.57.7-.7-7.68 0s-10.15.72-17.47-1.4c-3-.87-4.61-1.33-6.33-3.54-2 .22-3.39.2-4.78-1-3.15-2.74-4.84-6.61-2.73-10.06h-.12c-3.35-2.48-6.54-7.69-3.08-11.72 1-1.18 6.06-1.94 7.77-2.28-1.58-.29-6.37.19-7.49-.72-3.06-2.5-4.96-11.55 3.14-11.55z",fill:"#fbd2a6"})),E||(E=te.createElement("path",{d:"M303.22 237.52c-9.87-11.88-41.59 8.19-47.8 12.34s-14.89 17.95-14.89 17.95c6 9.43 8.36 31 5.65 46.34l30.51-3s18-15.62 22.59-28.7 6.3-42.54 6.3-42.54",fill:"#a4286a"})),v||(v=te.createElement("path",{d:"M278.63 31.67c-6.08 0-22.91 4.07-22.93 12.91 0 11 47.9 38.38 16.14 85.85 10.21-.79 10.79-8.12 14.92-14.93-3.66 77-49.38 93.58-40.51 142.25 7.68-25.81 20.3-11.62 38.13-33.84 3.45 4.88 9 18.28-9.46 33.78 50-31.26 57.31-56.6 51.92-95C319.93 113.53 348.7 42 278.63 31.67z",fill:"#cb9833"})),_||(_=te.createElement("path",{d:"M283.64 126.83c-2.42 9.67-8 15.76-1.48 16.46A21.26 21.26 0 00302 132.6c5.17-8.52 3.93-16.44-2.46-18s-13.48 2.56-15.9 12.23z",fill:"#fbd2a6"})),k||(k=te.createElement("path",{d:"M38 73.45c1.92 2 4.25 9.21 6.32 10.91 2.25 1.85 5.71 2.12 8.1 4.45 3.66-2 6-8.72 10-9.31-2.59 1.31-4.42 3.5-6.93 4.88-1.42.8-3 1.31-4.38 2.25-2.16-1.46-4.27-1.77-6.26-3.38-2.52-2.02-5.31-8-6.85-9.8z",fill:"#efb17c"})),x||(x=te.createElement("path",{d:"M39 74.4c4.83 1.1 12.52 6.44 15.89 10-3.22-1.34-14.73-6.15-15.89-10zM39.62 72.9c6.71-.79 18 1.54 23.29 5.9-3.85-.2-5.42-1.48-9-2.94-4.08-1.69-8.83-2.03-14.29-2.96zM86.05 87.48c-3.72-1.32-10.52-1.13-13.22 3.52 2-1.16 1.84-2.11 4.18-1.72-3.81-4.15 8.16-.74 11.6-.24M85.83 102.19c.56-3.29-8-7.81-10.58-9.17-6.25-3.29-12.16 1.36-19.33-4.53 5.94 6.1 14.23 2.5 19.55 5.76 3.06 1.88 8.65 6.09 9.35 9.38-.23-.4 1.29-1.44 1.01-1.44z",fill:"#efb17c"})),T||(T=te.createElement("circle",{cx:38.13,cy:30.03,r:3.14,fill:"#b89ac8"})),S||(S=te.createElement("circle",{cx:60.26,cy:39.96,r:3.14,fill:"#e31e0c"})),R||(R=te.createElement("circle",{cx:50.29,cy:25.63,r:3.14,fill:"#3baa45"})),C||(C=te.createElement("circle",{cx:22.19,cy:19.21,r:3.14,fill:"#2ca9e1"})),I||(I=te.createElement("circle",{cx:22.19,cy:30.03,r:3.14,fill:"#e31e0c"})),P||(P=te.createElement("circle",{cx:26.86,cy:8.28,r:3.14,fill:"#3baa45"})),L||(L=te.createElement("circle",{cx:49.32,cy:39.99,r:3.14,fill:"#e31e0c"})),A||(A=te.createElement("circle",{cx:63.86,cy:59.52,r:3.14,fill:"#f8ad39"})),M||(M=te.createElement("circle",{cx:50.88,cy:50.72,r:3.14,fill:"#3baa45"})),N||(N=te.createElement("circle",{cx:63.47,cy:76.17,r:3.14,fill:"#e31e0c"})),D||(D=te.createElement("circle",{cx:38.34,cy:14.83,r:3.14,fill:"#2ca9e1"})),F||(F=te.createElement("circle",{cx:44.44,cy:5.92,r:3.14,fill:"#f8ad39"})),q||(q=te.createElement("circle",{cx:57.42,cy:10.24,r:3.14,fill:"#e31e0c"})),z||(z=te.createElement("circle",{cx:66.81,cy:12.4,r:3.14,fill:"#2ca9e1"})),U||(U=te.createElement("circle",{cx:77.95,cy:5.14,r:3.14,fill:"#b89ac8"})),W||(W=te.createElement("circle",{cx:77.95,cy:30.34,r:3.14,fill:"#e31e0c"})),$||($=te.createElement("circle",{cx:80.97,cy:16.55,r:3.14,fill:"#f8ad39"})),B||(B=te.createElement("circle",{cx:62.96,cy:27.27,r:3.14,fill:"#3baa45"})),K||(K=te.createElement("circle",{cx:75.36,cy:48.67,r:3.14,fill:"#2ca9e1"})),H||(H=te.createElement("circle",{cx:76.11,cy:65.31,r:3.14,fill:"#3baa45"})),V||(V=te.createElement("path",{d:"M78.58 178.43C54.36 167.26 32 198.93 5 198.93c19.56 20.49 63.53 1.52 69 15.5 1.48-14.01 4.11-30.9 4.58-36z",fill:"#71b026"})),Y||(Y=te.createElement("path",{d:"M67.75 251.08c0-4.65 10.13-72.65 10.13-72.65h2.8l-9.09 72.3z",fill:"#074a67"})),G||(G=te.createElement("ellipse",{cx:255.38,cy:103.18,rx:1.84,ry:1.77,fill:"#fff"})),Z||(Z=te.createElement("ellipse",{cx:221.24,cy:94.75,rx:1.84,ry:1.77,fill:"#fff"})))}var se=a(42),re=a(8),oe=a(2),ie=a.n(oe);const ce=e=>{const{closeModal:t}=e;return Object(Q.createElement)(Q.Fragment,null,Object(Q.createElement)("div",{className:"yoast-wordproof-modal-image"},Object(Q.createElement)(ne,{class:"yoast-wordproof-modal-svg__success"})),Object(Q.createElement)("p",null,Object(J.sprintf)(
/* Translators: %s translates to the Post type in singular form */
Object(J.__)("Your %s is now protected via the blockchain!","wordpress-seo"),Object(se.a)("current_post_type")),Object(Q.createElement)("br",null),Object(Q.createInterpolateElement)(Object(J.sprintf)(Object(J.__)(
/** translators:
* %1$s and %2$s are replaced by opening and closing <b> tags.
* %3$s translates to the Post type in singular form.
*/
"The %3$s will automatically be timestamped every time you %1$supdate%2$s or %1$spublish%2$s.","wordpress-seo"),"<b>","</b>",Object(se.a)("current_post_type")),{b:Object(Q.createElement)("b",null)})),Object(Q.createElement)("div",{className:"yoast-wordproof-modal-action"},Object(Q.createElement)(re.NewButton,{variant:"primary",onClick:t},"Continue")))};ce.propTypes={closeModal:ie.a.func.isRequired};var le,de=ce;function ue(){return(ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(this,arguments)}function pe(e){return te.createElement("svg",ue({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 752 247",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",fill:"#fff",fillRule:"evenodd","aria-hidden":"true"},e),le||(le=te.createElement("g",{stroke:"none",className:"connection-assistant_svg__B"},te.createElement("path",{d:"M307.671 13.343C314.3 6.76 322.367.552 332.022-.127c5.029-.88 10.204-.124 15.012 1.447 3.588 1.147 6.294 3.893 8.763 6.605 3.333-1.582 7.09-1.837 10.73-1.803 3.35-.13 6.796.842 9.52 2.803 4.045 3.932 7.322 8.847 8.678 14.367.711 3.808 1.084 7.888-.22 11.616.824 2.334 4.61 2.746 3.96 5.628-.706 2.373-2.616 4.209-4.356 5.898l-.61.543c-2.532.644-4.605 2.203-5.888 4.474-.322-1.92-2.644-1.864-3.955-2.842-5.977-3.813-10.734-9.52-13.356-16.119-1.266-3.435-2.768-6.938-2.475-10.684-2.983.661-6 1.86-8.068 4.198-2.977 2.887-4.452 6.831-6.819 10.164-1.746 2.334-1.825 5.453-3.56 7.786-1.118 1.7-3 2.599-4.587 3.774 1.378.305 2.898.373 4.073 1.243 1.113.944.673 2.898-.632 3.424-2.255.288-4.577-.26-6.803.305-2.825.898-4.994 3.023-7.011 5.09-.91 1.035-2.61-.22-2.441-1.418-.192-1.406.955-2.412 1.66-3.48-2.7.898-5.525 1.21-8.316 1.593-1.508 1.243-2.819 2.763-4.022 4.306-1.537-1.345-3.057-3.22-5.34-2.91 1.204 1.7 2.86 2.989 4.475 4.271.249 5.39 1.774 10.594 3.271 15.74.616 2.266 2.52 3.809 4.334 5.137 3.542 2.22 7.497 3.74 10.995 6.022 1.819 3.029 3.35 6.255 4.469 9.616.559 1.373 1.005 3.046 2.503 3.684 4.638 2.6 9.808 4 14.712 6.006 3.955-2.068 7.695-4.52 11.531-6.791.616-.463 1.503-.785 1.718-1.605 1.056-3.847 1.74-7.785 2.746-11.638.74-2.645 2.96-4.447 4.706-6.436 2.266-2.65 5.565-4.457 7-7.774.255-5.853.294-11.746-.621-17.554 1.294-1.633 2.508-3.328 3.797-4.96.05 3.101.536 6.163.983 9.226.26 3.66.35 7.339.712 10.988.067.746.242 1.498.683 2.114 2.334 3.045 7.08 3.785 10.311 1.762-1 3.289-3.932 5.362-6.226 7.707-.073.655.237 1.271.396 1.898 1.096 2.554 1.163 5.752-1.164 7.65.943 2.051 1.689 4.322 1.14 6.6-.208 1.463-1.536 2.287-2.604 3.118.175 2.079 1.04 4.26.181 6.294-1.113 1.842-3.266 2.599-5.175 3.328-.413 1.66-.769 3.457-2.04 4.706-1.034 1.18-2.723 1.153-4.13 1.492-1.13 2.248-2.537 4.655-4.96 5.678-2.125.548-4.25-.34-6.34-.673-1.525 1.6-3.101 3.385-5.373 3.86-2.39.796-4.712-.6-6.78-1.645-1.638 1.215-3.423 2.6-5.599 2.334-2.344.146-3.972-1.633-5.53-3.074-2.12 1.08-4.566 2-6.945 1.198-2.209-.537-3.356-2.656-4.604-4.35-2.825-.029-5.978-.029-8.226-2.006-1.695-1.322-2.362-3.424-3.034-5.368-1.916-.305-4.142-.367-5.526-1.932-1.35-1.605-2.31-3.554-2.83-5.588-.566-2.305.638-4.497 1.028-6.723-.95-1.085-2.43-1.565-3.582-2.418-3.136-1.577-3.548-5.6-2.424-8.571-1.565-1.107-2.836-2.548-4.22-3.853 3.463-.023 7.056-1.904 8.028-5.424.847-2.21.802-4.616.599-6.938-.43-4.531-1.509-8.967-2.435-13.413-.464-2.074-3.023-2.011-4.447-3.136-2.265-1.644-4.593-4.119-4.102-7.147 1.125-1.881 3.102-3.266 3.47-5.56-2.792-4.276-1.882-9.565-.927-14.26 1.44-5.215 3.83-10.328 7.768-14.13zm22.78 19.356c-2.655 2.78-4.39 6.238-6.282 9.543 2.271-.904 3.955-2.808 5.661-4.492 3.656-3.966 7.775-8.073 9.006-13.509-3.254 2.35-5.746 5.475-8.384 8.458zm3.74 8.317c-1.027 1.621-2.383 2.989-3.423 4.599 3.955-2.147 7.057-6.271 7.373-10.82-1.61 1.882-2.469 4.25-3.95 6.221zm18.42 7.673c4.3-2.515 10.073-3.125 14.322-.136 1.492.588 2.13 2.848.605 3.774-1.396 1.102-2.74-.424-4.074-.797-3.864-1.028-7.786.543-11.108 2.435-.853-.457-2.045-1.017-1.994-2.163-.215-1.498 1.232-2.34 2.249-3.113z",fill:"#f17523"}),te.createElement("path",{d:"M349.757 26.004c2.068-2.339 5.085-3.537 8.068-4.198-.293 3.746 1.21 7.25 2.475 10.684 2.622 6.6 7.379 12.306 13.356 16.12 1.311.977 3.633.92 3.955 2.841-2.084 2.876-4.356 5.622-6.361 8.554-1.899.644-3.809 1.266-5.78 1.656-1.402-4.707-7.797-6.023-11.47-3.193-.966.87-1.593 2.034-2.18 3.176-1.424-1.3-3.006-2.86-5.108-2.667-2.994.21-5.362 2.44-7.057 4.74-.796-2.859-3.43-5.13-6.452-5.09-3.893-.435-7.384 2.79-8.045 6.503-1.842.079-3.701.316-5.537.107-3.012-1.808-5.684-4.147-8.322-6.446 1.203-1.543 2.514-3.063 4.022-4.306 2.791-.384 5.616-.695 8.317-1.593-.706 1.068-1.853 2.074-1.661 3.48-.17 1.198 1.53 2.452 2.44 1.418 2.018-2.067 4.187-4.192 7.012-5.09 2.226-.565 4.548-.017 6.803-.305 1.305-.526 1.745-2.48.632-3.424-1.175-.87-2.695-.938-4.073-1.243 1.587-1.175 3.469-2.073 4.588-3.774 1.734-2.333 1.813-5.452 3.559-7.786 2.367-3.333 3.842-7.277 6.82-10.164zm2.853 22.685c-1.017.774-2.463 1.615-2.248 3.113-.051 1.147 1.141 1.706 1.994 2.164 3.322-1.893 7.243-3.464 11.108-2.435 1.333.372 2.678 1.898 4.074.796 1.525-.926.887-3.186-.605-3.774-4.249-2.989-10.023-2.379-14.322.136zm-22.158-15.99c2.638-2.983 5.13-6.107 8.384-8.458-1.232 5.436-5.35 9.543-9.006 13.51-1.706 1.683-3.39 3.587-5.661 4.491 1.893-3.305 3.627-6.763 6.283-9.543zm3.74 8.317c1.48-1.972 2.339-4.34 3.95-6.22-.317 4.548-3.419 8.672-7.374 10.819 1.04-1.61 2.396-2.978 3.424-4.599zm49.307 5.96l.61-.542c1.678-.53 3.339.921 4.09 2.34 2.656 4.208 3.39 9.44 2.367 14.271-1.04 3.509-2.638 7.503-6.508 8.616l-.085.266c-.44-.616-.616-1.368-.684-2.113-.361-3.65-.452-7.328-.711-10.99-.447-3.062-.933-6.124-.984-9.226a37.81 37.81 0 001.905-2.621zm-84.11 8.357c.542-.526 1.203-1.622 2.073-.893 1.424 1.125 3.983 1.062 4.447 3.136.926 4.446 2.005 8.882 2.435 13.413.203 2.322.248 4.729-.6 6.938-1.49-.243-3.044-.548-4.203-1.582-4.497-3.695-6.599-9.74-6.119-15.464.243-1.932.532-4.096 1.967-5.548zm74.019 5.085l4.39-5.86c.915 5.809.876 11.702.621 17.555-1.435 3.317-4.734 5.124-7 7.774-1.746 1.989-3.966 3.791-4.706 6.436-1.006 3.853-1.69 7.79-2.746 11.638-.215.82-1.102 1.142-1.718 1.605-3.836 2.271-7.576 4.723-11.531 6.791-4.904-2.006-10.074-3.407-14.712-6.006-1.498-.638-1.944-2.31-2.503-3.684-1.119-3.361-2.65-6.587-4.47-9.616-3.497-2.282-7.452-3.802-10.994-6.022-1.814-1.328-3.718-2.87-4.334-5.136-1.497-5.147-3.022-10.35-3.27-15.74 3.135 2.203 5.559 5.44 9.112 7.016 1.882.108 3.763-.056 5.645-.079.135 3.147 1.943 6.334 4.966 7.498 2.085.712 4.723.96 6.492-.627 2.322-1.786 3.164-4.78 3.435-7.577 1.768-2.05 3.3-4.723 6.147-5.367 2.35-.452 3.825 1.808 5.158 3.339-.17 2.4.678 4.774 2.187 6.627 2.83 3.656 9.644 2.729 11.283-1.633.841-1.74.66-3.717.683-5.593 2.181-.548 4.362-1.13 6.475-1.921.661-.215.96-.921 1.39-1.418zm-26.12 21.47c-2.717.372-5.231-1.865-7.96-1.244 2.011 1.955 4.678 3.424 7.401 4.029 3.158-.887 5.927-3 7.904-5.582-2.69.079-4.938 1.796-7.345 2.796zm13.577 1.423c-6.751 2.22-13.3 5.175-20.306 6.526.678.808 1.74.955 2.746.78 5.515-.78 10.65-3.029 15.876-4.831 1.69-.684 3.48-1.424 4.65-2.893-1.005.034-2.017.085-2.966.418zm43.905 73.37c2.842-.673 6.017-1.232 8.746.146 2.498 1.385 5.147 2.577 7.323 4.464 2.638 2.316 4.655 5.232 6.514 8.192 1.57 2.65 2.147 5.73 2.316 8.769.305 1.56.3 3.158.085 4.734-.503 3.752-.361 7.814-2.249 11.21-2.18 2.418-5.243 3.768-7.802 5.729-2.729 2.011-6.407 1.457-9.243-.023-2.497 2.56-7.198 3.983-10.046 1.226-2.09.3-4.096 1.407-6.248.96-1.718-.084-3.085-1.327-4.142-2.57-1.062-1.418-.232-3.181-.028-4.729 1.164-7.707 2.04-15.492 4.096-23.029-4.972.678-10.238 1.09-15.085-.458-1.746-.61-3.82-1.248-4.43-3.22-1.237-2.074-.395-5.136 2.09-5.752 3.905-.214 7.747 1.814 11.657 1.096 5.316-2.599 10.695-5.226 16.446-6.746zm-95.906 18.96c3.344-1.18 6.966-2.457 10.525-1.44 2.272 1.395 4.266 3.277 5.86 5.412 3.485 4.701 6.717 9.588 9.508 14.741.802 1.48 2.04 3.147 1.215 4.904-.746 2.068-3.147 2.356-5.029 2.622-1.938.339-3.345-1.322-4.446-2.656-3.627-4.887-6.232-10.672-10.921-14.684 2.463 4.226 4.7 8.594 6.616 13.102 1.005 2.385 1.231 4.99 2.067 7.419.673 1.542.385 3.598-1.27 4.372-2.357.61-4.837 1.097-7.278.78-1.215-.135-2.175-1.05-3.373-1.22-1.542.424-2.96 1.237-4.542 1.537-2.588.632-5.277-.13-7.87.497-2.882.678-5.877.101-8.594-.927-3.17-1.265-5.345-4.113-6.848-7.073a20.88 20.88 0 01-1.565-3.955 31.05 31.05 0 01-.367-8.916c.209-2.158 2.215-3.322 3.893-4.305 7.367-3.627 14.418-8.063 22.419-10.21z",fill:"#fccda3"}),te.createElement("path",{d:"M377.611 51.451c1.283-2.27 3.356-3.83 5.888-4.474l-1.904 2.621-3.797 4.96-4.39 5.86c-.43.497-.73 1.203-1.39 1.418-2.113.79-4.294 1.373-6.475 1.92l-.073-2.095c1.972-.39 3.881-1.012 5.78-1.656 2.005-2.932 4.277-5.678 6.361-8.554zm-71.652 4.43c2.283-.31 3.803 1.565 5.34 2.91 2.638 2.3 5.31 4.638 8.322 6.446 1.836.21 3.695-.028 5.537-.107l.034 1.96c-1.882.023-3.763.187-5.645.08-3.553-1.577-5.977-4.814-9.113-7.018-1.616-1.282-3.271-2.57-4.475-4.271zm33.696 7.836c1.695-2.3 4.063-4.53 7.057-4.74 2.102-.192 3.684 1.367 5.108 2.667l-.43 2.712c-1.333-1.531-2.808-3.791-5.158-3.34-2.848.645-4.379 3.317-6.147 5.368l-.43-2.667z",fill:"#847972"}),te.createElement("path",{d:"M354 58.468c3.673-2.83 10.069-1.514 11.47 3.193l.073 2.096c-.022 1.876.158 3.853-.683 5.593-1.639 4.362-8.453 5.289-11.283 1.633-1.509-1.853-2.356-4.226-2.187-6.627.096-.91.243-1.814.43-2.712.587-1.141 1.214-2.305 2.18-3.175zm5.181 5.888c-2.565 1.294-3.452 5.328-1.367 7.424 2.656 1.91 5.865-1.362 5.464-4.142.542-2.328-2.046-3.96-4.097-3.282zm-34.023.774c.66-3.712 4.152-6.938 8.045-6.503 3.023-.04 5.656 2.231 6.452 5.09.164.882.305 1.774.43 2.667-.272 2.797-1.113 5.791-3.435 7.577-1.769 1.587-4.407 1.338-6.492.627-3.023-1.164-4.83-4.35-4.966-7.498l-.034-1.96zm7.627 1.525c-3.034 1.486-2.842 7.368.955 7.644 3.424.006 4.977-4.508 3.345-7.141-1.074-1.141-2.984-1.401-4.3-.503zm27.77-.43c1.316-.615 1.779 2.153.316 1.848-.933.125-1.215-1.672-.317-1.847zm-25.889 2.26c.758-1.344 2.515.61 1.34 1.317-.82.95-1.712-.565-1.34-1.316z"}),te.createElement("path",{d:"M359.181 64.356c2.051-.678 4.639.955 4.097 3.282.4 2.78-2.808 6.051-5.464 4.142-2.085-2.096-1.198-6.13 1.367-7.424zm1.373 1.87c-.898.175-.615 1.972.317 1.847 1.463.305 1-2.463-.317-1.847zm-27.769.43c1.316-.9 3.226-.64 4.3.502 1.633 2.633.079 7.147-3.345 7.141-3.797-.276-3.989-6.158-.955-7.644zm1.881 1.83c-.372.751.52 2.265 1.34 1.316 1.175-.706-.582-2.661-1.34-1.316zm337.48 82.296l79.115-9.526v4.74l-58.228 7.097-81.867 9.379L505.74 175.94c-10.77 1.684-21.623 2.718-32.437 4.023l-21.203 1.723c-7.447.469-14.877 1.401-22.346 1.3.215-1.577.22-3.176-.085-4.735 6.26.005 12.492-.616 18.735-1.068 11.984-1.006 24.024-1.605 35.928-3.407 14.955-1.3 29.724-4.102 44.606-5.994 47.645-6.385 95.432-11.656 143.208-17.001zm-299.213 21.696l6.074-1.176c4.848 1.549 10.113 1.136 15.085.458-2.056 7.537-2.932 15.323-4.096 23.029-3.695.814-7.424 1.463-11.13 2.226-.441-1.667-.718-3.379-1.238-5.023-1.938-.293-3.994.769-6.011.803-1.271-.034-3.328.672-3.91-.899-.621-.875.26-1.887 1.017-2.3 2.463-1.293 5.311-1.446 7.893-2.417l-1.446-5.854c-3.074.39-6.08 1.543-9.204 1.305-1.373-.491-1.525-2.678-.232-3.327 2.582-1.294 5.52-1.605 8.238-2.56l-1.04-4.265zm-47.685 7.135l15.334-2.005c2.164 7.717 3.509 15.639 4.684 23.56-6.916 1.69-13.955 2.915-21.007 3.892-.836-2.429-1.062-5.034-2.067-7.418-1.916-4.508-4.153-8.876-6.616-13.102 4.689 4.012 7.294 9.797 10.92 14.684 1.102 1.334 2.51 2.995 4.447 2.656 1.882-.266 4.283-.554 5.029-2.622.824-1.757-.413-3.424-1.215-4.904-2.791-5.153-6.023-10.04-9.509-14.74zM249.545 200.7c7.695-.706 15.447-.413 23.142-1.153 3.402-.3 6.814-.53 10.232-.474.379 1.367.915 2.689 1.565 3.955-3.361.118-6.723.31-10.062.706-8.43 1.118-16.955 1.079-25.425 1.785-12.045.989-24.153.554-36.204 1.458l-1.023.424c-.723-.356-1.525-.39-2.31-.328-10.165.763-20.363.435-30.55.593l-75.685.011c-27.877-.101-55.754.266-83.624-.305-6.701-.712-13.464-1.135-20.1-2.339v-2.904l18.964.69 25.99.112 140.653-.062c8.809-.005 17.634-.079 26.425-.52 12.639-1.163 25.368-.548 38.012-1.65z",fill:"#3e2723"}),te.createElement("path",{d:"M347.288 81.887c2.407-1 4.656-2.717 7.345-2.796-1.977 2.582-4.746 4.695-7.904 5.582-2.723-.605-5.39-2.074-7.401-4.029 2.729-.621 5.243 1.616 7.96 1.243zm13.577 1.424c.95-.333 1.96-.384 2.966-.418-1.17 1.469-2.96 2.21-4.65 2.893-5.226 1.802-10.362 4.05-15.876 4.83-1.005.175-2.068.029-2.746-.78 7.006-1.35 13.554-4.305 20.306-6.525z",fill:"#dba378"}),te.createElement("path",{d:"M388.453 83.294c10.408.7 20.865 1.057 31.16 2.893 14.006 2.57 27.938 5.548 41.797 8.842 4.837 1.073 9.47 2.864 14.159 4.435 3.277 1.136 6.633 2.074 9.757 3.616 5.537 2.678 11.684 4.31 16.526 8.26 5.61 4.215 9.52 10.385 11.944 16.905 1.859 6.474 1.367 13.43-.265 19.893-.701 4.198-2.684 8.17-5.594 11.271-3.684 3.56-8.107 6.227-12.373 9.012-3.446 2.356-7.43 3.695-11.232 5.356-11.904 1.802-23.944 2.401-35.928 3.407-6.243.452-12.475 1.073-18.735 1.068-.17-3.04-.745-6.12-2.316-8.769-1.859-2.96-3.876-5.876-6.514-8.192-2.176-1.887-4.825-3.08-7.323-4.464-2.729-1.378-5.904-.819-8.746-.146-5.751 1.52-11.13 4.147-16.446 6.745-3.91.718-7.752-1.31-11.656-1.096-2.486.616-3.328 3.678-2.09 5.752.61 1.972 2.683 2.61 4.429 3.22-2.045.294-4.063.74-6.074 1.176.367 1.412.712 2.836 1.04 4.265-2.718.955-5.656 1.266-8.238 2.56-1.294.65-1.141 2.836.232 3.327 3.124.238 6.13-.915 9.204-1.305.525 1.938.988 3.893 1.446 5.854-2.582.971-5.43 1.124-7.893 2.418-.757.412-1.639 1.424-1.017 2.3.582 1.57 2.639.864 3.91.898 2.017-.034 4.073-1.096 6.011-.803.52 1.644.797 3.356 1.238 5.023l11.13-2.226c-.204 1.548-1.034 3.31.028 4.729 1.057 1.243 2.424 2.486 4.142 2.57 2.152.447 4.158-.66 6.248-.96 2.848 2.757 7.549 1.334 10.046-1.226 2.836 1.48 6.514 2.034 9.243.023 2.56-1.96 5.622-3.311 7.802-5.73 1.888-3.395 1.746-7.457 2.25-11.209 7.468.102 14.898-.83 22.344-1.3.35 7.77 1.153 15.504 1.554 23.262-.028 4.14.757 8.226.785 12.361.187 9.718-.073 19.436-.05 29.148-65.155-.028-130.31.006-195.464-.017l.95-16.633c.112-5.08.05-10.158.073-15.238-6.588 1.707-13.487 2.034-20.25 1.498-9.808-.605-19.616-3.35-27.927-8.667l1.023-.424c12.051-.904 24.159-.47 36.204-1.458 8.47-.706 16.995-.667 25.425-1.785 3.339-.396 6.7-.588 10.062-.706 1.503 2.96 3.678 5.808 6.848 7.073 2.717 1.028 5.712 1.605 8.593.927 2.594-.627 5.283.135 7.87-.497 1.583-.3 3-1.113 4.543-1.537 1.198.17 2.158 1.085 3.373 1.22 2.44.317 4.921-.17 7.277-.78 1.656-.774 1.944-2.83 1.271-4.372 7.052-.978 14.091-2.204 21.007-3.893-1.175-7.921-2.52-15.843-4.684-23.56l-15.334 2.005c-1.593-2.135-3.587-4.017-5.859-5.412-3.56-1.017-7.18.26-10.525 1.44-8 2.147-15.052 6.583-22.42 10.21-1.677.983-3.683 2.147-3.892 4.305a31.05 31.05 0 00.367 8.916c-3.418-.057-6.83.175-10.232.474-7.695.74-15.447.447-23.142 1.153-12.644 1.102-25.373.486-38.012 1.65a63.323 63.323 0 00-5.48-.057c-4.289-4.35-7.035-10.006-8.283-15.95-.497-2.904.39-5.762 1.005-8.576 1.012-5.17 3.712-9.803 6.628-14.12 3.18-4.677 7.492-8.384 11.424-12.395 2.237-2.622 4.57-5.204 7.39-7.22 4.548-3.6 9.226-7.03 13.983-10.357 10.04-7.26 20.696-13.593 31.075-20.345 4.712-3.266 10.085-5.345 15.153-7.972 5.034-2.379 9.927-5.124 15.266-6.786a44.715 44.715 0 006.667-2.796c1.152.853 2.632 1.333 3.582 2.418-.39 2.226-1.594 4.418-1.029 6.723.52 2.034 1.48 3.983 2.83 5.588 1.385 1.565 3.611 1.627 5.527 1.932.672 1.944 1.339 4.046 3.034 5.368 2.248 1.977 5.4 1.977 8.226 2.005 1.248 1.695 2.395 3.814 4.604 4.35 2.379.803 4.825-.118 6.944-1.197 1.56 1.44 3.187 3.22 5.531 3.074 2.176.265 3.96-1.12 5.6-2.334 2.067 1.045 4.39 2.44 6.78 1.644 2.27-.474 3.847-2.26 5.372-3.859 2.09.334 4.215 1.22 6.34.673 2.423-1.023 3.83-3.43 4.96-5.678 1.407-.34 3.096-.311 4.13-1.492 1.271-1.249 1.627-3.045 2.04-4.706 1.91-.73 4.062-1.486 5.175-3.328.859-2.034-.006-4.215-.18-6.294 1.067-.83 2.395-1.656 2.604-3.119.548-2.277-.198-4.548-1.141-6.599 2.327-1.898 2.26-5.096 1.163-7.65z",fill:"#bf360c"}))))}const me=e=>{const{closeModal:t}=e,a=Object(Q.useCallback)(e=>{t(),e.preventDefault(),Object(se.c)()});return Object(Q.createElement)("div",null,Object(Q.createElement)("div",{className:"yoast-wordproof-modal-image"},Object(Q.createElement)(pe,{className:"yoast-wordproof-modal-svg__webhook-failed"})),Object(Q.createElement)("div",null,Object(J.__)("There was a connection problem. This could be because your third party connections are blocked.","wordpress-seo"),Object(Q.createElement)("br",null),Object(X.a)(Object(J.sprintf)(Object(J.__)("Find possible solutions in this %1$sArticle%2$s.","wordpress-seo"),"<a>","</a>"),"https://help.wordproof.com/en/articles/4823201-how-do-i-whitelist-wordproof-in-cloudflare")),Object(Q.createElement)("div",{className:"yoast-wordproof-modal-action"},Object(Q.createElement)(re.NewButton,{variant:"secondary",onClick:a},Object(J.__)("Try again","wordpress-seo"))),Object(Q.createElement)("div",null,Object(X.a)(Object(J.sprintf)(// translators: %1$s and %2$s are replaced by opening and closing <a> tags. %3$s expands to WordProof.
Object(J.__)("Not working? %1$sContact %3$s support%2$s.","wordpress-seo"),"<a>","</a>","WordProof"),"https://help.wordproof.com")))};me.propTypes={closeModal:ie.a.func.isRequired};var be=me,he=a(33);t.a=()=>{const[e,t]=Object(Q.useState)(null),a=Object(Q.useCallback)(()=>{t("oauth:failed")}),n=Object(Q.useCallback)(()=>{t("webhook:failed")}),s=Object(Q.useCallback)(()=>{t("oauth:success")}),r=Object(Q.useCallback)(()=>{t(null)});Object(Q.useEffect)(()=>(window.addEventListener("wordproof:oauth:success",s,!1),window.addEventListener("wordproof:oauth:failed",a,!1),window.addEventListener("wordproof:webhook:failed",n,!1),()=>{window.removeEventListener("wordproof:oauth:success",s,!1),window.removeEventListener("wordproof:oauth:failed",a,!1),window.removeEventListener("wordproof:webhook:failed",n,!1)}),[]);const o=Object(Q.useCallback)(()=>{switch(e){case"webhook:failed":return Object(J.__)("Connection failed","wordpress-seo");case"oauth:success":return Object(J.__)("Connected to WordProof","wordpress-seo");default:return Object(J.__)("WordProof authentication","wordpress-seo")}});return Object(Q.createElement)(Q.Fragment,null,e&&Object(Q.createElement)(he.a,{onRequestClose:r,additionalClassName:"yoast-wordproof-modal",title:o()},"oauth:success"===e&&Object(Q.createElement)(de,{closeModal:r}),"oauth:failed"===e&&Object(Q.createElement)(ee,null),"webhook:failed"===e&&Object(Q.createElement)(be,{closeModal:r})))}},,function(e,t,a){"use strict";a.d(t,"a",(function(){return c}));var n=a(48),s=a(41),r=a(121),o=a(54);const{dispatch:i}=wp.data;function c(){const{setIsAuthenticated:e,setSelectedPostTypes:t}=i("wordproof"),a=Object(s.a)("popup_redirect_authentication_url"),c=Object(s.a)("popup_redirect_settings_url");let l=null;const d=(e,t)=>{l=function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:800,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:680;const r=e.top.outerHeight/2+e.top.screenY-s/2,o=e.top.outerWidth/2+e.top.screenX-n/2;return e.open(t,a,`toolbar=no,\n\t\tlocation=no,\n\t\tdirectories=no,\n\t\tstatus=no,\n\t\tmenubar=no,\n\t\tresizable=no,\n\t\tcopyhistory=no,\n\t\twidth=${n},\n\t\theight=${s},\n\t\ttop=${r},\n\t\tleft=${o}`)}(window,e,t),l&&l.focus(),window.addEventListener("message",u,!1)},u=async e=>{const{data:t,source:a,origin:n}=e;if(n===Object(s.a)("origin")&&l===a)switch(t.type){case"wordproof:oauth:granted":!1===await b(t)&&await p("wordproof:oauth:failed",!1);break;case"wordproof:oauth:failed":await p("wordproof:oauth:failed",!1);break;case"wordproof:oauth:denied":await p("wordproof:oauth:denied",!1);break;case"wordproof:oauth:invalid_token":await p("wordproof:oauth:invalid_token",!1);break;case"wordproof:webhook:success":await p("wordproof:oauth:success",!0);break;case"wordproof:webhook:failed":await p("wordproof:webhook:failed",!1);break;case"wordproof:settings:updated":await p("wordproof:settings:updated"),await h(t);break;case"wordproof:oauth:destroy":await p("wordproof:oauth:destroy",!1);break;case"wordproof:oauth:retry":await p("wordproof:open_authentication",!1);break;case"wordproof:oauth:close":m()}},p=async function(t){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;m(),Object(r.a)(t),!1===a&&(await Object(n.b)(),e(!1)),!0===a&&e(!0)},m=()=>{window.removeEventListener("message",u,!1),l.close()},b=async e=>{await Object(n.c)(()=>Object(o.e)(e),async e=>{const t={type:"wordproof:sdk:access-token",source_id:e.source_id};return l.postMessage(t,Object(s.a)("origin")),!0},async()=>!1)},h=async e=>{await Object(n.c)(()=>Object(o.f)(e),async()=>{const a=e.settings;return a.selectedPostTypes&&t(a.selectedPostTypes),!0},async()=>!1)};window.addEventListener("wordproof:open_authentication",e=>{e.preventDefault(),d(a,"WordProof_Authentication")},!1),window.addEventListener("wordproof:open_settings",e=>{e.preventDefault(),d(c,"WordProof_Settings")},!1)}},function(e,t,a){"use strict";a.r(t),a.d(t,"wistiaEmbedPermission",(function(){return o})),a.d(t,"DISMISS_ALERT",(function(){return s.DISMISS_ALERT})),a.d(t,"SNIPPET_EDITOR_FIND_CUSTOM_FIELDS",(function(){return r}));var n=a(25),s=a(137);function r(e){let{query:t,postId:a}=e;return new Promise(e=>{wpseoApi.get("meta/search",{query:t,post_id:a},t=>{e(t.meta)})})}const o=n.s[n.d]},,,,,,,,,,function(e,t,a){"use strict";var n=a(5),s=a(20),r=a(10),o=a.n(r),i=a(0),c=a(3),l=c.forwardRef((function(e,t){return c.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),c.createElement("path",{d:"M2 11a1 1 0 011-1h2a1 1 0 011 1v5a1 1 0 01-1 1H3a1 1 0 01-1-1v-5zM8 7a1 1 0 011-1h2a1 1 0 011 1v9a1 1 0 01-1 1H9a1 1 0 01-1-1V7zM14 4a1 1 0 011-1h2a1 1 0 011 1v12a1 1 0 01-1 1h-2a1 1 0 01-1-1V4z"}))})),d=a(1),u=a(262),p=a(2),m=a.n(p),b=a(9),h=a.n(b),g=a(55),f=a(33),y=a(113),w=a(105),O=a(50),j=a(128);const E=h()(l)`
width: 18px;
height: 18px;
margin: 3px;
`;function v(e){const{keyphrases:t,onNoKeyphraseSet:a,onOpen:n,location:s}=e;if(!t.length)return document.querySelector("#focus-keyword-input-sidebar").focus(),void a();n(s)}function _(e,t){Object(w.b)(t)&&e.onClose()}function k(e){const{location:t,whichModalOpen:a,shouldCloseOnClickOutside:n}=e,s=Object(i.useCallback)(()=>{v(e)},[v,e]),r=Object(i.useCallback)(t=>{_(e,t)},[_,e]),c=Object(d.__)("Track SEO performance","wordpress-seo"),l=Object(u.a)();return Object(i.createElement)(i.Fragment,null,a===t&&Object(i.createElement)(f.a,{title:c,onRequestClose:r,icon:Object(i.createElement)(y.a,null),additionalClassName:"yoast-wincher-seo-performance-modal",shouldCloseOnClickOutside:n},Object(i.createElement)(g.a,{className:"yoast-gutenberg-modal__content yoast-wincher-seo-performance-modal__content"},Object(i.createElement)(j.a,null))),"sidebar"===t&&Object(i.createElement)(O.a,{id:"wincher-open-button-"+t,title:c,SuffixHeroIcon:Object(i.createElement)(E,o()({className:"yst-text-slate-500"},l)),onClick:s}))}k.propTypes={location:m.a.string,whichModalOpen:m.a.oneOf(["none","metabox","sidebar","postpublish"]),shouldCloseOnClickOutside:m.a.bool},k.defaultProps={location:"",whichModalOpen:"none",shouldCloseOnClickOutside:!0},t.a=Object(s.compose)([Object(n.withSelect)(e=>{const{getWincherModalOpen:t,getWincherTrackableKeyphrases:a}=e("yoast-seo/editor");return{keyphrases:a(),whichModalOpen:t()}}),Object(n.withDispatch)(e=>{const{setWincherOpenModal:t,setWincherDismissModal:a,setWincherNoKeyphrase:n}=e("yoast-seo/editor");return{onOpen:e=>{t(e)},onClose:()=>{a()},onNoKeyphraseSet:()=>{n()}}})])(k)},,,,,,,,,,,,,function(e,t,a){"use strict";var n=a(3);const s=n.forwardRef((function(e,t){return n.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),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17 8l4 4m0 0l-4 4m4-4H3"}))}));t.a=s},,,,,,,,,,function(e,t,a){"use strict";var n=a(10),s=a.n(n),r=a(0),o=a(3),i=o.forwardRef((function(e,t){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),o.createElement("path",{d:"M15 8a3 3 0 10-2.977-2.63l-4.94 2.47a3 3 0 100 4.319l4.94 2.47a3 3 0 10.895-1.789l-4.94-2.47a3.027 3.027 0 000-.74l4.94-2.47C13.456 7.68 14.19 8 15 8z"}))})),c=a(1),l=a(2),d=a.n(l),u=a(9),p=a.n(u),m=a(103),b=a(135),h=a(124),g=a(8);const f=p()(g.Collapsible)`
h2 > button {
padding-left: 0;
padding-top: 16px;
&:hover {
background-color: #f0f0f0;
}
}
div[class^="collapsible_content"] {
padding: 24px 0;
margin: 0 24px;
border-top: 1px solid rgba(0,0,0,0.2);
}
`;var y=e=>Object(r.createElement)(f,s()({hasPadding:!1,hasSeparator:!0},e)),w=a(88),O=a(262);const j=p()(i)`
width: 18px;
height: 18px;
margin: 3px;
`,E=e=>{const{useOpenGraphData:t,useTwitterData:a}=e;if(!t&&!a)return;const n=Object(O.a)();return Object(r.createElement)(m.a
/* translators: Social media appearance refers to a preview of how a page will be represented on social media. */,{title:Object(c.__)("Social media appearance","wordpress-seo"),id:"yoast-social-appearance-modal",shouldCloseOnClickOutside:!1,SuffixHeroIcon:Object(r.createElement)(j,s()({className:"yst-text-slate-500"},n))},t&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)(w.b,null,Object(c.__)("Determine how your post should look on social media like Facebook, Twitter, Instagram, WhatsApp, Threads, LinkedIn, Slack, and more.","wordpress-seo")),Object(r.createElement)(b.a,null),a&&Object(r.createElement)(w.a,null,Object(c.__)("To customize the appearance of your post specifically for Twitter, please fill out the 'Twitter appearance' settings below. If you leave these settings untouched, the 'Social media appearance' settings mentioned above will also be applied for sharing on Twitter.","wordpress-seo"))),t&&a&&Object(r.createElement)(y,{title:Object(c.__)("Twitter appearance","wordpress-seo"),hasSeparator:!0,initialIsOpen:!1},Object(r.createElement)(h.a,null)),!t&&a&&Object(r.createElement)(r.Fragment,null,Object(r.createElement)(w.b,null,Object(c.__)("To customize the appearance of your post specifically for Twitter, please fill out the 'Twitter appearance' settings below.","wordpress-seo")),Object(r.createElement)(h.a,null)))};E.propTypes={useOpenGraphData:d.a.bool.isRequired,useTwitterData:d.a.bool.isRequired},t.a=E},,,function(e,t,a){"use strict";var n=a(0),s=a(19),r=a(5),o=a(40),i=a(1),c=a(6),l=a(2),d=a.n(l),u=a(86);const p="yoast-seo/editor",m=()=>{const e=Object(r.useSelect)(e=>e(p).selectLink("https://www.yoa.st/ai-generator-learn-more"),[]),t=Object(r.useSelect)(e=>e(p).selectLink("https://yoa.st/ai-generator-upsell"),[]),a=Object(r.useSelect)(e=>e(p).selectImageLink("ai-generator-preview.png"),[]),s=Object(n.useMemo)(()=>({src:a,width:"432",height:"244"}),[a]),o=Object(r.useSelect)(e=>e(p).selectWistiaEmbedPermissionValue(),[]),i=Object(r.useSelect)(e=>e(p).selectWistiaEmbedPermissionStatus(),[]),{setWistiaEmbedPermission:c}=Object(r.useDispatch)(p),l=Object(n.useMemo)(()=>({value:o,status:i,set:c}),[o,i,c]);return Object(n.createElement)(u.b,{learnMoreLink:e,upsellLink:t,thumbnail:s,wistiaEmbedPermission:l})},b=e=>{let{fieldId:t}=e;const[a,,,s,r]=Object(c.useToggleState)(!1),o=Object(n.useCallback)(()=>{s()},[s]),l=Object(n.useRef)(null);return Object(n.createElement)(n.Fragment,null,Object(n.createElement)("button",{type:"button",id:"yst-replacevar__use-ai-button__"+t,className:"yst-replacevar__use-ai-button-upsell",onClick:o},Object(i.__)("Use AI","wordpress-seo")),Object(n.createElement)(c.Modal,{className:"yst-introduction-modal",isOpen:a,onClose:r,initialFocus:l},Object(n.createElement)(c.Modal.Panel,{className:"yst-max-w-lg yst-p-0 yst-bg-gradient-to-b yst-from-[#EDD2E1] yst-rounded-3xl"},Object(n.createElement)(m,{onClose:r,focusElementRef:l}))))};b.propTypes={fieldId:d.a.string.isRequired},t.a=()=>{const e=Object(r.select)("yoast-seo/editor").getIsPremium();Object(o.addFilter)("yoast.replacementVariableEditor.additionalButtons","yoast/yoast-seo-premium/AiGenerator",(t,a)=>{let{fieldId:r}=a;return e||t.push(Object(n.createElement)(s.Fill,{name:"yoast.replacementVariableEditor.additionalButtons."+r},Object(n.createElement)(b,{fieldId:r}))),t})}},,function(e,t,a){"use strict";a.d(t,"a",(function(){return p}));var n=a(54),s=a(41),r=a(2),o=a.n(r),i=a(121);const c=e=>{const{response:t,createSuccessNotice:a,createErrorNotice:n,postId:r}=e;if(null===t||200===t.status)return;const o={id:"wordproof-timestamp-notice"};if(t&&201===t.status)0===t.balance?(o.actions=[{label:Object(s.a)("translations.open_settings_button_text"),onClick:()=>{Object(i.a)("wordproof:open_settings")},variant:"link"}],n(Object(s.a)("translations.no_balance"),o)):(a(Object(s.a)("translations.timestamp_success"),{type:"snackbar",id:"wordproof-timestamp-notice"}),l(r,t.hash,n,o));else if(t.error)switch(t.error){case"not_authenticated":o.type="snackbar",o.actions=[{label:Object(s.a)("translations.open_authentication_button_text"),onClick:()=>{Object(i.a)("wordproof:open_authentication")},variant:"link"}],n(Object(s.a)("translations.not_authenticated"),o);break;case"timestamp_failed":default:n(Object(s.a)("translations.timestamp_failed"),o)}},l=async(e,t,a,r)=>{setTimeout(async()=>{(await Object(n.c)(e)).hash!==t&&(r.type="snackbar",a(Object(s.a)("translations.webhook_failed"),r))},1e4)};c.proptypes={timestampResponse:o.a.any.isRequired,createSuccessNotice:o.a.func.isRequired,createErrorNotice:o.a.func.isRequired,postId:o.a.number.isRequired};const{debounce:d}=lodash,{applyFilters:u}=wp.hooks;function p(e,t,a){e(d(async()=>{if(u("wordproof.timestamp",!0)){const e=Object(s.a)("current_post_id"),r=await Object(n.g)(e);c({response:r,createSuccessNotice:t,createErrorNotice:a,postId:e})}},500))}},,function(e,t,a){"use strict";var n=a(10),s=a.n(n),r=a(0),o=a(3),i=o.forwardRef((function(e,t){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),o.createElement("path",{d:"M11 3a1 1 0 10-2 0v1a1 1 0 102 0V3zM15.657 5.757a1 1 0 00-1.414-1.414l-.707.707a1 1 0 001.414 1.414l.707-.707zM18 10a1 1 0 01-1 1h-1a1 1 0 110-2h1a1 1 0 011 1zM5.05 6.464A1 1 0 106.464 5.05l-.707-.707a1 1 0 00-1.414 1.414l.707.707zM5 10a1 1 0 01-1 1H3a1 1 0 110-2h1a1 1 0 011 1zM8 16v-1h4v1a2 2 0 11-4 0zM12 14c.015-.34.208-.646.477-.859a4 4 0 10-4.954 0c.27.213.462.519.476.859h4.002z"}))})),c=a(5),l=a(1),d=a(93),u=a(262),p=a(2),m=a.n(p),b=a(9),h=a.n(b),g=a(103),f=a(145),y=a(146),w=a(157),O=a(158),j=a(147);const E=h()(i)`
width: 18px;
height: 18px;
margin: 3px;
`,v=e=>{let{location:t}=e;const a=Object(c.useSelect)(e=>e("yoast-seo/editor").getIsElementorEditor(),[]),n=Object(c.useSelect)(e=>e("yoast-seo/editor").isFleschReadingEaseAvailable(),[]),o=Object(u.a)();return Object(r.createElement)(g.a,{title:Object(l.__)("Insights","wordpress-seo"),id:"yoast-insights-modal-"+t,shouldCloseOnClickOutside:!a,showChangesWarning:!1,SuffixHeroIcon:Object(r.createElement)(E,s()({className:"yst-text-slate-500"},o))},Object(r.createElement)("div",{className:"yoast-insights yoast-modal-content--columns"},Object(r.createElement)(w.a,{location:t}),Object(r.createElement)("div",null,n&&Object(r.createElement)("div",{className:"yoast-insights-row"},Object(r.createElement)(y.a,null)),Object(r.createElement)("div",{className:"yoast-insights-row yoast-insights-row--columns"},Object(r.createElement)(f.a,null),Object(r.createElement)(j.a,null)),Object(d.isFeatureEnabled)("TEXT_FORMALITY")&&Object(r.createElement)(O.a,{location:t,name:"YoastTextFormalityMetabox"}))))};v.propTypes={location:m.a.string},v.defaultProps={location:"sidebar"},t.a=v},function(e,t,a){"use strict";var n=a(10),s=a.n(n),r=a(0),o=a(3),i=o.forwardRef((function(e,t){return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),o.createElement("path",{fillRule:"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",clipRule:"evenodd"}))})),c=a(1),l=a(262),d=a(9),u=a.n(d),p=a(103),m=a(156);const b=u()(i)`
width: 18px;
height: 18px;
margin: 3px;
`;t.a=()=>{const e=Object(l.a)();return Object(r.createElement)(p.a,{title:Object(c.__)("Search appearance","wordpress-seo"),id:"yoast-search-appearance-modal",shouldCloseOnClickOutside:!1,SuffixHeroIcon:Object(r.createElement)(b,s()({className:"yst-text-slate-500"},e))},Object(r.createElement)(m.a,{showCloseButton:!1,hasPaperStyle:!1}))}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";var n=a(0);t.a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return Object(n.useMemo)(()=>{const t={role:"img","aria-hidden":"true"};return null!==e&&(t.focusable=e?"true":"false"),t},[e])}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";a.r(t);var n={};a.r(n),a.d(n,"updateData",(function(){return O})),a.d(n,"loadSnippetEditorData",(function(){return j}));var s={};a.r(s),a.d(s,"getAnalysisData",(function(){return L}));var r={};a.r(r),a.d(r,"authorFirstName",(function(){return z})),a.d(r,"authorLastName",(function(){return U})),a.d(r,"currentDate",(function(){return W})),a.d(r,"currentDay",(function(){return $})),a.d(r,"currentMonth",(function(){return B})),a.d(r,"category",(function(){return K})),a.d(r,"categoryTitle",(function(){return H})),a.d(r,"currentYear",(function(){return V})),a.d(r,"date",(function(){return Y})),a.d(r,"excerpt",(function(){return G})),a.d(r,"focusKeyphrase",(function(){return Z})),a.d(r,"id",(function(){return Q})),a.d(r,"modified",(function(){return J})),a.d(r,"name",(function(){return X})),a.d(r,"page",(function(){return ee})),a.d(r,"pageNumber",(function(){return te})),a.d(r,"pageTotal",(function(){return ae})),a.d(r,"permalink",(function(){return ne})),a.d(r,"postContent",(function(){return se})),a.d(r,"postDay",(function(){return re})),a.d(r,"postMonth",(function(){return oe})),a.d(r,"postYear",(function(){return ie})),a.d(r,"postTypeNamePlural",(function(){return ce})),a.d(r,"postTypeNameSingular",(function(){return le})),a.d(r,"primaryCategory",(function(){return de})),a.d(r,"searchPhrase",(function(){return ue})),a.d(r,"separator",(function(){return pe})),a.d(r,"siteDescription",(function(){return me})),a.d(r,"siteName",(function(){return be})),a.d(r,"tag",(function(){return he})),a.d(r,"term404",(function(){return ge})),a.d(r,"termDescription",(function(){return fe})),a.d(r,"termHierarchy",(function(){return ye})),a.d(r,"termTitle",(function(){return we})),a.d(r,"title",(function(){return Oe})),a.d(r,"userDescription",(function(){return je}));var o=a(5),i=a(40),c=a(222),l=a(183);$e.modules.hookUI.Base;class d extends $e.modules.hookData.Base{constructor(e,t,a){super(),this.hook=e,this.id=t,this.callback=a}getCommand(){return this.hook}getId(){return this.id}apply(){return this.callback()}}function u(e,t){let a=null;t.actions&&(a=[],t.actions.forEach(e=>{a.push({name:"wordproof_notice_button",text:e.label,callback(){e.onClick()}})})),window.elementor.notifications.showToast({message:e,buttons:a})}function p(e){!function(e,t,a){$e&&$e.hooks.registerDataAfter(new d("document/save/save","wordproof/timestamper",a))}(0,0,()=>{window.setTimeout(e,1e3)})}var m=a(220),b=a(17),h=a(4),g=a(184);class f{static get titleElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_title":"hidden_wpseo_title")}static get descriptionElement(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_metadesc":"hidden_wpseo_desc")}static get slugElement(){return document.getElementById("yoast_wpseo_slug")}static get title(){return f.titleElement.value}static set title(e){f.titleElement.value=e}static get description(){return f.descriptionElement.value}static set description(e){f.descriptionElement.value=e}static get slug(){return f.slugElement.value}static set slug(e){f.slugElement.value=e}}const{UPDATE_DATA:y,LOAD_SNIPPET_EDITOR_DATA:w}=b.actions;function O(e){if(e.hasOwnProperty("title")){let t=e.title;e.title===Object(h.get)(window,"wpseoScriptData.metabox.title_template","")&&(t=""),f.title=t}if(e.hasOwnProperty("description")){let t=e.description;e.description===Object(h.get)(window,"wpseoScriptData.metabox.metadesc_template","")&&(t=""),f.description=t}return e.hasOwnProperty("slug")&&(f.slug=e.slug),{type:y,data:e}}const j=()=>{const e=Object(h.get)(window,"wpseoScriptData.metabox.title_template",""),t=Object(h.get)(window,"wpseoScriptData.metabox.metadesc_template","");return{type:w,data:{title:f.title||e,description:f.description||t,slug:f.slug},templates:{title:e,description:t}}};var E=a(11),v=a(106),_=a(62);const{getBaseUrlFromSettings:k,getContentLocale:x,getEditorDataContent:T,getFocusKeyphrase:S,getSnippetEditorDescriptionWithTemplate:R,getSnippetEditorSlug:C,getSnippetEditorTitleWithTemplate:I,getDateFromSettings:P}=b.selectors,L=e=>{let t=I(e),a=R(e),n=C(e);const s=k(e);return t=E.strings.stripHTMLTags(Object(_.a)("data_page_title",t)),a=E.strings.stripHTMLTags(Object(_.a)("data_meta_desc",a)),n=n.trim().replace(/\s+/g,"-"),{text:T(e),title:t,keyword:S(e),description:a,locale:x(e),titleWidth:Object(v.a)(t),slug:n,permalink:s+n,date:P(e)}};var A=a(15);function M(e,t){const{updateWordsToHighlight:a}=Object(o.dispatch)("yoast-seo/editor");e("morphology",new A.Paper("",{keyword:t})).then(e=>{let{result:{keyphraseForms:t}}=e;a(Object(h.uniq)(Object(h.flatten)(t)))}).catch(()=>{a([])})}const N=Object(h.debounce)(M,500);var D=a(1),F=a(18),q=a(176),z={name:"author_first_name",label:"Author first name",placeholder:"%%author_first_name%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.author_first_name","")},regexp:new RegExp("%%author_first_name%%","g")},U={name:"author_last_name",label:"Author last name",placeholder:"%%author_last_name%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.author_last_name","")},regexp:new RegExp("%%author_last_name%%","g")},W={name:"currentdate",label:"Current date",placeholder:"%%currentdate%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.currentdate","")},regexp:new RegExp("%%currentdate%%","g")},$={name:"currentday",label:"Current day",placeholder:"%%currentday%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.currentday","")},regexp:new RegExp("%%currentday%%","g")},B={name:"currentmonth",label:"Current month",placeholder:"%%currentmonth%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.currentmonth","")},regexp:new RegExp("%%currentmonth%%","g")},K={name:"category",label:"Category",placeholder:"%%category%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.category","")},regexp:new RegExp("%%category%%","g")},H={name:"category_title",label:"Category Title",placeholder:"%%category_title%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.category_title","")},regexp:new RegExp("%%category_title%%","g")},V={name:"currentyear",label:"Current year",placeholder:"%%currentyear%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.currentyear","")},regexp:new RegExp("%%currentyear%%","g")},Y={name:"date",label:"Date",placeholder:"%%date%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.date","")},regexp:new RegExp("%%date%%","g")},G={name:"excerpt",label:"Excerpt",placeholder:"%%excerpt%%",aliases:[{name:"excerpt_only",label:"Excerpt only",placeholder:"%%excerpt_only%%"}],getReplacement:function(){return Object(o.select)("yoast-seo/editor").getEditorDataExcerptWithFallback()},regexp:new RegExp("%%excerpt%%|%%excerpt_only%%","g")},Z={name:"focuskw",label:"Focus keyphrase",placeholder:"%%focuskw%%",aliases:[],getReplacement:function(){return Object(o.select)("yoast-seo/editor").getFocusKeyphrase()},regexp:new RegExp("%%focuskw%%|%%keyword%%","g")},Q={name:"id",label:"ID",placeholder:"%%id%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.id","")},regexp:new RegExp("%%id%%","g")},J={name:"modified",label:"Modified",placeholder:"%%modified%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.modified","")},regexp:new RegExp("%%modified%%","g")},X={name:"name",label:"Name",placeholder:"%%name%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.name","")},regexp:new RegExp("%%name%%","g")},ee={name:"page",label:"Page",placeholder:"%%page%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.page","")},regexp:new RegExp("%%page%%","g")},te={name:"pagenumber",label:"Pagenumber",placeholder:"%%pagenumber%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pagenumber","")},regexp:new RegExp("%%pagenumber%%","g")},ae={name:"pagetotal",label:"Pagetotal",placeholder:"%%pagetotal%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pagetotal","")},regexp:new RegExp("%%pagetotal%%","g")},ne={name:"permalink",label:"Permalink",placeholder:"%%permalink%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.permalink","")},regexp:new RegExp("%%permalink%%","g")},se={name:"post_content",label:"Post Content",placeholder:"%%post_content%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.post_content","")},regexp:new RegExp("%%post_content%%","g")},re={name:"post_day",label:"Post Day",placeholder:"%%post_day%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.post_day","")},regexp:new RegExp("%%post_day%%","g")},oe={name:"post_month",label:"Post Month",placeholder:"%%post_month%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.post_month","")},regexp:new RegExp("%%post_month%%","g")},ie={name:"post_year",label:"Post Year",placeholder:"%%post_year%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.post_year","")},regexp:new RegExp("%%post_year%%","g")},ce={name:"pt_plural",label:"Post type (plural)",placeholder:"%%pt_plural%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pt_plural","")},regexp:new RegExp("%%pt_plural%%","g")},le={name:"pt_single",label:"Post type (singular)",placeholder:"%%pt_single%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pt_single","")},regexp:new RegExp("%%pt_single%%","g")},de={name:"primary_category",label:"Primary category",placeholder:"%%primary_category%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.primary_category","")},regexp:new RegExp("%%primary_category%%","g")},ue={name:"searchphrase",label:"Search phrase",placeholder:"%%searchphrase%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.searchphrase","")},regexp:new RegExp("%%searchphrase%%","g")},pe={name:"sep",label:"Separator",placeholder:"%%sep%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sep","")},regexp:new RegExp("%%sep%%(\\s*%%sep%%)*","g")},me={name:"sitedesc",label:"Tagline",placeholder:"%%sitedesc%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sitedesc","")},regexp:new RegExp("%%sitedesc%%","g")},be={name:"sitename",label:"Site title",placeholder:"%%sitename%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sitename","")},regexp:new RegExp("%%sitename%%","g")},he={name:"tag",label:"Tag",placeholder:"%%tag%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.tag","")},regexp:new RegExp("%%tag%%","g")},ge={name:"term404",label:"Term404",placeholder:"%%term404%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term404","")},regexp:new RegExp("%%term404%%","g")},fe={name:"term_description",label:"Term description",placeholder:"%%term_description%%",aliases:[{name:"tag_description",label:"Tag description",placeholder:"%%tag_description%%"},{name:"category_description",label:"Category description",placeholder:"%%category_description%%"}],getReplacement:function(){return Object(h.get)(window,"YoastSEO.app.rawData.text","")},regexp:new RegExp("%%term_description%%|%%tag_description%%|%%category_description%%","g")},ye={name:"term_hierarchy",label:"Term hierarchy",placeholder:"%%term_hierarchy%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term_hierarchy","")},regexp:new RegExp("%%term_hierarchy%%","g")},we={name:"term_title",label:"Term title",placeholder:"%%term_title%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term_title","")},regexp:new RegExp("%%term_title%%","g")},Oe={name:"title",label:"Title",placeholder:"%%title%%",aliases:[],getReplacement:function(){return Object(o.select)("yoast-seo/editor").getEditorDataTitle()},regexp:new RegExp("%%title%%","g")},je={name:"user_description",label:"User description",placeholder:"%%user_description%%",aliases:[],getReplacement:function(){return Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.user_description","")},regexp:new RegExp("%%user_description%%","g")},Ee=a(31);const ve=e=>{["content","title","snippet_title","snippet_meta","primary_category","data_page_title","data_meta_desc","excerpt"].forEach(t=>{Object(_.d)(t,e,"replaceVariablePlugin",10)})},_e=e=>ve(t=>t.replace(new RegExp(e.placeholder,"g"),e.replacement));function ke(){Object(_.e)("replaceVariablePlugin",{status:"ready"}),function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";switch(""===e&&(e=Object(h.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.scope","")),e){case"post":case"page":return["authorFirstName","authorLastName","category","categoryTitle","currentDate","currentDay","currentMonth","currentYear","date","excerpt","id","focusKeyphrase","modified","name","page","primaryCategory","pageNumber","pageTotal","permalink","postContent","postDay","postMonth","postYear","postTypeNamePlural","postTypeNameSingular","searchPhrase","separator","siteDescription","siteName","tag","title","userDescription"]}return[]}().forEach(e=>{const t=null==r?void 0:r[e];if(t){const e=(e=>{let{getReplacement:t,regexp:a}=e;return e=>e.replace(a,t())})(t);ve(e)}})}var xe=a(42),Te=a(141),Se=a(0),Re=a(9);class Ce extends $e.modules.hookUI.Base{constructor(e,t,a){super(),this.hook=e,this.id=t,this.callback=a}getCommand(){return this.hook}getId(){return this.id}apply(){return this.callback()}}class Ie extends $e.modules.hookData.Base{constructor(e,t,a){super(),this.hook=e,this.id=t,this.callback=a}getCommand(){return this.hook}getId(){return this.id}apply(){return this.callback()}}function Pe(e,t,a){$e.hooks.registerUIAfter(new Ce(e,t,a))}var Le=a(123),Ae=a(19),Me=a(143);function Ne(){return Object(Se.createElement)(Ae.Slot,{name:"YoastElementor"},e=>Object(Me.a)(e))}var De=a(20),Fe=a(2),qe=a.n(Fe),ze=a(148),Ue=a(144),We=a(224),Be=a(8);function Ke(e){return 0===e.message.length?null:Object(Se.createElement)(Be.Alert,{type:e.type},e.message)}Ke.propTypes={message:qe.a.oneOfType([qe.a.array,qe.a.string]).isRequired,type:qe.a.string.isRequired};var He=Object(o.withSelect)(e=>{const{getWarningMessage:t}=e("yoast-seo/editor");return{message:t(),type:"info"}})(Ke),Ve=a(64),Ye=a(32),Ge=a(225),Ze=a(217),Qe=a(155),Je=a(90),Xe=a(154),et=a(153),tt=a(140),at=a(194),nt=a(181),st=a(172),rt=a(173),ot=a(150),it=a(174),ct=a(149);function lt(e){let{isLoading:t,onLoad:a,settings:n}=e;if(Object(Se.useEffect)(()=>{setTimeout(()=>{t&&a()})}),t)return null;const s=Object(h.get)(window,"wpseoScriptData.webinarIntroElementorUrl","https://yoa.st/webinar-intro-elementor"),r=Object(h.get)(window,"wpseoScriptData.isWooCommerceActive","");return Object(Se.createElement)(Se.Fragment,null,Object(xe.b)()&&Object(Se.createElement)(nt.a,null),Object(Se.createElement)(Ae.Fill,{name:"YoastElementor"},Object(Se.createElement)(Ye.a,{renderPriority:1},Object(Se.createElement)(He,null),Object(it.b)()&&Object(Se.createElement)(st.a,{hasIcon:!1,image:null,url:s}),r&&Object(Se.createElement)(rt.a,{hasIcon:!1}),Object(Se.createElement)(ot.a,{image:null,hasIcon:!1})),n.isKeywordAnalysisActive&&Object(Se.createElement)(Ye.a,{renderPriority:8},Object(Se.createElement)(Ve.KeywordInput,{isSEMrushIntegrationActive:n.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&Object(Se.createElement)(Ae.Fill,{name:"YoastRelatedKeyphrases"},Object(Se.createElement)(tt.a,null))),Object(Se.createElement)(Ye.a,{renderPriority:25},Object(Se.createElement)(Ge.a,null)),(n.useOpenGraphData||n.useTwitterData)&&Object(Se.createElement)(Ye.a,{key:"social-appearance",renderPriority:26},Object(Se.createElement)(Ze.a,{useOpenGraphData:n.useOpenGraphData,useTwitterData:n.useTwitterData})),n.displaySchemaSettings&&Object(Se.createElement)(Ye.a,{renderPriority:28},Object(Se.createElement)(Je.a,{title:Object(D.__)("Schema","wordpress-seo")},Object(Se.createElement)(Xe.a,null))),n.displayAdvancedTab&&Object(Se.createElement)(Ye.a,{renderPriority:29},Object(Se.createElement)(Je.a,{title:Object(D.__)("Advanced","wordpress-seo")},Object(Se.createElement)(et.a,{location:"sidebar"}))),n.isKeywordAnalysisActive&&Object(Se.createElement)(Ye.a,{renderPriority:10},Object(Se.createElement)(Se.Fragment,null,Object(Se.createElement)(Ve.SeoAnalysis,{shouldUpsell:n.shouldUpsell,shouldUpsellWordFormRecognition:n.isWordFormRecognitionActive}),n.shouldUpsell&&Object(Se.createElement)(Qe.a,null))),n.isContentAnalysisActive&&Object(Se.createElement)(Ye.a,{renderPriority:15},Object(Se.createElement)(Ve.ReadabilityAnalysis,{shouldUpsell:n.shouldUpsell})),n.isInclusiveLanguageAnalysisActive&&Object(Se.createElement)(Ye.a,{renderPriority:19},Object(Se.createElement)(Ve.InclusiveLanguageAnalysis,null)),n.isKeywordAnalysisActive&&Object(Se.createElement)(Ye.a,{key:"additional-keywords-upsell",renderPriority:22},n.shouldUpsell&&Object(Se.createElement)(ct.a,null)),n.shouldUpsell&&Object(Se.createElement)(Ye.a,{key:"internal-linking-suggestions-upsell",renderPriority:23},Object(Se.createElement)(ze.a,null)),n.isKeywordAnalysisActive&&n.isWincherIntegrationActive&&Object(Se.createElement)(Ye.a,{key:"wincher-seo-performance",renderPriority:23},Object(Se.createElement)(at.a,{location:"sidebar",shouldCloseOnClickOutside:!1})),n.isCornerstoneActive&&Object(Se.createElement)(Ye.a,{renderPriority:30},Object(Se.createElement)(Ue.a,null)),n.isInsightsEnabled&&Object(Se.createElement)(Ye.a,{renderPriority:32},Object(Se.createElement)(We.a,{location:"elementor"}))))}lt.propTypes={isLoading:qe.a.bool.isRequired,onLoad:qe.a.func.isRequired,settings:qe.a.object.isRequired};var dt=Object(De.compose)([Object(o.withSelect)(e=>{const{getPreferences:t,getSnippetEditorIsLoading:a}=e("yoast-seo/editor");return{settings:t(),isLoading:a()}}),Object(o.withDispatch)(e=>{const{loadSnippetEditorData:t}=e("yoast-seo/editor");return{onLoad:t}})])(lt),ut=a(22);let pt,mt=!1;function bt(e){e.oldValue=e.value}function ht(){pt.forEach(e=>bt(e))}const gt=Object(h.debounce)((function(){let e;mt&&(
/* Translators: %1$s translates to the Post Label in singular form */
e=Object(D.sprintf)(Object(D.__)("Unfortunately we cannot save changes to your SEO settings while you are working on a draft of an already-published %1$s. If you want to save your SEO changes, make sure to click 'Update', or wait to make your SEO changes until you are ready to update the %1$s.","wordpress-seo"),window.wpseoAdminL10n.postTypeNameSingular.toLowerCase())),"draft"===window.elementor.settings.page.model.get("post_status")&&(e=""),Object(o.dispatch)("yoast-seo/editor").setWarningMessage(e)}),500,{trailing:!0});function ft(e){var t;(function(e){return["yoast_wpseo_linkdex","yoast_wpseo_content_score","yoast_wpseo_inclusive_language_score","yoast_wpseo_words_for_linking","yoast_wpseo_estimated-reading-time-minutes"].includes(e.name)})(e)||(t=e.name,["yoast_wpseo_focuskeywords","hidden_wpseo_focuskeywords"].includes(t)&&function(e,t){if(t===e)return!0;if(""===t||""===e)return!1;const a=JSON.parse(t),n=JSON.parse(e);return a.length===n.length&&a.every((e,t)=>e.keyword===n[t].keyword)}(e.oldValue,e.value)||e.value!==e.oldValue&&(mt=!0,gt(),window.$e.internal("document/save/set-is-modified",{status:!0}),bt(e)))}function yt(e){mt=!1;const t=jQuery(e).serializeArray().reduce((e,t)=>{let{name:a,value:n}=t;return e[a]=n,e},{});jQuery.post(e.getAttribute("action"),t,(e,a,n)=>{let{success:s,data:r}=e;s?(Object(i.doAction)("yoast.elementor.save.success",n),r.slug&&r.slug!==t.slug&&Object(o.dispatch)("yoast-seo/editor").updateData({slug:r.slug}),ht(),gt()):mt=!0})}function wt(){const e={locationContext:"elementor-sidebar"};setTimeout(()=>{Object(Le.b)("elementor-panel-page-settings-controls",Object(Se.createElement)(ut.Root,{context:e},Object(Se.createElement)(Re.StyleSheetManager,{target:document.getElementById("elementor-panel-inner")},Object(Se.createElement)("div",{className:"yoast yoast-elementor-panel__fills"},Object(Se.createElement)(Ne,null),Object(Se.createElement)(dt,null)))))},200)}function Ot(){window.YoastSEO=window.YoastSEO||{},window.YoastSEO._registerReactComponent=Le.a,window.elementor.settings.page.model.on("change",e=>{e.changed&&e.changed.post_status&&gt()});const e=yt.bind(null,document.getElementById("yoast-form"));$e.hooks.registerDataAfter(new Ie("document/save/save","yoast-seo-save",()=>{window.elementor.config.document.id===window.elementor.config.document.revisions.current_id&&e()})),window.elementor.modules.layouts.panel.pages.menu.Menu.addItem({name:"yoast",icon:"yoast yoast-element-menu-icon",title:"Yoast SEO",type:"page",callback:()=>{try{window.$e.route("panel/page-settings/yoast-tab")}catch(e){window.$e.route("panel/page-settings/settings"),window.$e.route("panel/page-settings/yoast-tab")}wt()}},"more"),jQuery(document).on("click",'[data-tab="yoast-tab"]:not(.elementor-active)',wt).on("keyup",'[data-tab="yoast-tab"]:not(.elementor-active)',e=>{13!==e.keyCode&&32!==e.keyCode||e.currentTarget.click()}),pt=document.querySelectorAll("input[name^='yoast']"),ht(),setInterval(()=>pt.forEach(ft),500)}var jt=a(177);const Et={content:"",title:"",excerpt:"",slug:"",imageUrl:""};function vt(e){const t=window.elementor.settings.page.model.get("post_featured_image"),a=Object(h.get)(t,"url","");return""===a?function(e){const t=A.languageProcessing.imageInText(e);if(0===t.length)return"";const a=jQuery.parseHTML(t.join(""));for(const e of a)if(e.src)return e.src;return""}(e):a}const _t=Object(h.debounce)((function(){const e=window.elementor.documents.getCurrent();if(!["wp-post","wp-page"].includes(e.config.type))return;const t=function(e){const t=function(e){const t=[];return e.$element.find(".elementor-widget-container").each((e,a)=>{t.push(a.innerHTML.trim())}),t.join("")}(e);return{content:t,title:window.elementor.settings.page.model.get("post_title"),excerpt:window.elementor.settings.page.model.get("post_excerpt")||"",imageUrl:vt(t)}}(e);t.content!==Et.content&&(Et.content=t.content,Object(o.dispatch)("yoast-seo/editor").setEditorDataContent(Et.content)),t.title!==Et.title&&(Et.title=t.title,Object(o.dispatch)("yoast-seo/editor").setEditorDataTitle(Et.title)),t.excerpt!==Et.excerpt&&(Et.excerpt=t.excerpt,Object(o.dispatch)("yoast-seo/editor").setEditorDataExcerpt(Et.excerpt)),t.imageUrl!==Et.imageUrl&&(Et.imageUrl=t.imageUrl,Object(o.dispatch)("yoast-seo/editor").setEditorDataImageUrl(Et.imageUrl))}),500);function kt(){window.YoastSEO=window.YoastSEO||{},window.YoastSEO.store=function(){const e=Object(o.registerStore)("yoast-seo/editor",{reducer:Object(o.combineReducers)(b.reducers),selectors:{...b.selectors,...s},actions:Object(h.pickBy)({...b.actions,...n},e=>"function"==typeof e),controls:g});return(e=>{e.dispatch(b.actions.loadCornerstoneContent()),e.dispatch(b.actions.loadFocusKeyword()),e.dispatch(b.actions.setMarkerStatus("hidden")),e.dispatch(b.actions.setSettings({socialPreviews:{sitewideImage:window.wpseoScriptData.metabox.sitewide_social_image,siteName:window.wpseoScriptData.metabox.site_name,contentImage:window.wpseoScriptData.metabox.first_content_image,twitterCardType:window.wpseoScriptData.metabox.twitterCardType},snippetEditor:{baseUrl:window.wpseoScriptData.metabox.base_url,date:window.wpseoScriptData.metabox.metaDescriptionDate,recommendedReplacementVariables:window.wpseoScriptData.analysis.plugins.replaceVars.recommended_replace_vars,siteIconUrl:window.wpseoScriptData.metabox.siteIconUrl}}));const{facebook:t,twitter:a}=window.wpseoScriptData.metabox.showSocial;t&&e.dispatch(b.actions.loadFacebookPreviewData()),a&&e.dispatch(b.actions.loadTwitterPreviewData()),e.dispatch(b.actions.setSEMrushChangeCountry(window.wpseoScriptData.metabox.countryCode)),e.dispatch(b.actions.setSEMrushLoginStatus(window.wpseoScriptData.metabox.SEMrushLoginStatus)),e.dispatch(b.actions.setWincherLoginStatus(window.wpseoScriptData.metabox.wincherLoginStatus,!1)),e.dispatch(b.actions.setWincherWebsiteId(window.wpseoScriptData.metabox.wincherWebsiteId)),e.dispatch(b.actions.setWincherAutomaticKeyphaseTracking(window.wpseoScriptData.metabox.wincherAutoAddKeyphrases)),e.dispatch(b.actions.setDismissedAlerts(Object(h.get)(window,"wpseoScriptData.dismissedAlerts",{}))),e.dispatch(b.actions.setCurrentPromotions(Object(h.get)(window,"wpseoScriptData.currentPromotions",{}))),e.dispatch(b.actions.setIsPremium(Boolean(Object(h.get)(window,"wpseoScriptData.metabox.isPremium",!1)))),e.dispatch(b.actions.setLinkParams(Object(h.get)(window,"wpseoScriptData.linkParams",{}))),e.dispatch(b.actions.setPluginUrl(Object(h.get)(window,"wpseoScriptData.pluginUrl",""))),e.dispatch(b.actions.setWistiaEmbedPermissionValue("1"===Object(h.get)(window,"wpseoScriptData.wistiaEmbedPermission",!1)))})(e),e}(),Pe("editor/documents/attach-preview","yoast-seo-content-scraper-attach-preview",_t),Pe("document/save/set-is-modified","yoast-seo-content-scraper-on-modified",_t),window.YoastSEO.pluginReady=_.b,window.YoastSEO.pluginReloaded=_.c,window.YoastSEO.registerModification=_.d,window.YoastSEO.registerPlugin=_.e,window.YoastSEO.applyModifications=_.a,window.YoastSEO.analysis=window.YoastSEO.analysis||{},window.YoastSEO.analysis.run=Object(o.dispatch)("yoast-seo/editor").runAnalysis,window.YoastSEO.analysis.worker=Object(Te.b)(),window.YoastSEO.analysis.collectData=Te.a,ke(),window.YoastSEO.wp=window.YoastSEO.wp||{},window.YoastSEO.wp.replaceVarsPlugin={addReplacement:_e,ReplaceVar:Ee.a},function(){const e=Object(F.a)(),t=Object(h.get)(window,["wpseoScriptData","analysis","worker","keywords_assessment_url"],"used-keywords-assessment.js"),a=Object(h.get)(window,["wpseoScriptData","usedKeywordsNonce"],""),n=new q.a("get_focus_keyword_usage_and_post_types",e,Object(o.dispatch)("yoast-seo/editor").runAnalysis,t,a);n.init();let s="";Object(o.subscribe)(()=>{const e=Object(o.select)("yoast-seo/editor").getFocusKeyphrase();e!==s&&(s=e,n.setKeyword(e))})}(),Object(jt.a)(),function(e){const{getFocusKeyphrase:t}=Object(o.select)("yoast-seo/editor");let a=t();M(e,a),Object(o.subscribe)(()=>{const n=t();a!==n&&(a=n,N(e,n))})}(window.YoastSEO.analysis.worker.runResearch),function(){if(!0===window.elementor.config.user.introduction["yoast-introduction"])return;const e=new window.elementorModules.editor.utils.Introduction({introductionKey:"yoast-introduction",dialogOptions:{id:"yoast-introduction",className:"elementor-right-click-introduction",headerMessage:Object(D.__)("New: Yoast SEO for Elementor","wordpress-seo"),message:Object(D.__)("Get started with Yoast SEO's content analysis for Elementor!","wordpress-seo"),position:{my:"left top",at:"right top",autoRefresh:!0},hide:{onOutsideClick:!1}},onDialogInitCallback:t=>{window.$e.routes.on("run:after",(function(e,a){"panel/menu"===a&&t.getElements("ok").trigger("click")})),t.addButton({name:"ok",text:Object(D.__)("Got it","wordpress-seo"),callback:()=>e.setViewed()}),t.getElements("ok").addClass("elementor-button elementor-button-success")}});setTimeout((function t(){try{e.show(window.elementor.getPanelView().header.currentView.ui.menuButton[0])}catch(e){setTimeout(t,100)}}),100)}(),Ot(),Object(xe.b)()&&(Object(l.a)(),Object(c.a)(p,u,u)),window.wpseoScriptData.postType&&!["attachment","product"].includes(window.wpseoScriptData.postType)&&Object(m.a)(),Object(i.doAction)("yoast.elementor.loaded")}jQuery(window).on("elementor:init",()=>{window.elementor.on("panel:init",()=>{setTimeout(kt)})})}]);