auto-vue-manual 0.2.19 → 0.2.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import { ElNotification as Zu, ElMessageBox as jve, ElMessage as o_, switchProps as w5e, ElTable as qve, dialogProps as Xte, drawerProps as E5e, buttonProps as mD, avatarProps as A5e, textProps as T5e, radioGroupProps as D5e } from "element-plus";
2
2
  import { defineStore as FS, createPinia as k5e, storeToRefs as kQ } from "pinia";
3
- import { inject as By, shallowRef as Yve, defineComponent as xr, unref as Qt, shallowReactive as M5e, reactive as h_, computed as lr, h as Fy, provide as HM, ref as mr, watch as Ws, getCurrentInstance as nD, watchEffect as L5e, nextTick as hu, onMounted as p_, onUnmounted as Kve, effectScope as R5e, isRef as Ty, Fragment as Ii, createVNode as St, Text as O5e, resolveComponent as fn, createElementBlock as Mr, openBlock as sn, createElementVNode as Yn, toDisplayString as _a, withCtx as rn, createTextVNode as Vc, toRefs as Xve, useSlots as Jte, createBlock as Wr, normalizeProps as tG, guardReactiveProps as nG, mergeProps as ol, isVNode as Jve, normalizeStyle as $m, normalizeClass as ju, withDirectives as Ss, resolveDirective as fL, renderSlot as Hl, createCommentVNode as al, renderList as Um, resolveDynamicComponent as vD, createSlots as Qte, vShow as qu, onBeforeUnmount as rG, onActivated as N5e, onDeactivated as I5e, withModifiers as VS, toRef as Qve, Transition as P5e, KeepAlive as B5e } from "vue";
3
+ import { inject as By, shallowRef as Yve, defineComponent as xr, unref as Qt, shallowReactive as M5e, reactive as h_, computed as lr, h as Fy, provide as HM, ref as mr, watch as Ws, getCurrentInstance as nD, watchEffect as L5e, nextTick as hu, onMounted as p_, onUnmounted as Kve, effectScope as R5e, isRef as Ty, Fragment as Ii, createVNode as St, Text as O5e, resolveComponent as fn, createElementBlock as Mr, openBlock as sn, createElementVNode as Yn, toDisplayString as ga, withCtx as rn, createTextVNode as Vc, toRefs as Xve, useSlots as Jte, createBlock as Wr, normalizeProps as tG, guardReactiveProps as nG, mergeProps as ol, isVNode as Jve, normalizeStyle as $m, normalizeClass as ju, withDirectives as Ss, resolveDirective as fL, renderSlot as Hl, createCommentVNode as al, renderList as Um, resolveDynamicComponent as vD, createSlots as Qte, vShow as qu, onBeforeUnmount as rG, onActivated as N5e, onDeactivated as I5e, withModifiers as VS, toRef as Qve, Transition as P5e, KeepAlive as B5e } from "vue";
4
4
  import F5e from "mitt";
5
5
  const V5e = "search", e0e = "search", t0e = "info", n0e = "info", r0e = "list", o0e = "list", a0e = "create", i0e = "create", s0e = "update", l0e = "update", z5e = "append", c0e = "append", H5e = "modify", u0e = "modify", $5e = "change_status", f0e = "change_status", U5e = "remove", d0e = "remove", W5e = {
6
6
  [V5e]: e0e,
@@ -166,7 +166,7 @@ const v0e = (n) => {
166
166
  defaultAuthApi: MQ,
167
167
  defaultApiConfig: wT,
168
168
  defaultAppConfig: m0e
169
- }), gat = {
169
+ }), mat = {
170
170
  setOptions: v0e,
171
171
  getOptions: us
172
172
  };
@@ -3883,22 +3883,22 @@ _l.getAdapter = i1e.getAdapter;
3883
3883
  _l.HttpStatusCode = UQ;
3884
3884
  _l.default = _l;
3885
3885
  const {
3886
- Axios: yat,
3887
- AxiosError: bat,
3888
- CanceledError: xat,
3889
- isCancel: _at,
3890
- CancelToken: Cat,
3891
- VERSION: Sat,
3892
- all: wat,
3893
- Cancel: Eat,
3894
- isAxiosError: Aat,
3895
- spread: Tat,
3896
- toFormData: Dat,
3897
- AxiosHeaders: kat,
3898
- HttpStatusCode: Mat,
3899
- formToJSON: Lat,
3900
- getAdapter: Rat,
3901
- mergeConfig: Oat
3886
+ Axios: bat,
3887
+ AxiosError: xat,
3888
+ CanceledError: _at,
3889
+ isCancel: Cat,
3890
+ CancelToken: Sat,
3891
+ VERSION: wat,
3892
+ all: Eat,
3893
+ Cancel: Aat,
3894
+ isAxiosError: Tat,
3895
+ spread: Dat,
3896
+ toFormData: kat,
3897
+ AxiosHeaders: Mat,
3898
+ HttpStatusCode: Lat,
3899
+ formToJSON: Rat,
3900
+ getAdapter: Oat,
3901
+ mergeConfig: Nat
3902
3902
  } = _l;
3903
3903
  var KK = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
