0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.145.85.233


Current Path : /var/www/website/nublr/assets/css/images/wp-content/plugins/wordpress-seo/js/dist/
Upload File :
Current File : /var/www/website/nublr/assets/css/images/wp-content/plugins/wordpress-seo/js/dist/classic-editor.js

!function(e){var t={};function n(a){if(t[a])return t[a].exports;var r=t[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(a,r,function(t){return e[t]}.bind(null,r));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=292)}([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.componentsNew},function(e,t){e.exports=window.yoast.styledComponents},,function(e,t){e.exports=window.yoast.helpers},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,n.apply(this,arguments)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.wp.components},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(4);function r(){return Object(a.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},function(e,t){e.exports=window.wp.compose},function(e,t){e.exports=window.yoast.styleGuide},function(e,t){e.exports=window.yoast.externals.redux},function(e,t){e.exports=window.jQuery},function(e,t){e.exports=window.yoast.externals.contexts},,function(e,t){e.exports=window.wp.url},,function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o}));var a=n(0);function r(e){return e.charAt(0).toUpperCase()+e.slice(1)}function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(a.createInterpolateElement)(e,{a:Object(a.createElement)("a",{id:n,href:t,target:"_blank",rel:"noopener noreferrer"})})}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a="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},r=i(n(3)),o=i(n(123)),s=i(n(126));function i(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,n=e.components,i=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":a(n))){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var l=(0,s.default)(t);try{return function e(t,n){var s,i,l,d,u,p,m,h,b=[],g={};for(p=0;p<t.length;p++)if("string"!==(u=t[p]).type){if(!n.hasOwnProperty(u.value)||void 0===n[u.value])throw new Error("Invalid interpolation, missing component node: `"+u.value+"`");if("object"!==a(n[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){s=n[u.value],l=p;break}b.push(n[u.value])}else b.push(u.value);return s&&(d=function(e,t){var n,a,r=t[e],o=0;for(a=e+1;a<t.length;a++)if((n=t[a]).value===r.value){if("componentOpen"===n.type){o++;continue}if("componentClose"===n.type){if(0===o)return a;o--}}throw new Error("Missing closing component token `"+r.value+"`")}(l,t),m=e(t.slice(l+1,d),n),i=r.default.cloneElement(s,{},m),b.push(i),d<t.length-1&&(h=e(t.slice(d+1),n),b=b.concat(h))),1===b.length?b[0]:(b.forEach((function(e,t){e&&(g["interpolation-child-"+t]=e)})),(0,o.default)(g))}(l,n)}catch(e){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},function(e,t,n){"use strict";var a=n(0),r=n(2),o=n.n(r);const s=e=>{let{children:t}=e;return Object(a.createElement)("div",null,t)};s.propTypes={renderPriority:o.a.number.isRequired,children:o.a.node.isRequired},t.a=s},function(e,t){e.exports=window.wp.apiFetch},function(e,t,n){var a;!function(){"use strict";var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var o=typeof a;if("string"===o||"number"===o)e.push(a);else if(Array.isArray(a)){if(a.length){var s=r.apply(null,a);s&&e.push(s)}}else if("object"===o){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){e.push(a.toString());continue}for(var i in a)n.call(a,i)&&a[i]&&e.push(i)}}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(a=function(){return r}.apply(t,[]))||(e.exports=a)}()},function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return s}));var a=n(27),r=n.n(a);async function o(e,t,n){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:200;try{const r=await e();return!!r&&(r.status===a?t(r):n(r))}catch(e){console.error(e.message)}}async function s(e){try{return await r()(e)}catch(e){return e.error&&e.status?e:e instanceof Response&&await e.json()}}},,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));const{get:a}=lodash,r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a(window,"wordproofSdk.data"+(e?"."+e:""),t)}},function(e,t,n){"use strict";n.d(t,"b",(function(){return l}));var a=n(11),r=n.n(a),o=n(0),s=n(2),i=n.n(s),c=n(13);const l="yoast yoast-gutenberg-modal",d=e=>{const{title:t,className:n,showYoastIcon:a,additionalClassName:s,...i}=e,l=a?Object(o.createElement)("span",{className:"yoast-icon"}):null;return Object(o.createElement)(c.Modal,r()({title:t,className:`${n} ${s}`,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,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return l}));var a=n(4),r=n(14);const o=e=>Object(a.get)(window,"wordproofSdk.data"+(e?"."+e:""),{}),s=()=>{const e=Object(r.a)();return 1===Object(a.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,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return c})),n.d(t,"e",(function(){return l}));var a=n(4),r=n(29);async function o(){return await Object(r.a)({path:"yoast/v1/wincher/authorization-url",method:"GET"})}async function s(e){const{code:t,websiteId:n}=e;return await Object(r.a)({path:"yoast/v1/wincher/authenticate",method:"POST",data:{code:t,websiteId:n}})}async function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0;return await Object(r.a)({path:"yoast/v1/wincher/keyphrases",method:"POST",data:{keyphrases:e,permalink:t},signal:n})}async function c(e){return Object(a.isArray)(e)||(e=[e]),await Object(r.a)({path:"yoast/v1/wincher/keyphrases/track",method:"POST",data:{keyphrases:e}})}async function l(e){return await Object(r.a)({path:"yoast/v1/wincher/keyphrases/untrack",method:"DELETE",data:{keyphraseID:e}})}},,function(e,t,n){"use strict";n.r(t),n.d(t,"tmceId",(function(){return c})),n.d(t,"termsTmceId",(function(){return l})),n.d(t,"setStore",(function(){return d})),n.d(t,"isTinyMCELoaded",(function(){return u})),n.d(t,"isTinyMCEAvailable",(function(){return p})),n.d(t,"getContentTinyMce",(function(){return m})),n.d(t,"addEventHandler",(function(){return h})),n.d(t,"disableMarkerButtons",(function(){return b})),n.d(t,"enableMarkerButtons",(function(){return g})),n.d(t,"pauseMarkers",(function(){return f})),n.d(t,"resumeMarkers",(function(){return y})),n.d(t,"isTextViewActive",(function(){return w})),n.d(t,"wpTextViewOnInitCheck",(function(){return O})),n.d(t,"tinyMceEventBinder",(function(){return j}));var a=n(4),r=n(92),o=n(141),s=n(17);let i;var c="content",l="description";function d(e){i=e}function u(){return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length}function p(e){if(!u())return!1;var t=tinyMCE.get(e);return null!==t&&!t.isHidden()}function m(e){var t,n,a;return n=!1===p(e)||0==(t=e,null!==document.getElementById(t+"_ifr"))?function(e){return document.getElementById(e)&&document.getElementById(e).value||""}(e):tinyMCE.get(e).getContent(),a=new RegExp("&amp;","g"),n.replace(a,"&")}function h(e,t,n){"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(r){var o=r.editor;o.id===e&&Object(a.forEach)(t,(function(e){o.on(e,n)}))}))}function b(){Object(a.isUndefined)(i)||i.dispatch(s.actions.setMarkerStatus("disabled"))}function g(){Object(a.isUndefined)(i)||i.dispatch(s.actions.setMarkerStatus("enabled"))}function f(){Object(a.isUndefined)(i)||i.dispatch(s.actions.setMarkerPauseStatus(!0))}function y(){Object(a.isUndefined)(i)||i.dispatch(s.actions.setMarkerPauseStatus(!1))}function w(){const e=document.getElementById("wp-content-wrap");return!!e&&e.classList.contains("html-active")}function O(){w()&&(b(),u()&&tinyMCE.on("AddEditor",(function(){g()})))}function j(e,t){h(t,["input","change","cut","paste"],e),h(t,["hide"],b);const n=["show"];(new o.a).isPageBuilderActive()||n.push("init"),h(t,n,g),h("content",["focus"],(function(e){const t=e.target;Object(r.a)(t)&&(Object(r.b)(t),YoastSEO.app.disableMarkers()),f()})),h("content",["blur"],(function(){y()}))}},function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return c}));var a=n(27),r=n.n(a),o=n(51);async function s(e,t,n){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:200;try{const r=await e();return!!r&&(r.status===a?t(r):n(r))}catch(e){}}async function i(e){try{return await r()(e)}catch(e){return e.error&&e.status?e:e instanceof window.Response&&await e.json()}}const c=async()=>await s(async()=>await Object(o.a)(),e=>e,()=>!1)},,function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"h",(function(){return o})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return i})),n.d(t,"i",(function(){return c})),n.d(t,"c",(function(){return l})),n.d(t,"f",(function(){return d})),n.d(t,"e",(function(){return u})),n.d(t,"j",(function(){return p})),n.d(t,"d",(function(){return m})),n.d(t,"o",(function(){return h})),n.d(t,"p",(function(){return b})),n.d(t,"k",(function(){return g})),n.d(t,"q",(function(){return f})),n.d(t,"r",(function(){return y})),n.d(t,"n",(function(){return w})),n.d(t,"m",(function(){return O})),n.d(t,"l",(function(){return j}));var a=n(10);const r="SNIPPET_EDITOR_SWITCH_MODE",o="SNIPPET_EDITOR_UPDATE_DATA",s="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 h(e){return{type:r,mode:e}}function b(e){return{type:o,data:e}}function*g(e,t){const n=yield{type:s,query:e,postId:t};return{type:i,results:n}}function f(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const o="string"==typeof t?Object(a.decodeHTML)(t):t;return{type:c,name:e,value:o,label:n,hidden:r}}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,n){"use strict";var a=n(11),r=n.n(a),o=n(0),s=n(7),i=n(8);const c=n.n(i)()(s.Collapsible)`
	h2 > button {
		padding-left: 24px;
		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);
	}

`;t.a=e=>Object(o.createElement)(c,r()({hasPadding:!0,hasSeparator:!0},e))},,,,,function(e,t){e.exports=window.yoast.replacementVariableEditor},function(e,t,n){"use strict";n.d(t,"a",(function(){return ue})),n.d(t,"b",(function(){return pe})),n.d(t,"c",(function(){return me})),n.d(t,"d",(function(){return he}));var a=n(4),r=n(10),o=n(0),s=n(3),i=n.n(s),c=n(2),l=n.n(c),d=n(8),u=n.n(d);const p=u.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"};
`,m=e=>{const{siteUrl:t}=e;return Object(o.createElement)(s.Fragment,null,Object(o.createElement)("span",{className:"screen-reader-text"},t),Object(o.createElement)(p,{"aria-hidden":"true"},Object(o.createElement)("span",null,t)))};m.propTypes={siteUrl:l.a.string.isRequired};var h=m,b=n(1),g=n(16);const f=u.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;
	}
`,y=u.a.img`
	&&{
		height: 100%;
		position: absolute;
		width: 100%;
		object-fit: cover;
	}
`,w=u.a.div`
	padding-bottom: ${e=>e.aspectRatio}%;
`,O=e=>{const{imageProps:t,width:n,height:a,imageMode:r}=e;return"landscape"===r?Object(o.createElement)(w,{aspectRatio:t.aspectRatio},Object(o.createElement)(y,{src:t.src,alt:t.alt})):Object(o.createElement)(f,{src:t.src,alt:t.alt,width:n,height:a,imageProperties:t})};O.propTypes={imageProps:l.a.shape({src:l.a.string.isRequired,alt:l.a.string.isRequired,aspectRatio:l.a.number.isRequired}).isRequired,width:l.a.number.isRequired,height:l.a.number.isRequired,imageMode:l.a.string},O.defaultProps={imageMode:"landscape"};const j={squareWidth:125,squareHeight:125,landscapeWidth:506,landscapeHeight:265,aspectRatio:50.2},v={squareWidth:158,squareHeight:158,landscapeWidth:527,landscapeHeight:273,portraitWidth:158,portraitHeight:237,aspectRatio:52.2,largeThreshold:{width:446,height:233}};function E(e){const{largeThreshold:t}=v;return e.height>e.width?"portrait":e.width<t.width||e.height<t.height||e.height===e.width?"square":"landscape"}function T(e){return"Twitter"===e?j:v}function _(e){return new Promise((t,n)=>{const a=new Image;a.onload=()=>{t({width:a.width,height:a.height})},a.onerror=n,a.src=e})}function k(e,t,n){return"landscape"===n?{widthRatio:t.width/e.landscapeWidth,heightRatio:t.height/e.landscapeHeight}:"portrait"===n?{widthRatio:t.width/e.portraitWidth,heightRatio:t.height/e.portraitHeight}:{widthRatio:t.width/e.squareWidth,heightRatio:t.height/e.squareHeight}}function x(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,n){return"square"===n&&t.width===t.height?{width:e.squareWidth,height:e.squareHeight}:x(t,k(e,t,n))}async function C(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const a=await _(e);let r=n?"landscape":"square";"Facebook"===t&&(r=E(a));const o=T(t),s=R(o,a,r);return{mode:r,height:s.height,width:s.width}}async function S(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{return{imageProperties:await C(e,t,n),status:"loaded"}}catch(e){return{imageProperties:null,status:"errored"}}}const I=u.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: ${g.colors.$color_white};
`,L=u.a.div`
	box-sizing: border-box;
	max-width: ${v.landscapeWidth}px;
	height: ${v.landscapeHeight}px;
	background-color: ${g.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 P extends s.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 S(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:v.squareHeight+"px",width:v.squareWidth+"px"};case"portrait":return{height:v.portraitHeight+"px",width:v.portraitWidth+"px"};case"landscape":return{height:v.landscapeHeight+"px",width:v.landscapeWidth+"px"}}}render(){const{imageProperties:e,status:t}=this.state;if("loading"===t||""===this.props.src||"errored"===t)return Object(o.createElement)(L,{onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},Object(b.__)("Select image","wordpress-seo"));const n=this.retrieveContainerDimensions(e.mode);return Object(o.createElement)(I,{mode:e.mode,dimensions:n,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,onClick:this.props.onImageClick},Object(o.createElement)(O,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:v.aspectRatio},width:e.width,height:e.height,imageMode:e.mode}))}}P.propTypes={src:l.a.string,alt:l.a.string,onImageLoaded:l.a.func,onImageClick:l.a.func,onMouseEnter:l.a.func,onMouseLeave:l.a.func},P.defaultProps={src:"",alt:"",onImageLoaded:a.noop,onImageClick:a.noop,onMouseEnter:a.noop,onMouseLeave:a.noop};var A=P,F=u.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;
`,q=u.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 M=e=>{switch(e){case"landscape":return"527px";case"square":case"portrait":return"369px";default:return"476px"}},D=u.a.div`
	box-sizing: border-box;
	display: flex;
	flex-direction: ${e=>"landscape"===e.mode?"column":"row"};
	background-color: #f2f3f5;
	max-width: 527px;
`,N=u.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 W extends s.Component{constructor(e){super(e),this.state={imageMode:null,maxLineCount:0,descriptionLineCount:0},this.facebookTitleRef=i.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,n="landscape"===e?2:5;n!==t&&this.setState({maxLineCount:n})}maybeSetDescriptionLineCount(){const{descriptionLineCount:e,maxLineCount:t,imageMode:n}=this.state,a=this.getTitleLineCount();let r=t-a;"portrait"===n&&(r=5===a?0:4),r!==e&&this.setState({descriptionLineCount:r})}componentDidUpdate(){this.maybeSetMaxLineCount(),this.maybeSetDescriptionLineCount()}render(){const{imageMode:e,maxLineCount:t,descriptionLineCount:n}=this.state;return Object(o.createElement)(D,{id:"facebookPreview",mode:e},Object(o.createElement)(A,{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(o.createElement)(N,{mode:e},Object(o.createElement)(h,{siteUrl:this.props.siteUrl,mode:e}),Object(o.createElement)(F,{ref:this.facebookTitleRef,onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle,lineCount:t},this.props.title),n>0&&Object(o.createElement)(q,{maxWidth:M(e),onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription,lineCount:n},this.props.description)))}}W.propTypes={siteUrl:l.a.string.isRequired,title:l.a.string.isRequired,description:l.a.string,imageUrl:l.a.string,imageFallbackUrl:l.a.string,alt:l.a.string,onSelect:l.a.func,onImageClick:l.a.func,onMouseHover:l.a.func},W.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{}};var U=W;const B=u.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;
`,H=e=>Object(o.createElement)(B,null,Object(o.createElement)("span",null,e.siteUrl));H.propTypes={siteUrl:l.a.string.isRequired};var z=H;const $=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e?`\n\t\t\tmax-width: ${j.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: ${j.squareWidth}px;\n\t\t${t?"border-right: 1px solid #E1E8ED;":""}\n\t\tborder-radius: 14px 0 0 14px;\n\t\t`},K=u.a.div`
	position: relative;
	box-sizing: content-box;
	overflow: hidden;
	background-color: #e1e8ed;
	flex-shrink: 0;
	${e=>$(e.isLarge)}
`,Y=u.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=>$(e.isLarge,!1)}
`,V=u()(Y)`
	${e=>e.isLarge&&`height: ${j.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 G extends i.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 S(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(o.createElement)(V,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},Object(b.__)("Select image","wordpress-seo")):Object(o.createElement)(K,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},Object(o.createElement)(O,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:j.aspectRatio},width:t.width,height:t.height,imageMode:t.mode}))}}G.propTypes={isLarge:l.a.bool.isRequired,src:l.a.string,alt:l.a.string,onImageClick:l.a.func,onMouseEnter:l.a.func,onMouseLeave:l.a.func},G.defaultProps={src:"",alt:"",onMouseEnter:a.noop,onImageClick:a.noop,onMouseLeave:a.noop};const Z=u.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;
    }
`,Q=e=>Object(o.createElement)(Z,null,e.children);Q.propTypes={children:l.a.array.isRequired};var J=Q,X=u.a.p`
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin: 0;
	color: rgb(15, 20, 25);
	cursor: pointer;
`,ee=u.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: ${j.landscapeWidth}px ) {
		display: none;
	}
