(()=>{jQuery("document").ready(function(t){wp.data.subscribe(function(){if(wp.data&&wp.data.select("core/editor")){var t=wp.data.select("core/editor").getEditedPostAttribute("type");var e=tutorProCourseBundle,r=e.course_bundle_list_page_url,o=e.course_bundle_post_type;if(t===o){var a=wp.data.select("core/editor").getEditedPostAttribute("status");if(a==="trash"){window.location.href=r}}}})})})();