var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: !0 });
let UNLQa = null, qaInstance = null;
const querySelector = "#qa-test", pluginType = "single", pluginLoadAfterWatch = !1;
let isInitialized = !1;
function getQuerySelector() {
  return querySelector;
}
__name(getQuerySelector, "getQuerySelector");
function getPluginType() {
  return pluginType;
}
__name(getPluginType, "getPluginType");
function getPluginLoadAfterWatch() {
  return pluginLoadAfterWatch;
}
__name(getPluginLoadAfterWatch, "getPluginLoadAfterWatch");
function getIsInitialized() {
  return isInitialized;
}
__name(getIsInitialized, "getIsInitialized");
function isOnPage() {
  return document.querySelector(querySelector) !== null;
}
__name(isOnPage, "isOnPage");
async function initialize(options = {}) {
  return isInitialized ? qaInstance : (isInitialized = !0, document.querySelector(querySelector) === null ? null : (UNLQa = (await import("../components/component.qa.js?v=6.1.1")).default, qaInstance = new UNLQa(options), document.dispatchEvent(new CustomEvent("UNLPluginInitialized", {
    detail: {
      pluginType,
      pluginComponent: UNLQa,
      classInstance: qaInstance,
      styleSheetsLoaded: []
    }
  })), qaInstance));
}
__name(initialize, "initialize");
export {
  getIsInitialized,
  getPluginLoadAfterWatch,
  getPluginType,
  getQuerySelector,
  initialize,
  isOnPage
};
//# sourceMappingURL=plugin.qa.js.map
