import { ref as z, reactive as je, computed as A, unref as w, nextTick as B, warn as Ut, onMounted as zt, isRef as Te, watch as Ce, provide as lt, toValue as j, readonly as $t, watchEffect as Wt, getCurrentInstance as xe, onUnmounted as qt, shallowRef as Gt, inject as Ht, defineComponent as at, openBlock as ke, createBlock as Fe, normalizeProps as Ke, guardReactiveProps as Je, withCtx as ut, renderSlot as Qt, useSlots as Kt, mergeProps as Jt, resolveDynamicComponent as Yt } from "vue";
import { ElForm as Xt, ElFormItem as Zt } from "element-plus";
function er() {
  return st().__VUE_DEVTOOLS_GLOBAL_HOOK__;
}
function st() {
  return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
}
const tr = typeof Proxy == "function", rr = "devtools-plugin:setup", nr = "plugin:settings:set";
let J, Ne;
function ir() {
  var e;
  return J !== void 0 || (typeof window < "u" && window.performance ? (J = !0, Ne = window.performance) : typeof globalThis < "u" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (J = !0, Ne = globalThis.perf_hooks.performance) : J = !1), J;
}
function or() {
  return ir() ? Ne.now() : Date.now();
}
class lr {
  constructor(t, r) {
    this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = t, this.hook = r;
    const o = {};
    if (t.settings)
      for (const s in t.settings) {
        const f = t.settings[s];
        o[s] = f.defaultValue;
      }
    const l = `__vue-devtools-plugin-settings__${t.id}`;
    let a = Object.assign({}, o);
    try {
      const s = localStorage.getItem(l), f = JSON.parse(s);
      Object.assign(a, f);
    } catch {
    }
    this.fallbacks = {
      getSettings() {
        return a;
      },
      setSettings(s) {
        try {
          localStorage.setItem(l, JSON.stringify(s));
        } catch {
        }
        a = s;
      },
      now() {
        return or();
      }
    }, r && r.on(nr, (s, f) => {
      s === this.plugin.id && this.fallbacks.setSettings(f);
    }), this.proxiedOn = new Proxy({}, {
      get: (s, f) => this.target ? this.target.on[f] : (...v) => {
        this.onQueue.push({
          method: f,
          args: v
        });
      }
    }), this.proxiedTarget = new Proxy({}, {
      get: (s, f) => this.target ? this.target[f] : f === "on" ? this.proxiedOn : Object.keys(this.fallbacks).includes(f) ? (...v) => (this.targetQueue.push({
        method: f,
        args: v,
        resolve: () => {
        }
      }), this.fallbacks[f](...v)) : (...v) => new Promise((d) => {
        this.targetQueue.push({
          method: f,
          args: v,
          resolve: d
        });
      })
    });
  }
  async setRealTarget(t) {
    this.target = t;
    for (const r of this.onQueue)
      this.target.on[r.method](...r.args);
    for (const r of this.targetQueue)
      r.resolve(await this.target[r.method](...r.args));
  }
}
function ar(e, t) {
  const r = e, o = st(), l = er(), a = tr && r.enableEarlyProxy;
  if (l && (o.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !a))
    l.emit(rr, e, t);
  else {
    const s = a ? new lr(r, l) : null;
    (o.__VUE_DEVTOOLS_PLUGINS__ = o.__VUE_DEVTOOLS_PLUGINS__ || []).push({
      pluginDescriptor: r,
      setupFn: t,
      proxy: s
    }), s && t(s.proxiedTarget);
  }
}
/**
  * vee-validate v4.12.6
  * (c) 2024 Abdelrahman Awad
  * @license MIT
  */