3904
3904
  function pG(n) {
@@ -8938,7 +8938,7 @@ function g1e(n, e) {
8938
8938
  let t = n.getMinutes() % 5, r = e.split("-");
8939
8939
  return r.length >= t ? r[t] : r[r.length - 1];
8940
8940
  }
8941
- const Nat = {
8941
+ const Iat = {
8942
8942
  genSign: d1e,
8943
8943
  formatZero: aP,
8944
8944
  getDate: h1e,
@@ -8970,7 +8970,7 @@ function O6e(n, e, t) {
8970
8970
  break;
8971
8971
  }
8972
8972
  }
8973
- const Iat = {
8973
+ const Pat = {
8974
8974
  handleAlert: R6e,
8975
8975
  handleModalAlert: O6e
8976
8976
  };
@@ -8983,7 +8983,7 @@ function I6e(n) {
8983
8983
  let t = "downloads/" + n;
8984
8984
  return n.includes("https://") || n.includes("http://") ? t + "?" + (/* @__PURE__ */ new Date()).getTime() : e + "/" + t + "?" + (/* @__PURE__ */ new Date()).getTime();
8985
8985
  }
8986
- const Pat = {
8986
+ const Bat = {
8987
8987
  getAssetUrl: N6e,
8988
8988
  getDownloadUrl: I6e
8989
8989
  }, WQ = (n) => {
@@ -9030,7 +9030,7 @@ function lne() {
9030
9030
  let n = navigator.language, e = "";
9031
9031
  return ["cn", "zh", "zh-cn"].includes(n.toLowerCase()) ? e = "zh-CN" : e = "en-US", e;
9032
9032
  }
9033
- const Bat = {
9033
+ const Fat = {
9034
9034
  getBrowserLang: lne
9035
9035
  };
9036
9036
  function B6e(n) {
@@ -9050,7 +9050,7 @@ function v1e(n) {
9050
9050
  o_.error(no("message.copy failed!"));
9051
9051
  });
9052
9052
  }
9053
- const Fat = {
9053
+ const Vat = {
9054
9054
  copyString: v1e
9055
9055
  };
9056
9056
  function F6e(n) {
@@ -9078,7 +9078,7 @@ function $6e(n) {
9078
9078
  function U6e(n) {
9079
9079
  return isNaN(Number(n)) && !isNaN(Date.parse(n));
9080
9080
  }
9081
- const Vat = {
9081
+ const zat = {
9082
9082
  isNumber: F6e,
9083
9083
  isExternal: V6e,
9084
9084
  isArray: y1e,
@@ -9145,7 +9145,7 @@ function K6e(n) {
9145
9145
  let e = n.toString().padStart(3, "0").split("").map((t) => parseInt(t));
9146
9146
  return e.length > 3 && e.splice(2, e.length - 3), "v" + e.join(".");
9147
9147
  }
9148
- const zat = {
9148
+ const Hat = {
9149
9149
  formatValue: W6e,
9150
9150
  bigNumber: G6e,
9151
9151
  transferPrice: Z6e,
@@ -9162,7 +9162,7 @@ function X6e() {
9162
9162
  const n = ["休息一会儿吧", "准备吃什么呢?", "要不要打一把 LOL", "我猜你可能累了"], e = Math.floor(Math.random() * n.length);
9163
9163
  return n[e];
9164
9164
  }
9165
- const Hat = {
9165
+ const $at = {
9166
9166
  timeGreet: x1e,
9167
9167
  welcome: X6e
9168
9168
  };
@@ -9235,7 +9235,7 @@ function HP(n, e = [], t = [], r = "请输入", o = "请选择") {
9235
9235
  l.has(d) ? i[d] = r + h : c.has(d) && (i[d] = o + h);
9236
9236
  return i;
9237
9237
  }
9238
- const $at = {
9238
+ const Uat = {
9239
9239
  matchLanguage: J6e,
9240
9240
  generateFields: cne,
9241
9241
  generatePlaceholders: HP
@@ -9270,7 +9270,7 @@ function C1e(n, e) {
9270
9270
  }
9271
9271
  return null;
9272
9272
  }
9273
- const Uat = {
9273
+ const Wat = {
9274
9274
  getFlatMenuList: une,
9275
9275
  getShowMenuList: fne,
9276
9276
  getAllBreadcrumbList: dne,
@@ -9309,13 +9309,13 @@ function w1e() {
9309
9309
  history: location.pathname + location.search
9310
9310
  }[mye] || "hash";
9311
9311
  }
9312
- const Wat = {
9312
+ const Gat = {
9313
9313
  getUrlWithParams: w1e
9314
9314
  };
9315
9315
  function nNe(n, e) {
9316
9316
  return n.required && e === "" ? Promise.reject(no("base.phone verify.is_required")) : b1e(e) ? Promise.resolve() : Promise.reject(no("base.phone verify.err_format"));
9317
9317
  }
9318
- const Gat = {
9318
+ const Zat = {
9319
9319
  phoneRule: nNe
9320
9320
  };
9321
9321
  var wU = { exports: {} }, rNe = wU.exports, pce;
@@ -9716,7 +9716,7 @@ function CNe() {
9716
9716
  const n = /* @__PURE__ */ new Date(), e = `${n.getFullYear()}${hp(n.getMonth() + 2)}01 00:00:00`;
9717
9717
  return dp(e);
9718
9718
  }
9719
- const Zat = {
9719
+ const jat = {
9720
9720
  DATE_FORMAT: uNe,
9721
9721
  DATE_HOUR_FORMAT: fNe,
9722
9722
  DATE_SHOW_FORMAT: E1e,
@@ -10380,7 +10380,7 @@ const GNe = /\{([0-9a-zA-Z]+)\}/g;
10380
10380
  function mG(n, ...e) {
10381
10381
  return e.length === 1 && Ha(e[0]) && (e = e[0]), (!e || !e.hasOwnProperty) && (e = {}), n.replace(GNe, (t, r) => e.hasOwnProperty(r) ? e[r] : "");
10382
10382
  }
10383
- const Wy = (n, e = !1) => e ? Symbol.for(n) : Symbol(n), ZNe = (n, e, t) => jNe({ l: n, k: e, s: t }), jNe = (n) => JSON.stringify(n).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), zc = (n) => typeof n == "number" && isFinite(n), qNe = (n) => hne(n) === "[object Date]", XM = (n) => hne(n) === "[object RegExp]", vG = (n) => ga(n) && Object.keys(n).length === 0, fu = Object.assign, YNe = Object.create, Wi = (n = null) => YNe(n);
10383
+ const Wy = (n, e = !1) => e ? Symbol.for(n) : Symbol(n), ZNe = (n, e, t) => jNe({ l: n, k: e, s: t }), jNe = (n) => JSON.stringify(n).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), zc = (n) => typeof n == "number" && isFinite(n), qNe = (n) => hne(n) === "[object Date]", XM = (n) => hne(n) === "[object RegExp]", vG = (n) => ma(n) && Object.keys(n).length === 0, fu = Object.assign, YNe = Object.create, Wi = (n = null) => YNe(n);
10384
10384
  let mce;
10385
10385
  const PT = () => mce || (mce = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : Wi());
10386
10386
  function vce(n) {
@@ -10390,7 +10390,7 @@ const KNe = Object.prototype.hasOwnProperty;
10390
10390
  function S0(n, e) {
10391
10391
  return KNe.call(n, e);
10392
10392
  }
10393
- const bl = Array.isArray, cs = (n) => typeof n == "function", cr = (n) => typeof n == "string", qa = (n) => typeof n == "boolean", Ha = (n) => n !== null && typeof n == "object", XNe = (n) => Ha(n) && cs(n.then) && cs(n.catch), P1e = Object.prototype.toString, hne = (n) => P1e.call(n), ga = (n) => hne(n) === "[object Object]", JNe = (n) => n == null ? "" : bl(n) || ga(n) && n.toString === P1e ? JSON.stringify(n, null, 2) : String(n);
10393
+ const bl = Array.isArray, cs = (n) => typeof n == "function", cr = (n) => typeof n == "string", qa = (n) => typeof n == "boolean", Ha = (n) => n !== null && typeof n == "object", XNe = (n) => Ha(n) && cs(n.then) && cs(n.catch), P1e = Object.prototype.toString, hne = (n) => P1e.call(n), ma = (n) => hne(n) === "[object Object]", JNe = (n) => n == null ? "" : bl(n) || ma(n) && n.toString === P1e ? JSON.stringify(n, null, 2) : String(n);
10394
10394
  function pne(n, e = "") {
10395
10395
  return n.reduce((t, r, o) => o === 0 ? t + r : t + e + r, "");
10396
10396
  }
@@ -11645,7 +11645,7 @@ function Z1e(n, e, t) {
11645
11645
  let l = [t];
11646
11646
  for (; bl(l); )
11647
11647
  l = Ece(i, l, e);
11648
- const c = bl(e) || !ga(e) ? e : e.default ? e.default : null;
11648
+ const c = bl(e) || !ma(e) ? e : e.default ? e.default : null;
11649
11649
  l = cr(c) ? [c] : c, bl(l) && Ece(i, l, !1), o.__localeChainCache.set(r, i);
11650
11650
  }
11651
11651
  return i;
@@ -11672,7 +11672,7 @@ function K8e(n, e, t) {
11672
11672
  if (!n.includes(e) && (r = !0, e)) {
11673
11673
  r = e[e.length - 1] !== "!";
11674
11674
  const o = e.replace(/!/g, "");
11675
- n.push(o), (bl(t) || ga(t)) && t[o] && (r = t[o]);
11675
+ n.push(o), (bl(t) || ma(t)) && t[o] && (r = t[o]);
11676
11676
  }
11677
11677
  return r;
11678
11678
  }
@@ -12015,7 +12015,7 @@ const Dce = (n) => {
12015
12015
  }, pIe = () => X1e;
12016
12016
  let kce = 0;
12017
12017
  function gIe(n = {}) {
12018
- const e = cs(n.onWarn) ? n.onWarn : HS, t = cr(n.version) ? n.version : sIe, r = cr(n.locale) || cs(n.locale) ? n.locale : lP, o = cs(r) ? lP : r, i = bl(n.fallbackLocale) || ga(n.fallbackLocale) || cr(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : o, l = ga(n.messages) ? n.messages : QK(o), c = ga(n.datetimeFormats) ? n.datetimeFormats : QK(o), d = ga(n.numberFormats) ? n.numberFormats : QK(o), h = fu(Wi(), n.modifiers, lIe()), p = n.pluralRules || Wi(), v = cs(n.missing) ? n.missing : null, y = qa(n.missingWarn) || XM(n.missingWarn) ? n.missingWarn : !0, b = qa(n.fallbackWarn) || XM(n.fallbackWarn) ? n.fallbackWarn : !0, w = !!n.fallbackFormat, A = !!n.unresolving, T = cs(n.postTranslation) ? n.postTranslation : null, k = ga(n.processor) ? n.processor : null, N = qa(n.warnHtmlMessage) ? n.warnHtmlMessage : !0, O = !!n.escapeParameter, I = cs(n.messageCompiler) ? n.messageCompiler : j1e;
12018
+ const e = cs(n.onWarn) ? n.onWarn : HS, t = cr(n.version) ? n.version : sIe, r = cr(n.locale) || cs(n.locale) ? n.locale : lP, o = cs(r) ? lP : r, i = bl(n.fallbackLocale) || ma(n.fallbackLocale) || cr(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : o, l = ma(n.messages) ? n.messages : QK(o), c = ma(n.datetimeFormats) ? n.datetimeFormats : QK(o), d = ma(n.numberFormats) ? n.numberFormats : QK(o), h = fu(Wi(), n.modifiers, lIe()), p = n.pluralRules || Wi(), v = cs(n.missing) ? n.missing : null, y = qa(n.missingWarn) || XM(n.missingWarn) ? n.missingWarn : !0, b = qa(n.fallbackWarn) || XM(n.fallbackWarn) ? n.fallbackWarn : !0, w = !!n.fallbackFormat, A = !!n.unresolving, T = cs(n.postTranslation) ? n.postTranslation : null, k = ma(n.processor) ? n.processor : null, N = qa(n.warnHtmlMessage) ? n.warnHtmlMessage : !0, O = !!n.escapeParameter, I = cs(n.messageCompiler) ? n.messageCompiler : j1e;
12019
12019
  process.env.NODE_ENV !== "production" && cs(n.messageCompiler) && gne(aD(ap.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
12020
12020
  const G = cs(n.messageResolver) ? n.messageResolver : q1e || rIe, W = cs(n.localeFallbacker) ? n.localeFallbacker : Y1e || q8e, Z = Ha(n.fallbackContext) ? n.fallbackContext : void 0, ne = n, re = Ha(ne.__datetimeFormatters) ? ne.__datetimeFormatters : /* @__PURE__ */ new Map(), Q = Ha(ne.__numberFormatters) ? ne.__numberFormatters : /* @__PURE__ */ new Map(), q = Ha(ne.__meta) ? ne.__meta : {};
12021
12021
  kce++;
@@ -12117,11 +12117,11 @@ function Lce(n, ...e) {
12117
12117
  groupId: `${W}:${d}`
12118
12118
  });
12119
12119
  }
12120
- if (k = t[N] || {}, O = k[d], ga(O))
12120
+ if (k = t[N] || {}, O = k[d], ma(O))
12121
12121
  break;
12122
12122
  xne(n, d, N, y, W), I = G;
12123
12123
  }
12124
- if (!ga(O) || !cr(N))
12124
+ if (!ma(O) || !cr(N))
12125
12125
  return r ? yG : d;
12126
12126
  let Z = `${N}__${d}`;
12127
12127
  vG(v) || (Z = `${Z}__${JSON.stringify(v)}`);
@@ -12172,9 +12172,9 @@ function jQ(...n) {
12172
12172
  c = e;
12173
12173
  else
12174
12174
  throw Yx(sd.INVALID_ARGUMENT);
12175
- return cr(t) ? i.key = t : ga(t) && Object.keys(t).forEach((d) => {
12175
+ return cr(t) ? i.key = t : ma(t) && Object.keys(t).forEach((d) => {
12176
12176
  tye.includes(d) ? l[d] = t[d] : i[d] = t[d];
12177
- }), cr(r) ? i.locale = r : ga(r) && (l = r), ga(o) && (l = o), [i.key || "", c, i, l];
12177
+ }), cr(r) ? i.locale = r : ma(r) && (l = r), ma(o) && (l = o), [i.key || "", c, i, l];
12178
12178
  }
12179
12179
  function Rce(n, e, t) {
12180
12180
  const r = n;
@@ -12211,11 +12211,11 @@ function Oce(n, ...e) {
12211
12211
  groupId: `${W}:${d}`
12212
12212
  });
12213
12213
  }
12214
- if (k = t[N] || {}, O = k[d], ga(O))
12214
+ if (k = t[N] || {}, O = k[d], ma(O))
12215
12215
  break;
12216
12216
  xne(n, d, N, y, W), I = G;
12217
12217
  }
12218
- if (!ga(O) || !cr(N))
12218
+ if (!ma(O) || !cr(N))
12219
12219
  return r ? yG : d;
12220
12220
  let Z = `${N}__${d}`;
12221
12221
  vG(v) || (Z = `${Z}__${JSON.stringify(v)}`);
@@ -12250,9 +12250,9 @@ function qQ(...n) {
12250
12250
  if (!zc(e))
12251
12251
  throw Yx(sd.INVALID_ARGUMENT);
12252
12252
  const c = e;
12253
- return cr(t) ? i.key = t : ga(t) && Object.keys(t).forEach((d) => {
12253
+ return cr(t) ? i.key = t : ma(t) && Object.keys(t).forEach((d) => {
12254
12254
  nye.includes(d) ? l[d] = t[d] : i[d] = t[d];
12255
- }), cr(r) ? i.locale = r : ga(r) && (l = r), ga(o) && (l = o), [i.key || "", c, i, l];
12255
+ }), cr(r) ? i.locale = r : ma(r) && (l = r), ma(o) && (l = o), [i.key || "", c, i, l];
12256
12256
  }
12257
12257
  function Nce(n, e, t) {
12258
12258
  const r = n;
@@ -12280,7 +12280,7 @@ function wIe(n = {}) {
12280
12280
  const O = cs(n.messages) ? n.messages(k, !!N) : Ha(n.messages) ? n.messages[k] : !1;
12281
12281
  return O || (n.parent ? n.parent.message(k) : yIe);
12282
12282
  }
12283
- const v = (k) => n.modifiers ? n.modifiers[k] : vIe, y = ga(n.processor) && cs(n.processor.normalize) ? n.processor.normalize : xIe, b = ga(n.processor) && cs(n.processor.interpolate) ? n.processor.interpolate : _Ie, w = ga(n.processor) && cr(n.processor.type) ? n.processor.type : bIe, T = {
12283
+ const v = (k) => n.modifiers ? n.modifiers[k] : vIe, y = ma(n.processor) && cs(n.processor.normalize) ? n.processor.normalize : xIe, b = ma(n.processor) && cs(n.processor.interpolate) ? n.processor.interpolate : _Ie, w = ma(n.processor) && cr(n.processor.type) ? n.processor.type : bIe, T = {
12284
12284
  list: c,
12285
12285
  named: h,
12286
12286
  plural: i,
@@ -12430,7 +12430,7 @@ function YQ(...n) {
12430
12430
  if (!cr(e) && !zc(e) && !Om(e) && !Vm(e))
12431
12431
  throw Yx(sd.INVALID_ARGUMENT);
12432
12432
  const i = zc(e) ? String(e) : (Om(e), e);
12433
- return zc(t) ? o.plural = t : cr(t) ? o.default = t : ga(t) && !vG(t) ? o.named = t : bl(t) && (o.list = t), zc(r) ? o.plural = r : cr(r) ? o.default = r : ga(r) && fu(o, r), [i, o];
12433
+ return zc(t) ? o.plural = t : cr(t) ? o.default = t : ma(t) && !vG(t) ? o.named = t : bl(t) && (o.list = t), zc(r) ? o.plural = r : cr(r) ? o.default = r : ma(r) && fu(o, r), [i, o];
12434
12434
  }
12435
12435
  function TIe(n, e, t, r, o, i) {
12436
12436
  return {
@@ -12599,7 +12599,7 @@ function uP(n) {
12599
12599
  return n;
12600
12600
  }
12601
12601
  function _ne(n, e) {
12602
- const { messages: t, __i18n: r, messageResolver: o, flatJson: i } = e, l = ga(t) ? t : bl(r) ? Wi() : { [n]: Wi() };
12602
+ const { messages: t, __i18n: r, messageResolver: o, flatJson: i } = e, l = ma(t) ? t : bl(r) ? Wi() : { [n]: Wi() };
12603
12603
  if (bl(r) && r.forEach((c) => {
12604
12604
  if ("locale" in c && "resource" in c) {
12605
12605
  const { locale: d, resource: h } = c;
@@ -12660,10 +12660,10 @@ function Cne(n = {}) {
12660
12660
  e && l ? e.locale.value : cr(n.locale) ? n.locale : lP
12661
12661
  ), d = i(
12662
12662
  // prettier-ignore
12663
- e && l ? e.fallbackLocale.value : cr(n.fallbackLocale) || bl(n.fallbackLocale) || ga(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : c.value
12664
- ), h = i(_ne(c.value, n)), p = i(ga(n.datetimeFormats) ? n.datetimeFormats : { [c.value]: {} }), v = i(ga(n.numberFormats) ? n.numberFormats : { [c.value]: {} });
12663
+ e && l ? e.fallbackLocale.value : cr(n.fallbackLocale) || bl(n.fallbackLocale) || ma(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : c.value
12664
+ ), h = i(_ne(c.value, n)), p = i(ma(n.datetimeFormats) ? n.datetimeFormats : { [c.value]: {} }), v = i(ma(n.numberFormats) ? n.numberFormats : { [c.value]: {} });
12665
12665
  let y = e ? e.missingWarn : qa(n.missingWarn) || XM(n.missingWarn) ? n.missingWarn : !0, b = e ? e.fallbackWarn : qa(n.fallbackWarn) || XM(n.fallbackWarn) ? n.fallbackWarn : !0, w = e ? e.fallbackRoot : qa(n.fallbackRoot) ? n.fallbackRoot : !0, A = !!n.fallbackFormat, T = cs(n.missing) ? n.missing : null, k = cs(n.missing) ? $ce(n.missing) : null, N = cs(n.postTranslation) ? n.postTranslation : null, O = e ? e.warnHtmlMessage : qa(n.warnHtmlMessage) ? n.warnHtmlMessage : !0, I = !!n.escapeParameter;
12666
- const G = e ? e.modifiers : ga(n.modifiers) ? n.modifiers : {};
12666
+ const G = e ? e.modifiers : ma(n.modifiers) ? n.modifiers : {};
12667
12667
  let W = n.pluralRules || e && e.pluralRules, Z;
12668
12668
  Z = (() => {
12669
12669
  r && Dce(null);
@@ -12686,7 +12686,7 @@ function Cne(n = {}) {
12686
12686
  messageCompiler: n.messageCompiler,
12687
12687
  __meta: { framework: "vue" }
12688
12688
  };
12689
- Lt.datetimeFormats = p.value, Lt.numberFormats = v.value, Lt.__datetimeFormatters = ga(Z) ? Z.__datetimeFormatters : void 0, Lt.__numberFormatters = ga(Z) ? Z.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (Lt.__v_emitter = ga(Z) ? Z.__v_emitter : void 0);
12689
+ Lt.datetimeFormats = p.value, Lt.numberFormats = v.value, Lt.__datetimeFormatters = ma(Z) ? Z.__datetimeFormatters : void 0, Lt.__numberFormatters = ma(Z) ? Z.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (Lt.__v_emitter = ma(Z) ? Z.__v_emitter : void 0);
12690
12690
  const Ut = gIe(Lt);
12691
12691
  return r && Dce(Ut), Ut;
12692
12692
  })(), Y8(Z, c.value, d.value);
@@ -13202,9 +13202,9 @@ function qIe(n, e) {
13202
13202
  }
13203
13203
  }
13204
13204
  function YIe(n) {
13205
- const e = cr(n.locale) ? n.locale : lP, t = cr(n.fallbackLocale) || bl(n.fallbackLocale) || ga(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : e, r = cs(n.missing) ? n.missing : void 0, o = qa(n.silentTranslationWarn) || XM(n.silentTranslationWarn) ? !n.silentTranslationWarn : !0, i = qa(n.silentFallbackWarn) || XM(n.silentFallbackWarn) ? !n.silentFallbackWarn : !0, l = qa(n.fallbackRoot) ? n.fallbackRoot : !0, c = !!n.formatFallbackMessages, d = ga(n.modifiers) ? n.modifiers : {}, h = n.pluralizationRules, p = cs(n.postTranslation) ? n.postTranslation : void 0, v = cr(n.warnHtmlInMessage) ? n.warnHtmlInMessage !== "off" : !0, y = !!n.escapeParameterHtml, b = qa(n.sync) ? n.sync : !0;
13205
+ const e = cr(n.locale) ? n.locale : lP, t = cr(n.fallbackLocale) || bl(n.fallbackLocale) || ma(n.fallbackLocale) || n.fallbackLocale === !1 ? n.fallbackLocale : e, r = cs(n.missing) ? n.missing : void 0, o = qa(n.silentTranslationWarn) || XM(n.silentTranslationWarn) ? !n.silentTranslationWarn : !0, i = qa(n.silentFallbackWarn) || XM(n.silentFallbackWarn) ? !n.silentFallbackWarn : !0, l = qa(n.fallbackRoot) ? n.fallbackRoot : !0, c = !!n.formatFallbackMessages, d = ma(n.modifiers) ? n.modifiers : {}, h = n.pluralizationRules, p = cs(n.postTranslation) ? n.postTranslation : void 0, v = cr(n.warnHtmlInMessage) ? n.warnHtmlInMessage !== "off" : !0, y = !!n.escapeParameterHtml, b = qa(n.sync) ? n.sync : !0;
13206
13206
  let w = n.messages;
13207
- if (ga(n.sharedMessages)) {
13207
+ if (ma(n.sharedMessages)) {
13208
13208
  const G = n.sharedMessages;
13209
13209
  w = Object.keys(G).reduce((Z, ne) => {
13210
13210
  const re = Z[ne] || (Z[ne] = {});
@@ -13614,7 +13614,7 @@ function nPe(n) {
13614
13614
  function jce(n) {
13615
13615
  if (cr(n))
13616
13616
  return { path: n };
13617
- if (ga(n)) {
13617
+ if (ma(n)) {
13618
13618
  if (!("path" in n))
13619
13619
  throw th(Ui.REQUIRED_VALUE, "path");
13620
13620
  return n;
@@ -13626,7 +13626,7 @@ function qce(n) {
13626
13626
  return cr(t) && (l.locale = t), zc(o) && (l.plural = o), zc(i) && (l.plural = i), [e, c, l];
13627
13627
  }
13628
13628
  function rPe(n, e, ...t) {
13629
- const r = ga(t[0]) ? t[0] : {};
13629
+ const r = ma(t[0]) ? t[0] : {};
13630
13630
  (qa(r.globalInstall) ? r.globalInstall : !0) && ([Gce.name, "I18nT"].forEach((i) => n.component(i, Gce)), [Zce.name, "I18nN"].forEach((i) => n.component(i, Zce)), [Kce.name, "I18nD"].forEach((i) => n.component(i, Kce))), n.directive("t", nPe(e));
13631
13631
  }
13632
13632
  const oPe = /* @__PURE__ */ Wy("global-vue-i18n");
@@ -13650,7 +13650,7 @@ function aPe(n = {}) {
13650
13650
  },
13651
13651
  // install plugin
13652
13652
  async install(v, ...y) {
13653
- if (process.env.NODE_ENV !== "production" && (v.__VUE_I18N__ = p), v.__VUE_I18N_SYMBOL__ = l, v.provide(v.__VUE_I18N_SYMBOL__, p), ga(y[0])) {
13653
+ if (process.env.NODE_ENV !== "production" && (v.__VUE_I18N__ = p), v.__VUE_I18N_SYMBOL__ = l, v.provide(v.__VUE_I18N_SYMBOL__, p), ma(y[0])) {
13654
13654
  const A = y[0];
13655
13655
  p.__composerExtend = A.__composerExtend, p.__vueI18nExtend = A.__vueI18nExtend;
13656
13656
  }
@@ -13839,7 +13839,7 @@ if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
13839
13839
  process.env.NODE_ENV;
13840
13840
  const mPe = cne(/* @__PURE__ */ Object.assign({ "/package/languages/zh/base.ts": SNe, "/package/languages/zh/config.ts": wNe, "/package/languages/zh/index.ts": ONe, "/package/languages/zh/menu.ts": ENe, "/package/languages/zh/message.ts": ANe, "/package/languages/zh/verify.ts": TNe })), vPe = cne(/* @__PURE__ */ Object.assign({ "/package/languages/en/base.ts": NNe, "/package/languages/en/config.ts": INe, "/package/languages/en/index.ts": WNe, "/package/languages/en/menu.ts": PNe, "/package/languages/en/message.ts": BNe, "/package/languages/en/verify.ts": FNe }));
13841
13841
  let Kd;
13842
- const jat = (n, e) => {
13842
+ const qat = (n, e) => {
13843
13843
  Kd = aPe({
13844
13844
  legacy: !1,
13845
13845
  locale: lne(),
@@ -13859,7 +13859,7 @@ function no(n, e = {}) {
13859
13859
  return i && ((l = Kd == null ? void 0 : Kd.global) != null && l.te(i) ? t(i, e) : i);
13860
13860
  }).join("") : (r = Kd == null ? void 0 : Kd.global) != null && r.te(n) ? t(n, e) : n;
13861
13861
  }
13862
- function qat() {
13862
+ function Yat() {
13863
13863
  var e;
13864
13864
  const n = (e = Kd == null ? void 0 : Kd.global) == null ? void 0 : e.locale;
13865
13865
  return typeof n == "string" ? n : lne();
@@ -13890,7 +13890,7 @@ function Ene(n) {
13890
13890
  message: no(n)
13891
13891
  });
13892
13892
  }
13893
- const Yat = {
13893
+ const Kat = {
13894
13894
  notification: yPe,
13895
13895
  info: bPe,
13896
13896
  warning: pye,
@@ -14237,7 +14237,7 @@ const Jce = "AUTH", xD = FS(Jce, {
14237
14237
  },
14238
14238
  persist: gL(tue, "app")
14239
14239
  });
14240
- function Kat() {
14240
+ function Xat() {
14241
14241
  var t;
14242
14242
  const e = `${window.location.host}:PREFIX`;
14243
14243
  if (!localStorage.getItem(e))
@@ -14252,7 +14252,7 @@ function Kat() {
14252
14252
  console.error(r);
14253
14253
  }
14254
14254
  }
14255
- function Xat(n) {
14255
+ function Jat(n) {
14256
14256
  const e = k5e();
14257
14257
  return e.use(PLe), n.use(e), e;
14258
14258
  }
@@ -14261,7 +14261,7 @@ const MPe = {
14261
14261
  history: () => D0e()
14262
14262
  };
14263
14263
  let mye = "hash", Vl;
14264
- const Jat = (n, e = "hash", t) => {
14264
+ const Qat = (n, e = "hash", t) => {
14265
14265
  mye = e;
14266
14266
  const r = DLe({
14267
14267
  history: MPe[e](),
@@ -14399,7 +14399,7 @@ const Jat = (n, e = "hash", t) => {
14399
14399
  }, null, -1)),
14400
14400
  Yn("div", OPe, [
14401
14401
  l[0] || (l[0] = Yn("h2", null, "404", -1)),
14402
- Yn("h4", null, _a(Qt(no)("base.pages.not_found")) + "~🤷‍♂️🤷‍♀️", 1),
14402
+ Yn("h4", null, ga(Qt(no)("base.pages.not_found")) + "~🤷‍♂️🤷‍♀️", 1),
14403
14403
  Yn("div", null, [
14404
14404
  St(c, {
14405
14405
  type: "primary",
@@ -14407,7 +14407,7 @@ const Jat = (n, e = "hash", t) => {
14407
14407
  onClick: r
14408
14408
  }, {
14409
14409
  default: rn(() => [
14410
- Vc(_a(Qt(no)("base.pages.back")), 1)
14410
+ Vc(ga(Qt(no)("base.pages.back")), 1)
14411
14411
  ]),
14412
14412
  _: 1
14413
14413
  }),
@@ -14416,7 +14416,7 @@ const Jat = (n, e = "hash", t) => {
14416
14416
  onClick: o
14417
14417
  }, {
14418
14418
  default: rn(() => [
14419
- Vc(_a(Qt(no)("base.pages.back_home")), 1)
14419
+ Vc(ga(Qt(no)("base.pages.back_home")), 1)
14420
14420
  ]),
14421
14421
  _: 1
14422
14422
  })
@@ -14432,7 +14432,7 @@ const Jat = (n, e = "hash", t) => {
14432
14432
  return t;
14433
14433
  }, IPe = /* @__PURE__ */ pg(NPe, [["__scopeId", "data-v-fdf00400"]]);
14434
14434
  let aee = {}, kne = !1;
14435
- function Qat(n) {
14435
+ function eit(n) {
14436
14436
  aee = BPe(n), kne = !0;
14437
14437
  }
14438
14438
  async function iee(n = !1) {
@@ -15086,7 +15086,7 @@ const _ye = /* @__PURE__ */ xr({
15086
15086
  }, [(t = e.default) == null ? void 0 : t.call(e)]), [[fL("loading"), n.loading]]);
15087
15087
  };
15088
15088
  }
15089
- }), eit = /* @__PURE__ */ xr({
15089
+ }), tit = /* @__PURE__ */ xr({
15090
15090
  __name: "ProTable",
15091
15091
  props: {
15092
15092
  columns: { default: () => [] },
@@ -15225,7 +15225,7 @@ const _ye = /* @__PURE__ */ xr({
15225
15225
  empty: rn(() => [
15226
15226
  St(Rt, null, {
15227
15227
  description: rn(() => Be[2] || (Be[2] = [
15228
- Vc(_a("No Data"))
15228
+ Vc(ga("No Data"))
15229
15229
  ])),
15230
15230
  _: 1
15231
15231
  })
@@ -15500,7 +15500,7 @@ const cBe = (n, e, t, r, o) => {
15500
15500
  isSelected: c,
15501
15501
  selectionChange: d
15502
15502
  };
15503
- }, tit = /* @__PURE__ */ xr({
15503
+ }, nit = /* @__PURE__ */ xr({
15504
15504
  __name: "ProTableList",
15505
15505
  props: {
15506
15506
  columns: {
@@ -15646,7 +15646,7 @@ const cBe = (n, e, t, r, o) => {
15646
15646
  fixed: ""
15647
15647
  }, Qte({
15648
15648
  empty: rn(() => [St(_e, null, {
15649
- description: rn(() => Fe[0] || (Fe[0] = [Vc(_a("No Data"))])),
15649
+ description: rn(() => Fe[0] || (Fe[0] = [Vc(ga("No Data"))])),
15650
15650
  _: 1
15651
15651
  })]),
15652
15652
  _: 2
@@ -15659,7 +15659,7 @@ const cBe = (n, e, t, r, o) => {
15659
15659
  })], 512);
15660
15660
  };
15661
15661
  }
15662
- }), nit = /* @__PURE__ */ xr({
15662
+ }), rit = /* @__PURE__ */ xr({
15663
15663
  __name: "ProTableSummary",
15664
15664
  props: {
15665
15665
  sumUrl: { default: void 0 },
@@ -15804,7 +15804,7 @@ const cBe = (n, e, t, r, o) => {
15804
15804
  empty: rn(() => [
15805
15805
  St(et, null, {
15806
15806
  description: rn(() => Ye[2] || (Ye[2] = [
15807
- Vc(_a("No Data"))
15807
+ Vc(ga("No Data"))
15808
15808
  ])),
15809
15809
  _: 1
15810
15810
  })
@@ -15928,7 +15928,7 @@ const cBe = (n, e, t, r, o) => {
15928
15928
  }), {
15929
15929
  header: rn(() => [
15930
15930
  Hl(l.$slots, "title", {}, () => [
15931
- Yn("span", null, _a(Qt(no)(n.title)), 1)
15931
+ Yn("span", null, ga(Qt(no)(n.title)), 1)
15932
15932
  ])
15933
15933
  ]),
15934
15934
  default: rn(() => [
@@ -15942,7 +15942,7 @@ const cBe = (n, e, t, r, o) => {
15942
15942
  }, 16, ["modelValue", "show-close", "top", "width", "center", "append-to-body", "lock-scroll", "close-on-click-modal"]);
15943
15943
  };
15944
15944
  }
15945
- }), rit = /* @__PURE__ */ xr({
15945
+ }), oit = /* @__PURE__ */ xr({
15946
15946
  __name: "BasicDrawer",
15947
15947
  props: {
15948
15948
  ...E5e,
@@ -15979,7 +15979,7 @@ const cBe = (n, e, t, r, o) => {
15979
15979
  }), {
15980
15980
  header: rn(() => [
15981
15981
  Hl(l.$slots, "title", {}, () => [
15982
- Yn("span", null, _a(Qt(no)(n.title)), 1)
15982
+ Yn("span", null, ga(Qt(no)(n.title)), 1)
15983
15983
  ])
15984
15984
  ]),
15985
15985
  default: rn(() => [
@@ -15992,7 +15992,7 @@ const cBe = (n, e, t, r, o) => {
15992
15992
  }, 16, ["modelValue", "size", "append-to-body", "lock-scroll", "show-close", "close-on-click-modal"]);
15993
15993
  };
15994
15994
  }
15995
- }), uBe = { class: "form-dialog-footer" }, oit = /* @__PURE__ */ xr({
15995
+ }), uBe = { class: "form-dialog-footer" }, ait = /* @__PURE__ */ xr({
15996
15996
  __name: "FormDialog",
15997
15997
  props: {
15998
15998
  ...Xte,
@@ -16046,7 +16046,7 @@ const cBe = (n, e, t, r, o) => {
16046
16046
  onClick: i
16047
16047
  }, {
16048
16048
  default: rn(() => [
16049
- Vc(_a(Qt(no)(r.cancelText)), 1)
16049
+ Vc(ga(Qt(no)(r.cancelText)), 1)
16050
16050
  ]),
16051
16051
  _: 1
16052
16052
  }, 8, ["disabled", "size"]),
@@ -16057,7 +16057,7 @@ const cBe = (n, e, t, r, o) => {
16057
16057
  onClick: c
16058
16058
  }, {
16059
16059
  default: rn(() => [
16060
- Vc(_a(Qt(no)(r.okText)), 1)
16060
+ Vc(ga(Qt(no)(r.okText)), 1)
16061
16061
  ]),
16062
16062
  _: 1
16063
16063
  }, 8, ["loading", "size"])
@@ -16070,7 +16070,7 @@ const cBe = (n, e, t, r, o) => {
16070
16070
  }, 16, ["modelValue"]);
16071
16071
  };
16072
16072
  }
16073
- }), ait = /* @__PURE__ */ xr({
16073
+ }), iit = /* @__PURE__ */ xr({
16074
16074
  __name: "TableDialog",
16075
16075
  props: {
16076
16076
  ...Xte,
@@ -16113,7 +16113,7 @@ const cBe = (n, e, t, r, o) => {
16113
16113
  _: 3
16114
16114
  }, 16, ["modelValue"]));
16115
16115
  }
16116
- }), iit = /* @__PURE__ */ xr({
16116
+ }), sit = /* @__PURE__ */ xr({
16117
16117
  name: "UploadImage",
16118
16118
  props: {
16119
16119
  url: {
@@ -16225,7 +16225,7 @@ const cBe = (n, e, t, r, o) => {
16225
16225
  "preview-src-list": t.value.map((d) => d.url)
16226
16226
  }, null), [[qu, !1]])]);
16227
16227
  }
16228
- }), sit = /* @__PURE__ */ xr({
16228
+ }), lit = /* @__PURE__ */ xr({
16229
16229
  name: "UploadImage",
16230
16230
  props: {
16231
16231
  url: {
@@ -16337,7 +16337,7 @@ const cBe = (n, e, t, r, o) => {
16337
16337
  "preview-src-list": t.value.map((d) => d.url)
16338
16338
  }, null), [[qu, !1]])]);
16339
16339
  }
16340
- }), lit = /* @__PURE__ */ xr({
16340
+ }), cit = /* @__PURE__ */ xr({
16341
16341
  name: "UploadImage",
16342
16342
  props: {
16343
16343
  url: {
@@ -17294,7 +17294,7 @@ Required: ` + s.join(", "));
17294
17294
  ], he = {
17295
17295
  browsers: _e(Xo),
17296
17296
  oses: _e(Es)
17297
- }, Re = "Edge", We = "Chromium", dt = "IE", gn = "Opera", Fr = "Firefox", ma = "Safari", si = () => wi({
17297
+ }, Re = "Edge", We = "Chromium", dt = "IE", gn = "Opera", Fr = "Firefox", va = "Safari", si = () => wi({
17298
17298
  current: void 0,
17299
17299
  version: pd.unknown()
17300
17300
  }), wi = (a) => {
@@ -17308,7 +17308,7 @@ Required: ` + s.join(", "));
17308
17308
  isIE: g(dt),
17309
17309
  isOpera: g(gn),
17310
17310
  isFirefox: g(Fr),
17311
- isSafari: g(ma)
17311
+ isSafari: g(va)
17312
17312
  };
17313
17313
  }, As = {
17314
17314
  unknown: si,
@@ -17771,12 +17771,12 @@ Required: ` + s.join(", "));
17771
17771
  }, ql = (a) => (
17772
17772
  // eslint-disable-next-line @typescript-eslint/unbound-method
17773
17773
  a.style !== void 0 && te(a.style.getPropertyValue)
17774
- ), va = (a) => {
17774
+ ), ya = (a) => {
17775
17775
  const s = Ms(a) ? a.dom.parentNode : a.dom;
17776
17776
  if (s == null || s.ownerDocument === null)
17777
17777
  return !1;
17778
17778
  const f = s.ownerDocument;
17779
- return bu($e.fromDom(s)).fold(() => f.body.contains(s), Fe(va, Xc));
17779
+ return bu($e.fromDom(s)).fold(() => f.body.contains(s), Fe(ya, Xc));
17780
17780
  }, W0 = (a, s, f) => {
17781
17781
  if (!O(f))
17782
17782
  throw console.error("Invalid call to CSS.set. Property ", s, ":: Value ", f, ":: Element ", a), new Error("CSS value must be a string: " + f);
@@ -17793,7 +17793,7 @@ Required: ` + s.join(", "));
17793
17793
  });
17794
17794
  }, _u = (a, s) => {
17795
17795
  const f = a.dom, _ = window.getComputedStyle(f).getPropertyValue(s);
17796
- return _ === "" && !va(a) ? jS(f, s) : _;
17796
+ return _ === "" && !ya(a) ? jS(f, s) : _;
17797
17797
  }, jS = (a, s) => ql(a) ? a.style.getPropertyValue(s) : "", D_ = (a, s) => {
17798
17798
  const f = a.dom, g = jS(f, s);
17799
17799
  return ae.from(g).filter((_) => _.length > 0);
@@ -17837,7 +17837,7 @@ Required: ` + s.join(", "));
17837
17837
  };
17838
17838
  })("height", (a) => {
17839
17839
  const s = a.dom;
17840
- return va(a) ? s.getBoundingClientRect().height : s.offsetHeight;
17840
+ return ya(a) ? s.getBoundingClientRect().height : s.offsetHeight;
17841
17841
  }), Rg = (a) => qS.get(a), ab = (a, s) => ({
17842
17842
  left: a,
17843
17843
  top: s,
@@ -17853,7 +17853,7 @@ Required: ` + s.join(", "));
17853
17853
  return Gn(a).translate(L - U, E - F);
17854
17854
  }, Gn = (a) => {
17855
17855
  const s = a.dom, g = s.ownerDocument.body;
17856
- return g === s ? Ch(g.offsetLeft, g.offsetTop) : va(a) ? Xs(s) : Ch(0, 0);
17856
+ return g === s ? Ch(g.offsetLeft, g.offsetTop) : ya(a) ? Xs(s) : Ch(0, 0);
17857
17857
  }, Sh = (a) => {
17858
17858
  const s = a !== void 0 ? a.dom : document, f = s.body.scrollLeft || s.documentElement.scrollLeft, g = s.body.scrollTop || s.documentElement.scrollTop;
17859
17859
  return Ch(f, g);
@@ -17941,7 +17941,7 @@ Required: ` + s.join(", "));
17941
17941
  Xe(s, (f) => {
17942
17942
  Fa(a, f);
17943
17943
  });
17944
- }, it = (a) => Yl(a, "[contenteditable]"), Js = (a, s = !1) => va(a) ? a.dom.isContentEditable : it(a).fold(_e(s), (f) => XS(f) === "true"), XS = (a) => a.dom.contentEditable, ya = (a, s) => {
17944
+ }, it = (a) => Yl(a, "[contenteditable]"), Js = (a, s = !1) => ya(a) ? a.dom.isContentEditable : it(a).fold(_e(s), (f) => XS(f) === "true"), XS = (a) => a.dom.contentEditable, ba = (a, s) => {
17945
17945
  a.dom.contentEditable = s ? "true" : "false";
17946
17946
  }, ui = (a, s) => lt(Ls(a), s), Ji = (a, s) => {
17947
17947
  let f = [];
@@ -21516,7 +21516,7 @@ Required: ` + s.join(", "));
21516
21516
  default: rE.getAttrib(a.getElement(), "placeholder")
21517
21517
  });
21518
21518
  });
21519
- }, Wf = xn("iframe_attrs"), V4 = xn("doctype"), z4 = xn("document_base_url"), H4 = xn("body_id"), $4 = xn("body_class"), iE = xn("content_security_policy"), v2 = xn("br_in_pre"), Fs = xn("forced_root_block"), Pv = xn("forced_root_block_attrs"), sE = xn("newline_behavior"), y2 = xn("br_newline_selector"), U4 = xn("no_newline_selector"), x1 = xn("keep_styles"), mR = xn("end_container_on_empty_block"), lE = xn("automatic_uploads"), b2 = xn("images_reuse_filename"), W4 = xn("images_replace_blob_uris"), cE = xn("icons"), x2 = xn("icons_url"), uE = xn("images_upload_url"), G4 = xn("images_upload_base_path"), Gf = xn("images_upload_credentials"), Bv = xn("images_upload_handler"), vR = xn("content_css_cors"), fE = xn("referrer_policy"), Z4 = xn("language"), ba = xn("language_url"), _2 = xn("indent_use_margin"), C2 = xn("indentation"), S2 = xn("content_css"), Jg = xn("content_style"), _1 = xn("font_css"), C1 = xn("directionality"), yR = xn("inline_boundaries_selector"), j4 = xn("object_resizing"), q4 = xn("resize_img_proportional"), dE = xn("placeholder"), Vp = xn("event_root"), Fv = xn("service_message"), S1 = xn("theme"), w2 = xn("theme_url"), E2 = xn("model"), bR = xn("model_url"), Yb = xn("inline_boundaries"), xR = xn("formats"), Hi = xn("preview_styles"), A2 = xn("format_empty_lines"), bs = xn("format_noneditable_selector"), Vv = xn("custom_ui_selector"), Qg = xn("inline"), Y4 = xn("hidden_input"), Kb = xn("submit_patch"), hE = xn("add_form_submit_trigger"), _R = xn("add_unload_trigger"), CR = xn("custom_undo_redo_levels"), Ou = xn("disable_nodechange"), Vs = xn("readonly"), Zf = xn("editable_root"), T2 = xn("content_css_cors"), Xb = xn("plugins"), SR = xn("external_plugins"), K4 = xn("block_unsupported_drop"), wR = xn("visual"), pE = xn("visual_table_class"), ER = xn("visual_anchor_class"), gE = xn("iframe_aria_text"), zp = xn("setup"), mE = xn("init_instance_callback"), D2 = xn("urlconverter_callback"), AR = xn("auto_focus"), X4 = xn("browser_spellcheck"), TR = xn("protect"), vE = xn("paste_block_drop"), Jb = xn("paste_data_images"), J4 = xn("paste_preprocess"), yE = xn("paste_postprocess"), Q4 = xn("newdocument_content"), e3 = xn("paste_webkit_styles"), bE = xn("paste_remove_styles_if_webkit"), Ih = xn("paste_merge_formats"), w1 = xn("smart_paste"), E1 = xn("paste_as_text"), t3 = xn("paste_tab_spaces"), xE = xn("allow_html_data_urls"), n3 = xn("text_patterns"), _E = xn("text_patterns_lookup"), r3 = xn("noneditable_class"), DR = xn("editable_class"), k2 = xn("noneditable_regexp"), em = xn("preserve_cdata"), tm = xn("highlight_on_focus"), Qb = xn("xss_sanitization"), o3 = xn("init_content_sync"), CE = (a) => a.options.isSet("text_patterns_lookup"), SE = (a) => Yt.explode(a.options.get("font_size_style_values")), kR = (a) => Yt.explode(a.options.get("font_size_classes")), a3 = (a) => a.options.get("encoding") === "xml", i3 = (a) => Yt.explode(a.options.get("images_file_types")), MR = xn("table_tab_navigation"), wE = xn("details_initial_state"), EE = xn("details_serialized_state"), tn = xn("sandbox_iframes"), Nu = (a) => a.options.get("sandbox_iframes_exclusions"), LR = xn("convert_unsafe_embeds"), M2 = xn("license_key"), s3 = xn("api_key"), ex = xn("disabled"), L2 = un, l3 = $t, R2 = (a) => {
21519
+ }, Wf = xn("iframe_attrs"), V4 = xn("doctype"), z4 = xn("document_base_url"), H4 = xn("body_id"), $4 = xn("body_class"), iE = xn("content_security_policy"), v2 = xn("br_in_pre"), Fs = xn("forced_root_block"), Pv = xn("forced_root_block_attrs"), sE = xn("newline_behavior"), y2 = xn("br_newline_selector"), U4 = xn("no_newline_selector"), x1 = xn("keep_styles"), mR = xn("end_container_on_empty_block"), lE = xn("automatic_uploads"), b2 = xn("images_reuse_filename"), W4 = xn("images_replace_blob_uris"), cE = xn("icons"), x2 = xn("icons_url"), uE = xn("images_upload_url"), G4 = xn("images_upload_base_path"), Gf = xn("images_upload_credentials"), Bv = xn("images_upload_handler"), vR = xn("content_css_cors"), fE = xn("referrer_policy"), Z4 = xn("language"), xa = xn("language_url"), _2 = xn("indent_use_margin"), C2 = xn("indentation"), S2 = xn("content_css"), Jg = xn("content_style"), _1 = xn("font_css"), C1 = xn("directionality"), yR = xn("inline_boundaries_selector"), j4 = xn("object_resizing"), q4 = xn("resize_img_proportional"), dE = xn("placeholder"), Vp = xn("event_root"), Fv = xn("service_message"), S1 = xn("theme"), w2 = xn("theme_url"), E2 = xn("model"), bR = xn("model_url"), Yb = xn("inline_boundaries"), xR = xn("formats"), Hi = xn("preview_styles"), A2 = xn("format_empty_lines"), bs = xn("format_noneditable_selector"), Vv = xn("custom_ui_selector"), Qg = xn("inline"), Y4 = xn("hidden_input"), Kb = xn("submit_patch"), hE = xn("add_form_submit_trigger"), _R = xn("add_unload_trigger"), CR = xn("custom_undo_redo_levels"), Ou = xn("disable_nodechange"), Vs = xn("readonly"), Zf = xn("editable_root"), T2 = xn("content_css_cors"), Xb = xn("plugins"), SR = xn("external_plugins"), K4 = xn("block_unsupported_drop"), wR = xn("visual"), pE = xn("visual_table_class"), ER = xn("visual_anchor_class"), gE = xn("iframe_aria_text"), zp = xn("setup"), mE = xn("init_instance_callback"), D2 = xn("urlconverter_callback"), AR = xn("auto_focus"), X4 = xn("browser_spellcheck"), TR = xn("protect"), vE = xn("paste_block_drop"), Jb = xn("paste_data_images"), J4 = xn("paste_preprocess"), yE = xn("paste_postprocess"), Q4 = xn("newdocument_content"), e3 = xn("paste_webkit_styles"), bE = xn("paste_remove_styles_if_webkit"), Ih = xn("paste_merge_formats"), w1 = xn("smart_paste"), E1 = xn("paste_as_text"), t3 = xn("paste_tab_spaces"), xE = xn("allow_html_data_urls"), n3 = xn("text_patterns"), _E = xn("text_patterns_lookup"), r3 = xn("noneditable_class"), DR = xn("editable_class"), k2 = xn("noneditable_regexp"), em = xn("preserve_cdata"), tm = xn("highlight_on_focus"), Qb = xn("xss_sanitization"), o3 = xn("init_content_sync"), CE = (a) => a.options.isSet("text_patterns_lookup"), SE = (a) => Yt.explode(a.options.get("font_size_style_values")), kR = (a) => Yt.explode(a.options.get("font_size_classes")), a3 = (a) => a.options.get("encoding") === "xml", i3 = (a) => Yt.explode(a.options.get("images_file_types")), MR = xn("table_tab_navigation"), wE = xn("details_initial_state"), EE = xn("details_serialized_state"), tn = xn("sandbox_iframes"), Nu = (a) => a.options.get("sandbox_iframes_exclusions"), LR = xn("convert_unsafe_embeds"), M2 = xn("license_key"), s3 = xn("api_key"), ex = xn("disabled"), L2 = un, l3 = $t, R2 = (a) => {
21520
21520
  const s = a.parentNode;
21521
21521
  s && s.removeChild(a);
21522
21522
  }, c3 = (a) => {
@@ -27166,7 +27166,7 @@ Options:${L}${f.join(L)}` : "";
27166
27166
  return eY(_, E.x, E.y);
27167
27167
  }, dV = (a) => ae.from(a).map($e.fromDom), hV = (a) => {
27168
27168
  const s = a.inline ? a.getBody() : a.getContentAreaContainer();
27169
- return dV(s).map(va).getOr(!1);
27169
+ return dV(s).map(ya).getOr(!1);
27170
27170
  };
27171
27171
  var pV = () => {
27172
27172
  const a = () => {
@@ -27398,18 +27398,18 @@ Options:${L}${f.join(L)}` : "";
27398
27398
  gN(s, "mce-content-readonly", !0), a.selection.controlSelection.hideResizeRect(), a._selectionOverrides.hideFakeCaret(), sY(a);
27399
27399
  }, CV = (a) => {
27400
27400
  const s = $e.fromDom(a.getBody());
27401
- gN(s, "mce-content-readonly", !1), a.hasEditableRoot() && ya(s, !0), f5(a, !1), zE(a) && a.focus(), _V(a), a.nodeChanged();
27401
+ gN(s, "mce-content-readonly", !1), a.hasEditableRoot() && ba(s, !0), f5(a, !1), zE(a) && a.focus(), _V(a), a.nodeChanged();
27402
27402
  }, s0 = (a) => ex(a), cy = "data-mce-contenteditable", lY = (a) => {
27403
27403
  Xe(Hr(a, '*[contenteditable="true"]'), (s) => {
27404
- Ki(s, cy, "true"), ya(s, !1);
27404
+ Ki(s, cy, "true"), ba(s, !1);
27405
27405
  });
27406
27406
  }, vN = (a) => {
27407
27407
  Xe(Hr(a, `*[${cy}="true"]`), (s) => {
27408
- Ua(s, cy), ya(s, !0);
27408
+ Ua(s, cy), ba(s, !0);
27409
27409
  });
27410
27410
  }, yN = (a, s) => {
27411
27411
  const f = $e.fromDom(a.getBody());
27412
- s ? (mN(a), ya(f, !1), lY(f)) : (vN(f), CV(a));
27412
+ s ? (mN(a), ba(f, !1), lY(f)) : (vN(f), CV(a));
27413
27413
  }, cY = (a) => {
27414
27414
  a.serializer ? SV(a) : a.on("PreInit", () => {
27415
27415
  SV(a);
@@ -29244,7 +29244,7 @@ Options:${L}${f.join(L)}` : "";
29244
29244
  Cr(a, s, !1).fold(() => {
29245
29245
  a.selection.isEditable() && (qp(a), DO(a));
29246
29246
  }, ut);
29247
- }, xa = (a, s) => {
29247
+ }, _a = (a, s) => {
29248
29248
  Cr(a, s, !0).fold(() => {
29249
29249
  a.selection.isEditable() && q1(a);
29250
29250
  }, ut);
@@ -29252,7 +29252,7 @@ Options:${L}${f.join(L)}` : "";
29252
29252
  a.addCommand("delete", () => {
29253
29253
  jo(a, s);
29254
29254
  }), a.addCommand("forwardDelete", () => {
29255
- xa(a, s);
29255
+ _a(a, s);
29256
29256
  });
29257
29257
  }, Ir = 5, On = 400, Po = (a) => a.touches === void 0 || a.touches.length !== 1 ? ae.none() : ae.some(a.touches[0]), xo = (a, s) => {
29258
29258
  const f = Math.abs(a.clientX - s.x), g = Math.abs(a.clientY - s.y);
@@ -32407,7 +32407,7 @@ Input object: ` + yae(a.input), aH = _Ee, Tae = (a, s) => aH(a, a, yEe(), s), Da
32407
32407
  iframeContainer: s.iframeContainer
32408
32408
  });
32409
32409
  }, YA = ia.DOM, dse = (a) => a.charAt(0) === "-", D3e = (a, s) => {
32410
- const f = Z4(s), g = ba(s);
32410
+ const f = Z4(s), g = xa(s);
32411
32411
  if (!kd.hasCode(f) && f !== "en") {
32412
32412
  const _ = Ia(g) ? g : `${s.editorManager.baseURL}/langs/${f}.js`;
32413
32413
  a.add(_).catch(() => {
@@ -35537,7 +35537,7 @@ Required: ` + m.join(", "));
35537
35537
  if (R == null) throw new Error(S + " not available on this browser");
35538
35538
  return R;
35539
35539
  })("HTMLElement", x))(m).prototype.isPrototypeOf(u) || /^HTML\w*Element$/.test(Wl(u).constructor.name));
35540
- }, Zc = (u) => u.dom.nodeName.toLowerCase(), Dl = (u) => (m) => ((x) => x.dom.nodeType)(m) === u, Xo = (u) => Es(u) && Cg(u.dom), Es = Dl(1), he = Dl(3), Re = Dl(9), We = Dl(11), dt = (u) => (m) => Es(m) && Zc(m) === u, gn = (u) => ln(u.dom.ownerDocument), Fr = (u) => Re(u) ? u : gn(u), ma = (u) => ln(Fr(u).dom.documentElement), si = (u) => ln(Fr(u).dom.defaultView), wi = (u) => V.from(u.dom.parentNode).map(ln), As = (u) => V.from(u.dom.parentElement).map(ln), kl = (u) => V.from(u.dom.offsetParent).map(ln), ul = (u) => ke(u.dom.childNodes, ln), Gl = (u, m) => {
35540
+ }, Zc = (u) => u.dom.nodeName.toLowerCase(), Dl = (u) => (m) => ((x) => x.dom.nodeType)(m) === u, Xo = (u) => Es(u) && Cg(u.dom), Es = Dl(1), he = Dl(3), Re = Dl(9), We = Dl(11), dt = (u) => (m) => Es(m) && Zc(m) === u, gn = (u) => ln(u.dom.ownerDocument), Fr = (u) => Re(u) ? u : gn(u), va = (u) => ln(Fr(u).dom.documentElement), si = (u) => ln(Fr(u).dom.defaultView), wi = (u) => V.from(u.dom.parentNode).map(ln), As = (u) => V.from(u.dom.parentElement).map(ln), kl = (u) => V.from(u.dom.offsetParent).map(ln), ul = (u) => ke(u.dom.childNodes, ln), Gl = (u, m) => {
35541
35541
  const x = u.dom.childNodes;
35542
35542
  return V.from(x[m]).map(ln);
35543
35543
  }, jc = (u) => Gl(u, 0), ov = (u, m) => ({ element: u, offset: m }), z0 = (u, m) => {
@@ -35889,7 +35889,7 @@ Required: ` + m.join(", "));
35889
35889
  (function(u) {
35890
35890
  u[u.Error = 0] = "Error", u[u.Value = 1] = "Value";
35891
35891
  })(me || (me = {}));
35892
- const Ve = (u, m, x) => u.stype === me.Error ? m(u.serror) : x(u.svalue), qe = (u) => ({ stype: me.Value, svalue: u }), Ft = (u) => ({ stype: me.Error, serror: u }), Ln = qe, nr = Ft, hr = Ve, Hn = (u) => l(u) && Jn(u).length > 100 ? " removed due to size" : JSON.stringify(u, null, 2), Lo = (u, m) => nr([{ path: u, getErrorInfo: m }]), Wa = (u) => ({ extract: (m, x) => ((S, M) => S.stype === me.Error ? M(S.serror) : S)(u(x), (S) => ((M, R) => Lo(M, I(R)))(m, S)), toString: I("val") }), ql = Wa(Ln), va = I(ql), W0 = (u, m) => Wa((x) => {
35892
+ const Ve = (u, m, x) => u.stype === me.Error ? m(u.serror) : x(u.svalue), qe = (u) => ({ stype: me.Value, svalue: u }), Ft = (u) => ({ stype: me.Error, serror: u }), Ln = qe, nr = Ft, hr = Ve, Hn = (u) => l(u) && Jn(u).length > 100 ? " removed due to size" : JSON.stringify(u, null, 2), Lo = (u, m) => nr([{ path: u, getErrorInfo: m }]), Wa = (u) => ({ extract: (m, x) => ((S, M) => S.stype === me.Error ? M(S.serror) : S)(u(x), (S) => ((M, R) => Lo(M, I(R)))(m, S)), toString: I("val") }), ql = Wa(Ln), ya = I(ql), W0 = (u, m) => Wa((x) => {
35893
35893
  const S = typeof x;
35894
35894
  return u(x) ? Ln(x) : nr(`Expected type: ${m} but got: ${S}`);
35895
35895
  }), T_ = W0(A, "number"), Ei = W0(i, "string"), dv = W0(p, "boolean"), _u = W0(w, "function"), jS = (u) => {
@@ -36002,7 +36002,7 @@ Required: ` + m.join(", "));
36002
36002
  Input object: ` + Hn(u.input), xc = (u, m) => Vf(u, Ut(m, Gn)), YS = (u, m) => ((x, S) => {
36003
36003
  const M = sl(S);
36004
36004
  return { extract: (R, B) => M().extract(R, B), toString: () => M().toString() };
36005
- })(0, m), Ga = OL, Xa = (u, m) => ({ tag: "custom", newKey: u, instantiator: m }), Z0 = (u) => gv((m) => _e(u, m) ? gr.value(m) : gr.error(`Unsupported value: "${m}", choose one of "${u.join(", ")}".`)), kt = (u) => Ga(u, u, { tag: "required", process: {} }, va()), _c = (u, m) => Ga(u, u, { tag: "required", process: {} }, m), j0 = (u) => _c(u, T_), Ci = (u) => _c(u, Ei), Yl = (u, m) => Ga(u, u, { tag: "required", process: {} }, Z0(m)), Xi = (u) => _c(u, _u), wh = (u, m) => Ga(u, u, { tag: "required", process: {} }, Gn(m)), KS = (u, m) => Ga(u, u, { tag: "required", process: {} }, k_(m)), Cc = (u, m) => Ga(u, u, { tag: "required", process: {} }, Sh(m)), ao = (u) => Ga(u, u, { tag: "option", process: {} }, va()), Sc = (u, m) => Ga(u, u, { tag: "option", process: {} }, m), vv = (u) => Sc(u, T_), Fa = (u) => Sc(u, Ei), NL = (u, m) => Sc(u, Z0(m)), Jc = (u) => Sc(u, _u), M_ = (u, m) => Sc(u, Sh(m)), Qc = (u, m) => Sc(u, Gn(m)), it = (u, m) => Ga(u, u, Ep(m), va()), Js = (u, m, x) => Ga(u, u, Ep(m), x), XS = (u, m) => Js(u, m, T_), ya = (u, m) => Js(u, m, Ei), ui = (u, m, x) => Js(u, m, Z0(x)), Ji = (u, m) => Js(u, m, dv), Hr = (u, m) => Js(u, m, _u), Ap = (u, m, x) => Js(u, m, Sh(x)), JS = (u, m, x) => Js(u, m, Gn(x)), Tp = (u, m) => ((x, S) => ({ [x]: S }))(u, m), q0 = (u) => ((m) => {
36005
+ })(0, m), Ga = OL, Xa = (u, m) => ({ tag: "custom", newKey: u, instantiator: m }), Z0 = (u) => gv((m) => _e(u, m) ? gr.value(m) : gr.error(`Unsupported value: "${m}", choose one of "${u.join(", ")}".`)), kt = (u) => Ga(u, u, { tag: "required", process: {} }, ya()), _c = (u, m) => Ga(u, u, { tag: "required", process: {} }, m), j0 = (u) => _c(u, T_), Ci = (u) => _c(u, Ei), Yl = (u, m) => Ga(u, u, { tag: "required", process: {} }, Z0(m)), Xi = (u) => _c(u, _u), wh = (u, m) => Ga(u, u, { tag: "required", process: {} }, Gn(m)), KS = (u, m) => Ga(u, u, { tag: "required", process: {} }, k_(m)), Cc = (u, m) => Ga(u, u, { tag: "required", process: {} }, Sh(m)), ao = (u) => Ga(u, u, { tag: "option", process: {} }, ya()), Sc = (u, m) => Ga(u, u, { tag: "option", process: {} }, m), vv = (u) => Sc(u, T_), Fa = (u) => Sc(u, Ei), NL = (u, m) => Sc(u, Z0(m)), Jc = (u) => Sc(u, _u), M_ = (u, m) => Sc(u, Sh(m)), Qc = (u, m) => Sc(u, Gn(m)), it = (u, m) => Ga(u, u, Ep(m), ya()), Js = (u, m, x) => Ga(u, u, Ep(m), x), XS = (u, m) => Js(u, m, T_), ba = (u, m) => Js(u, m, Ei), ui = (u, m, x) => Js(u, m, Z0(x)), Ji = (u, m) => Js(u, m, dv), Hr = (u, m) => Js(u, m, _u), Ap = (u, m, x) => Js(u, m, Sh(x)), JS = (u, m, x) => Js(u, m, Gn(x)), Tp = (u, m) => ((x, S) => ({ [x]: S }))(u, m), q0 = (u) => ((m) => {
36006
36006
  const x = {};
36007
36007
  return Be(m, (S) => {
36008
36008
  x[S.key] = S.value;
@@ -36094,7 +36094,7 @@ Spec: ` + JSON.stringify(J, null, 2));
36094
36094
  return x.validated.preprocess.getOr(G)(B);
36095
36095
  }
36096
36096
  return R(m);
36097
- }), B_ = Hf.single, F_ = Hf.multiple, ow = I(VL), pb = Ya([{ required: ["data"] }, { external: ["data"] }, { optional: ["data"] }, { group: ["data"] }]), gb = it("factory", { sketch: G }), FD = it("schema", []), aw = kt("name"), Sv = Ga("pname", "pname", hv((u) => "<alloy." + en(u.name) + ">"), va()), iw = Xa("schema", () => [ao("preprocess")]), wv = it("defaults", I({})), af = it("overrides", I({})), Nl = Gn([gb, FD, aw, Sv, wv, af]), sw = Gn([gb, FD, aw, wv, af]), lw = Gn([gb, FD, aw, Sv, wv, af]), Fg = Gn([gb, iw, aw, kt("unit"), Sv, wv, af]), mb = (u) => u.fold(V.some, V.none, V.some, V.some), V_ = (u) => {
36097
+ }), B_ = Hf.single, F_ = Hf.multiple, ow = I(VL), pb = Ya([{ required: ["data"] }, { external: ["data"] }, { optional: ["data"] }, { group: ["data"] }]), gb = it("factory", { sketch: G }), FD = it("schema", []), aw = kt("name"), Sv = Ga("pname", "pname", hv((u) => "<alloy." + en(u.name) + ">"), ya()), iw = Xa("schema", () => [ao("preprocess")]), wv = it("defaults", I({})), af = it("overrides", I({})), Nl = Gn([gb, FD, aw, Sv, wv, af]), sw = Gn([gb, FD, aw, wv, af]), lw = Gn([gb, FD, aw, Sv, wv, af]), Fg = Gn([gb, iw, aw, kt("unit"), Sv, wv, af]), mb = (u) => u.fold(V.some, V.none, V.some, V.some), V_ = (u) => {
36098
36098
  const m = (x) => x.name;
36099
36099
  return u.fold(m, m, m, m);
36100
36100
  }, vb = (u, m) => (x) => {
@@ -36162,7 +36162,7 @@ Components: ` + JSON.stringify(M.components, null, 2));
36162
36162
  }, hw = (u, m) => {
36163
36163
  const x = zD(m);
36164
36164
  return q0(ke(x, (S) => ({ key: S, value: u + "-" + S })));
36165
- }, pw = (u) => Ga("partUids", "partUids", ob((m) => hw(m.uid, u)), va());
36165
+ }, pw = (u) => Ga("partUids", "partUids", ob((m) => hw(m.uid, u)), ya());
36166
36166
  var HD = Object.freeze({ __proto__: null, generate: VD, generateOne: X0, schemas: bb, names: zD, substitutes: fw, components: xb, defaultUids: hw, defaultUidsSchema: pw, getAllParts: H_, getAllPartNames: $_, getPart: Mo, getPartOrDie: wd, getParts: Lp, getPartsOrDie: dw });
36167
36167
  const zL = ["valignCentre", "alignLeft", "alignRight", "alignCentre", "top", "bottom", "left", "right", "inset"], ku = (u, m, x, S = 1) => {
36168
36168
  const M = u * S, R = m * S, B = (H) => bn(x, H).getOr([]), z = (H, j, J) => {
@@ -36794,7 +36794,7 @@ The behaviours that can trigger it are: ` + JSON.stringify(ke(R, (B) => B.name),
36794
36794
  };
36795
36795
  })(M), B = x.length > 1 ? ut(m[S], (z) => Ue(x, (H) => H.name === z)).join(" > ") : x[0].name;
36796
36796
  return Tp(S, /* @__PURE__ */ ((z, H) => ({ handler: z, purpose: H }))(R, B));
36797
- })), {}), Xg = "alloy.base.behaviour", sR = Gn([Ga("dom", "dom", { tag: "required", process: {} }, Gn([kt("tag"), it("styles", {}), it("classes", []), it("attributes", {}), ao("value"), ao("innerHtml")])), kt("components"), kt("uid"), it("events", {}), it("apis", {}), Ga("eventOrder", "eventOrder", (b1 = { [Eu()]: ["disabling", Xg, "toggling", "typeaheadevents"], [Og()]: [Xg, "focusing", "keying"], [R_()]: [Xg, "disabling", "toggling", "representing", "tooltipping"], [Eh()]: [Xg, "representing", "streaming", "invalidating"], [Va()]: [Xg, "representing", "item-events", "toolbar-button-events", "tooltipping"], [wu()]: ["focusing", Xg, "item-type-events"], [Dp()]: ["focusing", Xg, "item-type-events"], [xd()]: ["item-type-events", "tooltipping"], [_v()]: ["receiving", "reflecting", "tooltipping"] }, ob(I(b1))), va()), ao("domModification")]), lR = (u) => u.events, L4 = (u, m) => {
36797
+ })), {}), Xg = "alloy.base.behaviour", sR = Gn([Ga("dom", "dom", { tag: "required", process: {} }, Gn([kt("tag"), it("styles", {}), it("classes", []), it("attributes", {}), ao("value"), ao("innerHtml")])), kt("components"), kt("uid"), it("events", {}), it("apis", {}), Ga("eventOrder", "eventOrder", (b1 = { [Eu()]: ["disabling", Xg, "toggling", "typeaheadevents"], [Og()]: [Xg, "focusing", "keying"], [R_()]: [Xg, "disabling", "toggling", "representing", "tooltipping"], [Eh()]: [Xg, "representing", "streaming", "invalidating"], [Va()]: [Xg, "representing", "item-events", "toolbar-button-events", "tooltipping"], [wu()]: ["focusing", Xg, "item-type-events"], [Dp()]: ["focusing", Xg, "item-type-events"], [xd()]: ["item-type-events", "tooltipping"], [_v()]: ["receiving", "reflecting", "tooltipping"] }, ob(I(b1))), ya()), ao("domModification")]), lR = (u) => u.events, L4 = (u, m) => {
36798
36798
  const x = Jn(u), S = Jn(m), M = Qe(S, x), R = ((B) => {
36799
36799
  const z = {}, H = {};
36800
36800
  return ds(B, (j, J) => !Er(m, J) || j !== m[J], tr(z), tr(H)), { t: z, f: H };
@@ -36861,7 +36861,7 @@ Complete spec:
36861
36861
  Be(ht, (Cr) => {
36862
36862
  Et[Cr.name()] = Cr.exhibit(je, Tt);
36863
36863
  });
36864
- const Dt = k4(Et, (Cr, jo) => ({ name: Cr, modification: jo })), zt = (Cr) => Rt(Cr, (jo, xa) => ({ ...xa.modification, ...jo }), {}), Cn = Rt(Dt.classes, (Cr, jo) => jo.modification.concat(Cr), []), kn = zt(Dt.attributes), $n = zt(Dt.styles);
36864
+ const Dt = k4(Et, (Cr, jo) => ({ name: Cr, modification: jo })), zt = (Cr) => Rt(Cr, (jo, _a) => ({ ..._a.modification, ...jo }), {}), Cn = Rt(Dt.classes, (Cr, jo) => jo.modification.concat(Cr), []), kn = zt(Dt.attributes), $n = zt(Dt.styles);
36865
36865
  return kc({ classes: Cn, attributes: kn, styles: $n });
36866
36866
  })(De, xe, de, Se) : be;
36867
36867
  return Ne = Se, ze = Oe, { ...Ne, attributes: { ...Ne.attributes, ...ze.attributes }, styles: { ...Ne.styles, ...ze.styles }, classes: Ne.classes.concat(ze.classes) };
@@ -36923,7 +36923,7 @@ Complete spec:
36923
36923
  } }) });
36924
36924
  var P4 = Object.freeze({ __proto__: null, getCurrent: (u, m, x) => m.find(u) });
36925
36925
  const cR = [kt("find")], Ur = Bs({ fields: cR, name: "composing", apis: P4 });
36926
- var uR = Object.freeze({ __proto__: null, getCoupled: (u, m, x, S) => x.getOrCreate(u, m, S), getExistingCoupled: (u, m, x, S) => x.getExisting(u, m, S) }), fR = [_c("others", mv(gr.value, va()))], tE = Object.freeze({ __proto__: null, init: () => {
36926
+ var uR = Object.freeze({ __proto__: null, getCoupled: (u, m, x, S) => x.getOrCreate(u, m, S), getExistingCoupled: (u, m, x, S) => x.getExisting(u, m, S) }), fR = [_c("others", mv(gr.value, ya()))], tE = Object.freeze({ __proto__: null, init: () => {
36927
36927
  const u = {}, m = (S, M) => {
36928
36928
  if (Jn(S.others).length === 0) throw new Error("Cannot find any known coupled components");
36929
36929
  return bn(u, M);
@@ -37098,7 +37098,7 @@ Complete spec:
37098
37098
  }), At(Pg(), (x, S) => {
37099
37099
  uE(x, u, m);
37100
37100
  })]) }), Z4 = [Qc("contextual", [Ci("fadeInClass"), Ci("fadeOutClass"), Ci("transitionClass"), Xi("lazyContext"), Xr("onShow"), Xr("onShown"), Xr("onHide"), Xr("onHidden")]), Hr("lazyViewport", () => ({ bounds: vs(), optScrollEnv: V.none() })), Ap("modes", ["top", "bottom"], Ei), Xr("onDocked"), Xr("onUndocked")];
37101
- const ba = Bs({ fields: Z4, name: "docking", active: fE, apis: vR, state: Object.freeze({ __proto__: null, init: (u) => {
37101
+ const xa = Bs({ fields: Z4, name: "docking", active: fE, apis: vR, state: Object.freeze({ __proto__: null, init: (u) => {
37102
37102
  const m = pn(!1), x = pn(!0), S = yo(), M = pn(u.modes);
37103
37103
  return nu({ isDocked: m.get, setDocked: m.set, getInitialPos: S.get, setInitialPos: S.set, clearInitialPos: S.clear, isVisible: x.get, setVisible: x.set, getModes: M.get, setModes: M.set, readState: () => `docked: ${m.get()}, visible: ${x.get()}, modes: ${M.get().join(",")}` });
37104
37104
  } }) }), _2 = Ya([{ offset: ["x", "y"] }, { absolute: ["x", "y"] }, { fixed: ["x", "y"] }]), C2 = (u) => (m) => m.translate(-u.left, -u.top), S2 = (u) => (m) => m.translate(u.left, u.top), Jg = (u) => (m, x) => et(u, (S, M) => M(S), aa(m, x)), _1 = (u, m, x) => u.fold(Jg([S2(x), C2(m)]), Jg([C2(m)]), Jg([])), C1 = (u, m, x) => u.fold(Jg([S2(x)]), Jg([]), Jg([S2(m)])), yR = (u, m, x) => u.fold(Jg([]), Jg([C2(x)]), Jg([S2(m), C2(x)])), j4 = (u, m, x) => {
@@ -37198,12 +37198,12 @@ Complete spec:
37198
37198
  const oe = j.getTarget(H.element);
37199
37199
  if (j.repositionTarget) {
37200
37200
  const ue = gn(H.element), de = bc(ue), De = le(oe), Se = ER(oe), Me = ((xe, Oe, Ne, ze, je, nt, ht) => ((Tt, Et, Dt, zt, Cn) => {
37201
- const kn = Cn.bounds, $n = C1(Et, Dt, zt), Cr = Ho($n.left, kn.x, kn.x + kn.width - Cn.width), jo = Ho($n.top, kn.y, kn.y + kn.height - Cn.height), xa = Vp(Cr, jo);
37201
+ const kn = Cn.bounds, $n = C1(Et, Dt, zt), Cr = Ho($n.left, kn.x, kn.x + kn.width - Cn.width), jo = Ho($n.top, kn.y, kn.y + kn.height - Cn.height), _a = Vp(Cr, jo);
37202
37202
  return Et.fold(() => {
37203
- const uo = yR(xa, Dt, zt);
37203
+ const uo = yR(_a, Dt, zt);
37204
37204
  return dE(uo.left, uo.top);
37205
- }, I(xa), () => {
37206
- const uo = _1(xa, Dt, zt);
37205
+ }, I(_a), () => {
37206
+ const uo = _1(_a, Dt, zt);
37207
37207
  return Fv(uo.left, uo.top);
37208
37208
  });
37209
37209
  })(0, Oe.fold(() => {
@@ -37423,8 +37423,8 @@ Complete spec:
37423
37423
  const { x: ze, y: je, right: nt, bottom: ht } = Ne, { x: Tt, y: Et, right: Dt, bottom: zt, width: Cn, height: kn } = Oe;
37424
37424
  return { originInBounds: Tt >= ze && Tt <= nt && Et >= je && Et <= ht, sizeInBounds: Dt <= nt && Dt >= ze && zt <= ht && zt >= je, visibleW: Math.min(Cn, Tt >= ze ? nt - Tt : Dt - ze), visibleH: Math.min(kn, Et >= je ? ht - Et : zt - je) };
37425
37425
  })(j, B), de = J && Y, De = de ? j : ((Oe, Ne) => {
37426
- const { x: ze, y: je, right: nt, bottom: ht } = Ne, { x: Tt, y: Et, width: Dt, height: zt } = Oe, Cn = Math.max(ze, nt - Dt), kn = Math.max(je, ht - zt), $n = Ho(Tt, ze, Cn), Cr = Ho(Et, je, kn), jo = Math.min($n + Dt, nt) - $n, xa = Math.min(Cr + zt, ht) - Cr;
37427
- return Sa($n, Cr, jo, xa);
37426
+ const { x: ze, y: je, right: nt, bottom: ht } = Ne, { x: Tt, y: Et, width: Dt, height: zt } = Oe, Cn = Math.max(ze, nt - Dt), kn = Math.max(je, ht - zt), $n = Ho(Tt, ze, Cn), Cr = Ho(Et, je, kn), jo = Math.min($n + Dt, nt) - $n, _a = Math.min(Cr + zt, ht) - Cr;
37427
+ return Sa($n, Cr, jo, _a);
37428
37428
  })(j, B), Se = De.width > 0 && De.height > 0, { maxWidth: Me, maxHeight: be } = ((Oe, Ne, ze) => {
37429
37429
  const je = I(Ne.bottom - ze.y), nt = I(ze.bottom - Ne.y), ht = ((zt, Cn, kn, $n) => zt.fold(Cn, Cn, $n, $n, Cn, $n, kn, kn))(Oe, nt, nt, je), Tt = I(Ne.right - ze.x), Et = I(ze.right - Ne.x);
37430
37430
  return { maxWidth: ((zt, Cn, kn, $n) => zt.fold(Cn, $n, Cn, $n, kn, kn, Cn, $n))(Oe, Et, Et, Tt), maxHeight: ht };
@@ -37646,7 +37646,7 @@ Complete spec:
37646
37646
  Receiver: ` + un(m.element), j, R.data);
37647
37647
  H.onReceive(m, J);
37648
37648
  });
37649
- })]) }), $2 = [_c("channels", mv(gr.value, Cu([Tu("onReceive"), it("schema", va())])))];
37649
+ })]) }), $2 = [_c("channels", mv(gr.value, Cu([Tu("onReceive"), it("schema", ya())])))];
37650
37650
  const Ql = Bs({ fields: $2, name: "receiving", active: Fh });
37651
37651
  var Gv = Object.freeze({ __proto__: null, events: (u, m) => {
37652
37652
  const x = (S, M) => {
@@ -38646,7 +38646,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
38646
38646
  u.setContent(m, x);
38647
38647
  }, reposition: (u, m) => {
38648
38648
  u.reposition(m);
38649
- } } }), gB = I([ya("type", "text"), ao("data"), it("inputAttributes", {}), it("inputStyles", {}), it("tag", "input"), it("inputClasses", []), Xr("onSetValue"), Hr("fromInputValue", G), Hr("toInputValue", G), it("styles", {}), it("eventOrder", {}), Hi("inputBehaviours", [tn, Un]), it("selectOnFocus", !0)]), mB = (u) => Vt([Un.config({ onFocus: u.selectOnFocus ? (m) => {
38649
+ } } }), gB = I([ba("type", "text"), ao("data"), it("inputAttributes", {}), it("inputStyles", {}), it("tag", "input"), it("inputClasses", []), Xr("onSetValue"), Hr("fromInputValue", G), Hr("toInputValue", G), it("styles", {}), it("eventOrder", {}), Hi("inputBehaviours", [tn, Un]), it("selectOnFocus", !0)]), mB = (u) => Vt([Un.config({ onFocus: u.selectOnFocus ? (m) => {
38650
38650
  const x = m.element, S = md(x);
38651
38651
  u.type !== "range" && x.dom.setSelectionRange(0, S.length);
38652
38652
  } : k })]), dZ = (u) => ({ ...mB(u), ...bs(u.inputBehaviours, [tn.config({ store: { mode: "manual", ...u.data.map((m) => ({ initialValue: m })).getOr({}), getValue: (m) => u.fromInputValue(md(m.element)), setValue: (m, x) => {
@@ -39073,7 +39073,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
39073
39073
  u.refresh(m);
39074
39074
  }, toggle: (u, m) => {
39075
39075
  u.toggle(m);
39076
- }, isOpen: (u, m) => u.isOpen(m) } }), KE = Ou({ name: "TabButton", configFields: [it("uid", void 0), kt("value"), Ga("dom", "dom", ob(() => ({ attributes: { role: "tab", id: en("aria"), "aria-selected": "false" } })), va()), ao("action"), it("domModification", {}), Hi("tabButtonBehaviours", [Un, wn, tn]), kt("view")], factory: (u, m) => ({ uid: u.uid, dom: u.dom, components: u.components, events: Wp(u.action), behaviours: bs(u.tabButtonBehaviours, [Un.config({}), wn.config({ mode: "execution", useSpace: !0, useEnter: !0 }), tn.config({ store: { mode: "memory", initialValue: u.value } })]), domModification: u.domModification }) }), XE = I([kt("tabs"), kt("dom"), it("clickToDismiss", !1), Hi("tabbarBehaviours", [io, wn]), Mp(["tabClass", "selectedClass"])]), YB = Vg({ factory: KE, name: "tabs", unit: "tab", overrides: (u) => {
39076
+ }, isOpen: (u, m) => u.isOpen(m) } }), KE = Ou({ name: "TabButton", configFields: [it("uid", void 0), kt("value"), Ga("dom", "dom", ob(() => ({ attributes: { role: "tab", id: en("aria"), "aria-selected": "false" } })), ya()), ao("action"), it("domModification", {}), Hi("tabButtonBehaviours", [Un, wn, tn]), kt("view")], factory: (u, m) => ({ uid: u.uid, dom: u.dom, components: u.components, events: Wp(u.action), behaviours: bs(u.tabButtonBehaviours, [Un.config({}), wn.config({ mode: "execution", useSpace: !0, useEnter: !0 }), tn.config({ store: { mode: "memory", initialValue: u.value } })]), domModification: u.domModification }) }), XE = I([kt("tabs"), kt("dom"), it("clickToDismiss", !1), Hi("tabbarBehaviours", [io, wn]), Mp(["tabClass", "selectedClass"])]), YB = Vg({ factory: KE, name: "tabs", unit: "tab", overrides: (u) => {
39077
39077
  const m = (S, M) => {
39078
39078
  io.dehighlight(S, M), Rn(S, O_(), { tabbar: S, button: M });
39079
39079
  }, x = (S, M) => {
@@ -39349,7 +39349,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
39349
39349
  const { implementation: je, createNodeIterator: nt, createDocumentFragment: ht, getElementsByTagName: Tt } = S, { importNode: Et } = M;
39350
39350
  let Dt = { afterSanitizeAttributes: [], afterSanitizeElements: [], afterSanitizeShadowDOM: [], beforeSanitizeAttributes: [], beforeSanitizeElements: [], beforeSanitizeShadowDOM: [], uponSanitizeAttribute: [], uponSanitizeElement: [], uponSanitizeShadowNode: [] };
39351
39351
  x.isSupported = typeof S7 == "function" && typeof Oe == "function" && je && je.createHTMLDocument !== void 0;
39352
- const { MUSTACHE_EXPR: zt, ERB_EXPR: Cn, TMPLIT_EXPR: kn, DATA_ATTR: $n, ARIA_ATTR: Cr, IS_SCRIPT_OR_DATA: jo, ATTR_WHITESPACE: xa, CUSTOM_ELEMENT: uo } = L7;
39352
+ const { MUSTACHE_EXPR: zt, ERB_EXPR: Cn, TMPLIT_EXPR: kn, DATA_ATTR: $n, ARIA_ATTR: Cr, IS_SCRIPT_OR_DATA: jo, ATTR_WHITESPACE: _a, CUSTOM_ELEMENT: uo } = L7;
39353
39353
  let { IS_ALLOWED_URI: Ir } = L7, On = null;
39354
39354
  const Po = Zo({}, [...D7, ...LO, ...vk, ...RO, ...NO]);
39355
39355
  let xo = null;
@@ -39477,8 +39477,8 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
39477
39477
  if (!xo[pr] || ls[pr]) {
39478
39478
  if (!(Qz(st) && (To.tagNameCheck instanceof RegExp && vf(To.tagNameCheck, st) || To.tagNameCheck instanceof Function && To.tagNameCheck(st)) && (To.attributeNameCheck instanceof RegExp && vf(To.attributeNameCheck, pr) || To.attributeNameCheck instanceof Function && To.attributeNameCheck(pr)) || pr === "is" && To.allowCustomizedBuiltInElements && (To.tagNameCheck instanceof RegExp && vf(To.tagNameCheck, qn) || To.tagNameCheck instanceof Function && To.tagNameCheck(qn)))) return !1;
39479
39479
  } else if (!x8[pr]) {
39480
- if (!vf(Ir, hC(qn, xa, ""))) {
39481
- if ((pr !== "src" && pr !== "xlink:href" && pr !== "href" || st === "script" || UZ(qn, "data:") !== 0 || !eg[st]) && !(W5 && !vf(jo, hC(qn, xa, "")))) {
39480
+ if (!vf(Ir, hC(qn, _a, ""))) {
39481
+ if ((pr !== "src" && pr !== "xlink:href" && pr !== "href" || st === "script" || UZ(qn, "data:") !== 0 || !eg[st]) && !(W5 && !vf(jo, hC(qn, _a, "")))) {
39482
39482
  if (qn) return !1;
39483
39483
  }
39484
39484
  }
@@ -39659,10 +39659,10 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
39659
39659
  if (S.isSet()) {
39660
39660
  const de = Rc(oe);
39661
39661
  S.on((De) => {
39662
- er.append(De, de), Ma.reposition(De), oe.hasConfigured(ba) && ba.refresh(De), z(De.components());
39662
+ er.append(De, de), Ma.reposition(De), oe.hasConfigured(xa) && xa.refresh(De), z(De.components());
39663
39663
  });
39664
39664
  } else {
39665
- const de = el(Ma.sketch({ dom: { tag: "div", classes: ["tox-notifications-container"], attributes: { "aria-label": "Notifications", role: "region" } }, lazySink: M.getSink, fireDismissalEventInstead: {}, ...M.header.isPositionedAtTop() ? {} : { fireRepositionEventInstead: {} }, inlineBehaviours: Vt([wn.config({ mode: "cyclic", selector: ".tox-notification, .tox-notification a, .tox-notification button" }), er.config({}), ...Ud(u) && M.header.isPositionedAtTop() ? [] : [ba.config({ contextual: { lazyContext: () => V.some(wa(R())), fadeInClass: "tox-notification-container-dock-fadein", fadeOutClass: "tox-notification-container-dock-fadeout", transitionClass: "tox-notification-container-dock-transition" }, modes: ["top"], lazyViewport: (be) => qp(u, be.element).map((xe) => ({ bounds: q1(xe), optScrollEnv: V.some({ currentScrollTop: xe.element.dom.scrollTop, scrollElmTop: li(xe.element).top }) })).getOrThunk(() => ({ bounds: vs(), optScrollEnv: V.none() })) })]]) })), De = Rc(oe), Se = { maxHeightFunction: cf() }, Me = { ...M.anchors.banner(), overrides: Se };
39665
+ const de = el(Ma.sketch({ dom: { tag: "div", classes: ["tox-notifications-container"], attributes: { "aria-label": "Notifications", role: "region" } }, lazySink: M.getSink, fireDismissalEventInstead: {}, ...M.header.isPositionedAtTop() ? {} : { fireRepositionEventInstead: {} }, inlineBehaviours: Vt([wn.config({ mode: "cyclic", selector: ".tox-notification, .tox-notification a, .tox-notification button" }), er.config({}), ...Ud(u) && M.header.isPositionedAtTop() ? [] : [xa.config({ contextual: { lazyContext: () => V.some(wa(R())), fadeInClass: "tox-notification-container-dock-fadein", fadeOutClass: "tox-notification-container-dock-fadeout", transitionClass: "tox-notification-container-dock-transition" }, modes: ["top"], lazyViewport: (be) => qp(u, be.element).map((xe) => ({ bounds: q1(xe), optScrollEnv: V.some({ currentScrollTop: xe.element.dom.scrollTop, scrollElmTop: li(xe.element).top }) })).getOrThunk(() => ({ bounds: vs(), optScrollEnv: V.none() })) })]]) })), De = Rc(oe), Se = { maxHeightFunction: cf() }, Me = { ...M.anchors.banner(), overrides: Se };
39666
39666
  S.set(de), x.add(de), Ma.showWithinBounds(de, De, { anchor: Me }, B);
39667
39667
  }
39668
39668
  A(H.timeout) && H.timeout > 0 && lC.setEditorTimeout(u, () => {
@@ -39670,7 +39670,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
39670
39670
  }, H.timeout);
39671
39671
  const ue = () => {
39672
39672
  S.on((de) => {
39673
- Ma.reposition(de), de.hasConfigured(ba) && ba.refresh(de), z(de.components());
39673
+ Ma.reposition(de), de.hasConfigured(xa) && xa.refresh(de), z(de.components());
39674
39674
  });
39675
39675
  };
39676
39676
  return { close: Y, reposition: ue, text: (de) => {
@@ -39752,10 +39752,10 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
39752
39752
  return { value: u, dom: R.dom, components: R.components, items: x };
39753
39753
  }
39754
39754
  return { value: u, dom: ij(m, S, M.menuType), components: sj, items: x };
39755
- }, mi = Ci("type"), UO = Ci("name"), pC = Ci("label"), r0 = Ci("text"), G7 = Ci("title"), WO = Ci("icon"), uj = Ci("url"), gC = Ci("value"), fj = Xi("fetch"), dj = Xi("getSubmenuItems"), mC = Xi("onAction"), hj = Xi("onItemAction"), _x = Hr("onSetup", () => k), pj = Fa("name"), J1 = Fa("text"), gj = Fa("role"), Jf = Fa("icon"), Cx = Fa("tooltip"), lA = Fa("label"), GO = Fa("shortcut"), Ok = Jc("select"), vC = Ji("active", !1), ZO = Ji("borderless", !1), Yh = Ji("enabled", !0), Nk = Ji("primary", !1), Z7 = (u) => it("columns", u), cA = it("meta", {}), Ik = Hr("onAction", k), o0 = (u) => ya("type", u), yC = (u) => Ga("name", "name", hv(() => en(`${u}-name`)), Ei), j7 = [mi, r0, Yl("level", ["info", "warn", "error", "success"]), WO, it("url", "")], lm = Gn(j7), jO = [mi, r0, Yh, yC("button"), Jf, ZO, NL("buttonType", ["primary", "secondary", "toolbar"]), Nk, ya("context", "mode:design")], mj = Gn(jO), bC = [mi, UO], Xp = bC.concat([lA]), vj = bC.concat([pC, Yh, ya("context", "mode:design")]), uA = Gn(vj), yj = dv, q7 = Xp.concat([Z7("auto"), ya("context", "mode:design")]), qO = Gn(q7), bj = k_([gC, r0, WO]), YO = Xp.concat([ya("storageKey", "default"), ya("context", "mode:design")]), KO = Gn(YO), xj = Ei, Y7 = Gn(Xp), K7 = Ei, _j = bC.concat([ya("tag", "textarea"), Ci("scriptId"), Ci("scriptUrl"), Jc("onFocus"), Js("settings", void 0, D_)]), X7 = bC.concat([ya("tag", "textarea"), Xi("init")]), J7 = gv((u) => da("customeditor.old", Cu(X7), u).orThunk(() => da("customeditor.new", Cu(_j), u))), Cj = Ei, Q1 = [Yh, J1, gj, GO, Ga("value", "value", hv(() => en("menuitem-value")), va()), cA, ya("context", "mode:design")], Sj = Gn([mi, UO].concat(Q1)), wj = dv, XO = [yC("button"), Jf, ui("align", "end", ["start", "end"]), Nk, Yh, NL("buttonType", ["primary", "secondary"]), ya("context", "mode:design")], JO = [...XO, r0], Pk = [Yl("type", ["submit", "cancel", "custom"]), ...JO], Ej = [Yl("type", ["menu"]), J1, Cx, Jf, Cc("items", Sj), ...XO], Q7 = [...XO, Yl("type", ["togglebutton"]), Cx, Jf, J1, Ji("active", !1)], fA = xc("type", { submit: Pk, cancel: Pk, custom: Pk, menu: Ej, togglebutton: Q7 }), eF = Xp.concat([ya("context", "mode:design")]), Aj = Gn(eF), Tj = Sh(ql), tF = (u) => [mi, j0("columns"), u], Dj = [mi, Ci("html"), ui("presets", "presentation", ["presentation", "document"]), Hr("onInit", k), Ji("stretched", !1)], kj = Gn(Dj), nF = Xp.concat([Ji("border", !1), Ji("sandboxed", !0), Ji("streamContent", !1), Ji("transparent", !0)]), rF = Gn(nF), oF = Ei, aF = Gn(bC.concat([Fa("height")])), Mj = Gn([Ci("url"), vv("zoom"), vv("cachedWidth"), vv("cachedHeight")]), Lj = Xp.concat([Fa("inputMode"), Fa("placeholder"), Ji("maximized", !1), Yh, ya("context", "mode:design")]), iF = Gn(Lj), QO = Ei, e6 = (u) => [mi, pC, u, ui("align", "start", ["start", "center", "end"]), Fa("for")], sF = [r0, gC], lF = [r0, Cc("items", YS(0, () => t6))], t6 = nf([Gn(sF), Gn(lF)]), Rj = Xp.concat([Cc("items", t6), Yh, ya("context", "mode:design")]), n6 = Gn(Rj), Oj = Ei, cF = Xp.concat([KS("items", [r0, gC]), XS("size", 1), Yh, ya("context", "mode:design")]), uF = Gn(cF), Sx = Ei, Nj = Xp.concat([Ji("constrain", !0), Yh, ya("context", "mode:design")]), r6 = Gn(Nj), dA = Gn([Ci("width"), Ci("height")]), Ij = bC.concat([pC, XS("min", 0), XS("max", 0)]), fF = Gn(Ij), dF = T_, hF = [mi, Cc("header", Ei), Cc("cells", Sh(Ei))], o6 = Gn(hF), pF = Xp.concat([Fa("placeholder"), Ji("maximized", !1), Yh, ya("context", "mode:design")]), Pj = Gn(pF), gF = Ei, mF = [ya("buttonType", "default"), Fa("text"), Fa("tooltip"), Fa("icon"), Js("search", !1, nf([dv, Gn([Fa("placeholder")])], (u) => p(u) ? u ? V.some({ placeholder: V.none() }) : V.none() : V.some(u))), Xi("fetch"), Hr("onSetup", () => k), ya("context", "mode:design")], a6 = Gn([mi, ...mF]), i6 = (u) => da("menubutton", a6, u), vF = [Yl("type", ["directory", "leaf"]), G7, Ci("id"), Sc("menu", a6), Fa("customStateIcon"), Fa("customStateIconTooltip")], s6 = Gn(vF), Bj = vF.concat([Cc("children", YS(0, () => Vf("type", { directory: yF, leaf: s6 })))]), yF = Gn(Bj), Fj = Vf("type", { directory: yF, leaf: s6 }), Vj = [mi, Cc("items", Fj), Jc("onLeafAction"), Jc("onToggleExpand"), Ap("defaultExpandedIds", [], Ei), Fa("defaultSelectedId")], bF = Gn(Vj), hA = Xp.concat([ui("filetype", "file", ["image", "media", "file"]), Yh, Fa("picker_text"), ya("context", "mode:design")]), xF = Gn(hA), zj = Gn([gC, cA]), l6 = (u) => Ga("items", "items", { tag: "required", process: {} }, Sh(gv((m) => da(`Checking item of ${u}`, c6, m).fold((x) => gr.error(G0(x)), (x) => gr.value(x))))), c6 = Xs(() => {
39755
+ }, mi = Ci("type"), UO = Ci("name"), pC = Ci("label"), r0 = Ci("text"), G7 = Ci("title"), WO = Ci("icon"), uj = Ci("url"), gC = Ci("value"), fj = Xi("fetch"), dj = Xi("getSubmenuItems"), mC = Xi("onAction"), hj = Xi("onItemAction"), _x = Hr("onSetup", () => k), pj = Fa("name"), J1 = Fa("text"), gj = Fa("role"), Jf = Fa("icon"), Cx = Fa("tooltip"), lA = Fa("label"), GO = Fa("shortcut"), Ok = Jc("select"), vC = Ji("active", !1), ZO = Ji("borderless", !1), Yh = Ji("enabled", !0), Nk = Ji("primary", !1), Z7 = (u) => it("columns", u), cA = it("meta", {}), Ik = Hr("onAction", k), o0 = (u) => ba("type", u), yC = (u) => Ga("name", "name", hv(() => en(`${u}-name`)), Ei), j7 = [mi, r0, Yl("level", ["info", "warn", "error", "success"]), WO, it("url", "")], lm = Gn(j7), jO = [mi, r0, Yh, yC("button"), Jf, ZO, NL("buttonType", ["primary", "secondary", "toolbar"]), Nk, ba("context", "mode:design")], mj = Gn(jO), bC = [mi, UO], Xp = bC.concat([lA]), vj = bC.concat([pC, Yh, ba("context", "mode:design")]), uA = Gn(vj), yj = dv, q7 = Xp.concat([Z7("auto"), ba("context", "mode:design")]), qO = Gn(q7), bj = k_([gC, r0, WO]), YO = Xp.concat([ba("storageKey", "default"), ba("context", "mode:design")]), KO = Gn(YO), xj = Ei, Y7 = Gn(Xp), K7 = Ei, _j = bC.concat([ba("tag", "textarea"), Ci("scriptId"), Ci("scriptUrl"), Jc("onFocus"), Js("settings", void 0, D_)]), X7 = bC.concat([ba("tag", "textarea"), Xi("init")]), J7 = gv((u) => da("customeditor.old", Cu(X7), u).orThunk(() => da("customeditor.new", Cu(_j), u))), Cj = Ei, Q1 = [Yh, J1, gj, GO, Ga("value", "value", hv(() => en("menuitem-value")), ya()), cA, ba("context", "mode:design")], Sj = Gn([mi, UO].concat(Q1)), wj = dv, XO = [yC("button"), Jf, ui("align", "end", ["start", "end"]), Nk, Yh, NL("buttonType", ["primary", "secondary"]), ba("context", "mode:design")], JO = [...XO, r0], Pk = [Yl("type", ["submit", "cancel", "custom"]), ...JO], Ej = [Yl("type", ["menu"]), J1, Cx, Jf, Cc("items", Sj), ...XO], Q7 = [...XO, Yl("type", ["togglebutton"]), Cx, Jf, J1, Ji("active", !1)], fA = xc("type", { submit: Pk, cancel: Pk, custom: Pk, menu: Ej, togglebutton: Q7 }), eF = Xp.concat([ba("context", "mode:design")]), Aj = Gn(eF), Tj = Sh(ql), tF = (u) => [mi, j0("columns"), u], Dj = [mi, Ci("html"), ui("presets", "presentation", ["presentation", "document"]), Hr("onInit", k), Ji("stretched", !1)], kj = Gn(Dj), nF = Xp.concat([Ji("border", !1), Ji("sandboxed", !0), Ji("streamContent", !1), Ji("transparent", !0)]), rF = Gn(nF), oF = Ei, aF = Gn(bC.concat([Fa("height")])), Mj = Gn([Ci("url"), vv("zoom"), vv("cachedWidth"), vv("cachedHeight")]), Lj = Xp.concat([Fa("inputMode"), Fa("placeholder"), Ji("maximized", !1), Yh, ba("context", "mode:design")]), iF = Gn(Lj), QO = Ei, e6 = (u) => [mi, pC, u, ui("align", "start", ["start", "center", "end"]), Fa("for")], sF = [r0, gC], lF = [r0, Cc("items", YS(0, () => t6))], t6 = nf([Gn(sF), Gn(lF)]), Rj = Xp.concat([Cc("items", t6), Yh, ba("context", "mode:design")]), n6 = Gn(Rj), Oj = Ei, cF = Xp.concat([KS("items", [r0, gC]), XS("size", 1), Yh, ba("context", "mode:design")]), uF = Gn(cF), Sx = Ei, Nj = Xp.concat([Ji("constrain", !0), Yh, ba("context", "mode:design")]), r6 = Gn(Nj), dA = Gn([Ci("width"), Ci("height")]), Ij = bC.concat([pC, XS("min", 0), XS("max", 0)]), fF = Gn(Ij), dF = T_, hF = [mi, Cc("header", Ei), Cc("cells", Sh(Ei))], o6 = Gn(hF), pF = Xp.concat([Fa("placeholder"), Ji("maximized", !1), Yh, ba("context", "mode:design")]), Pj = Gn(pF), gF = Ei, mF = [ba("buttonType", "default"), Fa("text"), Fa("tooltip"), Fa("icon"), Js("search", !1, nf([dv, Gn([Fa("placeholder")])], (u) => p(u) ? u ? V.some({ placeholder: V.none() }) : V.none() : V.some(u))), Xi("fetch"), Hr("onSetup", () => k), ba("context", "mode:design")], a6 = Gn([mi, ...mF]), i6 = (u) => da("menubutton", a6, u), vF = [Yl("type", ["directory", "leaf"]), G7, Ci("id"), Sc("menu", a6), Fa("customStateIcon"), Fa("customStateIconTooltip")], s6 = Gn(vF), Bj = vF.concat([Cc("children", YS(0, () => Vf("type", { directory: yF, leaf: s6 })))]), yF = Gn(Bj), Fj = Vf("type", { directory: yF, leaf: s6 }), Vj = [mi, Cc("items", Fj), Jc("onLeafAction"), Jc("onToggleExpand"), Ap("defaultExpandedIds", [], Ei), Fa("defaultSelectedId")], bF = Gn(Vj), hA = Xp.concat([ui("filetype", "file", ["image", "media", "file"]), Yh, Fa("picker_text"), ba("context", "mode:design")]), xF = Gn(hA), zj = Gn([gC, cA]), l6 = (u) => Ga("items", "items", { tag: "required", process: {} }, Sh(gv((m) => da(`Checking item of ${u}`, c6, m).fold((x) => gr.error(G0(x)), (x) => gr.value(x))))), c6 = Xs(() => {
39756
39756
  return Vf("type", { alertbanner: lm, bar: Gn((u = l6("bar"), [mi, u])), button: mj, checkbox: uA, colorinput: KO, colorpicker: Y7, dropzone: Aj, grid: Gn(tF(l6("grid"))), iframe: rF, input: iF, listbox: n6, selectbox: uF, sizeinput: r6, slider: fF, textarea: Pj, urlinput: xF, customeditor: J7, htmlpanel: kj, imagepreview: aF, collection: qO, label: Gn(e6(l6("label"))), table: o6, tree: bF, panel: _F });
39757
39757
  var u;
39758
- }), Hj = [mi, it("classes", []), Cc("items", c6)], _F = Gn(Hj), Bk = [yC("tab"), G7, Cc("items", c6)], $j = [mi, KS("tabs", Bk)], CF = Gn($j), Uj = JO, SF = fA, wF = Gn([Ci("title"), _c("body", Vf("type", { panel: _F, tabpanel: CF })), ya("size", "normal"), Ap("buttons", [], SF), it("initialData", {}), Hr("onAction", k), Hr("onChange", k), Hr("onSubmit", k), Hr("onClose", k), Hr("onCancel", k), Hr("onTabChange", k)]), Wj = Gn([Yl("type", ["cancel", "custom"]), ...Uj]), EF = Gn([Ci("title"), Ci("url"), vv("height"), vv("width"), M_("buttons", Wj), Hr("onAction", k), Hr("onCancel", k), Hr("onClose", k), Hr("onMessage", k)]), Fk = (u) => l(u) ? [u].concat(gt(Ul(u), Fk)) : d(u) ? gt(u, Fk) : [], AF = (u) => i(u.type) && i(u.name), TF = { checkbox: yj, colorinput: xj, colorpicker: K7, dropzone: Tj, input: QO, iframe: oF, imagepreview: Mj, selectbox: Sx, sizeinput: dA, slider: dF, listbox: Oj, size: dA, textarea: gF, urlinput: zj, customeditor: Cj, collection: bj, togglemenuitem: wj }, Gj = (u) => {
39758
+ }), Hj = [mi, it("classes", []), Cc("items", c6)], _F = Gn(Hj), Bk = [yC("tab"), G7, Cc("items", c6)], $j = [mi, KS("tabs", Bk)], CF = Gn($j), Uj = JO, SF = fA, wF = Gn([Ci("title"), _c("body", Vf("type", { panel: _F, tabpanel: CF })), ba("size", "normal"), Ap("buttons", [], SF), it("initialData", {}), Hr("onAction", k), Hr("onChange", k), Hr("onSubmit", k), Hr("onClose", k), Hr("onCancel", k), Hr("onTabChange", k)]), Wj = Gn([Yl("type", ["cancel", "custom"]), ...Uj]), EF = Gn([Ci("title"), Ci("url"), vv("height"), vv("width"), M_("buttons", Wj), Hr("onAction", k), Hr("onCancel", k), Hr("onClose", k), Hr("onMessage", k)]), Fk = (u) => l(u) ? [u].concat(gt(Ul(u), Fk)) : d(u) ? gt(u, Fk) : [], AF = (u) => i(u.type) && i(u.name), TF = { checkbox: yj, colorinput: xj, colorpicker: K7, dropzone: Tj, input: QO, iframe: oF, imagepreview: Mj, selectbox: Sx, sizeinput: dA, slider: dF, listbox: Oj, size: dA, textarea: gF, urlinput: zj, customeditor: Cj, collection: bj, togglemenuitem: wj }, Gj = (u) => {
39759
39759
  const m = ((S) => ut(Fk(S), AF))(u), x = gt(m, (S) => ((M) => V.from(TF[M.type]))(S).fold(() => [], (M) => [_c(S.name, M)]));
39760
39760
  return Gn(x);
39761
39761
  }, DF = (u) => {
@@ -39764,7 +39764,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
39764
39764
  }, Ex = { open: (u, m) => {
39765
39765
  const x = DF(m);
39766
39766
  return u(x.internalDialog, x.initialData, x.dataValidator);
39767
- }, openUrl: (u, m) => u(Su(da("dialog", EF, m))), redial: (u) => DF(u) }, kF = Gn([mi, J1]), MF = Gn([o0("autocompleteitem"), vC, Yh, cA, gC, J1, Jf]), Ax = [Yh, Cx, Jf, J1, _x, ya("context", "mode:design")], Zj = Gn([mi, mC, GO].concat(Ax)), u6 = (u) => da("toolbarbutton", Zj, u), f6 = [vC].concat(Ax), jj = Gn(f6.concat([mi, mC, GO])), LF = (u) => da("ToggleButton", jj, u), Vk = [Hr("predicate", q), ui("scope", "node", ["node", "editor"]), ui("position", "selection", ["node", "selection", "line"])], qj = Ax.concat([o0("contextformbutton"), ya("align", "end"), Nk, mC, Xa("original", G)]), Yj = f6.concat([o0("contextformbutton"), ya("align", "end"), Nk, mC, Xa("original", G)]), d6 = Ax.concat([o0("contextformbutton")]), RF = f6.concat([o0("contextformtogglebutton")]), h6 = [lA, Cc("commands", xc("type", { contextformbutton: qj, contextformtogglebutton: Yj })), Sc("launch", xc("type", { contextformbutton: d6, contextformtogglebutton: RF })), Hr("onInput", k), Hr("onSetup", k)], Kj = [...Vk, ...h6, Yl("type", ["contextform"]), Hr("initValue", I("")), Fa("placeholder")], OF = [...Vk, ...h6, Yl("type", ["contextsliderform"]), Hr("initValue", I(0)), Hr("min", I(0)), Hr("max", I(100))], Xj = [...Vk, ...h6, Yl("type", ["contextsizeinputform"]), Hr("initValue", I({ width: "", height: "" }))], Jj = xc("type", { contextform: Kj, contextsliderform: OF, contextsizeinputform: Xj }), NF = Ax.concat([o0("contexttoolbarbutton")]), IF = Gn([o0("contexttoolbar"), Qc("launch", NF), _c("items", nf([Ei, k_([Fa("name"), Fa("label"), Cc("items", Ei)])]))].concat(Vk)), PF = (u) => ({ name: u.name.getOrUndefined(), label: u.label.getOrUndefined(), items: u.items }), Qj = [mi, Ci("src"), Fa("alt"), Ap("classes", [], Ei)], eq = Gn(Qj), tq = [mi, r0, pj, Ap("classes", ["tox-collection__item-label"], Ei)], BF = Gn(tq), zk = Xs(() => Vf("type", { cardimage: eq, cardtext: BF, cardcontainer: nq })), nq = Gn([mi, ya("direction", "horizontal"), ya("align", "left"), ya("valign", "middle"), Cc("items", zk)]), rq = Gn([mi, lA, Cc("items", zk), _x, Ik].concat(Q1)), oq = Gn([mi, vC, Jf, lA].concat(Q1)), p6 = [mi, Ci("fancytype"), Ik], aq = [it("initData", {})].concat(p6), iq = [Jc("select"), JS("initData", {}, [Ji("allowCustomColors", !0), ya("storageKey", "default"), M_("colors", va())])].concat(p6), FF = [Jc("select"), wh("initData", [j0("columns"), Ap("items", [], va())])].concat(p6), VF = xc("fancytype", { inserttable: aq, colorswatch: iq, imageselect: FF }), sq = Gn([mi, vC, uj, lA, Cx].concat(Q1)), lq = Gn([mi, vC, WO, pC, Cx, gC].concat(Q1)), cq = Gn([mi, _x, Ik, Jf].concat(Q1)), yf = Gn([mi, dj, _x, Jf].concat(Q1)), Kh = Gn([mi, Jf, vC, _x, mC].concat(Q1)), zF = Gn([Jf, Cx, Hr("onShow", k), Hr("onHide", k), _x]), g6 = Gn([mi, _c("items", nf([k_([UO, Cc("items", Ei)]), Ei]))].concat(Ax)), m6 = Gn([mi, Cx, Jf, J1, Ok, fj, _x, ui("presets", "normal", ["normal", "color", "listpreview"]), Z7(1), mC, hj, ya("context", "mode:design")]), pA = [J1, Jf, Fa("tooltip"), ui("buttonType", "secondary", ["primary", "secondary"]), Ji("borderless", !1), Xi("onAction"), ya("context", "mode:design")], HF = { button: [...pA, r0, Yl("type", ["button"])], togglebutton: [...pA, Ji("active", !1), Yl("type", ["togglebutton"])] }, $F = [Yl("type", ["group"]), Ap("buttons", [], xc("type", HF))], gA = xc("type", { ...HF, group: $F }), uq = Gn([Ap("buttons", [], gA), Xi("onShow"), Xi("onHide")]), xC = (u, m, x) => {
39767
+ }, openUrl: (u, m) => u(Su(da("dialog", EF, m))), redial: (u) => DF(u) }, kF = Gn([mi, J1]), MF = Gn([o0("autocompleteitem"), vC, Yh, cA, gC, J1, Jf]), Ax = [Yh, Cx, Jf, J1, _x, ba("context", "mode:design")], Zj = Gn([mi, mC, GO].concat(Ax)), u6 = (u) => da("toolbarbutton", Zj, u), f6 = [vC].concat(Ax), jj = Gn(f6.concat([mi, mC, GO])), LF = (u) => da("ToggleButton", jj, u), Vk = [Hr("predicate", q), ui("scope", "node", ["node", "editor"]), ui("position", "selection", ["node", "selection", "line"])], qj = Ax.concat([o0("contextformbutton"), ba("align", "end"), Nk, mC, Xa("original", G)]), Yj = f6.concat([o0("contextformbutton"), ba("align", "end"), Nk, mC, Xa("original", G)]), d6 = Ax.concat([o0("contextformbutton")]), RF = f6.concat([o0("contextformtogglebutton")]), h6 = [lA, Cc("commands", xc("type", { contextformbutton: qj, contextformtogglebutton: Yj })), Sc("launch", xc("type", { contextformbutton: d6, contextformtogglebutton: RF })), Hr("onInput", k), Hr("onSetup", k)], Kj = [...Vk, ...h6, Yl("type", ["contextform"]), Hr("initValue", I("")), Fa("placeholder")], OF = [...Vk, ...h6, Yl("type", ["contextsliderform"]), Hr("initValue", I(0)), Hr("min", I(0)), Hr("max", I(100))], Xj = [...Vk, ...h6, Yl("type", ["contextsizeinputform"]), Hr("initValue", I({ width: "", height: "" }))], Jj = xc("type", { contextform: Kj, contextsliderform: OF, contextsizeinputform: Xj }), NF = Ax.concat([o0("contexttoolbarbutton")]), IF = Gn([o0("contexttoolbar"), Qc("launch", NF), _c("items", nf([Ei, k_([Fa("name"), Fa("label"), Cc("items", Ei)])]))].concat(Vk)), PF = (u) => ({ name: u.name.getOrUndefined(), label: u.label.getOrUndefined(), items: u.items }), Qj = [mi, Ci("src"), Fa("alt"), Ap("classes", [], Ei)], eq = Gn(Qj), tq = [mi, r0, pj, Ap("classes", ["tox-collection__item-label"], Ei)], BF = Gn(tq), zk = Xs(() => Vf("type", { cardimage: eq, cardtext: BF, cardcontainer: nq })), nq = Gn([mi, ba("direction", "horizontal"), ba("align", "left"), ba("valign", "middle"), Cc("items", zk)]), rq = Gn([mi, lA, Cc("items", zk), _x, Ik].concat(Q1)), oq = Gn([mi, vC, Jf, lA].concat(Q1)), p6 = [mi, Ci("fancytype"), Ik], aq = [it("initData", {})].concat(p6), iq = [Jc("select"), JS("initData", {}, [Ji("allowCustomColors", !0), ba("storageKey", "default"), M_("colors", ya())])].concat(p6), FF = [Jc("select"), wh("initData", [j0("columns"), Ap("items", [], ya())])].concat(p6), VF = xc("fancytype", { inserttable: aq, colorswatch: iq, imageselect: FF }), sq = Gn([mi, vC, uj, lA, Cx].concat(Q1)), lq = Gn([mi, vC, WO, pC, Cx, gC].concat(Q1)), cq = Gn([mi, _x, Ik, Jf].concat(Q1)), yf = Gn([mi, dj, _x, Jf].concat(Q1)), Kh = Gn([mi, Jf, vC, _x, mC].concat(Q1)), zF = Gn([Jf, Cx, Hr("onShow", k), Hr("onHide", k), _x]), g6 = Gn([mi, _c("items", nf([k_([UO, Cc("items", Ei)]), Ei]))].concat(Ax)), m6 = Gn([mi, Cx, Jf, J1, Ok, fj, _x, ui("presets", "normal", ["normal", "color", "listpreview"]), Z7(1), mC, hj, ba("context", "mode:design")]), pA = [J1, Jf, Fa("tooltip"), ui("buttonType", "secondary", ["primary", "secondary"]), Ji("borderless", !1), Xi("onAction"), ba("context", "mode:design")], HF = { button: [...pA, r0, Yl("type", ["button"])], togglebutton: [...pA, Ji("active", !1), Yl("type", ["togglebutton"])] }, $F = [Yl("type", ["group"]), Ap("buttons", [], xc("type", HF))], gA = xc("type", { ...HF, group: $F }), uq = Gn([Ap("buttons", [], gA), Xi("onShow"), Xi("onHide")]), xC = (u, m, x) => {
39768
39768
  const S = Rs(u.element, "." + x);
39769
39769
  if (S.length > 0) {
39770
39770
  const M = ot(S, (R) => {
@@ -40399,10 +40399,10 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
40399
40399
  const Cn = parseInt(zt, 10);
40400
40400
  De(Dt, V.some(Cn)), de("red").bind((kn) => de("green").bind(($n) => de("blue").map((Cr) => Nc(kn, $n, Cr, 1)))).each((kn) => {
40401
40401
  const $n = ((Cr, jo) => {
40402
- const xa = SC(jo);
40402
+ const _a = SC(jo);
40403
40403
  return po.getField(Cr, "hex").each((uo) => {
40404
- Un.isFocused(uo) || tn.setValue(Cr, { hex: xa.value });
40405
- }), xa;
40404
+ Un.isFocused(uo) || tn.setValue(Cr, { hex: _a.value });
40405
+ }), _a;
40406
40406
  })(Et, kn);
40407
40407
  Rn(Et, Y6, { hex: $n }), Y(Et, $n);
40408
40408
  });
@@ -41225,11 +41225,11 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
41225
41225
  }, R.value, z);
41226
41226
  })))(u, m) }), SV = k, uY = q, wV = I([]);
41227
41227
  var EV, fY = Object.freeze({ __proto__: null, setup: SV, isDocked: uY, getBehaviours: wV });
41228
- const bN = I(en("toolbar-height-change")), fm = { fadeInClass: "tox-editor-dock-fadein", fadeOutClass: "tox-editor-dock-fadeout", transitionClass: "tox-editor-dock-transition" }, AV = "tox-tinymce--toolbar-sticky-on", TV = "tox-tinymce--toolbar-sticky-off", LC = (u, m) => _e(ba.getModes(u), m), xN = (u) => {
41228
+ const bN = I(en("toolbar-height-change")), fm = { fadeInClass: "tox-editor-dock-fadein", fadeOutClass: "tox-editor-dock-fadeout", transitionClass: "tox-editor-dock-transition" }, AV = "tox-tinymce--toolbar-sticky-on", TV = "tox-tinymce--toolbar-sticky-off", LC = (u, m) => _e(xa.getModes(u), m), xN = (u) => {
41229
41229
  const m = u.element;
41230
41230
  As(m).each((x) => {
41231
- const S = "padding-" + ba.getModes(u)[0];
41232
- if (ba.isDocked(u)) {
41231
+ const S = "padding-" + xa.getModes(u)[0];
41232
+ if (xa.isDocked(u)) {
41233
41233
  const M = fl(x);
41234
41234
  Xn(m, "width", M + "px"), Xn(x, S, ((R) => yc(R) + (parseInt(_i(R, "margin-top"), 10) || 0) + (parseInt(_i(R, "margin-bottom"), 10) || 0))(m) + "px");
41235
41235
  } else _r(m, "width"), _r(x, S);
@@ -41243,9 +41243,9 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
41243
41243
  const x = yo(), S = m.getSink, M = (z) => {
41244
41244
  S().each((H) => z(H.element));
41245
41245
  }, R = (z) => {
41246
- u.inline || xN(z), kV(u, ba.isDocked(z)), z.getSystem().broadcastOn([df()], {}), S().each((H) => H.getSystem().broadcastOn([df()], {}));
41246
+ u.inline || xN(z), kV(u, xa.isDocked(z)), z.getSystem().broadcastOn([df()], {}), S().each((H) => H.getSystem().broadcastOn([df()], {}));
41247
41247
  }, B = u.inline ? [] : [Ql.config({ channels: { [bN()]: { onReceive: xN } } })];
41248
- return [Un.config({}), ba.config({ contextual: { lazyContext: (z) => {
41248
+ return [Un.config({}), xa.config({ contextual: { lazyContext: (z) => {
41249
41249
  const H = yc(z.element), j = u.inline ? u.getContentAreaContainer() : u.getContainer();
41250
41250
  return V.from(j).map((J) => {
41251
41251
  const Y = wa(ln(J));
@@ -41277,18 +41277,18 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
41277
41277
  };
41278
41278
  var dY = Object.freeze({ __proto__: null, setup: (u, m, x) => {
41279
41279
  u.inline || (m.header.isPositionedAtTop() || u.on("ResizeEditor", () => {
41280
- x().each(ba.reset);
41280
+ x().each(xa.reset);
41281
41281
  }), u.on("ResizeWindow ResizeEditor", () => {
41282
41282
  x().each(xN);
41283
41283
  }), u.on("SkinLoaded", () => {
41284
41284
  x().each((S) => {
41285
- ba.isDocked(S) ? ba.reset(S) : ba.refresh(S);
41285
+ xa.isDocked(S) ? xa.reset(S) : xa.refresh(S);
41286
41286
  });
41287
41287
  }), u.on("FullscreenStateChanged", () => {
41288
- x().each(ba.reset);
41288
+ x().each(xa.reset);
41289
41289
  })), u.on("AfterScrollIntoView", (S) => {
41290
41290
  x().each((M) => {
41291
- ba.refresh(M);
41291
+ xa.refresh(M);
41292
41292
  const R = M.element;
41293
41293
  yh(R) && ((B, z) => {
41294
41294
  const H = gn(z), j = si(z).dom.innerHeight, J = bc(H), Y = ln(B.elm), oe = Ua(Y), ue = Ba(Y), de = oe.y, De = de + ue, Se = li(z), Me = Ba(z), be = Se.top, xe = be + Me, Oe = Math.abs(be - J.top) < 2, Ne = Math.abs(xe - (J.top + j)) < 2;
@@ -41302,7 +41302,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
41302
41302
  }), u.on("PostRender", () => {
41303
41303
  kV(u, !1);
41304
41304
  });
41305
- }, isDocked: (u) => u().map(ba.isDocked).getOr(!1), getBehaviours: _N }), CN = Ou({ factory: (u, m) => {
41305
+ }, isDocked: (u) => u().map(xa.isDocked).getOr(!1), getBehaviours: _N }), CN = Ou({ factory: (u, m) => {
41306
41306
  const x = { focus: wn.focusIn, setMenus: (S, M) => {
41307
41307
  const R = ke(M, (B) => {
41308
41308
  const z = { type: "menubutton", text: B.text, fetch: (j) => {
@@ -41402,7 +41402,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
41402
41402
  }, mY = (u) => {
41403
41403
  const m = NV(u), x = jB.parts.primary({ dom: { tag: "div", classes: ["tox-toolbar__primary"] } });
41404
41404
  return jB.sketch({ ...m, lazySink: u.getSink, getOverflowBounds: () => {
41405
- const S = u.moreDrawerData.lazyHeader().element, M = Ua(S), R = ma(S), B = Ua(R), z = Math.max(R.dom.scrollHeight, B.height);
41405
+ const S = u.moreDrawerData.lazyHeader().element, M = Ua(S), R = va(S), B = Ua(R), z = Math.max(R.dom.scrollHeight, B.height);
41406
41406
  return Sa(M.x + 4, B.y, M.width - 8, z);
41407
41407
  }, parts: { ...m.parts, overflow: { dom: { tag: "div", classes: ["tox-toolbar__overflow"], attributes: u.attributes } } }, components: [x], markers: { overflowToggledClass: "tox-tbtn--enabled" }, onOpened: (S) => u.onToggled(S, !0), onClosed: (S) => u.onToggled(S, !1) });
41408
41408
  }, IV = (u) => {
@@ -42073,12 +42073,12 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
42073
42073
  }), jo = El(Tt, Math.ceil(R.outerContainer.element.dom.getBoundingClientRect().width)).filter((uo) => uo > 150).map((uo) => {
42074
42074
  const Ir = Et.getOr(bc()), On = window.innerWidth - (Cr - Ir.left), Po = Math.max(Math.min(uo, On), 150);
42075
42075
  return On < uo && Xn(R.outerContainer.element, "width", Po + "px"), { width: Po + "px" };
42076
- }).getOr({ width: "max-content" }), xa = { position: "absolute", left: Math.round(Cr) + "px", top: $n.fold(() => oe() ? Math.max(kn.y - Ba(Dt.element) + Cn, 0) : kn.bottom, (uo) => {
42076
+ }).getOr({ width: "max-content" }), _a = { position: "absolute", left: Math.round(Cr) + "px", top: $n.fold(() => oe() ? Math.max(kn.y - Ba(Dt.element) + Cn, 0) : kn.bottom, (uo) => {
42077
42077
  var Ir;
42078
42078
  const On = wa(uo), Po = (Ir = uo.dom.scrollTop) !== null && Ir !== void 0 ? Ir : 0, xo = Eo(uo, $e()) ? Math.max(kn.y - Ba(Dt.element) + Cn, 0) : kn.y - On.y + Po - Ba(Dt.element) + Cn;
42079
42079
  return oe() ? xo : kn.bottom;
42080
42080
  }) + "px" };
42081
- Ju(R.outerContainer.element, { ...xa, ...jo });
42081
+ Ju(R.outerContainer.element, { ..._a, ...jo });
42082
42082
  });
42083
42083
  })(je, ht), ht.each((Tt) => {
42084
42084
  sv(Tt.left, nt.top);
@@ -42092,7 +42092,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
42092
42092
  const Tt = la.getToolbar(R.outerContainer), Et = Me(Tt), Dt = Ba(ht.element) - Et, zt = wa(m);
42093
42093
  if (zt.y > Dt) return "top";
42094
42094
  {
42095
- const Cn = ma(m), kn = Math.max(Cn.dom.scrollHeight, Ba(Cn));
42095
+ const Cn = va(m), kn = Math.max(Cn.dom.scrollHeight, Ba(Cn));
42096
42096
  return zt.bottom < kn - Dt || vs().bottom < zt.bottom - Dt ? "bottom" : "top";
42097
42097
  }
42098
42098
  case A5.bottom:
@@ -42103,7 +42103,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
42103
42103
  }
42104
42104
  })(Ne);
42105
42105
  return je !== ze && (nt = je, M.on((ht) => {
42106
- ba.setModes(ht, [nt]), Y.setDockingMode(nt);
42106
+ xa.setModes(ht, [nt]), Y.setDockingMode(nt);
42107
42107
  const Tt = oe() ? Ad.TopToBottom : Ad.BottomToTop;
42108
42108
  Kn(ht.element, K_, Tt);
42109
42109
  }), !0);
@@ -42112,13 +42112,13 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
42112
42112
  return { isVisible: Se, isPositionedAtTop: oe, show: () => {
42113
42113
  De.set(!0), Xn(R.outerContainer.element, "display", "flex"), z.addClass(u.getBody(), "mce-edit-focus"), Be(B, (Ne) => {
42114
42114
  _r(Ne.element, "display");
42115
- }), Oe(), j1(u) ? xe((Ne) => ba.isDocked(Ne) ? ba.reset(Ne) : ba.refresh(Ne)) : xe(ba.refresh);
42115
+ }), Oe(), j1(u) ? xe((Ne) => xa.isDocked(Ne) ? xa.reset(Ne) : xa.refresh(Ne)) : xe(xa.refresh);
42116
42116
  }, hide: () => {
42117
42117
  De.set(!1), Xn(R.outerContainer.element, "display", "none"), z.removeClass(u.getBody(), "mce-edit-focus"), Be(B, (Ne) => {
42118
42118
  Xn(Ne.element, "display", "none");
42119
42119
  });
42120
42120
  }, update: xe, updateMode: () => {
42121
- Oe() && xe(ba.reset);
42121
+ Oe() && xe(xa.reset);
42122
42122
  }, repositionPopups: be };
42123
42123
  }, T5 = (u, m) => {
42124
42124
  const x = wa(u);
@@ -42136,18 +42136,18 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
42136
42136
  FN(u, m, x, S), la.setMenubar(R.outerContainer, qV(u, x)), H.show(), ((de, De, Se, Me) => {
42137
42137
  const be = pn(T5(De, Se.isPositionedAtTop())), xe = (je) => {
42138
42138
  const { pos: nt, bounds: ht } = T5(De, Se.isPositionedAtTop()), { pos: Tt, bounds: Et } = be.get(), Dt = ht.height !== Et.height || ht.width !== Et.width;
42139
- be.set({ pos: nt, bounds: ht }), Dt && N6(de, je), Se.isVisible() && (Tt !== nt ? Se.update(ba.reset) : Dt && (Se.updateMode(), Se.repositionPopups()));
42139
+ be.set({ pos: nt, bounds: ht }), Dt && N6(de, je), Se.isVisible() && (Tt !== nt ? Se.update(xa.reset) : Dt && (Se.updateMode(), Se.repositionPopups()));
42140
42140
  };
42141
- Me || (de.on("activate", Se.show), de.on("deactivate", Se.hide)), de.on("SkinLoaded ResizeWindow", () => Se.update(ba.reset)), de.on("NodeChange keydown", (je) => {
42141
+ Me || (de.on("activate", Se.show), de.on("deactivate", Se.hide)), de.on("SkinLoaded ResizeWindow", () => Se.update(xa.reset)), de.on("NodeChange keydown", (je) => {
42142
42142
  requestAnimationFrame(() => xe(je));
42143
42143
  });
42144
42144
  let Oe = 0;
42145
- const Ne = qm(() => Se.update(ba.refresh), 33);
42145
+ const Ne = qm(() => Se.update(xa.refresh), 33);
42146
42146
  de.on("ScrollWindow", () => {
42147
42147
  const je = bc().left;
42148
42148
  je !== Oe && (Oe = je, Ne.throttle()), Se.updateMode();
42149
42149
  }), j1(de) && de.on("ElementScroll", (je) => {
42150
- Se.update(ba.refresh);
42150
+ Se.update(xa.refresh);
42151
42151
  });
42152
42152
  const ze = Fi();
42153
42153
  ze.set(xp(ln(de.getBody()), "load", (je) => xe(je.raw))), de.on("remove", () => {
@@ -42383,7 +42383,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
42383
42383
  }, Ne = (nt, ht) => {
42384
42384
  if (je.cancel(), !ue()) return;
42385
42385
  const Tt = Oe(nt), Et = nt[0].position, Dt = ((Cn, kn) => {
42386
- const $n = Cn === "node" ? R.anchors.node(kn) : R.anchors.cursor(), Cr = ((jo, xa, uo, Ir) => xa === "line" ? { bubble: ku(12, 0, GN), layouts: { onLtr: () => [mw], onRtl: () => [YD] }, overrides: Fc } : { bubble: ku(0, 12, GN, 1 / 12), layouts: FY(jo, uo, Ir, xa), overrides: Fc })(u, Cn, B(), { lastElement: z.get, isReposition: () => wl(H.get(), 0), getMode: () => pl.getMode(x) });
42386
+ const $n = Cn === "node" ? R.anchors.node(kn) : R.anchors.cursor(), Cr = ((jo, _a, uo, Ir) => _a === "line" ? { bubble: ku(12, 0, GN), layouts: { onLtr: () => [mw], onRtl: () => [YD] }, overrides: Fc } : { bubble: ku(0, 12, GN, 1 / 12), layouts: FY(jo, uo, Ir, _a), overrides: Fc })(u, Cn, B(), { lastElement: z.get, isReposition: () => wl(H.get(), 0), getMode: () => pl.getMode(x) });
42387
42387
  return wr($n, Cr);
42388
42388
  })(Et, ht);
42389
42389
  j.set(Et), H.set(1);
@@ -42401,10 +42401,10 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
42401
42401
  const Cr = R5(zt, kn);
42402
42402
  if (Cr.contextForms.length > 0) return V.some({ elem: zt, toolbars: [Cr.contextForms[0]] });
42403
42403
  if ($n.contextToolbars.length > 0 || Cr.contextToolbars.length > 0) {
42404
- const jo = ((xa) => {
42405
- if (xa.length <= 1) return xa;
42404
+ const jo = ((_a) => {
42405
+ if (_a.length <= 1) return _a;
42406
42406
  {
42407
- const uo = (xo) => Ue(xa, (ki) => ki.position === xo), Ir = (xo) => ut(xa, (ki) => ki.position === xo), On = uo("selection"), Po = uo("node");
42407
+ const uo = (xo) => Ue(_a, (ki) => ki.position === xo), Ir = (xo) => ut(_a, (ki) => ki.position === xo), On = uo("selection"), Po = uo("node");
42408
42408
  if (On || Po) {
42409
42409
  if (Po && On) {
42410
42410
  const xo = Ir("node"), ki = ke(Ir("selection"), (To) => ({ ...To, position: "node" }));
@@ -42421,14 +42421,14 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
42421
42421
  }
42422
42422
  })(Dt, nt.inNodeScope, nt.inEditorScope).orThunk(() => ((zt, Cn, kn) => zt(Cn) ? V.none() : nb(Cn, ($n) => {
42423
42423
  if (Es($n)) {
42424
- const { contextToolbars: Cr, contextForms: jo } = R5($n, kn.inNodeScope), xa = jo.length > 0 ? jo : ((uo) => {
42424
+ const { contextToolbars: Cr, contextForms: jo } = R5($n, kn.inNodeScope), _a = jo.length > 0 ? jo : ((uo) => {
42425
42425
  if (uo.length <= 1) return uo;
42426
42426
  {
42427
42427
  const Ir = (On) => ae(uo, (Po) => Po.position === On);
42428
42428
  return Ir("selection").orThunk(() => Ir("node")).orThunk(() => Ir("line")).map((On) => On.position).fold(() => [], (On) => ut(uo, (Po) => Po.position === On));
42429
42429
  }
42430
42430
  })(Cr);
42431
- return xa.length > 0 ? V.some({ elem: $n, toolbars: xa }) : V.none();
42431
+ return _a.length > 0 ? V.some({ elem: $n, toolbars: _a }) : V.none();
42432
42432
  }
42433
42433
  return V.none();
42434
42434
  }, zt))(Et, Dt, nt));
@@ -42894,13 +42894,13 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
42894
42894
  const Mi = To.get() ? [] : xo.get(), ls = ki.get();
42895
42895
  return Mi.concat(ls);
42896
42896
  } };
42897
- })(je), kn = ((Ir) => ({ colorPicker: Jq(Ir), hasCustomColors: Qq(Ir), getColors: eY(Ir), getColorCols: tY(Ir) }))(je), $n = ((Ir) => ({ isDraggableModal: nY(Ir) }))(je), Cr = { shared: { providers: Dt, anchors: Xq(je, nt, ht, Et.isPositionedAtTop), header: Et }, urlinput: zt, styles: Cn, colorinput: kn, dialog: $n, isContextMenuOpen: () => Tt.get(), setContextMenuState: (Ir) => Tt.set(Ir) }, jo = (Ir) => V.none(), xa = { ...Cr, shared: { ...Cr.shared, interpreter: (Ir) => qq(Ir, {}, xa, jo), getSink: ze.popup } }, uo = { ...Cr, shared: { ...Cr.shared, interpreter: (Ir) => qq(Ir, {}, uo, jo), getSink: ze.dialog } };
42898
- return { popup: xa, dialog: uo };
42897
+ })(je), kn = ((Ir) => ({ colorPicker: Jq(Ir), hasCustomColors: Qq(Ir), getColors: eY(Ir), getColorCols: tY(Ir) }))(je), $n = ((Ir) => ({ isDraggableModal: nY(Ir) }))(je), Cr = { shared: { providers: Dt, anchors: Xq(je, nt, ht, Et.isPositionedAtTop), header: Et }, urlinput: zt, styles: Cn, colorinput: kn, dialog: $n, isContextMenuOpen: () => Tt.get(), setContextMenuState: (Ir) => Tt.set(Ir) }, jo = (Ir) => V.none(), _a = { ...Cr, shared: { ...Cr.shared, interpreter: (Ir) => qq(Ir, {}, _a, jo), getSink: ze.popup } }, uo = { ...Cr, shared: { ...Cr.shared, interpreter: (Ir) => qq(Ir, {}, uo, jo), getSink: ze.dialog } };
42898
+ return { popup: _a, dialog: uo };
42899
42899
  })({ popup: () => gr.fromOption(R.popupUi.get().map((ze) => ze.sink), "(popup) UI has not been rendered"), dialog: () => gr.fromOption(R.dialogUi.get().map((ze) => ze.sink), "UI has not been rendered") }, u, De, Se), Oe = () => {
42900
42900
  const ze = (() => {
42901
42901
  const Cr = { attributes: { [K_]: J ? Ad.BottomToTop : Ad.TopToBottom } }, jo = la.parts.menubar({ dom: { tag: "div", classes: ["tox-menubar"] }, backstage: xe.popup, onEscape: () => {
42902
42902
  u.focus();
42903
- } }), xa = la.parts.toolbar({ dom: { tag: "div", classes: ["tox-toolbar"] }, getSink: xe.popup.shared.getSink, providers: xe.popup.shared.providers, onEscape: () => {
42903
+ } }), _a = la.parts.toolbar({ dom: { tag: "div", classes: ["tox-toolbar"] }, getSink: xe.popup.shared.getSink, providers: xe.popup.shared.providers, onEscape: () => {
42904
42904
  u.focus();
42905
42905
  }, onToolbarToggled: (ls) => {
42906
42906
  ((fy, l0) => {
@@ -42910,7 +42910,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
42910
42910
  u.focus();
42911
42911
  }, type: Y }), Ir = jp(u), On = dk(u), Po = fk(u), xo = h7(u), ki = Ir || On || Po, To = [(Mi = xo, la.parts.promotion({ dom: { tag: "div", classes: ["tox-promotion"] }, promotionLink: Mi })), jo];
42912
42912
  var Mi;
42913
- return la.parts.header({ dom: { tag: "div", classes: ["tox-editor-header"].concat(ki ? [] : ["tox-editor-header--empty"]), ...Cr }, components: xt([Po ? To : [], Ir ? [uo] : On ? [xa] : [], qh(u) ? [] : [oe.asSpec()]]), sticky: Ud(u), editor: u, sharedBackstage: xe.popup.shared });
42913
+ return la.parts.header({ dom: { tag: "div", classes: ["tox-editor-header"].concat(ki ? [] : ["tox-editor-header--empty"]), ...Cr }, components: xt([Po ? To : [], Ir ? [uo] : On ? [_a] : [], qh(u) ? [] : [oe.asSpec()]]), sticky: Ud(u), editor: u, sharedBackstage: xe.popup.shared });
42914
42914
  })(), je = { dom: { tag: "div", classes: ["tox-sidebar-wrap"] }, components: [la.parts.socket({ dom: { tag: "div", classes: ["tox-edit-area"] } }), la.parts.sidebar({ dom: { tag: "div", classes: ["tox-sidebar"] } })] }, nt = la.parts.throbber({ dom: { tag: "div", classes: ["tox-throbber"] }, backstage: xe.popup }), ht = la.parts.viewWrapper({ backstage: xe.popup }), Tt = c7(u) && !x ? V.some(jY(u, xe.popup.shared.providers)) : V.none(), Et = xt([J ? [] : [ze], x ? [] : [je], J ? [ze] : []]), Dt = la.parts.editorContainer({ components: xt([Et, x ? [] : [ue.asSpec()]]) }), zt = EO(u), Cn = { role: "application", ...Kf.isRtl() ? { dir: "rtl" } : {}, ...zt ? { "aria-hidden": "true" } : {} }, kn = el(la.sketch({ dom: { tag: "div", classes: ["tox", "tox-tinymce"].concat(x ? ["tox-tinymce-inline"] : []).concat(J ? ["tox-tinymce--toolbar-bottom"] : []).concat(j), styles: { visibility: "hidden", ...zt ? { opacity: "0", border: "0" } : {} }, attributes: Cn }, components: [Dt, ...x ? [] : [ht, ...Tt.toArray()], nt], behaviours: Vt([ei(() => xe.popup.shared.providers.checkUiComponentContext("any")), En.config({ disableClass: "tox-tinymce--disabled" }), wn.config({ mode: "cyclic", selector: ".tox-menubar, .tox-toolbar, .tox-toolbar__primary, .tox-toolbar__overflow--open, .tox-sidebar__overflow--open, .tox-statusbar__path, .tox-statusbar__wordcount, .tox-statusbar__branding a, .tox-statusbar__resize-handle" })]) })), $n = NE(kn);
42915
42915
  return B.set($n), { mothership: $n, outerContainer: kn };
42916
42916
  }, Ne = (ze) => {
@@ -42946,7 +42946,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
42946
42946
  Ut(ak(u), (On, Po) => {
42947
42947
  u.ui.registry.addGroupToolbarButton(Po, On);
42948
42948
  });
42949
- const { buttons: zt, menuItems: Cn, contextToolbars: kn, sidebars: $n, views: Cr } = u.ui.registry.getAll(), jo = SO(u), xa = { menuItems: Cn, menus: x7(u), menubar: o7(u), toolbar: jo.getOrThunk(() => eA(u)), allowToolbarGroups: Y === $d.floating, buttons: zt, sidebar: $n, views: Cr };
42949
+ const { buttons: zt, menuItems: Cn, contextToolbars: kn, sidebars: $n, views: Cr } = u.ui.registry.getAll(), jo = SO(u), _a = { menuItems: Cn, menus: x7(u), menubar: o7(u), toolbar: jo.getOrThunk(() => eA(u)), allowToolbarGroups: Y === $d.floating, buttons: zt, sidebar: $n, views: Cr };
42950
42950
  var uo;
42951
42951
  uo = Tt.outerContainer, u.addShortcut("alt+F9", "focus menubar", () => {
42952
42952
  la.focusMenubar(uo);
@@ -43012,7 +43012,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
43012
43012
  });
43013
43013
  })(u), LV(u, be, xe.popup.shared), zY(u, kn, Et.sink, { backstage: xe.popup }), ZY(u, Et.sink);
43014
43014
  const Ir = { targetNode: u.getElement(), height: Ne(Tt.outerContainer) };
43015
- return S.render(u, ht, xa, xe.popup, Ir);
43015
+ return S.render(u, ht, _a, xe.popup, Ir);
43016
43016
  })({ popupUi: nt, dialogUi: je, mainUi: ze, uiMotherships: R.getUiMotherships() });
43017
43017
  } };
43018
43018
  }, kz = (u) => {
@@ -43036,7 +43036,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
43036
43036
  Yc(u, '[role="dialog"]').each((S) => {
43037
43037
  vr(S, '[role="tablist"]').each((M) => {
43038
43038
  x.get().map((R) => (Xn(m, "height", "0"), Xn(m, "flex-basis", "0"), Math.min(R, ((B, z, H) => {
43039
- const j = ma(B).dom, J = Yc(B, ".tox-dialog-wrap").getOr(B);
43039
+ const j = va(B).dom, J = Yc(B, ".tox-dialog-wrap").getOr(B);
43040
43040
  let Y;
43041
43041
  Y = _i(J, "position") === "fixed" ? Math.max(j.clientHeight, window.innerHeight) : Math.max(j.offsetHeight, j.scrollHeight);
43042
43042
  const oe = Ba(z), ue = z.dom.offsetLeft >= H.dom.offsetLeft + fl(H) ? Math.max(Ba(H), oe) : oe, de = parseInt(_i(B, "margin-top"), 10) || 0, De = parseInt(_i(B, "margin-bottom"), 10) || 0;
@@ -43337,7 +43337,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
43337
43337
  } };
43338
43338
  })(De);
43339
43339
  return { dialog: De, instanceApi: Se };
43340
- }, Wz = (u, m) => Su(da("data", m, u)), Gz = (u) => Bf(u, ".tox-alert-dialog") || Bf(u, ".tox-confirm-dialog"), XY = (u, m, x, S) => m && x ? [] : [ba.config({ contextual: { lazyContext: () => V.some(wa(ln(u.getContentAreaContainer()))), fadeInClass: "tox-dialog-dock-fadein", fadeOutClass: "tox-dialog-dock-fadeout", transitionClass: "tox-dialog-dock-transition", onHide: S }, modes: ["top"], lazyViewport: (M) => qp(u, M.element).map((R) => ({ bounds: q1(R), optScrollEnv: V.some({ currentScrollTop: R.element.dom.scrollTop, scrollElmTop: li(R.element).top }) })).getOrThunk(() => ({ bounds: vs(), optScrollEnv: V.none() })) })], JY = (u) => {
43340
+ }, Wz = (u, m) => Su(da("data", m, u)), Gz = (u) => Bf(u, ".tox-alert-dialog") || Bf(u, ".tox-confirm-dialog"), XY = (u, m, x, S) => m && x ? [] : [xa.config({ contextual: { lazyContext: () => V.some(wa(ln(u.getContentAreaContainer()))), fadeInClass: "tox-dialog-dock-fadein", fadeOutClass: "tox-dialog-dock-fadeout", transitionClass: "tox-dialog-dock-transition", onHide: S }, modes: ["top"], lazyViewport: (M) => qp(u, M.element).map((R) => ({ bounds: q1(R), optScrollEnv: V.some({ currentScrollTop: R.element.dom.scrollTop, scrollElmTop: li(R.element).top }) })).getOrThunk(() => ({ bounds: vs(), optScrollEnv: V.none() })) })], JY = (u) => {
43341
43341
  const m = u.editor, x = Ud(m), S = ((H) => {
43342
43342
  const j = H.shared;
43343
43343
  return { open: (J, Y) => {
@@ -43360,8 +43360,8 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
43360
43360
  } };
43361
43361
  })(u.backstages.dialog), R = (H, j) => Ex.open((J, Y, oe) => {
43362
43362
  const ue = Y, de = ((De, Se, Me) => {
43363
- const be = en("dialog"), xe = De.internalDialog, Oe = Nz(xe.title, be, Me), Ne = pn(xe.size), ze = H5(Ne.get()).toArray(), je = (($n, Cr, jo, xa) => {
43364
- const uo = s8($n, Cr, V.none(), jo, !1, xa);
43363
+ const be = en("dialog"), xe = De.internalDialog, Oe = Nz(xe.title, be, Me), Ne = pn(xe.size), ze = H5(Ne.get()).toArray(), je = (($n, Cr, jo, _a) => {
43364
+ const uo = s8($n, Cr, V.none(), jo, !1, _a);
43365
43365
  return Ti.parts.body(uo);
43366
43366
  })({ body: xe.body, initialData: xe.initialData }, be, Me, ($n) => U5(Cn, $n)), nt = p8(xe.buttons), ht = zz(nt), Tt = El(nt.length !== 0, $5({ buttons: nt }, be, Me)), Et = m8(() => kn, Pz(() => zt, Me.shared.providers, Se), Me.shared.getSink), Dt = { id: be, header: Oe, body: je, footer: Tt, extraClasses: ze, extraBehaviours: [au.config({ channel: `${r5}-${be}`, updateState: ($n, Cr) => (Ne.set(Cr.internalDialog.size), Fz(Cr.internalDialog.size, $n), V.some(Cr)), initialData: De })], extraStyles: {} }, zt = VA(Dt, Et, Me), Cn = { getId: I(be), getRoot: I(zt), getBody: () => Ti.getBody(zt), getFooter: () => Ti.getFooter(zt), getFormWrapper: () => {
43367
43367
  const $n = Ti.getBody(zt);
@@ -43376,7 +43376,7 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
43376
43376
  return Ti.show(de.dialog), de.instanceApi.setData(ue), de.instanceApi;
43377
43377
  }, H), B = (H, j, J, Y) => Ex.open((oe, ue, de) => {
43378
43378
  const De = Wz(ue, de), Se = yo(), Me = u.backstages.popup.shared.header.isPositionedAtTop(), be = () => Se.on((ze) => {
43379
- Ma.reposition(ze), x && Me || ba.refresh(ze);
43379
+ Ma.reposition(ze), x && Me || xa.refresh(ze);
43380
43380
  }), xe = $z({ dataValidator: de, initialData: De, internalDialog: oe }, { redial: Ex.redial, closeWindow: () => {
43381
43381
  Se.on(Ma.hide), m.off("ResizeEditor", be), m.off("ScrollWindow", Oe), Se.clear(), J(xe.instanceApi);
43382
43382
  } }, u.backstages.popup, Y.ariaAttrs, be), Oe = () => xe.dialog.getSystem().broadcastOn([df()], { target: xe.dialog.element }), Ne = el(Ma.sketch({ lazySink: u.backstages.popup.shared.getSink, dom: { tag: "div", classes: [] }, fireDismissalEventInstead: Y.persistent ? { event: "doNotDismissYet" } : {}, ...Me ? {} : { fireRepositionEventInstead: {} }, inlineBehaviours: Vt([Qn("window-manager-inline-events", [At(Ah(), (ze, je) => {
@@ -43385,19 +43385,19 @@ The conflicting element is` + (Ds(H.element) ? " " : " not ") + "already in the
43385
43385
  return Se.set(Ne), Ma.showWithinBounds(Ne, Rc(xe.dialog), { anchor: j }, () => {
43386
43386
  const ze = m.inline ? $e() : ln(m.getContainer()), je = wa(ze);
43387
43387
  return V.some(je);
43388
- }), x && Me || (ba.refresh(Ne), m.on("ResizeEditor", be)), m.on("ScrollWindow", Oe), xe.instanceApi.setData(De), wn.focusIn(xe.dialog), xe.instanceApi;
43388
+ }), x && Me || (xa.refresh(Ne), m.on("ResizeEditor", be)), m.on("ScrollWindow", Oe), xe.instanceApi.setData(De), wn.focusIn(xe.dialog), xe.instanceApi;
43389
43389
  }, H), z = (H, j, J, Y) => Ex.open((oe, ue, de) => {
43390
43390
  const De = Wz(ue, de), Se = yo(), Me = u.backstages.popup.shared.header.isPositionedAtTop(), be = () => Se.on((Ne) => {
43391
- Ma.reposition(Ne), ba.refresh(Ne);
43391
+ Ma.reposition(Ne), xa.refresh(Ne);
43392
43392
  }), xe = $z({ dataValidator: de, initialData: De, internalDialog: oe }, { redial: Ex.redial, closeWindow: () => {
43393
43393
  Se.on(Ma.hide), m.off("ResizeEditor ScrollWindow ElementScroll", be), Se.clear(), J(xe.instanceApi);
43394
43394
  } }, u.backstages.popup, Y.ariaAttrs, be), Oe = el(Ma.sketch({ lazySink: u.backstages.popup.shared.getSink, dom: { tag: "div", classes: [] }, fireDismissalEventInstead: Y.persistent ? { event: "doNotDismissYet" } : {}, ...Me ? {} : { fireRepositionEventInstead: {} }, inlineBehaviours: Vt([Qn("window-manager-inline-events", [At(Ah(), (Ne, ze) => {
43395
43395
  Lr(xe.dialog, oy);
43396
- })]), ba.config({ contextual: { lazyContext: () => V.some(wa(ln(m.getContentAreaContainer()))), fadeInClass: "tox-dialog-dock-fadein", fadeOutClass: "tox-dialog-dock-fadeout", transitionClass: "tox-dialog-dock-transition" }, modes: ["top", "bottom"], lazyViewport: (Ne) => qp(m, Ne.element).map((ze) => ({ bounds: q1(ze), optScrollEnv: V.some({ currentScrollTop: ze.element.dom.scrollTop, scrollElmTop: li(ze.element).top }) })).getOrThunk(() => ({ bounds: vs(), optScrollEnv: V.none() })) })]), isExtraPart: (Ne, ze) => Gz(ze) }));
43396
+ })]), xa.config({ contextual: { lazyContext: () => V.some(wa(ln(m.getContentAreaContainer()))), fadeInClass: "tox-dialog-dock-fadein", fadeOutClass: "tox-dialog-dock-fadeout", transitionClass: "tox-dialog-dock-transition" }, modes: ["top", "bottom"], lazyViewport: (Ne) => qp(m, Ne.element).map((ze) => ({ bounds: q1(ze), optScrollEnv: V.some({ currentScrollTop: ze.element.dom.scrollTop, scrollElmTop: li(ze.element).top }) })).getOrThunk(() => ({ bounds: vs(), optScrollEnv: V.none() })) })]), isExtraPart: (Ne, ze) => Gz(ze) }));
43397
43397
  return Se.set(Oe), Ma.showWithinBounds(Oe, Rc(xe.dialog), { anchor: j }, () => u.backstages.popup.shared.getSink().toOptional().bind((Ne) => {
43398
43398
  const ze = qp(m, Ne.element).map((ht) => q1(ht)).getOr(vs()), je = wa(ln(m.getContentAreaContainer())), nt = rb(je, ze);
43399
43399
  return V.some(Sa(nt.x, nt.y, nt.width, nt.height - 15));
43400
- })), ba.refresh(Oe), m.on("ResizeEditor ScrollWindow ElementScroll ResizeWindow", be), xe.instanceApi.setData(De), wn.focusIn(xe.dialog), xe.instanceApi;
43400
+ })), xa.refresh(Oe), m.on("ResizeEditor ScrollWindow ElementScroll ResizeWindow", be), xe.instanceApi.setData(De), wn.focusIn(xe.dialog), xe.instanceApi;
43401
43401
  }, H);
43402
43402
  return { open: (H, j, J) => {
43403
43403
  if (!v(j)) {
@@ -44471,12 +44471,12 @@ Required: ` + D.join(", "));
44471
44471
  if (!P)
44472
44472
  return { major: 0, minor: 0 };
44473
44473
  const $ = (ee) => Number(D.replace(P, "$" + ee));
44474
- return ma($(1), $(2));
44474
+ return va($(1), $(2));
44475
44475
  }, gn = (C, D) => {
44476
44476
  const P = String(D).toLowerCase();
44477
44477
  return C.length === 0 ? Fr() : dt(C, P);
44478
- }, Fr = () => ma(0, 0), ma = (C, D) => ({ major: C, minor: D }), si = {
44479
- nu: ma,
44478
+ }, Fr = () => va(0, 0), va = (C, D) => ({ major: C, minor: D }), si = {
44479
+ nu: va,
44480
44480
  detect: gn,
44481
44481
  unknown: Fr
44482
44482
  }, wi = (C, D) => Je(D.brands, (P) => {
@@ -44902,7 +44902,7 @@ Required: ` + D.join(", "));
44902
44902
  ie.dom.nodeValue = pe;
44903
44903
  }
44904
44904
  };
44905
- })(Ds, "text"), va = (C) => ql.get(C), W0 = (C) => ql.getOption(C), T_ = (C, D) => ql.set(C, D), Ei = (C, D) => (P) => dv(P) === "rtl" ? D : C, dv = (C) => xu(C, "direction") === "rtl" ? "rtl" : "ltr", _u = (C, D) => {
44905
+ })(Ds, "text"), ya = (C) => ql.get(C), W0 = (C) => ql.getOption(C), T_ = (C, D) => ql.set(C, D), Ei = (C, D) => (P) => dv(P) === "rtl" ? D : C, dv = (C) => xu(C, "direction") === "rtl" ? "rtl" : "ltr", _u = (C, D) => {
44906
44906
  const P = Kc(C, D);
44907
44907
  return P === void 0 || P === "" ? [] : P.split(" ");
44908
44908
  }, jS = (C, D, P) => {
@@ -45005,10 +45005,10 @@ Required: ` + D.join(", "));
45005
45005
  { before: ["element"] },
45006
45006
  { on: ["element", "offset"] },
45007
45007
  { after: ["element"] }
45008
- ]), Qc = (C, D, P, $) => C.fold(D, P, $), it = (C) => C.fold(I, I, I), Js = M_.before, XS = M_.on, ya = M_.after, ui = {
45008
+ ]), Qc = (C, D, P, $) => C.fold(D, P, $), it = (C) => C.fold(I, I, I), Js = M_.before, XS = M_.on, ba = M_.after, ui = {
45009
45009
  before: Js,
45010
45010
  on: XS,
45011
- after: ya,
45011
+ after: ba,
45012
45012
  cata: Qc,
45013
45013
  getStart: it
45014
45014
  }, Ji = Er.generate([
@@ -46092,7 +46092,7 @@ Required: ` + D.join(", "));
46092
46092
  isElement: qs,
46093
46093
  isSpecial: Ee,
46094
46094
  getLanguage: Ie,
46095
- getText: va,
46095
+ getText: ya,
46096
46096
  setText: T_,
46097
46097
  isBoundary: P,
46098
46098
  isEmptyTag: $,
@@ -46185,7 +46185,7 @@ Required: ` + D.join(", "));
46185
46185
  shared: Ge
46186
46186
  };
46187
46187
  }, s4 = i4, f1 = Pw, Bp = Ob(), Pb = (C, D) => s4(Bp, (P, $) => C($), D), n2 = (C, D, P) => f1(Bp, C, D, P), r2 = Ob(), Fp = (C) => JL(r2, C), Bb = (C) => a4(r2, C), l4 = (C) => u1(r2, C), c4 = (C) => {
46188
- const D = ks("br"), P = (Ie) => Ht(Ie, (Ge) => D(Ge) || Ds(Ge) && va(Ge).trim().length === 0), $ = (Ie) => Qo(Ie) === "li" || Ep(Ie, Bb).isSome(), ee = (Ie) => vh(Ie).map((Ge) => Fp(Ge) ? !0 : l4(Ge) ? Qo(Ge) !== "img" : !1).getOr(!1), ie = (Ie) => vv(Ie).bind((Ge) => {
46188
+ const D = ks("br"), P = (Ie) => Ht(Ie, (Ge) => D(Ge) || Ds(Ge) && ya(Ge).trim().length === 0), $ = (Ie) => Qo(Ie) === "li" || Ep(Ie, Bb).isSome(), ee = (Ie) => vh(Ie).map((Ge) => Fp(Ge) ? !0 : l4(Ge) ? Qo(Ge) !== "img" : !1).getOr(!1), ie = (Ie) => vv(Ie).bind((Ge) => {
46189
46189
  const at = ee(Ge);
46190
46190
  return _i(Ge).map((Bt) => at === !0 || $(Bt) || D(Ge) || Fp(Bt) && !Xo(Ie, Bt) ? [] : [dn.fromTag("br")]);
46191
46191
  }).getOr([]), Ee = (() => {
@@ -46669,7 +46669,7 @@ Required: ` + D.join(", "));
46669
46669
  "drop",
46670
46670
  "move",
46671
46671
  "delayDrop"
46672
- ]), ba = () => {
46672
+ ]), xa = () => {
46673
46673
  let C = te.none();
46674
46674
  const D = () => {
46675
46675
  C = te.none();
@@ -46700,7 +46700,7 @@ Required: ` + D.join(", "));
46700
46700
  events: C.registry
46701
46701
  };
46702
46702
  }, C2 = () => {
46703
- const C = _2(), D = ba();
46703
+ const C = _2(), D = xa();
46704
46704
  let P = C;
46705
46705
  return {
46706
46706
  on: () => {
@@ -47143,7 +47143,7 @@ Required: ` + D.join(", "));
47143
47143
  ...nx,
47144
47144
  verify: (C, D, P, $, ee, ie, pe) => Xs($, "td,th", pe).bind((Ee) => Xs(D, "td,th", pe).map((Ie) => Xo(Ee, Ie) ? Xo($, Ee) && Xi(Ee) === ee ? ie(Ie) : nx.none("in same cell") : Pb(D1, [Ee, Ie]).fold(() => T1(C, Ie, Ee) ? nx.success() : ie(Ie), (Ge) => ie(Ie)))).getOr(nx.none("default")),
47145
47145
  cata: (C, D, P, $, ee) => C.fold(D, P, $, ee)
47146
- }, k1 = ks("br"), rx = (C, D, P) => D(C, P).bind(($) => Ds($) && va($).trim().length === 0 ? rx($, D, P) : te.some($)), g3 = (C, D, P) => P.traverse(D).orThunk(() => rx(D, P.gather, C)).map(P.relative), P2 = (C, D) => vc(C, D).filter(k1).orThunk(() => vc(C, D - 1).filter(k1)), m3 = (C, D, P, $) => P2(D, P).bind((ee) => $.traverse(ee).fold(() => rx(ee, $.gather, C).map($.relative), (ie) => j0(ie).map((pe) => ui.on(pe.parent, pe.index)))), DE = (C, D, P, $) => (k1(D) ? g3(C, D, $) : m3(C, D, P, $)).map((ie) => ({
47146
+ }, k1 = ks("br"), rx = (C, D, P) => D(C, P).bind(($) => Ds($) && ya($).trim().length === 0 ? rx($, D, P) : te.some($)), g3 = (C, D, P) => P.traverse(D).orThunk(() => rx(D, P.gather, C)).map(P.relative), P2 = (C, D) => vc(C, D).filter(k1).orThunk(() => vc(C, D - 1).filter(k1)), m3 = (C, D, P, $) => P2(D, P).bind((ee) => $.traverse(ee).fold(() => rx(ee, $.gather, C).map($.relative), (ie) => j0(ie).map((pe) => ui.on(pe.parent, pe.index)))), DE = (C, D, P, $) => (k1(D) ? g3(C, D, $) : m3(C, D, P, $)).map((ie) => ({
47147
47147
  start: ie,
47148
47148
  finish: ie
47149
47149
  })), $v = (C) => Hv.cata(C, (D) => te.none(), () => te.none(), (D) => te.some(Rh(D, 0)), (D) => te.some(Rh(D, Xi(D)))), Ph = (C, D) => ({
@@ -48120,8 +48120,8 @@ function MBe() {
48120
48120
  }, Q = Object.keys, q = Object.hasOwnProperty, te = (he, Re) => {
48121
48121
  const We = Q(he);
48122
48122
  for (let dt = 0, gn = We.length; dt < gn; dt++) {
48123
- const Fr = We[dt], ma = he[Fr];
48124
- Re(ma, Fr);
48123
+ const Fr = We[dt], va = he[Fr];
48124
+ Re(va, Fr);
48125
48125
  }
48126
48126
  }, V = (he) => (Re, We) => {
48127
48127
  he[We] = Re;
@@ -48215,7 +48215,7 @@ function MBe() {
48215
48215
  We.parentNode && We.parentNode.removeChild(We), Re(Fr);
48216
48216
  };
48217
48217
  We.addEventListener("load", () => {
48218
- const Fr = tr(We.width, We.clientWidth), ma = tr(We.height, We.clientHeight), si = { width: Fr, height: ma };
48218
+ const Fr = tr(We.width, We.clientWidth), va = tr(We.height, We.clientHeight), si = { width: Fr, height: va };
48219
48219
  dt(Promise.resolve(si));
48220
48220
  }), We.addEventListener("error", () => {
48221
48221
  dt(Promise.reject(`Failed to get image dimensions for: ${he}`));
@@ -48366,7 +48366,7 @@ function MBe() {
48366
48366
  he(We, gn), Cl(We, Re);
48367
48367
  }, mg = (he, Re, We) => {
48368
48368
  const dt = mp(he, We);
48369
- Ta(We, dt, Re, "caption", (gn, Fr, ma) => gr(gn)), Ta(We, dt, Re, "src", Bi), Ta(We, dt, Re, "title", Bi), Ta(We, dt, Re, "width", uh("width", he)), Ta(We, dt, Re, "height", uh("height", he)), Ta(We, dt, Re, "class", Bi), Ta(We, dt, Re, "style", Lf((gn, Fr) => Bi(gn, "style", Fr), he)), Ta(We, dt, Re, "hspace", Lf(Wn, he)), Ta(We, dt, Re, "vspace", Lf(Ho, he)), Ta(We, dt, Re, "border", Lf(Sl, he)), Ta(We, dt, Re, "borderStyle", Lf(en, he)), yo(We, dt, Re);
48369
+ Ta(We, dt, Re, "caption", (gn, Fr, va) => gr(gn)), Ta(We, dt, Re, "src", Bi), Ta(We, dt, Re, "title", Bi), Ta(We, dt, Re, "width", uh("width", he)), Ta(We, dt, Re, "height", uh("height", he)), Ta(We, dt, Re, "class", Bi), Ta(We, dt, Re, "style", Lf((gn, Fr) => Bi(gn, "style", Fr), he)), Ta(We, dt, Re, "hspace", Lf(Wn, he)), Ta(We, dt, Re, "vspace", Lf(Ho, he)), Ta(We, dt, Re, "border", Lf(Sl, he)), Ta(We, dt, Re, "borderStyle", Lf(en, he)), yo(We, dt, Re);
48370
48370
  }, Da = (he, Re) => {
48371
48371
  const We = he.dom.styles.parse(Re), dt = ri(We), gn = he.dom.styles.parse(he.dom.styles.serialize(dt));
48372
48372
  return he.dom.styles.serialize(gn);
@@ -48375,7 +48375,7 @@ function MBe() {
48375
48375
  return We ? he.dom.select("img", We)[0] : Re && (Re.nodeName !== "IMG" || oa(Re)) ? null : Re;
48376
48376
  }, Uc = (he, Re) => {
48377
48377
  var We;
48378
- const dt = he.dom, gn = ge(he.schema.getTextBlockElements(), (ma, si) => !he.schema.isValidChild(si, "figure")), Fr = dt.getParent(Re.parentNode, (ma) => Fe(gn, ma.nodeName), he.getBody());
48378
+ const dt = he.dom, gn = ge(he.schema.getTextBlockElements(), (va, si) => !he.schema.isValidChild(si, "figure")), Fr = dt.getParent(Re.parentNode, (va) => Fe(gn, va.nodeName), he.getBody());
48379
48379
  return Fr && (We = dt.split(Fr, Re)) !== null && We !== void 0 ? We : Re;
48380
48380
  }, mu = (he) => {
48381
48381
  const Re = dd(he);
@@ -48414,7 +48414,7 @@ function MBe() {
48414
48414
  }, Ym = (he, Re) => {
48415
48415
  const We = dd(he);
48416
48416
  if (We) {
48417
- const gn = { ...mp((ma) => Da(he, ma), We), ...Re }, Fr = vp(he, gn);
48417
+ const gn = { ...mp((va) => Da(he, va), We), ...Re }, Fr = vp(he, gn);
48418
48418
  gn.src ? sl(he, Fr) : qm(he, We);
48419
48419
  } else Re.src && vg(he, { ...ai(), ...Re });
48420
48420
  };
@@ -48492,14 +48492,14 @@ function MBe() {
48492
48492
  ph
48493
48493
  ])));
48494
48494
  });
48495
- }), dt = Al.sanitize(Je(he)), gn = wt(he), Fr = Xe(he), ma = Ut(he), si = kr(he), wi = mu(he), As = lt(he), kl = _n(he), ul = bt(he), Gl = Tn(he), jc = sr(he), ov = Lt(he), z0 = I.some(Ke(he)).filter((gc) => d(gc) && gc.length > 0);
48495
+ }), dt = Al.sanitize(Je(he)), gn = wt(he), Fr = Xe(he), va = Ut(he), si = kr(he), wi = mu(he), As = lt(he), kl = _n(he), ul = bt(he), Gl = Tn(he), jc = sr(he), ov = Lt(he), z0 = I.some(Ke(he)).filter((gc) => d(gc) && gc.length > 0);
48496
48496
  return We.then((gc) => ({
48497
48497
  image: wi,
48498
48498
  imageList: gc,
48499
48499
  classList: dt,
48500
48500
  hasAdvTab: gn,
48501
48501
  hasUploadTab: Fr,
48502
- hasUploadUrl: ma,
48502
+ hasUploadUrl: va,
48503
48503
  hasUploadHandler: si,
48504
48504
  hasDescription: As,
48505
48505
  hasImageTitle: kl,
@@ -48533,7 +48533,7 @@ function MBe() {
48533
48533
  }, Fr = {
48534
48534
  name: "dimensions",
48535
48535
  type: "sizeinput"
48536
- }, ma = {
48536
+ }, va = {
48537
48537
  type: "label",
48538
48538
  label: "Accessibility",
48539
48539
  items: [{
@@ -48560,7 +48560,7 @@ function MBe() {
48560
48560
  return W([
48561
48561
  [Re],
48562
48562
  We.toArray(),
48563
- he.hasAccessibilityOptions && he.hasDescription ? [ma] : [],
48563
+ he.hasAccessibilityOptions && he.hasDescription ? [va] : [],
48564
48564
  he.hasDescription ? [dt] : [],
48565
48565
  he.hasImageTitle ? [gn] : [],
48566
48566
  he.hasDimensions ? [Fr] : [],
@@ -48645,8 +48645,8 @@ function MBe() {
48645
48645
  dn(he, gn, dt), Re.setData(gn);
48646
48646
  }
48647
48647
  }, bp = (he, Re, We, dt) => {
48648
- const gn = dt.getData(), Fr = gn.src.value, ma = gn.src.meta || {};
48649
- !ma.width && !ma.height && Re.hasDimensions && (we(Fr) ? he.imageSize(Fr).then((si) => {
48648
+ const gn = dt.getData(), Fr = gn.src.value, va = gn.src.meta || {};
48649
+ !va.width && !va.height && Re.hasDimensions && (we(Fr) ? he.imageSize(Fr).then((si) => {
48650
48650
  We.open && dt.setData({ dimensions: si });
48651
48651
  }).catch((si) => console.error(si)) : dt.setData({ dimensions: { width: "", height: "" } }));
48652
48652
  }, Qm = (he, Re, We) => {
@@ -48656,21 +48656,21 @@ function MBe() {
48656
48656
  js(Re, dt), Jm(Re, dt), bp(he, Re, We, dt), Qm(Re, We, dt);
48657
48657
  }, Gc = (he, Re, We, dt) => {
48658
48658
  const gn = dt.getData(), Fr = Al.findEntry(Re.imageList, gn.images);
48659
- Fr.each((ma) => {
48660
- gn.alt === "" || We.prevImage.map((wi) => wi.text === gn.alt).getOr(!1) ? ma.value === "" ? dt.setData({ src: ma, alt: We.prevAlt }) : dt.setData({ src: ma, alt: ma.text }) : dt.setData({ src: ma });
48659
+ Fr.each((va) => {
48660
+ gn.alt === "" || We.prevImage.map((wi) => wi.text === gn.alt).getOr(!1) ? va.value === "" ? dt.setData({ src: va, alt: We.prevAlt }) : dt.setData({ src: va, alt: va.text }) : dt.setData({ src: va });
48661
48661
  }), We.prevImage = Fr, ev(he, Re, We, dt);
48662
48662
  }, yg = (he, Re, We, dt) => {
48663
48663
  const gn = dt.getData();
48664
48664
  dt.block("Uploading image"), ne(gn.fileinput).fold(() => {
48665
48665
  dt.unblock();
48666
48666
  }, (Fr) => {
48667
- const ma = URL.createObjectURL(Fr), si = () => {
48668
- dt.unblock(), URL.revokeObjectURL(ma);
48667
+ const va = URL.createObjectURL(Fr), si = () => {
48668
+ dt.unblock(), URL.revokeObjectURL(va);
48669
48669
  }, wi = (As) => {
48670
48670
  dt.setData({ src: { value: As, meta: {} } }), dt.showTab("general"), ev(he, Re, We, dt), dt.focus("src");
48671
48671
  };
48672
48672
  Er(Fr).then((As) => {
48673
- const kl = he.createBlobCache(Fr, ma, As);
48673
+ const kl = he.createBlobCache(Fr, va, As);
48674
48674
  Re.automaticUploads ? he.uploadImage(kl).then((ul) => {
48675
48675
  wi(ul.url), si();
48676
48676
  }).catch((ul) => {
@@ -49361,7 +49361,7 @@ function RBe() {
49361
49361
  }, Re = ["OL", "UL", "DL"], We = Re.join(","), dt = (K, le) => {
49362
49362
  const me = le || K.selection.getStart(!0);
49363
49363
  return K.dom.getParent(me, We, Gl(K, me));
49364
- }, gn = (K, le) => p(K) && le.length === 1 && le[0] === K, Fr = (K) => V(K.querySelectorAll(We), js), ma = (K) => {
49364
+ }, gn = (K, le) => p(K) && le.length === 1 && le[0] === K, Fr = (K) => V(K.querySelectorAll(We), js), va = (K) => {
49365
49365
  const le = dt(K), me = K.selection.getSelectedBlocks();
49366
49366
  return gn(le, me) ? Fr(le) : V(me, (Ve) => js(Ve) && le !== Ve);
49367
49367
  }, si = (K, le) => {
@@ -49658,10 +49658,10 @@ function RBe() {
49658
49658
  }, nr = (hr, Hn) => {
49659
49659
  var Lo;
49660
49660
  const Wa = new ji(hr, Ln(hr)), ql = Hn ? "next" : "prev";
49661
- let va;
49662
- for (; va = Wa[ql](); )
49663
- if (!(bg(K, va) || Tn(va.textContent) || ((Lo = va.textContent) === null || Lo === void 0 ? void 0 : Lo.length) === 0))
49664
- return I.some(va);
49661
+ let ya;
49662
+ for (; ya = Wa[ql](); )
49663
+ if (!(bg(K, ya) || Tn(ya.textContent) || ((Lo = ya.textContent) === null || Lo === void 0 ? void 0 : Lo.length) === 0))
49664
+ return I.some(ya);
49665
49665
  return I.none();
49666
49666
  };
49667
49667
  if (me && cl(qe))
@@ -49800,7 +49800,7 @@ function RBe() {
49800
49800
  const Ve = dt(K);
49801
49801
  if (Sg(K, Ve))
49802
49802
  return;
49803
- const qe = ma(K), Ft = l(me) ? me : {};
49803
+ const qe = va(K), Ft = l(me) ? me : {};
49804
49804
  qe.length > 0 ? eb(K, Ve, qe, le, Ft) : dl(K, Ve, le, Ft);
49805
49805
  }, vr = Ca.DOM, Zl = (K, le) => {
49806
49806
  const me = le.parentElement;
@@ -49885,8 +49885,8 @@ function RBe() {
49885
49885
  return !Wa || me.isChildOf(Hn, Wa) ? !1 : (K.undoManager.transact(() => {
49886
49886
  const ql = yc(hr);
49887
49887
  cv(me, Wa, Hn), Wa.remove();
49888
- const va = yh(ql);
49889
- K.selection.setRng(va);
49888
+ const ya = yh(ql);
49889
+ K.selection.setRng(ya);
49890
49890
  }), !0);
49891
49891
  } else if (!Hn && !le && hr.startOffset === 0 && hr.endOffset === 0)
49892
49892
  return K.undoManager.transact(() => {
@@ -49902,10 +49902,10 @@ function RBe() {
49902
49902
  if (Ft && me.isEmpty(Ft, void 0, { checkRootAsContent: !0 })) {
49903
49903
  const Ln = he(K.selection.getRng()), nr = Kc(K, Ln, le, qe), hr = me.getParent(nr, "LI", qe);
49904
49904
  if (nr && hr) {
49905
- const Hn = (va) => re(["td", "th", "caption"], oi(va)), Lo = (va) => va.dom === qe, Wa = hd(tr.fromDom(hr), Hn, Lo), ql = hd(tr.fromDom(Ln.startContainer), Hn, Lo);
49905
+ const Hn = (ya) => re(["td", "th", "caption"], oi(ya)), Lo = (ya) => ya.dom === qe, Wa = hd(tr.fromDom(hr), Hn, Lo), ql = hd(tr.fromDom(Ln.startContainer), Hn, Lo);
49906
49906
  return Jt(Wa, ql, bn) ? (K.undoManager.transact(() => {
49907
- const va = hr.parentNode;
49908
- Xc(me, Ft, qe), Pf(me, va), K.selection.select(nr, !0), K.selection.collapse(le);
49907
+ const ya = hr.parentNode;
49908
+ Xc(me, Ft, qe), Pf(me, ya), K.selection.select(nr, !0), K.selection.collapse(le);
49909
49909
  }), !0) : !1;
49910
49910
  }
49911
49911
  }
@@ -50906,7 +50906,7 @@ tinymce.addI18n("zh_CN", {
50906
50906
  "Whole words": "全字匹配",
50907
50907
  "Insert template": "插入模板"
50908
50908
  });
50909
- const Nue = 8, FBe = "undo redo cut copy paste indent2em | image | styleselect fontselect fontsizeselect | lineheight forecolor backcolor bold italic underline strikethrough | code | numlist bullist", cit = /* @__PURE__ */ xr({
50909
+ const Nue = 8, FBe = "undo redo cut copy paste indent2em | image | styleselect fontselect fontsizeselect | lineheight forecolor backcolor bold italic underline strikethrough | code | numlist bullist", uit = /* @__PURE__ */ xr({
50910
50910
  __name: "index",
50911
50911
  props: {
50912
50912
  url: { type: String, required: !1, default: "/upload/image" },
@@ -50980,7 +50980,7 @@ const Nue = 8, FBe = "undo redo cut copy paste indent2em | image | styleselect f
50980
50980
  }, null, 8, ["disabled", "modelValue", "init"])
50981
50981
  ]));
50982
50982
  }
50983
- }), uit = /* @__PURE__ */ xr({
50983
+ }), fit = /* @__PURE__ */ xr({
50984
50984
  __name: "OpenButton",
50985
50985
  props: {
50986
50986
  ...mD,
@@ -51034,13 +51034,13 @@ const Nue = 8, FBe = "undo redo cut copy paste indent2em | image | styleselect f
51034
51034
  n.t ? (sn(), Mr("span", {
51035
51035
  key: 1,
51036
51036
  style: $m({ marginLeft: n.icon ? "4px" : "0" })
51037
- }, _a(Qt(no)(n.t)), 5)) : al("", !0)
51037
+ }, ga(Qt(no)(n.t)), 5)) : al("", !0)
51038
51038
  ]),
51039
51039
  _: 1
51040
51040
  }, 16, ["size", "type", "circle", "plain", "disabled", "loading"]);
51041
51041
  };
51042
51042
  }
51043
- }), fit = /* @__PURE__ */ xr({
51043
+ }), dit = /* @__PURE__ */ xr({
51044
51044
  __name: "RefreshButton",
51045
51045
  props: {
51046
51046
  ...mD,
@@ -51101,7 +51101,7 @@ const Nue = 8, FBe = "undo redo cut copy paste indent2em | image | styleselect f
51101
51101
  n.t ? (sn(), Mr("span", {
51102
51102
  key: 1,
51103
51103
  style: $m({ marginLeft: n.icon ? "4px" : "0" })
51104
- }, _a(Qt(no)(n.t)), 5)) : al("", !0)
51104
+ }, ga(Qt(no)(n.t)), 5)) : al("", !0)
51105
51105
  ]),
51106
51106
  _: 1
51107
51107
  }, 16, ["size", "type", "circle", "plain", "disabled", "loading"]);
@@ -51169,13 +51169,13 @@ const Nue = 8, FBe = "undo redo cut copy paste indent2em | image | styleselect f
51169
51169
  n.t ? (sn(), Mr("span", {
51170
51170
  key: 1,
51171
51171
  style: $m({ marginLeft: n.icon ? "4px" : "0" })
51172
- }, _a(Qt(no)(n.t)), 5)) : al("", !0)
51172
+ }, ga(Qt(no)(n.t)), 5)) : al("", !0)
51173
51173
  ]),
51174
51174
  _: 1
51175
51175
  }, 16, ["size", "type", "circle", "plain", "disabled", "loading"]);
51176
51176
  };
51177
51177
  }
51178
- }), dit = /* @__PURE__ */ xr({
51178
+ }), hit = /* @__PURE__ */ xr({
51179
51179
  __name: "SearchButton",
51180
51180
  props: {
51181
51181
  ...mD,
@@ -51229,13 +51229,13 @@ const Nue = 8, FBe = "undo redo cut copy paste indent2em | image | styleselect f
51229
51229
  n.t ? (sn(), Mr("span", {
51230
51230
  key: 1,
51231
51231
  style: $m({ marginLeft: n.icon ? "4px" : "0" })
51232
- }, _a(Qt(no)(n.t)), 5)) : al("", !0)
51232
+ }, ga(Qt(no)(n.t)), 5)) : al("", !0)
51233
51233
  ]),
51234
51234
  _: 1
51235
51235
  }, 16, ["size", "type", "circle", "plain", "disabled", "loading"]);
51236
51236
  };
51237
51237
  }
51238
- }), hit = /* @__PURE__ */ xr({
51238
+ }), pit = /* @__PURE__ */ xr({
51239
51239
  __name: "ResetButton",
51240
51240
  props: {
51241
51241
  ...mD,
@@ -51289,13 +51289,13 @@ const Nue = 8, FBe = "undo redo cut copy paste indent2em | image | styleselect f
51289
51289
  n.t ? (sn(), Mr("span", {
51290
51290
  key: 1,
51291
51291
  style: $m({ marginLeft: n.icon ? "4px" : "0" })
51292
- }, _a(Qt(no)(n.t)), 5)) : al("", !0)
51292
+ }, ga(Qt(no)(n.t)), 5)) : al("", !0)
51293
51293
  ]),
