/*! phoscon-app 2024-02-26 */

import{ButtonEvents}from"./state-constants.js";import{appSetState}from"./state-handler.js";export const ApActiveNotConfHandlerView=Backbone.View.extend({template:_.template(document.getElementById("ap-active-not-conf-template").innerHTML),id:"apActiveNotConf",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.CHANGE_AP_PRESSED)}},render:function(){return this},show:function(){this.el.classList.add("active-view")},hide:function(){this.el.classList.remove("active-view")}});