`;const te=u.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=u()(te)`
	flex-direction: column;
	max-height: 370px;
`,ae=u()(te)`
	flex-direction: row;
	height: 125px;
`;class re extends s.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:n,alt:a,title:r,description:s,siteUrl:i}=this.props,c=e?ne:ae;return Object(o.createElement)(c,{id:"twitterPreview"},Object(o.createElement)(G,{src:t||n,alt:a,isLarge:e,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),Object(o.createElement)(J,null,Object(o.createElement)(z,{siteUrl:i}),Object(o.createElement)(X,{onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle},r),Object(o.createElement)(ee,{onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription},s)))}}re.propTypes={siteUrl:l.a.string.isRequired,title:l.a.string.isRequired,description:l.a.string,isLarge:l.a.bool,imageUrl:l.a.string,imageFallbackUrl:l.a.string,alt:l.a.string,onSelect:l.a.func,onImageClick:l.a.func,onMouseHover:l.a.func},re.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{},isLarge:!0};var oe=re,se=n(7),ie=n(82),ce=n(49);class le extends s.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.SocialPreview="Facebook"===e.socialMediumName?U: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:n,onRemoveImageClick:a,socialMediumName:r,imageWarnings:s,siteUrl:c,description:l,descriptionInputPlaceholder:d,descriptionPreviewFallback:u,imageUrl:p,imageFallbackUrl:m,alt:h,title:b,titleInputPlaceholder:g,titlePreviewFallback:f,replacementVariables:y,recommendedReplacementVariables:w,applyReplacementVariables:O,onReplacementVariableSearchChange:j,isPremium:v,isLarge:E,socialPreviewLabel:T,idSuffix:_,activeMetaTabId:k}=this.props,x=O({title:b||f,description:l||u});return Object(o.createElement)(i.a.Fragment,null,T&&Object(o.createElement)(se.SimulatedLabel,null,T),Object(o.createElement)(this.SocialPreview,{onMouseHover:this.setHoveredField,onSelect:this.setActiveField,onImageClick:n,siteUrl:c,title:x.title,description:x.description,imageUrl:p,imageFallbackUrl:m,alt:h,isLarge:E,activeMetaTabId:k}),Object(o.createElement)(ie.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:r,title:b,titleInputPlaceholder:g,onRemoveImageClick:a,imageSelected:!!p,imageUrl:p,onTitleChange:t,onSelectImageClick:n,description:l,descriptionInputPlaceholder:d,imageWarnings:s,replacementVariables:y,recommendedReplacementVariables:w,onReplacementVariableSearchChange:j,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:v,setEditorRef:this.setEditorRef,idSuffix:_}))}}le.propTypes={title:l.a.string.isRequired,onTitleChange:l.a.func.isRequired,description:l.a.string.isRequired,onDescriptionChange:l.a.func.isRequired,imageUrl:l.a.string.isRequired,imageFallbackUrl:l.a.string.isRequired,onSelectImageClick:l.a.func.isRequired,onRemoveImageClick:l.a.func.isRequired,socialMediumName:l.a.string.isRequired,alt:l.a.string,isPremium:l.a.bool,imageWarnings:l.a.array,isLarge:l.a.bool,siteUrl:l.a.string,descriptionInputPlaceholder:l.a.string,titleInputPlaceholder:l.a.string,descriptionPreviewFallback:l.a.string,titlePreviewFallback:l.a.string,replacementVariables:ce.replacementVariablesShape,recommendedReplacementVariables:ce.recommendedReplacementVariablesShape,applyReplacementVariables:l.a.func,onReplacementVariableSearchChange:l.a.func,socialPreviewLabel:l.a.string,idSuffix:l.a.string,activeMetaTabId:l.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=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 ue(e){return new Promise((t,n)=>{window.wp.media.attachment||n(),window.wp.media.attachment(e).fetch().then(e=>{t(de(e))}).catch(()=>n())})}function pe(e){(function(e){const t=window.wp.media();return t.on("select",()=>{const n=t.state().get("selection").first();e(de(n.attributes))}),t})(e).open()}const me=e=>{const{width:t,height:n}=e,a=E({width:t,height:n}),o=v[a+"Width"],s=v[a+"Height"],i=Object.values(e.sizes).find(e=>e.width>=o&&e.height>=s);return{url:i?i.url:e.url,id:e.id,warnings:Object(r.validateFacebookImage)(e),alt:e.alt||""}},he=e=>{const t="summary"!==Object(a.get)(window,"wpseoScriptData.metabox.twitterCardType")?"landscape":"square",n=j[t+"Width"],o=j[t+"Height"],s=Object.values(e.sizes).find(e=>e.width>=n&&e.height>=o);return{url:s?s.url:e.url,id:e.id,warnings:Object(r.validateTwitterImage)(e),alt:e.alt||""}}},function(e,t,n){"use strict";n.d(t,"e",(function(){return r})),n.d(t,"f",(function(){return o})),n.d(t,"a",(function(){return s})),n.d(t,"d",(function(){return i})),n.d(t,"b",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"c",(function(){return d}));var a=n(40);const r=async e=>{const{state:t,code:n}=e;return await Object(a.a)({path:"wordproof/v1/oauth/authenticate",method:"POST",data:{state:t,code:n}})},o=async e=>{const{settings:t}=e;return await Object(a.a)({path:"wordproof/v1/settings",method:"POST",data:{settings:t}})},s=async()=>await Object(a.a)({path:"wordproof/v1/oauth/destroy",method:"POST"}),i=async()=>await Object(a.a)({path:"wordproof/v1/settings",method:"GET"}),c=async()=>await Object(a.a)({path:"wordproof/v1/authentication",method:"GET"}),l=async e=>Object(a.a)({path:`wordproof/v1/posts/${e}/timestamp`,method:"POST"}),d=async e=>Object(a.a)({path:`wordproof/v1/posts/${e}/timestamp/transaction/latest`,method:"GET"})},,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var a=n(15),r=n(0),o=n(19);function s(){return Object(a.createHigherOrderComponent)((function(e){return Object(a.pure)((function(t){const n=Object(r.useContext)(o.LocationContext);return Object(r.createElement)(e,{...t,location:n})}))}),"withLocation")}},,function(e,t){e.exports=window.yoast.externals.components},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(4),r=n(14);function o(){const e=Object(r.a)();return Object(a.get)(e,"contentLocale","en_US")}},function(e,t,n){"use strict";var a=n(0),r=n(7),o=n(2),s=n.n(o);const i=e=>{const[t,n]=Object(a.useState)(!1),{prefixIcon:o}=e;return Object(a.createElement)("div",{className:"yoast components-panel__body "+(t?"is-opened":"")},Object(a.createElement)("h2",{className:"components-panel__body-title"},Object(a.createElement)("button",{onClick:function(){n(!t)},className:"components-button components-panel__body-toggle"},Object(a.createElement)("span",{className:"yoast-icon-span",style:{fill:""+(o&&o.color||"")}},o&&Object(a.createElement)(r.SvgIcon,{icon:o.icon,color:o.color,size:o.size})),Object(a.createElement)("span",{className:"yoast-title-container"},Object(a.createElement)("div",{className:"yoast-title"},e.title),Object(a.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.hasBetaBadgeLabel&&Object(a.createElement)(r.BetaBadge,null),Object(a.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),t&&e.children)};t.a=i,i.propTypes={title:s.a.string.isRequired,children:s.a.oneOfType([s.a.node,s.a.arrayOf(s.a.node)]).isRequired,prefixIcon:s.a.object,subTitle:s.a.string,hasBetaBadgeLabel:s.a.bool},i.defaultProps={prefixIcon:null,subTitle:"",hasBetaBadgeLabel:!1}},function(e,t,n){"use strict";var a=n(16),r=n(10),o=n(8),s=n.n(o);const i=Object(r.makeOutboundLink)(s.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: ${a.colors.$color_help_text};
	
	&:hover,
	&:focus {
		color: ${a.colors.$color_snippet_focus};	
	}
	
	// Overwrite the default blue active color for links.
	&:active {
		color: ${a.colors.$color_help_text};	
	}

	&::before {
		position: absolute;
		top: 0;
		left: 0;
		padding: 2px;
		content: "\f223";
	}
`);t.a=i},,,,,function(e,t){e.exports=window.yoast.featureFlag},function(e,t,n){"use strict";n.r(t),n.d(t,"nonReplaceVars",(function(){return l})),n.d(t,"fillReplacementVariables",(function(){return d})),n.d(t,"handlePrefixes",(function(){return u})),n.d(t,"createLabelFromName",(function(){return p})),n.d(t,"pushNewReplaceVar",(function(){return m})),n.d(t,"replaceSpaces",(function(){return h})),n.d(t,"prepareCustomFieldForDispatch",(function(){return b})),n.d(t,"prepareCustomTaxonomyForDispatch",(function(){return g})),n.d(t,"mapCustomTaxonomies",(function(){return f})),n.d(t,"mapCustomFields",(function(){return y})),n.d(t,"excerptFromContent",(function(){return w})),n.d(t,"applyReplaceUsingPlugin",(function(){return O}));var a=n(4),r=n(128),o=n(42),s=n(23),i=n(10);const{stripHTMLTags:c}=i.strings,l=["slug","content","contentImage","snippetPreviewImageURL"];function d(e,t){Object(a.forEach)(e,(e,n)=>{l.includes(n)||t.dispatch(Object(o.q)(n,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(s.b)(e)}function m(e,t){return e.push({name:t.name,label:t.label||p(t.name),value:t.value}),e}function h(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function b(e){return{name:"cf_"+h(e),label:Object(s.b)(e+" (custom field)")}}function g(e){const t=h(e);return{name:"ct_"+t,label:Object(s.b)(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:Object(s.b)(e+" description (custom taxonomy)")}}function f(e,t){return e.custom_taxonomies?(Object(a.forEach)(e.custom_taxonomies,(e,n)=>{const{name:a,label:r,descriptionName:s,descriptionLabel:i}=g(n);t.dispatch(Object(o.q)(a,e.name,r)),t.dispatch(Object(o.q)(s,e.description,i))}),Object(a.omit)({...e},"custom_taxonomies")):e}function y(e,t){return e.custom_fields?(Object(a.forEach)(e.custom_fields,(e,n)=>{const{name:a,label:r}=b(n);t.dispatch(Object(o.q)(a,e,r))}),Object(a.omit)({...e},"custom_fields")):e}function w(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(r.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(a.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(a.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){const t=Object(a.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],a.identity);return{url:e.url,title:c(t(e.title)),description:c(t(e.description))}}(e);const n=t._applyModifications.bind(t);return{url:e.url,title:c(n("data_page_title",e.title)),description:c(n("data_meta_desc",e.description))}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var a=n(0),r=n(2),o=n.n(r);function s(e){let{target:t,children:n}=e,r=t;return"string"==typeof t&&(r=document.getElementById(t)),r?Object(a.createPortal)(n,r):null}s.propTypes={target:o.a.oneOfType([o.a.string,o.a.object]).isRequired,children:o.a.node.isRequired}},function(e,t,n){"use strict";var a=n(0);let r,o,s,i;const c=/<(\/)?(\w+)\s*(\/)?>/g;function l(e,t,n,a,r){return{element:e,tokenStart:t,tokenLength:n,prevOffset:a,leadingTextStart:r,children:[]}}function d(){const e=r.length-o;0!==e&&s.push(r.substr(o,e))}function u(e){const{element:t,tokenStart:n,tokenLength:o,prevOffset:s,children:c}=e,l=i[i.length-1],d=r.substr(l.prevOffset,n-l.prevOffset);d&&l.children.push(d),l.children.push(Object(a.cloneElement)(t,null,...c)),l.prevOffset=s||n+o}function p(e){const t=function(){const e=c.exec(r);if(null===e)return["no-more-tokens"];const t=e.index,[n,a,o,s]=e,i=n.length;return s?["self-closed",o,t,i]:a?["closer",o,t,i]:["opener",o,t,i]}(),[n,p,m,h]=t,b=i.length,g=m>o?o:null;if(!e[p])return d(),!1;switch(n){case"no-more-tokens":if(0!==b){const{leadingTextStart:e,tokenStart:t}=i.pop();s.push(r.substr(e,t))}return d(),!1;case"self-closed":return 0===b?(null!==g&&s.push(r.substr(g,m-g)),s.push(e[p]),o=m+h,!0):(u(l(e[p],m,h)),o=m+h,!0);case"opener":return i.push(l(e[p],m,h,m+h,g)),o=m+h,!0;case"closer":if(1===b)return function(e){const{element:t,leadingTextStart:n,prevOffset:o,tokenStart:c,children:l}=i.pop(),d=e?r.substr(o,e-o):r.substr(o);d&&l.push(d),null!==n&&s.push(r.substr(n,c-n)),s.push(Object(a.cloneElement)(t,null,...l))}(m),o=m+h,!0;const t=i.pop(),n=r.substr(t.prevOffset,m-t.prevOffset);t.children.push(n),t.prevOffset=m+h;const c=l(t.element,t.tokenStart,t.tokenLength,m+h);return c.children=t.children,u(c),o=m+h,!0;default:return d(),!1}}t.a=(e,t)=>{if(r=e,o=0,s=[],i=[],c.lastIndex=0,!(e=>{const t="object"==typeof e,n=t&&Object.values(e);return t&&n.length&&n.every(e=>Object(a.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(a.createElement)(a.Fragment,null,...s)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return c}));var a=n(8),r=n.n(a),o=n(7),s=n(10);const i=r.a.div`
	min-width: 600px;

	@media screen and ( max-width: 680px ) {
		min-width: 0;
		width: 86vw;
	}
`,c=r()(o.Icon)`
	float: ${Object(s.getDirectionalStyle)("right","left")};
	margin: ${Object(s.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,n){"use strict";var a=n(0),r=n(2),o=n.n(r),s=n(8),i=n(19);const c=e=>{let{theme:t,location:n,children:r}=e;return Object(a.createElement)(i.LocationProvider,{value:n},Object(a.createElement)(s.ThemeProvider,{theme:t},r))};c.propTypes={theme:o.a.object.isRequired,location:o.a.oneOf(["sidebar","metabox","modal"]).isRequired,children:o.a.element.isRequired},t.a=c},function(e,t,n){"use strict";var a=n(0),r=n(7),o=n(2),s=n.n(o);const i=e=>Object(a.createElement)("div",{className:"yoast components-panel__body"},Object(a.createElement)("h2",{className:"components-panel__body-title"},Object(a.createElement)("button",{id:e.id,onClick:e.onClick,className:"components-button components-panel__body-toggle"},e.prefixIcon&&Object(a.createElement)("span",{className:"yoast-icon-span",style:{fill:""+(e.prefixIcon&&e.prefixIcon.color||"")}},Object(a.createElement)(r.SvgIcon,{size:e.prefixIcon.size,icon:e.prefixIcon.icon})),Object(a.createElement)("span",{className:"yoast-title-container"},Object(a.createElement)("div",{className:"yoast-title"},e.title),Object(a.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.children,e.suffixIcon&&Object(a.createElement)(r.SvgIcon,{size:e.suffixIcon.size,icon:e.suffixIcon.icon}))));t.a=i,i.propTypes={onClick:s.a.func.isRequired,title:s.a.string.isRequired,id:s.a.string,subTitle:s.a.string,suffixIcon:s.a.object,prefixIcon:s.a.object,children:s.a.node},i.defaultProps={id:"",suffixIcon:null,prefixIcon:null,subTitle:"",children:null}},function(e,t,n){"use strict";var a=n(0),r=n(2),o=n.n(r),s=n(1);const i=e=>{let{data:t,mapChartDataToTableData:n,dataTableCaption:r,dataTableHeaderLabels:o,isDataTableVisuallyHidden:i}=e;return t.length!==o.length?Object(a.createElement)("p",null,Object(s.__)("The number of headers and header labels don't match.","wordpress-seo")):Object(a.createElement)("div",{className:i?"screen-reader-text":null},Object(a.createElement)("table",null,Object(a.createElement)("caption",null,r),Object(a.createElement)("thead",null,Object(a.createElement)("tr",null,o.map((e,t)=>Object(a.createElement)("th",{key:t},e)))),Object(a.createElement)("tbody",null,Object(a.createElement)("tr",null,t.map((e,t)=>Object(a.createElement)("td",{key:t},n(e.y)))))))};i.propTypes={data:o.a.arrayOf(o.a.shape({x:o.a.number,y:o.a.number})).isRequired,mapChartDataToTableData:o.a.func,dataTableCaption:o.a.string.isRequired,dataTableHeaderLabels:o.a.array.isRequired,isDataTableVisuallyHidden:o.a.bool},i.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var c=i;const l=e=>{let{data:t,width:n,height:r,fillColor:o,strokeColor:s,strokeWidth:i,className:l,mapChartDataToTableData:d,dataTableCaption:u,dataTableHeaderLabels:p,isDataTableVisuallyHidden:m}=e;const h=Math.max(1,Math.max(...t.map(e=>e.x))),b=Math.max(1,Math.max(...t.map(e=>e.y))),g=r-i,f=t.map(e=>`${e.x/h*n},${g-e.y/b*g+i}`).join(" "),y=`0,${g+i} `+f+` ${n},${g+i}`;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("svg",{width:n,height:r,viewBox:`0 0 ${n} ${r}`,className:l,role:"img","aria-hidden":"true",focusable:"false"},Object(a.createElement)("polygon",{fill:o,points:y}),Object(a.createElement)("polyline",{fill:"none",stroke:s,strokeWidth:i,strokeLinejoin:"round",strokeLinecap:"round",points:f})),d&&Object(a.createElement)(c,{data:t,mapChartDataToTableData:d,dataTableCaption:u,dataTableHeaderLabels:p,isDataTableVisuallyHidden:m}))};l.propTypes={data:o.a.arrayOf(o.a.shape({x:o.a.number,y:o.a.number})).isRequired,width:o.a.number.isRequired,height:o.a.number.isRequired,fillColor:o.a.string,strokeColor:o.a.string,strokeWidth:o.a.number,className:o.a.string,mapChartDataToTableData:o.a.func,dataTableCaption:o.a.string.isRequired,dataTableHeaderLabels:o.a.array.isRequired,isDataTableVisuallyHidden:o.a.bool},l.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0},t.a=l},,,,,function(e,t){e.exports=window.yoast.socialMetadataForms},,function(e,t,n){"use strict";var a=n(0),r=n(25),o=n.n(r),s=n(2),i=n.n(s),c=n(8),l=n.n(c),d=n(10);const u=l.a.ul`
	list-style: none;
	margin: 0 0 24px;
	padding: 0;

	li {
		margin: 10px 0 0 0;
	}

	span[aria-hidden="true"]:before {
		content: "";
		display: inline-block;
		height: 13px;
		width: 13px;
		background-size: 13px 13px;
		background-image: var( --yoast-svg-icon-check );
		background-repeat: no-repeat;
		margin-right: 10px;
	}
`,p=l.a.small`
	display: block;
	margin-top: 4px;
`,m=Object(d.makeOutboundLink)();class h extends a.Component{constructor(e){super(e)}createBenefitsList(e){return e.length>0&&Object(a.createElement)(u,{role:"list"},e.map((e,t)=>Object(a.createElement)("li",{key:t},Object(a.createElement)("span",{"aria-hidden":"true"}),o()({mixedString:e.replace("<strong>","{{strong}}").replace("</strong>","{{/strong}}"),components:{strong:Object(a.createElement)("strong",null)}}))))}createInfoParagraphs(e){return e.map((e,t)=>Object(a.createElement)("p",{key:t},e))}render(){return Object(a.createElement)("div",null,this.createInfoParagraphs(this.props.infoParagraphs),this.createBenefitsList(this.props.benefits),Object(a.createElement)(m,this.props.upsellButton,this.props.upsellButtonText,this.props.upsellButtonHasCaret&&Object(a.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),Object(a.createElement)(p,{id:this.props.upsellButton["aria-describedby"]},this.props.upsellButtonLabel))}}h.propTypes={benefits:i.a.array,infoParagraphs:i.a.array,upsellButton:i.a.object,upsellButtonText:i.a.string.isRequired,upsellButtonLabel:i.a.string,upsellButtonHasCaret:i.a.bool},h.defaultProps={infoParagraphs:[],benefits:[],upsellButton:{href:"",className:"button button-primary"},upsellButtonLabel:"",upsellButtonHasCaret:!0},t.a=h},function(e,t){e.exports=window.moment},,,,function(e,t,n){"use strict";function a(e){return function(){return e}}var r=function(){};r.thatReturns=a,r.thatReturnsFalse=a(!1),r.thatReturnsTrue=a(!0),r.thatReturnsNull=a(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},,,function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return c}));var a=n(12),r=n(4);function o(e,t,n){const o=e.dom;let s=e.getContent();s=a.markers.removeMarks(s);const{fieldsToMark:i,selectedHTML:c}=a.languageProcessing.getFieldsToMark(n,s);Object(r.forEach)(n,(function(t){"acf_content"!==e.id&&(t._properties.marked=a.languageProcessing.normalizeHTML(t._properties.marked),t._properties.original=a.languageProcessing.normalizeHTML(t._properties.original)),i.length>0?c.forEach(e=>{const n=t.applyWithReplace(e);s=s.replace(e,n)}):s=t.applyWithReplace(s)})),e.setContent(s),function(e){var t=e.getContent();t=t.replace(new RegExp("&lt;yoastmark.+?&gt;","g"),"").replace(new RegExp("&lt;/yoastmark&gt;","g"),""),e.setContent(t)}(e);const l=o.select("yoastmark");Object(r.forEach)(l,(function(e){e.setAttribute("data-mce-bogus","1")}))}function s(e){return window.test=e,o.bind(null,e)}function i(e){return-1!==e.getContent({format:"raw"}).indexOf("<yoastmark")}function c(e){s(e)(null,[])}},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));class a{static get articleTypeInput(){return document.getElementById("yoast_wpseo_schema_article_type")}static get defaultArticleType(){return a.articleTypeInput.getAttribute("data-default")}static get articleType(){return a.articleTypeInput.value}static set articleType(e){a.articleTypeInput.value=e}static get pageTypeInput(){return document.getElementById("yoast_wpseo_schema_page_type")}static get defaultPageType(){return a.pageTypeInput.getAttribute("data-default")}static get pageType(){return a.pageTypeInput.value}static set pageType(e){a.pageTypeInput.value=e}}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return g})),n.d(t,"c",(function(){return f})),n.d(t,"b",(function(){return y}));var a=n(0),r=n(2),o=n.n(r),s=n(1),i=n(4),c=n(85),l=n.n(c),d=n(7),u=n(10),p=n(77),m=()=>Object(a.createElement)("p",{className:"yoast-wincher-seo-performance-modal__loading-message"},Object(s.__)("Tracking the ranking position...","wordpress-seo")," ",Object(a.createElement)(d.SvgIcon,{icon:"loading-spinner"}));const h=Object(u.makeOutboundLink)();function b(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 n=function(e){return Array.from({length:e.position.history.length},(e,t)=>t+1).map(e=>Object(s.sprintf)(Object(s._n)("%d day","%d days",e,"wordpress-seo"),e))}(t),r=t.position.history.map((e,t)=>({x:t,y:101-e.value}));return Object(a.createElement)(p.a,{width:66,height:24,data:r,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:b,dataTableCaption:Object(s.__)("Keyphrase position in the last 90 days on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:n})}function f(e){return!e||!e.position||e.position.value>100?"> 100":e.position.value}function y(e){const{keyphrase:t,rowData:n,onTrackKeyphrase:r,onUntrackKeyphrase:o,isFocusKeyphrase:c,isDisabled:u,isLoading:p}=e,b=!Object(i.isEmpty)(n),y=Object(a.useCallback)(()=>{u||(b?o(t,n.id):r(t))},[t,r,o,b,n,u]);return Object(a.createElement)("tr",null,Object(a.createElement)("td",{className:"yoast-table--nopadding"},function(e){let{keyphrase:t,isEnabled:n,toggleAction:r,isLoading:o}=e;return o?Object(a.createElement)(d.SvgIcon,{icon:"loading-spinner"}):Object(a.createElement)(d.Toggle,{id:"toggle-keyphrase-tracking-"+t,className:"wincher-toggle",isEnabled:n,onSetToggleState:r,showToggleStateLabel:!1})}({keyphrase:t,isEnabled:b,toggleAction:y,isLoading:p})),Object(a.createElement)("td",null,t,c&&Object(a.createElement)("span",null,"*")),function(e){const{rowData:t,websiteId:n}=e,r=!Object(i.isEmpty)(t),o=t&&t.updated_at&&l()(t.updated_at)>=l()().subtract(7,"days"),c=t?Object(s.sprintf)("https://app.wincher.com/websites/%s/keywords?serp=%s&utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast",n,t.id):null;return r?o?Object(a.createElement)(a.Fragment,null,Object(a.createElement)("td",null,f(t)),Object(a.createElement)("td",{className:"yoast-table--nopadding"},Object(a.createElement)(g,{chartData:t})),Object(a.createElement)("td",{className:"yoast-table--nobreak"},Object(a.createElement)(h,{href:c},Object(s.__)("View","wordpress-seo")))):Object(a.createElement)(a.Fragment,null,Object(a.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},Object(a.createElement)(m,null))):Object(a.createElement)(a.Fragment,null,Object(a.createElement)("td",null,"?"),Object(a.createElement)("td",{className:"yoast-table--nopadding"},"?"),Object(a.createElement)("td",{className:"yoast-table--nobreak"}))}(e))}g.propTypes={chartData:o.a.object},g.defaultProps={chartData:{}},y.propTypes={rowData:o.a.object,keyphrase:o.a.string.isRequired,onTrackKeyphrase:o.a.func,onUntrackKeyphrase:o.a.func,isFocusKeyphrase:o.a.bool,isDisabled:o.a.bool,isLoading:o.a.bool,websiteId:o.a.string},y.defaultProps={rowData:{},onTrackKeyphrase:()=>{},onUntrackKeyphrase:()=>{},isFocusKeyphrase:!1,isDisabled:!1,isLoading:!1,websiteId:""}},,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));class a{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=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:""},n),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:n}=this.options,a=["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,n,a.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.messageHandler,!1)}async messageHandler(e){const{data:t,source:n,origin:a}=e;a===this.origin&&this.popup===n&&(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,n){"use strict";var a=n(0),r=n(2),o=n.n(r),s=n(1),i=n(25),c=n.n(i),l=n(7);const d=e=>{const t=Object(s.sprintf)(
/* translators: %s expands to a link to open the Wincher login popup. */
Object(s.__)("It seems like something went wrong when retrieving your website's data. Please %s and try again.","wordpress-seo"),"{{reconnectToWincher/}}","Wincher");return Object(a.createElement)(l.Alert,{type:"error"},c()({mixedString:t,components:{reconnectToWincher:Object(a.createElement)("a",{href:"#",onClick:t=>{t.preventDefault(),e.onReconnect()}},Object(s.sprintf)(
/* translators: %s : Expands to "Wincher". */
Object(s.__)("reconnect to %s","wordpress-seo"),"Wincher"))}}))};d.propTypes={onReconnect:o.a.func.isRequired},t.a=d},function(e,t,n){"use strict";var a=n(0),r=n(2),o=n.n(r),s=n(8),i=n.n(s),c=n(25),l=n.n(c),d=n(1),u=n(7),p=n(10),m=n(21),h=n(19);const b=i()(u.Alert)`
	p {
		margin: 0;
	}
`,g=Object(p.makeOutboundLink)(),f=e=>{const t=Object(d.sprintf)(
/* Translators: %s expands to the social medium name, which is either Twitter or Facebook. %s expands to Yoast SEO Premium */
Object(d.__)("Want to see how your content will look when it’s shared on %s?","wordpress-seo"),e.socialMediumName),n=Object(d.sprintf)(
/* Translators: %s expands to Yoast SEO Premium */
Object(d.__)("Get %s to unlock social previews!","wordpress-seo"),"Yoast SEO Premium"),{locationContext:r}=Object(h.useRootContext)();return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(b,{type:"info"},l()({mixedString:t,components:{strong:Object(a.createElement)("b",null)}}),Object(a.createElement)("br",null),Object(a.createElement)(g,{"data-action":"load-nfd-ctb","data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2",href:Object(m.addQueryArgs)(wpseoAdminL10n["shortlinks.upsell.social_preview."+e.socialMediumName.toLowerCase()],{context:r})},Object(a.createElement)("p",null,n))))};f.propTypes={socialMediumName:o.a.oneOf(["Twitter","Facebook"]).isRequired};var y=f,w=n(82),O=n(49);class j extends a.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:n,onRemoveImageClick:r,socialMediumName:o,imageWarnings:s,description:i,descriptionInputPlaceholder:c,imageUrl:l,alt:d,title:u,titleInputPlaceholder:p,replacementVariables:m,recommendedReplacementVariables:h,onReplacementVariableSearchChange:b,isPremium:g,location:f}=this.props;return Object(a.createElement)(a.Fragment,null,Object(a.createElement)(y,{socialMediumName:o}),Object(a.createElement)(w.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:o,title:u,titleInputPlaceholder:p,onRemoveImageClick:r,imageSelected:!!l,imageUrl:l,imageAltText:d,onTitleChange:t,onSelectImageClick:n,description:i,descriptionInputPlaceholder:c,imageWarnings:s,replacementVariables:m,recommendedReplacementVariables:h,onReplacementVariableSearchChange:b,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:g,setEditorRef:this.setEditorRef,idSuffix:f}))}}j.propTypes={title:o.a.string.isRequired,onTitleChange:o.a.func.isRequired,description:o.a.string.isRequired,onDescriptionChange:o.a.func.isRequired,imageUrl:o.a.string.isRequired,onSelectImageClick:o.a.func.isRequired,onRemoveImageClick:o.a.func.isRequired,socialMediumName:o.a.string.isRequired,isPremium:o.a.bool,imageWarnings:o.a.array,descriptionInputPlaceholder:o.a.string,titleInputPlaceholder:o.a.string,replacementVariables:O.replacementVariablesShape,recommendedReplacementVariables:O.recommendedReplacementVariablesShape,onReplacementVariableSearchChange:o.a.func,location:o.a.string,alt:o.a.string},j.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",onReplacementVariableSearchChange:null,location:"",alt:""},t.a=j},function(e,t,n){"use strict";function a(e){const t=new window.CustomEvent(e);window.dispatchEvent(t)}n.d(t,"a",(function(){return a}))},,,function(e,t,n){"use strict";var a=n(0),r=n(1),o=n(25),s=n.n(o),i=n(10);const c=Object(i.makeOutboundLink)(),l=Object(i.makeOutboundLink)();t.a=()=>{const e=Object(r.sprintf)(Object(r.__)(
/* 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(a.createElement)("p",null,s()({mixedString:e,components:{wincherLink:Object(a.createElement)(c,{href:wpseoAdminGlobalL10n["links.wincher.website"]},"Wincher"),wincherReadMoreLink:Object(a.createElement)(l,{href:wpseoAdminL10n["shortlinks.wincher.seo_performance"]},Object(r.__)("Read more about keyphrase tracking with Wincher","wordpress-seo"))}}))}},,function(e,t,n){"use strict";var a=n(6),r=n(15),o=n(11),s=n.n(o),i=n(0),c=n(1),l=n(2),d=n.n(l),u=n(4),p=n(8),m=n.n(p),h=n(7),b=n(10),g=n(25),f=n.n(g);const y=Object(b.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)(h.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)(h.Alert,{type:"error"},Object(c.__)("Something went wrong while tracking the ranking position(s) of your page. Please try again later.","wordpress-seo")),v=()=>Object(i.createElement)(h.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")),E=()=>Object(i.createElement)(h.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")),T=n(99),_=n(37),k=n(29);const x=Object(b.makeOutboundLink)(),R=m.a.span`
	display: block;
	font-style: italic;

	@media (min-width: 782px) {
		display: inline;
		position: absolute;
		${Object(b.getDirectionalStyle)("right","left")}: 8px;
	}
`,C=m.a.th`
	min-width: 60px;
`,S=m.a.div`
	width: 100%;
	overflow-y: auto;
`,I=e=>{const t=Object(i.useRef)();return Object(i.useEffect)(()=>{t.current=e}),t.current},L=Object(u.debounce)(_.c,500,{leading:!0}),P=e=>{const{addTrackedKeyphrase:t,isLoggedIn:n,keyphrases:a,permalink:r,removeTrackedKeyphrase:o,setKeyphraseLimitReached:s,setRequestFailed:l,setRequestSucceeded:d,setTrackedKeyphrases:p,setHasTrackedAll:m,trackAll:h,trackedKeyphrases:b,isNewlyAuthenticated:g,websiteId:f,focusKeyphrase:y,newRequest:w}=e,O=Object(i.useRef)(),j=Object(i.useRef)(),v=Object(i.useRef)(!1),[E,P]=Object(i.useState)([]),A=Object(i.useCallback)(e=>{const t=e.toLowerCase();return b&&!Object(u.isEmpty)(b)&&b.hasOwnProperty(t)?b[t]:null},[b]),F=Object(i.useMemo)(()=>async()=>{await Object(k.b)(()=>(j.current&&j.current.abort(),j.current="undefined"==typeof AbortController?null:new AbortController,L(a,r,j.current.signal)),e=>{d(e),p(e.results)},e=>{l(e)})},[d,l,p,a,r]),q=Object(i.useCallback)(async e=>{const n=(Array.isArray(e)?e:[e]).map(e=>e.toLowerCase());P(e=>[...e,...n]),await Object(k.b)(()=>Object(_.d)(n),e=>{d(e),t(e.results),F()},e=>{400===e.status&&e.limit&&s(e.limit),l(e)},201),P(e=>Object(u.without)(e,...n))},[d,l,s,t,F]),M=Object(i.useCallback)(async(e,t)=>{e=e.toLowerCase(),P(t=>[...t,e]),await Object(k.b)(()=>Object(_.e)(t),t=>{d(t),o(e)},e=>{l(e)}),P(t=>Object(u.without)(t,e))},[d,o,l]),D=Object(i.useCallback)(async e=>{w(),await q(e)},[w,q]),N=I(r),W=I(a);Object(i.useEffect)(()=>{n&&r&&(r!==N||Object(u.difference)(a,W).length)&&F()},[n,r,N,a,W,F]),Object(i.useEffect)(()=>{if(n&&h&&null!==b){const e=a.filter(e=>!A(e));e.length&&q(e),m()}},[n,h,b,q,m,A,a]),Object(i.useEffect)(()=>{g&&!v.current&&(F(),v.current=!0)},[g,F]),Object(i.useEffect)(()=>{if(n&&!Object(u.isEmpty)(b))return Object(u.filter)(b,e=>Object(u.isEmpty)(e.updated_at)).length>0&&(O.current=setInterval(()=>{F()},1e4)),()=>{clearInterval(O.current)}},[n,b,F]);const U=n&&null===b;return a&&!Object(u.isEmpty)(a)&&Object(i.createElement)(i.Fragment,null,Object(i.createElement)(S,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,a.map((e,t)=>Object(i.createElement)(T.b,{key:"trackable-keyphrase-"+t,keyphrase:e,onTrackKeyphrase:D,onUntrackKeyphrase:M,rowData:A(e),isFocusKeyphrase:e===y.trim().toLowerCase(),websiteId:f,isDisabled:!n,isLoading:U||E.indexOf(e.toLowerCase())>=0}))))),Object(i.createElement)("p",{style:{marginBottom:0,position:"relative"}},Object(i.createElement)(x,{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"))))};P.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},P.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],trackAll:!1,trackedKeyphrases:null,websiteId:"",focusKeyphrase:""};var A=P,F=Object(r.compose)([Object(a.withSelect)(e=>{const{getWincherWebsiteId:t,getWincherTrackedKeyphrases:n,getWincherTrackableKeyphrases:a,getWincherLoginStatus:r,getWincherPermalink:o,getFocusKeyphrase:s,isWincherNewlyAuthenticated:i,shouldWincherTrackAll:c}=e("yoast-seo/editor");return{focusKeyphrase:s(),keyphrases:a(),trackedKeyphrases:n(),isLoggedIn:r(),trackAll:c(),websiteId:t(),isNewlyAuthenticated:i(),permalink:o()}}),Object(a.withDispatch)(e=>{const{setWincherNewRequest:t,setWincherRequestSucceeded:n,setWincherRequestFailed:a,setWincherSetKeyphraseLimitReached:r,setWincherTrackedKeyphrases:o,setWincherTrackingForKeyphrase:s,setWincherTrackAllKeyphrases:i,unsetWincherTrackingForKeyphrase:c}=e("yoast-seo/editor");return{newRequest:()=>{t()},setRequestSucceeded:e=>{n(e)},setRequestFailed:e=>{a(e)},setKeyphraseLimitReached:e=>{r(e)},addTrackedKeyphrase:e=>{s(e)},removeTrackedKeyphrase:e=>{c(e)},setTrackedKeyphrases:e=>{o(e)},setHasTrackedAll:()=>{i(!1)}}})])(A),q=n(112),M=()=>Object(i.createElement)(h.Alert,{type:"error"},Object(c.__)("No keyphrase has been set. Please set a keyphrase first.","wordpress-seo")),D=()=>Object(i.createElement)(h.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")),N=n(106),W=n(107),U=()=>Object(i.createElement)(h.Alert,{type:"error"},Object(c.__)("Before you can track your SEO performance make sure to set either the post’s title and save it as a draft or manually set the post’s slug.","wordpress-seo"));const B=e=>{let{response:t,onLogin:n}=e;return[401,403,404].includes(t.status)?Object(i.createElement)(W.a,{onReconnect:n}):Object(i.createElement)(j,null)};B.propTypes={response:d.a.object.isRequired,onLogin:d.a.func.isRequired};const H=e=>{let{isSuccess:t,response:n,allKeyphrasesMissRanking:a,onLogin:r,keyphraseLimitReached:o,limit:s}=e;return o?Object(i.createElement)(O,{limit:s}):Object(u.isEmpty)(n)||t?a?Object(i.createElement)(E,null):null:Object(i.createElement)(B,{response:n,onLogin:r})};H.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},H.defaultProps={response:{}};let z=null;const $=async e=>{if(z&&!z.isClosed())return void z.focus();const{url:t}=await Object(_.b)();z=new N.a(t,{success:{type:"wincher:oauth:success",callback:t=>(async(e,t)=>{const{onAuthentication:n,setRequestSucceeded:a,setRequestFailed:r,keyphrases:o,addTrackedKeyphrase:s,setKeyphraseLimitReached:i}=e;await Object(k.b)(()=>Object(_.a)(t),async e=>{n(!0,!0,t.websiteId.toString()),a(e);const c=(Array.isArray(o)?o:[o]).map(e=>e.toLowerCase());await Object(k.b)(()=>Object(_.d)(c),e=>{a(e),s(e.results)},e=>{400===e.status&&e.limit&&i(e.limit),r(e)},201);const l=z.getPopup();l&&l.close()},async e=>r(e))})(e,t)},error:{type:"wincher:oauth:error",callback:()=>e.onAuthentication(!1,!1)}},{title:"Wincher_login",width:500,height:700}),z.createPopup()},K=e=>e.isLoggedIn?null:Object(i.createElement)("p",null,Object(i.createElement)(h.NewButton,{onClick:e.onLogin,variant:"primary"},Object(c.sprintf)(
/* translators: %s expands to Wincher */
Object(c.__)("Connect with %s","wordpress-seo"),"Wincher")));K.propTypes={isLoggedIn:d.a.bool.isRequired,onLogin:d.a.func.isRequired};const Y=m.a.div`
	p {
		margin: 1em 0;
	}
`,V=m.a.div`
	${e=>e.isDisabled&&"\n\t\topacity: .5;\n\t\tpointer-events: none;\n\t"};
`,G=m.a.div`
	font-weight: var(--yoast-font-weight-bold);
	color: var(--yoast-color-label);
	font-size: var(--yoast-font-size-default);
`,Z=e=>{const{isLoggedIn:t,keyphrases:n,shouldTrackAll:a,permalink:r}=e;return!r&&t?Object(i.createElement)(U,null):0===n.length?Object(i.createElement)(M,null):Object(i.createElement)(V,{isDisabled:!t},Object(i.createElement)("p",null,Object(c.__)("You can enable / disable tracking the SEO performance for each keyphrase below.","wordpress-seo")),t&&a&&Object(i.createElement)(D,null),Object(i.createElement)(F,null))};function Q(e){const{isNewlyAuthenticated:t,isLoggedIn:n}=e,a=Object(i.useCallback)(()=>{$(e)},[$,e]);return Object(i.createElement)(Y,null,t&&Object(i.createElement)(v,null),Object(i.createElement)(G,null,Object(c.__)("SEO performance","wordpress-seo"),Object(i.createElement)(h.HelpIcon,{linkTo:wpseoAdminL10n["shortlinks.wincher.seo_performance"],linkText:Object(c.__)("Learn more about the SEO performance feature.","wordpress-seo")})),Object(i.createElement)(q.a,null),Object(i.createElement)(K,{isLoggedIn:n,onLogin:a}),Object(i.createElement)(H,s()({},e,{onLogin:a})),Object(i.createElement)(Z,e))}Z.propTypes={keyphrases:d.a.array.isRequired,isLoggedIn:d.a.bool.isRequired,shouldTrackAll:d.a.bool.isRequired,permalink:d.a.string.isRequired},Q.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},Q.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],response:{},shouldTrackAll:!1,permalink:""},t.a=Object(r.compose)([Object(a.withSelect)(e=>{const{isWincherNewlyAuthenticated:t,getWincherKeyphraseLimitReached:n,getWincherLimit:a,getWincherLoginStatus:r,getWincherRequestIsSuccess:o,getWincherRequestResponse:s,getWincherTrackableKeyphrases:i,getWincherAllKeyphrasesMissRanking:c,getWincherPermalink:l,shouldWincherAutomaticallyTrackAll:d}=e("yoast-seo/editor");return{keyphrases:i(),allKeyphrasesMissRanking:c(),isLoggedIn:r(),isNewlyAuthenticated:t(),isSuccess:o(),keyphraseLimitReached:n(),limit:a(),response:s(),shouldTrackAll:d(),permalink:l()}}),Object(a.withDispatch)(e=>{const{setWincherWebsiteId:t,setWincherRequestSucceeded:n,setWincherRequestFailed:a,setWincherTrackingForKeyphrase:r,setWincherSetKeyphraseLimitReached:o,setWincherLoginStatus:s}=e("yoast-seo/editor");return{setRequestSucceeded:e=>{n(e)},setRequestFailed:e=>{a(e)},addTrackedKeyphrase:e=>{r(e)},setKeyphraseLimitReached:e=>{o(e)},onAuthentication:(e,n,a)=>{t(a),s(e,n)}}})])(Q)},function(e,t,n){"use strict";var a=n(4);const r=Object(a.memoize)((e,t)=>0===e?a.noop:Object(a.debounce)(n=>t(n,e),500));t.a=r},,,,,,,,function(e,t,n){"use strict";var a=n(3),r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=n(89),s=n(124),i=n(125),c="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,a={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return a[e]}))):t.toString(36);var n,a}var d=/\/+/g;function u(e){return(""+e).replace(d,"$&/")}var p,m,h=b,b=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,n,a){this.result=e,this.keyPrefix=t,this.func=n,this.context=a,this.count=0}function f(e,t,n){var r,s,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,n,o.thatReturnsArgument):null!=p&&(a.isValidElement(p)&&(r=p,s=c+(!p.key||t&&t.key===p.key?"":u(p.key)+"/")+n,p=a.cloneElement(r,{key:s},void 0!==r.props?r.props.children:void 0)),i.push(p))}function y(e,t,n,a,o){var i="";null!=n&&(i=u(n)+"/");var d=g.getPooled(t,i,a,o);!function(e,t,n){null==e||function e(t,n,a,o){var i,d=typeof t;if("undefined"!==d&&"boolean"!==d||(t=null),null===t||"string"===d||"number"===d||"object"===d&&t.$$typeof===r)return a(o,t,""===n?"."+l(t,0):n),1;var u=0,p=""===n?".":n+":";if(Array.isArray(t))for(var m=0;m<t.length;m++)u+=e(i=t[m],p+l(i,m),a,o);else{var h=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(h)for(var b,g=h.call(t),f=0;!(b=g.next()).done;)u+=e(i=b.value,p+l(i,f++),a,o);else if("object"===d){var y=""+t;s(!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,n)}(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,n,a){if(this.instancePool.length){var r=this.instancePool.pop();return this.call(r,e,t,n,a),r}return new this(e,t,n,a)},(m=g).instancePool=[],m.getPooled=p||h,m.poolSize||(m.poolSize=10),m.release=function(e){s(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(a.isValidElement(e))return i(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;s(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)y(e[n],t,n,o.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,a,r,o,s,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=[n,a,r,o,s,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,n){"use strict";var a=n(89);e.exports=a},function(e,t,n){"use strict";function a(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(a)}},,function(e,t){e.exports=window.wp.sanitize},function(e,t,n){"use strict";var a=n(0),r=n(25),o=n.n(r),s=n(10),i=n(1),c=n(84),l=n(2),d=n.n(l),u=n(19),p=n(21);const m=Object(s.makeOutboundLink)(),h=e=>{const t=Object(i.sprintf)(
/* translators: %s expands to a 'Yoast SEO Premium' text linked to the yoast.com website. */
Object(i.__)("Great news: you can, with %s!","wordpress-seo"),"{{link}}Yoast SEO Premium{{/link}}"),n=[Object(i.sprintf)(
/* translators: %1$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */
Object(i.__)("%1$sNo more dead links%2$s: easy redirect manager","wordpress-seo"),"<strong>","</strong>"),`<strong>${Object(i.__)("Superfast internal linking suggestions","wordpress-seo")}</strong>`,Object(i.sprintf)(
/* translators: %1$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */
Object(i.__)("%1$sSocial media preview%2$s: Facebook & Twitter","wordpress-seo"),"<strong>","</strong>"),`<strong>${Object(i.__)("24/7 email support","wordpress-seo")}</strong>`,`<strong>${Object(i.__)("No ads!","wordpress-seo")}</strong>`],{locationContext:r}=Object(u.useRootContext)(),s=o()({mixedString:t,components:{link:Object(a.createElement)(m,{href:Object(p.addQueryArgs)(e.link,{context:r})})}}),l=Object(i.sprintf)(
/* translators: %s expands to 'Yoast SEO Premium'. */
Object(i.__)("Other benefits of %s for you:","wordpress-seo"),"Yoast SEO Premium");return Object(a.createElement)(c.a,{infoParagraphs:[s,l],benefits:n,upsellButtonText:Object(i.sprintf)(
/* translators: %s expands to 'Yoast SEO Premium'. */
Object(i.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:Object(p.addQueryArgs)(e.buyLink,{context:r}),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")})};h.propTypes={link:d.a.string.isRequired,buyLink:d.a.string.isRequired},t.a=h},,function(e,t,n){"use strict";var a=n(6),r=n(15),o=n(0),s=n(1),i=n(2),c=n.n(i),l=n(4),d=n(7),u=()=>Object(o.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},Object(s.sprintf)(
/* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */
Object(s.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",Object(o.createElement)(d.SvgIcon,{icon:"loading-spinner"})),p=n(10);const m=Object(p.makeOutboundLink)();var h=()=>Object(o.createElement)(o.Fragment,null,Object(o.createElement)("p",null,Object(s.sprintf)(
/* translators: %s : Expands to "Semrush". */
Object(s.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush")),Object(o.createElement)(m,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},Object(s.sprintf)(
/* translators: %s : Expands to "Semrush". */
Object(s.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),Object(o.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"}))),b=n(27),g=n.n(b),f=n(21);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 o.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:n}=this.props;n(t,e),this.storeCountryCode(t);const a=await this.doRequest(e,t);200!==a.status?this.handleFailedResponse(a):this.handleSuccessResponse(a)}handleSuccessResponse(e){const{setNoResultsFound:t,setRequestSucceeded:n}=this.props;0!==e.results.rows.length?n(e):t()}handleFailedResponse(e){const{setRequestLimitReached:t,setRequestFailed:n}=this.props;"error"in e&&(e.error.includes("TOTAL LIMIT EXCEEDED")?t():n(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(o.createElement)("div",{id:y},Object(o.createElement)(d.SingleSelect,{id:y+"-select",label:Object(s.__)("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(o.createElement)(d.NewButton,{id:y+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},Object(s.__)("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,v=n(77),E=n(64);const T=Object(p.makeOutboundLink)();class _ extends o.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(s.__)("Twelve months ago","wordpress-seo"),Object(s.__)("Eleven months ago","wordpress-seo"),Object(s.__)("Ten months ago","wordpress-seo"),Object(s.__)("Nine months ago","wordpress-seo"),Object(s.__)("Eight months ago","wordpress-seo"),Object(s.__)("Seven months ago","wordpress-seo"),Object(s.__)("Six months ago","wordpress-seo"),Object(s.__)("Five months ago","wordpress-seo"),Object(s.__)("Four months ago","wordpress-seo"),Object(s.__)("Three months ago","wordpress-seo"),Object(s.__)("Two months ago","wordpress-seo"),Object(s.__)("Last month","wordpress-seo")]}mapAreaChartDataToTableData(e){return Math.round(100*e)}render(){const{keyphrase:e,relatedKeyphrases:t,countryCode:n,data:a,renderAction:r}=this.props,i="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(e)+"&db="+encodeURIComponent(n);return a&&!Object(l.isEmpty)(a.results)&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)("table",{className:"yoast yoast-table"},Object(o.createElement)("thead",null,Object(o.createElement)("tr",null,Object(o.createElement)("th",{scope:"col",className:"yoast-table--primary"},Object(s.__)("Related keyphrase","wordpress-seo")),Object(o.createElement)("th",{scope:"col",abbr:Object(s.__)("Volume","wordpress-seo")},Object(s.__)("Volume","wordpress-seo"),Object(o.createElement)(E.a,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},Object(o.createElement)("span",{className:"screen-reader-text"},Object(s.__)("Learn more about the related keyphrases volume","wordpress-seo")))),Object(o.createElement)("th",{scope:"col",abbr:Object(s.__)("Trend","wordpress-seo")},Object(s.__)("Trend","wordpress-seo"),Object(o.createElement)(E.a,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},Object(o.createElement)("span",{className:"screen-reader-text"},Object(s.__)("Learn more about the related keyphrases trend","wordpress-seo")))),r&&Object(o.createElement)("td",{className:"yoast-table--nobreak"}))),Object(o.createElement)("tbody",null,a.results.rows.map((e,n)=>{const a=e[0],i=this.transformTrendDataToChartPoints(e[2]),c=this.getAreaChartDataTableHeaderLabels();return Object(o.createElement)("tr",{key:n},Object(o.createElement)("td",null,a),Object(o.createElement)("td",null,e[1]),Object(o.createElement)("td",{className:"yoast-table--nopadding"},Object(o.createElement)(v.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(s.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:c})),r&&Object(o.createElement)("td",{className:"yoast-table--nobreak"},r(a,t)))}))),Object(o.createElement)("p",{style:{marginBottom:0}},Object(o.createElement)(T,{href:i},Object(s.sprintf)(
/* translators: %s expands to Semrush */
Object(s.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}_.propTypes={data:c.a.object,keyphrase:c.a.string,relatedKeyphrases:c.a.array,countryCode:c.a.string,renderAction:c.a.func},_.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null};var k=_;const x=Object(p.makeOutboundLink)();var R=()=>Object(o.createElement)(d.Alert,{type:"info"},Object(s.sprintf)(
/* translators: %s: Expands to "Yoast SEO". */
Object(s.__)("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(o.createElement)(x,{href:window.wpseoAdminL10n["shortlinks.semrush.premium_landing_page"]},Object(s.sprintf)(
/* translators: %s: Expands to "Yoast SEO Premium". */
Object(s.__)("Check out %s!","wordpress-seo"),"Yoast SEO Premium"))),C=()=>Object(o.createElement)(d.Alert,{type:"error"},Object(s.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo")),S=()=>Object(o.createElement)(d.Alert,{type:"warning"},Object(s.sprintf)(
/* translators: %s: Expands to "Yoast SEO". */
Object(s.__)("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=n(14);function L(e){const{response:t,lastRequestKeyphrase:n,keyphrase:a,newRequest:r,setCountry:i,renderAction:c,countryCode:d,requestLimitReached:p,setRequestFailed:m,setNoResultsFound:b,relatedKeyphrases:g,setRequestSucceeded:f,setRequestLimitReached:y}=e,w=Object(I.a)().isPremium;return Object(o.createElement)(o.Fragment,null,!p&&Object(o.createElement)(o.Fragment,null,!w&&Object(o.createElement)(R,null),w&&function(e){return e&&e.length>=4}(g)&&Object(o.createElement)(S,null),Object(o.createElement)(j,{countryCode:d,setCountry:i,newRequest:r,keyphrase:a,setRequestFailed:m,setNoResultsFound:b,setRequestSucceeded:f,setRequestLimitReached:y,response:t,lastRequestKeyphrase:n})),function(e){const{isPending:t,requestLimitReached:n,isSuccess:a,response:r,requestHasData:i}=e;return t?Object(o.createElement)(u,null):n?Object(o.createElement)(h,null):!a&&function(e){return!Object(l.isEmpty)(e)&&"error"in e}(r)?Object(o.createElement)(C,null):i?void 0:Object(o.createElement)("p",null,Object(s.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(e),Object(o.createElement)(k,{keyphrase:a,relatedKeyphrases:g,countryCode:d,renderAction:c,data:t}))}L.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},L.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""},t.a=Object(r.compose)([Object(a.withSelect)(e=>{const{getFocusKeyphrase:t,getSEMrushSelectedCountry:n,getSEMrushRequestLimitReached:a,getSEMrushRequestResponse:r,getSEMrushRequestIsSuccess:o,getSEMrushIsRequestPending:s,getSEMrushRequestHasData:i,getSEMrushRequestKeyphrase:c}=e("yoast-seo/editor");return{keyphrase:t(),countryCode:n(),requestLimitReached:a(),response:r(),isSuccess:o(),isPending:s(),requestHasData:i(),lastRequestKeyphrase:c()}}),Object(a.withDispatch)(e=>{const{setSEMrushChangeCountry:t,setSEMrushNewRequest:n,setSEMrushRequestSucceeded:a,setSEMrushRequestFailed:r,setSEMrushSetRequestLimitReached:o,setSEMrushNoResultsFound:s}=e("yoast-seo/editor");return{setCountry:e=>{t(e)},newRequest:(e,t)=>{n(e,t)},setRequestSucceeded:e=>{a(e)},setRequestFailed:e=>{r(e)},setRequestLimitReached:()=>{o()},setNoResultsFound:()=>{s()}}})])(L)},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(4);function r(e){return void 0===e.length?e:Object(a.flatten)(e).sort((e,t)=>void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority)}},function(e,t,n){"use strict";var a=n(15),r=n(6),o=n(59),s=n(57);t.a=Object(a.compose)([Object(r.withSelect)(e=>{const{isCornerstoneContent:t}=e("yoast-seo/editor");return{isCornerstone:t(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}}),Object(r.withDispatch)(e=>{const{toggleCornerstoneContent:t}=e("yoast-seo/editor");return{onChange:t}}),Object(s.a)()])(o.CollapsibleCornerstone)},function(e,t,n){"use strict";var a=n(0),r=n(6),o=n(1),s=n(7),i=n(4);t.a=()=>{const e=Object(r.useSelect)(e=>e("yoast-seo/editor").getEstimatedReadingTime(),[]),t=Object(a.useMemo)(()=>Object(i.get)(window,"wpseoAdminL10n.shortlinks-insights-estimated_reading_time",""),[]);return Object(a.createElement)(s.InsightsCard,{amount:e,unit:Object(o._n)("minute","minutes",e,"wordpress-seo"),title:Object(o.__)("Reading time","wordpress-seo"),linkTo:t,linkText:Object(o.__)("Learn more about reading time","wordpress-seo")})}},function(e,t,n){"use strict";var a=n(0),r=n(6),o=n(1),s=n(7),i=n(10),c=n(12),l=n(4);const d=Object(i.makeOutboundLink)();function u(e,t,n){const r=function(e){switch(e){case c.DIFFICULTY.FAIRLY_DIFFICULT:case c.DIFFICULTY.DIFFICULT:case c.DIFFICULTY.VERY_DIFFICULT:return Object(o.__)("Try to make shorter sentences, using less difficult words to improve readability","wordpress-seo");case c.DIFFICULTY.NO_DATA:return Object(o.__)("Continue writing to get insight into the readability of your text!","wordpress-seo");default:return Object(o.__)("Good job!","wordpress-seo")}}(t);return Object(a.createElement)("span",null,function(e,t){return-1===e?Object(o.sprintf)(Object(o.__)("Your text should be slightly longer to calculate your Flesch reading ease score.","wordpress-seo")):Object(o.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(o.__)("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(o.__)("no data","wordpress-seo");case c.DIFFICULTY.VERY_EASY:return Object(o.__)("very easy","wordpress-seo");case c.DIFFICULTY.EASY:return Object(o.__)("easy","wordpress-seo");case c.DIFFICULTY.FAIRLY_EASY:return Object(o.__)("fairly easy","wordpress-seo");case c.DIFFICULTY.OKAY:return Object(o.__)("okay","wordpress-seo");case c.DIFFICULTY.FAIRLY_DIFFICULT:return Object(o.__)("fairly difficult","wordpress-seo");case c.DIFFICULTY.DIFFICULT:return Object(o.__)("difficult","wordpress-seo");case c.DIFFICULTY.VERY_DIFFICULT:return Object(o.__)("very difficult","wordpress-seo")}}(t))}(e,t)," ",t>=c.DIFFICULTY.FAIRLY_DIFFICULT?Object(a.createElement)(d,{href:n},r+"."):r)}t.a=()=>{let e=Object(r.useSelect)(e=>e("yoast-seo/editor").getFleschReadingEaseScore(),[]);const t=Object(a.useMemo)(()=>Object(l.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease",""),[]),n=Object(r.useSelect)(e=>e("yoast-seo/editor").getFleschReadingEaseDifficulty(),[e]),i=Object(a.useMemo)(()=>{const t=Object(l.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease_article","");return u(e,n,t)},[e,n]);return-1===e&&(e="?"),Object(a.createElement)(s.InsightsCard,{amount:e,unit:Object(o.__)("out of 100","wordpress-seo"),title:Object(o.__)("Flesch reading ease","wordpress-seo"),linkTo:t,linkText:Object(o.__)("Learn more about Flesch reading ease","wordpress-seo"),description:i})}},function(e,t,n){"use strict";var a=n(0),r=n(6),o=n(1),s=n(7),i=n(4);t.a=()=>{const e=Object(r.useSelect)(e=>e("yoast-seo/editor").getTextLength(),[]),t=Object(a.useMemo)(()=>Object(i.get)(window,"wpseoAdminL10n.shortlinks-insights-word_count",""),[]);let n=Object(o._n)("word","words",e.count,"wordpress-seo"),c=Object(o.__)("Word count","wordpress-seo"),l=Object(o.__)("Learn more about word count","wordpress-seo");return"character"===e.unit&&(n=Object(o._n)("character","characters",e.count,"wordpress-seo"),c=Object(o.__)("Character count","wordpress-seo"),l=Object(o.__)("Learn more about character count","wordpress-seo")),Object(a.createElement)(s.InsightsCard,{amount:e.count,unit:n,title:c,linkTo:t,linkText:l})}},function(e,t,n){"use strict";var a=n(0),r=n(19),o=n(16),s=n(1),i=n(44),c=n(129),l=n(63);t.a=()=>Object(a.createElement)(r.LocationConsumer,null,e=>{let t=wpseoAdminL10n["shortlinks.upsell.metabox.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.metabox.additional_button"],r=i.a;return"sidebar"===e.toLowerCase()&&(t=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_button"],r=l.a),Object(a.createElement)(r,{prefixIcon:{icon:"plus",color:o.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"plus",color:o.colors.$color_grey_medium_dark},title:Object(s.__)("Add related keyphrase","wordpress-seo"),id:"yoast-additional-keyphrase-collapsible-"+e},Object(a.createElement)(c.a,{link:t,buyLink:n}))})},,function(e,t,n){"use strict";var a=n(4),r=class{static isActive(){return!!document.getElementById("et_pb_main_editor_wrap")}static isTinyMCEHidden(){const e=document.getElementById("et_pb_main_editor_wrap");return!!e&&e.classList.contains("et_pb_hidden")}listen(e){this.classicEditorContainer=document.getElementById("et_pb_main_editor_wrap"),this.classicEditorContainer&&new MutationObserver(t=>{Object(a.forEach)(t,t=>{"attributes"===t.type&&"class"===t.attributeName&&(t.target.classList.contains("et_pb_hidden")?e.classicEditorHidden():e.classicEditorShown())})}).observe(this.classicEditorContainer,{attributes:!0})}};const o={classicEditorHidden:a.noop,classicEditorShown:a.noop,pageBuilderLoaded:a.noop};t.a=class{constructor(){this.determineActivePageBuilders()}determineActivePageBuilders(){r.isActive()&&(this.diviActive=!0),class{static isActive(){return!!window.VCV_I18N}}.isActive()&&(this.vcActive=!0)}isPageBuilderActive(){return this.diviActive||this.vcActive}listen(e){this.callbacks=Object(a.defaults)(e,o),this.diviActive&&(new r).listen(e)}isClassicEditorHidden(){return!(!this.diviActive||!r.isTinyMCEHidden())}}},function(e,t,n){"use strict";var a=n(15),r=n(6),o=n(0),s=n(1),i=n(7),c=n(10),l=n(2),d=n.n(l),u=n(19),p=n(4),m=n(36),h=n(13);const b=e=>{if(!e.isAuthenticated)return null;const t=Object(o.useCallback)(()=>{Object(m.d)()});return Object(o.createElement)(h.Button,{variant:"link",onClick:t},Object(s.__)("Manage WordProof settings","wordpress-seo"))};b.propTypes={isAuthenticated:d.a.bool.isRequired};const g=e=>{const t=Object(o.useCallback)(()=>{Object(m.c)()});return!e.isAuthenticated&&e.toggleIsEnabled?Object(o.createElement)(h.Button,{variant:"link",onClick:t},Object(s.__)("Authenticate with WordProof","wordpress-seo")):null};g.propTypes={isAuthenticated:d.a.bool.isRequired,toggleIsEnabled:d.a.bool.isRequired};class f extends o.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(o.createElement)(o.Fragment,null,Object(o.createElement)(i.FieldGroup,{linkText:Object(s.__)("Learn more about timestamping","wordpress-seo"),linkTo:"https://yoa.st/wordproof-integration",htmlFor:this.props.id,label:Object(s.__)("Timestamp with WordProof","wordpress-seo")},Object(o.createElement)(i.Toggle,{id:this.props.id,labelText:Object(s.sprintf)(
/* Translators: %s translates to the Post type in singular form */
Object(s.__)("Timestamp this %s","wordpress-seo"),this.props.postTypeName.toLowerCase()),isEnabled:this.props.isEnabled,onSetToggleState:this.handleToggle}),Object(o.createElement)(b,{isAuthenticated:this.props.isAuthenticated}),Object(o.createElement)(g,{toggleIsEnabled:this.props.isEnabled,isAuthenticated:this.props.isAuthenticated}),!this.props.isAuthenticated&&this.props.isEnabled&&Object(o.createElement)(i.Alert,{className:"yoast-wordproof-metabox-alert",type:"info"},Object(s.__)("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(a.compose)([Object(r.withSelect)(e=>({isAuthenticated:e("wordproof").getIsAuthenticated()}))])(f);const w=e=>{let{noIndex:t,onNoIndexChange:n,editorContext:a,isPrivateBlog:r}=e;const l=(e=>{const t=Object(s.__)("No","wordpress-seo"),n=Object(s.__)("Yes","wordpress-seo"),a=e.noIndex?t:n;return window.wpseoScriptData.isPost?[{name:Object(s.sprintf)(
/* Translators: %s translates to "yes" or "no", %s translates to the Post Label in plural form */
Object(s.__)("%s (current default for %s)","wordpress-seo"),a,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:n,value:"2"}]:[{name:Object(s.sprintf)(
/* Translators: %s translates to the "yes" or "no" ,%s translates to the Post Label in plural form */
Object(s.__)("%s (current default for %s)","wordpress-seo"),a,e.postTypeNamePlural),value:"default"},{name:n,value:"index"},{name:t,value:"noindex"}]})(a);return Object(o.createElement)(u.LocationConsumer,null,e=>Object(o.createElement)(o.Fragment,null,r&&Object(o.createElement)(i.Alert,{type:"warning"},Object(s.__)("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(o.createElement)(i.Select,{label:Object(s.sprintf)(
/* Translators: %s translates to the Post Label in singular form */
Object(s.__)("Allow search engines to show this %s in search results?","wordpress-seo"),a.postTypeNameSingular),onChange:n,id:Object(c.join)(["yoast-meta-robots-noindex",e]),options:l,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.allow_search_engines"],linkText:Object(s.__)("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:n,postTypeName:a}=e;return Object(o.createElement)(u.LocationConsumer,null,e=>{const r=Object(c.join)(["yoast-meta-robots-nofollow",e]);return Object(o.createElement)(i.RadioButtonGroup,{id:r,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:Object(s.sprintf)(
/* Translators: %s translates to the Post Label in singular form */
Object(s.__)("Should search engines follow links on this %s","wordpress-seo"),a),groupName:r,onChange:n,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.follow_links"],linkText:Object(s.__)("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:n}=e;return Object(o.createElement)(u.LocationConsumer,null,e=>{const a=Object(c.join)(["yoast-meta-robots-advanced",e]),r=a+"-input";return Object(o.createElement)(i.MultiSelect,{label:Object(s.__)("Meta robots advanced","wordpress-seo"),onChange:n,id:a,inputId:r,options:[{name:Object(s.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:Object(s.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:Object(s.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.meta_robots"],linkText:Object(s.__)("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 v=e=>{let{breadcrumbsTitle:t,onBreadcrumbsTitleChange:n}=e;return Object(o.createElement)(u.LocationConsumer,null,e=>Object(o.createElement)(i.TextInput,{label:Object(s.__)("Breadcrumbs Title","wordpress-seo"),id:Object(c.join)(["yoast-breadcrumbs-title",e]),onChange:n,value:t,linkTo:wpseoAdminL10n["shortlinks.advanced.breadcrumbs_title"],linkText:Object(s.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")}))};v.propTypes={breadcrumbsTitle:d.a.string.isRequired,onBreadcrumbsTitleChange:d.a.func.isRequired};const E=e=>{let{canonical:t,onCanonicalChange:n}=e;return Object(o.createElement)(u.LocationConsumer,null,e=>Object(o.createElement)(i.TextInput,{label:Object(s.__)("Canonical URL","wordpress-seo"),id:Object(c.join)(["yoast-canonical",e]),onChange:n,value:t,linkTo:"https://yoa.st/canonical-url",linkText:Object(s.__)("Learn more about canonical URLs on our help page.","wordpress-seo")}))};E.propTypes={canonical:d.a.string.isRequired,onCanonicalChange:d.a.func.isRequired};const T=e=>{let{wordproofTimestamp:t,onWordProofTimestampChange:n,postTypeName:a}=e;return Object(o.createElement)(u.LocationConsumer,null,e=>Object(o.createElement)(y,{id:Object(c.join)(["yoast-wordproof-timestamp",e]),isEnabled:t,onToggle:n,postTypeName:a}))};T.propTypes={wordproofTimestamp:d.a.bool.isRequired,onWordProofTimestampChange:d.a.func.isRequired,postTypeName:d.a.string.isRequired};const _=e=>{const{noIndex:t,noFollow:n,advanced:a,breadcrumbsTitle:r,canonical:s,wordproofTimestamp:i,onNoIndexChange:c,onNoFollowChange:l,onAdvancedChange:d,onBreadcrumbsTitleChange:u,onCanonicalChange:p,onWordProofTimestampChange:m,onLoad:h,isLoading:b,editorContext:g,isBreadcrumbsDisabled:f,isPrivateBlog:y,isWordProofIntegrationActive:_}=e;Object(o.useEffect)(()=>{setTimeout(()=>{b&&h()})});const k={noIndex:t,onNoIndexChange:c,editorContext:g,isPrivateBlog:y},x={noFollow:n,onNoFollowChange:l,postTypeName:g.postTypeNameSingular},R={advanced:a,onAdvancedChange:d},C={breadcrumbsTitle:r,onBreadcrumbsTitleChange:u},S={canonical:s,onCanonicalChange:p},I={wordproofTimestamp:i,onWordProofTimestampChange:m,postTypeName:g.postTypeNameSingular};return b?null:Object(o.createElement)(o.Fragment,null,Object(o.createElement)(w,k),g.isPost&&Object(o.createElement)(O,x),g.isPost&&Object(o.createElement)(j,R),!f&&Object(o.createElement)(v,C),Object(o.createElement)(E,S),_&&Object(o.createElement)(T,I))};_.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},_.defaultProps={advanced:[],onAdvancedChange:()=>{},noFollow:"",onNoFollowChange:()=>{},breadcrumbsTitle:"",onBreadcrumbsTitleChange:()=>{},isPrivateBlog:!1,onWordProofTimestampChange:()=>{},wordproofTimestamp:!1};var k=_;t.a=Object(a.compose)([Object(r.withSelect)(e=>{const{getNoIndex:t,getNoFollow:n,getAdvanced:a,getBreadcrumbsTitle:r,getCanonical:o,getWordProofTimestamp:s,getIsLoading:i,getEditorContext:c,getPreferences:l}=e("yoast-seo/editor"),{isBreadcrumbsDisabled:d,isPrivateBlog:u,isWordProofIntegrationActive:p}=l();return{noIndex:t(),noFollow:n(),advanced:a(),breadcrumbsTitle:r(),canonical:o(),wordproofTimestamp:s(),isLoading:i(),editorContext:c(),isBreadcrumbsDisabled:d,isPrivateBlog:u,isWordProofIntegrationActive:p}}),Object(r.withDispatch)(e=>{const{setNoIndex:t,setNoFollow:n,setAdvanced:a,setBreadcrumbsTitle:r,setCanonical:o,setWordProofTimestamp:s,loadAdvancedSettingsData:i}=e("yoast-seo/editor");return{onNoIndexChange:t,onNoFollowChange:n,onAdvancedChange:a,onBreadcrumbsTitleChange:r,onCanonicalChange:o,onWordProofTimestampChange:s,onLoad:i}})])(k)},function(e,t,n){"use strict";var a=n(0),r=n(15),o=n(6),s=n(1),i=n(2),c=n.n(i),l=n(7),d=n(13),u=n(10),p=n(25),m=n.n(p),h=n(8),b=n.n(h),g=n(69);const f=Object(u.makeOutboundLink)(),y=b.a.div`
	padding: 16px;
`;function w(e){let{location:t,show:n}=e;return n?Object(a.createElement)(l.Alert,{type:"info"},Object(s.sprintf)(
/* translators: %s Expands to "Yoast News SEO" */
Object(s.__)("Are you working on a news article? %s helps you optimize your site for Google News.","wordpress-seo"),"Yoast News SEO")+" ",Object(a.createElement)(f,{href:window.wpseoAdminL10n[`shortlinks.upsell.${t}.news`]},Object(s.sprintf)(
/* translators: %s: Expands to "Yoast News SEO". */
Object(s.__)("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,n)=>{const a=e.find(e=>e.value===t);return[{name:Object(s.sprintf)(
/* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */
Object(s.__)("Default for %1$s (%2$s)","wordpress-seo"),n,a?a.name:""),value:""},...e]},j=e=>Object(s.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(s.__)("You can change the default type for %1$s under Content types in the %2$sSettings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}"),v=e=>Object(a.createElement)(l.FieldGroup,{label:e.helpTextTitle,linkTo:e.helpTextLink,linkText:Object(s.__)("Learn more about structured data with Schema.org","wordpress-seo"),description:e.helpTextDescription});v.propTypes={helpTextTitle:c.a.string.isRequired,helpTextLink:c.a.string.isRequired,helpTextDescription:c.a.string.isRequired};const E=e=>Object(a.createElement)("p",null,e.helpTextDescription+" ",Object(a.createElement)("a",{href:e.helpTextLink},Object(s.__)("Read more about Schema.","wordpress-seo")));E.propTypes={helpTextDescription:c.a.string.isRequired,helpTextLink:c.a.string.isRequired};const T=e=>{const t=O(e.pageTypeOptions,e.defaultPageType,e.postTypeName),n=O(e.articleTypeOptions,e.defaultArticleType,e.postTypeName),r=Object(g.isFeatureEnabled)("SCHEMA_BLOCKS"),[o,i]=Object(a.useState)(e.schemaArticleTypeSelected),c=Object(a.useCallback)((e,t)=>{i(t)},[o]);return Object(a.useEffect)(()=>{c(null,e.schemaArticleTypeSelected)},[e.schemaArticleTypeSelected]),Object(a.createElement)(a.Fragment,null,r?Object(a.createElement)(E,e):Object(a.createElement)(v,e),r&&Object(a.createElement)(d.Slot,{name:Object(u.join)(["yoast-schema-blocks-analysis",e.location])}),Object(a.createElement)(l.FieldGroup,{label:Object(s.__)("What type of page or content is this?","wordpress-seo"),linkTo:e.additionalHelpTextLink,linkText:Object(s.__)("Learn more about page or content types","wordpress-seo")}),Object(a.createElement)(l.Select,{id:Object(u.join)(["yoast-schema-page-type",e.location]),options:t,label:Object(s.__)("Page type","wordpress-seo"),onChange:e.schemaPageTypeChange,selected:e.schemaPageTypeSelected}),e.showArticleTypeInput&&Object(a.createElement)(l.Select,{id:Object(u.join)(["yoast-schema-article-type",e.location]),options:n,label:Object(s.__)("Article type","wordpress-seo"),onChange:e.schemaArticleTypeChange,selected:e.schemaArticleTypeSelected,onOptionFocus:c}),Object(a.createElement)(w,{location:e.location,show:!e.isNewsEnabled&&(h=o,b=e.defaultArticleType,"NewsArticle"===h||""===h&&"NewsArticle"===b)}),e.displayFooter&&Object(a.createElement)("p",null,(p=e.postTypeName,m()({mixedString:j(p),components:{link:Object(a.createElement)("a",{href:"/wp-admin/admin.php?page=wpseo_page_settings",target:"_blank"})}}))));var p,h,b},_=c.a.arrayOf(c.a.shape({name:c.a.string,value:c.a.string}));T.propTypes={schemaPageTypeChange:c.a.func,schemaPageTypeSelected:c.a.string,pageTypeOptions:_.isRequired,schemaArticleTypeChange:c.a.func,schemaArticleTypeSelected:c.a.string,articleTypeOptions:_.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},T.defaultProps={schemaPageTypeChange:()=>{},schemaPageTypeSelected:null,schemaArticleTypeChange:()=>{},schemaArticleTypeSelected:null,displayFooter:!1,isNewsEnabled:!1};const k=e=>e.isMetabox?Object(a.createPortal)(Object(a.createElement)(y,null,Object(a.createElement)(T,e)),document.getElementById("wpseo-meta-section-schema")):Object(a.createElement)(T,e);k.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},k.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1};var x=k,R=n(96),C=n(57);const S=e=>{const t=null!==R.a.articleTypeInput;Object(a.useEffect)(()=>{e.loadSchemaPageData(),t&&e.loadSchemaArticleData()},[]);const{pageTypeOptions:n,articleTypeOptions:r}=window.wpseoScriptData.metabox.schema,o={articleTypeLabel:Object(s.__)("Article type","wordpress-seo"),pageTypeLabel:Object(s.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:Object(s.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:Object(s.__)("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:n,articleTypeOptions:r},i={...e,...o,...(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(a.createElement)(x,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(r.compose)([Object(o.withSelect)(e=>{const{getPreferences:t,getPageType:n,getDefaultPageType:a,getArticleType:r,getDefaultArticleType:o}=e("yoast-seo/editor"),{displaySchemaSettingsFooter:s,isNewsEnabled:i}=t();return{displayFooter:s,isNewsEnabled:i,schemaPageTypeSelected:n(),schemaArticleTypeSelected:r(),defaultArticleType:o(),defaultPageType:a()}}),Object(o.withDispatch)(e=>{const{setPageType:t,setArticleType:n,getSchemaPageData:a,getSchemaArticleData:r}=e("yoast-seo/editor");return{loadSchemaPageData:a,loadSchemaArticleData:r,schemaPageTypeChange:t,schemaArticleTypeChange:n}}),Object(C.a)()])(S)},function(e,t,n){"use strict";var a=n(0),r=n(1),o=n(2),s=n.n(o),i=n(8),c=n.n(i),l=n(7),d=n(16),u=n(74),p=n(35),m=n(76),h=n(84),b=n(19),g=n(21);const f=e=>{const t=Object(r.__)("Get extra, smarter recommendations about your site’s structure, content, and SEO opportunities.","wordpress-seo"),n=[Object(r.__)("Target multiple focus keyphrases","wordpress-seo"),Object(r.__)("Use synonyms, plurals, and variations","wordpress-seo"),Object(r.__)("Unlock expert workouts and workflows","wordpress-seo")],{locationContext:o}=Object(b.useRootContext)(),s=Object(g.addQueryArgs)(wpseoAdminL10n[e.buyLink],{context:o});return Object(a.createElement)(h.a,{infoParagraphs:[t],benefits:n,upsellButtonText:Object(r.sprintf)(
/* translators: %s expands to 'Yoast SEO Premium'. */
Object(r.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:s,className:"yoast-button-upsell",rel:null,"data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2","data-action":"load-nfd-ctb"},upsellButtonLabel:Object(r.__)("1 year of premium support and updates included!","wordpress-seo")})};f.propTypes={buyLink:s.a.string.isRequired};var y=f;const w=c()(l.CollapsibleStateless)`
	h2 > button {
		padding-left: 24px;
		padding-top: 16px;

		&:hover {
			background-color: #f0f0f0;
		}
	}
`,O=e=>{let{location:t}=e;const[n,o]=Object(a.useState)(!1),s=Object(a.useCallback)(()=>o(!1),[]),i=Object(a.useCallback)(()=>o(!0),[]);return Object(a.createElement)(a.Fragment,null,n&&Object(a.createElement)(p.a,{title:Object(r.__)("Get Yoast SEO Premium","wordpress-seo"),onRequestClose:s,additionalClassName:"",className:p.b,id:"yoast-premium-seo-analysis-modal",shouldCloseOnClickOutside:!0},Object(a.createElement)(u.a,null,Object(a.createElement)(u.b,{icon:l.YoastSeoIcon}),Object(a.createElement)("h2",null,Object(r.__)("Optimize even further with our premium SEO analysis","wordpress-seo")),Object(a.createElement)(y,{buyLink:`shortlinks.upsell.${t}.premium_seo_analysis_button`}))),"sidebar"===t&&Object(a.createElement)(m.a,{id:"yoast-premium-seo-analysis-modal-open-button",title:Object(r.__)("Premium SEO analysis","wordpress-seo"),prefixIcon:{icon:"seo-score-none",color:d.colors.$color_grey},suffixIcon:{icon:"pencil-square",size:"20px"},onClick:i}),"metabox"===t&&Object(a.createElement)(w,{hasPadding:!1,hasSeparator:!0,isOpen:!1,id:"yoast-premium-seo-analysis-metabox-modal-open-button",title:Object(r.__)("Premium SEO analysis","wordpress-seo"),prefixIconCollapsed:{icon:"seo-score-none",color:d.colors.$color_grey,size:"16px"},suffixIconCollapsed:{icon:"pencil-square",color:d.colors.$black,size:"20px"},onToggle:i}))};O.propTypes={location:s.a.string},O.defaultProps={location:"sidebar"},t.a=O},function(e,t,n){"use strict";var a=n(0),r=n(6),o=n(1),s=n(10),i=n(4),c=n(2),l=n.n(c),d=n(73),u=n(11),p=n.n(u),m=n(28),h=n.n(m);const b=e=>{let{data:t,itemScreenReaderText:n,className:r,...s}=e;const c=Object(a.useMemo)(()=>{var e,n;return null!==(e=null===(n=Object(i.maxBy)(t,"number"))||void 0===n?void 0:n.number)&&void 0!==e?e:0},[t]);return Object(a.createElement)("ul",p()({className:h()("yoast-data-model",r)},s),t.map(e=>{let{name:t,number:r}=e;return Object(a.createElement)("li",{key:t+"_dataItem",style:{"--yoast-width":r/c*100+"%"}},t,Object(a.createElement)("span",null,r),n&&Object(a.createElement)("span",{className:"screen-reader-text"},Object(o.sprintf)(n,r)))}))};b.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},b.defaultProps={data:[],itemScreenReaderText:"",className:""};var g=b,f=n(21),y=n(19);const w=Object(s.makeOutboundLink)(),O=e=>{let{location:t}=e;const n=Object(r.useSelect)(e=>{var t,n;return null===(t=null===(n=e("yoast-seo-premium/editor"))||void 0===n?void 0:n.getPreference("isProminentWordsAvailable",!1))||void 0===t||t},[]),s=Object(r.useSelect)(e=>e("yoast-seo/editor").getPreference("shouldUpsell",!1),[]),c=Object(a.useMemo)(()=>Object(i.get)(window,`wpseoAdminL10n.shortlinks-insights-upsell-${t}-prominent_words`,""),[t]),l=Object(a.useMemo)(()=>{const e=Object(i.get)(window,"wpseoAdminL10n.shortlinks-insights-keyword_research_link","");return Object(d.a)(Object(o.sprintf)(Object(o.__)("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(a.createElement)(w,{href:e})})},[]),u=Object(a.useMemo)(()=>Object(d.a)(Object(o.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(o.__)("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(a.createElement)("b",null)}),[]),p=Object(r.useSelect)(e=>{var t,n;return null!==(t=null===(n=e("yoast-seo-premium/editor"))||void 0===n?void 0:n.getProminentWords())&&void 0!==t?t:[]},[]),m=Object(a.useMemo)(()=>{const e=Object(o.sprintf)(// translators: %1$s expands to Yoast SEO Premium.
Object(o.__)("Get %s to enjoy the benefits of prominent words","wordpress-seo"),"Yoast SEO Premium").split(/\s+/);return e.map((t,n)=>({name:t,number:e.length-n}))},[]),h=Object(a.useMemo)(()=>s?m:p.map(e=>{let{word:t,occurrence:n}=e;return{name:t,number:n}}),[p,m]);if(!n)return null;const{locationContext:b}=Object(y.useRootContext)();return Object(a.createElement)("div",{className:"yoast-prominent-words"},Object(a.createElement)("div",{className:"yoast-field-group__title"},Object(a.createElement)("b",null,Object(o.__)("Prominent words","wordpress-seo"))),!s&&Object(a.createElement)("p",null,0===h.length?Object(o.__)("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(o.__)("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")),s&&Object(a.createElement)("p",null,u),s&&Object(a.createElement)(w,{href:Object(f.addQueryArgs)(c,{context:b}),"data-action":"load-nfd-ctb","data-ctb-id":"f6a84663-465f-4cb5-8ba5-f7a6d72224b2",className:"yoast-button yoast-button-upsell"},Object(o.sprintf)(// translators: %s expands to `Premium` (part of add-on name).
Object(o.__)("Unlock with %s","wordpress-seo"),"Premium"),Object(a.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),Object(a.createElement)("p",null,l),Object(a.createElement)(g,{data:h,itemScreenReaderText:// translators: %d expands to the number of occurrences.
Object(o.__)("%d occurrences","wordpress-seo"),"aria-label":Object(o.__)("Prominent words","wordpress-seo"),className:s?"yoast-data-model--upsell":null}))};O.propTypes={location:l.a.string.isRequired},t.a=O},function(e,t,n){"use strict";var a=n(0),r=n(13),o=n(1),s=n(7),i=n(4),c=n(2),l=n.n(c),d=n(10),u=n(73);const p=Object(d.makeOutboundLink)(),m=e=>{let{location:t}=e;const n=Object(a.useMemo)(()=>Object(i.get)(window,`wpseoAdminL10n.shortlinks-insights-upsell-${t}-text_formality`,""),[t]),r=Object(a.useMemo)(()=>Object(u.a)(Object(o.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(o.__)("%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(a.createElement)("b",null)}),[]);return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("div",null,Object(a.createElement)("p",null,r),Object(a.createElement)(p,{href:n,className:"yoast-button yoast-button-upsell"},Object(o.sprintf)(// Translators: %s expands to `Premium` (part of add-on name).
Object(o.__)("Unlock with %s","wordpress-seo"),"Premium"),Object(a.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"}))))};m.propTypes={location:l.a.string.isRequired};var h=m,b=n(6),g=n(14);const f=e=>{let{location:t,name:n}=e;const c=Object(b.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(o.__)("Read more about text formality.","wordpress-seo");return c?Object(a.createElement)("div",{className:"yoast-text-formality"},Object(a.createElement)("div",{className:"yoast-field-group__title"},Object(a.createElement)("b",null,Object(o.__)("Text formality","wordpress-seo")),Object(a.createElement)(s.HelpIcon,{linkTo:d,linkText:u})),l?Object(a.createElement)(r.Slot,{name:n}):Object(a.createElement)(h,{location:t})):null};f.propTypes={location:l.a.string.isRequired,name:l.a.string.isRequired},t.a=f},,,,,,,,,function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,n){"use strict";var a=n(0),r=n(2),o=n.n(r),s=n(8),i=n.n(s),c=n(7),l=n(10);const d=i()(c.StyledSection)`
	&${c.StyledSectionBase} {
		padding: 0;

		& ${c.StyledHeading} {
			${Object(l.getDirectionalStyle)("padding-left","padding-right")}: 20px;
			margin-left: ${Object(l.getDirectionalStyle)("0","20px")};
		}
	}
`,u=e=>{let{children:t,title:n,icon:r,hasPaperStyle:o,shoppingData:s}=e;return Object(a.createElement)(d,{headingLevel:3,headingText:n,headingIcon:r,headingIconColor:"#555",hasPaperStyle:o,shoppingData:s},t)};u.propTypes={children:o.a.element,title:o.a.string,icon:o.a.string,hasPaperStyle:o.a.bool,shoppingData:o.a.object},u.defaultProps={hasPaperStyle:!0,shoppingData:null},t.a=u},function(e,t,n){"use strict";var a=n(0),r=n(13),o=n(2),s=n.n(o),i=n(108);const c=e=>{const[t,n]=Object(a.useState)(""),o=Object(a.useCallback)(e=>{n(e.detail.metaTabId)},[n]);Object(a.useEffect)(()=>(setTimeout(e.onLoad),window.addEventListener("YoastSEO:metaTabChange",o),()=>{window.removeEventListener("YoastSEO:metaTabChange",o)}),[]);const s=Object(a.useMemo)(()=>({...e,activeMetaTabId:t}),[e,t]);return e.isPremium?Object(a.createElement)(r.Slot,{name:"YoastFacebookPremium"+(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:s}):Object(a.createElement)(i.a,s)};c.propTypes={isPremium:s.a.bool.isRequired,onLoad:s.a.func.isRequired,location:s.a.string.isRequired},t.a=c},function(e,t,n){"use strict";var a=n(0),r=n(13),o=n(2),s=n.n(o),i=n(108);const c=e=>(Object(a.useEffect)(()=>{setTimeout(e.onLoad)},[]),e.isPremium?Object(a.createElement)(r.Slot,{name:"YoastTwitterPremium"+(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(a.createElement)(i.a,e));c.propTypes={isPremium:s.a.bool.isRequired,onLoad:s.a.func.isRequired,location:s.a.string.isRequired},t.a=c},,,,,,,function(e,t,n){"use strict";var a,r,o,s,i,c,l,d,u,p,m,h,b,g,f,y,w,O,j,v,E,T,_,k,x,R,C,S,I,L,P,A,F,q,M,D,N,W,U,B,H,z,$,K,Y,V,G,Z,Q=n(0),J=n(1),X=n(23),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=n(3);function ne(){return(ne=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function ae(e){return te.createElement("svg",ne({"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 360"},e),a||(a=te.createElement("circle",{cx:226,cy:211,r:149,fill:"#f0ecf0"})),r||(r=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"})),o||(o=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"})),s||(s=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"})),h||(h=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"})),b||(b=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"})),v||(v=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"})),E||(E=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"})),T||(T=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"})),_||(_=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"})),k||(k=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"})),x||(x=te.createElement("circle",{cx:38.13,cy:30.03,r:3.14,fill:"#b89ac8"})),R||(R=te.createElement("circle",{cx:60.26,cy:39.96,r:3.14,fill:"#e31e0c"})),C||(C=te.createElement("circle",{cx:50.29,cy:25.63,r:3.14,fill:"#3baa45"})),S||(S=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"})),L||(L=te.createElement("circle",{cx:26.86,cy:8.28,r:3.14,fill:"#3baa45"})),P||(P=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"})),F||(F=te.createElement("circle",{cx:50.88,cy:50.72,r:3.14,fill:"#3baa45"})),q||(q=te.createElement("circle",{cx:63.47,cy:76.17,r:3.14,fill:"#e31e0c"})),M||(M=te.createElement("circle",{cx:38.34,cy:14.83,r:3.14,fill:"#2ca9e1"})),D||(D=te.createElement("circle",{cx:44.44,cy:5.92,r:3.14,fill:"#f8ad39"})),N||(N=te.createElement("circle",{cx:57.42,cy:10.24,r:3.14,fill:"#e31e0c"})),W||(W=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"})),B||(B=te.createElement("circle",{cx:77.95,cy:30.34,r:3.14,fill:"#e31e0c"})),H||(H=te.createElement("circle",{cx:80.97,cy:16.55,r:3.14,fill:"#f8ad39"})),z||(z=te.createElement("circle",{cx:62.96,cy:27.27,r:3.14,fill:"#3baa45"})),$||($=te.createElement("circle",{cx:75.36,cy:48.67,r:3.14,fill:"#2ca9e1"})),K||(K=te.createElement("circle",{cx:76.11,cy:65.31,r:3.14,fill:"#3baa45"})),Y||(Y=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"})),V||(V=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 re=n(36),oe=n(7),se=n(2),ie=n.n(se);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)(ae,{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(re.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(re.a)("current_post_type")),{b:Object(Q.createElement)("b",null)})),Object(Q.createElement)("div",{className:"yoast-wordproof-modal-action"},Object(Q.createElement)(oe.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 n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}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,n=Object(Q.useCallback)(e=>{t(),e.preventDefault(),Object(re.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)(oe.NewButton,{variant:"secondary",onClick:n},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 he=me,be=n(35);t.a=()=>{const[e,t]=Object(Q.useState)(null),n=Object(Q.useCallback)(()=>{t("oauth:failed")}),a=Object(Q.useCallback)(()=>{t("webhook:failed")}),r=Object(Q.useCallback)(()=>{t("oauth:success")}),o=Object(Q.useCallback)(()=>{t(null)});Object(Q.useEffect)(()=>(window.addEventListener("wordproof:oauth:success",r,!1),window.addEventListener("wordproof:oauth:failed",n,!1),window.addEventListener("wordproof:webhook:failed",a,!1),()=>{window.removeEventListener("wordproof:oauth:success",r,!1),window.removeEventListener("wordproof:oauth:failed",n,!1),window.removeEventListener("wordproof:webhook:failed",a,!1)}),[]);const s=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)(be.a,{onRequestClose:o,additionalClassName:"yoast-wordproof-modal",title:s()},"oauth:success"===e&&Object(Q.createElement)(de,{closeModal:o}),"oauth:failed"===e&&Object(Q.createElement)(ee,null),"webhook:failed"===e&&Object(Q.createElement)(he,{closeModal:o})))}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var a=n(40),r=n(34),o=n(109),s=n(51);const{dispatch:i}=wp.data;function c(){const{setIsAuthenticated:e,setSelectedPostTypes:t}=i("wordproof"),n=Object(r.a)("popup_redirect_authentication_url"),c=Object(r.a)("popup_redirect_settings_url");let l=null;const d=(e,t)=>{l=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:800,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:680;const o=e.top.outerHeight/2+e.top.screenY-r/2,s=e.top.outerWidth/2+e.top.screenX-a/2;return e.open(t,n,`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=${a},\n\t\theight=${r},\n\t\ttop=${o},\n\t\tleft=${s}`)}(window,e,t),l&&l.focus(),window.addEventListener("message",u,!1)},u=async e=>{const{data:t,source:n,origin:a}=e;if(a===Object(r.a)("origin")&&l===n)switch(t.type){case"wordproof:oauth:granted":!1===await h(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: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 b(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 n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;m(),Object(o.a)(t),!1===n&&(await Object(a.b)(),e(!1)),!0===n&&e(!0)},m=()=>{window.removeEventListener("message",u,!1),l.close()},h=async e=>{await Object(a.c)(()=>Object(s.e)(e),async e=>{const t={type:"wordproof:sdk:access-token",source_id:e.source_id};return l.postMessage(t,Object(r.a)("origin")),!0},async()=>!1)},b=async e=>{await Object(a.c)(()=>Object(s.f)(e),async()=>{const n=e.settings;return n.selectedPostTypes&&t(n.selectedPostTypes),!0},async()=>!1)};window.addEventListener("wordproof:open_authentication",e=>{e.preventDefault(),d(n,"WordProof_Authentication")},!1),window.addEventListener("wordproof:open_settings",e=>{e.preventDefault(),d(c,"WordProof_Settings")},!1)}},,,,,function(e,t,n){"use strict";var a=n(11),r=n.n(a),o=n(0),s=n(15),i=n(6),c=n(1),l=n(155),d=n(19),u=n(156),p=n(70),m=n(115);const h=function(e,t){let n=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(n=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[n]&&(e.url=e.url.slice(0,n)+e.url.slice(n+1)),Object(p.applyReplaceUsingPlugin)(e)};t.a=Object(s.compose)([Object(i.withSelect)((function(e){const{getBaseUrlFromSettings:t,getDateFromSettings:n,getFocusKeyphrase:a,getRecommendedReplaceVars:r,getReplaceVars:o,getShoppingData:s,getSiteIconUrlFromSettings:i,getSnippetEditorData:c,getSnippetEditorMode:l,getSnippetEditorPreviewImageUrl:d,getSnippetEditorWordsToHighlight:u,isCornerstoneContent:p,getIsTerm:m,getContentLocale:h,getSiteName:b}=e("yoast-seo/editor"),g=o();return g.forEach(e=>{""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")}),{baseUrl:t(),data:c(),date:n(),faviconSrc:i(),keyword:a(),mobileImageSrc:d(),mode:l(),recommendedReplacementVariables:r(),replacementVariables:g,shoppingData:s(),wordsToHighlight:u(),isCornerstone:p(),isTaxonomy:m(),locale:h(),siteName:b()}})),Object(i.withDispatch)((function(e,t,n){let{select:a}=n;const{updateData:r,switchMode:o,updateAnalysisData:s,findCustomFields:i}=e("yoast-seo/editor"),c=e("core/editor"),l=a("yoast-seo/editor").getPostId();return{onChange:(e,t)=>{switch(e){case"mode":o(t);break;case"slug":r({slug:t}),c&&c.editPost({slug:t});break;default:r({[e]:t})}},onChangeAnalysisData:s,onReplacementVariableSearchChange:Object(m.a)(l,i)}}))])(e=>Object(o.createElement)(d.LocationConsumer,null,t=>Object(o.createElement)(u.a,{icon:"eye",hasPaperStyle:e.hasPaperStyle},Object(o.createElement)(l.SnippetEditor,r()({},e,{descriptionPlaceholder:Object(c.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:h,showCloseButton:!1,idSuffix:t})))))},function(e,t,n){"use strict";var a=n(6),r=n(7);t.a=Object(a.withSelect)(e=>{const{getWarningMessage:t}=e("yoast-seo/editor");return{message:t()}})(r.Warning)},function(e,t,n){"use strict";var a=n(15),r=n(6),o=n(157),s=n(14),i=n(57),c=n(50),l=n(115);const d=()=>{Object(c.b)(e=>Object(r.dispatch)("yoast-seo/editor").setFacebookPreviewImage(Object(c.c)(e)))};t.a=Object(a.compose)([Object(r.withSelect)(e=>{const{getFacebookDescription:t,getDescription:n,getFacebookTitle:a,getSeoTitle:r,getFacebookImageUrl:o,getImageFallback:i,getFacebookWarnings:c,getRecommendedReplaceVars:l,getReplaceVars:d,getSiteUrl:u,getSeoTitleTemplate:p,getSeoTitleTemplateNoFallback:m,getSocialTitleTemplate:h,getSeoDescriptionTemplate:b,getSocialDescriptionTemplate:g,getReplacedExcerpt:f,getFacebookAltText:y}=e("yoast-seo/editor");return{imageUrl:o(),imageFallbackUrl:i(),recommendedReplacementVariables:l(),replacementVariables:d(),description:t(),descriptionPreviewFallback:g()||n()||b()||f()||"",title:a(),titlePreviewFallback:h()||r()||m()||p()||"",imageWarnings:c(),siteUrl:u(),isPremium:!!Object(s.a)().isPremium,titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"Facebook",alt:y()}}),Object(r.withDispatch)((e,t,n)=>{let{select:a}=n;const{setFacebookPreviewTitle:r,setFacebookPreviewDescription:o,clearFacebookPreviewImage:s,loadFacebookPreviewData:i,findCustomFields:c}=e("yoast-seo/editor"),u=a("yoast-seo/editor").getPostId();return{onSelectImageClick:d,onRemoveImageClick:s,onDescriptionChange:o,onTitleChange:r,onLoad:i,onReplacementVariableSearchChange:Object(l.a)(u,c)}}),Object(i.a)()])(o.a)},function(e,t,n){"use strict";var a=n(15),r=n(6),o=n(158),s=n(14),i=n(57),c=n(50),l=n(115);const d=()=>{Object(c.b)(e=>Object(r.dispatch)("yoast-seo/editor").setTwitterPreviewImage(Object(c.d)(e)))};t.a=Object(a.compose)([Object(r.withSelect)(e=>{const{getTwitterDescription:t,getTwitterTitle:n,getTwitterImageUrl:a,getFacebookImageUrl:r,getFacebookTitle:o,getFacebookDescription:i,getDescription:c,getSeoTitle:l,getTwitterWarnings:d,getTwitterImageType:u,getImageFallback:p,getRecommendedReplaceVars:m,getReplaceVars:h,getSiteUrl:b,getSeoTitleTemplate:g,getSeoTitleTemplateNoFallback:f,getSocialTitleTemplate:y,getSeoDescriptionTemplate:w,getSocialDescriptionTemplate:O,getReplacedExcerpt:j,getTwitterAltText:v}=e("yoast-seo/editor");return{imageUrl:a(),imageFallbackUrl:r()||p(),recommendedReplacementVariables:m(),replacementVariables:h(),description:t(),descriptionPreviewFallback:O()||i()||c()||w()||j()||"",title:n(),titlePreviewFallback:y()||o()||l()||f()||g()||"",imageWarnings:d(),siteUrl:b(),isPremium:!!Object(s.a)().isPremium,isLarge:"summary"!==u(),titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"Twitter",alt:v()}}),Object(r.withDispatch)((e,t,n)=>{let{select:a}=n;const{setTwitterPreviewTitle:r,setTwitterPreviewDescription:o,clearTwitterPreviewImage:s,loadTwitterPreviewData:i,findCustomFields:c}=e("yoast-seo/editor"),u=a("yoast-seo/editor").getPostId();return{onSelectImageClick:d,onRemoveImageClick:s,onDescriptionChange:o,onTitleChange:r,onLoad:i,onReplacementVariableSearchChange:Object(l.a)(u,c)}}),Object(i.a)()])(o.a)},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return $}));var a=n(0),r=n(2),o=n.n(r),s=n(13),i=n(134),c=n(75);function l(e){let{theme:t}=e;return Object(a.createElement)(c.a,{theme:t,location:"metabox"},Object(a.createElement)(s.Slot,{name:"YoastMetabox"},e=>Object(i.a)(e)))}var d=n(6),u=n(15),p=n(1),m=n(16),h=n(135),b=n(172),g=n(173),f=n(59),y=n(69),w=n(44),O=n(136),j=n(137),v=n(145),E=n(138),T=n(146);const _=e=>{let{location:t}=e;const n=Object(d.useSelect)(e=>e("yoast-seo/editor").isFleschReadingEaseAvailable(),[]);return Object(a.createElement)(w.a,{title:Object(p.__)("Insights","wordpress-seo"),id:"yoast-insights-collapsible-"+t,className:"yoast-insights"},Object(a.createElement)(v.a,{location:t}),Object(a.createElement)("div",null,n&&Object(a.createElement)("div",{className:"yoast-insights-row"},Object(a.createElement)(j.a,null)),Object(a.createElement)("div",{className:"yoast-insights-row yoast-insights-row--columns"},Object(a.createElement)(O.a,null),Object(a.createElement)(E.a,null)),Object(y.isFeatureEnabled)("TEXT_FORMALITY")&&Object(a.createElement)(T.a,{location:t,name:"YoastTextFormalityMetabox"})))};_.propTypes={location:o.a.string},_.defaultProps={location:"metabox"};var k=_,x=n(26),R=n(142),C=n(174),S=n(175);const I=e=>{let{displayFacebook:t,displayTwitter:n}=e;return Object(a.createElement)(a.Fragment,null,t&&Object(a.createElement)(w.a,{hasSeparator:!1
/* Translators: %s expands to Facebook. */,title:Object(p.sprintf)(Object(p.__)("%s preview","wordpress-seo"),"Facebook"),initialIsOpen:!0},Object(a.createElement)(C.a,null)),n&&Object(a.createElement)(w.a
/* Translators: %s expands to Twitter. */,{title:Object(p.sprintf)(Object(p.__)("%s preview","wordpress-seo"),"Twitter"),hasSeparator:t,initialIsOpen:!0},Object(a.createElement)(S.a,null)))};I.propTypes={displayFacebook:o.a.bool.isRequired,displayTwitter:o.a.bool.isRequired};var L=I,P=Object(d.withSelect)(e=>{const{getPreferences:t}=e("yoast-seo/editor"),{displayFacebook:n,displayTwitter:a}=t();return{displayFacebook:n,displayTwitter:a}})(L),A=n(72);function F(e){let{target:t}=e;return Object(a.createElement)(A.a,{target:t},Object(a.createElement)(P,null))}F.propTypes={target:o.a.string.isRequired};var q=n(143),M=n(131),D=n(114),N=n(36),W=n(165),U=n(144),B=n(139);function H(e){let{settings:t,wincherKeyphrases:n,setWincherNoKeyphrase:r}=e;const o=Object(a.useCallback)(()=>{if(!n.length)return r(!0),document.querySelector("#focus-keyword-input-metabox").focus(),!1},[n,r]);return Object(a.createElement)(a.Fragment,null,Object(N.b)()&&Object(a.createElement)(W.a,null),Object(a.createElement)(s.Fill,{name:"YoastMetabox"},Object(a.createElement)(x.a,{key:"warning",renderPriority:1},Object(a.createElement)(g.a,null)),t.isKeywordAnalysisActive&&Object(a.createElement)(x.a,{key:"keyword-input",renderPriority:8},Object(a.createElement)(f.KeywordInput,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&Object(a.createElement)(s.Fill,{name:"YoastRelatedKeyphrases"},Object(a.createElement)(M.a,null))),Object(a.createElement)(x.a,{key:"google-preview",renderPriority:9},Object(a.createElement)(w.a,{id:"yoast-snippet-editor-metabox",title:Object(p.__)("Google preview","wordpress-seo"),initialIsOpen:!0},Object(a.createElement)(b.a,{hasPaperStyle:!1}))),t.isContentAnalysisActive&&Object(a.createElement)(x.a,{key:"readability-analysis",renderPriority:10},Object(a.createElement)(f.ReadabilityAnalysis,{shouldUpsell:t.shouldUpsell,isYoastSEOWooActive:t.isYoastSEOWooEnabled})),t.isKeywordAnalysisActive&&Object(a.createElement)(x.a,{key:"seo-analysis",renderPriority:20},Object(a.createElement)(a.Fragment,null,Object(a.createElement)(f.SeoAnalysis,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive,isYoastSEOWooActive:t.isYoastSEOWooEnabled}),t.shouldUpsell&&Object(a.createElement)(U.a,{location:"metabox"}))),t.isInclusiveLanguageAnalysisActive&&Object(a.createElement)(x.a,{key:"inclusive-language-analysis",renderPriority:21},Object(a.createElement)(f.InclusiveLanguageAnalysis,null)),t.isKeywordAnalysisActive&&Object(a.createElement)(x.a,{key:"additional-keywords-upsell",renderPriority:22},t.shouldUpsell&&Object(a.createElement)(B.a,null)),t.isKeywordAnalysisActive&&t.isWincherIntegrationActive&&Object(a.createElement)(x.a,{key:"wincher-seo-performance",renderPriority:25},Object(a.createElement)(w.a,{id:"yoast-wincher-seo-performance-metabox",title:Object(p.__)("Track SEO performance","wordpress-seo"),initialIsOpen:!1,prefixIcon:{icon:"chart-square-bar",color:m.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"chart-square-bar",color:m.colors.$color_grey_medium_dark},onToggle:o},Object(a.createElement)(D.a,null))),t.isCornerstoneActive&&Object(a.createElement)(x.a,{key:"cornerstone",renderPriority:30},Object(a.createElement)(h.a,null)),t.displayAdvancedTab&&Object(a.createElement)(x.a,{key:"advanced",renderPriority:40},Object(a.createElement)(w.a,{id:"collapsible-advanced-settings",title:Object(p.__)("Advanced","wordpress-seo")},Object(a.createElement)(R.a,null))),t.displaySchemaSettings&&Object(a.createElement)(x.a,{key:"schema",renderPriority:50},Object(a.createElement)(q.a,null)),Object(a.createElement)(x.a,{key:"social",renderPriority:-1},Object(a.createElement)(F,{target:"wpseo-section-social"})),t.isInsightsEnabled&&Object(a.createElement)(x.a,{key:"insights",renderPriority:52},Object(a.createElement)(k,{location:"metabox"}))))}H.propTypes={settings:o.a.object.isRequired,wincherKeyphrases:o.a.array.isRequired,setWincherNoKeyphrase:o.a.func.isRequired};var z=Object(u.compose)([Object(d.withSelect)((e,t)=>{const{getPreferences:n,getWincherTrackableKeyphrases:a}=e("yoast-seo/editor");return{settings:n(),store:t.store,wincherKeyphrases:a()}}),Object(d.withDispatch)(e=>{const{setWincherNoKeyphrase:t}=e("yoast-seo/editor");return{setWincherNoKeyphrase:t}})])(H);function $(e){let{target:t,store:n,theme:r}=e;return Object(a.createElement)(A.a,{target:t},Object(a.createElement)(l,{store:n,theme:r}),Object(a.createElement)(z,{store:n,theme:r}))}$.propTypes={target:o.a.string.isRequired,store:o.a.object,theme:o.a.object}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var a=n(0),r=n(13),o=n(203),s=n(14),i=n(19);const c=[];let l=null;class d extends a.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:n}=e;return Object(a.createElement)(t,{key:n})})}}function u(e,t){null===l||null===l.current?c.push({key:e,Component:t}):l.current.registerComponent(e,t)}var p=n(36),m=n(167),h=n(17),b=n(18),g=n.n(b),f=n(4),y=n(12),w=n.n(y),O=n(70),j=n(39),v=n(62);const{removeMarks:E}=w.a.markers,{updateReplacementVariable:T,updateData:_,hideReplacementVariables:k,setContentImage:x,setEditorDataContent:R,setEditorDataTitle:C,setEditorDataExcerpt:S,setEditorDataImageUrl:I,setEditorDataSlug:L}=h.actions;window.yoast=window.yoast||{},window.yoast.initEditorIntegration=function(e){window.YoastSEO=window.YoastSEO||{},window.YoastSEO._registerReactComponent=u,function(e){const t=Object(s.a)();l=Object(a.createRef)();const n={isRtl:t.isRtl};Object(a.render)(Object(a.createElement)(r.SlotFillProvider,null,Object(a.createElement)(i.Root,{context:{locationContext:"classic-metabox"}},Object(a.createElement)(o.a,{target:"wpseo-metabox-root",store:e,theme:n})),Object(a.createElement)(d,{ref:l})),document.getElementById("wpseo-metabox-root")),c.forEach(e=>{l.current.registerComponent(e.key,e.Component)})}(e),Object(p.b)()&&Object(m.a)()},window.yoast.EditorData=class{constructor(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"content";this._refresh=e,this._store=t,this._tinyMceId=n,this._previousData={},this._previousEditorData={},this.updateReplacementData=this.updateReplacementData.bind(this),this.refreshYoastSEO=this.refreshYoastSEO.bind(this)}initialize(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const n=this.getInitialData(e);Object(O.fillReplacementVariables)(n,this._store),this._store.dispatch(k(t)),this._previousEditorData.content=n.content,this._store.dispatch(R(n.content)),this._previousEditorData.contentImage=n.contentImage,this._store.dispatch(x(n.contentImage)),this.setImageInSnippetPreview(n.snippetPreviewImageURL||n.contentImage),this._previousEditorData.slug=n.slug,this._store.dispatch(L(n.slug)),this.updateReplacementData({target:{value:n.title}},"title"),this.updateReplacementData({target:{value:n.excerpt}},"excerpt"),this.updateReplacementData({target:{value:n.excerpt_only}},"excerpt_only"),this.subscribeToElements(),this.subscribeToStore(),this.subscribeToSnippetPreviewImage(),this.subscribeToTinyMceEditor(),this.subscribeToSlug()}subscribeToTinyMceEditor(){const e=e=>{if(Object(f.isString)(e)||(e=this.getContent()),this._previousEditorData.content===e)return;if(this._previousEditorData.content=e,this._store.dispatch(R(e)),this.featuredImageIsSet)return;const t=this.getContentImage(e);this._previousEditorData.contentImage!==t&&(this._previousEditorData.contentImage=t,this._store.dispatch(x(t)),this.setImageInSnippetPreview(t))};g()(document).on("tinymce-editor-init",(t,n)=>{n.id===this._tinyMceId&&(e(this.getContent()),["input","change","cut","paste"].forEach(t=>n.on(t,Object(f.debounce)(e,1e3))))});const t=document.getElementById("attachment_content");t&&(e(t.value),t.addEventListener("input",t=>e(t.target.value)))}subscribeToSlug(){const e=e=>{this._previousEditorData.slug!==e&&(this._previousEditorData.slug=e,this._store.dispatch(L(e)),this._store.dispatch(_({slug:e})))},t=document.getElementById("slug");t&&t.addEventListener("input",t=>e(t.target.value));const n=document.getElementById("post_name");n&&n.addEventListener("input",t=>e(t.target.value));const a=document.getElementById("edit-slug-buttons");a&&new MutationObserver((t,n)=>t.forEach(t=>{t.addedNodes.forEach(t=>{var a,r;if(null==t||null===(a=t.classList)||void 0===a||!a.contains("edit-slug"))return;const o=null===(r=document.getElementById("editable-post-name-full"))||void 0===r?void 0:r.innerText;o&&(e(o),n.disconnect(),this.subscribeToSlug())})})).observe(a,{childList:!0})}subscribeToSnippetPreviewImage(){if(Object(f.isUndefined)(wp.media)||Object(f.isUndefined)(wp.media.featuredImage))return;g()("#postimagediv").on("click","#remove-post-thumbnail",()=>{this.featuredImageIsSet=!1,this.setImageInSnippetPreview(this.getContentImage(this.getContent()))});const e=wp.media.featuredImage.frame();e.on("select",()=>{const t=e.state().get("selection").first().attributes.url;t&&(this.featuredImageIsSet=!0,this.setImageInSnippetPreview(t))}),j.addEventHandler(this._tinyMceId,["init"],()=>{const e=this.getContentImage(this.getContent()),t=this.getFeaturedImage()||e||"";this._store.dispatch(x(e)),this.setImageInSnippetPreview(t)})}getFeaturedImage(){const e=g()("#set-post-thumbnail img").attr("src");return e?(this.featuredImageIsSet=!0,e):(this.featuredImageIsSet=!1,null)}setImageInSnippetPreview(e){this._store.dispatch(I(e)),this._store.dispatch(_({snippetPreviewImageURL:e}))}getContentImage(e){if(this.featuredImageIsSet)return"";const t=w.a.languageProcessing.imageInText(e);if(0===t.length)return"";const n=g.a.parseHTML(t.join(""));for(const e of n)if(e.src)return e.src;return""}getTitle(){const e=document.getElementById("title")||document.getElementById("name");return e&&e.value||""}getExcerpt(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const t=document.getElementById("excerpt"),n=t&&t.value||"",a="ja"===Object(v.a)()?80:156;return""!==n||!1===e?n:Object(O.excerptFromContent)(this.getContent(),a)}getSlug(){let e="";const t=document.getElementById("new-post-slug")||document.getElementById("slug");return t?e=t.value:null!==document.getElementById("editable-post-name-full")&&(e=document.getElementById("editable-post-name-full").textContent),e}getContent(){return E(j.getContentTinyMce(this._tinyMceId))}subscribeToElements(){this.subscribeToInputElement("title","title"),this.subscribeToInputElement("excerpt","excerpt"),this.subscribeToInputElement("excerpt","excerpt_only")}subscribeToInputElement(e,t){const n=document.getElementById(e);n&&n.addEventListener("input",e=>{this.updateReplacementData(e,t)})}updateReplacementData(e,t){let n=e.target.value;if("excerpt"===t&&""===n&&(n=this.getExcerpt()),this._previousEditorData[t]!==n){switch(this._previousEditorData[t]=n,t){case"title":this._store.dispatch(C(n));break;case"excerpt":this._store.dispatch(S(n))}this._store.dispatch(T(t,n))}}isShallowEqual(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e.hasOwnProperty(n)&&(!(n in t)||e[n]!==t[n]))return!1;return!0}refreshYoastSEO(){const e=this.getData();!this.isShallowEqual(this._previousData,e)&&(this.handleEditorChange(e),this._previousData=e,window.YoastSEO&&window.YoastSEO.app&&window.YoastSEO.app.refresh())}handleEditorChange(e){this._previousData.excerpt!==e.excerpt&&(this._store.dispatch(T("excerpt",e.excerpt)),this._store.dispatch(T("excerpt_only",e.excerpt_only))),this._previousData.snippetPreviewImageURL!==e.snippetPreviewImageURL&&this.setImageInSnippetPreview(e.snippetPreviewImageURL),this._previousData.slug!==e.slug&&this._store.dispatch(L(e.slug)),this._previousData.title!==e.title&&this._store.dispatch(C(e.title))}subscribeToStore(){this.subscriber=Object(f.debounce)(this.refreshYoastSEO,500),this._store.subscribe(this.subscriber)}getInitialData(e){e=Object(O.mapCustomFields)(e,this._store),e=Object(O.mapCustomTaxonomies)(e,this._store);const t=this.getContent(),n=this.getFeaturedImage();return{...e,title:this.getTitle(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1),slug:this.getSlug(),content:t,snippetPreviewImageURL:n,contentImage:this.getContentImage(t)}}getData(){return{...this._store.getState().snippetEditor.data,title:this.getTitle(),content:this.getContent(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1)}}}}]);