/*! For license information please see comments-comments-tab.js.LICENSE.txt */ (()=>{"use strict";let e=null;const s=new OCA.Files.Sidebar.Tab({id:"comments",name:t("comments","Comments"),iconSvg:'',async mount(t,s,n){e&&e.$destroy(),e=new OCA.Comments.View("files",{parent:n}),await e.update(s.id),e.$mount(t)},update(t){e.update(t.id)},destroy(){e.$destroy(),e=null},scrollBottomReached(){e.onScrollBottomReached()}});window.addEventListener("DOMContentLoaded",(function(){OCA.Files&&OCA.Files.Sidebar&&OCA.Files.Sidebar.registerTab(s)}))})(); //# sourceMappingURL=comments-comments-tab.js.map?v=33814ecdcacdd351bdf2