!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=909)}({909:function(e,t,n){e.exports=n(910)},910:function(e,t){tinymce.PluginManager.add("wpf_mce_payment_button",(function(e,t){e.addButton("wpf_mce_payment_button",{title:"Insert Button Link",cmd:"wpf_mce_payment_command",image:t+"/tinymce_icon.png"}),e.addCommand("wpf_mce_payment_command",(function(){e.windowManager.open({title:window.wpf_tinymce_vars.title,body:[{type:"listbox",name:"wppayform_shortcode",label:window.wpf_tinymce_vars.label,values:window.wpf_tinymce_vars.forms},{type:"checkbox",name:"wppayform_show_title",label:"Show Form Title",values:"yes"},{type:"checkbox",name:"wppayform_show_description",label:"Show Form Description",values:"yes"}],width:768,height:150,onsubmit:function(t){if(!t.data.wppayform_shortcode)return alert(window.wpf_tinymce_vars.select_error),!1;var n="";t.data.wppayform_show_title&&(n+=' show_title="yes"'),t.data.wppayform_show_description&&(n+=' show_description="yes"');var o='[wppayform id="'.concat(t.data.wppayform_shortcode,'"]');n&&(o='[wppayform id="'.concat(t.data.wppayform_shortcode,'" ').concat(n,"]")),e.insertContent(o)},buttons:[{text:window.wpf_tinymce_vars.insert_text,subtype:"primary",onclick:"submit"}]},{tinymce:tinymce})}))}))}});