/*! phoscon-app 2024-10-07 */

import{ButtonEvents}from"./state-constants.js";export const ApDeactivatedHandlerView=Backbone.View.extend({template:_.template(document.getElementById("ap-deactivated-template").innerHTML),id:"apDeactivated",className:"sub-view",initialize:function(){this.el.innerHTML=this.template(app.wifi),app.apStateElement.appendChild(this.el)},events:{"click .btn-change-config":function(){app.stateEventHandler(ButtonEvents.CONFIGURE_AP_PRESSED)}},render:function(){return this},show:function(){this.el.classList.add("active-view")},hide:function(){this.el.classList.remove("active-view")}});