%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/buggydubrovnik.com/wp-content/plugins/wordpress-seo/js/dist/
Upload File :
Create Path :
Current File : /var/www/html/buggydubrovnik.com/wp-content/plugins/wordpress-seo/js/dist/term-edit.js

!function(e){var t={};function n(i){if(t[i])return t[i].exports;var s=t[i]={i:i,l:!1,exports:{}};return e[i].call(s.exports,s,s.exports,n),s.l=!0,s.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)n.d(i,s,function(t){return e[t]}.bind(null,s));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=299)}({102:function(e,t,n){"use strict";function i(e){jQuery("#wp-admin-bar-wpseo-menu .wpseo-score-icon").attr("title",e.screenReaderText).attr("class","wpseo-score-icon "+e.className).find(".wpseo-score-text").text(e.screenReaderText)}n.d(t,"a",(function(){return i}))},104:function(e,t,n){"use strict";function i(e){let t=document.getElementById("yoast-measurement-element");return t||(t=function(){const e=document.createElement("div");return e.id="yoast-measurement-element",e.style.position="absolute",e.style.left="-9999em",e.style.top=0,e.style.height=0,e.style.overflow="hidden",e.style.fontFamily="arial, sans-serif",e.style.fontSize="20px",e.style.fontWeight="400",document.body.appendChild(e),e}()),t.innerHTML=e,t.offsetWidth}n.d(t,"a",(function(){return i}))},107:function(e,t,n){"use strict";function i(e){var t=jQuery(".yst-traffic-light"),n=t.closest(".wpseo-meta-section-link"),i=jQuery("#wpseo-traffic-light-desc"),s=e.className||"na";t.attr("class","yst-traffic-light "+s),n.attr("aria-describedby","wpseo-traffic-light-desc"),i.length>0?i.text(e.screenReaderText):n.closest("li").append("<span id='wpseo-traffic-light-desc' class='screen-reader-text'>"+e.screenReaderText+"</span>")}n.d(t,"a",(function(){return i}))},115:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n(4);const s=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return()=>t.map(e=>e())};t.b=(e,t)=>{let n=e();return()=>{const s=e();Object(i.isEqual)(s,n)||(n=s,t(Object(i.clone)(s)))}}},125:function(e,t,n){"use strict";var i=n(4);t.a={getDataFromCollector:function(e){return{title:e.getSnippetTitle(),slug:e.getSnippetCite(),description:e.getSnippetMeta()}},getDataFromStore:function(e){const t=e.getState().snippetEditor.data;return{title:t.title,slug:t.slug,description:t.description}},getTemplatesFromL10n:function(e){const t={};if(Object(i.isUndefined)(e))return t;t.title=e.title_template;const n=e.metadesc_template;return Object(i.isEmpty)(n)||(t.description=n),t},getDataWithTemplates:function(e,t){const n={...e};return Object(i.forEach)(t,(t,s)=>{Object(i.has)(e,s)&&""===e[s]&&(n[s]=t)}),n},getDataWithoutTemplates:function(e,t){const n={...e};return Object(i.forEach)(t,(t,s)=>{Object(i.has)(e,s)&&e[s].trim()===t&&(n[s]="")}),n}}},126:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n(4);class s{constructor(e){this.refresh=e,this.loaded=!1,this.preloadThreshold=3e3,this.plugins={},this.modifications={},this._registerPlugin=this._registerPlugin.bind(this),this._ready=this._ready.bind(this),this._reloaded=this._reloaded.bind(this),this._registerModification=this._registerModification.bind(this),this._registerAssessment=this._registerAssessment.bind(this),this._applyModifications=this._applyModifications.bind(this),setTimeout(this._pollLoadingPlugins.bind(this),1500)}_registerPlugin(e,t){return Object(i.isString)(e)?Object(i.isUndefined)(t)||Object(i.isObject)(t)?!1===this._validateUniqueness(e)?(console.error("Failed to register plugin. Plugin with name "+e+" already exists"),!1):(this.plugins[e]=t,!0):(console.error("Failed to register plugin "+e+". Expected parameters `options` to be a object."),!1):(console.error("Failed to register plugin. Expected parameter `pluginName` to be a string."),!1)}_ready(e){return Object(i.isString)(e)?Object(i.isUndefined)(this.plugins[e])?(console.error("Failed to modify status for plugin "+e+". The plugin was not properly registered."),!1):(this.plugins[e].status="ready",!0):(console.error("Failed to modify status for plugin "+e+". Expected parameter `pluginName` to be a string."),!1)}_reloaded(e){return Object(i.isString)(e)?Object(i.isUndefined)(this.plugins[e])?(console.error("Failed to reload Content Analysis for plugin "+e+". The plugin was not properly registered."),!1):(this.refresh(),!0):(console.error("Failed to reload Content Analysis for "+e+". Expected parameter `pluginName` to be a string."),!1)}_registerModification(e,t,n,s){if(!Object(i.isString)(e))return console.error("Failed to register modification for plugin "+n+". Expected parameter `modification` to be a string."),!1;if(!Object(i.isFunction)(t))return console.error("Failed to register modification for plugin "+n+". Expected parameter `callable` to be a function."),!1;if(!Object(i.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;const a={callable:t,origin:n,priority:Object(i.isNumber)(s)?s:10};return Object(i.isUndefined)(this.modifications[e])&&(this.modifications[e]=[]),this.modifications[e].push(a),!0}_registerAssessment(e,t,n,s){return Object(i.isString)(t)?Object(i.isObject)(n)?Object(i.isString)(s)?(t=s+"-"+t,e.addAssessment(t,n),!0):(console.error("Failed to register assessment for plugin "+s+". Expected parameter `pluginName` to be a string."),!1):(console.error("Failed to register assessment for plugin "+s+". Expected parameter `assessment` to be a function."),!1):(console.error("Failed to register test for plugin "+s+". Expected parameter `name` to be a string."),!1)}_applyModifications(e,t,n){let s=this.modifications[e];return!Object(i.isArray)(s)||s.length<1||(s=this._stripIllegalModifications(s),s.sort((e,t)=>e.priority-t.priority),Object(i.forEach)(s,(function(i){const s=i.callable(t,n);typeof s==typeof t?t=s: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}_pollLoadingPlugins(e){e=Object(i.isUndefined)(e)?0:e,!0===this._allReady()?(this.loaded=!0,this.refresh()):e>=this.preloadThreshold?(this._pollTimeExceeded(),this.loaded=!0,this.refresh()):(e+=50,setTimeout(this._pollLoadingPlugins.bind(this,e),50))}_allReady(){return Object(i.reduce)(this.plugins,(function(e,t){return e&&"ready"===t.status}),!0)}_pollTimeExceeded(){Object(i.forEach)(this.plugins,(function(e,t){Object(i.isUndefined)(e.options)||"ready"===e.options.status||(console.error("Error: Plugin "+t+". did not finish loading in time."),delete this.plugins[t])}))}_stripIllegalModifications(e){return Object(i.forEach)(e,(t,n)=>{!1===this._validateOrigin(t.origin)&&delete e[n]}),e}_validateOrigin(e){return"ready"===this.plugins[e].status}_validateUniqueness(e){return Object(i.isUndefined)(this.plugins[e])}}},127:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n(4),s=n(16);function a(){const e=Object(s.a)();return Object(i.get)(e,"translations",{domain:"wordpress-seo",locale_data:{"wordpress-seo":{"":{}}}})}},128:function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"a",(function(){return w})),n.d(t,"c",(function(){return m}));var i=n(4),s=(n(198),n(73)),a=n(6);const o="<yoastmark class='yoast-text-mark'>";let r=[];const c={"core/paragraph":[{key:"content"}],"core/list":[{key:"values",multilineTag:"li",multilineWrapperTag:["ul","ol"]}],"core/heading":[{key:"content"}]},d={singleH1:{"core/heading":[{key:"content",filter:e=>1===e.level}]}};function l(){const e=r.shift();e&&(Object(a.dispatch)("core/annotations").__experimentalAddAnnotation(e),p())}function p(){Object(i.isFunction)(window.requestIdleCallback)?window.requestIdleCallback(l,{timeout:1e3}):setTimeout(l,150)}function u(){return Object(a.select)("core/block-editor")&&Object(i.isFunction)(Object(a.select)("core/block-editor").getBlocks)&&Object(a.select)("core/annotations")&&Object(i.isFunction)(Object(a.dispatch)("core/annotations").__experimentalAddAnnotation)}function h(e){const t=Object(a.select)("yoast-seo/editor").getActiveMarker(),n=d[t]||c;return n.hasOwnProperty(e)?n[e]:[]}function f(e,t,n){const a=e.key,{attributes:r}=t,c=r[a];if(e.filter&&!e.filter(r))return[];const d=Object(s.create)({html:c,multilineTag:e.multilineTag,multilineWrapperTag:e.multilineWrapperTag}).text;return Object(i.flatMap)(n,e=>{const n=function(e,t){const n=t.getOriginal().replace(/(<([^>]+)>)/gi,""),i=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),s=function(e,t){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const i=[];if(0===e.length)return i;let s,a=0;for(n||(t=t.toLowerCase(),e=e.toLowerCase());(s=e.indexOf(t,a))>-1;)i.push(s),a=s+t.length;return i}(e,n);if(0===s.length)return[];const a=function(e){let t=e.indexOf(o),n=null;const i=[];for(;t>=0;){if(n=(e=e.replace(o,"")).indexOf("</yoastmark>"),n<t)return[];e=e.replace("</yoastmark>",""),i.push({startOffset:t,endOffset:n}),t=e.indexOf(o),n=null}return i}(i),r=[];return a.forEach(e=>{s.forEach(i=>{const s=i+e.startOffset;let a=i+e.endOffset;0===e.startOffset&&e.endOffset===t.getOriginal().length&&(a=i+n.length),r.push({startOffset:s,endOffset:a})})}),r}(d,e);return n?n.map(e=>({...e,block:t.clientId,richTextIdentifier:a})):[]})}function g(e){r=e.map(e=>({blockClientId:e.block,source:"yoast",richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}))}function w(e,t){if(r=[],Object(a.dispatch)("core/annotations").__experimentalRemoveAnnotationsBySource("yoast"),0===t.length)return;const n=Object(a.select)("core/block-editor").getBlocks();g(Object(i.flatMap)(n,e=>Object(i.flatMap)(h(e.name),n=>f(n,e,t)))),p()}function m(){const e=Object(a.select)("core/editor").getSelectedBlock(),t=Object(a.select)("yoast-seo/editor").getActiveMarker();if(!e||!t)return;var n;n=e.clientId,Object(a.select)("core/annotations").__experimentalGetAnnotations().filter(e=>e.blockClientId===n&&"yoast"===e.source).forEach(e=>{Object(a.dispatch)("core/annotations").__experimentalRemoveAnnotation(e.id)});const s=Object(a.select)("yoast-seo/editor").getResultById(t);if(void 0===s)return;const o=s.marks;g(Object(i.flatMap)(h(e.name),t=>f(t,e,o))),p()}},13:function(e,t){e.exports=window.yoast.analysis},130:function(e,t,n){"use strict";function i(e){let{alertKey:t}=e;return new Promise(e=>wpseoApi.post("alerts/dismiss",{key:t},()=>e()))}n.r(t),n.d(t,"DISMISS_ALERT",(function(){return i}))},137:function(e,t,n){"use strict";n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return f}));var i=n(6),s=n(50),a=n(4),o=n(13),r=n(96),c=n(56),d=n(81),l=n(99),p=n(52);const u=Object(a.debounce)((async function(e,t){const{text:n,...a}=t,r=new o.Paper(n,a);try{const t=await e.analyze(r),{seo:n,readability:a}=t.result;if(n){const e=n[""];e.results=Object(d.sortResultsByIdentifier)(e.results),Object(i.dispatch)("yoast-seo/editor").setSeoResultsForKeyword(r.getKeyword(),e.results),Object(i.dispatch)("yoast-seo/editor").setOverallSeoScore(e.score,r.getKeyword())}a&&(a.results=Object(d.sortResultsByIdentifier)(a.results),Object(i.dispatch)("yoast-seo/editor").setReadabilityResults(a.results),Object(i.dispatch)("yoast-seo/editor").setOverallReadabilityScore(a.score)),Object(s.doAction)("yoast.analysis.run",t,{paper:r})}catch(e){Object(c.a)()}}),r.refreshDelay);function h(){const{getAnalysisData:e,getEditorDataTitle:t}=Object(i.select)("yoast-seo/editor");let n=e();n={...n,textTitle:t()};const a=function(e){return e.title=Object(p.a)("data_page_title",e.title),e.title=Object(p.a)("title",e.title),e.description=Object(p.a)("data_meta_desc",e.description),e.text=Object(p.a)("content",e.text),e}(n);return Object(s.applyFilters)("yoast.analysis.data",a)}function f(){const{getAnalysisTimestamp:e,isCornerstoneContent:t}=Object(i.select)("yoast-seo/editor"),n=Object(l.a)();n.initialize(Object(l.b)({useCornerstone:t()})).catch(c.a);let s=h(),o=t(),r=e();return Object(i.subscribe)(()=>{const i=t(),d=h(),l=e();if(i!==o)return o=i,s=d,void n.initialize({useCornerstone:i}).then(()=>u(n,d)).catch(c.a);l===r&&!1!==Object(a.isEqual)(d,s)||(s=d,r=l,u(n,d))}),n}},149:function(e,t){e.exports=window.wp.isShallowEqual},150:function(e,t,n){"use strict";var i=n(4),s=class{static isActive(){return!!document.getElementById("et_pb_main_editor_wrap")}static isTinyMCEHidden(){const e=document.getElementById("et_pb_main_editor_wrap");return!!e&&e.classList.contains("et_pb_hidden")}listen(e){this.classicEditorContainer=document.getElementById("et_pb_main_editor_wrap"),this.classicEditorContainer&&new MutationObserver(t=>{Object(i.forEach)(t,t=>{"attributes"===t.type&&"class"===t.attributeName&&(t.target.classList.contains("et_pb_hidden")?e.classicEditorHidden():e.classicEditorShown())})}).observe(this.classicEditorContainer,{attributes:!0})}};const a={classicEditorHidden:i.noop,classicEditorShown:i.noop,pageBuilderLoaded:i.noop};t.a=class{constructor(){this.determineActivePageBuilders()}determineActivePageBuilders(){s.isActive()&&(this.diviActive=!0),class{static isActive(){return!!window.VCV_I18N}}.isActive()&&(this.vcActive=!0)}isPageBuilderActive(){return this.diviActive||this.vcActive}listen(e){this.callbacks=Object(i.defaults)(e,a),this.diviActive&&(new s).listen(e)}isClassicEditorHidden(){return!(!this.diviActive||!s.isTinyMCEHidden())}}},16:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n(4);function s(){return Object(i.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},168:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n(4),s=jQuery;function a(e,t,n,i){this._scriptUrl=i,this._options={usedKeywords:t.keyword_usage,searchUrl:t.search_url,postUrl:t.post_edit_url},this._keywordUsage=t.keyword_usage,this._postID=s("#post_ID, [name=tag_ID]").val(),this._taxonomy=s("[name=taxonomy]").val()||"",this._ajaxAction=e,this._refreshAnalysis=n,this._initialized=!1}a.prototype.init=function(){const{worker:e}=window.YoastSEO.analysis;this.requestKeywordUsage=Object(i.debounce)(this.requestKeywordUsage.bind(this),500),e.loadScript(this._scriptUrl).then(()=>{e.sendMessage("initialize",this._options,"used-keywords-assessment")}).then(()=>{this._initialized=!0,Object(i.isEqual)(this._options.usedKeywords,this._keywordUsage)?this._refreshAnalysis():e.sendMessage("updateKeywordUsage",this._keywordUsage,"used-keywords-assessment").then(()=>this._refreshAnalysis())}).catch(e=>console.error(e))},a.prototype.setKeyword=function(e){Object(i.has)(this._keywordUsage,e)||this.requestKeywordUsage(e)},a.prototype.requestKeywordUsage=function(e){s.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){const{worker:n}=window.YoastSEO.analysis;t&&Object(i.isArray)(t)&&(this._keywordUsage[e]=t,this._initialized&&n.sendMessage("updateKeywordUsage",this._keywordUsage,"used-keywords-assessment").then(()=>this._refreshAnalysis()))}},169:function(e,t,n){"use strict";var i=n(6),s=n(4),a=n(13),o=n(115),r=n(137);t.a=()=>{if(Object(i.select)("yoast-seo/editor").getPreference("isInsightsEnabled",!1))return Object(i.dispatch)("yoast-seo/editor").loadEstimatedReadingTime(),Object(i.subscribe)(Object(s.debounce)((()=>{const{getEditorDataContent:e,getContentLocale:t}=Object(i.select)("yoast-seo/editor"),n=Object(o.a)(e,t),c=(()=>{const{setEstimatedReadingTime:e,setFleschReadingEase:t,setTextLength:n}=Object(i.dispatch)("yoast-seo/editor"),o=Object(s.get)(window,"YoastSEO.analysis.worker.runResearch",s.noop);return()=>{const i=a.Paper.parse(Object(r.a)());o("readingTime",i).then(t=>e(t.result)),o("getFleschReadingScore",i).then(e=>{e.result&&t(e.result)}),o("wordCountInText",i).then(e=>n(e.result))}})();return setTimeout(c,1500),Object(o.b)(n,c)})(),1500,{maxWait:3e3}))}},17:function(e,t){e.exports=window.jQuery},171:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(2),s=n(95),a=n.n(s),o=n(4);function r(e){function t(t){var n=!1,i="",s=[],o=["userid","name","user_description"],r=["date"],c=["title","parent_title","excerpt","excerpt_only","caption","focuskw","pt_single","pt_plural","modified","id"],d=["term404","searchphrase"],l=["term_title","term_description"],p=["category","category_description","tag","tag_description"];t.hasClass("posttype-template")?s=s.concat(d,l):t.hasClass("homepage-template")?s=s.concat(o,r,c,d,l,p):t.hasClass("taxonomy-template")?s=s.concat(o,r,c,d):t.hasClass("author-template")?s=s.concat(c,r,d,l,p):t.hasClass("date-template")?s=s.concat(o,c,d,l,p):t.hasClass("search-template")?s=s.concat(o,r,c,l,p,["term404"]):t.hasClass("error404-template")&&(s=s.concat(o,r,c,l,p,["searchphrase"])),e.each(s,(function(s,o){if(i=t.attr("id")+"-"+o+"-warning",-1!==t.val().search("%%"+o+"%%")){t.addClass("wpseo-variable-warning-element");var r=wpseoAdminGlobalL10n.variable_warning.replace("%s","%%"+o+"%%");e("#"+i).length?e("#"+i).html(r):t.after(' <div id="'+i+'" class="wpseo-variable-warning">'+r+"</div>"),a()(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("#open_graph_frontpage_desc").val(e("#meta_description").val())}))}function s(){var t=e("#wpseo-conf");if(t.length){var n=t.attr("action").split("#")[0];t.attr("action",n+window.location.hash)}}function r(){var t=window.location.hash.replace("#top#","");-1!==t.search("#top")&&(t=window.location.hash.replace("#top%23","")),""!==t&&"#"!==t.charAt(0)||(t=e(".wpseotab").attr("id")),e("#"+t).addClass("active"),e("#"+t+"-tab").addClass("nav-tab-active").trigger("click")}function c(t){const n=e("#noindex-author-noposts-wpseo-container");t?n.show():n.hide()}e.fn._wpseoIsInViewport=function(){const t=e(this).offset().top,n=t+e(this).outerHeight(),i=e(window).scrollTop(),s=i+e(window).height();return t>i&&n<s},e(window).on("hashchange",(function(){r(),s()})),window.wpseoDetectWrongVariables=t,window.setWPOption=function(t,n,i,s){e.post(ajaxurl,{action:"wpseo_set_option",option:t,newval:n,_wpnonce:s},(function(t){t&&e("#"+i).hide()}))},window.wpseoCopyHomeMeta=n,window.wpseoSetTabHash=s,e(document).ready((function(){s(),e("#disable-author input[type='radio']").on("change",(function(){e(this).is(":checked")&&e("#author-archives-titles-metas-content").toggle("off"===e(this).val())})).trigger("change");const a=e("#noindex-author-wpseo-off"),d=e("#noindex-author-wpseo-on");a.is(":checked")||c(!1),d.on("change",()=>{e(this).is(":checked")||c(!1)}),a.on("change",()=>{e(this).is(":checked")||c(!0)}),e("#disable-date input[type='radio']").on("change",(function(){e(this).is(":checked")&&e("#date-archives-titles-metas-content").toggle("off"===e(this).val())})).trigger("change"),e("#disable-attachment input[type='radio']").on("change",(function(){e(this).is(":checked")&&e("#media_settings").toggle("off"===e(this).val())})).trigger("change"),e("#disable-post_format").on("change",(function(){e("#post_format-titles-metas").toggle(e(this).is(":not(:checked)"))})).trigger("change"),e("#zapier_integration_active input[type='radio']").on("change",(function(){e(this).is(":checked")&&e("#zapier-connection").toggle("on"===e(this).val())})).trigger("change"),e("#wincher_integration_active input[type='radio']").change((function(){e(this).is(":checked")&&e("#wincher-connection").toggle("on"===e(this).val())})).change(),e("#wpseo-tabs").find("a").on("click",(function(t){var n,s,a,o=!0;if(n=e(this),s=!!e("#first-time-configuration-tab").filter(".nav-tab-active").length,a=!!n.filter("#first-time-configuration-tab").length,s&&!a&&window.isStepBeingEdited&&(o=confirm(Object(i.__)("There are unsaved changes in one or more steps. Leaving means that those changes may not be saved. Are you sure you want to leave?","wordpress-seo"))),o){window.isStepBeingEdited=!1,e("#wpseo-tabs").find("a").removeClass("nav-tab-active"),e(".wpseotab").removeClass("active");var r=e(this).attr("id").replace("-tab",""),c=e("#"+r);c.addClass("active"),e(this).addClass("nav-tab-active"),c.hasClass("nosave")?e("#wpseo-submit-container").hide():e("#wpseo-submit-container").show(),e(window).trigger("yoast-seo-tab-change"),"first-time-configuration"===r?e("#yoast-first-time-configuration-notice").slideUp():e("#yoast-first-time-configuration-notice").slideDown()}else t.preventDefault(),e("#first-time-configuration-tab").trigger("focus")})),e("#yoast-first-time-configuration-notice a").on("click",(function(){e("#first-time-configuration-tab").click()})),e("#company_or_person").on("change",(function(){var t=e(this).val();"company"===t?(e("#knowledge-graph-company").show(),e("#knowledge-graph-person").hide()):"person"===t?(e("#knowledge-graph-company").hide(),e("#knowledge-graph-person").show()):(e("#knowledge-graph-company").hide(),e("#knowledge-graph-person").hide())})).trigger("change"),e(".template").on("input",(function(){t(e(this))})),e(".switch-yoast-seo input").on("keydown",(function(e){"keydown"===e.type&&13===e.which&&e.preventDefault()})),e("body").on("click","button.toggleable-container-trigger",t=>{const n=e(t.currentTarget),i=n.parent().siblings(".toggleable-container");i.toggleClass("toggleable-container-hidden"),n.attr("aria-expanded",!i.hasClass("toggleable-container-hidden")).find("span").toggleClass("dashicons-arrow-up-alt2 dashicons-arrow-down-alt2")});const l=e("#opengraph"),p=e("#wpseo-opengraph-settings");l.length&&p.length&&(p.toggle(l[0].checked),l.on("change",e=>{p.toggle(e.target.checked)})),n(),r(),e("#breadcrumbs select").select2({width:"400px",language:wpseoScriptData.userLanguageCode}),function(){if(!e("#enable_xml_sitemap input[type=radio]").length)return;const t=e("#yoast-seo-sitemaps-disabled-warning");e("#enable_xml_sitemap input[type=radio]").on("change",(function(){"off"===this.value?t.show():t.hide()}))}(),function(){const t=e("#wpseo-submit-container-float"),n=e("#wpseo-submit-container-fixed");if(!t.length||!n.length)return;function i(){t._wpseoIsInViewport()?n.hide():n.show()}e(window).on("resize scroll",Object(o.debounce)(i,100)),e(window).on("yoast-seo-tab-change",i);const s=e(".wpseo-message");s.length&&window.setTimeout(()=>{s.fadeOut()},5e3),i()}(),"undefined"!=typeof ClipboardJS&&new ClipboardJS("#copy-zapier-api-key").on("success",(function(t){t.clearSelection(),e(t.trigger).trigger("focus")}))}))}},172:function(e,t,n){"use strict";function i(e){e(document).ready((function(e){void 0!==wp.media&&e(".wpseo_image_upload_button").each((function(t,n){const i=function(t){let n=(t=e(t)).data("target");return n&&""!==n||(n=e(t).attr("id").replace(/_button$/,"")),n}(n),s=e(n).data("target-id"),a=e("#"+i),o=e("#"+s);var r=wp.media.frames.file_frame=wp.media({title:wpseoScriptData.media.choose_image,button:{text:wpseoScriptData.media.choose_image},multiple:!1,library:{type:"image"}});r.on("select",(function(){var e=r.state().get("selection").first().toJSON();a.val(e.url),o.val(e.id)}));const c=e(n);c.click((function(e){e.preventDefault(),r.open()})),c.siblings(".wpseo_image_remove_button").on("click",e=>{e.preventDefault(),a.val(""),o.val("")})}))}))}n.d(t,"a",(function(){return i}))},176:function(e,t,n){"use strict";n.r(t),n.d(t,"DISMISS_ALERT",(function(){return i.DISMISS_ALERT})),n.d(t,"SNIPPET_EDITOR_FIND_CUSTOM_FIELDS",(function(){return s}));var i=n(130);function s(e){let{query:t,postId:n}=e;return new Promise(e=>{wpseoApi.get("meta/search",{query:t,post_id:n},t=>{e(t.meta)})})}},188:function(e,t,n){"use strict";var i=n(189),s=n(19),a=n(4),o=n(93),r=n(28);const{removeReplacementVariable:c,updateReplacementVariable:d,refreshSnippetEditor:l}=s.actions;var p=["content","title","snippet_title","snippet_meta","primary_category","data_page_title","data_meta_desc","excerpt"],u={},h={},f=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()};f.prototype.registerReplacements=function(){this.addReplacement(new r.a("%%author_first_name%%","author_first_name")),this.addReplacement(new r.a("%%author_last_name%%","author_last_name")),this.addReplacement(new r.a("%%category%%","category")),this.addReplacement(new r.a("%%category_title%%","category_title")),this.addReplacement(new r.a("%%currentdate%%","currentdate")),this.addReplacement(new r.a("%%currentday%%","currentday")),this.addReplacement(new r.a("%%currentmonth%%","currentmonth")),this.addReplacement(new r.a("%%currenttime%%","currenttime")),this.addReplacement(new r.a("%%currentyear%%","currentyear")),this.addReplacement(new r.a("%%date%%","date")),this.addReplacement(new r.a("%%id%%","id")),this.addReplacement(new r.a("%%page%%","page")),this.addReplacement(new r.a("%%permalink%%","permalink")),this.addReplacement(new r.a("%%post_content%%","post_content")),this.addReplacement(new r.a("%%post_month%%","post_month")),this.addReplacement(new r.a("%%post_year%%","post_year")),this.addReplacement(new r.a("%%searchphrase%%","searchphrase")),this.addReplacement(new r.a("%%sitedesc%%","sitedesc")),this.addReplacement(new r.a("%%sitename%%","sitename")),this.addReplacement(new r.a("%%userid%%","userid")),this.addReplacement(new r.a("%%focuskw%%","keyword",{source:"app",aliases:["%%keyword%%"]})),this.addReplacement(new r.a("%%term_description%%","text",{source:"app",scope:["term","category","tag"],aliases:["%%tag_description%%","%%category_description%%"]})),this.addReplacement(new r.a("%%term_title%%","term_title",{scope:["term"]})),this.addReplacement(new r.a("%%term_hierarchy%%","term_hierarchy",{scope:["term"]})),this.addReplacement(new r.a("%%title%%","title",{source:"app",scope:["post","term","page"]})),this.addReplacement(new r.a("%%parent_title%%","title",{source:"app",scope:["page","category"]})),this.addReplacement(new r.a("%%excerpt%%","excerpt",{source:"app",scope:["post"],aliases:["%%excerpt_only%%"]})),this.addReplacement(new r.a("%%primary_category%%","primaryCategory",{source:"app",scope:["post"]})),this.addReplacement(new r.a("%%sep%%(\\s*%%sep%%)*","sep"))},f.prototype.registerEvents=function(){const 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))},f.prototype.subscribeToGutenberg=function(){if(!Object(o.a)())return;const e={0:""};let t=null;const n=wp.data;n.subscribe(()=>{const s=n.select("core/editor").getEditedPostAttribute("parent");if(void 0!==s&&t!==s)return t=s,s<1?(this._currentParentPageTitle="",void this.declareReloaded()):Object(a.isUndefined)(e[s])?void i.loadPromise.done(()=>{new i.models.Page({id:s}).fetch().then(t=>{this._currentParentPageTitle=t.title.rendered,e[s]=this._currentParentPageTitle,this.declareReloaded()}).fail(()=>{this._currentParentPageTitle="",this.declareReloaded()})}):(this._currentParentPageTitle=e[s],void this.declareReloaded())})},f.prototype.addReplacement=function(e){u[e.placeholder]=e},f.prototype.removeReplacement=function(e){delete u[e.getPlaceholder()]},f.prototype.registerModifications=function(){var e=this.replaceVariables.bind(this);Object(a.forEach)(p,function(t){this._app.registerModification(t,e,"replaceVariablePlugin",10)}.bind(this))},f.prototype.replaceVariables=function(e){return Object(a.isUndefined)(e)||(e=this.parentReplace(e),e=this.replaceCustomTaxonomy(e),e=this.replaceByStore(e),e=this.replacePlaceholders(e)),e},f.prototype.replaceByStore=function(e){const t=this._store.getState().snippetEditor.replacementVariables;return Object(a.forEach)(t,t=>{""!==t.value&&(e=e.replace("%%"+t.name+"%%",t.value))}),e},f.prototype.getReplacementSource=function(e){return"app"===e.source?this._app.rawData:"direct"===e.source?"direct":wpseoScriptData.analysis.plugins.replaceVars.replace_vars},f.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]||""},f.prototype.replacePlaceholders=function(e){return Object(a.forEach)(u,function(t){e=e.replace(new RegExp(t.getPlaceholder(!0),"g"),this.getReplacement(t))}.bind(this)),e},f.prototype.declareReloaded=function(){this._app.pluginReloaded("replaceVariablePlugin"),this._store.dispatch(l())},f.prototype.getCategoryName=function(e){var t=e.parent("label").clone();return t.children().remove(),t.text().trim()},f.prototype.parseTaxonomies=function(e,t){Object(a.isUndefined)(h[t])&&(h[t]={});const n=[];Object(a.forEach)(e,function(e){const i=(e=jQuery(e)).val(),s=this.getCategoryName(e),a=e.prop("checked");h[t][i]={label:s,checked:a},a&&-1===n.indexOf(s)&&n.push(s)}.bind(this)),"category"!==t&&(t="ct_"+t),this._store.dispatch(d(t,n.join(", ")))},f.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()},f.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)},f.prototype.replaceCustomTaxonomy=function(e){return Object(a.forEach)(h,function(t,n){var i="%%ct_"+n+"%%";"category"===n&&(i="%%"+n+"%%"),e=e.replace(i,this.getTaxonomyReplaceVar(n))}.bind(this)),e},f.prototype.getTaxonomyReplaceVar=function(e){var t=[],n=h[e];return!0===Object(a.isUndefined)(n)?"":(Object(a.forEach)(n,(function(e){!1!==e.checked&&t.push(e.label)})),jQuery.uniqueSort(t).join(", "))},f.prototype.parseFields=function(e){jQuery(e).each(function(e,t){var n=jQuery("#"+t.id+"-key").val(),i=jQuery("#"+t.id+"-value").val();const s="cf_"+this.sanitizeCustomFieldNames(n),a=n+" (custom field)";this._store.dispatch(d(s,i,a)),this.addReplacement(new r.a(`%%${s}%%`,i,{source:"direct"}))}.bind(this))},f.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))},f.prototype.sanitizeCustomFieldNames=function(e){return e.replace(/\s/g,"_")},f.prototype.getAvailableFields=function(e){this.removeCustomFields();var t=jQuery(e).find("#the-list > tr:visible[id]");t.length>0&&this.parseFields(t),this.declareReloaded()},f.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)},f.prototype.removeCustomFields=function(){var e=Object(a.filter)(u,(function(e,t){return t.indexOf("%%cf_")>-1}));Object(a.forEach)(e,function(e){this._store.dispatch(c(Object(a.trim)(e.placeholder,"%%"))),this.removeReplacement(e)}.bind(this))},f.prototype.parentReplace=function(e){const t=jQuery("#parent_id, #parent").eq(0);return this.hasParentTitle(t)&&(e=e.replace(/%%parent_title%%/,this.getParentTitleReplacement(t))),Object(o.a)()&&!Object(a.isUndefined)(this._currentParentPageTitle)&&(e=e.replace(/%%parent_title%%/,this._currentParentPageTitle)),e},f.prototype.hasParentTitle=function(e){return!Object(a.isUndefined)(e)&&!Object(a.isUndefined)(e.prop("options"))},f.prototype.getParentTitleReplacement=function(e){var t=e.find("option:selected").text();return t===wpseoScriptData.analysis.plugins.replaceVars.no_parent_text?"":t},f.ReplaceVar=r.a,t.a=f},189:function(e,t){e.exports=window.wp.api},19:function(e,t){e.exports=window.yoast.externals.redux},190:function(e,t,n){"use strict";var i=n(19),s=n(4),a=n(13);t.a=function(e,t,n){e("morphology",new a.Paper("",{keyword:n})).then(e=>{const n=e.result.keyphraseForms;t.dispatch(i.actions.updateWordsToHighlight(Object(s.uniq)(Object(s.flatten)(n))))}).catch(()=>{t.dispatch(i.actions.updateWordsToHighlight([]))})}},195:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var i=n(4),s=n(6),a=n(44),o=n(98),r=n(128);function c(e,t){let n;a.isTinyMCEAvailable(a.tmceId)&&(Object(i.isUndefined)(n)&&(n=Object(o.c)(tinyMCE.get(a.tmceId))),n(e,t)),Object(r.b)()&&(function(e,t){tinyMCE.editors.map(e=>Object(o.c)(e)).forEach(n=>n(e,t))}(e,t),Object(r.a)(e,t))}function d(){return Object(s.select)("yoast-seo/editor").isMarkingAvailable()?c:i.noop}},198:function(e,t){e.exports=window.wp.annotations},2:function(e,t){e.exports=window.wp.i18n},207:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var i=n(4),s=n(6),a=n(19),o=n(176);function r(){const e=Object(s.registerStore)("yoast-seo/editor",{reducer:Object(s.combineReducers)(a.reducers),selectors:a.selectors,actions:Object(i.pickBy)(a.actions,e=>"function"==typeof e),controls:o});return(e=>{e.dispatch(a.actions.setSettings({socialPreviews:{sitewideImage:window.wpseoScriptData.metabox.sitewide_social_image,siteName:window.wpseoScriptData.metabox.site_name,contentImage:window.wpseoScriptData.metabox.first_content_image,twitterCardType:window.wpseoScriptData.metabox.twitterCardType},snippetEditor:{baseUrl:window.wpseoScriptData.metabox.base_url,date:window.wpseoScriptData.metabox.metaDescriptionDate,recommendedReplacementVariables:window.wpseoScriptData.analysis.plugins.replaceVars.recommended_replace_vars,siteIconUrl:window.wpseoScriptData.metabox.siteIconUrl}})),e.dispatch(a.actions.setSEMrushChangeCountry(window.wpseoScriptData.metabox.countryCode)),e.dispatch(a.actions.setSEMrushLoginStatus(window.wpseoScriptData.metabox.SEMrushLoginStatus)),e.dispatch(a.actions.setWincherLoginStatus(window.wpseoScriptData.metabox.wincherLoginStatus,!1)),e.dispatch(a.actions.setWincherWebsiteId(window.wpseoScriptData.metabox.wincherWebsiteId)),e.dispatch(a.actions.setWincherAutomaticKeyphaseTracking(window.wpseoScriptData.metabox.wincherAutoAddKeyphrases)),e.dispatch(a.actions.setDismissedAlerts(Object(i.get)(window,"wpseoScriptData.dismissedAlerts",{}))),e.dispatch(a.actions.setIsPremium(Boolean(Object(i.get)(window,"wpseoScriptData.metabox.isPremium",!1)))),e.dispatch(a.actions.setPostId(Number(Object(i.get)(window,"wpseoScriptData.postId",null))))})(e),e}},208:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n(50),s=n(4),a=n(104),o=n(65),r=n(13);function c(e,t,n,c,d){const l=Object(s.cloneDeep)(t.getState());Object(s.merge)(l,n.getData());const p=e.getData();let u=null;d&&(u=d.getBlocks(),u=u.map(e=>function e(t){const n={attributes:{}};return["level","content","alt"].forEach(e=>{t.attributes[e]&&(n.attributes[e]=t.attributes[e])}),n.name=t.name,n.clientId=t.clientId,n.innerBlocks=t.innerBlocks.map(t=>e(t)),n}(e)));const h={text:p.content,textTitle:p.title,keyword:l.focusKeyword,synonyms:l.synonyms,description:l.analysisData.snippet.description||l.snippetEditor.data.description,title:l.analysisData.snippet.title||l.snippetEditor.data.title,slug:l.snippetEditor.data.slug,permalink:l.settings.snippetEditor.baseUrl+l.snippetEditor.data.slug,wpBlocks:u,date:l.settings.snippetEditor.date};return c.loaded&&(h.title=c._applyModifications("data_page_title",h.title),h.title=c._applyModifications("title",h.title),h.description=c._applyModifications("data_meta_desc",h.description),h.text=c._applyModifications("content",h.text),h.wpBlocks=c._applyModifications("wpBlocks",h.wpBlocks)),h.titleWidth=Object(a.a)(h.title),h.locale=Object(o.a)(),r.Paper.parse(Object(i.applyFilters)("yoast.analysis.data",h))}},209:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n(4);class s{constructor(){this._callbacks=[],this.register=this.register.bind(this)}register(e){Object(i.isFunction)(e)&&this._callbacks.push(e)}getData(){let e={};return this._callbacks.forEach(t=>{e=Object(i.merge)(e,t())}),e}}},210:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(4),s=n(16),a=n(168);function o(e,t,n){const o=Object(s.a)();if(!o.previouslyUsedKeywordActive)return;const r=Object(i.get)(window,["wpseoScriptData","analysis","worker","keywords_assessment_url"],"used-keywords-assessment.js"),c=new a.a(t,o,e,r);c.init();let d={};n.subscribe(()=>{const e=n.getState()||{};e.focusKeyword!==d.focusKeyword&&(d=e,c.setKeyword(e.focusKeyword))})}},214:function(e,t,n){"use strict";function i(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){const t=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"),t.on("click",(function(n){var i=e(this).attr("id"),s=e(this).attr("href"),a=e(s);n.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"===s&&e(".wpseo-meta-section-react").addClass("active"),a.addClass("active"),e(this).parent("li").addClass("active").find("[role='tab']").addClass("yoast-active-tab");const o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new CustomEvent(e,{detail:t})}("YoastSEO:metaTabChange",{metaTabId:i});window.dispatchEvent(o),this&&(function(e){e.attr({"aria-selected":"false",tabIndex:"-1"})}(t),this.removeAttribute("tabindex"),this.setAttribute("aria-selected","true"))}))}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(){const n=e(".yoast-aria-tabs"),i=n.find("[role='tab']"),s=n.attr("aria-orientation")||"horizontal";i.attr({"aria-selected":!1,tabIndex:"-1"}),i.filter(".yoast-active-tab").removeAttr("tabindex").attr("aria-selected","true"),i.on("keydown",(function(n){-1!==[32,35,36,37,38,39,40].indexOf(n.which)&&("horizontal"===s&&-1!==[38,40].indexOf(n.which)||"vertical"===s&&-1!==[37,39].indexOf(n.which)||function(n,i){const s=n.which,a=i.index(e(n.target));switch(s){case 32:n.preventDefault(),t(i[a]);break;case 35:n.preventDefault(),t(i[i.length-1]);break;case 36:n.preventDefault(),t(i[0]);break;case 37:case 38:n.preventDefault(),t(i[a-1<0?i.length-1:a-1]);break;case 39:case 40:n.preventDefault(),t(i[a+1===i.length?0:a+1])}}(n,i))}))}()}n.d(t,"a",(function(){return i}))},28:function(e,t,n){"use strict";var i=n(4),s={source:"wpseoScriptData.analysis.plugins.replaceVars",scope:[],aliases:[]},a=function(e,t,n){this.placeholder=e,this.replacement=t,this.options=Object(i.defaults)(n,s)};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!Object(i.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()||Object(i.indexOf)(this.options.scope,e)>-1},a.prototype.hasAlias=function(){return!Object(i.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.a=a},299:function(e,t,n){"use strict";n.r(t);var i=n(64),s=n.n(i),a=n(17),o=n.n(a),r=n(4),c=n(171),d=n(172),l=n(207),p=n(214),u=n(13),h=n(149),f=n(44),g=n(126),w=n(190),m=n(188),b=n(107),y=n(102),O=n(99),v=n(81),_=n(208),j=n(53),E=n(127),S=n(59),k=n(86),x=n(125),T=n(104);const C=jQuery;var R=function(e){"object"==typeof CKEDITOR&&console.warn("YoastSEO currently doesn't support ckEditor. The content analysis currently only works with the HTML editor or TinyMCE."),this._store=e.store};R.prototype.getData=function(){const e={title:this.getTitle(),keyword:Object(S.a)()?this.getKeyword():"",text:this.getText(),meta:this.getMeta(),url:this.getUrl(),permalink:this.getPermalink(),snippetCite:this.getSnippetCite(),snippetTitle:this.getSnippetTitle(),snippetMeta:this.getSnippetMeta(),name:this.getName(),baseUrl:this.getBaseUrl(),pageTitle:this.getPageTitle(),titleWidth:Object(T.a)(this.getTitle())},t=this._store.getState();return{...e,metaTitle:Object(r.get)(t,["analysisData","snippet","title"],this.getSnippetTitle()),url:Object(r.get)(t,["snippetEditor","data","slug"],this.getUrl()),meta:Object(r.get)(t,["analysisData","snippet","description"],this.getSnippetMeta())}},R.prototype.getTitle=function(){return document.getElementById("hidden_wpseo_title").value},R.prototype.getKeyword=function(){var e,t;return""===(t=(e=document.getElementById("hidden_wpseo_focuskw")).value)&&(t=document.getElementById("name").value,e.placeholder=t),t},R.prototype.getText=function(){return f.getContentTinyMce(f.termsTmceId)},R.prototype.getMeta=function(){var e="",t=document.getElementById("hidden_wpseo_desc");return null!==t&&(e=t.value),e},R.prototype.getUrl=function(){return document.getElementById("slug").value},R.prototype.getPermalink=function(){var e=this.getUrl();return this.getBaseUrl()+e+"/"},R.prototype.getSnippetCite=function(){return this.getUrl()},R.prototype.getSnippetTitle=function(){return document.getElementById("hidden_wpseo_title").value},R.prototype.getSnippetMeta=function(){var e="",t=document.getElementById("hidden_wpseo_desc");return null!==t&&(e=t.value),e},R.prototype.getName=function(){return document.getElementById("name").value},R.prototype.getBaseUrl=function(){return wpseoScriptData.metabox.base_url},R.prototype.getPageTitle=function(){return document.getElementById("hidden_wpseo_title").value},R.prototype.setDataFromSnippet=function(e,t){switch(t){case"snippet_meta":document.getElementById("hidden_wpseo_desc").value=e;break;case"snippet_cite":document.getElementById("slug").value=e;break;case"snippet_title":document.getElementById("hidden_wpseo_title").value=e}},R.prototype.saveSnippetData=function(e){this.setDataFromSnippet(e.title,"snippet_title"),this.setDataFromSnippet(e.urlPath,"snippet_cite"),this.setDataFromSnippet(e.metaDesc,"snippet_meta")},R.prototype.bindElementEvents=function(e){this.inputElementEventBinder(e)},R.prototype.inputElementEventBinder=function(e){for(var t=["name",f.termsTmceId,"slug","wpseo_focuskw"],n=0;n<t.length;n++)null!==document.getElementById(t[n])&&document.getElementById(t[n]).addEventListener("input",e);f.tinyMceEventBinder(e,f.termsTmceId)},R.prototype.saveScores=function(e){var t=Object(j.a)(e);document.getElementById("hidden_wpseo_linkdex").value=e,jQuery(window).trigger("YoastSEO:numericScore",e),Object(b.a)(t),Object(y.a)(t)},R.prototype.saveContentScore=function(e){var t=Object(j.a)(e);Object(S.a)()||(Object(b.a)(t),Object(y.a)(t)),C("#hidden_wpseo_content_score").val(e)},R.prototype.initKeywordTabTemplate=function(){C(".wpseo-metabox-tabs").on("click",".wpseo_tablink",(function(e){e.preventDefault()}))};var A=R,D=n(209),I=n(195),M=n(96),P=n(56),F=n(210),B=n(19);const{refreshSnippetEditor:U,updateData:Y,setFocusKeyword:K,setCornerstoneContent:L,setMarkerStatus:N,setReadabilityResults:V,setSeoResultsForKeyword:W}=B.actions;function Q(e,t,n){var i,s;const a=new D.a;function o(){const e={slug:s.val()};window.YoastSEO.store.dispatch(Y(e))}function c(e){Object(r.isUndefined)(e.seoAssessorPresenter)||(e.seoAssessorPresenter.render=function(){}),Object(r.isUndefined)(e.contentAssessorPresenter)||(e.contentAssessorPresenter.render=function(){},e.contentAssessorPresenter.renderIndividualRatings=function(){})}let d;function l(e,t){const n=d||"";d=e.getState().analysisData.snippet,!Object(h.isShallowEqualObjects)(n,d)&&t()}!function(){var d,p,h,T,C,R,D,B,Q,z,q;T=jQuery(".term-description-wrap").find("td"),C=jQuery(".term-description-wrap").find("label"),R=T.find("textarea").val(),D=document.getElementById("wp-description-wrap"),B=T.find("p"),T.html(""),T.append(D).append(B),document.getElementById("description").value=R,C.replaceWith(C.html()),p=new A({store:t}),d={elementTarget:[f.termsTmceId,"yoast_wpseo_focuskw","yoast_wpseo_metadesc","excerpt","editable-post-name","editable-post-name-full"],targets:(Q={},Object(S.a)()&&(Q.output="does-not-really-exist-but-it-needs-something"),Object(k.a)()&&(Q.contentOutput="also-does-not-really-exist-but-it-needs-something"),Q),callbacks:{getData:p.getData.bind(p)},locale:wpseoScriptData.metabox.contentLocale,contentAnalysisActive:Object(k.a)(),keywordAnalysisActive:Object(S.a)(),hasSnippetPreview:!1,debouncedRefresh:!1,researcher:new window.yoast.Researcher.default},Object(S.a)()&&(t.dispatch(K(p.getKeyword())),d.callbacks.saveScores=p.saveScores.bind(p),d.callbacks.updatedKeywordsResults=function(e){const n=t.getState().focusKeyword;t.dispatch(W(n,e)),t.dispatch(U())}),Object(k.a)()&&(t.dispatch(N("hidden")),d.callbacks.saveContentScore=p.saveContentScore.bind(p),d.callbacks.updatedContentResults=function(e){t.dispatch(V(e)),t.dispatch(U())}),h=Object(E.a)(),Object(r.isUndefined)(h)||Object(r.isUndefined)(h.domain)||(d.translations=h),i=new u.App(d),window.YoastSEO=window.YoastSEO||{},window.YoastSEO.app=i,window.YoastSEO.store=t,window.YoastSEO.analysis={},window.YoastSEO.analysis.worker=Object(O.a)(),window.YoastSEO.analysis.collectData=()=>Object(_.a)(n,window.YoastSEO.store,a,window.YoastSEO.app.pluggable),window.YoastSEO.analysis.applyMarks=(e,t)=>Object(I.a)()(e,t),window.YoastSEO.app.refresh=Object(r.debounce)(()=>Object(v.default)(window.YoastSEO.analysis.worker,window.YoastSEO.analysis.collectData,window.YoastSEO.analysis.applyMarks,window.YoastSEO.store,p),M.refreshDelay),window.YoastSEO.app.registerCustomDataCallback=a.register,window.YoastSEO.app.pluggable=new g.a(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=(e,t,n)=>{if(!Object(r.isUndefined)(i.seoAssessor))return window.YoastSEO.app.pluggable._registerAssessment(i.defaultSeoAssessor,e,t,n)&&window.YoastSEO.app.pluggable._registerAssessment(i.cornerStoneSeoAssessor,e,t,n)},window.YoastSEO.app.changeAssessorOptions=function(e){window.YoastSEO.analysis.worker.initialize(e).catch(P.a),window.YoastSEO.app.refresh()},Object(F.a)(i.refresh,"get_term_keyword_usage",t),t.subscribe(l.bind(null,t,i.refresh)),Object(S.a)()&&(i.seoAssessor=new u.TaxonomyAssessor(i.config.researcher),i.seoAssessorPresenter.assessor=i.seoAssessor),p.initKeywordTabTemplate(),window.YoastSEO.wp={},window.YoastSEO.wp.replaceVarsPlugin=new m.a(i,t),window.YoastSEO.analyzerArgs=d,(s=e("#slug")).on("change",o),p.bindElementEvents(Object(r.debounce)(()=>Object(v.default)(window.YoastSEO.analysis.worker,window.YoastSEO.analysis.collectData,window.YoastSEO.analysis.applyMarks,window.YoastSEO.store,p),M.refreshDelay)),Object(S.a)()&&function(t){var n=e("#hidden_wpseo_linkdex").val();t.initKeywordTabTemplate();var i=Object(j.a)(n);Object(b.a)(i),Object(y.a)(i)}(p),Object(k.a)()&&(z=e("#hidden_wpseo_content_score").val(),q=Object(j.a)(z),Object(b.a)(q),Object(y.a)(q)),window.YoastSEO.analysis.worker.initialize(Object(O.b)({useTaxonomy:!0})).then(()=>{jQuery(window).trigger("YoastSEO:ready")}).catch(P.a),c(i);const H=i.initAssessorPresenters.bind(i);i.initAssessorPresenters=function(){H(),c(i)};let G=x.a.getDataFromCollector(p);!function(e){const n=document.getElementById("hidden_wpseo_is_cornerstone");let i="1"===n.value;t.dispatch(L(i)),e.changeAssessorOptions({useCornerstone:i}),t.subscribe(()=>{const s=t.getState();s.isCornerstone!==i&&(i=s.isCornerstone,n.value=i?"1":"0",e.changeAssessorOptions({useCornerstone:i}))})}(i);const J=x.a.getTemplatesFromL10n(wpseoScriptData.metabox);G=x.a.getDataWithTemplates(G,J),t.dispatch(Y(G));let $=t.getState().focusKeyword;Object(w.a)(window.YoastSEO.analysis.worker.runResearch,window.YoastSEO.store,$);const X=Object(r.debounce)(()=>{i.refresh()},50);t.subscribe(()=>{const e=t.getState().focusKeyword;$!==e&&($=e,Object(w.a)(window.YoastSEO.analysis.worker.runResearch,window.YoastSEO.store,$),document.getElementById("hidden_wpseo_focuskw").value=$,X());const n=x.a.getDataFromStore(t),i=x.a.getDataWithoutTemplates(n,J);G.title!==n.title&&p.setDataFromSnippet(i.title,"snippet_title"),G.slug!==n.slug&&p.setDataFromSnippet(i.slug,"snippet_cite"),G.description!==n.description&&p.setDataFromSnippet(i.description,"snippet_meta"),G.title=n.title,G.slug=n.slug,G.description=n.description}),Object(v.initializationDone)(),window.YoastSEO.app.refresh()}()}window.yoastHideMarkers=!0,window.YoastReplaceVarPlugin=m.a;var z=n(169);s()(()=>{window.wpseoTermScraperL10n=window.wpseoScriptData.metabox,Object(c.a)(o.a),Object(p.a)(o.a);const e=Object(l.a)();window.yoast.initEditorIntegration(e);const t=new window.yoast.EditorData(r.noop,e,f.termsTmceId);t.initialize(window.wpseoScriptData.analysis.plugins.replaceVars.replace_vars),Q(o.a,e,t),Object(d.a)(o.a),Object(z.a)()})},4:function(e,t){e.exports=window.lodash},44:function(e,t,n){"use strict";n.r(t),n.d(t,"tmceId",(function(){return c})),n.d(t,"termsTmceId",(function(){return d})),n.d(t,"setStore",(function(){return l})),n.d(t,"isTinyMCELoaded",(function(){return p})),n.d(t,"isTinyMCEAvailable",(function(){return u})),n.d(t,"getContentTinyMce",(function(){return h})),n.d(t,"addEventHandler",(function(){return f})),n.d(t,"disableMarkerButtons",(function(){return g})),n.d(t,"enableMarkerButtons",(function(){return w})),n.d(t,"isTextViewActive",(function(){return m})),n.d(t,"wpTextViewOnInitCheck",(function(){return b})),n.d(t,"tinyMceEventBinder",(function(){return y}));var i=n(4),s=n(98),a=n(150),o=n(19);let r;var c="content",d="description";function l(e){r=e}function p(){return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length}function u(e){if(!p())return!1;var t=tinyMCE.get(e);return null!==t&&!t.isHidden()}function h(e){var t,n,i;return n=!1===u(e)||0==(t=e,null!==document.getElementById(t+"_ifr"))?function(e){return document.getElementById(e)&&document.getElementById(e).value||""}(e):tinyMCE.get(e).getContent(),i=new RegExp("&amp;","g"),n.replace(i,"&")}function f(e,t,n){"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(s){var a=s.editor;a.id===e&&Object(i.forEach)(t,(function(e){a.on(e,n)}))}))}function g(){Object(i.isUndefined)(r)||r.dispatch(o.actions.setMarkerStatus("disabled"))}function w(){Object(i.isUndefined)(r)||r.dispatch(o.actions.setMarkerStatus("enabled"))}function m(){const e=document.getElementById("wp-content-wrap");return!!e&&e.classList.contains("html-active")}function b(){m()&&(g(),p()&&tinyMCE.on("AddEditor",(function(){w()})))}function y(e,t){f(t,["input","change","cut","paste"],e),f(t,["hide"],g);const n=["show"];(new a.a).isPageBuilderActive()||n.push("init"),f(t,n,w),f("content",["focus"],(function(e){var t=e.target;Object(s.a)(t)&&(Object(s.b)(t),YoastSEO.app.disableMarkers())}))}},50:function(e,t){e.exports=window.wp.hooks},52:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return d})),n.d(t,"e",(function(){return l})),n.d(t,"a",(function(){return p}));var i=n(6),s=n(126);let a=null;const o=()=>{if(null===a){const e=Object(i.dispatch)("yoast-seo/editor").runAnalysis;a=new s.a(e)}return a},r=e=>o()._ready(e),c=e=>o()._reloaded(e),d=(e,t,n,i)=>o()._registerModification(e,t,n,i),l=(e,t)=>o()._registerPlugin(e,t),p=(e,t,n)=>o().loaded?o()._applyModifications(e,t,n):t},53:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var i=n(2),s=n(13),a=n(4);function o(e){return Object(a.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:Object(i.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:Object(i.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:Object(i.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:Object(i.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:Object(i.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:Object(i.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:Object(i.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(s.interpreters.scoreToRating(e))}},56:function(e,t,n){"use strict";function i(){}n.d(t,"a",(function(){return i}))},59:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n(16),s=n(4);function a(){const e=Object(i.a)();return 1===Object(s.get)(e,"keywordAnalysisActive",0)}},6:function(e,t){e.exports=window.wp.data},61:function(e,t){e.exports=window.yoast.components},64:function(e,t){e.exports=window.wp.domReady},65:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n(4),s=n(16);function a(){const e=Object(s.a)();return Object(i.get)(e,"contentLocale","en_US")}},68:function(e,t){e.exports=window.yoast.featureFlag},73:function(e,t){e.exports=window.wp.richText},81:function(e,t,n){"use strict";n.r(t),n.d(t,"sortResultsByIdentifier",(function(){return d})),n.d(t,"default",(function(){return l})),n.d(t,"initializationDone",(function(){return p}));var i=n(50),s=n(19),a=n(13),o=n(56),r=n(61);let c=!1;function d(e){return e.sort((e,t)=>e._identifier.localeCompare(t._identifier))}function l(e,t,n,l,p){if(!c)return;const u=a.Paper.parse(t());e.analyze(u).then(a=>{const{result:{seo:o,readability:c}}=a;if(o){const e=o[""];e.results.forEach(e=>{e.getMarker=()=>()=>n(u,e.marks)}),e.results=d(e.results),l.dispatch(s.actions.setSeoResultsForKeyword(u.getKeyword(),e.results)),l.dispatch(Object(r.setOverallSeoScore)(e.score,u.getKeyword())),l.dispatch(s.actions.refreshSnippetEditor()),p.saveScores(e.score,u.getKeyword())}c&&(c.results.forEach(e=>{e.getMarker=()=>()=>n(u,e.marks)}),c.results=d(c.results),l.dispatch(s.actions.setReadabilityResults(c.results)),l.dispatch(Object(r.setOverallReadabilityScore)(c.score)),l.dispatch(s.actions.refreshSnippetEditor()),p.saveContentScore(c.score)),Object(i.doAction)("yoast.analysis.refresh",a,{paper:u,worker:e,collectData:t,applyMarks:n,store:l,dataCollector:p})}).catch(o.a)}function p(){c=!0}},86:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n(16),s=n(4);function a(){const e=Object(i.a)();return 1===Object(s.get)(e,"contentAnalysisActive",0)}},93:function(e,t,n){"use strict";function i(){return window.wpseoScriptData&&"1"===window.wpseoScriptData.isBlockEditor}n.d(t,"a",(function(){return i}))},95:function(e,t){var n,i,s="",a=function(e){e=e||"polite";var t=document.createElement("div");return t.id="a11y-speak-"+e,t.className="a11y-speak-region",t.setAttribute("style","clip: rect(1px, 1px, 1px, 1px); position: absolute; height: 1px; width: 1px; overflow: hidden; word-wrap: normal;"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions text"),t.setAttribute("aria-atomic","true"),document.querySelector("body").appendChild(t),t};!function(e){if("complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll)return e();document.addEventListener("DOMContentLoaded",e)}((function(){n=document.getElementById("a11y-speak-polite"),i=document.getElementById("a11y-speak-assertive"),null===n&&(n=a("polite")),null===i&&(i=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," "),s===e&&(e+=" "),s=e,i&&"assertive"===t?i.textContent=e:n&&(n.textContent=e)}},96:function(e,t,n){"use strict";n.r(t),n.d(t,"refreshDelay",(function(){return i}));const i=500},98:function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return c}));var i=n(13),s=n(4);function a(e,t,n){var a=e.dom,o=e.getContent();o=i.markers.removeMarks(o),Object(s.forEach)(n,(function(e){o=e.applyWithReplace(o)})),e.setContent(o),function(e){var t=e.getContent();t=t.replace(new RegExp("&lt;yoastmark.+?&gt;","g"),"").replace(new RegExp("&lt;/yoastmark&gt;","g"),""),e.setContent(t)}(e);var r=a.select("yoastmark");Object(s.forEach)(r,(function(e){e.setAttribute("data-mce-bogus","1")}))}function o(e){return window.test=e,a.bind(null,e)}function r(e){return-1!==e.getContent({format:"raw"}).indexOf("<yoastmark")}function c(e){o(e)(null,[])}},99:function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return u}));var i=n(4),s=n(13),a=n(65);function o(){return Object(i.get)(window,["wpseoAdminL10n","default_query_params"],{})}var r=n(127),c=n(86),d=n(59),l=n(68);function p(){const e=Object(i.get)(window,["wpseoScriptData","analysis","worker","url"],"analysis-worker.js"),t=Object(s.createWorker)(e),n=Object(i.get)(window,["wpseoScriptData","analysis","worker","dependencies"],[]),a=[];for(const e in n){if(!Object.prototype.hasOwnProperty.call(n,e))continue;const t=window.document.getElementById(e+"-js-translations");if(!t)continue;const i=t.innerHTML.slice(214),s=i.indexOf(","),o=i.slice(0,s-1);try{const e=JSON.parse(i.slice(s+1,-4));a.push([o,e])}catch(t){console.warn(`Failed to parse translation data for ${e} to send to the Yoast SEO worker`);continue}}return t.postMessage({dependencies:n,translations:a}),new s.AnalysisWorkerWrapper(t)}function u(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={locale:Object(a.a)(),contentAnalysisActive:Object(c.a)(),keywordAnalysisActive:Object(d.a)(),defaultQueryParams:o(),logLevel:Object(i.get)(window,["wpseoScriptData","analysis","worker","log_level"],"ERROR"),enabledFeatures:Object(l.enabledFeatures)()};t=Object(i.merge)(t,e);const n=Object(r.a)();return Object(i.isUndefined)(n)||Object(i.isUndefined)(n.domain)||(t.translations=n),t}}});

Zerion Mini Shell 1.0