define(["exports","./../../modules/viewmanager/basesettingsview.js","./../../modules/loading/loading.js","./../../modules/emby-elements/emby-input/emby-input.js","./../../modules/emby-elements/emby-toggle/emby-toggle.js"],function(_exports,_basesettingsview,_loading,_embyInput,_embyToggle){function DatabaseView(view,params){_basesettingsview.default.apply(this,arguments),view.querySelector("form").addEventListener("submit",function(e){return _loading.default.show(),this.saveAutoSettings(),e.preventDefault(),e.stopPropagation(),!1}.bind(this))}Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.default=void 0,Object.assign(DatabaseView.prototype,_basesettingsview.default.prototype),DatabaseView.prototype.loadSettingsInternal=function(){return this.loadAutoSettings()};_exports.default=DatabaseView});