(()=>{var e={n:t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},d:(t,n)=>{for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};(()=>{"use strict";e.r(t),e.d(t,{extend:()=>u});const n=flarum.reg.get("core","admin/app");var r=e.n(n);const a=flarum.reg.get("core","common/extenders");var o=e.n(a);const s=flarum.reg.get("core","common/query/IGambit"),m=flarum.reg.get("core","common/app");var i=e.n(m);class l extends s.KeyValueGambit{key(){return i().translator.trans("flarum-mentions.lib.gambits.posts.mentioned.key",{},!0)}hint(){return i().translator.trans("flarum-mentions.lib.gambits.posts.mentioned.hint",{},!0)}filterKey(){return"mentioned"}}flarum.reg.add("flarum-mentions","common/query/posts/MentionedGambit",l);const u=[(new(o().Search)).gambit("posts",l),(new(o().Admin)).setting((()=>({setting:"flarum-mentions.allow_username_format",type:"boolean",label:r().translator.trans("flarum-mentions.admin.settings.allow_username_format_label"),help:r().translator.trans("flarum-mentions.admin.settings.allow_username_format_text")}))).permission((()=>({permission:"mentionGroups",label:r().translator.trans("flarum-mentions.admin.permissions.mention_groups_label"),icon:"fas fa-at"})),"start")];r().initializers.add("flarum-mentions",(()=>{}))})(),module.exports=t})();
//# sourceMappingURL=admin.js.map