51294
51294
  _: 1
51295
51295
  }, 16, ["size", "type", "circle", "plain", "disabled", "loading"]);
51296
51296
  };
51297
51297
  }
51298
- }), pit = /* @__PURE__ */ xr({
51298
+ }), git = /* @__PURE__ */ xr({
51299
51299
  __name: "ModifyButton",
51300
51300
  props: {
51301
51301
  ...mD,
@@ -51337,13 +51337,13 @@ const Nue = 8, FBe = "undo redo cut copy paste indent2em | image | styleselect f
51337
51337
  n.t ? (sn(), Mr("span", {
51338
51338
  key: 0,
51339
51339
  style: $m({ marginLeft: n.icon ? "4px" : "0" })
51340
- }, _a(Qt(no)(n.t)), 5)) : al("", !0)
51340
+ }, ga(Qt(no)(n.t)), 5)) : al("", !0)
51341
51341
  ]),
51342
51342
  _: 1
51343
51343
  }, 16, ["size", "link", "type", "disabled", "loading"]);
51344
51344
  };
51345
51345
  }
51346
- }), git = /* @__PURE__ */ xr({
51346
+ }), mit = /* @__PURE__ */ xr({
51347
51347
  __name: "RequestButton",
51348
51348
  props: {
51349
51349
  ...mD,
@@ -51394,13 +51394,13 @@ const Nue = 8, FBe = "undo redo cut copy paste indent2em | image | styleselect f
51394
51394
  n.t ? (sn(), Mr("span", {
51395
51395
  key: 0,
51396
51396
  style: $m({ marginLeft: n.icon ? "4px" : "0" })
51397
- }, _a(Qt(no)(n.t)), 5)) : al("", !0)
51397
+ }, ga(Qt(no)(n.t)), 5)) : al("", !0)
51398
51398
  ]),
