(()=>{"use strict";var a={n:t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return a.d(n,{a:n}),n},d:(t,n)=>{for(var e in n)a.o(n,e)&&!a.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},o:(a,t)=>Object.prototype.hasOwnProperty.call(a,t)};const t=jQuery;function n(a){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},n(a)}!function(a){a("input#rank_math_tax_seo_details-hide").length&&a("input#rank_math_tax_seo_details-hide").parent().hide();var t=a(".tablenav .bulkactions select");t.length&&t.find('option[value="rank_math_options"]').attr("disabled","disabled");var e=inlineEditTax.edit;inlineEditTax.edit=function(t){e.apply(this,arguments);var r=0;if("object"===n(t)&&(r=parseInt(this.getId(t))),0!==r){var i=a("#edit-"+r),o=a("#tag-"+r),l=o.find(".rank-math-title-value").val();i.find("#rank_math_title").val(l);var d=o.find(".rank-math-description-value").val();i.find("#rank_math_description").val(d);var _=JSON.parse(o.find(".rank-math-robots-meta-value").val());i.find(".rank_math_robots input").prop("checked",!1),a.each(_,(function(a,t){i.find("#rank_math_robots_"+t+"_input").prop("checked",!0)}));var c=a.trim(o.find(".rank-math-focus-keywords-value").val());i.find("#rank_math_focus_keyword").val(c);var u=o.find(".rank-math-canonical-url-value").val();i.find("#rank_math_canonical_url").val(u);var f=o.find(".rank-math-canonical-placeholder-value").val();i.find("#rank_math_canonical_url").attr("placeholder",f),i.find("#rank_math_robots_index_input, #rank_math_robots_noindex_input").on("click",(function(){var a="rank_math_robots_noindex_input"===this.id;if(this.checked){var t="#rank_math_robots_"+(a?"":"no")+"index_input";i.find(t).prop("checked",!1)}}))}}}(a.n(t)())})();