function wpdbf_forceconfdel(){jQuery("#nfpdp_prize_draw_pro_delete_form").submit()}document.set_to_post_id=null,function(a,b,c){a(function(){"use strict";function d(){return b?(b.uploader.uploader.param("post_id",document.set_to_post_id),void b.open()):(wp.media.model.settings.post.id=document.set_to_post_id,b=wp.media.frames.file_frame=wp.media({title:jQuery(this).data("uploader_title"),button:{text:jQuery(this).data("uploader_button_text")},multiple:!0}),b.on("select",function(){var a=b.state().get("selection");a.map(function(a){a=a.toJSON(),e(a.id)}),wp.media.model.settings.post.id=c}),void b.open())}function e(b){var c={action:"get_store_image",id:b};a("#store_logo").val(b),jQuery.post(ajaxurl,c,function(b){b&&a(".thumbnail_container").html(b)})}var b,c=wp.media.model.settings.post.id;jQuery("#logo_selector_button").bind("click",function(a){a.preventDefault(),d()}),jQuery("a.add_media").on("click",function(){})})}(jQuery,this);