wp.customize.controlConstructor["kirki-editor"]=wp.customize.kirkiDynamicControl.extend({initKirkiControl:function(i){var t,e,n;t=((i=i||this).container[0]||i.container).querySelector("textarea"),n="kirki-editor-"+i.id.replace("[","").replace("]",""),wp.editor&&wp.editor.initialize&&wp.editor.initialize(n,Object.assign({},{tinymce:{wpautop:!0},quicktags:!0,mediaButtons:!0},i.params.choices)),(e=tinyMCE.get(n))&&t&&e.onChange.add(function(n){var o;n.save(),t.value=o=e.getContent(),t.dispatchEvent(new Event("change",{bubbles:!0})),wp.customize.instance(i.id).set(o)})}});