AlkantarClanX12
Current Path : /home/thanudqk/siampokernew.org/wp-content/plugins/wordpress-seo/js/dist/ |
Current File : //home/thanudqk/siampokernew.org/wp-content/plugins/wordpress-seo/js/dist/post-edit-1580.js |
(window.yoastWebpackJsonp=window.yoastWebpackJsonp||[]).push([[17],[function(e,t){e.exports=window.lodash},function(e,t,n){e.exports=n(22)()},,function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.element},,function(e,t){e.exports=window.yoast.helpers},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=window.yoast.styledComponents},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})};var r=n(0)},function(e,t){e.exports=window.wp.compose},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.wp.components},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOAD_SNIPPET_EDITOR_DATA=t.UPDATE_WORDS_TO_HIGHLIGHT=t.REFRESH=t.REMOVE_REPLACEMENT_VARIABLE=t.UPDATE_REPLACEMENT_VARIABLE=t.UPDATE_DATA=t.SWITCH_MODE=void 0,t.switchMode=function(e){return{type:i,mode:e}},t.updateData=function(e){return{type:a,data:e}},t.updateReplacementVariable=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i="string"==typeof t?(0,r.decodeHTML)(t):t;return{type:o,name:e,value:i,label:n}},t.updateWordsToHighlight=function(e){return{type:l,wordsToHighlight:e}},t.removeReplacementVariable=function(e){return{type:s,name:e}},t.refreshSnippetEditor=function(){return{type:u,time:(new Date).getMilliseconds()}};var r=n(6),i=t.SWITCH_MODE="SNIPPET_EDITOR_SWITCH_MODE",a=t.UPDATE_DATA="SNIPPET_EDITOR_UPDATE_DATA",o=t.UPDATE_REPLACEMENT_VARIABLE="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",s=t.REMOVE_REPLACEMENT_VARIABLE="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",u=t.REFRESH="SNIPPET_EDITOR_REFRESH",l=t.UPDATE_WORDS_TO_HIGHLIGHT="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT";t.LOAD_SNIPPET_EDITOR_DATA="LOAD_SNIPPET_EDITOR_DATA"},,function(e,t){e.exports=window.yoast.components},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setSeoResultsForKeyword=t.setReadabilityResults=t.setOverallSeoScore=t.setOverallReadabilityScore=void 0;var r=n(43);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var i=n(44);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})});var a=n(69);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})});var o=n(35);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})});var s=n(70);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})});var u=n(71);Object.keys(u).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}})});var l=n(45);Object.keys(l).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}})});var c=n(36);Object.keys(c).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}})});var d=n(29);Object.keys(d).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}})});var p=n(46);Object.keys(p).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}})});var f=n(47);Object.keys(f).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}})});var g=n(48);Object.keys(g).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return g[e]}})});var h=n(50);Object.keys(h).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}})});var m=n(73);Object.keys(m).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return m[e]}})});var y=n(51);Object.keys(y).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return y[e]}})});var _=n(37);Object.keys(_).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return _[e]}})});var v=n(13);Object.keys(v).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return v[e]}})});var w=n(52);Object.keys(w).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return w[e]}})});var b=n(53);Object.keys(b).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return b[e]}})});var E=n(54);Object.keys(E).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return E[e]}})});var T=n(15);Object.defineProperty(t,"setReadabilityResults",{enumerable:!0,get:function(){return T.setReadabilityResults}}),Object.defineProperty(t,"setSeoResultsForKeyword",{enumerable:!0,get:function(){return T.setSeoResultsForKeyword}});var S=function(e){return e&&e.__esModule?e:{default:e}}(n(26));t.setOverallReadabilityScore=function(e){return S.default.readabilityScore=e,(0,T.setOverallReadabilityScore)(e)},t.setOverallSeoScore=function(e,t){return S.default.seoScore=e,(0,T.setOverallSeoScore)(e,t)}},,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,a.isNil)(e)||(e/=10);return function(e){switch(e){case"feedback":return{className:"na",screenReaderText:(0,r.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:(0,r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:(0,r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:(0,r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:(0,r.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:(0,r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:(0,r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(i.helpers.scoreToRating(e))};var r=n(3),i=n(11),a=n(0)},function(e,t,n){"use strict";var r=n(23),i=n(24),a=n(25);e.exports=function(){function e(e,t,n,r,o,s){s!==a&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";function r(e){return function(){return e}}var i=function(){};i.thatReturns=r,i.thatReturnsFalse=r(!1),i.thatReturnsTrue=r(!0),i.thatReturnsNull=r(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(e){return e},e.exports=i},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,i,a,o,s,u){if(r(t),!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,i,a,o,s,u],d=0;(l=new Error(t.replace(/%s/g,function(){return c[d++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(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",set:function(t){e.keyphraseElement.value=t},get:function(){return e.keyphraseElement.value}},{key:"isCornerstone",set:function(t){e.isCornerstoneElement.value=t?"1":"0"},get:function(){return"1"===e.isCornerstoneElement.value}},{key:"seoScore",set:function(t){e.seoScoreElement.value=t},get:function(){return e.seoScoreElement.value}},{key:"readabilityScore",set:function(t){e.readabilityScoreElement.value=t},get:function(){return e.readabilityScoreElement.value}}]),e}();t.default=i},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.SET_MARKER_STATUS="WPSEO_SET_MARKER_STATUS";t.setMarkerStatus=function(e){return{type:r,marksButtonStatus:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.applyReplaceUsingPlugin=t.nonReplaceVars=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.fillReplacementVariables=function(e,t){(0,i.forEach)(e,function(e,n){u.includes(n)||t.dispatch((0,a.updateReplacementVariable)(n,e))})},t.handlePrefixes=l,t.createLabelFromName=c,t.pushNewReplaceVar=function(e,t){return e.push({name:t.name,label:t.label||c(t.name),value:t.value}),e},t.replaceSpaces=d,t.prepareCustomFieldForDispatch=p,t.prepareCustomTaxonomyForDispatch=f,t.mapCustomTaxonomies=function(e,t){if(!e.custom_taxonomies)return e;return(0,i.forEach)(e.custom_taxonomies,function(e,n){var r=f(n),i=r.name,o=r.label,s=r.descriptionName,u=r.descriptionLabel;t.dispatch((0,a.updateReplacementVariable)(i,e.name,o)),t.dispatch((0,a.updateReplacementVariable)(s,e.description,u))}),(0,i.omit)(r({},e),"custom_taxonomies")},t.mapCustomFields=function(e,t){if(!e.custom_fields)return e;return(0,i.forEach)(e.custom_fields,function(e,n){var r=p(n),i=r.name,o=r.label;t.dispatch((0,a.updateReplacementVariable)(i,e,o))}),(0,i.omit)(r({},e),"custom_fields")},t.excerptFromContent=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;if((e=(e=wp.sanitize.stripTags(e)).trim()).length<=t)return e;return(e=e.substring(0,t)).substring(0,e.lastIndexOf(" "))};var i=n(0),a=n(13),o=n(40),s=n(6).strings.stripHTMLTags,u=t.nonReplaceVars=["slug","content","contentImage","snippetPreviewImageURL"];function l(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");var t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}function c(e){return e=l(e),(0,o.firstToUpperCase)(e)}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function p(e){return{name:"cf_"+d(e),label:(0,o.firstToUpperCase)(e+" (custom field)")}}function f(e){var t=d(e);return{name:"ct_"+t,label:(0,o.firstToUpperCase)(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:(0,o.firstToUpperCase)(e+" description (custom taxonomy)")}}t.applyReplaceUsingPlugin=function(e){var t=(0,i.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!(0,i.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){var t=(0,i.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],i.identity);return{url:e.url,title:s(t(e.title)),description:s(t(e.description))}}(e);var n=t._applyModifications.bind(t);return{url:e.url,title:s(n("data_page_title",e.title)),description:s(n("data_meta_desc",e.description))}}},,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toggleCornerstoneContent=t.setCornerstoneContent=t.loadCornerstoneContent=t.SET_CORNERSTONE_CONTENT=t.TOGGLE_CORNERSTONE_CONTENT=t.LOAD_CORNERSTONE_CONTENT=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(26));t.LOAD_CORNERSTONE_CONTENT="WPSEO_LOAD_CORNERSTONE_CONTENT";var i=t.TOGGLE_CORNERSTONE_CONTENT="WPSEO_TOGGLE_CORNERSTONE_CONTENT",a=t.SET_CORNERSTONE_CONTENT="WPSEO_SET_CORNERSTONE_CONTENT";t.loadCornerstoneContent=function(){return{type:a,isCornerstone:r.default.isCornerstone}},t.setCornerstoneContent=function(e){return r.default.isCornerstone=e,{type:a,isCornerstone:e}},t.toggleCornerstoneContent=function(){return r.default.isCornerstone=!r.default.isCornerstone,{type:i}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setFocusKeyword=t.loadFocusKeyword=t.SET_FOCUS_KEYWORD=t.LOAD_FOCUS_KEYWORD=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(26));var i=t.LOAD_FOCUS_KEYWORD="WPSEO_LOAD_FOCUS_KEYWORD",a=t.SET_FOCUS_KEYWORD="WPSEO_SET_FOCUS_KEYWORD";t.loadFocusKeyword=function(){return{type:i,keyword:r.default.keyphrase}},t.setFocusKeyword=function(e){return r.default.keyphrase=e,{type:a,keyword:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.SET_SETTINGS="SET_SETTINGS",i=t.SET_CONTENT_IMAGE="SET_CONTENT_IMAGE";t.setSettings=function(e){return{type:r,settings:e}},t.setContentImage=function(e){return{type:i,src:e}}},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.firstToUpperCase=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},t.stripHTML=function(e){var t=document.createElement("DIV");return t.innerHTML=e,t.textContent||t.innerText||""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setTextdomainL10n=a,t.setYoastComponentsL10n=function(){a("yoast-components")},t.setWordPressSeoL10n=function(){a("wordpress-seo")};var r=n(3),i=n(0);function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"wpseoYoastJSL10n",n=(0,i.get)(window,[t,e,"locale_data",e],!1);!1===n?(0,r.setLocaleData)({"":{}},e):(0,r.setLocaleData)(n,e)}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setActiveMarker=function(e){return{type:r,activeMarker:e}};var r=t.SET_ACTIVE_MARKER="WPSEO_SET_ACTIVE_MARKER"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadAdvancedSettingsData=t.setCanonical=t.setBreadcrumbsTitle=t.setAdvanced=t.setNoFollow=t.setNoIndex=t.LOAD_ADVANCED_SETTINGS=t.SET_CANONICAL_URL=t.SET_BREADCRUMBS_TITLE=t.SET_ADVANCED=t.SET_NO_FOLLOW=t.SET_NO_INDEX=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(68));var i=t.SET_NO_INDEX="SET_NO_INDEX",a=t.SET_NO_FOLLOW="SET_NO_FOLLOW",o=t.SET_ADVANCED="SET_ADVANCED",s=t.SET_BREADCRUMBS_TITLE="SET_BREADCRUMBS_TITLE",u=t.SET_CANONICAL_URL="SET_CANONICAL_URL",l=t.LOAD_ADVANCED_SETTINGS="LOAD_ADVANCED_SETTINGS";t.setNoIndex=function(e){return r.default.noIndex=e,{type:i,value:e}},t.setNoFollow=function(e){return r.default.noFollow=e,{type:a,value:e}},t.setAdvanced=function(e){return r.default.advanced=e.join(","),{type:o,value:e}},t.setBreadcrumbsTitle=function(e){return r.default.breadcrumbsTitle=e,{type:s,value:e}},t.setCanonical=function(e){return r.default.canonical=e,{type:u,value:e}},t.loadAdvancedSettingsData=function(){return{type:l,settings:{noIndex:r.default.noIndex,noFollow:r.default.noFollow,advanced:r.default.advanced.split(","),breadcrumbsTitle:r.default.breadcrumbsTitle,canonical:r.default.canonical,isLoading:!1}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOAD_ESTIMATED_READING_TIME=t.SET_ESTIMATED_READING_TIME=void 0,t.setEstimatedReadingTime=function(e){return r.default.estimatedReadingTime=e,{type:i,estimatedReadingTime:e}},t.loadEstimatedReadingTime=function(){return{type:a,estimatedReadingTime:r.default.estimatedReadingTime}};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(72));var i=t.SET_ESTIMATED_READING_TIME="SET_ESTIMATED_READING_TIME",a=t.LOAD_ESTIMATED_READING_TIME="LOAD_ESTIMATED_READING_TIME"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setMarkerPauseStatus=function(e){return{type:r,isMarkerPaused:e}};var r=t.SET_MARKER_PAUSE_STATUS="WPSEO_SET_MARKER_PAUSE_STATUS"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.SET_PRIMARY_TAXONOMY="WPSEO_SET_PRIMARY_TAXONOMY";t.setPrimaryTaxonomyId=function(e,t){return{type:r,taxonomy:e,termId:t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaArticleData=t.getSchemaPageData=t.setArticleType=t.setPageType=t.GET_SCHEMA_ARTICLE_DATA=t.GET_SCHEMA_PAGE_DATA=t.SET_ARTICLE_TYPE=t.SET_PAGE_TYPE=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(49));var i=t.SET_PAGE_TYPE="SET_PAGE_TYPE",a=t.SET_ARTICLE_TYPE="SET_ARTICLE_TYPE",o=t.GET_SCHEMA_PAGE_DATA="GET_SCHEMA_PAGE_DATA",s=t.GET_SCHEMA_ARTICLE_DATA="GET_SCHEMA_ARTICLE_DATA";t.setPageType=function(e){return r.default.pageType=e,{type:i,pageType:e}},t.setArticleType=function(e){return r.default.articleType=e,{type:a,articleType:e}},t.getSchemaPageData=function(){return{type:o,pageType:r.default.pageType,defaultPageType:r.default.defaultPageType}},t.getSchemaArticleData=function(){return{type:s,articleType:r.default.articleType,defaultArticleType:r.default.defaultArticleType}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(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}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addBlockValidation=function(e){return{type:r,validation:e}},t.resetBlockValidation=function(){return{type:i}};var r=t.ADD_BLOCK_VALIDATION="WPSEO_ADD_BLOCK_VALIDATION",i=t.RESET_BLOCK_VALIDATIONS="WPSEO_CLEAR_BLOCK_VALIDATIONS"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setSEMrushNewRequest=function(e,t){return{type:s,countryCode:e,keyphrase:t}},t.setSEMrushRequestSucceeded=function(e){return{type:i,response:e}},t.setSEMrushRequestFailed=function(e){return{type:a,response:e}},t.setSEMrushSetRequestLimitReached=function(){return{type:o}},t.setSEMrushChangeCountry=function(e){return{type:r,countryCode:e}},t.setSEMrushNoResultsFound=function(){return{type:u}},t.setSEMrushLoginStatus=function(e){return{type:l,loginStatus:e}};var r=t.CHANGE_COUNTRY="CHANGE_COUNTRY",i=t.SET_REQUEST_SUCCEEDED="SET_REQUEST_SUCCEEDED",a=t.SET_REQUEST_FAILED="SET_REQUEST_FAILED",o=t.SET_REQUEST_LIMIT_REACHED="SET_LIMIT_REACHED",s=t.NEW_REQUEST="NEW_REQUEST",u=t.NO_DATA_FOUND="NO_DATA_FOUND",l=t.SET_LOGIN_STATUS="SET_LOGIN_STATUS"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadTwitterPreviewData=t.clearTwitterPreviewImage=t.setTwitterPreviewImage=t.setTwitterPreviewDescription=t.setTwitterPreviewTitle=t.LOAD_TWITTER_PREVIEW=t.CLEAR_TWITTER_IMAGE=t.SET_TWITTER_IMAGE=t.SET_TWITTER_DESCRIPTION=t.SET_TWITTER_TITLE=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(74));var i=t.SET_TWITTER_TITLE="SET_TWITTER_TITLE",a=t.SET_TWITTER_DESCRIPTION="SET_TWITTER_DESCRIPTION",o=t.SET_TWITTER_IMAGE="SET_TWITTER_IMAGE",s=t.CLEAR_TWITTER_IMAGE="CLEAR_TWITTER_IMAGE",u=t.LOAD_TWITTER_PREVIEW="LOAD_TWITTER_PREVIEW";t.setTwitterPreviewTitle=function(e){return r.default.title=e,{type:i,title:e}},t.setTwitterPreviewDescription=function(e){return r.default.description=e,{type:a,description:e}},t.setTwitterPreviewImage=function(e){return r.default.imageId=e.id,r.default.imageUrl=e.url,{type:o,image:e}},t.clearTwitterPreviewImage=function(){return r.default.imageId="",r.default.imageUrl="",{type:s}},t.loadTwitterPreviewData=function(){return{type:u,imageId:r.default.imageId,imageUrl:r.default.imageUrl,description:r.default.description,title:r.default.title}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadFacebookPreviewData=t.clearFacebookPreviewImage=t.setFacebookPreviewImage=t.setFacebookPreviewDescription=t.setFacebookPreviewTitle=t.LOAD_FACEBOOK_PREVIEW=t.CLEAR_FACEBOOK_IMAGE=t.SET_FACEBOOK_IMAGE=t.SET_FACEBOOK_DESCRIPTION=t.SET_FACEBOOK_TITLE=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(75));var i=t.SET_FACEBOOK_TITLE="SET_FACEBOOK_TITLE",a=t.SET_FACEBOOK_DESCRIPTION="SET_FACEBOOK_DESCRIPTION",o=t.SET_FACEBOOK_IMAGE="SET_FACEBOOK_IMAGE",s=t.CLEAR_FACEBOOK_IMAGE="CLEAR_FACEBOOK_IMAGE",u=t.LOAD_FACEBOOK_PREVIEW="LOAD_FACEBOOK_PREVIEW";t.setFacebookPreviewTitle=function(e){return r.default.title=e,{type:i,title:e}},t.setFacebookPreviewDescription=function(e){return r.default.description=e,{type:a,description:e}},t.setFacebookPreviewImage=function(e){return r.default.imageUrl=e.url,r.default.imageId=e.id,{type:o,image:e}},t.clearFacebookPreviewImage=function(){return r.default.imageId="",r.default.imageUrl="",{type:s}},t.loadFacebookPreviewData=function(){return{type:u,imageId:r.default.imageId,imageUrl:r.default.imageUrl,description:r.default.description,title:r.default.title}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setWarningMessage=function(e){return{type:r,message:e}};var r=t.SET_WARNING_MESSAGE="SET_WARNING_MESSAGE"},function(e,t){e.exports=window.wp.apiFetch},function(e,t){e.exports=window.wp.url},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,r.default)();return 1===(0,i.get)(e,"keywordAnalysisActive",0)};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(9)),i=n(0)},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.termsTmceId=t.tmceId=void 0,t.setStore=function(e){s=e},t.isTinyMCELoaded=u,t.isTinyMCEAvailable=l,t.getContentTinyMce=function(e){var t="";t=!1===l(e)||!1===function(e){return null!==document.getElementById(e+"_ifr")}(e)?function(e){return document.getElementById(e)&&document.getElementById(e).value||""}(e):tinyMCE.get(e).getContent();return function(e){var t=new RegExp("&","g");return e.replace(t,"&")}(t)},t.addEventHandler=c,t.disableMarkerButtons=d,t.enableMarkerButtons=p,t.isTextViewActive=f,t.wpTextViewOnInitCheck=function(){if(!f())return;d(),u()&&tinyMCE.on("AddEditor",function(){p()})},t.tinyMceEventBinder=function(e,t){c(t,["input","change","cut","paste"],e),c(t,["hide"],d);var n=["show"];(new a.default).isPageBuilderActive()||n.push("init");c(t,n,p),c("content",["focus"],function(e){var t=e.target;(0,i.editorHasMarks)(t)&&((0,i.editorRemoveMarks)(t),YoastSEO.app.disableMarkers())})};var r=n(0),i=n(127),a=function(e){return e&&e.__esModule?e:{default:e}}(n(148)),o=n(29);var s=void 0;t.tmceId="content",t.termsTmceId="description";function u(){return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length}function l(e){if(!u())return!1;var t=tinyMCE.get(e);return null!==t&&!t.isHidden()}function c(e,t,n){"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",function(i){var a=i.editor;a.id===e&&(0,r.forEach)(t,function(e){a.on(e,n)})})}function d(){(0,r.isUndefined)(s)||s.dispatch((0,o.setMarkerStatus)("disabled"))}function p(){(0,r.isUndefined)(s)||s.dispatch((0,o.setMarkerStatus)("enabled"))}function f(){var e=document.getElementById("wp-content-wrap");return!!e&&e.classList.contains("html-active")}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,r.default)();return 1===(0,i.get)(e,"contentAnalysisActive",0)};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(9)),i=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=document.getElementById(r);t||(t=function(){var e=document.createElement("div");return e.id=r,e.style.position="absolute",e.style.left="-9999em",e.style.top=0,e.style.height=0,e.style.overflow="hidden",e.style.fontFamily="arial, sans-serif",e.style.fontSize="18px",e.style.fontWeight="400",document.body.appendChild(e),e}());return t.innerHTML=e,t.offsetWidth};var r="yoast-measurement-element"},function(e,t){var n,r,i="",a=function(e){e=e||"polite";var t=document.createElement("div");t.id="a11y-speak-"+e,t.className="a11y-speak-region";return t.setAttribute("style","clip: rect(1px, 1px, 1px, 1px); position: absolute; height: 1px; width: 1px; overflow: hidden; word-wrap: normal;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true"),document.querySelector("body").appendChild(t),t};!function(e){if("complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll)return e();document.addEventListener("DOMContentLoaded",e)}(function(){n=document.getElementById("a11y-speak-polite"),r=document.getElementById("a11y-speak-assertive"),null===n&&(n=a("polite")),null===r&&(r=a("assertive"))});e.exports=function(e,t){!function(){for(var e=document.querySelectorAll(".a11y-speak-region"),t=0;t<e.length;t++)e[t].textContent=""}(),e=e.replace(/<[^<>]+>/g," "),i===e&&(e+=" "),i=e,r&&"assertive"===t?r.textContent=e:n&&(n.textContent=e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(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}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateAnalysisData=function(e){return{type:r,data:e}},t.runAnalysis=function(){return{type:i,timestamp:Date.now()}};var r=t.UPDATE_SNIPPET_DATA="SNIPPET_EDITOR_UPDATE_ANALYSIS_DATA",i=t.RUN_ANALYSIS="RUN_ANALYSIS"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setEditorDataContent=function(e){return{type:r,content:e}},t.setEditorDataTitle=function(e){return{type:i,title:e}},t.setEditorDataExcerpt=function(e){return{type:a,excerpt:e}},t.setEditorDataImageUrl=function(e){return{type:o,imageUrl:e}};var r=t.SET_EDITOR_DATA_CONTENT="SET_EDITOR_DATA_CONTENT",i=t.SET_EDITOR_DATA_TITLE="SET_EDITOR_DATA_TITLE",a=t.SET_EDITOR_DATA_EXCERPT="SET_EDITOR_DATA_EXCERPT",o=t.SET_EDITOR_DATA_IMAGE_URL="SET_EDITOR_DATA_IMAGE_URL"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openEditorModal=function(e){return{type:r,modalKey:e}},t.closeEditorModal=function(){return{type:i}};var r=t.OPEN_EDITOR_MODAL="OPEN_MODAL",i=t.CLOSE_EDITOR_MODAL="CLOSE_MODAL"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(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}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setSEMrushDismissModal=function(){return{type:r}},t.setSEMrushOpenModal=function(e){return{type:i,location:e}},t.setSEMrushNoKeyphraseMessage=function(){return{type:a}};var r=t.MODAL_DISMISS="MODAL_DISMISS",i=t.MODAL_OPEN="MODAL_OPEN",a=t.MODAL_OPEN_NO_KEYPHRASE="MODAL_OPEN_NO_KEYPHRASE"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(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",set:function(t){e.descriptionElement.value=t},get:function(){return e.descriptionElement.value}},{key:"imageId",set:function(t){e.imageIdElement.value=t},get:function(){return e.imageIdElement.value}},{key:"imageUrl",set:function(t){e.imageUrlElement.value=t},get:function(){return e.imageUrlElement.value}}]),e}();t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(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",set:function(t){e.descriptionElement.value=t},get:function(){return e.descriptionElement.value}},{key:"imageId",set:function(t){e.imageIdElement.value=t},get:function(){return e.imageIdElement.value}},{key:"imageUrl",set:function(t){e.imageUrlElement.value=t},get:function(){return e.imageUrlElement.value}}]),e}();t.default=i},,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,i.default)();return(0,r.get)(e,"contentLocale","en_US")};var r=n(0),i=function(e){return e&&e.__esModule?e:{default:e}}(n(9))},,,function(e,t){e.exports=window.wp.richText},,,,,,,function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return window.wpseoScriptData&&"1"===window.wpseoScriptData.isBlockEditor}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,i.default)(),t=(0,r.get)(e,"translations",{domain:"js-text-analysis",locale_data:{"js-text-analysis":{"":{}}}});"wordpress-seo"!==t.domain||(0,r.isUndefined)(t.locale_data["wordpress-seo"])||(t.domain="js-text-analysis",t.locale_data["js-text-analysis"]=t.locale_data["wordpress-seo"],t.locale_data["js-text-analysis"][""].domain="js-text-analysis",delete t.locale_data["wordpress-seo"]);return t};var r=n(0),i=function(e){return e&&e.__esModule?e:{default:e}}(n(9))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return[{name:"date",label:(0,r.__)("Date","wordpress-seo"),value:""},{name:"id",label:(0,r.__)("ID","wordpress-seo"),value:""},{name:"page",label:(0,r.__)("Page","wordpress-seo"),value:""},{name:"searchphrase",label:(0,r.__)("Search phrase","wordpress-seo"),value:""},{name:"sitedesc",label:(0,r.__)("Tagline","wordpress-seo"),value:""},{name:"sitename",label:(0,r.__)("Site title","wordpress-seo"),value:""},{name:"category",label:(0,r.__)("Category","wordpress-seo"),value:""},{name:"focuskw",label:(0,r.__)("Focus keyphrase","wordpress-seo"),value:""},{name:"title",label:(0,r.__)("Title","wordpress-seo"),value:""},{name:"parent_title",label:(0,r.__)("Parent title","wordpress-seo"),value:""},{name:"excerpt",label:(0,r.__)("Excerpt","wordpress-seo"),value:""},{name:"primary_category",label:(0,r.__)("Primary category","wordpress-seo"),value:""},{name:"sep",label:(0,r.__)("Separator","wordpress-seo"),value:""},{name:"excerpt_only",label:(0,r.__)("Excerpt only","wordpress-seo"),value:""},{name:"category_description",label:(0,r.__)("Category description","wordpress-seo"),value:""},{name:"tag_description",label:(0,r.__)("Tag description","wordpress-seo"),value:""},{name:"term_description",label:(0,r.__)("Term description","wordpress-seo"),value:""},{name:"currentyear",label:(0,r.__)("Current year","wordpress-seo"),value:""}]};var r=n(3)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEditorContext=function(e){return e.editorContext},t.getPostOrPageString=function(e){return"Page"===(0,r.get)(e,"editorContext.postTypeNameSingular")?"page":"post"},t.getIsBlockEditor=function(e){return(0,r.get)(e,"editorContext.isBlockEditor",!1)},t.getContentLocale=function(e){return(0,r.get)(e,"editorContext.contentLocale","en_US")};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEditorDataImageUrl=t.getEditorDataExcerpt=t.getEditorDataTitle=t.getEditorDataContent=void 0;var r=n(0);t.getEditorDataContent=function(e){return(0,r.get)(e,"editorData.content","")},t.getEditorDataTitle=function(e){return(0,r.get)(e,"editorData.title","")},t.getEditorDataExcerpt=function(e){return(0,r.get)(e,"editorData.excerpt")},t.getEditorDataImageUrl=function(e){return(0,r.get)(e,"editorData.imageUrl","")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFocusKeyphrase=function(e){return e.focusKeyword}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSiteIconUrlFromSettings=t.getRecommendedReplaceVars=t.getDateFromSettings=t.getBaseUrlFromSettings=t.getSiteName=t.getAuthorName=void 0;var r=n(0);t.getAuthorName=function(e){return(0,r.get)(e,"settings.socialPreviews.authorName","")},t.getSiteName=function(e){return(0,r.get)(e,"settings.socialPreviews.siteName","")},t.getBaseUrlFromSettings=function(e){return(0,r.get)(e,"settings.snippetEditor.baseUrl","")},t.getDateFromSettings=function(e){return(0,r.get)(e,"settings.snippetEditor.date","")},t.getRecommendedReplaceVars=function(e){return(0,r.get)(e,"settings.snippetEditor.recommendedReplacementVariables",[])},t.getSiteIconUrlFromSettings=function(e){return(0,r.get)(e,"settings.snippetEditor.siteIconUrl","")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSnippetEditorIsLoading=t.getSnippetEditorWordsToHighlight=t.getSnippetEditorData=t.getSnippetEditorSlug=t.getSnippetEditorDescriptionWithTemplate=t.getSnippetEditorDescription=t.getSnippetEditorTitleWithTemplate=t.getSnippetEditorTitle=t.getSnippetEditorMode=t.getSnippetEditorTemplates=t.getReplaceVars=void 0;var r=n(0),i=(t.getReplaceVars=function(e){return(0,r.get)(e,"snippetEditor.replacementVariables",[])},t.getSnippetEditorTemplates=function(e){return(0,r.get)(e,"snippetEditor.templates",{title:"",description:""})}),a=(t.getSnippetEditorMode=function(e){return(0,r.get)(e,"snippetEditor.mode","mobile")},t.getSnippetEditorTitle=function(e){return(0,r.get)(e,"snippetEditor.data.title","")}),o=(t.getSnippetEditorTitleWithTemplate=function(e){return(0,r.get)(e,"snippetEditor.data.title","")||i(e).title},t.getSnippetEditorDescription=function(e){return(0,r.get)(e,"snippetEditor.data.description","")}),s=(t.getSnippetEditorDescriptionWithTemplate=function(e){return o(e)||i(e).description},t.getSnippetEditorSlug=function(e){return(0,r.get)(e,"snippetEditor.data.slug","")});t.getSnippetEditorData=function(e){return(0,r.get)(e,"snippetEditor.data",{title:a(e),description:o(e),slug:s(e)})},t.getSnippetEditorWordsToHighlight=function(e){return(0,r.get)(e,"snippetEditor.wordsToHighlight",[])},t.getSnippetEditorIsLoading=function(e){return(0,r.get)(e,"snippetEditor.isLoading",!0)}},,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tinyMCEDecorator=u,t.editorHasMarks=function(e){return-1!==e.getContent({format:"raw"}).indexOf("<"+o)},t.editorRemoveMarks=function(e){u(e)(null,[])};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(11)),i=n(0);var a=r.default.markers.removeMarks,o="yoastmark";function s(e,t,n){var r=e.dom,s=e.getContent();s=a(s),(0,i.forEach)(n,function(e){s=e.applyWithReplace(s)}),e.setContent(s),function(e){var t=e.getContent();t=t.replace(new RegExp("<yoastmark.+?>","g"),"").replace(new RegExp("</yoastmark>","g"),""),e.setContent(t)}(e);var u=r.select(o);(0,i.forEach)(u,function(e){e.setAttribute("data-mce-bogus","1")})}function u(e){return window.test=e,s.bind(null,e)}},,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.refreshDelay=500},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sortResultsByIdentifier=s,t.default=function(e,t,n,u,l){var c=t();if(!o)return;e.analyze(c).then(function(e){var t=e.result,a=t.seo,o=t.readability;if(a){var d=a[""];d.results.forEach(function(e){e.getMarker=function(){return function(){return n(c,e.marks)}}}),d.results=s(d.results),u.dispatch((0,r.setSeoResultsForKeyword)(c.getKeyword(),d.results)),u.dispatch((0,r.setOverallSeoScore)(d.score,c.getKeyword())),u.dispatch((0,i.refreshSnippetEditor)()),l.saveScores(d.score,c.getKeyword())}o&&(o.results.forEach(function(e){e.getMarker=function(){return function(){return n(c,e.marks)}}}),o.results=s(o.results),u.dispatch((0,r.setReadabilityResults)(o.results)),u.dispatch((0,r.setOverallReadabilityScore)(o.score)),u.dispatch((0,i.refreshSnippetEditor)()),l.saveContentScore(o.score))}).catch(a.default)},t.initializationDone=function(){o=!0};var r=n(15),i=n(13),a=function(e){return e&&e.__esModule?e:{default:e}}(n(64));var o=!1;function s(e){return e.sort(function(e,t){return e._identifier.localeCompare(t._identifier)})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(e){return e&&e.__esModule?e:{default:e}}(n(106)),a=n(13),o=n(30);t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{mode:"mobile",data:{title:"",description:"",slug:""},wordsToHighlight:[],replacementVariables:(0,i.default)(),uniqueRefreshValue:"",templates:{title:"",description:""},isLoading:!0},t=arguments[1];switch(t.type){case a.SWITCH_MODE:return r({},e,{mode:t.mode});case a.UPDATE_DATA:return r({},e,{data:r({},e.data,t.data)});case a.UPDATE_REPLACEMENT_VARIABLE:var n=!0,s=e.replacementVariables.map(function(e){return e.name===t.name?(n=!1,{name:t.name,label:t.label||e.label,value:t.value}):e});return n&&(s=(0,o.pushNewReplaceVar)(s,t)),r({},e,{replacementVariables:s});case a.REMOVE_REPLACEMENT_VARIABLE:return r({},e,{replacementVariables:e.replacementVariables.filter(function(e){return e.name!==t.name})});case a.REFRESH:return r({},e,{uniqueRefreshValue:t.time});case a.UPDATE_WORDS_TO_HIGHLIGHT:return r({},e,{wordsToHighlight:t.wordsToHighlight});case a.LOAD_SNIPPET_EDITOR_DATA:return r({},e,{data:r({},e.data,{title:t.data.title,description:t.data.description,slug:t.data.slug}),templates:r({},e.templates,{title:t.templates.title,description:t.templates.description}),isLoading:!1})}return e}},,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.END_MARK=t.START_MARK=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.isAnnotationAvailable=function(){return(0,o.select)("core/editor")&&(0,i.isFunction)((0,o.select)("core/editor").getBlocks)&&(0,o.select)("core/annotations")&&(0,i.isFunction)((0,o.dispatch)("core/annotations").__experimentalAddAnnotation)},t.getYoastmarkOffsets=h,t.getIndicesOf=m,t.calculateAnnotationsForTextFormat=y,t.applyAsAnnotations=function(e,t){if(c=[],(0,o.dispatch)("core/annotations").__experimentalRemoveAnnotationsBySource(s),0===t.length)return;var n=(0,o.select)("core/editor").getBlocks();w((0,i.flatMap)(n,function(e){return(0,i.flatMap)(_(e.name),function(n){return v(n,e,t)})})),g()},t.reapplyAnnotationsForSelectedBlock=function(){var e=(0,o.select)("core/editor").getSelectedBlock(),t=(0,o.select)("yoast-seo/editor").getActiveMarker();if(!e||!t)return;!function(e){(0,o.select)("core/annotations").__experimentalGetAnnotations().filter(function(t){return t.blockClientId===e&&t.source===s}).forEach(function(e){(0,o.dispatch)("core/annotations").__experimentalRemoveAnnotation(e.id)})}(e.clientId);var n=(0,o.select)("yoast-seo/editor").getResultById(t);if(void 0===n)return;var r=n.marks;w((0,i.flatMap)(_(e.name),function(t){return v(t,e,r)})),g()};var i=n(0),a=n(93),o=n(7),s="yoast",u=t.START_MARK="<yoastmark class='yoast-text-mark'>",l=t.END_MARK="</yoastmark>",c=[],d={"core/quote":[{key:"value",multilineTag:"p"},{key:"citation"}],"core/paragraph":[{key:"content"}],"core/list":[{key:"values",multilineTag:"li",multilineWrapperTag:["ul","ol"]}],"core/heading":[{key:"content"}]},p={singleH1:{"core/heading":[{key:"content",filter:function(e){return 1===e.level}}]}};function f(){var e=c.shift();e&&((0,o.dispatch)("core/annotations").__experimentalAddAnnotation(e),g())}function g(){(0,i.isFunction)(window.requestIdleCallback)?window.requestIdleCallback(f,{timeout:1e3}):setTimeout(f,150)}function h(e){for(var t=e.indexOf(u),n=null,r=[];t>=0;){if((n=(e=e.replace(u,"")).indexOf(l))<t)return[];e=e.replace(l,""),r.push({startOffset:t,endOffset:n}),t=e.indexOf(u),n=null}return r}function m(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=[];if(0===e.length)return r;var i=0,a=void 0;for(n||(t=t.toLowerCase(),e=e.toLowerCase());(a=e.indexOf(t,i))>-1;)r.push(a),i=a+t.length;return r}function y(e,t){var n=t.getOriginal().replace(/(<([^>]+)>)/gi,""),r=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),i=m(e,n);if(0===i.length)return[];var a=[];return h(r).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}function _(e){var t=(0,o.select)("yoast-seo/editor").getActiveMarker(),n=p[t]||d;return n.hasOwnProperty(e)?n[e]:[]}function v(e,t,n){var o=e.key,s=t.attributes,u=s[o];if(e.filter&&!e.filter(s))return[];var l=(0,a.create)({html:u,multilineTag:e.multilineTag,multilineWrapperTag:e.multilineWrapperTag}).text;return(0,i.flatMap)(n,function(e){var n=y(l,e);return n?n.map(function(e){return r({},e,{block:t.clientId,richTextIdentifier:o})}):[]})}function w(e){c=e.map(function(e){return{blockClientId:e.block,source:s,richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),a=s(n(176)),o=s(n(177));function s(e){return e&&e.__esModule?e:{default:e}}var u={classicEditorHidden:i.noop,classicEditorShown:i.noop,pageBuilderLoaded:i.noop},l=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.determineActivePageBuilders()}return r(e,[{key:"determineActivePageBuilders",value:function(){a.default.isActive()&&(this.diviActive=!0),o.default.isActive()&&(this.vcActive=!0)}},{key:"isPageBuilderActive",value:function(){return this.diviActive||this.vcActive}},{key:"listen",value:function(e){(this.callbacks=(0,i.defaults)(e,u),this.diviActive)&&(new a.default).listen(e)}},{key:"isClassicEditorHidden",value:function(){return!(!this.diviActive||!a.default.isTinyMCEHidden())}}]),e}();t.default=l},,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(212);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var i=n(213);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})});var a=n(214);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})});var o=n(107);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})});var s=n(108);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})});var u=n(215);Object.keys(u).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}})});var l=n(216);Object.keys(l).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}})});var c=n(217);Object.keys(c).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}})});var d=n(218);Object.keys(d).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}})});var p=n(109);Object.keys(p).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}})});var f=n(219);Object.keys(f).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}})});var g=n(220);Object.keys(g).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return g[e]}})});var h=n(221);Object.keys(h).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}})});var m=n(222);Object.keys(m).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return m[e]}})});var y=n(223);Object.keys(y).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return y[e]}})});var _=n(224);Object.keys(_).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return _[e]}})});var v=n(225);Object.keys(v).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return v[e]}})});var w=n(110);Object.keys(w).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return w[e]}})});var b=n(111);Object.keys(b).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return b[e]}})});var E=n(226);Object.keys(E).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return E[e]}})});var T=n(227);Object.keys(T).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return T[e]}})})},function(e,t){e.exports=window.wp.isShallowEqual},,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0);var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"listen",value:function(e){(this.classicEditorContainer=document.getElementById("et_pb_main_editor_wrap"),this.classicEditorContainer)&&new MutationObserver(function(t){(0,i.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}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,null,[{key:"isActive",value:function(){return!!window.VCV_I18N}}]),e}();t.default=i},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0);var o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(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 i(e,[{key:"_registerPlugin",value:function(e,t){return(0,a.isString)(e)?(0,a.isUndefined)(t)||(0,a.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(0,a.isString)(e)?(0,a.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(0,a.isString)(e)?(0,a.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(!(0,a.isString)(e))return console.error("Failed to register modification for plugin "+n+". Expected parameter `modification` to be a string."),!1;if(!(0,a.isFunction)(t))return console.error("Failed to register modification for plugin "+n+". Expected parameter `callable` to be a function."),!1;if(!(0,a.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:(0,a.isNumber)(r)?r:10};return(0,a.isUndefined)(this.modifications[e])&&(this.modifications[e]=[]),this.modifications[e].push(i),!0}},{key:"_registerAssessment",value:function(e,t,n,r){return(0,a.isString)(t)?(0,a.isObject)(n)?(0,a.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 i=this.modifications[e];return!(0,a.isArray)(i)||i.length<1?t:((i=this._stripIllegalModifications(i)).sort(function(e,t){return e.priority-t.priority}),(0,a.forEach)(i,function(i){var a=i.callable(t,n);(void 0===a?"undefined":r(a))===(void 0===t?"undefined":r(t))?t=a:console.error("Modification with name "+e+" performed by plugin with name "+i.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=(0,a.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(0,a.reduce)(this.plugins,function(e,t){return e&&"ready"===t.status},!0)}},{key:"_pollTimeExceeded",value:function(){(0,a.forEach)(this.plugins,function(e,t){(0,a.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(0,a.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(0,a.isUndefined)(this.plugins[e])}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createAnalysisWorker=function(){var e=(0,r.get)(window,["wpseoScriptData","analysis","worker","url"],"analysis-worker.js");return new i.AnalysisWorkerWrapper((0,i.createWorker)(e))},t.getAnalysisConfiguration=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={locale:(0,a.default)(),contentAnalysisActive:(0,u.default)(),keywordAnalysisActive:(0,l.default)(),defaultQueryParams:(0,o.default)(),logLevel:(0,r.get)(window,["wpseoScriptData","analysis","worker","log_level"],"ERROR"),enabledFeatures:(0,r.get)(window,["wpseoScriptData","analysis","worker","enabled_features"],[])};t=(0,r.merge)(t,e);var n=(0,s.default)();(0,r.isUndefined)(n)||(0,r.isUndefined)(n.domain)||(t.translations=n);return t};var r=n(0),i=n(11),a=c(n(90)),o=c(n(183)),s=c(n(105)),u=c(n(65)),l=c(n(58));function c(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,r.get)(window,["wpseoAdminL10n","default_query_params"],{})};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i={source:"wpseoScriptData.analysis.plugins.replaceVars",scope:[],aliases:[]},a=function(e,t,n){this.placeholder=e,this.replacement=t,this.options=(0,r.defaults)(n,i)};a.prototype.getPlaceholder=function(e){return(e=e||!1)&&this.hasAlias()?this.placeholder+"|"+this.getAliases().join("|"):this.placeholder},a.prototype.setSource=function(e){this.options.source=e},a.prototype.hasScope=function(){return!(0,r.isEmpty)(this.options.scope)},a.prototype.addScope=function(e){this.hasScope()||(this.options.scope=[]),this.options.scope.push(e)},a.prototype.inScope=function(e){return!this.hasScope()||(0,r.indexOf)(this.options.scope,e)>-1},a.prototype.hasAlias=function(){return!(0,r.isEmpty)(this.options.aliases)},a.prototype.addAlias=function(e){this.hasAlias()||(this.options.aliases=[]),this.options.aliases.push(e)},a.prototype.getAliases=function(){return this.options.aliases},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=k(n(186)),i=k(n(187)),a=n(15),o=k(n(188)),s=k(n(189)),u=k(n(190)),l=k(n(191)),c=k(n(192)),d=k(n(193)),p=k(n(194)),f=k(n(195)),g=k(n(196)),h=k(n(197)),m=k(n(198)),y=k(n(204)),_=k(n(205)),v=k(n(206)),w=k(n(207)),b=k(n(208)),E=k(n(209)),T=k(n(134)),S=k(n(210)),O=k(n(211));function k(e){return e&&e.__esModule?e:{default:e}}t.default={activeMarker:r.default,advancedSettings:i.default,analysis:a.analysis,analysisData:o.default,editorContext:s.default,editorData:u.default,editorModals:l.default,estimatedReadingTime:c.default,facebookEditor:d.default,focusKeyword:p.default,isCornerstone:f.default,isMarkerPaused:g.default,marksButtonStatus:h.default,preferences:m.default,primaryTaxonomies:y.default,schemaBlocks:_.default,schemaTab:v.default,SEMrushModal:w.default,SEMrushRequest:b.default,settings:E.default,snippetEditor:T.default,twitterEditor:S.default,warning:O.default}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(43),i=null;t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments[1];switch(t.type){case r.SET_ACTIVE_MARKER:return t.activeMarker;default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(44),a={noIndex:"",noFollow:"",advanced:[],breadcrumbsTitle:"",canonical:"",isLoading:!0};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments[1];switch(t.type){case i.LOAD_ADVANCED_SETTINGS:return r({},e,t.settings);case i.SET_NO_INDEX:return r({},e,{noIndex:t.value});case i.SET_NO_FOLLOW:return r({},e,{noFollow:t.value});case i.SET_ADVANCED:return r({},e,{advanced:t.value});case i.SET_CANONICAL_URL:return r({},e,{canonical:t.value});case i.SET_BREADCRUMBS_TITLE:return r({},e,{breadcrumbsTitle:t.value});default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(16),a={snippet:{},timestamp:0};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments[1];switch(t.type){case i.UPDATE_SNIPPET_DATA:return r({},e,{snippet:t.data});case i.RUN_ANALYSIS:return r({},e,{timestamp:t.timestamp})}return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);t.default=function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:{contentLocale:(0,r.get)(window,"wpseoScriptData.metabox.contentLocale",""),isBlockEditor:"1"===(0,r.get)(window,"wpseoScriptData.isBlockEditor","0"),isPost:(0,r.get)(window,"wpseoScriptData",{}).hasOwnProperty("isPost"),isTerm:(0,r.get)(window,"wpseoScriptData",{}).hasOwnProperty("isTerm"),noIndex:"1"===(0,r.get)(window,"wpseoAdminL10n.noIndex","0"),postTypeNameSingular:(0,r.get)(window,"wpseoAdminL10n.postTypeNameSingular",""),postTypeNamePlural:(0,r.get)(window,"wpseoAdminL10n.postTypeNamePlural","")}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(16),a={content:"",excerpt:"",imageUrl:"",slug:"",title:""};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments[1];switch(t.type){case i.SET_EDITOR_DATA_CONTENT:return r({},e,{content:t.content});case i.SET_EDITOR_DATA_EXCERPT:return r({},e,{excerpt:t.excerpt});case i.SET_EDITOR_DATA_IMAGE_URL:return r({},e,{imageUrl:t.imageUrl});case i.SET_EDITOR_DATA_SLUG:return r({},e,{slug:t.slug});case i.SET_EDITOR_DATA_TITLE:return r({},e,{title:t.title})}return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(16),a={openedModal:""};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments[1];switch(t.type){case i.OPEN_EDITOR_MODAL:return r({},e,{openedModal:t.modalKey});case i.CLOSE_EDITOR_MODAL:return r({},e,{openedModal:""})}return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(45),a={estimatedReadingTime:0};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments[1];switch(t.type){case i.LOAD_ESTIMATED_READING_TIME:case i.SET_ESTIMATED_READING_TIME:return r({},e,{estimatedReadingTime:t.estimatedReadingTime});default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(53),a={title:"",description:"",warnings:[],image:{url:"",id:""}};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments[1];switch(t.type){case i.LOAD_FACEBOOK_PREVIEW:return r({},e,{title:t.title,description:t.description,image:{id:t.id,url:t.imageUrl}});case i.SET_FACEBOOK_TITLE:return r({},e,{title:t.title});case i.SET_FACEBOOK_DESCRIPTION:return r({},e,{description:t.description});case i.SET_FACEBOOK_IMAGE:return r({},e,{warnings:t.image.warnings,image:{id:t.image.id,url:t.image.url}});case i.CLEAR_FACEBOOK_IMAGE:return r({},e,{image:{url:"",id:""},warnings:[]});default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(36),i="";t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments[1];switch(t.type){case r.LOAD_FOCUS_KEYWORD:case r.SET_FOCUS_KEYWORD:return t.keyword;default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(35),i=!1;t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments[1];switch(t.type){case r.TOGGLE_CORNERSTONE_CONTENT:return!e;case r.SET_CORNERSTONE_CONTENT:return t.isCornerstone;default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(46),i=!1;t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments[1];switch(t.type){case r.SET_MARKER_PAUSE_STATUS:return function(e,t){return t.isMarkerPaused}(0,t);default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(29),i="disabled";t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments[1];switch(t.type){case r.SET_MARKER_STATUS:return t.marksButtonStatus;default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=d(n(65)),a=d(n(58)),o=d(n(199)),s=d(n(200)),u=d(n(201)),l=d(n(202)),c=d(n(203));function d(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){var e=!!window.wpseoAdminL10n.displayAdvancedTab;return{isContentAnalysisActive:(0,i.default)(),isKeywordAnalysisActive:(0,a.default)(),isWordFormRecognitionActive:(0,r.isUndefined)(window.wpseoPremiumMetaboxData)&&(0,s.default)(),isCornerstoneActive:(0,o.default)(),isBreadcrumbsDisabled:!!window.wpseoAdminL10n.isBreadcrumbsDisabled,isPrivateBlog:!!window.wpseoAdminL10n.isPrivateBlog,isSEMrushIntegrationActive:(0,u.default)(),shouldUpsell:(0,r.isUndefined)(window.wpseoPremiumMetaboxData),displayAdvancedTab:e,displaySchemaSettings:e&&!!window.wpseoScriptData.isPost,displaySchemaSettingsFooter:window.wpseoScriptData.metabox.schema.displayFooter,displayFacebook:window.wpseoScriptData.metabox.showSocial.facebook,displayTwitter:window.wpseoScriptData.metabox.showSocial.twitter,isZapierIntegrationActive:(0,l.default)(),isZapierConnected:(0,c.default)()}}()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,r.default)();return 1===(0,i.get)(e,"cornerstoneActive",0)};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(9)),i=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(9)),i=n(0);t.default=function(){var e=(0,r.default)();return(0,i.get)(e,"wordFormRecognitionActive",!1)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,i.default)();return 1===(0,r.get)(e,"semrushIntegrationActive",0)};var r=n(0),i=function(e){return e&&e.__esModule?e:{default:e}}(n(9))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,i.default)();return 1===(0,r.get)(e,"zapierIntegrationActive",0)};var r=n(0),i=function(e){return e&&e.__esModule?e:{default:e}}(n(9))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,i.default)();return 1===(0,r.get)(e,"zapierConnectedStatus",0)};var r=n(0),i=function(e){return e&&e.__esModule?e:{default:e}}(n(9))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(47);var a={};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments[1];switch(t.type){case i.SET_PRIMARY_TAXONOMY:return r({},e,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t.taxonomy,t.termId));default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments[1];switch(t.type){case r.RESET_BLOCK_VALIDATIONS:return i;case r.ADD_BLOCK_VALIDATION:var n=Object.assign({},e),a=t.validation;return n[a.clientId]=a,n;default:return e}};var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(50));var i={}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(48),a={pageType:"",defaultPageType:"",articleType:"",defaultArticleType:""};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments[1];switch(t.type){case i.SET_PAGE_TYPE:return r({},e,{pageType:t.pageType});case i.SET_ARTICLE_TYPE:return r({},e,{articleType:t.articleType});case i.GET_SCHEMA_PAGE_DATA:return r({},e,{pageType:t.pageType,defaultPageType:t.defaultPageType});case i.GET_SCHEMA_ARTICLE_DATA:return r({},e,{articleType:t.articleType,defaultArticleType:t.defaultArticleType});default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(16),i={whichModalOpen:"none",displayNoKeyphraseMessage:!1};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments[1];switch(t.type){case r.MODAL_OPEN_NO_KEYPHRASE:return{whichModalOpen:"none",displayNoKeyphraseMessage:!0};case r.MODAL_OPEN:return{whichModalOpen:t.location,displayNoKeyphraseMessage:!1};case r.MODAL_DISMISS:return{whichModalOpen:"none",displayNoKeyphraseMessage:!1}}return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(51),a={isRequestPending:!1,keyphrase:"",countryCode:"us",isSuccess:!1,response:null,limitReached:!1,hasData:!0,isLoggedIn:!1};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments[1];switch(t.type){case i.NEW_REQUEST:return r({},e,{isRequestPending:!0,keyphrase:t.keyphrase,countryCode:t.countryCode,isSuccess:!1,response:null});case i.SET_REQUEST_SUCCEEDED:return r({},e,{isRequestPending:!1,isSuccess:!0,response:t.response,hasData:!0});case i.SET_REQUEST_FAILED:return r({},e,{isRequestPending:!1,isSuccess:!1,response:t.response,hasData:!1});case i.SET_REQUEST_LIMIT_REACHED:return r({},e,{isRequestPending:!1,limitReached:!0,hasData:!1});case i.CHANGE_COUNTRY:return r({},e,{countryCode:t.countryCode});case i.NO_DATA_FOUND:return r({},e,{isSuccess:!0,isRequestPending:!1,hasData:!1,response:null});case i.SET_LOGIN_STATUS:return r({},e,{isLoggedIn:t.loginStatus});default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];switch(t.type){case i.SET_SETTINGS:return r({},e,t.settings);case i.SET_CONTENT_IMAGE:var n=Object.assign({},e.socialPreviews,{contentImage:t.src});return r({},e,{socialPreviews:r({},n)});default:return e}};var i=n(37)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(52),a={title:"",description:"",warnings:[],image:{url:"",id:""}};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments[1];switch(t.type){case i.LOAD_TWITTER_PREVIEW:return r({},e,{title:t.title,description:t.description,image:{id:t.id,url:t.imageUrl}});case i.SET_TWITTER_TITLE:return r({},e,{title:t.title});case i.SET_TWITTER_DESCRIPTION:return r({},e,{description:t.description});case i.SET_TWITTER_IMAGE:return r({},e,{image:{id:t.image.id,url:t.image.url},warnings:t.image.warnings});case i.CLEAR_TWITTER_IMAGE:return r({},e,{image:{url:"",id:""},warnings:[]});default:return e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments[1];switch(t.type){case i.SET_WARNING_MESSAGE:return r({},e,{message:t.message});default:return e}};var i=n(54),a={message:[]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIsLoading=t.getCanonical=t.getBreadcrumbsTitle=t.getAdvanced=t.getNoFollow=t.getNoIndex=void 0;var r=n(0);t.getNoIndex=function(e){return(0,r.get)(e,"advancedSettings.noIndex","")},t.getNoFollow=function(e){return(0,r.get)(e,"advancedSettings.noFollow","")},t.getAdvanced=function(e){return(0,r.get)(e,"advancedSettings.advanced","")},t.getBreadcrumbsTitle=function(e){return(0,r.get)(e,"advancedSettings.breadcrumbsTitle","summary")},t.getCanonical=function(e){return(0,r.get)(e,"advancedSettings.canonical","")},t.getIsLoading=function(e){return(0,r.get)(e,"advancedSettings.isLoading",!0)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAnalysisData=t.getAnalysisTimestamp=t.getPermalink=t.getDescription=t.getSeoTitle=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(66)),i=n(107),a=n(108),o=n(109),s=n(110),u=n(111),l=n(0);var c=t.getSeoTitle=function(e){return(0,l.get)(e,"analysisData.snippet.title","")},d=t.getDescription=function(e){return(0,l.get)(e,"analysisData.snippet.description","")};t.getPermalink=function(e){return(0,l.get)(e,"analysisData.snippet.url","")},t.getAnalysisTimestamp=function(e){return parseInt((0,l.get)(e,"analysisData.timestamp",0),10)},t.getAnalysisData=function(e){var t=c(e)||(0,u.getSnippetEditorTitle)(e),n=(0,u.getSnippetEditorSlug)(e);return{text:(0,a.getEditorDataContent)(e),title:t,keyword:(0,o.getFocusKeyphrase)(e),description:d(e)||(0,u.getSnippetEditorDescription)(e),locale:(0,i.getContentLocale)(e),titleWidth:(0,r.default)(t),url:n,permalink:(0,s.getBaseUrlFromSettings)(e)+n}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isCornerstoneContent=function(e){return e.isCornerstone}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIsModalOpen=void 0;var r=n(0);t.getIsModalOpen=function(e,t){return(0,r.get)(e,"editorModals.openedModal","")===t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getEstimatedReadingTime=function(e){return(0,r.get)(e,"estimatedReadingTime.estimatedReadingTime",0)||0};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFacebookWarnings=t.getFacebookImageSrc=t.getFacebookImageUrl=t.getFacebookDescription=t.getFacebookTitle=void 0;var r=n(0);t.getFacebookTitle=function(e){return(0,r.get)(e,"facebookEditor.title","")},t.getFacebookDescription=function(e){return(0,r.get)(e,"facebookEditor.description","")},t.getFacebookImageUrl=function(e){return(0,r.get)(e,"facebookEditor.image.url")},t.getFacebookImageSrc=function(e){return(0,r.get)(e,"facebookEditor.image.src","")},t.getFacebookWarnings=function(e){return(0,r.get)(e,"facebookEditor.warnings",[])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSiteUrl=t.getImageFallback=t.getContentImage=t.getDescriptionFallback=t.getTitleFallback=void 0;var r=n(0);t.getTitleFallback=function(e){return(0,r.get)(e,"analysisData.snippet.title","")},t.getDescriptionFallback=function(e){return(0,r.get)(e,"analysisData.snippet.description","")},t.getContentImage=function(e){return(0,r.get)(e,"socialPreviews.contentImage","")},t.getImageFallback=function(e){var t=(0,r.get)(e,"snippetEditor.data.snippetPreviewImageURL",""),n=(0,r.get)(e,"settings.socialPreviews.contentImage",""),i=(0,r.get)(window.wpseoScriptData,"metabox.showSocial.facebook")&&(0,r.get)(e,"settings.socialPreviews.sitewideImage","");return t||n||i||""},t.getSiteUrl=function(e){return(e.analysisData.snippet.url||"").split("/")[0]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getActiveMarker=function(e){return e.activeMarker},t.getMarkerPauseStatus=function(e){return e.isMarkerPaused},t.isMarkingAvailable=function(e){return"enabled"===e.marksButtonStatus}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPreferences=function(e){return e.preferences},t.getIsKeywordAnalysisActive=function(e){return(0,r.get)(e,"preferences.isKeywordAnalysisActive",!1)};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPrimaryTaxonomyId=function(e,t){return e.primaryTaxonomies[t]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSeoResults=a,t.getResultsForKeyword=o,t.getReadabilityResults=s,t.getResultsForFocusKeyword=u,t.getResultById=function(e,t){var n=u(e).results||[],r=s(e).results||[];return[].concat(i(n),i(r)).find(function(e){return e._identifier===t})},t.getMarkButtonStatus=function(e){return e.marksButtonStatus};var r=n(0);function i(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function a(e){return(0,r.get)(e,["analysis","seo"],{})}function o(e,t){var n=a(e);return(0,r.get)(n,t,{})}function s(e){return(0,r.get)(e,["analysis","readability"],{})}function u(e){return o(e,e.focusKeyword)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getArticleType=t.getDefaultArticleType=t.getPageType=t.getDefaultPageType=void 0;var r=n(0);t.getDefaultPageType=function(e){return(0,r.get)(e,"schemaTab.defaultPageType","")},t.getPageType=function(e){return(0,r.get)(e,"schemaTab.pageType","")},t.getDefaultArticleType=function(e){return(0,r.get)(e,"schemaTab.defaultArticleType","")},t.getArticleType=function(e){return(0,r.get)(e,"schemaTab.articleType","")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSEMrushModalOpen=function(e){return e.SEMrushModal.whichModalOpen},t.getSEMrushNoKeyphraseMessage=function(e){return e.SEMrushModal.displayNoKeyphraseMessage}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSEMrushIsRequestPending=function(e){return e.SEMrushRequest.isRequestPending},t.getSEMrushRequestIsSuccess=function(e){return e.SEMrushRequest.isSuccess},t.getSEMrushRequestResponse=function(e){return e.SEMrushRequest.response},t.getSEMrushRequestLimitReached=function(e){return e.SEMrushRequest.limitReached},t.getSEMrushRequestKeyphrase=function(e){return e.SEMrushRequest.keyphrase},t.getSEMrushSelectedCountry=function(e){return e.SEMrushRequest.countryCode},t.getSEMrushRequestHasData=function(e){return e.SEMrushRequest.hasData},t.getSEMrushLoginStatus=function(e){return e.SEMrushRequest.isLoggedIn}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTwitterWarnings=t.getTwitterImageSrc=t.getTwitterImageType=t.getTwitterImageUrl=t.getTwitterDescription=t.getTwitterTitle=void 0;var r=n(0);t.getTwitterTitle=function(e){return(0,r.get)(e,"twitterEditor.title","")},t.getTwitterDescription=function(e){return(0,r.get)(e,"twitterEditor.description","")},t.getTwitterImageUrl=function(e){return(0,r.get)(e,"twitterEditor.image.url","")},t.getTwitterImageType=function(e){return(0,r.get)(e,"settings.socialPreviews.twitterCardType","summary")},t.getTwitterImageSrc=function(e){return(0,r.get)(e,"twitterEditor.image.src","")},t.getTwitterWarnings=function(e){return(0,r.get)(e,"twitterEditor.warnings",[])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getWarningMessage=function(e){return(0,r.get)(e,"warning.message",[])};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r=n(0),i=jQuery;function a(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}a.prototype.init=function(){var e=this,t=window.YoastSEO.analysis.worker;this.requestKeywordUsage=(0,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,(0,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)})},a.prototype.setKeyword=function(e){(0,r.has)(this._keywordUsage,e)||this.requestKeywordUsage(e)},a.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")},a.prototype.updateKeywordUsage=function(e,t){var n=this,i=window.YoastSEO.analysis.worker;t&&(0,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";Object.defineProperty(t,"__esModule",{value:!0}),t.update=function(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("<span id='wpseo-traffic-light-desc' class='screen-reader-text'>"+e.screenReaderText+"</span>")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.update=function(e){jQuery(".adminbar-seo-score").attr("class","wpseo-score-icon adminbar-seo-score "+e.className).find(".adminbar-seo-score-text").text(e.screenReaderText)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e(document).ready(function(e){void 0!==wp.media&&e(".wpseo_image_upload_button").each(function(t,n){var r=function(t){var n=(t=e(t)).data("target");n&&""!==n||(n=e(t).attr("id").replace(/_button$/,""));return n}(n),i=function(t){return(t=e(t)).data("target-id")}(n),a=e("#"+r),o=e("#"+i),s=wp.media.frames.file_frame=wp.media({title:wpseoScriptData.media.choose_image,button:{text:wpseoScriptData.media.choose_image},multiple:!1,library:{type:"image"}});s.on("select",function(){var e=s.state().get("selection").first().toJSON();a.val(e.url),o.val(e.id)});var u=e(n);u.click(function(e){e.preventDefault(),s.open()}),u.siblings(".wpseo_image_remove_button").on("click",function(e){e.preventDefault(),a.val(""),o.val("")})})})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t){var n=!1,i="",a=[],o=["userid","name","user_description"],s=["date"],u=["title","parent_title","excerpt","excerpt_only","caption","focuskw","pt_single","pt_plural","modified","id"],l=["term404","searchphrase"],c=["term_title","term_description"],d=["category","category_description","tag","tag_description"];t.hasClass("posttype-template")?a=a.concat(l,c):t.hasClass("homepage-template")?a=a.concat(o,s,u,l,c,d):t.hasClass("taxonomy-template")?a=a.concat(o,s,u,l):t.hasClass("author-template")?a=a.concat(u,s,l,c,d):t.hasClass("date-template")?a=a.concat(o,u,l,c,d):t.hasClass("search-template")?a=a.concat(o,s,u,c,d,["term404"]):t.hasClass("error404-template")&&(a=a.concat(o,s,u,c,d,["searchphrase"])),e.each(a,function(a,o){if(i=t.attr("id")+"-"+o+"-warning",-1!==t.val().search("%%"+o+"%%")){t.addClass("wpseo-variable-warning-element");var s=wpseoAdminGlobalL10n.variable_warning.replace("%s","%%"+o+"%%");e("#"+i).length?e("#"+i).html(s):t.after(' <div id="'+i+'" class="wpseo-variable-warning">'+s+"</div>"),(0,r.default)(wpseoAdminGlobalL10n.variable_warning.replace("%s",o),"assertive"),n=!0}else e("#"+i).length&&e("#"+i).remove()}),!1===n&&t.removeClass("wpseo-variable-warning-element")}function n(){e("#copy-home-meta-description").on("click",function(){e("#og_frontpage_desc").val(e("#meta_description").val())})}function a(){var t=e("#wpseo-conf");if(t.length){var n=t.attr("action").split("#")[0];t.attr("action",n+window.location.hash)}}function o(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&&n<i},e(window).on("hashchange",a),window.wpseoDetectWrongVariables=t,window.setWPOption=function(t,n,r,i){e.post(ajaxurl,{action:"wpseo_set_option",option:t,newval:n,_wpnonce:i},function(t){t&&e("#"+r).hide()})},window.wpseoCopyHomeMeta=n,window.wpseoSetTabHash=a,e(document).ready(function(){var r=this;a(),e("#disable-author input[type='radio']").change(function(){e(this).is(":checked")&&e("#author-archives-titles-metas-content").toggle("off"===e(this).val())}).change();var s=e("#noindex-author-wpseo-off"),u=e("#noindex-author-wpseo-on");s.is(":checked")||o(!1),u.change(function(){e(r).is(":checked")||o(!1)}),s.change(function(){e(r).is(":checked")||o(!0)}),e("#disable-date input[type='radio']").change(function(){e(this).is(":checked")&&e("#date-archives-titles-metas-content").toggle("off"===e(this).val())}).change(),e("#disable-attachment input[type='radio']").change(function(){e(this).is(":checked")&&e("#media_settings").toggle("off"===e(this).val())}).change(),e("#disable-post_format").change(function(){e("#post_format-titles-metas").toggle(e(this).is(":not(:checked)"))}).change(),e("#zapier_integration_active input[type='radio']").change(function(){e(this).is(":checked")&&e("#zapier-connection").toggle("on"===e(this).val())}).change(),e("#wpseo-tabs").find("a").click(function(){e("#wpseo-tabs").find("a").removeClass("nav-tab-active"),e(".wpseotab").removeClass("active");var t=e(this).attr("id").replace("-tab",""),n=e("#"+t);n.addClass("active"),e(this).addClass("nav-tab-active"),n.hasClass("nosave")?e("#wpseo-submit-container").hide():e("#wpseo-submit-container").show(),e(window).trigger("yoast-seo-tab-change")}),e("#company_or_person").change(function(){var t=e(this).val();"company"===t?(e("#knowledge-graph-company").show(),e("#knowledge-graph-person").hide()):"person"===t?(e("#knowledge-graph-company").hide(),e("#knowledge-graph-person").show()):(e("#knowledge-graph-company").hide(),e("#knowledge-graph-person").hide())}).change(),e(".template").on("input",function(){t(e(this))}),e(".switch-yoast-seo input").on("keydown",function(e){"keydown"===e.type&&13===e.which&&e.preventDefault()}),e("body").on("click","button.toggleable-container-trigger",function(t){var n=e(t.currentTarget),r=n.parent().siblings(".toggleable-container");r.toggleClass("toggleable-container-hidden"),n.attr("aria-expanded",!r.hasClass("toggleable-container-hidden")).find("span").toggleClass("dashicons-arrow-up-alt2 dashicons-arrow-down-alt2")});var l=e("#opengraph"),c=e("#wpseo-opengraph-settings");l.length&&c.length&&(c.toggle(l[0].checked),l.change(function(e){c.toggle(e.target.checked)})),n(),function(){var t=window.location.hash.replace("#top#","");-1!==t.search("#top")&&(t=window.location.hash.replace("#top%23",""));""!==t&&"#"!==t.charAt(0)||(t=e(".wpseotab").attr("id"));e("#"+t).addClass("active"),e("#"+t+"-tab").addClass("nav-tab-active").click()}(),e("#twitter_card_type").select2({width:"400px",language:wpseoScriptData.userLanguageCode}),e("#breadcrumbs select").select2({width:"400px",language:wpseoScriptData.userLanguageCode}),function(){if(!e("#enable_xml_sitemap input[type=radio]").length)return;var t=e("#yoast-seo-sitemaps-disabled-warning");e("#enable_xml_sitemap input[type=radio]").change(function(){"off"===this.value?t.show():t.hide()})}(),function(){var t=e("#wpseo-submit-container-float"),n=e("#wpseo-submit-container-fixed");if(!t.length||!n.length)return;function r(){t._wpseoIsInViewport()?n.hide():n.show()}e(window).on("resize scroll",(0,i.debounce)(r,100)),e(window).on("yoast-seo-tab-change",r);var a=e(".wpseo-message");a.length&&window.setTimeout(function(){a.fadeOut()},5e3);r()}(),function(){if("undefined"!=typeof ClipboardJS){var t=new ClipboardJS("#copy-zapier-api-key");t.on("success",function(t){t.clearSelection(),e(t.trigger).focus()})}}()})};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(67)),i=n(0)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if(!1===(0,i.get)(window,"wpseoScriptData.analysis.estimatedReadingTimeEnabled",!1))return;(0,r.dispatch)("yoast-seo/editor").loadEstimatedReadingTime(),"1"===window.wpseoScriptData.isElementorEditor?function(){var e=(0,r.select)("yoast-seo/editor").getEditorDataContent();(0,r.subscribe)(function(){var t=(0,r.select)("yoast-seo/editor").getEditorDataContent();t!==e&&(e=t,o(t))})}():"1"===window.wpseoScriptData.isBlockEditor?function(){var e=(0,r.select)("core/editor").getEditedPostAttribute("content");(0,r.subscribe)(function(){var t=(0,r.select)("core/editor").getEditedPostAttribute("content");t!==e&&(e=t,o(t))})}():function(){var e=["input","change","cut","paste"],t="1"===(0,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(){o(r.getContent())})})})}()};var r=n(7),i=n(0),a=n(11);var o=(0,i.debounce)(function(e){window.YoastSEO.analysis.worker.runResearch("readingTime",new a.Paper(e,{})).then(function(e){(0,r.dispatch)("yoast-seo/editor").setEstimatedReadingTime(e.result)})},500)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(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("<span class='"+t[0].className+"'>"+t.text()+"</span>"),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"),function(e,t){if(!e)return;(function(e){e.attr({"aria-selected":"false",tabIndex:"-1"})})(t),e.removeAttribute("tabindex"),e.setAttribute("aria-selected","true")}(this,n)})}e(".wpseo-metabox-tabs").show()}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(),function(){var n=e(".yoast-aria-tabs"),r=n.find("[role='tab']"),i=n.attr("aria-orientation")||"horizontal";r.attr({"aria-selected":!1,tabIndex:"-1"}),r.filter(".yoast-active-tab").removeAttr("tabindex").attr("aria-selected","true"),r.on("keydown",function(n){-1!==[32,35,36,37,38,39,40].indexOf(n.which)&&("horizontal"===i&&-1!==[38,40].indexOf(n.which)||"vertical"===i&&-1!==[37,39].indexOf(n.which)||function(n,r){var i=n.which,a=r.index(e(n.target));switch(i){case 32:n.preventDefault(),t(r[a]);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();var o=a-1<0?r.length-1:a-1;t(r[o]);break;case 39:case 40:n.preventDefault();var s=a+1===r.length?0:a+1;t(r[s])}}(n,r))})}()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(184)),i=n(0),a=n(13),o=s(n(104));function s(e){return e&&e.__esModule?e:{default:e}}var u=["content","title","snippet_title","snippet_meta","primary_category","data_page_title","data_meta_desc","excerpt"],l={},c={},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.default("%%currentdate%%","currentdate")),this.addReplacement(new r.default("%%currentday%%","currentday")),this.addReplacement(new r.default("%%currentmonth%%","currentmonth")),this.addReplacement(new r.default("%%currenttime%%","currenttime")),this.addReplacement(new r.default("%%currentyear%%","currentyear")),this.addReplacement(new r.default("%%date%%","date")),this.addReplacement(new r.default("%%userid%%","userid")),this.addReplacement(new r.default("%%id%%","id")),this.addReplacement(new r.default("%%page%%","page")),this.addReplacement(new r.default("%%searchphrase%%","searchphrase")),this.addReplacement(new r.default("%%sitedesc%%","sitedesc")),this.addReplacement(new r.default("%%sitename%%","sitename")),this.addReplacement(new r.default("%%category%%","category")),this.addReplacement(new r.default("%%focuskw%%","keyword",{source:"app",aliases:["%%keyword%%"]})),this.addReplacement(new r.default("%%term_description%%","text",{source:"app",scope:["term","category","tag"],aliases:["%%tag_description%%","%%category_description%%"]})),this.addReplacement(new r.default("%%term_title%%","term_title",{scope:["term"]})),this.addReplacement(new r.default("%%term_hierarchy%%","term_hierarchy",{scope:["term"]})),this.addReplacement(new r.default("%%title%%","title",{source:"app",scope:["post","term","page"]})),this.addReplacement(new r.default("%%parent_title%%","title",{source:"app",scope:["page","category"]})),this.addReplacement(new r.default("%%excerpt%%","excerpt",{source:"app",scope:["post"],aliases:["%%excerpt_only%%"]})),this.addReplacement(new r.default("%%primary_category%%","primaryCategory",{source:"app",scope:["post"]})),this.addReplacement(new r.default("%%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((0,o.default)()){var t={0:""},n=null,r=window.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()):(0,i.isUndefined)(t[a])?void wp.api.loadPromise.done(function(){new wp.api.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){l[e.placeholder]=e},d.prototype.removeReplacement=function(e){delete l[e.getPlaceholder()]},d.prototype.registerModifications=function(){var e=this.replaceVariables.bind(this);(0,i.forEach)(u,function(t){this._app.registerModification(t,e,"replaceVariablePlugin",10)}.bind(this))},d.prototype.replaceVariables=function(e){return(0,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(0,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(0,i.forEach)(l,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((0,a.refreshSnippetEditor)())},d.prototype.getCategoryName=function(e){var t=e.parent("label").clone();return t.children().remove(),t.text().trim()},d.prototype.parseTaxonomies=function(e,t){(0,i.isUndefined)(c[t])&&(c[t]={});var n=[];(0,i.forEach)(e,function(e){var r=(e=jQuery(e)).val(),i=this.getCategoryName(e),a=e.prop("checked");c[t][r]={label:i,checked:a},a&&-1===n.indexOf(i)&&n.push(i)}.bind(this)),"category"!==t&&(t="ct_"+t),this._store.dispatch((0,a.updateReplacementVariable)(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(0,i.forEach)(c,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=c[e];return!0===(0,i.isUndefined)(n)?"":((0,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((0,a.updateReplacementVariable)(o,i,s)),this.addReplacement(new r.default("%%"+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=(0,i.filter)(l,function(e,t){return t.indexOf("%%cf_")>-1});(0,i.forEach)(e,function(e){this._store.dispatch((0,a.removeReplacementVariable)((0,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))),(0,o.default)()&&!(0,i.isUndefined)(this._currentParentPageTitle)&&(e=e.replace(/%%parent_title%%/,this._currentParentPageTitle)),e},d.prototype.hasParentTitle=function(e){return!(0,i.isUndefined)(e)&&!(0,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.default,t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){e("morphology",new r.Paper("",{keyword:n})).then(function(e){var n=e.result.keyphraseForms;t.dispatch((0,i.updateWordsToHighlight)((0,a.uniq)((0,a.flatten)(n))))}).catch(function(){t.dispatch((0,i.updateWordsToHighlight)([]))})};var r=n(11),i=n(13),a=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,s,u){var l=(0,r.cloneDeep)(t.getState());(0,r.merge)(l,n.getData());var c=e.getData(),d=null;u&&(d=(d=u.getBlocks()).map(function(e){return function e(t){var n={};n.attributes={};["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)});return n}(e)}));var p={text:c.content,keyword:l.focusKeyword,synonyms:l.synonyms,description:l.analysisData.snippet.description||l.snippetEditor.data.description,title:l.analysisData.snippet.title||l.snippetEditor.data.title,url:l.snippetEditor.data.slug,permalink:l.settings.snippetEditor.baseUrl+l.snippetEditor.data.slug,wpBlocks:d};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));return p.titleWidth=(0,i.default)(p.title),p.locale=(0,a.default)(),o.Paper.parse(p)};var r=n(0),i=s(n(66)),a=s(n(90)),o=n(11);function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.getDataWithoutTemplates=a;var i=n(0);function a(e,t){var n=r({},e);return(0,i.forEach)(t,function(t,r){(0,i.has)(e,r)&&(e[r].trim()===t&&(n[r]=""))}),n}t.default={getDataFromCollector:function(e){return{title:e.getSnippetTitle(),slug:e.getSnippetCite(),description:e.getSnippetMeta()}},getDataFromStore:function(e){var t=e.getState().snippetEditor.data;return{title:t.title,slug:t.slug,description:t.description}},getTemplatesFromL10n:function(e){var t={};if((0,i.isUndefined)(e))return t;t.title=e.title_template;var n=e.metadesc_template;return(0,i.isEmpty)(n)||(t.description=n),t},getDataWithTemplates:function(e,t){var n=r({},e);return(0,i.forEach)(t,function(t,r){(0,i.has)(e,r)&&""===e[r]&&(n[r]=t)}),n},getDataWithoutTemplates:a}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0);var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._callbacks=[],this.register=this.register.bind(this)}return r(e,[{key:"register",value:function(e){(0,i.isFunction)(e)&&this._callbacks.push(e)}},{key:"getData",value:function(){var e={};return this._callbacks.forEach(function(t){e=(0,i.merge)(e,t())}),e}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if(!(0,i.select)("yoast-seo/editor").isMarkingAvailable())return r.noop;return l};var r=n(0),i=n(7),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(62)),o=n(127),s=n(147);var u=null;function l(e,t){a.isTinyMCEAvailable(a.tmceId)&&(null===u&&(u=(0,o.tinyMCEDecorator)(tinyMCE.get(a.tmceId))),u(e,t)),(0,s.isAnnotationAvailable)()&&(0,s.applyAsAnnotations)(e,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var o=(0,i.default)();if(!o.previouslyUsedKeywordActive)return;var s=(0,r.get)(window,["wpseoScriptData","analysis","worker","keywords_assessment_url"],"used-keywords-assessment.js"),u=new a.default(t,o,e,s);u.init();var l={};n.subscribe(function(){var e=n.getState()||{};e.focusKeyword!==l.focusKeyword&&(l=e,u.setKeyword(e.focusKeyword))})};var r=n(0),i=o(n(9)),a=o(n(228));function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,i.registerStore)("yoast-seo/editor",{reducer:(0,i.combineReducers)(a.default),selectors:o,actions:(0,r.pickBy)(s,function(e){return"function"==typeof e})});return l(e),e};var r=n(0),i=n(7),a=function(e){return e&&e.__esModule?e:{default:e}}(n(185)),o=u(n(155)),s=u(n(16));function u(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}var l=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))}},function(e,t){e.exports=window.wp.domReady},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateScore=function(e,t){var n=a("#"+e+"-score"),s=i+" "+t;n.children(".image").attr("class",s);var u=o(e,t);n.children("."+r).html(u)},t.initialize=function(){wpseoScriptData.metabox.keywordAnalysisActive&&s("keyword","na");wpseoScriptData.metabox.contentAnalysisActive&&s("content","na");a("#content-score").on("click","[href='#yoast-readability-analysis-collapsible-metabox']",function(e){e.preventDefault(),document.querySelector("#wpseo-meta-tab-readability").click(),u("#wpseo-meta-section-readability")}),a("#keyword-score").on("click","[href='#yoast-seo-analysis-collapsible-metabox']",function(e){e.preventDefault(),u("#yoast-seo-analysis-collapsible-metabox")})};var r="score-text",i="image yoast-logo svg",a=jQuery;function o(e,t){return wpseoScriptData.metabox.publish_box.labels[e][t]||""}function s(e,t){var n=a("<div />",{class:"misc-pub-section yoast yoast-seo-score "+e+"-score",id:e+"-score"}),s=a("<span />",{class:r,html:o(e,t)}),u=a("<span>").attr("class",i+" na");n.append(u).append(s),a("#yoast-seo-publishbox-section").prepend(n)}function u(e){var t=a("#wpadminbar"),n=a(e);if(t&&n){var r="fixed"===t.css("position")?t.height():0;a([document.documentElement,document.body]).animate({scrollTop:n.offset().top-r},1e3),n.focus(),0===n.parent().siblings().length&&n.click()}}String.prototype.ucfirst=function(){return this.charAt(0).toUpperCase()+this.substr(1)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=p(n(288)),i=p(n(544)),a=p(n(549)),o=p(n(556)),s=p(n(231)),u=p(n(232)),l=p(n(296)),c=p(n(287)),d=p(n(297));function p(e){return e&&e.__esModule?e:{default:e}}window.wpseoPostScraperL10n=window.wpseoScriptData.metabox,window.wpseoShortcodePluginL10n=window.wpseoScriptData.analysis.plugins.shortcodes,window.YoastSEO=window.YoastSEO||{},(0,d.default)(function(){(0,r.default)(jQuery),"undefined"!=typeof wpseoPrimaryCategoryL10n&&(0,i.default)(jQuery);var e=(0,l.default)();window.yoast.initEditorIntegration(e);var t=new window.yoast.EditorData(function(){},e);t.initialize(window.wpseoScriptData.analysis.plugins.replaceVars.replace_vars),(0,a.default)(jQuery,e,t),window.wpseoScriptData&&void 0!==window.wpseoScriptData.featuredImage&&(0,o.default)(jQuery),(0,s.default)(jQuery),(0,u.default)(jQuery),(0,c.default)()})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=function(e){var t,n,c=wpseoPrimaryCategoryL10n.taxonomies;function p(t){return e("#yoast-wpseo-primary-"+t).val()}function f(t,n){var r=e("#yoast-wpseo-primary-"+t);r.val(n).trigger("change");var i=(0,a.dispatch)("yoast-seo/editor");if(i){var o=parseInt(n,10);i.setPrimaryTaxonomyId(t,o),"category"===t&&i.updateReplacementVariable("primary_category",function(t){var n=e("#category-all").find("#category-"+t+" > label");if(0===n.length)return"";var r=n.clone();return r.children().remove(),e.trim(r.text())}(o))}}function g(r){var i,a,o;i=e("#"+r+'checklist input[type="checkbox"]:checked');var s=e("#"+r+"checklist li");s.removeClass("wpseo-term-unchecked wpseo-primary-term wpseo-non-primary-term"),e(".wpseo-primary-category-label").remove(),s.addClass("wpseo-term-unchecked"),i.length<=1||i.each(function(i,s){s=e(s),(a=s.closest("li")).removeClass("wpseo-term-unchecked"),function(t){return 1===e(t).closest("li").children(".wpseo-make-primary-term").length}(s)||function(n,r){var i,a;i=e(r).closest("label"),a=t({taxonomy:c[n],term:i.text()}),i.after(a)}(r,s),s.val()===p(r)?(a.addClass("wpseo-primary-term"),(o=s.closest("label")).find(".wpseo-primary-category-label").remove(),o.append(n({taxonomy:c[r]}))):a.addClass("wpseo-non-primary-term")})}function h(t){var n=e("#"+t+'checklist input[type="checkbox"]:checked:first');f(t,n.val()),g(t)}function m(e){""===p(e)&&h(e)}e.fn.initYstSEOPrimaryCategory=function(){return this.each(function(t,n){var r=e("#"+n.name+"div");g(n.name),r.on("click",'input[type="checkbox"]',function(t){return function(){!1===e(this).prop("checked")&&e(this).val()===p(t)&&h(t),m(t),g(t)}}(n.name)),r.on("wpListAddEnd","#"+n.name+"checklist",function(e){return function(){m(e),g(e)}}(n.name)),r.on("click",".wpseo-make-primary-term",function(t){return function(n){var r,i;r=e(n.currentTarget),i=r.siblings("label").find("input"),f(t,i.val()),g(t),i.focus()}}(n.name))})},t=wp.template("primary-term-ui"),n=wp.template("primary-term-screen-reader"),e(_.values(c)).initYstSEOPrimaryCategory(),function(){if(!(0,l.default)())return;(0,s.get)(window,"wp.hooks.addFilter",s.noop)("editor.PostTaxonomyType",d,function(e){return function(t){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),i(n,[{key:"render",value:function(){return wp.element.createElement(u.default,r({OriginalComponent:e},this.props))}}]),n}(o.Component)})}()};var a=n(7),o=n(4),s=n(0),u=c(n(545)),l=c(n(104));function c(e){return e&&e.__esModule?e:{default:e}}var d="yoast-seo"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=d(n(1)),a=n(4),o=n(0),s=n(3),u=n(12),l=d(n(8)),c=d(n(546));function d(e){return e&&e.__esModule?e:{default:e}}var p=null,f=null,g=l.default.div.withConfig({displayName:"PrimaryTaxonomyFilter__ErrorContainer",componentId:"sc-15n7j5b-0"})(["margin:16px 0 8px;"]),h=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return p&&f||(p=(0,o.get)(window.wpseoPrimaryCategoryL10n,"taxonomies",{}),f=(0,o.values)(p).map(function(e){return e.name})),e.state={exceptionCaught:!1,error:null},e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),r(t,[{key:"componentDidCatch",value:function(e){this.setState({exceptionCaught:!0,error:e})}},{key:"taxonomyHasPrimaryTermSupport",value:function(){return f.includes(this.props.slug)}},{key:"render",value:function(){var e=this.props,t=e.slug,n=e.OriginalComponent;if(this.state.exceptionCaught){var r=(0,o.get)(this.state,"error.stack");return wp.element.createElement(a.Fragment,null,wp.element.createElement(n,this.props),wp.element.createElement(g,null,(0,s.sprintf)((0,s.__)("An error occurred loading the %s primary taxonomy picker.","wordpress-seo"),"Yoast SEO")),r&&wp.element.createElement(u.ClipboardButton,{isLarge:!0,text:r},(0,s.__)("Copy error","wordpress-seo")))}return this.taxonomyHasPrimaryTermSupport()?wp.element.createElement(a.Fragment,null,wp.element.createElement(n,this.props),wp.element.createElement(c.default,{taxonomy:p[t]})):wp.element.createElement(n,this.props)}}]),t}();h.propTypes={OriginalComponent:i.default.func.isRequired,slug:i.default.string.isRequired},t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),i=n(10),a=function(e){return e&&e.__esModule?e:{default:e}}(n(547));t.default=(0,i.compose)([(0,r.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)}}),(0,r.withDispatch)(function(e){var t=e("yoast-seo/editor");return{setPrimaryTaxonomyId:t.setPrimaryTaxonomyId,updateReplacementVariable:t.updateReplacementVariable}})])(a.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(4),a=p(n(1)),o=n(3),s=p(n(55)),u=n(56),l=p(n(8)),c=n(0),d=p(n(548));function p(e){return e&&e.__esModule?e:{default:e}}var f=l.default.div.withConfig({displayName:"PrimaryTaxonomyPicker__PrimaryTaxonomyPickerField",componentId:"sc-90k7iy-0"})(["padding-top:16px;"]),g=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));n.onChange=n.onChange.bind(n),n.updateReplacementVariable=n.updateReplacementVariable.bind(n);var r=e.taxonomy,i=r.fieldId,a=r.name;return n.input=document.getElementById(i),e.setPrimaryTaxonomyId(a,parseInt(n.input.value,10)),n.state={selectedTerms:[],terms:[]},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),r(t,[{key:"componentDidMount",value:function(){this.fetchTerms()}},{key:"componentDidUpdate",value:function(e,t){if(e.selectedTermIds.length<this.props.selectedTermIds.length){var n=(0,c.difference)(this.props.selectedTermIds,e.selectedTermIds)[0];if(!this.termIsAvailable(n))return void this.fetchTerms()}e.selectedTermIds!==this.props.selectedTermIds&&this.updateSelectedTerms(this.state.terms,this.props.selectedTermIds),t.selectedTerms!==this.state.selectedTerms&&this.handleSelectedTermsChange()}},{key:"handleSelectedTermsChange",value:function(){var e=this.state.selectedTerms,t=this.props.primaryTaxonomyId;e.find(function(e){return e.id===t})||this.onChange(e.length?e[0].id:-1)}},{key:"termIsAvailable",value:function(e){return!!this.state.terms.find(function(t){return t.id===e})}},{key:"fetchTerms",value:function(){var e=this,t=this.props.taxonomy;t&&(this.fetchRequest=(0,s.default)({path:(0,u.addQueryArgs)("/wp/v2/"+t.restBase,{per_page:-1,orderby:"count",order:"desc",_fields:"id,name"})}),this.fetchRequest.then(function(t){var n=e.state;e.setState({terms:t,selectedTerms:e.getSelectedTerms(t,e.props.selectedTermIds)},function(){0===n.terms.length&&e.state.terms.length>0&&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_"+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-"+n.name+"-picker";return wp.element.createElement(f,{className:"components-base-control__field"},wp.element.createElement("label",{htmlFor:r,className:"components-base-control__label"},(0,o.sprintf)((0,o.__)("Select the primary %s","wordpress-seo"),n.singularLabel.toLowerCase())),wp.element.createElement(d.default,{value:t,onChange:this.onChange,id:r,terms:this.state.selectedTerms}))}}]),t}();g.propTypes={selectedTermIds:a.default.arrayOf(a.default.number),primaryTaxonomyId:a.default.number,setPrimaryTaxonomyId:a.default.func,updateReplacementVariable:a.default.func,receiveEntityRecords:a.default.func,taxonomy:a.default.shape({name:a.default.string,fieldId:a.default.string,restBase:a.default.string,singularLabel:a.default.string})},t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(1)),i=o(n(8)),a=n(0);function o(e){return e&&e.__esModule?e:{default:e}}var s=i.default.div.withConfig({displayName:"TaxonomyPicker__SelectContainer",componentId:"indmtn-0"})(["padding-top:6px;"]),u=function(e){var t=e.value,n=e.id,r=e.terms,i=e.onChange;return wp.element.createElement(s,null,wp.element.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 wp.element.createElement("option",{key:e.id,value:e.id},(0,a.unescape)(e.name))})))};u.propTypes={terms:r.default.arrayOf(r.default.shape({id:r.default.string.isRequired,name:r.default.string.isRequired})),onChange:r.default.func.isRequired,id:r.default.string,value:r.default.string},t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if("undefined"==typeof wpseoScriptData)return;var N=void 0,B=void 0,V=void 0,K=void 0,W=new P.default;function Y(e){(void 0===window.tinyMCE||(0,U.default)()||"1"!==wpseoScriptData.metabox.show_markers)&&e.dispatch((0,D.setMarkerStatus)("disabled"))}function G(t){Y(t);var n={elementTarget:[d.tmceId,"yoast_wpseo_focuskw_text_input","yoast_wpseo_metadesc","excerpt","editable-post-name","editable-post-name-full"],targets:function(){var e={};(0,O.default)()&&(e.output="does-not-really-exist-but-it-needs-something");(0,k.default)()&&(e.contentOutput="also-does-not-really-exist-but-it-needs-something");return e}(),callbacks:{getData:K.getData.bind(K)},locale:wpseoScriptData.metabox.contentLocale,marker:(0,M.default)(t),contentAnalysisActive:(0,k.default)(),keywordAnalysisActive:(0,O.default)(),hasSnippetPreview:!1,debouncedRefresh:!1};(0,O.default)()&&(t.dispatch((0,C.setFocusKeyword)(e("#yoast_wpseo_focuskw").val())),n.callbacks.saveScores=K.saveScores.bind(K),n.callbacks.updatedKeywordsResults=function(e){var n=t.getState().focusKeyword;t.dispatch((0,a.setSeoResultsForKeyword)(n,e)),t.dispatch((0,F.refreshSnippetEditor)())}),(0,k.default)()&&(n.callbacks.saveContentScore=K.saveContentScore.bind(K),n.callbacks.updatedContentResults=function(e){t.dispatch((0,a.setReadabilityResults)(e)),t.dispatch((0,F.refreshSnippetEditor)())}),B=e("#title");var r=(0,S.default)();return(0,i.isUndefined)(r)||(0,i.isUndefined)(r.domain)||(n.translations=r),n}function q(){(0,O.default)()&&function(t){var n=e("#yoast_wpseo_linkdex").val(),r=(0,T.default)(n);(0,m.update)(r),(0,y.update)(r),t.updateScore("keyword",r.className)}(h),(0,k.default)()&&function(t){var n=e("#yoast_wpseo_content_score").val(),r=(0,T.default)(n);(0,y.update)(r),t.updateScore("content",r.className)}(h)}function H(e){(0,i.isUndefined)(e.seoAssessorPresenter)||(e.seoAssessorPresenter.render=function(){}),(0,i.isUndefined)(e.contentAssessorPresenter)||(e.contentAssessorPresenter.render=function(){},e.contentAssessorPresenter.renderIndividualRatings=function(){})}jQuery(document).on("ajaxComplete",function(e,n,r){if("/admin-ajax.php"===r.url.substr(0-"/admin-ajax.php".length)&&"string"==typeof r.data&&-1!==r.data.indexOf("action=sample-permalink")){K.leavePostNameUntouched=!0;var i={slug:function(e){if(""===e.responseText)return B.val();return jQuery("<div>"+e.responseText+"</div>").find("#editable-post-name-full").text()}(n)};t.dispatch((0,j.updateData)(i))}});var z=void 0;function $(e,t){"visual"!==e?t.dispatch((0,D.setMarkerStatus)("disabled")):t.dispatch((0,D.setMarkerStatus)("enabled"))}function Q(){return(0,s.select)("core/edit-post").getEditorMode()}!function(){if(N=e("#wpseo_meta"),d.setStore(t),d.wpTextViewOnInitCheck(),function(){var e=new p.default;e.isClassicEditorHidden()&&d.disableMarkerButtons(),e.vcActive?d.disableMarkerButtons():e.listen({classicEditorHidden:function(){d.disableMarkerButtons()},classicEditorShown:function(){d.isTextViewActive()||d.enableMarkerButtons()}})}(),0===N.length)return;K=function(e){var n=new E.default({data:e,store:t});return n.leavePostNameUntouched=!1,n}(n),h.initialize();var a=G(t);if(V=new r.App(a),window.YoastSEO=window.YoastSEO||{},window.YoastSEO.app=V,window.YoastSEO.store=t,window.YoastSEO.analysis={},window.YoastSEO.analysis.worker=(0,_.createAnalysisWorker)(),window.YoastSEO.analysis.collectData=function(){return(0,b.default)(n,t,W,V.pluggable,(0,s.select)("core/block-editor"))},window.YoastSEO.analysis.applyMarks=function(e,t){return(0,M.default)()(e,t)},window.YoastSEO.app.refresh=(0,i.debounce)(function(){return(0,w.default)(window.YoastSEO.analysis.worker,window.YoastSEO.analysis.collectData,window.YoastSEO.analysis.applyMarks,t,K)},R.refreshDelay),window.YoastSEO.app.registerCustomDataCallback=W.register,window.YoastSEO.app.pluggable=new f.default(window.YoastSEO.app.refresh),window.YoastSEO.app.registerPlugin=window.YoastSEO.app.pluggable._registerPlugin,window.YoastSEO.app.pluginReady=window.YoastSEO.app.pluggable._ready,window.YoastSEO.app.pluginReloaded=window.YoastSEO.app.pluggable._reloaded,window.YoastSEO.app.registerModification=window.YoastSEO.app.pluggable._registerModification,window.YoastSEO.app.registerAssessment=function(e,t,n){if(!(0,i.isUndefined)(V.seoAssessor))return window.YoastSEO.app.pluggable._registerAssessment(V.defaultSeoAssessor,e,t,n)&&window.YoastSEO.app.pluggable._registerAssessment(V.cornerStoneSeoAssessor,e,t,n)},window.YoastSEO.app.changeAssessorOptions=function(e){window.YoastSEO.analysis.worker.initialize(e).catch(I.default),window.YoastSEO.app.refresh()},(0,x.default)(V.refresh,"get_focus_keyword_usage",t),t.subscribe(function(e,t){var n=z||"";z=e.getState().analysisData.snippet,(0,o.isShallowEqualObjects)(n,z)||t()}.bind(null,t,V.refresh)),window.YoastSEO.analyzerArgs=a,window.YoastSEO.wp={},window.YoastSEO.wp.replaceVarsPlugin=new u.default(V,t),window.YoastSEO.wp.shortcodePlugin=new l.default({registerPlugin:V.registerPlugin,registerModification:V.registerModification,pluginReady:V.pluginReady,pluginReloaded:V.pluginReloaded}),wpseoScriptData.metabox.markdownEnabled){var m=new c.default(V.registerPlugin,V.registerModification);m.register()}window.YoastSEO.wp._tinyMCEHelper=d,q(),window.YoastSEO.analysis.worker.initialize((0,_.getAnalysisConfiguration)()).then(function(){jQuery(window).trigger("YoastSEO:ready")}).catch(I.default),K.bindElementEvents((0,i.debounce)(function(){return(0,w.default)(window.YoastSEO.analysis.worker,window.YoastSEO.analysis.collectData,window.YoastSEO.analysis.applyMarks,t,K)},R.refreshDelay)),H(V);var y=V.initAssessorPresenters.bind(V);V.initAssessorPresenters=function(){y(),H(V)},n.setRefresh&&n.setRefresh(V.refresh);var T=A.default.getDataFromCollector(K),S=A.default.getTemplatesFromL10n(wpseoScriptData.metabox);T=A.default.getDataWithTemplates(T,S),t.dispatch((0,j.updateData)(T)),t.dispatch((0,L.setCornerstoneContent)("1"===document.getElementById("yoast_wpseo_is_cornerstone").value));var O=t.getState().focusKeyword;(0,g.default)(window.YoastSEO.analysis.worker.runResearch,t,O);var k=(0,i.debounce)(function(){V.refresh()},50),P=null;if(t.subscribe(function(){var n=t.getState().focusKeyword;O!==n&&(O=n,(0,g.default)(window.YoastSEO.analysis.worker.runResearch,t,O),e("#yoast_wpseo_focuskw").val(O),k());var r=A.default.getDataFromStore(t),i=A.default.getDataWithoutTemplates(r,S);T.title!==r.title&&K.setDataFromSnippet(i.title,"snippet_title"),T.slug!==r.slug&&K.setDataFromSnippet(i.slug,"snippet_cite"),T.description!==r.description&&K.setDataFromSnippet(i.description,"snippet_meta");var a=t.getState();P!==a.isCornerstone&&(P=a.isCornerstone,document.getElementById("yoast_wpseo_is_cornerstone").value=a.isCornerstone,V.changeAssessorOptions({useCornerstone:a.isCornerstone})),T.title=r.title,T.slug=r.slug,T.description=r.description}),(0,U.default)()){var C=Q();$(C,t),(0,s.subscribe)(function(){var e=Q();e!==C&&$(C=e,t)})}(0,v.initializationDone)(),window.YoastSEO.app.refresh()}()};var r=n(11),i=n(0),a=n(15),o=n(156),s=n(7),u=V(n(289)),l=V(n(550)),c=V(n(551)),d=B(n(62)),p=V(n(148)),f=V(n(181)),g=V(n(290)),h=B(n(334)),m=n(229),y=n(230),_=n(182),v=n(133),w=V(v),b=V(n(291)),E=V(n(553)),T=V(n(21)),S=V(n(105)),O=V(n(58)),k=V(n(65)),A=V(n(292)),P=V(n(293)),M=V(n(294)),R=n(132),I=V(n(64)),x=V(n(295)),C=n(36),D=n(29),j=n(13),N=n(41),L=n(35),F=n(13),U=V(n(104));function B(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function V(e){return e&&e.__esModule?e:{default:e}}(0,N.setYoastComponentsL10n)(),(0,N.setWordPressSeoL10n)(),window.YoastReplaceVarPlugin=u.default,window.YoastShortcodePlugin=l.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=new RegExp("\\[[^<>&/\\[\\]\0- =]+?( [^\\]]+?)?\\]","g"),a=new RegExp("\\[/[^<>&/\\[\\]\0- =]+?\\]","g"),o=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 a="("+wpseoScriptData.analysis.plugins.shortcodes.wpseo_shortcode_tags.join("|")+")";this.keywordRegex=new RegExp(a,"g"),this.closingTagRegex=new RegExp("\\[\\/"+a+"\\]","g"),this.nonCaptureRegex=new RegExp("\\["+a+"[^\\]]*?\\]","g"),this.parsedShortcodes=[],this.loadShortcodes(this.declareReady.bind(this))};o.prototype.declareReady=function(){this._pluginReady("YoastShortcodePlugin"),this.registerModifications()},o.prototype.declareReloaded=function(){this._pluginReloaded("YoastShortcodePlugin")},o.prototype.registerModifications=function(){this._registerModification("content",this.replaceShortcodes.bind(this),"YoastShortcodePlugin")},o.prototype.removeUnknownShortCodes=function(e){return e=(e=e.replace(i,"")).replace(a,"")},o.prototype.replaceShortcodes=function(e){var t=this.parsedShortcodes;if("string"==typeof e&&t.length>0)for(var n=0;n<t.length;n++)e=e.replace(t[n].shortcode,t[n].output);return e=this.removeUnknownShortCodes(e)},o.prototype.loadShortcodes=function(e){var t=this.getUnparsedShortcodes(this.getShortcodes(this.getContentTinyMCE()));if(!(t.length>0))return e();this.parseShortcodes(t,e)},o.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)})},o.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},o.prototype.getUnparsedShortcodes=function(e){if("object"!==(void 0===e?"undefined":r(e)))return console.error("Failed to get unparsed shortcodes. Expected parameter to be an array, instead received "+(void 0===e?"undefined":r(e))),!1;for(var t=[],n=0;n<e.length;n++){var i=e[n];-1===t.indexOf(i)&&this.isUnparsedShortcode(i)&&t.push(i)}return t},o.prototype.isUnparsedShortcode=function(e){for(var t=!1,n=0;n<this.parsedShortcodes.length;n++)this.parsedShortcodes[n].shortcode===e&&(t=!0);return!1===t},o.prototype.getShortcodes=function(e){if("string"!=typeof e)return console.error("Failed to get shortcodes. Expected parameter to be a string, instead received"+(void 0===e?"undefined":r(e))),!1;for(var t=this.matchCapturingShortcodes(e),n=0;n<t.length;n++)e=e.replace(t[n],"");var i=this.matchNonCapturingShortcodes(e);return t.concat(i)},o.prototype.matchCapturingShortcodes=function(e){for(var t=[],n=(e.match(this.closingTagRegex)||[]).join(" ").match(this.keywordRegex)||[],r=0;r<n.length;r++){var i=n[r],a="\\["+i+"[^\\]]*?\\].*?\\[\\/"+i+"\\]",o=e.match(new RegExp(a,"g"))||[];t=t.concat(o)}return t},o.prototype.matchNonCapturingShortcodes=function(e){return e.match(this.nonCaptureRegex)||[]},o.prototype.parseShortcodes=function(e,t){return"function"!=typeof t?(console.error("Failed to parse shortcodes. Expected parameter to be a function, instead received "+(void 0===t?"undefined":r(t))),!1):"object"===(void 0===e?"undefined":r(e))&&e.length>0?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()},o.prototype.saveParsedShortcodes=function(e,t){e=JSON.parse(e);for(var n=0;n<e.length;n++)this.parsedShortcodes.push(e[n]);t()},t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(e){return e&&e.__esModule?e:{default:e}}(n(552));var a=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._registerPlugin=t,this._registerModification=n}return r(e,[{key:"register",value:function(){this._registerPlugin("YoastMarkdownPlugin",{status:"ready"}),this._registerModification("content",this.parseMarkdown.bind(this),"YoastMarkdownPlugin",1)}},{key:"parseMarkdown",value:function(e){return(0,i.default)(e)}}]),e}();t.default=a},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]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|<![A-Z][\\s\\S]*?>\\n*|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\n*|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\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||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=/<!--(?!-?>)[\s\S]*?-->/,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","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",n._tag).getRegex(),n.blockquote=p(n.blockquote).replace("paragraph",n.paragraph).getRegex(),n.normal=y({},n),n.gfm=y({},n.normal,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),n.pedantic=y({},n.normal,{html:p("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\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:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\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,a,o,s,u,l,d,p,f,g,h,m,y,w,b;for(e=e.replace(/^ +$/gm,"");e;)if((a=this.rules.newline.exec(e))&&(e=e.substring(a[0].length),a[0].length>1&&this.tokens.push({type:"space"})),a=this.rules.code.exec(e)){var E=this.tokens[this.tokens.length-1];e=e.substring(a[0].length),E&&"paragraph"===E.type?E.text+="\n"+a[0].trimRight():(a=a[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",codeBlockStyle:"indented",text:this.options.pedantic?a:v(a,"\n")}))}else if(a=this.rules.fences.exec(e))e=e.substring(a[0].length),this.tokens.push({type:"code",lang:a[2]?a[2].trim():a[2],text:a[3]||""});else if(a=this.rules.heading.exec(e))e=e.substring(a[0].length),this.tokens.push({type:"heading",depth:a[1].length,text:a[2]});else if((a=this.rules.nptable.exec(e))&&(u={type:"table",header:_(a[1].replace(/^ *| *\| *$/g,"")),align:a[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:a[3]?a[3].replace(/\n$/,"").split("\n"):[]}).header.length===u.align.length){for(e=e.substring(a[0].length),g=0;g<u.align.length;g++)/^ *-+: *$/.test(u.align[g])?u.align[g]="right":/^ *:-+: *$/.test(u.align[g])?u.align[g]="center":/^ *:-+ *$/.test(u.align[g])?u.align[g]="left":u.align[g]=null;for(g=0;g<u.cells.length;g++)u.cells[g]=_(u.cells[g],u.header.length);this.tokens.push(u)}else if(a=this.rules.hr.exec(e))e=e.substring(a[0].length),this.tokens.push({type:"hr"});else if(a=this.rules.blockquote.exec(e))e=e.substring(a[0].length),this.tokens.push({type:"blockquote_start"}),a=a[0].replace(/^ *> ?/gm,""),this.token(a,t),this.tokens.push({type:"blockquote_end"});else if(a=this.rules.list.exec(e)){for(e=e.substring(a[0].length),l={type:"list_start",ordered:y=(o=a[2]).length>1,start:y?+o:"",loose:!1},this.tokens.push(l),d=[],r=!1,m=(a=a[0].match(this.rules.item)).length,g=0;g<m;g++)f=(u=a[g]).length,~(u=u.replace(/^ *([*+-]|\d+\.) */,"")).indexOf("\n ")&&(f-=u.length,u=this.options.pedantic?u.replace(/^ {1,4}/gm,""):u.replace(new RegExp("^ {1,"+f+"}","gm"),"")),g!==m-1&&(s=n.bullet.exec(a[g+1])[0],(o.length>1?1===s.length:s.length>1||this.options.smartLists&&s!==o)&&(e=a.slice(g+1).join("\n")+e,g=m-1)),i=r||/\n\n(?!\s*$)/.test(u),g!==m-1&&(r="\n"===u.charAt(u.length-1),i||(i=r)),i&&(l.loose=!0),b=void 0,(w=/^\[[ xX]\] /.test(u))&&(b=" "!==u[1],u=u.replace(/^\[[ xX]\] +/,"")),p={type:"list_item_start",task:w,checked:b,loose:i},d.push(p),this.tokens.push(p),this.token(u,!1),this.tokens.push({type:"list_item_end"});if(l.loose)for(m=d.length,g=0;g<m;g++)d[g].loose=!0;this.tokens.push({type:"list_end"})}else if(a=this.rules.html.exec(e))e=e.substring(a[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===a[1]||"script"===a[1]||"style"===a[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(a[0]):c(a[0]):a[0]});else if(t&&(a=this.rules.def.exec(e)))e=e.substring(a[0].length),a[3]&&(a[3]=a[3].substring(1,a[3].length-1)),h=a[1].toLowerCase().replace(/\s+/g," "),this.tokens.links[h]||(this.tokens.links[h]={href:a[2],title:a[3]});else if((a=this.rules.table.exec(e))&&(u={type:"table",header:_(a[1].replace(/^ *| *\| *$/g,"")),align:a[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:a[3]?a[3].replace(/\n$/,"").split("\n"):[]}).header.length===u.align.length){for(e=e.substring(a[0].length),g=0;g<u.align.length;g++)/^ *-+: *$/.test(u.align[g])?u.align[g]="right":/^ *:-+: *$/.test(u.align[g])?u.align[g]="center":/^ *:-+ *$/.test(u.align[g])?u.align[g]="left":u.align[g]=null;for(g=0;g<u.cells.length;g++)u.cells[g]=_(u.cells[g].replace(/^ *\| *| *\| *$/g,""),u.header.length);this.tokens.push(u)}else if(a=this.rules.lheading.exec(e))e=e.substring(a[0].length),this.tokens.push({type:"heading",depth:"="===a[2].charAt(0)?1:2,text:a[1]});else if(t&&(a=this.rules.paragraph.exec(e)))e=e.substring(a[0].length),this.tokens.push({type:"paragraph",text:"\n"===a[1].charAt(a[1].length-1)?a[1].slice(0,-1):a[1]});else if(a=this.rules.text.exec(e))e=e.substring(a[0].length),this.tokens.push({type:"text",text:a[0]});else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0));return this.tokens};var i={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:m,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\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]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/};function a(e,t){if(this.options=t||E.defaults,this.links=e,this.rules=i.normal,this.renderer=this.options.renderer||new o,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.pedantic?this.rules=i.pedantic:this.options.gfm&&(this.options.breaks?this.rules=i.breaks:this.rules=i.gfm)}function o(e){this.options=e||E.defaults}function s(){}function u(e){this.tokens=[],this.token=null,this.options=e||E.defaults,this.options.renderer=this.options.renderer||new o,this.renderer=this.options.renderer,this.renderer.options=this.options,this.slugger=new l}function l(){this.seen={}}function c(e,t){if(t){if(c.escapeTest.test(e))return e.replace(c.escapeReplace,function(e){return c.replacements[e]})}else if(c.escapeTestNoEncode.test(e))return e.replace(c.escapeReplaceNoEncode,function(e){return c.replacements[e]});return e}function d(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}function p(e,t){return e=e.source||e,t=t||"",{replace:function(t,n){return n=(n=n.source||n).replace(/(^|[^\[])\^/g,"$1"),e=e.replace(t,n),this},getRegex:function(){return new RegExp(e,t)}}}function f(e,t,n){if(e){try{var r=decodeURIComponent(d(n)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}t&&!h.test(n)&&(n=function(e,t){g[" "+e]||(/^[^:]+:\/*[^/]*$/.test(e)?g[" "+e]=e+"/":g[" "+e]=v(e,"/",!0));return e=g[" "+e],"//"===t.slice(0,2)?e.replace(/:[\s\S]*/,":")+t:"/"===t.charAt(0)?e.replace(/(:\/*[^/]*)[\s\S]*/,"$1")+t:e+t}(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(e){return null}return n}i._punctuation="!\"#$%&'()*+,\\-./:;<=>?@\\[^_{|}~",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=y({},i),i.pedantic=y({},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=y({},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]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),i.gfm.url=p(i.gfm.url,"i").replace("email",i.gfm._extended_email).getRegex(),i.breaks=y({},i.gfm,{br:p(i.br).replace("{2,}","*").getRegex(),text:p(i.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()}),a.rules=i,a.output=function(e,t,n){return new a(t,n).output(e)},a.prototype.output=function(e){for(var t,n,r,i,o,s,u="";e;)if(o=this.rules.escape.exec(e))e=e.substring(o[0].length),u+=c(o[1]);else if(o=this.rules.tag.exec(e))!this.inLink&&/^<a /i.test(o[0])?this.inLink=!0:this.inLink&&/^<\/a>/i.test(o[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(o[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(o[0])&&(this.inRawBlock=!1),e=e.substring(o[0].length),u+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(o[0]):c(o[0]):o[0];else if(o=this.rules.link.exec(e)){var l=w(o[2],"()");if(l>-1){var d=4+o[1].length+l;o[2]=o[2].substring(0,l),o[0]=o[0].substring(0,d).trim(),o[3]=""}e=e.substring(o[0].length),this.inLink=!0,r=o[2],this.options.pedantic?(t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r))?(r=t[1],i=t[3]):i="":i=o[3]?o[3].slice(1,-1):"",r=r.trim().replace(/^<([\s\S]*)>$/,"$1"),u+=this.outputLink(o,{href:a.escapes(r),title:a.escapes(i)}),this.inLink=!1}else if((o=this.rules.reflink.exec(e))||(o=this.rules.nolink.exec(e))){if(e=e.substring(o[0].length),t=(o[2]||o[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){u+=o[0].charAt(0),e=o[0].substring(1)+e;continue}this.inLink=!0,u+=this.outputLink(o,t),this.inLink=!1}else if(o=this.rules.strong.exec(e))e=e.substring(o[0].length),u+=this.renderer.strong(this.output(o[4]||o[3]||o[2]||o[1]));else if(o=this.rules.em.exec(e))e=e.substring(o[0].length),u+=this.renderer.em(this.output(o[6]||o[5]||o[4]||o[3]||o[2]||o[1]));else if(o=this.rules.code.exec(e))e=e.substring(o[0].length),u+=this.renderer.codespan(c(o[2].trim(),!0));else if(o=this.rules.br.exec(e))e=e.substring(o[0].length),u+=this.renderer.br();else if(o=this.rules.del.exec(e))e=e.substring(o[0].length),u+=this.renderer.del(this.output(o[1]));else if(o=this.rules.autolink.exec(e))e=e.substring(o[0].length),r="@"===o[2]?"mailto:"+(n=c(this.mangle(o[1]))):n=c(o[1]),u+=this.renderer.link(r,null,n);else if(this.inLink||!(o=this.rules.url.exec(e))){if(o=this.rules.text.exec(e))e=e.substring(o[0].length),this.inRawBlock?u+=this.renderer.text(this.options.sanitize?this.options.sanitizer?this.options.sanitizer(o[0]):c(o[0]):o[0]):u+=this.renderer.text(c(this.smartypants(o[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else{if("@"===o[2])r="mailto:"+(n=c(o[0]));else{do{s=o[0],o[0]=this.rules._backpedal.exec(o[0])[0]}while(s!==o[0]);n=c(o[0]),r="www."===o[1]?"http://"+n:n}e=e.substring(o[0].length),u+=this.renderer.link(r,null,n)}return u},a.escapes=function(e){return e?e.replace(a.rules._escapes,"$1"):e},a.prototype.outputLink=function(e,t){var n=t.href,r=t.title?c(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,c(e[1]))},a.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},a.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,i=0;i<r;i++)t=e.charCodeAt(i),Math.random()>.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},o.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?'<pre><code class="'+this.options.langPrefix+c(r,!0)+'">'+(n?e:c(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:c(e,!0))+"</code></pre>"},o.prototype.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},o.prototype.html=function(e){return e},o.prototype.heading=function(e,t,n,r){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+r.slug(n)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"},o.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},o.prototype.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"},o.prototype.listitem=function(e){return"<li>"+e+"</li>\n"},o.prototype.checkbox=function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},o.prototype.paragraph=function(e){return"<p>"+e+"</p>\n"},o.prototype.table=function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"},o.prototype.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},o.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"},o.prototype.strong=function(e){return"<strong>"+e+"</strong>"},o.prototype.em=function(e){return"<em>"+e+"</em>"},o.prototype.codespan=function(e){return"<code>"+e+"</code>"},o.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"},o.prototype.del=function(e){return"<del>"+e+"</del>"},o.prototype.link=function(e,t,n){if(null===(e=f(this.options.sanitize,this.options.baseUrl,e)))return n;var r='<a href="'+c(e)+'"';return t&&(r+=' title="'+t+'"'),r+=">"+n+"</a>"},o.prototype.image=function(e,t,n){if(null===(e=f(this.options.sanitize,this.options.baseUrl,e)))return n;var r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">"},o.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""},u.parse=function(e,t){return new u(t).parse(e)},u.prototype.parse=function(e){this.inline=new a(e.links,this.options),this.inlineText=new a(e.links,y({},this.options,{renderer:new s})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},u.prototype.next=function(){return this.token=this.tokens.pop(),this.token},u.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},u.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},u.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="",a="";for(n="",e=0;e<this.token.header.length;e++)n+=this.renderer.tablecell(this.inline.output(this.token.header[e]),{header:!0,align:this.token.align[e]});for(i+=this.renderer.tablerow(n),e=0;e<this.token.cells.length;e++){for(t=this.token.cells[e],n="",r=0;r<t.length;r++)n+=this.renderer.tablecell(this.inline.output(t[r]),{header:!1,align:this.token.align[r]});a+=this.renderer.tablerow(n)}return this.renderer.table(i,a);case"blockquote_start":for(a="";"blockquote_end"!==this.next().type;)a+=this.tok();return this.renderer.blockquote(a);case"list_start":a="";for(var o=this.token.ordered,s=this.token.start;"list_end"!==this.next().type;)a+=this.tok();return this.renderer.list(a,o,s);case"list_item_start":a="";var u=this.token.loose,l=this.token.checked,c=this.token.task;for(this.token.task&&(a+=this.renderer.checkbox(l));"list_item_end"!==this.next().type;)a+=u||"text"!==this.token.type?this.tok():this.parseText();return this.renderer.listitem(a,c,l);case"html":return this.renderer.html(this.token.text);case"paragraph":return this.renderer.paragraph(this.inline.output(this.token.text));case"text":return this.renderer.paragraph(this.parseText());default:var p='Token with "'+this.token.type+'" type was not found.';if(!this.options.silent)throw new Error(p);console.log(p)}},l.prototype.slug=function(e){var t=e.toLowerCase().trim().replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/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},c.escapeTest=/[&<>"']/,c.escapeReplace=/[&<>"']/g,c.replacements={"&":"&","<":"<",">":">",'"':""","'":"'"},c.escapeTestNoEncode=/[<>"']|&(?!#?\w+;)/,c.escapeReplaceNoEncode=/[<>"']|&(?!#?\w+;)/g;var g={},h=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function m(){}function y(e){for(var t,n,r=1;r<arguments.length;r++)for(n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function _(e,t){var n=e.replace(/\|/g,function(e,t,n){for(var r=!1,i=t;--i>=0&&"\\"===n[i];)r=!r;return r?"|":" |"}).split(/ \|/),r=0;if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");return n}function v(e,t,n){if(0===e.length)return"";for(var r=0;r<e.length;){var i=e.charAt(e.length-r-1);if(i!==t||n){if(i===t||!n)break;r++}else r++}return e.substr(0,e.length-r)}function w(e,t){if(-1===e.indexOf(t[1]))return-1;for(var n=0,r=0;r<e.length;r++)if("\\"===e[r])r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&--n<0)return r;return-1}function b(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function E(e,t,n){if(void 0===e||null===e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if(n||"function"==typeof t){n||(n=t,t=null),b(t=y({},E.defaults,t||{}));var i,a,o=t.highlight,s=0;try{i=r.lex(e,t)}catch(e){return n(e)}a=i.length;var l=function(e){if(e)return t.highlight=o,n(e);var r;try{r=u.parse(i,t)}catch(t){e=t}return t.highlight=o,e?n(e):n(null,r)};if(!o||o.length<3)return l();if(delete t.highlight,!a)return l();for(;s<i.length;s++)!function(e){"code"!==e.type?--a||l():o(e.text,e.lang,function(t,n){return t?l(t):null==n||n===e.text?--a||l():(e.text=n,e.escaped=!0,void(--a||l()))})}(i[s])}else try{return t&&(t=y({},E.defaults,t)),b(t),u.parse(r.lex(e,t),t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",(t||E.defaults).silent)return"<p>An error occurred:</p><pre>"+c(e.message+"",!0)+"</pre>";throw e}}m.exec=m,E.options=E.setOptions=function(e){return y(E.defaults,e),E},E.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new o,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,xhtml:!1}},E.defaults=E.getDefaults(),E.Parser=u,E.parser=u.parse,E.Renderer=o,E.TextRenderer=s,E.Lexer=r,E.lexer=r.lex,E.InlineLexer=a,E.inlineLexer=a.output,E.Slugger=l,E.parse=E,e.exports=E}(this||"undefined"!=typeof window&&window)}).call(this,n(100))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=n(0),o=y(n(11)),s=n(7),u=y(n(66)),l=n(230),c=m(n(334)),d=n(229),p=m(n(62)),f=y(n(554)),g=y(n(21)),h=y(n(58));function m(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function y(e){return e&&e.__esModule?e:{default:e}}var _=p.tmceId,v=jQuery,w=o.default.markers.removeMarks,b=(0,f.default)(),E=function(e){"object"===("undefined"==typeof CKEDITOR?"undefined":i(CKEDITOR))&&console.warn("YoastSEO currently doesn't support ckEditor. The content analysis currently only works with the HTML editor or TinyMCE."),this._data=e.data,this._store=e.store};E.prototype.getData=function(){var e=this._data.getData(),t=this._store.getState(),n={keyword:(0,h.default)()?this.getKeyword():"",meta:this.getMeta(),text:e.content,title:e.title,url:e.slug,excerpt:e.excerpt,snippetTitle:this.getSnippetTitle(),snippetMeta:this.getSnippetMeta(),snippetCite:this.getSnippetCite(),primaryCategory:this.getPrimaryCategory(),searchUrl:this.getSearchUrl(),postUrl:this.getPostUrl(),permalink:this.getPermalink(),titleWidth:(0,u.default)(this.getSnippetTitle())},i={metaTitle:(0,a.get)(t,["analysisData","snippet","title"],this.getSnippetTitle()),url:(0,a.get)(t,["snippetEditor","data","slug"],e.slug),meta:this.getMetaDescForAnalysis(t)};return r({},n,i)},E.prototype.getKeyword=function(){return document.getElementById("yoast_wpseo_focuskw")&&document.getElementById("yoast_wpseo_focuskw").value||""},E.prototype.getMetaDescForAnalysis=function(e){var t=(0,a.get)(e,["analysisData","snippet","description"],this.getSnippetMeta());return""!==wpseoScriptData.metabox.metaDescriptionDate&&(t=wpseoScriptData.metabox.metaDescriptionDate+" - "+t),t},E.prototype.getMeta=function(){return document.getElementById("yoast_wpseo_metadesc")&&document.getElementById("yoast_wpseo_metadesc").value||""},E.prototype.getText=function(){return w(p.getContentTinyMce(_))},E.prototype.getTitle=function(){return document.getElementById("title")&&document.getElementById("title").value||""},E.prototype.getUrl=function(){var e=(0,s.select)("core/editor");if(e)return e.getCurrentPostAttribute("slug");var t="",n=v("#new-post-slug");return 0<n.length?t=n.val():null!==document.getElementById("editable-post-name-full")&&(t=document.getElementById("editable-post-name-full").textContent),t},E.prototype.getExcerpt=function(){var e="";return null!==document.getElementById("excerpt")&&(e=document.getElementById("excerpt")&&document.getElementById("excerpt").value||""),e},E.prototype.getSnippetTitle=function(){return document.getElementById("yoast_wpseo_title")&&document.getElementById("yoast_wpseo_title").value||""},E.prototype.getSnippetMeta=function(){return document.getElementById("yoast_wpseo_metadesc")&&document.getElementById("yoast_wpseo_metadesc").value||""},E.prototype.getSnippetCite=function(){return this.getUrl()},E.prototype.getPrimaryCategory=function(){var e="",t=v("#category-all").find("ul.categorychecklist"),n=t.find("li input:checked");if(1===n.length)return e=this.getCategoryName(n.parent());var r=t.find(".wpseo-primary-term > label");return r.length?e=this.getCategoryName(r):e},E.prototype.getSearchUrl=function(){return wpseoScriptData.metabox.search_url},E.prototype.getPostUrl=function(){return wpseoScriptData.metabox.post_edit_url},E.prototype.getPermalink=function(){var e=this.getUrl();return wpseoScriptData.metabox.base_url+e},E.prototype.getCategoryName=function(e){var t=e.clone();return t.children().remove(),v.trim(t.text())},E.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}},E.prototype.saveSnippetData=function(e){this.setDataFromSnippet(e.title,"snippet_title"),this.setDataFromSnippet(e.urlPath,"snippet_cite"),this.setDataFromSnippet(e.metaDesc,"snippet_meta")},E.prototype.bindElementEvents=function(e){this.inputElementEventBinder(e),this.changeElementEventBinder(e)},E.prototype.changeElementEventBinder=function(e){for(var t=["#yoast-wpseo-primary-category",'.categorychecklist input[name="post_category[]"]'],n=0;n<t.length;n++)v(t[n]).on("change",e)},E.prototype.inputElementEventBinder=function(e){for(var t=["excerpt","content","title"],n=0;n<t.length;n++){null!==document.getElementById(t[n])&&document.getElementById(t[n]).addEventListener("input",e)}p.tinyMceEventBinder(e,_)},E.prototype.saveScores=function(e,t){var n=(0,g.default)(e);c.updateScore("content",n.className),document.getElementById("yoast_wpseo_linkdex").value=e,""===t&&(n.className="na",n.screenReaderText=b.dgettext("js-text-analysis","Enter a focus keyphrase to calculate the SEO score")),(0,d.update)(n),(0,l.update)(n),c.updateScore("keyword",n.className),jQuery(window).trigger("YoastSEO:numericScore",e)},E.prototype.saveContentScore=function(e){var t=(0,g.default)(e);c.updateScore("content",t.className),(0,h.default)()||((0,d.update)(t),(0,l.update)(t)),v("#yoast_wpseo_content_score").val(e)},t.default=E},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=(0,a.default)(),t=new r.default(e);(0,i.isEmpty)(e)&&(t=new r.default({domain:"js-text-analysis",locale_data:{"js-text-analysis":{"":{}}}}));return t};var r=o(n(555)),i=n(0),a=o(n(105));function o(e){return e&&e.__esModule?e:{default:e}}},function(e,t){e.exports=window.yoast.jed},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,a,o=function(e){this._app=e,this.featuredImage=null,this.pluginName="addFeaturedImagePlugin",this.registerPlugin(),this.registerModifications()};function s(){e("#yst_opengraph_image_warning").remove(),n.removeClass("yoast-opengraph-image-notice")}o.prototype.setFeaturedImage=function(e){this.featuredImage=e,this._app.pluginReloaded(this.pluginName)},o.prototype.removeFeaturedImage=function(){this.setFeaturedImage(null)},o.prototype.registerPlugin=function(){this._app.registerPlugin(this.pluginName,{status:"ready"})},o.prototype.registerModifications=function(){this._app.registerModification("content",this.addImageToContent.bind(this),this.pluginName,10)},o.prototype.addImageToContent=function(e){return null!==this.featuredImage&&(e+=this.featuredImage),e};var u=wp.media.featuredImage.frame();if("undefined"==typeof YoastSEO)return;t=new o(YoastSEO.app),n=e("#postimagediv"),a=n.find(".hndle"),u.on("select",function(){var i,o,l;!function(t){var i=t.state().get("selection").first().toJSON();i.width<200||i.height<200?0===e("#yst_opengraph_image_warning").length&&(e('<div id="yst_opengraph_image_warning" class="notice notice-error notice-alt"><p>'+wpseoScriptData.featuredImage.featured_image_notice+"</p></div>").insertAfter(a),n.addClass("yoast-opengraph-image-notice"),(0,r.default)(wpseoScriptData.featuredImage.featured_image_notice,"assertive")):s()}(u),l=(o=u.state().get("selection").first()).get("alt"),i='<img src="'+o.get("url")+'" width="'+o.get("width")+'" height="'+o.get("height")+'" alt="'+l+'"/>',t.setFeaturedImage(i)}),n.on("click","#remove-post-thumbnail",function(){t.removeFeaturedImage(),s()}),void 0!==e("#set-post-thumbnail > img").prop("src")&&t.setFeaturedImage(e("#set-post-thumbnail ").html());if(!(0,i.default)())return;var l=void 0,c=void 0;wp.data.subscribe(function(){var e=wp.data.select("core/editor").getEditedPostAttribute("featured_media");if(function(e){return"number"==typeof e&&e>0}(e)&&void 0!==(l=wp.data.select("core").getMedia(e))&&l!==c){c=l;var n='<img src="'+l.source_url+'" alt="'+l.alt_text+'" >';t.setFeaturedImage(n)}})};var r=a(n(67)),i=a(n(104));function a(e){return e&&e.__esModule?e:{default:e}}}],[[543,0]]]);