auto-vue-manual 0.2.96 → 0.2.98

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.
@@ -180,7 +180,7 @@ const l0e = (n) => {
180
180
  ...II.executing,
181
181
  ...n.defaultApiConfig.executing
182
182
  })), IQ = [...IQ, ...n?.cancelRequestWhiteList || []];
183
- }, Li = () => ({
183
+ }, bi = () => ({
184
184
  requestBaseUrl: i0e,
185
185
  defaultAuthApi: OQ,
186
186
  defaultApiConfig: II,
@@ -188,7 +188,7 @@ const l0e = (n) => {
188
188
  cancelRequestWhiteList: IQ
189
189
  }), Nnt = {
190
190
  setOptions: l0e,
191
- getOptions: Li
191
+ getOptions: bi
192
192
  }, wd = [];
193
193
  for (let n = 0; n < 256; ++n)
194
194
  wd.push((n + 256).toString(16).slice(1));
@@ -3444,7 +3444,7 @@ function L0e() {
3444
3444
  if (mo < 16)
3445
3445
  to = ta.high = C[E + mo * 2] | 0, or = ta.low = C[E + mo * 2 + 1] | 0;
3446
3446
  else {
3447
- var wa = y[mo - 15], Do = wa.high, _i = wa.low, jr = (Do >>> 1 | _i << 31) ^ (Do >>> 8 | _i << 24) ^ Do >>> 7, hu = (_i >>> 1 | Do << 31) ^ (_i >>> 8 | Do << 24) ^ (_i >>> 7 | Do << 25), zc = y[mo - 2], $i = zc.high, Js = zc.low, Vc = ($i >>> 19 | Js << 13) ^ ($i << 3 | Js >>> 29) ^ $i >>> 6, mn = (Js >>> 19 | $i << 13) ^ (Js << 3 | $i >>> 29) ^ (Js >>> 6 | $i << 26), _r = y[mo - 7], sa = _r.high, Za = _r.low, cn = y[mo - 16], Ui = cn.high, up = cn.low;
3447
+ var wa = y[mo - 15], Do = wa.high, Ci = wa.low, jr = (Do >>> 1 | Ci << 31) ^ (Do >>> 8 | Ci << 24) ^ Do >>> 7, hu = (Ci >>> 1 | Do << 31) ^ (Ci >>> 8 | Do << 24) ^ (Ci >>> 7 | Do << 25), zc = y[mo - 2], $i = zc.high, Js = zc.low, Vc = ($i >>> 19 | Js << 13) ^ ($i << 3 | Js >>> 29) ^ $i >>> 6, mn = (Js >>> 19 | $i << 13) ^ (Js << 3 | $i >>> 29) ^ (Js >>> 6 | $i << 26), _r = y[mo - 7], sa = _r.high, Za = _r.low, cn = y[mo - 16], Ui = cn.high, up = cn.low;
3448
3448
  or = hu + Za, to = jr + sa + (or >>> 0 < hu >>> 0 ? 1 : 0), or = or + mn, to = to + Vc + (or >>> 0 < mn >>> 0 ? 1 : 0), or = or + up, to = to + Ui + (or >>> 0 < up >>> 0 ? 1 : 0), ta.high = to, ta.low = or;
3449
3449
  }
3450
3450
  var ko = Wn & St ^ ~Wn & Je, Ja = rt & xt ^ ~rt & Mr, ic = ht & zt ^ ht & $t ^ zt & $t, Bi = Pt & se ^ Pt & Yt ^ se & Yt, dp = (ht >>> 28 | Pt << 4) ^ (ht << 30 | Pt >>> 2) ^ (ht << 25 | Pt >>> 7), cf = (Pt >>> 28 | ht << 4) ^ (Pt << 30 | ht >>> 2) ^ (Pt << 25 | ht >>> 7), fr = (Wn >>> 14 | rt << 18) ^ (Wn >>> 18 | rt << 14) ^ (Wn << 23 | rt >>> 9), pl = (rt >>> 14 | Wn << 18) ^ (rt >>> 18 | Wn << 14) ^ (rt << 23 | Wn >>> 9), ih = m[mo], Mo = ih.high, Hn = ih.low, Go = ln + pl, gl = pr + fr + (Go >>> 0 < ln >>> 0 ? 1 : 0), Go = Go + Ja, gl = gl + ko + (Go >>> 0 < Ja >>> 0 ? 1 : 0), Go = Go + Hn, gl = gl + Mo + (Go >>> 0 < Hn >>> 0 ? 1 : 0), Go = Go + or, gl = gl + to + (Go >>> 0 < or >>> 0 ? 1 : 0), Xt = cf + Bi, Qs = dp + ic + (Xt >>> 0 < cf >>> 0 ? 1 : 0);
@@ -7181,7 +7181,7 @@ function P0e(n, e = "id", t = {}, r = {}, o = []) {
7181
7181
  };
7182
7182
  }
7183
7183
  function ELe(n, e = "id", t = {}, r = {}, o = []) {
7184
- const { defaultApiConfig: i } = Li(), l = { ...t, ...i.requesting }, c = { ...r, ...i.executing };
7184
+ const { defaultApiConfig: i } = bi(), l = { ...i.requesting, ...t }, c = { ...i.executing, ...r };
7185
7185
  return P0e(
7186
7186
  n,
7187
7187
  e,
@@ -7195,11 +7195,11 @@ const F0e = {
7195
7195
  routineApi: ELe
7196
7196
  };
7197
7197
  function TLe(n) {
7198
- const e = Li().requestBaseUrl;
7198
+ const e = bi().requestBaseUrl;
7199
7199
  return n.includes("https://") || n.includes("http://") ? n + "?" + (/* @__PURE__ */ new Date()).getTime() : e + "/" + n + "?" + (/* @__PURE__ */ new Date()).getTime();
7200
7200
  }
7201
7201
  function DLe(n) {
7202
- const e = Li().requestBaseUrl;
7202
+ const e = bi().requestBaseUrl;
7203
7203
  let t = "downloads/" + n;
7204
7204
  return n.includes("https://") || n.includes("http://") ? t + "?" + (/* @__PURE__ */ new Date()).getTime() : e + "/" + t + "?" + (/* @__PURE__ */ new Date()).getTime();
7205
7205
  }
@@ -7226,9 +7226,9 @@ function z0e(n) {
7226
7226
  r.value = n, document.body.appendChild(r), r.select(), document.execCommand("copy"), r.remove(), console.error(t);
7227
7227
  }
7228
7228
  })().then(() => {
7229
- C0.success(Nr("message.copy !"));
7229
+ C0.success(Nr("message.copied !"));
7230
7230
  }).catch(() => {
7231
- C0.error(Nr("message.copy failed!"));
7231
+ C0.error(Nr("message.copy_failed!"));
7232
7232
  });
7233
7233
  }
7234
7234
  const irt = {
@@ -8690,7 +8690,7 @@ const mrt = async (n, e, t = !1) => {
8690
8690
  };
8691
8691
  async function YBe() {
8692
8692
  try {
8693
- const n = await Ks(Li().defaultAuthApi.CONFIG, {
8693
+ const n = await Ks(bi().defaultAuthApi.CONFIG, {
8694
8694
  env: "Console",
8695
8695
  domain: "",
8696
8696
  key: "i18n"
@@ -8798,7 +8798,7 @@ const yce = "LAYOUT", D0 = NS(yce, {
8798
8798
  // 当前页面是否全屏
8799
8799
  maximize: !1,
8800
8800
  // 主题颜色
8801
- primary: Li().defaultAppConfig.DEFAULT_PRIMARY,
8801
+ primary: bi().defaultAppConfig.DEFAULT_PRIMARY,
8802
8802
  // 折叠菜单
8803
8803
  isCollapse: !1,
8804
8804
  // 菜单手风琴
@@ -8855,7 +8855,7 @@ const yce = "LAYOUT", D0 = NS(yce, {
8855
8855
  e.headers.UUID = t + "," + (/* @__PURE__ */ new Date()).getTime(), B0e(t, e.data).then((i) => {
8856
8856
  e.headers.Sign = i;
8857
8857
  });
8858
- const r = Li().cancelRequestWhiteList || [];
8858
+ const r = bi().cancelRequestWhiteList || [];
8859
8859
  (!r.length || !r.includes(e.url)) && (e.cancelToken = new hl.CancelToken((i) => {
8860
8860
  VQ.push({ url: e.url, fun: i });
8861
8861
  }));
@@ -8866,7 +8866,7 @@ const yce = "LAYOUT", D0 = NS(yce, {
8866
8866
  ), n6e = (n) => n.interceptors.response.use(
8867
8867
  (e) => {
8868
8868
  const t = e.data;
8869
- return Qo.done(), HQ(e.config.url), $Q(e.config.url), e.config.url === Li().defaultAuthApi.LOGOUT ? Promise.resolve(t) : [200, 201].indexOf(t.code) > -1 ? (s1e(e.config), Promise.resolve(t)) : (r6e(t.code, t.message, e.config.url), Promise.reject(t));
8869
+ return Qo.done(), HQ(e.config.url), $Q(e.config.url), e.config.url === bi().defaultAuthApi.LOGOUT ? Promise.resolve(t) : [200, 201].indexOf(t.code) > -1 ? (s1e(e.config), Promise.resolve(t)) : (r6e(t.code, t.message, e.config.url), Promise.reject(t));
8870
8870
  },
8871
8871
  (e) => {
8872
8872
  if (console.error("axios ERROR", e), HQ(""), $Q(""), hl.isCancel(e)) return Promise.reject("request canelled !");
@@ -8885,7 +8885,7 @@ function r6e(n, e, t) {
8885
8885
  }
8886
8886
  function Ks(n, e = {}, t = "POST", r = "application/json", o = "json") {
8887
8887
  const i = {
8888
- baseURL: Li().requestBaseUrl,
8888
+ baseURL: bi().requestBaseUrl,
8889
8889
  url: n,
8890
8890
  method: t,
8891
8891
  data: e,
@@ -8928,11 +8928,11 @@ const bce = "MENU", y2 = NS(bce, {
8928
8928
  },
8929
8929
  actions: {
8930
8930
  async getAuthButtonList() {
8931
- const { data: n } = await Ks(Li().defaultAuthApi.SCOPES, {});
8931
+ const { data: n } = await Ks(bi().defaultAuthApi.SCOPES, {});
8932
8932
  this.authButtonList = n;
8933
8933
  },
8934
8934
  async getAuthMenuList(n = !1) {
8935
- this.authMenuList.length > 0 && !n || await Ks(Li().defaultAuthApi.MENUS, {}).then((e) => {
8935
+ this.authMenuList.length > 0 && !n || await Ks(bi().defaultAuthApi.MENUS, {}).then((e) => {
8936
8936
  this.authMenuList = e.data || [];
8937
8937
  }).catch(() => {
8938
8938
  this.authMenuList = [];
@@ -9105,7 +9105,7 @@ function xrt() {
9105
9105
  const e = `${window.location.host}:PREFIX`;
9106
9106
  if (!localStorage.getItem(e))
9107
9107
  try {
9108
- const t = Li().defaultAuthApi?.CONFIG;
9108
+ const t = bi().defaultAuthApi?.CONFIG;
9109
9109
  Ks(t, { domain: window.location.host, key: "Storage" }).then((r) => {
9110
9110
  const o = JSON.parse(r.data?.config);
9111
9111
  Object.keys(o).length && (localStorage.clear(), localStorage.setItem(e, JSON.stringify(o)), window.location.reload());
@@ -9227,7 +9227,7 @@ async function UQ(n = !1) {
9227
9227
  message: "当前账号无任何菜单权限,请联系系统管理员!",
9228
9228
  type: "warning",
9229
9229
  duration: 3e3
9230
- }), console.error("无权限菜单,退出登录!"), e.logout(), _S?.replace(Li().defaultAppConfig.LOGIN_URL), Promise.reject("No permission");
9230
+ }), console.error("无权限菜单,退出登录!"), e.logout(), _S?.replace(bi().defaultAppConfig.LOGIN_URL), Promise.reject("No permission");
9231
9231
  t.flatMenuListGet.forEach((i) => {
9232
9232
  const l = QLe.deepClone(i);
9233
9233
  l.children && delete l.children, l.name = p6e({ ...i }), l.path = i.url, l.meta = { ...l?.meta || {}, ...i?.meta || {}, active: i?.meta.active || i.url };
@@ -9267,15 +9267,15 @@ const Srt = (n, e = "hash", t) => {
9267
9267
  const c = b2(), f = y2(), h = Vne(), p = cR(), m = f.authMenuListGet || [];
9268
9268
  Qo.start();
9269
9269
  const y = h.signIn.project;
9270
- if (document.title = o.meta.title ? `${Nr(o.meta.title)} - ${y}` : y, o.path === Li().defaultAppConfig.LOGIN_URL)
9270
+ if (document.title = o.meta.title ? `${Nr(o.meta.title)} - ${y}` : y, o.path === bi().defaultAppConfig.LOGIN_URL)
9271
9271
  return c.token && m.length ? l(i.fullPath) : (m.forEach((x) => {
9272
9272
  const { name: C } = x;
9273
9273
  C && r.hasRoute(C) && r.removeRoute(C);
9274
9274
  }), f.clearAuthMenuList(), p.clearTabs(), l());
9275
- if (Li().defaultAppConfig.ROUTER_WHITE_LIST.includes(o.path)) return l();
9275
+ if (bi().defaultAppConfig.ROUTER_WHITE_LIST.includes(o.path)) return l();
9276
9276
  if (!c.token)
9277
9277
  return console.error("token为空,返回登录页", c.token), l({
9278
- path: Li().defaultAppConfig.LOGIN_URL,
9278
+ path: bi().defaultAppConfig.LOGIN_URL,
9279
9279
  replace: !0
9280
9280
  });
9281
9281
  if (!m.length)
@@ -9330,18 +9330,18 @@ const Srt = (n, e = "hash", t) => {
9330
9330
  },
9331
9331
  // Login
9332
9332
  login(n) {
9333
- Ks(Li().defaultAuthApi.LOGIN, n).then(async (e) => {
9333
+ Ks(bi().defaultAuthApi.LOGIN, n).then(async (e) => {
9334
9334
  const t = e.data;
9335
9335
  this.setToken(t.token);
9336
9336
  try {
9337
9337
  await UQ();
9338
9338
  } catch {
9339
- cu.error({ message: "菜单加载失败,请稍后重试" }), console.error("菜单加载失败,返回登录页"), _S?.replace(Li().defaultAppConfig.LOGIN_URL);
9339
+ cu.error({ message: "菜单加载失败,请稍后重试" }), console.error("菜单加载失败,返回登录页"), _S?.replace(bi().defaultAppConfig.LOGIN_URL);
9340
9340
  return;
9341
9341
  }
9342
- this.setScopes(JSON.parse(t.scopes) || {}), await Ks(Li().defaultAuthApi.SELF, {}).then((r) => {
9342
+ this.setScopes(JSON.parse(t.scopes) || {}), await Ks(bi().defaultAuthApi.SELF, {}).then((r) => {
9343
9343
  this.setUserInfo(r.data), r.data.language && D0().setGlobalState("language", r.data.language);
9344
- }), cR().clearTabs(), _S?.push(Li().defaultAppConfig.HOME_URL).then(() => {
9344
+ }), cR().clearTabs(), _S?.push(bi().defaultAppConfig.HOME_URL).then(() => {
9345
9345
  setTimeout(() => {
9346
9346
  const r = {
9347
9347
  type: "success",
@@ -9358,7 +9358,7 @@ const Srt = (n, e = "hash", t) => {
9358
9358
  });
9359
9359
  },
9360
9360
  refreshScopes() {
9361
- Ks(Li().defaultAuthApi.SCOPES, {}).then((n) => {
9361
+ Ks(bi().defaultAuthApi.SCOPES, {}).then((n) => {
9362
9362
  this.setScopes(JSON.parse(n.data)), cu.success({
9363
9363
  message: Nr("message.scopes"),
9364
9364
  type: "success",
@@ -9374,7 +9374,7 @@ const Srt = (n, e = "hash", t) => {
9374
9374
  },
9375
9375
  // Logout
9376
9376
  logout() {
9377
- Ks(Li().defaultAuthApi.LOGOUT, {}).then(() => {
9377
+ Ks(bi().defaultAuthApi.LOGOUT, {}).then(() => {
9378
9378
  localStorage.clear(), cR().clearTabs(), y2().clearAuthMenuList(), this.setToken(""), this.setScopes({}), this.setUserInfo({
9379
9379
  key: "",
9380
9380
  avatar: "",
@@ -9385,7 +9385,7 @@ const Srt = (n, e = "hash", t) => {
9385
9385
  status: 0,
9386
9386
  remark: "",
9387
9387
  login_at: ""
9388
- }), _S?.push(Li().defaultAppConfig.LOGIN_URL);
9388
+ }), _S?.push(bi().defaultAppConfig.LOGIN_URL);
9389
9389
  });
9390
9390
  }
9391
9391
  },
@@ -11790,7 +11790,7 @@ function T6e() {
11790
11790
  Dt.apply(s, a[d]);
11791
11791
  }
11792
11792
  return s;
11793
- }, _i = (a, s) => Do(xt(a, s)), jr = (a, s) => {
11793
+ }, Ci = (a, s) => Do(xt(a, s)), jr = (a, s) => {
11794
11794
  for (let d = 0, g = a.length; d < g; ++d) {
11795
11795
  const _ = a[d];
11796
11796
  if (s(_, d) !== !0)
@@ -12264,10 +12264,10 @@ Required: ` + s.join(", "));
12264
12264
  ], he = {
12265
12265
  browsers: ye(na),
12266
12266
  oses: ye(xs)
12267
- }, Le = "Edge", We = "Chromium", it = "IE", dn = "Opera", Or = "Firefox", ya = "Safari", ti = () => Ci({
12267
+ }, Le = "Edge", We = "Chromium", it = "IE", dn = "Opera", Or = "Firefox", ya = "Safari", ti = () => Si({
12268
12268
  current: void 0,
12269
12269
  version: ff.unknown()
12270
- }), Ci = (a) => {
12270
+ }), Si = (a) => {
12271
12271
  const s = a.current, d = a.version, g = (_) => () => s === _;
12272
12272
  return {
12273
12273
  current: s,
@@ -12282,7 +12282,7 @@ Required: ` + s.join(", "));
12282
12282
  };
12283
12283
  }, _s = {
12284
12284
  unknown: ti,
12285
- nu: Ci
12285
+ nu: Si
12286
12286
  }, _l = "Windows", rl = "iOS", Pl = "Android", Gc = "Linux", tm = "macOS", I0 = "Solaris", uc = "FreeBSD", Cs = "ChromeOS", uh = () => dh({
12287
12287
  current: void 0,
12288
12288
  version: ff.unknown()
@@ -12753,7 +12753,7 @@ Required: ` + s.join(", "));
12753
12753
  Vl(a) && a.style.setProperty(s, d);
12754
12754
  }, L2 = (a, s) => {
12755
12755
  Vl(a) && a.style.removeProperty(s);
12756
- }, Si = (a, s, d) => {
12756
+ }, wi = (a, s, d) => {
12757
12757
  const g = a.dom;
12758
12758
  z0(g, s, d);
12759
12759
  }, cm = (a, s) => {
@@ -13435,7 +13435,7 @@ Required: ` + s.join(", "));
13435
13435
  return s(a);
13436
13436
  }, gw = (a) => {
13437
13437
  const s = /^(~)?(.+)$/;
13438
- return _i(Qi(a, ","), (d) => {
13438
+ return Ci(Qi(a, ","), (d) => {
13439
13439
  const g = s.exec(d);
13440
13440
  if (g) {
13441
13441
  const A = g[1] === "~" ? "span" : "div", R = g[2];
@@ -13516,10 +13516,10 @@ Required: ` + s.join(", "));
13516
13516
  }));
13517
13517
  }, qD = (a) => {
13518
13518
  const s = /^([+\-]?)([A-Za-z0-9_\-.\u00b7\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u037d\u037f-\u1fff\u200c-\u200d\u203f-\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]+)\[([^\]]+)]$/;
13519
- return _i(Qi(a, ","), (d) => {
13519
+ return Ci(Qi(a, ","), (d) => {
13520
13520
  const g = s.exec(d);
13521
13521
  if (g) {
13522
- const _ = g[1], A = _ ? bw(_) : "replace", R = g[2], F = _i(Qi(g[3], "|"), (U) => bb(U).toArray());
13522
+ const _ = g[1], A = _ ? bw(_) : "replace", R = g[2], F = Ci(Qi(g[3], "|"), (U) => bb(U).toArray());
13523
13523
  return [{ operation: A, name: R, validChildren: F }];
13524
13524
  } else
13525
13525
  return [];
@@ -13547,7 +13547,7 @@ Required: ` + s.join(", "));
13547
13547
  }), s.attributesOrder.push(...a.attributesOrder);
13548
13548
  }, _b = (a, s) => {
13549
13549
  const d = /^([#+\-])?([^\[!\/]+)(?:\/([^\[!]+))?(?:(!?)\[([^\]]+)])?$/;
13550
- return _i(Qi(s, ","), (g) => {
13550
+ return Ci(Qi(s, ","), (g) => {
13551
13551
  const _ = d.exec(g);
13552
13552
  if (_) {
13553
13553
  const A = _[1], R = _[2], F = _[3], U = _[4], J = _[5], ie = {
@@ -13580,13 +13580,13 @@ Required: ` + s.join(", "));
13580
13580
  var s;
13581
13581
  const d = {}, g = {};
13582
13582
  let _ = [];
13583
- const A = {}, R = {}, F = (On, Qr, ki) => {
13583
+ const A = {}, R = {}, F = (On, Qr, Mi) => {
13584
13584
  const qs = a[On];
13585
13585
  if (qs)
13586
13586
  return Cc(qs, /[, ]/, Cc(qs.toUpperCase(), /[, ]/));
13587
13587
  {
13588
13588
  let dl = Vd[On];
13589
- return dl || (dl = Rs(Qr, ki), Vd[On] = dl), dl;
13589
+ return dl || (dl = Rs(Qr, Mi), Vd[On] = dl), dl;
13590
13590
  }
13591
13591
  }, U = (s = a.schema) !== null && s !== void 0 ? s : "html5", J = yw(U);
13592
13592
  a.verify_html === !1 && (a.valid_elements = "*[*]");
@@ -13595,9 +13595,9 @@ Required: ` + s.join(", "));
13595
13595
  R[On] = new RegExp("</" + On + "[^>]*>", "gi");
13596
13596
  });
13597
13597
  const kt = (On) => {
13598
- const Qr = se.from(d["@"]), ki = /[*?+]/;
13598
+ const Qr = se.from(d["@"]), Mi = /[*?+]/;
13599
13599
  Je(_b(Qr, On ?? ""), ({ name: qs, element: dl, aliasName: Ps }) => {
13600
- if (Ps && (d[Ps] = dl), ki.test(qs)) {
13600
+ if (Ps && (d[Ps] = dl), Mi.test(qs)) {
13601
13601
  const di = dl;
13602
13602
  di.pattern = K2(qs), _.push(di);
13603
13603
  } else
@@ -13608,7 +13608,7 @@ Required: ` + s.join(", "));
13608
13608
  delete d[Qr];
13609
13609
  }), kt(On);
13610
13610
  }, Rn = (On, Qr) => {
13611
- var ki, qs;
13611
+ var Mi, qs;
13612
13612
  delete Vd.text_block_elements, delete Vd.block_elements;
13613
13613
  const dl = Qr.extends ? !Uu(Qr.extends) : !1, Ps = Qr.extends;
13614
13614
  if (g[On] = Ps ? g[Ps] : {}, A[On] = Ps ?? On, Xe[On.toUpperCase()] = {}, Xe[On] = {}, dl || (Vt[On.toUpperCase()] = {}, Vt[On] = {}), Ps && !d[On] && d[Ps]) {
@@ -13619,7 +13619,7 @@ Required: ` + s.join(", "));
13619
13619
  if (G(Qr.attributes)) {
13620
13620
  const di = (Cd) => {
13621
13621
  fi.attributesOrder.push(Cd), fi.attributes[Cd] = {};
13622
- }, fi = (ki = d[On]) !== null && ki !== void 0 ? ki : {};
13622
+ }, fi = (Mi = d[On]) !== null && Mi !== void 0 ? Mi : {};
13623
13623
  delete fi.attributesDefault, delete fi.attributesForced, delete fi.attributePatterns, delete fi.attributesRequired, fi.attributesOrder = [], fi.attributes = {}, Je(Qr.attributes, (Cd) => {
13624
13624
  const _v = vw(U);
13625
13625
  bb(Cd).each(({ preset: cy, name: d0 }) => {
@@ -13649,14 +13649,14 @@ Required: ` + s.join(", "));
13649
13649
  di[Ps] && (g[fi] = di = Cb({}, g[fi]), di[On] = di[Ps]);
13650
13650
  });
13651
13651
  }, Tr = (On) => {
13652
- Je(gw(On ?? ""), ({ name: Qr, cloneName: ki }) => {
13653
- Rn(Qr, { extends: ki });
13652
+ Je(gw(On ?? ""), ({ name: Qr, cloneName: Mi }) => {
13653
+ Rn(Qr, { extends: Mi });
13654
13654
  });
13655
13655
  }, Lr = (On) => {
13656
- I(On) ? ko(On, (Qr, ki) => Rn(ki, Qr)) : O(On) && Tr(On);
13656
+ I(On) ? ko(On, (Qr, Mi) => Rn(Mi, Qr)) : O(On) && Tr(On);
13657
13657
  }, _o = (On) => {
13658
- Je(qD(On ?? ""), ({ operation: Qr, name: ki, validChildren: qs }) => {
13659
- const dl = Qr === "replace" ? { "#comment": {} } : g[ki], Ps = (fi) => {
13658
+ Je(qD(On ?? ""), ({ operation: Qr, name: Mi, validChildren: qs }) => {
13659
+ const dl = Qr === "replace" ? { "#comment": {} } : g[Mi], Ps = (fi) => {
13660
13660
  Qr === "remove" ? delete dl[fi] : dl[fi] = {};
13661
13661
  }, di = (fi) => {
13662
13662
  mw(U, fi).each((Cd) => {
@@ -13665,15 +13665,15 @@ Required: ` + s.join(", "));
13665
13665
  };
13666
13666
  Je(qs, ({ preset: fi, name: Cd }) => {
13667
13667
  fi ? di(Cd) : Ps(Cd);
13668
- }), g[ki] = dl;
13668
+ }), g[Mi] = dl;
13669
13669
  });
13670
13670
  }, Jo = (On) => {
13671
13671
  const Qr = d[On];
13672
13672
  if (Qr)
13673
13673
  return Qr;
13674
- let ki = _.length;
13675
- for (; ki--; ) {
13676
- const qs = _[ki];
13674
+ let Mi = _.length;
13675
+ for (; Mi--; ) {
13676
+ const qs = _[Mi];
13677
13677
  if (qs.pattern.test(On))
13678
13678
  return qs;
13679
13679
  }
@@ -13715,15 +13715,15 @@ Required: ` + s.join(", "));
13715
13715
  d[On] && delete d[On];
13716
13716
  }), Jo("span") || kt("span[!data-mce-type|*]");
13717
13717
  }, Zs = ye(ie), ul = ye(ce), en = ye(de), Mn = ye(Pe), go = ye(Vt), Co = ye(Et), wt = ye(pn), Ht = ye(Object.seal(De)), En = ye(Re), Br = ye(Xe), Ar = ye(Qe), zo = ye(Ae), $u = ye(vt), ly = ye(ft), xd = ye(Object.seal(R)), eg = (On, Qr) => {
13718
- const ki = g[On.toLowerCase()];
13719
- return !!(ki && ki[Qr.toLowerCase()]);
13718
+ const Mi = g[On.toLowerCase()];
13719
+ return !!(Mi && Mi[Qr.toLowerCase()]);
13720
13720
  }, Yh = (On, Qr) => {
13721
- const ki = Jo(On);
13722
- if (ki)
13721
+ const Mi = Jo(On);
13722
+ if (Mi)
13723
13723
  if (Qr) {
13724
- if (ki.attributes[Qr])
13724
+ if (Mi.attributes[Qr])
13725
13725
  return !0;
13726
- const qs = ki.attributePatterns;
13726
+ const qs = Mi.attributePatterns;
13727
13727
  if (qs) {
13728
13728
  let dl = qs.length;
13729
13729
  for (; dl--; )
@@ -14106,7 +14106,7 @@ Required: ` + s.join(", "));
14106
14106
  X0(s, Yo, g);
14107
14107
  }, oL = (a, s) => z(a) ? Hn(Ef, s) ? a + "" : a + "px" : a, r_ = (a, s, d) => {
14108
14108
  const g = Eh(s);
14109
- Q(d) || d === "" ? _p(a, g) : Si(a, g, oL(d, g));
14109
+ Q(d) || d === "" ? _p(a, g) : wi(a, g, oL(d, g));
14110
14110
  }, Ot = (a, s, d) => {
14111
14111
  const g = s.keep_values, _ = {
14112
14112
  set: (R, F, U) => {
@@ -14158,8 +14158,8 @@ Required: ` + s.join(", "));
14158
14158
  }, Qe = (at, ut, Jt) => {
14159
14159
  Mn(at, (Wt) => {
14160
14160
  if (rn(Wt)) {
14161
- const Un = Ue.fromDom(Wt), uo = Jt === "" ? null : Jt, Mi = Sl(Un, ut), f0 = bH[ut];
14162
- f0 && f0.set ? f0.set(Un.dom, uo, ut) : X0(Un, ut, uo), Mi !== uo && s.onSetAttrib && s.onSetAttrib({
14161
+ const Un = Ue.fromDom(Wt), uo = Jt === "" ? null : Jt, Ri = Sl(Un, ut), f0 = bH[ut];
14162
+ f0 && f0.set ? f0.set(Un.dom, uo, ut) : X0(Un, ut, uo), Ri !== uo && s.onSetAttrib && s.onSetAttrib({
14163
14163
  attrElm: Un.dom,
14164
14164
  // We lie here to not break backwards compatibility
14165
14165
  attrName: ut,
@@ -14217,7 +14217,7 @@ Required: ` + s.join(", "));
14217
14217
  const Un = [];
14218
14218
  let uo = De(at);
14219
14219
  Wt = Wt === void 0;
14220
- const Mi = Jt || (Et().nodeName !== "BODY" ? Et().parentNode : null);
14220
+ const Ri = Jt || (Et().nodeName !== "BODY" ? Et().parentNode : null);
14221
14221
  if (O(ut))
14222
14222
  if (ut === "*")
14223
14223
  ut = rn;
@@ -14225,7 +14225,7 @@ Required: ` + s.join(", "));
14225
14225
  const f0 = ut;
14226
14226
  ut = (Sv) => Tr(Sv, f0);
14227
14227
  }
14228
- for (; uo && !(uo === Mi || Q(uo.nodeType) || id(uo) || qo(uo)); ) {
14228
+ for (; uo && !(uo === Ri || Q(uo.nodeType) || id(uo) || qo(uo)); ) {
14229
14229
  if (!ut || ut(uo))
14230
14230
  if (Wt)
14231
14231
  Un.push(uo);
@@ -14254,9 +14254,9 @@ Required: ` + s.join(", "));
14254
14254
  const Wt = Jt ?? this;
14255
14255
  if (G(at)) {
14256
14256
  const Un = [];
14257
- return Ew(at, (uo, Mi) => {
14257
+ return Ew(at, (uo, Ri) => {
14258
14258
  const f0 = De(uo);
14259
- f0 && Un.push(ut.call(Wt, f0, Mi));
14259
+ f0 && Un.push(ut.call(Wt, f0, Ri));
14260
14260
  }), Un;
14261
14261
  } else {
14262
14262
  const Un = De(at);
@@ -14274,8 +14274,8 @@ Required: ` + s.join(", "));
14274
14274
  Bo(Wt, ut);
14275
14275
  });
14276
14276
  }, wt = (at, ut, Jt, Wt, Un) => Mn(at, (uo) => {
14277
- const Mi = O(ut) ? a.createElement(ut) : ut;
14278
- return j(Jt) && go(Mi, Jt), Wt && (!O(Wt) && Wt.nodeType ? Mi.appendChild(Wt) : O(Wt) && Co(Mi, Wt)), Un ? Mi : uo.appendChild(Mi);
14277
+ const Ri = O(ut) ? a.createElement(ut) : ut;
14278
+ return j(Jt) && go(Ri, Jt), Wt && (!O(Wt) && Wt.nodeType ? Ri.appendChild(Wt) : O(Wt) && Co(Ri, Wt)), Un ? Ri : uo.appendChild(Ri);
14279
14279
  }), Ht = (at, ut, Jt) => wt(a.createElement(at), at, ut, Jt, !0), En = Vg.decode, Br = Vg.encodeAllRaw, Ar = (at, ut, Jt = "") => {
14280
14280
  let Wt = "<" + at;
14281
14281
  for (const Un in ut)
@@ -14318,8 +14318,8 @@ Required: ` + s.join(", "));
14318
14318
  Mn(at, (Wt) => {
14319
14319
  if (rn(Wt)) {
14320
14320
  const Un = Ue.fromDom(Wt), uo = ut.split(" ");
14321
- Je(uo, (Mi) => {
14322
- j(Jt) ? (Jt ? yc : Pa)(Un, Mi) : jR(Un, Mi);
14321
+ Je(uo, (Ri) => {
14322
+ j(Jt) ? (Jt ? yc : Pa)(Un, Ri) : jR(Un, Ri);
14323
14323
  });
14324
14324
  }
14325
14325
  });
@@ -14332,8 +14332,8 @@ Required: ` + s.join(", "));
14332
14332
  return j(Jt) && jr(Wt, (Un) => Xc(Jt, Un));
14333
14333
  }, Qr = (at) => {
14334
14334
  Mn(at, (ut) => _p(Ue.fromDom(ut), "display"));
14335
- }, ki = (at) => {
14336
- Mn(at, (ut) => Si(Ue.fromDom(ut), "display", "none"));
14335
+ }, Mi = (at) => {
14336
+ Mn(at, (ut) => wi(Ue.fromDom(ut), "display", "none"));
14337
14337
  }, qs = (at) => {
14338
14338
  const ut = Pe(at);
14339
14339
  return j(ut) && Hc(B2(ut, "display"), "none");
@@ -14353,8 +14353,8 @@ Required: ` + s.join(", "));
14353
14353
  }, Cd = (at, ut, Jt) => Mn(ut, (Wt) => {
14354
14354
  var Un;
14355
14355
  const uo = G(ut) ? at.cloneNode(!0) : at;
14356
- return Jt && Ew(Y0(Wt.childNodes), (Mi) => {
14357
- uo.appendChild(Mi);
14356
+ return Jt && Ew(Y0(Wt.childNodes), (Ri) => {
14357
+ uo.appendChild(Ri);
14358
14358
  }), (Un = Wt.parentNode) === null || Un === void 0 || Un.replaceChild(uo, Wt), Wt;
14359
14359
  }), _v = (at, ut) => {
14360
14360
  if (at.nodeName !== ut.toUpperCase()) {
@@ -14381,8 +14381,8 @@ Required: ` + s.join(", "));
14381
14381
  } }) : sd(ie, at, Jt), dM = () => a.createRange(), fM = (at, ut, Jt) => {
14382
14382
  let Wt = dM(), Un, uo;
14383
14383
  if (at && ut && at.parentNode && ut.parentNode) {
14384
- const Mi = at.parentNode;
14385
- return Wt.setStart(Mi, wc(at)), Wt.setEnd(ut.parentNode, wc(ut)), Un = Wt.extractContents(), Wt = dM(), Wt.setStart(ut.parentNode, wc(ut) + 1), Wt.setEnd(Mi, wc(at) + 1), uo = Wt.extractContents(), Mi.insertBefore(yb(JC, Un, ie), at), Jt ? Mi.insertBefore(Jt, at) : Mi.insertBefore(ut, at), Mi.insertBefore(yb(JC, uo, ie), at), $u(at), Jt || ut;
14384
+ const Ri = at.parentNode;
14385
+ return Wt.setStart(Ri, wc(at)), Wt.setEnd(ut.parentNode, wc(ut)), Un = Wt.extractContents(), Wt = dM(), Wt.setStart(ut.parentNode, wc(ut) + 1), Wt.setEnd(Ri, wc(at) + 1), uo = Wt.extractContents(), Ri.insertBefore(yb(JC, Un, ie), at), Jt ? Ri.insertBefore(Jt, at) : Ri.insertBefore(ut, at), Ri.insertBefore(yb(JC, uo, ie), at), $u(at), Jt || ut;
14386
14386
  } else
14387
14387
  return;
14388
14388
  }, XE = (at, ut, Jt, Wt) => {
@@ -14405,8 +14405,8 @@ Required: ` + s.join(", "));
14405
14405
  if (J.length > 0 && (at === a || at === g)) {
14406
14406
  let Wt = J.length;
14407
14407
  for (; Wt--; ) {
14408
- const [Un, uo, Mi] = J[Wt];
14409
- at === Un && (!ut || ut === uo) && (!Jt || Jt === Mi) && de.unbind(Un, uo, Mi);
14408
+ const [Un, uo, Ri] = J[Wt];
14409
+ at === Un && (!ut || ut === uo) && (!Jt || Jt === Ri) && de.unbind(Un, uo, Ri);
14410
14410
  }
14411
14411
  }
14412
14412
  return de.unbind(at, ut, Jt);
@@ -14813,7 +14813,7 @@ Required: ` + s.join(", "));
14813
14813
  * // Hides an element by id in the document
14814
14814
  * tinymce.DOM.hide('myid');
14815
14815
  */
14816
- hide: ki,
14816
+ hide: Mi,
14817
14817
  /**
14818
14818
  * Returns true/false if the element is hidden or not by checking the "display" style.
14819
14819
  *
@@ -15174,7 +15174,7 @@ Required: ` + s.join(", "));
15174
15174
  }), delete d.scriptLoadedCallbacks[J];
15175
15175
  }, _ = (U) => {
15176
15176
  const J = ln(U, (ie) => ie.status === "rejected");
15177
- return J.length > 0 ? Promise.reject(_i(J, ({ reason: ie }) => G(ie) ? ie : [ie])) : Promise.resolve();
15177
+ return J.length > 0 ? Promise.reject(Ci(J, ({ reason: ie }) => G(ie) ? ie : [ie])) : Promise.resolve();
15178
15178
  }, A = (U) => Promise.allSettled(xt(U, (J) => d.states[J] === Tb ? (g("resolve", J), Promise.resolve()) : d.states[J] === Yn ? (g("reject", J), Promise.reject(J)) : (d.states[J] = YD, d.loadScript(J).then(() => {
15179
15179
  d.states[J] = Tb, g("resolve", J);
15180
15180
  const ie = d.queue;
@@ -16862,7 +16862,7 @@ Required: ` + s.join(", "));
16862
16862
  for (let d = 0; d < a.rangeCount; d++)
16863
16863
  s.push(a.getRangeAt(d));
16864
16864
  return s;
16865
- }, QL = (a) => _i(a, (s) => {
16865
+ }, QL = (a) => Ci(a, (s) => {
16866
16866
  const d = s1(s);
16867
16867
  return d ? [Ue.fromDom(d)] : [];
16868
16868
  }), eB = (a) => nC(a).length > 1, tB = (a) => ln(QL(a), n1), nB = (a) => Fr(a, "td[data-mce-selected],th[data-mce-selected]"), aa = (a, s) => {
@@ -16877,7 +16877,7 @@ Required: ` + s.join(", "));
16877
16877
  }, Pf = (a) => Cl(a).fold(ye([a]), (s) => [a].concat(Pf(s))), Ff = (a) => Ma(a).fold(ye([a]), (s) => $r(s) === "br" ? al(s).map((d) => [a].concat(Ff(d))).getOr([]) : [a].concat(Ff(s))), hd = (a, s) => pi(oo(s), ns(s), (d, g) => {
16878
16878
  const _ = ta(Pf(a), xe(Gr, d)), A = ta(Ff(a), xe(Gr, g));
16879
16879
  return _.isSome() && A.isSome();
16880
- }).getOr(!1), wi = (a, s, d, g) => {
16880
+ }).getOr(!1), Ai = (a, s, d, g) => {
16881
16881
  const _ = d, A = new Fa(d, _), R = fr(a.schema.getMoveCaretBeforeOnEnterElements(), (U, J) => !rt(["td", "th", "table"], J.toLowerCase()));
16882
16882
  let F = d;
16883
16883
  do {
@@ -17422,7 +17422,7 @@ Required: ` + s.join(", "));
17422
17422
  const sB = ca.DOM, lB = (a) => rn(a) && li.isEditorUIElement(a), cB = (a) => {
17423
17423
  const s = a.classList;
17424
17424
  return s !== void 0 ? s.contains("tox-edit-area") || s.contains("tox-edit-area__iframe") || s.contains("mce-content-body") : !1;
17425
- }, Ai = (a, s) => {
17425
+ }, Ei = (a, s) => {
17426
17426
  const d = Nm(a);
17427
17427
  return sB.getParent(s, (_) => lB(_) || (d ? a.dom.is(_, d) : !1)) !== null;
17428
17428
  }, uB = (a) => {
@@ -17456,13 +17456,13 @@ Required: ` + s.join(", "));
17456
17456
  }), d.on("focusout", () => {
17457
17457
  tr.setEditorTimeout(d, () => {
17458
17458
  const A = a.focusedEditor;
17459
- (!cB(uB(d)) || A !== d) && g(d, Pa), !Ai(d, uB(d)) && A === d && (d.dispatch("blur", { focusedEditor: null }), a.focusedEditor = null);
17459
+ (!cB(uB(d)) || A !== d) && g(d, Pa), !Ei(d, uB(d)) && A === d && (d.dispatch("blur", { focusedEditor: null }), a.focusedEditor = null);
17460
17460
  });
17461
17461
  }), I1 || (I1 = (A) => {
17462
17462
  const R = a.activeEditor;
17463
17463
  R && Jy(A).each((F) => {
17464
17464
  const U = F;
17465
- U.ownerDocument === document && U !== document.body && !Ai(R, U) && a.focusedEditor === R && (R.dispatch("blur", { focusedEditor: null }), a.focusedEditor = null);
17465
+ U.ownerDocument === document && U !== document.body && !Ei(R, U) && a.focusedEditor === R && (R.dispatch("blur", { focusedEditor: null }), a.focusedEditor = null);
17466
17466
  });
17467
17467
  }, sB.bind(document, "focusin", I1));
17468
17468
  }, pZ = (a, s) => {
@@ -17487,7 +17487,7 @@ Required: ` + s.join(", "));
17487
17487
  return s && xZ(Ue.fromDom(s));
17488
17488
  }, CZ = (a) => {
17489
17489
  const s = hf(Ue.fromDom(a.getElement()));
17490
- return yu(s).filter((d) => !cB(d.dom) && Ai(a, d.dom)).isSome();
17490
+ return yu(s).filter((d) => !cB(d.dom) && Ei(a, d.dom)).isSome();
17491
17491
  }, ov = (a) => a.inline ? _Z(a) : B3(a), PA = (a) => ov(a) || CZ(a), dx = (a) => {
17492
17492
  const s = a.selection, d = a.getBody();
17493
17493
  let g = s.getRng();
@@ -17893,7 +17893,7 @@ Required: ` + s.join(", "));
17893
17893
  return F && R !== F && F !== A && _.push(F), _;
17894
17894
  }, U3 = (a, s, d) => se.from(s).bind((g) => se.from(g.parentNode).map((_) => {
17895
17895
  const A = a.nodeIndex(g), R = a.createRng();
17896
- return R.setStart(_, A), R.setEnd(_, A + 1), d && (wi(a, R, g, !0), wi(a, R, g, !1)), R;
17896
+ return R.setStart(_, A), R.setEnd(_, A + 1), d && (Ai(a, R, g, !0), Ai(a, R, g, !1)), R;
17897
17897
  })), $A = (a, s) => xt(s, (d) => {
17898
17898
  const g = a.dispatch("GetSelectionRange", { range: d });
17899
17899
  return g.range !== d ? g.range : d;
@@ -20278,7 +20278,7 @@ Required: ` + s.join(", "));
20278
20278
  enumerable: !0,
20279
20279
  value: !1
20280
20280
  }
20281
- })), En = null, Br = null, Ar = !0, zo = !0, $u = !1, ly = !0, xd = !1, eg = !0, Yh = !1, Uu = !1, _d = !1, tg = !1, XC = !1, On = !1, Qr = !0, ki = !1;
20281
+ })), En = null, Br = null, Ar = !0, zo = !0, $u = !1, ly = !0, xd = !1, eg = !0, Yh = !1, Uu = !1, _d = !1, tg = !1, XC = !1, On = !1, Qr = !0, Mi = !1;
20282
20282
  const qs = "user-content-";
20283
20283
  let dl = !0, Ps = !1, di = {}, fi = null;
20284
20284
  const Cd = da({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
@@ -20299,7 +20299,7 @@ Required: ` + s.join(", "));
20299
20299
  let dt = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
20300
20300
  if (!(ut && ut === dt)) {
20301
20301
  if ((!dt || typeof dt != "object") && (dt = {}), dt = lv(dt), pM = // eslint-disable-next-line unicorn/prefer-includes
20302
- JC.indexOf(dt.PARSER_MEDIA_TYPE) === -1 ? bH : dt.PARSER_MEDIA_TYPE, at = pM === "application/xhtml+xml" ? Ax : hE, Mn = kc(dt, "ALLOWED_TAGS") ? da({}, dt.ALLOWED_TAGS, at) : go, Co = kc(dt, "ALLOWED_ATTR") ? da({}, dt.ALLOWED_ATTR, at) : wt, hM = kc(dt, "ALLOWED_NAMESPACES") ? da({}, dt.ALLOWED_NAMESPACES, Ax) : tle, d0 = kc(dt, "ADD_URI_SAFE_ATTR") ? da(lv(dM), dt.ADD_URI_SAFE_ATTR, at) : dM, _v = kc(dt, "ADD_DATA_URI_TAGS") ? da(lv(cy), dt.ADD_DATA_URI_TAGS, at) : cy, fi = kc(dt, "FORBID_CONTENTS") ? da({}, dt.FORBID_CONTENTS, at) : Cd, En = kc(dt, "FORBID_TAGS") ? da({}, dt.FORBID_TAGS, at) : lv({}), Br = kc(dt, "FORBID_ATTR") ? da({}, dt.FORBID_ATTR, at) : lv({}), di = kc(dt, "USE_PROFILES") ? dt.USE_PROFILES : !1, Ar = dt.ALLOW_ARIA_ATTR !== !1, zo = dt.ALLOW_DATA_ATTR !== !1, $u = dt.ALLOW_UNKNOWN_PROTOCOLS || !1, ly = dt.ALLOW_SELF_CLOSE_IN_ATTR !== !1, xd = dt.SAFE_FOR_TEMPLATES || !1, eg = dt.SAFE_FOR_XML !== !1, Yh = dt.WHOLE_DOCUMENT || !1, tg = dt.RETURN_DOM || !1, XC = dt.RETURN_DOM_FRAGMENT || !1, On = dt.RETURN_TRUSTED_TYPE || !1, _d = dt.FORCE_BODY || !1, Qr = dt.SANITIZE_DOM !== !1, ki = dt.SANITIZE_NAMED_PROPS || !1, dl = dt.KEEP_CONTENT !== !1, Ps = dt.IN_PLACE || !1, en = dt.ALLOWED_URI_REGEXP || B6, KC = dt.NAMESPACE || Cv, Y8 = dt.MATHML_TEXT_INTEGRATION_POINTS || Y8, X8 = dt.HTML_INTEGRATION_POINTS || X8, Ht = dt.CUSTOM_ELEMENT_HANDLING || {}, dt.CUSTOM_ELEMENT_HANDLING && Wt(dt.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (Ht.tagNameCheck = dt.CUSTOM_ELEMENT_HANDLING.tagNameCheck), dt.CUSTOM_ELEMENT_HANDLING && Wt(dt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (Ht.attributeNameCheck = dt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), dt.CUSTOM_ELEMENT_HANDLING && typeof dt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (Ht.allowCustomizedBuiltInElements = dt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), xd && (zo = !1), XC && (tg = !0), di && (Mn = da({}, Vk), Co = [], di.html === !0 && (da(Mn, GF), da(Co, Hk)), di.svg === !0 && (da(Mn, k6), da(Co, $k), da(Co, Uk)), di.svgFilters === !0 && (da(Mn, Y1), da(Co, $k), da(Co, Uk)), di.mathMl === !0 && (da(Mn, n0), da(Co, M6), da(Co, Uk))), dt.ADD_TAGS && (Mn === go && (Mn = lv(Mn)), da(Mn, dt.ADD_TAGS, at)), dt.ADD_ATTR && (Co === wt && (Co = lv(Co)), da(Co, dt.ADD_ATTR, at)), dt.ADD_URI_SAFE_ATTR && da(d0, dt.ADD_URI_SAFE_ATTR, at), dt.FORBID_CONTENTS && (fi === Cd && (fi = lv(fi)), da(fi, dt.FORBID_CONTENTS, at)), dl && (Mn["#text"] = !0), Yh && da(Mn, ["html", "head", "body"]), Mn.table && (da(Mn, ["tbody"]), delete En.tbody), dt.TRUSTED_TYPES_POLICY) {
20302
+ JC.indexOf(dt.PARSER_MEDIA_TYPE) === -1 ? bH : dt.PARSER_MEDIA_TYPE, at = pM === "application/xhtml+xml" ? Ax : hE, Mn = kc(dt, "ALLOWED_TAGS") ? da({}, dt.ALLOWED_TAGS, at) : go, Co = kc(dt, "ALLOWED_ATTR") ? da({}, dt.ALLOWED_ATTR, at) : wt, hM = kc(dt, "ALLOWED_NAMESPACES") ? da({}, dt.ALLOWED_NAMESPACES, Ax) : tle, d0 = kc(dt, "ADD_URI_SAFE_ATTR") ? da(lv(dM), dt.ADD_URI_SAFE_ATTR, at) : dM, _v = kc(dt, "ADD_DATA_URI_TAGS") ? da(lv(cy), dt.ADD_DATA_URI_TAGS, at) : cy, fi = kc(dt, "FORBID_CONTENTS") ? da({}, dt.FORBID_CONTENTS, at) : Cd, En = kc(dt, "FORBID_TAGS") ? da({}, dt.FORBID_TAGS, at) : lv({}), Br = kc(dt, "FORBID_ATTR") ? da({}, dt.FORBID_ATTR, at) : lv({}), di = kc(dt, "USE_PROFILES") ? dt.USE_PROFILES : !1, Ar = dt.ALLOW_ARIA_ATTR !== !1, zo = dt.ALLOW_DATA_ATTR !== !1, $u = dt.ALLOW_UNKNOWN_PROTOCOLS || !1, ly = dt.ALLOW_SELF_CLOSE_IN_ATTR !== !1, xd = dt.SAFE_FOR_TEMPLATES || !1, eg = dt.SAFE_FOR_XML !== !1, Yh = dt.WHOLE_DOCUMENT || !1, tg = dt.RETURN_DOM || !1, XC = dt.RETURN_DOM_FRAGMENT || !1, On = dt.RETURN_TRUSTED_TYPE || !1, _d = dt.FORCE_BODY || !1, Qr = dt.SANITIZE_DOM !== !1, Mi = dt.SANITIZE_NAMED_PROPS || !1, dl = dt.KEEP_CONTENT !== !1, Ps = dt.IN_PLACE || !1, en = dt.ALLOWED_URI_REGEXP || B6, KC = dt.NAMESPACE || Cv, Y8 = dt.MATHML_TEXT_INTEGRATION_POINTS || Y8, X8 = dt.HTML_INTEGRATION_POINTS || X8, Ht = dt.CUSTOM_ELEMENT_HANDLING || {}, dt.CUSTOM_ELEMENT_HANDLING && Wt(dt.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (Ht.tagNameCheck = dt.CUSTOM_ELEMENT_HANDLING.tagNameCheck), dt.CUSTOM_ELEMENT_HANDLING && Wt(dt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (Ht.attributeNameCheck = dt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), dt.CUSTOM_ELEMENT_HANDLING && typeof dt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (Ht.allowCustomizedBuiltInElements = dt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), xd && (zo = !1), XC && (tg = !0), di && (Mn = da({}, Vk), Co = [], di.html === !0 && (da(Mn, GF), da(Co, Hk)), di.svg === !0 && (da(Mn, k6), da(Co, $k), da(Co, Uk)), di.svgFilters === !0 && (da(Mn, Y1), da(Co, $k), da(Co, Uk)), di.mathMl === !0 && (da(Mn, n0), da(Co, M6), da(Co, Uk))), dt.ADD_TAGS && (Mn === go && (Mn = lv(Mn)), da(Mn, dt.ADD_TAGS, at)), dt.ADD_ATTR && (Co === wt && (Co = lv(Co)), da(Co, dt.ADD_ATTR, at)), dt.ADD_URI_SAFE_ATTR && da(d0, dt.ADD_URI_SAFE_ATTR, at), dt.FORBID_CONTENTS && (fi === Cd && (fi = lv(fi)), da(fi, dt.FORBID_CONTENTS, at)), dl && (Mn["#text"] = !0), Yh && da(Mn, ["html", "head", "body"]), Mn.table && (da(Mn, ["tbody"]), delete En.tbody), dt.TRUSTED_TYPES_POLICY) {
20303
20303
  if (typeof dt.TRUSTED_TYPES_POLICY.createHTML != "function")
20304
20304
  throw AC('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
20305
20305
  if (typeof dt.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -20309,14 +20309,14 @@ Required: ` + s.join(", "));
20309
20309
  lt === void 0 && (lt = KF(Ae, _)), lt !== null && typeof Et == "string" && (Et = lt.createHTML(""));
20310
20310
  bd && bd(dt), ut = dt;
20311
20311
  }
20312
- }, uo = da({}, [...k6, ...Y1, ...Ex]), Mi = da({}, [...n0, ...pj]), f0 = function(dt) {
20312
+ }, uo = da({}, [...k6, ...Y1, ...Ex]), Ri = da({}, [...n0, ...pj]), f0 = function(dt) {
20313
20313
  let Ln = Qe(dt);
20314
20314
  (!Ln || !Ln.tagName) && (Ln = {
20315
20315
  namespaceURI: KC,
20316
20316
  tagName: "template"
20317
20317
  });
20318
20318
  const Dr = hE(dt.tagName), js = hE(Ln.tagName);
20319
- return hM[dt.namespaceURI] ? dt.namespaceURI === XE ? Ln.namespaceURI === Cv ? Dr === "svg" : Ln.namespaceURI === fM ? Dr === "svg" && (js === "annotation-xml" || Y8[js]) : !!uo[Dr] : dt.namespaceURI === fM ? Ln.namespaceURI === Cv ? Dr === "math" : Ln.namespaceURI === XE ? Dr === "math" && X8[js] : !!Mi[Dr] : dt.namespaceURI === Cv ? Ln.namespaceURI === XE && !X8[js] || Ln.namespaceURI === fM && !Y8[js] ? !1 : !Mi[Dr] && (nle[Dr] || !uo[Dr]) : !!(pM === "application/xhtml+xml" && hM[dt.namespaceURI]) : !1;
20319
+ return hM[dt.namespaceURI] ? dt.namespaceURI === XE ? Ln.namespaceURI === Cv ? Dr === "svg" : Ln.namespaceURI === fM ? Dr === "svg" && (js === "annotation-xml" || Y8[js]) : !!uo[Dr] : dt.namespaceURI === fM ? Ln.namespaceURI === Cv ? Dr === "math" : Ln.namespaceURI === XE ? Dr === "math" && X8[js] : !!Ri[Dr] : dt.namespaceURI === Cv ? Ln.namespaceURI === XE && !X8[js] || Ln.namespaceURI === fM && !Y8[js] ? !1 : !Ri[Dr] && (nle[Dr] || !uo[Dr]) : !!(pM === "application/xhtml+xml" && hM[dt.namespaceURI]) : !1;
20320
20320
  }, Sv = function(dt) {
20321
20321
  Sx(s.removed, {
20322
20322
  element: dt
@@ -20472,7 +20472,7 @@ Required: ` + s.join(", "));
20472
20472
  value: Wx
20473
20473
  } = Qd, K8 = at(su), ZX = Wx;
20474
20474
  let ef = su === "value" ? ZX : jp(ZX);
20475
- if (Dr.attrName = K8, Dr.attrValue = ef, Dr.keepAttr = !0, Dr.forceKeepAttr = void 0, Ux(sn.uponSanitizeAttribute, dt, Dr), ef = Dr.attrValue, ki && (K8 === "id" || K8 === "name") && (gM(su, dt), ef = qs + ef), eg && au(/((--!?|])>)|<\/(style|title)/i, ef)) {
20475
+ if (Dr.attrName = K8, Dr.attrValue = ef, Dr.keepAttr = !0, Dr.forceKeepAttr = void 0, Ux(sn.uponSanitizeAttribute, dt, Dr), ef = Dr.attrValue, Mi && (K8 === "id" || K8 === "name") && (gM(su, dt), ef = qs + ef), eg && au(/((--!?|])>)|<\/(style|title)/i, ef)) {
20476
20476
  gM(su, dt);
20477
20477
  continue;
20478
20478
  }
@@ -21634,7 +21634,7 @@ Required: ` + s.join(", "));
21634
21634
  let _, A;
21635
21635
  const { selectorChangedWithUnbind: R } = gO(a, g), F = (en, Mn) => {
21636
21636
  const go = a.createRng();
21637
- j(en) && j(Mn) ? (go.setStart(en, Mn), go.setEnd(en, Mn), lt(go), qe(!1)) : (wi(a, go, g.getBody(), !0), lt(go));
21637
+ j(en) && j(Mn) ? (go.setStart(en, Mn), go.setEnd(en, Mn), lt(go), qe(!1)) : (Ai(a, go, g.getBody(), !0), lt(go));
21638
21638
  }, U = (en) => Zf(g, en), J = (en, Mn) => U9(g, en, Mn), ie = (en) => OP(g.getBody(), Qe(), en), ce = (en) => IP(g.getBody(), Qe(), en), de = (en, Mn) => Zs.getBookmark(en, Mn), Ae = (en) => Zs.moveToBookmark(en), Re = (en, Mn) => (U3(a, en, Mn).each(lt), en), De = () => {
21639
21639
  const en = Qe(), Mn = Xe();
21640
21640
  return !en || en.item ? !1 : en.compareEndPoints ? en.compareEndPoints("StartToEnd", en) === 0 : !Mn || en.collapsed;
@@ -22099,8 +22099,8 @@ Options:
22099
22099
  }
22100
22100
  }, rz = (a, s) => {
22101
22101
  Zj(a, s), CO(a, s);
22102
- }, Ei = ca.DOM, jj = (a) => {
22103
- Ei.setStyle(a.id, "display", a.orgDisplay);
22102
+ }, Ti = ca.DOM, jj = (a) => {
22103
+ Ti.setStyle(a.id, "display", a.orgDisplay);
22104
22104
  }, y5 = (a) => se.from(a).each((s) => s.destroy()), oz = (a) => {
22105
22105
  const s = a;
22106
22106
  s.contentAreaContainer = s.formElement = s.container = s.editorContainer = null, s.bodyElement = s.contentDocument = s.contentWindow = null, s.iframeElement = s.targetElm = null;
@@ -22111,11 +22111,11 @@ Options:
22111
22111
  }
22112
22112
  }, SO = (a) => {
22113
22113
  const s = a.formElement;
22114
- s && (s._mceOldSubmit && (s.submit = s._mceOldSubmit, delete s._mceOldSubmit), Ei.unbind(s, "submit reset", a.formEventDelegate));
22114
+ s && (s._mceOldSubmit && (s.submit = s._mceOldSubmit, delete s._mceOldSubmit), Ti.unbind(s, "submit reset", a.formEventDelegate));
22115
22115
  }, az = (a) => {
22116
22116
  if (!a.removed) {
22117
22117
  const { _selectionOverrides: s, editorUpload: d } = a, g = a.getBody(), _ = a.getElement();
22118
- g && a.save({ is_removing: !0 }), a.removed = !0, a.unbindAllNativeEvents(), a.hasHiddenInput && j(_?.nextSibling) && Ei.remove(_.nextSibling), jw(a), a.editorManager.remove(a), !a.inline && g && jj(a), Yw(a), Ei.remove(a.getContainer()), y5(s), y5(d), a.destroy();
22118
+ g && a.save({ is_removing: !0 }), a.removed = !0, a.unbindAllNativeEvents(), a.hasHiddenInput && j(_?.nextSibling) && Ti.remove(_.nextSibling), jw(a), a.editorManager.remove(a), !a.inline && g && jj(a), Yw(a), Ti.remove(a.getContainer()), y5(s), y5(d), a.destroy();
22119
22119
  }
22120
22120
  }, TE = (a, s) => {
22121
22121
  const { selection: d, dom: g } = a;
@@ -23906,7 +23906,7 @@ Options:
23906
23906
  return d.setStart(a, 0), d.setEnd(a, a.data.length), s(d.getClientRects());
23907
23907
  } else
23908
23908
  return [];
23909
- }, p8 = (a) => _i(a, YY);
23909
+ }, p8 = (a) => Ci(a, YY);
23910
23910
  var Fx;
23911
23911
  (function(a) {
23912
23912
  a[a.Up = -1] = "Up", a[a.Down = 1] = "Down";
@@ -24117,7 +24117,7 @@ Options:
24117
24117
  return wa(_, s).fold(ye(_), (A) => _.slice(0, A));
24118
24118
  }, JY = (a) => am(a) === 1, BV = (a) => X5(a, (s) => a.schema.isBlock($r(s)) || LV(s)), QY = (a) => X5(a, (s) => a.schema.isBlock($r(s))), D8 = (a, s) => {
24119
24119
  const d = xe(eF, a);
24120
- return _i(s, (g) => d(g) ? [g.dom] : []);
24120
+ return Ci(s, (g) => d(g) ? [g.dom] : []);
24121
24121
  }, k8 = (a) => {
24122
24122
  const s = QY(a);
24123
24123
  return D8(a, s);
@@ -24237,7 +24237,7 @@ Options:
24237
24237
  }, Po = 5, xo = 400, mi = (a) => a.touches === void 0 || a.touches.length !== 1 ? se.none() : se.some(a.touches[0]), Fo = (a, s) => {
24238
24238
  const d = Math.abs(a.clientX - s.x), g = Math.abs(a.clientY - s.y);
24239
24239
  return d > Po || g > Po;
24240
- }, Ti = (a) => {
24240
+ }, Di = (a) => {
24241
24241
  const s = $c(), d = xr(!1), g = lh((_) => {
24242
24242
  a.dispatch("longpress", { ..._, type: "longpress" }), d.set(!0);
24243
24243
  }, xo);
@@ -24262,12 +24262,12 @@ Options:
24262
24262
  d.get() ? _.preventDefault() : a.dispatch("tap", { ..._, type: "tap" });
24263
24263
  });
24264
24264
  }, !0);
24265
- }, Di = (a, s) => Hn(a, s.nodeName), ry = (a, s) => Ft(s) ? !0 : rn(s) ? !Di(a.getBlockElements(), s) && !Ou(s) && !Tp(a, s) && !hb(s) : !1, zx = (a, s, d) => St(KP(Ue.fromDom(d), Ue.fromDom(s)), (g) => Di(a, g.dom)), K5 = (a, s) => {
24265
+ }, ki = (a, s) => Hn(a, s.nodeName), ry = (a, s) => Ft(s) ? !0 : rn(s) ? !ki(a.getBlockElements(), s) && !Ou(s) && !Tp(a, s) && !hb(s) : !1, zx = (a, s, d) => St(KP(Ue.fromDom(d), Ue.fromDom(s)), (g) => ki(a, g.dom)), K5 = (a, s) => {
24266
24266
  if (Ft(s)) {
24267
24267
  if (s.data.length === 0)
24268
24268
  return !0;
24269
24269
  if (/^\s+$/.test(s.data))
24270
- return !s.nextSibling || Di(a, s.nextSibling) || hb(s.nextSibling);
24270
+ return !s.nextSibling || ki(a, s.nextSibling) || hb(s.nextSibling);
24271
24271
  }
24272
24272
  return !1;
24273
24273
  }, VC = (a) => a.dom.create(Bs(a), Bm(a)), oy = (a) => {
@@ -24417,13 +24417,13 @@ Options:
24417
24417
  })), B8 = (a) => xt(a, (s) => ({
24418
24418
  ...NV,
24419
24419
  ...s
24420
- })), O8 = (a, s) => s.keyCode === a.keyCode && s.shiftKey === a.shiftKey && s.altKey === a.altKey && s.ctrlKey === a.ctrlKey && s.metaKey === a.metaKey, FV = (a, s) => _i(PV(a), (d) => O8(d, s) ? [d] : []), bv = (a, s) => _i(B8(a), (d) => O8(d, s) ? [d] : []), Gn = (a, ...s) => () => a.apply(null, s), qC = (a, s) => ta(FV(a, s), (d) => d.action()), I8 = (a, s) => Za(bv(a, s), (d) => d.action()), tM = (a, s) => {
24420
+ })), O8 = (a, s) => s.keyCode === a.keyCode && s.shiftKey === a.shiftKey && s.altKey === a.altKey && s.ctrlKey === a.ctrlKey && s.metaKey === a.metaKey, FV = (a, s) => Ci(PV(a), (d) => O8(d, s) ? [d] : []), bv = (a, s) => Ci(B8(a), (d) => O8(d, s) ? [d] : []), Gn = (a, ...s) => () => a.apply(null, s), qC = (a, s) => ta(FV(a, s), (d) => d.action()), I8 = (a, s) => Za(bv(a, s), (d) => d.action()), tM = (a, s) => {
24421
24421
  const d = s ? 1 : -1, g = a.selection.getRng();
24422
24422
  return y8(a, d, g, qA, jA, zd).exists((_) => (pv(a, _), !0));
24423
24423
  }, N8 = (a, s) => {
24424
24424
  const d = s ? 1 : -1, g = a.selection.getRng();
24425
24425
  return b8(a, d, g, qA, jA, zd).exists((_) => (pv(a, _), !0));
24426
- }, xv = (a, s) => x8(a, s, s ? jA : qA), zV = (a, s) => P8(a, s, zt), P8 = (a, s, d) => _i(Es(a), (g) => Zc(g, s) ? d(g) ? [g] : [] : P8(g, s, d)), VV = (a, s, d = Pt) => {
24426
+ }, xv = (a, s) => x8(a, s, s ? jA : qA), zV = (a, s) => P8(a, s, zt), P8 = (a, s, d) => Ci(Es(a), (g) => Zc(g, s) ? d(g) ? [g] : [] : P8(g, s, d)), VV = (a, s, d = Pt) => {
24427
24427
  if (d(s))
24428
24428
  return se.none();
24429
24429
  if (rt(a, $r(s)))
@@ -24581,7 +24581,7 @@ Options:
24581
24581
  bottom: a.bottom + s * 2,
24582
24582
  width: a.width + s,
24583
24583
  height: a.height + s
24584
- }), HSe = (a, s) => _i(s, (d) => {
24584
+ }), HSe = (a, s) => Ci(s, (d) => {
24585
24585
  const g = VSe(Bp(d.getBoundingClientRect()), -1);
24586
24586
  return [
24587
24587
  { x: g.left, y: a(g), cell: d },
@@ -25901,7 +25901,7 @@ Input object: ` + Pae(a.input), qV = Vwe, Zae = (a, s) => qV(a, a, Pwe(), s), qa
25901
25901
  const s = r3(a);
25902
25902
  return (d) => qa(d.type, "image/") && St(s, (g) => KEe(g) === d.type);
25903
25903
  }, mTe = (a, s) => {
25904
- const d = s.items ? _i(sa(s.items), (_) => _.kind === "file" ? [_.getAsFile()] : []) : [], g = s.files ? sa(s.files) : [];
25904
+ const d = s.items ? Ci(sa(s.items), (_) => _.kind === "file" ? [_.getAsFile()] : []) : [], g = s.files ? sa(s.files) : [];
25905
25905
  return ln(d.length > 0 ? d : g, vTe(a));
25906
25906
  }, zie = (a, s, d) => {
25907
25907
  const g = pTe(s) ? s.clipboardData : s.dataTransfer;
@@ -26401,7 +26401,7 @@ Input object: ` + Pae(a.input), qV = Vwe, Zae = (a, s) => qV(a, a, Pwe(), s), qa
26401
26401
  A && (rt(A.types, "Files") || A.files.length > 0) && (_.preventDefault(), _.type === "drop" && x5(a, "Dropped file type is not supported"));
26402
26402
  }
26403
26403
  }, d = (_) => {
26404
- Ai(a, _.target) && s(_);
26404
+ Ei(a, _.target) && s(_);
26405
26405
  }, g = () => {
26406
26406
  const _ = ca.DOM, A = a.dom, R = document, F = a.inline ? a.getBody() : a.getDoc(), U = ["drop", "dragover"];
26407
26407
  Je(U, (J) => {
@@ -27265,7 +27265,7 @@ Input object: ` + Pae(a.input), qV = Vwe, Zae = (a, s) => qV(a, a, Pwe(), s), qa
27265
27265
  onSetAttrib: (R) => {
27266
27266
  a.dispatch("SetAttrib", R);
27267
27267
  }
27268
- }), a.parser = C4e(a), a.serializer = J9(_4e(a), a), a.selection = mO(a.dom, a.getWin(), a.serializer, a), a.annotator = bo(a), a.formatter = Rz(a), a.undoManager = Bz(a), a._nodeChangeDispatcher = new FEe(a), a._selectionOverrides = FDe(a), Ti(a), UTe(a), UC(a), dv(a) || (XTe(a), h4e(a));
27268
+ }), a.parser = C4e(a), a.serializer = J9(_4e(a), a), a.selection = mO(a.dom, a.getWin(), a.serializer, a), a.annotator = bo(a), a.formatter = Rz(a), a.undoManager = Bz(a), a._nodeChangeDispatcher = new FEe(a), a._selectionOverrides = FDe(a), Di(a), UTe(a), UC(a), dv(a) || (XTe(a), h4e(a));
27269
27269
  const _ = PEe(a);
27270
27270
  kn(a, _), vv(a), M5(a), VTe(a);
27271
27271
  const A = sO(a);
@@ -30237,7 +30237,7 @@ var k6e = [
30237
30237
  const L = b[w];
30238
30238
  v(u[L], L);
30239
30239
  }
30240
- }, Do = (u, v) => _i(u, ((b, w) => ({ k: w, v: v(b, w) }))), _i = (u, v) => {
30240
+ }, Do = (u, v) => Ci(u, ((b, w) => ({ k: w, v: v(b, w) }))), Ci = (u, v) => {
30241
30241
  const b = {};
30242
30242
  return wa(u, ((w, M) => {
30243
30243
  const L = v(w, M);
@@ -30518,7 +30518,7 @@ Required: ` + v.join(", "));
30518
30518
  if (L == null) throw new Error(w + " not available on this browser");
30519
30519
  return L;
30520
30520
  })("HTMLElement", b))(v).prototype.isPrototypeOf(u) || /^HTML\w*Element$/.test(Nl(u).constructor.name));
30521
- }, Wc = (u) => u.dom.nodeName.toLowerCase(), xl = (u) => (v) => ((b) => b.dom.nodeType)(v) === u, na = (u) => xs(u) && xg(u.dom), xs = xl(1), he = xl(3), Le = xl(9), We = xl(11), it = (u) => (v) => xs(v) && Wc(v) === u, dn = (u) => tn(u.dom.ownerDocument), Or = (u) => Le(u) ? u : dn(u), ya = (u) => tn(Or(u).dom.documentElement), ti = (u) => tn(Or(u).dom.defaultView), Ci = (u) => z.from(u.dom.parentNode).map(tn), _s = (u) => z.from(u.dom.parentElement).map(tn), _l = (u) => z.from(u.dom.offsetParent).map(tn), rl = (u) => we(u.dom.childNodes, tn), Pl = (u, v) => {
30521
+ }, Wc = (u) => u.dom.nodeName.toLowerCase(), xl = (u) => (v) => ((b) => b.dom.nodeType)(v) === u, na = (u) => xs(u) && xg(u.dom), xs = xl(1), he = xl(3), Le = xl(9), We = xl(11), it = (u) => (v) => xs(v) && Wc(v) === u, dn = (u) => tn(u.dom.ownerDocument), Or = (u) => Le(u) ? u : dn(u), ya = (u) => tn(Or(u).dom.documentElement), ti = (u) => tn(Or(u).dom.defaultView), Si = (u) => z.from(u.dom.parentNode).map(tn), _s = (u) => z.from(u.dom.parentElement).map(tn), _l = (u) => z.from(u.dom.offsetParent).map(tn), rl = (u) => we(u.dom.childNodes, tn), Pl = (u, v) => {
30522
30522
  const b = u.dom.childNodes;
30523
30523
  return z.from(b[v]).map(tn);
30524
30524
  }, Gc = (u) => Pl(u, 0), tm = (u, v) => ({ element: u, offset: v }), I0 = (u, v) => {
@@ -30550,12 +30550,12 @@ Required: ` + v.join(", "));
30550
30550
  const v = Cs(u).dom;
30551
30551
  return u.dom === v.activeElement;
30552
30552
  }, vu = (u = F0()) => z.from(u.dom.activeElement).map(tn), Ia = (u) => vu(Cs(u)).filter(((v) => u.dom.contains(v.dom))), dc = (u, v) => {
30553
- Ci(u).each(((b) => {
30553
+ Si(u).each(((b) => {
30554
30554
  b.dom.insertBefore(v.dom, u.dom);
30555
30555
  }));
30556
30556
  }, fh = (u, v) => {
30557
30557
  ((w) => z.from(w.dom.nextSibling).map(tn))(u).fold((() => {
30558
- Ci(u).each(((w) => {
30558
+ Si(u).each(((w) => {
30559
30559
  Cr(w, v);
30560
30560
  }));
30561
30561
  }), ((w) => {
@@ -30860,7 +30860,7 @@ Required: ` + v.join(", "));
30860
30860
  return Ea(b, w, M - b, L - w);
30861
30861
  }, us = () => lm(window), zl = (u, v) => Eo(u.element, v.event.target), X = (u) => (vl(qi(u, "position"), "fixed") ? z.none() : _l(u)).orThunk((() => {
30862
30862
  const v = Md("span");
30863
- return Ci(u).bind(((b) => {
30863
+ return Si(u).bind(((b) => {
30864
30864
  Cr(b, v);
30865
30865
  const w = _l(v);
30866
30866
  return oa(v), w;
@@ -30873,7 +30873,7 @@ Required: ` + v.join(", "));
30873
30873
  const He = (u, v, b) => u.stype === be.Error ? v(u.serror) : b(u.svalue), je = (u) => ({ stype: be.Value, svalue: u }), Rt = (u) => ({ stype: be.Error, serror: u }), Tn = je, Jn = Rt, ur = He, Nn = (u) => l(u) && to(u).length > 100 ? " removed due to size" : JSON.stringify(u, null, 2), Bo = (u, v) => Jn([{ path: u, getErrorInfo: v }]), Ua = (u) => ({ extract: (v, b) => ((w, M) => w.stype === be.Error ? M(w.serror) : w)(u(b), ((w) => ((M, L) => Bo(M, I(L)))(v, w))), toString: I("val") }), Vl = Ua(Tn), ba = I(Vl), z0 = (u, v) => Ua(((b) => {
30874
30874
  const w = typeof b;
30875
30875
  return u(b) ? Tn(b) : Jn(`Expected type: ${v} but got: ${w}`);
30876
- })), L2 = z0(E, "number"), Si = z0(i, "string"), cm = z0(p, "boolean"), bu = z0(C, "function"), WS = (u) => {
30876
+ })), L2 = z0(E, "number"), wi = z0(i, "string"), cm = z0(p, "boolean"), bu = z0(C, "function"), WS = (u) => {
30877
30877
  if (Object(u) !== u) return !0;
30878
30878
  switch ({}.toString.call(u).slice(8, -1)) {
30879
30879
  case "Boolean":
@@ -30983,7 +30983,7 @@ Required: ` + v.join(", "));
30983
30983
  Input object: ` + Nn(u.input), gc = (u, v) => Pd(u, Do(v, $n)), ZS = (u, v) => ((b, w) => {
30984
30984
  const M = el(w);
30985
30985
  return { extract: (L, P) => M().extract(L, P), toString: () => M().toString() };
30986
- })(0, v), Wa = qR, ja = (u, v) => ({ tag: "custom", newKey: u, instantiator: v }), H0 = (u) => fm(((v) => ye(u, v) ? fr.value(v) : fr.error(`Unsupported value: "${v}", choose one of "${u.join(", ")}".`))), Ct = (u) => Wa(u, u, { tag: "required", process: {} }, ba()), vc = (u, v) => Wa(u, u, { tag: "required", process: {} }, v), $0 = (u) => vc(u, L2), vi = (u) => vc(u, Si), Hl = (u, v) => Wa(u, u, { tag: "required", process: {} }, H0(v)), Yi = (u) => vc(u, bu), xh = (u, v) => Wa(u, u, { tag: "required", process: {} }, $n(v)), qS = (u, v) => Wa(u, u, { tag: "required", process: {} }, O2(v)), mc = (u, v) => Wa(u, u, { tag: "required", process: {} }, bh(v)), no = (u) => Wa(u, u, { tag: "option", process: {} }, ba()), yc = (u, v) => Wa(u, u, { tag: "option", process: {} }, v), pm = (u) => yc(u, L2), Pa = (u) => yc(u, Si), jR = (u, v) => yc(u, H0(v)), Xc = (u) => yc(u, bu), I2 = (u, v) => yc(u, bh(v)), Kc = (u, v) => yc(u, $n(v)), ot = (u, v) => Wa(u, u, _p(v), ba()), Us = (u, v, b) => Wa(u, u, _p(v), b), jS = (u, v) => Us(u, v, L2), xa = (u, v) => Us(u, v, Si), oi = (u, v, b) => Us(u, v, H0(b)), Xi = (u, v) => Us(u, v, cm), Fr = (u, v) => Us(u, v, bu), Cp = (u, v, b) => Us(u, v, bh(b)), YS = (u, v, b) => Us(u, v, $n(b)), Sp = (u, v) => ((b, w) => ({ [b]: w }))(u, v), U0 = (u) => ((v) => {
30986
+ })(0, v), Wa = qR, ja = (u, v) => ({ tag: "custom", newKey: u, instantiator: v }), H0 = (u) => fm(((v) => ye(u, v) ? fr.value(v) : fr.error(`Unsupported value: "${v}", choose one of "${u.join(", ")}".`))), Ct = (u) => Wa(u, u, { tag: "required", process: {} }, ba()), vc = (u, v) => Wa(u, u, { tag: "required", process: {} }, v), $0 = (u) => vc(u, L2), vi = (u) => vc(u, wi), Hl = (u, v) => Wa(u, u, { tag: "required", process: {} }, H0(v)), Yi = (u) => vc(u, bu), xh = (u, v) => Wa(u, u, { tag: "required", process: {} }, $n(v)), qS = (u, v) => Wa(u, u, { tag: "required", process: {} }, O2(v)), mc = (u, v) => Wa(u, u, { tag: "required", process: {} }, bh(v)), no = (u) => Wa(u, u, { tag: "option", process: {} }, ba()), yc = (u, v) => Wa(u, u, { tag: "option", process: {} }, v), pm = (u) => yc(u, L2), Pa = (u) => yc(u, wi), jR = (u, v) => yc(u, H0(v)), Xc = (u) => yc(u, bu), I2 = (u, v) => yc(u, bh(v)), Kc = (u, v) => yc(u, $n(v)), ot = (u, v) => Wa(u, u, _p(v), ba()), Us = (u, v, b) => Wa(u, u, _p(v), b), jS = (u, v) => Us(u, v, L2), xa = (u, v) => Us(u, v, wi), oi = (u, v, b) => Us(u, v, H0(b)), Xi = (u, v) => Us(u, v, cm), Fr = (u, v) => Us(u, v, bu), Cp = (u, v, b) => Us(u, v, bh(b)), YS = (u, v, b) => Us(u, v, $n(b)), Sp = (u, v) => ((b, w) => ({ [b]: w }))(u, v), U0 = (u) => ((v) => {
30987
30987
  const b = {};
30988
30988
  return Ne(v, ((w) => {
30989
30989
  b[w.key] = w.value;
@@ -31436,7 +31436,7 @@ Components: ` + JSON.stringify(M.components, null, 2));
31436
31436
  }, V = (K, Y, re) => {
31437
31437
  const ue = re.cyclic ? K0 : Ug;
31438
31438
  return L(K, 0, re, ue);
31439
- }, H = I([Xr(nu([Df, Rr(kp)]), P), Xr(Rr(kp), V), Xr(nu([J0, Rr(Mp)]), ((K, Y, re) => re.onEnter.bind(((ue) => ue(K, Y)))))]), q = I([Xr(Rr(Sm), ((K, Y, re) => re.onEscape.bind(((ue) => ue(K, Y))))), Xr(Rr(kp), ((K, Y, re) => w(K, re).filter(((ue) => !re.useTabstopAt(ue))).bind(((ue) => (((fe) => ((ke) => Ci(ke))(fe).bind(Gc).exists(((ke) => Eo(ke, fe))))(ue) ? P : V)(K, Y, re)))))]);
31439
+ }, H = I([Xr(nu([Df, Rr(kp)]), P), Xr(Rr(kp), V), Xr(nu([J0, Rr(Mp)]), ((K, Y, re) => re.onEnter.bind(((ue) => ue(K, Y)))))]), q = I([Xr(Rr(Sm), ((K, Y, re) => re.onEscape.bind(((ue) => ue(K, Y))))), Xr(Rr(kp), ((K, Y, re) => w(K, re).filter(((ue) => !re.useTabstopAt(ue))).bind(((ue) => (((fe) => ((ke) => Si(ke))(fe).bind(Gc).exists(((ke) => Eo(ke, fe))))(ue) ? P : V)(K, Y, re)))))]);
31440
31440
  return Wg(v, Sc.init, H, q, (() => z.some(M)));
31441
31441
  };
31442
31442
  var Rb = uL(ja("cyclic", j)), e4 = uL(ja("cyclic", ee));
@@ -31575,7 +31575,7 @@ Components: ` + JSON.stringify(M.components, null, 2));
31575
31575
  }, Hd = (u) => {
31576
31576
  Lf(u), oa(u.element), u.getSystem().removeFromWorld(u);
31577
31577
  }, Mh = (u) => {
31578
- const v = Ci(u.element).bind(((b) => u.getSystem().getByDom(b).toOptional()));
31578
+ const v = Si(u.element).bind(((b) => u.getSystem().getByDom(b).toOptional()));
31579
31579
  Hd(u), v.each(((b) => {
31580
31580
  b.syncComponents();
31581
31581
  }));
@@ -32078,7 +32078,7 @@ Complete spec:
32078
32078
  A_(b, u, v);
32079
32079
  })), yt(Og(), ((b, w) => {
32080
32080
  sA(b, u, v);
32081
- }))]) }), U4 = [Kc("contextual", [vi("fadeInClass"), vi("fadeOutClass"), vi("transitionClass"), Yi("lazyContext"), Yr("onShow"), Yr("onShown"), Yr("onHide"), Yr("onHidden")]), Fr("lazyViewport", (() => ({ bounds: us(), optScrollEnv: z.none() }))), Cp("modes", ["top", "bottom"], Si), Yr("onDocked"), Yr("onUndocked")];
32081
+ }))]) }), U4 = [Kc("contextual", [vi("fadeInClass"), vi("fadeOutClass"), vi("transitionClass"), Yi("lazyContext"), Yr("onShow"), Yr("onShown"), Yr("onHide"), Yr("onHidden")]), Fr("lazyViewport", (() => ({ bounds: us(), optScrollEnv: z.none() }))), Cp("modes", ["top", "bottom"], wi), Yr("onDocked"), Yr("onUndocked")];
32082
32082
  const _a = Ls({ fields: U4, name: "docking", active: lA, apis: RL, state: Object.freeze({ __proto__: null, init: (u) => {
32083
32083
  const v = cn(!1), b = cn(!0), w = yo(), M = cn(u.modes);
32084
32084
  return eu({ isDocked: v.get, setDocked: v.set, getInitialPos: w.get, setInitialPos: w.set, clearInitialPos: w.clear, isVisible: b.get, setVisible: b.set, getModes: M.get, setModes: M.set, readState: () => `docked: ${v.get()}, visible: ${b.get()}, modes: ${M.get().join(",")}` });
@@ -32152,7 +32152,7 @@ Complete spec:
32152
32152
  return { uid: u.uid, dom: { tag: "div", attributes: { role: "presentation", ...v }, ...b }, components: u.components, behaviours: R_(u.containerBehaviours), events: u.events, domModification: u.domModification, eventOrder: u.eventOrder };
32153
32153
  }, configFields: [ot("components", []), Pi("containerBehaviours", []), ot("events", {}), ot("domModification", {}), ot("eventOrder", {})] }), L_ = "data-initial-z-index", jb = (u, v) => {
32154
32154
  u.getSystem().addToGui(v), ((b) => {
32155
- Ci(b.element).filter(xs).each(((w) => {
32155
+ Si(b.element).filter(xs).each(((w) => {
32156
32156
  qi(w, "z-index").each(((M) => {
32157
32157
  qn(w, L_, M);
32158
32158
  })), jn(w, "z-index", gi(b.element, "z-index"));
@@ -32160,7 +32160,7 @@ Complete spec:
32160
32160
  })(v);
32161
32161
  }, PL = (u) => {
32162
32162
  ((v) => {
32163
- Ci(v.element).filter(xs).each(((b) => {
32163
+ Si(v.element).filter(xs).each(((b) => {
32164
32164
  cs(b, L_).fold((() => mr(b, "z-index")), ((w) => jn(b, "z-index", w))), Ha(b, L_);
32165
32165
  }));
32166
32166
  })(u), u.getSystem().removeFromGui(u);
@@ -32577,7 +32577,7 @@ Complete spec:
32577
32577
  const w = N_(b, v.item.element), M = Jb(u.element, v, Gd(), A1(), Gd(), A1(), z.none());
32578
32578
  return z.some(SA({ anchorBox: w, bubble: Fg(), overrides: v.overrides, layouts: M }));
32579
32579
  }))], g3 = gc("type", { selection: Lh, node: f3, hotspot: V_, submenu: Zd, makeshift: u3 });
32580
- const E1 = [mc("classes", Si), oi("mode", "all", ["all", "layout", "placement"])], W_ = [ot("useFixed", j), no("getBounds")], pP = [vc("anchor", g3), Kc("transition", E1)], G_ = (u, v, b, w, M, L) => {
32580
+ const E1 = [mc("classes", wi), oi("mode", "all", ["all", "layout", "placement"])], W_ = [ot("useFixed", j), no("getBounds")], pP = [vc("anchor", g3), Kc("transition", E1)], G_ = (u, v, b, w, M, L) => {
32581
32581
  const P = wl("placement.info", $n(pP), M), V = P.anchor, H = w.element, q = b.get(w.uid);
32582
32582
  Ub((() => {
32583
32583
  jn(H, "position", "fixed");
@@ -32941,7 +32941,7 @@ Receiver: ` + rn(v.element), q, L.data);
32941
32941
  }, oo = (u) => {
32942
32942
  const v = ((b) => b.uid !== void 0)(u) && sa(u, "uid") ? u.uid : h1("memento");
32943
32943
  return { get: (b) => b.getSystem().getByUid(v).getOrDie(), getOpt: (b) => b.getSystem().getByUid(v).toOptional(), asSpec: () => ({ ...u, uid: v }) };
32944
- }, ns = FD, Pf = gb, Ff = I("dismiss.popups"), hd = I("reposition.popups"), wi = I("mouse.released"), rC = (u, v) => {
32944
+ }, ns = FD, Pf = gb, Ff = I("dismiss.popups"), hd = I("reposition.popups"), Ai = I("mouse.released"), rC = (u, v) => {
32945
32945
  const b = { stopBackspace: !0, ...v }, w = ((Y) => {
32946
32946
  const re = yo(), ue = cn(!1), fe = ga(((Ee) => {
32947
32947
  Y.triggerEvent(sb(), Ee), ue.set(!0);
@@ -32996,7 +32996,7 @@ Receiver: ` + rn(v.element), q, L.data);
32996
32996
  })(b, M);
32997
32997
  return P.fold((() => (L.logEventNoHandlers(v, w), M1.complete())), ((H) => {
32998
32998
  const q = H.descHandler;
32999
- return Zw(q)(V), V.isStopped() ? (L.logEventStopped(v, H.element, q.purpose), M1.stopped()) : V.isCut() ? (L.logEventCut(v, H.element, q.purpose), M1.complete()) : Ci(H.element).fold((() => (L.logNoParent(v, H.element, q.purpose), M1.complete())), ((K) => (L.logEventResponse(v, H.element, q.purpose), M1.resume(K))));
32999
+ return Zw(q)(V), V.isStopped() ? (L.logEventStopped(v, H.element, q.purpose), M1.stopped()) : V.isCut() ? (L.logEventCut(v, H.element, q.purpose), M1.complete()) : Si(H.element).fold((() => (L.logNoParent(v, H.element, q.purpose), M1.complete())), ((K) => (L.logEventResponse(v, H.element, q.purpose), M1.resume(K))));
33000
33000
  }));
33001
33001
  }, oC = (u, v, b, w, M, L) => R1(u, v, b, w, M, L).fold(ee, ((P) => oC(u, v, b, P, M, L)), j), C3 = (u, v, b, w, M) => {
33002
33002
  const L = ax(b, w);
@@ -33038,7 +33038,7 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
33038
33038
  u.registerId(L, M, w.events), v[M] = w;
33039
33039
  }, unregister: b, getById: (w) => mn(v, w) };
33040
33040
  }, RA = (u) => {
33041
- const v = (Ee) => Ci(u.element).fold(ee, ((Me) => Eo(Ee, Me))), b = S3(), w = (Ee, Me) => b.find(v, Ee, Me), M = rC(u.element, { triggerEvent: (Ee, Me) => _c(Ee, Me.target, ((Ce) => ((Se, Be, Oe, $e) => C3(Se, Be, Oe, Oe.target, $e))(w, Ee, Me, Ce))) }), L = { debugInfo: I("real"), triggerEvent: (Ee, Me, Ce) => {
33041
+ const v = (Ee) => Si(u.element).fold(ee, ((Me) => Eo(Ee, Me))), b = S3(), w = (Ee, Me) => b.find(v, Ee, Me), M = rC(u.element, { triggerEvent: (Ee, Me) => _c(Ee, Me.target, ((Ce) => ((Se, Be, Oe, $e) => C3(Se, Be, Oe, Oe.target, $e))(w, Ee, Me, Ce))) }), L = { debugInfo: I("real"), triggerEvent: (Ee, Me, Ce) => {
33042
33042
  _c(Ee, Me, ((Se) => C3(w, Ee, Ce, Me, Se)));
33043
33043
  }, triggerFocus: (Ee, Me) => {
33044
33044
  f1(Ee).fold((() => {
@@ -33204,7 +33204,7 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
33204
33204
  ke[Oe] = Be;
33205
33205
  }));
33206
33206
  }));
33207
- const Ee = fe, Me = _i(fe, ((Se, Be) => ({ k: Se, v: Be }))), Ce = Do(Me, ((Se, Be) => [Be].concat(T3(ke, Ee, Me, Be))));
33207
+ const Ee = fe, Me = Ci(fe, ((Se, Be) => ({ k: Se, v: Be }))), Ce = Do(Me, ((Se, Be) => [Be].concat(T3(ke, Ee, Me, Be))));
33208
33208
  return Do(ke, ((Se) => mn(Ce, Se).getOr([Se])));
33209
33209
  })(Y, K);
33210
33210
  b.set(re);
@@ -33633,7 +33633,7 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
33633
33633
  } : k })]), hZ = (u) => ({ ...mP(u), ...fs(u.inputBehaviours, [Kt.config({ store: { mode: "manual", ...u.data.map(((v) => ({ initialValue: v }))).getOr({}), getValue: (v) => u.fromInputValue(pf(v.element)), setValue: (v, b) => {
33634
33634
  pf(v.element) !== b && mh(v.element, u.toInputValue(b));
33635
33635
  } }, onSetValue: u.onSetValue })]) }), yP = (u) => ({ tag: u.tag, attributes: { type: u.type, ...u.inputAttributes }, styles: u.inputStyles, classes: u.inputClasses }), qm = Ru({ name: "Input", configFields: vP(), factory: (u, v) => ({ uid: u.uid, dom: yP(u), components: [], behaviours: hZ(u), eventOrder: u.eventOrder }) }), I1 = ND(lC(), Um()), sB = I([Ct("lazySink"), no("dragBlockClass"), Fr("getBounds", us), ot("useTabstopAt", ee), ot("firstTabstop", 0), ot("eventOrder", {}), Pi("modalBehaviours", [_n]), Al("onExecute"), id("onEscape")]), lB = { sketch: W }, cB = I([ld({ name: "draghandle", overrides: (u, v) => ({ behaviours: Ot([Rh.config({ mode: "mouse", getTarget: (b) => qc(b, '[role="dialog"]').getOr(b), blockerClass: u.dragBlockClass.getOrDie(new Error(`The drag blocker class was not specified for a dialog with a drag handle:
33636
- ` + JSON.stringify(v, null, 2)).message), getBounds: u.getDragBounds })]) }) }), ks({ schema: [Ct("dom")], name: "title" }), ks({ factory: lB, schema: [Ct("dom")], name: "close" }), ks({ factory: lB, schema: [Ct("dom")], name: "body" }), ld({ factory: lB, schema: [Ct("dom")], name: "footer" }), Qc({ factory: { sketch: (u, v) => ({ ...u, dom: v.dom, components: v.components }) }, schema: [ot("dom", { tag: "div", styles: { position: "fixed", left: "0px", top: "0px", right: "0px", bottom: "0px" } }), ot("components", [])], name: "blocker" })]), Ai = Os({ name: "ModalDialog", configFields: sB(), partFields: cB(), factory: (u, v, b, w) => {
33636
+ ` + JSON.stringify(v, null, 2)).message), getBounds: u.getDragBounds })]) }) }), ks({ schema: [Ct("dom")], name: "title" }), ks({ factory: lB, schema: [Ct("dom")], name: "close" }), ks({ factory: lB, schema: [Ct("dom")], name: "body" }), ld({ factory: lB, schema: [Ct("dom")], name: "footer" }), Qc({ factory: { sketch: (u, v) => ({ ...u, dom: v.dom, components: v.components }) }, schema: [ot("dom", { tag: "div", styles: { position: "fixed", left: "0px", top: "0px", right: "0px", bottom: "0px" } }), ot("components", [])], name: "blocker" })]), Ei = Os({ name: "ModalDialog", configFields: sB(), partFields: cB(), factory: (u, v, b, w) => {
33637
33637
  const M = yo(), L = Xt("modal-events"), P = { ...u.eventOrder, [Jc()]: [L].concat(u.eventOrder["alloy.system.attached"] || []) }, V = cc();
33638
33638
  return { uid: u.uid, dom: u.dom, components: v, apis: { show: (H) => {
33639
33639
  M.set(H);
@@ -33642,7 +33642,7 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
33642
33642
  }))])]) });
33643
33643
  Mm(q, Y), _n.focusIn(H);
33644
33644
  }, hide: (H) => {
33645
- M.clear(), Ci(H.element).each(((q) => {
33645
+ M.clear(), Si(H.element).each(((q) => {
33646
33646
  H.getSystem().getByDom(q).each(((K) => {
33647
33647
  Mh(K);
33648
33648
  }));
@@ -33850,7 +33850,7 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
33850
33850
  }, Me = (Ce) => {
33851
33851
  Ro(Ce, u, "spectrum").map(_n.focusIn);
33852
33852
  };
33853
- return { uid: u.uid, dom: u.dom, components: v, behaviours: fs(u.sliderBehaviours, [_n.config({ mode: "special", focusIn: Me }), Kt.config({ store: { mode: "manual", getValue: (Ce) => K.value.get(), setValue: ue } }), Gl.config({ channels: { [wi()]: { onReceive: fe } } })]), events: jo([yt(ov(), ((Ce, Se) => {
33853
+ return { uid: u.uid, dom: u.dom, components: v, behaviours: fs(u.sliderBehaviours, [_n.config({ mode: "special", focusIn: Me }), Kt.config({ store: { mode: "manual", getValue: (Ce) => K.value.get(), setValue: ue } }), Gl.config({ channels: { [Ai()]: { onReceive: fe } } })]), events: jo([yt(ov(), ((Ce, Se) => {
33854
33854
  ((Be, Oe) => {
33855
33855
  ue(Be, Oe);
33856
33856
  const $e = M(Be);
@@ -34336,7 +34336,7 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
34336
34336
  const Po = Xo({}, [...k7, ...GB, ...pk, ...ZB, ...jB]);
34337
34337
  let xo = null;
34338
34338
  const mi = Xo({}, [...YB, ...XB, ...gk, ...vk]);
34339
- let Fo = Object.seal(T7(null, { tagNameCheck: { writable: !0, configurable: !1, enumerable: !0, value: null }, attributeNameCheck: { writable: !0, configurable: !1, enumerable: !0, value: null }, allowCustomizedBuiltInElements: { writable: !0, configurable: !1, enumerable: !0, value: !1 } })), Ti = null, Di = null, ry = !0, zx = !0, K5 = !1, VC = !0, oy = !1, gv = !0, vv = !1, Vx = !1, HC = !1, l0 = !1, $C = !1, UC = !1, UE = !0, WC = !1, GC = !0, ay = !1, mv = {}, Kr = null;
34339
+ let Fo = Object.seal(T7(null, { tagNameCheck: { writable: !0, configurable: !1, enumerable: !0, value: null }, attributeNameCheck: { writable: !0, configurable: !1, enumerable: !0, value: null }, allowCustomizedBuiltInElements: { writable: !0, configurable: !1, enumerable: !0, value: !1 } })), Di = null, ki = null, ry = !0, zx = !0, K5 = !1, VC = !0, oy = !1, gv = !0, vv = !1, Vx = !1, HC = !1, l0 = !1, $C = !1, UC = !1, UE = !0, WC = !1, GC = !0, ay = !1, mv = {}, Kr = null;
34340
34340
  const iy = Xo({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
34341
34341
  let Kp = null;
34342
34342
  const M8 = Xo({}, ["audio", "video", "img", "source", "image", "track"]);
@@ -34354,7 +34354,7 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
34354
34354
  }, B8 = function() {
34355
34355
  let nt = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
34356
34356
  if (!$x || $x !== nt) {
34357
- if (nt && typeof nt == "object" || (nt = {}), nt = iv(nt), GE = oX.indexOf(nt.PARSER_MEDIA_TYPE) === -1 ? "text/html" : nt.PARSER_MEDIA_TYPE, Rc = GE === "application/xhtml+xml" ? mC : W1, kn = Gp(nt, "ALLOWED_TAGS") ? Xo({}, nt.ALLOWED_TAGS, Rc) : Po, xo = Gp(nt, "ALLOWED_ATTR") ? Xo({}, nt.ALLOWED_ATTR, Rc) : mi, L8 = Gp(nt, "ALLOWED_NAMESPACES") ? Xo({}, nt.ALLOWED_NAMESPACES, mC) : rX, R8 = Gp(nt, "ADD_URI_SAFE_ATTR") ? Xo(iv(OV), nt.ADD_URI_SAFE_ATTR, Rc) : OV, Kp = Gp(nt, "ADD_DATA_URI_TAGS") ? Xo(iv(M8), nt.ADD_DATA_URI_TAGS, Rc) : M8, Kr = Gp(nt, "FORBID_CONTENTS") ? Xo({}, nt.FORBID_CONTENTS, Rc) : iy, Ti = Gp(nt, "FORBID_TAGS") ? Xo({}, nt.FORBID_TAGS, Rc) : iv({}), Di = Gp(nt, "FORBID_ATTR") ? Xo({}, nt.FORBID_ATTR, Rc) : iv({}), mv = !!Gp(nt, "USE_PROFILES") && nt.USE_PROFILES, ry = nt.ALLOW_ARIA_ATTR !== !1, zx = nt.ALLOW_DATA_ATTR !== !1, K5 = nt.ALLOW_UNKNOWN_PROTOCOLS || !1, VC = nt.ALLOW_SELF_CLOSE_IN_ATTR !== !1, oy = nt.SAFE_FOR_TEMPLATES || !1, gv = nt.SAFE_FOR_XML !== !1, vv = nt.WHOLE_DOCUMENT || !1, l0 = nt.RETURN_DOM || !1, $C = nt.RETURN_DOM_FRAGMENT || !1, UC = nt.RETURN_TRUSTED_TYPE || !1, HC = nt.FORCE_BODY || !1, UE = nt.SANITIZE_DOM !== !1, WC = nt.SANITIZE_NAMED_PROPS || !1, GC = nt.KEEP_CONTENT !== !1, ay = nt.IN_PLACE || !1, Ir = nt.ALLOWED_URI_REGEXP || mk, Hx = nt.NAMESPACE || yv, Q5 = nt.MATHML_TEXT_INTEGRATION_POINTS || Q5, eM = nt.HTML_INTEGRATION_POINTS || eM, Fo = nt.CUSTOM_ELEMENT_HANDLING || {}, nt.CUSTOM_ELEMENT_HANDLING && PV(nt.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (Fo.tagNameCheck = nt.CUSTOM_ELEMENT_HANDLING.tagNameCheck), nt.CUSTOM_ELEMENT_HANDLING && PV(nt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (Fo.attributeNameCheck = nt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), nt.CUSTOM_ELEMENT_HANDLING && typeof nt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (Fo.allowCustomizedBuiltInElements = nt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), oy && (zx = !1), $C && (l0 = !0), mv && (kn = Xo({}, jB), xo = [], mv.html === !0 && (Xo(kn, k7), Xo(xo, YB)), mv.svg === !0 && (Xo(kn, GB), Xo(xo, XB), Xo(xo, vk)), mv.svgFilters === !0 && (Xo(kn, pk), Xo(xo, XB), Xo(xo, vk)), mv.mathMl === !0 && (Xo(kn, ZB), Xo(xo, gk), Xo(xo, vk))), nt.ADD_TAGS && (kn === Po && (kn = iv(kn)), Xo(kn, nt.ADD_TAGS, Rc)), nt.ADD_ATTR && (xo === mi && (xo = iv(xo)), Xo(xo, nt.ADD_ATTR, Rc)), nt.ADD_URI_SAFE_ATTR && Xo(R8, nt.ADD_URI_SAFE_ATTR, Rc), nt.FORBID_CONTENTS && (Kr === iy && (Kr = iv(Kr)), Xo(Kr, nt.FORBID_CONTENTS, Rc)), GC && (kn["#text"] = !0), vv && Xo(kn, ["html", "head", "body"]), kn.table && (Xo(kn, ["tbody"]), delete Ti.tbody), nt.TRUSTED_TYPES_POLICY) {
34357
+ if (nt && typeof nt == "object" || (nt = {}), nt = iv(nt), GE = oX.indexOf(nt.PARSER_MEDIA_TYPE) === -1 ? "text/html" : nt.PARSER_MEDIA_TYPE, Rc = GE === "application/xhtml+xml" ? mC : W1, kn = Gp(nt, "ALLOWED_TAGS") ? Xo({}, nt.ALLOWED_TAGS, Rc) : Po, xo = Gp(nt, "ALLOWED_ATTR") ? Xo({}, nt.ALLOWED_ATTR, Rc) : mi, L8 = Gp(nt, "ALLOWED_NAMESPACES") ? Xo({}, nt.ALLOWED_NAMESPACES, mC) : rX, R8 = Gp(nt, "ADD_URI_SAFE_ATTR") ? Xo(iv(OV), nt.ADD_URI_SAFE_ATTR, Rc) : OV, Kp = Gp(nt, "ADD_DATA_URI_TAGS") ? Xo(iv(M8), nt.ADD_DATA_URI_TAGS, Rc) : M8, Kr = Gp(nt, "FORBID_CONTENTS") ? Xo({}, nt.FORBID_CONTENTS, Rc) : iy, Di = Gp(nt, "FORBID_TAGS") ? Xo({}, nt.FORBID_TAGS, Rc) : iv({}), ki = Gp(nt, "FORBID_ATTR") ? Xo({}, nt.FORBID_ATTR, Rc) : iv({}), mv = !!Gp(nt, "USE_PROFILES") && nt.USE_PROFILES, ry = nt.ALLOW_ARIA_ATTR !== !1, zx = nt.ALLOW_DATA_ATTR !== !1, K5 = nt.ALLOW_UNKNOWN_PROTOCOLS || !1, VC = nt.ALLOW_SELF_CLOSE_IN_ATTR !== !1, oy = nt.SAFE_FOR_TEMPLATES || !1, gv = nt.SAFE_FOR_XML !== !1, vv = nt.WHOLE_DOCUMENT || !1, l0 = nt.RETURN_DOM || !1, $C = nt.RETURN_DOM_FRAGMENT || !1, UC = nt.RETURN_TRUSTED_TYPE || !1, HC = nt.FORCE_BODY || !1, UE = nt.SANITIZE_DOM !== !1, WC = nt.SANITIZE_NAMED_PROPS || !1, GC = nt.KEEP_CONTENT !== !1, ay = nt.IN_PLACE || !1, Ir = nt.ALLOWED_URI_REGEXP || mk, Hx = nt.NAMESPACE || yv, Q5 = nt.MATHML_TEXT_INTEGRATION_POINTS || Q5, eM = nt.HTML_INTEGRATION_POINTS || eM, Fo = nt.CUSTOM_ELEMENT_HANDLING || {}, nt.CUSTOM_ELEMENT_HANDLING && PV(nt.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (Fo.tagNameCheck = nt.CUSTOM_ELEMENT_HANDLING.tagNameCheck), nt.CUSTOM_ELEMENT_HANDLING && PV(nt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (Fo.attributeNameCheck = nt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), nt.CUSTOM_ELEMENT_HANDLING && typeof nt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (Fo.allowCustomizedBuiltInElements = nt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), oy && (zx = !1), $C && (l0 = !0), mv && (kn = Xo({}, jB), xo = [], mv.html === !0 && (Xo(kn, k7), Xo(xo, YB)), mv.svg === !0 && (Xo(kn, GB), Xo(xo, XB), Xo(xo, vk)), mv.svgFilters === !0 && (Xo(kn, pk), Xo(xo, XB), Xo(xo, vk)), mv.mathMl === !0 && (Xo(kn, ZB), Xo(xo, gk), Xo(xo, vk))), nt.ADD_TAGS && (kn === Po && (kn = iv(kn)), Xo(kn, nt.ADD_TAGS, Rc)), nt.ADD_ATTR && (xo === mi && (xo = iv(xo)), Xo(xo, nt.ADD_ATTR, Rc)), nt.ADD_URI_SAFE_ATTR && Xo(R8, nt.ADD_URI_SAFE_ATTR, Rc), nt.FORBID_CONTENTS && (Kr === iy && (Kr = iv(Kr)), Xo(Kr, nt.FORBID_CONTENTS, Rc)), GC && (kn["#text"] = !0), vv && Xo(kn, ["html", "head", "body"]), kn.table && (Xo(kn, ["tbody"]), delete Di.tbody), nt.TRUSTED_TYPES_POLICY) {
34358
34358
  if (typeof nt.TRUSTED_TYPES_POLICY.createHTML != "function") throw vx('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
34359
34359
  if (typeof nt.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw vx('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
34360
34360
  Oe = nt.TRUSTED_TYPES_POLICY, $e = Oe.createHTML("");
@@ -34432,8 +34432,8 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
34432
34432
  if (xv(_t.beforeSanitizeElements, nt, null), tM(nt)) return bv(nt), !0;
34433
34433
  const Kn = Rc(nt.nodeName);
34434
34434
  if (xv(_t.uponSanitizeElement, nt, { tagName: Kn, allowedTags: kn }), gv && nt.hasChildNodes() && !N8(nt.firstElementChild) && yd(/<[/\w!]/g, nt.innerHTML) && yd(/<[/\w!]/g, nt.textContent) || nt.nodeType === 7 || gv && nt.nodeType === 8 && yd(/<[/\w]/g, nt.data)) return bv(nt), !0;
34435
- if (!kn[Kn] || Ti[Kn]) {
34436
- if (!Ti[Kn] && VV(Kn) && (Fo.tagNameCheck instanceof RegExp && yd(Fo.tagNameCheck, Kn) || Fo.tagNameCheck instanceof Function && Fo.tagNameCheck(Kn)))
34435
+ if (!kn[Kn] || Di[Kn]) {
34436
+ if (!Di[Kn] && VV(Kn) && (Fo.tagNameCheck instanceof RegExp && yd(Fo.tagNameCheck, Kn) || Fo.tagNameCheck instanceof Function && Fo.tagNameCheck(Kn)))
34437
34437
  return !1;
34438
34438
  if (GC && !Kr[Kn]) {
34439
34439
  const Ko = Be(nt) || nt.parentNode, La = Se(nt) || nt.childNodes;
@@ -34454,9 +34454,9 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
34454
34454
  })), nt.textContent !== br && (gx(b.removed, { element: nt.cloneNode() }), nt.textContent = br)), xv(_t.afterSanitizeElements, nt, null), !1) : (bv(nt), !0);
34455
34455
  }, P8 = function(nt, br, Kn) {
34456
34456
  if (UE && (br === "id" || br === "name") && (Kn in w || Kn in NV)) return !1;
34457
- if (!(zx && !Di[br] && yd(Pn, br))) {
34457
+ if (!(zx && !ki[br] && yd(Pn, br))) {
34458
34458
  if (!(ry && yd(yr, br))) {
34459
- if (!xo[br] || Di[br]) {
34459
+ if (!xo[br] || ki[br]) {
34460
34460
  if (!(VV(nt) && (Fo.tagNameCheck instanceof RegExp && yd(Fo.tagNameCheck, nt) || Fo.tagNameCheck instanceof Function && Fo.tagNameCheck(nt)) && (Fo.attributeNameCheck instanceof RegExp && yd(Fo.attributeNameCheck, br) || Fo.attributeNameCheck instanceof Function && Fo.attributeNameCheck(br)) || br === "is" && Fo.allowCustomizedBuiltInElements && (Fo.tagNameCheck instanceof RegExp && yd(Fo.tagNameCheck, Kn) || Fo.tagNameCheck instanceof Function && Fo.tagNameCheck(Kn)))) return !1;
34461
34461
  } else if (!R8[br]) {
34462
34462
  if (!yd(Ir, yC(Kn, va, ""))) {
@@ -34528,7 +34528,7 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
34528
34528
  if (Vx || B8(br), b.removed = [], typeof nt == "string" && (ay = !1), ay) {
34529
34529
  if (nt.nodeName) {
34530
34530
  const Jp = Rc(nt.nodeName);
34531
- if (!kn[Jp] || Ti[Jp]) throw vx("root node is forbidden and cannot be sanitized in-place");
34531
+ if (!kn[Jp] || Di[Jp]) throw vx("root node is forbidden and cannot be sanitized in-place");
34532
34532
  }
34533
34533
  } else if (nt instanceof H) Kn = qC("<!---->"), Ko = Kn.ownerDocument.importNode(nt, !0), Ko.nodeType === 1 && Ko.nodeName === "BODY" || Ko.nodeName === "HTML" ? Kn = Ko : Kn.appendChild(Ko);
34534
34534
  else {
@@ -34734,7 +34734,7 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
34734
34734
  return { value: u, dom: L.dom, components: L.components, items: b };
34735
34735
  }
34736
34736
  return { value: u, dom: sq(v, w, M.menuType), components: lq, items: b };
34737
- }, ui = vi("type"), r6 = vi("name"), bC = vi("label"), e0 = vi("text"), Z7 = vi("title"), o6 = vi("icon"), dq = vi("url"), xC = vi("value"), fq = Yi("fetch"), hq = Yi("getSubmenuItems"), _C = Yi("onAction"), pq = Yi("onItemAction"), yx = Fr("onSetup", (() => k)), gq = Pa("name"), Z1 = Pa("text"), vq = Pa("role"), Xd = Pa("icon"), bx = Pa("tooltip"), aE = Pa("label"), a6 = Pa("shortcut"), Mk = Xc("select"), CC = Xi("active", !1), i6 = Xi("borderless", !1), Gh = Xi("enabled", !0), Rk = Xi("primary", !1), q7 = (u) => ot("columns", u), iE = ot("meta", {}), Lk = Fr("onAction", k), t0 = (u) => xa("type", u), SC = (u) => Wa("name", "name", um((() => Xt(`${u}-name`))), Si), j7 = [ui, e0, Hl("level", ["info", "warn", "error", "success"]), o6, ot("url", "")], sv = $n(j7), s6 = [ui, e0, Gh, SC("button"), Xd, i6, jR("buttonType", ["primary", "secondary", "toolbar"]), Rk, xa("context", "mode:design")], mq = $n(s6), wC = [ui, r6], qp = wC.concat([aE]), yq = wC.concat([bC, Gh, xa("context", "mode:design")]), sE = $n(yq), bq = cm, Y7 = qp.concat([q7("auto"), xa("context", "mode:design")]), l6 = $n(Y7), xq = O2([xC, e0, o6]), c6 = qp.concat([xa("storageKey", "default"), xa("context", "mode:design")]), u6 = $n(c6), _q = Si, X7 = $n(qp), K7 = Si, Cq = wC.concat([xa("tag", "textarea"), vi("scriptId"), vi("scriptUrl"), Xc("onFocus"), Us("settings", void 0, B2)]), J7 = wC.concat([xa("tag", "textarea"), Yi("init")]), Q7 = fm(((u) => pa("customeditor.old", xu(J7), u).orThunk((() => pa("customeditor.new", xu(Cq), u))))), Sq = Si, q1 = [Gh, Z1, vq, a6, Wa("value", "value", um((() => Xt("menuitem-value"))), ba()), iE, xa("context", "mode:design")], wq = $n([ui, r6].concat(q1)), Aq = cm, d6 = [SC("button"), Xd, oi("align", "end", ["start", "end"]), Rk, Gh, jR("buttonType", ["primary", "secondary"]), xa("context", "mode:design")], f6 = [...d6, e0], Bk = [Hl("type", ["submit", "cancel", "custom"]), ...f6], Eq = [Hl("type", ["menu"]), Z1, bx, Xd, mc("items", wq), ...d6], eF = [...d6, Hl("type", ["togglebutton"]), bx, Xd, Z1, Xi("active", !1)], lE = gc("type", { submit: Bk, cancel: Bk, custom: Bk, menu: Eq, togglebutton: eF }), tF = qp.concat([xa("context", "mode:design")]), Tq = $n(tF), Dq = bh(Vl), nF = (u) => [ui, $0("columns"), u], kq = [ui, vi("html"), oi("presets", "presentation", ["presentation", "document"]), Fr("onInit", k), Xi("stretched", !1)], Mq = $n(kq), rF = qp.concat([Xi("border", !1), Xi("sandboxed", !0), Xi("streamContent", !1), Xi("transparent", !0)]), oF = $n(rF), aF = Si, iF = $n(wC.concat([Pa("height")])), Rq = $n([vi("url"), pm("zoom"), pm("cachedWidth"), pm("cachedHeight")]), Lq = qp.concat([Pa("inputMode"), Pa("placeholder"), Xi("maximized", !1), Gh, xa("context", "mode:design")]), sF = $n(Lq), h6 = Si, p6 = (u) => [ui, bC, u, oi("align", "start", ["start", "center", "end"]), Pa("for")], lF = [e0, xC], cF = [e0, mc("items", ZS(0, (() => g6)))], g6 = od([$n(lF), $n(cF)]), Bq = qp.concat([mc("items", g6), Gh, xa("context", "mode:design")]), v6 = $n(Bq), Oq = Si, uF = qp.concat([qS("items", [e0, xC]), jS("size", 1), Gh, xa("context", "mode:design")]), dF = $n(uF), xx = Si, Iq = qp.concat([Xi("constrain", !0), Gh, xa("context", "mode:design")]), m6 = $n(Iq), cE = $n([vi("width"), vi("height")]), Nq = wC.concat([bC, jS("min", 0), jS("max", 0)]), fF = $n(Nq), hF = L2, pF = [ui, mc("header", Si), mc("cells", bh(Si))], y6 = $n(pF), gF = qp.concat([Pa("placeholder"), Xi("maximized", !1), Gh, xa("context", "mode:design")]), Pq = $n(gF), vF = Si, mF = [xa("buttonType", "default"), Pa("text"), Pa("tooltip"), Pa("icon"), Us("search", !1, od([cm, $n([Pa("placeholder")])], ((u) => p(u) ? u ? z.some({ placeholder: z.none() }) : z.none() : z.some(u)))), Yi("fetch"), Fr("onSetup", (() => k)), xa("context", "mode:design")], b6 = $n([ui, ...mF]), x6 = (u) => pa("menubutton", b6, u), yF = [Hl("type", ["directory", "leaf"]), Z7, vi("id"), yc("menu", b6), Pa("customStateIcon"), Pa("customStateIconTooltip")], _6 = $n(yF), Fq = yF.concat([mc("children", ZS(0, (() => Pd("type", { directory: bF, leaf: _6 }))))]), bF = $n(Fq), zq = Pd("type", { directory: bF, leaf: _6 }), Vq = [ui, mc("items", zq), Xc("onLeafAction"), Xc("onToggleExpand"), Cp("defaultExpandedIds", [], Si), Pa("defaultSelectedId")], xF = $n(Vq), uE = qp.concat([oi("filetype", "file", ["image", "media", "file"]), Gh, Pa("picker_text"), xa("context", "mode:design")]), _F = $n(uE), Hq = $n([xC, iE]), C6 = (u) => Wa("items", "items", { tag: "required", process: {} }, bh(fm(((v) => pa(`Checking item of ${u}`, S6, v).fold(((b) => fr.error(V0(b))), ((b) => fr.value(b))))))), S6 = $s((() => {
34737
+ }, ui = vi("type"), r6 = vi("name"), bC = vi("label"), e0 = vi("text"), Z7 = vi("title"), o6 = vi("icon"), dq = vi("url"), xC = vi("value"), fq = Yi("fetch"), hq = Yi("getSubmenuItems"), _C = Yi("onAction"), pq = Yi("onItemAction"), yx = Fr("onSetup", (() => k)), gq = Pa("name"), Z1 = Pa("text"), vq = Pa("role"), Xd = Pa("icon"), bx = Pa("tooltip"), aE = Pa("label"), a6 = Pa("shortcut"), Mk = Xc("select"), CC = Xi("active", !1), i6 = Xi("borderless", !1), Gh = Xi("enabled", !0), Rk = Xi("primary", !1), q7 = (u) => ot("columns", u), iE = ot("meta", {}), Lk = Fr("onAction", k), t0 = (u) => xa("type", u), SC = (u) => Wa("name", "name", um((() => Xt(`${u}-name`))), wi), j7 = [ui, e0, Hl("level", ["info", "warn", "error", "success"]), o6, ot("url", "")], sv = $n(j7), s6 = [ui, e0, Gh, SC("button"), Xd, i6, jR("buttonType", ["primary", "secondary", "toolbar"]), Rk, xa("context", "mode:design")], mq = $n(s6), wC = [ui, r6], qp = wC.concat([aE]), yq = wC.concat([bC, Gh, xa("context", "mode:design")]), sE = $n(yq), bq = cm, Y7 = qp.concat([q7("auto"), xa("context", "mode:design")]), l6 = $n(Y7), xq = O2([xC, e0, o6]), c6 = qp.concat([xa("storageKey", "default"), xa("context", "mode:design")]), u6 = $n(c6), _q = wi, X7 = $n(qp), K7 = wi, Cq = wC.concat([xa("tag", "textarea"), vi("scriptId"), vi("scriptUrl"), Xc("onFocus"), Us("settings", void 0, B2)]), J7 = wC.concat([xa("tag", "textarea"), Yi("init")]), Q7 = fm(((u) => pa("customeditor.old", xu(J7), u).orThunk((() => pa("customeditor.new", xu(Cq), u))))), Sq = wi, q1 = [Gh, Z1, vq, a6, Wa("value", "value", um((() => Xt("menuitem-value"))), ba()), iE, xa("context", "mode:design")], wq = $n([ui, r6].concat(q1)), Aq = cm, d6 = [SC("button"), Xd, oi("align", "end", ["start", "end"]), Rk, Gh, jR("buttonType", ["primary", "secondary"]), xa("context", "mode:design")], f6 = [...d6, e0], Bk = [Hl("type", ["submit", "cancel", "custom"]), ...f6], Eq = [Hl("type", ["menu"]), Z1, bx, Xd, mc("items", wq), ...d6], eF = [...d6, Hl("type", ["togglebutton"]), bx, Xd, Z1, Xi("active", !1)], lE = gc("type", { submit: Bk, cancel: Bk, custom: Bk, menu: Eq, togglebutton: eF }), tF = qp.concat([xa("context", "mode:design")]), Tq = $n(tF), Dq = bh(Vl), nF = (u) => [ui, $0("columns"), u], kq = [ui, vi("html"), oi("presets", "presentation", ["presentation", "document"]), Fr("onInit", k), Xi("stretched", !1)], Mq = $n(kq), rF = qp.concat([Xi("border", !1), Xi("sandboxed", !0), Xi("streamContent", !1), Xi("transparent", !0)]), oF = $n(rF), aF = wi, iF = $n(wC.concat([Pa("height")])), Rq = $n([vi("url"), pm("zoom"), pm("cachedWidth"), pm("cachedHeight")]), Lq = qp.concat([Pa("inputMode"), Pa("placeholder"), Xi("maximized", !1), Gh, xa("context", "mode:design")]), sF = $n(Lq), h6 = wi, p6 = (u) => [ui, bC, u, oi("align", "start", ["start", "center", "end"]), Pa("for")], lF = [e0, xC], cF = [e0, mc("items", ZS(0, (() => g6)))], g6 = od([$n(lF), $n(cF)]), Bq = qp.concat([mc("items", g6), Gh, xa("context", "mode:design")]), v6 = $n(Bq), Oq = wi, uF = qp.concat([qS("items", [e0, xC]), jS("size", 1), Gh, xa("context", "mode:design")]), dF = $n(uF), xx = wi, Iq = qp.concat([Xi("constrain", !0), Gh, xa("context", "mode:design")]), m6 = $n(Iq), cE = $n([vi("width"), vi("height")]), Nq = wC.concat([bC, jS("min", 0), jS("max", 0)]), fF = $n(Nq), hF = L2, pF = [ui, mc("header", wi), mc("cells", bh(wi))], y6 = $n(pF), gF = qp.concat([Pa("placeholder"), Xi("maximized", !1), Gh, xa("context", "mode:design")]), Pq = $n(gF), vF = wi, mF = [xa("buttonType", "default"), Pa("text"), Pa("tooltip"), Pa("icon"), Us("search", !1, od([cm, $n([Pa("placeholder")])], ((u) => p(u) ? u ? z.some({ placeholder: z.none() }) : z.none() : z.some(u)))), Yi("fetch"), Fr("onSetup", (() => k)), xa("context", "mode:design")], b6 = $n([ui, ...mF]), x6 = (u) => pa("menubutton", b6, u), yF = [Hl("type", ["directory", "leaf"]), Z7, vi("id"), yc("menu", b6), Pa("customStateIcon"), Pa("customStateIconTooltip")], _6 = $n(yF), Fq = yF.concat([mc("children", ZS(0, (() => Pd("type", { directory: bF, leaf: _6 }))))]), bF = $n(Fq), zq = Pd("type", { directory: bF, leaf: _6 }), Vq = [ui, mc("items", zq), Xc("onLeafAction"), Xc("onToggleExpand"), Cp("defaultExpandedIds", [], wi), Pa("defaultSelectedId")], xF = $n(Vq), uE = qp.concat([oi("filetype", "file", ["image", "media", "file"]), Gh, Pa("picker_text"), xa("context", "mode:design")]), _F = $n(uE), Hq = $n([xC, iE]), C6 = (u) => Wa("items", "items", { tag: "required", process: {} }, bh(fm(((v) => pa(`Checking item of ${u}`, S6, v).fold(((b) => fr.error(V0(b))), ((b) => fr.value(b))))))), S6 = $s((() => {
34738
34738
  return Pd("type", { alertbanner: sv, bar: $n((u = C6("bar"), [ui, u])), button: mq, checkbox: sE, colorinput: u6, colorpicker: X7, dropzone: Tq, grid: $n(nF(C6("grid"))), iframe: oF, input: sF, listbox: v6, selectbox: dF, sizeinput: m6, slider: fF, textarea: Pq, urlinput: _F, customeditor: Q7, htmlpanel: Mq, imagepreview: iF, collection: l6, label: $n(p6(C6("label"))), table: y6, tree: xF, panel: CF });
34739
34739
  var u;
34740
34740
  })), $q = [ui, ot("classes", []), mc("items", S6)], CF = $n($q), Ok = [SC("tab"), Z7, mc("items", S6)], Uq = [ui, qS("tabs", Ok)], SF = $n(Uq), Wq = f6, wF = lE, AF = $n([vi("title"), vc("body", Pd("type", { panel: CF, tabpanel: SF })), xa("size", "normal"), Cp("buttons", [], wF), ot("initialData", {}), Fr("onAction", k), Fr("onChange", k), Fr("onSubmit", k), Fr("onClose", k), Fr("onCancel", k), Fr("onTabChange", k)]), Gq = $n([Hl("type", ["cancel", "custom"]), ...Wq]), EF = $n([vi("title"), vi("url"), pm("height"), pm("width"), I2("buttons", Gq), Fr("onAction", k), Fr("onCancel", k), Fr("onClose", k), Fr("onMessage", k)]), Ik = (u) => l(u) ? [u].concat(Dt(Vc(u), Ik)) : f(u) ? Dt(u, Ik) : [], TF = (u) => i(u.type) && i(u.name), DF = { checkbox: bq, colorinput: _q, colorpicker: K7, dropzone: Dq, input: h6, iframe: aF, imagepreview: Rq, selectbox: xx, sizeinput: cE, slider: hF, listbox: Oq, size: cE, textarea: vF, urlinput: Hq, customeditor: Sq, collection: xq, togglemenuitem: Aq }, Zq = (u) => {
@@ -34746,7 +34746,7 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
34746
34746
  }, _x = { open: (u, v) => {
34747
34747
  const b = kF(v);
34748
34748
  return u(b.internalDialog, b.initialData, b.dataValidator);
34749
- }, openUrl: (u, v) => u(_u(pa("dialog", EF, v))), redial: (u) => kF(u) }, MF = $n([ui, Z1]), RF = $n([t0("autocompleteitem"), CC, Gh, iE, xC, Z1, Xd]), Cx = [Gh, bx, Xd, Z1, yx, xa("context", "mode:design")], qq = $n([ui, _C, a6].concat(Cx)), w6 = (u) => pa("toolbarbutton", qq, u), A6 = [CC].concat(Cx), jq = $n(A6.concat([ui, _C, a6])), LF = (u) => pa("ToggleButton", jq, u), Nk = [Fr("predicate", j), oi("scope", "node", ["node", "editor"]), oi("position", "selection", ["node", "selection", "line"])], Yq = Cx.concat([t0("contextformbutton"), xa("align", "end"), Rk, _C, ja("original", W)]), Xq = A6.concat([t0("contextformbutton"), xa("align", "end"), Rk, _C, ja("original", W)]), Kq = Cx.concat([t0("contextformbutton")]), Jq = A6.concat([t0("contextformtogglebutton")]), dE = [aE, mc("commands", gc("type", { contextformbutton: Yq, contextformtogglebutton: Xq })), yc("launch", gc("type", { contextformbutton: Kq, contextformtogglebutton: Jq })), Fr("onInput", k), Fr("onSetup", k)], BF = [...Nk, ...dE, Hl("type", ["contextform"]), Fr("initValue", I("")), Pa("placeholder")], Qq = [...Nk, ...dE, Hl("type", ["contextsliderform"]), Fr("initValue", I(0)), Fr("min", I(0)), Fr("max", I(100))], ej = [...Nk, ...dE, Hl("type", ["contextsizeinputform"]), Fr("initValue", I({ width: "", height: "" }))], OF = gc("type", { contextform: BF, contextsliderform: Qq, contextsizeinputform: ej }), tj = Cx.concat([t0("contexttoolbarbutton")]), nj = $n([t0("contexttoolbar"), Kc("launch", tj), vc("items", od([Si, O2([Pa("name"), Pa("label"), mc("items", Si)])]))].concat(Nk)), IF = (u) => ({ name: u.name.getOrUndefined(), label: u.label.getOrUndefined(), items: u.items }), NF = [ui, vi("src"), Pa("alt"), Cp("classes", [], Si)], PF = $n(NF), rj = [ui, e0, gq, Cp("classes", ["tox-collection__item-label"], Si)], oj = $n(rj), FF = $s((() => Pd("type", { cardimage: PF, cardtext: oj, cardcontainer: zF }))), zF = $n([ui, xa("direction", "horizontal"), xa("align", "left"), xa("valign", "middle"), mc("items", FF)]), E6 = $n([ui, aE, mc("items", FF), yx, Lk].concat(q1)), aj = $n([ui, CC, Xd, aE].concat(q1)), T6 = [ui, vi("fancytype"), Lk], ij = [ot("initData", {})].concat(T6), sj = [Xc("select"), YS("initData", {}, [Xi("allowCustomColors", !0), xa("storageKey", "default"), I2("colors", ba())])].concat(T6), lj = [Xc("select"), xh("initData", [$0("columns"), Cp("items", [], ba())])].concat(T6), cj = gc("fancytype", { inserttable: ij, colorswatch: sj, imageselect: lj }), VF = $n([ui, CC, dq, aE, bx].concat(q1)), HF = $n([ui, CC, o6, bC, bx, xC].concat(q1)), uj = $n([ui, yx, Lk, Xd].concat(q1)), dj = $n([ui, hq, yx, Xd].concat(q1)), fj = $n([ui, Xd, CC, yx, _C].concat(q1)), bd = $n([Xd, bx, Fr("onShow", k), Fr("onHide", k), yx]), Zh = $n([ui, vc("items", od([O2([r6, mc("items", Si)]), Si]))].concat(Cx)), $F = $n([ui, bx, Xd, Z1, Mk, fq, yx, oi("presets", "normal", ["normal", "color", "listpreview"]), q7(1), _C, pq, xa("context", "mode:design")]), Pk = [Z1, Xd, Pa("tooltip"), oi("buttonType", "secondary", ["primary", "secondary"]), Xi("borderless", !1), Yi("onAction"), xa("context", "mode:design")], Fk = { button: [...Pk, e0, Hl("type", ["button"])], togglebutton: [...Pk, Xi("active", !1), Hl("type", ["togglebutton"])] }, zk = [Hl("type", ["group"]), Cp("buttons", [], gc("type", Fk))], hj = gc("type", { ...Fk, group: zk }), UF = $n([Cp("buttons", [], hj), Yi("onShow"), Yi("onHide")]), Sx = (u, v, b) => {
34749
+ }, openUrl: (u, v) => u(_u(pa("dialog", EF, v))), redial: (u) => kF(u) }, MF = $n([ui, Z1]), RF = $n([t0("autocompleteitem"), CC, Gh, iE, xC, Z1, Xd]), Cx = [Gh, bx, Xd, Z1, yx, xa("context", "mode:design")], qq = $n([ui, _C, a6].concat(Cx)), w6 = (u) => pa("toolbarbutton", qq, u), A6 = [CC].concat(Cx), jq = $n(A6.concat([ui, _C, a6])), LF = (u) => pa("ToggleButton", jq, u), Nk = [Fr("predicate", j), oi("scope", "node", ["node", "editor"]), oi("position", "selection", ["node", "selection", "line"])], Yq = Cx.concat([t0("contextformbutton"), xa("align", "end"), Rk, _C, ja("original", W)]), Xq = A6.concat([t0("contextformbutton"), xa("align", "end"), Rk, _C, ja("original", W)]), Kq = Cx.concat([t0("contextformbutton")]), Jq = A6.concat([t0("contextformtogglebutton")]), dE = [aE, mc("commands", gc("type", { contextformbutton: Yq, contextformtogglebutton: Xq })), yc("launch", gc("type", { contextformbutton: Kq, contextformtogglebutton: Jq })), Fr("onInput", k), Fr("onSetup", k)], BF = [...Nk, ...dE, Hl("type", ["contextform"]), Fr("initValue", I("")), Pa("placeholder")], Qq = [...Nk, ...dE, Hl("type", ["contextsliderform"]), Fr("initValue", I(0)), Fr("min", I(0)), Fr("max", I(100))], ej = [...Nk, ...dE, Hl("type", ["contextsizeinputform"]), Fr("initValue", I({ width: "", height: "" }))], OF = gc("type", { contextform: BF, contextsliderform: Qq, contextsizeinputform: ej }), tj = Cx.concat([t0("contexttoolbarbutton")]), nj = $n([t0("contexttoolbar"), Kc("launch", tj), vc("items", od([wi, O2([Pa("name"), Pa("label"), mc("items", wi)])]))].concat(Nk)), IF = (u) => ({ name: u.name.getOrUndefined(), label: u.label.getOrUndefined(), items: u.items }), NF = [ui, vi("src"), Pa("alt"), Cp("classes", [], wi)], PF = $n(NF), rj = [ui, e0, gq, Cp("classes", ["tox-collection__item-label"], wi)], oj = $n(rj), FF = $s((() => Pd("type", { cardimage: PF, cardtext: oj, cardcontainer: zF }))), zF = $n([ui, xa("direction", "horizontal"), xa("align", "left"), xa("valign", "middle"), mc("items", FF)]), E6 = $n([ui, aE, mc("items", FF), yx, Lk].concat(q1)), aj = $n([ui, CC, Xd, aE].concat(q1)), T6 = [ui, vi("fancytype"), Lk], ij = [ot("initData", {})].concat(T6), sj = [Xc("select"), YS("initData", {}, [Xi("allowCustomColors", !0), xa("storageKey", "default"), I2("colors", ba())])].concat(T6), lj = [Xc("select"), xh("initData", [$0("columns"), Cp("items", [], ba())])].concat(T6), cj = gc("fancytype", { inserttable: ij, colorswatch: sj, imageselect: lj }), VF = $n([ui, CC, dq, aE, bx].concat(q1)), HF = $n([ui, CC, o6, bC, bx, xC].concat(q1)), uj = $n([ui, yx, Lk, Xd].concat(q1)), dj = $n([ui, hq, yx, Xd].concat(q1)), fj = $n([ui, Xd, CC, yx, _C].concat(q1)), bd = $n([Xd, bx, Fr("onShow", k), Fr("onHide", k), yx]), Zh = $n([ui, vc("items", od([O2([r6, mc("items", wi)]), wi]))].concat(Cx)), $F = $n([ui, bx, Xd, Z1, Mk, fq, yx, oi("presets", "normal", ["normal", "color", "listpreview"]), q7(1), _C, pq, xa("context", "mode:design")]), Pk = [Z1, Xd, Pa("tooltip"), oi("buttonType", "secondary", ["primary", "secondary"]), Xi("borderless", !1), Yi("onAction"), xa("context", "mode:design")], Fk = { button: [...Pk, e0, Hl("type", ["button"])], togglebutton: [...Pk, Xi("active", !1), Hl("type", ["togglebutton"])] }, zk = [Hl("type", ["group"]), Cp("buttons", [], gc("type", Fk))], hj = gc("type", { ...Fk, group: zk }), UF = $n([Cp("buttons", [], hj), Yi("onShow"), Yi("onHide")]), Sx = (u, v, b) => {
34750
34750
  const w = Ts(u.element, "." + b);
34751
34751
  if (w.length > 0) {
34752
34752
  const M = $t(w, ((L) => {
@@ -35792,10 +35792,10 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
35792
35792
  const L = w.meta !== void 0 && w.meta.text !== void 0 ? w.meta.text : w.text, P = (M = w.value) !== null && M !== void 0 ? M : "";
35793
35793
  return ka(L.toLowerCase(), b) || ka(P.toLowerCase(), b);
35794
35794
  }));
35795
- }, rz = Xt("aria-invalid"), Ei = (u) => (v, b, w, M, L) => mn(b, "name").fold((() => u(b, M, z.none(), L)), ((P) => v.field(P, u(b, M, mn(w, P), L)))), jj = { bar: Ei(((u, v) => ((b, w) => ({ dom: { tag: "div", classes: ["tox-bar", "tox-form__controls-h-stack"] }, components: we(b.items, w.interpreter) }))(u, v.shared))), collection: Ei(((u, v, b) => s5(u, v.shared.providers, b))), alertbanner: Ei(((u, v) => ((b, w) => {
35795
+ }, rz = Xt("aria-invalid"), Ti = (u) => (v, b, w, M, L) => mn(b, "name").fold((() => u(b, M, z.none(), L)), ((P) => v.field(P, u(b, M, mn(w, P), L)))), jj = { bar: Ti(((u, v) => ((b, w) => ({ dom: { tag: "div", classes: ["tox-bar", "tox-form__controls-h-stack"] }, components: we(b.items, w.interpreter) }))(u, v.shared))), collection: Ti(((u, v, b) => s5(u, v.shared.providers, b))), alertbanner: Ti(((u, v) => ((b, w) => {
35796
35796
  const M = N7(b.icon, w.icons);
35797
35797
  return Wd.sketch({ dom: { tag: "div", attributes: { role: "alert" }, classes: ["tox-notification", "tox-notification--in", `tox-notification--${b.level}`] }, components: [{ dom: { tag: "div", classes: ["tox-notification__icon"], innerHtml: b.url ? void 0 : M }, components: b.url ? [si.sketch({ dom: { tag: "button", classes: ["tox-button", "tox-button--naked", "tox-button--icon"], innerHtml: M, attributes: { title: w.translate(b.iconTooltip) } }, action: (L) => Dn(L, cv, { name: "alert-banner", value: b.url }), buttonBehaviours: Ot([bk()]) })] : void 0 }, { dom: { tag: "div", classes: ["tox-notification__body"], innerHtml: w.translate(b.text) } }] });
35798
- })(u, v.shared.providers))), input: Ei(((u, v, b) => ((w, M, L) => G9({ name: w.name, multiline: !1, label: w.label, inputMode: w.inputMode, placeholder: w.placeholder, flex: !1, disabled: !w.enabled, classname: "tox-textfield", validation: z.none(), maximized: w.maximized, data: L, context: w.context }, M))(u, v.shared.providers, b))), textarea: Ei(((u, v, b) => ((w, M, L) => G9({ name: w.name, multiline: !0, label: w.label, inputMode: z.none(), placeholder: w.placeholder, flex: !0, disabled: !w.enabled, classname: "tox-textarea", validation: z.none(), maximized: w.maximized, data: L, context: w.context }, M))(u, v.shared.providers, b))), label: Ei(((u, v, b, w) => ((M, L, P) => {
35798
+ })(u, v.shared.providers))), input: Ti(((u, v, b) => ((w, M, L) => G9({ name: w.name, multiline: !1, label: w.label, inputMode: w.inputMode, placeholder: w.placeholder, flex: !1, disabled: !w.enabled, classname: "tox-textfield", validation: z.none(), maximized: w.maximized, data: L, context: w.context }, M))(u, v.shared.providers, b))), textarea: Ti(((u, v, b) => ((w, M, L) => G9({ name: w.name, multiline: !0, label: w.label, inputMode: z.none(), placeholder: w.placeholder, flex: !0, disabled: !w.enabled, classname: "tox-textarea", validation: z.none(), maximized: w.maximized, data: L, context: w.context }, M))(u, v.shared.providers, b))), label: Ti(((u, v, b, w) => ((M, L, P) => {
35799
35799
  const V = "tox-label", H = M.align === "center" ? [`${V}--center`] : [], q = M.align === "end" ? [`${V}--end`] : [], K = oo({ dom: { tag: "label", classes: [V, ...H, ...q] }, components: [ua(L.providers.translate(M.label))] }), Y = we(M.items, L.interpreter);
35800
35800
  return { dom: { tag: "div", classes: ["tox-form__group"] }, components: [K.asSpec(), ...Y], behaviours: Ot([Q1(), Xn.config({}), (re = z.none(), tO(re, Cg, Sg)), _n.config({ mode: "acyclic" }), Yn("label", [Yo(((ue) => {
35801
35801
  M.for.each(((fe) => {
@@ -35829,12 +35829,12 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
35829
35829
  return kC(Y, re, ["tox-form__group--stretched"], []);
35830
35830
  })(u, v.shared.providers, b), (u, v, b, w, M) => {
35831
35831
  const L = xr(v, { source: "dynamic" });
35832
- return Ei(Sz)(u, L, b, w, M);
35833
- }), button: Ei(((u, v) => ((b, w) => {
35832
+ return Ti(Sz)(u, L, b, w, M);
35833
+ }), button: Ti(((u, v) => ((b, w) => {
35834
35834
  const M = tz(b.name, "custom");
35835
35835
  return L = z.none(), P = tr.parts.field({ factory: si, ...Q9(b, z.some(M), w, [u5(""), Q1()]) }), kC(L, P, [], []);
35836
35836
  var L, P;
35837
- })(u, v.shared.providers))), checkbox: Ei(((u, v, b) => ((w, M, L) => {
35837
+ })(u, v.shared.providers))), checkbox: Ti(((u, v, b) => ((w, M, L) => {
35838
35838
  const P = (Y) => (Y.element.dom.click(), z.some(!0)), V = tr.parts.field({ factory: { sketch: W }, dom: { tag: "input", classes: ["tox-checkbox__input"], attributes: { type: "checkbox" } }, behaviours: Ot([Q1(), Cn.config({ disabled: () => !w.enabled || M.checkUiComponentContext(w.context).shouldDisable, onDisabled: (Y) => {
35839
35839
  _s(Y.element).each(((re) => Jr(re, "tox-checkbox--disabled")));
35840
35840
  }, onEnabled: (Y) => {
@@ -35843,7 +35843,7 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
35843
35843
  Dn(Y, zu, { name: w.name });
35844
35844
  }))])]) }), H = tr.parts.label({ dom: { tag: "span", classes: ["tox-checkbox__label"] }, components: [ua(M.translate(w.label))], behaviours: Ot([Nf.config({})]) }), q = (Y) => Yd(Y === "checked" ? "selected" : "unselected", { tag: "span", classes: ["tox-icon", "tox-checkbox-icon__" + Y] }, M.icons), K = oo({ dom: { tag: "div", classes: ["tox-checkbox__icons"] }, components: [q("checked"), q("unchecked")] });
35845
35845
  return tr.sketch({ dom: { tag: "label", classes: ["tox-checkbox"] }, components: [V, K.asSpec(), H], fieldBehaviours: Ot([Cn.config({ disabled: () => !w.enabled || M.checkUiComponentContext(w.context).shouldDisable }), Va((() => M.checkUiComponentContext(w.context)))]) });
35846
- })(u, v.shared.providers, b))), colorinput: Ei(((u, v, b) => ((w, M, L, P) => {
35846
+ })(u, v.shared.providers, b))), colorinput: Ti(((u, v, b) => ((w, M, L, P) => {
35847
35847
  const V = tr.parts.field({ factory: qm, inputClasses: ["tox-textfield"], data: P, onSetValue: (Y) => Lu.run(Y).get(k), inputBehaviours: Ot([Cn.config({ disabled: () => M.providers.isDisabled() || M.providers.checkUiComponentContext(w.context).shouldDisable }), Va((() => M.providers.checkUiComponentContext(w.context))), Oo.config({}), Lu.config({ invalidClass: "tox-textbox-field-invalid", getRoot: (Y) => _s(Y.element), notify: { onValid: (Y) => {
35848
35848
  const re = Kt.getValue(Y);
35849
35849
  Dn(Y, l5, { color: re });
@@ -35882,7 +35882,7 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
35882
35882
  Vr.getCurrent(Y).each(zn.focus);
35883
35883
  }));
35884
35884
  }))])]) });
35885
- })(u, v.shared, v.colorinput, b))), colorpicker: Ei(((u, v, b) => ((w, M, L) => {
35885
+ })(u, v.shared, v.colorinput, b))), colorpicker: Ti(((u, v, b) => ((w, M, L) => {
35886
35886
  const P = (q) => "tox-" + q, V = Mj(/* @__PURE__ */ ((q) => (K) => i(K) ? q.translate(Rj[K]) : q.translate(K))(M), P, M.tooltips.getConfig, ((q, K, Y = q, re = q) => Yd(Y, { tag: "div", classes: ["tox-icon", "tox-control-wrap__status-icon-" + q], attributes: { title: M.translate(re), "aria-live": "polite", ...K.fold((() => ({})), ((ue) => ({ id: ue }))) } }, M.icons))), H = oo(V.sketch({ dom: { tag: "div", classes: [P("color-picker-container")], attributes: { role: "presentation" } }, onValidHex: (q) => {
35887
35887
  Dn(q, cv, { name: "hex-valid", value: !0 });
35888
35888
  }, onInvalidHex: (q) => {
@@ -35901,7 +35901,7 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
35901
35901
  }));
35902
35902
  }));
35903
35903
  })), Q1()]) };
35904
- })(0, v.shared.providers, b))), dropzone: Ei(((u, v, b) => dv(u, v.shared.providers, b))), grid: Ei(((u, v) => ((b, w) => ({ dom: { tag: "div", classes: ["tox-form__grid", `tox-form__grid--${b.columns}col`] }, components: we(b.items, w.interpreter) }))(u, v.shared))), listbox: Ei(((u, v, b) => ((w, M, L) => {
35904
+ })(0, v.shared.providers, b))), dropzone: Ti(((u, v, b) => dv(u, v.shared.providers, b))), grid: Ti(((u, v) => ((b, w) => ({ dom: { tag: "div", classes: ["tox-form__grid", `tox-form__grid--${b.columns}col`] }, components: we(b.items, w.interpreter) }))(u, v.shared))), listbox: Ti(((u, v, b) => ((w, M, L) => {
35905
35905
  const P = Ve(w.items, ((re) => !p5(re))), V = M.shared.providers, H = L.bind(((re) => gO(w.items, re))).orThunk((() => pr(w.items).filter(p5))), q = w.label.map(((re) => r0(re, V))), K = tr.parts.field({ dom: {}, factory: { sketch: (re) => hO({ context: w.context, uid: re.uid, text: H.map(((ue) => ue.text)), icon: z.none(), tooltip: z.none(), role: ml(!P, "combobox"), ...P ? {} : { listRole: "listbox" }, ariaLabel: w.label, fetch: (ue, fe) => {
35906
35906
  const ke = pO(ue, w.name, w.items, Kt.getValue(ue), P);
35907
35907
  fe(MC(ke, Wf.CLOSE_ON_EXECUTE, M, { isHorizontalMenu: !1, search: z.none() }));
@@ -35915,7 +35915,7 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
35915
35915
  }, onEnabled: (re) => {
35916
35916
  tr.getField(re).each(Cn.enable);
35917
35917
  } })]) });
35918
- })(u, v, b))), selectbox: Ei(((u, v, b) => ((w, M, L) => {
35918
+ })(u, v, b))), selectbox: Ti(((u, v, b) => ((w, M, L) => {
35919
35919
  const P = we(w.items, ((Y) => ({ text: M.translate(Y.text), value: Y.value }))), V = w.label.map(((Y) => r0(Y, M))), H = tr.parts.field({ dom: {}, ...L.map(((Y) => ({ data: Y }))).getOr({}), selectAttributes: { size: w.size }, options: P, factory: ux, selectBehaviours: Ot([Cn.config({ disabled: () => !w.enabled || M.checkUiComponentContext(w.context).shouldDisable }), Oo.config({}), Yn("selectbox-change", [yt(mm(), ((Y, re) => {
35920
35920
  Dn(Y, zu, { name: w.name });
35921
35921
  }))])]) }), q = w.size > 1 ? z.none() : z.some(Yd("chevron-down", { tag: "div", classes: ["tox-selectfield__icon-js"] }, M.icons)), K = { dom: { tag: "div", classes: ["tox-selectfield"] }, components: Yt([[H], q.toArray()]) };
@@ -35924,7 +35924,7 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
35924
35924
  }, onEnabled: (Y) => {
35925
35925
  tr.getField(Y).each(Cn.enable);
35926
35926
  } }), Va((() => M.checkUiComponentContext(w.context)))]) });
35927
- })(u, v.shared.providers, b))), sizeinput: Ei(((u, v) => ((b, w) => {
35927
+ })(u, v.shared.providers, b))), sizeinput: Ti(((u, v) => ((b, w) => {
35928
35928
  let M = v5;
35929
35929
  const L = Xt("ratio-event"), P = (Me) => Yd(Me, { tag: "span", classes: ["tox-icon", "tox-lock-icon__" + Me] }, w.icons), V = () => !b.enabled || w.checkUiComponentContext(b.context).shouldDisable, H = Va((() => w.checkUiComponentContext(b.context))), q = b.label.getOr("Constrain proportions"), K = w.translate(q), Y = ci.parts.lock({ dom: { tag: "button", classes: ["tox-lock", "tox-button", "tox-button--naked", "tox-button--icon"], attributes: { "aria-label": K, "data-mce-name": q } }, components: [P("lock"), P("unlock")], buttonBehaviours: Ot([Cn.config({ disabled: V }), H, Oo.config({}), aa.config(w.tooltips.getConfig({ tooltipText: K }))]) }), re = (Me) => ({ dom: { tag: "div", classes: ["tox-form__group"] }, components: Me }), ue = (Me) => tr.parts.field({ factory: qm, inputClasses: ["tox-textfield"], inputBehaviours: Ot([Cn.config({ disabled: V }), H, Oo.config({}), Yn("size-input-events", [yt($l(), ((Ce, Se) => {
35930
35930
  Dn(Ce, L, { isField1: Me });
@@ -35945,14 +35945,14 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
35945
35945
  const Se = Ce.event.isField1, Be = Se ? ci.getField1(Me) : ci.getField2(Me), Oe = Se ? ci.getField2(Me) : ci.getField1(Me), $e = Be.map(Kt.getValue).getOr(""), Ze = Oe.map(Kt.getValue).getOr("");
35946
35946
  M = W9($e, Ze);
35947
35947
  }))])]) });
35948
- })(u, v.shared.providers))), slider: Ei(((u, v, b) => ((w, M, L) => {
35948
+ })(u, v.shared.providers))), slider: Ti(((u, v, b) => ((w, M, L) => {
35949
35949
  const P = Uh.parts.label({ dom: { tag: "label", classes: ["tox-label"] }, components: [ua(M.translate(w.label))] }), V = Uh.parts.spectrum({ dom: { tag: "div", classes: ["tox-slider__rail"], attributes: { role: "presentation" } } }), H = Uh.parts.thumb({ dom: { tag: "div", classes: ["tox-slider__handle"], attributes: { role: "presentation" } } });
35950
35950
  return Uh.sketch({ dom: { tag: "div", classes: ["tox-slider"], attributes: { role: "presentation" } }, model: { mode: "x", minX: w.min, maxX: w.max, getInitialValue: I(L.getOrThunk((() => (Math.abs(w.max) - Math.abs(w.min)) / 2))) }, components: [P, V, H], sliderBehaviours: Ot([Q1(), zn.config({})]), onChoose: (q, K, Y) => {
35951
35951
  Dn(q, zu, { name: w.name, value: Y });
35952
35952
  }, onChange: (q, K, Y) => {
35953
35953
  Dn(q, zu, { name: w.name, value: Y });
35954
35954
  } });
35955
- })(u, v.shared.providers, b))), urlinput: Ei(((u, v, b) => ((w, M, L, P) => {
35955
+ })(u, v.shared.providers, b))), urlinput: Ti(((u, v, b) => ((w, M, L, P) => {
35956
35956
  const V = M.shared.providers, H = (Ce) => {
35957
35957
  const Se = Kt.getValue(Ce);
35958
35958
  L.addToHistory(Se.value, w.filetype);
@@ -36012,7 +36012,7 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
36012
36012
  }));
36013
36013
  }));
36014
36014
  }))])]) });
36015
- })(u, v, v.urlinput, b))), customeditor: Ei(((u) => {
36015
+ })(u, v, v.urlinput, b))), customeditor: Ti(((u) => {
36016
36016
  const v = yo(), b = oo({ dom: { tag: u.tag } }), w = yo(), M = !oO(u) && u.onFocus.isSome() ? [zn.config({ onFocus: (L) => {
36017
36017
  u.onFocus.each(((P) => {
36018
36018
  P(L.element.dom);
@@ -36029,7 +36029,7 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
36029
36029
  }))]), uv(z.none(), (() => v.get().fold((() => w.get().getOr("")), ((L) => L.getValue()))), ((L, P) => {
36030
36030
  v.get().fold((() => w.set(P)), ((V) => V.setValue(P)));
36031
36031
  })), Q1()].concat(M)), components: [b.asSpec()] };
36032
- })), htmlpanel: Ei(((u, v) => ((b, w) => {
36032
+ })), htmlpanel: Ti(((u, v) => ((b, w) => {
36033
36033
  const M = ["tox-form__group", ...b.stretched ? ["tox-form__group--stretched"] : []], L = Yn("htmlpanel", [Yo(((P) => {
36034
36034
  b.onInit(P.element.dom);
36035
36035
  }))]);
@@ -36040,7 +36040,7 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
36040
36040
  }));
36041
36041
  }));
36042
36042
  } }), mode: "children-normal", anchor: (P) => ({ type: "node", node: gr(P.element, "[data-mce-tooltip]:hover").orThunk((() => Ia(P.element).filter(((V) => cs(V, "data-mce-tooltip").isSome())))), root: P.element, layouts: { onLtr: I([Xa, Ji, ii, ds, Ya, Ws]), onRtl: I([Xa, Ji, ii, ds, Ya, Ws]) }, bubble: Tu(0, -2, {}) }) }), L]) }) : Wd.sketch({ dom: { tag: "div", classes: M, innerHtml: b.html, attributes: { role: "document" } }, containerBehaviours: Ot([Oo.config({}), zn.config({}), L]) });
36043
- })(u, v.shared.providers))), imagepreview: Ei(((u, v, b) => ((w, M) => {
36043
+ })(u, v.shared.providers))), imagepreview: Ti(((u, v, b) => ((w, M) => {
36044
36044
  const L = cn(M.getOr({ url: "" })), P = oo({ dom: { tag: "img", classes: ["tox-imagepreview__image"], attributes: M.map(((K) => ({ src: K.url }))).getOr({}) } }), V = oo({ dom: { tag: "div", classes: ["tox-imagepreview__container"], attributes: { role: "presentation" } }, components: [P.asSpec()] }), H = {};
36045
36045
  w.height.each(((K) => H.height = K));
36046
36046
  const q = M.map(((K) => ({ url: K.url, zoom: z.from(K.zoom), cachedWidth: z.from(K.cachedWidth), cachedHeight: z.from(K.cachedHeight) })));
@@ -36073,11 +36073,11 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
36073
36073
  }));
36074
36074
  }));
36075
36075
  }))]) };
36076
- })(u, b))), table: Ei(((u, v) => ((b, w) => {
36076
+ })(u, b))), table: Ti(((u, v) => ((b, w) => {
36077
36077
  const M = (V) => ({ dom: { tag: "td", innerHtml: w.translate(V) } });
36078
36078
  return { dom: { tag: "table", classes: ["tox-dialog__table"] }, components: [(P = b.header, { dom: { tag: "thead" }, components: [{ dom: { tag: "tr" }, components: we(P, ((V) => ({ dom: { tag: "th", innerHtml: w.translate(V) } }))) }] }), (L = b.cells, { dom: { tag: "tbody" }, components: we(L, ((V) => ({ dom: { tag: "tr" }, components: we(V, M) }))) })], behaviours: Ot([Oo.config({}), zn.config({})]) };
36079
36079
  var L, P;
36080
- })(u, v.shared.providers))), tree: Ei(((u, v) => ((b, w) => {
36080
+ })(u, v.shared.providers))), tree: Ti(((u, v) => ((b, w) => {
36081
36081
  const M = b.onLeafAction.getOr(k), L = b.onToggleExpand.getOr(k), P = b.defaultExpandedIds, V = cn(P), H = cn(b.defaultSelectedId), q = Xt("tree-id"), K = (Y, re) => b.items.map(((ue) => ue.type === "leaf" ? yO({ leaf: ue, selectedId: Y, onLeafAction: M, visible: !0, treeId: q, backstage: w }) : bO({ directory: ue, selectedId: Y, onLeafAction: M, expandedIds: re, labelTabstopping: !0, treeId: q, backstage: w })));
36082
36082
  return { dom: { tag: "div", classes: ["tox-tree"], attributes: { role: "tree" } }, components: K(H.get(), V.get()), behaviours: Ot([_n.config({ mode: "flow", selector: ".tox-tree--leaf__label--visible, .tox-tree--directory__label--visible", cycles: !1 }), Yn(Hj, [yt("expand-tree-node", ((Y, re) => {
36083
36083
  const { expanded: ue, node: fe } = re.event;
@@ -36085,7 +36085,7 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
36085
36085
  }))]), Gl.config({ channels: { [`update-active-item-${q}`]: { onReceive: (Y, re) => {
36086
36086
  H.set(z.some(re.value)), Xn.set(Y, K(z.some(re.value), V.get()));
36087
36087
  } } } }), Xn.config({})]) };
36088
- })(u, v))), panel: Ei(((u, v) => ((b, w) => ({ dom: { tag: "div", classes: b.classes }, components: we(b.items, w.shared.interpreter) }))(u, v))) }, y5 = { field: (u, v) => v, record: I([]) }, oz = (u, v, b, w, M) => {
36088
+ })(u, v))), panel: Ti(((u, v) => ((b, w) => ({ dom: { tag: "div", classes: b.classes }, components: we(b.items, w.shared.interpreter) }))(u, v))) }, y5 = { field: (u, v) => v, record: I([]) }, oz = (u, v, b, w, M) => {
36089
36089
  const L = xr(w, { shared: { interpreter: (P) => SO(u, P, b, L, M) } });
36090
36090
  return SO(u, v, b, L, M);
36091
36091
  }, SO = (u, v, b, w, M) => mn(jj, v.type).fold((() => (console.error(`Unknown factory type "${v.type}", defaulting to container: `, v), v)), ((L) => L(u, v, b, w, M))), az = (u, v, b, w) => SO(y5, u, v, b, w), TE = { valignCentre: [], alignCentre: [], alignLeft: [], alignRight: [], right: [], left: [], bottom: [], top: [] }, hae = (u, v, b) => {
@@ -37227,7 +37227,7 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
37227
37227
  const w = b.getBoundingClientRect();
37228
37228
  if (w.height <= 0 && w.width <= 0) {
37229
37229
  const M = I0(tn(b.startContainer), b.startOffset).element;
37230
- return (he(M) ? Ci(M) : z.some(M)).filter(xs).map(((L) => L.dom.getBoundingClientRect())).getOr(w);
37230
+ return (he(M) ? Si(M) : z.some(M)).filter(xs).map(((L) => L.dom.getBoundingClientRect())).getOr(w);
37231
37231
  }
37232
37232
  return w;
37233
37233
  })(u.selection.getRng());
@@ -37862,19 +37862,19 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
37862
37862
  const [kn, Po = ""] = Ir.split(":"), xo = Ze.ui.registry.getAll().contexts;
37863
37863
  return { contextType: kn, shouldDisable: !mn(xo, kn).fold((() => mn(xo, "mode").map(((mi) => mi("design"))).getOr(!1)), ((mi) => Po.charAt(0) === "!" ? !mi(Po.slice(1)) : mi(Po))) };
37864
37864
  } }, It = iY(Ze), vn = ((Ir) => {
37865
- const kn = (Ti) => () => Ir.formatter.match(Ti), Po = (Ti) => () => {
37866
- const Di = Ir.formatter.get(Ti);
37867
- return Di !== void 0 ? z.some({ tag: Di.length > 0 && (Di[0].inline || Di[0].block) || "div", styles: Ir.dom.parseStyle(Ir.formatter.getCssText(Ti)) }) : z.none();
37865
+ const kn = (Di) => () => Ir.formatter.match(Di), Po = (Di) => () => {
37866
+ const ki = Ir.formatter.get(Di);
37867
+ return ki !== void 0 ? z.some({ tag: ki.length > 0 && (ki[0].inline || ki[0].block) || "div", styles: Ir.dom.parseStyle(Ir.formatter.getCssText(Di)) }) : z.none();
37868
37868
  }, xo = cn([]), mi = cn([]), Fo = cn(!1);
37869
- return Ir.on("PreInit", ((Ti) => {
37870
- const Di = fz(Ir), ry = Mx(Ir, Di, kn, Po);
37869
+ return Ir.on("PreInit", ((Di) => {
37870
+ const ki = fz(Ir), ry = Mx(Ir, ki, kn, Po);
37871
37871
  xo.set(ry);
37872
- })), Ir.on("addStyleModifications", ((Ti) => {
37873
- const Di = Mx(Ir, Ti.items, kn, Po);
37874
- mi.set(Di), Fo.set(Ti.replace);
37872
+ })), Ir.on("addStyleModifications", ((Di) => {
37873
+ const ki = Mx(Ir, Di.items, kn, Po);
37874
+ mi.set(ki), Fo.set(Di.replace);
37875
37875
  })), { getData: () => {
37876
- const Ti = Fo.get() ? [] : xo.get(), Di = mi.get();
37877
- return Ti.concat(Di);
37876
+ const Di = Fo.get() ? [] : xo.get(), ki = mi.get();
37877
+ return Di.concat(ki);
37878
37878
  } };
37879
37879
  })(Ze), An = ((Ir) => ({ colorPicker: Xj(Ir), hasCustomColors: Kj(Ir), getColors: Jj(Ir), getColorCols: Qj(Ir) }))(Ze), Pn = ((Ir) => ({ isDraggableModal: eY(Ir) }))(Ze), yr = { shared: { providers: _t, anchors: Yj(Ze, Ke, st, mt.isPositionedAtTop), header: mt }, urlinput: It, styles: vn, colorinput: An, dialog: Pn, isContextMenuOpen: () => bt.get(), setContextMenuState: (Ir) => bt.set(Ir) }, $o = (Ir) => z.none(), va = { ...yr, shared: { ...yr.shared, interpreter: (Ir) => az(Ir, {}, va, $o), getSink: $e.popup } }, co = { ...yr, shared: { ...yr.shared, interpreter: (Ir) => az(Ir, {}, co, $o), getSink: $e.dialog } };
37880
37880
  return { popup: va, dialog: co };
@@ -37884,14 +37884,14 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
37884
37884
  u.focus();
37885
37885
  } }), va = ia.parts.toolbar({ dom: { tag: "div", classes: ["tox-toolbar"] }, getSink: Se.popup.shared.getSink, providers: Se.popup.shared.providers, onEscape: () => {
37886
37886
  u.focus();
37887
- }, onToolbarToggled: (Di) => {
37887
+ }, onToolbarToggled: (ki) => {
37888
37888
  ((ry, zx) => {
37889
37889
  ry.dispatch("ToggleToolbarDrawer", { state: zx });
37890
- })(u, Di);
37890
+ })(u, ki);
37891
37891
  }, type: Y, lazyToolbar: Me, lazyHeader: () => fe().getOrDie("Could not find header element"), ...yr }), co = ia.parts["multiple-toolbar"]({ dom: { tag: "div", classes: ["tox-toolbar-overlord"] }, providers: Se.popup.shared.providers, onEscape: () => {
37892
37892
  u.focus();
37893
- }, type: Y }), Ir = Up(u), kn = ck(u), Po = lk(u), xo = p7(u), mi = Ir || kn || Po, Fo = [(Ti = xo, ia.parts.promotion({ dom: { tag: "div", classes: ["tox-promotion"] }, promotionLink: Ti })), $o];
37894
- var Ti;
37893
+ }, type: Y }), Ir = Up(u), kn = ck(u), Po = lk(u), xo = p7(u), mi = Ir || kn || Po, Fo = [(Di = xo, ia.parts.promotion({ dom: { tag: "div", classes: ["tox-promotion"] }, promotionLink: Di })), $o];
37894
+ var Di;
37895
37895
  return ia.parts.header({ dom: { tag: "div", classes: ["tox-editor-header"].concat(mi ? [] : ["tox-editor-header--empty"]), ...yr }, components: Yt([Po ? Fo : [], Ir ? [co] : kn ? [va] : [], Wh(u) ? [] : [re.asSpec()]]), sticky: Hf(u), editor: u, sharedBackstage: Se.popup.shared });
37896
37896
  })(), Ze = { dom: { tag: "div", classes: ["tox-sidebar-wrap"] }, components: [ia.parts.socket({ dom: { tag: "div", classes: ["tox-edit-area"] } }), ia.parts.sidebar({ dom: { tag: "div", classes: ["tox-sidebar"] } })] }, Ke = ia.parts.throbber({ dom: { tag: "div", classes: ["tox-throbber"] }, backstage: Se.popup }), st = ia.parts.viewWrapper({ backstage: Se.popup }), bt = u7(u) && !b ? z.some(jY(u, Se.popup.shared.providers)) : z.none(), mt = Yt([K ? [] : [$e], b ? [] : [Ze], K ? [$e] : []]), _t = ia.parts.editorContainer({ components: Yt([mt, b ? [] : [ue.asSpec()]]) }), It = zB(u), vn = { role: "application", ...jd.isRtl() ? { dir: "rtl" } : {}, ...It ? { "aria-hidden": "true" } : {} }, An = Gs(ia.sketch({ dom: { tag: "div", classes: ["tox", "tox-tinymce"].concat(b ? ["tox-tinymce-inline"] : []).concat(K ? ["tox-tinymce--toolbar-bottom"] : []).concat(q), styles: { visibility: "hidden", ...It ? { opacity: "0", border: "0" } : {} }, attributes: vn }, components: [_t, ...b ? [] : [st, ...bt.toArray()], Ke], behaviours: Ot([Va((() => Se.popup.shared.providers.checkUiComponentContext("any"))), Cn.config({ disableClass: "tox-tinymce--disabled" }), _n.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" })]) })), Pn = RA(An);
37897
37897
  return P.set(Pn), { mothership: Pn, outerContainer: An };
@@ -37945,10 +37945,10 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
37945
37945
  Ne([Po, ...xo], ((Kp) => {
37946
37946
  Kp.broadcastOn([Kr], iy);
37947
37947
  }));
37948
- }, Ti = (Kr) => Fo(Ff(), { target: Kr.target }), Di = F0(), ry = ra(Di, "touchstart", Ti), zx = ra(Di, "touchmove", ((Kr) => mi(LD(), Kr))), K5 = ra(Di, "touchend", ((Kr) => mi(KS(), Kr))), VC = ra(Di, "mousedown", Ti), oy = ra(Di, "mouseup", ((Kr) => {
37949
- Kr.raw.button === 0 && Fo(wi(), { target: Kr.target });
37948
+ }, Di = (Kr) => Fo(Ff(), { target: Kr.target }), ki = F0(), ry = ra(ki, "touchstart", Di), zx = ra(ki, "touchmove", ((Kr) => mi(LD(), Kr))), K5 = ra(ki, "touchend", ((Kr) => mi(KS(), Kr))), VC = ra(ki, "mousedown", Di), oy = ra(ki, "mouseup", ((Kr) => {
37949
+ Kr.raw.button === 0 && Fo(Ai(), { target: Kr.target });
37950
37950
  })), gv = (Kr) => Fo(Ff(), { target: tn(Kr.target) }), vv = (Kr) => {
37951
- Kr.button === 0 && Fo(wi(), { target: tn(Kr.target) });
37951
+ Kr.button === 0 && Fo(Ai(), { target: tn(Kr.target) });
37952
37952
  }, Vx = () => {
37953
37953
  Ne(kn.editorManager.get(), ((Kr) => {
37954
37954
  kn !== Kr && Kr.dispatch("DismissPopups", { relatedTarget: kn });
@@ -37982,13 +37982,13 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
37982
37982
  const { sidebars: Po } = kn.ui.registry.getAll();
37983
37983
  Ne(to(Po), ((xo) => {
37984
37984
  const mi = Po[xo], Fo = () => vl(z.from(kn.queryCommandValue("ToggleSidebar")), xo);
37985
- kn.ui.registry.addToggleButton(xo, { icon: mi.icon, tooltip: mi.tooltip, onAction: (Ti) => {
37986
- kn.execCommand("ToggleSidebar", !1, xo), Ti.setActive(Fo());
37987
- }, onSetup: (Ti) => {
37988
- Ti.setActive(Fo());
37989
- const Di = () => Ti.setActive(Fo());
37990
- return kn.on("ToggleSidebar", Di), () => {
37991
- kn.off("ToggleSidebar", Di);
37985
+ kn.ui.registry.addToggleButton(xo, { icon: mi.icon, tooltip: mi.tooltip, onAction: (Di) => {
37986
+ kn.execCommand("ToggleSidebar", !1, xo), Di.setActive(Fo());
37987
+ }, onSetup: (Di) => {
37988
+ Di.setActive(Fo());
37989
+ const ki = () => Di.setActive(Fo());
37990
+ return kn.on("ToggleSidebar", ki), () => {
37991
+ kn.off("ToggleSidebar", ki);
37992
37992
  };
37993
37993
  }, context: "any" });
37994
37994
  }));
@@ -38081,9 +38081,9 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
38081
38081
  }, v8 = (u, v, b, w, M, L) => ({ dom: { tag: "div", classes: ["tox-dialog__content-js"], attributes: { ...b.map(((P) => ({ id: P }))).getOr({}), ...M ? { "aria-live": "polite" } : {} } }, components: [], behaviours: Ot([J6(0), ru.config({ channel: `${R9}-${v}`, updateState: (P, V) => z.some({ isTabPanel: () => V.body.type === "tabpanel" }), renderComponents: (P) => {
38082
38082
  const V = P.body;
38083
38083
  return V.type === "tabpanel" ? [XY(V, P.initialData, w, L)] : [Fx(V, P.initialData, w, L)];
38084
- }, initialData: u })]) }), KY = pC.deviceType.isTouch(), m8 = (u, v) => ({ dom: { tag: "div", styles: { display: "none" }, classes: ["tox-dialog__header"] }, components: [u, v] }), Z5 = (u, v) => Ai.parts.close(si.sketch({ dom: { tag: "button", classes: ["tox-button", "tox-button--icon", "tox-button--naked"], attributes: { type: "button", "aria-label": v.translate("Close") } }, action: u, buttonBehaviours: Ot([Oo.config({})]) })), pv = () => Ai.parts.title({ dom: { tag: "div", classes: ["tox-dialog__title"], innerHtml: "", styles: { display: "none" } } }), q5 = (u, v) => Ai.parts.body({ dom: { tag: "div", classes: ["tox-dialog__body"] }, components: [{ dom: { tag: "div", classes: ["tox-dialog__body-content"] }, components: [{ dom: cl(`<p>${B7(v.translate(u))}</p>`) }] }] }), y8 = (u) => Ai.parts.footer({ dom: { tag: "div", classes: ["tox-dialog__footer"] }, components: u }), b8 = (u, v) => [Wd.sketch({ dom: { tag: "div", classes: ["tox-dialog__footer-start"] }, components: u }), Wd.sketch({ dom: { tag: "div", classes: ["tox-dialog__footer-end"] }, components: v })], zE = (u) => {
38084
+ }, initialData: u })]) }), KY = pC.deviceType.isTouch(), m8 = (u, v) => ({ dom: { tag: "div", styles: { display: "none" }, classes: ["tox-dialog__header"] }, components: [u, v] }), Z5 = (u, v) => Ei.parts.close(si.sketch({ dom: { tag: "button", classes: ["tox-button", "tox-button--icon", "tox-button--naked"], attributes: { type: "button", "aria-label": v.translate("Close") } }, action: u, buttonBehaviours: Ot([Oo.config({})]) })), pv = () => Ei.parts.title({ dom: { tag: "div", classes: ["tox-dialog__title"], innerHtml: "", styles: { display: "none" } } }), q5 = (u, v) => Ei.parts.body({ dom: { tag: "div", classes: ["tox-dialog__body"] }, components: [{ dom: { tag: "div", classes: ["tox-dialog__body-content"] }, components: [{ dom: cl(`<p>${B7(v.translate(u))}</p>`) }] }] }), y8 = (u) => Ei.parts.footer({ dom: { tag: "div", classes: ["tox-dialog__footer"] }, components: u }), b8 = (u, v) => [Wd.sketch({ dom: { tag: "div", classes: ["tox-dialog__footer-start"] }, components: u }), Wd.sketch({ dom: { tag: "div", classes: ["tox-dialog__footer-end"] }, components: v })], zE = (u) => {
38085
38085
  const v = "tox-dialog", b = v + "-wrap", w = b + "__backdrop", M = v + "__disable-scroll";
38086
- return Ai.sketch({ lazySink: u.lazySink, onEscape: (L) => (u.onEscape(L), z.some(!0)), useTabstopAt: (L) => !CE(L), firstTabstop: u.firstTabstop, dom: { tag: "div", classes: [v].concat(u.extraClasses), styles: { position: "relative", ...u.extraStyles } }, components: [u.header, u.body, ...u.footer.toArray()], parts: { blocker: { dom: cl(`<div class="${b}"></div>`), components: [{ dom: { tag: "div", classes: KY ? [w, w + "--opaque"] : [w] } }] } }, dragBlockClass: b, modalBehaviours: Ot([zn.config({}), Yn("dialog-events", u.dialogEvents.concat([Y0($l(), ((L, P) => {
38086
+ return Ei.sketch({ lazySink: u.lazySink, onEscape: (L) => (u.onEscape(L), z.some(!0)), useTabstopAt: (L) => !CE(L), firstTabstop: u.firstTabstop, dom: { tag: "div", classes: [v].concat(u.extraClasses), styles: { position: "relative", ...u.extraStyles } }, components: [u.header, u.body, ...u.footer.toArray()], parts: { blocker: { dom: cl(`<div class="${b}"></div>`), components: [{ dom: { tag: "div", classes: KY ? [w, w + "--opaque"] : [w] } }] } }, dragBlockClass: b, modalBehaviours: Ot([zn.config({}), Yn("dialog-events", u.dialogEvents.concat([Y0($l(), ((L, P) => {
38087
38087
  Bf.isBlocked(L) || _n.focusIn(L);
38088
38088
  })), yt(cb(), ((L, P) => {
38089
38089
  L.getSystem().broadcastOn([h5], { newFocus: P.event.newFocus });
@@ -38095,13 +38095,13 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
38095
38095
  }, x8 = (u) => si.sketch({ dom: { tag: "button", classes: ["tox-button", "tox-button--icon", "tox-button--naked"], attributes: { type: "button", "aria-label": u.translate("Close"), "data-mce-name": "close" } }, buttonBehaviours: Ot([Oo.config({}), aa.config(u.tooltips.getConfig({ tooltipText: u.translate("Close") }))]), components: [Yd("close", { tag: "span", classes: ["tox-icon"] }, u.icons)], action: (v) => {
38096
38096
  Er(v, J1);
38097
38097
  } }), VE = (u, v, b, w) => ({ dom: { tag: "h1", classes: ["tox-dialog__title"], attributes: { ...b.map(((M) => ({ id: M }))).getOr({}) } }, components: [], behaviours: Ot([ru.config({ channel: `${M9}-${v}`, initialData: u, renderComponents: (M) => [ua(w.translate(M.title))] })]) }), _8 = () => ({ dom: cl('<div class="tox-dialog__draghandle"></div>') }), C8 = (u, v, b) => ((w, M, L) => {
38098
- const P = Ai.parts.title(VE(w, M, z.none(), L)), V = Ai.parts.draghandle(_8()), H = Ai.parts.close(x8(L)), q = [P].concat(w.draggable ? [V] : []).concat([H]);
38098
+ const P = Ei.parts.title(VE(w, M, z.none(), L)), V = Ei.parts.draghandle(_8()), H = Ei.parts.close(x8(L)), q = [P].concat(w.draggable ? [V] : []).concat([H]);
38099
38099
  return Wd.sketch({ dom: cl('<div class="tox-dialog__header"></div>'), components: q });
38100
38100
  })({ title: b.shared.providers.translate(u), draggable: b.dialog.isDraggableModal() }, v, b.shared.providers), SV = (u, v, b, w) => ({ dom: { tag: "div", classes: ["tox-dialog__busy-spinner"], attributes: { "aria-label": b.translate(u) }, styles: { left: "0px", right: "0px", bottom: "0px", top: `${w.getOr(0)}px`, position: "absolute" } }, behaviours: v, components: [{ dom: cl('<div class="tox-spinner"><div></div><div></div><div></div></div>') }] }), wV = (u, v, b) => ({ onClose: () => b.closeWindow(), onBlock: (w) => {
38101
38101
  const M = gr(u().element, ".tox-dialog__header").map(((L) => Na(L)));
38102
- Ai.setBusy(u(), ((L, P) => SV(w.message, P, v, M)));
38102
+ Ei.setBusy(u(), ((L, P) => SV(w.message, P, v, M)));
38103
38103
  }, onUnblock: () => {
38104
- Ai.setIdle(u());
38104
+ Ei.setIdle(u());
38105
38105
  } }), AV = "tox-dialog--fullscreen", S8 = "tox-dialog--width-lg", w8 = "tox-dialog--width-md", HE = (u) => {
38106
38106
  switch (u) {
38107
38107
  case "large":
@@ -38167,7 +38167,7 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
38167
38167
  return { name: P.name, align: P.align, memento: V };
38168
38168
  }));
38169
38169
  return z.some({ lookupByName: (P) => ((V, H, q) => se(H, ((K) => K.name === q)).bind(((K) => K.memento.getOpt(V))))(w, L, P), footerButtons: L });
38170
- }, renderComponents: MV })]) }), RV = (u, v, b) => Ai.parts.footer(T8(u, v, b)), j5 = (u, v) => {
38170
+ }, renderComponents: MV })]) }), RV = (u, v, b) => Ei.parts.footer(T8(u, v, b)), j5 = (u, v) => {
38171
38171
  if (u.getRoot().getSystem().isConnected()) {
38172
38172
  const b = Vr.getCurrent(u.getFormWrapper()).getOr(u.getFormWrapper());
38173
38173
  return po.getField(b, v).orThunk((() => u.getFooter().bind(((M) => ru.getState(M).get())).bind(((M) => M.lookupByName(v)))));
@@ -38247,7 +38247,7 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
38247
38247
  const JY = ["insertContent", "setContent", "execCommand", "close", "block", "unblock"], BV = (u) => l(u) && JY.indexOf(u.mceAction) !== -1, QY = (u, v, b, w) => {
38248
38248
  const M = Xt("dialog"), L = C8(u.title, M, w), P = ((Me) => {
38249
38249
  const Ce = { dom: { tag: "div", classes: ["tox-dialog__content-js"] }, components: [{ dom: { tag: "div", classes: ["tox-dialog__body-iframe"] }, components: [vs(z.none(), { dom: { tag: "iframe", attributes: { src: Me.url } }, behaviours: Ot([Oo.config({}), zn.config({})]) })] }], behaviours: Ot([_n.config({ mode: "acyclic", useTabstopAt: ne(CE) })]) };
38250
- return Ai.parts.body(Ce);
38250
+ return Ei.parts.body(Ce);
38251
38251
  })(u), V = u.buttons.bind(((Me) => Me.length === 0 ? z.none() : z.some(RV({ buttons: Me }, M, w)))), H = ((Me, Ce) => {
38252
38252
  const Se = (Oe, $e) => yt(Oe, ((Ze, Ke) => {
38253
38253
  Be(Ze, ((st, bt) => {
@@ -38324,9 +38324,9 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
38324
38324
  const q = H.shared;
38325
38325
  return { open: (K, Y) => {
38326
38326
  const re = () => {
38327
- Ai.hide(Ee), Y();
38327
+ Ei.hide(Ee), Y();
38328
38328
  }, ue = oo(EE({ context: "any", name: "close-alert", text: "OK", primary: !0, buttonType: z.some("primary"), align: "end", enabled: !0, icon: z.none() }, "cancel", H)), fe = pv(), ke = Z5(re, q.providers), Ee = Gs(zE({ lazySink: () => q.getSink(), header: m8(fe, ke), body: q5(K, q.providers), footer: z.some(y8(b8([], [ue.asSpec()]))), onEscape: re, extraClasses: ["tox-alert-dialog"], extraBehaviours: [], extraStyles: {}, dialogEvents: [yt(J1, re)], eventOrder: {} }));
38329
- Ai.show(Ee);
38329
+ Ei.show(Ee);
38330
38330
  const Me = ue.get(Ee);
38331
38331
  zn.focus(Me);
38332
38332
  } };
@@ -38334,9 +38334,9 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
38334
38334
  const q = H.shared;
38335
38335
  return { open: (K, Y) => {
38336
38336
  const re = (Se) => {
38337
- Ai.hide(Me), Y(Se);
38337
+ Ei.hide(Me), Y(Se);
38338
38338
  }, ue = oo(EE({ context: "any", name: "yes", text: "Yes", primary: !0, buttonType: z.some("primary"), align: "end", enabled: !0, icon: z.none() }, "submit", H)), fe = EE({ context: "any", name: "no", text: "No", primary: !1, buttonType: z.some("secondary"), align: "end", enabled: !0, icon: z.none() }, "cancel", H), ke = pv(), Ee = Z5((() => re(!1)), q.providers), Me = Gs(zE({ lazySink: () => q.getSink(), header: m8(ke, Ee), body: q5(K, q.providers), footer: z.some(y8(b8([], [fe, ue.asSpec()]))), onEscape: () => re(!1), extraClasses: ["tox-confirm-dialog"], extraBehaviours: [], extraStyles: {}, dialogEvents: [yt(J1, (() => re(!1))), yt(_E, (() => re(!0)))], eventOrder: {} }));
38339
- Ai.show(Me);
38339
+ Ei.show(Me);
38340
38340
  const Ce = ue.get(Me);
38341
38341
  zn.focus(Ce);
38342
38342
  } };
@@ -38344,18 +38344,18 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
38344
38344
  const ue = Y, fe = ((ke, Ee, Me) => {
38345
38345
  const Ce = Xt("dialog"), Se = ke.internalDialog, Be = C8(Se.title, Ce, Me), Oe = cn(Se.size), $e = HE(Oe.get()).toArray(), Ze = ((Pn, yr, $o, va) => {
38346
38346
  const co = v8(Pn, yr, z.none(), $o, !1, va);
38347
- return Ai.parts.body(co);
38348
- })({ body: Se.body, initialData: Se.initialData }, Ce, Me, ((Pn) => j5(vn, Pn))), Ke = E8(Se.buttons), st = $E(Ke), bt = ml(Ke.length !== 0, RV({ buttons: Ke }, Ce, Me)), mt = kV((() => An), wV((() => It), Me.shared.providers, Ee), Me.shared.getSink), _t = { id: Ce, header: Be, body: Ze, footer: bt, extraClasses: $e, extraBehaviours: [ru.config({ channel: `${f5}-${Ce}`, updateState: (Pn, yr) => (Oe.set(yr.internalDialog.size), A8(yr.internalDialog.size, Pn), z.some(yr)), initialData: ke })], extraStyles: {} }, It = TV(_t, mt, Me), vn = { getId: I(Ce), getRoot: I(It), getBody: () => Ai.getBody(It), getFooter: () => Ai.getFooter(It), getFormWrapper: () => {
38349
- const Pn = Ai.getBody(It);
38347
+ return Ei.parts.body(co);
38348
+ })({ body: Se.body, initialData: Se.initialData }, Ce, Me, ((Pn) => j5(vn, Pn))), Ke = E8(Se.buttons), st = $E(Ke), bt = ml(Ke.length !== 0, RV({ buttons: Ke }, Ce, Me)), mt = kV((() => An), wV((() => It), Me.shared.providers, Ee), Me.shared.getSink), _t = { id: Ce, header: Be, body: Ze, footer: bt, extraClasses: $e, extraBehaviours: [ru.config({ channel: `${f5}-${Ce}`, updateState: (Pn, yr) => (Oe.set(yr.internalDialog.size), A8(yr.internalDialog.size, Pn), z.some(yr)), initialData: ke })], extraStyles: {} }, It = TV(_t, mt, Me), vn = { getId: I(Ce), getRoot: I(It), getBody: () => Ei.getBody(It), getFooter: () => Ei.getFooter(It), getFormWrapper: () => {
38349
+ const Pn = Ei.getBody(It);
38350
38350
  return Vr.getCurrent(Pn).getOr(Pn);
38351
38351
  }, toggleFullscreen: () => {
38352
38352
  EV(It, Oe.get());
38353
38353
  } }, An = Y5(vn, Ee.redial, st);
38354
38354
  return { dialog: It, instanceApi: An };
38355
38355
  })({ dataValidator: re, initialData: ue, internalDialog: K }, { redial: _x.redial, closeWindow: () => {
38356
- Ai.hide(fe.dialog), q(fe.instanceApi);
38356
+ Ei.hide(fe.dialog), q(fe.instanceApi);
38357
38357
  } }, u.backstages.dialog);
38358
- return Ai.show(fe.dialog), fe.instanceApi.setData(ue), fe.instanceApi;
38358
+ return Ei.show(fe.dialog), fe.instanceApi.setData(ue), fe.instanceApi;
38359
38359
  }), H), P = (H, q, K, Y) => _x.open(((re, ue, fe) => {
38360
38360
  const ke = D8(ue, fe), Ee = yo(), Me = u.backstages.popup.shared.header.isPositionedAtTop(), Ce = () => Ee.on((($e) => {
38361
38361
  Ra.reposition($e), b && Me || _a.refresh($e);
@@ -38390,9 +38390,9 @@ The conflicting element is` + (Ss(H.element) ? " " : " not ") + "already in the
38390
38390
  return L(H, K);
38391
38391
  }, openUrl: (H, q) => ((K, Y) => _x.openUrl(((re) => {
38392
38392
  const ue = QY(re, { closeWindow: () => {
38393
- Ai.hide(ue.dialog), Y(ue.instanceApi);
38393
+ Ei.hide(ue.dialog), Y(ue.instanceApi);
38394
38394
  } }, v, u.backstages.dialog);
38395
- return Ai.show(ue.dialog), ue.instanceApi;
38395
+ return Ei.show(ue.dialog), ue.instanceApi;
38396
38396
  }), K))(H, q), alert: (H, q) => {
38397
38397
  w.open(H, q);
38398
38398
  }, close: (H) => {
@@ -39014,7 +39014,7 @@ function W6e() {
39014
39014
  or(S, (te, ae) => {
39015
39015
  (D(te, ae) ? N : $)(te, ae);
39016
39016
  });
39017
- }, _i = (S, D) => {
39017
+ }, Ci = (S, D) => {
39018
39018
  const N = {};
39019
39019
  return Do(S, D, wa(N), T), N;
39020
39020
  }, jr = (S, D) => {
@@ -39461,7 +39461,7 @@ Required: ` + D.join(", "));
39461
39461
  nu: ya,
39462
39462
  detect: dn,
39463
39463
  unknown: Or
39464
- }, Ci = (S, D) => pr(D.brands, (N) => {
39464
+ }, Si = (S, D) => pr(D.brands, (N) => {
39465
39465
  const $ = N.brand.toLowerCase();
39466
39466
  return se(S, (te) => {
39467
39467
  var ae;
@@ -39606,7 +39606,7 @@ Required: ` + D.join(", "));
39606
39606
  nu: fh
39607
39607
  }, D2 = {
39608
39608
  detect: (S, D, N) => {
39609
- const $ = uc.browsers(), te = uc.oses(), ae = D.bind((Ie) => Ci($, Ie)).orThunk(() => _l($, S)).fold(ra.unknown, ra.nu), me = rl(te, S).fold(T2.unknown, T2.nu), Te = Le(me, ae, S, N);
39609
+ const $ = uc.browsers(), te = uc.oses(), ae = D.bind((Ie) => Si($, Ie)).orThunk(() => _l($, S)).fold(ra.unknown, ra.nu), me = rl(te, S).fold(T2.unknown, T2.nu), Te = Le(me, ae, S, N);
39610
39610
  return {
39611
39611
  browser: ae,
39612
39612
  os: me,
@@ -39884,7 +39884,7 @@ Required: ` + D.join(", "));
39884
39884
  ae.dom.nodeValue = me;
39885
39885
  }
39886
39886
  };
39887
- })(Ss, "text"), ba = (S) => Vl.get(S), z0 = (S) => Vl.getOption(S), L2 = (S, D) => Vl.set(S, D), Si = (S, D) => (N) => cm(N) === "rtl" ? D : S, cm = (S) => yu(S, "direction") === "rtl" ? "rtl" : "ltr", bu = (S, D) => {
39887
+ })(Ss, "text"), ba = (S) => Vl.get(S), z0 = (S) => Vl.getOption(S), L2 = (S, D) => Vl.set(S, D), wi = (S, D) => (N) => cm(N) === "rtl" ? D : S, cm = (S) => yu(S, "direction") === "rtl" ? "rtl" : "ltr", bu = (S, D) => {
39888
39888
  const N = jc(S, D);
39889
39889
  return N === void 0 || N === "" ? [] : N.split(" ");
39890
39890
  }, WS = (S, D, N) => {
@@ -40393,7 +40393,7 @@ Required: ` + D.join(", "));
40393
40393
  delta: I,
40394
40394
  positions: (S) => Pg(Qc, ld, S),
40395
40395
  edge: ks
40396
- }, sw = Si({
40396
+ }, sw = wi({
40397
40397
  delta: I,
40398
40398
  edge: hb,
40399
40399
  positions: (S) => Pg(W2, pb, S)
@@ -42442,7 +42442,7 @@ Required: ` + D.join(", "));
42442
42442
  S.dispatch("ObjectResizeStart", { target: D, width: N, height: $, origin: te });
42443
42443
  }, Ff = (S, D, N, $, te) => {
42444
42444
  S.dispatch("ObjectResized", { target: D, width: N, height: $, origin: te });
42445
- }, hd = { structure: !1, style: !0 }, wi = { structure: !0, style: !1 }, rC = { structure: !0, style: !0 }, ax = (S, D) => Rh(S) ? Hg.percentageSize(D) : b1(S) ? Hg.pixelSize(D) : Hg.getTableSize(D), M1 = (S, D, N) => {
42445
+ }, hd = { structure: !1, style: !0 }, Ai = { structure: !0, style: !1 }, rC = { structure: !0, style: !0 }, ax = (S, D) => Rh(S) ? Hg.percentageSize(D) : b1(S) ? Hg.pixelSize(D) : Hg.getTableSize(D), M1 = (S, D, N) => {
42446
42446
  const $ = (rs) => oa(O_(rs)) === "table", te = (rs) => !$(S) || f_(rs).rows > 1, ae = (rs) => !$(S) || f_(rs).columns > 1, me = pA(S), Te = K4(S) ? T : j0, Ie = (rs) => {
42447
42447
  switch (Y4(S)) {
42448
42448
  case "section":
@@ -42483,7 +42483,7 @@ Required: ` + D.join(", "));
42483
42483
  effect: Vh
42484
42484
  }));
42485
42485
  }) : ee.none();
42486
- }, Mt = et(Vr, te, T, wi), nn = et(SL, ae, T, wi), Qt = et(R4, j, T, wi), Sn = et(L4, j, T, wi), Gt = et(Bf, j, Te, wi), Tt = et(B4, j, Te, wi), Bn = et(TL, j, T, wi), er = et(DL, j, T, wi), fn = et(kL, j, T, wi), so = et(eA, j, T, wi), bo = et(tA, j, T, wi), lo = et(nA, j, T, wi), Io = et(Qw, j, T, rC), Iu = et(O4, j, T, wi), Wm = et(x_, j, T, wi), zh = et(wL, j, T, wi), rv = et(AL, j, T, wi), po = et(Jw, j, T, wi), ps = et(Ga, j, T, wi), Zl = et(EL, j, T, wi);
42486
+ }, Mt = et(Vr, te, T, Ai), nn = et(SL, ae, T, Ai), Qt = et(R4, j, T, Ai), Sn = et(L4, j, T, Ai), Gt = et(Bf, j, Te, Ai), Tt = et(B4, j, Te, Ai), Bn = et(TL, j, T, Ai), er = et(DL, j, T, Ai), fn = et(kL, j, T, Ai), so = et(eA, j, T, Ai), bo = et(tA, j, T, Ai), lo = et(nA, j, T, Ai), Io = et(Qw, j, T, rC), Iu = et(O4, j, T, Ai), Wm = et(x_, j, T, Ai), zh = et(wL, j, T, Ai), rv = et(AL, j, T, Ai), po = et(Jw, j, T, Ai), ps = et(Ga, j, T, Ai), Zl = et(EL, j, T, Ai);
42487
42487
  return {
42488
42488
  deleteRow: Mt,
42489
42489
  deleteColumn: nn,
@@ -42566,7 +42566,7 @@ Required: ` + D.join(", "));
42566
42566
  });
42567
42567
  }), te = (Tt) => sC(S).each((Bn) => {
42568
42568
  x1(S) || b1(S) || Rh(S) || rn(Bn, N).each((fn) => {
42569
- Tt === "relative" && !o_(fn) ? Ib(fn) : Tt === "fixed" && !Dw(fn) ? s1(fn) : Tt === "responsive" && !kw(fn) && Ow(fn), Qg(fn), cl(S, fn.dom, wi);
42569
+ Tt === "relative" && !o_(fn) ? Ib(fn) : Tt === "fixed" && !Dw(fn) ? s1(fn) : Tt === "responsive" && !kw(fn) && Ow(fn), Qg(fn), cl(S, fn.dom, Ai);
42570
42570
  });
42571
42571
  }), ae = (Tt) => rn(Tt, N), me = (Tt) => A3(S).bind((Bn) => ae(Bn).map((er) => Tt(er, Bn))), Te = (Tt, Bn) => {
42572
42572
  me((er) => {
@@ -42585,7 +42585,7 @@ Required: ` + D.join(", "));
42585
42585
  Zo(er, on.fromText("Caption")), Eg(Bn, er, 0), S.selection.setCursorLocation(er.dom, 0);
42586
42586
  }, (er) => {
42587
42587
  ws("caption")(Tt) && xl("td", Bn).each((fn) => S.selection.setCursorLocation(fn.dom, 0)), Jr(er);
42588
- }), cl(S, Bn.dom, wi);
42588
+ }), cl(S, Bn.dom, Ai);
42589
42589
  });
42590
42590
  });
42591
42591
  }, et = (Tt) => {
@@ -42658,7 +42658,7 @@ Required: ` + D.join(", "));
42658
42658
  const fn = Ye(Dc(S), _A);
42659
42659
  if (fn.length === 0)
42660
42660
  return;
42661
- const so = _i(Bn, (bo, lo) => S.formatter.has(er(lo)) && l(bo));
42661
+ const so = Ci(Bn, (bo, lo) => S.formatter.has(er(lo)) && l(bo));
42662
42662
  Vc(so) || (or(so, (bo, lo) => {
42663
42663
  const Io = er(lo);
42664
42664
  xe(fn, (Iu) => {
@@ -42705,7 +42705,7 @@ Required: ` + D.join(", "));
42705
42705
  }, fn = (po) => {
42706
42706
  const ps = gh(po);
42707
42707
  D.hide();
42708
- const Zl = S.selection.getRng(), gs = on.fromDom(Zl.startContainer), vd = on.fromDom(Zl.endContainer), O1 = Si(J_, Bu)(on.fromDom(S.selection.getStart()));
42708
+ const Zl = S.selection.getRng(), gs = on.fromDom(Zl.startContainer), vd = on.fromDom(Zl.endContainer), O1 = wi(J_, Bu)(on.fromDom(S.selection.getStart()));
42709
42709
  Sn.keydown(ps, gs, Zl.startOffset, vd, Zl.endOffset, O1).each((rs) => {
42710
42710
  Bn(ps, rs);
42711
42711
  }), D.show();
@@ -43192,7 +43192,7 @@ function Z6e() {
43192
43192
  },
43193
43193
  default: !1
43194
43194
  });
43195
- }, St = Wn("image_dimensions"), xt = Wn("image_advtab"), Je = Wn("image_uploadtab"), Mr = Wn("image_prepend_url"), pr = Wn("image_class_list"), ln = Wn("image_description"), mo = Wn("image_title"), or = Wn("image_caption"), to = Wn("image_list"), ta = Wn("a11y_advanced_options"), wa = Wn("automatic_uploads"), Do = (he) => xe(he.options.get("images_upload_url")), _i = (he) => E(he.options.get("images_upload_handler")), jr = (he, Le) => Math.max(parseInt(he, 10), parseInt(Le, 10)), hu = (he) => new Promise((Le) => {
43195
+ }, St = Wn("image_dimensions"), xt = Wn("image_advtab"), Je = Wn("image_uploadtab"), Mr = Wn("image_prepend_url"), pr = Wn("image_class_list"), ln = Wn("image_description"), mo = Wn("image_title"), or = Wn("image_caption"), to = Wn("image_list"), ta = Wn("a11y_advanced_options"), wa = Wn("automatic_uploads"), Do = (he) => xe(he.options.get("images_upload_url")), Ci = (he) => E(he.options.get("images_upload_handler")), jr = (he, Le) => Math.max(parseInt(he, 10), parseInt(Le, 10)), hu = (he) => new Promise((Le) => {
43196
43196
  const We = document.createElement("img"), it = (Or) => {
43197
43197
  We.parentNode && We.parentNode.removeChild(We), Le(Or);
43198
43198
  };
@@ -43474,9 +43474,9 @@ function Z6e() {
43474
43474
  uh
43475
43475
  ])));
43476
43476
  });
43477
- }), it = yl.sanitize(pr(he)), dn = xt(he), Or = Je(he), ya = Do(he), ti = _i(he), Ci = pu(he), _s = ln(he), _l = mo(he), rl = St(he), Pl = or(he), Gc = ta(he), tm = wa(he), I0 = I.some(Mr(he)).filter((uc) => f(uc) && uc.length > 0);
43477
+ }), it = yl.sanitize(pr(he)), dn = xt(he), Or = Je(he), ya = Do(he), ti = Ci(he), Si = pu(he), _s = ln(he), _l = mo(he), rl = St(he), Pl = or(he), Gc = ta(he), tm = wa(he), I0 = I.some(Mr(he)).filter((uc) => f(uc) && uc.length > 0);
43478
43478
  return We.then((uc) => ({
43479
- image: Ci,
43479
+ image: Si,
43480
43480
  imageList: uc,
43481
43481
  classList: it,
43482
43482
  hasAdvTab: dn,
@@ -43528,7 +43528,7 @@ function Z6e() {
43528
43528
  type: "listbox",
43529
43529
  label: "Class",
43530
43530
  items: _l
43531
- })), Ci = {
43531
+ })), Si = {
43532
43532
  type: "label",
43533
43533
  label: "Caption",
43534
43534
  items: [
@@ -43550,7 +43550,7 @@ function Z6e() {
43550
43550
  ..._s(he.classList.isSome() && he.hasImageCaption),
43551
43551
  items: G([
43552
43552
  ti.toArray(),
43553
- he.hasImageCaption ? [Ci] : []
43553
+ he.hasImageCaption ? [Si] : []
43554
43554
  ])
43555
43555
  }]
43556
43556
  ]);
@@ -43639,7 +43639,7 @@ function Z6e() {
43639
43639
  }, Uc = (he, Le, We, it) => {
43640
43640
  const dn = it.getData(), Or = yl.findEntry(Le.imageList, dn.images);
43641
43641
  Or.each((ya) => {
43642
- dn.alt === "" || We.prevImage.map((Ci) => Ci.text === dn.alt).getOr(!1) ? ya.value === "" ? it.setData({ src: ya, alt: We.prevAlt }) : it.setData({ src: ya, alt: ya.text }) : it.setData({ src: ya });
43642
+ dn.alt === "" || We.prevImage.map((Si) => Si.text === dn.alt).getOr(!1) ? ya.value === "" ? it.setData({ src: ya, alt: We.prevAlt }) : it.setData({ src: ya, alt: ya.text }) : it.setData({ src: ya });
43643
43643
  }), We.prevImage = Or, Kv(he, Le, We, it);
43644
43644
  }, vg = (he, Le, We, it) => {
43645
43645
  const dn = it.getData();
@@ -43648,18 +43648,18 @@ function Z6e() {
43648
43648
  }, (Or) => {
43649
43649
  const ya = URL.createObjectURL(Or), ti = () => {
43650
43650
  it.unblock(), URL.revokeObjectURL(ya);
43651
- }, Ci = (_s) => {
43651
+ }, Si = (_s) => {
43652
43652
  it.setData({ src: { value: _s, meta: {} } }), it.showTab("general"), Kv(he, Le, We, it), it.focus("src");
43653
43653
  };
43654
43654
  _r(Or).then((_s) => {
43655
43655
  const _l = he.createBlobCache(Or, ya, _s);
43656
43656
  Le.automaticUploads ? he.uploadImage(_l).then((rl) => {
43657
- Ci(rl.url), ti();
43657
+ Si(rl.url), ti();
43658
43658
  }).catch((rl) => {
43659
43659
  ti(), he.alertErr(rl, () => {
43660
43660
  it.focus("fileinput");
43661
43661
  });
43662
- }) : (he.addToBlobCache(_l), Ci(_l.blobUri()), it.unblock());
43662
+ }) : (he.addToBlobCache(_l), Si(_l.blobUri()), it.unblock());
43663
43663
  });
43664
43664
  });
43665
43665
  }, Qu = (he, Le, We) => (it, dn) => {
@@ -44352,10 +44352,10 @@ function j6e() {
44352
44352
  return je || He;
44353
44353
  });
44354
44354
  return Ye(be);
44355
- }, Ci = (X) => {
44355
+ }, Si = (X) => {
44356
44356
  const le = X.selection.getSelectedBlocks();
44357
44357
  return z(ti(X, le), gp);
44358
- }, _s = (X) => z(Ci(X), Xv), _l = (X, le) => {
44358
+ }, _s = (X) => z(Si(X), Xv), _l = (X, le) => {
44359
44359
  const be = X.dom.getParents(le, "TD,TH");
44360
44360
  return be.length > 0 ? be[0] : X.getBody();
44361
44361
  }, rl = (X, le) => !Fs(le) && !gp(le) && Q(Le, (be) => X.isValidChild(le.nodeName, be)), Pl = (X, le) => {
@@ -44538,7 +44538,7 @@ function j6e() {
44538
44538
  }, nm = (X, le) => Ve(ve(le, Ia), (be) => we(be).exists(Ia) ? ed(X, be) : jn(X, be)), gi = (X, le) => {
44539
44539
  ee(z(X, dc), (be) => Cg(le, be));
44540
44540
  }, Xy = (X) => {
44541
- const le = j(Ci(X), jr.fromDom);
44541
+ const le = j(Si(X), jr.fromDom);
44542
44542
  return rt(Fe(le, B(F0)), Fe(ze(le), B(F0)), (be, He) => ({ start: be, end: He }));
44543
44543
  }, qi = (X, le, be) => {
44544
44544
  const He = wg(le, Xy(X));
@@ -44894,7 +44894,7 @@ function j6e() {
44894
44894
  return !1;
44895
44895
  }, pf = (X, le) => mu(X, le) || Jy(X, le), mh = (X) => {
44896
44896
  const le = X.selection.getStart(), be = _l(X, le);
44897
- return X.dom.getParent(le, "LI,DT,DD", be) || Ci(X).length > 0;
44897
+ return X.dom.getParent(le, "LI,DT,DD", be) || Si(X).length > 0;
44898
44898
  }, k2 = (X) => mh(X) ? (X.undoManager.transact(() => {
44899
44899
  let le = !0;
44900
44900
  const be = () => le = !1;
@@ -45214,8 +45214,8 @@ function X6e() {
45214
45214
  if ((Je.includeWhitespace || !W.test(or)) && (Je.includePunctuation || !G.test(or))) {
45215
45215
  const to = mo - ln.length + 1, ta = mo + 1, wa = St.slice(to, ta).join(I);
45216
45216
  if (Z(wa)) {
45217
- const Do = oe(St, mo), _i = rt.slice(ta, Do);
45218
- Array.prototype.push.apply(ln, _i), mo = Do;
45217
+ const Do = oe(St, mo), Ci = rt.slice(ta, Do);
45218
+ Array.prototype.push.apply(ln, Ci), mo = Do;
45219
45219
  }
45220
45220
  St[mo + 1] === "." && /^([a-zA-Z]\.)+$/.test(wa + ".") ? (ln.push(rt[mo + 1]), pr.push({
45221
45221
  start: to,
@@ -45898,7 +45898,7 @@ const tue = 8, eOe = "undo redo cut copy paste indent2em | image | styleselect f
45898
45898
  },
45899
45899
  emits: ["update:content"],
45900
45900
  setup(n, { expose: e, emit: t }) {
45901
- const { requestBaseUrl: r } = Li(), o = t, i = n;
45901
+ const { requestBaseUrl: r } = bi(), o = t, i = n;
45902
45902
  function l(m) {
45903
45903
  const y = r;
45904
45904
  return m.includes("https://") || m.includes("http://") ? m + "?" + (/* @__PURE__ */ new Date()).getTime() : y + "/" + m + "?" + (/* @__PURE__ */ new Date()).getTime();
@@ -53946,13 +53946,13 @@ function fu(n, e, t, r) {
53946
53946
  var f = o ? n : n.getTextContent();
53947
53947
  if (i) {
53948
53948
  o || (f || (f = new Wo(), n.setTextContent(f)), n.stateProxy && (f.stateProxy = n.stateProxy));
53949
- var h = Ree(t, e), p = e.normal, m = !!p.getShallow("show"), y = bi(p, r && r.normal, t, !1, !o);
53949
+ var h = Ree(t, e), p = e.normal, m = !!p.getShallow("show"), y = xi(p, r && r.normal, t, !1, !o);
53950
53950
  y.text = h.normal, o || n.setTextConfig(hW(p, t, !1));
53951
53951
  for (var l = 0; l < ah.length; l++) {
53952
53952
  var x = ah[l], c = e[x];
53953
53953
  if (c) {
53954
53954
  var C = f.ensureState(x), E = !!Fn(c.getShallow("show"), m);
53955
- if (E !== m && (C.ignore = !E), C.style = bi(c, r && r[x], t, !0, !o), C.style.text = h[x], !o) {
53955
+ if (E !== m && (C.ignore = !E), C.style = xi(c, r && r[x], t, !0, !o), C.style.text = h[x], !o) {
53956
53956
  var T = n.ensureState(x);
53957
53957
  T.textConfig = hW(c, t, !0);
53958
53958
  }
@@ -53975,7 +53975,7 @@ function Pc(n, e) {
53975
53975
  }
53976
53976
  return t;
53977
53977
  }
53978
- function bi(n, e, t, r, o) {
53978
+ function xi(n, e, t, r, o) {
53979
53979
  var i = {};
53980
53980
  return JNe(i, n, t, r, o), e && At(i, e), i;
53981
53981
  }
@@ -57694,7 +57694,7 @@ var nS = io();
57694
57694
  function jH(n, e) {
57695
57695
  return n.getName(e) || n.getId(e);
57696
57696
  }
57697
- var FU = "__universalTransitionEnabled", xi = (
57697
+ var FU = "__universalTransitionEnabled", _i = (
57698
57698
  /** @class */
57699
57699
  (function(n) {
57700
57700
  tt(e, n);
@@ -57872,9 +57872,9 @@ var FU = "__universalTransitionEnabled", xi = (
57872
57872
  })(), e;
57873
57873
  })(fo)
57874
57874
  );
57875
- ac(xi, XG);
57876
- ac(xi, Ire);
57877
- cye(xi, fo);
57875
+ ac(_i, XG);
57876
+ ac(_i, Ire);
57877
+ cye(_i, fo);
57878
57878
  function tfe(n) {
57879
57879
  var e = n.name;
57880
57880
  ire(n) || (n.name = U7e(n) || e);
@@ -60025,7 +60025,7 @@ var bT, nJ, JH, qx, QH, rJ, oJ, TM, DM, Afe, Efe, aJ, Tfe, e$, Dfe, bxe, Ev, kfe
60025
60025
  var Z = I && I.get(G.id) != null;
60026
60026
  if (!Z)
60027
60027
  if (hde(x))
60028
- if (G instanceof xi)
60028
+ if (G instanceof _i)
60029
60029
  x.type === YT && !x.notBlur && !G.get(["emphasis", "disabled"]) && cNe(G, x, m._api);
60030
60030
  else {
60031
60031
  var ne = vre(G.mainType, G.componentIndex, x.name, m._api), oe = ne.focusSelf, Q = ne.dispatchers;
@@ -60033,7 +60033,7 @@ var bT, nJ, JH, qx, QH, rJ, oJ, TM, DM, Afe, Efe, aJ, Tfe, e$, Dfe, bxe, Ev, kfe
60033
60033
  x.type === YT ? d2(j) : f2(j);
60034
60034
  });
60035
60035
  }
60036
- else Tee(x) && G instanceof xi && (fNe(G, x, m._api), dde(G), Ev(m));
60036
+ else Tee(x) && G instanceof _i && (fNe(G, x, m._api), dde(G), Ev(m));
60037
60037
  }, m), T && T.eachComponent(B, function(G) {
60038
60038
  var Z = I && I.get(G.id) != null;
60039
60039
  Z || W(m[C === "series" ? "_chartsMap" : "_componentsMap"][G.__viewId]);
@@ -60565,7 +60565,7 @@ var Lfe = [], v9e = {
60565
60565
  PRIORITY: a9e,
60566
60566
  ComponentModel: fo,
60567
60567
  ComponentView: Hi,
60568
- SeriesModel: xi,
60568
+ SeriesModel: _i,
60569
60569
  ChartView: Ka,
60570
60570
  // TODO Use ComponentModel and SeriesModel instead of Constructor
60571
60571
  registerComponentModel: function(n) {
@@ -60575,7 +60575,7 @@ var Lfe = [], v9e = {
60575
60575
  Hi.registerClass(n);
60576
60576
  },
60577
60577
  registerSeriesModel: function(n) {
60578
- xi.registerClass(n);
60578
+ _i.registerClass(n);
60579
60579
  },
60580
60580
  registerChartView: function(n) {
60581
60581
  Ka.registerClass(n);
@@ -63123,7 +63123,7 @@ function Ize(n, e, t) {
63123
63123
  }
63124
63124
  return h;
63125
63125
  }
63126
- var m0 = new ir(), Ri = new ir(), Rl = new ir(), My = new ir(), wy = new ir();
63126
+ var m0 = new ir(), Li = new ir(), Rl = new ir(), My = new ir(), wy = new ir();
63127
63127
  function Zfe(n, e) {
63128
63128
  if (n) {
63129
63129
  var t = n.getTextGuideLine(), r = n.getTextContent();
@@ -63134,9 +63134,9 @@ function Zfe(n, e) {
63134
63134
  h && Rl.copy(h);
63135
63135
  for (var x = 0; x < l.length; x++) {
63136
63136
  var C = l[x];
63137
- Lze(C, 0, c, m0, My), ir.scaleAndAdd(Ri, m0, My, y), Ri.transform(m);
63138
- var E = n.getBoundingRect(), T = h ? h.distance(Ri) : n instanceof ho ? Ize(Ri, n.path, Rl) : Oze(Ri, E, Rl);
63139
- T < f && (f = T, Ri.transform(p), Rl.transform(p), Rl.toArray(i[0]), Ri.toArray(i[1]), m0.toArray(i[2]));
63137
+ Lze(C, 0, c, m0, My), ir.scaleAndAdd(Li, m0, My, y), Li.transform(m);
63138
+ var E = n.getBoundingRect(), T = h ? h.distance(Li) : n instanceof ho ? Ize(Li, n.path, Rl) : Oze(Li, E, Rl);
63139
+ T < f && (f = T, Li.transform(p), Rl.transform(p), Rl.toArray(i[0]), Li.toArray(i[1]), m0.toArray(i[2]));
63140
63140
  }
63141
63141
  a2e(i, e.get("minTurnAngle")), t.setShape({
63142
63142
  points: i
@@ -63147,41 +63147,41 @@ function Zfe(n, e) {
63147
63147
  var LW = [], Kf = new ir();
63148
63148
  function a2e(n, e) {
63149
63149
  if (e <= 180 && e > 0) {
63150
- e = e / 180 * Math.PI, m0.fromArray(n[0]), Ri.fromArray(n[1]), Rl.fromArray(n[2]), ir.sub(My, m0, Ri), ir.sub(wy, Rl, Ri);
63150
+ e = e / 180 * Math.PI, m0.fromArray(n[0]), Li.fromArray(n[1]), Rl.fromArray(n[2]), ir.sub(My, m0, Li), ir.sub(wy, Rl, Li);
63151
63151
  var t = My.len(), r = wy.len();
63152
63152
  if (!(t < 1e-3 || r < 1e-3)) {
63153
63153
  My.scale(1 / t), wy.scale(1 / r);
63154
63154
  var o = My.dot(wy), i = Math.cos(e);
63155
63155
  if (i < o) {
63156
- var l = RW(Ri.x, Ri.y, Rl.x, Rl.y, m0.x, m0.y, LW, !1);
63156
+ var l = RW(Li.x, Li.y, Rl.x, Rl.y, m0.x, m0.y, LW, !1);
63157
63157
  Kf.fromArray(LW), Kf.scaleAndAdd(wy, l / Math.tan(Math.PI - e));
63158
- var c = Rl.x !== Ri.x ? (Kf.x - Ri.x) / (Rl.x - Ri.x) : (Kf.y - Ri.y) / (Rl.y - Ri.y);
63158
+ var c = Rl.x !== Li.x ? (Kf.x - Li.x) / (Rl.x - Li.x) : (Kf.y - Li.y) / (Rl.y - Li.y);
63159
63159
  if (isNaN(c))
63160
63160
  return;
63161
- c < 0 ? ir.copy(Kf, Ri) : c > 1 && ir.copy(Kf, Rl), Kf.toArray(n[1]);
63161
+ c < 0 ? ir.copy(Kf, Li) : c > 1 && ir.copy(Kf, Rl), Kf.toArray(n[1]);
63162
63162
  }
63163
63163
  }
63164
63164
  }
63165
63165
  }
63166
63166
  function Nze(n, e, t) {
63167
63167
  if (t <= 180 && t > 0) {
63168
- t = t / 180 * Math.PI, m0.fromArray(n[0]), Ri.fromArray(n[1]), Rl.fromArray(n[2]), ir.sub(My, Ri, m0), ir.sub(wy, Rl, Ri);
63168
+ t = t / 180 * Math.PI, m0.fromArray(n[0]), Li.fromArray(n[1]), Rl.fromArray(n[2]), ir.sub(My, Li, m0), ir.sub(wy, Rl, Li);
63169
63169
  var r = My.len(), o = wy.len();
63170
63170
  if (!(r < 1e-3 || o < 1e-3)) {
63171
63171
  My.scale(1 / r), wy.scale(1 / o);
63172
63172
  var i = My.dot(e), l = Math.cos(t);
63173
63173
  if (i < l) {
63174
- var c = RW(Ri.x, Ri.y, Rl.x, Rl.y, m0.x, m0.y, LW, !1);
63174
+ var c = RW(Li.x, Li.y, Rl.x, Rl.y, m0.x, m0.y, LW, !1);
63175
63175
  Kf.fromArray(LW);
63176
63176
  var f = Math.PI / 2, h = Math.acos(wy.dot(e)), p = f + h - t;
63177
63177
  if (p >= f)
63178
63178
  ir.copy(Kf, Rl);
63179
63179
  else {
63180
63180
  Kf.scaleAndAdd(wy, c / Math.tan(Math.PI / 2 - p));
63181
- var m = Rl.x !== Ri.x ? (Kf.x - Ri.x) / (Rl.x - Ri.x) : (Kf.y - Ri.y) / (Rl.y - Ri.y);
63181
+ var m = Rl.x !== Li.x ? (Kf.x - Li.x) / (Rl.x - Li.x) : (Kf.y - Li.y) / (Rl.y - Li.y);
63182
63182
  if (isNaN(m))
63183
63183
  return;
63184
- m < 0 ? ir.copy(Kf, Ri) : m > 1 && ir.copy(Kf, Rl);
63184
+ m < 0 ? ir.copy(Kf, Li) : m > 1 && ir.copy(Kf, Rl);
63185
63185
  }
63186
63186
  Kf.toArray(n[1]);
63187
63187
  }
@@ -64951,7 +64951,7 @@ var RVe = (
64951
64951
  },
64952
64952
  triggerLineEvent: !1
64953
64953
  }, e;
64954
- })(xi)
64954
+ })(_i)
64955
64955
  );
64956
64956
  function _R(n, e) {
64957
64957
  var t = n.mapDimensionsAll("defaultedLabel"), r = t.length;
@@ -66181,9 +66181,9 @@ var MN = (
66181
66181
  progressiveChunkMode: "mod",
66182
66182
  defaultBarGap: "10%"
66183
66183
  }, e;
66184
- })(xi)
66184
+ })(_i)
66185
66185
  );
66186
- xi.registerClass(MN);
66186
+ _i.registerClass(MN);
66187
66187
  var KVe = (
66188
66188
  /** @class */
66189
66189
  (function(n) {
@@ -67412,7 +67412,7 @@ var ZR = (
67412
67412
  animationDurationUpdate: 500,
67413
67413
  animationEasing: "cubicInOut"
67414
67414
  }, e;
67415
- })(xi)
67415
+ })(_i)
67416
67416
  );
67417
67417
  EPe({
67418
67418
  fullType: z2e.type,
@@ -67488,7 +67488,7 @@ var CHe = (
67488
67488
  }
67489
67489
  // progressive: null
67490
67490
  }, e;
67491
- })(xi)
67491
+ })(_i)
67492
67492
  ), V2e = 4, SHe = (
67493
67493
  /** @class */
67494
67494
  /* @__PURE__ */ (function() {
@@ -68345,7 +68345,7 @@ var nh = (
68345
68345
  y: k.y,
68346
68346
  rotation: W.rotation,
68347
68347
  silent: nh.isLabelSilent(r),
68348
- style: bi(x, {
68348
+ style: xi(x, {
68349
68349
  text: p,
68350
68350
  font: Z,
68351
68351
  overflow: "truncate",
@@ -68534,7 +68534,7 @@ function YHe(n, e, t, r, o, i) {
68534
68534
  // --- transform props end ---
68535
68535
  silent: nh.isLabelSilent(o),
68536
68536
  z2: Ve,
68537
- style: bi(Q, {
68537
+ style: xi(Q, {
68538
68538
  text: ne,
68539
68539
  align: W === 0 ? ve : W === m.length - 1 ? pe : z,
68540
68540
  verticalAlign: W === 0 ? Fe : W === m.length - 1 ? ye : _e,
@@ -69676,7 +69676,7 @@ var D$e = (
69676
69676
  symbolSize: 8
69677
69677
  // symbolRotate: null
69678
69678
  }, e;
69679
- })(xi)
69679
+ })(_i)
69680
69680
  ), bI = U2e.value;
69681
69681
  function g$(n, e) {
69682
69682
  return lr({
@@ -71392,7 +71392,7 @@ var hUe = (
71392
71392
  },
71393
71393
  nameProperty: "name"
71394
71394
  }, e;
71395
- })(xi)
71395
+ })(_i)
71396
71396
  );
71397
71397
  function gUe(n, e) {
71398
71398
  var t = {};
@@ -72632,7 +72632,7 @@ var GUe = (
72632
72632
  animationDuration: 700,
72633
72633
  animationDurationUpdate: 500
72634
72634
  }, e;
72635
- })(xi)
72635
+ })(_i)
72636
72636
  );
72637
72637
  function ZUe(n, e, t) {
72638
72638
  for (var r = [n], o = [], i; i = r.pop(); )
@@ -72953,7 +72953,7 @@ var QUe = (
72953
72953
  // visibleMin, itemStyle, visualDimension, label
72954
72954
  // }
72955
72955
  }, e;
72956
- })(xi)
72956
+ })(_i)
72957
72957
  );
72958
72958
  function w_e(n) {
72959
72959
  var e = 0;
@@ -73020,7 +73020,7 @@ var tWe = 8, _pe = 8, LJ = 5, nWe = (
73020
73020
  lineJoin: "bevel"
73021
73021
  }),
73022
73022
  textContent: new Wo({
73023
- style: bi(l, {
73023
+ style: xi(l, {
73024
73024
  text: O
73025
73025
  })
73026
73026
  }),
@@ -73030,7 +73030,7 @@ var tWe = 8, _pe = 8, LJ = 5, nWe = (
73030
73030
  z2: OR * 1e4,
73031
73031
  onclick: Pr(f, k)
73032
73032
  });
73033
- I.disableLabelAnimation = !0, I.getTextContent().ensureState("emphasis").style = bi(c, {
73033
+ I.disableLabelAnimation = !0, I.getTextContent().ensureState("emphasis").style = xi(c, {
73034
73034
  text: O
73035
73035
  }), I.ensureState("emphasis").style = C, os(I, i.get("focus"), i.get("blurScope"), i.get("disabled")), this.group.add(I), oWe(I, e, k), h += B + _pe;
73036
73036
  }
@@ -75456,7 +75456,7 @@ var eGe = (
75456
75456
  }
75457
75457
  }
75458
75458
  }, e;
75459
- })(xi)
75459
+ })(_i)
75460
75460
  );
75461
75461
  function tGe(n) {
75462
75462
  n.registerChartView(JWe), n.registerSeriesModel(eGe), n.registerProcessor(IWe), n.registerVisual(NWe), n.registerVisual(PWe), n.registerLayout($We), n.registerLayout(n.PRIORITY.VISUAL.POST_CHART_LAYOUT, WWe), n.registerLayout(ZWe), n.registerCoordinateSystem("graphView", {
@@ -75753,7 +75753,7 @@ var rGe = Math.PI / 180, oGe = (
75753
75753
  }
75754
75754
  }
75755
75755
  }, e;
75756
- })(xi)
75756
+ })(_i)
75757
75757
  ), ZJ = Math.PI / 180;
75758
75758
  function iGe(n, e) {
75759
75759
  n.eachSeriesByType("chord", function(t) {
@@ -75966,7 +75966,7 @@ var fGe = (
75966
75966
  if (O.get("show")) {
75967
75967
  var Fe = O.get("distance") + z, Ve = x$(Jl(_e / I * (T - E) + E), O.get("formatter")), ze = i(_e / I), xe = ve * (C - G - Fe) + y, we = pe * (C - G - Fe) + x, Ne = O.get("rotate"), Ye = 0;
75968
75968
  Ne === "radial" ? (Ye = -ne + 2 * Math.PI, Ye > Math.PI / 2 && (Ye += Math.PI)) : Ne === "tangential" ? Ye = -ne - Math.PI / 2 : Ho(Ne) && (Ye = Ne * Math.PI / 180), Ye === 0 ? m.add(new Wo({
75969
- style: bi(O, {
75969
+ style: xi(O, {
75970
75970
  text: Ve,
75971
75971
  x: xe,
75972
75972
  y: we,
@@ -75977,7 +75977,7 @@ var fGe = (
75977
75977
  }),
75978
75978
  silent: !0
75979
75979
  })) : m.add(new Wo({
75980
- style: bi(O, {
75980
+ style: xi(O, {
75981
75981
  text: Ve,
75982
75982
  x: xe,
75983
75983
  y: we,
@@ -76119,7 +76119,7 @@ var fGe = (
76119
76119
  var Z = G.get("offsetCenter"), ne = l.cx + yn(Z[0], l.r), oe = l.cy + yn(Z[1], l.r), Q = x[k];
76120
76120
  Q.attr({
76121
76121
  z2: T ? 0 : 2,
76122
- style: bi(G, {
76122
+ style: xi(G, {
76123
76123
  x: ne,
76124
76124
  y: oe,
76125
76125
  text: f.getName(k),
@@ -76135,7 +76135,7 @@ var fGe = (
76135
76135
  var ee = j.get("offsetCenter"), z = l.cx + yn(ee[0], l.r), ve = l.cy + yn(ee[1], l.r), pe = yn(j.get("width"), l.r), _e = yn(j.get("height"), l.r), Fe = t.get(["progress", "show"]) ? f.getItemVisual(k, "style").fill : W, Q = C[k], ye = j.get("formatter");
76136
76136
  Q.attr({
76137
76137
  z2: T ? 0 : 2,
76138
- style: bi(j, {
76138
+ style: xi(j, {
76139
76139
  x: z,
76140
76140
  y: ve,
76141
76141
  text: x$(O, ye),
@@ -76294,7 +76294,7 @@ var fGe = (
76294
76294
  valueAnimation: !1
76295
76295
  }
76296
76296
  }, e;
76297
- })(xi)
76297
+ })(_i)
76298
76298
  );
76299
76299
  function pGe(n) {
76300
76300
  n.registerChartView(fGe), n.registerSeriesModel(hGe);
@@ -76467,7 +76467,7 @@ var gGe = ["itemStyle", "opacity"], vGe = (
76467
76467
  }
76468
76468
  }
76469
76469
  }, e;
76470
- })(xi)
76470
+ })(_i)
76471
76471
  );
76472
76472
  function bGe(n, e) {
76473
76473
  for (var t = n.mapDimension("value"), r = n.mapArray(t, function(f) {
@@ -76697,7 +76697,7 @@ var TGe = (
76697
76697
  smooth: !1,
76698
76698
  animationEasing: "linear"
76699
76699
  }, e;
76700
- })(xi)
76700
+ })(_i)
76701
76701
  );
76702
76702
  function DGe(n) {
76703
76703
  var e = n.ecModel.getComponent("parallel", n.get("parallelIndex"));
@@ -78013,7 +78013,7 @@ var xZe = (
78013
78013
  animationEasing: "linear",
78014
78014
  animationDuration: 1e3
78015
78015
  }, e;
78016
- })(xi)
78016
+ })(_i)
78017
78017
  );
78018
78018
  function _Ze(n, e) {
78019
78019
  n.eachSeriesByType("sankey", function(t) {
@@ -78426,7 +78426,7 @@ var iCe = (
78426
78426
  },
78427
78427
  animationDuration: 800
78428
78428
  }, e;
78429
- })(xi)
78429
+ })(_i)
78430
78430
  );
78431
78431
  ac(sCe, iCe, !0);
78432
78432
  var VZe = (
@@ -78891,7 +78891,7 @@ var cCe = (
78891
78891
  animationEasing: "linear",
78892
78892
  animationDuration: 300
78893
78893
  }, e;
78894
- })(xi)
78894
+ })(_i)
78895
78895
  );
78896
78896
  ac(cCe, iCe, !0);
78897
78897
  function cqe(n) {
@@ -79135,7 +79135,7 @@ var hqe = (
79135
79135
  // opacity: 1
79136
79136
  // }
79137
79137
  }, e;
79138
- })(xi)
79138
+ })(_i)
79139
79139
  );
79140
79140
  function vqe(n) {
79141
79141
  n.registerChartView(pqe), n.registerSeriesModel(gqe), n.registerLayout(uP("effectScatter"));
@@ -79662,7 +79662,7 @@ var wqe = (
79662
79662
  opacity: 0.5
79663
79663
  }
79664
79664
  }, e;
79665
- })(xi)
79665
+ })(_i)
79666
79666
  );
79667
79667
  function C$(n) {
79668
79668
  return n instanceof Array || (n = [n, n]), n;
@@ -79912,7 +79912,7 @@ var Rqe = (
79912
79912
  }
79913
79913
  }
79914
79914
  }, e;
79915
- })(xi)
79915
+ })(_i)
79916
79916
  );
79917
79917
  function Bqe(n) {
79918
79918
  n.registerChartView(Rqe), n.registerSeriesModel(Lqe);
@@ -80463,7 +80463,7 @@ var oQ = 2, qqe = (
80463
80463
  }
80464
80464
  }
80465
80465
  }, e;
80466
- })(xi)
80466
+ })(_i)
80467
80467
  );
80468
80468
  function jqe(n, e) {
80469
80469
  n.eachSeriesByType("themeRiver", function(t) {
@@ -80572,7 +80572,7 @@ var Kqe = 2, Jqe = 4, vge = (
80572
80572
  var r = this, o = this.node.getModel(), i = o.getModel("label"), l = this.node.getLayout(), c = l.endAngle - l.startAngle, f = (l.startAngle + l.endAngle) / 2, h = Math.cos(f), p = Math.sin(f), m = this, y = m.getTextContent(), x = this.node.dataIndex, C = i.get("minAngle") / 180 * Math.PI, E = i.get("show") && !(C != null && Math.abs(c) < C);
80573
80573
  y.ignore = !E, ge(mN, function(k) {
80574
80574
  var B = k === "normal" ? o.getModel("label") : o.getModel([k, "label"]), O = k === "normal", I = O ? y : y.ensureState(k), W = t.getFormattedLabel(x, k);
80575
- O && (W = W || r.node.name), I.style = bi(B, {}, null, k !== "normal", !0), W && (I.style.text = W);
80575
+ O && (W = W || r.node.name), I.style = xi(B, {}, null, k !== "normal", !0), W && (I.style.text = W);
80576
80576
  var G = B.get("show");
80577
80577
  G != null && !O && (I.ignore = !G);
80578
80578
  var Z = T(B, "position"), ne = O ? m : m.states[k], oe = ne.style.fill;
@@ -80823,7 +80823,7 @@ var tje = (
80823
80823
  */
80824
80824
  sort: "desc"
80825
80825
  }, e;
80826
- })(xi)
80826
+ })(_i)
80827
80827
  );
80828
80828
  function bCe(n) {
80829
80829
  var e = 0;
@@ -80994,7 +80994,7 @@ var bge = {
80994
80994
  // Geo coordinate system
80995
80995
  // geoIndex: 0,
80996
80996
  }, e;
80997
- })(xi)
80997
+ })(_i)
80998
80998
  );
80999
80999
  function cje(n, e) {
81000
81000
  return e = e || [0, 0], Nt(["x", "y"], function(t, r) {
@@ -81713,14 +81713,14 @@ function kge(n, e, t, r) {
81713
81713
  ye != null && (ze.fill = ye), Ve != null && (ze.opacity = Ve);
81714
81714
  var xe = {
81715
81715
  inheritColor: bn(ye) ? ye : ct.color.neutral99
81716
- }, we = I(_e, bS), Ne = bi(we, null, xe, !1, !0);
81716
+ }, we = I(_e, bS), Ne = xi(we, null, xe, !1, !0);
81717
81717
  Ne.text = we.getShallow("show") ? Fn(n.getFormattedLabel(_e, bS), _R(e, _e)) : null;
81718
81718
  var Ye = hW(we, xe, !1);
81719
81719
  return Q(pe, ze), ze = Cge(ze, Ne, Ye), pe && oe(ze, pe), ze.legacy = !0, ze;
81720
81720
  }
81721
81721
  function ne(pe, _e) {
81722
81722
  process.env.NODE_ENV !== "production" && wge("api.styleEmphasis", "Please write literal style directly instead."), _e == null && (_e = p);
81723
- var Fe = O(_e, i2).getItemStyle(), ye = I(_e, i2), Ve = bi(ye, null, null, !0, !0);
81723
+ var Fe = O(_e, i2).getItemStyle(), ye = I(_e, i2), Ve = xi(ye, null, null, !0, !0);
81724
81724
  Ve.text = ye.getShallow("show") ? eh(n.getFormattedLabel(_e, i2), n.getFormattedLabel(_e, bS), _R(e, _e)) : null;
81725
81725
  var ze = hW(ye, null, !0);
81726
81726
  return Q(pe, Fe), Fe = Cge(Fe, Ve, ze), pe && oe(Fe, pe), Fe.legacy = !0, Fe;
@@ -82093,7 +82093,7 @@ function LCe(n, e, t, r, o) {
82093
82093
  // shape: {x: 0, y: 0, width: width, height: height, r: labelModel.get('borderRadius')},
82094
82094
  x: m[0],
82095
82095
  y: m[1],
82096
- style: bi(c, {
82096
+ style: xi(c, {
82097
82097
  text: l,
82098
82098
  font: h,
82099
82099
  fill: c.getTextColor(),
@@ -83032,7 +83032,7 @@ var CYe = (
83032
83032
  }
83033
83033
  var G = new Wo({
83034
83034
  silent: nh.isLabelSilent(e),
83035
- style: bi(x, {
83035
+ style: xi(x, {
83036
83036
  x: T[0],
83037
83037
  y: T[1],
83038
83038
  fill: x.getTextColor() || e.get(["axisLine", "lineStyle", "color"]),
@@ -83853,7 +83853,7 @@ var qYe = (
83853
83853
  nameMap: C
83854
83854
  }, k = this._formatterLabel(E, T), B = new Wo({
83855
83855
  z2: 30,
83856
- style: bi(l, {
83856
+ style: xi(l, {
83857
83857
  text: k
83858
83858
  }),
83859
83859
  silent: l.get("silent")
@@ -83889,7 +83889,7 @@ var qYe = (
83889
83889
  nameMap: W
83890
83890
  }, Z = this._formatterLabel(I, G), ne = new Wo({
83891
83891
  z2: 30,
83892
- style: At(bi(l, {
83892
+ style: At(xi(l, {
83893
83893
  text: Z
83894
83894
  }), this._monthTextPositionControl(k, C, o, h, f)),
83895
83895
  silent: E
@@ -83923,7 +83923,7 @@ var qYe = (
83923
83923
  I = Math.abs((k + y) % 7);
83924
83924
  var W = new Wo({
83925
83925
  z2: 30,
83926
- style: At(bi(c, {
83926
+ style: At(xi(c, {
83927
83927
  text: p[I]
83928
83928
  }), this._weekTextPositionControl(O, i, h, m, E)),
83929
83929
  silent: T
@@ -87902,7 +87902,7 @@ var ZKe = (
87902
87902
  return e.prototype.render = function(t, r, o) {
87903
87903
  if (this.group.removeAll(), !!t.get("show")) {
87904
87904
  var i = this.group, l = t.getModel("textStyle"), c = t.getModel("subtextStyle"), f = t.get("textAlign"), h = Fn(t.get("textBaseline"), t.get("textVerticalAlign")), p = new Wo({
87905
- style: bi(l, {
87905
+ style: xi(l, {
87906
87906
  text: t.get("text"),
87907
87907
  fill: l.getTextColor()
87908
87908
  }, {
@@ -87910,7 +87910,7 @@ var ZKe = (
87910
87910
  }),
87911
87911
  z2: 10
87912
87912
  }), m = p.getBoundingRect(), y = t.get("subtext"), x = new Wo({
87913
- style: bi(c, {
87913
+ style: xi(c, {
87914
87914
  text: y,
87915
87915
  fill: c.getTextColor(),
87916
87916
  y: m.height + t.get("itemGap"),
@@ -88328,13 +88328,13 @@ var YKe = (
88328
88328
  rotation: t.labelRotation - t.rotation,
88329
88329
  onclick: xn(l._changeTimeline, l, m),
88330
88330
  silent: !1,
88331
- style: bi(x, {
88331
+ style: xi(x, {
88332
88332
  text: p.formattedLabel,
88333
88333
  align: t.labelAlign,
88334
88334
  verticalAlign: t.labelBaseline
88335
88335
  })
88336
88336
  });
88337
- k.ensureState("emphasis").style = bi(C), k.ensureState("progress").style = bi(E), r.add(k), XT(k), qve(k).dataIndex = m, l._tickLabels.push(k);
88337
+ k.ensureState("emphasis").style = xi(C), k.ensureState("progress").style = xi(E), r.add(k), XT(k), qve(k).dataIndex = m, l._tickLabels.push(k);
88338
88338
  });
88339
88339
  }
88340
88340
  }, e.prototype._renderControl = function(t, r, o, i) {
@@ -89596,7 +89596,7 @@ var AJe = function(n, e) {
89596
89596
  bn(Q) && Q ? j = Q.replace("{name}", r ?? "") : Zn(Q) && (j = Q(r));
89597
89597
  var ee = T ? G.getTextColor() : i.get("inactiveColor");
89598
89598
  W.add(new Wo({
89599
- style: bi(G, {
89599
+ style: xi(G, {
89600
89600
  text: j,
89601
89601
  x: ne,
89602
89602
  y: E / 2,
@@ -90498,7 +90498,7 @@ var WJe = (
90498
90498
  t.add(i[O] = new Wo({
90499
90499
  silent: !0,
90500
90500
  invisible: !j,
90501
- style: bi(oe, {
90501
+ style: xi(oe, {
90502
90502
  x: 0,
90503
90503
  y: 0,
90504
90504
  text: "",
@@ -91114,7 +91114,7 @@ var yy = Ca, iQe = ge, hme = Math.min, DQ = Math.max, sQe = 12, lQe = 6, cQe = (
91114
91114
  i = i != null ? i + "" : "";
91115
91115
  var l = this.visualMapModel, c = l.get("textGap"), f = l.itemSize, h = this._shapes.mainGroup, p = this._applyTransform([f[0] / 2, o === 0 ? -c : f[1] + c], h), m = this._applyTransform(o === 0 ? "bottom" : "top", h), y = this._orient, x = this.visualMapModel.textStyleModel;
91116
91116
  this.group.add(new Wo({
91117
- style: bi(x, {
91117
+ style: xi(x, {
91118
91118
  x: p[0],
91119
91119
  y: p[1],
91120
91120
  verticalAlign: x.get("verticalAlign") || (y === "horizontal" ? "middle" : m),
@@ -91158,7 +91158,7 @@ var yy = Ca, iQe = ge, hme = Math.min, DQ = Math.max, sQe = 12, lQe = 6, cQe = (
91158
91158
  c2(k.event);
91159
91159
  },
91160
91160
  ondragend: h,
91161
- style: bi(x, {
91161
+ style: xi(x, {
91162
91162
  x: 0,
91163
91163
  y: 0,
91164
91164
  text: ""
@@ -91196,7 +91196,7 @@ var yy = Ca, iQe = ge, hme = Math.min, DQ = Math.max, sQe = 12, lQe = 6, cQe = (
91196
91196
  var m = this.visualMapModel.textStyleModel, y = new Wo({
91197
91197
  silent: !0,
91198
91198
  invisible: !0,
91199
- style: bi(m, {
91199
+ style: xi(m, {
91200
91200
  x: 0,
91201
91201
  y: 0,
91202
91202
  text: ""
@@ -91756,7 +91756,7 @@ var yQe = (
91756
91756
  if (this._createItemSymbol(C, E, [0, 0, c[0], c[1]], m), p) {
91757
91757
  var T = this.visualMapModel.getValueState(E), k = i.get("align") || l;
91758
91758
  C.add(new Wo({
91759
- style: bi(i, {
91759
+ style: xi(i, {
91760
91760
  x: k === "right" ? -o : c[0] + o,
91761
91761
  y: c[1] / 2,
91762
91762
  text: x.text,
@@ -91793,7 +91793,7 @@ var yQe = (
91793
91793
  if (r) {
91794
91794
  var c = new Qn(), f = this.visualMapModel.textStyleModel;
91795
91795
  c.add(new Wo({
91796
- style: bi(f, {
91796
+ style: xi(f, {
91797
91797
  x: i ? l === "right" ? o[0] : 0 : o[0] / 2,
91798
91798
  y: o[1] / 2,
91799
91799
  verticalAlign: "middle",
@@ -94557,7 +94557,7 @@ const ESe = (n, e, t, r) => {
94557
94557
  const n = D0();
94558
94558
  return {
94559
94559
  changePrimary: (t) => {
94560
- t || (t = Li().defaultAppConfig.DEFAULT_PRIMARY, C0({
94560
+ t || (t = bi().defaultAppConfig.DEFAULT_PRIMARY, C0({
94561
94561
  type: "success",
94562
94562
  message: `主题颜色已重置为 ${t}`
94563
94563
  })), document.documentElement.style.setProperty("--el-color-primary", t), n.setGlobalState("primary", t);
@@ -95177,7 +95177,7 @@ const rtt = { class: "title" }, ott = { class: "desc" }, att = /* @__PURE__ */ a
95177
95177
  breadcrumbIcon: c,
95178
95178
  tabs: f,
95179
95179
  tabsIcon: h
95180
- } = BQ(t), p = [Li().defaultAppConfig.DEFAULT_PRIMARY, "#daa96e", "#0c819f", "#409eff", "#27ae60", "#ff5c93", "#e74c3c", "#fd726d", "#f39c12", "#9b59b6"], m = sr(!1);
95180
+ } = BQ(t), p = [bi().defaultAppConfig.DEFAULT_PRIMARY, "#daa96e", "#0c819f", "#409eff", "#27ae60", "#ff5c93", "#e74c3c", "#fd726d", "#f39c12", "#9b59b6"], m = sr(!1);
95181
95181
  Z0e.on("openThemeDrawer", () => m.value = !0);
95182
95182
  const y = wr(() => t.assemblySize), x = [
95183
95183
  { label: "默认", value: "default" },
@@ -95308,7 +95308,7 @@ const btt = /* @__PURE__ */ cp(mtt, [["render", ytt], ["__scopeId", "data-v-ed66
95308
95308
  title: e.meta.title,
95309
95309
  path: e.fullPath,
95310
95310
  name: e.name,
95311
- close: !e.meta.affix && e.fullPath != Li().defaultAppConfig.HOME_URL,
95311
+ close: !e.meta.affix && e.fullPath != bi().defaultAppConfig.HOME_URL,
95312
95312
  // keepAlive: route.meta.keepAlive as boolean
95313
95313
  keepAlive: !0
95314
95314
  };
@@ -95323,7 +95323,7 @@ const btt = /* @__PURE__ */ cp(mtt, [["render", ytt], ["__scopeId", "data-v-ed66
95323
95323
  const C = [];
95324
95324
  r.tabsMenuList.forEach((E) => {
95325
95325
  const T = o.flatMenuListGet.find((k) => k.url === E.path);
95326
- T && C.push(p(T));
95326
+ T ? C.push(p(T)) : E.path === bi().defaultAppConfig.HOME_URL && C.push(E);
95327
95327
  }), r.refreshTabs(C);
95328
95328
  };
95329
95329
  function p(C) {
@@ -95378,7 +95378,7 @@ const btt = /* @__PURE__ */ cp(mtt, [["render", ytt], ["__scopeId", "data-v-ed66
95378
95378
  ]);
95379
95379
  };
95380
95380
  }
95381
- }), Stt = /* @__PURE__ */ cp(Ctt, [["__scopeId", "data-v-fc11706d"]]), wtt = /* @__PURE__ */ ao({
95381
+ }), Stt = /* @__PURE__ */ cp(Ctt, [["__scopeId", "data-v-0459aa8e"]]), wtt = /* @__PURE__ */ ao({
95382
95382
  __name: "index",
95383
95383
  setup(n) {
95384
95384
  const e = D0(), { maximize: t, isCollapse: r, layout: o, tabs: i } = BQ(e), l = _y(), { keepAliveName: c } = BQ(l), f = sr(!0);
@@ -95690,7 +95690,7 @@ const btt = /* @__PURE__ */ cp(mtt, [["render", ytt], ["__scopeId", "data-v-ed66
95690
95690
  }), Ftt = /* @__PURE__ */ ao({
95691
95691
  __name: "Language",
95692
95692
  setup(n) {
95693
- const { defaultAuthApi: e } = Li(), t = i5e(), r = D0(), o = y2(), i = wr(() => r.language), l = [
95693
+ const { defaultAuthApi: e } = bi(), t = i5e(), r = D0(), o = y2(), i = wr(() => r.language), l = [
95694
95694
  { label: "简体中文", value: "zh-CN" },
95695
95695
  { label: "English", value: "en-US" }
95696
95696
  ], c = (f) => {
@@ -95844,7 +95844,7 @@ const btt = /* @__PURE__ */ cp(mtt, [["render", ytt], ["__scopeId", "data-v-ed66
95844
95844
  }), qtt = ["src"], jtt = { class: "avatar-drawer" }, Ytt = { class: "footer" }, Xtt = /* @__PURE__ */ ao({
95845
95845
  __name: "Avatar",
95846
95846
  setup(n) {
95847
- const e = VN(), { defaultAuthApi: t } = Li(), { executing: r } = fZ([], void 0, [t.SCOPES, t.LOGOUT]), o = sr(!1), i = b2(), l = Vne().app.default_avatar, c = () => {
95847
+ const e = VN(), { defaultAuthApi: t } = bi(), { executing: r } = fZ([], void 0, [t.SCOPES, t.LOGOUT]), o = sr(!1), i = b2(), l = Vne().app.default_avatar, c = () => {
95848
95848
  Zme.confirm("您是否确认退出登录?", "温馨提示", {
95849
95849
  confirmButtonText: "确定",
95850
95850
  cancelButtonText: "取消",
@@ -96292,7 +96292,7 @@ export {
96292
96292
  W0e as getMenuListPath,
96293
96293
  xBe as getMonthEnd,
96294
96294
  bBe as getMonthStart,
96295
- Li as getOptions,
96295
+ bi as getOptions,
96296
96296
  Ine as getShowMenuList,
96297
96297
  I0e as getTime,
96298
96298
  yBe as getTodayEnd,