%PDF- %PDF-
Direktori : /var/www/html/buggydubrovnik.com/wp-content/plugins/wordpress-seo/js/dist/ |
Current File : /var/www/html/buggydubrovnik.com/wp-content/plugins/wordpress-seo/js/dist/settings.js |
!function(e){var t={};function a(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,a),i.l=!0,i.exports}a.m=e,a.c=t,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)a.d(r,i,function(t){return e[t]}.bind(null,i));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=288)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.yoast.propTypes},10:function(e,t){e.exports=window.yoast.helpers},100:function(e,t,a){"use strict";a.d(t,"b",(function(){return u}));var r=a(0),i=a(2),s=a(10),n=a(7),o=a(1),l=a.n(o),c=a(66);const d=Object(s.makeOutboundLink)();class p extends r.Component{constructor(e){var t,a,r,i;super(e),this.initialPageType=e.pageType.value,this.initialArticleType=e.articleType?e.articleType.value:"None",this.state={schema_page_type:this.initialPageType,schema_article_type:this.initialArticleType},this.handleOptionFocus=this.handleOptionFocus.bind(this),this.showNewsSEOUpsell=null===(t=window.wpseoScriptData)||void 0===t||null===(a=t.searchAppearance)||void 0===a?void 0:a.showNewsSEOUpsell,this.newsSEOUpsellURL=null===(r=window.wpseoScriptData)||void 0===r||null===(i=r.searchAppearance)||void 0===i?void 0:i.newsSEOUpsellURL,void 0===this.showNewsSEOUpsell&&(this.showNewsSEOUpsell=!1),void 0===this.newsSEOUpsellURL&&(this.newsSEOUpsellURL="")}shouldShowAlert(){return this.state.schema_page_type!==this.initialPageType||this.state.schema_article_type!==this.initialArticleType}isNewsArticleSelected(){return"NewsArticle"===this.state.schema_article_type}handleOptionFocus(e,t){this.setState({[e]:t})}render(){return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(n.FieldGroup,{label:Object(i.__)("Schema settings","wordpress-seo"),linkTo:"https://yoa.st/404",linkText:Object(i.__)("Learn more about the schema settings","wordpress-seo"),description:Object(i.sprintf)( /* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */ Object(i.__)("Choose how your %1$s should be described by default in your site's schema.org markup. You can change these settings for individual %1$s.","wordpress-seo"),this.props.postTypeName)}),this.shouldShowAlert()&&Object(r.createElement)(n.Alert,{type:"warning"},Object(i.sprintf)( /* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */ Object(i._n)("Upon saving, this setting will apply to all of your %1$s. %1$s that are manually configured will be left untouched.","Upon saving, these settings will apply to all of your %1$s. %1$s that are manually configured will be left untouched.",this.props.articleType?2:1,"wordpress-seo"),this.props.postTypeName)),Object(r.createElement)(n.Select,{id:"schema-page-type-"+this.props.postType,name:"schema_page_type",options:this.props.pageTypeOptions,label:Object(i.__)("Default Page type","wordpress-seo"),onChange:this.props.pageType.onChange,selected:this.props.pageType.value,onOptionFocus:this.handleOptionFocus}),this.props.articleType&&Object(r.createElement)(n.Select,{id:"schema-article-type-"+this.props.postType,name:"schema_article_type",options:this.props.articleTypeOptions,label:Object(i.__)("Default Article type","wordpress-seo"),onChange:this.props.articleType.onChange,onOptionFocus:this.handleOptionFocus,selected:this.props.articleType.value}),this.showNewsSEOUpsell&&this.isNewsArticleSelected()&&Object(r.createElement)(n.Alert,{type:"info"},Object(i.sprintf)( /* translators: %s Expands to "Yoast SEO News" */ Object(i.__)("Are you publishing news articles? %s helps you optimize your site for Google News. Get %s now!","wordpress-seo"),"Yoast SEO News","Yoast SEO News")+" ",Object(r.createElement)(d,{href:this.newsSEOUpsellURL},Object(i.sprintf)( /* translators: %s: Expands to "Yoast News SEO". */ Object(i.__)("Get the %s plugin!","wordpress-seo"),"Yoast News SEO"))))}}const u=l.a.arrayOf(l.a.shape({name:l.a.string,value:l.a.string}));p.propTypes={postType:l.a.string.isRequired,postTypeName:l.a.string.isRequired,pageType:c.b.isRequired,articleType:c.b,pageTypeOptions:u.isRequired,articleTypeOptions:u.isRequired},p.defaultProps={articleType:null},t.a=Object(c.a)(e=>[{name:"pageType",fieldId:e.pageTypeFieldId},{name:"articleType",fieldId:e.articleTypeFieldId}])(p)},11:function(e,t){function a(){return e.exports=a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,a.apply(this,arguments)}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},117:function(e,t,a){"use strict";var r=a(3),i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,s=a(88),n=a(118),o=a(119),l="function"==typeof Symbol&&Symbol.iterator;function c(e,t){return e&&"object"==typeof e&&null!=e.key?(a=e.key,r={"=":"=0",":":"=2"},"$"+(""+a).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var a,r}var d=/\/+/g;function p(e){return(""+e).replace(d,"$&/")}var u,m,h=g,g=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function f(e,t,a,r){this.result=e,this.keyPrefix=t,this.func=a,this.context=r,this.count=0}function b(e,t,a){var i,n,o=e.result,l=e.keyPrefix,c=e.func,d=e.context,u=c.call(d,t,e.count++);Array.isArray(u)?y(u,o,a,s.thatReturnsArgument):null!=u&&(r.isValidElement(u)&&(i=u,n=l+(!u.key||t&&t.key===u.key?"":p(u.key)+"/")+a,u=r.cloneElement(i,{key:n},void 0!==i.props?i.props.children:void 0)),o.push(u))}function y(e,t,a,r,s){var o="";null!=a&&(o=p(a)+"/");var d=f.getPooled(t,o,r,s);!function(e,t,a){null==e||function e(t,a,r,s){var o,d=typeof t;if("undefined"!==d&&"boolean"!==d||(t=null),null===t||"string"===d||"number"===d||"object"===d&&t.$$typeof===i)return r(s,t,""===a?"."+c(t,0):a),1;var p=0,u=""===a?".":a+":";if(Array.isArray(t))for(var m=0;m<t.length;m++)p+=e(o=t[m],u+c(o,m),r,s);else{var h=function(e){var t=e&&(l&&e[l]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(h)for(var g,f=h.call(t),b=0;!(g=f.next()).done;)p+=e(o=g.value,u+c(o,b++),r,s);else if("object"===d){var y=""+t;n(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===y?"object with keys {"+Object.keys(t).join(", ")+"}":y,"")}}return p}(e,"",t,a)}(e,b,d),f.release(d)}f.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},u=function(e,t,a,r){if(this.instancePool.length){var i=this.instancePool.pop();return this.call(i,e,t,a,r),i}return new this(e,t,a,r)},(m=f).instancePool=[],m.getPooled=u||h,m.poolSize||(m.poolSize=10),m.release=function(e){n(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 o(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return o(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;n(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var a in e)y(e[a],t,a,s.thatReturnsArgument);return t}},118:function(e,t,a){"use strict";e.exports=function(e,t,a,r,i,s,n,o){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[a,r,i,s,n,o],d=0;(l=new Error(t.replace(/%s/g,(function(){return c[d++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},119:function(e,t,a){"use strict";var r=a(88);e.exports=r},12:function(e,t){e.exports=window.wp.components},120:function(e,t,a){"use strict";function r(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(r)}},130:function(e,t,a){"use strict";function r(e){let{alertKey:t}=e;return new Promise(e=>wpseoApi.post("alerts/dismiss",{key:t},()=>e()))}a.r(t),a.d(t,"DISMISS_ALERT",(function(){return r}))},131:function(e,t,a){"use strict";var r=a(0),i=a(1),s=a.n(i),n=a(8),o=a.n(n),l=a(7),c=a(10);const d=o()(l.StyledSection)` &${l.StyledSectionBase} { padding: 0; & ${l.StyledHeading} { ${Object(c.getDirectionalStyle)("padding-left","padding-right")}: 20px; margin-left: ${Object(c.getDirectionalStyle)("0","20px")}; } } `,p=e=>{let{children:t,title:a,icon:i,hasPaperStyle:s,shoppingData:n}=e;return Object(r.createElement)(d,{headingLevel:3,headingText:a,headingIcon:i,headingIconColor:"#555",hasPaperStyle:s,shoppingData:n},t)};p.propTypes={children:s.a.element,title:s.a.string,icon:s.a.string,hasPaperStyle:s.a.bool,shoppingData:s.a.object},p.defaultProps={hasPaperStyle:!0,shoppingData:null},t.a=p},133:function(e,t,a){"use strict";var r=a(14),i=a(6);const s=Object(r.compose)([Object(i.withSelect)((e,t)=>{const{isAlertDismissed:a}=e(t.store||"yoast-seo/editor");return{isAlertDismissed:a(t.alertKey)}}),Object(i.withDispatch)((e,t)=>{const{dismissAlert:a}=e(t.store||"yoast-seo/editor");return{onDismissed:()=>a(t.alertKey)}})]);t.a=s},139:function(e,t,a){"use strict";a.d(t,"a",(function(){return c}));var r=a(11),i=a.n(r),s=a(0),n=a(1),o=a.n(n),l=a(160);function c(e){let{id:t,onChange:a,socialMedium:r,isDisabled:n,...o}=e;const c=Object(s.useCallback)(e=>{a(e.target.value,"other"===r?o.index:r)},[r,o.index]);return Object(s.createElement)(l.a,i()({onChange:c,disabled:n,id:t},o))}c.propTypes={id:o.a.string.isRequired,onChange:o.a.func.isRequired,socialMedium:o.a.string,isDisabled:o.a.bool},c.defaultProps={socialMedium:"",isDisabled:!1}},14:function(e,t){e.exports=window.wp.compose},15:function(e,t){e.exports=window.yoast.styleGuide},160:function(e,t,a){"use strict";a.d(t,"a",(function(){return h}));var r=a(11),i=a.n(r),s=a(0),n=a(230),o=a(205),l=a(26),c=a.n(l),d=a(1),p=a(82),u=a(161);function m(e){let{hasError:t,hasSuccess:a}=e;return t?Object(s.createElement)("div",{className:"yst-flex yst-items-center yst-absolute yst-inset-y-0 yst-right-0 yst-mr-3"},Object(s.createElement)(n.a,{className:"yst-pointer-events-none yst-h-5 yst-w-5 yst-text-red-500"})):a?Object(s.createElement)("div",{className:"yst-flex yst-items-center yst-absolute yst-inset-y-0 yst-right-0 yst-mr-3"},Object(s.createElement)(o.a,{className:"yst-pointer-events-none yst-h-5 yst-w-5 yst-text-emerald-600"})):null}function h(e){let{className:t,id:a,label:r,description:n,value:o,onChange:l,placeholder:d,feedback:h,type:g,...f}=e;const b=g||"text",y=Object(s.useMemo)(()=>h.isVisible&&"error"===h.type,[h.isVisible,h.type]),w=Object(s.useMemo)(()=>h.isVisible&&"success"===h.type,[h.isVisible,h.type]);return Object(s.createElement)("div",{className:t},r&&Object(s.createElement)("label",{className:"yst-block yst-mb-2 yst-font-medium yst-text-slate-700",htmlFor:a},r),Object(s.createElement)("div",{className:"yst-relative"},Object(s.createElement)("input",i()({id:a,type:b,value:o,className:c()("yst-block yst-w-full yst-h-[45px] yst-input focus:yst-ring-1",{"yst-border-red-300 yst-text-red-900 focus:yst-ring-red-500 focus:yst-border-red-500":y,"yst-border-emerald-600 yst-text-slate-700 focus:yst-ring-emerald-600 focus:yst-border-emerald-600":w,"yst-text-slate-700 yst-border-slate-300 focus:yst-ring-primary-500 focus:yst-border-primary-500":!y&&!w}),onChange:l,placeholder:d},Object(p.b)(a,h),f)),Object(s.createElement)(m,{hasError:y,hasSuccess:w})),h.isVisible&&Object(s.createElement)(u.a,{id:`${y?"error-":"success-"}${a}`,className:c()("yst-mt-2 yst-text-sm",{"yst-text-red-600":y,"yst-text-emerald-600":w}),texts:h.message}),n)}m.propTypes={hasError:d.PropTypes.bool,hasSuccess:d.PropTypes.bool},m.defaultProps={hasError:!1,hasSuccess:!1},h.propTypes={className:d.PropTypes.string,id:d.PropTypes.string.isRequired,label:d.PropTypes.string,description:d.PropTypes.node,value:d.PropTypes.string,onChange:d.PropTypes.func.isRequired,placeholder:d.PropTypes.string,feedback:d.PropTypes.shape({type:d.PropTypes.string,message:d.PropTypes.array,isVisible:d.PropTypes.bool}),type:d.PropTypes.string},h.defaultProps={value:"",className:"",label:"",description:null,placeholder:"",feedback:{message:[],isVisible:!1},type:"text"}},161:function(e,t,a){"use strict";var r=a(11),i=a.n(r),s=a(0),n=a(1),o=a.n(n),l=a(4);const c=e=>{let{texts:t,id:a,as:r,...n}=e;const o=Object(s.useMemo)(()=>Object(l.last)(t),[t]);return Object(s.createElement)(r,i()({id:a},n),t.map((e,t)=>Object(s.createElement)(s.Fragment,{key:`${a}-text-${t}`},e,o!==e&&Object(s.createElement)("br",null))))};c.defaultProps={as:"p"},c.propTypes={texts:o.a.arrayOf(o.a.string).isRequired,id:o.a.string.isRequired,as:o.a.oneOfType([o.a.string,o.a.elementType])},t.a=c},162:function(e,t,a){"use strict";a.d(t,"a",(function(){return h}));var r=a(0),i=a(1),s=a.n(i),n=a(11),o=a.n(n),l=a(7),c=a(10),d=a(46);const p=e=>{let{hiddenField:t,hiddenFieldImageId:a,hiddenFieldFallbackImageId:i,hasImageValidation:s,...n}=e;const[p,u]=Object(r.useState)(null!==document.getElementById(i)),m=Object(r.useMemo)(()=>document.getElementById(t)),h=Object(r.useMemo)(()=>document.getElementById(a));let g=null;g=i&&document.getElementById(i)?Object(r.useMemo)(()=>document.getElementById(i)):h;const[f,b]=Object(r.useState)({url:m?m.value:"",id:g?parseInt(g.value,10):"",alt:""}),[y,w]=Object(r.useState)([]),v=Object(r.useCallback)(e=>{m&&(m.value=e.url),g&&(g.value=e.id)}),E=Object(r.useCallback)(()=>Object(d.b)(e=>{g=h,b(e),v(e),s&&w(Object(c.validateFacebookImage)(e)),u(!1)}),[s,v]),O=Object(r.useCallback)(()=>{g=h;const e={url:"",id:"",alt:""};b(e),v(e),w([]),u(!0)},[v]);return Object(r.useEffect)(()=>{f.id&&!f.alt&&Object(d.a)(f.id).then(e=>b(e))},[f]),Object(r.createElement)(l.ImageSelect,o()({},n,{usingFallback:p,imageUrl:f.url,imageId:f.id,imageAltText:f.alt,onClick:E,onRemoveImageClick:O,warnings:y}))};p.propTypes={hiddenField:s.a.string.isRequired,hiddenFieldImageId:s.a.string,hiddenFieldFallbackImageId:s.a.string,hasImageValidation:s.a.bool},p.defaultProps={hiddenFieldImageId:"",hiddenFieldFallbackImageId:"",hasImageValidation:!1};var u=p,m=a(41);function h(e){let{target:t,label:a,hasPreview:i,hiddenField:s,hiddenFieldImageId:n,hiddenFieldFallbackImageId:o,selectImageButtonId:l,replaceImageButtonId:c,removeImageButtonId:d,hasNewBadge:p,isDisabled:h,hasPremiumBadge:g,hasImageValidation:f}=e;return Object(r.createElement)(m.a,{target:t},Object(r.createElement)(u,{label:a,hasPreview:i,hiddenField:s,hiddenFieldImageId:n,hiddenFieldFallbackImageId:o,selectImageButtonId:l,replaceImageButtonId:c,removeImageButtonId:d,hasNewBadge:p,isDisabled:h,hasPremiumBadge:g,hasImageValidation:f}))}h.propTypes={target:s.a.string.isRequired,label:s.a.string.isRequired,hasPreview:s.a.bool.isRequired,hiddenField:s.a.string.isRequired,hiddenFieldImageId:s.a.string,hiddenFieldFallbackImageId:s.a.string,selectImageButtonId:s.a.string,replaceImageButtonId:s.a.string,removeImageButtonId:s.a.string,hasNewBadge:s.a.bool,isDisabled:s.a.bool,hasPremiumBadge:s.a.bool,hasImageValidation:s.a.bool},h.defaultProps={hiddenFieldImageId:"",hiddenFieldFallbackImageId:"",selectImageButtonId:"",replaceImageButtonId:"",removeImageButtonId:"",hasNewBadge:!1,isDisabled:!1,hasPremiumBadge:!1,hasImageValidation:!1}},17:function(e,t){e.exports=window.jQuery},171:function(e,t,a){"use strict";a.d(t,"a",(function(){return o}));var r=a(2),i=a(95),s=a.n(i),n=a(4);function o(e){function t(t){var a=!1,r="",i=[],n=["userid","name","user_description"],o=["date"],l=["title","parent_title","excerpt","excerpt_only","caption","focuskw","pt_single","pt_plural","modified","id"],c=["term404","searchphrase"],d=["term_title","term_description"],p=["category","category_description","tag","tag_description"];t.hasClass("posttype-template")?i=i.concat(c,d):t.hasClass("homepage-template")?i=i.concat(n,o,l,c,d,p):t.hasClass("taxonomy-template")?i=i.concat(n,o,l,c):t.hasClass("author-template")?i=i.concat(l,o,c,d,p):t.hasClass("date-template")?i=i.concat(n,l,c,d,p):t.hasClass("search-template")?i=i.concat(n,o,l,d,p,["term404"]):t.hasClass("error404-template")&&(i=i.concat(n,o,l,d,p,["searchphrase"])),e.each(i,(function(i,n){if(r=t.attr("id")+"-"+n+"-warning",-1!==t.val().search("%%"+n+"%%")){t.addClass("wpseo-variable-warning-element");var o=wpseoAdminGlobalL10n.variable_warning.replace("%s","%%"+n+"%%");e("#"+r).length?e("#"+r).html(o):t.after(' <div id="'+r+'" class="wpseo-variable-warning">'+o+"</div>"),s()(wpseoAdminGlobalL10n.variable_warning.replace("%s",n),"assertive"),a=!0}else e("#"+r).length&&e("#"+r).remove()})),!1===a&&t.removeClass("wpseo-variable-warning-element")}function a(){e("#copy-home-meta-description").on("click",(function(){e("#open_graph_frontpage_desc").val(e("#meta_description").val())}))}function i(){var t=e("#wpseo-conf");if(t.length){var a=t.attr("action").split("#")[0];t.attr("action",a+window.location.hash)}}function o(){var t=window.location.hash.replace("#top#","");-1!==t.search("#top")&&(t=window.location.hash.replace("#top%23","")),""!==t&&"#"!==t.charAt(0)||(t=e(".wpseotab").attr("id")),e("#"+t).addClass("active"),e("#"+t+"-tab").addClass("nav-tab-active").trigger("click")}function l(t){const a=e("#noindex-author-noposts-wpseo-container");t?a.show():a.hide()}e.fn._wpseoIsInViewport=function(){const t=e(this).offset().top,a=t+e(this).outerHeight(),r=e(window).scrollTop(),i=r+e(window).height();return t>r&&a<i},e(window).on("hashchange",(function(){o(),i()})),window.wpseoDetectWrongVariables=t,window.setWPOption=function(t,a,r,i){e.post(ajaxurl,{action:"wpseo_set_option",option:t,newval:a,_wpnonce:i},(function(t){t&&e("#"+r).hide()}))},window.wpseoCopyHomeMeta=a,window.wpseoSetTabHash=i,e(document).ready((function(){i(),e("#disable-author input[type='radio']").on("change",(function(){e(this).is(":checked")&&e("#author-archives-titles-metas-content").toggle("off"===e(this).val())})).trigger("change");const s=e("#noindex-author-wpseo-off"),c=e("#noindex-author-wpseo-on");s.is(":checked")||l(!1),c.on("change",()=>{e(this).is(":checked")||l(!1)}),s.on("change",()=>{e(this).is(":checked")||l(!0)}),e("#disable-date input[type='radio']").on("change",(function(){e(this).is(":checked")&&e("#date-archives-titles-metas-content").toggle("off"===e(this).val())})).trigger("change"),e("#disable-attachment input[type='radio']").on("change",(function(){e(this).is(":checked")&&e("#media_settings").toggle("off"===e(this).val())})).trigger("change"),e("#disable-post_format").on("change",(function(){e("#post_format-titles-metas").toggle(e(this).is(":not(:checked)"))})).trigger("change"),e("#zapier_integration_active input[type='radio']").on("change",(function(){e(this).is(":checked")&&e("#zapier-connection").toggle("on"===e(this).val())})).trigger("change"),e("#wincher_integration_active input[type='radio']").change((function(){e(this).is(":checked")&&e("#wincher-connection").toggle("on"===e(this).val())})).change(),e("#wpseo-tabs").find("a").on("click",(function(t){var a,i,s,n=!0;if(a=e(this),i=!!e("#first-time-configuration-tab").filter(".nav-tab-active").length,s=!!a.filter("#first-time-configuration-tab").length,i&&!s&&window.isStepBeingEdited&&(n=confirm(Object(r.__)("There are unsaved changes in one or more steps. Leaving means that those changes may not be saved. Are you sure you want to leave?","wordpress-seo"))),n){window.isStepBeingEdited=!1,e("#wpseo-tabs").find("a").removeClass("nav-tab-active"),e(".wpseotab").removeClass("active");var o=e(this).attr("id").replace("-tab",""),l=e("#"+o);l.addClass("active"),e(this).addClass("nav-tab-active"),l.hasClass("nosave")?e("#wpseo-submit-container").hide():e("#wpseo-submit-container").show(),e(window).trigger("yoast-seo-tab-change"),"first-time-configuration"===o?e("#yoast-first-time-configuration-notice").slideUp():e("#yoast-first-time-configuration-notice").slideDown()}else t.preventDefault(),e("#first-time-configuration-tab").trigger("focus")})),e("#yoast-first-time-configuration-notice a").on("click",(function(){e("#first-time-configuration-tab").click()})),e("#company_or_person").on("change",(function(){var t=e(this).val();"company"===t?(e("#knowledge-graph-company").show(),e("#knowledge-graph-person").hide()):"person"===t?(e("#knowledge-graph-company").hide(),e("#knowledge-graph-person").show()):(e("#knowledge-graph-company").hide(),e("#knowledge-graph-person").hide())})).trigger("change"),e(".template").on("input",(function(){t(e(this))})),e(".switch-yoast-seo input").on("keydown",(function(e){"keydown"===e.type&&13===e.which&&e.preventDefault()})),e("body").on("click","button.toggleable-container-trigger",t=>{const a=e(t.currentTarget),r=a.parent().siblings(".toggleable-container");r.toggleClass("toggleable-container-hidden"),a.attr("aria-expanded",!r.hasClass("toggleable-container-hidden")).find("span").toggleClass("dashicons-arrow-up-alt2 dashicons-arrow-down-alt2")});const d=e("#opengraph"),p=e("#wpseo-opengraph-settings");d.length&&p.length&&(p.toggle(d[0].checked),d.on("change",e=>{p.toggle(e.target.checked)})),a(),o(),e("#breadcrumbs select").select2({width:"400px",language:wpseoScriptData.userLanguageCode}),function(){if(!e("#enable_xml_sitemap input[type=radio]").length)return;const t=e("#yoast-seo-sitemaps-disabled-warning");e("#enable_xml_sitemap input[type=radio]").on("change",(function(){"off"===this.value?t.show():t.hide()}))}(),function(){const t=e("#wpseo-submit-container-float"),a=e("#wpseo-submit-container-fixed");if(!t.length||!a.length)return;function r(){t._wpseoIsInViewport()?a.hide():a.show()}e(window).on("resize scroll",Object(n.debounce)(r,100)),e(window).on("yoast-seo-tab-change",r);const i=e(".wpseo-message");i.length&&window.setTimeout(()=>{i.fadeOut()},5e3),r()}(),"undefined"!=typeof ClipboardJS&&new ClipboardJS("#copy-zapier-api-key").on("success",(function(t){t.clearSelection(),e(t.trigger).trigger("focus")}))}))}},172:function(e,t,a){"use strict";function r(e){e(document).ready((function(e){void 0!==wp.media&&e(".wpseo_image_upload_button").each((function(t,a){const r=function(t){let a=(t=e(t)).data("target");return a&&""!==a||(a=e(t).attr("id").replace(/_button$/,"")),a}(a),i=e(a).data("target-id"),s=e("#"+r),n=e("#"+i);var o=wp.media.frames.file_frame=wp.media({title:wpseoScriptData.media.choose_image,button:{text:wpseoScriptData.media.choose_image},multiple:!1,library:{type:"image"}});o.on("select",(function(){var e=o.state().get("selection").first().toJSON();s.val(e.url),n.val(e.id)}));const l=e(a);l.click((function(e){e.preventDefault(),o.open()})),l.siblings(".wpseo_image_remove_button").on("click",e=>{e.preventDefault(),s.val(""),n.val("")})}))}))}a.d(t,"a",(function(){return r}))},174:function(e,t,a){"use strict";var r=a(11),i=a.n(r),s=a(0),n=a(2),o=a(6),l=a(1),c=a.n(l),d=a(133);const p=e=>{let{children:t,id:a,hasIcon:r=!0,title:i,image:o=null,isAlertDismissed:l,onDismissed:c}=e;return l?null:Object(s.createElement)("div",{id:a,className:"notice-yoast yoast is-dismissible"},Object(s.createElement)("div",{className:"notice-yoast__container"},Object(s.createElement)("div",null,Object(s.createElement)("div",{className:"notice-yoast__header"},r&&Object(s.createElement)("span",{className:"yoast-icon"}),Object(s.createElement)("h2",{className:"notice-yoast__header-heading"},i)),Object(s.createElement)("p",null,t)),o&&Object(s.createElement)(o,{height:"60"})),Object(s.createElement)("button",{className:"notice-dismiss",onClick:c},Object(s.createElement)("span",{className:"screen-reader-text"},Object(n.__)("Dismiss this notice.","wordpress-seo"))))};p.propTypes={children:c.a.node.isRequired,id:c.a.string.isRequired,hasIcon:c.a.bool,title:c.a.string.isRequired,image:c.a.elementType,isAlertDismissed:c.a.bool.isRequired,onDismissed:c.a.func.isRequired};var u,m,h,g,f,b,y,w,v,E,O,j,x,_,R,S,I,k,P,T,C,M,F,L,A,D,V,q,z,N,U,B,H,$,W,G,Y,K,J,Q,X,Z,ee,te,ae,re,ie,se=Object(d.a)(p),ne=a(3);function oe(){return(oe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}function le(e){return ne.createElement("svg",oe({"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 360"},e),u||(u=ne.createElement("circle",{cx:226,cy:211,r:149,fill:"#f0ecf0"})),m||(m=ne.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"})),h||(h=ne.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"})),g||(g=ne.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"})),f||(f=ne.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"})),b||(b=ne.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"})),y||(y=ne.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"})),w||(w=ne.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"})),v||(v=ne.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"})),E||(E=ne.createElement("path",{d:"M240.68 143.9c-11.49-5.53-11.65-8.17-24.64-11.69-8.6-2.32-5.53 1-5.69 4.42-.2 4.16-1.26 9.87 4.9 12.66 9 4.09 18.16-6.02 25.43-5.39zm.7-40.9c-.16 1.26-.06 4.9 5.46 8.25 11.43-4.73 16.36-2.56 17-3.33 1.48-1.76-2-8.87-7.88-9.85-5.58-.94-14.14 1.24-14.58 4.93z",fill:"#fff"})),O||(O=ne.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"})),j||(j=ne.createElement("circle",{cx:254.13,cy:104.05,r:4.19,fill:"#000001"})),x||(x=ne.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"})),_||(_=ne.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"})),R||(R=ne.createElement("circle",{cx:219.55,cy:95.28,r:4,fill:"#000001"})),S||(S=ne.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"})),I||(I=ne.createElement("path",{d:"M231.22 69.91c-.67-3.41-8.78-2.83-11.06-1.93-3.48 1.39-6.08 5.22-7.13 8.53 2.9-4.3 6.74-8.12 12.46-6 1.16.42 3.18 2.35 4.48 1.85s1.03-2.2 1.25-2.45zm32.16 8.56c-2.75-1.66-12.24-5.08-12.18.82 2.56.24 5-.19 7.64.95 11.22 4.76 12.77 17.61 12.85 17.86.2-.53.1 1.26.23.7-.02.2.95-12.12-8.54-20.33z",fill:"#a57c52"})),k||(k=ne.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"})),P||(P=ne.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"})),T||(T=ne.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"})),C||(C=ne.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"})),M||(M=ne.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"})),F||(F=ne.createElement("path",{d:"M39 74.4c4.83 1.1 12.52 6.44 15.89 10-3.22-1.34-14.73-6.15-15.89-10zm.62-1.5c6.71-.79 18 1.54 23.29 5.9-3.85-.2-5.42-1.48-9-2.94-4.08-1.69-8.83-2.03-14.29-2.96zm46.43 14.58c-3.72-1.32-10.52-1.13-13.22 3.52 2-1.16 1.84-2.11 4.18-1.72-3.81-4.15 8.16-.74 11.6-.24m-2.78 13.15c.56-3.29-8-7.81-10.58-9.17-6.25-3.29-12.16 1.36-19.33-4.53 5.94 6.1 14.23 2.5 19.55 5.76 3.06 1.88 8.65 6.09 9.35 9.38-.23-.4 1.29-1.44 1.01-1.44z",fill:"#efb17c"})),L||(L=ne.createElement("circle",{cx:38.13,cy:30.03,r:3.14,fill:"#b89ac8"})),A||(A=ne.createElement("circle",{cx:60.26,cy:39.96,r:3.14,fill:"#e31e0c"})),D||(D=ne.createElement("circle",{cx:50.29,cy:25.63,r:3.14,fill:"#3baa45"})),V||(V=ne.createElement("circle",{cx:22.19,cy:19.21,r:3.14,fill:"#2ca9e1"})),q||(q=ne.createElement("circle",{cx:22.19,cy:30.03,r:3.14,fill:"#e31e0c"})),z||(z=ne.createElement("circle",{cx:26.86,cy:8.28,r:3.14,fill:"#3baa45"})),N||(N=ne.createElement("circle",{cx:49.32,cy:39.99,r:3.14,fill:"#e31e0c"})),U||(U=ne.createElement("circle",{cx:63.86,cy:59.52,r:3.14,fill:"#f8ad39"})),B||(B=ne.createElement("circle",{cx:50.88,cy:50.72,r:3.14,fill:"#3baa45"})),H||(H=ne.createElement("circle",{cx:63.47,cy:76.17,r:3.14,fill:"#e31e0c"})),$||($=ne.createElement("circle",{cx:38.34,cy:14.83,r:3.14,fill:"#2ca9e1"})),W||(W=ne.createElement("circle",{cx:44.44,cy:5.92,r:3.14,fill:"#f8ad39"})),G||(G=ne.createElement("circle",{cx:57.42,cy:10.24,r:3.14,fill:"#e31e0c"})),Y||(Y=ne.createElement("circle",{cx:66.81,cy:12.4,r:3.14,fill:"#2ca9e1"})),K||(K=ne.createElement("circle",{cx:77.95,cy:5.14,r:3.14,fill:"#b89ac8"})),J||(J=ne.createElement("circle",{cx:77.95,cy:30.34,r:3.14,fill:"#e31e0c"})),Q||(Q=ne.createElement("circle",{cx:80.97,cy:16.55,r:3.14,fill:"#f8ad39"})),X||(X=ne.createElement("circle",{cx:62.96,cy:27.27,r:3.14,fill:"#3baa45"})),Z||(Z=ne.createElement("circle",{cx:75.36,cy:48.67,r:3.14,fill:"#2ca9e1"})),ee||(ee=ne.createElement("circle",{cx:76.11,cy:65.31,r:3.14,fill:"#3baa45"})),te||(te=ne.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"})),ae||(ae=ne.createElement("path",{d:"M67.75 251.08c0-4.65 10.13-72.65 10.13-72.65h2.8l-9.09 72.3z",fill:"#074a67"})),re||(re=ne.createElement("ellipse",{cx:255.38,cy:103.18,rx:1.84,ry:1.77,fill:"#fff"})),ie||(ie=ne.createElement("ellipse",{cx:221.24,cy:94.75,rx:1.84,ry:1.77,fill:"#fff"})))}const ce=e=>{let{store:t="yoast-seo/editor",image:a=le,url:r,...l}=e;return Object(o.useSelect)(e=>e(t).getIsPremium())?null:Object(s.createElement)(se,i()({alertKey:"webinar-promo-notification",store:t,id:"webinar-promo-notification",title:Object(n.__)("Get the most out of Yoast SEO","wordpress-seo"),image:a,url:r},l),Object(n.__)("Want to optimize even further with the help of our SEO experts? Sign up for our free weekly webinar!","wordpress-seo")," ",Object(s.createElement)("a",{href:r,target:"_blank",rel:"noreferrer"},Object(n.__)("Register now!","wordpress-seo")))};ce.propTypes={store:c.a.string,image:c.a.elementType,url:c.a.string.isRequired},t.a=ce},19:function(e,t){e.exports=window.yoast.externals.redux},2:function(e,t){e.exports=window.wp.i18n},205:function(e,t,a){"use strict";var r=a(3);const i=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",clipRule:"evenodd"}))}));t.a=i},206:function(e,t,a){"use strict";var r=a(3);const i=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"}))}));t.a=i},21:function(e,t,a){"use strict";a.d(t,"b",(function(){return i})),a.d(t,"a",(function(){return s}));var r=a(0);function i(e){return e.charAt(0).toUpperCase()+e.slice(1)}function s(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(r.createInterpolateElement)(e,{a:Object(r.createElement)("a",{id:a,href:t,target:"_blank",rel:"noopener noreferrer"})})}},216:function(e,t,a){"use strict";a.d(t,"b",(function(){return u})),a.d(t,"a",(function(){return m}));var r=a(0),i=a(2),s=a(1),n=a.n(s),o=a(237),l=a(238);const c=e=>{let{items:t,onAddProfile:a,onRemoveProfile:s,onChangeProfile:n,errorFields:c,fieldType:d,addButtonChildren:p}=e;const u=Object(r.useCallback)(e=>{s(parseInt(e.currentTarget.dataset.index,10))},[s]);return Object(r.createElement)("div",null,t.map((e,t)=>Object(r.createElement)("div",{key:"url-"+t},Object(r.createElement)("div",{className:"yst-flex yst-flex-row yst-items-start yst-mt-4"},Object(r.createElement)(d,{className:"yst-w-full",label:Object(i.__)("Other social profile","wordpress-seo"),id:"social-input-other-url-"+t,value:e,socialMedium:"other",index:t,onChange:n,placeholder:Object(i.__)("E.g. https://social-platform.com/yoast","wordpress-seo"),feedback:{type:"error",isVisible:c.includes("other_social_urls-"+t),message:[Object(i.__)("Could not save this value. Please check the URL.","wordpress-seo")]}}),Object(r.createElement)("button",{type:"button",className:"yst-mt-[27.5px] yst-ml-2 yst-p-3 yst-text-slate-500 yst-rounded-md hover:yst-text-primary-500 focus:yst-text-primary-500 focus:yst-outline-none focus:yst-ring-2 focus:yst-ring-primary-500 yst-no-underline;",id:"remove-profile-"+t,"data-index":t,onClick:u},Object(r.createElement)("span",{className:"yst-sr-only"},Object(i.__)("Delete item","wordpress-seo")),Object(r.createElement)(o.a,{className:"yst-relative yst--top-0.5 yst-w-5 yst-h-5"}))))),Object(r.createElement)("button",{type:"button",id:"add-profile",className:"yst-button yst-button--secondary yst-items-center yst-mt-8",onClick:a},Object(r.createElement)(l.a,{className:"yst-w-5 yst-h-5 yst-mr-1 yst-text-slate-400"}),p))};c.propTypes={fieldType:s.PropTypes.elementType.isRequired,items:s.PropTypes.array.isRequired,onAddProfile:s.PropTypes.func.isRequired,onRemoveProfile:s.PropTypes.func.isRequired,onChangeProfile:s.PropTypes.func.isRequired,errorFields:s.PropTypes.array,addButtonChildren:s.PropTypes.node},c.defaultProps={errorFields:[],addButtonChildren:Object(i.__)("Add another profile","wordpress-seo")};var d=c,p=a(139);function u(e){let{socialProfiles:t,errorFields:a,dispatch:i}=e;const s=Object(r.useCallback)((e,t)=>{i({type:"CHANGE_SOCIAL_PROFILE",payload:{socialMedium:t,value:e}})},[]),n=Object(r.useCallback)((e,t)=>{i({type:"CHANGE_OTHERS_SOCIAL_PROFILE",payload:{index:t,value:e}})},[]),o=Object(r.useCallback)(()=>{i({type:"ADD_OTHERS_SOCIAL_PROFILE",payload:{value:""}})},[]),l=Object(r.useCallback)(e=>{i({type:"REMOVE_OTHERS_SOCIAL_PROFILE",payload:{index:e}})},[]);return Object(r.createElement)(m,{socialProfiles:t,onChangeHandler:s,onChangeOthersHandler:n,onAddProfileHandler:o,onRemoveProfileHandler:l,errorFields:a})}function m(e){let{socialProfiles:t,onChangeHandler:a,onChangeOthersHandler:s,onAddProfileHandler:n,onRemoveProfileHandler:o,errorFields:l}=e;return Object(r.createElement)("div",{id:"social-input-section"},Object(r.createElement)(p.a,{className:"yst-mt-4",label:Object(i.__)("Facebook","wordpress-seo"),id:"social-input-facebook-url",value:t.facebookUrl,socialMedium:"facebookUrl",onChange:a,placeholder:Object(i.__)("E.g. https://www.facebook.com/yoast","wordpress-seo"),feedback:{message:[Object(i.__)("Could not save this value. Please check the URL.","wordpress-seo")],isVisible:l.includes("facebook_site"),type:"error"}}),Object(r.createElement)(p.a,{className:"yst-mt-4",label:Object(i.__)("Twitter","wordpress-seo"),id:"social-input-twitter-url",value:t.twitterUsername,socialMedium:"twitterUsername",onChange:a,placeholder:Object(i.__)("E.g. https://www.twitter.com/yoast","wordpress-seo"),feedback:{message:[Object(i.__)("Could not save this value. Please check the URL or username.","wordpress-seo")],isVisible:l.includes("twitter_site"),type:"error"}}),Object(r.createElement)(d,{items:t.otherSocialUrls,onAddProfile:n,onRemoveProfile:o,onChangeProfile:s,errorFields:l,fieldType:p.a}))}u.propTypes={socialProfiles:n.a.object.isRequired,dispatch:n.a.func.isRequired,errorFields:n.a.array},u.defaultProps={errorFields:[]},m.propTypes={socialProfiles:n.a.object.isRequired,onChangeHandler:n.a.func.isRequired,onChangeOthersHandler:n.a.func.isRequired,onAddProfileHandler:n.a.func.isRequired,onRemoveProfileHandler:n.a.func.isRequired,errorFields:n.a.array.isRequired}},22:function(e,t){e.exports=window.wp.apiFetch},230:function(e,t,a){"use strict";var r=a(3);const i=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z",clipRule:"evenodd"}))}));t.a=i},237:function(e,t,a){"use strict";var r=a(3);const i=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"}))}));t.a=i},238:function(e,t,a){"use strict";var r=a(3);const i=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{fillRule:"evenodd",d:"M10 3a1 1 0 011 1v5h5a1 1 0 110 2h-5v5a1 1 0 11-2 0v-5H4a1 1 0 110-2h5V4a1 1 0 011-1z",clipRule:"evenodd"}))}));t.a=i},247:function(e,t){e.exports=window.yoast.reactSelectAsync},248:function(e,t){e.exports=window.lodash.map},26:function(e,t,a){var r;!function(){"use strict";var a={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var s=typeof r;if("string"===s||"number"===s)e.push(r);else if(Array.isArray(r)&&r.length){var n=i.apply(null,r);n&&e.push(n)}else if("object"===s)for(var o in r)a.call(r,o)&&r[o]&&e.push(o)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},27:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="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},i=o(a(3)),s=o(a(117)),n=o(a(120));function o(e){return e&&e.__esModule?e:{default:e}}var l=void 0;t.default=function(e){var t=e.mixedString,a=e.components,o=e.throwErrors;if(l=t,!a)return t;if("object"!==(void 0===a?"undefined":r(a))){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var c=(0,n.default)(t);try{return function e(t,a){var n,o,c,d,p,u,m,h,g=[],f={};for(u=0;u<t.length;u++)if("string"!==(p=t[u]).type){if(!a.hasOwnProperty(p.value)||void 0===a[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(a[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+l);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){n=a[p.value],c=u;break}g.push(a[p.value])}else g.push(p.value);return n&&(d=function(e,t){var a,r,i=t[e],s=0;for(r=e+1;r<t.length;r++)if((a=t[r]).value===i.value){if("componentOpen"===a.type){s++;continue}if("componentClose"===a.type){if(0===s)return r;s--}}throw new Error("Missing closing component token `"+i.value+"`")}(c,t),m=e(t.slice(c+1,d),a),o=i.default.cloneElement(n,{},m),g.push(o),d<t.length-1&&(h=e(t.slice(d+1),a),g=g.concat(h))),1===g.length?g[0]:(g.forEach((function(e,t){e&&(f["interpolation-child-"+t]=e)})),(0,s.default)(f))}(c,a)}catch(e){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},288:function(e,t,a){"use strict";a.r(t);var r=a(64),i=a.n(r),s=a(17),n=a.n(s),o=a(171),l=a(172),c=a(0),d=a(12),p=a(8),u=a.n(p),m=a(1),h=a.n(m),g=a(2),f=a(27),b=a.n(f),y=a(7),w=a(10);const v=Object(w.makeOutboundLink)(),E=e=>Object(c.createElement)(y.Alert,{type:e.type},[b()({mixedString:Object(g.sprintf)(e.message,"{{link}}","{{/link}}"),components:{link:Object(c.createElement)(v,{href:e.link})}})]);E.propTypes={type:h.a.oneOf(["error","info","success","warning"]),message:h.a.string.isRequired,link:h.a.string.isRequired},E.defaultProps={type:"info"};var O=E,j=a(41);function x(e){let{target:t,message:a,link:r}=e;return Object(c.createElement)(j.a,{target:t},Object(c.createElement)(O,{message:a,link:r}))}x.propTypes={target:h.a.string.isRequired,message:h.a.string.isRequired,link:h.a.string.isRequired};var _,R,S,I,k,P,T,C,M,F,L,A,D,V,q,z,N,U,B,H,$,W,G,Y,K,J,Q,X,Z,ee,te,ae,re,ie,se,ne,oe,le,ce,de,pe,ue,me,he,ge=a(162),fe=a(3);function be(){return(be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}const ye=u.a.div` display: flex; flex-direction: row; max-width: 600px; margin: 16px 0; padding: 20px 28px; position: relative; z-index: 1; &:before { content: ""; background-image: url(${e=>e.backgroundUrl}); background-size: 100% 100%; transform: ${Object(w.getDirectionalStyle)("","scaleX(-1)")}; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: -1; } `,we=u()((function(e){return fe.createElement("svg",be({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 152 176","aria-hidden":"true"},e),_||(_=fe.createElement("path",{fill:"#af7e48",d:"M137.57 99.31c.61 0 7 5.83 7 5.83l.4 6c-1.49 1.68-3 1.2-5.43 4.22s-6.43-2.82-6.43-2.82l5.23-4.82z"})),R||(R=fe.createElement("path",{fill:"#c69b65",d:"M142.49 96.4c1.12-.91 6.14 1.1 7.35 2.91s1.81 6 1.81 6a62.1 62.1 0 00-3.62 5.43c-.8 1.61-2.82 1-4-1.2s.6-4.43.6-4.43l-4.83-2.21zM140 82.62c-1.41 0-4 4.22-6.24 4.82s-9.65 3.22-9.65 3.22l3 5.43 11.07-1s3.41-5.23 3.82-7.65-.61-4.82-2-4.82z"})),S||(S=fe.createElement("path",{fill:"#af7e48",d:"M58.79 34.92c2.15 3.14 3.37 6 4.94 5s2.89-5.73.74-8.87-5.18-4.83-6.74-3.76-1.1 4.48 1.06 7.63z"})),I||(I=fe.createElement("path",{fill:"#181716",d:"M48.41 15.34s2.76-1 3.27-.26 6.78 6.28 8 11-.25 5.27-.5 4.52-9-12.55-9-12.55z"})),k||(k=fe.createElement("path",{fill:"#c6d8ee",d:"M53.43 156.44c-1.25-.5-31.13.76-31.13-.25s-6-64.27-6-64.27c8.81-14.18 23.25-19.64 49.9-22.58l22.16 14 8.29 72.81z"})),P||(P=fe.createElement("path",{fill:"#738498",d:"M33.08 136.37s6.58-.11 6.62-.13c-1.13 1.48-2.72 2-3.76 3.75 2 1.39 6.58-.71 9 .13-1.84-.13-8.68 3.43-10.51 3.41.93 5.09 9.86 4.65 13 2.89-1.42 1.77-2.11 6.05-2.78 8.26-2.84-2.13-19.16-3.16-25.55-7.78 2.28-4.75 4.72-9.84 6.63-14.8 2-5.12 7-5.34 9.68-10.06.46-.8-.42-11.17-.54-11.5 1.76 3.5 3.29 8.79 3 12.71.55-1.52 3-2.48 4.48-3 .83 3.56.56-7.25-9.27 16.12z"})),T||(T=fe.createElement("path",{fill:"#c6d8ee",d:"M67.38 69c.5.5 17 2.17 22.63 4.53 11.46 4.82 5.73 22.92 17.16 27.13 3.8 1.41 19.58-2.51 19.58-2.51l3.77 15.85c-14.13 9.14-27.5 12.4-40.18 10.29L69.25 88.9z"})),C||(C=fe.createElement("path",{fill:"#c69b65",d:"M60.46 56.51c.51 2 8.29 29.63 8.29 29.63L51.68 96.69 29.83 80.62 26.57 62z"})),M||(M=fe.createElement("path",{fill:"#af7e48",d:"M28.93 67.13c-.79 2.68 7.27 6.66 9.47 7.53A61.27 61.27 0 0049 77.93c3.07.59 7.26 1.17 10.05-.5 4.16-2.5 4.07-9.45 2.71-13.53-3.21 2.21-7.61 1.82-11.44 2.16-7.17.63-14-.25-21.11-.14.08.69-.17 1.5-.08 2.19-.24-.05-.44-.18-.2-.98z"})),F||(F=fe.createElement("path",{fill:"#c6d8ee",d:"M62.47 64.05s-2.76 8.53-3.26 12.8 4 16.07 3.77 15.32 9.79-5.28 9.79-5.28z"})),L||(L=fe.createElement("path",{fill:"#c6d8ee",d:"M27.82 68.56c-2.26.51-1.5 1.76-2 5.28s.45 10.39.45 10.39l23.15 20L72 92.92l-14.51-4s-2.59-5.77-5.6-8.28-7.5 1.25-12.53-.76c-10.03-4.29-10.53-7.8-11.54-11.32z"})),A||(A=fe.createElement("path",{fill:"#738498",d:"M57.5 88.9a93.54 93.54 0 0126.78 6.21l-1.61 1.18c-4.78-2.16-14.19-4.15-23.48-6.43-.33-.08-10.52 16.74-15.14 23.33-.43.61 10.26 10.25 22.53 29.56-15.09-21.12-24.22-27.93-24.34-27.95C41.36 114.6 58 89 57.5 88.9z"})),D||(D=fe.createElement("path",{fill:"#565377",d:"M18.53 88.9l4.77-5a74.39 74.39 0 0130.39 26.36s24.15-16.67 24.6-17.32c1.82-2.63-13.89-25.12-15.57-23.6l4.52-.76c8.09 7.08 14 13.79 15.82 19.84C93.4 109.13 98.29 132 98.63 156.69L50.92 160H36.11c11.46-7 16.56-20.78 10.55-46.45C41 101.8 31.83 93.41 18.53 88.9z"})),V||(V=fe.createElement("path",{fill:"#c69b65",d:"M48.66 13.08c.76.5 17.83 24.1 19.84 31.38s-5.78 23.6-7.5 25.36-7.28 2.76-10.55 3-18.38-.75-23-6-12.85-33.9-12.85-33.9l2.26-8.79z"})),q||(q=fe.createElement("path",{fill:"#181716",d:"M29.53 54c-.75 2.14-2.27 2.27-4.26 1.83l-5.81-5.57-3.2-.58c-4.19-4.33-5.7-11.51-5-21 0 0 12.56-11.3 14.31-7.78s-3 13.56-3.26 17.07-.25 7.28-.25 7.28c-.16 1.38 5.09 5.49 7.47 8.75z"})),z||(z=fe.createElement("path",{fill:"#c6d8ee",d:"M39.8 25c4.05-2.29 12.09-6.14 10.59-11.2C49.94 12.28 45 1.45 43.22.2S24.06 4 20 6.55 5.23 17.09 5.23 19.85 10.22 31.23 11 32s25.06-4.87 28.8-7z"})),N||(N=fe.createElement("path",{fill:"#786857",d:"M98.88 168L45.4 154.69s55.74-63.78 56.49-63.53 48 .5 48 .5l1 3.27-44.69 69.3c-2.2 2.13-5.2 2.98-7.32 3.77z"})),U||(U=fe.createElement("path",{fill:"#614d41",d:"M45.15 154.18s49.12 9.58 49.46 10.3c3.77.5 6.78-.25 8.79-2l46.95-71.06.5 3.52-45.19 71.56c-.65 2.78-6.38 4.36-11.55 2.68s-48-12.23-48-12.23z"})),B||(B=fe.createElement("path",{fill:"#181716",d:"M43.64 69.57s6.7 6.76 11.47 6 6.09-.76 7.85-4c2.72-5.06.65-6.12-1.41-11.46L61 64.52l-2.47-2.62-.8 4.43-2.21-2.42-1 3.82-2.62-1.81v3.62l-4.22-1.81 1.41 3z"})),H||(H=fe.createElement("path",{fill:"#edb059",d:"M141.63 95.18c0 7.28-11 12.52-23 11.43-11.16-1-19.3-4.1-19.3-11.38s9.42-15.65 20.63-15.65c.57 0 1.15 0 1.73.06.78 1.39 2.66 1.31 4.72.83 8.43 2.34 15.22 8.86 15.22 14.71z"})),$||($=fe.createElement("path",{fill:"#af7e48",d:"M120.15 85.22c-3.75 1.64-6 6.68-8 10.13.39-3.76.7-7.91 3.81-11.23a19.75 19.75 0 00-10.69.72c1.56-1.31 5.41-3.39 13.06-2.87a9.21 9.21 0 013.35-2.32c.88.75 3.32 1 4.92.76a4.46 4.46 0 00-3.11 2.26c4.17.66 9.54 4.09 11.19 7.9-3.46-2.86-8.68-5.71-14.53-5.35z"})),W||(W=fe.createElement("path",{fill:"#edb059",d:"M125.54 116.56c0 8-12 13.68-25.19 12.48-12.19-1.1-21.08-4.47-21.08-12.42s10.29-17.11 22.53-17.11c.64 0 1.27 0 1.89.07.86 1.52 2.91 1.43 5.16.91 9.27 2.51 16.69 9.67 16.69 16.07z"})),G||(G=fe.createElement("path",{fill:"#cf8c33",d:"M79.21 116.62a13.2 13.2 0 012.38-7.92 23.41 23.41 0 016-5.91 25.34 25.34 0 017.72-3.51 24.67 24.67 0 018.47-.83h.61l.29.52a1.15 1.15 0 00.51.49 2.37 2.37 0 00.93.21 9.72 9.72 0 002.49-.27l.28-.06.24.07a30.79 30.79 0 015.88 2.41 26.89 26.89 0 015.14 3.71 18.73 18.73 0 014 4.94 11.22 11.22 0 011.5 6h-.13a11.48 11.48 0 00-1.85-5.75 20 20 0 00-4-4.58 28.62 28.62 0 00-10.77-5.63h.06a10.68 10.68 0 01-2.82.34 3.61 3.61 0 01-1.4-.31 2.41 2.41 0 01-1.08-1l.1.07a25 25 0 00-8.08.72 25.69 25.69 0 00-7.45 3.22 22.49 22.49 0 00-6 5.46 13.41 13.41 0 00-2.81 7.51z"})),Y||(Y=fe.createElement("path",{fill:"#af7e48",d:"M102.07 105.68c-4.09 1.79-6.58 7.3-8.72 11.06.43-4.1.77-8.63 4.16-12.27a21.71 21.71 0 00-11.68.79c1.71-1.43 5.92-3.7 14.27-3.14.56-.91 2.57-2.05 3.66-2.53 1 .82 3.63 1.1 5.37.83-1.85.59-2.62 1.11-3.39 2.47 4.56.72 10.43 4.47 12.23 8.64-3.81-3.13-9.49-6.24-15.9-5.85z"})),K||(K=fe.createElement("path",{fill:"#edb059",d:"M106.78 143.09c0 8.75-13.24 15-27.7 13.73-13.41-1.21-23.18-4.92-23.18-13.66s11.31-18.81 24.78-18.81c.69 0 1.38 0 2.07.08.94 1.66 3.2 1.57 5.67 1 10.2 2.8 18.36 10.63 18.36 17.66z"})),J||(J=fe.createElement("path",{fill:"#cf8c33",d:"M55.84 143.16a14.64 14.64 0 012.65-8.67A25.69 25.69 0 0165.1 128a27.89 27.89 0 018.46-3.83 27.12 27.12 0 019.28-.91l.61.06.29.52a1.35 1.35 0 00.61.57 2.68 2.68 0 001.07.25 10.48 10.48 0 002.76-.31l.28-.06.25.07a33.88 33.88 0 016.45 2.64 30.09 30.09 0 015.64 4.05 21 21 0 014.36 5.39 12.34 12.34 0 011.68 6.62h-.12a12.55 12.55 0 00-2-6.32 22.19 22.19 0 00-4.43-5 31.83 31.83 0 00-11.86-6.2h.06a11.89 11.89 0 01-3.09.38 3.92 3.92 0 01-1.54-.34 2.68 2.68 0 01-1.18-1.08l.1.06a27.44 27.44 0 00-8.89.8 28.7 28.7 0 00-8.2 3.54 24.88 24.88 0 00-6.6 6 14.84 14.84 0 00-3.09 8.26z"})),Q||(Q=fe.createElement("path",{fill:"#af7e48",d:"M81 131.13c-4.5 2-7.24 8-9.59 12.16.47-4.51.85-9.49 4.57-13.48-3.52-.89-9.46-.61-12.84.86 1.88-1.57 6.51-4.07 15.7-3.45.61-1 2.82-2.25 4-2.78 1 .9 4 1.21 5.91.91-2 .65-2.88 1.21-3.73 2.72 5 .79 11.46 4.91 13.44 9.49-4.19-3.44-10.46-6.86-17.46-6.43z"})),X||(X=fe.createElement("path",{fill:"#c6d8ee",d:"M50.5 153.36c-1.76-.76-19.41-6.71-19.41-6.71a4.65 4.65 0 00.5-3.77c-.75-1.75-3.26-1-3.26-1s7.5-11.47 7-21-19.06-28.96-19.06-28.96S6 108 4.47 114.26s.55 11.53.25 15.57c-1.5 20.34-9.29 25.16.43 32.69 9 7 39.75 10 39.75 10z"})),Z||(Z=fe.createElement("path",{fill:"#c6d8ee",d:"M57.7 154.51l-11.55-4.34c-3.37.48-11.35 20.51-8.28 23.67.52.54 12.84 3.82 14.38 1.08 3.06-5.42 5.45-20.41 5.45-20.41z"})),ee||(ee=fe.createElement("path",{fill:"#738498",d:"M50.74 173.92c1.79-2.79 2.4-6.58 3.21-9.78.54-2.11 1.58-6.19.21-8.24-3.03 1.45-5.83 17.9-3.42 18.02z"})),te||(te=fe.createElement("path",{fill:"#c69b65",d:"M53.86 155.16a43.75 43.75 0 005.85 1.28c1.26 0 4-2.83 5.8-3.59a15.89 15.89 0 016.15-1.43c2.26 0 5 2.43 6.71 2.91s4.68-.88 7.2-1.4c4.16-.86 2 6-2.08 7a23.14 23.14 0 01-6.35.5s5.92 3 4.42 5l9 2.69c-4 2.51-3.51 3.84-6 4.59S79 170 79 170s-1 2.51-3 2.51-4.27-1.25-5.52-.75-1.26 2.51-3.27 2.51-5.52-2.51-5.52-2.51l-6-6-5-.25c-.59-2.94.87-7.24 3.17-10.35z"})),ae||(ae=fe.createElement("path",{fill:"#fff",d:"M58.22 53.16a.57.57 0 00-.13-.63.57.57 0 00-.63-.11l-15.61 7a.34.34 0 00.14.65c3.33 0 11-.17 12.72-1.42 1.5-1.06 2.82-3.83 3.51-5.49zM40.83 41.59a4.77 4.77 0 00-6-2c-4 1.61-3 6.23-3 6.23 3.97-.27 7.31-1.3 9-4.23z"})),re||(re=fe.createElement("path",{fill:"#181716",d:"M40.8 41.61a6 6 0 00-2.91-1.67 4.86 4.86 0 00-3 .46 4.47 4.47 0 00-2.21 2.06 9 9 0 00-.83 3.34h-.08a6.89 6.89 0 01.29-3.6 4.57 4.57 0 012.48-2.6 4.94 4.94 0 013.58-.32 5.15 5.15 0 012.78 2.27z"})),ie||(ie=fe.createElement("path",{fill:"#fff",d:"M51.27 38.22s-1.19-4.48 2.23-5.48 5.29 2.18 5.29 2.18c-2.33 1.65-5.11 3.51-7.52 3.3z"})),se||(se=fe.createElement("path",{fill:"#181716",d:"M51.23 38.23a5.1 5.1 0 01-.56-3.33 3.75 3.75 0 01.77-1.72 3.82 3.82 0 011.61-1.09 4.43 4.43 0 015.77 2.8h-.07a5.3 5.3 0 00-2.36-2 4.2 4.2 0 00-3.06 0 3 3 0 00-1.29.82 3.37 3.37 0 00-.72 1.36 6.5 6.5 0 000 3.13zm-14.97-6.86a1 1 0 01.78 0 1 1 0 01.55.56l.64 1.65a1 1 0 010 .78 1 1 0 01-.59.51 21.47 21.47 0 00-9.54 6.4.38.38 0 01-.3.11.34.34 0 01-.26-.17l-.62-1a1.12 1.12 0 010-1.17c1.84-2.98 4.89-5.53 9.34-7.67zM48 26.44a.75.75 0 00-.37.41.73.73 0 000 .56l.64 1.32a1.3 1.3 0 00.82.68 1.32 1.32 0 001.06-.16 15.4 15.4 0 017.14-2.11.4.4 0 00.35-.24.42.42 0 00-.05-.42l-.44-.58a2.31 2.31 0 00-1.46-.9A12.86 12.86 0 0048 26.44z"})),ne||(ne=fe.createElement("circle",{cx:35.93,cy:42.52,r:1.81,fill:"#181716"})),oe||(oe=fe.createElement("circle",{cx:53.63,cy:35.28,r:1.81,fill:"#181716"})),le||(le=fe.createElement("circle",{cx:36.44,cy:41.52,r:.61,fill:"#fff"})),ce||(ce=fe.createElement("circle",{cx:54.1,cy:34.31,r:.62,fill:"#fff"})),de||(de=fe.createElement("path",{fill:"#738498",d:"M39.43 2.57c-.57 1.28-2.24 2-3.22 3.06A25.76 25.76 0 0129 10.5a43.61 43.61 0 01-18.65 4.95 32.42 32.42 0 007-2.82c3-1.5 4.64-4.45 7.81-5.74 2.68-1.08 5.22.3 7.66-.55a25.48 25.48 0 006.61-3.77z"})),pe||(pe=fe.createElement("path",{fill:"#af7e48",d:"M46.06 49.83a2.21 2.21 0 00-.44 2.47c1.22 1.22 3.7-1 5.65-1.24.56-.07 6-.32 6.07-3.84.07-2.47-2.86-2.35-4.25-3.31-2.52-1.73-2.43-5.15-4.83-7.27 1.24 2.22 2.21 4.81 3.59 7 1.08 1.71 4 2.2 4 4.08s-3.71 2.89-5.93 2.16c-.84.95-4.38 2.5-3.86-.05z"})),ue||(ue=fe.createElement("path",{fill:"#c69b65",d:"M23.76 54.27c1.72 3.4 2.73 6.13.07 7.48S15.42 60 13.7 56.57s-.84-7.15 2.13-7.31c4.09-.26 6.17 1.6 7.93 5.01z"})),me||(me=fe.createElement("circle",{cx:60.49,cy:96.85,r:3.02,fill:"#738498"})),he||(he=fe.createElement("circle",{cx:61.09,cy:96.16,r:2.34,fill:"#c6d8ee"})))}))` align-self: center; width: 100px; margin: ${Object(w.getDirectionalStyle)("0 20px 0 0","0 0 0 20px")}; `,ve=u.a.div` align-self: center; font-size: 1em; `,Ee=u.a.h3` && { font-size: 1.15em; font-weight: bold; margin: 4px 0; } `,Oe=u.a.p` margin: 4px 0; `,je=u()(Object(w.makeOutboundLink)())` margin: 4px 0; `,xe=e=>{const{url:t,backgroundUrl:a}=e;return Object(c.createElement)(ye,{backgroundUrl:a},Object(c.createElement)(we,null),Object(c.createElement)(ve,null,Object(c.createElement)(Ee,null,Object(g.__)("Serving local customers?","wordpress-seo")),Object(c.createElement)(Oe,null,Object(g.sprintf)( /* translators: %s expands to Local SEO */ Object(g.__)("Truly optimize your site for a local audience with our %s plugin! Optimized address details, opening hours, store locator and pickup option!","wordpress-seo"),"Local SEO")),Object(c.createElement)(je,{href:t},Object(g.sprintf)( /* translators: %s expands to Local SEO */ Object(g.__)("Get the %s plugin now","wordpress-seo"),"Local SEO"))))};xe.propTypes={url:h.a.string.isRequired,backgroundUrl:h.a.string.isRequired};var _e=xe;function Re(e){let{target:t,url:a,backgroundUrl:r}=e;return Object(c.createElement)(j.a,{target:t},Object(c.createElement)(_e,{url:a,backgroundUrl:r}))}Re.propTypes={target:h.a.string.isRequired,url:h.a.string.isRequired,backgroundUrl:h.a.string.isRequired};const Se=e=>Object(c.createElement)(y.Alert,{type:e.type},e.message);Se.propTypes={type:h.a.oneOf(["error","info","success","warning"]),message:h.a.string.isRequired},Se.defaultProps={type:"info"};var Ie=Se;function ke(e){let{target:t,message:a}=e;return Object(c.createElement)(j.a,{target:t},Object(c.createElement)(Ie,{message:a}))}ke.propTypes={target:h.a.string.isRequired,message:h.a.string.isRequired};var Pe=a(247),Te=a.n(Pe),Ce=a(4);const Me=p.createGlobalStyle` .yoast-person-selector-container { max-width: 400px; min-width: 250px; margin: 7px 0; .yoast-person-selector { &__control { border-radius: 0; box-shadow: inset 0 1px 2px rgba(0,0,0,.07); min-height: 28px; } &__input input { box-shadow: none; margin: 0; min-height: 0; line-height: 1.4; &:focus { box-shadow: none; } } &__menu { margin: 0; border-radius: 0; } &__menu-list { padding: 0; } &__option--is-selected { background-color: #0085ba; } &__indicators { padding: 0 10px; } } } `,Fe={"X-WP-NONCE":wpApiSettings.nonce},Le=wpApiSettings.root,Ae=()=>Object(c.createElement)(y.SvgIcon,{icon:"arrow-down",color:"#72777c",size:"10px"});class De extends c.Component{constructor(e){super(e),this.state={selectedOption:null,loading:!!this.props.value},this.fetchUsers=Object(Ce.debounce)(this.fetchUsers,500).bind(this),this.fetchUser=this.fetchUser.bind(this),this.mapUserToSelectOption=this.mapUserToSelectOption.bind(this),this.onChange=this.onChange.bind(this)}render(){return Object(c.createElement)(c.Fragment,null,Object(c.createElement)(Me,null),Object(c.createElement)(Te.a,{placeholder:Object(g.__)("Select a user...","wordpress-seo"),isDisabled:this.state.loading,inputId:this.props.name,className:"yoast-person-selector-container",classNamePrefix:"yoast-person-selector",value:this.state.selectedOption,onChange:this.onChange,defaultOptions:!0,loadOptions:this.fetchUsers,components:{IndicatorSeparator:null,DropdownIndicator:Ae}}))}componentDidMount(){this.props.value&&this.fetchUser(this.props.value)}static addQueryParams(e,t){const a=e.split("?");e=a[0];const r={...t};return 2===a.length&&a[1].split("&").forEach(e=>{const t=e.split("=");r[t[0]]=t[1]}),`${e}?${Object.keys(r).filter(e=>!!r[e]).map(e=>`${e}=${encodeURIComponent(r[e])}`).join("&")}`}onChange(e){this.setState({selectedOption:e,loading:!1},()=>{this.props.onChange(e.value,e.label)})}mapUserToSelectOption(e){return{value:e.id,label:e.name}}fetchUser(e){Object(w.sendRequest)(`${Le}wp/v2/users/${e}`,{method:"GET",headers:Fe}).then(e=>{e?this.onChange(this.mapUserToSelectOption(e)):this.setState({loading:!1})}).catch(()=>{this.setState({loading:!1})})}fetchUsers(e,t){const a={per_page:10,search:e},r=De.addQueryParams(Le+"wp/v2/users",a);Object(w.sendRequest)(r,{method:"GET",headers:Fe}).then(e=>{const a=e.map(this.mapUserToSelectOption);t(a)})}}const Ve={name:h.a.string.isRequired,value:h.a.number.isRequired,onChange:h.a.func.isRequired};De.propTypes=Ve;var qe=De;class ze extends c.Component{constructor(e){super(e),this.element=document.getElementById("person_id"),this.state={value:this.getInitialValue(),name:null},this.onChange=this.onChange.bind(this)}getInitialValue(){return parseInt(this.element.value,10)}onChange(e,t){this.setState({value:e,name:t},()=>{this.element.value=e})}renderError(){return this.state.value?null:Object(c.createElement)(y.Alert,{type:"warning"},Object(g.__)("Please select a user below to make your site's meta data complete.","wordpress-seo"))}renderAuthorInfo(){if(!this.state.value||!this.state.name)return null;// translators: %1$s expands to the user's name, %2$s expands to an opening anchor tag, %3$s expands to a closing anchor tag. const e=Object(g.sprintf)(Object(g.__)("You have selected the user %1$s as the person this site represents. Their user profile information will now be used in search results. %2$sUpdate their profile to make sure the information is correct.%3$s","wordpress-seo"),`{{strong}}${this.state.name}{{/strong}}`,"{{authorEditLink}}","{{/authorEditLink}}");return b()({mixedString:e,components:{user:this.state.name,strong:Object(c.createElement)("strong",null),authorEditLink:Object(c.createElement)("a",{href:wpseoScriptData.searchAppearance.userEditUrl.replace("{user_id}",this.state.value)})}})}render(){return Object(c.createElement)(c.Fragment,null,this.renderError(),Object(c.createElement)("label",{htmlFor:"wpseo-person-selector-name"},Object(g.__)("Name","wordpress-seo")),Object(c.createElement)(qe,{hasLabel:!1,name:"wpseo-person-selector-name",value:this.state.value,onChange:this.onChange}),Object(c.createElement)("p",null,this.renderAuthorInfo()))}}var Ne=ze;function Ue(e){let{target:t}=e;return Object(c.createElement)(j.a,{target:t},Object(c.createElement)(Ne,null))}Ue.propTypes={target:h.a.string.isRequired};var Be=a(6),He=a(33),$e=a(131),We=a(66);class Ge extends c.Component{render(){const{title:e,description:t,replacementVariables:a,recommendedReplacementVariables:r,titleTarget:i,descriptionTarget:s,labels:n,descriptionPlaceholder:o,hasNewBadge:l,isDisabled:d,hasPremiumBadge:p}=this.props,u=o||"";return Object(c.createElement)($e.a,{hasPaperStyle:this.props.hasPaperStyle},Object(c.createElement)(He.SettingsSnippetEditor,{descriptionEditorFieldPlaceholder:u,onChange:(a,r)=>{switch(a){case"title":e.onChange(r);break;case"description":t.onChange(r)}},replacementVariables:a,recommendedReplacementVariables:r,data:{title:e.value,description:t.value},hasPaperStyle:this.props.hasPaperStyle,fieldIds:{title:i+"-snippet-editor",description:s+"-snippet-editor"},labels:n,hasNewBadge:l,isDisabled:d,hasPremiumBadge:p}))}}Ge.propTypes={replacementVariables:He.replacementVariablesShape,recommendedReplacementVariables:He.recommendedReplacementVariablesShape,title:We.b,description:We.b,postType:h.a.string,hasPaperStyle:h.a.bool,titleTarget:h.a.string.isRequired,descriptionTarget:h.a.string.isRequired,labels:h.a.shape({title:h.a.string,description:h.a.string}),descriptionPlaceholder:h.a.string,hasNewBadge:h.a.bool,isDisabled:h.a.bool,hasPremiumBadge:h.a.bool},Ge.defaultProps={hasPaperStyle:!0,hasNewBadge:!1,isDisabled:!1,hasPremiumBadge:!1};var Ye=Object(We.a)(e=>[{name:"title",fieldId:e.titleTarget},{name:"description",fieldId:e.descriptionTarget}])(Ge);function Ke(e){let{target:t,replacementVariables:a,recommendedReplacementVariables:r,titleTarget:i,descriptionTarget:s,hasPaperStyle:n,labels:o,descriptionPlaceholder:l,hasNewBadge:d,isDisabled:p,hasPremiumBadge:u}=e;return Object(c.createElement)(j.a,{target:t},Object(c.createElement)(Ye,{replacementVariables:a,recommendedReplacementVariables:r,titleTarget:i,descriptionTarget:s,hasPaperStyle:n,labels:o,descriptionPlaceholder:l,hasNewBadge:d,isDisabled:p,hasPremiumBadge:u}))}Ke.propTypes={target:h.a.object.isRequired,replacementVariables:He.replacementVariablesShape,recommendedReplacementVariables:He.recommendedReplacementVariablesShape,titleTarget:h.a.string.isRequired,descriptionTarget:h.a.string.isRequired,hasPaperStyle:h.a.bool,labels:h.a.shape({title:h.a.string,description:h.a.string}),descriptionPlaceholder:h.a.string,hasNewBadge:h.a.bool,isDisabled:h.a.bool,hasPremiumBadge:h.a.bool},Ke.defaultProps={hasNewBadge:!1,isDisabled:!1,hasPremiumBadge:!1};const Je=u.a.div` display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; max-width: 640px; `;class Qe extends c.Component{constructor(e){super(e),this.state={isActive:!1,isHovered:!1},this.focus=this.focus.bind(this),this.setRef=this.setRef.bind(this)}focus(){this.inputRef.focus()}setRef(e){this.inputRef=e}render(){const{label:e,replacementVariables:t,recommendedReplacementVariables:a,field:r,fieldId:i}=this.props;return Object(c.createElement)(Je,null,Object(c.createElement)(He.ReplacementVariableEditor,{type:"title",label:e,fieldId:i+"-snippet-editor",isActive:this.state.isActive,isHowvered:this.state.isHovered,content:r.value,onChange:r.onChange,onFocus:this.focus,replacementVariables:t,recommendedReplacementVariables:a,editorRef:this.setRef}))}}Qe.propTypes={replacementVariables:He.replacementVariablesShape,recommendedReplacementVariables:He.recommendedReplacementVariablesShape,label:h.a.string.isRequired,fieldId:h.a.string.isRequired,field:We.b};var Xe=Object(We.a)(e=>[{name:"field",fieldId:e.fieldId}])(Qe);function Ze(e){let{target:t,label:a,replacementVariables:r,recommendedReplacementVariables:i,fieldId:s}=e;return Object(c.createElement)(j.a,{target:t},Object(c.createElement)(Xe,{label:a,replacementVariables:r,recommendedReplacementVariables:i,fieldId:s}))}Ze.propTypes={target:h.a.object.isRequired,label:h.a.string.isRequired,replacementVariables:He.replacementVariablesShape,recommendedReplacementVariables:He.recommendedReplacementVariablesShape,fieldId:h.a.string.isRequired};class et extends c.Component{constructor(e){super(e)}filterEditorSpecificReplaceVars(e,t){const{editor_specific_replace_vars:a={},shared_replace_vars:r}=wpseoScriptData.analysis.plugins.replaceVars,i=[...r,...a[t]||[]];return e.filter(e=>Object(Ce.includes)(i,e.name))}renderEditors(){return Object(Ce.map)(this.props.editorElements,e=>{const{reactReplacevarTitleFieldId:t,reactReplacevarMetadescFieldId:a,reactReplacevarPageTypeRecommended:r,reactReplacevarPageTypeSpecific:i,reactReplacevarPaperStyle:s,reactReplacevarLabelTitle:n,reactReplacevarLabelDescription:o,reactReplacevarDescriptionPlaceholder:l,reactReplacevarHasNewBadge:d,reactReplacevarIsDisabled:p,reactReplacevarHasPremiumBadge:u}=e.dataset;let m=this.filterEditorSpecificReplaceVars(this.props.replacementVariables,i);m=this.setHiddenReplaceVars(m);const h={title:n,description:o};return Object(c.createElement)(Ke,{key:t,target:e,replacementVariables:m,recommendedReplacementVariables:this.props.recommendedReplacementVariables[r],titleTarget:t,descriptionTarget:a,hasPaperStyle:"1"===s,labels:h,descriptionPlaceholder:l,hasNewBadge:"1"===d,isDisabled:"1"===p,hasPremiumBadge:"1"===u})})}setHiddenReplaceVars(e){const t=Object(Ce.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.hidden_replace_vars",[]);return e.map(e=>(e.hidden=Object(Ce.includes)(t,e.name),e))}renderSingleFields(){return Object(Ce.map)(this.props.singleFieldElements,e=>{const{reactReplacevarFieldId:t,reactReplacevarFieldLabel:a,reactReplacevarPageTypeRecommended:r,reactReplacevarPageTypeSpecific:i}=e.dataset,s=this.filterEditorSpecificReplaceVars(this.props.replacementVariables,i);return Object(c.createElement)(Ze,{key:t,target:e,label:a,replacementVariables:s,recommendedReplacementVariables:this.props.recommendedReplacementVariables[r],fieldId:t})})}render(){return Object(c.createElement)(c.Fragment,null,this.renderEditors(),this.renderSingleFields())}}et.propTypes={replacementVariables:He.replacementVariablesShape,recommendedReplacementVariables:h.a.object,editorElements:h.a.object,singleFieldElements:h.a.object},et.defaultProps={replacementVariables:[],recommendedReplacementVariables:{},editorElements:[],singleFieldElements:[]};var tt=Object(Be.withSelect)(e=>{const{getReplaceVars:t,getRecommendedReplaceVars:a}=e("yoast-seo/settings");return{replacementVariables:t(),recommendedReplacementVariables:a()}})(et),at=a(248),rt=a.n(at),it=a(100);function st(e){let{target:t,postType:a,postTypeName:r,pageTypeFieldId:i,articleTypeFieldId:s,pageTypeOptions:n,articleTypeOptions:o}=e;return Object(c.createElement)(j.a,{target:t},Object(c.createElement)(it.a,{postType:a,postTypeName:r,pageTypeFieldId:i,articleTypeFieldId:s,pageTypeOptions:n,articleTypeOptions:o}))}st.propTypes={target:h.a.object.isRequired,postType:h.a.string.isRequired,postTypeName:h.a.string.isRequired,pageTypeFieldId:h.a.string.isRequired,articleTypeFieldId:h.a.string,pageTypeOptions:it.b.isRequired,articleTypeOptions:it.b.isRequired},st.defaultProps={articleTypeFieldId:""};const nt=(e,t)=>{const a=Object(g.__)("default","wordpress-seo");return e.map(e=>e.value!==t?{...e}:{value:e.value,name:`${e.name} (${a})`})},ot=e=>rt()(e.targets,e=>{const t=e.getAttribute("data-schema-settings-post-type"),a=e.getAttribute("data-schema-settings-page-type-default"),r=e.getAttribute("data-schema-settings-article-type-default"),i=nt(window.wpseoScriptData.searchAppearance.schema.pageTypeOptions,a),s=nt(window.wpseoScriptData.searchAppearance.schema.articleTypeOptions,r);return Object(c.createElement)(st,{key:t,target:e,postType:t,postTypeName:e.getAttribute("data-schema-settings-post-type-name"),pageTypeFieldId:e.getAttribute("data-schema-settings-page-type-field-id"),articleTypeFieldId:e.getAttribute("data-schema-settings-article-type-field-id"),pageTypeOptions:i,articleTypeOptions:s})});ot.propTypes={targets:h.a.object.isRequired};var lt=ot,ct=a(19),dt=a(130);const{dismissedAlerts:pt,settings:ut,snippetEditor:mt,isPremium:ht}=ct.reducers,{getRecommendedReplaceVars:gt,getReplaceVars:ft,isAlertDismissed:bt,getIsPremium:yt}=ct.selectors,{dismissAlert:wt,setDismissedAlerts:vt,setSettings:Et,updateReplacementVariable:Ot,setIsPremium:jt}=ct.actions;var xt=a(174),_t=a(22),Rt=a.n(_t),St=a(206),It=a(21),kt=a(82),Pt=a(216);async function Tt(e,t,a){const r={facebook_site:e,twitter_site:t,other_social_urls:a},i=await Rt()({path:"yoast/v1/configuration/social_profiles",method:"POST",data:r});return await i.json}function Ct(e){let{facebookValue:t,twitterValue:a,otherSocialUrls:r}=e;return Object(c.createElement)(c.Fragment,null,Object(c.createElement)("input",{type:"hidden",name:"wpseo_social[facebook_site]",value:t}),Object(c.createElement)("input",{type:"hidden",name:"wpseo_social[twitter_site]",value:a}),r.map((e,t)=>Object(c.createElement)("input",{key:"other-social-url-"+t,type:"hidden",name:"wpseo_social[other_social_urls][]",value:e})))}function Mt(){const[e,t]=Object(c.useState)(window.wpseoScriptData.social.facebook_url),[a,r]=Object(c.useState)(window.wpseoScriptData.social.twitter_username),[i,s]=Object(c.useState)(window.wpseoScriptData.social.other_social_urls),[n,o]=Object(c.useState)([]),[l,d]=Object(c.useState)(!1);Object(c.useEffect)(()=>{d(!1)},[e,a,i]),Object(c.useEffect)(()=>{function e(e){"Enter"===e.key&&"accounts-tab"===document.querySelector(".nav-tab.nav-tab-active").id&&"INPUT"===e.target.tagName&&e.preventDefault()}return addEventListener("keydown",e),()=>removeEventListener("keydown",e)},[]);const p=Object(c.useCallback)(()=>{Tt(e,a,i).then(e=>!1===e.success?(o(e.failures),Promise.reject("There were errors saving social profiles")):e).then(()=>{o([]),d(!0)}).catch(e=>(e.failures&&o(e.failures),!1))},[Tt,o,d,e,a,i]),u=Object(c.useCallback)((e,a)=>{"facebookUrl"===a?(t(e),o(e=>e.filter(e=>"facebook_site"!==e))):"twitterUsername"===a&&(r(e),o(e=>e.filter(e=>"twitter_site"!==e)))},[t,r]),m=Object(c.useCallback)((e,t)=>{s(a=>{const r=[...a];return r[t]=e,r}),o(e=>e.filter(e=>e!=="other_social_urls-"+t))},[s,o]),h=Object(c.useCallback)(e=>{s(t=>t.filter((t,a)=>a!==e)),o(t=>Object(kt.e)(t,e))},[s,o,kt.e]),f=Object(c.useCallback)(()=>{s(e=>[...e,""])},[s,o]);return Object(c.createElement)("div",{className:"yst-root yst-bg-white yst-rounded-lg yst-p-6 yst-shadow-md yst-max-w-2xl yst-mt-6"},"person"===window.wpseoScriptData.social.company_or_person&&Object(c.createElement)(c.Fragment,null,Object(c.createElement)("h2",{className:"yst-text-lg yst-text-gray-900 yst-font-medium"},Object(g.__)("Personal social profiles","wordpress-seo")),Object(c.createElement)("p",{className:"yst-mt-4 yst-text-gray-500"}, /* translators: 1: a colon (:) followed by a link to the user edit page, containing the name of the user selected as the person this site represents */ Object(It.a)(Object(g.sprintf)(Object(g.__)("Your website is currently configured to represent a Person. If you want to edit the social accounts for your site, please go to the user profile of the selected person%1$s.","wordpress-seo"),window.wpseoScriptData.social.user_id?`: <a>${window.wpseoScriptData.social.user_name}</a>`:""),window.wpseoScriptData.userEditUrl.replace("{user_id}",window.wpseoScriptData.social.user_id),"yoast-person-edit-link")),Object(c.createElement)("p",{className:"yst-mt-4 yst-text-gray-500"},Object(It.a)(Object(g.sprintf)( /* translators: 1: link tag to the relevant WPSEO admin page; 2: link close tag. */ Object(g.__)("If you want your site to represent an Organization, please select 'Organization' in the 'Knowledge Graph & Schema.org' section of the %1$sSearch Appearance%2$s settings.","wordpress-seo"),"<a>","</a>"),window.wpseoScriptData.search_appearance_link,"yoast-search-appearance-link"))),"company"===window.wpseoScriptData.social.company_or_person&&Object(c.createElement)(c.Fragment,null,Object(c.createElement)("h2",{className:"yst-text-lg yst-text-gray-900 yst-font-medium"},Object(g.__)("Organization's social profiles","wordpress-seo")),Object(c.createElement)("p",{className:"yst-my-2 yst-text-gray-500"},Object(g.__)("Tell us if you have any other profiles on the web that belong to your organization. You can also add profiles from platforms like Instagram, YouTube, LinkedIn, Pinterest or Wikipedia.","wordpress-seo")),Object(c.createElement)(Pt.a,{socialProfiles:{facebookUrl:e,twitterUsername:a,otherSocialUrls:i},onChangeHandler:u,onRemoveProfileHandler:h,onChangeOthersHandler:m,onAddProfileHandler:f,errorFields:n}),Object(c.createElement)("div",{className:"yst-flex yst-items-center yst-pt-8"},Object(c.createElement)("button",{className:"yst-button yst-button--primary",type:"button",onClick:p},Object(g.__)("Save changes","wordpress-seo")),l&&Object(c.createElement)("span",{className:"yst-inline-flex yst-items-center yst-text-lime-600 yst-relative yst-ml-6 yst-text-sm"},Object(c.createElement)(St.a,{className:"yst-w-5 yst-h-5 yst-text-lime-600 yst-mr-1","aria-hidden":"true"}),Object(g.__)("Saved!","wordpress-seo"))),!window.wpseoScriptData.force_organization&&Object(c.createElement)("p",{className:"yst-mt-8 yst-text-gray-500"},Object(It.a)(Object(g.sprintf)( /* translators: 1: link tag to the relevant WPSEO admin page; 2: link close tag. */ Object(g.__)("Your website is currently configured to represent an Organization. If you want your site to represent a Person, please select 'Person' in the 'Knowledge Graph & Schema.org' section of the %1$sSearch Appearance%2$s settings.","wordpress-seo"),"<a>","</a>"),window.wpseoScriptData.search_appearance_link,"yoast-search-appearance-link"))),Object(c.createElement)(Ct,{facebookValue:e,twitterValue:a,otherSocialUrls:i}))}if(Ct.propTypes={facebookValue:h.a.string.isRequired,twitterValue:h.a.string.isRequired,otherSocialUrls:h.a.array.isRequired},Object(o.a)(n.a),wpseoScriptData){void 0!==wpseoScriptData.media&&Object(l.a)(n.a);const e=void 0!==wpseoScriptData.searchAppearance;(e||void 0!==wpseoScriptData.dismissedAlerts)&&function(e){const t=Object(Ce.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars",[]),a=Object(Ce.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.recommended_replace_vars",{});e.dispatch(Et({snippetEditor:{recommendedReplacementVariables:a}})),t.forEach(t=>{const a=t.name.replace(/ /g,"_");e.dispatch(Ot(a,t.value,t.label))}),e.dispatch(vt(Object(Ce.get)(window,"wpseoScriptData.dismissedAlerts",{}))),e.dispatch(jt(Boolean(Object(Ce.get)(window,"wpseoScriptData.isPremium",!1))))}(Object(Be.registerStore)("yoast-seo/settings",{reducer:Object(Be.combineReducers)({dismissedAlerts:pt,settings:ut,snippetEditor:mt,isPremium:ht}),selectors:{isAlertDismissed:bt,getReplaceVars:ft,getRecommendedReplaceVars:gt,getIsPremium:yt},actions:{dismissAlert:wt,setDismissedAlerts:vt,setIsPremium:jt},controls:dt})),i()(()=>{(()=>{const e=document.getElementById("yst-settings-header-root"),t=Boolean(Object(Ce.get)(window,"wpseoScriptData.isRtl",!1)),a=Object(Ce.get)(window,"wpseoScriptData.webinarIntroSettingsUrl","https://yoa.st/webinar-intro-settings");e&&Object(c.render)(Object(c.createElement)(p.ThemeProvider,{theme:{isRtl:t}},Object(c.createElement)(xt.a,{store:"yoast-seo/settings",url:a})),e)})(),e&&function(){const e=document.querySelectorAll("[data-react-replacevar-editor]"),t=document.querySelectorAll("[data-react-replacevar-field]"),a=Array.from(document.querySelectorAll("[data-react-image-portal]")),r=document.querySelectorAll("[data-schema-settings]"),i=document.createElement("div");document.body.appendChild(i);const s={isRtl:wpseoScriptData.searchAppearance.isRtl},{showLocalSEOUpsell:n,localSEOUpsellURL:o,brushstrokeBackgroundURL:l,knowledgeGraphCompanyInfoMissing:u}=wpseoScriptData.searchAppearance;Object(c.render)(Object(c.createElement)(p.ThemeProvider,{theme:s},Object(c.createElement)(d.SlotFillProvider,null,Object(c.createElement)(c.Fragment,null,Object(c.createElement)(tt,{singleFieldElements:t,editorElements:e}),Object(c.createElement)(Ue,{target:"wpseo-person-selector"}),Object(c.createElement)(x,{target:"knowledge-graph-company-warning",message:u.message,link:u.URL}),Object(c.createElement)(ge.a,{label:Object(g.__)("Organization logo","wordpress-seo"),hasPreview:!0,target:"yoast-organization-image-select",hiddenField:"company_logo",hiddenFieldImageId:"company_logo_id",hiddenFieldFallbackImageId:"company_logo_fallback_id",selectImageButtonId:"yoast-organization-image-select-button",replaceImageButtonId:"yoast-organization-image-replace-button",removeImageButtonId:"yoast-organization-image-remove-button"}),Object(c.createElement)(ke,{target:"knowledge-graph-person-image-info",message:Object(g.__)("A person logo / avatar need to be set for structured data to work properly. Since you haven’t set these yet, we are using the site logo as default values.","wordpress-seo")}),Object(c.createElement)(ge.a,{label:Object(g.__)("Person logo / avatar","wordpress-seo"),hasPreview:!0,target:"yoast-person-image-select",hiddenField:"person_logo",hiddenFieldImageId:"person_logo_id",hiddenFieldFallbackImageId:"person_logo_fallback_id",selectImageButtonId:"yoast-person-image-select-button",replaceImageButtonId:"yoast-person-image-replace-button",removeImageButtonId:"yoast-person-image-remove-button"}),a.map(e=>Object(c.createElement)(ge.a,{key:e.id,label:e.dataset.reactImagePortalLabel||Object(g.__)("Social image","wordpress-seo"),hasPreview:!0,target:e.id,hiddenField:e.dataset.reactImagePortalTargetImage,hiddenFieldImageId:e.dataset.reactImagePortalTargetImageId,selectImageButtonId:e.id+"-select-button",replaceImageButtonId:e.id+"-replace-button",removeImageButtonId:e.id+"-remove-button",hasNewBadge:"1"===e.dataset.reactImagePortalHasNewBadge,isDisabled:"1"===e.dataset.reactImagePortalIsDisabled,hasPremiumBadge:"1"===e.dataset.reactImagePortalHasPremiumBadge,hasImageValidation:"1"===e.dataset.reactImagePortalHasImageValidation})),n&&Object(c.createElement)(Re,{target:"wpseo-local-seo-upsell",url:o,backgroundUrl:l}),Object(c.createElement)(lt,{targets:r})))),i)}(),void 0!==wpseoScriptData.social&&function(){const e=document.createElement("div");document.body.appendChild(e),Object(c.render)(Object(c.createElement)(c.Fragment,null,Object(c.createElement)(ge.a,{label:Object(g.__)("Image","wordpress-seo"),hasPreview:!0,target:"yoast-og-default-image-select",hiddenField:"og_default_image",hiddenFieldImageId:"og_default_image_id",selectImageButtonId:"yoast-og-default-image-select-button",replaceImageButtonId:"yoast-og-default-image-replace-button",removeImageButtonId:"yoast-og-default-image-remove-button",hasImageValidation:!0}),Object(c.createElement)(j.a,{target:"yoast-social-profiles"},Object(c.createElement)(Mt,null))),e)}()})}},3:function(e,t){e.exports=window.React},33:function(e,t){e.exports=window.yoast.replacementVariableEditor},4:function(e,t){e.exports=window.lodash},41:function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));var r=a(0),i=a(1),s=a.n(i);function n(e){let{target:t,children:a}=e,i=t;return"string"==typeof t&&(i=document.getElementById(t)),i?Object(r.createPortal)(a,i):null}n.propTypes={target:s.a.oneOfType([s.a.string,s.a.object]).isRequired,children:s.a.node.isRequired}},46:function(e,t,a){"use strict";a.d(t,"a",(function(){return pe})),a.d(t,"b",(function(){return ue})),a.d(t,"c",(function(){return me})),a.d(t,"d",(function(){return he}));var r=a(4),i=a(10),s=a(0),n=a(3),o=a.n(n),l=a(1),c=a.n(l),d=a(8),p=a.n(d);const u=p.a.p` color: #606770; flex-shrink: 0; font-size: 12px; line-height: 16px; overflow: hidden; padding: 0; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; margin: 0; position: ${e=>"landscape"===e.mode?"relative":"static"}; `,m=e=>{const{siteUrl:t}=e;return Object(s.createElement)(n.Fragment,null,Object(s.createElement)("span",{className:"screen-reader-text"},t),Object(s.createElement)(u,{"aria-hidden":"true"},Object(s.createElement)("span",null,t)))};m.propTypes={siteUrl:c.a.string.isRequired};var h=m,g=a(2),f=a(15);const b=p.a.img` && { max-width: ${e=>e.width}px; height: ${e=>e.height}px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: none; } `,y=p.a.img` &&{ height: 100%; position: absolute; width: 100%; object-fit: cover; } `,w=p.a.div` padding-bottom: ${e=>e.aspectRatio}%; `,v=e=>{const{imageProps:t,width:a,height:r,imageMode:i}=e;return"landscape"===i?Object(s.createElement)(w,{aspectRatio:t.aspectRatio},Object(s.createElement)(y,{src:t.src,alt:t.alt})):Object(s.createElement)(b,{src:t.src,alt:t.alt,width:a,height:r,imageProperties:t})};v.propTypes={imageProps:c.a.shape({src:c.a.string.isRequired,alt:c.a.string.isRequired,aspectRatio:c.a.number.isRequired}).isRequired,width:c.a.number.isRequired,height:c.a.number.isRequired,imageMode:c.a.string},v.defaultProps={imageMode:"landscape"};const E={squareWidth:125,squareHeight:125,landscapeWidth:506,landscapeHeight:265,aspectRatio:50.2},O={squareWidth:158,squareHeight:158,landscapeWidth:527,landscapeHeight:273,portraitWidth:158,portraitHeight:237,aspectRatio:52.2,largeThreshold:{width:446,height:233}};function j(e){const{largeThreshold:t}=O;return e.height>e.width?"portrait":e.width<t.width||e.height<t.height||e.height===e.width?"square":"landscape"}function x(e){return"Twitter"===e?E:O}function _(e){return new Promise((t,a)=>{const r=new Image;r.onload=()=>{t({width:r.width,height:r.height})},r.onerror=a,r.src=e})}function R(e,t,a){return"landscape"===a?{widthRatio:t.width/e.landscapeWidth,heightRatio:t.height/e.landscapeHeight}:"portrait"===a?{widthRatio:t.width/e.portraitWidth,heightRatio:t.height/e.portraitHeight}:{widthRatio:t.width/e.squareWidth,heightRatio:t.height/e.squareHeight}}function S(e,t){return t.widthRatio<=t.heightRatio?{width:Math.round(e.width/t.widthRatio),height:Math.round(e.height/t.widthRatio)}:{width:Math.round(e.width/t.heightRatio),height:Math.round(e.height/t.heightRatio)}}function I(e,t,a){return"square"===a&&t.width===t.height?{width:e.squareWidth,height:e.squareHeight}:S(t,R(e,t,a))}async function k(e,t){let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=await _(e);let i=a?"landscape":"square";"Facebook"===t&&(i=j(r));const s=x(t),n=I(s,r,i);return{mode:i,height:n.height,width:n.width}}async function P(e,t){let a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];try{return{imageProperties:await k(e,t,a),status:"loaded"}}catch(e){return{imageProperties:null,status:"errored"}}}const T=p.a.div` position: relative; ${e=>"landscape"===e.mode?"max-width: "+e.dimensions.width:`min-width: ${e.dimensions.width}; height: ${e.dimensions.height}`}; overflow: hidden; background-color: ${f.colors.$color_white}; `,C=p.a.div` box-sizing: border-box; max-width: ${O.landscapeWidth}px; height: ${O.landscapeHeight}px; background-color: ${f.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 M extends n.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 P(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:O.squareHeight+"px",width:O.squareWidth+"px"};case"portrait":return{height:O.portraitHeight+"px",width:O.portraitWidth+"px"};case"landscape":return{height:O.landscapeHeight+"px",width:O.landscapeWidth+"px"}}}render(){const{imageProperties:e,status:t}=this.state;if("loading"===t||""===this.props.src||"errored"===t)return Object(s.createElement)(C,{onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},Object(g.__)("Select image","wordpress-seo"));const a=this.retrieveContainerDimensions(e.mode);return Object(s.createElement)(T,{mode:e.mode,dimensions:a,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,onClick:this.props.onImageClick},Object(s.createElement)(v,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:O.aspectRatio},width:e.width,height:e.height,imageMode:e.mode}))}}M.propTypes={src:c.a.string,alt:c.a.string,onImageLoaded:c.a.func,onImageClick:c.a.func,onMouseEnter:c.a.func,onMouseLeave:c.a.func},M.defaultProps={src:"",alt:"",onImageLoaded:r.noop,onImageClick:r.noop,onMouseEnter:r.noop,onMouseLeave:r.noop};var F=M,L=p.a.span` line-height: ${20}px; min-height : ${20}px; color: #1d2129; font-weight: 600; overflow: hidden; font-size: 16px; margin: 3px 0 0; letter-spacing: normal; white-space: normal; flex-shrink: 0; cursor: pointer; display: -webkit-box; -webkit-line-clamp: ${e=>e.lineCount}; -webkit-box-orient: vertical; overflow: hidden; `,A=p.a.p` line-height: ${16}px; min-height : ${16}px; color: #606770; font-size: 14px; padding: 0; text-overflow: ellipsis; margin: 3px 0 0 0; display: -webkit-box; cursor: pointer; -webkit-line-clamp: ${e=>e.lineCount}; -webkit-box-orient: vertical; overflow: hidden; @media all and ( max-width: ${e=>e.maxWidth} ) { display: none; } `;const D=e=>{switch(e){case"landscape":return"527px";case"square":case"portrait":return"369px";default:return"476px"}},V=p.a.div` box-sizing: border-box; display: flex; flex-direction: ${e=>"landscape"===e.mode?"column":"row"}; background-color: #f2f3f5; max-width: 527px; `,q=p.a.div` box-sizing: border-box; background-color: #f2f3f5; margin: 0; padding: 10px 12px; position: relative; border-bottom: ${e=>"landscape"===e.mode?"":"1px solid #dddfe2"}; border-top: ${e=>"landscape"===e.mode?"":"1px solid #dddfe2"}; border-right: ${e=>"landscape"===e.mode?"":"1px solid #dddfe2"}; border: ${e=>"landscape"===e.mode?"1px solid #dddfe2":""}; display: flex; flex-direction: column; flex-grow: 1; justify-content: ${e=>"landscape"===e.mode?"flex-start":"center"}; font-size: 12px; overflow: hidden; `;class z extends n.Component{constructor(e){super(e),this.state={imageMode:null,maxLineCount:0,descriptionLineCount:0},this.facebookTitleRef=o.a.createRef(),this.onImageLoaded=this.onImageLoaded.bind(this),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}onImageLoaded(e){this.setState({imageMode:e})}getTitleLineCount(){return this.facebookTitleRef.current.offsetHeight/20}maybeSetMaxLineCount(){const{imageMode:e,maxLineCount:t}=this.state,a="landscape"===e?2:5;a!==t&&this.setState({maxLineCount:a})}maybeSetDescriptionLineCount(){const{descriptionLineCount:e,maxLineCount:t,imageMode:a}=this.state,r=this.getTitleLineCount();let i=t-r;"portrait"===a&&(i=5===r?0:4),i!==e&&this.setState({descriptionLineCount:i})}componentDidUpdate(){this.maybeSetMaxLineCount(),this.maybeSetDescriptionLineCount()}render(){const{imageMode:e,maxLineCount:t,descriptionLineCount:a}=this.state;return Object(s.createElement)(V,{id:"facebookPreview",mode:e},Object(s.createElement)(F,{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(s.createElement)(q,{mode:e},Object(s.createElement)(h,{siteUrl:this.props.siteUrl,mode:e}),Object(s.createElement)(L,{ref:this.facebookTitleRef,onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle,lineCount:t},this.props.title),a>0&&Object(s.createElement)(A,{maxWidth:D(e),onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription,lineCount:a},this.props.description)))}}z.propTypes={siteUrl:c.a.string.isRequired,title:c.a.string.isRequired,description:c.a.string,imageUrl:c.a.string,imageFallbackUrl:c.a.string,alt:c.a.string,onSelect:c.a.func,onImageClick:c.a.func,onMouseHover:c.a.func},z.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{}};var N=z;const U=p.a.div` text-transform: lowercase; color: rgb(83, 100, 113); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; fill: currentcolor; display: flex; flex-direction: row; align-items: flex-end; `,B=e=>Object(s.createElement)(U,null,Object(s.createElement)("span",null,e.siteUrl));B.propTypes={siteUrl:c.a.string.isRequired};var H=B;const $=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e?`\n\t\t\tmax-width: ${E.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: ${E.squareWidth}px;\n\t\t${t?"border-right: 1px solid #E1E8ED;":""}\n\t\tborder-radius: 14px 0 0 14px;\n\t\t`},W=p.a.div` position: relative; box-sizing: content-box; overflow: hidden; background-color: #e1e8ed; flex-shrink: 0; ${e=>$(e.isLarge)} `,G=p.a.div` display: flex; justify-content: center; align-items: center; box-sizing: border-box; max-width: 100%; margin: 0; padding: 1em; text-align: center; font-size: 1rem; ${e=>$(e.isLarge,!1)} `,Y=p()(G)` ${e=>e.isLarge&&`height: ${E.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 K extends o.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 P(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(s.createElement)(Y,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},Object(g.__)("Select image","wordpress-seo")):Object(s.createElement)(W,{isLarge:this.props.isLarge,onClick:this.props.onImageClick,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave},Object(s.createElement)(v,{imageProps:{src:this.props.src,alt:this.props.alt,aspectRatio:E.aspectRatio},width:t.width,height:t.height,imageMode:t.mode}))}}K.propTypes={isLarge:c.a.bool.isRequired,src:c.a.string,alt:c.a.string,onImageClick:c.a.func,onMouseEnter:c.a.func,onMouseLeave:c.a.func},K.defaultProps={src:"",alt:"",onMouseEnter:r.noop,onImageClick:r.noop,onMouseLeave:r.noop};const J=p.a.div` display: flex; flex-direction: column; padding: 12px; justify-content: center; margin: 0; box-sizing: border-box; flex: auto; min-width: 0px; gap:2px; > * { line-height:20px; min-height:20px; font-size:15px; } `,Q=e=>Object(s.createElement)(J,null,e.children);Q.propTypes={children:c.a.array.isRequired};var X=Q,Z=p.a.p` white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; color: rgb(15, 20, 25); cursor: pointer; `,ee=p.a.p` max-height: 55px; overflow: hidden; text-overflow: ellipsis; margin: 0; color: rgb(83, 100, 113); display: -webkit-box; cursor: pointer; -webkit-line-clamp: 2; -webkit-box-orient: vertical; @media all and ( max-width: ${E.landscapeWidth}px ) { display: none; } `;const te=p.a.div` font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif; font-size: 15px; font-weight: 400; line-height: 20px; max-width: 507px; border: 1px solid #E1E8ED; box-sizing: border-box; border-radius: 14px; color: #292F33; background: #FFFFFF; text-overflow: ellipsis; display: flex; &:hover { background: #f5f8fa; border: 1px solid rgba(136,153,166,.5); } `,ae=p()(te)` flex-direction: column; max-height: 370px; `,re=p()(te)` flex-direction: row; height: 125px; `;class ie extends n.Component{constructor(e){super(e),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}render(){const{isLarge:e,imageUrl:t,imageFallbackUrl:a,alt:r,title:i,description:n,siteUrl:o}=this.props,l=e?ae:re;return Object(s.createElement)(l,{id:"twitterPreview"},Object(s.createElement)(K,{src:t||a,alt:r,isLarge:e,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),Object(s.createElement)(X,null,Object(s.createElement)(H,{siteUrl:o}),Object(s.createElement)(Z,{onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle},i),Object(s.createElement)(ee,{onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription},n)))}}ie.propTypes={siteUrl:c.a.string.isRequired,title:c.a.string.isRequired,description:c.a.string,isLarge:c.a.bool,imageUrl:c.a.string,imageFallbackUrl:c.a.string,alt:c.a.string,onSelect:c.a.func,onImageClick:c.a.func,onMouseHover:c.a.func},ie.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{},isLarge:!0};var se=ie,ne=a(7),oe=a(74),le=a(33);class ce extends n.Component{constructor(e){super(e),this.state={activeField:"",hoveredField:""},this.SocialPreview="Facebook"===e.socialMediumName?N:se,this.setHoveredField=this.setHoveredField.bind(this),this.setActiveField=this.setActiveField.bind(this),this.setEditorRef=this.setEditorRef.bind(this),this.setEditorFocus=this.setEditorFocus.bind(this)}setHoveredField(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}setActiveField(e){e!==this.state.activeField&&this.setState({activeField:e},()=>this.setEditorFocus(e))}setEditorFocus(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}setEditorRef(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}render(){const{onDescriptionChange:e,onTitleChange:t,onSelectImageClick:a,onRemoveImageClick:r,socialMediumName:i,imageWarnings:n,siteUrl:l,description:c,descriptionInputPlaceholder:d,descriptionPreviewFallback:p,imageUrl:u,imageFallbackUrl:m,alt:h,title:g,titleInputPlaceholder:f,titlePreviewFallback:b,replacementVariables:y,recommendedReplacementVariables:w,applyReplacementVariables:v,onReplacementVariableSearchChange:E,isPremium:O,isLarge:j,socialPreviewLabel:x,idSuffix:_,activeMetaTabId:R}=this.props,S=v({title:g||b,description:c||p});return Object(s.createElement)(o.a.Fragment,null,x&&Object(s.createElement)(ne.SimulatedLabel,null,x),Object(s.createElement)(this.SocialPreview,{onMouseHover:this.setHoveredField,onSelect:this.setActiveField,onImageClick:a,siteUrl:l,title:S.title,description:S.description,imageUrl:u,imageFallbackUrl:m,alt:h,isLarge:j,activeMetaTabId:R}),Object(s.createElement)(oe.SocialMetadataPreviewForm,{onDescriptionChange:e,socialMediumName:i,title:g,titleInputPlaceholder:f,onRemoveImageClick:r,imageSelected:!!u,imageUrl:u,onTitleChange:t,onSelectImageClick:a,description:c,descriptionInputPlaceholder:d,imageWarnings:n,replacementVariables:y,recommendedReplacementVariables:w,onReplacementVariableSearchChange:E,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:O,setEditorRef:this.setEditorRef,idSuffix:_}))}}ce.propTypes={title:c.a.string.isRequired,onTitleChange:c.a.func.isRequired,description:c.a.string.isRequired,onDescriptionChange:c.a.func.isRequired,imageUrl:c.a.string.isRequired,imageFallbackUrl:c.a.string.isRequired,onSelectImageClick:c.a.func.isRequired,onRemoveImageClick:c.a.func.isRequired,socialMediumName:c.a.string.isRequired,alt:c.a.string,isPremium:c.a.bool,imageWarnings:c.a.array,isLarge:c.a.bool,siteUrl:c.a.string,descriptionInputPlaceholder:c.a.string,titleInputPlaceholder:c.a.string,descriptionPreviewFallback:c.a.string,titlePreviewFallback:c.a.string,replacementVariables:le.replacementVariablesShape,recommendedReplacementVariables:le.recommendedReplacementVariablesShape,applyReplacementVariables:c.a.func,onReplacementVariableSearchChange:c.a.func,socialPreviewLabel:c.a.string,idSuffix:c.a.string,activeMetaTabId:c.a.string},ce.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 pe(e){return new Promise((t,a)=>{window.wp.media.attachment||a(),window.wp.media.attachment(e).fetch().then(e=>{t(de(e))}).catch(()=>a())})}function ue(e){(function(e){const t=window.wp.media();return t.on("select",()=>{const a=t.state().get("selection").first();e(de(a.attributes))}),t})(e).open()}const me=e=>{const{width:t,height:a}=e,r=j({width:t,height:a}),s=O[r+"Width"],n=O[r+"Height"],o=Object.values(e.sizes).find(e=>e.width>=s&&e.height>=n);return{url:o?o.url:e.url,id:e.id,warnings:Object(i.validateFacebookImage)(e),alt:e.alt||""}},he=e=>{const t="summary"!==Object(r.get)(window,"wpseoScriptData.metabox.twitterCardType")?"landscape":"square",a=E[t+"Width"],s=E[t+"Height"],n=Object.values(e.sizes).find(e=>e.width>=a&&e.height>=s);return{url:n?n.url:e.url,id:e.id,warnings:Object(i.validateTwitterImage)(e),alt:e.alt||""}}},6:function(e,t){e.exports=window.wp.data},64:function(e,t){e.exports=window.wp.domReady},66:function(e,t,a){"use strict";a.d(t,"b",(function(){return l}));var r=a(11),i=a.n(r),s=a(0),n=a(1),o=a.n(n);const l=o.a.shape({value:o.a.string.isRequired,onChange:o.a.func.isRequired});t.a=e=>t=>{class a extends s.Component{constructor(t){super(t),this.elements={};const a={};this.fields=e(t),this.fields.forEach(e=>{const{name:t,fieldId:r}=e,i=document.getElementById(r);i&&(this.elements[t]=i,a[t]={value:i.value,onChange:this.onChange.bind(this,t)})}),this.state=a}static get propTypes(){return{children:o.a.node}}onChange(e,t){this.setState({...this.state,[e]:{...this.state[e],value:t}},()=>{this.elements[e]&&(this.elements[e].value=t)})}render(){const{children:e,...a}=this.props;return Object(s.createElement)(t,i()({},a,this.state),e)}}return a}},7:function(e,t){e.exports=window.yoast.componentsNew},74:function(e,t){e.exports=window.yoast.socialMetadataForms},8:function(e,t){e.exports=window.yoast.styledComponents},82:function(e,t,a){"use strict";a.d(t,"f",(function(){return o})),a.d(t,"c",(function(){return l})),a.d(t,"b",(function(){return c})),a.d(t,"d",(function(){return d})),a.d(t,"e",(function(){return u})),a.d(t,"a",(function(){return m}));var r=a(2),i=a(4),s=a(26),n=a.n(s);const o=[{name:"Facebook",placeholder:Object(r.__)("E.g. https://www.facebook.com/yoast","wordpress-seo")},{name:"Instagram",placeholder:Object(r.__)("E.g. https://www.instagram.com/yoast","wordpress-seo")},{name:"LinkedIn",placeholder:Object(r.__)("E.g. https://www.linkedin.com/yoast","wordpress-seo")},{name:"MySpace",placeholder:Object(r.__)("E.g. https://www.myspace.com/yoast","wordpress-seo")},{name:"Pinterest",placeholder:Object(r.__)("E.g. https://www.pinterest.com/yoast","wordpress-seo")},{name:"SoundCloud",placeholder:Object(r.__)("E.g. https://www.soundcloud.com/yoast","wordpress-seo")},{name:"Tumblr",placeholder:Object(r.__)("E.g. https://www.tumblr.com/yoast","wordpress-seo")},{name:"Twitter",placeholder:Object(r.__)("E.g. https://www.twitter.com/yoast","wordpress-seo")},{name:"YouTube",placeholder:Object(r.__)("E.g. https://www.youtube.com/yoast","wordpress-seo")},{name:"Wikipedia",placeholder:Object(r.__)("E.g. https://www.wikipedia.com/yoast","wordpress-seo")}],l=e=>"error-"+e,c=(e,t)=>{let{isVisible:a}=t;return a?{"aria-invalid":!0,"aria-describedby":l(e)}:{}};function d(e){let{active:t,selected:a}=e;return n()("yst-relative yst-cursor-default yst-select-none yst-py-2 yst-pl-3 yst-pr-9 yst-my-0",a&&"yst-bg-primary-500 yst-text-white",t&&!a&&"yst-bg-primary-200 yst-text-slate-700",!t&&!a&&"yst-text-slate-700")}function p(e,t){const a=function(e,t){return e.includes(t)?[...e]:[...e,t]}(e.editedSteps,t);return{...e,editedSteps:a}}function u(e,t){return e.map(e=>{const a=parseInt(e.replace("other_social_urls-",""),10);return a===t?"remove":a>t?"other_social_urls-"+(a-1):e}).filter(e=>"remove"!==e)}function m(e,t){let a=Object(i.cloneDeep)(e);switch(t.type){case"SET_COMPANY_OR_PERSON":return a=p(a,2),a.companyOrPerson=t.payload,a.companyOrPersonLabel=a.companyOrPersonOptions.filter(e=>e.value===t.payload).pop().label,a;case"CHANGE_COMPANY_NAME":return a=p(a,2),a.companyName=t.payload,a;case"SET_COMPANY_LOGO":return a=p(a,2),a.companyLogo=t.payload.url,a.companyLogoId=t.payload.id,a;case"REMOVE_COMPANY_LOGO":return a=p(a,2),a.companyLogo="",a.companyLogoId="",a;case"SET_PERSON_LOGO":return a=p(a,2),a.personLogo=t.payload.url,a.personLogoId=t.payload.id,a;case"REMOVE_PERSON_LOGO":return a=p(a,2),a.personLogo="",a.personLogoId="",a;case"SET_PERSON":return a=p(a,2),a.personId=t.payload.value,a.personName=t.payload.label,a;case"CHANGE_PERSON_SOCIAL_PROFILE":return a=p(a,3),a.personSocialProfiles[t.payload.socialMedium]=t.payload.value,a;case"INIT_PERSON_SOCIAL_PROFILES":return a.personSocialProfiles=t.payload.socialProfiles,a;case"SET_CAN_EDIT_USER":return a=p(a,2),a.canEditUser=!0===t.payload?1:0,a;case"CHANGE_SOCIAL_PROFILE":return a=p(a,3),a.socialProfiles[t.payload.socialMedium]=t.payload.value,a.errorFields=a.errorFields.filter(e=>"facebookUrl"===t.payload.socialMedium?"facebook_site"!==e:"twitterUsername"!==t.payload.socialMedium||"twitter_site"!==e),a;case"CHANGE_OTHERS_SOCIAL_PROFILE":return a=p(a,3),a.socialProfiles.otherSocialUrls[t.payload.index]=t.payload.value,a.errorFields=a.errorFields.filter(e=>e!=="other_social_urls-"+t.payload.index),a;case"ADD_OTHERS_SOCIAL_PROFILE":return a=p(a,3),a.socialProfiles.otherSocialUrls=[...a.socialProfiles.otherSocialUrls,t.payload.value],a;case"REMOVE_OTHERS_SOCIAL_PROFILE":return a=p(a,3),a.socialProfiles.otherSocialUrls.splice(t.payload.index,1),a.errorFields=u(a.errorFields,t.payload.index),a;case"SET_ERROR_FIELDS":return a.errorFields=t.payload,a;case"SET_STEP_ERROR":return a.stepErrors[t.payload.step]=t.payload.message,a;case"REMOVE_STEP_ERROR":return a.stepErrors=Object(i.pickBy)(a.stepErrors,(e,a)=>a!==t.payload),a;case"SET_TRACKING":return a=p(a,4),a.tracking=t.payload,a;default:return a}}},88:function(e,t,a){"use strict";function r(e){return function(){return e}}var i=function(){};i.thatReturns=r,i.thatReturnsFalse=r(!1),i.thatReturnsTrue=r(!0),i.thatReturnsNull=r(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(e){return e},e.exports=i},95:function(e,t){var a,r,i="",s=function(e){e=e||"polite";var t=document.createElement("div");return t.id="a11y-speak-"+e,t.className="a11y-speak-region",t.setAttribute("style","clip: rect(1px, 1px, 1px, 1px); position: absolute; height: 1px; width: 1px; overflow: hidden; word-wrap: normal;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true"),document.querySelector("body").appendChild(t),t};!function(e){if("complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll)return e();document.addEventListener("DOMContentLoaded",e)}((function(){a=document.getElementById("a11y-speak-polite"),r=document.getElementById("a11y-speak-assertive"),null===a&&(a=s("polite")),null===r&&(r=s("assertive"))})),e.exports=function(e,t){!function(){for(var e=document.querySelectorAll(".a11y-speak-region"),t=0;t<e.length;t++)e[t].textContent=""}(),e=e.replace(/<[^<>]+>/g," "),i===e&&(e+=" "),i=e,r&&"assertive"===t?r.textContent=e:a&&(a.textContent=e)}}});