!function(n){var t={};function e(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return n[r].call(a.exports,a,a.exports,e),a.l=!0,a.exports}e.m=n,e.c=t,e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:r})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,t){if(1&t&&(n=e(n)),8&t)return n;if(4&t&&"object"==typeof n&&n&&n.__esModule)return n;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var a in n)e.d(r,a,function(t){return n[t]}.bind(null,a));return r},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},e.p="",e(e.s=365)}({12:function(n,t){n.exports=jQuery},365:function(n,t,e){"use strict";e.r(t);var r=e(12),a=e.n(r);function i(n){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},i(n)}a()((function(){if("undefined"!=typeof inlineEditPost){var n=a()("#rank-math-seo-filter"),t=a()("#rank-math-schema-filter"),e=a()(".tablenav .bulkactions select");n.length&&n.on("change",(function(){t.addClass("hidden"),"schema_type"===a()(this).val()&&t.removeClass("hidden")})).trigger("change"),e.length&&e.find('option[value="rank_math_options"]').attr("disabled","disabled");var r=function(n){var t=n.find(".cat-checklist").not(".rank-math-robots-checklist").find("input");n.find("#rank_math_primary_term option").each((function(n,e){var r=a()(e),i=r.val();if("0"===i)return!0;t.filter('[value="'+i+'"]').prop("checked")?r.prop("hidden",!1):r.prop("hidden",!0)})),t.filter(":checked").length?n.find(".inline-edit-rank-math-primary-term").removeClass("hidden"):n.find(".inline-edit-rank-math-primary-term").addClass("hidden"),1===t.filter(":checked").length&&n.find("#rank_math_primary_term").val(t.filter(":checked").val()),t.off().on("change",(function(e){var r=a()(e.target),i=r.val();r.prop("checked")?n.find("#rank_math_primary_term").find('option[value="'+i+'"]').prop("hidden",!1):(n.find("#rank_math_primary_term").val()===i&&n.find("#rank_math_primary_term").val("0"),n.find("#rank_math_primary_term").find("option[value="+i+"]").prop("hidden",!0)),t.filter(":checked").length?n.find(".inline-edit-rank-math-primary-term").removeClass("hidden"):n.find(".inline-edit-rank-math-primary-term").addClass("hidden"),1===t.filter(":checked").length&&n.find("#rank_math_primary_term").val(t.filter(":checked").val())}))},o=inlineEditPost.edit;inlineEditPost.edit=function(n){o.apply(this,arguments);var t=0;if("object"===i(n)&&(t=parseInt(this.getId(n))),0!==t){var e=a()("#edit-"+t),l=a()("#post-"+t);e.find("#rank_math_title").val(l.find(".rank-math-title-value").val()),e.find("#rank_math_description").val(l.find(".rank-math-description-value").val());var d=l.find(".rank-math-robots-meta-value").val(),c=d?JSON.parse(d):[];e.find(".rank_math_robots input").prop("checked",!1),a.a.each(c,(function(n,t){e.find("#rank_math_robots_"+t+"_input").prop("checked",!0)})),e.find("#rank_math_robots_index_input, #rank_math_robots_noindex_input").on("click",(function(){var n="rank_math_robots_noindex_input"===this.id;if(this.checked){var t="#rank_math_robots_"+(n?"":"no")+"index_input";e.find(t).prop("checked",!1)}})),e.find("#rank_math_focus_keyword").val(a.a.trim(l.find(".rank-math-focus-keywords-value").val())),e.find("#rank_math_canonical_url").val(l.find(".rank-math-canonical-url-value").val()),e.find("#rank_math_canonical_url").attr("placeholder",l.find(".rank-math-canonical-placeholder-value").val()),r(e),e.find("#rank_math_primary_term").val(l.find(".rank-math-primary-term-value").val())}};var l=inlineEditPost.setBulk;inlineEditPost.setBulk=function(){l.apply(this,arguments);var n=a()("tr.bulk-edit-row");r(n),n.find(".rank-math-robots-checklist input").prop("checked",!1)};var d=function(n,t){a()(n).on("click",(function(){var n=a()(t).val();return"rank_math_bulk_schema_none"!==n&&"rank_math_bulk_schema_default"!==n||confirm(rankMath.confirmSchemaDelete)}))};d("#doaction","#bulk-action-selector-top"),d("#doaction2","#bulk-action-selector-bottom")}}))}});