text: !function(){for(var t=JSON.parse(localized_data.forms),e=parseInt(t.length-1),i=0;i<=e;)t[i].text=decodeURI(t[i].text.replace(/\+/g," ")),i++;tinymce.PluginManager.add("yks_mc_tinymce_button",function(e){e.addButton("yks_mc_tinymce_button_key",{image:t.tinymce_icon,title:localized_data.button_title,onclick:function(){e.windowManager.open({title:localized_data.popup_title,body:[{type:"listbox",name:"list_id",label:localized_data.list_id_label,values:t},{type:"checkbox",name:"show_title",label:localized_data.show_title_label},{type:"checkbox",name:"show_description",label:localized_data.show_description_label},{type:"textbox",name:"submit_button_text",label:localized_data.submit_button_text_label},{type:"container",name:"submit_button_message",html:localized_data.submit_button_message}],id:"yikes_mailchimp_tinyMCE_modal",onsubmit:function(t){var i=t.data.list_id,a=t.data.submit_button_text,l=t.data.show_title,n=t.data.show_description;if("-"==i)return jQuery("#yikes_mailchimp_tinyMCE_modal").find(".mce-foot").find(".mce-widget").hide(),jQuery("#yikes_mailchimp_tinyMCE_modal-absend").next().prepend('<div class="error"><p>'+localized_data.alert_translated+"</p></div>"),!1;var o=[];o.push('form="'+i+'"'),!0===l&&o.push('title="1"'),!0===n&&o.push('description="1"'),""!==a&&o.push('submit="'+a+'"'),e.insertContent("[yikes-mailchimp "+o.join(" ")+"]")}})}})})}();