define("discourse/plugins/discourse-hide-email/discourse/initializers/hide-email",["exports","discourse/lib/plugin-api"],(function(e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"hide-email",initialize:function(){(0,i.withPluginApi)("0.8.31",(function(e){var i=e.container.lookup("site-settings:main");i.hide_email_enabled&&(e.modifyClass("controller:user",{canCheckEmails:function(){return!1}.property()}),e.modifyClass("controller:preferences/account",{canCheckEmails:function(){return!1}.property()}),e.modifyClass("component:user-card-contents",{canCheckEmails:function(){return!1}.property()}),i.hide_email_password_reset_enabled||e.modifyClass("controller:preferences/security",{canChangePassword:function(){return!1}.property()}),i.hide_email_recently_used_devices_enabled||e.modifyClass("controller:preferences/security",{canCheckEmails:function(){return!1}.property()}))}))}};e.default=n}));
//# sourceMappingURL=https://doy2mn9upadnk.cloudfront.net/assets/plugins/discourse-hide-email-449257f46ac19d435449444adfe0ff872ccc8b4a95c60ab5df7879ee3f947023.js.map