51399
51399
  _: 1
51400
51400
  }, 16, ["size", "type", "circle", "plain", "disabled", "loading"]);
51401
51401
  };
51402
51402
  }
51403
- }), mit = /* @__PURE__ */ xr({
51403
+ }), vit = /* @__PURE__ */ xr({
51404
51404
  __name: "index",
51405
51405
  props: {
51406
51406
  mark: { type: Array, default: () => [] }
@@ -51423,7 +51423,7 @@ const Nue = 8, FBe = "undo redo cut copy paste indent2em | image | styleselect f
51423
51423
  }, 8, ["content"]);
51424
51424
  };
51425
51425
  }
51426
- }), vit = /* @__PURE__ */ xr({
51426
+ }), yit = /* @__PURE__ */ xr({
51427
51427
  __name: "BasicAvatar",
51428
51428
  props: {
51429
51429
  ...A5e,
@@ -95764,7 +95764,7 @@ const JW = [
95764
95764
  chartRef: c,
95765
95765
  renderChart: p
95766
95766
  };
95767
- }, yit = {
95767
+ }, bit = {
95768
95768
  useCopy: zne,
95769
95769
  useForm: wye,
95770
95770
  useAutoForm: zBe,
@@ -95854,7 +95854,7 @@ const JW = [
95854
95854
  }, 1024))), 128);
