Ubuntu

­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­ !function(e){var t={};function n(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,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=351)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},,function(e,t){function n(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o="string"==typeof t?Object(r.decodeHTML)(t):t;return{type:a,name:e,value:o,label:n,hidden:i}}function h(e){return{type:l,wordsToHighlight:e}}function m(e){return{type:c,name:e}}function b(){return{type:u,time:(new Date).getMilliseconds()}}function y(e){return{type:s,data:e}}},,function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.compose},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2);function i(){return Object(r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},function(e,t){e.exports=window.jQuery},function(e,t){e.exports=window.yoast.components},function(e,t){e.exports=window.yoast.analysis},function(e,t,n){"use strict";n.r(t),n.d(t,"SET_ACTIVE_MARKER",(function(){return o.a})),n.d(t,"setActiveMarker",(function(){return o.b})),n.d(t,"SET_NO_INDEX",(function(){return a.f})),n.d(t,"SET_NO_FOLLOW",(function(){return a.e})),n.d(t,"SET_ADVANCED",(function(){return a.b})),n.d(t,"SET_BREADCRUMBS_TITLE",(function(){return a.c})),n.d(t,"SET_CANONICAL_URL",(function(){return a.d})),n.d(t,"LOAD_ADVANCED_SETTINGS",(function(){return a.a})),n.d(t,"setNoIndex",(function(){return a.l})),n.d(t,"setNoFollow",(function(){return a.k})),n.d(t,"setAdvanced",(function(){return a.h})),n.d(t,"setBreadcrumbsTitle",(function(){return a.i})),n.d(t,"setCanonical",(function(){return a.j})),n.d(t,"loadAdvancedSettingsData",(function(){return a.g})),n.d(t,"UPDATE_SNIPPET_DATA",(function(){return s})),n.d(t,"RUN_ANALYSIS",(function(){return c})),n.d(t,"updateAnalysisData",(function(){return u})),n.d(t,"runAnalysis",(function(){return l})),n.d(t,"LOAD_CORNERSTONE_CONTENT",(function(){return d.a})),n.d(t,"TOGGLE_CORNERSTONE_CONTENT",(function(){return d.c})),n.d(t,"SET_CORNERSTONE_CONTENT",(function(){return d.b})),n.d(t,"loadCornerstoneContent",(function(){return d.d})),n.d(t,"setCornerstoneContent",(function(){return d.e})),n.d(t,"toggleCornerstoneContent",(function(){return d.f})),n.d(t,"SET_EDITOR_DATA_CONTENT",(function(){return p})),n.d(t,"SET_EDITOR_DATA_TITLE",(function(){return f})),n.d(t,"SET_EDITOR_DATA_EXCERPT",(function(){return g})),n.d(t,"SET_EDITOR_DATA_IMAGE_URL",(function(){return h})),n.d(t,"setEditorDataContent",(function(){return m})),n.d(t,"setEditorDataTitle",(function(){return b})),n.d(t,"setEditorDataExcerpt",(function(){return y})),n.d(t,"setEditorDataImageUrl",(function(){return w})),n.d(t,"OPEN_EDITOR_MODAL",(function(){return O})),n.d(t,"CLOSE_EDITOR_MODAL",(function(){return v})),n.d(t,"openEditorModal",(function(){return _})),n.d(t,"closeEditorModal",(function(){return E})),n.d(t,"SET_ESTIMATED_READING_TIME",(function(){return S.b})),n.d(t,"LOAD_ESTIMATED_READING_TIME",(function(){return S.a})),n.d(t,"setEstimatedReadingTime",(function(){return S.d})),n.d(t,"loadEstimatedReadingTime",(function(){return S.c})),n.d(t,"LOAD_FOCUS_KEYWORD",(function(){return j.a})),n.d(t,"SET_FOCUS_KEYWORD",(function(){return j.b})),n.d(t,"loadFocusKeyword",(function(){return j.c})),n.d(t,"setFocusKeyword",(function(){return j.d})),n.d(t,"SET_MARKER_STATUS",(function(){return T.a})),n.d(t,"setMarkerStatus",(function(){return T.b})),n.d(t,"SET_MARKER_PAUSE_STATUS",(function(){return k.a})),n.d(t,"setMarkerPauseStatus",(function(){return k.b})),n.d(t,"DISMISS_ALERT",(function(){return x.a})),n.d(t,"DISMISS_ALERT_SUCCESS",(function(){return x.b})),n.d(t,"dismissAlert",(function(){return x.c})),n.d(t,"SET_PRIMARY_TAXONOMY",(function(){return P.a})),n.d(t,"setPrimaryTaxonomyId",(function(){return P.b})),n.d(t,"SET_PAGE_TYPE",(function(){return D.d})),n.d(t,"SET_ARTICLE_TYPE",(function(){return D.c})),n.d(t,"GET_SCHEMA_PAGE_DATA",(function(){return D.b})),n.d(t,"GET_SCHEMA_ARTICLE_DATA",(function(){return D.a})),n.d(t,"setPageType",(function(){return D.h})),n.d(t,"setArticleType",(function(){return D.g})),n.d(t,"getSchemaPageData",(function(){return D.f})),n.d(t,"getSchemaArticleData",(function(){return D.e})),n.d(t,"MODAL_DISMISS",(function(){return R})),n.d(t,"MODAL_OPEN",(function(){return A})),n.d(t,"MODAL_OPEN_NO_KEYPHRASE",(function(){return I})),n.d(t,"setSEMrushDismissModal",(function(){return C})),n.d(t,"setSEMrushOpenModal",(function(){return M})),n.d(t,"setSEMrushNoKeyphraseMessage",(function(){return N})),n.d(t,"CHANGE_COUNTRY",(function(){return L.a})),n.d(t,"SET_REQUEST_SUCCEEDED",(function(){return L.g})),n.d(t,"SET_REQUEST_FAILED",(function(){return L.e})),n.d(t,"SET_REQUEST_LIMIT_REACHED",(function(){return L.f})),n.d(t,"NEW_REQUEST",(function(){return L.b})),n.d(t,"NO_DATA_FOUND",(function(){return L.c})),n.d(t,"SET_LOGIN_STATUS",(function(){return L.d})),n.d(t,"setSEMrushNewRequest",(function(){return L.j})),n.d(t,"setSEMrushRequestSucceeded",(function(){return L.m})),n.d(t,"setSEMrushRequestFailed",(function(){return L.l})),n.d(t,"setSEMrushSetRequestLimitReached",(function(){return L.n})),n.d(t,"setSEMrushChangeCountry",(function(){return L.h})),n.d(t,"setSEMrushNoResultsFound",(function(){return L.k})),n.d(t,"setSEMrushLoginStatus",(function(){return L.i})),n.d(t,"SET_SETTINGS",(function(){return U.b})),n.d(t,"SET_CONTENT_IMAGE",(function(){return U.a})),n.d(t,"setSettings",(function(){return U.d})),n.d(t,"setContentImage",(function(){return U.c})),n.d(t,"SET_SHOPPING_DATA",(function(){return F.a})),n.d(t,"setShoppingData",(function(){return F.b})),n.d(t,"SWITCH_MODE",(function(){return B.e})),n.d(t,"UPDATE_DATA",(function(){return B.f})),n.d(t,"UPDATE_REPLACEMENT_VARIABLE",(function(){return B.g})),n.d(t,"HIDE_REPLACEMENT_VARIABLES",(function(){return B.a})),n.d(t,"REMOVE_REPLACEMENT_VARIABLE",(function(){return B.d})),n.d(t,"REFRESH",(function(){return B.c})),n.d(t,"UPDATE_WORDS_TO_HIGHLIGHT",(function(){return B.h})),n.d(t,"LOAD_SNIPPET_EDITOR_DATA",(function(){return B.b})),n.d(t,"switchMode",(function(){return B.l})),n.d(t,"updateData",(function(){return B.m})),n.d(t,"updateReplacementVariable",(function(){return B.n})),n.d(t,"updateWordsToHighlight",(function(){return B.o})),n.d(t,"removeReplacementVariable",(function(){return B.k})),n.d(t,"refreshSnippetEditor",(function(){return B.j})),n.d(t,"hideReplacementVariables",(function(){return B.i})),n.d(t,"SET_TWITTER_TITLE",(function(){return Y.e})),n.d(t,"SET_TWITTER_DESCRIPTION",(function(){return Y.c})),n.d(t,"SET_TWITTER_IMAGE",(function(){return Y.d})),n.d(t,"CLEAR_TWITTER_IMAGE",(function(){return Y.a})),n.d(t,"LOAD_TWITTER_PREVIEW",(function(){return Y.b})),n.d(t,"setTwitterPreviewTitle",(function(){return Y.j})),n.d(t,"setTwitterPreviewDescription",(function(){return Y.h})),n.d(t,"setTwitterPreviewImage",(function(){return Y.i})),n.d(t,"clearTwitterPreviewImage",(function(){return Y.f})),n.d(t,"loadTwitterPreviewData",(function(){return Y.g})),n.d(t,"SET_FACEBOOK_TITLE",(function(){return K.e})),n.d(t,"SET_FACEBOOK_DESCRIPTION",(function(){return K.c})),n.d(t,"SET_FACEBOOK_IMAGE",(function(){return K.d})),n.d(t,"CLEAR_FACEBOOK_IMAGE",(function(){return K.a})),n.d(t,"LOAD_FACEBOOK_PREVIEW",(function(){return K.b})),n.d(t,"setFacebookPreviewTitle",(function(){return K.j})),n.d(t,"setFacebookPreviewDescription",(function(){return K.h})),n.d(t,"setFacebookPreviewImage",(function(){return K.i})),n.d(t,"clearFacebookPreviewImage",(function(){return K.f})),n.d(t,"loadFacebookPreviewData",(function(){return K.g})),n.d(t,"SET_WARNING_MESSAGE",(function(){return V.a})),n.d(t,"setWarningMessage",(function(){return V.b})),n.d(t,"setOverallReadabilityScore",(function(){return q})),n.d(t,"setOverallSeoScore",(function(){return W})),n.d(t,"setReadabilityResults",(function(){return r.setReadabilityResults})),n.d(t,"setSeoResultsForKeyword",(function(){return r.setSeoResultsForKeyword}));var r=n(22),i=n(30),o=n(75),a=n(44),s="SNIPPET_EDITOR_UPDATE_ANALYSIS_DATA",c="RUN_ANALYSIS";function u(e){return{type:s,data:e}}function l(){return{type:c,timestamp:Date.now()}}var d=n(60),p="SET_EDITOR_DATA_CONTENT",f="SET_EDITOR_DATA_TITLE",g="SET_EDITOR_DATA_EXCERPT",h="SET_EDITOR_DATA_IMAGE_URL";function m(e){return{type:p,content:e}}function b(e){return{type:f,title:e}}function y(e){return{type:g,excerpt:e}}function w(e){return{type:h,imageUrl:e}}var O="OPEN_MODAL",v="CLOSE_MODAL";function _(e){return{type:O,modalKey:e}}function E(){return{type:v}}var S=n(68),j=n(61),T=n(45),k=n(76),x=n(70),P=n(77),D=n(57),R="MODAL_DISMISS",A="MODAL_OPEN",I="MODAL_OPEN_NO_KEYPHRASE";function C(){return{type:R}}function M(e){return{type:A,location:e}}function N(){return{type:I}}var L=n(41),U=n(43),F=n(78),B=n(16),Y=n(49),K=n(50),V=n(79),q=function(e){return i.a.readabilityScore=e,Object(r.setOverallReadabilityScore)(e)},W=function(e,t){return i.a.seoScore=e,Object(r.setOverallSeoScore)(e,t)}},,function(e,t){e.exports=window.regeneratorRuntime},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t-1},o.prototype.hasAlias=function(){return!Object(r.isEmpty)(this.options.aliases)},o.prototype.addAlias=function(e){this.hasAlias()||(this.options.aliases=[]),this.options.aliases.push(e)},o.prototype.getAliases=function(){return this.options.aliases},t.a=o},,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(5),i=n.n(r),o=n(7),a=n.n(o),s=function(){function e(){i()(this,e)}return a()(e,null,[{key:"keyphraseElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_focuskw":"hidden_wpseo_focuskw")}},{key:"isCornerstoneElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_is_cornerstone":"hidden_wpseo_is_cornerstone")}},{key:"seoScoreElement",get:function(){return document.getElementById("yoast_wpseo_linkdex")}},{key:"readabilityScoreElement",get:function(){return document.getElementById("yoast_wpseo_content_score")}},{key:"keyphrase",get:function(){return e.keyphraseElement.value},set:function(t){e.keyphraseElement.value=t}},{key:"isCornerstone",get:function(){return"1"===e.isCornerstoneElement.value},set:function(t){e.isCornerstoneElement.value=t?"1":"0"}},{key:"seoScore",get:function(){return e.seoScoreElement.value},set:function(t){e.seoScoreElement.value=t}},{key:"readabilityScore",get:function(){return e.readabilityScoreElement.value},set:function(t){e.readabilityScoreElement.value=t}}]),e}()},function(e,t,n){var r=n(87),i=n(88),o=n(89);e.exports=function(e){return r(e)||i(e)||o()}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(5),i=n.n(r),o=n(7),a=n.n(o),s=function(){function e(){i()(this,e)}return a()(e,null,[{key:"articleTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_article_type")}},{key:"defaultArticleType",get:function(){return e.articleTypeInput.getAttribute("data-default")}},{key:"articleType",get:function(){return e.articleTypeInput.value},set:function(t){e.articleTypeInput.value=t}},{key:"pageTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_page_type")}},{key:"defaultPageType",get:function(){return e.pageTypeInput.getAttribute("data-default")}},{key:"pageType",get:function(){return e.pageTypeInput.value},set:function(t){e.pageTypeInput.value=t}}]),e}()},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},,,,function(e,t,n){"use strict";n.r(t),n.d(t,"tmceId",(function(){return c})),n.d(t,"termsTmceId",(function(){return u})),n.d(t,"setStore",(function(){return l})),n.d(t,"isTinyMCELoaded",(function(){return d})),n.d(t,"isTinyMCEAvailable",(function(){return p})),n.d(t,"getContentTinyMce",(function(){return f})),n.d(t,"addEventHandler",(function(){return g})),n.d(t,"disableMarkerButtons",(function(){return h})),n.d(t,"enableMarkerButtons",(function(){return m})),n.d(t,"isTextViewActive",(function(){return b})),n.d(t,"wpTextViewOnInitCheck",(function(){return y})),n.d(t,"tinyMceEventBinder",(function(){return w}));var r,i=n(2),o=n(93),a=n(123),s=n(45),c="content",u="description";function l(e){r=e}function d(){return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length}function p(e){if(!d())return!1;var t=tinyMCE.get(e);return null!==t&&!t.isHidden()}function f(e){var t,n,r;return n=!1===p(e)||0==(t=e,null!==document.getElementById(t+"_ifr"))?function(e){return document.getElementById(e)&&document.getElementById(e).value||""}(e):tinyMCE.get(e).getContent(),r=new RegExp("&","g"),n.replace(r,"&")}function g(e,t,n){"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(r){var o=r.editor;o.id===e&&Object(i.forEach)(t,(function(e){o.on(e,n)}))}))}function h(){Object(i.isUndefined)(r)||r.dispatch(Object(s.b)("disabled"))}function m(){Object(i.isUndefined)(r)||r.dispatch(Object(s.b)("enabled"))}function b(){var e=document.getElementById("wp-content-wrap");return!!e&&e.classList.contains("html-active")}function y(){b()&&(h(),d()&&tinyMCE.on("AddEditor",(function(){m()})))}function w(e,t){g(t,["input","change","cut","paste"],e),g(t,["hide"],h);var n=["show"];(new a.a).isPageBuilderActive()||n.push("init"),g(t,n,m),g("content",["focus"],(function(e){var t=e.target;Object(o.a)(t)&&(Object(o.b)(t),YoastSEO.app.disableMarkers())}))}},,function(e,t,n){"use strict";n.r(t),n.d(t,"nonReplaceVars",(function(){return f})),n.d(t,"fillReplacementVariables",(function(){return g})),n.d(t,"handlePrefixes",(function(){return h})),n.d(t,"createLabelFromName",(function(){return m})),n.d(t,"pushNewReplaceVar",(function(){return b})),n.d(t,"replaceSpaces",(function(){return y})),n.d(t,"prepareCustomFieldForDispatch",(function(){return w})),n.d(t,"prepareCustomTaxonomyForDispatch",(function(){return O})),n.d(t,"mapCustomTaxonomies",(function(){return v})),n.d(t,"mapCustomFields",(function(){return _})),n.d(t,"excerptFromContent",(function(){return E})),n.d(t,"applyReplaceUsingPlugin",(function(){return S}));var r=n(10),i=n.n(r),o=n(2),a=n(80),s=n(16);function c(e){return e.charAt(0).toUpperCase()+e.slice(1)}var u=n(48);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function w(e){return{name:"cf_"+y(e),label:c(e+" (custom field)")}}function O(e){var t=y(e);return{name:"ct_"+t,label:c(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:c(e+" description (custom taxonomy)")}}function v(e,t){return e.custom_taxonomies?(Object(o.forEach)(e.custom_taxonomies,(function(e,n){var r=O(n),i=r.name,o=r.label,a=r.descriptionName,c=r.descriptionLabel;t.dispatch(Object(s.n)(i,e.name,o)),t.dispatch(Object(s.n)(a,e.description,c))})),Object(o.omit)(d({},e),"custom_taxonomies")):e}function _(e,t){return e.custom_fields?(Object(o.forEach)(e.custom_fields,(function(e,n){var r=w(n),i=r.name,o=r.label;t.dispatch(Object(s.n)(i,e,o))})),Object(o.omit)(d({},e),"custom_fields")):e}function E(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(a.stripTags)(e)).trim()).length<=t||(e=e.substring(0,t),Object(u.isFeatureEnabled)("JAPANESE_SUPPORT")?/\s/.test(e)&&(e=e.substring(0,e.lastIndexOf(" "))):e=e.substring(0,e.lastIndexOf(" "))),e}var S=function(e){var t=Object(o.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(o.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){var t=Object(o.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],o.identity);return{url:e.url,title:p(t(e.title)),description:p(t(e.description))}}(e);var n=t._applyModifications.bind(t);return{url:e.url,title:p(n("data_page_title",e.title)),description:p(n("data_meta_desc",e.description))}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"g",(function(){return i})),n.d(t,"e",(function(){return o})),n.d(t,"f",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return u})),n.d(t,"j",(function(){return l})),n.d(t,"m",(function(){return d})),n.d(t,"l",(function(){return p})),n.d(t,"n",(function(){return f})),n.d(t,"h",(function(){return g})),n.d(t,"k",(function(){return h})),n.d(t,"i",(function(){return m}));var r="CHANGE_COUNTRY",i="SET_REQUEST_SUCCEEDED",o="SET_REQUEST_FAILED",a="SET_LIMIT_REACHED",s="NEW_REQUEST",c="NO_DATA_FOUND",u="SET_LOGIN_STATUS";function l(e,t){return{type:s,countryCode:e,keyphrase:t}}function d(e){return{type:i,response:e}}function p(e){return{type:o,response:e}}function f(){return{type:a}}function g(e){return{type:r,countryCode:e}}function h(){return{type:c}}function m(e){return{type:u,loginStatus:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(3),i=n(23),o=n(2);function a(e){return Object(o.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:Object(r.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:Object(r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:Object(r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:Object(r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(i.interpreters.scoreToRating(e))}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return a}));var r="SET_SETTINGS",i="SET_CONTENT_IMAGE",o=function(e){return{type:r,settings:e}},a=function(e){return{type:i,src:e}}},function(e,t,n){"use strict";n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return u})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return p})),n.d(t,"a",(function(){return f})),n.d(t,"l",(function(){return g})),n.d(t,"k",(function(){return h})),n.d(t,"h",(function(){return m})),n.d(t,"i",(function(){return b})),n.d(t,"j",(function(){return y})),n.d(t,"g",(function(){return w}));var r=n(5),i=n.n(r),o=n(7),a=n.n(o),s=function(){function e(){i()(this,e)}return a()(e,null,[{key:"noIndexElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_meta-robots-noindex":"hidden_wpseo_noindex")}},{key:"noFollowElement",get:function(){return document.getElementById("yoast_wpseo_meta-robots-nofollow")}},{key:"advancedElement",get:function(){return document.getElementById("yoast_wpseo_meta-robots-adv")}},{key:"breadcrumbsTitleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_bctitle":"hidden_wpseo_bctitle")}},{key:"canonicalElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_canonical":"hidden_wpseo_canonical")}},{key:"noIndex",get:function(){return e.noIndexElement&&e.noIndexElement.value||""},set:function(t){e.noIndexElement.value=t}},{key:"noFollow",get:function(){return e.noFollowElement&&e.noFollowElement.value||""},set:function(t){e.noFollowElement.value=t}},{key:"advanced",get:function(){return e.advancedElement&&e.advancedElement.value||""},set:function(t){e.advancedElement.value=t}},{key:"breadcrumbsTitle",get:function(){return e.breadcrumbsTitleElement&&e.breadcrumbsTitleElement.value||""},set:function(t){e.breadcrumbsTitleElement.value=t}},{key:"canonical",get:function(){return e.canonicalElement&&e.canonicalElement.value||""},set:function(t){e.canonicalElement.value=t}}]),e}(),c="SET_NO_INDEX",u="SET_NO_FOLLOW",l="SET_ADVANCED",d="SET_BREADCRUMBS_TITLE",p="SET_CANONICAL_URL",f="LOAD_ADVANCED_SETTINGS",g=function(e){return s.noIndex=e,{type:c,value:e}},h=function(e){return s.noFollow=e,{type:u,value:e}},m=function(e){return s.advanced=e.join(","),{type:l,value:e}},b=function(e){return s.breadcrumbsTitle=e,{type:d,value:e}},y=function(e){return s.canonical=e,{type:p,value:e}},w=function(){return{type:f,settings:{noIndex:s.noIndex,noFollow:s.noFollow,advanced:s.advanced.split(","),breadcrumbsTitle:s.breadcrumbsTitle,canonical:s.canonical,isLoading:!1}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return i}));var r="WPSEO_SET_MARKER_STATUS",i=function(e){return{type:r,marksButtonStatus:e}}},,,function(e,t){e.exports=window.yoast.featureFlag},function(e,t,n){"use strict";n.d(t,"e",(function(){return u})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return d})),n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return f})),n.d(t,"j",(function(){return g})),n.d(t,"h",(function(){return h})),n.d(t,"i",(function(){return m})),n.d(t,"f",(function(){return b})),n.d(t,"g",(function(){return y}));var r=n(4),i=n(5),o=n.n(i),a=n(7),s=n.n(a),c=function(){function e(){o()(this,e)}return s()(e,null,[{key:"titleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-title":"hidden_wpseo_twitter-title")}},{key:"descriptionElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-description":"hidden_wpseo_twitter-description")}},{key:"imageIdElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-image-id":"hidden_wpseo_twitter-image-id")}},{key:"imageUrlElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-image":"hidden_wpseo_twitter-image")}},{key:"title",get:function(){return e.titleElement.value},set:function(t){e.titleElement.value=t}},{key:"description",get:function(){return e.descriptionElement.value},set:function(t){e.descriptionElement.value=t}},{key:"imageId",get:function(){return e.imageIdElement.value},set:function(t){e.imageIdElement.value=t}},{key:"imageUrl",get:function(){return e.imageUrlElement.value},set:function(t){e.imageUrlElement.value=t}}]),e}(),u="SET_TWITTER_TITLE",l="SET_TWITTER_DESCRIPTION",d="SET_TWITTER_IMAGE",p="CLEAR_TWITTER_IMAGE",f="LOAD_TWITTER_PREVIEW",g=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialTitleTemplate().trim()?c.title="":c.title=e,{type:u,title:e}},h=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialDescriptionTemplate().trim()?c.description="":c.description=e,{type:l,description:e}},m=function(e){return c.imageId=e.id,c.imageUrl=e.url,{type:d,image:e}},b=function(){return c.imageId="",c.imageUrl="",{type:p}},y=function(){var e=Object(r.select)("yoast-seo/editor"),t=e.getSocialDescriptionTemplate,n=e.getSocialTitleTemplate;return{type:f,imageId:c.imageId,imageUrl:c.imageUrl,description:c.description||t(),title:c.title||n()}}},function(e,t,n){"use strict";n.d(t,"e",(function(){return u})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return d})),n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return f})),n.d(t,"j",(function(){return g})),n.d(t,"h",(function(){return h})),n.d(t,"i",(function(){return m})),n.d(t,"f",(function(){return b})),n.d(t,"g",(function(){return y}));var r=n(4),i=n(5),o=n.n(i),a=n(7),s=n.n(a),c=function(){function e(){o()(this,e)}return s()(e,null,[{key:"titleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-title":"hidden_wpseo_opengraph-title")}},{key:"descriptionElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-description":"hidden_wpseo_opengraph-description")}},{key:"imageIdElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-image-id":"hidden_wpseo_opengraph-image-id")}},{key:"imageUrlElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-image":"hidden_wpseo_opengraph-image")}},{key:"title",get:function(){return e.titleElement.value},set:function(t){e.titleElement.value=t}},{key:"description",get:function(){return e.descriptionElement.value},set:function(t){e.descriptionElement.value=t}},{key:"imageId",get:function(){return e.imageIdElement.value},set:function(t){e.imageIdElement.value=t}},{key:"imageUrl",get:function(){return e.imageUrlElement.value},set:function(t){e.imageUrlElement.value=t}}]),e}(),u="SET_FACEBOOK_TITLE",l="SET_FACEBOOK_DESCRIPTION",d="SET_FACEBOOK_IMAGE",p="CLEAR_FACEBOOK_IMAGE",f="LOAD_FACEBOOK_PREVIEW",g=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialTitleTemplate().trim()?c.title="":c.title=e,{type:u,title:e}},h=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialDescriptionTemplate().trim()?c.description="":c.description=e,{type:l,description:e}},m=function(e){return c.imageUrl=e.url,c.imageId=e.id,{type:d,image:e}},b=function(){return c.imageId="",c.imageUrl="",{type:p}},y=function(){var e=Object(r.select)("yoast-seo/editor"),t=e.getSocialDescriptionTemplate,n=e.getSocialTitleTemplate;return{type:f,imageId:c.imageId,imageUrl:c.imageUrl,description:c.description||t(),title:c.title||n()}}},,,function(e,t){e.exports=window.wp.url},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(20),i=n(2);function o(){var e=Object(r.a)();return 1===Object(i.get)(e,"keywordAnalysisActive",0)}},function(e,t,n){"use strict";n.d(t,"d",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return s})),n.d(t,"h",(function(){return c})),n.d(t,"g",(function(){return u})),n.d(t,"f",(function(){return l})),n.d(t,"e",(function(){return d}));var r=n(33),i="SET_PAGE_TYPE",o="SET_ARTICLE_TYPE",a="GET_SCHEMA_PAGE_DATA",s="GET_SCHEMA_ARTICLE_DATA",c=function(e){return r.a.pageType=e,{type:i,pageType:e}},u=function(e){return r.a.articleType=e,{type:o,articleType:e}},l=function(){return{type:a,pageType:r.a.pageType,defaultPageType:r.a.defaultPageType}},d=function(){return{type:s,articleType:r.a.articleType,defaultArticleType:r.a.defaultArticleType}}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return u}));var r=n(30),i="".concat("WPSEO_","LOAD_CORNERSTONE_CONTENT"),o="".concat("WPSEO_","TOGGLE_CORNERSTONE_CONTENT"),a="".concat("WPSEO_","SET_CORNERSTONE_CONTENT"),s=function(){return{type:a,isCornerstone:r.a.isCornerstone}},c=function(e){return r.a.isCornerstone=e,{type:a,isCornerstone:e}},u=function(){return r.a.isCornerstone=!r.a.isCornerstone,{type:o}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return s}));var r=n(30),i="".concat("WPSEO_","LOAD_FOCUS_KEYWORD"),o="".concat("WPSEO_","SET_FOCUS_KEYWORD"),a=function(){return{type:i,keyword:r.a.keyphrase}},s=function(e){return r.a.keyphrase=e,{type:o,keyword:e}}},function(e,t,n){"use strict";n.r(t),n.d(t,"setTextdomainL10n",(function(){return o})),n.d(t,"setYoastComponentsL10n",(function(){return a})),n.d(t,"setWordPressSeoL10n",(function(){return s}));var r=n(3),i=n(2);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"wpseoYoastJSL10n",n=Object(i.get)(window,[t,e,"locale_data",e],!1);!1===n?Object(r.setLocaleData)({"":{}},e):Object(r.setLocaleData)(n,e)}function a(){o("yoast-components")}function s(){o("wordpress-seo")}},,function(e,t){e.exports=window.wp.hooks},function(e,t){e.exports=window.wp.apiFetch},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(20),i=n(2);function o(){var e=Object(r.a)();return 1===Object(i.get)(e,"contentAnalysisActive",0)}},function(e,t){e.exports=window.wp.richText},function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return u})),n.d(t,"d",(function(){return l})),n.d(t,"c",(function(){return d}));var r=n(5),i=n.n(r),o=n(7),a=n.n(o),s=function(){function e(){i()(this,e)}return a()(e,null,[{key:"estimatedReadingTimeElement",get:function(){return document.getElementById("yoast_wpseo_estimated-reading-time-minutes")}},{key:"estimatedReadingTime",get:function(){return e.estimatedReadingTimeElement&&e.estimatedReadingTimeElement.value||""},set:function(t){e.estimatedReadingTimeElement.value=t}}]),e}(),c="SET_ESTIMATED_READING_TIME",u="LOAD_ESTIMATED_READING_TIME";function l(e){return s.estimatedReadingTime=e,{type:c,estimatedReadingTime:e}}function d(){return{type:u,estimatedReadingTime:s.estimatedReadingTime}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c}));var r=n(26),i=n.n(r),o=i.a.mark(c),a="DISMISS_ALERT",s="DISMISS_ALERT_SUCCESS";function c(e){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{type:a,alertKey:e};case 2:return t.abrupt("return",{type:s,alertKey:e});case 3:case"end":return t.stop()}}),o)}},function(e,t,n){"use strict";n.r(t),n.d(t,"getNoIndex",(function(){return i})),n.d(t,"getNoFollow",(function(){return o})),n.d(t,"getAdvanced",(function(){return a})),n.d(t,"getBreadcrumbsTitle",(function(){return s})),n.d(t,"getCanonical",(function(){return c})),n.d(t,"getIsLoading",(function(){return u})),n.d(t,"getSeoTitle",(function(){return W})),n.d(t,"getDescription",(function(){return z})),n.d(t,"getPermalink",(function(){return $})),n.d(t,"getAnalysisTimestamp",(function(){return G})),n.d(t,"getAnalysisData",(function(){return H})),n.d(t,"isCornerstoneContent",(function(){return Q})),n.d(t,"getEditorContext",(function(){return d})),n.d(t,"getPostOrPageString",(function(){return p})),n.d(t,"getIsBlockEditor",(function(){return f})),n.d(t,"getIsElementorEditor",(function(){return g})),n.d(t,"getIsTerm",(function(){return h})),n.d(t,"getEditorType",(function(){return m})),n.d(t,"getContentLocale",(function(){return b})),n.d(t,"getEditorDataContent",(function(){return O})),n.d(t,"getEditorDataTitle",(function(){return v})),n.d(t,"getEditorDataExcerpt",(function(){return _})),n.d(t,"getEditorDataExcerptWithFallback",(function(){return E})),n.d(t,"getEditorDataImageUrl",(function(){return S})),n.d(t,"getEditorDataImageFallback",(function(){return j})),n.d(t,"getIsModalOpen",(function(){return Z})),n.d(t,"getEstimatedReadingTime",(function(){return X})),n.d(t,"getFacebookTitle",(function(){return J})),n.d(t,"getFacebookDescription",(function(){return ee})),n.d(t,"getFacebookImageUrl",(function(){return te})),n.d(t,"getFacebookImageSrc",(function(){return ne})),n.d(t,"getFacebookWarnings",(function(){return re})),n.d(t,"getContentImage",(function(){return ie})),n.d(t,"getImageFallback",(function(){return oe})),n.d(t,"getSiteUrl",(function(){return ae})),n.d(t,"getSeoTitleTemplate",(function(){return se})),n.d(t,"getSeoTitleTemplateNoFallback",(function(){return ce})),n.d(t,"getSocialTitleTemplate",(function(){return ue})),n.d(t,"getSeoDescriptionTemplate",(function(){return le})),n.d(t,"getSocialDescriptionTemplate",(function(){return de})),n.d(t,"getReplacedExcerpt",(function(){return pe})),n.d(t,"getFocusKeyphrase",(function(){return T})),n.d(t,"getActiveMarker",(function(){return fe})),n.d(t,"getMarkerPauseStatus",(function(){return ge})),n.d(t,"isMarkingAvailable",(function(){return he})),n.d(t,"getMarksButtonStatus",(function(){return me})),n.d(t,"isAlertDismissed",(function(){return be})),n.d(t,"getPreferences",(function(){return ye})),n.d(t,"getIsKeywordAnalysisActive",(function(){return we})),n.d(t,"getPrimaryTaxonomyId",(function(){return Oe})),n.d(t,"getSeoResults",(function(){return je})),n.d(t,"getResultsForKeyword",(function(){return Te})),n.d(t,"getReadabilityResults",(function(){return ke})),n.d(t,"getResultsForFocusKeyword",(function(){return xe})),n.d(t,"getResultById",(function(){return Pe})),n.d(t,"getMarkButtonStatus",(function(){return De})),n.d(t,"getDefaultPageType",(function(){return Re})),n.d(t,"getPageType",(function(){return Ae})),n.d(t,"getDefaultArticleType",(function(){return Ie})),n.d(t,"getArticleType",(function(){return Ce})),n.d(t,"getSEMrushModalOpen",(function(){return Me})),n.d(t,"getSEMrushNoKeyphraseMessage",(function(){return Ne})),n.d(t,"getSEMrushIsRequestPending",(function(){return Le})),n.d(t,"getSEMrushRequestIsSuccess",(function(){return Ue})),n.d(t,"getSEMrushRequestResponse",(function(){return Fe})),n.d(t,"getSEMrushRequestLimitReached",(function(){return Be})),n.d(t,"getSEMrushRequestKeyphrase",(function(){return Ye})),n.d(t,"getSEMrushSelectedCountry",(function(){return Ke})),n.d(t,"getSEMrushRequestHasData",(function(){return Ve})),n.d(t,"getSEMrushLoginStatus",(function(){return qe})),n.d(t,"getAuthorName",(function(){return k})),n.d(t,"getSiteName",(function(){return x})),n.d(t,"getBaseUrlFromSettings",(function(){return P})),n.d(t,"getDateFromSettings",(function(){return D})),n.d(t,"getRecommendedReplaceVars",(function(){return R})),n.d(t,"getSiteIconUrlFromSettings",(function(){return A})),n.d(t,"getShoppingData",(function(){return We})),n.d(t,"getReplaceVars",(function(){return I})),n.d(t,"getSnippetEditorTemplates",(function(){return C})),n.d(t,"getSnippetEditorMode",(function(){return M})),n.d(t,"getSnippetEditorTitle",(function(){return N})),n.d(t,"getSnippetEditorTitleWithTemplate",(function(){return L})),n.d(t,"getSnippetEditorDescription",(function(){return U})),n.d(t,"getSnippetEditorDescriptionWithTemplate",(function(){return F})),n.d(t,"getSnippetEditorSlug",(function(){return B})),n.d(t,"getSnippetEditorData",(function(){return Y})),n.d(t,"getSnippetEditorWordsToHighlight",(function(){return K})),n.d(t,"getSnippetEditorIsLoading",(function(){return V})),n.d(t,"getSnippetEditorPreviewImageUrl",(function(){return q})),n.d(t,"getTwitterTitle",(function(){return ze})),n.d(t,"getTwitterDescription",(function(){return $e})),n.d(t,"getTwitterImageUrl",(function(){return Ge})),n.d(t,"getTwitterImageType",(function(){return He})),n.d(t,"getTwitterImageSrc",(function(){return Qe})),n.d(t,"getTwitterWarnings",(function(){return Ze})),n.d(t,"getWarningMessage",(function(){return Xe}));var r=n(2),i=function(e){return Object(r.get)(e,"advancedSettings.noIndex","")},o=function(e){return Object(r.get)(e,"advancedSettings.noFollow","")},a=function(e){return Object(r.get)(e,"advancedSettings.advanced","")},s=function(e){return Object(r.get)(e,"advancedSettings.breadcrumbsTitle","summary")},c=function(e){return Object(r.get)(e,"advancedSettings.canonical","")},u=function(e){return Object(r.get)(e,"advancedSettings.isLoading",!0)},l=n(73);function d(e){return e.editorContext}function p(e){return"Page"===Object(r.get)(e,"editorContext.postTypeNameSingular")?"page":"post"}function f(e){return Object(r.get)(e,"editorContext.isBlockEditor",!1)}function g(e){return Object(r.get)(e,"editorContext.isElementorEditor",!1)}function h(e){return Object(r.get)(e,"editorContext.isTerm",!1)}function m(e){return g(e)?"elementorEditor":f(e)?"blockEditor":"classicEditor"}function b(e){return Object(r.get)(e,"editorContext.contentLocale","en_US")}var y=n(64),w=n(40),O=function(e){return Object(r.get)(e,"editorData.content","")},v=function(e){return Object(r.get)(e,"editorData.title","")},_=function(e){return Object(r.get)(e,"editorData.excerpt")},E=function(e){var t=Object(r.get)(e,"editorData.excerpt","");return""===t&&(t=Object(w.excerptFromContent)(Object(r.get)(e,"editorData.content",""))),t},S=function(e){return Object(r.get)(e,"editorData.imageUrl","")},j=function(e){var t=[{featuredOrFirstImage:Object(r.get)(e,"editorData.imageUrl","")},{socialImage:Object(r.get)(window,"wpseoScriptData.metabox.social_image_template","")},{siteWideImage:Object(r.get)(window.wpseoScriptData,"metabox.showSocial.facebook")&&Object(r.get)(e,"settings.socialPreviews.sitewideImage","")}];Object(y.applyFilters)("yoast.socials.imageFallback",t);for(var n=0,i=t;n]+>/g," "),i===e&&(e+=" "),i=e,r&&"assertive"===t?r.textContent=e:n&&(n.textContent=e)}},,function(e,t,n){"use strict";function r(){return window.wpseoScriptData&&"1"===window.wpseoScriptData.isBlockEditor}n.d(t,"a",(function(){return r}))},,,function(e,t,n){"use strict";n.r(t),n.d(t,"sortResultsByIdentifier",(function(){return s})),n.d(t,"default",(function(){return c})),n.d(t,"initializationDone",(function(){return u}));var r=n(22),i=n(16),o=n(74),a=!1;function s(e){return e.sort((function(e,t){return e._identifier.localeCompare(t._identifier)}))}function c(e,t,n,c,u){var l=t();a&&e.analyze(l).then((function(e){var t=e.result,o=t.seo,a=t.readability;if(o){var d=o[""];d.results.forEach((function(e){e.getMarker=function(){return function(){return n(l,e.marks)}}})),d.results=s(d.results),c.dispatch(Object(r.setSeoResultsForKeyword)(l.getKeyword(),d.results)),c.dispatch(Object(r.setOverallSeoScore)(d.score,l.getKeyword())),c.dispatch(Object(i.j)()),u.saveScores(d.score,l.getKeyword())}a&&(a.results.forEach((function(e){e.getMarker=function(){return function(){return n(l,e.marks)}}})),a.results=s(a.results),c.dispatch(Object(r.setReadabilityResults)(a.results)),c.dispatch(Object(r.setOverallReadabilityScore)(a.score)),c.dispatch(Object(i.j)()),u.saveContentScore(a.score))})).catch(o.a)}function u(){a=!0}},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t]+)>)/gi,""),r=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),i=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=[];if(0===e.length)return r;var i,o=0;for(n||(t=t.toLowerCase(),e=e.toLowerCase());(i=e.indexOf(t,o))>-1;)r.push(i),o=i+t.length;return r}(e,n);if(0===i.length)return[];var o=function(e){for(var t=e.indexOf(l),n=null,r=[];t>=0;){if((n=(e=e.replace(l,"")).indexOf(""))",""),r.push({startOffset:t,endOffset:n}),t=e.indexOf(l),n=null}return r}(r),a=[];return o.forEach((function(e){i.forEach((function(r){var i=r+e.startOffset,o=r+e.endOffset;0===e.startOffset&&e.endOffset===t.getOriginal().length&&(o=r+n.length),a.push({startOffset:i,endOffset:o})}))})),a}(c,e);return n?n.map((function(e){return u(u({},e),{},{block:t.clientId,richTextIdentifier:r})})):[]}))}function w(e){d=e.map((function(e){return{blockClientId:e.block,source:"yoast",richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}}))}function O(e,t){if(d=[],Object(s.dispatch)("core/annotations").__experimentalRemoveAnnotationsBySource("yoast"),0!==t.length){var n=Object(s.select)("core/block-editor").getBlocks();w(Object(o.flatMap)(n,(function(e){return Object(o.flatMap)(b(e.name),(function(n){return y(n,e,t)}))}))),h()}}function v(){var e=Object(s.select)("core/editor").getSelectedBlock(),t=Object(s.select)("yoast-seo/editor").getActiveMarker();if(e&&t){var n;n=e.clientId,Object(s.select)("core/annotations").__experimentalGetAnnotations().filter((function(e){return e.blockClientId===n&&"yoast"===e.source})).forEach((function(e){Object(s.dispatch)("core/annotations").__experimentalRemoveAnnotation(e.id)}));var r=Object(s.select)("yoast-seo/editor").getResultById(t);if(void 0!==r){var i=r.marks;w(Object(o.flatMap)(b(e.name),(function(t){return y(t,e,i)}))),h()}}}},function(e,t,n){"use strict";function r(e){var t=jQuery(".yst-traffic-light"),n=t.closest(".wpseo-meta-section-link"),r=jQuery("#wpseo-traffic-light-desc"),i=e.className||"na";t.attr("class","yst-traffic-light "+i),n.attr("aria-describedby","wpseo-traffic-light-desc"),r.length>0?r.text(e.screenReaderText):n.closest("li").append(""+e.screenReaderText+"")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){var t=e.alertKey;return new Promise((function(e){return wpseoApi.post("alerts/dismiss",{key:t},(function(){return e()}))}))}n.r(t),n.d(t,"DISMISS_ALERT",(function(){return r}))},,,function(e,t,n){"use strict";var r=n(10),i=n.n(r),o=n(2),a=n(70);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:u,t=arguments.length>1?arguments[1]:void 0;return t.type===a.b&&t.alertKey?c(c({},e),{},i()({},t.alertKey,!0)):e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(10),i=n.n(r),o=n(43);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.b:return s(s({},e),t.settings);case o.a:var n=Object.assign({},e.socialPreviews,{contentImage:t.src});return s(s({},e),{},{socialPreviews:s({},n)});default:return e}}},,function(e,t,n){"use strict";var r=n(10),i=n.n(r),o=n(3),a=n(16),s=n(40);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:l(),t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.e:return u(u({},e),{},{mode:t.mode});case a.f:return u(u({},e),{},{data:u(u({},e.data),t.data)});case a.g:var n=!0,r=e.replacementVariables.map((function(e){return e.name===t.name?(n=!1,{name:t.name,label:t.label||e.label,value:t.value,hidden:e.hidden}):e}));return n&&(r=Object(s.pushNewReplaceVar)(r,t)),u(u({},e),{},{replacementVariables:r});case a.a:var i=e.replacementVariables.map((function(e){return{name:e.name,label:e.label,value:e.value,hidden:t.data.includes(e.name)}}));return u(u({},e),{},{replacementVariables:i});case a.d:return u(u({},e),{},{replacementVariables:e.replacementVariables.filter((function(e){return e.name!==t.name}))});case a.c:return u(u({},e),{},{uniqueRefreshValue:t.time});case a.h:return u(u({},e),{},{wordsToHighlight:t.wordsToHighlight});case a.b:return u(u({},e),{},{data:u(u({},e.data),{},{title:t.data.title,description:t.data.description,slug:t.data.slug}),templates:u(u({},e.templates),{},{title:t.templates.title,description:t.templates.description}),isLoading:!1})}return e}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return p}));var r=n(2),i=n(23),o=n(91);function a(){return Object(r.get)(window,["wpseoAdminL10n","default_query_params"],{})}var s=n(97),c=n(66),u=n(56),l=n(48);function d(){var e=Object(r.get)(window,["wpseoScriptData","analysis","worker","url"],"analysis-worker.js"),t=Object(i.createWorker)(e);return t.postMessage({dependencies:Object(r.get)(window,["wpseoScriptData","analysis","worker","dependencies"],[])}),new i.AnalysisWorkerWrapper(t)}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={locale:Object(o.a)(),contentAnalysisActive:Object(c.a)(),keywordAnalysisActive:Object(u.a)(),defaultQueryParams:a(),logLevel:Object(r.get)(window,["wpseoScriptData","analysis","worker","log_level"],"ERROR"),enabledFeatures:Object(l.enabledFeatures)()};t=Object(r.merge)(t,e);var n=Object(s.a)();return Object(r.isUndefined)(n)||Object(r.isUndefined)(n.domain)||(t.translations=n),t}},,,function(e,t){e.exports=window.wp.isShallowEqual},,function(e,t,n){"use strict";var r=n(5),i=n.n(r),o=n(7),a=n.n(o),s=n(2),c=function(){function e(){i()(this,e)}return a()(e,[{key:"listen",value:function(e){this.classicEditorContainer=document.getElementById("et_pb_main_editor_wrap"),this.classicEditorContainer&&new MutationObserver((function(t){Object(s.forEach)(t,(function(t){"attributes"===t.type&&"class"===t.attributeName&&(t.target.classList.contains("et_pb_hidden")?e.classicEditorHidden():e.classicEditorShown())}))})).observe(this.classicEditorContainer,{attributes:!0})}}],[{key:"isActive",value:function(){return!!document.getElementById("et_pb_main_editor_wrap")}},{key:"isTinyMCEHidden",value:function(){var e=document.getElementById("et_pb_main_editor_wrap");return!!e&&e.classList.contains("et_pb_hidden")}}]),e}(),u=function(){function e(){i()(this,e)}return a()(e,null,[{key:"isActive",value:function(){return!!window.VCV_I18N}}]),e}(),l={classicEditorHidden:s.noop,classicEditorShown:s.noop,pageBuilderLoaded:s.noop},d=function(){function e(){i()(this,e),this.determineActivePageBuilders()}return a()(e,[{key:"determineActivePageBuilders",value:function(){c.isActive()&&(this.diviActive=!0),u.isActive()&&(this.vcActive=!0)}},{key:"isPageBuilderActive",value:function(){return this.diviActive||this.vcActive}},{key:"listen",value:function(e){this.callbacks=Object(s.defaults)(e,l),this.diviActive&&(new c).listen(e)}},{key:"isClassicEditorHidden",value:function(){return!(!this.diviActive||!c.isTinyMCEHidden())}}]),e}();t.a=d},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(34),i=n.n(r),o=n(5),a=n.n(o),s=n(7),c=n.n(s),u=n(2),l=function(){function e(t){a()(this,e),this.refresh=t,this.loaded=!1,this.preloadThreshold=3e3,this.plugins={},this.modifications={},this._registerPlugin=this._registerPlugin.bind(this),this._ready=this._ready.bind(this),this._reloaded=this._reloaded.bind(this),this._registerModification=this._registerModification.bind(this),this._registerAssessment=this._registerAssessment.bind(this),this._applyModifications=this._applyModifications.bind(this),setTimeout(this._pollLoadingPlugins.bind(this),1500)}return c()(e,[{key:"_registerPlugin",value:function(e,t){return Object(u.isString)(e)?Object(u.isUndefined)(t)||Object(u.isObject)(t)?!1===this._validateUniqueness(e)?(console.error("Failed to register plugin. Plugin with name "+e+" already exists"),!1):(this.plugins[e]=t,!0):(console.error("Failed to register plugin "+e+". Expected parameters `options` to be a object."),!1):(console.error("Failed to register plugin. Expected parameter `pluginName` to be a string."),!1)}},{key:"_ready",value:function(e){return Object(u.isString)(e)?Object(u.isUndefined)(this.plugins[e])?(console.error("Failed to modify status for plugin "+e+". The plugin was not properly registered."),!1):(this.plugins[e].status="ready",!0):(console.error("Failed to modify status for plugin "+e+". Expected parameter `pluginName` to be a string."),!1)}},{key:"_reloaded",value:function(e){return Object(u.isString)(e)?Object(u.isUndefined)(this.plugins[e])?(console.error("Failed to reload Content Analysis for plugin "+e+". The plugin was not properly registered."),!1):(this.refresh(),!0):(console.error("Failed to reload Content Analysis for "+e+". Expected parameter `pluginName` to be a string."),!1)}},{key:"_registerModification",value:function(e,t,n,r){if(!Object(u.isString)(e))return console.error("Failed to register modification for plugin "+n+". Expected parameter `modification` to be a string."),!1;if(!Object(u.isFunction)(t))return console.error("Failed to register modification for plugin "+n+". Expected parameter `callable` to be a function."),!1;if(!Object(u.isString)(n))return console.error("Failed to register modification for plugin "+n+". Expected parameter `pluginName` to be a string."),!1;if(!1===this._validateOrigin(n))return console.error("Failed to register modification for plugin "+n+". The integration has not finished loading yet."),!1;var i={callable:t,origin:n,priority:Object(u.isNumber)(r)?r:10};return Object(u.isUndefined)(this.modifications[e])&&(this.modifications[e]=[]),this.modifications[e].push(i),!0}},{key:"_registerAssessment",value:function(e,t,n,r){return Object(u.isString)(t)?Object(u.isObject)(n)?Object(u.isString)(r)?(t=r+"-"+t,e.addAssessment(t,n),!0):(console.error("Failed to register assessment for plugin "+r+". Expected parameter `pluginName` to be a string."),!1):(console.error("Failed to register assessment for plugin "+r+". Expected parameter `assessment` to be a function."),!1):(console.error("Failed to register test for plugin "+r+". Expected parameter `name` to be a string."),!1)}},{key:"_applyModifications",value:function(e,t,n){var r=this.modifications[e];return!Object(u.isArray)(r)||r.length<1||((r=this._stripIllegalModifications(r)).sort((function(e,t){return e.priority-t.priority})),Object(u.forEach)(r,(function(r){var o=r.callable(t,n);i()(o)===i()(t)?t=o:console.error("Modification with name "+e+" performed by plugin with name "+r.origin+" was ignored because the data that was returned by it was of a different type than the data we had passed it.")}))),t}},{key:"_pollLoadingPlugins",value:function(e){e=Object(u.isUndefined)(e)?0:e,!0===this._allReady()?(this.loaded=!0,this.refresh()):e>=this.preloadThreshold?(this._pollTimeExceeded(),this.loaded=!0,this.refresh()):(e+=50,setTimeout(this._pollLoadingPlugins.bind(this,e),50))}},{key:"_allReady",value:function(){return Object(u.reduce)(this.plugins,(function(e,t){return e&&"ready"===t.status}),!0)}},{key:"_pollTimeExceeded",value:function(){Object(u.forEach)(this.plugins,(function(e,t){Object(u.isUndefined)(e.options)||"ready"===e.options.status||(console.error("Error: Plugin "+t+". did not finish loading in time."),delete this.plugins[t])}))}},{key:"_stripIllegalModifications",value:function(e){var t=this;return Object(u.forEach)(e,(function(n,r){!1===t._validateOrigin(n.origin)&&delete e[r]})),e}},{key:"_validateOrigin",value:function(e){return"ready"===this.plugins[e].status}},{key:"_validateUniqueness",value:function(e){return Object(u.isUndefined)(this.plugins[e])}}]),e}()},function(e,t,n){"use strict";n.r(t);var r=n(110);n.d(t,"DISMISS_ALERT",(function(){return r.DISMISS_ALERT}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(2),i=jQuery;function o(e,t,n,r){this._scriptUrl=r,this._options={usedKeywords:t.keyword_usage,searchUrl:t.search_url,postUrl:t.post_edit_url},this._keywordUsage=t.keyword_usage,this._postID=i("#post_ID, [name=tag_ID]").val(),this._taxonomy=i("[name=taxonomy]").val()||"",this._ajaxAction=e,this._refreshAnalysis=n,this._initialized=!1}o.prototype.init=function(){var e=this,t=window.YoastSEO.analysis.worker;this.requestKeywordUsage=Object(r.debounce)(this.requestKeywordUsage.bind(this),500),t.loadScript(this._scriptUrl).then((function(){t.sendMessage("initialize",e._options,"used-keywords-assessment")})).then((function(){e._initialized=!0,Object(r.isEqual)(e._options.usedKeywords,e._keywordUsage)?e._refreshAnalysis():t.sendMessage("updateKeywordUsage",e._keywordUsage,"used-keywords-assessment").then((function(){return e._refreshAnalysis()}))})).catch((function(e){return console.error(e)}))},o.prototype.setKeyword=function(e){Object(r.has)(this._keywordUsage,e)||this.requestKeywordUsage(e)},o.prototype.requestKeywordUsage=function(e){i.post(ajaxurl,{action:this._ajaxAction,post_id:this._postID,keyword:e,taxonomy:this._taxonomy},this.updateKeywordUsage.bind(this,e),"json")},o.prototype.updateKeywordUsage=function(e,t){var n=this,i=window.YoastSEO.analysis.worker;t&&Object(r.isArray)(t)&&(this._keywordUsage[e]=t,this._initialized&&i.sendMessage("updateKeywordUsage",this._keywordUsage,"used-keywords-assessment").then((function(){return n._refreshAnalysis()})))}},function(e,t,n){"use strict";function r(e){e(document).ready((function(e){void 0!==wp.media&&e(".wpseo_image_upload_button").each((function(t,n){var r,i,o=((i=(r=e(r=n)).data("target"))&&""!==i||(i=e(r).attr("id").replace(/_button$/,"")),i),a=function(t){return(t=e(t)).data("target-id")}(n),s=e("#"+o),c=e("#"+a),u=wp.media.frames.file_frame=wp.media({title:wpseoScriptData.media.choose_image,button:{text:wpseoScriptData.media.choose_image},multiple:!1,library:{type:"image"}});u.on("select",(function(){var e=u.state().get("selection").first().toJSON();s.val(e.url),c.val(e.id)}));var l=e(n);l.click((function(e){e.preventDefault(),u.open()})),l.siblings(".wpseo_image_remove_button").on("click",(function(e){e.preventDefault(),s.val(""),c.val("")}))}))}))}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(81),i=n.n(r),o=n(2);function a(e){function t(t){var n=!1,r="",o=[],a=["userid","name","user_description"],s=["date"],c=["title","parent_title","excerpt","excerpt_only","caption","focuskw","pt_single","pt_plural","modified","id"],u=["term404","searchphrase"],l=["term_title","term_description"],d=["category","category_description","tag","tag_description"];t.hasClass("posttype-template")?o=o.concat(u,l):t.hasClass("homepage-template")?o=o.concat(a,s,c,u,l,d):t.hasClass("taxonomy-template")?o=o.concat(a,s,c,u):t.hasClass("author-template")?o=o.concat(c,s,u,l,d):t.hasClass("date-template")?o=o.concat(a,c,u,l,d):t.hasClass("search-template")?o=o.concat(a,s,c,l,d,["term404"]):t.hasClass("error404-template")&&(o=o.concat(a,s,c,l,d,["searchphrase"])),e.each(o,(function(o,a){if(r=t.attr("id")+"-"+a+"-warning",-1!==t.val().search("%%"+a+"%%")){t.addClass("wpseo-variable-warning-element");var s=wpseoAdminGlobalL10n.variable_warning.replace("%s","%%"+a+"%%");e("#"+r).length?e("#"+r).html(s):t.after('
'+s+"
"),i()(wpseoAdminGlobalL10n.variable_warning.replace("%s",a),"assertive"),n=!0}else e("#"+r).length&&e("#"+r).remove()})),!1===n&&t.removeClass("wpseo-variable-warning-element")}function n(){e("#copy-home-meta-description").on("click",(function(){e("#open_graph_frontpage_desc").val(e("#meta_description").val())}))}function r(){var t=e("#wpseo-conf");if(t.length){var n=t.attr("action").split("#")[0];t.attr("action",n+window.location.hash)}}function a(t){var n=e("#noindex-author-noposts-wpseo-container");t?n.show():n.hide()}e.fn._wpseoIsInViewport=function(){var t=e(this).offset().top,n=t+e(this).outerHeight(),r=e(window).scrollTop(),i=r+e(window).height();return t>r&&n0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.a:return t.activeMarker;default:return e}},advancedSettings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.a:return c(c({},e),t.settings);case a.f:return c(c({},e),{},{noIndex:t.value});case a.e:return c(c({},e),{},{noFollow:t.value});case a.b:return c(c({},e),{},{advanced:t.value});case a.d:return c(c({},e),{},{canonical:t.value});case a.c:return c(c({},e),{},{breadcrumbsTitle:t.value});default:return e}},analysis:l.analysis,analysisData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case d.UPDATE_SNIPPET_DATA:return f(f({},e),{},{snippet:t.data});case d.RUN_ANALYSIS:return f(f({},e),{},{timestamp:t.timestamp})}return e},dismissedAlerts:h.a,editorContext:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b();return e},editorData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:O,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case d.SET_EDITOR_DATA_CONTENT:return w(w({},e),{},{content:t.content});case d.SET_EDITOR_DATA_EXCERPT:return w(w({},e),{},{excerpt:t.excerpt});case d.SET_EDITOR_DATA_IMAGE_URL:return w(w({},e),{},{imageUrl:t.imageUrl});case d.SET_EDITOR_DATA_SLUG:return w(w({},e),{},{slug:t.slug});case d.SET_EDITOR_DATA_TITLE:return w(w({},e),{},{title:t.title})}return e},editorModals:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:E,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case d.OPEN_EDITOR_MODAL:return _(_({},e),{},{openedModal:t.modalKey});case d.CLOSE_EDITOR_MODAL:return _(_({},e),{},{openedModal:""})}return e},estimatedReadingTime:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:k,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case S.a:case S.b:return T(T({},e),{},{estimatedReadingTime:t.estimatedReadingTime});default:return e}},facebookEditor:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:R,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case x.b:return D(D({},e),{},{title:t.title,description:t.description,image:{id:t.id,url:t.imageUrl}});case x.e:return D(D({},e),{},{title:t.title});case x.c:return D(D({},e),{},{description:t.description});case x.d:return D(D({},e),{},{warnings:t.image.warnings,image:{id:t.image.id,url:t.image.url}});case x.a:return D(D({},e),{},{image:{url:"",id:""},warnings:[]});default:return e}},focusKeyword:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case A.a:case A.b:return t.keyword;default:return e}},isCornerstone:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case I.c:return!e;case I.b:return t.isCornerstone;default:return e}},isMarkerPaused:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case C.a:return M(0,t);default:return e}},marksButtonStatus:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"disabled",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case N.a:return t.marksButtonStatus;default:return e}},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:q();return e},primaryTaxonomies:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:G,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case W.a:return $($({},e),{},o()({},t.taxonomy,t.termId));default:return e}},schemaTab:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:X,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case H.d:return Z(Z({},e),{},{pageType:t.pageType});case H.c:return Z(Z({},e),{},{articleType:t.articleType});case H.b:return Z(Z({},e),{},{pageType:t.pageType,defaultPageType:t.defaultPageType});case H.a:return Z(Z({},e),{},{articleType:t.articleType,defaultArticleType:t.defaultArticleType});default:return e}},SEMrushModal:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:J,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case d.MODAL_OPEN_NO_KEYPHRASE:return{whichModalOpen:"none",displayNoKeyphraseMessage:!0};case d.MODAL_OPEN:return{whichModalOpen:t.location,displayNoKeyphraseMessage:!1};case d.MODAL_DISMISS:return{whichModalOpen:"none",displayNoKeyphraseMessage:!1}}return e},SEMrushRequest:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:re,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case ee.b:return ne(ne({},e),{},{isRequestPending:!0,keyphrase:t.keyphrase,countryCode:t.countryCode,isSuccess:!1,response:null});case ee.g:return ne(ne({},e),{},{isRequestPending:!1,isSuccess:!0,response:t.response,hasData:!0});case ee.e:return ne(ne({},e),{},{isRequestPending:!1,isSuccess:!1,response:t.response,hasData:!1});case ee.f:return ne(ne({},e),{},{isRequestPending:!1,limitReached:!0,hasData:!1});case ee.a:return ne(ne({},e),{},{countryCode:t.countryCode});case ee.c:return ne(ne({},e),{},{isSuccess:!0,isRequestPending:!1,hasData:!1,response:null});case ee.d:return ne(ne({},e),{},{isLoggedIn:t.loginStatus});default:return e}},settings:ie.a,shoppingData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ce,t=arguments.length>1?arguments[1]:void 0;if(t.type===oe.a){var n=Object(m.pick)(t.shoppingData,["rating","reviewCount","availability","price"]);return se(se({},e),n)}return e},snippetEditor:ue.a,twitterEditor:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fe,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case le.b:return pe(pe({},e),{},{title:t.title,description:t.description,image:{id:t.id,url:t.imageUrl}});case le.e:return pe(pe({},e),{},{title:t.title});case le.c:return pe(pe({},e),{},{description:t.description});case le.d:return pe(pe({},e),{},{image:{id:t.image.id,url:t.image.url},warnings:t.image.warnings});case le.a:return pe(pe({},e),{},{image:{url:"",id:""},warnings:[]});default:return e}},warning:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:be,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case ge.a:return me(me({},e),{},{message:t.message});default:return e}}}},,,,,,,,,function(e,t,n){"use strict";var r=n(28),i=n(2),o=n(166),a=n(16),s=n(83),c=["content","title","snippet_title","snippet_meta","primary_category","data_page_title","data_meta_desc","excerpt"],u={},l={},d=function(e,t){this._app=e,this._app.registerPlugin("replaceVariablePlugin",{status:"ready"}),this._store=t,this.replaceVariables=this.replaceVariables.bind(this),this.registerReplacements(),this.registerModifications(),this.registerEvents(),this.subscribeToGutenberg()};d.prototype.registerReplacements=function(){this.addReplacement(new r.a("%%author_first_name%%","author_first_name")),this.addReplacement(new r.a("%%author_last_name%%","author_last_name")),this.addReplacement(new r.a("%%category%%","category")),this.addReplacement(new r.a("%%category_title%%","category_title")),this.addReplacement(new r.a("%%currentdate%%","currentdate")),this.addReplacement(new r.a("%%currentday%%","currentday")),this.addReplacement(new r.a("%%currentmonth%%","currentmonth")),this.addReplacement(new r.a("%%currenttime%%","currenttime")),this.addReplacement(new r.a("%%currentyear%%","currentyear")),this.addReplacement(new r.a("%%date%%","date")),this.addReplacement(new r.a("%%id%%","id")),this.addReplacement(new r.a("%%page%%","page")),this.addReplacement(new r.a("%%permalink%%","permalink")),this.addReplacement(new r.a("%%post_content%%","post_content")),this.addReplacement(new r.a("%%post_month%%","post_month")),this.addReplacement(new r.a("%%post_year%%","post_year")),this.addReplacement(new r.a("%%searchphrase%%","searchphrase")),this.addReplacement(new r.a("%%sitedesc%%","sitedesc")),this.addReplacement(new r.a("%%sitename%%","sitename")),this.addReplacement(new r.a("%%userid%%","userid")),this.addReplacement(new r.a("%%focuskw%%","keyword",{source:"app",aliases:["%%keyword%%"]})),this.addReplacement(new r.a("%%term_description%%","text",{source:"app",scope:["term","category","tag"],aliases:["%%tag_description%%","%%category_description%%"]})),this.addReplacement(new r.a("%%term_title%%","term_title",{scope:["term"]})),this.addReplacement(new r.a("%%term_hierarchy%%","term_hierarchy",{scope:["term"]})),this.addReplacement(new r.a("%%title%%","title",{source:"app",scope:["post","term","page"]})),this.addReplacement(new r.a("%%parent_title%%","title",{source:"app",scope:["page","category"]})),this.addReplacement(new r.a("%%excerpt%%","excerpt",{source:"app",scope:["post"],aliases:["%%excerpt_only%%"]})),this.addReplacement(new r.a("%%primary_category%%","primaryCategory",{source:"app",scope:["post"]})),this.addReplacement(new r.a("%%sep%%(\\s*%%sep%%)*","sep"))},d.prototype.registerEvents=function(){var e=wpseoScriptData.analysis.plugins.replaceVars.scope;"post"===e&&jQuery(".categorydiv").each(this.bindTaxonomyEvents.bind(this)),"post"!==e&&"page"!==e||jQuery("#postcustomstuff > #list-table").each(this.bindFieldEvents.bind(this))},d.prototype.subscribeToGutenberg=function(){var e=this;if(Object(s.a)()){var t={0:""},n=null,r=wp.data;r.subscribe((function(){var a=r.select("core/editor").getEditedPostAttribute("parent");if(void 0!==a&&n!==a)return n=a,a<1?(e._currentParentPageTitle="",void e.declareReloaded()):Object(i.isUndefined)(t[a])?void o.loadPromise.done((function(){new o.models.Page({id:a}).fetch().then((function(n){e._currentParentPageTitle=n.title.rendered,t[a]=e._currentParentPageTitle,e.declareReloaded()})).fail((function(){e._currentParentPageTitle="",e.declareReloaded()}))})):(e._currentParentPageTitle=t[a],void e.declareReloaded())}))}},d.prototype.addReplacement=function(e){u[e.placeholder]=e},d.prototype.removeReplacement=function(e){delete u[e.getPlaceholder()]},d.prototype.registerModifications=function(){var e=this.replaceVariables.bind(this);Object(i.forEach)(c,function(t){this._app.registerModification(t,e,"replaceVariablePlugin",10)}.bind(this))},d.prototype.replaceVariables=function(e){return Object(i.isUndefined)(e)||(e=this.parentReplace(e),e=this.replaceCustomTaxonomy(e),e=this.replaceByStore(e),e=this.replacePlaceholders(e)),e},d.prototype.replaceByStore=function(e){var t=this._store.getState().snippetEditor.replacementVariables;return Object(i.forEach)(t,(function(t){""!==t.value&&(e=e.replace("%%"+t.name+"%%",t.value))})),e},d.prototype.getReplacementSource=function(e){return"app"===e.source?this._app.rawData:"direct"===e.source?"direct":wpseoScriptData.analysis.plugins.replaceVars.replace_vars},d.prototype.getReplacement=function(e){var t=this.getReplacementSource(e.options);return!1===e.inScope(wpseoScriptData.analysis.plugins.replaceVars.scope)?"":"direct"===t?e.replacement:t[e.replacement]||""},d.prototype.replacePlaceholders=function(e){return Object(i.forEach)(u,function(t){e=e.replace(new RegExp(t.getPlaceholder(!0),"g"),this.getReplacement(t))}.bind(this)),e},d.prototype.declareReloaded=function(){this._app.pluginReloaded("replaceVariablePlugin"),this._store.dispatch(Object(a.j)())},d.prototype.getCategoryName=function(e){var t=e.parent("label").clone();return t.children().remove(),t.text().trim()},d.prototype.parseTaxonomies=function(e,t){Object(i.isUndefined)(l[t])&&(l[t]={});var n=[];Object(i.forEach)(e,function(e){var r=(e=jQuery(e)).val(),i=this.getCategoryName(e),o=e.prop("checked");l[t][r]={label:i,checked:o},o&&-1===n.indexOf(i)&&n.push(i)}.bind(this)),"category"!==t&&(t="ct_"+t),this._store.dispatch(Object(a.n)(t,n.join(", ")))},d.prototype.getAvailableTaxonomies=function(e){var t=jQuery(e).find("input[type=checkbox]"),n=jQuery(e).attr("id").replace("taxonomy-","");t.length>0&&this.parseTaxonomies(t,n),this.declareReloaded()},d.prototype.bindTaxonomyEvents=function(e,t){(t=jQuery(t)).on("wpListAddEnd",".categorychecklist",this.getAvailableTaxonomies.bind(this,t)),t.on("change","input[type=checkbox]",this.getAvailableTaxonomies.bind(this,t)),this.getAvailableTaxonomies(t)},d.prototype.replaceCustomTaxonomy=function(e){return Object(i.forEach)(l,function(t,n){var r="%%ct_"+n+"%%";"category"===n&&(r="%%"+n+"%%"),e=e.replace(r,this.getTaxonomyReplaceVar(n))}.bind(this)),e},d.prototype.getTaxonomyReplaceVar=function(e){var t=[],n=l[e];return!0===Object(i.isUndefined)(n)?"":(Object(i.forEach)(n,(function(e){!1!==e.checked&&t.push(e.label)})),jQuery.unique(t).join(", "))},d.prototype.parseFields=function(e){jQuery(e).each(function(e,t){var n=jQuery("#"+t.id+"-key").val(),i=jQuery("#"+t.id+"-value").val(),o="cf_"+this.sanitizeCustomFieldNames(n),s=n+" (custom field)";this._store.dispatch(Object(a.n)(o,i,s)),this.addReplacement(new r.a("%%".concat(o,"%%"),i,{source:"direct"}))}.bind(this))},d.prototype.removeFields=function(e){jQuery(e).each(function(e,t){var n=jQuery("#"+t.id+"-key").val();this.removeReplacement("%%cf_"+this.sanitizeCustomFieldNames(n)+"%%")}.bind(this))},d.prototype.sanitizeCustomFieldNames=function(e){return e.replace(/\s/g,"_")},d.prototype.getAvailableFields=function(e){this.removeCustomFields();var t=jQuery(e).find("#the-list > tr:visible[id]");t.length>0&&this.parseFields(t),this.declareReloaded()},d.prototype.bindFieldEvents=function(e,t){var n=(t=jQuery(t)).find("#the-list");n.on("wpListDelEnd.wpseoCustomFields",this.getAvailableFields.bind(this,t)),n.on("wpListAddEnd.wpseoCustomFields",this.getAvailableFields.bind(this,t)),n.on("input.wpseoCustomFields",".textarea",this.getAvailableFields.bind(this,t)),n.on("click.wpseoCustomFields",".button + .updatemeta",this.getAvailableFields.bind(this,t)),this.getAvailableFields(t)},d.prototype.removeCustomFields=function(){var e=Object(i.filter)(u,(function(e,t){return t.indexOf("%%cf_")>-1}));Object(i.forEach)(e,function(e){this._store.dispatch(Object(a.k)(Object(i.trim)(e.placeholder,"%%"))),this.removeReplacement(e)}.bind(this))},d.prototype.parentReplace=function(e){var t=jQuery("#parent_id, #parent").eq(0);return this.hasParentTitle(t)&&(e=e.replace(/%%parent_title%%/,this.getParentTitleReplacement(t))),Object(s.a)()&&!Object(i.isUndefined)(this._currentParentPageTitle)&&(e=e.replace(/%%parent_title%%/,this._currentParentPageTitle)),e},d.prototype.hasParentTitle=function(e){return!Object(i.isUndefined)(e)&&!Object(i.isUndefined)(e.prop("options"))},d.prototype.getParentTitleReplacement=function(e){var t=e.find("option:selected").text();return t===wpseoScriptData.analysis.plugins.replaceVars.no_parent_text?"":t},d.ReplaceVar=r.a,t.a=d},function(e,t){e.exports=window.wp.api},function(e,t,n){"use strict";var r=n(23),i=n(16),o=n(2);t.a=function(e,t,n){e("morphology",new r.Paper("",{keyword:n})).then((function(e){var n=e.result.keyphraseForms;t.dispatch(Object(i.o)(Object(o.uniq)(Object(o.flatten)(n))))})).catch((function(){t.dispatch(Object(i.o)([]))}))}},,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(2),i=n(4),o=n(38),a=n(93),s=n(108),c=null;function u(e,t){o.isTinyMCEAvailable(o.tmceId)&&(null===c&&(c=Object(a.c)(tinyMCE.get(o.tmceId))),c(e,t)),Object(s.b)()&&Object(s.a)(e,t)}function l(){return Object(i.select)("yoast-seo/editor").isMarkingAvailable()?u:r.noop}},function(e,t){e.exports=window.wp.annotations},,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(4),i=n(2),o=n(23);function a(e){window.YoastSEO.analysis.worker.runResearch("readingTime",new o.Paper(e,{})).then((function(e){Object(r.dispatch)("yoast-seo/editor").setEstimatedReadingTime(e.result)}))}var s=Object(i.debounce)(a,1500,{maxWait:3e3}),c="",u=null;function l(){var e=Object(r.select)("core/editor").getCurrentPostId(),t=Object(r.select)("core/editor").getCurrentPostType(),n=Object(r.select)("core").getEditedEntityRecord("postType",t,e);if(u!==n){u=n;var i=Object(r.select)("core/editor").getEditedPostAttribute("content");c!==i&&(c=i,a(i))}}function d(){var e=Object(r.select)("yoast-seo/editor").getEditorDataContent();c!==e&&(c=e,a(e))}function p(){var e,t;!1!==Object(i.get)(window,"wpseoScriptData.analysis.estimatedReadingTimeEnabled",!1)&&(Object(r.dispatch)("yoast-seo/editor").loadEstimatedReadingTime(),"1"===window.wpseoScriptData.isElementorEditor?Object(r.subscribe)(Object(i.debounce)(d,1500,{maxWait:3e3})):"1"===window.wpseoScriptData.isBlockEditor?Object(r.subscribe)(Object(i.debounce)(l,1500,{maxWait:3e3})):(e=["input","change","cut","paste"],t="1"===Object(i.get)(window,"wpseoScriptData.isPost","0")?"content":"description",jQuery(document).on("tinymce-editor-init",(function(n,r){r.id===t&&e.forEach((function(e){r.on(e,(function(){s(r.getContent())}))}))}))))}},function(e,t){e.exports=window.wp.domReady},function(e,t,n){"use strict";function r(e){function t(e){e&&(e.focus(),e.click())}function n(){var t=e("#wpseo-meta-section-addons .wpseo_tablink");if(1===t.length&&t.replaceWith(""+t.text()+""),e(".wpseo-metabox-tabs-div").length>0&&e(".wpseo-metabox-tabs").on("click","a.wpseo_tablink",(function(t){t.preventDefault(),e(".wpseo-meta-section.active .wpseo-metabox-tabs li").removeClass("active"),e(".wpseo-meta-section.active .wpseotab").removeClass("active");var n=e(e(this).attr("href"));n.addClass("active"),e(this).parent("li").addClass("active"),e(this).hasClass("scroll")&&e("html, body").animate({scrollTop:e(n).offset().top},500)})),e(".wpseo-meta-section").length>0){var n=e(".wpseo-meta-section-link");e(".wpseo-metabox-menu li").filter((function(){return"#wpseo-meta-section-content"===e(this).find(".wpseo-meta-section-link").attr("href")})).addClass("active").find("[role='tab']").addClass("yoast-active-tab"),e("#wpseo-meta-section-content, .wpseo-meta-section-react").addClass("active"),n.on("click",(function(t){var r=e(this).attr("href"),i=e(r);t.preventDefault(),e(".wpseo-metabox-menu li").removeClass("active").find("[role='tab']").removeClass("yoast-active-tab"),e(".wpseo-meta-section").removeClass("active"),e(".wpseo-meta-section-react.active").removeClass("active"),"#wpseo-meta-section-content"===r&&e(".wpseo-meta-section-react").addClass("active"),i.addClass("active"),e(this).parent("li").addClass("active").find("[role='tab']").addClass("yoast-active-tab"),this&&(function(e){e.attr({"aria-selected":"false",tabIndex:"-1"})}(n),this.removeAttribute("tabindex"),this.setAttribute("aria-selected","true"))}))}e(".wpseo-metabox-tabs").show()}var r,i,o;window.wpseoInitTabs=n,window.wpseo_init_tabs=n,e(".wpseo-meta-section").each((function(t,n){e(n).find(".wpseo-metabox-tabs li:first").addClass("active"),e(n).find(".wpseotab:first").addClass("active")})),window.wpseo_init_tabs(),r=e(".yoast-aria-tabs"),i=r.find("[role='tab']"),o=r.attr("aria-orientation")||"horizontal",i.attr({"aria-selected":!1,tabIndex:"-1"}),i.filter(".yoast-active-tab").removeAttr("tabindex").attr("aria-selected","true"),i.on("keydown",(function(n){-1!==[32,35,36,37,38,39,40].indexOf(n.which)&&("horizontal"===o&&-1!==[38,40].indexOf(n.which)||"vertical"===o&&-1!==[37,39].indexOf(n.which)||function(n,r){var i=n.which,o=r.index(e(n.target));switch(i){case 32:n.preventDefault(),t(r[o]);break;case 35:n.preventDefault(),t(r[r.length-1]);break;case 36:n.preventDefault(),t(r[0]);break;case 37:case 38:n.preventDefault(),t(r[o-1<0?r.length-1:o-1]);break;case 39:case 40:n.preventDefault(),t(r[o+1===r.length?0:o+1])}}(n,i))}))}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(2),i=n(73),o=n(91),a=n(23);function s(e,t,n,s,c){var u=Object(r.cloneDeep)(t.getState());Object(r.merge)(u,n.getData());var l=e.getData(),d=null;c&&(d=(d=c.getBlocks()).map((function(e){return function e(t){var n={attributes:{}};return["level","content","alt"].forEach((function(e){t.attributes[e]&&(n.attributes[e]=t.attributes[e])})),n.name=t.name,n.clientId=t.clientId,n.innerBlocks=t.innerBlocks.map((function(t){return e(t)})),n}(e)})));var p={text:l.content,keyword:u.focusKeyword,synonyms:u.synonyms,description:u.analysisData.snippet.description||u.snippetEditor.data.description,title:u.analysisData.snippet.title||u.snippetEditor.data.title,url:u.snippetEditor.data.slug,permalink:u.settings.snippetEditor.baseUrl+u.snippetEditor.data.slug,wpBlocks:d,date:u.settings.snippetEditor.date};return s.loaded&&(p.title=s._applyModifications("data_page_title",p.title),p.title=s._applyModifications("title",p.title),p.description=s._applyModifications("data_meta_desc",p.description),p.text=s._applyModifications("content",p.text),p.wpBlocks=s._applyModifications("wpBlocks",p.wpBlocks)),p.titleWidth=Object(i.a)(p.title),p.locale=Object(o.a)(),a.Paper.parse(p)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(5),i=n.n(r),o=n(7),a=n.n(o),s=n(2),c=function(){function e(){i()(this,e),this._callbacks=[],this.register=this.register.bind(this)}return a()(e,[{key:"register",value:function(e){Object(s.isFunction)(e)&&this._callbacks.push(e)}},{key:"getData",value:function(){var e={};return this._callbacks.forEach((function(t){e=Object(s.merge)(e,t())})),e}}]),e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),i=n(20),o=n(153);function a(e,t,n){var a=Object(i.a)();if(a.previouslyUsedKeywordActive){var s=Object(r.get)(window,["wpseoScriptData","analysis","worker","keywords_assessment_url"],"used-keywords-assessment.js"),c=new o.a(t,a,e,s);c.init();var u={};n.subscribe((function(){var e=n.getState()||{};e.focusKeyword!==u.focusKeyword&&(u=e,c.setKeyword(e.focusKeyword))}))}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(2),i=n(4),o=n(156),a=n(71),s=n(24),c=n(152);function u(){var e=Object(i.registerStore)("yoast-seo/editor",{reducer:Object(i.combineReducers)(o.a),selectors:a,actions:Object(r.pickBy)(s,(function(e){return"function"==typeof e})),controls:c});return function(e){e.dispatch(s.setSettings({socialPreviews:{sitewideImage:window.wpseoScriptData.metabox.sitewide_social_image,authorName:window.wpseoScriptData.metabox.author_name,siteName:window.wpseoScriptData.metabox.site_name,contentImage:window.wpseoScriptData.metabox.first_content_image,twitterCardType:window.wpseoScriptData.metabox.twitterCardType},snippetEditor:{baseUrl:window.wpseoScriptData.metabox.base_url,date:window.wpseoScriptData.metabox.metaDescriptionDate,recommendedReplacementVariables:window.wpseoScriptData.analysis.plugins.replaceVars.recommended_replace_vars,siteIconUrl:window.wpseoScriptData.metabox.siteIconUrl}})),e.dispatch(s.setSEMrushChangeCountry(window.wpseoScriptData.metabox.countryCode)),e.dispatch(s.setSEMrushLoginStatus(window.wpseoScriptData.metabox.SEMrushLoginStatus))}(e),e}},,,,,,,,,,,,,,function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports=window.yoast.jed},,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){(function(t){!function(t){"use strict";var n={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}|~{3,})([^`~\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\n*|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:m,table:m,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/};function r(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||_.defaults,this.rules=n.normal,this.options.pedantic?this.rules=n.pedantic:this.options.gfm&&(this.rules=n.gfm)}n._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,n._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,n.def=p(n.def).replace("label",n._label).replace("title",n._title).getRegex(),n.bullet=/(?:[*+-]|\d{1,9}\.)/,n.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,n.item=p(n.item,"gm").replace(/bull/g,n.bullet).getRegex(),n.list=p(n.list).replace(/bull/g,n.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+n.def.source+")").getRegex(),n._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",n._comment=//,n.html=p(n.html,"i").replace("comment",n._comment).replace("tag",n._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),n.paragraph=p(n._paragraph).replace("hr",n.hr).replace("heading"," {0,3}#{1,6} +").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}|~{3,})[^`\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|!--)").replace("tag",n._tag).getRegex(),n.blockquote=p(n.blockquote).replace("paragraph",n.paragraph).getRegex(),n.normal=b({},n),n.gfm=b({},n.normal,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),n.pedantic=b({},n.normal,{html:p("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",n._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:m,paragraph:p(n.normal._paragraph).replace("hr",n.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",n.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()}),r.rules=n,r.lex=function(e,t){return new r(t).lex(e)},r.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},r.prototype.token=function(e,t){var r,i,o,a,s,c,u,d,p,f,g,h,m,b,O,v;for(e=e.replace(/^ +$/gm,"");e;)if((o=this.rules.newline.exec(e))&&(e=e.substring(o[0].length),o[0].length>1&&this.tokens.push({type:"space"})),o=this.rules.code.exec(e)){var _=this.tokens[this.tokens.length-1];e=e.substring(o[0].length),_&&"paragraph"===_.type?_.text+="\n"+o[0].trimRight():(o=o[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",codeBlockStyle:"indented",text:this.options.pedantic?o:w(o,"\n")}))}else if(o=this.rules.fences.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"code",lang:o[2]?o[2].trim():o[2],text:o[3]||""});else if(o=this.rules.heading.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"heading",depth:o[1].length,text:o[2]});else if((o=this.rules.nptable.exec(e))&&(c={type:"table",header:y(o[1].replace(/^ *| *\| *$/g,"")),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3]?o[3].replace(/\n$/,"").split("\n"):[]}).header.length===c.align.length){for(e=e.substring(o[0].length),g=0;g ?/gm,""),this.token(o,t),this.tokens.push({type:"blockquote_end"});else if(o=this.rules.list.exec(e)){for(e=e.substring(o[0].length),u={type:"list_start",ordered:b=(a=o[2]).length>1,start:b?+a:"",loose:!1},this.tokens.push(u),d=[],r=!1,m=(o=o[0].match(this.rules.item)).length,g=0;g1?1===s.length:s.length>1||this.options.smartLists&&s!==a)&&(e=o.slice(g+1).join("\n")+e,g=m-1)),i=r||/\n\n(?!\s*$)/.test(c),g!==m-1&&(r="\n"===c.charAt(c.length-1),i||(i=r)),i&&(u.loose=!0),v=void 0,(O=/^\[[ xX]\] /.test(c))&&(v=" "!==c[1],c=c.replace(/^\[[ xX]\] +/,"")),p={type:"list_item_start",task:O,checked:v,loose:i},d.push(p),this.tokens.push(p),this.token(c,!1),this.tokens.push({type:"list_item_end"});if(u.loose)for(m=d.length,g=0;g?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:m,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^\*([^\s*<\[])\*(?!\*)|^_([^\s<][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_<][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s<"][\s\S]*?[^\s\*])\*(?!\*|[^\spunctuation])|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:m,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\?@\\[^_{|}~",i.em=p(i.em).replace(/punctuation/g,i._punctuation).getRegex(),i._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,i._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,i._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,i.autolink=p(i.autolink).replace("scheme",i._scheme).replace("email",i._email).getRegex(),i._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,i.tag=p(i.tag).replace("comment",n._comment).replace("attribute",i._attribute).getRegex(),i._label=/(?:\[[^\[\]]*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,i._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,i._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,i.link=p(i.link).replace("label",i._label).replace("href",i._href).replace("title",i._title).getRegex(),i.reflink=p(i.reflink).replace("label",i._label).getRegex(),i.normal=b({},i),i.pedantic=b({},i.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:p(/^!?\[(label)\]\((.*?)\)/).replace("label",i._label).getRegex(),reflink:p(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",i._label).getRegex()}),i.gfm=b({},i.normal,{escape:p(i.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\/i.test(a[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(a[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(a[0])&&(this.inRawBlock=!1),e=e.substring(a[0].length),c+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(a[0]):l(a[0]):a[0];else if(a=this.rules.link.exec(e)){var u=O(a[2],"()");if(u>-1){var d=4+a[1].length+u;a[2]=a[2].substring(0,u),a[0]=a[0].substring(0,d).trim(),a[3]=""}e=e.substring(a[0].length),this.inLink=!0,r=a[2],this.options.pedantic?(t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r))?(r=t[1],i=t[3]):i="":i=a[3]?a[3].slice(1,-1):"",r=r.trim().replace(/^<([\s\S]*)>$/,"$1"),c+=this.outputLink(a,{href:o.escapes(r),title:o.escapes(i)}),this.inLink=!1}else if((a=this.rules.reflink.exec(e))||(a=this.rules.nolink.exec(e))){if(e=e.substring(a[0].length),t=(a[2]||a[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){c+=a[0].charAt(0),e=a[0].substring(1)+e;continue}this.inLink=!0,c+=this.outputLink(a,t),this.inLink=!1}else if(a=this.rules.strong.exec(e))e=e.substring(a[0].length),c+=this.renderer.strong(this.output(a[4]||a[3]||a[2]||a[1]));else if(a=this.rules.em.exec(e))e=e.substring(a[0].length),c+=this.renderer.em(this.output(a[6]||a[5]||a[4]||a[3]||a[2]||a[1]));else if(a=this.rules.code.exec(e))e=e.substring(a[0].length),c+=this.renderer.codespan(l(a[2].trim(),!0));else if(a=this.rules.br.exec(e))e=e.substring(a[0].length),c+=this.renderer.br();else if(a=this.rules.del.exec(e))e=e.substring(a[0].length),c+=this.renderer.del(this.output(a[1]));else if(a=this.rules.autolink.exec(e))e=e.substring(a[0].length),r="@"===a[2]?"mailto:"+(n=l(this.mangle(a[1]))):n=l(a[1]),c+=this.renderer.link(r,null,n);else if(this.inLink||!(a=this.rules.url.exec(e))){if(a=this.rules.text.exec(e))e=e.substring(a[0].length),this.inRawBlock?c+=this.renderer.text(this.options.sanitize?this.options.sanitizer?this.options.sanitizer(a[0]):l(a[0]):a[0]):c+=this.renderer.text(l(this.smartypants(a[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else{if("@"===a[2])r="mailto:"+(n=l(a[0]));else{do{s=a[0],a[0]=this.rules._backpedal.exec(a[0])[0]}while(s!==a[0]);n=l(a[0]),r="www."===a[1]?"http://"+n:n}e=e.substring(a[0].length),c+=this.renderer.link(r,null,n)}return c},o.escapes=function(e){return e?e.replace(o.rules._escapes,"$1"):e},o.prototype.outputLink=function(e,t){var n=t.href,r=t.title?l(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,l(e[1]))},o.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},o.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,i=0;i.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},a.prototype.code=function(e,t,n){var r=(t||"").match(/\S*/)[0];if(this.options.highlight){var i=this.options.highlight(e,r);null!=i&&i!==e&&(n=!0,e=i)}return r?'
'+(n?e:l(e,!0))+"
\n":"
"+(n?e:l(e,!0))+"
"},a.prototype.blockquote=function(e){return"
\n"+e+"
\n"},a.prototype.html=function(e){return e},a.prototype.heading=function(e,t,n,r){return this.options.headerIds?"'+e+"\n":""+e+"\n"},a.prototype.hr=function(){return this.options.xhtml?"
\n":"
\n"},a.prototype.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"\n"},a.prototype.listitem=function(e){return"
  • "+e+"
  • \n"},a.prototype.checkbox=function(e){return" "},a.prototype.paragraph=function(e){return"

    "+e+"

    \n"},a.prototype.table=function(e,t){return t&&(t=""+t+""),"\n\n"+e+"\n"+t+"
    \n"},a.prototype.tablerow=function(e){return"\n"+e+"\n"},a.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"\n"},a.prototype.strong=function(e){return""+e+""},a.prototype.em=function(e){return""+e+""},a.prototype.codespan=function(e){return""+e+""},a.prototype.br=function(){return this.options.xhtml?"
    ":"
    "},a.prototype.del=function(e){return""+e+""},a.prototype.link=function(e,t,n){if(null===(e=f(this.options.sanitize,this.options.baseUrl,e)))return n;var r='"+n+""},a.prototype.image=function(e,t,n){if(null===(e=f(this.options.sanitize,this.options.baseUrl,e)))return n;var r=''+n+'":">")},a.prototype.text=function(e){return e},s.prototype.strong=s.prototype.em=s.prototype.codespan=s.prototype.del=s.prototype.text=function(e){return e},s.prototype.link=s.prototype.image=function(e,t,n){return""+n},s.prototype.br=function(){return""},c.parse=function(e,t){return new c(t).parse(e)},c.prototype.parse=function(e){this.inline=new o(e.links,this.options),this.inlineText=new o(e.links,b({},this.options,{renderer:new s})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},c.prototype.next=function(){return this.token=this.tokens.pop(),this.token},c.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},c.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},c.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,d(this.inlineText.output(this.token.text)),this.slugger);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i="",o="";for(n="",e=0;e?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){var n=t;do{this.seen[n]++,t=n+"-"+this.seen[n]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t},l.escapeTest=/[&<>"']/,l.escapeReplace=/[&<>"']/g,l.replacements={"&":"&","<":"<",">":">",'"':""","'":"'"},l.escapeTestNoEncode=/[<>"']|&(?!#?\w+;)/,l.escapeReplaceNoEncode=/[<>"']|&(?!#?\w+;)/g;var g={},h=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function m(){}function b(e){for(var t,n,r=1;r=0&&"\\"===n[i];)r=!r;return r?"|":" |"})).split(/ \|/),r=0;if(n.length>t)n.splice(t);else for(;n.lengthAn error occurred:

    "+l(e.message+"",!0)+"
    ";throw e}}m.exec=m,_.options=_.setOptions=function(e){return b(_.defaults,e),_},_.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new a,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,xhtml:!1}},_.defaults=_.getDefaults(),_.Parser=c,_.parser=c.parse,_.Renderer=a,_.TextRenderer=s,_.Lexer=r,_.lexer=r.lex,_.InlineLexer=o,_.inlineLexer=o.output,_.Slugger=u,_.parse=_,e.exports=_}(this||"undefined"!=typeof window&&window)}).call(this,n(205))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"updateScore",(function(){return ve})),n.d(r,"initialize",(function(){return Se}));var i,o=n(186),a=n.n(o),s=n(21),c=n.n(s),u=n(187),l=n(27),d=n.n(l),p=n(5),f=n.n(p),g=n(7),h=n.n(g),m=n(13),b=n.n(m),y=n(14),w=n.n(y),O=n(8),v=n.n(O),E=n(0),S=n(4),j=n(2),T=n(15),k=n.n(T),x=n(1),P=n.n(x),D=n(3),R=n(18),A=n(12),I=n.n(A),C=n(19),M=n(11),N=n.n(M),L=n(65),U=n.n(L),F=n(53),B=I.a.div(i||(i=k()(["\n\tpadding-top: 6px;\n"]))),Y=function(e){var t=e.value,n=e.id,r=e.terms,i=e.onChange;return Object(E.createElement)(B,null,Object(E.createElement)("select",{className:"components-select-control__input",id:n,value:t,onChange:function(e){i(parseInt(e.target.value,10))}},r.map((function(e){return Object(E.createElement)("option",{key:e.id,value:e.id},Object(j.unescape)(e.name))}))))};Y.propTypes={terms:P.a.arrayOf(P.a.shape({id:P.a.string.isRequired,name:P.a.string.isRequired})),onChange:P.a.func.isRequired,id:P.a.string,value:P.a.string};var K,V=Y;var q=I.a.div(K||(K=k()(["\n\tpadding-top: 16px;\n"]))),W=function(e){b()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=v()(t);if(n){var i=v()(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return w()(this,e)});function i(e){var t;f()(this,i),(t=r.call(this,e)).onChange=t.onChange.bind(N()(t)),t.updateReplacementVariable=t.updateReplacementVariable.bind(N()(t));var n=e.taxonomy,o=n.fieldId,a=n.name;return t.input=document.getElementById(o),e.setPrimaryTaxonomyId(a,parseInt(t.input.value,10)),t.state={selectedTerms:[],terms:[]},t}return h()(i,[{key:"componentDidMount",value:function(){this.fetchTerms()}},{key:"componentDidUpdate",value:function(e,t){if(e.selectedTermIds.length0&&e.updateReplacementVariable(e.props.primaryTaxonomyId)}))})))}},{key:"getSelectedTerms",value:function(e,t){return e.filter((function(e){return t.includes(e.id)}))}},{key:"updateSelectedTerms",value:function(e,t){var n=this.getSelectedTerms(e,t);this.setState({selectedTerms:n})}},{key:"onChange",value:function(e){var t=this.props.taxonomy.name;this.updateReplacementVariable(e),this.props.setPrimaryTaxonomyId(t,e),this.input.value=-1===e?"":e}},{key:"updateReplacementVariable",value:function(e){if("category"===this.props.taxonomy.name){var t=this.state.selectedTerms.find((function(t){return t.id===e}));this.props.updateReplacementVariable("primary_".concat(this.props.taxonomy.name),t?t.name:"")}}},{key:"render",value:function(){var e=this.props,t=e.primaryTaxonomyId,n=e.taxonomy;if(this.state.selectedTerms.length<2)return null;var r="yoast-primary-".concat(n.name,"-picker");return Object(E.createElement)(q,{className:"components-base-control__field"},Object(E.createElement)("label",{htmlFor:r,className:"components-base-control__label"},Object(D.sprintf)( /* translators: %s expands to the taxonomy name. */ Object(D.__)("Select the primary %s","wordpress-seo"),n.singularLabel.toLowerCase())),Object(E.createElement)(V,{value:t,onChange:this.onChange,id:r,terms:this.state.selectedTerms}))}}]),i}(E.Component);W.propTypes={selectedTermIds:P.a.arrayOf(P.a.number),primaryTaxonomyId:P.a.number,setPrimaryTaxonomyId:P.a.func,updateReplacementVariable:P.a.func,receiveEntityRecords:P.a.func,taxonomy:P.a.shape({name:P.a.string,fieldId:P.a.string,restBase:P.a.string,singularLabel:P.a.string})};var z,$=W,G=Object(C.compose)([Object(S.withSelect)((function(e,t){var n=e("core/editor"),r=e("yoast-seo/editor"),i=t.taxonomy;return{selectedTermIds:n.getEditedPostAttribute(i.restBase)||[],primaryTaxonomyId:r.getPrimaryTaxonomyId(i.name)}})),Object(S.withDispatch)((function(e){var t=e("yoast-seo/editor");return{setPrimaryTaxonomyId:t.setPrimaryTaxonomyId,updateReplacementVariable:t.updateReplacementVariable}}))])($);var H=null,Q=null,Z=I.a.div(z||(z=k()(["\n\tmargin: 16px 0 8px;\n"]))),X=function(e){b()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=v()(t);if(n){var i=v()(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return w()(this,e)});function i(){var e;return f()(this,i),e=r.call(this),H&&Q||(H=Object(j.get)(window.wpseoPrimaryCategoryL10n,"taxonomies",{}),Q=Object(j.values)(H).map((function(e){return e.name}))),e.state={exceptionCaught:!1,error:null},e}return h()(i,[{key:"componentDidCatch",value:function(e){this.setState({exceptionCaught:!0,error:e})}},{key:"taxonomyHasPrimaryTermSupport",value:function(){return Q.includes(this.props.slug)}},{key:"render",value:function(){var e=this.props,t=e.slug,n=e.OriginalComponent;if(this.state.exceptionCaught){var r=Object(j.get)(this.state,"error.stack");return Object(E.createElement)(E.Fragment,null,Object(E.createElement)(n,this.props),Object(E.createElement)(Z,null,Object(D.sprintf)( /* translators: %s expands to Yoast SEO. */ Object(D.__)("An error occurred loading the %s primary taxonomy picker.","wordpress-seo"),"Yoast SEO")),r&&Object(E.createElement)(R.ClipboardButton,{isLarge:!0,text:r},Object(D.__)("Copy error","wordpress-seo")))}return this.taxonomyHasPrimaryTermSupport()?Object(E.createElement)(E.Fragment,null,Object(E.createElement)(n,this.props),Object(E.createElement)(G,{taxonomy:H[t]})):Object(E.createElement)(n,this.props)}}]),i}(E.Component);X.propTypes={OriginalComponent:P.a.func.isRequired,slug:P.a.string.isRequired};var J=X,ee=n(83);function te(e){var t,n,r=wpseoPrimaryCategoryL10n.taxonomies;function i(t){return e("#yoast-wpseo-primary-"+t).val()}function o(t,n){e("#yoast-wpseo-primary-"+t).val(n).trigger("change");var r=Object(S.dispatch)("yoast-seo/editor");if(r){var i=parseInt(n,10);r.setPrimaryTaxonomyId(t,i),"category"===t&&r.updateReplacementVariable("primary_category",function(t){var n=e("#category-all").find("#category-".concat(t," > label"));if(0===n.length)return"";var r=n.clone();return r.children().remove(),e.trim(r.text())}(i))}}function a(o){var a,s,c;a=e("#"+o+'checklist input[type="checkbox"]:checked');var u=e("#"+o+"checklist li");u.removeClass("wpseo-term-unchecked wpseo-primary-term wpseo-non-primary-term"),e(".wpseo-primary-category-label").remove(),u.addClass("wpseo-term-unchecked"),a.length<=1||a.each((function(a,u){u=e(u),(s=u.closest("li")).removeClass("wpseo-term-unchecked"),1!==e(u).closest("li").children(".wpseo-make-primary-term").length&&function(n,i){var o,a;o=e(i).closest("label"),a=t({taxonomy:r[n],term:o.text()}),o.after(a)}(o,u),u.val()===i(o)?(s.addClass("wpseo-primary-term"),(c=u.closest("label")).find(".wpseo-primary-category-label").remove(),c.append(n({taxonomy:r[o]}))):s.addClass("wpseo-non-primary-term")}))}function s(t){o(t,e("#"+t+'checklist input[type="checkbox"]:checked:first').val()),a(t)}function c(e){""===i(e)&&s(e)}e.fn.initYstSEOPrimaryCategory=function(){return this.each((function(t,n){var r,u=e("#"+n.name+"div");a(n.name),u.on("click",'input[type="checkbox"]',(r=n.name,function(){!1===e(this).prop("checked")&&e(this).val()===i(r)&&s(r),c(r),a(r)})),u.on("wpListAddEnd","#"+n.name+"checklist",function(e){return function(){c(e),a(e)}}(n.name)),u.on("click",".wpseo-make-primary-term",function(t){return function(n){var r;r=e(n.currentTarget).siblings("label").find("input"),o(t,r.val()),a(t),r.focus()}}(n.name))}))},t=wp.template("primary-term-ui"),n=wp.template("primary-term-screen-reader"),e(_.values(r)).initYstSEOPrimaryCategory(),Object(ee.a)()&&Object(j.get)(window,"wp.hooks.addFilter",j.noop)("editor.PostTaxonomyType","yoast-seo",(function(e){return function(t){b()(o,t);var n,r,i=(n=o,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=v()(n);if(r){var i=v()(this).constructor;e=Reflect.construct(t,arguments,i)}else e=t.apply(this,arguments);return w()(this,e)});function o(){return f()(this,o),i.apply(this,arguments)}return h()(o,[{key:"render",value:function(){return Object(E.createElement)(J,d()({OriginalComponent:e},this.props))}}]),o}(E.Component)}))}var ne=n(23),re=n(22),ie=n(121),oe=n(165),ae=n(34),se=n.n(ae),ce=new RegExp("\\[[^<>&/\\[\\]\0- =]+?( [^\\]]+?)?\\]","g"),ue=new RegExp("\\[/[^<>&/\\[\\]\0- =]+?\\]","g"),le=function(e){var t=e.registerPlugin,n=e.registerModification,r=e.pluginReady,i=e.pluginReloaded;this._registerModification=n,this._pluginReady=r,this._pluginReloaded=i,t("YoastShortcodePlugin",{status:"loading"}),this.bindElementEvents();var o="("+wpseoScriptData.analysis.plugins.shortcodes.wpseo_shortcode_tags.join("|")+")";this.keywordRegex=new RegExp(o,"g"),this.closingTagRegex=new RegExp("\\[\\/"+o+"\\]","g"),this.nonCaptureRegex=new RegExp("\\["+o+"[^\\]]*?\\]","g"),this.parsedShortcodes=[],this.loadShortcodes(this.declareReady.bind(this))};le.prototype.declareReady=function(){this._pluginReady("YoastShortcodePlugin"),this.registerModifications()},le.prototype.declareReloaded=function(){this._pluginReloaded("YoastShortcodePlugin")},le.prototype.registerModifications=function(){this._registerModification("content",this.replaceShortcodes.bind(this),"YoastShortcodePlugin")},le.prototype.removeUnknownShortCodes=function(e){return(e=e.replace(ce,"")).replace(ue,"")},le.prototype.replaceShortcodes=function(e){var t=this.parsedShortcodes;if("string"==typeof e&&t.length>0)for(var n=0;n0))return e();this.parseShortcodes(t,e)},le.prototype.bindElementEvents=function(){var e=document.getElementById("content")||!1,t=_.debounce(this.loadShortcodes.bind(this,this.declareReloaded.bind(this)),500);e&&(e.addEventListener("keyup",t),e.addEventListener("change",t)),"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(e){e.editor.on("change",t),e.editor.on("keyup",t)}))},le.prototype.getContentTinyMCE=function(){var e=document.getElementById("content")&&document.getElementById("content").value||"";return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length&&(e=tinyMCE.get("content")&&tinyMCE.get("content").getContent()||""),e},le.prototype.getUnparsedShortcodes=function(e){if("object"!==se()(e))return console.error("Failed to get unparsed shortcodes. Expected parameter to be an array, instead received "+se()(e)),!1;for(var t=[],n=0;n0?void jQuery.post(ajaxurl,{action:"wpseo_filter_shortcodes",_wpnonce:wpseoScriptData.analysis.plugins.shortcodes.wpseo_filter_shortcodes_nonce,data:e},function(e){this.saveParsedShortcodes(e,t)}.bind(this)):t()},le.prototype.saveParsedShortcodes=function(e,t){e=JSON.parse(e);for(var n=0;n",{class:"misc-pub-section yoast yoast-seo-score "+e+"-score",id:e+"-score"}),r=we("",{class:"score-text",html:Oe(e,t)}),i=we("").attr("class","image yoast-logo svg na");n.append(i).append(r),we("#yoast-seo-publishbox-section").prepend(n)}function Ee(e){var t=we("#wpadminbar"),n=we(e);if(t&&n){var r="fixed"===t.css("position")?t.height():0;we([document.documentElement,document.body]).animate({scrollTop:n.offset().top-r},1e3),n.focus(),0===n.parent().siblings().length&&n.click()}}function Se(){wpseoScriptData.metabox.keywordAnalysisActive&&_e("keyword","na"),wpseoScriptData.metabox.contentAnalysisActive&&_e("content","na"),we("#content-score").on("click","[href='#yoast-readability-analysis-collapsible-metabox']",(function(e){e.preventDefault(),document.querySelector("#wpseo-meta-tab-readability").click(),Ee("#wpseo-meta-section-readability")})),we("#keyword-score").on("click","[href='#yoast-seo-analysis-collapsible-metabox']",(function(e){e.preventDefault(),Ee("#yoast-seo-analysis-collapsible-metabox")}))}String.prototype.ucfirst=function(){return this.charAt(0).toUpperCase()+this.substr(1)};var je=n(109),Te=n(105),ke=n(118),xe=n(86),Pe=n(188),De=n(10),Re=n.n(De),Ae=n(73),Ie=n(227),Ce=n.n(Ie),Me=n(97),Ne=n(42),Le=n(56);function Ue(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Fe(e){for(var t=1;t label");return r.length?e=this.getCategoryName(r):e},We.prototype.getSearchUrl=function(){return wpseoScriptData.metabox.search_url},We.prototype.getPostUrl=function(){return wpseoScriptData.metabox.post_edit_url},We.prototype.getPermalink=function(){var e=this.getUrl();return wpseoScriptData.metabox.base_url+e},We.prototype.getCategoryName=function(e){var t=e.clone();return t.children().remove(),Ve.trim(t.text())},We.prototype.setDataFromSnippet=function(e,t){switch(t){case"snippet_meta":document.getElementById("yoast_wpseo_metadesc").value=e;break;case"snippet_cite":if(this.leavePostNameUntouched)return void(this.leavePostNameUntouched=!1);null!==document.getElementById("post_name")&&(document.getElementById("post_name").value=e),null!==document.getElementById("editable-post-name")&&null!==document.getElementById("editable-post-name-full")&&(document.getElementById("editable-post-name").textContent=e,document.getElementById("editable-post-name-full").textContent=e);break;case"snippet_title":document.getElementById("yoast_wpseo_title").value=e}},We.prototype.saveSnippetData=function(e){this.setDataFromSnippet(e.title,"snippet_title"),this.setDataFromSnippet(e.urlPath,"snippet_cite"),this.setDataFromSnippet(e.metaDesc,"snippet_meta")},We.prototype.bindElementEvents=function(e){this.inputElementEventBinder(e),this.changeElementEventBinder(e)},We.prototype.changeElementEventBinder=function(e){for(var t=["#yoast-wpseo-primary-category",'.categorychecklist input[name="post_category[]"]'],n=0;n"+e.responseText+"").find("#editable-post-name-full").text()}function d(e){Object(j.isUndefined)(e.seoAssessorPresenter)||(e.seoAssessorPresenter.render=function(){}),Object(j.isUndefined)(e.contentAssessorPresenter)||(e.contentAssessorPresenter.render=function(){},e.contentAssessorPresenter.renderIndividualRatings=function(){})}function p(e,t){var n=c||"";c=e.getState().analysisData.snippet,!Object(ie.isShallowEqualObjects)(n,c)&&t()}function f(e,t){"visual"!==e?t.dispatch(Object(tt.b)("disabled")):t.dispatch(Object(tt.b)("enabled"))}function g(){return Object(S.select)("core/edit-post").getEditorMode()}}Object(rt.setYoastComponentsL10n)(),Object(rt.setWordPressSeoL10n)(),window.YoastReplaceVarPlugin=oe.a,window.YoastShortcodePlugin=de;var at=n(81),st=n.n(at);var ct=n(154),ut=n(155),lt=n(191),dt=n(185);window.wpseoPostScraperL10n=window.wpseoScriptData.metabox,window.wpseoShortcodePluginL10n=window.wpseoScriptData.analysis.plugins.shortcodes,window.YoastSEO=window.YoastSEO||{},a()((function(){Object(u.a)(c.a),"undefined"!=typeof wpseoPrimaryCategoryL10n&&te(c.a);var e=Object(lt.a)();window.yoast.initEditorIntegration(e);var t=new window.yoast.EditorData((function(){}),e);t.initialize(window.wpseoScriptData.analysis.plugins.replaceVars.replace_vars,window.wpseoScriptData.analysis.plugins.replaceVars.hidden_replace_vars),ot(c.a,e,t),window.wpseoScriptData&&void 0!==window.wpseoScriptData.featuredImage&&function(e){var t,n,r,i=function(e){this._app=e,this.featuredImage=null,this.pluginName="addFeaturedImagePlugin",this.registerPlugin(),this.registerModifications()};function o(){e("#yst_opengraph_image_warning").remove(),n.removeClass("yoast-opengraph-image-notice")}i.prototype.setFeaturedImage=function(e){this.featuredImage=e,this._app.pluginReloaded(this.pluginName)},i.prototype.removeFeaturedImage=function(){this.setFeaturedImage(null)},i.prototype.registerPlugin=function(){this._app.registerPlugin(this.pluginName,{status:"ready"})},i.prototype.registerModifications=function(){this._app.registerModification("content",this.addImageToContent.bind(this),this.pluginName,10)},i.prototype.addImageToContent=function(e){return null!==this.featuredImage&&(e+=this.featuredImage),e};var a,s,c=wp.media.featuredImage.frame();"undefined"!=typeof YoastSEO&&(t=new i(YoastSEO.app),n=e("#postimagediv"),r=n.find(".hndle"),c.on("select",(function(){var i,a,s;!function(t){var i=t.state().get("selection").first().toJSON();i.width<200||i.height<200?0===e("#yst_opengraph_image_warning").length&&(e('

    '+wpseoScriptData.featuredImage.featured_image_notice+"

    ").insertAfter(r),n.addClass("yoast-opengraph-image-notice"),st()(wpseoScriptData.featuredImage.featured_image_notice,"assertive")):o()}(c),s=(a=c.state().get("selection").first()).get("alt"),i=''+s+'',t.setFeaturedImage(i)})),n.on("click","#remove-post-thumbnail",(function(){t.removeFeaturedImage(),o()})),void 0!==e("#set-post-thumbnail > img").prop("src")&&t.setFeaturedImage(e("#set-post-thumbnail ").html()),Object(ee.a)()&&Object(S.subscribe)((function(){var e=Object(S.select)("core/editor").getEditedPostAttribute("featured_media");if(function(e){return"number"==typeof e&&e>0}(e)&&void 0!==(a=Object(S.select)("core").getMedia(e))&&a!==s){s=a;var n='').concat(a.alt_text,'');t.setFeaturedImage(n)}})))}(c.a),Object(ct.a)(c.a),Object(ut.a)(c.a),setTimeout(dt.a,500)}))}]);