define(["loading","globalize"],function(loading,globalize){"use strict";function FormHelper(){}return FormHelper.prototype.handleConfigurationSavedResponse=function(response){var options;loading.hide(),options=globalize.translate("MessageSettingsSaved"),require(["toast"]).then(function(responses){responses[0](options)})},FormHelper.prototype.handleErrorResponse=function(response){loading.hide();var options,status=""+response.status;response.statusText&&(status=response.statusText),options={title:status,text:response.headers?response.headers.get("X-Application-Error-Code"):null},require(["alert"]).then(function(responses){responses[0](options)})},new FormHelper});