(()=>{var e={n:r=>{var t=r&&r.__esModule?()=>r.default:()=>r;return e.d(t,{a:t}),t},d:(r,t)=>{for(var s in t)e.o(t,s)&&!e.o(r,s)&&Object.defineProperty(r,s,{enumerable:!0,get:t[s]})},o:(e,r)=>Object.prototype.hasOwnProperty.call(e,r),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},r={};(()=>{"use strict";e.r(r),e.d(r,{extend:()=>u});const t=flarum.reg.get("core","admin/app");var s=e.n(t);const a=flarum.reg.get("core","common/extenders");var l=e.n(a);const n=flarum.reg.get("core","common/query/IGambit"),o=flarum.reg.get("core","common/app");var i=e.n(o);class m extends n.KeyValueGambit{key(){return i().translator.trans("flarum-likes.lib.gambits.posts.likedBy.key",{},!0)}hint(){return i().translator.trans("flarum-likes.lib.gambits.posts.likedBy.hint",{},!0)}filterKey(){return"likedBy"}}flarum.reg.add("flarum-likes","common/query/posts/LikedByGambit",m);const u=[(new(l().Search)).gambit("posts",m),(new(l().Admin)).permission((()=>({icon:"far fa-thumbs-up",label:s().translator.trans("flarum-likes.admin.permissions.like_posts_label"),permission:"discussion.likePosts"})),"reply").setting((()=>({setting:"flarum-likes.like_own_post",type:"bool",label:s().translator.trans("flarum-likes.admin.settings.like_own_posts_label"),help:s().translator.trans("flarum-likes.admin.settings.like_own_posts_help")})))];s().initializers.add("flarum-likes",(()=>{}))})(),module.exports=r})();
//# sourceMappingURL=admin.js.map