'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index = require('./index-04930e74.js');
const chunkLAFZBYO7 = require('./chunk-LAFZBYO7-25f2fb11.js');

const NKIsNotConnected = class {
  constructor(hostRef) {
    index.registerInstance(this, hostRef);
    this.isNotConnected = true;
  }
  componentWillLoad() {
    this.disconnect = chunkLAFZBYO7.watchAccount((account) => {
      this.isNotConnected = !account.isConnected;
    });
  }
  disconnectedCallback() {
    this.disconnect();
  }
  render() {
    return index.h(index.Host, null, this.isNotConnected ? index.h("slot", null) : null);
  }
};

exports.nk_is_not_connected = NKIsNotConnected;

//# sourceMappingURL=nk-is-not-connected.cjs.entry.js.map