!function(t){"use strict";function e(){var e,o,s=(e=t("#vp-post-formats-ui-tabs a"),o="",t("body").hasClass("gutenberg-editor-page")||e.length<1?t('select[name="jnews_single_post[format]"]').val():(e.each((function(){t(this).hasClass("current")&&(o=t(this).attr("href").replace("#post-format-",""))})),o));t("#normal-sortables > div").each((function(){t(this).is("#wpb_wpbakery")||t(this).is("jnews_video_option_metabox")&&t(this).attr("style"," ")})),"video"===s?t("#jnews_video_option_metabox").show():t("#jnews_video_option_metabox").hide()}t(window).on("load",(function(){!function(){e();var o=t("#vp-post-formats-ui-tabs a");t("body").hasClass("gutenberg-editor-page")||o.length<1?t('select[name="jnews_single_post[format]"]').on("change",e):o.on("click",e)}()}))}(jQuery);