define(["require","exports"],function(i,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=function(){function i(){$("#smtpAuthType").on("changed.fu.selectlist",this.rebuildVisibility.bind(this)),$("#emailTransport").on("changed.fu.selectlist",this.rebuildVisibility.bind(this)).trigger("changed.fu.selectlist")}return i.prototype.rebuildVisibility=function(){var i=$('[name="mailService[transport]"]').val(),e=$('[name="mailService[smtpAuthType]"]').val();$(".emailOption").hide(),"sendmail"==i||("mandrill"==i?$(".emailOption.mandrillApiKey").show():"mailgun"==i?($(".emailOption.mailgunApiKey").show(),$(".emailOption.mailgunDomain").show()):"smtp"==i&&($(".emailOption.smtpHost").show(),$(".emailOption.smtpPort").show(),$(".emailOption.smtpAuthType").show(),"none"!=e&&($(".emailOption.smtpUsername").show(),$(".emailOption.smtpPassword").show())))},i}();e.SiteConfig=t});
//# sourceMappingURL=SiteConfig.js.map
