(()=>{"use strict";var e={n:t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},d:(t,n)=>{for(var a in n)e.o(n,a)&&!e.o(t,a)&&Object.defineProperty(t,a,{enumerable:!0,get:n[a]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=jQuery;var n=e.n(t);const a=wp.hooks;n()((function(){n()("#image_replacements_repeat").find("input").on("keyup",(function(){var e=!1;n()(this).parents(".cmb-nested").find('input[type="text"]').each((function(){if(!n()(this).val())return e=!0,void n()(this).addClass("is-blank");n()(this).removeClass("is-blank")})),e||n()(this).parents(".cmb-nested").removeClass("error")})),n()(document).on("cmb2_add_row",(function(e){"image_replacements_repeat"===e.target.id&&rankMathAdmin.variableInserter(!1)})),(0,a.addFilter)("rank_math_test_connections","rank-math-pro",(function(e){return e.push({class:".rank-math-connect-adsense",canTest:rankMath.isAdsenseConnected,action:"check_adsense_request"}),e}))}))})();