95855
95855
  };
95856
95856
  }
95857
- }), bit = /* @__PURE__ */ xr({
95857
+ }), xit = /* @__PURE__ */ xr({
95858
95858
  __name: "index",
95859
95859
  props: {
95860
95860
  formItems: { type: Array, required: !0 },
@@ -95933,7 +95933,7 @@ const JW = [
95933
95933
  }, 8, ["model", "rules", "disabled"]);
95934
95934
  };
95935
95935
  }
95936
- }), xit = /* @__PURE__ */ xr({
95936
+ }), _it = /* @__PURE__ */ xr({
95937
95937
  __name: "CopyText",
95938
95938
  props: {
95939
95939
  ...T5e,
@@ -95962,7 +95962,7 @@ const JW = [
95962
95962
  }),
95963
95963
  St(c, tG(nG(e)), {
95964
95964
  default: rn(() => [
95965
- Vc(_a(n.text), 1)
95965
+ Vc(ga(n.text), 1)
95966
95966
  ]),
95967
95967
  _: 1
95968
95968
  }, 16)
@@ -95971,7 +95971,7 @@ const JW = [
95971
95971
  });
95972
95972
  };
95973
95973
  }
95974
- }), _it = /* @__PURE__ */ xr({
95974
+ }), Cit = /* @__PURE__ */ xr({
95975
95975
  __name: "RadioButton",
95976
95976
  props: {
95977
95977
  ...D5e,
@@ -96028,12 +96028,13 @@ const JW = [
96028
96028
  }, 16, ["modelValue"]);
96029
96029
  };
96030
96030
  }
