var __defProp = Object.defineProperty;
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __publicField = (obj, key, value) => {
  __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
  return value;
};
import { l as e } from "./loglevel-dd4a2561.js";
import { i as t, g as n, aH as r, aI as s, ab as a, t as o, Y as i, aJ as c, aK as u, au as l } from "./constants-6ebafe5b.js";
import d, { createContext as p, useRef as g, useEffect as M, useState as m, useContext as h, useMemo as y, useCallback as f } from "react";
import { Z as I, _ as N, p as D, H as A, y as b, z as w } from "./react-d37f274e.js";
import { E as j, cm as z, gh as C, gq as L, gr as T, bd as x } from "./comps-f4e34e6a.js";
import { A as S, ae as E, p as k, af as O, J as v, ag as U } from "./app_redux-c7ca7a7f.js";
import { l as Q } from "./pages-06cd5d02.js";
import { _ as P, l as Y } from "./lodash-62e10097.js";
import { hx as R, j as Z, m as H, hy as K, hz as B, hA as G, hB as $, hC as W, hD as _, hE as J, hF as F, hG as q, hH as V, hI as X, hJ as ee, hK as te, hL as ne, hM as re, B as se, f6 as ae, hN as oe, hO as ie, hP as ce, hQ as ue, hR as le, hS as de, hT as pe, hU as ge, hV as Me, hW as me, hX as he, hY as ye, D as fe, C as Ie, J as Ne, L as De, F as Ae, x as be, hZ as we, h_ as je, h$ as ze, f7 as Ce, i0 as Le, i1 as Te } from "./common-64096f9e.js";
import { g as xe, t as Se } from "./i18n-1c9e1aab.js";
import { d as Ee, r as ke, t as Oe, f as ve, u as Ue, q as Qe, b as Pe, i as Ye, g as Re, h as Ze, j as He, c as Ke, a as Be, k as Ge, l as $e, m as We, n as _e, o as Je, p as Fe, s as qe, v as Ve, e as Xe, x as et, y as tt, z as nt, A as rt, B as st, C as at, D as ot, E as it, F as ct, G as ut } from "./dayjs-00865bc8.js";
import { be as lt, c8 as dt, ca as pt, dc as gt } from "./vendor-208d0ff5.js";
import { b as Mt } from "./buffer-0899ca42.js";
import { F as mt } from "./file-saver-6ceaa247.js";
import { u as ht, a as yt } from "./styled-components-f8105b39.js";
import { p as ft } from "./immer-c0428a8d.js";
import { h as It } from "./hotkeys-js-699906bc.js";
import { U as Nt } from "./ua-parser-js-01b0a093.js";
const Dt = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjAwcHgiIGhlaWdodD0iMjAwcHgiIHZpZXdCb3g9IjAgMCAyMDAgMjAwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPGRlZnM+CiAgICAgICAgPGxpbmVhckdyYWRpZW50IHgxPSIwLjQ1ODA2MzM3NyUiIHkxPSIwLjQ1NTg2MjA4OCUiIHgyPSI5Ni4zNzkyMTM4JSIgeTI9Ijk2LjMzNjEwNDclIiBpZD0ibGluZWFyR3JhZGllbnQtMSI+CiAgICAgICAgICAgIDxzdG9wIHN0b3AtY29sb3I9IiNEMEQ2RTIiIG9mZnNldD0iMCUiPjwvc3RvcD4KICAgICAgICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iI0E4QjNDOSIgb2Zmc2V0PSIxMDAlIj48L3N0b3A+CiAgICAgICAgPC9saW5lYXJHcmFkaWVudD4KICAgIDwvZGVmcz4KICAgIDxnIGlkPSLlm77niYfnu4Tku7bpu5jorqTlm74iIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSLnvJbnu4QtNSI+CiAgICAgICAgICAgIDxyZWN0IGlkPSLnn6nlvaIiIGZpbGw9InVybCgjbGluZWFyR3JhZGllbnQtMSkiIHg9IjAiIHk9IjAiIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAw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}$/.test(e2), wt = (e2) => At.test(e2), jt = "__cache__";
function zt(e2, t2, n2) {
  const r2 = n2.value, s2 = jt + t2;
  n2.value = function(...e3) {
    const t3 = this;
    return t3[s2] || (t3[s2] = [r2.apply(this, e3)]), t3[s2][0];
  };
}
const Ct = (t2, n2, r2, s2, a2, o2) => {
  r2 > 20 && e.warn(t2, n2, r2, s2, a2, o2);
};
function Lt(e2, t2, n2, r2) {
  const s2 = "__lvif__" + t2;
  return e2[s2] && r2(e2[s2], n2) ? e2[s2] : (e2[s2] = n2, n2);
}
function Tt(e2, t2, n2, r2) {
  return Lt(e2, t2, { delay: r2, mode: n2, func: "throttle" === n2 ? P.throttle((e3) => e3(), r2, { trailing: false }) : P.debounce((e3) => e3(), r2) }, (e3, t3) => e3.delay === t3.delay && e3.mode === t3.mode).func;
}
function xt(e2, t2) {
  return e2 === t2 || Object.keys(e2).length === Object.keys(t2).length && Object.keys(e2).every((n2) => t2.hasOwnProperty(n2) && e2[n2] === t2[n2]);
}
function St(e2, t2) {
  if (void 0 === t2)
    return true;
  return -1 === Object.keys(t2).findIndex((n2) => e2[n2] !== t2[n2]);
}
function Et(e2, t2, n2 = 1 / 0) {
  if (0 === n2)
    return false;
  if (e2 === t2)
    return true;
  if (!P.isObjectLike(e2) || !P.isObjectLike(t2))
    return false;
  return P.size(e2) === P.size(t2) && P.every(e2, (e3, r2) => Et(e3, t2[r2], n2 - 1));
}
function kt(e2, t2) {
  return Ot(e2, t2);
}
function Ot(e2, t2, n2) {
  const r2 = Object.assign(Object.create(Object.getPrototypeOf(e2)), e2);
  return Object.keys(r2).forEach((e3) => {
    if (e3.startsWith(jt)) {
      const t3 = e3.slice(jt.length);
      (n2 == null ? void 0 : n2.keepCacheKeys) && (n2 == null ? void 0 : n2.keepCacheKeys.includes(t3)) || delete r2[e3];
    }
  }), Object.assign(r2, t2);
}
const vt = { Number: "number", Boolean: "boolean", String: "string", Object: "object" };
function Ut(e2) {
  let t2 = {}.toString.call(e2).match(/\s([a-zA-Z]+)/)[1];
  return vt.hasOwnProperty(t2) && (t2 = vt[t2]), t2;
}
function Qt(t2) {
  try {
    return JSON.stringify(t2);
  } catch (t3) {
    return e.error(t3), "";
  }
}
const Pt = (e2, t2) => {
  if (e2.key === t2)
    return e2;
  let n2;
  if (e2.children.length) {
    for (const r2 of e2.children)
      if (n2 = Pt(r2, t2), n2)
        return n2;
  }
  return null;
};
function Yt(e2, t2) {
  let n2;
  for (const r2 of e2)
    if (n2 = Pt(r2, t2), n2)
      return n2;
  return null;
}
const Rt = (e2, t2, n2) => {
  if (e2.key === t2)
    return true;
  let r2;
  if (e2.children.length) {
    for (const s2 of e2.children)
      if (r2 = Rt(s2, t2, n2), r2)
        return n2.push(e2.key), true;
  }
  return false;
};
function Zt(e2, t2) {
  let n2;
  const r2 = [];
  for (const s2 of e2)
    if (n2 = Rt(s2, t2, r2), n2)
      return r2;
  return r2;
}
const Ht = function() {
  let e2 = 0;
  const t2 = /* @__PURE__ */ new WeakMap();
  return (n2) => {
    if (P.isNil(n2))
      return 0;
    if (t2.has(n2))
      return t2.get(n2);
    const r2 = ++e2;
    return t2.set(n2, r2), r2;
  };
}(), Kt = lt(), Bt = { left: true, bottom: true, right: true }, Gt = { bottom: { h: 285 }, codeEditor: { w: 744, h: 468 } };
function $t(e2) {
  localStorage.setItem("editor_panel_status", JSON.stringify(e2));
}
function Wt() {
  const e2 = localStorage.getItem("editor_panel_status");
  return e2 ? { ...Bt, ...JSON.parse(e2) } : Bt;
}
function _t(e2) {
  localStorage.setItem("editor_mode_status", e2);
}
function Jt(e2) {
  localStorage.setItem("disableCollision", String(e2));
}
function Ft() {
  return "true" === localStorage.getItem("disableCollision");
}
function qt() {
  localStorage.removeItem("disableCollision");
}
const Vt = "both";
function Xt() {
  const e2 = localStorage.getItem("editor_mode_status");
  return e2 || Vt;
}
function en(e2) {
  localStorage.setItem("editor_panel_style", JSON.stringify(e2));
}
function tn() {
  const e2 = localStorage.getItem("editor_panel_style");
  return e2 ? { ...Gt, ...JSON.parse(e2) } : Gt;
}
function nn(e2) {
  localStorage.setItem("main_comp", JSON.stringify(e2));
}
function rn() {
  const t2 = localStorage.getItem("main_comp");
  try {
    return t2 ? JSON.parse(t2) : {};
  } catch (t3) {
    return e.error("get local comp fail", t3), {};
  }
}
function sn(e2) {
  localStorage.setItem("lowcoder_home_layout", e2);
}
function an() {
  const e2 = localStorage.getItem("lowcoder_home_layout");
  return "list" === e2 || "card" === e2 ? e2 : "card";
}
function on() {
  return localStorage.getItem("theme_id");
}
function cn(e2) {
  return localStorage.setItem("theme_id", e2);
}
class un extends TypeError {
  constructor(e2, t2) {
    super(e2);
    __publicField(this, "hint");
    this.hint = t2;
  }
}
function ln(e2, t2, n2) {
  let r2 = t2;
  const s2 = n2 ?? typeof t2;
  return "string" === s2 && (r2 = "`" + r2 + "`"), `Type "${e2}" is required, but find "${s2}" type with value: ${r2}`;
}
function dn(e2) {
  return null == e2 ? "" : "string" == typeof e2 || "number" == typeof e2 ? e2 : pn(e2);
}
function pn(e2) {
  return null == e2 ? "" : "string" == typeof e2 ? e2 : e2 instanceof Date ? e2.toISOString() : e2 instanceof RegExp ? e2.toString() : JSON.stringify(e2, (e3, t2) => "bigint" == typeof t2 ? t2.toString() : t2);
}
function gn(e2) {
  if (null == e2 || "" === e2 || isNaN(e2))
    return 0;
  if ("number" == typeof e2)
    return e2;
  const t2 = Number(e2);
  return Number.isFinite(t2) ? t2 : 0;
}
function Mn(e2) {
  const t2 = Number(e2);
  return isNaN(t2) ? e2 : t2;
}
function mn(e2) {
  return "0" !== e2 && "false" !== e2 && !!e2;
}
function hn(e2) {
  if (null == e2 || "" === e2)
    return {};
  if ("object" == typeof e2 && !Array.isArray(e2))
    return yn(e2);
  throw new TypeError(ln("JSON Object", e2));
}
function yn(e2) {
  return JSON.stringify(e2, (e3, t2) => {
    switch (typeof t2) {
      case "string":
      case "number":
      case "boolean":
      case "object":
        return t2;
      default:
        throw new TypeError(ln("JSON", t2, e3));
    }
  }), e2;
}
function fn(e2) {
  return void 0 === e2 ? "" : yn(e2);
}
function In(e2) {
  if (null == e2 || "" === e2)
    return {};
  if ("object" == typeof e2 && !Array.isArray(e2))
    return e2;
  throw new TypeError(ln("Object", e2));
}
function Nn(e2, t2) {
  if (null == e2 || "" === e2)
    return [];
  if (Array.isArray(e2))
    return t2 ? e2.map(t2) : e2;
  if ("string" == typeof e2 && e2.startsWith("["))
    throw new un(ln("Array", e2), "Forget to use JSON.parse()?");
  throw new TypeError(ln("Array", e2));
}
function Dn(e2) {
  return Nn(e2, dn);
}
function An(e2) {
  return Nn(e2, pn);
}
function bn(e2) {
  return Nn(e2, gn);
}
function wn(e2) {
  return Nn(e2, hn);
}
function jn(e2) {
  return Nn(e2, fn);
}
function zn(e2) {
  const t2 = Number(e2);
  return Number.isFinite(t2) ? t2 : Nn(e2, hn);
}
function Cn(e2) {
  return "string" == typeof e2 ? e2 : hn(e2);
}
function Ln(e2) {
  return Array.isArray(e2) ? jn(e2) : hn(e2);
}
function Tn(e2, t2, n2) {
  if (e2 === t2)
    return false;
  if (null == e2)
    return true;
  switch (typeof t2) {
    case "string":
      return "string" == typeof e2 ? t2.trim() !== e2.trim() : t2 !== pn(e2);
    case "number":
      return "string" != typeof e2 || e2.trim() !== t2.toString();
    case "boolean":
      return "string" != typeof e2 || e2.trim() !== t2.toString() || (n2 == null ? void 0 : n2.trim()) !== t2.toString();
    case "undefined":
      return true;
    case "object":
      return null === t2;
    default:
      return false;
  }
}
function xn(e2, t2, n2, r2) {
  const s2 = typeof e2;
  switch (s2) {
    case "string":
    case "number":
    case "boolean":
    case "undefined":
      if (t2.includes(s2))
        return e2;
      break;
    case "object":
      if (null === e2) {
        if (t2.includes("null"))
          return e2;
      } else if (Array.isArray(e2)) {
        if (t2.includes("array"))
          return e2.map((e3, t3) => r2 == null ? void 0 : r2(e3, t3.toString()));
      } else if (t2.includes("object"))
        return e2;
  }
  throw new TypeError(ln(t2.filter((e3) => "undefined" !== e3).join(" | "), e2, void 0 !== n2 ? n2 + ": " : ""));
}
function Sn(e2) {
  if (null != e2 && "" !== e2)
    return "true" === e2.toLocaleLowerCase() || "false" === e2.toLocaleLowerCase() ? "true" === e2.toLocaleLowerCase() : hn(JSON.parse(e2));
}
function En(e2) {
  if (null == e2 || "" === e2)
    return;
  if ("true" === e2.toLocaleLowerCase() || "false" === e2.toLocaleLowerCase())
    return "true" === e2.toLocaleLowerCase();
  const t2 = hn(JSON.parse(e2));
  if (t2.pointAtCenter)
    return t2;
  throw new TypeError(ln("Object or Boolean", e2));
}
const kn = /[\u3040-\u30ff\u3400-\u4dbf\u4e00-\u9fff\uf900-\ufaff\uff66-\uff9f]/, On = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjAwcHgiIGhlaWdodD0iMjAwcHgiIHZpZXdCb3g9IjAgMCAyMDAgMjAwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPGRlZnM+CiAgICAgICAgPGxpbmVhckdyYWRpZW50IHgxPSIwLjQ1ODA2MzM3NyUiIHkxPSIwLjQ1NTg2MjA4OCUiIHgyPSI5Ni4zNzkyMTM4JSIgeTI9Ijk2LjMzNjEwNDclIiBpZD0ibGluZWFyR3JhZGllbnQtMSI+CiAgICAgICAgICAgIDxzdG9wIHN0b3AtY29sb3I9IiNEMEQ2RTIiIG9mZnNldD0iMCUiPjwvc3RvcD4KICAgICAgICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iI0E4QjNDOSIgb2Zmc2V0PSIxMDAlIj48L3N0b3A+CiAgICAgICAgPC9saW5lYXJHcmFkaWVudD4KICAgIDwvZGVmcz4KICAgIDxnIGlkPSLlm77niYfnu4Tku7bpu5jorqTlm74iIHN0cm9rZT0ibm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0NCAxNS40LDEyLjQ1NDYxOTkgMTUuNCwxMCBDMTUuNCw3LjU0NTM4MDE0IDEzLjQzMDA3MzcsNS41NTU1NTU1NiAxMSw1LjU1NTU1NTU2IFoiIGlkPSLlvaLnirbnu5PlkIgiPjwvcGF0aD4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+", vn = (e2, t2) => {
  if (!e2)
    return [""];
  let n2 = "";
  if (kn.test(e2))
    n2 = t2 ? e2.slice(-2) : e2.slice(0, 2);
  else {
    let r2 = (e2 ? e2.replace(/([a-z])([A-Z])/g, "$1 $2") : "").split(" ").map((e3) => e3.charAt(0)).join("").toUpperCase();
    n2 = t2 ? r2.slice(-2) : r2.slice(0, 2);
  }
  return [n2, Un(n2)];
}, Un = (e2) => {
  let t2 = 0;
  for (let n2 = 0; n2 < e2.length; n2++)
    t2 += e2[n2].charCodeAt(0);
  return Qn[t2 % Qn.length];
}, Qn = ["#FA9C3F", "#FFD400", "#A040FF", "#079968", "#2440B3", "#2693FF", "#4965F2", "#3377FF", "#ff4d4f", "#d4380d", "#873800", "#ffc53d", "#d4b106", "#3f6600", "#73d13d", "#08979c", "#003a8c", "#597ef7", "#531dab", "#780650"], Pn = /^1\d{10}$/, Yn = /^[\w-+.]+@([\w-]+\.)+[\w-]{2,}$/, Rn = /^(https?:\/\/)?([\w-])+\.{1}([a-zA-Z]{2,63})([/\w-]*)*\/?\??([^#\n\r]*)?#?([^\n\r]*)$/, Zn = (e2) => /^\d{6}$/.test(e2), Hn = (e2) => Pn.test(e2), Kn = (e2) => "admin@localhost" === e2 || Yn.test(e2), Bn = (e2, t2, n2) => {
  const r2 = new RegExp(`^${e2}(\\d+)$`), s2 = t2.map((e3) => {
    if (e3 && r2.test(e3)) {
      const t3 = e3.match(r2), n3 = t3 && Array.isArray(t3) ? parseInt(t3[1], 10) : 0;
      return Number.isNaN(n3) ? 0 : n3;
    }
    return 0;
  }), a2 = Math.max(...s2, 0);
  if (n2 && 0 === a2) {
    if (!t2.some((t3) => e2 && t3.trim() === e2.trim()))
      return e2.trim();
  }
  return e2 + (a2 + 1);
};
function Gn(e2, t2) {
  if (t2 || (t2 = Math.max(Math.floor(e2.length / 2 - 1), 1)), !e2)
    return "";
  const n2 = Math.floor((e2.length - t2) / 2);
  return e2.slice(0, n2) + "*".repeat(t2) + e2.slice(n2 + t2);
}
function $n(t2) {
  if (t2 instanceof RegExp)
    return t2.toString();
  if (void 0 === t2 || "number" == typeof t2)
    return t2 + "";
  if ("string" == typeof t2)
    return '"' + t2 + '"';
  const n2 = JSON.stringify(t2, function(e2, t3) {
    switch (typeof t3) {
      case "undefined":
        return "undefined";
      case "function":
      case "bigint":
      case "symbol":
        return t3.toString();
      case "number":
        if (!isFinite(t3))
          return t3.toString();
    }
    return t3;
  });
  return void 0 === n2 ? (e.warn("toReadableString get undefined:", t2), "") : n2;
}
function Wn(e2) {
  return !Array.isArray(e2) && (!isNaN(parseFloat(e2)) && isFinite(e2));
}
function _n(e2) {
  var t2 = 0;
  if (!e2)
    return t2;
  for (let n2 = 0; n2 < e2.length; n2++)
    t2 = (t2 << 5) - t2 + e2.charCodeAt(n2), t2 |= 0;
  return t2;
}
function Jn(e2, ...t2) {
  return e2 ? e2.replace(/{(\d+)}/g, function(e3, n2) {
    return void 0 !== t2[n2] ? t2[n2] : e3;
  }) : t2.toString();
}
const Fn = p({ applicationId: "", appType: t.Application, showAppSettingModal: false, showScriptsAndStyleModal: false, changeExternalState: () => {
} }), qn = "__promise__params__";
function Vn(e2) {
  return e2[qn];
}
function Xn(e2, t2, n2, r2, s2) {
  const { notHandledError: a2, autoHandleAfterReduce: o2 } = s2 || {};
  let i2 = false;
  e2(function(e3, t3) {
    const n3 = Object.assign({}, e3);
    return n3[qn] = t3, n3;
  }(t2, { resolve: n2, reject: r2, notHandledError: a2, autoHandleAfterReduce: o2, setHandled: () => {
    i2 = true;
  }, reduceWrapper: (e3) => {
    try {
      e3(), i2 || (o2 ? (n2(), i2 = true) : r2(a2 ?? "not handled"));
    } catch (e4) {
      r2(e4);
    }
  } }));
}
function er(e2) {
  return (t2) => {
    const n2 = Vn(t2);
    n2 ? n2.reduceWrapper(() => e2(t2)) : e2(t2);
  };
}
function tr(e2, t2, n2) {
  return new Promise((r2, s2) => Xn(e2, t2, r2, s2, n2));
}
function nr(e2, t2, n2, r2) {
  return new Promise((s2, a2) => e2(() => Xn(t2, n2, s2, a2, r2)));
}
function rr(e2, t2, n2) {
  const r2 = Vn(e2);
  r2 ? (Xn(t2, n2, r2.resolve, r2.reject, { notHandledError: r2.notHandledError, autoHandleAfterReduce: r2.autoHandleAfterReduce }), r2.setHandled()) : t2(n2);
}
function sr(e2, t2) {
  const n2 = Vn(e2);
  n2 && (Promise.resolve(t2).then(n2.resolve, n2.reject), n2.setHandled());
}
function ar() {
  Ee.locale(xe());
  e.setLevel("error");
}
const or = (() => {
  const e2 = "undefined" != typeof navigator ? navigator.platform : void 0;
  return !!e2 && /Mac/.test(e2);
})(), ir = /^([A-Za-z\d+/]{4})*([A-Za-z\d+/]{3}=|[A-Za-z\d+/]{2}==)?$/, cr = (e2) => "string" == typeof e2 && ir.test(e2), ur = new Image(0, 0);
function lr(e2) {
  const t2 = document.createElement("script");
  t2.type = "text/javascript", t2.textContent = e2, document.body.appendChild(t2);
}
async function dr(e2) {
  return new Promise((t2, n2) => {
    const r2 = document.createElement("script");
    r2.type = "text/javascript", r2.src = e2, r2.onerror = n2, r2.onload = (e3) => {
      t2(e3);
    }, document.body.appendChild(r2);
  });
}
function pr(e2) {
  return !Y.isNil(e2) && e2 <= 500;
}
ur.src = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7";
const gr = (e2) => {
  try {
    return new URL(e2).origin === window.location.origin;
  } catch (e3) {
    return false;
  }
};
function Mr(e2) {
  return e2 ? new URL(e2, n || window.location.origin).toString() : "";
}
const mr = (e2) => Pn.test(e2), hr = (e2) => e2 ? `${window.location.origin}/invite/${e2}` : "", yr = (e2) => !!new URLSearchParams(window.location.search).get(e2), fr = d.createContext(false);
function Ir(e2) {
  if (!e2)
    return false;
  const { viewMode: t2 } = e2;
  return "preview" === t2 || "view" === t2 || "view_marketplace" === t2;
}
function Nr() {
  return Ir(I());
}
function Dr() {
  return I();
}
function Ar() {
  const e2 = N().search, t2 = new URLSearchParams(e2);
  return Number(t2.get("mjMaxWidth")) || void 0;
}
function br() {
  const e2 = N().search;
  if (!Nr)
    return false;
  return !!new URLSearchParams(e2).get("template");
}
function wr() {
  return I().applicationId;
}
function jr() {
  const e2 = Q(), t2 = e2 && e2.redirectUrl;
  return t2 && decodeURIComponent(t2);
}
function zr(e2, t2) {
  const n2 = g(e2);
  M(() => {
    n2.current = () => e2();
  }, [e2]), M(() => {
    if (!t2 || t2 < 100 || Number.isNaN(t2))
      return;
    let n3, r2 = false;
    const s2 = () => n3 = window.setTimeout(() => e2().finally(() => !r2 && s2()), t2);
    return s2(), () => {
      r2 = true, window.clearTimeout(n3);
    };
  }, [t2]);
}
function Cr(e2, t2) {
  const [n2, r2] = m(e2), [s2, a2] = m(n2);
  return M(() => {
    n2 === s2 || t2 || a2(n2);
  }, [t2, s2, n2]), [s2, r2];
}
function Lr(e2) {
  return D(e2, A);
}
function Tr() {
  const e2 = N().pathname;
  return e2.startsWith("MODULE_APPLICATIONS_URL") ? "module" : e2.startsWith(r) ? "datasource" : e2.startsWith(s) ? "queryLibrary" : "application";
}
function xr() {
  const e2 = h(j);
  return pr(e2 == null ? void 0 : e2.getAppSettings().maxWidth);
}
function Sr(e2) {
  const t2 = D(S);
  return y(() => function(e3, t3) {
    var _a;
    let n2 = {};
    return (_a = e3[t3]) == null ? void 0 : _a.forEach((e4) => {
      var _a2;
      n2[e4.name] = "table", (_a2 = e4.columns) == null ? void 0 : _a2.forEach((e5) => {
        n2[e5.name] = e5.type;
      });
    }), n2;
  }(t2, e2), [t2, e2]);
}
function Er(e2, t2) {
  var _a, _b, _c;
  const n2 = h(j), r2 = h(z), s2 = h(C), a2 = (_b = (_a = r2 == null ? void 0 : r2.theme) == null ? void 0 : _a.components) == null ? void 0 : _b[s2], o2 = r2 == null ? void 0 : r2.themeId, i2 = n2 == null ? void 0 : n2.getAppSettingsComp(), c2 = (_c = i2 == null ? void 0 : i2.getView()) == null ? void 0 : _c.preventAppStylesOverwriting, { preventStyleOverwriting: u2, appliedThemeId: l2 } = e2, d2 = Object.keys(e2).filter((e3) => e3.toLowerCase().endsWith("style") || e3.toLowerCase().endsWith("styles")), p2 = {};
  d2.forEach((t3) => {
    p2[t3] = e2[t3];
  });
  const g2 = f(({ dispatch: e3, compTheme: t3, styleProps: n3, themeId: r3 }) => {
    L({ dispatch: e3, compTheme: t3, styleProps: n3, themeId: r3 });
  }, []);
  M(() => {
    c2 || u2 || o2 === l2 || g2({ dispatch: t2, compTheme: a2, styleProps: p2, themeId: o2 });
  }, [o2, JSON.stringify(p2), JSON.stringify(a2), g2, c2, u2]);
}
function kr(e2) {
  var _a;
  const t2 = ((_a = h(z)) == null ? void 0 : _a.theme) ?? {}, n2 = ["primary", "textDark", "textLight", "canvas", "primarySurface", "border"];
  return y(() => {
    let r2 = [];
    return n2.forEach((e3) => {
      Boolean(a[e3]) && r2.push(a[e3] ?? ""), Boolean(t2[e3]) && r2.push(t2[e3] ?? "");
    }), e2 || (r2 = r2.concat(R)), Y.uniq(r2);
  }, [t2, a]);
}
const Or = (e2) => {
  const t2 = b(), n2 = D((e3) => E(e3)), [r2, s2] = m(0);
  return M(() => {
    e2 && t2(k(e2));
  }, [t2, e2]), M(() => {
    Object.values(n2).length && n2.hasOwnProperty("totalAdminsAndDevelopers") && s2(n2.totalAdminsAndDevelopers);
  }, [n2]), r2;
};
function vr(e2) {
  return or ? e2.metaKey : e2.ctrlKey;
}
const Ur = or ? "⌘" : "Ctrl", Qr = `${Ur} Z`, Pr = `${Ur} V`;
function Yr(e2) {
  return vr(e2) || e2.shiftKey;
}
const Rr = { Backquote: "`", Minus: "-", Equal: "=", BracketLeft: "[", BracketRight: "]", Backslash: "\\", Semicolon: ";", Quote: "'", Comma: ",", Period: ".", Slash: "/", NumpadAdd: "+", NumpadSubtract: "-", NumpadMultiply: "*", NumpadDivide: "/", NumpadEqual: "=", NumpadDecimal: ".", NumpadComma: ",", NumpadEnter: "Enter", MetaLeft: "", MetaRight: "", OSLeft: "", OSRight: "", ControlLeft: "", ControlRight: "", AltLeft: "", AltRight: "", ShiftLeft: "", ShiftRight: "" }, Zr = ["Key", "Digit", "Numpad"];
function Hr(e2) {
  if (e2.shiftKey && !(e2.metaKey || e2.ctrlKey || e2.altKey) && 1 === e2.key.length) {
    const t3 = e2.key.charCodeAt(0);
    if (t3 > 32 && t3 < 127)
      return e2.key.toUpperCase();
    if (t3 > 65280 && t3 < 65375)
      return String.fromCharCode(t3 - 65248).toUpperCase();
  }
  const t2 = e2.code, n2 = Rr[t2];
  if (void 0 !== n2)
    return n2;
  for (const e3 of Zr)
    if ((t2 == null ? void 0 : t2.length) === e3.length + 1 && (t2 == null ? void 0 : t2.startsWith(e3)))
      return t2.slice(e3.length);
  return t2;
}
function Kr(e2, t2, n2, r2, s2, a2 = "") {
  return [...e2 ? ["Mod"] : [t2 ? "Meta" : "", n2 ? "Ctrl" : ""], r2 ? "Alt" : "", s2 && (e2 || t2 || n2 || r2 || 1 !== a2.length) ? "Shift" : "", a2].filter((e3) => e3).join(" ");
}
function Br(e2) {
  return Kr(false, e2.metaKey, e2.ctrlKey, e2.altKey, e2.shiftKey, Hr(e2));
}
function Gr(e2) {
  return Kr(false, e2.mod && or, e2.ctrl || e2.mod && !or, e2.alt, e2.shift, e2.key);
}
function $r(e2) {
  return Kr(or && e2.metaKey, e2.metaKey, e2.ctrlKey, e2.altKey, e2.shiftKey, Hr(e2));
}
function Wr(e2) {
  return e2.split(" ").map((e3) => "Mod" === e3 ? or ? "Meta" : "Ctrl" : e3).join(" ");
}
const _r = { Mod: "Mod ", Meta: or ? "⌘" : "Meta ", Ctrl: "⌃", Alt: "⌥", Shift: "⇧", Space: Se("customShortcut.space"), Enter: "⏎", Escape: "ESC", Delete: "DEL", ArrowLeft: "←", ArrowRight: "→", ArrowUp: "↑", ArrowDown: "↓" };
function Jr(e2) {
  return e2.split(" ").map((e3) => _r[e3] ?? e3).join("").trim();
}
function Fr(e2) {
  const t2 = e2.target, n2 = t2.tagName;
  return t2.isContentEditable || "INPUT" === n2 || "SELECT" === n2 || "TEXTAREA" === n2;
}
function qr(e2) {
  switch (e2.key) {
    case "ArrowLeft":
    case "ArrowRight":
    case "ArrowUp":
    case "ArrowDown":
      return true;
  }
  return false;
}
function Vr(e2) {
  const { disabled: t2, ...n2 } = e2, r2 = t2 ? { children: e2.children } : n2;
  return Z("div", { ...r2, tabIndex: -1 });
}
class Xr extends d.Component {
  constructor(e2) {
    super(e2), this.onKeyDownCapture = this.onKeyDownCapture.bind(this), this.onKeyUpCapture = this.onKeyUpCapture.bind(this), this.onMouseMoveCapture = this.onMouseMoveCapture.bind(this), this.onMouseDownCapture = this.onMouseDownCapture.bind(this);
  }
  onKeyDownCapture(e2) {
    var _a, _b;
    this.props.disabled || ((_b = (_a = this.props).onKeyDownCapture) == null ? void 0 : _b.call(_a, e2));
  }
  onKeyUpCapture(e2) {
    var _a, _b;
    this.props.disabled || ((_b = (_a = this.props).onKeyUpCapture) == null ? void 0 : _b.call(_a, e2));
  }
  onMouseMoveCapture(e2) {
    var _a, _b;
    this.props.disabled || ((_b = (_a = this.props).onMouseMoveCapture) == null ? void 0 : _b.call(_a, e2));
  }
  onMouseDownCapture(e2) {
    var _a, _b;
    this.props.disabled || ((_b = (_a = this.props).onMouseDownCapture) == null ? void 0 : _b.call(_a, e2));
  }
  componentDidMount() {
    document.addEventListener("keydown", this.onKeyDownCapture, true), document.addEventListener("keyup", this.onKeyUpCapture, true), document.addEventListener("mousemove", this.onMouseMoveCapture, true), document.addEventListener("mousedown", this.onMouseDownCapture, true);
  }
  componentWillUnmount() {
    document.removeEventListener("keydown", this.onKeyDownCapture, true), document.removeEventListener("keyup", this.onKeyUpCapture, true), document.removeEventListener("mousemove", this.onMouseMoveCapture, true), document.removeEventListener("mousedown", this.onMouseDownCapture, true);
  }
  render() {
    return Z("div", { tabIndex: -1, style: { height: "100%" }, children: this.props.children });
  }
}
const es = (e2, t2) => e2 === t2 || Number.isNaN(e2) && Number.isNaN(t2), ts = (e2, t2) => e2 === t2, ns = (e2) => (t2) => (n2) => Array.isArray(t2) && Array.isArray(n2) && t2.length === n2.length && t2.every((t3, r2) => ("function" == typeof e2 ? e2 : e2[r2] || es)(t3, n2[r2])), rs = (...e2) => e2;
class ss {
  constructor() {
    __publicField(this, "shallowArrayEquals", ns(es));
    __publicField(this, "map", /* @__PURE__ */ new Map());
    __publicField(this, "queue", new dt());
    __publicField(this, "capacity", 8);
  }
  keys() {
    return this.map.keys();
  }
  delete(e2) {
    return this.map.delete(e2);
  }
  get(e2) {
    const t2 = Array.from(this.keys()).find(this.shallowArrayEquals(e2));
    return this.map.get(t2);
  }
  has(e2) {
    return -1 !== Array.from(this.keys()).findIndex(this.shallowArrayEquals(e2));
  }
  set(e2, t2) {
    return this.has(e2) || (this.mayPopQueue(), this.queue.enqueue(e2)), this.map.set(e2, t2), this;
  }
  mayPopQueue() {
    for (; this.queue.size() >= this.capacity; ) {
      const e2 = this.queue.dequeue();
      this.map.delete(e2);
    }
  }
}
const as = (e2, { resolver: t2 = rs, comparators: n2 = es, capacity: r2 = 8 }) => {
  const { Cache: s2 } = Y.memoize;
  Y.memoize.Cache = ss;
  const a2 = Y.memoize(e2, t2 || rs);
  return a2.cache.shallowArrayEquals = ns(n2), a2.cache.capacity = r2, Y.memoize.Cache = s2, a2;
};
function os(e2, t2) {
  const n2 = new FileReader();
  n2.addEventListener("load", () => t2(n2.result)), n2.readAsDataURL(e2);
}
function is(e2) {
  if (!("image/jpeg" === e2.type || "image/png" === e2.type))
    return H.error(Se("imgUpload.notSupportError", { types: "JPG/PNG" })), false;
  const t2 = e2.size / 1024 > 300;
  return t2 && H.error(Se("imgUpload.exceedSizeError", { size: "300kb" })), !t2;
}
async function cs({ data: e2, filename: t2, fileType: n2, dataType: r2, delimiter: s2 }) {
  if ("url" === r2)
    return mt.saveAs(e2, t2, { autoBom: true });
  let a2 = n2;
  if ("empty" === a2 || !pt.getType(a2)) {
    const e3 = t2.split(".");
    a2 = e3[e3.length - 1];
  }
  a2 = a2 ?? "txt";
  const o2 = pt.getType(a2);
  if ("base64" === r2) {
    const n3 = new Blob([Mt.Buffer.from(e2, "base64")], { type: o2 + ";charset=utf-16" });
    return mt.saveAs(n3, t2, { autoBom: true });
  }
  let i2 = e2;
  switch (a2) {
    case "txt":
    case "json":
      i2 = Y.isObject(e2) ? JSON.stringify(e2) : e2;
      break;
    case "csv":
    case "xlsx":
      let n3;
      const r3 = await import("./xlsx-2d534f51.js");
      if (Y.isArray(e2)) {
        const s3 = r3.utils.json_to_sheet(e2);
        n3 = r3.utils.book_new(), r3.utils.book_append_sheet(n3, s3, t2);
      } else
        n3 = r3.read(e2, { type: "string" });
      let o3 = { bookType: a2, bookSST: false, type: "buffer" };
      "csv" === a2 && s2 && (o3.FS = s2), i2 = r3.write(n3, o3);
  }
  const c2 = new Blob([i2], { type: o2 + ";charset=utf-16" });
  mt.saveAs(c2, t2, { autoBom: true });
}
function us(e2) {
  const t2 = new URLSearchParams();
  return e2.forEach((e3) => {
    const { key: n2, value: r2 } = e3;
    n2 && t2.set(n2, r2);
  }), t2.toString();
}
function ls(e2) {
  const t2 = new URLSearchParams();
  return Object.entries(e2).forEach(([e3, n2]) => {
    t2.set(e3, n2);
  }), t2.toString();
}
function ds(e2) {
  console.log(e2.queryParams);
  const t2 = w(window.location.pathname, i);
  if (!t2 || !e2.applicationId)
    return;
  let n2 = o(e2.applicationId, t2.params.viewMode);
  e2.queryParams && !Y.isEmpty(e2.queryParams) && (n2 += `?${e2.queryParams}`), e2.hashParams && !Y.isEmpty(e2.hashParams) && (n2 += `#${e2.hashParams}`), e2.newTab ? (n2 = new URL(n2, window.location.href).toString(), window.open(n2, "_blank")) : Kt.push(n2);
}
function ps(e2) {
  return "nav" === e2 || "mobileTabLayout" === e2;
}
Ee.extend(ke), Ee.extend(Oe), Ee.extend(ve), Ee.extend(Ue), Ee.extend(Qe), Ee.extend(Pe), Ee.extend(Ye), Ee.extend(Re), Ee.extend(Ze), Ee.extend(He), Ee.extend(Ke), Ee.extend(Be), Ee.extend(Ge), Ee.extend($e), Ee.extend(We), Ee.extend(_e), Ee.extend(Je), Ee.extend(Fe), Ee.extend(qe), Ee.extend(Ve), Ee.extend(Xe), Ee.extend(et), Ee.extend(tt), Ee.extend(nt), Ee.extend(rt), Ee.extend(ke), Ee.extend(st), Ee.extend(We), Ee.extend(at), Ee.extend(ot), Ee.extend(it), Ee.extend(ct), Ee.extend(ut);
const gs = "HH:mm:ss", Ms = "HH:mm:ss:a", ms = "HH:mm", hs = "YYYY-MM-DD", ys = "MM/DD/YYYY", fs = "M/D/YYYY", Is = "YYYY-MM-DD HH:mm:ss", Ns = "YYYY-MM-DD HH:mm:ss:a", Ds = "x", As = [Is, Ns, hs, "x", ys, fs], bs = [Ms, gs, "x"];
function ws(e2) {
  return Ee.unix(e2 / 1e3).format("YYYY-MM-DD HH:mm");
}
function js(e2, t2 = 36e5) {
  if (!e2)
    return "";
  let n2;
  return n2 = Date.now() - new Date(e2).getTime() <= t2 ? Ee(e2).fromNow() : Ee(e2).format("YYYY-MM-DD HH:mm"), n2;
}
const zs = ht(ue)`
  g g g {
    stroke: #222222;
  }
`, Cs = ht.div`
  display: flex;
  width: ${(e2) => e2.$isRestApi ? "26px" : "16px"};
  height: ${(e2) => e2.$isRestApi ? "13px" : "16px"};
  border-radius: 2px;
  flex-shrink: 0;
  margin-right: 4px;
  align-items: center;
`, Ls = ht(Cs)`
  width: ${(e2) => e2.$isRestApi ? "32px" : "20px"};
  height: ${(e2) => e2.$isRestApi ? "16px" : "20px"};
  margin-right: 8px;

  svg {
    width: ${(e2) => e2.$isRestApi ? "32px" : "20px"};
    height: ${(e2) => e2.$isRestApi ? "16px" : "20px"};
  }
`;
const Ts = { DELETE: Z(le, {}), GET: Z(de, {}), PATCH: Z(pe, {}), POST: Z(ge, {}), PUT: Z(Me, {}), HEAD: Z(me, {}), OPTIONS: Z(he, {}), TRACE: Z(ye, {}) }, xs = (e2, t2, n2, r2) => {
  const s2 = () => {
    switch (e2) {
      case se.TempState:
        return Z(ce, {});
      case se.Transformer:
        return Z(ie, {});
      case se.DateResponder:
        return Z(oe, {});
      case se.Folder:
        return Z(ae, {});
      case "mysql":
        return Z(re, {});
      case "mongodb":
        return Z(ne, {});
      case "restApi":
        return r2 ? Ts[r2] : Z(K, {});
      case "postgres":
        return Z(te, {});
      case "js":
        return Z(ee, {});
      case "redis":
        return Z(X, {});
      case "es":
        return Z(V, {});
      case "mssql":
        return Z(q, {});
      case "smtp":
        return Z(F, {});
      case "oracle":
        return Z(J, {});
      case "clickHouse":
        return Z(_, {});
      case "libraryQuery":
        return Z(zs, {});
      case "googleSheets":
        return Z(W, {});
      case "graphql":
        return Z($, {});
      case "snowflake":
        return Z(G, {});
      case "mariadb":
        return Z(B, {});
      default:
        return n2 ? function(e3, t3) {
          let n3 = t3;
          return n3.startsWith("http") || (n3 = `http://localhost:8000/node-service/plugin-icons/${t3}`), Z("img", { style: { width: "100%", height: "100%" }, src: n3, alt: "" });
        }(0, n2) : Z(K, {});
    }
  }, a2 = "restApi" === e2 && !!r2;
  return Z("large" === t2 ? Ls : Cs, { $isRestApi: a2, children: s2() });
}, Ss = (e2) => 1 === e2.length || 2 === e2.length ? `(${e2[0]} + ${e2[0]})` : 3 === e2.length || 4 === e2.length ? `(${e2[0]} + ${e2[2]})` : "0px", Es = (e2, t2) => function(n2 = e2, r2) {
  return t2.hasOwnProperty(r2.type) ? t2[r2.type](n2, r2) : n2;
}, ks = (e2, t2) => function(n2 = e2, r2) {
  return t2.hasOwnProperty(r2.type) ? ft(t2[r2.type])(n2, r2) : n2;
};
function Os(e2) {
  const t2 = e2.orgRoleMap.get(e2.currentOrgId);
  return t2 === c || t2 === u;
}
function vs(e2) {
  return e2.orgDev || Os(e2);
}
function Us(e2) {
  return e2 === c || e2 === u;
}
function Qs(e2, t2) {
  if (!t2)
    return false;
  const n2 = e2.orgRoleMap.get(t2.orgId);
  return "owner" === (t2 == null ? void 0 : t2.role) || "admin" === n2;
}
function Ps(e2, t2) {
  if (!t2)
    return false;
  const n2 = e2.orgRoleMap.get(t2.orgId), r2 = t2 == null ? void 0 : t2.role;
  return "owner" === r2 || "editor" === r2 || "admin" === n2;
}
class Ys extends d.Component {
  constructor(e2) {
    super(e2);
    __publicField(this, "isKeyDown", false);
    __publicField(this, "preKey", "");
    __publicField(this, "handle");
    __publicField(this, "state");
    this.onKeyDown = this.onKeyDown.bind(this), this.onKeyUp = this.onKeyUp.bind(this), this.handleKeyUpEvent = this.handleKeyUpEvent.bind(this), this.handle = {}, this.state = { enableHotKey: e2.global || false };
  }
  componentDidMount() {
    const { splitKey: e2, filter: t2 } = this.props;
    t2 && (It.filter = t2), It.unbind(this.props.keyName), It(this.props.keyName, { splitKey: e2 }, this.onKeyDown), document && document.body.addEventListener("keyup", this.handleKeyUpEvent);
  }
  componentWillUnmount() {
    It.unbind(this.props.keyName), this.isKeyDown = true, this.handle = {}, document && document.body.removeEventListener("keyup", this.handleKeyUpEvent);
  }
  onKeyUp(e2, t2) {
    if (!this.state.enableHotKey)
      return;
    const { onKeyUp: n2, disabled: r2 } = this.props;
    !r2 && n2 && n2(t2.shortcut, e2, t2);
  }
  onKeyDown(e2, t2) {
    if (!this.state.enableHotKey)
      return;
    const { onKeyDown: n2, allowRepeat: r2, disabled: s2 } = this.props, a2 = t2.shortcut;
    this.isKeyDown && !r2 && this.preKey === a2 || (this.preKey = a2, this.isKeyDown = true, this.handle = t2, !s2 && n2 && n2(a2, e2, t2));
  }
  handleKeyUpEvent(e2) {
    this.isKeyDown && (this.isKeyDown = false, this.props.keyName && this.props.keyName.indexOf(this.handle.shortcut) < 0 || (this.onKeyUp(e2, this.handle), this.handle = {}));
  }
  render() {
    const { global: e2, wrapperStyle: t2 } = this.props;
    return Z("div", { style: t2, tabIndex: -1, onFocus: () => !e2 && this.setState({ enableHotKey: true }), onBlur: () => {
      !e2 && this.setState({ enableHotKey: false });
    }, children: this.props.children || null });
  }
}
__publicField(Ys, "defaultProps", { filter(e2) {
  const t2 = e2.target || e2.srcElement, n2 = t2.tagName;
  return !(!e2.metaKey || "Enter" !== e2.code) || !(t2.isContentEditable || "INPUT" === n2 || "SELECT" === n2 || "TEXTAREA" === n2);
} });
__publicField(Ys, "propTypes", { keyName: gt.string, filter: gt.func, onKeyDown: gt.func, onKeyUp: gt.func, disabled: gt.bool, splitKey: gt.string });
class Rs {
  constructor(e2 = 50) {
    __publicField(this, "history");
    __publicField(this, "curIndex");
    __publicField(this, "endIndex");
    __publicField(this, "limit");
    this.limit = e2, this.history = [], this.curIndex = -1, this.endIndex = -1;
  }
  clear() {
    this.history = [], this.curIndex = -1, this.endIndex = -1;
  }
  add(e2) {
    this.history.length + 1 > this.limit && (this.history.shift(), this.curIndex--), this.history[++this.curIndex] = e2, this.endIndex = this.curIndex;
  }
  next() {
    return this.curIndex < this.history.length - 1 && this.curIndex < this.endIndex ? this.history[++this.curIndex] : null;
  }
  last() {
    return this.curIndex > 0 ? this.history[--this.curIndex] : null;
  }
  isEmpty() {
    return !this.history || this.history.length <= 0;
  }
}
class Zs {
  constructor(e2) {
    __publicField(this, "startTime");
    __publicField(this, "key");
    this.key = e2, this.startTime = performance.now();
  }
  end() {
    !function(e2, t2) {
      (function() {
        Gs || setInterval(Bs, 2e3);
        Gs = true;
      })(), Ks[e2] || (Ks[e2] = new Hs());
      Ks[e2].count += 1, Ks[e2].total += t2;
    }(this.key, performance.now() - this.startTime);
  }
}
class Hs {
  constructor() {
    __publicField(this, "count", 0);
    __publicField(this, "total", 0);
  }
  toString() {
    return `count ${this.count}, avg ${this.total / this.count}`;
  }
}
let Ks = {};
function Bs() {
  Object.keys(Ks).forEach((t2) => {
    e.log(`key: ${t2}, detail: ${Ks[t2]}`);
  }), Ks = {};
}
let Gs = false;
function $s(e2) {
  return new Zs(e2);
}
function Ws(e2, t2, n2) {
  const r2 = n2.value;
  n2.value = function(...e3) {
    const n3 = $s(t2), s2 = r2.apply(this, e3);
    return n3.end(), s2;
  };
}
function _s(e2, t2) {
  return t2();
}
function Js(e2, t2) {
  return t2();
}
function Fs(e2) {
  const t2 = performance.now();
  return e2(), performance.now() - t2;
}
const qs = "start", Vs = "app-editor-first-render", Xs = "app-editor-mounted", ea = "app-dsl-loaded", ta = "app-initialized", na = "app-calm-down", ra = "app-calm-down-from-dsl-loaded";
function sa(e2) {
  if (void 0 !== performance.mark)
    return performance.mark(e2);
}
function aa(e2, t2, n2, r2) {
  if (void 0 !== performance.measure && void 0 !== performance.getEntriesByName && 0 !== performance.getEntriesByName(t2, "mark").length && 0 !== performance.getEntriesByName(n2, "mark").length)
    return performance.measure(e2, { start: t2, end: n2, detail: r2 });
}
function oa() {
  performance == null ? void 0 : performance.clearMarks(), performance == null ? void 0 : performance.clearMeasures();
}
const ia = { [na]: -l }, ca = { [ra]: -l };
function ua(e2, t2, n2, r2) {
  const s2 = b();
  return y(() => {
    if (!e2)
      return;
    const a2 = new la((t3) => e2.setComp(t3));
    return e2.addChangeListener((o2) => {
      t2 || !o2 || r2 || Js(0, () => ((t3) => {
        const r3 = e2.comp;
        a2.dslChanged(r3) && (a2.debounceAdd(r3), a2.saveSnapshot(r3, t3, s2, n2));
      })(o2));
    }), a2;
  }, [n2, e2, s2, t2, r2]);
}
window.printPerf = function(t2) {
  const { measure: n2 = true, mark: r2 = true, format: s2 = "json" } = t2 || {}, a2 = [];
  if (r2) {
    const e2 = performance.getEntriesByType("mark");
    for (const { name: t3, startTime: n3 } of e2) {
      const e3 = ia[t3] || 0;
      a2.push({ type: "mark", name: t3, startTime: n3 + e3 });
    }
  }
  if (n2) {
    const e2 = performance.getEntriesByType("measure");
    for (const { name: t3, duration: n3, detail: r3 } of e2) {
      const e3 = ca[t3] || 0;
      a2.push({ type: "measure", name: t3, duration: n3 + e3, detail: "table" === s2 ? JSON.stringify(r3) : r3 });
    }
  }
  if ("table" === s2)
    return e.info(a2);
  const o2 = "prettyJSON" === s2 ? JSON.stringify(a2, null, 4) : JSON.stringify(a2);
  e.log(o2);
};
class la {
  constructor(e2) {
    __publicField(this, "history");
    __publicField(this, "setComp");
    __publicField(this, "operationQueue");
    __publicField(this, "prevComp");
    __publicField(this, "prevDslStr", "");
    __publicField(this, "debounceAdd", P.debounce((e2) => {
      this.add(e2);
    }, 300));
    __publicField(this, "doSaveSnapshot", P.debounce((e2, t2, n2) => {
      if (this.operationQueue.length <= 0)
        return;
      const r2 = /* @__PURE__ */ new Set(), s2 = this.operationQueue.filter((e3) => {
        const t3 = e3.operation + e3.compName;
        return !r2.has(t3) && (r2.add(t3), true);
      });
      t2(O({ applicationId: n2, dsl: e2, context: { operations: s2 } })), this.operationQueue.splice(0, this.operationQueue.length);
    }, 5e3));
    this.operationQueue = [], this.history = new Rs(100), this.setComp = e2;
  }
  dslChanged(e2) {
    const t2 = JSON.stringify(e2.toJsonValue());
    let n2 = false;
    return this.prevDslStr && this.prevDslStr !== t2 && (n2 = true), n2 && this.history.isEmpty() && this.history.add(this.prevComp), this.prevComp = e2, this.prevDslStr = t2, n2;
  }
  add(e2) {
    this.history.add(e2);
  }
  redo() {
    const e2 = this.history.next();
    e2 && this.setComp(e2);
  }
  undo() {
    const e2 = this.history.last();
    e2 && this.setComp(e2);
  }
  saveSnapshot(e2, t2, n2, r2) {
    const s2 = t2.flatMap((t3) => function(e3, t4) {
      var _a;
      let n3 = [];
      if ((_a = t4.extraInfo) == null ? void 0 : _a.compInfos)
        n3 = t4.extraInfo.compInfos.map((e4) => ({ compName: e4.compName, compType: e4.compType, operation: e4.type }));
      else if (fe(t4, Ie.RENAME)) {
        const e4 = t4.action;
        n3 = [{ oldName: e4.oldName, compName: e4.name, operation: "rename" }];
      } else if (t4.type === Ie.CHANGE_VALUE || t4.type === Ie.CUSTOM) {
        let r3 = 0, s3 = e3;
        for (; r3 < t4.path.length && s3; ) {
          const e4 = s3.children;
          if (!e4)
            break;
          e4.name && e4.compType && (n3 = [{ compType: e4.compType.getView(), compName: e4.name.getView(), operation: "modify" }]), s3 = e4 && e4[t4.path[r3]], r3++;
        }
      }
      return n3;
    }(e2, t3));
    s2.forEach((e3) => this.operationQueue.push(e3)), this.doSaveSnapshot(e2.toJsonValue(), n2, r2);
  }
}
function da() {
  return false;
}
function pa() {
  return false;
}
function ga() {
  return false;
}
function Ma(e2) {
  return "SAAS" === (e2 == null ? void 0 : e2.workspaceMode) || "MULTIWORSPACE" === (e2 == null ? void 0 : e2.workspaceMode);
}
function ma(e2) {
  return "ENTERPRISE" === (e2 == null ? void 0 : e2.workspaceMode) || "SINGLEWORKSPACE" === (e2 == null ? void 0 : e2.workspaceMode);
}
function ha(e2) {
  return e2 == null ? void 0 : e2.selfDomain;
}
function ya(e2) {
  var _a;
  return (_a = e2 == null ? void 0 : e2.featureFlag) == null ? void 0 : _a.enableAuditLog;
}
function fa() {
  const e2 = D(v);
  return (e2 == null ? void 0 : e2.cloudHosting) ?? true;
}
function Ia(e2, t2) {
  var _a;
  return (_a = e2 == null ? void 0 : e2.__cache) == null ? void 0 : _a[t2];
}
function Na(e2, t2, n2, r2) {
  const s2 = function(e3, t3, n3) {
    return e3.__cache || (e3.__cache = {}), e3.__cache[t3] = { id: Symbol("id"), args: n3, isInProgress: true, time: Date.now() }, Ia(e3, t3);
  }(n2, r2, t2), a2 = e2.apply(n2, t2);
  s2.isInProgress = false, s2.value = a2;
}
function Da(e2, t2, n2, r2, s2) {
  return function(e3, t3, n3, r3) {
    const s3 = Ia(t3, n3);
    return !(!s3 || !s3.args) && (0 === e3.length && 0 === s3.args.length || s3.args.every((t4, n4) => {
      var _a;
      return ((_a = r3 == null ? void 0 : r3[n4]) == null ? void 0 : _a.call(r3, t4, e3[n4])) ?? t4 === e3[n4];
    }));
  }(t2, n2, r2, s2) || function(e3, t3) {
    const n3 = Ia(e3, t3);
    return n3 && n3.isInProgress;
  }(n2, r2) || Na(e2, t2, n2, r2), function(e3, t3) {
    const n3 = Ia(e3, t3);
    return n3 && n3.value;
  }(n2, r2);
}
function Aa(e2) {
  return function(t2, n2, r2) {
    const s2 = r2.value;
    return r2.value = function(...t3) {
      return Da(s2, t3, this, n2, e2);
    }, r2;
  };
}
function ba(e2) {
  return window.cancelIdleCallback ? window.cancelIdleCallback(e2) : window.clearTimeout(e2);
}
function wa(e2, t2) {
  if (window.requestIdleCallback)
    return window.requestIdleCallback(e2, t2);
  const n2 = performance.now();
  return window.setTimeout(function() {
    e2({ didTimeout: false, timeRemaining: function() {
      return Math.max(0, 50 - (performance.now() - n2));
    } });
  }, (t2 == null ? void 0 : t2.timeout) || 1);
}
const ja = { mysql: Se("datasourceTutorial.mysql"), mongodb: Se("datasourceTutorial.mongodb"), postgres: Se("datasourceTutorial.postgres"), redis: Se("datasourceTutorial.redis"), es: Se("datasourceTutorial.es"), smtp: Se("datasourceTutorial.smtp"), clickHouse: Se("datasourceTutorial.clickHouse"), googleSheets: "https://docs.lowcoder.cloud/connect-your-data/apis-as-datasource/google-sheets" }, za = (e2) => ja[e2], Ca = { js: Se("queryTutorial.js"), transformer: Se("queryTutorial.transformer"), tempState: Se("queryTutorial.tempState"), dataResponder: Se("queryTutorial.dataResponder"), es: "https://www.elastic.co/guide/en/elasticsearch/reference/current/rest-apis.html", redis: "https://redis.io/commands/", googleSheets: { readData: "https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/get", appendData: "https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/append", updateData: "https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/update", deleteData: void 0, clearData: "https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/clear" } }, La = new Nt(), Ta = (e2) => yt`
    ${Ne(e2.background) && `background-color: ${e2.background}`};
    ${De(e2.background) && !Boolean(e2.backgroundImage) && `background-image: ${e2.background}`};
    ${!De(e2.background) && Boolean(e2.backgroundImage) && `background-image: url(${e2.backgroundImage})`};
    ${De(e2.background) && Boolean(e2.backgroundImage) && `background-image: url(${e2.backgroundImage}), ${e2.background}`};

    ${e2.backgroundImageRepeat && `background-repeat: ${e2.backgroundImageRepeat};`}; 
    ${e2.backgroundImageSize && `background-size: ${e2.backgroundImageSize};`}; 
    ${e2.backgroundImageOrigin && `background-origin: ${e2.backgroundImageOrigin};`}; 
    ${e2.backgroundImagePosition && `background-position: ${e2.backgroundImagePosition};`};
  `;
function xa() {
  return D(U);
}
const Sa = d.createContext(void 0);
function Ea(e2) {
  const t2 = e2.match(/(?:npm\/|gh\/|unpkg\.com\/)([^@/]+)(?:@([^/]+))?/i);
  return { name: (t2 == null ? void 0 : t2[1]) ?? e2, version: (t2 == null ? void 0 : t2[2]) ?? ((t2 == null ? void 0 : t2[1]) ? "latest" : "unknown") };
}
async function ka(e2) {
  return fetch(e2).then((e3) => e3.text());
}
const Oa = function(e2) {
  return M(() => {
    setTimeout(() => function() {
      const e3 = document.getElementById("loading");
      e3 && (e3.style.opacity = 0);
    }(), 300);
  }, []), Z(Ae, {});
};
class va {
  constructor(e2, t2) {
    __publicField(this, "queryLibraryComp");
    __publicField(this, "setQueryLibraryState");
    this.queryLibraryComp = e2, this.setQueryLibraryState = t2;
  }
  changeStateFn(e2) {
    this.setQueryLibraryState((t2) => kt(t2, e2(t2)));
  }
  setComp(e2) {
    this.changeStateFn((t2) => ({ queryLibraryComp: e2(t2.queryLibraryComp) }));
  }
  getNameGenerator() {
    const e2 = new x(), t2 = this.nameAndExposingInfo();
    return e2.init(Object.keys(t2)), e2;
  }
  nameAndExposingInfo() {
    return this.queryLibraryComp.nameAndExposingInfo();
  }
  checkRename(e2, t2) {
    const n2 = T(t2);
    return n2 || (t2 !== e2 && this.nameAndExposingInfo().hasOwnProperty(t2) ? Se("query.nameExists", { name: t2 }) : "");
  }
  rename(e2, t2) {
    return !this.checkRename(e2, t2) && (t2 !== e2 && this.queryLibraryComp.dispatch(be(e2, t2)), true);
  }
}
const Ua = d.createContext(void 0), Qa = { [we.All]: { name: Se("home.all"), icon: je }, [we.Application]: { name: Se("home.app"), icon: ze }, [we.Module]: { name: Se("home.module"), icon: Ce }, [we.Navigation]: { name: Se("home.navigation"), icon: Le }, [we.NavLayout]: { name: Se("home.navLayout"), icon: Le, desc: Se("home.navLayoutDesc") }, [we.Folder]: { name: Se("home.folder"), icon: Te }, [we.MobileTabLayout]: { name: Se("home.mobileTabLayout"), icon: Le, desc: Se("home.mobileTabLayoutDesc") } };
export {
  Kn as $,
  qs as A,
  ra as B,
  jt as C,
  Dt as D,
  Fn as E,
  fr as F,
  Xr as G,
  Rs as H,
  Cs as I,
  Ca as J,
  Ms as K,
  Ls as L,
  na as M,
  gs as N,
  ms as O,
  Pn as P,
  Sa as Q,
  bs as R,
  Vr as S,
  Ds as T,
  ur as U,
  Rn as V,
  is as W,
  Ps as X,
  Qs as Y,
  ba as Z,
  xn as _,
  ks as a,
  sa as a$,
  pr as a0,
  Zn as a1,
  Hn as a2,
  Gr as a3,
  St as a4,
  Fs as a5,
  vs as a6,
  Et as a7,
  pa as a8,
  Br as a9,
  ar as aA,
  ps as aB,
  cr as aC,
  qr as aD,
  ga as aE,
  ma as aF,
  Fr as aG,
  Us as aH,
  or as aI,
  Wn as aJ,
  mr as aK,
  Ma as aL,
  gr as aM,
  ha as aN,
  Ir as aO,
  us as aP,
  Lt as aQ,
  Tt as aR,
  dr as aS,
  da as aT,
  zt as aU,
  as as aV,
  Aa as aW,
  vr as aX,
  ds as aY,
  Pr as aZ,
  oa as a_,
  $r as aa,
  Jn as ab,
  ws as ac,
  Mr as ad,
  hr as ae,
  os as af,
  Ft as ag,
  Un as ah,
  za as ai,
  Xt as aj,
  an as ak,
  vn as al,
  on as am,
  rn as an,
  Ht as ao,
  Wt as ap,
  tn as aq,
  Zt as ar,
  tr as as,
  nr as at,
  Vn as au,
  Yt as av,
  sr as aw,
  rr as ax,
  yr as ay,
  _n as az,
  Os as b,
  Sr as b$,
  aa as b0,
  Ws as b1,
  Ct as b2,
  Jr as b3,
  ls as b4,
  qt as b5,
  Gn as b6,
  wa as b7,
  lr as b8,
  Qt as b9,
  jn as bA,
  hn as bB,
  wn as bC,
  fn as bD,
  gn as bE,
  bn as bF,
  zn as bG,
  In as bH,
  $n as bI,
  pn as bJ,
  An as bK,
  Dn as bL,
  Cn as bM,
  dn as bN,
  Ut as bO,
  Mn as bP,
  La as bQ,
  Qr as bR,
  ua as bS,
  Dr as bT,
  fa as bU,
  Tr as bV,
  Cr as bW,
  zr as bX,
  xr as bY,
  Ar as bZ,
  Er as b_,
  es as ba,
  Jt as bb,
  cs as bc,
  _t as bd,
  sn as be,
  nn as bf,
  $t as bg,
  en as bh,
  Yr as bi,
  kt as bj,
  Ot as bk,
  cn as bl,
  xt as bm,
  Wr as bn,
  ya as bo,
  Js as bp,
  Tn as bq,
  $s as br,
  _s as bs,
  ts as bt,
  js as bu,
  Nn as bv,
  Ln as bw,
  mn as bx,
  Sn as by,
  En as bz,
  Es as c,
  Or as c0,
  jr as c1,
  Lr as c2,
  br as c3,
  kr as c4,
  Nr as c5,
  er as c6,
  Qa as c7,
  Ss as c8,
  Ta as c9,
  xa as ca,
  ka as cb,
  Oa as cc,
  Ua as cd,
  Ys as ce,
  va as cf,
  wt as d,
  bt as e,
  xs as f,
  Bn as g,
  Kt as h,
  Qn as i,
  hs as j,
  ys as k,
  fs as l,
  Ns as m,
  Is as n,
  On as o,
  Ea as p,
  As as q,
  Vt as r,
  Bt as s,
  Yn as t,
  wr as u,
  la as v,
  ea as w,
  Vs as x,
  Xs as y,
  ta as z
};
