wp.customize.controlConstructor["kirki-multicheck"]=wp.customize.kirkiDynamicControl.extend({initKirkiControl:function(e){let t=(e=e||this).container[0]||e.container;t.addEventListener("change",function(c){if(c.target&&"INPUT"===c.target.tagName&&"checkbox"===c.target.type){var i=[],n=0;Object.keys(e.params.choices).forEach(function(e){let c=t.querySelector('input[value="'+e+'"]');if(c&&c.checked){let t=c.parentElement;t&&t.classList.add("checked"),i[n]=e,n++}else if(c){let e=c.parentElement;e&&e.classList.remove("checked")}}),e.setting.set(i)}})}});