96031
- }), $rt = {
96031
+ }), $rt = { class: "card-title" }, Urt = {
96032
96032
  key: 0,
96033
96033
  class: "container"
96034
- }, Urt = { class: "title" }, Wrt = { class: "desc-label" }, Grt = { class: "footer" }, Cit = /* @__PURE__ */ xr({
96034
+ }, Wrt = { class: "title" }, Grt = { class: "desc-label" }, Zrt = { class: "footer" }, Sit = /* @__PURE__ */ xr({
96035
96035
  __name: "StatisticCard",
96036
96036
  props: {
96037
+ title: { type: String, default: "" },
96037
96038
  height: { type: [Number, String], default: "100%" },
96038
96039
  chartData: { type: Object, default: () => ({}) },
96039
96040
  chartStyle: {
@@ -96142,6 +96143,7 @@ const JW = [
96142
96143
  class: "statistic-card",
96143
96144
  style: $m({ height: String(n.height).endsWith("%") ? String(n.height) : `${String(n.height)}px` })
96144
96145
  }, [
96146
+ Yn("div", $rt, ga(n.title), 1),
96145
96147
  Yn("div", {
96146
96148
  class: "chart-container",
96147
96149
  style: $m(n.chartStyle)
@@ -96154,12 +96156,12 @@ const JW = [
96154
96156
  }, null, 512)
96155
96157
  ])
96156
96158
  ], 4),
96157
- d.value.title ? (sn(), Mr("div", $rt, [
96158
- Yn("div", Urt, _a(d.value.title), 1),
96159
- Yn("div", Wrt, [
96159
+ d.value.title ? (sn(), Mr("div", Urt, [
96160
+ Yn("div", Wrt, ga(d.value.title), 1),
96161
+ Yn("div", Grt, [
96160
96162
  St(b, { class: "desc" }, {
96161
96163
  default: rn(() => [
96162
- Vc(_a(d.value.desc), 1)
96164
+ Vc(ga(d.value.desc), 1)
96163
96165
  ]),
96164
96166
  _: 1
96165
96167
  }),
@@ -96168,7 +96170,7 @@ const JW = [
96168
96170
  type: !d.value.type || d.value.type === "default" ? void 0 : d.value.type
96169
96171
  }, {
96170
96172
  default: rn(() => [
96171
- Vc(_a(`${d.value.type === "danger" ? "-" : ""}${d.value.label}`), 1)
96173
+ Vc(ga(`${d.value.type === "danger" ? "-" : ""}${d.value.label}`), 1)
96172
96174
  ]),
96173
96175
  _: 1
96174
96176
  }, 8, ["type"])
@@ -96176,7 +96178,7 @@ const JW = [
96176
96178
  ])) : al("", !0),
96177
96179
  h.value.length ? (sn(), Mr(Ii, { key: 1 }, [
96178
96180
  St(w, { class: "hr" }),
96179
- Yn("div", Grt, [
96181
+ Yn("div", Zrt, [
96180
96182
  (sn(!0), Mr(Ii, null, Um(h.value, (A) => (sn(), Mr("div", {
96181
96183
  class: "footer-item",
96182
96184
  key: A.title
@@ -96186,13 +96188,13 @@ const JW = [
96186
96188
  type: !A.type || A.type === "default" ? void 0 : A.type
96187
96189
  }, {
96188
96190
  default: rn(() => [
96189
- Vc(_a(`${A.type === "danger" ? "-" : ""}${A.label}`), 1)
96191
+ Vc(ga(`${A.type === "danger" ? "-" : ""}${A.label}`), 1)
96190
96192
  ]),
96191
96193
  _: 2
96192
96194
  }, 1032, ["type"]),
96193
96195
  St(b, { class: "desc" }, {
96194
96196
  default: rn(() => [
96195
- Vc(_a(A.desc), 1)
96197
+ Vc(ga(A.desc), 1)
96196
96198
  ]),
96197
96199
  _: 2
96198
96200
  }, 1024)
@@ -96202,7 +96204,7 @@ const JW = [
96202
96204
  ], 4);
96203
96205
  };
96204
96206
  }
96205
- }), Zrt = { class: "theme-item" }, jrt = { class: "theme-item" }, qrt = { class: "theme-item" }, Yrt = { class: "theme-item" }, Krt = { class: "theme-item" }, Xrt = { class: "theme-item" }, Jrt = { class: "theme-item" }, Qrt = /* @__PURE__ */ xr({
96207
+ }), jrt = { class: "theme-item" }, qrt = { class: "theme-item" }, Yrt = { class: "theme-item" }, Krt = { class: "theme-item" }, Xrt = { class: "theme-item" }, Jrt = { class: "theme-item" }, Qrt = { class: "theme-item" }, eot = /* @__PURE__ */ xr({
96206
96208
  __name: "index",
96207
96209
  setup(n) {
96208
96210
  const { changePrimary: e } = Aye(), t = N0(), {
@@ -96235,12 +96237,12 @@ const JW = [
96235
96237
  ]),
96236
96238
  _: 1
96237
96239
  }),
96238
- Vc(" " + _a(Qt(no)("config.theme.interfaceSettings")), 1)
96240
+ Vc(" " + ga(Qt(no)("config.theme.interfaceSettings")), 1)
96239
96241
  ]),
96240
96242
  _: 1
96241
96243
  }),
96242
- Yn("div", Zrt, [
96243
- Yn("span", null, _a(Qt(no)("config.theme.primary")), 1),
96244
+ Yn("div", jrt, [
96245
+ Yn("span", null, ga(Qt(no)("config.theme.primary")), 1),
96244
96246
  St(T, {
96245
96247
  modelValue: Qt(r),
96246
96248
  "onUpdate:modelValue": b[0] || (b[0] = (O) => Ty(r) ? r.value = O : null),
@@ -96248,43 +96250,43 @@ const JW = [
96248
96250
  onChange: Qt(e)
96249
96251
  }, null, 8, ["modelValue", "onChange"])
96250
96252
  ]),
96251
- Yn("div", jrt, [
96252
- Yn("span", null, _a(Qt(no)("config.theme.menuCollapse")), 1),
96253
+ Yn("div", qrt, [
96254
+ Yn("span", null, ga(Qt(no)("config.theme.menuCollapse")), 1),
96253
96255
  St(k, {
96254
96256
  modelValue: Qt(o),
96255
96257
  "onUpdate:modelValue": b[1] || (b[1] = (O) => Ty(o) ? o.value = O : null)
96256
96258
  }, null, 8, ["modelValue"])
96257
96259
  ]),
96258
- Yn("div", qrt, [
96259
- Yn("span", null, _a(Qt(no)("config.theme.menuAccordion")), 1),
96260
+ Yn("div", Yrt, [
96261
+ Yn("span", null, ga(Qt(no)("config.theme.menuAccordion")), 1),
96260
96262
  St(k, {
96261
96263
  modelValue: Qt(i),
96262
96264
  "onUpdate:modelValue": b[2] || (b[2] = (O) => Ty(i) ? i.value = O : null)
96263
96265
  }, null, 8, ["modelValue"])
96264
96266
  ]),
96265
- Yn("div", Yrt, [
96266
- Yn("span", null, _a(Qt(no)("config.theme.breadcrumb")), 1),
96267
+ Yn("div", Krt, [
96268
+ Yn("span", null, ga(Qt(no)("config.theme.breadcrumb")), 1),
96267
96269
  St(k, {
96268
96270
  modelValue: Qt(l),
96269
96271
  "onUpdate:modelValue": b[3] || (b[3] = (O) => Ty(l) ? l.value = O : null)
96270
96272
  }, null, 8, ["modelValue"])
96271
96273
  ]),
96272
- Yn("div", Krt, [
96273
- Yn("span", null, _a(Qt(no)("config.theme.breadcrumbIcon")), 1),
96274
+ Yn("div", Xrt, [
96275
+ Yn("span", null, ga(Qt(no)("config.theme.breadcrumbIcon")), 1),
96274
96276
  St(k, {
96275
96277
  modelValue: Qt(c),
96276
96278
  "onUpdate:modelValue": b[4] || (b[4] = (O) => Ty(c) ? c.value = O : null)
96277
96279
  }, null, 8, ["modelValue"])
96278
96280
  ]),
96279
- Yn("div", Xrt, [
96280
- Yn("span", null, _a(Qt(no)("config.theme.tabs")), 1),
96281
+ Yn("div", Jrt, [
96282
+ Yn("span", null, ga(Qt(no)("config.theme.tabs")), 1),
96281
96283
  St(k, {
96282
96284
  modelValue: Qt(d),
96283
96285
  "onUpdate:modelValue": b[5] || (b[5] = (O) => Ty(d) ? d.value = O : null)
96284
96286
  }, null, 8, ["modelValue"])
96285
96287
  ]),
96286
- Yn("div", Jrt, [
96287
- Yn("span", null, _a(Qt(no)("config.theme.tabsIcon")), 1),
96288
+ Yn("div", Qrt, [
96289
+ Yn("span", null, ga(Qt(no)("config.theme.tabsIcon")), 1),
96288
96290
  St(k, {
96289
96291
  modelValue: Qt(h),
96290
96292
  "onUpdate:modelValue": b[6] || (b[6] = (O) => Ty(h) ? h.value = O : null)
@@ -96295,15 +96297,15 @@ const JW = [
96295
96297
  }, 8, ["modelValue", "title"]);
96296
96298
  };
96297
96299
  }
96298
- }), eot = /* @__PURE__ */ pg(Qrt, [["__scopeId", "data-v-b7065f54"]]);
96300
+ }), tot = /* @__PURE__ */ pg(eot, [["__scopeId", "data-v-b7065f54"]]);
96299
96301
  var Wve;
96300
- const tot = typeof window < "u", Gve = () => {
96302
+ const not = typeof window < "u", Gve = () => {
96301
96303
  };
96302
- tot && ((Wve = window == null ? void 0 : window.navigator) != null && Wve.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
96304
+ not && ((Wve = window == null ? void 0 : window.navigator) != null && Wve.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
96303
96305
  function Zve(n) {
96304
96306
  return typeof n == "function" ? n() : Qt(n);
96305
96307
  }
96306
- function not(n, e) {
96308
+ function rot(n, e) {
96307
96309
  function t(...r) {
96308
96310
  return new Promise((o, i) => {
96309
96311
  Promise.resolve(n(() => e.apply(this, r), { fn: e, thisArg: this, args: r })).then(o).catch(i);
@@ -96311,7 +96313,7 @@ function not(n, e) {
96311
96313
  }
96312
96314
  return t;
96313
96315
  }
96314
- function rot(n, e = {}) {
96316
+ function oot(n, e = {}) {
96315
96317
  let t, r, o = Gve;
96316
96318
  const i = (c) => {
96317
96319
  clearTimeout(c), o(), o = Gve;
@@ -96328,13 +96330,13 @@ function rot(n, e = {}) {
96328
96330
  };
96329
96331
  }
96330
96332
  function cwe(n, e = 200, t = {}) {
96331
- return not(rot(e, t), n);
96333
+ return rot(oot(e, t), n);
96332
96334
  }
96333
- const oot = {};
96334
- function aot(n, e) {
96335
+ const aot = {};
96336
+ function iot(n, e) {
96335
96337
  return null;
96336
96338
  }
96337
- const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed664ba2"]]), sot = { class: "tabs-box" }, lot = { class: "tabs-menu" }, cot = /* @__PURE__ */ xr({
96339
+ const sot = /* @__PURE__ */ pg(aot, [["render", iot], ["__scopeId", "data-v-ed664ba2"]]), lot = { class: "tabs-box" }, cot = { class: "tabs-menu" }, uot = /* @__PURE__ */ xr({
96338
96340
  __name: "index",
96339
96341
  setup(n) {
96340
96342
  const e = iG(), t = FP(), r = QM(), o = xD(), i = N0(), l = mr(e.fullPath), c = lr(() => r.tabsMenuList), d = lr(() => i.tabsIcon);
@@ -96381,8 +96383,8 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
96381
96383
  };
96382
96384
  return (b, w) => {
96383
96385
  const A = fn("el-tab-pane"), T = fn("el-tabs");
96384
- return sn(), Mr("div", sot, [
96385
- Yn("div", lot, [
96386
+ return sn(), Mr("div", lot, [
96387
+ Yn("div", cot, [
96386
96388
  St(T, {
96387
96389
  modelValue: l.value,
96388
96390
  "onUpdate:modelValue": w[0] || (w[0] = (k) => l.value = k),
@@ -96402,19 +96404,19 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
96402
96404
  key: 0,
96403
96405
  class: ju(["tabs-icon iconfont", k.icon])
96404
96406
  }, null, 2)) : al("", !0),
96405
- Vc(" " + _a(Qt(no)(k.title)), 1)
96407
+ Vc(" " + ga(Qt(no)(k.title)), 1)
96406
96408
  ]),
96407
96409
  _: 2
96408
96410
  }, 1032, ["label", "name", "closable"]))), 128))
96409
96411
  ]),
96410
96412
  _: 1
96411
96413
  }, 8, ["modelValue"]),
96412
- St(iot)
96414
+ St(sot)
96413
96415
  ])
96414
96416
  ]);
96415
96417
  };
96416
96418
  }
96417
- }), uot = /* @__PURE__ */ pg(cot, [["__scopeId", "data-v-d7a7b811"]]), fot = /* @__PURE__ */ xr({
96419
+ }), fot = /* @__PURE__ */ pg(uot, [["__scopeId", "data-v-d7a7b811"]]), dot = /* @__PURE__ */ xr({
96418
96420
  __name: "index",
96419
96421
  setup(n) {
96420
96422
  const e = N0(), { maximize: t, isCollapse: r, layout: o, tabs: i } = kQ(e), l = LM(), { keepAliveName: c } = kQ(l), d = mr(!0);
@@ -96448,7 +96450,7 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
96448
96450
  }), (w, A) => {
96449
96451
  const T = fn("router-view"), k = fn("el-main");
96450
96452
  return sn(), Mr(Ii, null, [
96451
- Ss(St(uot, null, null, 512), [
96453
+ Ss(St(fot, null, null, 512), [
96452
96454
  [qu, Qt(i)]
96453
96455
  ]),
96454
96456
  St(k, null, {
@@ -96478,7 +96480,7 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
96478
96480
  ], 64);
96479
96481
  };
96480
96482
  }
96481
- }), dot = /* @__PURE__ */ pg(fot, [["__scopeId", "data-v-f2059b3b"]]), hot = /* @__PURE__ */ xr({
96483
+ }), hot = /* @__PURE__ */ pg(dot, [["__scopeId", "data-v-f2059b3b"]]), pot = /* @__PURE__ */ xr({
96482
96484
  __name: "CollapseIcon",
96483
96485
  setup(n) {
96484
96486
  const e = N0(), t = () => e.isCollapse = !e.isCollapse;
@@ -96495,23 +96497,23 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
96495
96497
  });
96496
96498
  };
96497
96499
  }
96498
- }), pot = /* @__PURE__ */ pg(hot, [["__scopeId", "data-v-42c84e8e"]]), got = /* @__PURE__ */ xr({
96500
+ }), got = /* @__PURE__ */ pg(pot, [["__scopeId", "data-v-42c84e8e"]]), mot = /* @__PURE__ */ xr({
96499
96501
  __name: "Breadcrumb",
96500
96502
  setup(n) {
96501
96503
  return (e, t) => null;
96502
96504
  }
96503
- }), mot = /* @__PURE__ */ pg(got, [["__scopeId", "data-v-42f5089a"]]), vot = { class: "tool-bar-lf" }, yot = /* @__PURE__ */ xr({
96505
+ }), vot = /* @__PURE__ */ pg(mot, [["__scopeId", "data-v-42f5089a"]]), yot = { class: "tool-bar-lf" }, bot = /* @__PURE__ */ xr({
96504
96506
  __name: "ToolBarLeft",
96505
96507
  setup(n) {
96506
96508
  const e = N0();
96507
- return (t, r) => (sn(), Mr("div", vot, [
96508
- St(pot, { id: "collapseIcon" }),
96509
- Ss(St(mot, { id: "breadcrumb" }, null, 512), [
96509
+ return (t, r) => (sn(), Mr("div", yot, [
96510
+ St(got, { id: "collapseIcon" }),
96511
+ Ss(St(vot, { id: "breadcrumb" }, null, 512), [
96510
96512
  [qu, Qt(e).breadcrumb]
96511
96513
  ])
96512
96514
  ]));
96513
96515
  }
96514
- }), bot = /* @__PURE__ */ pg(yot, [["__scopeId", "data-v-4c6adede"]]), eG = P6e.createAutoApi(
96516
+ }), xot = /* @__PURE__ */ pg(bot, [["__scopeId", "data-v-4c6adede"]]), eG = P6e.createAutoApi(
96515
96517
  "proto",
96516
96518
  {
96517
96519
  messages: "messages",
@@ -96521,7 +96523,7 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
96521
96523
  },
96522
96524
  "id",
96523
96525
  ["messages", "types", "typescript", "response"]
96524
- ), xot = /* @__PURE__ */ xr({
96526
+ ), _ot = /* @__PURE__ */ xr({
96525
96527
  __name: "ProtoMessageSelect",
96526
96528
  props: {
96527
96529
  modelValue: {
@@ -96579,7 +96581,7 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
96579
96581
  }, 8, ["modelValue", "filter-method", "options", "disabled", "onChange", "placeholder"]);
96580
96582
  };
96581
96583
  }
96582
- }), _ot = /* @__PURE__ */ xr({
96584
+ }), Cot = /* @__PURE__ */ xr({
96583
96585
  __name: "Typescript",
96584
96586
  setup(n, { expose: e }) {
96585
96587
  const { requesting: t } = WP(eG), r = h_({
@@ -96667,7 +96669,7 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
96667
96669
  label: "Message"
96668
96670
  }, {
96669
96671
  default: rn(() => [
96670
- St(xot, {
96672
+ St(_ot, {
96671
96673
  ref_key: "select",
96672
96674
  ref: o,
96673
96675
  modelValue: r.message,
@@ -96698,7 +96700,7 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
96698
96700
  ]);
96699
96701
  };
96700
96702
  }
96701
- }), Cot = { class: "code-tool" }, Sot = /* @__PURE__ */ xr({
96703
+ }), Sot = { class: "code-tool" }, wot = /* @__PURE__ */ xr({
96702
96704
  __name: "Tools",
96703
96705
  setup(n) {
96704
96706
  const e = mr("typescipt"), t = mr(!1), r = mr(), o = () => {
@@ -96708,7 +96710,7 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
96708
96710
  };
96709
96711
  return (i, l) => {
96710
96712
  const c = fn("el-tab-pane"), d = fn("el-tabs"), h = fn("el-dialog"), p = fL("auth");
96711
- return sn(), Mr("div", Cot, [
96713
+ return sn(), Mr("div", Sot, [
96712
96714
  Ss(Yn("i", {
96713
96715
  class: ju(["iconfont icon-codelibrary-fill", "toolBar-icon"]),
96714
96716
  onClick: o
@@ -96738,7 +96740,7 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
96738
96740
  lazy: ""
96739
96741
  }, {
96740
96742
  default: rn(() => [
96741
- St(_ot, {
96743
+ St(Cot, {
96742
96744
  ref_key: "typescript",
96743
96745
  ref: r
96744
96746
  }, null, 512)
@@ -96754,7 +96756,7 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
96754
96756
  ]);
96755
96757
  };
96756
96758
  }
96757
- }), wot = /* @__PURE__ */ xr({
96759
+ }), Eot = /* @__PURE__ */ xr({
96758
96760
  __name: "Language",
96759
96761
  setup(n) {
96760
96762
  const { defaultAuthApi: e } = us(), t = xG(), r = N0(), o = lr(() => r.language), i = [
@@ -96780,7 +96782,7 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
96780
96782
  disabled: o.value === y.value
96781
96783
  }, {
96782
96784
  default: rn(() => [
96783
- Vc(_a(y.label), 1)
96785
+ Vc(ga(y.label), 1)
96784
96786
  ]),
96785
96787
  _: 2
96786
96788
  }, 1032, ["command", "disabled"])), 64))
@@ -96797,7 +96799,7 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
96797
96799
  });
96798
96800
  };
96799
96801
  }
96800
- }), Eot = { class: "search-menu" }, Aot = ["onMouseenter"], Tot = { class: "menu-lf" }, Dot = { class: "menu-title" }, kot = /* @__PURE__ */ xr({
96802
+ }), Aot = { class: "search-menu" }, Tot = ["onMouseenter"], Dot = { class: "menu-lf" }, kot = { class: "menu-title" }, Mot = /* @__PURE__ */ xr({
96801
96803
  __name: "SearchMenu",
96802
96804
  setup(n) {
96803
96805
  const e = FP(), t = xD(), r = lr(() => t.flatMenuListGet.filter((k) => !k.meta.hide)), o = mr(""), i = (k) => {
@@ -96839,7 +96841,7 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
96839
96841
  };
96840
96842
  return (k, N) => {
96841
96843
  const O = fn("el-input"), I = fn("el-icon"), G = fn("el-empty"), W = fn("el-dialog");
96842
- return sn(), Mr("div", Eot, [
96844
+ return sn(), Mr("div", Aot, [
96843
96845
  Yn("i", {
96844
96846
  class: ju(["iconfont icon-search", "toolBar-icon"]),
96845
96847
  onClick: h
@@ -96875,20 +96877,20 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
96875
96877
  onMouseenter: (ne) => i(Z),
96876
96878
  onClick: N[1] || (N[1] = (ne) => T())
96877
96879
  }, [
96878
- Yn("div", Tot, [
96880
+ Yn("div", Dot, [
96879
96881
  St(I, { class: "menu-icon" }, {
96880
96882
  default: rn(() => [
96881
96883
  (sn(), Wr(vD(Z.meta.icon)))
96882
96884
  ]),
96883
96885
  _: 2
96884
96886
  }, 1024),
96885
- Yn("span", Dot, _a(Z.meta.title), 1)
96887
+ Yn("span", kot, ga(Z.meta.title), 1)
96886
96888
  ]),
96887
96889
  Yn("i", {
96888
96890
  class: ju(["iconfont icon-enter", "menu-enter"]),
96889
96891
  onClick: h
96890
96892
  })
96891
- ], 42, Aot))), 128))
96893
+ ], 42, Tot))), 128))
96892
96894
  ], 512)) : (sn(), Wr(G, {
96893
96895
  key: 1,
96894
96896
  class: "mt20 mb20",
@@ -96901,20 +96903,20 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
96901
96903
  ]);
96902
96904
  };
96903
96905
  }
96904
- }), Mot = /* @__PURE__ */ pg(kot, [["__scopeId", "data-v-6a790037"]]), Lot = { class: "theme-setting" }, Rot = /* @__PURE__ */ xr({
96906
+ }), Lot = /* @__PURE__ */ pg(Mot, [["__scopeId", "data-v-6a790037"]]), Rot = { class: "theme-setting" }, Oot = /* @__PURE__ */ xr({
96905
96907
  __name: "ThemeSetting",
96906
96908
  setup(n) {
96907
96909
  const e = () => {
96908
96910
  S1e.emit("openThemeDrawer");
96909
96911
  };
96910
- return (t, r) => (sn(), Mr("div", Lot, [
96912
+ return (t, r) => (sn(), Mr("div", Rot, [
96911
96913
  Yn("i", {
96912
96914
  class: ju(["iconfont icon-skin", "toolBar-icon"]),
96913
96915
  onClick: e
96914
96916
  })
96915
96917
  ]));
96916
96918
  }
96917
- }), Oot = ["src"], Not = { class: "footer" }, Iot = /* @__PURE__ */ xr({
96919
+ }), Not = ["src"], Iot = { class: "footer" }, Pot = /* @__PURE__ */ xr({
96918
96920
  __name: "Avatar",
96919
96921
  setup(n) {
96920
96922
  const e = FP(), { defaultAuthApi: t } = us(), { executing: r } = WP([], void 0, [t.SCOPES, t.LOGOUT]), o = mr(!1), i = g_(), l = Dne().app.default_avatar, c = () => {
@@ -96941,7 +96943,7 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
96941
96943
  Yn("img", {
96942
96944
  src: ((T = (A = Qt(i)) == null ? void 0 : A.userInfo) == null ? void 0 : T.avatar) || Qt(l),
96943
96945
  alt: "avatar"
96944
- }, null, 8, Oot)
96946
+ }, null, 8, Not)
96945
96947
  ]),
96946
96948
  St(b, {
96947
96949
  modelValue: o.value,
@@ -96951,7 +96953,7 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
96951
96953
  }, {
96952
96954
  default: rn(() => [
96953
96955
  v[15] || (v[15] = Yn("div", null, "...", -1)),
96954
- Yn("div", Not, [
96956
+ Yn("div", Iot, [
96955
96957
  Ss((sn(), Wr(y, {
96956
96958
  class: "footer-btn",
96957
96959
  type: "primary",
@@ -97040,22 +97042,22 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
97040
97042
  ], 64);
97041
97043
  };
97042
97044
  }
97043
- }), Pot = /* @__PURE__ */ pg(Iot, [["__scopeId", "data-v-a938ec7f"]]), Bot = { class: "tool-bar-ri" }, Fot = { class: "header-icon" }, Vot = { class: "username" }, zot = /* @__PURE__ */ xr({
97045
+ }), Bot = /* @__PURE__ */ pg(Pot, [["__scopeId", "data-v-a938ec7f"]]), Fot = { class: "tool-bar-ri" }, Vot = { class: "header-icon" }, zot = { class: "username" }, Hot = /* @__PURE__ */ xr({
97044
97046
  __name: "ToolBarRight",
97045
97047
  setup(n) {
97046
97048
  const e = g_(), t = lr(() => e.userInfo.username);
97047
- return (r, o) => (sn(), Mr("div", Bot, [
97048
- Yn("div", Fot, [
97049
- St(Sot, { id: "tools" }),
97050
- St(wot, { id: "language" }),
97051
- St(Mot, { id: "searchMenu" }),
97052
- St(Rot, { id: "themeSetting" })
97049
+ return (r, o) => (sn(), Mr("div", Fot, [
97050
+ Yn("div", Vot, [
97051
+ St(wot, { id: "tools" }),
97052
+ St(Eot, { id: "language" }),
97053
+ St(Lot, { id: "searchMenu" }),
97054
+ St(Oot, { id: "themeSetting" })
97053
97055
  ]),
97054
- Yn("span", Vot, _a(t.value), 1),
97055
- St(Pot)
97056
+ Yn("span", zot, ga(t.value), 1),
97057
+ St(Bot)
97056
97058
  ]));
97057
97059
  }
97058
- }), Hot = /* @__PURE__ */ pg(zot, [["__scopeId", "data-v-ecdec68b"]]), $ot = { class: "sle" }, Uot = { class: "sle" }, Wot = /* @__PURE__ */ xr({
97060
+ }), $ot = /* @__PURE__ */ pg(Hot, [["__scopeId", "data-v-ecdec68b"]]), Uot = { class: "sle" }, Wot = { class: "sle" }, Got = /* @__PURE__ */ xr({
97059
97061
  __name: "SubMenu",
97060
97062
  props: {
97061
97063
  menuList: {}
@@ -97085,7 +97087,7 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
97085
97087
  ]),
97086
97088
  _: 2
97087
97089
  }, 1024),
97088
- Yn("span", $ot, _a(h.meta.title), 1)
97090
+ Yn("span", Uot, ga(h.meta.title), 1)
97089
97091
  ]),
97090
97092
  default: rn(() => [
97091
97093
  St(l, {
@@ -97099,7 +97101,7 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
97099
97101
  onClick: (v) => t(h)
97100
97102
  }, {
97101
97103
  title: rn(() => [
97102
- Yn("span", Uot, _a(h.meta.title), 1)
97104
+ Yn("span", Wot, ga(h.meta.title), 1)
97103
97105
  ]),
97104
97106
  default: rn(() => [
97105
97107
  St(i, { class: "menu-icon" }, {
@@ -97117,7 +97119,7 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
97117
97119
  }), 128);
97118
97120
  };
97119
97121
  }
97120
- }), Got = { class: "logo flx-center" }, Zot = ["src"], jot = /* @__PURE__ */ xr({
97122
+ }), Zot = { class: "logo flx-center" }, jot = ["src"], qot = /* @__PURE__ */ xr({
97121
97123
  __name: "index",
97122
97124
  setup(n) {
97123
97125
  const e = iG(), t = xD(), r = N0(), o = Dne(), i = lr(() => r.accordion), l = lr(() => r.isCollapse), c = lr(() => t.showMenuListGet), d = lr(() => e.meta.active ? e.meta.active : e.path), h = lr(() => o.app);
@@ -97131,7 +97133,7 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
97131
97133
  class: "aside-box",
97132
97134
  style: $m({ width: l.value ? "65px" : "220px" })
97133
97135
  }, [
97134
- Yn("div", Got, [
97136
+ Yn("div", Zot, [
97135
97137
  St(w, {
97136
97138
  gutter: 12,
97137
97139
  align: "middle",
@@ -97144,7 +97146,7 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
97144
97146
  class: "logo-img",
97145
97147
  src: h.value.logo,
97146
97148
  alt: "logo"
97147
- }, null, 8, Zot)
97149
+ }, null, 8, jot)
97148
97150
  ]),
97149
97151
  _: 1
97150
97152
  }),
@@ -97175,7 +97177,7 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
97175
97177
  "collapse-transition": !1
97176
97178
  }, {
97177
97179
  default: rn(() => [
97178
- St(Wot, { "menu-list": c.value }, null, 8, ["menu-list"])
97180
+ St(Got, { "menu-list": c.value }, null, 8, ["menu-list"])
97179
97181
  ]),
97180
97182
  _: 1
97181
97183
  }, 8, ["default-active", "collapse", "unique-opened"])
@@ -97190,12 +97192,12 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
97190
97192
  default: rn(() => [
97191
97193
  St(N, null, {
97192
97194
  default: rn(() => [
97193
- St(bot),
97194
- St(Hot)
97195
+ St(xot),
97196
+ St($ot)
97195
97197
  ]),
97196
97198
  _: 1
97197
97199
  }),
97198
- St(dot)
97200
+ St(hot)
97199
97201
  ]),
97200
97202
  _: 1
97201
97203
  })
@@ -97204,7 +97206,7 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
97204
97206
  });
97205
97207
  };
97206
97208
  }
97207
- }), EI = /* @__PURE__ */ pg(jot, [["__scopeId", "data-v-94b49161"]]), qot = /* @__PURE__ */ xr({
97209
+ }), EI = /* @__PURE__ */ pg(qot, [["__scopeId", "data-v-94b49161"]]), Yot = /* @__PURE__ */ xr({
97208
97210
  __name: "index",
97209
97211
  setup(n) {
97210
97212
  const e = [g_().userInfo.username], t = {
@@ -97223,13 +97225,13 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
97223
97225
  }, {
97224
97226
  default: rn(() => [
97225
97227
  (sn(), Wr(vD(t[o.value]))),
97226
- St(eot)
97228
+ St(tot)
97227
97229
  ]),
97228
97230
  _: 1
97229
97231
  }, 8, ["font"]);
97230
97232
  };
97231
97233
  }
97232
- }), Sit = /* @__PURE__ */ pg(qot, [["__scopeId", "data-v-055ac897"]]), wit = {
97234
+ }), wit = /* @__PURE__ */ pg(Yot, [["__scopeId", "data-v-055ac897"]]), Eit = {
97233
97235
  install: (n, e) => {
97234
97236
  if (!kne)
97235
97237
  throw new Error("Please set base routes first");
@@ -97240,17 +97242,17 @@ const iot = /* @__PURE__ */ pg(oot, [["render", aot], ["__scopeId", "data-v-ed66
97240
97242
  version: "__VERSION__"
97241
97243
  };
97242
97244
  export {
97243
- Iat as AlertUtils,
97244
- Pat as AssetsUtils,
97245
+ Pat as AlertUtils,
97246
+ Bat as AssetsUtils,
97245
97247
  KM as AuthUtils,
97246
97248
  P6e as AutoApiUtils,
97247
- vit as BasicAvatar,
97249
+ yit as BasicAvatar,
97248
97250
  JU as BasicDialog,
97249
- rit as BasicDrawer,
97250
- _it as BasicRadioButton,
97251
- Bat as BrowserUtils,
97252
- xit as CopyText,
97253
- Fat as CopyUtils,
97251
+ oit as BasicDrawer,
97252
+ Cit as BasicRadioButton,
97253
+ Fat as BrowserUtils,
97254
+ _it as CopyText,
97255
+ Vat as CopyUtils,
97254
97256
  Y5e as DASHBOARD_URL,
97255
97257
  uNe as DATE_FORMAT,
97256
97258
  fNe as DATE_HOUR_FORMAT,
@@ -97276,52 +97278,52 @@ export {
97276
97278
  s0e as DEFAULT_UPDATE_KEY,
97277
97279
  l0e as DEFAULT_UPDATE_URL,
97278
97280
  J5e as ERROR_LOG_URL,
97279
- oit as FormDialog,
97280
- zat as FormatUtils,
97281
- Hat as GreetUtils,
97281
+ ait as FormDialog,
97282
+ Hat as FormatUtils,
97283
+ $at as GreetUtils,
97282
97284
  q5e as HOME_URL,
97283
97285
  dNe as HOUR_FORMAT,
97284
- yit as HooksUtils,
97286
+ bit as HooksUtils,
97285
97287
  Vne as IconSwitch,
97286
97288
  VBe as InlineRefreshButton,
97287
- gat as InstallUtils,
97289
+ mat as InstallUtils,
97288
97290
  K5e as LOGIN_URL,
97289
- $at as LanguageUtils,
97290
- Sit as LayoutComponent,
97291
+ Uat as LanguageUtils,
97292
+ wit as LayoutComponent,
97291
97293
  lBe as Loading,
97292
97294
  _D as LoadingSvg,
97293
97295
  CG as LoadingSvgPath,
97294
- Uat as MenuUtils,
97295
- Yat as MessageUtils,
97296
- pit as ModifyButton,
97296
+ Wat as MenuUtils,
97297
+ Kat as MessageUtils,
97298
+ git as ModifyButton,
97297
97299
  Yo as NProgress,
97298
97300
  tNe as ObjectUtils,
97299
- uit as OpenButton,
97301
+ fit as OpenButton,
97300
97302
  IPe as Page404,
97301
- bit as ProForm,
97302
- eit as ProTable,
97303
- tit as ProTableList,
97304
- nit as ProTableSummary,
97303
+ xit as ProForm,
97304
+ tit as ProTable,
97305
+ nit as ProTableList,
97306
+ rit as ProTableSummary,
97305
97307
  X5e as REQUEST_LOG_URL,
97306
97308
  eMe as ROUTER_WHITE_LIST,
97307
- fit as RefreshButton,
97308
- git as RequestButton,
97309
- hit as ResetButton,
97310
- Wat as RouterUtils,
97311
- Gat as RulesUtils,
97309
+ dit as RefreshButton,
97310
+ mit as RequestButton,
97311
+ pit as ResetButton,
97312
+ Gat as RouterUtils,
97313
+ Zat as RulesUtils,
97312
97314
  Q5e as SQL_LOG_URL,
97313
- dit as SearchButton,
97314
- Nat as SigntureUtils,
97315
- Cit as StatisticCard,
97316
- ait as TableDialog,
97317
- Zat as TimeUtils,
97318
- cit as Tinymce,
97315
+ hit as SearchButton,
97316
+ Iat as SigntureUtils,
97317
+ Sit as StatisticCard,
97318
+ iit as TableDialog,
97319
+ jat as TimeUtils,
97320
+ uit as Tinymce,
97319
97321
  no as Translate,
97320
- iit as UploadAvatar,
97321
- sit as UploadImage,
97322
- lit as UploadImages,
97323
- Vat as VerifyUtils,
97324
- mit as WaterMark,
97322
+ sit as UploadAvatar,
97323
+ lit as UploadImage,
97324
+ cit as UploadImages,
97325
+ zat as VerifyUtils,
97326
+ vit as WaterMark,
97325
97327
  WQ as auth,
97326
97328
  DNe as baseZhFields,
97327
97329
  G6e as bigNumber,
@@ -97330,7 +97332,7 @@ export {
97330
97332
  v1e as copyString,
97331
97333
  m1e as createAutoApi,
97332
97334
  SS as deepClone,
97333
- wit as default,
97335
+ Eit as default,
97334
97336
  W5e as defaultApis,
97335
97337
  p0e as defaultAppConfig,
97336
97338
  Z5e as defaultExecuting,
@@ -97354,7 +97356,7 @@ export {
97354
97356
  lne as getBrowserLang,
97355
97357
  gNe as getCurrentDate,
97356
97358
  pNe as getCurrentHour,
97357
- qat as getCurrentLocale,
97359
+ Yat as getCurrentLocale,
97358
97360
  h1e as getDate,
97359
97361
  I6e as getDownloadUrl,
97360
97362
  une as getFlatMenuList,
@@ -97393,12 +97395,12 @@ export {
97393
97395
  ic as request,
97394
97396
  Vl as routerInstance,
97395
97397
  mye as routerMode,
97396
- Qat as setBaseRoutes,
97398
+ eit as setBaseRoutes,
97397
97399
  kne as setBaseRoutesSuccess,
97398
- Kat as setPiniaPrefix,
97399
- jat as setupI18n,
97400
- Xat as setupPinia,
97401
- Jat as setupRouter,
97400
+ Xat as setPiniaPrefix,
97401
+ qat as setupI18n,
97402
+ Jat as setupPinia,
97403
+ Qat as setupRouter,
97402
97404
  x1e as timeGreet,
97403
97405
  q6e as toString,
97404
97406
  Z6e as transferPrice,