(()=>{var t,e;t=wp.media.view.AttachmentFilters.extend({id:"media-attachment-seo-filter",createFilters:function(){var t={};_.each(RankMathProMedia.filters||{},(function(e,r){t[r]={text:e,props:{attachment_seo_filter:r}}})),t.all={text:RankMathProMedia.filter_all,props:{},priority:10},this.filters=t}}),e=wp.media.view.AttachmentsBrowser,wp.media.view.AttachmentsBrowser=wp.media.view.AttachmentsBrowser.extend({createToolbar:function(){e.prototype.createToolbar.call(this),this.toolbar.set("MediaLibrarySEOFilter",new t({controller:this.controller,model:this.collection.props,priority:-75}).render())}})})();