function D(e) {
  return typeof e == "function";
}
function ct(e) {
  return e == null;
}
const Q = (e) => e !== null && !!e && typeof e == "object" && !Array.isArray(e);
function Be(e) {
  return Number(e) >= 0;
}
function ur(e) {
  return typeof e == "object" && e !== null;
}
function sr(e) {
  return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e);
}
function Ye(e) {
  if (!ur(e) || sr(e) !== "[object Object]")
    return !1;
  if (Object.getPrototypeOf(e) === null)
    return !0;
  let t = e;
  for (; Object.getPrototypeOf(t) !== null; )
    t = Object.getPrototypeOf(t);
  return Object.getPrototypeOf(e) === t;
}
function ae(e, t) {
  return Object.keys(t).forEach((r) => {
    if (Ye(t[r]) && Ye(e[r])) {
      e[r] || (e[r] = {}), ae(e[r], t[r]);
      return;
    }
    e[r] = t[r];
  }), e;
}
function fe(e) {
  const t = e.split(".");
  if (!t.length)
    return "";
  let r = String(t[0]);
  for (let o = 1; o < t.length; o++) {
    if (Be(t[o])) {
      r += `[${t[o]}]`;
      continue;
    }
    r += `.${t[o]}`;
  }
  return r;
}
const cr = {};
function dr(e) {
  return cr[e];
}
function Xe(e, t, r) {
  typeof r.value == "object" && (r.value = b(r.value)), !r.enumerable || r.get || r.set || !r.configurable || !r.writable || t === "__proto__" ? Object.defineProperty(e, t, r) : e[t] = r.value;
}
function b(e) {
  if (typeof e != "object")
    return e;
  var t = 0, r, o, l, a = Object.prototype.toString.call(e);
  if (a === "[object Object]" ? l = Object.create(e.__proto__ || null) : a === "[object Array]" ? l = Array(e.length) : a === "[object Set]" ? (l = /* @__PURE__ */ new Set(), e.forEach(function(s) {
    l.add(b(s));
  })) : a === "[object Map]" ? (l = /* @__PURE__ */ new Map(), e.forEach(function(s, f) {
    l.set(b(f), b(s));
  })) : a === "[object Date]" ? l = /* @__PURE__ */ new Date(+e) : a === "[object RegExp]" ? l = new RegExp(e.source, e.flags) : a === "[object DataView]" ? l = new e.constructor(b(e.buffer)) : a === "[object ArrayBuffer]" ? l = e.slice(0) : a.slice(-6) === "Array]" && (l = new e.constructor(e)), l) {
    for (o = Object.getOwnPropertySymbols(e); t < o.length; t++)
      Xe(l, o[t], Object.getOwnPropertyDescriptor(e, o[t]));
    for (t = 0, o = Object.getOwnPropertyNames(e); t < o.length; t++)
      Object.hasOwnProperty.call(l, r = o[t]) && l[r] === e[r] || Xe(l, r, Object.getOwnPropertyDescriptor(e, r));
  }
  return l || e;
}
const fr = Symbol("vee-validate-form"), vr = typeof window < "u";
function hr(e) {
  return D(e) && !!e.__locatorRef;
}
function G(e) {
  return !!e && D(e.parse) && e.__type === "VVTypedSchema";
}
function dt(e) {
  return !!e && D(e.validate);
}
function pr(e) {
  return e === "checkbox" || e === "radio";
}
function mr(e) {
  return Q(e) || Array.isArray(e);
}
function gr(e) {
  return Array.isArray(e) ? e.length === 0 : Q(e) && Object.keys(e).length === 0;
}
function pe(e) {
  return /^\[.+\]$/i.test(e);
}
function yr(e) {
  return ft(e) && e.multiple;
}
function ft(e) {
  return e.tagName === "SELECT";
}
function br(e) {
  return vt(e) && e.target && "submit" in e.target;
}
function vt(e) {
  return e ? !!(typeof Event < "u" && D(Event) && e instanceof Event || e && e.srcElement) : !1;
}
function oe(e, t) {
  if (e === t)
    return !0;
  if (e && t && typeof e == "object" && typeof t == "object") {
    if (e.constructor !== t.constructor)
      return !1;
    var r, o, l;
    if (Array.isArray(e)) {
      if (r = e.length, r != t.length)
        return !1;
      for (o = r; o-- !== 0; )
        if (!oe(e[o], t[o]))
          return !1;
      return !0;
    }
    if (e instanceof Map && t instanceof Map) {
      if (e.size !== t.size)
        return !1;
      for (o of e.entries())
        if (!t.has(o[0]))
          return !1;
      for (o of e.entries())
        if (!oe(o[1], t.get(o[0])))
          return !1;
      return !0;
    }
    if (Ze(e) && Ze(t))
      return !(e.size !== t.size || e.name !== t.name || e.lastModified !== t.lastModified || e.type !== t.type);
    if (e instanceof Set && t instanceof Set) {
      if (e.size !== t.size)
        return !1;
      for (o of e.entries())
        if (!t.has(o[0]))
          return !1;
      return !0;
    }
    if (ArrayBuffer.isView(e) && ArrayBuffer.isView(t)) {
      if (r = e.length, r != t.length)
        return !1;
      for (o = r; o-- !== 0; )
        if (e[o] !== t[o])
          return !1;
      return !0;
    }
    if (e.constructor === RegExp)
      return e.source === t.source && e.flags === t.flags;
    if (e.valueOf !== Object.prototype.valueOf)
      return e.valueOf() === t.valueOf();
    if (e.toString !== Object.prototype.toString)
      return e.toString() === t.toString();
    for (l = Object.keys(e), r = l.length, o = r; o-- !== 0; ) {
      var a = l[o];
      if (!oe(e[a], t[a]))
        return !1;
    }
    return !0;
  }
  return e !== e && t !== t;
}
function Ze(e) {
  return vr ? e instanceof File : !1;
}
function De(e) {
  return pe(e) ? e.replace(/\[|\]/gi, "") : e;
}
function $(e, t, r) {
  return e ? pe(t) ? e[De(t)] : (t || "").split(/\.|\[(\d+)\]/).filter(Boolean).reduce((l, a) => mr(l) && a in l ? l[a] : r, e) : r;
}
function U(e, t, r) {
  if (pe(t)) {
    e[De(t)] = r;
    return;
  }
  const o = t.split(/\.|\[(\d+)\]/).filter(Boolean);
  let l = e;
  for (let a = 0; a < o.length; a++) {
    if (a === o.length - 1) {
      l[o[a]] = r;
      return;
    }
    (!(o[a] in l) || ct(l[o[a]])) && (l[o[a]] = Be(o[a + 1]) ? [] : {}), l = l[o[a]];
  }
}
function Ae(e, t) {
  if (Array.isArray(e) && Be(t)) {
    e.splice(Number(t), 1);
    return;
  }
  Q(e) && delete e[t];
}
function et(e, t) {
  if (pe(t)) {
    delete e[De(t)];
    return;
  }
  const r = t.split(/\.|\[(\d+)\]/).filter(Boolean);
  let o = e;
  for (let a = 0; a < r.length; a++) {
    if (a === r.length - 1) {
      Ae(o, r[a]);
      break;
    }
    if (!(r[a] in o) || ct(o[r[a]]))
      break;
    o = o[r[a]];
  }
  const l = r.map((a, s) => $(e, r.slice(0, s).join(".")));
  for (let a = l.length - 1; a >= 0; a--)
    if (gr(l[a])) {
      if (a === 0) {
        Ae(e, r[0]);
        continue;
      }
      Ae(l[a - 1], r[a - 1]);
    }
}
function N(e) {
  return Object.keys(e);
}
function Or(e, t) {
  let r, o;
  return function(...l) {
    const a = this;
    return r || (r = !0, setTimeout(() => r = !1, t), o = e.apply(a, l)), o;
  };
}
function tt(e, t = 0) {
  let r = null, o = [];
  return function(...l) {
    return r && clearTimeout(r), r = setTimeout(() => {
      const a = e(...l);
      o.forEach((s) => s(a)), o = [];
    }, t), new Promise((a) => o.push(a));
  };
}
function _r(e, t) {
  let r;
  return async function(...l) {
    const a = e(...l);
    r = a;
    const s = await a;
    return a !== r ? s : (r = void 0, t(s, l));
  };
}
function rt(e) {
  return Array.isArray(e) ? e : e ? [e] : [];
}
function ve(e, t) {
  const r = {};
  for (const o in e)
    t.includes(o) || (r[o] = e[o]);
  return r;
}
function Sr(e) {
  let t = null, r = [];
  return function(...o) {
    const l = B(() => {
      if (t !== l)
        return;
      const a = e(...o);
      r.forEach((s) => s(a)), r = [], t = null;
    });
    return t = l, new Promise((a) => r.push(a));
  };
}
function Ie(e) {
  if (ht(e))
    return e._value;
}
function ht(e) {
  return "_value" in e;
}
function Vr(e) {
  return e.type === "number" || e.type === "range" ? Number.isNaN(e.valueAsNumber) ? e.value : e.valueAsNumber : e.value;
}
function nt(e) {
  if (!vt(e))
    return e;
  const t = e.target;
  if (pr(t.type) && ht(t))
    return Ie(t);
  if (t.type === "file" && t.files) {
    const r = Array.from(t.files);
    return t.multiple ? r : r[0];
  }
  if (yr(t))
    return Array.from(t.options).filter((r) => r.selected && !r.disabled).map(Ie);
  if (ft(t)) {
    const r = Array.from(t.options).find((o) => o.selected);
    return r ? Ie(r) : t.value;
  }
  return Vr(t);
}
function Er(e) {
  const t = {};
  return Object.defineProperty(t, "_$$isNormalized", {
    value: !0,
    writable: !1,
    enumerable: !1,
    configurable: !1
  }), e ? Q(e) && e._$$isNormalized ? e : Q(e) ? Object.keys(e).reduce((r, o) => {
    const l = wr(e[o]);
    return e[o] !== !1 && (r[o] = it(l)), r;
  }, t) : typeof e != "string" ? t : e.split("|").reduce((r, o) => {
    const l = Pr(o);
    return l.name && (r[l.name] = it(l.params)), r;
  }, t) : t;
}
function wr(e) {
  return e === !0 ? [] : Array.isArray(e) || Q(e) ? e : [e];
}
function it(e) {
  const t = (r) => typeof r == "string" && r[0] === "@" ? Cr(r.slice(1)) : r;
  return Array.isArray(e) ? e.map(t) : e instanceof RegExp ? [e] : Object.keys(e).reduce((r, o) => (r[o] = t(e[o]), r), {});
}
const Pr = (e) => {
  let t = [];
  const r = e.split(":")[0];
  return e.includes(":") && (t = e.split(":").slice(1).join(":").split(",")), { name: r, params: t };
};
function Cr(e) {
  const t = (r) => $(r, e) || r[e];
  return t.__locatorRef = e, t;
}
const Ar = {
  generateMessage: ({ field: e }) => `${e} is not valid.`,
  bails: !0,
  validateOnBlur: !0,
  validateOnChange: !0,
  validateOnInput: !1,
  validateOnModelUpdate: !0
};
let Ir = Object.assign({}, Ar);
const ie = () => Ir;
async function jr(e, t, r = {}) {
  const o = r == null ? void 0 : r.bails, l = {
    name: (r == null ? void 0 : r.name) || "{field}",
    rules: t,
    label: r == null ? void 0 : r.label,
    bails: o ?? !0,
    formData: (r == null ? void 0 : r.values) || {}
  }, s = (await Tr(l, e)).errors;
  return {
    errors: s,
    valid: !s.length
  };
}
async function Tr(e, t) {
  if (G(e.rules) || dt(e.rules))
    return Fr(t, e.rules);
  if (D(e.rules) || Array.isArray(e.rules)) {
    const s = {
      field: e.label || e.name,
      name: e.name,
      label: e.label,
      form: e.formData,
      value: t
    }, f = Array.isArray(e.rules) ? e.rules : [e.rules], v = f.length, d = [];
    for (let m = 0; m < v; m++) {
      const O = f[m], _ = await O(t, s);
      if (!(typeof _ != "string" && !Array.isArray(_) && _)) {
        if (Array.isArray(_))
          d.push(..._);
        else {
          const L = typeof _ == "string" ? _ : mt(s);
          d.push(L);
        }
        if (e.bails)
          return {
            errors: d
          };
      }
    }
    return {
      errors: d
    };
  }
  const r = Object.assign(Object.assign({}, e), { rules: Er(e.rules) }), o = [], l = Object.keys(r.rules), a = l.length;
  for (let s = 0; s < a; s++) {
    const f = l[s], v = await Nr(r, t, {
      name: f,
      params: r.rules[f]
    });
    if (v.error && (o.push(v.error), e.bails))
      return {
        errors: o
      };
  }
  return {
    errors: o
  };
}
function kr(e) {
  return !!e && e.name === "ValidationError";
}
function pt(e) {
  return {
    __type: "VVTypedSchema",
    async parse(r) {
      var o;
      try {
        return {
          output: await e.validate(r, { abortEarly: !1 }),
          errors: []
        };
      } catch (l) {
        if (!kr(l))
          throw l;
        if (!(!((o = l.inner) === null || o === void 0) && o.length) && l.errors.length)
          return { errors: [{ path: l.path, errors: l.errors }] };
        const a = l.inner.reduce((s, f) => {
          const v = f.path || "";
          return s[v] || (s[v] = { errors: [], path: v }), s[v].errors.push(...f.errors), s;
        }, {});
        return { errors: Object.values(a) };
      }
    }
  };
}
async function Fr(e, t) {
  const o = await (G(t) ? t : pt(t)).parse(e), l = [];
  for (const a of o.errors)
    a.errors.length && l.push(...a.errors);
  return {
    errors: l
  };
}
async function Nr(e, t, r) {
  const o = dr(r.name);
  if (!o)
    throw new Error(`No such validator '${r.name}' exists.`);
  const l = Rr(r.params, e.formData), a = {
    field: e.label || e.name,
    name: e.name,
    label: e.label,
    value: t,
    form: e.formData,
    rule: Object.assign(Object.assign({}, r), { params: l })
  }, s = await o(t, l, a);
  return typeof s == "string" ? {
    error: s
  } : {
    error: s ? void 0 : mt(a)
  };
}
function mt(e) {
  const t = ie().generateMessage;
  return t ? t(e) : "Field is invalid";
}
function Rr(e, t) {
  const r = (o) => hr(o) ? o(t) : o;
  return Array.isArray(e) ? e.map(r) : Object.keys(e).reduce((o, l) => (o[l] = r(e[l]), o), {});
}
async function xr(e, t) {
  const o = await (G(e) ? e : pt(e)).parse(b(t)), l = {}, a = {};
  for (const s of o.errors) {
    const f = s.errors, v = (s.path || "").replace(/\["(\d+)"\]/g, (d, m) => `[${m}]`);
    l[v] = { valid: !f.length, errors: f }, f.length && (a[v] = f[0]);
  }
  return {
    valid: !o.errors.length,
    results: l,
    errors: a,
    values: o.value
  };
}
async function Br(e, t, r) {
  const l = N(e).map(async (d) => {
    var m, O, _;
    const P = (m = r == null ? void 0 : r.names) === null || m === void 0 ? void 0 : m[d], L = await jr($(t, d), e[d], {
      name: (P == null ? void 0 : P.name) || d,
      label: P == null ? void 0 : P.label,
      values: t,
      bails: (_ = (O = r == null ? void 0 : r.bailsMap) === null || O === void 0 ? void 0 : O[d]) !== null && _ !== void 0 ? _ : !0
    });
    return Object.assign(Object.assign({}, L), { path: d });
  });
  let a = !0;
  const s = await Promise.all(l), f = {}, v = {};
  for (const d of s)
    f[d.path] = {
      valid: d.valid,
      errors: d.errors
    }, d.valid || (a = !1, v[d.path] = d.errors[0]);
  return {
    valid: a,
    results: f,
    errors: v
  };
}
function Dr(e) {
  process.env.NODE_ENV !== "production" && ar({
    id: "vee-validate-devtools-plugin",
    label: "VeeValidate Plugin",
    packageName: "vee-validate",
    homepage: "https://vee-validate.logaretm.com/v4",
    app: e,
    logo: "https://vee-validate.logaretm.com/v4/logo.png"
  }, Lr);
}
const le = {}, gt = {};
let q;
const Re = Or(() => {
  setTimeout(async () => {
    await B(), q == null || q.sendInspectorState(Y), q == null || q.sendInspectorTree(Y);
  }, 100);
}, 100);
function Mr(e) {
  const t = xe();
  if (!q) {
    const r = t == null ? void 0 : t.appContext.app;
    if (!r)
      return;
    Dr(r);
  }
  le[e.formId] = Object.assign({}, e), le[e.formId]._vm = t, qt(() => {
    delete le[e.formId], Re();
  }), Re();
}
const Y = "vee-validate-inspector", F = {
  error: 12405579,
  success: 448379,
  unknown: 5522283,
  white: 16777215,
  black: 0,
  blue: 218007,
  purple: 12157168,
  orange: 16099682,
  gray: 12304330
};
let E = null;
function Lr(e) {
  q = e, e.addInspector({
    id: Y,
    icon: "rule",
    label: "vee-validate",
    noSelectionText: "Select a vee-validate node to inspect",
    actions: [
      {
        icon: "done_outline",
        tooltip: "Validate selected item",
        action: async () => {
          if (!E) {
            console.error("There is not a valid selected vee-validate node or component");
            return;
          }
          if (E.type === "field") {
            await E.field.validate();
            return;
          }
          if (E.type === "form") {
            await E.form.validate();
            return;
          }
          E.type === "pathState" && await E.form.validateField(E.state.path);
        }
      },
      {
        icon: "delete_sweep",
        tooltip: "Clear validation state of the selected item",
        action: () => {
          if (!E) {
            console.error("There is not a valid selected vee-validate node or component");
            return;
          }
          if (E.type === "field") {
            E.field.resetField();
            return;
          }
          E.type === "form" && E.form.resetForm(), E.type === "pathState" && E.form.resetField(E.state.path);
        }
      }
    ]
  }), e.on.getInspectorTree((t) => {
    if (t.inspectorId !== Y)
      return;
    const r = Object.values(le), o = Object.values(gt);
    t.rootNodes = [
      ...r.map(Ur),
      ...o.map((l) => $r(l))
    ];
  }), e.on.getInspectorState((t, r) => {
    if (t.inspectorId !== Y || r.currentTab !== `custom-inspector:${Y}`)
      return;
    const { form: o, field: l, state: a, type: s } = Wr(t.nodeId);
    if (o && s === "form") {
      t.state = qr(o), E = { type: "form", form: o };
      return;
    }
    if (a && s === "pathState" && o) {
      t.state = ot(a), E = { type: "pathState", state: a, form: o };
      return;
    }
    if (l && s === "field") {
      t.state = ot({
        errors: l.errors.value,
        dirty: l.meta.dirty,
        valid: l.meta.valid,
        touched: l.meta.touched,
        value: l.value.value,
        initialValue: l.meta.initialValue
      }), E = { field: l, type: "field" };
      return;
    }
    E = null;
  });
}
function Ur(e) {
  const { textColor: t, bgColor: r } = bt(e.meta.value.valid), o = {};
  Object.values(e.getAllPathStates()).forEach((s) => {
    U(o, w(s.path), zr(s, e));
  });
  function l(s, f = []) {
    const v = [...f].pop();
    return "id" in s ? Object.assign(Object.assign({}, s), { label: v || s.label }) : Q(s) ? {
      id: `${f.join(".")}`,
      label: v || "",
      children: Object.keys(s).map((d) => l(s[d], [...f, d]))
    } : Array.isArray(s) ? {
      id: `${f.join(".")}`,
      label: `${v}[]`,
      children: s.map((d, m) => l(d, [...f, String(m)]))
    } : { id: "", label: "", children: [] };
  }
  const { children: a } = l(o);
  return {
    id: Me(e),
    label: "Form",
    children: a,
    tags: [
      {
        label: "Form",
        textColor: t,
        backgroundColor: r
      },
      {
        label: `${e.getAllPathStates().length} fields`,
        textColor: F.white,
        backgroundColor: F.unknown
      }
    ]
  };
}
function zr(e, t) {
  return {
    id: Me(t, e),
    label: w(e.path),
    tags: yt(e.multiple, e.fieldsCount, e.type, e.valid, t)
  };
}
function $r(e, t) {
  return {
    id: Me(t, e),
    label: w(e.name),
    tags: yt(!1, 1, e.type, e.meta.valid, t)
  };
}
function yt(e, t, r, o, l) {
  const { textColor: a, bgColor: s } = bt(o);
  return [
    e ? void 0 : {
      label: "Field",
      textColor: a,
      backgroundColor: s
    },
    l ? void 0 : {
      label: "Standalone",
      textColor: F.black,
      backgroundColor: F.gray
    },
    r === "checkbox" ? {
      label: "Checkbox",
      textColor: F.white,
      backgroundColor: F.blue
    } : void 0,
    r === "radio" ? {
      label: "Radio",
      textColor: F.white,
      backgroundColor: F.purple
    } : void 0,
    e ? {
      label: "Multiple",
      textColor: F.black,
      backgroundColor: F.orange
    } : void 0
  ].filter(Boolean);
}
function Me(e, t) {
  const r = t ? "path" in t ? "pathState" : "field" : "form", o = t ? "path" in t ? t == null ? void 0 : t.path : w(t == null ? void 0 : t.name) : "", l = { f: e == null ? void 0 : e.formId, ff: o, type: r };
  return btoa(encodeURIComponent(JSON.stringify(l)));
}
function Wr(e) {
  try {
    const t = JSON.parse(decodeURIComponent(atob(e))), r = le[t.f];
    if (!r && t.ff) {
      const l = gt[t.ff];
      return l ? {
        type: t.type,
        field: l
      } : {};
    }
    if (!r)
      return {};
    const o = r.getPathState(t.ff);
    return {
      type: t.type,
      form: r,
      state: o
    };
  } catch {
  }
  return {};
}
function ot(e) {
  return {
    "Field state": [
      { key: "errors", value: e.errors },
      {
        key: "initialValue",
        value: e.initialValue
      },
      {
        key: "currentValue",
        value: e.value
      },
      {
        key: "touched",
        value: e.touched
      },
      {
        key: "dirty",
        value: e.dirty
      },
      {
        key: "valid",
        value: e.valid
      }
    ]
  };
}
function qr(e) {
  const { errorBag: t, meta: r, values: o, isSubmitting: l, isValidating: a, submitCount: s } = e;
  return {
    "Form state": [
      {
        key: "submitCount",
        value: s.value
      },
      {
        key: "isSubmitting",
        value: l.value
      },
      {
        key: "isValidating",
        value: a.value
      },
      {
        key: "touched",
        value: r.value.touched
      },
      {
        key: "dirty",
        value: r.value.dirty
      },
      {
        key: "valid",
        value: r.value.valid
      },
      {
        key: "initialValues",
        value: r.value.initialValues
      },
      {
        key: "currentValues",
        value: o
      },
      {
        key: "errors",
        value: N(t.value).reduce((f, v) => {
          var d;
          const m = (d = t.value[v]) === null || d === void 0 ? void 0 : d[0];
          return m && (f[v] = m), f;
        }, {})
      }
    ]
  };
}
function bt(e) {
  return {
    bgColor: e ? F.success : F.error,
    textColor: e ? F.black : F.white
  };
}
let Gr = 0;
const he = ["bails", "fieldsCount", "id", "multiple", "type", "validate"];
function Ot(e) {
  const t = Object.assign({}, j((e == null ? void 0 : e.initialValues) || {})), r = w(e == null ? void 0 : e.validationSchema);
  return r && G(r) && D(r.cast) ? b(r.cast(t) || {}) : b(t);
}
function Hr(e) {
  var t;
  const r = Gr++;
  let o = 0;
  const l = z(!1), a = z(!1), s = z(0), f = [], v = je(Ot(e)), d = z([]), m = z({}), O = z({}), _ = Sr(() => {
    O.value = d.value.reduce((i, n) => (i[fe(j(n.path))] = n, i), {});
  });
  function P(i, n) {
    const u = T(i);
    if (!u) {
      typeof i == "string" && (m.value[fe(i)] = rt(n));
      return;
    }
    if (typeof i == "string") {
      const c = fe(i);
      m.value[c] && delete m.value[c];
    }
    u.errors = rt(n), u.valid = !u.errors.length;
  }
  function L(i) {
    N(i).forEach((n) => {
      P(n, i[n]);
    });
  }
  e != null && e.initialErrors && L(e.initialErrors);
  const ue = A(() => {
    const i = d.value.reduce((n, u) => (u.errors.length && (n[u.path] = u.errors), n), {});
    return Object.assign(Object.assign({}, m.value), i);
  }), me = A(() => N(ue.value).reduce((i, n) => {
    const u = ue.value[n];
    return u != null && u.length && (i[n] = u[0]), i;
  }, {})), St = A(() => d.value.reduce((i, n) => (i[n.path] = { name: n.path || "", label: n.label || "" }, i), {})), Vt = A(() => d.value.reduce((i, n) => {
    var u;
    return i[n.path] = (u = n.bails) !== null && u !== void 0 ? u : !0, i;
  }, {})), Le = Object.assign({}, (e == null ? void 0 : e.initialErrors) || {}), Et = (t = e == null ? void 0 : e.keepValuesOnUnmount) !== null && t !== void 0 ? t : !1, { initialValues: Z, originalInitialValues: ee, setInitialValues: wt } = Kr(d, v, e), Ue = Qr(d, v, ee, me), ze = A(() => d.value.reduce((i, n) => {
    const u = $(v, n.path);
    return U(i, n.path, u), i;
  }, {})), R = e == null ? void 0 : e.validationSchema;
  function se(i, n) {
    var u, c;
    const p = A(() => $(Z.value, j(i))), h = O.value[j(i)], g = (n == null ? void 0 : n.type) === "checkbox" || (n == null ? void 0 : n.type) === "radio";
    if (h && g) {
      h.multiple = !0;
      const x = o++;
      return Array.isArray(h.id) ? h.id.push(x) : h.id = [h.id, x], h.fieldsCount++, h.__flags.pendingUnmount[x] = !1, h;
    }
    const S = A(() => $(v, j(i))), V = j(i), I = re.findIndex((x) => x === V);
    I !== -1 && re.splice(I, 1);
    const y = A(() => {
      var x, ne, Ee, Qe, we, Pe;
      return G(R) ? (Ee = (ne = (x = R).describe) === null || ne === void 0 ? void 0 : ne.call(x, j(i)).required) !== null && Ee !== void 0 ? Ee : !1 : G(n == null ? void 0 : n.schema) && (Pe = (we = (Qe = n == null ? void 0 : n.schema).describe) === null || we === void 0 ? void 0 : we.call(Qe).required) !== null && Pe !== void 0 ? Pe : !1;
    }), C = o++, k = je({
      id: C,
      path: i,
      touched: !1,
      pending: !1,
      valid: !0,
      validated: !!(!((u = Le[V]) === null || u === void 0) && u.length),
      required: y,
      initialValue: p,
      errors: Gt([]),
      bails: (c = n == null ? void 0 : n.bails) !== null && c !== void 0 ? c : !1,
      label: n == null ? void 0 : n.label,
      type: (n == null ? void 0 : n.type) || "default",
      value: S,
      multiple: !1,
      __flags: {
        pendingUnmount: { [C]: !1 },
        pendingReset: !1
      },
      fieldsCount: 1,
      validate: n == null ? void 0 : n.validate,
      dirty: A(() => !oe(w(S), w(p)))
    });
    return d.value.push(k), O.value[V] = k, _(), me.value[V] && !Le[V] && B(() => {
      H(V, { mode: "silent" });
    }), Te(i) && Ce(i, (x) => {
      _();
      const ne = b(S.value);
      O.value[x] = k, B(() => {
        U(v, x, ne);
      });
    }), k;
  }
  const Pt = tt(He, 5), Ct = tt(He, 5), $e = _r(async (i) => await (i === "silent" ? Pt() : Ct()), (i, [n]) => {
    const u = N(M.errorBag.value), p = [
      .../* @__PURE__ */ new Set([...N(i.results), ...d.value.map((h) => h.path), ...u])
    ].sort().reduce((h, g) => {
      var S;
      const V = g, I = T(V) || At(V), y = ((S = i.results[V]) === null || S === void 0 ? void 0 : S.errors) || [], C = j(I == null ? void 0 : I.path) || V, k = Jr({ errors: y, valid: !y.length }, h.results[C]);
      return h.results[C] = k, k.valid || (h.errors[C] = k.errors[0]), I && m.value[C] && delete m.value[C], I ? (I.valid = k.valid, n === "silent" || n === "validated-only" && !I.validated || P(I, k.errors), h) : (P(C, y), h);
    }, { valid: i.valid, results: {}, errors: {} });
    return i.values && (p.values = i.values), N(p.results).forEach((h) => {
      var g;
      const S = T(h);
      S && n !== "silent" && (n === "validated-only" && !S.validated || P(S, (g = p.results[h]) === null || g === void 0 ? void 0 : g.errors));
    }), p;
  });
  function te(i) {
    d.value.forEach(i);
  }
  function T(i) {
    const n = typeof i == "string" ? fe(i) : i;
    return typeof n == "string" ? O.value[n] : n;
  }
  function At(i) {
    return d.value.filter((u) => i.startsWith(u.path)).reduce((u, c) => u ? c.path.length > u.path.length ? c : u : c, void 0);
  }
  let re = [], ce;
  function It(i) {
    return re.push(i), ce || (ce = B(() => {
      [...re].sort().reverse().forEach((u) => {
        et(v, u);
      }), re = [], ce = null;
    })), ce;
  }
  function We(i) {
    return function(u, c) {
      return function(h) {
        return h instanceof Event && (h.preventDefault(), h.stopPropagation()), te((g) => g.touched = !0), l.value = !0, s.value++, K().then((g) => {
          const S = b(v);
          if (g.valid && typeof u == "function") {
            const V = b(ze.value);
            let I = i ? V : S;
            return g.values && (I = g.values), u(I, {
              evt: h,
              controlledValues: V,
              setErrors: L,
              setFieldError: P,
              setTouched: Oe,
              setFieldTouched: de,
              setValues: ye,
              setFieldValue: W,
              resetForm: _e,
              resetField: qe
            });
          }
          !g.valid && typeof c == "function" && c({
            values: S,
            evt: h,
            errors: g.errors,
            results: g.results
          });
        }).then((g) => (l.value = !1, g), (g) => {
          throw l.value = !1, g;
        });
      };
    };
  }
  const ge = We(!1);
  ge.withControlled = We(!0);
  function jt(i, n) {
    const u = d.value.findIndex((p) => p.path === i && (Array.isArray(p.id) ? p.id.includes(n) : p.id === n)), c = d.value[u];
    if (!(u === -1 || !c)) {
      if (B(() => {
        H(i, { mode: "silent", warn: !1 });
      }), c.multiple && c.fieldsCount && c.fieldsCount--, Array.isArray(c.id)) {
        const p = c.id.indexOf(n);
        p >= 0 && c.id.splice(p, 1), delete c.__flags.pendingUnmount[n];
      }
      (!c.multiple || c.fieldsCount <= 0) && (d.value.splice(u, 1), Ge(i), _(), delete O.value[i]);
    }
  }
  function Tt(i) {
    N(O.value).forEach((n) => {
      n.startsWith(i) && delete O.value[n];
    }), d.value = d.value.filter((n) => !n.path.startsWith(i)), B(() => {
      _();
    });
  }
  const M = {
    formId: r,
    values: v,
    controlledValues: ze,
    errorBag: ue,
    errors: me,
    schema: R,
    submitCount: s,
    meta: Ue,
    isSubmitting: l,
    isValidating: a,
    fieldArrays: f,
    keepValuesOnUnmount: Et,
    validateSchema: w(R) ? $e : void 0,
    validate: K,
    setFieldError: P,
    validateField: H,
    setFieldValue: W,
    setValues: ye,
    setErrors: L,
    setFieldTouched: de,
    setTouched: Oe,
    resetForm: _e,
    resetField: qe,
    handleSubmit: ge,
    useFieldModel: Dt,
    defineInputBinds: Mt,
    defineComponentBinds: Lt,
    defineField: Ve,
    stageInitialValue: xt,
    unsetInitialValue: Ge,
    setFieldInitialValue: Se,
    createPathState: se,
    getPathState: T,
    unsetPathValue: It,
    removePathState: jt,
    initialValues: Z,
    getAllPathStates: () => d.value,
    destroyPath: Tt,
    isFieldTouched: Ft,
    isFieldDirty: Nt,
    isFieldValid: Rt
  };
  function W(i, n, u = !0) {
    const c = b(n), p = typeof i == "string" ? i : i.path;
    T(p) || se(p), U(v, p, c), u && H(p);
  }
  function kt(i, n = !0) {
    N(v).forEach((u) => {
      delete v[u];
    }), N(i).forEach((u) => {
      W(u, i[u], !1);
    }), n && K();
  }
  function ye(i, n = !0) {
    ae(v, i), f.forEach((u) => u && u.reset()), n && K();
  }
  function be(i, n) {
    const u = T(j(i)) || se(i);
    return A({
      get() {
        return u.value;
      },
      set(c) {
        var p;
        const h = j(i);
        W(h, c, (p = j(n)) !== null && p !== void 0 ? p : !1);
      }
    });
  }
  function de(i, n) {
    const u = T(i);
    u && (u.touched = n);
  }
  function Ft(i) {
    const n = T(i);
    return n ? n.touched : d.value.filter((u) => u.path.startsWith(i)).some((u) => u.touched);
  }
  function Nt(i) {
    const n = T(i);
    return n ? n.dirty : d.value.filter((u) => u.path.startsWith(i)).some((u) => u.dirty);
  }
  function Rt(i) {
    const n = T(i);
    return n ? n.valid : d.value.filter((u) => u.path.startsWith(i)).every((u) => u.valid);
  }
  function Oe(i) {
    if (typeof i == "boolean") {
      te((n) => {
        n.touched = i;
      });
      return;
    }
    N(i).forEach((n) => {
      de(n, !!i[n]);
    });
  }
  function qe(i, n) {
    var u;
    const c = n && "value" in n ? n.value : $(Z.value, i), p = T(i);
    p && (p.__flags.pendingReset = !0), Se(i, b(c), !0), W(i, c, !1), de(i, (u = n == null ? void 0 : n.touched) !== null && u !== void 0 ? u : !1), P(i, (n == null ? void 0 : n.errors) || []), B(() => {
      p && (p.__flags.pendingReset = !1);
    });
  }
  function _e(i, n) {
    let u = b(i != null && i.values ? i.values : ee.value);
    u = n != null && n.force ? u : ae(ee.value, u), u = G(R) && D(R.cast) ? R.cast(u) : u, wt(u), te((c) => {
      var p;
      c.__flags.pendingReset = !0, c.validated = !1, c.touched = ((p = i == null ? void 0 : i.touched) === null || p === void 0 ? void 0 : p[c.path]) || !1, W(c.path, $(u, c.path), !1), P(c.path, void 0);
    }), n != null && n.force ? kt(u, !1) : ye(u, !1), L((i == null ? void 0 : i.errors) || {}), s.value = (i == null ? void 0 : i.submitCount) || 0, B(() => {
      K({ mode: "silent" }), te((c) => {
        c.__flags.pendingReset = !1;
      });
    });
  }
  async function K(i) {
    const n = (i == null ? void 0 : i.mode) || "force";
    if (n === "force" && te((h) => h.validated = !0), M.validateSchema)
      return M.validateSchema(n);
    a.value = !0;
    const u = await Promise.all(d.value.map((h) => h.validate ? h.validate(i).then((g) => ({
      key: h.path,
      valid: g.valid,
      errors: g.errors
    })) : Promise.resolve({
      key: h.path,
      valid: !0,
      errors: []
    })));
    a.value = !1;
    const c = {}, p = {};
    for (const h of u)
      c[h.key] = {
        valid: h.valid,
        errors: h.errors
      }, h.errors.length && (p[h.key] = h.errors[0]);
    return {
      valid: u.every((h) => h.valid),
      results: c,
      errors: p
    };
  }
  async function H(i, n) {
    var u;
    const c = T(i);
    if (c && (n == null ? void 0 : n.mode) !== "silent" && (c.validated = !0), R) {
      const { results: h } = await $e((n == null ? void 0 : n.mode) || "validated-only");
      return h[i] || { errors: [], valid: !0 };
    }
    return c != null && c.validate ? c.validate(n) : (!c && ((u = n == null ? void 0 : n.warn) !== null && u !== void 0 ? u : !0) && process.env.NODE_ENV !== "production" && Ut(`field with path ${i} was not found`), Promise.resolve({ errors: [], valid: !0 }));
  }
  function Ge(i) {
    et(Z.value, i);
  }
  function xt(i, n, u = !1) {
    Se(i, n), U(v, i, n), u && !(e != null && e.initialValues) && U(ee.value, i, b(n));
  }
  function Se(i, n, u = !1) {
    U(Z.value, i, b(n)), u && U(ee.value, i, b(n));
  }
  async function He() {
    const i = w(R);
    if (!i)
      return { valid: !0, results: {}, errors: {} };
    a.value = !0;
    const n = dt(i) || G(i) ? await xr(i, v) : await Br(i, v, {
      names: St.value,
      bailsMap: Vt.value
    });
    return a.value = !1, n;
  }
  const Bt = ge((i, { evt: n }) => {
    br(n) && n.target.submit();
  });
  zt(() => {
    if (e != null && e.initialErrors && L(e.initialErrors), e != null && e.initialTouched && Oe(e.initialTouched), e != null && e.validateOnMount) {
      K();
      return;
    }
    M.validateSchema && M.validateSchema("silent");
  }), Te(R) && Ce(R, () => {
    var i;
    (i = M.validateSchema) === null || i === void 0 || i.call(M, "validated-only");
  }), lt(fr, M), process.env.NODE_ENV !== "production" && (Mr(M), Ce(() => Object.assign(Object.assign({ errors: ue.value }, Ue.value), { values: v, isSubmitting: l.value, isValidating: a.value, submitCount: s.value }), Re, {
    deep: !0
  }));
  function Ve(i, n) {
    const u = D(n) || n == null ? void 0 : n.label, c = T(j(i)) || se(i, { label: u }), p = () => D(n) ? n(ve(c, he)) : n || {};
    function h() {
      var y;
      c.touched = !0, ((y = p().validateOnBlur) !== null && y !== void 0 ? y : ie().validateOnBlur) && H(c.path);
    }
    function g() {
      var y;
      ((y = p().validateOnInput) !== null && y !== void 0 ? y : ie().validateOnInput) && B(() => {
        H(c.path);
      });
    }
    function S() {
      var y;
      ((y = p().validateOnChange) !== null && y !== void 0 ? y : ie().validateOnChange) && B(() => {
        H(c.path);
      });
    }
    const V = A(() => {
      const y = {
        onChange: S,
        onInput: g,
        onBlur: h
      };
      return D(n) ? Object.assign(Object.assign({}, y), n(ve(c, he)).props || {}) : n != null && n.props ? Object.assign(Object.assign({}, y), n.props(ve(c, he))) : y;
    });
    return [be(i, () => {
      var y, C, k;
      return (k = (y = p().validateOnModelUpdate) !== null && y !== void 0 ? y : (C = ie()) === null || C === void 0 ? void 0 : C.validateOnModelUpdate) !== null && k !== void 0 ? k : !0;
    }), V];
  }
  function Dt(i) {
    return Array.isArray(i) ? i.map((n) => be(n, !0)) : be(i);
  }
  function Mt(i, n) {
    const [u, c] = Ve(i, n);
    function p() {
      c.value.onBlur();
    }
    function h(S) {
      const V = nt(S);
      W(j(i), V, !1), c.value.onInput();
    }
    function g(S) {
      const V = nt(S);
      W(j(i), V, !1), c.value.onChange();
    }
    return A(() => Object.assign(Object.assign({}, c.value), {
      onBlur: p,
      onInput: h,
      onChange: g,
      value: u.value
    }));
  }
  function Lt(i, n) {
    const [u, c] = Ve(i, n), p = T(j(i));
    function h(g) {
      u.value = g;
    }
    return A(() => {
      const g = D(n) ? n(ve(p, he)) : n || {};
      return Object.assign({ [g.model || "modelValue"]: u.value, [`onUpdate:${g.model || "modelValue"}`]: h }, c.value);
    });
  }
  return Object.assign(Object.assign({}, M), { values: $t(v), handleReset: () => _e(), submitForm: Bt });
}
function Qr(e, t, r, o) {
  const l = {
    touched: "some",
    pending: "some",
    valid: "every"
  }, a = A(() => !oe(t, w(r)));
  function s() {
    const v = e.value;
    return N(l).reduce((d, m) => {
      const O = l[m];
      return d[m] = v[O]((_) => _[m]), d;
    }, {});
  }
  const f = je(s());
  return Wt(() => {
    const v = s();
    f.touched = v.touched, f.valid = v.valid, f.pending = v.pending;
  }), A(() => Object.assign(Object.assign({ initialValues: w(r) }, f), { valid: f.valid && !N(o.value).length, dirty: a.value }));
}
function Kr(e, t, r) {
  const o = Ot(r), l = z(o), a = z(b(o));
  function s(f, v = !1) {
    l.value = ae(b(l.value) || {}, b(f)), a.value = ae(b(a.value) || {}, b(f)), v && e.value.forEach((d) => {
      if (d.touched)
        return;
      const O = $(l.value, d.path);
      U(t, d.path, b(O));
    });
  }
  return {
    initialValues: l,
    originalInitialValues: a,
    setInitialValues: s
  };
}
function Jr(e, t) {
  return t ? {
    valid: e.valid && t.valid,
    errors: [...e.errors, ...t.errors]
  } : e;
}
const X = /* @__PURE__ */ new WeakMap(), Yr = (e, t) => {
  var r;
  const o = (r = xe()) == null ? void 0 : r.proxy;
  if (o == null)
    throw new Error("provideLocal must be called in setup");
  X.has(o) || X.set(o, /* @__PURE__ */ Object.create(null));
  const l = X.get(o);
  l[e] = t, lt(e, t);
}, Xr = (...e) => {
  var t;
  const r = e[0], o = (t = xe()) == null ? void 0 : t.proxy;
  if (o == null)
    throw new Error("injectLocal must be called in setup");
  return X.has(o) && r in X.get(o) ? X.get(o)[r] : Ht(...e);
};
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
const _t = Symbol("FORM_PROVIDER_CONTEXT"), Zr = (e) => Yr(_t, e), en = () => Xr(_t), on = /* @__PURE__ */ at({
  name: "FsForm",
  __name: "FsForm",
  props: {
    validationSchema: {},
    initialValues: {},
    initialErrors: {},
    initialTouched: {},
    validateOnMount: { type: Boolean },
    keepValuesOnUnmount: {},
    model: {},
    rules: {},
    labelPosition: {},
    requireAsteriskPosition: {},
    labelWidth: {},
    labelSuffix: {},
    inline: { type: Boolean },
    inlineMessage: { type: Boolean },
    statusIcon: { type: Boolean },
    showMessage: { type: Boolean },
    validateOnRuleChange: { type: Boolean },
    hideRequiredAsterisk: { type: Boolean },
    scrollToError: { type: Boolean },
    scrollIntoViewOptions: {},
    size: {},
    disabled: { type: Boolean }
  },
  setup(e, { expose: t }) {
    const r = e, o = Hr(r);
    Zr(o), t({ ...o });
    const l = A(() => ({
      inline: r.inline,
      labelPosition: r.labelPosition || "right",
      labelWidth: r.labelWidth,
      labelSuffix: r.labelSuffix,
      hideRequiredAsterisk: r.hideRequiredAsterisk,
      requireAsteriskPosition: r.requireAsteriskPosition || "left",
      disabled: r.disabled,
      size: r.size,
      showMessage: r.showMessage || !0,
      inlineMessage: r.inlineMessage,
      statusIcon: r.statusIcon,
      validateOnRuleChange: r.validateOnRuleChange || !0,
      scrollToError: r.scrollToError,
      scrollIntoViewOptions: r.scrollIntoViewOptions
    }));
    return (a, s) => (ke(), Fe(w(Xt), Ke(Je(l.value)), {
      default: ut(() => [
        Qt(a.$slots, "default", Ke(Je(w(o))))
      ]),
      _: 3
    }, 16));
  }
}), ln = /* @__PURE__ */ at({
  name: "FsFormItem",
  inheritAttrs: !0,
  __name: "FsFormItem",
  props: {
    prop: {},
    label: {},
    labelWidth: {},
    required: { type: Boolean },
    rules: {},
    error: {},
    validateStatus: {},
    for: {},
    inlineMessage: {},
    showMessage: { type: Boolean },
    size: {}
  },
  setup(e) {
    const t = e, r = Kt(), o = en(), l = (m) => ({
      props: {
        validateEvent: !1,
        error: m.errors[0]
        // required: state.required
      }
    }), [a, s] = o.defineField(t.prop, l);
    function f() {
      return r.default ? r.default() : null;
    }
    const d = (() => {
      let m = f();
      return m ? (Array.isArray(m) || (m = [m]), m[0]) : void 0;
    })();
    return (m, O) => (ke(), Fe(w(Zt), Jt({
      label: m.label,
      "label-width": m.labelWidth,
      size: m.size,
      "validate-status": m.validateStatus,
      required: m.required
    }, w(s)), {
      default: ut(() => [
        (ke(), Fe(Yt(w(d)), {
          modelValue: w(a),
          "onUpdate:modelValue": O[0] || (O[0] = (_) => Te(a) ? a.value = _ : null)
        }, null, 8, ["modelValue"]))
      ]),
      _: 1
    }, 16, ["label", "label-width", "size", "validate-status", "required"]));
  }
});
function an() {
  return [z()];
}
export {
  on as FsForm,
  ln as FsFormItem,
  an as useFsForm
};
//# sourceMappingURL=index.mjs.map
