define(["exports","./../modules/viewmanager/baseview.js","./../modules/common/globalize.js","./../modules/emby-elements/emby-button/emby-button.js","./../modules/emby-elements/emby-checkbox/emby-checkbox.js","./../modules/emby-elements/emby-scroller/emby-scroller.js","./../modules/approuter.js"],function(_exports,_baseview,_globalize,_embyButton,_embyCheckbox,_embyScroller,_approuter){function onSubmit(e){var options;return this.closest(".page").querySelector(".chkAccept").checked?_approuter.default.show("wizard/wizardfinish.html"):(options={text:_globalize.default.translate("MessagePleaseAcceptTermsOfServiceBeforeContinuing"),title:""},Emby.importModule("./modules/common/dialogs/alert.js").then(function(alert){return alert(options)})),e.preventDefault(),!1}function View(view,params){_baseview.default.apply(this,arguments),view.querySelector(".wizardAgreementForm").addEventListener("submit",onSubmit)}Object.defineProperty(_exports,"__esModule",{value:!0}),_exports.default=void 0,require(["css!wizard/wizard.css"]),Object.assign(View.prototype,_baseview.default.prototype);_exports.default=View});