function pageGeneratorProQuickTagsRegister(e){!function(i){for(const t in e)QTags.addButton("page_generator_pro_"+t,e[t].title,(function(){i.post(ajaxurl,{action:"page_generator_pro_output_tinymce_modal",shortcode:t},(function(o){wpZincQuickTagsModal.open(),i("div.wpzinc-quicktags-modal div.media-modal.wp-core-ui").css({width:e[t].modal.width+10+"px",height:e[t].modal.height+55+"px"}),i("#wpzinc-quicktags-modal").html(o),wp_zinc_tabs_init(),page_generator_pro_reinit_selectize(),wp_zinc_autocomplete_initialize(),page_generator_pro_conditional_fields_initialize(),i("select.wpzinc-conditional, .wpzinc-conditional select").trigger("change"),i('form.wpzinc-tinymce-popup select[name="maptype"]').trigger("change.page-generator-pro")}))}))}(jQuery)}pageGeneratorProQuickTagsRegister(page_generator_pro_quicktags);