(function framework7ComponentLoader(e,n){void 0===n&&(n=!0);var t=e.$,o=(e.Template7,e.utils),r=(e.getDevice,e.getSupport,e.Class,e.Modal),i=(e.ConstructorMethods,e.ModalMethods),a=o.extend;function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var s=function(e){var n,o;function r(n,o){var r,i,s=a({on:{}},o),l=c(r=e.call(this,n,s)||this);return l.params=s,(i=l.params.el?t(l.params.el).eq(0):t(l.params.content).filter((function(e){return 1===e.nodeType})).eq(0))&&i.length>0&&i[0].f7Modal?i[0].f7Modal||c(r):0===i.length?l.destroy()||c(r):(a(l,{app:n,$el:i,el:i[0],type:"loginScreen"}),i[0].f7Modal=l,l||c(r))}return o=e,(n=r).prototype=Object.create(o.prototype),n.prototype.constructor=n,n.__proto__=o,r}(r),l={name:"loginScreen",static:{LoginScreen:s},create:function(){this.loginScreen=i({app:this,constructor:s,defaultSelector:".login-screen.modal-in"})},clicks:{".login-screen-open":function(e,n){void 0===n&&(n={});this.loginScreen.open(n.loginScreen,n.animate,e)},".login-screen-close":function(e,n){void 0===n&&(n={});this.loginScreen.close(n.loginScreen,n.animate,e)}}};if(n){if(e.prototype.modules&&e.prototype.modules[l.name])return;e.use(l),e.instance&&(e.instance.useModuleParams(l,e.instance.params),e.instance.useModule(l))}return l}(Framework7, typeof Framework7AutoInstallComponent === 'undefined' ? undefined : Framework7AutoInstallComponent))
