@factorialco/f0-react 7.10.0 → 7.12.0

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.
Files changed (28) hide show
  1. package/dist/{ChatPdfThumbnail-D7pTdFg5.js → ChatPdfThumbnail-DLaIYO-I.js} +1 -1
  2. package/dist/{ChatPostComposerDialog-C8ExuW4c.js → ChatPostComposerDialog-4FOpj4qy.js} +3 -3
  3. package/dist/{CoachmarkProvider-DJQHQFqk.js → CoachmarkProvider-C-z3xlg6.js} +1 -1
  4. package/dist/{DocumentToolbar-BjaiEUEi.js → DocumentToolbar-l7PxkK4o.js} +2 -2
  5. package/dist/{DocxViewer-BMVjKj4H.js → DocxViewer-CBiKF5rZ.js} +2 -2
  6. package/dist/{F0AiProcessingOverlay-Dj55I0Gt.js → F0AiProcessingOverlay-BYUYtCeT.js} +1 -1
  7. package/dist/{F0CanvasPanel-CuTymScT.js → F0CanvasPanel-B52A84Yd.js} +414 -403
  8. package/dist/{F0VideoPlayer-0aZy2NDP.js → F0VideoPlayer-CYkJgfvF.js} +1 -1
  9. package/dist/{LocationMap-DptfAWGn.js → LocationMap-P9l5SS9_.js} +1 -1
  10. package/dist/{SheetViewer-CjualyWJ.js → SheetViewer-DiM7dzkD.js} +2 -2
  11. package/dist/{TextViewer-4yJEabSH.js → TextViewer-6MkpYRV9.js} +2 -2
  12. package/dist/ai.d.ts +11 -8
  13. package/dist/ai.js +2 -2
  14. package/dist/component-status.d.ts +8 -8
  15. package/dist/component-status.js +1 -1
  16. package/dist/{experimental-BycvsCRG.js → experimental-DtqXX6Z2.js} +11588 -11312
  17. package/dist/experimental.d.ts +128 -15
  18. package/dist/experimental.js +195 -192
  19. package/dist/f0.d.ts +19 -8
  20. package/dist/f0.js +257 -257
  21. package/dist/i18n-provider-defaults.d.ts +11 -8
  22. package/dist/i18n-provider-defaults.js +3 -0
  23. package/dist/index-YxKgC6R7.js +4 -0
  24. package/dist/{index-DWIUIuqD.js → index-iNjzeXPY.js} +3 -3
  25. package/dist/{pdfWorker-Ch2XTIq-.js → pdfWorker-5KFe_TGk.js} +2 -2
  26. package/dist/styles.css +1 -1
  27. package/package.json +2 -2
  28. package/dist/index-D5k02dJT.js +0 -4
package/dist/f0.js CHANGED
@@ -1,18 +1,18 @@
1
- import { eQ as SN, w as ct, ed as R_, cv as mn, eR as CN, eS as sF, b$ as In, eT as lF, eU as uF, eV as TN, s as rr, c7 as bf, eW as Uw, eX as Nr, eY as Ja, eZ as cF, e_ as Si, u as Be, bZ as fp, e$ as Ql, f0 as fF, f1 as DN, bY as bl, f2 as Ky, f3 as dF, S as ie, t as O_, f4 as hF, f5 as vF, f6 as Yw, cB as pF, f7 as gF, f8 as mF, f9 as AN, fa as yF, v as _f, x as xf, n as ot, y as wf, z as $r, Q as bF, R as _F, A as ts, B as rs, aA as Ra, E as ns, fb as Qy, d9 as Ct, W as at, ai as Nl, da as Oa, df as MN, dn as B_, fc as xF, co as wF, cp as Xw, o as LN, q as Il, b_ as Rc, cq as SF, eL as Vh, ea as EN, fd as CF, fe as qw, dc as TF, ff as Zw, di as DF, fg as AF, c4 as NN, e6 as IN, fh as Jy, ds as MF, a8 as e0, a7 as z_, fi as Jl, fj as Sf, fk as kN, fl as LF, fm as PN, fn as EF, fo as dp, b7 as V_, fp as NF, cc as RN, fq as IF, ax as kF, fr as F_, ba as ON, c8 as PF, c9 as RF, ca as OF, d as BF, bF as BN, ak as vs, bL as zN, b6 as VN, ah as G_, bN as FN, Y as H_, H as _l, J as xl, L as wl, M as Sl, fs as Oi, a0 as GN, j as zF, K as Pr, eu as VF, b4 as Fh, av as kl, bW as W_, b8 as t0, cs as Oc, cl as FF, aW as Cf, at as eu, aj as HN, dM as WN, dz as $N, ft as Vr, fu as GF, fv as HF, fw as WF, fx as $_, fy as $F, fz as UF, cG as ri, U as UN, V as YN, m as YF, fA as XF, ce as XN, e4 as qF, e5 as ZF, bT as Uo, dg as tu, eg as ru, fB as Tf, bO as jF, ee as KF, bv as QF, am as qN, dl as JF, al as e5, a_ as jw, bJ as Bc, fC as t5, aS as r5, fD as n5, fE as i5, fF as a5, b as ZN, dd as U_, ck as o5, b1 as s5, l as jN, a9 as l5, a6 as u5, fG as c5, fH as f5, fI as d5, fJ as h5, d5 as KN, cN as v5, c6 as p5, fK as QN, fL as g5, fM as m5, I as y5, fN as b5, fO as _5, fP as x5, fQ as w5 } from "./F0CanvasPanel-CuTymScT.js";
2
- import { g9 as Che, C as The, D as Dhe, dG as Ahe, c as Mhe, F as Lhe, a as Ehe, g2 as Nhe, f as Ihe, cz as khe, dH as Phe, ei as Rhe, cf as Ohe, cg as Bhe, cx as zhe, cd as Vhe, cy as Fhe, du as Ghe, eq as Hhe, g as Whe, cb as $he, c0 as Uhe, fV as Yhe, gl as Xhe, bV as qhe, e as Zhe, ec as jhe, k as Khe, cA as Qhe, g4 as Jhe, dR as eve, g5 as tve, g7 as rve, g8 as nve, eO as ive, gb as ave, gc as ove, eH as sve, eI as lve, P as uve, eM as cve, g6 as fve, eJ as dve, ga as hve, gm as vve, fS as pve, fT as gve, fU as mve, fR as yve, eK as bve, gg as _ve, g3 as xve, f_ as wve, fZ as Sve, eN as Cve, fY as Tve, gj as Dve, gf as Ave, dJ as Mve, eG as Lve, eD as Eve, eF as Nve, eB as Ive, f$ as kve, ge as Pve, gd as Rve, g0 as Ove, gp as Bve, em as zve, eE as Vve, go as Fve, e0 as Gve, eC as Hve, ci as Wve, fX as $ve, g1 as Uve, e3 as Yve, gh as Xve, dI as qve, cj as Zve, fW as jve, gi as Kve, gk as Qve, gn as Jve } from "./F0CanvasPanel-CuTymScT.js";
1
+ import { eR as SN, w as ct, ee as R_, cv as mn, eS as CN, eT as sF, b$ as In, eU as lF, eV as uF, eW as TN, s as rr, c7 as bf, eX as Uw, eY as Nr, eZ as Ja, e_ as cF, e$ as Si, u as Be, bZ as fp, f0 as Ql, f1 as fF, f2 as DN, bY as bl, f3 as Ky, f4 as dF, S as ie, t as O_, f5 as hF, f6 as vF, f7 as Yw, cB as pF, f8 as gF, f9 as mF, fa as AN, fb as yF, v as _f, x as xf, n as ot, y as wf, z as $r, Q as bF, R as _F, A as ts, B as rs, aA as Ra, E as ns, fc as Qy, d9 as Ct, W as at, ai as Nl, da as Oa, df as MN, dn as B_, fd as xF, co as wF, cp as Xw, o as LN, q as Il, b_ as Rc, cq as SF, eM as Vh, eb as EN, fe as CF, ff as qw, dc as TF, fg as Zw, di as DF, fh as AF, c4 as NN, e7 as IN, fi as Jy, ds as MF, a8 as e0, a7 as z_, fj as Jl, fk as Sf, fl as kN, fm as LF, fn as PN, fo as EF, fp as dp, b7 as V_, fq as NF, cc as RN, fr as IF, ax as kF, fs as F_, ba as ON, c8 as PF, c9 as RF, ca as OF, d as BF, bF as BN, ak as vs, bL as zN, b6 as VN, ah as G_, bN as FN, Y as H_, H as _l, J as xl, L as wl, M as Sl, ft as Oi, a0 as GN, j as zF, K as Pr, ev as VF, b4 as Fh, av as kl, bW as W_, b8 as t0, cs as Oc, cl as FF, aW as Cf, at as eu, aj as HN, dM as WN, dz as $N, fu as Vr, fv as GF, fw as HF, fx as WF, fy as $_, fz as $F, fA as UF, cG as ri, U as UN, V as YN, m as YF, fB as XF, ce as XN, e5 as qF, e6 as ZF, bT as Uo, dg as tu, eh as ru, fC as Tf, bO as jF, ef as KF, bv as QF, am as qN, dl as JF, al as e5, a_ as jw, bJ as Bc, fD as t5, aS as r5, fE as n5, fF as i5, fG as a5, b as ZN, dd as U_, ck as o5, b1 as s5, l as jN, a9 as l5, a6 as u5, fH as c5, fI as f5, fJ as d5, fK as h5, d5 as KN, cN as v5, c6 as p5, fL as QN, fM as g5, fN as m5, I as y5, fO as b5, fP as _5, fQ as x5, fR as w5 } from "./F0CanvasPanel-B52A84Yd.js";
2
+ import { ga as Che, C as The, D as Dhe, dG as Ahe, c as Mhe, F as Lhe, a as Ehe, g3 as Nhe, f as Ihe, cz as khe, dH as Phe, ej as Rhe, cf as Ohe, cg as Bhe, cx as zhe, cd as Vhe, cy as Fhe, du as Ghe, er as Hhe, g as Whe, cb as $he, c0 as Uhe, fW as Yhe, gm as Xhe, bV as qhe, e as Zhe, ed as jhe, k as Khe, cA as Qhe, g5 as Jhe, dR as eve, g6 as tve, g8 as rve, g9 as nve, eP as ive, gc as ave, gd as ove, eI as sve, eJ as lve, P as uve, eN as cve, g7 as fve, eK as dve, gb as hve, gn as vve, fT as pve, fU as gve, fV as mve, fS as yve, eL as bve, gh as _ve, g4 as xve, f$ as wve, f_ as Sve, eO as Cve, fZ as Tve, gk as Dve, gg as Ave, dJ as Mve, eH as Lve, eE as Eve, eG as Nve, eC as Ive, g0 as kve, gf as Pve, ge as Rve, g1 as Ove, gq as Bve, en as zve, eF as Vve, gp as Fve, e1 as Gve, eD as Hve, ci as Wve, fY as $ve, g2 as Uve, e4 as Yve, gi as Xve, dI as qve, cj as Zve, fX as jve, gj as Kve, gl as Qve, go as Jve } from "./F0CanvasPanel-B52A84Yd.js";
3
3
  import { jsx as x, jsxs as B, Fragment as et } from "react/jsx-runtime";
4
- import { C as S5, W as C5, N as T5, Q as D5, T as A5, U as Kw, aY as M5, aZ as L5, a1 as E5, X as N5, Z as I5, $ as k5, a0 as P5, s as R5, a6 as JN, a_ as O5, a$ as B5, b0 as z5, b1 as V5, b2 as F5, b3 as eI, b4 as G5, n as Y_, b5 as eo, b6 as Es, b7 as H5, J as X_, b8 as q_, aj as W5, b9 as $5, ba as tI, bb as U5, bc as Y5, bd as X5, be as q5, bf as Z5, bg as j5, ax as K5, aN as Q5, bh as J5, as as eG, E as tG, a as rG, k as hp, R as Z_, l as j_, av as rI, O as K_, bi as nI, bj as Qw, bk as Q_, a7 as nG, bl as r0, w as iG, m as iI, aB as aI, bm as aG, bn as oG, bo as sG, bp as Ns, bq as lG, aO as uG, M as cG } from "./CoachmarkProvider-DJQHQFqk.js";
5
- import { a9 as tpe, aa as rpe, ak as npe, ab as ipe, ag as ape, bM as ope, bL as spe, bE as lpe, bs as upe, br as cpe, bt as fpe, bu as dpe, bw as hpe, K as vpe, aQ as ppe, aP as gpe, F as mpe, au as ype, ap as bpe, aU as _pe, aq as xpe, ac as wpe, bN as Spe, aR as Cpe, aS as Tpe, ar as Dpe, ad as Ape, P as Mpe, af as Lpe, ah as Epe, aT as Npe, at as Ipe, aV as kpe, ae as Ppe, ai as Rpe, bP as Ope, a5 as Bpe, a3 as zpe, a4 as Vpe, bD as Fpe, bJ as Gpe, bJ as Hpe, bK as Wpe, bz as $pe, by as Upe, bO as Ype, aL as Xpe, bB as qpe, bC as Zpe, ao as jpe, an as Kpe, bQ as Qpe, bR as Jpe, t as ege, o as tge, bF as rge, bG as nge, bH as ige, bv as age, bA as oge, q as sge, bI as lge, bx as uge, bS as cge } from "./CoachmarkProvider-DJQHQFqk.js";
4
+ import { C as S5, W as C5, N as T5, Q as D5, T as A5, U as Kw, aY as M5, aZ as L5, a1 as E5, X as N5, Z as I5, $ as k5, a0 as P5, s as R5, a6 as JN, a_ as O5, a$ as B5, b0 as z5, b1 as V5, b2 as F5, b3 as eI, b4 as G5, n as Y_, b5 as eo, b6 as Es, b7 as H5, J as X_, b8 as q_, aj as W5, b9 as $5, ba as tI, bb as U5, bc as Y5, bd as X5, be as q5, bf as Z5, bg as j5, ax as K5, aN as Q5, bh as J5, as as eG, E as tG, a as rG, k as hp, R as Z_, l as j_, av as rI, O as K_, bi as nI, bj as Qw, bk as Q_, a7 as nG, bl as r0, w as iG, m as iI, aB as aI, bm as aG, bn as oG, bo as sG, bp as Ns, bq as lG, aO as uG, M as cG } from "./CoachmarkProvider-C-z3xlg6.js";
5
+ import { a9 as tpe, aa as rpe, ak as npe, ab as ipe, ag as ape, bM as ope, bL as spe, bE as lpe, bs as upe, br as cpe, bt as fpe, bu as dpe, bw as hpe, K as vpe, aQ as ppe, aP as gpe, F as mpe, au as ype, ap as bpe, aU as _pe, aq as xpe, ac as wpe, bN as Spe, aR as Cpe, aS as Tpe, ar as Dpe, ad as Ape, P as Mpe, af as Lpe, ah as Epe, aT as Npe, at as Ipe, aV as kpe, ae as Ppe, ai as Rpe, bP as Ope, a5 as Bpe, a3 as zpe, a4 as Vpe, bD as Fpe, bJ as Gpe, bJ as Hpe, bK as Wpe, bz as $pe, by as Upe, bO as Ype, aL as Xpe, bB as qpe, bC as Zpe, ao as jpe, an as Kpe, bQ as Qpe, bR as Jpe, t as ege, o as tge, bF as rge, bG as nge, bH as ige, bv as age, bA as oge, q as sge, bI as lge, bx as uge, bS as cge } from "./CoachmarkProvider-C-z3xlg6.js";
6
6
  import * as Tt from "react";
7
7
  import fG, { forwardRef as Mr, useRef as ae, useImperativeHandle as dG, Children as Gh, createContext as Ua, useContext as Ya, useState as le, useMemo as me, useEffect as be, useCallback as de, useLayoutEffect as zc, isValidElement as oI, Fragment as nu, memo as J_, useSyncExternalStore as Pl, useId as Cl } from "react";
8
8
  import { createPortal as Df } from "react-dom";
9
9
  import { d as oe, g as Af, h as hG, i as fl, P as Mf, u as iu, j as vG, f as Ji } from "./tooltip-CMBdJvJA.js";
10
- import { l as n0, c as sI, d as Hh, r as i0 } from "./F0VideoPlayer-0aZy2NDP.js";
11
- import { F as dge } from "./F0VideoPlayer-0aZy2NDP.js";
12
- import { F as vge, p as pge } from "./index-DWIUIuqD.js";
13
- import { c as mge } from "./pdfWorker-Ch2XTIq-.js";
14
- import { G as pG, H as Wh, I as ex, J as lI, K as gG, L as mG, M as yG, N as bG, O as _G, F as xG } from "./F0AiProcessingOverlay-Dj55I0Gt.js";
15
- import { A as bge, C as _ge, t as xge, s as wge, v as Sge, y as Cge, z as Tge, l as Dge, i as Age, q as Mge, D as Lge, E as Ege, p as Nge, r as Ige, j as kge, e as Pge, g as Rge, k as Oge, T as Bge, w as zge, h as Vge, a as Fge, n as Gge, m as Hge, o as Wge, B as $ge, b as Uge, f as Yge, x as Xge, c as qge, d as Zge, u as jge } from "./F0AiProcessingOverlay-Dj55I0Gt.js";
10
+ import { l as n0, c as sI, d as Hh, r as i0 } from "./F0VideoPlayer-CYkJgfvF.js";
11
+ import { F as dge } from "./F0VideoPlayer-CYkJgfvF.js";
12
+ import { F as vge, p as pge } from "./index-iNjzeXPY.js";
13
+ import { c as mge } from "./pdfWorker-5KFe_TGk.js";
14
+ import { G as pG, H as Wh, I as ex, J as lI, K as gG, L as mG, M as yG, N as bG, O as _G, F as xG } from "./F0AiProcessingOverlay-BYUYtCeT.js";
15
+ import { A as bge, C as _ge, t as xge, s as wge, v as Sge, y as Cge, z as Tge, l as Dge, i as Age, q as Mge, D as Lge, E as Ege, p as Nge, r as Ige, j as kge, e as Pge, g as Rge, k as Oge, T as Bge, w as zge, h as Vge, a as Fge, n as Gge, m as Hge, o as Wge, B as $ge, b as Uge, f as Yge, x as Xge, c as qge, d as Zge, u as jge } from "./F0AiProcessingOverlay-BYUYtCeT.js";
16
16
  import { utils as Tl, write as uI } from "./xlsx-CzlURDDb.js";
17
17
  import { defaultTranslations as Qge } from "./i18n-provider-defaults.js";
18
18
  import './f0.css';const wG = {
@@ -4929,7 +4929,7 @@ function wH(r, e) {
4929
4929
  t.hasOwnProperty(i) && (r.prototype[i] = t[i]);
4930
4930
  r.prototype.constructor = r, r.superClass = e;
4931
4931
  }
4932
- function Ft(r, e, t) {
4932
+ function Gt(r, e, t) {
4933
4933
  if (r = "prototype" in r ? r.prototype : r, e = "prototype" in e ? e.prototype : e, Object.getOwnPropertyNames)
4934
4934
  for (var n = Object.getOwnPropertyNames(e), i = 0; i < n.length; i++) {
4935
4935
  var a = n[i];
@@ -8184,8 +8184,8 @@ var Lg = "__zr_normal__", Eg = pi.concat(["ignore"]), P3 = hi(pi, function(r, e)
8184
8184
  Object.defineProperty && (i("position", "_legacyPos", "x", "y"), i("scale", "_legacyScale", "scaleX", "scaleY"), i("origin", "_legacyOrigin", "originX", "originY"));
8185
8185
  })(), r;
8186
8186
  })();
8187
- Ft(Dp, bn);
8188
- Ft(Dp, Bi);
8187
+ Gt(Dp, bn);
8188
+ Gt(Dp, Bi);
8189
8189
  function Ng(r, e, t, n, i) {
8190
8190
  t = t || {};
8191
8191
  var a = [];
@@ -8543,7 +8543,7 @@ function X3(r, e, t) {
8543
8543
  function sv(r, e, t) {
8544
8544
  return ue(r) ? Y3(r).match(/%$/) ? parseFloat(r) / 100 * e + (t || 0) : parseFloat(r) : r == null ? NaN : +r;
8545
8545
  }
8546
- function Pt(r, e, t) {
8546
+ function Rt(r, e, t) {
8547
8547
  return e == null && (e = 10), e = Math.min(Math.max(0, e), KI), r = (+r).toFixed(e), t ? r : +r;
8548
8548
  }
8549
8549
  function hn(r) {
@@ -8594,7 +8594,7 @@ function q3(r, e) {
8594
8594
  }
8595
8595
  function Z3(r, e) {
8596
8596
  var t = Math.max(ii(r), ii(e)), n = r + e;
8597
- return t > KI ? n : Pt(n, t);
8597
+ return t > KI ? n : Rt(n, t);
8598
8598
  }
8599
8599
  var RS = 9007199254740991;
8600
8600
  function JI(r) {
@@ -8691,7 +8691,7 @@ function je(r, e) {
8691
8691
  function gi(r) {
8692
8692
  process.env.NODE_ENV !== "production" && Mp("warn", "DEPRECATED: " + r, !0);
8693
8693
  }
8694
- function kt(r, e, t) {
8694
+ function Pt(r, e, t) {
8695
8695
  process.env.NODE_ENV !== "production" && gi((t ? "[" + t + "]" : "") + (r + " is deprecated; use " + e + " instead."));
8696
8696
  }
8697
8697
  function Dr() {
@@ -9034,7 +9034,7 @@ function u2(r, e, t, n, i) {
9034
9034
  return n;
9035
9035
  if (Ke(n)) {
9036
9036
  var o = VS(t || 0, n, i);
9037
- return Pt(o, a ? Math.max(ii(t || 0), ii(n)) : e);
9037
+ return Rt(o, a ? Math.max(ii(t || 0), ii(n)) : e);
9038
9038
  } else {
9039
9039
  if (ue(n))
9040
9040
  return i < 1 ? t : n;
@@ -9044,7 +9044,7 @@ function u2(r, e, t, n, i) {
9044
9044
  s[f] = (i < 1 && l ? l : u)[f];
9045
9045
  else {
9046
9046
  var h = l && l[f] ? l[f] : 0, v = u[f], o = VS(h, v, i);
9047
- s[f] = Pt(o, a ? Math.max(ii(h), ii(v)) : e);
9047
+ s[f] = Rt(o, a ? Math.max(ii(h), ii(v)) : e);
9048
9048
  }
9049
9049
  }
9050
9050
  return s;
@@ -11446,7 +11446,7 @@ var U4 = {}, Y4 = /* @__PURE__ */ (function() {
11446
11446
  this.x1 = 0, this.y1 = 0, this.x2 = 0, this.y2 = 0, this.percent = 1;
11447
11447
  }
11448
11448
  return r;
11449
- })(), Rt = (function(r) {
11449
+ })(), Ot = (function(r) {
11450
11450
  G(e, r);
11451
11451
  function e(t) {
11452
11452
  return r.call(this, t) || this;
@@ -11475,7 +11475,7 @@ var U4 = {}, Y4 = /* @__PURE__ */ (function() {
11475
11475
  ];
11476
11476
  }, e;
11477
11477
  })(Ye);
11478
- Rt.prototype.type = "line";
11478
+ Ot.prototype.type = "line";
11479
11479
  var Ir = [], X4 = /* @__PURE__ */ (function() {
11480
11480
  function r() {
11481
11481
  this.x1 = 0, this.y1 = 0, this.x2 = 0, this.y2 = 0, this.cpx1 = 0, this.cpy1 = 0, this.percent = 1;
@@ -11771,7 +11771,7 @@ function gn(r) {
11771
11771
  function Q4(r) {
11772
11772
  return F2(r).oldStyle;
11773
11773
  }
11774
- var W0 = {}, ke = ["x", "y"], Bt = ["width", "height"];
11774
+ var W0 = {}, ke = ["x", "y"], zt = ["width", "height"];
11775
11775
  function J4(r) {
11776
11776
  return Ye.extend(r);
11777
11777
  }
@@ -12049,7 +12049,7 @@ zn("ring", Nf);
12049
12049
  zn("polygon", vr);
12050
12050
  zn("polyline", ur);
12051
12051
  zn("rect", He);
12052
- zn("line", Rt);
12052
+ zn("line", Ot);
12053
12053
  zn("bezierCurve", If);
12054
12054
  zn("arc", zp);
12055
12055
  const bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -12063,7 +12063,7 @@ const bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12063
12063
  Group: xe,
12064
12064
  Image: or,
12065
12065
  IncrementalDisplayable: K4,
12066
- Line: Rt,
12066
+ Line: Ot,
12067
12067
  LinearGradient: yi,
12068
12068
  OrientedBoundingRect: V2,
12069
12069
  Path: Ye,
@@ -12075,7 +12075,7 @@ const bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12075
12075
  Ring: Nf,
12076
12076
  Sector: hr,
12077
12077
  Text: Qe,
12078
- WH: Bt,
12078
+ WH: zt,
12079
12079
  XY: ke,
12080
12080
  applyTransform: En,
12081
12081
  calcZ2Range: Y2,
@@ -12230,7 +12230,7 @@ var TC = ["fontStyle", "fontWeight", "fontSize", "fontFamily", "textShadowColor"
12230
12230
  function MC(r, e, t, n, i, a, o, s, l, u) {
12231
12231
  t = !o && t || Hp;
12232
12232
  var c = a && a.inheritColor, f = e.getShallow("color"), d = e.getShallow("textBorderColor"), h = ge(e.getShallow("opacity"), t.opacity);
12233
- (f === "inherit" || f === "auto") && (process.env.NODE_ENV !== "production" && f === "auto" && kt("color: 'auto'", "color: 'inherit'"), c ? f = c : f = null), (d === "inherit" || d === "auto") && (process.env.NODE_ENV !== "production" && d === "auto" && kt("color: 'auto'", "color: 'inherit'"), c ? d = c : d = null), s || (f = f || t.color, d = d || t.textBorderColor), f != null && (r.fill = f), d != null && (r.stroke = d);
12233
+ (f === "inherit" || f === "auto") && (process.env.NODE_ENV !== "production" && f === "auto" && Pt("color: 'auto'", "color: 'inherit'"), c ? f = c : f = null), (d === "inherit" || d === "auto") && (process.env.NODE_ENV !== "production" && d === "auto" && Pt("color: 'auto'", "color: 'inherit'"), c ? d = c : d = null), s || (f = f || t.color, d = d || t.textBorderColor), f != null && (r.fill = f), d != null && (r.stroke = d);
12234
12234
  var v = ge(e.getShallow("textBorderWidth"), t.textBorderWidth);
12235
12235
  v != null && (r.lineWidth = v);
12236
12236
  var p = ge(e.getShallow("textBorderType"), t.textBorderType);
@@ -12255,7 +12255,7 @@ function MC(r, e, t, n, i, a, o, s, l, u) {
12255
12255
  b != null && (r[y] = b);
12256
12256
  }
12257
12257
  var w = e.getShallow("borderType");
12258
- w != null && (r.borderDash = w), (r.backgroundColor === "auto" || r.backgroundColor === "inherit") && c && (process.env.NODE_ENV !== "production" && r.backgroundColor === "auto" && kt("backgroundColor: 'auto'", "backgroundColor: 'inherit'"), r.backgroundColor = c), (r.borderColor === "auto" || r.borderColor === "inherit") && c && (process.env.NODE_ENV !== "production" && r.borderColor === "auto" && kt("borderColor: 'auto'", "borderColor: 'inherit'"), r.borderColor = c);
12258
+ w != null && (r.borderDash = w), (r.backgroundColor === "auto" || r.backgroundColor === "inherit") && c && (process.env.NODE_ENV !== "production" && r.backgroundColor === "auto" && Pt("backgroundColor: 'auto'", "backgroundColor: 'inherit'"), r.backgroundColor = c), (r.borderColor === "auto" || r.borderColor === "inherit") && c && (process.env.NODE_ENV !== "production" && r.borderColor === "auto" && Pt("borderColor: 'auto'", "borderColor: 'inherit'"), r.borderColor = c);
12259
12259
  }
12260
12260
  }
12261
12261
  function Px(r, e) {
@@ -12423,10 +12423,10 @@ var pl = {
12423
12423
  );
12424
12424
  _x(Ze);
12425
12425
  _W(Ze);
12426
- Ft(Ze, f$);
12427
- Ft(Ze, h$);
12428
- Ft(Ze, TW);
12429
- Ft(Ze, u$);
12426
+ Gt(Ze, f$);
12427
+ Gt(Ze, h$);
12428
+ Gt(Ze, TW);
12429
+ Gt(Ze, u$);
12430
12430
  var v$ = Math.round(Math.random() * 10);
12431
12431
  function du(r) {
12432
12432
  return [r || "", v$++].join("_");
@@ -12747,7 +12747,7 @@ var X0 = null;
12747
12747
  function x$(r) {
12748
12748
  X0 || (X0 = r);
12749
12749
  }
12750
- function Ot() {
12750
+ function Bt() {
12751
12751
  return X0;
12752
12752
  }
12753
12753
  var Bx = 1e3, zx = Bx * 60, Ac = zx * 60, fn = Ac * 24, LC = fn * 365, w$ = {
@@ -12836,7 +12836,7 @@ function L$(r, e, t, n, i) {
12836
12836
  var o = {
12837
12837
  time: r.time,
12838
12838
  level: r.time.level
12839
- }, s = Ot();
12839
+ }, s = Bt();
12840
12840
  s && s.makeAxisLabelFormatterParamBreak(o, r.break), a = t(r.value, e, o);
12841
12841
  } else {
12842
12842
  var l = r.time;
@@ -14081,7 +14081,7 @@ function zC(r) {
14081
14081
  replaceMergeMainTypeMap: e
14082
14082
  };
14083
14083
  }
14084
- Ft(Zx, qx);
14084
+ Gt(Zx, qx);
14085
14085
  var eU = [
14086
14086
  "getDom",
14087
14087
  "getZr",
@@ -14198,7 +14198,7 @@ function nm(r) {
14198
14198
  if (e)
14199
14199
  for (var t = 0, n = VC.length; t < n; t++) {
14200
14200
  var i = VC[t], a = e.normal, o = e.emphasis;
14201
- a && a[i] && (process.env.NODE_ENV !== "production" && kt("itemStyle.normal." + i, i), r[i] = r[i] || {}, r[i].normal ? ze(r[i].normal, a[i]) : r[i].normal = a[i], a[i] = null), o && o[i] && (process.env.NODE_ENV !== "production" && kt("itemStyle.emphasis." + i, "emphasis." + i), r[i] = r[i] || {}, r[i].emphasis ? ze(r[i].emphasis, o[i]) : r[i].emphasis = o[i], o[i] = null);
14201
+ a && a[i] && (process.env.NODE_ENV !== "production" && Pt("itemStyle.normal." + i, i), r[i] = r[i] || {}, r[i].normal ? ze(r[i].normal, a[i]) : r[i].normal = a[i], a[i] = null), o && o[i] && (process.env.NODE_ENV !== "production" && Pt("itemStyle.emphasis." + i, "emphasis." + i), r[i] = r[i] || {}, r[i].emphasis ? ze(r[i].emphasis, o[i]) : r[i].emphasis = o[i], o[i] = null);
14202
14202
  }
14203
14203
  }
14204
14204
  function fr(r, e, t) {
@@ -14210,7 +14210,7 @@ function fr(r, e, t) {
14210
14210
  function hc(r) {
14211
14211
  fr(r, "itemStyle"), fr(r, "lineStyle"), fr(r, "areaStyle"), fr(r, "label"), fr(r, "labelLine"), fr(r, "upperLabel"), fr(r, "edgeLabel");
14212
14212
  }
14213
- function It(r, e) {
14213
+ function kt(r, e) {
14214
14214
  var t = jc(r) && r[e], n = jc(t) && t.textStyle;
14215
14215
  if (n) {
14216
14216
  process.env.NODE_ENV !== "production" && gi("textStyle hierarchy in " + e + " has been removed since 4.0. All textStyle properties are configured in " + e + " directly now.");
@@ -14221,11 +14221,11 @@ function It(r, e) {
14221
14221
  }
14222
14222
  }
14223
14223
  function an(r) {
14224
- r && (hc(r), It(r, "label"), r.emphasis && It(r.emphasis, "label"));
14224
+ r && (hc(r), kt(r, "label"), r.emphasis && kt(r.emphasis, "label"));
14225
14225
  }
14226
14226
  function sU(r) {
14227
14227
  if (jc(r)) {
14228
- nm(r), hc(r), It(r, "label"), It(r, "upperLabel"), It(r, "edgeLabel"), r.emphasis && (It(r.emphasis, "label"), It(r.emphasis, "upperLabel"), It(r.emphasis, "edgeLabel"));
14228
+ nm(r), hc(r), kt(r, "label"), kt(r, "upperLabel"), kt(r, "edgeLabel"), r.emphasis && (kt(r.emphasis, "label"), kt(r.emphasis, "upperLabel"), kt(r.emphasis, "edgeLabel"));
14229
14229
  var e = r.markPoint;
14230
14230
  e && (nm(e), an(e));
14231
14231
  var t = r.markLine;
@@ -14252,7 +14252,7 @@ function sU(r) {
14252
14252
  if (t = r.markLine, t && t.data)
14253
14253
  for (var l = t.data, o = 0; o < l.length; o++)
14254
14254
  Q(l[o]) ? (an(l[o][0]), an(l[o][1])) : an(l[o]);
14255
- r.type === "gauge" ? (It(r, "axisLabel"), It(r, "title"), It(r, "detail")) : r.type === "treemap" ? (fr(r.breadcrumb, "itemStyle"), N(r.levels, function(u) {
14255
+ r.type === "gauge" ? (kt(r, "axisLabel"), kt(r, "title"), kt(r, "detail")) : r.type === "treemap" ? (fr(r.breadcrumb, "itemStyle"), N(r.levels, function(u) {
14256
14256
  hc(u);
14257
14257
  })) : r.type === "tree" && hc(r.leaves);
14258
14258
  }
@@ -14270,16 +14270,16 @@ function lU(r, e) {
14270
14270
  var t = ["xAxis", "yAxis", "radiusAxis", "angleAxis", "singleAxis", "parallelAxis", "radar"];
14271
14271
  e && t.push("valueAxis", "categoryAxis", "logAxis", "timeAxis"), Qr(t, function(n) {
14272
14272
  Qr(Ai(r[n]), function(i) {
14273
- i && (It(i, "axisLabel"), It(i.axisPointer, "label"));
14273
+ i && (kt(i, "axisLabel"), kt(i.axisPointer, "label"));
14274
14274
  });
14275
14275
  }), Qr(Ai(r.parallel), function(n) {
14276
14276
  var i = n && n.parallelAxisDefault;
14277
- It(i, "axisLabel"), It(i && i.axisPointer, "label");
14277
+ kt(i, "axisLabel"), kt(i && i.axisPointer, "label");
14278
14278
  }), Qr(Ai(r.calendar), function(n) {
14279
- fr(n, "itemStyle"), It(n, "dayLabel"), It(n, "monthLabel"), It(n, "yearLabel");
14279
+ fr(n, "itemStyle"), kt(n, "dayLabel"), kt(n, "monthLabel"), kt(n, "yearLabel");
14280
14280
  }), Qr(Ai(r.radar), function(n) {
14281
- It(n, "name"), n.name && n.axisName == null && (n.axisName = n.name, delete n.name, process.env.NODE_ENV !== "production" && gi("name property in radar component has been changed to axisName")), n.nameGap != null && n.axisNameGap == null && (n.axisNameGap = n.nameGap, delete n.nameGap, process.env.NODE_ENV !== "production" && gi("nameGap property in radar component has been changed to axisNameGap")), process.env.NODE_ENV !== "production" && Qr(n.indicator, function(i) {
14282
- i.text && kt("text", "name", "radar.indicator");
14281
+ kt(n, "name"), n.name && n.axisName == null && (n.axisName = n.name, delete n.name, process.env.NODE_ENV !== "production" && gi("name property in radar component has been changed to axisName")), n.nameGap != null && n.axisNameGap == null && (n.axisNameGap = n.nameGap, delete n.nameGap, process.env.NODE_ENV !== "production" && gi("nameGap property in radar component has been changed to axisNameGap")), process.env.NODE_ENV !== "production" && Qr(n.indicator, function(i) {
14282
+ i.text && Pt("text", "name", "radar.indicator");
14283
14283
  });
14284
14284
  }), Qr(Ai(r.geo), function(n) {
14285
14285
  jc(n) && (an(n), Qr(Ai(n.regions), function(i) {
@@ -14295,7 +14295,7 @@ function lU(r, e) {
14295
14295
  fr(n, "iconStyle"), Qr(n.feature, function(i) {
14296
14296
  fr(i, "iconStyle");
14297
14297
  });
14298
- }), It(FC(r.axisPointer), "label"), It(FC(r.tooltip).axisPointer, "label");
14298
+ }), kt(FC(r.axisPointer), "label"), kt(FC(r.tooltip).axisPointer, "label");
14299
14299
  }
14300
14300
  function uU(r, e) {
14301
14301
  for (var t = e.split(","), n = r, i = 0; i < t.length && (n = n && n[t[i]], n != null); i++)
@@ -14318,17 +14318,17 @@ function Iu(r) {
14318
14318
  if (e)
14319
14319
  for (var t = 0; t < im.length; t++) {
14320
14320
  var n = im[t][1], i = im[t][0];
14321
- e[n] != null && (e[i] = e[n], process.env.NODE_ENV !== "production" && kt(n, i));
14321
+ e[n] != null && (e[i] = e[n], process.env.NODE_ENV !== "production" && Pt(n, i));
14322
14322
  }
14323
14323
  }
14324
14324
  function HC(r) {
14325
- r && r.alignTo === "edge" && r.margin != null && r.edgeDistance == null && (process.env.NODE_ENV !== "production" && kt("label.margin", "label.edgeDistance", "pie"), r.edgeDistance = r.margin);
14325
+ r && r.alignTo === "edge" && r.margin != null && r.edgeDistance == null && (process.env.NODE_ENV !== "production" && Pt("label.margin", "label.edgeDistance", "pie"), r.edgeDistance = r.margin);
14326
14326
  }
14327
14327
  function WC(r) {
14328
- r && r.downplay && !r.blur && (r.blur = r.downplay, process.env.NODE_ENV !== "production" && kt("downplay", "blur", "sunburst"));
14328
+ r && r.downplay && !r.blur && (r.blur = r.downplay, process.env.NODE_ENV !== "production" && Pt("downplay", "blur", "sunburst"));
14329
14329
  }
14330
14330
  function hU(r) {
14331
- r && r.focusNodeAdjacency != null && (r.emphasis = r.emphasis || {}, r.emphasis.focus == null && (process.env.NODE_ENV !== "production" && kt("focusNodeAdjacency", "emphasis: { focus: 'adjacency'}", "graph/sankey"), r.emphasis.focus = "adjacency"));
14331
+ r && r.focusNodeAdjacency != null && (r.emphasis = r.emphasis || {}, r.emphasis.focus == null && (process.env.NODE_ENV !== "production" && Pt("focusNodeAdjacency", "emphasis: { focus: 'adjacency'}", "graph/sankey"), r.emphasis.focus = "adjacency"));
14332
14332
  }
14333
14333
  function Ak(r, e) {
14334
14334
  if (r)
@@ -14340,14 +14340,14 @@ function Mk(r, e) {
14340
14340
  if (Se(t)) {
14341
14341
  var n = t.type;
14342
14342
  if (n === "line")
14343
- t.clipOverflow != null && (t.clip = t.clipOverflow, process.env.NODE_ENV !== "production" && kt("clipOverflow", "clip", "line"));
14343
+ t.clipOverflow != null && (t.clip = t.clipOverflow, process.env.NODE_ENV !== "production" && Pt("clipOverflow", "clip", "line"));
14344
14344
  else if (n === "pie" || n === "gauge") {
14345
- t.clockWise != null && (t.clockwise = t.clockWise, process.env.NODE_ENV !== "production" && kt("clockWise", "clockwise")), HC(t.label);
14345
+ t.clockWise != null && (t.clockwise = t.clockWise, process.env.NODE_ENV !== "production" && Pt("clockWise", "clockwise")), HC(t.label);
14346
14346
  var i = t.data;
14347
14347
  if (i && !Tr(i))
14348
14348
  for (var a = 0; a < i.length; a++)
14349
14349
  HC(i[a]);
14350
- t.hoverOffset != null && (t.emphasis = t.emphasis || {}, (t.emphasis.scaleSize = null) && (process.env.NODE_ENV !== "production" && kt("hoverOffset", "emphasis.scaleSize"), t.emphasis.scaleSize = t.hoverOffset));
14350
+ t.hoverOffset != null && (t.emphasis = t.emphasis || {}, (t.emphasis.scaleSize = null) && (process.env.NODE_ENV !== "production" && Pt("hoverOffset", "emphasis.scaleSize"), t.emphasis.scaleSize = t.hoverOffset));
14351
14351
  } else if (n === "gauge") {
14352
14352
  var o = uU(t, "pointer.color");
14353
14353
  o != null && cU(t, "itemStyle.color", o);
@@ -14359,9 +14359,9 @@ function Mk(r, e) {
14359
14359
  typeof i[a] == "object" && (Iu(i[a]), Iu(i[a] && i[a].emphasis));
14360
14360
  } else if (n === "sunburst") {
14361
14361
  var s = t.highlightPolicy;
14362
- s && (t.emphasis = t.emphasis || {}, t.emphasis.focus || (t.emphasis.focus = s, process.env.NODE_ENV !== "production" && kt("highlightPolicy", "emphasis.focus", "sunburst"))), WC(t), Ak(t.data, WC);
14363
- } else n === "graph" || n === "sankey" ? hU(t) : n === "map" && (t.mapType && !t.map && (process.env.NODE_ENV !== "production" && kt("mapType", "map", "map"), t.map = t.mapType), t.mapLocation && (process.env.NODE_ENV !== "production" && gi("`mapLocation` is not used anymore."), De(t, t.mapLocation)));
14364
- t.hoverAnimation != null && (t.emphasis = t.emphasis || {}, t.emphasis && t.emphasis.scale == null && (process.env.NODE_ENV !== "production" && kt("hoverAnimation", "emphasis.scale"), t.emphasis.scale = t.hoverAnimation)), GC(t);
14362
+ s && (t.emphasis = t.emphasis || {}, t.emphasis.focus || (t.emphasis.focus = s, process.env.NODE_ENV !== "production" && Pt("highlightPolicy", "emphasis.focus", "sunburst"))), WC(t), Ak(t.data, WC);
14363
+ } else n === "graph" || n === "sankey" ? hU(t) : n === "map" && (t.mapType && !t.map && (process.env.NODE_ENV !== "production" && Pt("mapType", "map", "map"), t.map = t.mapType), t.mapLocation && (process.env.NODE_ENV !== "production" && gi("`mapLocation` is not used anymore."), De(t, t.mapLocation)));
14364
+ t.hoverAnimation != null && (t.emphasis = t.emphasis || {}, t.emphasis && t.emphasis.scale == null && (process.env.NODE_ENV !== "production" && Pt("hoverAnimation", "emphasis.scale"), t.emphasis.scale = t.hoverAnimation)), GC(t);
14365
14365
  }
14366
14366
  }), r.dataRange && (r.visualMap = r.dataRange), N(dU, function(t) {
14367
14367
  var n = r[t];
@@ -15694,7 +15694,7 @@ var HU = [0, 10, 20, 30], WU = ["", `
15694
15694
 
15695
15695
 
15696
15696
  `];
15697
- function zt(r, e) {
15697
+ function Vt(r, e) {
15698
15698
  return e.type = r, e;
15699
15699
  }
15700
15700
  function nb(r) {
@@ -15847,13 +15847,13 @@ function Zk(r) {
15847
15847
  } else
15848
15848
  h = c = l ? s[0] : s;
15849
15849
  var g = yx(e), m = g && e.name || "", y = i.getName(t), b = n ? m : y;
15850
- return zt("section", {
15850
+ return Vt("section", {
15851
15851
  header: m,
15852
15852
  // When series name is not specified, do not show a header line with only '-'.
15853
15853
  // This case always happens in tooltip.trigger: 'item'.
15854
15854
  noHeader: n || !g,
15855
15855
  sortParam: h,
15856
- blocks: [zt("nameValue", {
15856
+ blocks: [Vt("nameValue", {
15857
15857
  markerType: "item",
15858
15858
  markerColor: u,
15859
15859
  // Do not mix display seriesName and itemName in one tooltip,
@@ -15878,7 +15878,7 @@ function jU(r, e, t, n, i) {
15878
15878
  }) : N(r, c);
15879
15879
  function c(f, d) {
15880
15880
  var h = a.getDimensionInfo(d);
15881
- !h || h.otherDims.tooltip === !1 || (o ? u.push(zt("nameValue", {
15881
+ !h || h.otherDims.tooltip === !1 || (o ? u.push(Vt("nameValue", {
15882
15882
  markerType: "subItem",
15883
15883
  markerColor: i,
15884
15884
  name: h.displayName,
@@ -16074,8 +16074,8 @@ var Lh = "__universalTransitionEnabled", vt = (
16074
16074
  })(), e;
16075
16075
  })(Ue)
16076
16076
  );
16077
- Ft(vt, Yp);
16078
- Ft(vt, qx);
16077
+ Gt(vt, Yp);
16078
+ Gt(vt, qx);
16079
16079
  f2(vt, Ue);
16080
16080
  function nT(r) {
16081
16081
  var e = r.name;
@@ -17089,7 +17089,7 @@ function aP(r, e) {
17089
17089
  }
17090
17090
  N([[r + "ToggleSelect", "toggleSelect"], [r + "Select", "select"], [r + "UnSelect", "unselect"]], function(n) {
17091
17091
  e(n[0], function(i, a, o) {
17092
- i = X({}, i), process.env.NODE_ENV !== "production" && kt(i.type, n[1]), o.dispatchAction(X(i, {
17092
+ i = X({}, i), process.env.NODE_ENV !== "production" && Pt(i.type, n[1]), o.dispatchAction(X(i, {
17093
17093
  type: n[1],
17094
17094
  seriesIndex: t(a, i)
17095
17095
  }));
@@ -17197,7 +17197,7 @@ var T8 = Math.round(Math.random() * 9), D8 = typeof Object.defineProperty == "fu
17197
17197
  r.moveTo(i, a), r.lineTo(i + o, a + t), r.lineTo(i, a + t / 4 * 3), r.lineTo(i - o, a + t), r.lineTo(i, a), r.closePath();
17198
17198
  }
17199
17199
  }), I8 = {
17200
- line: Rt,
17200
+ line: Ot,
17201
17201
  rect: He,
17202
17202
  roundRect: He,
17203
17203
  square: He,
@@ -17266,7 +17266,7 @@ function R8(r, e) {
17266
17266
  this.__isEmptyBrush ? (t.stroke = r, t.fill = e || W.color.neutral00, t.lineWidth = 2) : this.shape.symbolType === "line" ? t.stroke = r : t.fill = r, this.markRedraw();
17267
17267
  }
17268
17268
  }
17269
- function Vt(r, e, t, n, i, a, o) {
17269
+ function Ft(r, e, t, n, i, a, o) {
17270
17270
  var s = r.indexOf("empty") === 0;
17271
17271
  s && (r = r.substr(5, 1).toLowerCase() + r.substr(6));
17272
17272
  var l;
@@ -17611,7 +17611,7 @@ function Gl(r, e) {
17611
17611
  L += m[I], ++P, ++I, I === m.length && (I = 0);
17612
17612
  }
17613
17613
  function Z(Y, j, U, te, ne) {
17614
- var fe = i ? 1 : t, Me = Vt(ne, Y * fe, j * fe, U * fe, te * fe, o.color, o.symbolKeepAspect);
17614
+ var fe = i ? 1 : t, Me = Ft(ne, Y * fe, j * fe, U * fe, te * fe, o.color, o.symbolKeepAspect);
17615
17615
  if (i) {
17616
17616
  var Ie = n.painter.renderOneToVNode(Me);
17617
17617
  Ie && S.children.push(Ie);
@@ -17909,7 +17909,7 @@ var So, fm, Dd, Mi, Ad, dm, hm, Ws, $s, AT, MT, vm, LT, Md, ET, xP, Jr, NT, Us,
17909
17909
  }, e.prototype.getDevicePixelRatio = function() {
17910
17910
  return this._zr.painter.dpr || Xe.hasGlobalWindow && window.devicePixelRatio || 1;
17911
17911
  }, e.prototype.getRenderedCanvas = function(t) {
17912
- return process.env.NODE_ENV !== "production" && kt("getRenderedCanvas", "renderToCanvas"), this.renderToCanvas(t);
17912
+ return process.env.NODE_ENV !== "production" && Pt("getRenderedCanvas", "renderToCanvas"), this.renderToCanvas(t);
17913
17913
  }, e.prototype.renderToCanvas = function(t) {
17914
17914
  t = t || {};
17915
17915
  var n = this._zr.painter;
@@ -19631,12 +19631,12 @@ function hb(r) {
19631
19631
  function q6(r, e, t, n, i) {
19632
19632
  var a = {}, o = a.interval = e2(e / t);
19633
19633
  n != null && o < n && (o = a.interval = n), i != null && o > i && (o = a.interval = i);
19634
- var s = a.intervalPrecision = ef(o), l = a.niceTickExtent = [Pt(Math.ceil(r[0] / o) * o, s), Pt(Math.floor(r[1] / o) * o, s)];
19634
+ var s = a.intervalPrecision = ef(o), l = a.niceTickExtent = [Rt(Math.ceil(r[0] / o) * o, s), Rt(Math.floor(r[1] / o) * o, s)];
19635
19635
  return Z6(l, r), a;
19636
19636
  }
19637
19637
  function ym(r) {
19638
19638
  var e = Math.pow(10, Ap(r)), t = r / e;
19639
- return t ? t === 2 ? t = 3 : t === 3 ? t = 5 : t *= 2 : t = 1, Pt(t * e);
19639
+ return t ? t === 2 ? t = 3 : t === 3 ? t = 5 : t *= 2 : t = 1, Rt(t * e);
19640
19640
  }
19641
19641
  function ef(r) {
19642
19642
  return ii(r) + 2;
@@ -19682,7 +19682,7 @@ var ja = (
19682
19682
  (function() {
19683
19683
  function r(e) {
19684
19684
  this._calculator = new j6(), this._setting = e || {}, this._extent = [1 / 0, -1 / 0];
19685
- var t = Ot();
19685
+ var t = Bt();
19686
19686
  t && (this._brkCtx = t.createScaleBreakContext(), this._brkCtx.update(this._extent));
19687
19687
  }
19688
19688
  return r.prototype.getSetting = function(e) {
@@ -19700,7 +19700,7 @@ var ja = (
19700
19700
  var n = this._extent;
19701
19701
  isNaN(e) || (n[0] = e), isNaN(t) || (n[1] = t), this._brkCtx && this._brkCtx.update(n);
19702
19702
  }, r.prototype.setBreaksFromOption = function(e) {
19703
- var t = Ot();
19703
+ var t = Bt();
19704
19704
  t && this._innerSetBreak(t.parseAxisBreakOption(e, ce(this.parse, this)));
19705
19705
  }, r.prototype._innerSetBreak = function(e) {
19706
19706
  this._brkCtx && (this._brkCtx.setBreaks(e), this._calculator.updateMethods(this._brkCtx), this._brkCtx.update(this._extent));
@@ -19818,7 +19818,7 @@ var Hl = (
19818
19818
  })(ja)
19819
19819
  );
19820
19820
  ja.registerClass(Hl);
19821
- var ca = Pt, Ki = (
19821
+ var ca = Rt, Ki = (
19822
19822
  /** @class */
19823
19823
  (function(r) {
19824
19824
  G(e, r);
@@ -19840,7 +19840,7 @@ var ca = Pt, Ki = (
19840
19840
  this._interval = t, this._niceExtent = this._extent.slice(), this._intervalPrecision = ef(t);
19841
19841
  }, e.prototype.getTicks = function(t) {
19842
19842
  t = t || {};
19843
- var n = this._interval, i = this._extent, a = this._niceExtent, o = this._intervalPrecision, s = Ot(), l = [];
19843
+ var n = this._interval, i = this._extent, a = this._niceExtent, o = this._intervalPrecision, s = Bt(), l = [];
19844
19844
  if (!n)
19845
19845
  return l;
19846
19846
  if (t.breakTicks === "only_break" && s)
@@ -19883,7 +19883,7 @@ var ca = Pt, Ki = (
19883
19883
  var v = ca(l.value + (u + 1) * d, h);
19884
19884
  v > a[0] && v < a[1] && c.push(v), u++;
19885
19885
  }
19886
- var p = Ot();
19886
+ var p = Bt();
19887
19887
  p && p.pruneTicksByBreak("auto", c, this._getNonTransBreaks(), function(g) {
19888
19888
  return g;
19889
19889
  }, this._interval, a), i.push(c);
@@ -20174,12 +20174,12 @@ var iY = function(r, e, t, n) {
20174
20174
  return L$(t, n, i, o, a);
20175
20175
  }, e.prototype.getTicks = function(t) {
20176
20176
  t = t || {};
20177
- var n = this._interval, i = this._extent, a = Ot(), o = [];
20177
+ var n = this._interval, i = this._extent, a = Bt(), o = [];
20178
20178
  if (!n)
20179
20179
  return o;
20180
20180
  var s = this.getSetting("useUTC");
20181
20181
  if (a && t.breakTicks === "only_break")
20182
- return Ot().addBreaksToTicks(o, this._brkCtx.breaks, this._extent), o;
20182
+ return Bt().addBreaksToTicks(o, this._brkCtx.breaks, this._extent), o;
20183
20183
  var l = gl(i[1], s);
20184
20184
  o.push({
20185
20185
  value: i[0],
@@ -20203,9 +20203,9 @@ var iY = function(r, e, t, n) {
20203
20203
  var f = this.getSetting("useUTC"), d = Hr.length - 1, h = 0;
20204
20204
  return N(o, function(v) {
20205
20205
  d = Math.min(d, Oe(Hr, v.time.upperTimeUnit)), h = Math.max(h, v.time.level);
20206
- }), a && Ot().pruneTicksByBreak(t.pruneByBreak, o, this._brkCtx.breaks, function(v) {
20206
+ }), a && Bt().pruneTicksByBreak(t.pruneByBreak, o, this._brkCtx.breaks, function(v) {
20207
20207
  return v.value;
20208
- }, this._approxInterval, this._extent), a && t.breakTicks !== "none" && Ot().addBreaksToTicks(o, this._brkCtx.breaks, this._extent, function(v) {
20208
+ }, this._approxInterval, this._extent), a && t.breakTicks !== "none" && Bt().addBreaksToTicks(o, this._brkCtx.breaks, this._extent, function(v) {
20209
20209
  for (var p = Math.max(Oe(Hr, gl(v.vmin, f)), Oe(Hr, gl(v.vmax, f))), g = 0, m = 0; m < Hr.length; m++)
20210
20210
  if (!$P(Hr[m], v.vmin, v.vmax, f)) {
20211
20211
  g = m;
@@ -20409,7 +20409,7 @@ function fY(r, e, t, n, i, a) {
20409
20409
  return E;
20410
20410
  }
20411
20411
  ja.registerClass(c1);
20412
- var gb = Pt, dY = Math.floor, hY = Math.ceil, Nd = Math.pow, Id = Math.log, UP = (
20412
+ var gb = Rt, dY = Math.floor, hY = Math.ceil, Nd = Math.pow, Id = Math.log, UP = (
20413
20413
  /** @class */
20414
20414
  (function(r) {
20415
20415
  G(e, r);
@@ -20419,7 +20419,7 @@ var gb = Pt, dY = Math.floor, hY = Math.ceil, Nd = Math.pow, Id = Math.log, UP =
20419
20419
  }
20420
20420
  return e.prototype.getTicks = function(t) {
20421
20421
  t = t || {};
20422
- var n = this._extent.slice(), i = this._originalScale.getExtent(), a = r.prototype.getTicks.call(this, t), o = this.base, s = this._originalScale._innerGetBreaks(), l = Ot();
20422
+ var n = this._extent.slice(), i = this._originalScale.getExtent(), a = r.prototype.getTicks.call(this, t), o = this.base, s = this._originalScale._innerGetBreaks(), l = Bt();
20423
20423
  return ee(a, function(u) {
20424
20424
  var c = u.value, f = null, d = Nd(o, c);
20425
20425
  c === n[0] && this._fixMin ? f = i[0] : c === n[1] && this._fixMax && (f = i[1]);
@@ -20467,7 +20467,7 @@ var gb = Pt, dY = Math.floor, hY = Math.ceil, Nd = Math.pow, Id = Math.log, UP =
20467
20467
  }, e.prototype.scale = function(t) {
20468
20468
  return t = r.prototype.scale.call(this, t), Nd(this.base, t);
20469
20469
  }, e.prototype.setBreaksFromOption = function(t) {
20470
- var n = Ot();
20470
+ var n = Bt();
20471
20471
  if (n) {
20472
20472
  var i = n.logarithmicParseBreaksFromOption(t, this.base, ce(this.parse, this)), a = i.parsedOriginal, o = i.parsedLogged;
20473
20473
  this._originalScale._innerSetBreak(a), this._innerSetBreak(o);
@@ -20641,7 +20641,7 @@ function mu(r) {
20641
20641
  // Using `null` just for backward compat.
20642
20642
  );
20643
20643
  };
20644
- var n = Ot();
20644
+ var n = Bt();
20645
20645
  return function(i, a) {
20646
20646
  var o = null;
20647
20647
  return n && (o = n.makeAxisLabelFormatterParamBreak(o, i.break)), e(Mv(r, i), a, o);
@@ -20683,7 +20683,7 @@ function rf(r) {
20683
20683
  function ZP(r) {
20684
20684
  var e = r.get("breaks", !0);
20685
20685
  if (e != null) {
20686
- if (!Ot()) {
20686
+ if (!Bt()) {
20687
20687
  process.env.NODE_ENV !== "production" && je('Must `import {AxisBreak} from "echarts/features.js"; use(AxisBreak);` first if using breaks option.');
20688
20688
  return;
20689
20689
  }
@@ -21228,7 +21228,7 @@ function VY(r, e, t, n) {
21228
21228
  onBand: !0
21229
21229
  });
21230
21230
  function d(h, v) {
21231
- return h = Pt(h), v = Pt(v), f ? h > v : h < v;
21231
+ return h = Rt(h), v = Rt(v), f ? h > v : h < v;
21232
21232
  }
21233
21233
  }
21234
21234
  var Fu = Math.PI * 2, Co = mi.CMD, FY = ["top", "right", "bottom", "left"];
@@ -21496,7 +21496,7 @@ function jT(r) {
21496
21496
  return (!e || uR(r, kv)) && (r.obb = e = e || new V2(), e.fromBoundingRect(r.localRect, r.transform), Pv(r, !1, kv)), e;
21497
21497
  }
21498
21498
  function _b(r, e, t, n, i) {
21499
- var a = r.length, o = ke[e], s = Bt[e];
21499
+ var a = r.length, o = ke[e], s = zt[e];
21500
21500
  if (a < 2)
21501
21501
  return !1;
21502
21502
  r.sort(function(C, T) {
@@ -23090,9 +23090,9 @@ var F7 = (
23090
23090
  useEncodeDefaulter: !0
23091
23091
  });
23092
23092
  }, e.prototype.getLegendIcon = function(t) {
23093
- var n = new xe(), i = Vt("line", 0, t.itemHeight / 2, t.itemWidth, 0, t.lineStyle.stroke, !1);
23093
+ var n = new xe(), i = Ft("line", 0, t.itemHeight / 2, t.itemWidth, 0, t.lineStyle.stroke, !1);
23094
23094
  n.add(i), i.setStyle(t.lineStyle);
23095
- var a = this.getData().getVisual("symbol"), o = this.getData().getVisual("symbolRotate"), s = a === "none" ? "circle" : a, l = t.itemHeight * 0.8, u = Vt(s, (t.itemWidth - l) / 2, (t.itemHeight - l) / 2, l, l, t.itemStyle.fill);
23095
+ var a = this.getData().getVisual("symbol"), o = this.getData().getVisual("symbolRotate"), s = a === "none" ? "circle" : a, l = t.itemHeight * 0.8, u = Ft(s, (t.itemWidth - l) / 2, (t.itemHeight - l) / 2, l, l, t.itemStyle.fill);
23096
23096
  n.add(u), u.setStyle(t.itemStyle);
23097
23097
  var c = t.iconRotate === "inherit" ? o : t.iconRotate || 0;
23098
23098
  return u.rotation = c * Math.PI / 180, u.setOrigin([t.itemWidth / 2, t.itemHeight / 2]), s.indexOf("empty") > -1 && (u.style.stroke = u.style.fill, u.style.fill = W.color.neutral00, u.style.lineWidth = 2), n;
@@ -23186,7 +23186,7 @@ var Ff = (
23186
23186
  }
23187
23187
  return e.prototype._createSymbol = function(t, n, i, a, o, s) {
23188
23188
  this.removeAll();
23189
- var l = Vt(t, -1, -1, 2, 2, null, s);
23189
+ var l = Ft(t, -1, -1, 2, 2, null, s);
23190
23190
  l.attr({
23191
23191
  z2: ge(o, 100),
23192
23192
  culling: !0,
@@ -23690,10 +23690,10 @@ function IR(r, e, t, n, i) {
23690
23690
  return f;
23691
23691
  }
23692
23692
  function kR(r, e, t) {
23693
- var n = r.getArea(), i = Pt(n.r0, 1), a = Pt(n.r, 1), o = new hr({
23693
+ var n = r.getArea(), i = Rt(n.r0, 1), a = Rt(n.r, 1), o = new hr({
23694
23694
  shape: {
23695
- cx: Pt(r.cx, 1),
23696
- cy: Pt(r.cy, 1),
23695
+ cx: Rt(r.cx, 1),
23696
+ cy: Rt(r.cy, 1),
23697
23697
  r0: i,
23698
23698
  r: a,
23699
23699
  startAngle: n.startAngle,
@@ -25804,7 +25804,7 @@ var NX = (
25804
25804
  var i = t.hostModel;
25805
25805
  n = n || {};
25806
25806
  var a = t.getVisual("symbolSize");
25807
- e.setShape("size", a instanceof Array ? a : [a, a]), e.softClipShape = n.clipShape || null, e.symbolProxy = Vt(t.getVisual("symbol"), 0, 0, 0, 0), e.setColor = e.symbolProxy.setColor;
25807
+ e.setShape("size", a instanceof Array ? a : [a, a]), e.softClipShape = n.clipShape || null, e.symbolProxy = Ft(t.getVisual("symbol"), 0, 0, 0, 0), e.setColor = e.symbolProxy.setColor;
25808
25808
  var o = e.shape.size[0] < HR;
25809
25809
  e.useStyle(
25810
25810
  // Draw shadow when doing fillRect is extremely slow.
@@ -25926,7 +25926,7 @@ var NX = (
25926
25926
  }, e.type = "cartesian2dAxis", e;
25927
25927
  })(Ue)
25928
25928
  );
25929
- Ft(Tb, Vf);
25929
+ Gt(Tb, Vf);
25930
25930
  var $R = {
25931
25931
  show: !0,
25932
25932
  // zlevel: 0,
@@ -26452,7 +26452,7 @@ var Cr = (
26452
26452
  if (n.get(["axisLine", "breakLine"]) && n.axis.scale.hasBreaks())
26453
26453
  $f().buildAxisBreakLine(n, i, a, p);
26454
26454
  else {
26455
- var g = new Rt(X({
26455
+ var g = new Ot(X({
26456
26456
  shape: {
26457
26457
  x1: f[0],
26458
26458
  y1: f[1],
@@ -26477,7 +26477,7 @@ var Cr = (
26477
26477
  r: Math.sqrt((f[0] - d[0]) * (f[0] - d[0]) + (f[1] - d[1]) * (f[1] - d[1]))
26478
26478
  }], function(S, C) {
26479
26479
  if (m[C] !== "none" && m[C] != null) {
26480
- var T = Vt(m[C], -_ / 2, -w / 2, _, w, v.stroke, !0), A = S.r + S.offset, D = h ? d : f;
26480
+ var T = Ft(m[C], -_ / 2, -w / 2, _, w, v.stroke, !0), A = S.r + S.offset, D = h ? d : f;
26481
26481
  T.attr({
26482
26482
  rotation: S.rotate,
26483
26483
  x: D[0] + A * Math.cos(r.rotation),
@@ -26653,7 +26653,7 @@ function eO(r, e, t, n, i) {
26653
26653
  for (var a = [], o = [], s = [], l = 0; l < r.length; l++) {
26654
26654
  var u = r[l].coord;
26655
26655
  o[0] = u, o[1] = 0, s[0] = u, s[1] = t, e && (Nt(o, o, e), Nt(s, s, e));
26656
- var c = new Rt({
26656
+ var c = new Ot({
26657
26657
  shape: {
26658
26658
  x1: o[0],
26659
26659
  y1: o[1],
@@ -26820,7 +26820,7 @@ function s9(r, e, t, n) {
26820
26820
  });
26821
26821
  }
26822
26822
  function l9(r, e, t) {
26823
- var n = Ot();
26823
+ var n = Bt();
26824
26824
  if (n) {
26825
26825
  var i = n.retrieveAxisBreakPairs(t, function(o) {
26826
26826
  return o && Xl(o.label).break;
@@ -26908,7 +26908,7 @@ function rO(r, e, t) {
26908
26908
  var m = r.getTicks().length - 1;
26909
26909
  m > s && (v = ym(v));
26910
26910
  var y = v * s;
26911
- g = Math.ceil(c[1] / v) * v, p = Pt(g - y), p < 0 && c[0] >= 0 ? (p = 0, g = Pt(y)) : g > 0 && c[1] <= 0 && (g = 0, p = -Pt(y));
26911
+ g = Math.ceil(c[1] / v) * v, p = Rt(g - y), p < 0 && c[0] >= 0 ? (p = 0, g = Rt(y)) : g > 0 && c[1] <= 0 && (g = 0, p = -Rt(y));
26912
26912
  }
26913
26913
  var b = (a[0].value - o[0].value) / l, _ = (a[s].value - o[s].value) / l;
26914
26914
  if (i.setExtent.call(r, p + v * b, g + v * _), i.setInterval.call(r, v), (b || _) && i.setNiceExtent.call(r, p + v, g - v), process.env.NODE_ENV !== "production") {
@@ -27178,7 +27178,7 @@ function HD(r, e, t, n, i, a, o) {
27178
27178
  });
27179
27179
  }
27180
27180
  function c(d, h, v) {
27181
- var p = r[ke[h]] - d[ke[h]], g = d[Bt[h]] + d[ke[h]] - (r[Bt[h]] + r[ke[h]]);
27181
+ var p = r[ke[h]] - d[ke[h]], g = d[zt[h]] + d[ke[h]] - (r[zt[h]] + r[ke[h]]);
27182
27182
  p = f(p, 1 - v), g = f(g, v);
27183
27183
  var m = zD[h][0], y = zD[h][1];
27184
27184
  s[m] = Lt(s[m], p), s[y] = Lt(s[y], g);
@@ -27217,7 +27217,7 @@ function nO(r, e, t, n, i, a) {
27217
27217
  };
27218
27218
  l(0), l(1);
27219
27219
  function l(u) {
27220
- s[ke[1 - u]] = r[Bt[u]] <= a.refContainer[Bt[u]] * 0.5 ? 0 : 1 - u === 1 ? 2 : 1;
27220
+ s[ke[1 - u]] = r[zt[u]] <= a.refContainer[zt[u]] * 0.5 ? 0 : 1 - u === 1 ? 2 : 1;
27221
27221
  }
27222
27222
  N(e, function(u, c) {
27223
27223
  return N(u, function(f) {
@@ -27495,7 +27495,7 @@ var T9 = ["splitArea", "splitLine", "minorSplitLine", "breakArea"], oO = (
27495
27495
  if (!(y === 0 && !u || y === v.length - 1 && !c)) {
27496
27496
  var _ = v[y].tickValue;
27497
27497
  d ? (p[0] = b, p[1] = f.y, g[0] = b, g[1] = f.y + f.height) : (p[0] = f.x, p[1] = b, g[0] = f.x + f.width, g[1] = b);
27498
- var w = h++ % l.length, S = new Rt({
27498
+ var w = h++ % l.length, S = new Ot({
27499
27499
  anid: _ != null ? "line_" + _ : null,
27500
27500
  autoBatch: !0,
27501
27501
  shape: {
@@ -27521,7 +27521,7 @@ var T9 = ["splitArea", "splitLine", "minorSplitLine", "breakArea"], oO = (
27521
27521
  for (var p = 0; p < c[v].length; p++) {
27522
27522
  var g = a.toGlobalCoord(c[v][p].coord);
27523
27523
  u ? (f[0] = g, f[1] = l.y, d[0] = g, d[1] = l.y + l.height) : (f[0] = l.x, f[1] = g, d[0] = l.x + l.width, d[1] = g);
27524
- var m = new Rt({
27524
+ var m = new Ot({
27525
27525
  anid: "minor_line_" + c[v][p].tickValue,
27526
27526
  autoBatch: !0,
27527
27527
  shape: {
@@ -27716,7 +27716,7 @@ var B9 = (
27716
27716
  function u(d, h) {
27717
27717
  var v = d.getItemVisual(h, "symbol") || "circle";
27718
27718
  if (v !== "none") {
27719
- var p = gu(d.getItemVisual(h, "symbolSize")), g = Vt(v, -1, -1, 2, 2), m = d.getItemVisual(h, "symbolRotate") || 0;
27719
+ var p = gu(d.getItemVisual(h, "symbolSize")), g = Ft(v, -1, -1, 2, 2), m = d.getItemVisual(h, "symbolRotate") || 0;
27720
27720
  return g.attr({
27721
27721
  style: {
27722
27722
  strokeNoScale: !0
@@ -27833,12 +27833,12 @@ var B9 = (
27833
27833
  });
27834
27834
  }, e.prototype.formatTooltip = function(t, n, i) {
27835
27835
  var a = this.getData(), o = this.coordinateSystem, s = o.getIndicatorAxes(), l = this.getData().getName(t), u = l === "" ? this.name : l, c = Xk(this, t);
27836
- return zt("section", {
27836
+ return Vt("section", {
27837
27837
  header: u,
27838
27838
  sortBlocks: !0,
27839
27839
  blocks: ee(s, function(f) {
27840
27840
  var d = a.get(a.mapDimension(f.dim), t);
27841
- return zt("nameValue", {
27841
+ return Vt("nameValue", {
27842
27842
  markerType: "subItem",
27843
27843
  markerColor: c,
27844
27844
  name: f.name,
@@ -27922,7 +27922,7 @@ var V9 = (
27922
27922
  g.name = c.replace("{value}", m ?? "");
27923
27923
  } else _e(c) && (g.name = c(g.name, g));
27924
27924
  var y = new Ze(g, null, this.ecModel);
27925
- return Ft(y, Vf.prototype), y.mainType = "radar", y.componentIndex = this.componentIndex, y;
27925
+ return Gt(y, Vf.prototype), y.mainType = "radar", y.componentIndex = this.componentIndex, y;
27926
27926
  }, this);
27927
27927
  this._indicatorModels = h;
27928
27928
  }, e.prototype.getIndicatorModels = function() {
@@ -28584,7 +28584,7 @@ var Bm, Vv = {
28584
28584
  }), n.silent = !0, n;
28585
28585
  },
28586
28586
  line: function(e, t) {
28587
- var n = new Rt();
28587
+ var n = new Ot();
28588
28588
  return en(t, n), Gr(e, n, this._defsUsePending, !1, !1), n.setShape({
28589
28589
  x1: parseFloat(e.getAttribute("x1") || "0"),
28590
28590
  y1: parseFloat(e.getAttribute("y1") || "0"),
@@ -29508,10 +29508,10 @@ var wq = (
29508
29508
  var f = l[c].originalData.indexOfName(s), d = a.mapDimension("value");
29509
29509
  isNaN(l[c].originalData.get(d, f)) || u.push(l[c].name);
29510
29510
  }
29511
- return zt("section", {
29511
+ return Vt("section", {
29512
29512
  header: u.join(", "),
29513
29513
  noHeader: !u.length,
29514
- blocks: [zt("nameValue", {
29514
+ blocks: [Vt("nameValue", {
29515
29515
  name: s,
29516
29516
  value: o
29517
29517
  })]
@@ -29521,7 +29521,7 @@ var wq = (
29521
29521
  }, e.prototype.setCenter = function(t) {
29522
29522
  this.option.center = t;
29523
29523
  }, e.prototype.getLegendIcon = function(t) {
29524
- var n = t.icon || "roundRect", i = Vt(n, 0, 0, t.itemWidth, t.itemHeight, t.itemStyle.fill);
29524
+ var n = t.icon || "roundRect", i = Ft(n, 0, 0, t.itemWidth, t.itemHeight, t.itemStyle.fill);
29525
29525
  return i.setStyle(t.itemStyle), i.style.stroke = "none", n.indexOf("empty") > -1 && (i.style.stroke = i.style.fill, i.style.fill = W.color.neutral00, i.style.lineWidth = 2), i;
29526
29526
  }, e.type = "series.map", e.dependencies = ["geo"], e.layoutMode = "box", e.defaultOption = {
29527
29527
  // 一级层叠
@@ -29807,7 +29807,7 @@ var Aq = {
29807
29807
  }, e;
29808
29808
  })(Ds)
29809
29809
  );
29810
- Ft(Pb, Ds);
29810
+ Gt(Pb, Ds);
29811
29811
  function pA(r) {
29812
29812
  var e = r.geoModel, t = r.seriesModel;
29813
29813
  return e ? e.coordinateSystem : t ? t.coordinateSystem || (t.getReferringComponents("geo", St).models[0] || {}).coordinateSystem : null;
@@ -30780,7 +30780,7 @@ var eZ = (
30780
30780
  }, e.prototype.formatTooltip = function(t, n, i) {
30781
30781
  for (var a = this.getData().tree, o = a.root.children[0], s = a.getNodeByDataIndex(t), l = s.getValue(), u = s.name; s && s !== o; )
30782
30782
  u = s.parentNode.name + "." + u, s = s.parentNode;
30783
- return zt("nameValue", {
30783
+ return Vt("nameValue", {
30784
30784
  name: u,
30785
30785
  value: l,
30786
30786
  noValue: isNaN(l) || l == null
@@ -31015,7 +31015,7 @@ var lZ = (
31015
31015
  this.resetViewRoot();
31016
31016
  }, e.prototype.formatTooltip = function(t, n, i) {
31017
31017
  var a = this.getData(), o = this.getRawValue(t), s = a.getName(t);
31018
- return zt("nameValue", {
31018
+ return Vt("nameValue", {
31019
31019
  name: s,
31020
31020
  value: o
31021
31021
  });
@@ -32695,7 +32695,7 @@ function nj(r, e) {
32695
32695
  }
32696
32696
  }), t;
32697
32697
  }
32698
- var PA = Rt.prototype, Ym = If.prototype, zO = (
32698
+ var PA = Ot.prototype, Ym = If.prototype, zO = (
32699
32699
  /** @class */
32700
32700
  /* @__PURE__ */ (function() {
32701
32701
  function r() {
@@ -32752,7 +32752,7 @@ function OA(r, e, t) {
32752
32752
  function BA(r, e, t) {
32753
32753
  var n = e.getItemVisual(t, r);
32754
32754
  if (!(!n || n === "none")) {
32755
- var i = e.getItemVisual(t, r + "Size"), a = e.getItemVisual(t, r + "Rotate"), o = e.getItemVisual(t, r + "Offset"), s = e.getItemVisual(t, r + "KeepAspect"), l = gu(i), u = ws(o || 0, l), c = Vt(n, -l[0] / 2 + u[0], -l[1] / 2 + u[1], l[0], l[1], null, s);
32755
+ var i = e.getItemVisual(t, r + "Size"), a = e.getItemVisual(t, r + "Rotate"), o = e.getItemVisual(t, r + "Offset"), s = e.getItemVisual(t, r + "KeepAspect"), l = gu(i), u = ws(o || 0, l), c = Ft(n, -l[0] / 2 + u[0], -l[1] / 2 + u[1], l[0], l[1], null, s);
32756
32756
  return c.__specifiedRotation = a == null || isNaN(a) ? void 0 : +a * Math.PI / 180 || 0, c.name = r, c;
32757
32757
  }
32758
32758
  }
@@ -32833,7 +32833,7 @@ var B1 = (
32833
32833
  },
32834
32834
  inheritColor: m || W.color.neutral99,
32835
32835
  defaultOpacity: g.opacity,
32836
- defaultText: (y == null ? t.getName(n) : isFinite(y) ? Pt(y) : y) + ""
32836
+ defaultText: (y == null ? t.getName(n) : isFinite(y) ? Rt(y) : y) + ""
32837
32837
  });
32838
32838
  var b = this.getTextContent();
32839
32839
  if (b) {
@@ -33452,8 +33452,8 @@ function HO(r, e) {
33452
33452
  }
33453
33453
  };
33454
33454
  }
33455
- Ft(Io, HO("hostGraph", "data"));
33456
- Ft(GO, HO("hostGraph", "edgeData"));
33455
+ Gt(Io, HO("hostGraph", "data"));
33456
+ Gt(GO, HO("hostGraph", "edgeData"));
33457
33457
  function V1(r, e, t, n, i) {
33458
33458
  for (var a = new lj(n), o = 0; o < r.length; o++)
33459
33459
  a.addNode($t(
@@ -33551,7 +33551,7 @@ var uj = (
33551
33551
  }, e.prototype.formatTooltip = function(t, n, i) {
33552
33552
  if (i === "edge") {
33553
33553
  var a = this.getData(), o = this.getDataParams(t, i), s = a.graph.getEdgeByIndex(t), l = a.getName(s.node1.dataIndex), u = a.getName(s.node2.dataIndex), c = [];
33554
- return l != null && c.push(l), u != null && c.push(u), zt("nameValue", {
33554
+ return l != null && c.push(l), u != null && c.push(u), Vt("nameValue", {
33555
33555
  name: c.join(" > "),
33556
33556
  value: o.value,
33557
33557
  noValue: o.value == null
@@ -33895,13 +33895,13 @@ var dj = Math.PI / 180, hj = (
33895
33895
  var a = this.getDataParams(t, i);
33896
33896
  if (i === "edge") {
33897
33897
  var o = this.getData(), s = o.graph.getEdgeByIndex(t), l = o.getName(s.node1.dataIndex), u = o.getName(s.node2.dataIndex), c = [];
33898
- return l != null && c.push(l), u != null && c.push(u), zt("nameValue", {
33898
+ return l != null && c.push(l), u != null && c.push(u), Vt("nameValue", {
33899
33899
  name: c.join(" > "),
33900
33900
  value: a.value,
33901
33901
  noValue: a.value == null
33902
33902
  });
33903
33903
  }
33904
- return zt("nameValue", {
33904
+ return Vt("nameValue", {
33905
33905
  name: a.name,
33906
33906
  value: a.value,
33907
33907
  noValue: a.value == null
@@ -34151,7 +34151,7 @@ var xj = (
34151
34151
  }, e.prototype._renderTicks = function(t, n, i, a, o, s, l, u, c) {
34152
34152
  for (var f = this.group, d = o.cx, h = o.cy, v = o.r, p = +t.get("min"), g = +t.get("max"), m = t.getModel("splitLine"), y = t.getModel("axisTick"), b = t.getModel("axisLabel"), _ = t.get("splitNumber"), w = y.get("splitNumber"), S = se(m.get("length"), v), C = se(y.get("length"), v), T = s, A = (l - s) / _, D = A / w, M = m.getModel("lineStyle").getLineStyle(), E = y.getModel("lineStyle").getLineStyle(), L = m.get("distance"), I, P, k = 0; k <= _; k++) {
34153
34153
  if (I = Math.cos(T), P = Math.sin(T), m.get("show")) {
34154
- var R = L ? L + c : c, O = new Rt({
34154
+ var R = L ? L + c : c, O = new Ot({
34155
34155
  shape: {
34156
34156
  x1: I * (v - R) + d,
34157
34157
  y1: P * (v - R) + h,
@@ -34166,7 +34166,7 @@ var xj = (
34166
34166
  }), f.add(O);
34167
34167
  }
34168
34168
  if (b.get("show")) {
34169
- var R = b.get("distance") + L, z = qd(Pt(k / _ * (g - p) + p), b.get("formatter")), V = a(k / _), F = I * (v - S - R) + d, H = P * (v - S - R) + h, $ = b.get("rotate"), J = 0;
34169
+ var R = b.get("distance") + L, z = qd(Rt(k / _ * (g - p) + p), b.get("formatter")), V = a(k / _), F = I * (v - S - R) + d, H = P * (v - S - R) + h, $ = b.get("rotate"), J = 0;
34170
34170
  $ === "radial" ? (J = -T + 2 * Math.PI, J > Math.PI / 2 && (J += Math.PI)) : $ === "tangential" ? J = -T - Math.PI / 2 : Ke($) && (J = $ * Math.PI / 180), J === 0 ? f.add(new Qe({
34171
34171
  style: ht(b, {
34172
34172
  text: z,
@@ -34199,7 +34199,7 @@ var xj = (
34199
34199
  R = R ? R + c : c;
34200
34200
  for (var q = 0; q <= w; q++) {
34201
34201
  I = Math.cos(T), P = Math.sin(T);
34202
- var re = new Rt({
34202
+ var re = new Ot({
34203
34203
  shape: {
34204
34204
  x1: I * (v - R) + d,
34205
34205
  y1: P * (v - R) + h,
@@ -34221,7 +34221,7 @@ var xj = (
34221
34221
  var f = this.group, d = this._data, h = this._progressEls, v = [], p = t.get(["pointer", "show"]), g = t.getModel("progress"), m = g.get("show"), y = t.getData(), b = y.mapDimension("value"), _ = +t.get("min"), w = +t.get("max"), S = [_, w], C = [s, l];
34222
34222
  function T(D, M) {
34223
34223
  var E = y.getItemModel(D), L = E.getModel("pointer"), I = se(L.get("width"), o.r), P = se(L.get("length"), o.r), k = t.get(["pointer", "icon"]), R = L.get("offsetCenter"), O = se(R[0], o.r), z = se(R[1], o.r), V = L.get("keepAspect"), F;
34224
- return k ? F = Vt(k, O - I / 2, z - P, I, P, null, V) : F = new bj({
34224
+ return k ? F = Ft(k, O - I / 2, z - P, I, P, null, V) : F = new bj({
34225
34225
  shape: {
34226
34226
  angle: -Math.PI / 2,
34227
34227
  width: I,
@@ -34302,7 +34302,7 @@ var xj = (
34302
34302
  }, e.prototype._renderAnchor = function(t, n) {
34303
34303
  var i = t.getModel("anchor"), a = i.get("show");
34304
34304
  if (a) {
34305
- var o = i.get("size"), s = i.get("icon"), l = i.get("offsetCenter"), u = i.get("keepAspect"), c = Vt(s, n.cx - o / 2 + se(l[0], n.r), n.cy - o / 2 + se(l[1], n.r), o, o, null, u);
34305
+ var o = i.get("size"), s = i.get("icon"), l = i.get("offsetCenter"), u = i.get("keepAspect"), c = Ft(s, n.cx - o / 2 + se(l[0], n.r), n.cy - o / 2 + se(l[1], n.r), o, o, null, u);
34306
34306
  c.z2 = i.get("showAbove") ? 1 : 0, c.setStyle(i.getModel("itemStyle").getItemStyle()), this.group.add(c);
34307
34307
  }
34308
34308
  }, e.prototype._renderTitleAndDetail = function(t, n, i, a, o) {
@@ -35108,7 +35108,7 @@ function iy(r, e) {
35108
35108
  function Qs(r, e) {
35109
35109
  return Math.min(e[1] != null ? e[1] : 1 / 0, Math.max(e[0] != null ? e[0] : -1 / 0, r));
35110
35110
  }
35111
- var ay = N, $O = Math.min, UO = Math.max, qA = Math.floor, Zj = Math.ceil, ZA = Pt, jj = Math.PI, Kj = (
35111
+ var ay = N, $O = Math.min, UO = Math.max, qA = Math.floor, Zj = Math.ceil, ZA = Rt, jj = Math.PI, Kj = (
35112
35112
  /** @class */
35113
35113
  (function() {
35114
35114
  function r(e, t, n) {
@@ -35330,7 +35330,7 @@ var tK = {
35330
35330
  }, e;
35331
35331
  })(Ue)
35332
35332
  );
35333
- Ft(Hb, Vf);
35333
+ Gt(Hb, Vf);
35334
35334
  var ds = !0, df = Math.min, ql = Math.max, rK = Math.pow, nK = 1e4, iK = 6, aK = 6, jA = "globalPan", oK = {
35335
35335
  w: [0, 0],
35336
35336
  e: [0, 1],
@@ -36142,14 +36142,14 @@ var LK = (
36142
36142
  }
36143
36143
  if (i === "edge") {
36144
36144
  var o = this.getDataParams(t, i), s = o.data, l = o.value, u = s.source + " -- " + s.target;
36145
- return zt("nameValue", {
36145
+ return Vt("nameValue", {
36146
36146
  name: u,
36147
36147
  value: l,
36148
36148
  noValue: a(l)
36149
36149
  });
36150
36150
  } else {
36151
36151
  var c = this.getGraph().getNodeByIndex(t), f = c.getLayout().value, d = this.getDataParams(t, i).data.name;
36152
- return zt("nameValue", {
36152
+ return Vt("nameValue", {
36153
36153
  name: d != null ? d + "" : null,
36154
36154
  value: f,
36155
36155
  noValue: a(f)
@@ -36630,7 +36630,7 @@ var lB = (
36630
36630
  }, e;
36631
36631
  })(vt)
36632
36632
  );
36633
- Ft(uB, lB, !0);
36633
+ Gt(uB, lB, !0);
36634
36634
  var ZK = (
36635
36635
  /** @class */
36636
36636
  (function(r) {
@@ -37095,7 +37095,7 @@ var fB = (
37095
37095
  }, e;
37096
37096
  })(vt)
37097
37097
  );
37098
- Ft(fB, lB, !0);
37098
+ Gt(fB, lB, !0);
37099
37099
  function yQ(r) {
37100
37100
  !r || !Q(r.series) || N(r.series, function(e) {
37101
37101
  Se(e) && e.type === "k" && (e.type = "candlestick");
@@ -37197,7 +37197,7 @@ var wQ = (
37197
37197
  this.childAt(1).removeAll();
37198
37198
  }, e.prototype.startEffectAnimation = function(t) {
37199
37199
  for (var n = t.symbolType, i = t.color, a = t.rippleNumber, o = this.childAt(1), s = 0; s < a; s++) {
37200
- var l = Vt(n, -1, -1, 2, 2, i);
37200
+ var l = Ft(n, -1, -1, 2, 2, i);
37201
37201
  l.attr({
37202
37202
  style: {
37203
37203
  strokeNoScale: !0
@@ -37356,7 +37356,7 @@ var dB = (
37356
37356
  var i = t.getItemModel(n), a = i.getModel("effect"), o = a.get("symbolSize"), s = a.get("symbol");
37357
37357
  Q(o) || (o = [o, o]);
37358
37358
  var l = t.getItemVisual(n, "style"), u = a.get("color") || l && l.stroke, c = this.childAt(1);
37359
- this._symbolType !== s && (this.remove(c), c = Vt(s, -0.5, -0.5, 1, 1, u), c.z2 = 100, c.culling = !0, this.add(c)), c && (c.setStyle("shadowColor", u), c.setStyle(a.getItemStyle(["color"])), c.scaleX = o[0], c.scaleY = o[1], c.setColor(u), this._symbolType = s, this._symbolScale = o, this._updateEffectAnimation(t, a, n));
37359
+ this._symbolType !== s && (this.remove(c), c = Ft(s, -0.5, -0.5, 1, 1, u), c.z2 = 100, c.culling = !0, this.add(c)), c && (c.setStyle("shadowColor", u), c.setStyle(a.getItemStyle(["color"])), c.scaleX = o[0], c.scaleY = o[1], c.setColor(u), this._symbolType = s, this._symbolScale = o, this._updateEffectAnimation(t, a, n));
37360
37360
  }, e.prototype._updateEffectAnimation = function(t, n, i) {
37361
37361
  var a = this.childAt(1);
37362
37362
  if (a) {
@@ -37814,7 +37814,7 @@ var kQ = (
37814
37814
  if (s)
37815
37815
  return s;
37816
37816
  var l = o.get("fromName"), u = o.get("toName"), c = [];
37817
- return l != null && c.push(l), u != null && c.push(u), zt("nameValue", {
37817
+ return l != null && c.push(l), u != null && c.push(u), Vt("nameValue", {
37818
37818
  name: c.join(" > ")
37819
37819
  });
37820
37820
  }, e.prototype.preventIncremental = function() {
@@ -38242,7 +38242,7 @@ function qQ(r, e, t, n, i, a, o, s, l, u, c, f) {
38242
38242
  I[d.xy] = -t[d.xy], I[d.wh] = c.ecSize[d.wh], I[h.xy] = 0, I[h.wh] = t[h.wh];
38243
38243
  }
38244
38244
  function pB(r) {
38245
- var e = r.symbolPatternSize, t = Vt(
38245
+ var e = r.symbolPatternSize, t = Ft(
38246
38246
  // Consider texture img, make a big size.
38247
38247
  r.symbolType,
38248
38248
  -e / 2,
@@ -38639,7 +38639,7 @@ var hy = 2, rJ = (
38639
38639
  };
38640
38640
  }, e.prototype.formatTooltip = function(t, n, i) {
38641
38641
  var a = this.getData(), o = a.getName(t), s = a.get(a.mapDimension("value"), t);
38642
- return zt("nameValue", {
38642
+ return Vt("nameValue", {
38643
38643
  name: o,
38644
38644
  value: s
38645
38645
  });
@@ -38825,14 +38825,14 @@ function uJ(r) {
38825
38825
  var o = lf(e, [bM], a);
38826
38826
  o && (e.dataIndex = o.node.dataIndex);
38827
38827
  }
38828
- process.env.NODE_ENV !== "production" && kt("sunburstHighlight", "highlight"), n.dispatchAction(X(e, {
38828
+ process.env.NODE_ENV !== "production" && Pt("sunburstHighlight", "highlight"), n.dispatchAction(X(e, {
38829
38829
  type: "highlight"
38830
38830
  }));
38831
38831
  }), r.registerAction({
38832
38832
  type: lJ,
38833
38833
  update: "updateView"
38834
38834
  }, function(e, t, n) {
38835
- e = X({}, e), process.env.NODE_ENV !== "production" && kt("sunburstUnhighlight", "downplay"), n.dispatchAction(X(e, {
38835
+ e = X({}, e), process.env.NODE_ENV !== "production" && Pt("sunburstUnhighlight", "downplay"), n.dispatchAction(X(e, {
38836
38836
  type: "downplay"
38837
38837
  }));
38838
38838
  });
@@ -40931,7 +40931,7 @@ var _ee = {
40931
40931
  }, e.type = "polarAxis", e;
40932
40932
  })(Ue)
40933
40933
  );
40934
- Ft(sw, Vf);
40934
+ Gt(sw, Vf);
40935
40935
  var wee = (
40936
40936
  /** @class */
40937
40937
  (function(r) {
@@ -41200,7 +41200,7 @@ var Nee = (
41200
41200
  },
41201
41201
  axisTick: function(r, e, t, n, i, a) {
41202
41202
  var o = e.getModel("axisTick"), s = (o.get("inside") ? -1 : 1) * o.get("length"), l = a[Qd(t)], u = ee(n, function(c) {
41203
- return new Rt({
41203
+ return new Ot({
41204
41204
  shape: Kd(t, [l, l + s], c.coord)
41205
41205
  });
41206
41206
  });
@@ -41214,7 +41214,7 @@ var Nee = (
41214
41214
  if (i.length) {
41215
41215
  for (var o = e.getModel("axisTick"), s = e.getModel("minorTick"), l = (o.get("inside") ? -1 : 1) * s.get("length"), u = a[Qd(t)], c = [], f = 0; f < i.length; f++)
41216
41216
  for (var d = 0; d < i[f].length; d++)
41217
- c.push(new Rt({
41217
+ c.push(new Ot({
41218
41218
  shape: Kd(t, [u, u + l], i[f][d].coord)
41219
41219
  }));
41220
41220
  r.add(cn(c, {
@@ -41265,7 +41265,7 @@ var Nee = (
41265
41265
  l = l instanceof Array ? l : [l];
41266
41266
  for (var c = [], f = 0; f < n.length; f++) {
41267
41267
  var d = u++ % l.length;
41268
- c[d] = c[d] || [], c[d].push(new Rt({
41268
+ c[d] = c[d] || [], c[d].push(new Ot({
41269
41269
  shape: Kd(t, a, n[f].coord)
41270
41270
  }));
41271
41271
  }
@@ -41282,7 +41282,7 @@ var Nee = (
41282
41282
  if (i.length) {
41283
41283
  for (var o = e.getModel("minorSplitLine"), s = o.getModel("lineStyle"), l = [], u = 0; u < i.length; u++)
41284
41284
  for (var c = 0; c < i[u].length; c++)
41285
- l.push(new Rt({
41285
+ l.push(new Ot({
41286
41286
  shape: Kd(t, a, i[u][c].coord)
41287
41287
  }));
41288
41288
  r.add(cn(l, {
@@ -41605,7 +41605,7 @@ var Wee = ["splitArea", "splitLine", "breakArea"], $ee = (
41605
41605
  }), p = [], g = [], m = 0; m < v.length; ++m) {
41606
41606
  var y = a.toGlobalCoord(v[m].coord);
41607
41607
  f ? (p[0] = y, p[1] = c.y, g[0] = y, g[1] = c.y + c.height) : (p[0] = c.x, p[1] = y, g[0] = c.x + c.width, g[1] = y);
41608
- var b = new Rt({
41608
+ var b = new Ot({
41609
41609
  shape: {
41610
41610
  x1: p[0],
41611
41611
  y1: p[1],
@@ -41689,7 +41689,7 @@ var Wee = ["splitArea", "splitLine", "breakArea"], $ee = (
41689
41689
  }, e;
41690
41690
  })(Ue)
41691
41691
  );
41692
- Ft(Ph, Vf.prototype);
41692
+ Gt(Ph, Vf.prototype);
41693
41693
  var Yee = (
41694
41694
  /** @class */
41695
41695
  (function(r) {
@@ -42368,7 +42368,7 @@ function ste(r, e) {
42368
42368
  }
42369
42369
  function nL(r, e, t, n) {
42370
42370
  var i = Qb(e[n][0], t, n), a = Qb(e[n][1], t, n);
42371
- r[ke[n]] = r[Bt[n]] = NaN, i && a && (r[ke[n]] = i.xy, r[Bt[n]] = a.xy + a.wh - i.xy);
42371
+ r[ke[n]] = r[zt[n]] = NaN, i && a && (r[ke[n]] = i.xy, r[zt[n]] = a.xy + a.wh - i.xy);
42372
42372
  }
42373
42373
  function ju(r, e, t, n) {
42374
42374
  return r[ke[e]] = t, r[ke[1 - e]] = n, r;
@@ -42525,7 +42525,7 @@ var iL = (
42525
42525
  return (e || new Ia()).reset(this._levels, 0);
42526
42526
  }, r.prototype.getLayout = function(e, t, n) {
42527
42527
  var i = this.getUnitLayoutInfo(t, n);
42528
- e[ke[t]] = i ? i.xy : NaN, e[Bt[t]] = i ? i.wh : NaN;
42528
+ e[ke[t]] = i ? i.xy : NaN, e[zt[t]] = i ? i.wh : NaN;
42529
42529
  }, r.prototype.getUnitLayoutInfo = function(e, t) {
42530
42530
  return e === this.dimIdx ? t < this._leavesCount ? this._cells[t] : void 0 : this._levels[t + this._levels.length];
42531
42531
  }, r.prototype.getCell = function(e) {
@@ -42880,7 +42880,7 @@ function Jb(r, e, t) {
42880
42880
  }
42881
42881
  function uL(r, e, t) {
42882
42882
  var n = e.lineWidth;
42883
- return n && (eh(r.x1 * 2) === eh(r.x2 * 2) && (r.x1 = r.x2 = Xr(r.x1, n, !0)), eh(r.y1 * 2) === eh(r.y2 * 2) && (r.y1 = r.y2 = Xr(r.y1, n, !0))), new Rt({
42883
+ return n && (eh(r.x1 * 2) === eh(r.x2 * 2) && (r.x1 = r.x2 = Xr(r.x1, n, !0)), eh(r.y1 * 2) === eh(r.y2 * 2) && (r.y1 = r.y2 = Xr(r.y1, n, !0))), new Ot({
42884
42884
  shape: r,
42885
42885
  style: e,
42886
42886
  silent: !0,
@@ -42964,7 +42964,7 @@ function cL(r, e, t, n) {
42964
42964
  l.item.wh = l.item.xy = NaN;
42965
42965
  for (var u = o.resetLayoutIterator(null, n); u.next(); )
42966
42966
  u.item.wh = u.item.xy = NaN;
42967
- for (var c = t[Bt[n]], f = a.getLocatorCount(n) + o.getLocatorCount(n), d = new Ze(), h = o.resetLevelIterator(); h.next(); )
42967
+ for (var c = t[zt[n]], f = a.getLocatorCount(n) + o.getLocatorCount(n), d = new Ze(), h = o.resetLevelIterator(); h.next(); )
42968
42968
  d.option = h.item.option, d.parentModel = r[ke[i]], g(h.item, s ? d.get("levelSize") : 0);
42969
42969
  for (var v = new Ze(), p = a.resetCellIterator(); p.next(); )
42970
42970
  p.item.type === Pi.leaf && (v.option = p.item.option, v.parentModel = void 0, g(p.item, v.get("size")));
@@ -42978,13 +42978,13 @@ function cL(r, e, t, n) {
42978
42978
  for (a.resetLayoutIterator(w, n); w.next(); )
42979
42979
  S(w.item);
42980
42980
  function S(C) {
42981
- nr(C.wh) && (C.wh = m), C.xy = b, C.id[ke[n]] === _ && !y && (C.wh = t[ke[n]] + t[Bt[n]] - C.xy), b += C.wh;
42981
+ nr(C.wh) && (C.wh = m), C.xy = b, C.id[ke[n]] === _ && !y && (C.wh = t[ke[n]] + t[zt[n]] - C.xy), b += C.wh;
42982
42982
  }
42983
42983
  }
42984
42984
  function fL(r, e) {
42985
42985
  for (var t = e[ke[r]].resetCellIterator(); t.next(); ) {
42986
42986
  var n = t.item;
42987
- Qv(n.rect, r, n.id, n.span, e), Qv(n.rect, 1 - r, n.id, n.span, e), n.type === Pi.nonLeaf && (n.xy = n.rect[ke[r]], n.wh = n.rect[Bt[r]]);
42987
+ Qv(n.rect, r, n.id, n.span, e), Qv(n.rect, 1 - r, n.id, n.span, e), n.type === Pi.nonLeaf && (n.xy = n.rect[ke[r]], n.wh = n.rect[zt[r]]);
42988
42988
  }
42989
42989
  }
42990
42990
  function dL(r, e) {
@@ -42997,16 +42997,16 @@ function dL(r, e) {
42997
42997
  });
42998
42998
  }
42999
42999
  function Qv(r, e, t, n, i) {
43000
- r[Bt[e]] = 0;
43000
+ r[zt[e]] = 0;
43001
43001
  var a = t[ke[e]], o = a < 0 ? i[ke[1 - e]] : i[ke[e]], s = o.getUnitLayoutInfo(e, t[ke[e]]);
43002
- if (r[ke[e]] = s.xy, r[Bt[e]] = s.wh, n[ke[e]] > 1) {
43002
+ if (r[ke[e]] = s.xy, r[zt[e]] = s.wh, n[ke[e]] > 1) {
43003
43003
  var l = o.getUnitLayoutInfo(e, t[ke[e]] + n[ke[e]] - 1);
43004
- r[Bt[e]] = l.xy + l.wh - s.xy;
43004
+ r[zt[e]] = l.xy + l.wh - s.xy;
43005
43005
  }
43006
43006
  }
43007
43007
  function wte(r, e, t) {
43008
- var n = sv(r, t[Bt[e]]);
43009
- return e_(n, t[Bt[e]]);
43008
+ var n = sv(r, t[zt[e]]);
43009
+ return e_(n, t[zt[e]]);
43010
43010
  }
43011
43011
  function e_(r, e) {
43012
43012
  return Math.max(Math.min(r, ge(e, 1 / 0)), 0);
@@ -43078,7 +43078,7 @@ function Ste(r, e) {
43078
43078
  return e.xy <= r && r <= e.xy + e.wh;
43079
43079
  }
43080
43080
  function gL(r, e, t) {
43081
- return e[ke[t]] <= r && r <= e[ke[t]] + e[Bt[t]];
43081
+ return e[ke[t]] <= r && r <= e[ke[t]] + e[zt[t]];
43082
43082
  }
43083
43083
  function Cte(r) {
43084
43084
  r.registerComponentModel(hte), r.registerComponentView(yte), r.registerCoordinateSystem("matrix", xte);
@@ -45336,7 +45336,7 @@ var Ire = new He({
45336
45336
  var i = t.get("showDelay");
45337
45337
  n = ce(n, this), clearTimeout(this._showTimout), i > 0 ? this._showTimout = setTimeout(n, i) : n();
45338
45338
  }, e.prototype._showAxisTooltip = function(t, n) {
45339
- var i = this._ecModel, a = this._tooltipModel, o = [n.offsetX, n.offsetY], s = Qu([n.tooltipOption], a), l = this._renderMode, u = [], c = zt("section", {
45339
+ var i = this._ecModel, a = this._tooltipModel, o = [n.offsetX, n.offsetY], s = Qu([n.tooltipOption], a), l = this._renderMode, u = [], c = Vt("section", {
45340
45340
  blocks: [],
45341
45341
  noHeader: !0
45342
45342
  }), f = [], d = new sm();
@@ -45344,7 +45344,7 @@ var Ire = new He({
45344
45344
  N(y.dataByAxis, function(b) {
45345
45345
  var _ = i.getComponent(b.axisDim + "Axis", b.axisIndex), w = b.value;
45346
45346
  if (!(!_ || w == null)) {
45347
- var S = RB(w, _.axis, i, b.seriesDataIndices, b.valueLabelOpt), C = zt("section", {
45347
+ var S = RB(w, _.axis, i, b.seriesDataIndices, b.valueLabelOpt), C = Vt("section", {
45348
45348
  header: S,
45349
45349
  noHeader: !dn(S),
45350
45350
  sortBlocks: !0,
@@ -46334,7 +46334,7 @@ var qL = (
46334
46334
  }), e;
46335
46335
  })(qL)
46336
46336
  );
46337
- Ft(oz, Yp.prototype);
46337
+ Gt(oz, Yp.prototype);
46338
46338
  var ine = (
46339
46339
  /** @class */
46340
46340
  (function(r) {
@@ -46376,7 +46376,7 @@ var ine = (
46376
46376
  var c = l.scale.getLabel({
46377
46377
  value: u
46378
46378
  });
46379
- return zt("nameValue", {
46379
+ return Vt("nameValue", {
46380
46380
  noName: !0,
46381
46381
  value: c
46382
46382
  });
@@ -46477,7 +46477,7 @@ var ine = (
46477
46477
  }, e.prototype._renderAxisLine = function(t, n, i, a) {
46478
46478
  var o = i.getExtent();
46479
46479
  if (a.get(["lineStyle", "show"])) {
46480
- var s = new Rt({
46480
+ var s = new Ot({
46481
46481
  shape: {
46482
46482
  x1: o[0],
46483
46483
  y1: 0,
@@ -46491,7 +46491,7 @@ var ine = (
46491
46491
  z2: 1
46492
46492
  });
46493
46493
  n.add(s);
46494
- var l = this._progressLine = new Rt({
46494
+ var l = this._progressLine = new Ot({
46495
46495
  shape: {
46496
46496
  x1: o[0],
46497
46497
  x2: this._currentPointer ? this._currentPointer.x : o[0],
@@ -46650,7 +46650,7 @@ function jL(r, e, t, n, i, a) {
46650
46650
  i.setColor(o), t.add(i), a && a.onUpdate(i);
46651
46651
  else {
46652
46652
  var s = r.get("symbol");
46653
- i = Vt(s, -1, -1, 2, 2, o), i.setStyle("strokeNoScale", !0), t.add(i), a && a.onCreate(i);
46653
+ i = Ft(s, -1, -1, 2, 2, o), i.setStyle("strokeNoScale", !0), t.add(i), a && a.onCreate(i);
46654
46654
  }
46655
46655
  var l = e.getItemStyle(["color"]);
46656
46656
  i.setStyle(l), n = ze({
@@ -46803,9 +46803,9 @@ var oh = We(), xi = (
46803
46803
  }, this);
46804
46804
  }, e.prototype.formatTooltip = function(t, n, i) {
46805
46805
  var a = this.getData(), o = this.getRawValue(t), s = a.getName(t);
46806
- return zt("section", {
46806
+ return Vt("section", {
46807
46807
  header: this.name,
46808
- blocks: [zt("nameValue", {
46808
+ blocks: [Vt("nameValue", {
46809
46809
  name: s,
46810
46810
  value: o,
46811
46811
  noName: !s,
@@ -46824,7 +46824,7 @@ var oh = We(), xi = (
46824
46824
  }, e.type = "marker", e.dependencies = ["series", "grid", "polar", "geo"], e;
46825
46825
  })(Ue)
46826
46826
  );
46827
- Ft(xi, Yp.prototype);
46827
+ Gt(xi, Yp.prototype);
46828
46828
  var vne = (
46829
46829
  /** @class */
46830
46830
  (function(r) {
@@ -47868,7 +47868,7 @@ function Rne(r, e, t, n, i, a, o) {
47868
47868
  };
47869
47869
  }
47870
47870
  function One(r) {
47871
- var e = r.icon || "roundRect", t = Vt(e, 0, 0, r.itemWidth, r.itemHeight, r.itemStyle.fill, r.symbolKeepAspect);
47871
+ var e = r.icon || "roundRect", t = Ft(e, 0, 0, r.itemWidth, r.itemHeight, r.itemStyle.fill, r.symbolKeepAspect);
47872
47872
  return t.setStyle(r.itemStyle), t.rotation = (r.iconRotate || 0) * Math.PI / 180, t.setOrigin([r.itemWidth / 2, r.itemHeight / 2]), e.indexOf("empty") > -1 && (t.style.stroke = t.style.fill, t.style.fill = W.color.neutral00, t.style.lineWidth = 2), t;
47873
47873
  }
47874
47874
  function iE(r, e, t, n) {
@@ -48682,7 +48682,7 @@ var Jne = (
48682
48682
  })), N([0, 1], function(b) {
48683
48683
  var _ = l.get("handleIcon");
48684
48684
  !_v[_] && _.indexOf("path://") < 0 && _.indexOf("image://") < 0 && (_ = "path://" + _, process.env.NODE_ENV !== "production" && gi("handleIcon now needs 'path://' prefix when using a path string"));
48685
- var w = Vt(_, -1, 0, 2, 2, null, !0);
48685
+ var w = Ft(_, -1, 0, 2, 2, null, !0);
48686
48686
  w.attr({
48687
48687
  cursor: sie(this._orient),
48688
48688
  draggable: !0,
@@ -48722,7 +48722,7 @@ var Jne = (
48722
48722
  y: s[1] - 0.5,
48723
48723
  height: v
48724
48724
  }
48725
- }), g = v * 0.8, m = n.moveHandleIcon = Vt(l.get("moveHandleIcon"), -g / 2, -g / 2, g, g, W.color.neutral00, !0);
48725
+ }), g = v * 0.8, m = n.moveHandleIcon = Ft(l.get("moveHandleIcon"), -g / 2, -g / 2, g, g, W.color.neutral00, !0);
48726
48726
  m.silent = !0, m.y = s[1] + v / 2 - 0.5, p.ensureState("emphasis").style = l.getModel(["emphasis", "moveHandleStyle"]).getItemStyle();
48727
48727
  var y = Math.min(s[1] / 2, Math.max(v, 10));
48728
48728
  h = n.moveZone = new He({
@@ -49339,7 +49339,7 @@ var Zn = rt, pie = N, pE = Math.min, By = Math.max, gie = 12, mie = 6, yie = (
49339
49339
  var f = n.textStyleModel.getTextRect("国"), d = By(f.width, f.height);
49340
49340
  s && (i.handleThumbs = [], i.handleLabels = [], i.handleLabelPoints = [], this._createHandle(n, u, 0, a, d, o), this._createHandle(n, u, 1, a, d, o)), this._createIndicator(n, u, a, d, o), t.add(u);
49341
49341
  }, e.prototype._createHandle = function(t, n, i, a, o, s) {
49342
- var l = ce(this._dragHandle, this, i, !1), u = ce(this._dragHandle, this, i, !0), c = Rn(t.get("handleSize"), a[0]), f = Vt(t.get("handleIcon"), -c / 2, -c / 2, c, c, null, !0), d = yE(this._orient);
49342
+ var l = ce(this._dragHandle, this, i, !1), u = ce(this._dragHandle, this, i, !0), c = Rn(t.get("handleSize"), a[0]), f = Ft(t.get("handleIcon"), -c / 2, -c / 2, c, c, null, !0), d = yE(this._orient);
49343
49343
  f.attr({
49344
49344
  cursor: d,
49345
49345
  draggable: !0,
@@ -49374,7 +49374,7 @@ var Zn = rt, pie = N, pE = Math.min, By = Math.max, gie = 12, mie = 6, yie = (
49374
49374
  var p = [c, 0], g = this._shapes;
49375
49375
  g.handleThumbs[i] = f, g.handleLabelPoints[i] = p, g.handleLabels[i] = v;
49376
49376
  }, e.prototype._createIndicator = function(t, n, i, a, o) {
49377
- var s = Rn(t.get("indicatorSize"), i[0]), l = Vt(t.get("indicatorIcon"), -s / 2, -s / 2, s, s, null, !0);
49377
+ var s = Rn(t.get("indicatorSize"), i[0]), l = Ft(t.get("indicatorIcon"), -s / 2, -s / 2, s, s, null, !0);
49378
49378
  l.attr({
49379
49379
  cursor: "move",
49380
49380
  invisible: !0,
@@ -50016,7 +50016,7 @@ var Aie = (
50016
50016
  endsText: i
50017
50017
  };
50018
50018
  }, e.prototype._createItemSymbol = function(t, n, i, a) {
50019
- var o = Vt(
50019
+ var o = Ft(
50020
50020
  // symbol will be string
50021
50021
  this.getControllerVisual(n, "symbol"),
50022
50022
  i[0],
@@ -51888,7 +51888,7 @@ function Iae(r, e, t, n) {
51888
51888
  return Cw(f.breakOption, r.break.parsedBreak.breakOption);
51889
51889
  }), l = n(Math.pow(e, o.vmin), s.vmin), u = n(Math.pow(e, o.vmax), s.vmax), c = {
51890
51890
  type: o.gapParsed.type,
51891
- val: o.gapParsed.type === "tpAbs" ? Pt(Math.pow(e, o.vmin + o.gapParsed.val)) - l : o.gapParsed.val
51891
+ val: o.gapParsed.type === "tpAbs" ? Rt(Math.pow(e, o.vmin + o.gapParsed.val)) - l : o.gapParsed.val
51892
51892
  };
51893
51893
  i = {
51894
51894
  type: r.break.type,
@@ -51955,7 +51955,7 @@ function Oae() {
51955
51955
  var $E = We();
51956
51956
  function Bae(r, e) {
51957
51957
  var t = gs(r, function(n) {
51958
- return Ot().identifyAxisBreak(n.parsedBreak.breakOption, e.breakOption);
51958
+ return Bt().identifyAxisBreak(n.parsedBreak.breakOption, e.breakOption);
51959
51959
  });
51960
51960
  return t || r.push(t = {
51961
51961
  zigzagRandomList: [],
@@ -51974,9 +51974,9 @@ function Vae(r) {
51974
51974
  }
51975
51975
  function Fae(r, e, t, n, i) {
51976
51976
  var a = t.axis;
51977
- if (a.scale.isBlank() || !Ot())
51977
+ if (a.scale.isBlank() || !Bt())
51978
51978
  return;
51979
- var o = Ot().retrieveAxisBreakPairs(a.scale.getTicks({
51979
+ var o = Bt().retrieveAxisBreakPairs(a.scale.getTicks({
51980
51980
  breakTicks: "only_break"
51981
51981
  }), function(A) {
51982
51982
  return A.break;
@@ -52014,7 +52014,7 @@ function Fae(r, e, t, n, i) {
52014
52014
  lineWidth: g,
52015
52015
  lineDash: m,
52016
52016
  fill: "none"
52017
- }, k = L ? 0 : 1, R = 1 - k, O = n[ke[R]] + n[Bt[R]];
52017
+ }, k = L ? 0 : 1, R = 1 - k, O = n[ke[R]] + n[zt[R]];
52018
52018
  function z(ne) {
52019
52019
  var fe = [], Me = [];
52020
52020
  fe[k] = Me[k] = ne, fe[R] = n[ke[R]], Me[R] = O;
@@ -52038,7 +52038,7 @@ function Fae(r, e, t, n, i) {
52038
52038
  if (J < A.length ? Y = A[J] : (Y = Math.random(), A.push(Y)), $ += Y * (c - u) + u, H = !H, re)
52039
52039
  break;
52040
52040
  }
52041
- var j = Ot().serializeAxisBreakIdentifier(I.breakOption);
52041
+ var j = Bt().serializeAxisBreakIdentifier(I.breakOption);
52042
52042
  if (D.add(new ur({
52043
52043
  anid: "break_a_" + j,
52044
52044
  shape: {
@@ -52078,7 +52078,7 @@ function Gae(r, e, t, n) {
52078
52078
  pe(n.style);
52079
52079
  var o = i.getExtent();
52080
52080
  i.inverse && (o = o.slice(), o.reverse());
52081
- var s = Ot().retrieveAxisBreakPairs(i.scale.getTicks({
52081
+ var s = Bt().retrieveAxisBreakPairs(i.scale.getTicks({
52082
52082
  breakTicks: "only_break"
52083
52083
  }), function(g) {
52084
52084
  return g.break;
@@ -52086,7 +52086,7 @@ function Gae(r, e, t, n) {
52086
52086
  var m = g[0].break.parsedBreak, y = [i.dataToCoord(m.vmin, !0), i.dataToCoord(m.vmax, !0)];
52087
52087
  return y[0] > y[1] && y.reverse(), {
52088
52088
  coordPair: y,
52089
- brkId: Ot().serializeAxisBreakIdentifier(m.breakOption)
52089
+ brkId: Bt().serializeAxisBreakIdentifier(m.breakOption)
52090
52090
  };
52091
52091
  });
52092
52092
  l.sort(function(g, m) {
@@ -52112,7 +52112,7 @@ function Gae(r, e, t, n) {
52112
52112
  }
52113
52113
  var S = [g, 0], C = [m, 0], T = [g, 5], A = [m, 5];
52114
52114
  _(S, T), w(S, T), _(C, A), w(C, A), w(S, C);
52115
- var D = new Rt(X({
52115
+ var D = new Ot(X({
52116
52116
  shape: {
52117
52117
  x1: S[0],
52118
52118
  y1: S[1],
@@ -52146,7 +52146,7 @@ function Hae(r, e, t) {
52146
52146
  return y.transform ? ui(ir(), i, y.transform) : i;
52147
52147
  });
52148
52148
  function o(y) {
52149
- var b = t[0].localRect, _ = new Te(b[Bt[y]] * a[0][0], b[Bt[y]] * a[0][1]);
52149
+ var b = t[0].localRect, _ = new Te(b[zt[y]] * a[0][0], b[zt[y]] * a[0][1]);
52150
52150
  return Math.abs(_.y) < 1e-5;
52151
52151
  }
52152
52152
  var s = 0.5;
@@ -52169,7 +52169,7 @@ function Wae(r, e) {
52169
52169
  return N(e.breaks, function(n) {
52170
52170
  if (n) {
52171
52171
  var i = gs(r.get("breaks", !0), function(s) {
52172
- return Ot().identifyAxisBreak(s, n);
52172
+ return Bt().identifyAxisBreak(s, n);
52173
52173
  });
52174
52174
  if (!i) {
52175
52175
  process.env.NODE_ENV !== "production" && xt("Can not find axis break by start: " + n.start + ", end: " + n.end);
@@ -59573,7 +59573,7 @@ function kw({
59573
59573
  );
59574
59574
  return /* @__PURE__ */ x(zV.Provider, { value: L, children: e });
59575
59575
  }
59576
- function Gt() {
59576
+ function It() {
59577
59577
  const r = Ya(zV);
59578
59578
  if (!r)
59579
59579
  throw new Error(
@@ -59604,7 +59604,7 @@ function Su() {
59604
59604
  };
59605
59605
  }
59606
59606
  const Rw = () => {
59607
- const { isQuestionTypeAllowed: r, datasets: e } = Gt(), { t } = Be(), i = [
59607
+ const { isQuestionTypeAllowed: r, datasets: e } = It(), { t } = Be(), i = [
59608
59608
  {
59609
59609
  label: t("surveyFormBuilder.questionTypes.rating"),
59610
59610
  icon: BN,
@@ -59684,7 +59684,7 @@ const Rw = () => {
59684
59684
  onAddNewElement: t,
59685
59685
  isQuestionTypeAllowed: n,
59686
59686
  labels: i
59687
- } = Gt(), [a, o] = le(!1), s = Rw(), { t: l } = Be(), u = i?.addQuestion ?? l("surveyFormBuilder.actions.addQuestion"), c = (v, p) => {
59687
+ } = It(), [a, o] = le(!1), s = Rw(), { t: l } = Be(), u = i?.addQuestion ?? l("surveyFormBuilder.actions.addQuestion"), c = (v, p) => {
59688
59688
  t?.({ type: v, datasetKey: p });
59689
59689
  }, f = () => {
59690
59690
  t?.({ type: "section" });
@@ -59812,7 +59812,7 @@ function FV() {
59812
59812
  onDuplicateElement: n,
59813
59813
  disallowOptionalQuestions: i,
59814
59814
  datasets: a
59815
- } = Gt(), o = Rw();
59815
+ } = It(), o = Rw();
59816
59816
  return { getActionsForQuestion: de(
59817
59817
  (l, u, c) => {
59818
59818
  const f = e(l), d = f && "datasetKey" in f && typeof f.datasetKey == "string" ? f.datasetKey : void 0, h = Aue(u, f), v = (T) => {
@@ -60058,14 +60058,14 @@ const Yy = ({
60058
60058
  onDuplicate: n,
60059
60059
  onDelete: i
60060
60060
  }) => {
60061
- const { t: a } = Be();
60061
+ const { t: a } = Be(), { labels: o } = It();
60062
60062
  return !r && !e ? null : /* @__PURE__ */ B(et, { children: [
60063
60063
  t ? /* @__PURE__ */ x(Oa, {}) : null,
60064
60064
  /* @__PURE__ */ B(Oi, { children: [
60065
60065
  r ? /* @__PURE__ */ x(
60066
60066
  tN,
60067
60067
  {
60068
- label: a("surveyFormBuilder.actions.duplicateQuestion"),
60068
+ label: o?.duplicateQuestion ?? a("surveyFormBuilder.actions.duplicateQuestion"),
60069
60069
  icon: Fh,
60070
60070
  onClick: n
60071
60071
  }
@@ -60073,7 +60073,7 @@ const Yy = ({
60073
60073
  e ? /* @__PURE__ */ x(
60074
60074
  tN,
60075
60075
  {
60076
- label: a("surveyFormBuilder.actions.deleteQuestion"),
60076
+ label: o?.deleteQuestion ?? a("surveyFormBuilder.actions.deleteQuestion"),
60077
60077
  icon: kl,
60078
60078
  onClick: i,
60079
60079
  critical: !0
@@ -60090,28 +60090,28 @@ function Iue({
60090
60090
  canDeleteQuestion: i = !0,
60091
60091
  hiddenActions: a
60092
60092
  }) {
60093
- const { t: o } = Be(), { isQuestionTypeAllowed: s } = Gt(), {
60094
- question: l,
60095
- questionTypes: u,
60096
- currentRatingType: c,
60097
- currentDatasetKey: f,
60098
- isMultiSelectEnabled: d,
60099
- isAllowCreateEnabled: h,
60100
- datasetHasOnCreate: v,
60101
- disallowOptionalQuestions: p,
60102
- handleChangeRequired: g,
60103
- handleSelectQuestionType: m,
60104
- handleSelectRatingType: y,
60105
- handleToggleMultiSelect: b,
60106
- handleToggleAllowCreate: _,
60107
- handleDuplicate: w,
60108
- handleDelete: S
60093
+ const { t: o } = Be(), { isQuestionTypeAllowed: s, labels: l } = It(), {
60094
+ question: u,
60095
+ questionTypes: c,
60096
+ currentRatingType: f,
60097
+ currentDatasetKey: d,
60098
+ isMultiSelectEnabled: h,
60099
+ isAllowCreateEnabled: v,
60100
+ datasetHasOnCreate: p,
60101
+ disallowOptionalQuestions: g,
60102
+ handleChangeRequired: m,
60103
+ handleSelectQuestionType: y,
60104
+ handleSelectRatingType: b,
60105
+ handleToggleMultiSelect: _,
60106
+ handleToggleAllowCreate: w,
60107
+ handleDuplicate: S,
60108
+ handleDelete: C
60109
60109
  } = Lue({
60110
60110
  questionId: t,
60111
60111
  questionType: n,
60112
60112
  canDelete: i
60113
- }), C = (I) => a?.includes(I) ?? !1, T = !p && !C("required"), A = !!f && !C("multiSelect"), D = !!f && v && n === "dropdown-single" && !C("allowCreate"), M = !C("questionType"), E = !C("duplicate"), L = i && !C("delete");
60114
- return !T && !A && !D && !M && !E && !L ? null : /* @__PURE__ */ B(ts, { open: r, onOpenChange: e, children: [
60113
+ }), T = (P) => a?.includes(P) ?? !1, A = !g && !T("required"), D = !!d && !T("multiSelect"), M = !!d && p && n === "dropdown-single" && !T("allowCreate"), E = !T("questionType"), L = !T("duplicate"), I = i && !T("delete");
60114
+ return !A && !D && !M && !E && !L && !I ? null : /* @__PURE__ */ B(ts, { open: r, onOpenChange: e, children: [
60115
60115
  /* @__PURE__ */ x(rs, { tabIndex: -1, asChild: !0, children: /* @__PURE__ */ x(
60116
60116
  ot,
60117
60117
  {
@@ -60124,62 +60124,62 @@ function Iue({
60124
60124
  }
60125
60125
  ) }),
60126
60126
  /* @__PURE__ */ B(ns, { className: "w-80", align: "start", children: [
60127
- /* @__PURE__ */ x(Qy, { className: "p-4 pb-2 font-medium text-f1-foreground-secondary", children: o("surveyFormBuilder.labels.questionOptions") }),
60128
- T ? /* @__PURE__ */ x(Oi, { children: /* @__PURE__ */ x(
60127
+ /* @__PURE__ */ x(Qy, { className: "p-4 pb-2 font-medium text-f1-foreground-secondary", children: l?.questionOptions ?? o("surveyFormBuilder.labels.questionOptions") }),
60128
+ A ? /* @__PURE__ */ x(Oi, { children: /* @__PURE__ */ x(
60129
60129
  Yy,
60130
60130
  {
60131
60131
  label: o("surveyFormBuilder.labels.required"),
60132
60132
  icon: GN,
60133
- checked: !!l?.required,
60134
- onChange: g
60133
+ checked: !!u?.required,
60134
+ onChange: m
60135
60135
  }
60136
60136
  ) }) : null,
60137
- A ? /* @__PURE__ */ x(Oi, { children: /* @__PURE__ */ x(
60137
+ D ? /* @__PURE__ */ x(Oi, { children: /* @__PURE__ */ x(
60138
60138
  Yy,
60139
60139
  {
60140
60140
  label: o("surveyFormBuilder.labels.allowMultiSelection"),
60141
60141
  icon: vs,
60142
- checked: d,
60143
- onChange: b
60142
+ checked: h,
60143
+ onChange: _
60144
60144
  }
60145
60145
  ) }) : null,
60146
- D ? /* @__PURE__ */ x(Oi, { children: /* @__PURE__ */ x(
60146
+ M ? /* @__PURE__ */ x(Oi, { children: /* @__PURE__ */ x(
60147
60147
  Yy,
60148
60148
  {
60149
60149
  label: o("surveyFormBuilder.labels.allowCreate"),
60150
60150
  icon: zF,
60151
- checked: h,
60152
- onChange: _
60151
+ checked: v,
60152
+ onChange: w
60153
60153
  }
60154
60154
  ) }) : null,
60155
- M ? /* @__PURE__ */ x(Oi, { children: /* @__PURE__ */ x(
60155
+ E ? /* @__PURE__ */ x(Oi, { children: /* @__PURE__ */ x(
60156
60156
  Eue,
60157
60157
  {
60158
- label: o("surveyFormBuilder.labels.questionType"),
60158
+ label: l?.questionType ?? o("surveyFormBuilder.labels.questionType"),
60159
60159
  value: n,
60160
- currentDatasetKey: f,
60161
- questionTypes: u,
60162
- currentRatingType: c,
60160
+ currentDatasetKey: d,
60161
+ questionTypes: c,
60162
+ currentRatingType: f,
60163
60163
  isQuestionTypeAllowed: s,
60164
- onSelectQuestionType: m,
60165
- onSelectRatingType: y
60164
+ onSelectQuestionType: y,
60165
+ onSelectRatingType: b
60166
60166
  }
60167
60167
  ) }) : null,
60168
60168
  /* @__PURE__ */ x(
60169
60169
  Nue,
60170
60170
  {
60171
- showDuplicate: E,
60172
- showDelete: L,
60173
- withSeparator: T || A || D || M,
60174
- onDuplicate: w,
60175
- onDelete: S
60171
+ showDuplicate: L,
60172
+ showDelete: I,
60173
+ withSeparator: A || D || M || E,
60174
+ onDuplicate: S,
60175
+ onDelete: C
60176
60176
  }
60177
60177
  )
60178
60178
  ] })
60179
60179
  ] });
60180
60180
  }
60181
60181
  function Ms(r) {
60182
- const { answering: e, getSectionContainingQuestion: t } = Gt(), i = t(r.id)?.locked;
60182
+ const { answering: e, getSectionContainingQuestion: t } = It(), i = t(r.id)?.locked;
60183
60183
  return e ? !1 : i || !0;
60184
60184
  }
60185
60185
  const rN = ({
@@ -60211,7 +60211,7 @@ const rN = ({
60211
60211
  isQuestionTypeAllowed: g,
60212
60212
  placeholders: m,
60213
60213
  labels: y
60214
- } = Gt(), b = p(r), _ = !!b?.locked || !!s, w = _ || !!l?.includes("title"), S = _ || !!l?.includes("description"), C = !_ && (w || S), T = !!b, [A, D] = le(!1), [M, E] = le(!1), { isDragging: L } = Su(), { t: I } = Be(), P = m?.questionTitle ?? I("surveyFormBuilder.labels.titlePlaceholder"), k = y?.addQuestion ?? I("surveyFormBuilder.actions.addQuestion"), R = m?.questionDescription ?? I("surveyFormBuilder.labels.questionDescriptionPlaceholder"), O = (ne) => {
60214
+ } = It(), b = p(r), _ = !!b?.locked || !!s, w = _ || !!l?.includes("title"), S = _ || !!l?.includes("description"), C = !_ && (w || S), T = !!b, [A, D] = le(!1), [M, E] = le(!1), { isDragging: L } = Su(), { t: I } = Be(), P = m?.questionTitle ?? I("surveyFormBuilder.labels.titlePlaceholder"), k = y?.addQuestion ?? I("surveyFormBuilder.actions.addQuestion"), R = m?.questionDescription ?? I("surveyFormBuilder.labels.questionDescriptionPlaceholder"), O = (ne) => {
60215
60215
  c?.({
60216
60216
  id: r,
60217
60217
  type: a,
@@ -60494,7 +60494,7 @@ const rN = ({
60494
60494
  answering: i,
60495
60495
  disabled: a,
60496
60496
  getSectionContainingQuestion: o
60497
- } = Gt(), s = Ms(t), { t: l } = Be();
60497
+ } = It(), s = Ms(t), { t: l } = Be();
60498
60498
  if (i)
60499
60499
  return /* @__PURE__ */ x(At, { ...t, children: /* @__PURE__ */ x(
60500
60500
  Oc,
@@ -60541,7 +60541,7 @@ const rN = ({
60541
60541
  value: r,
60542
60542
  ...e
60543
60543
  }) => {
60544
- const { onQuestionChange: t } = Gt(), n = Ms(e), { t: i } = Be(), a = {
60544
+ const { onQuestionChange: t } = It(), n = Ms(e), { t: i } = Be(), a = {
60545
60545
  id: e.id,
60546
60546
  type: "date",
60547
60547
  label: i("surveyFormBuilder.answer.label"),
@@ -60569,7 +60569,7 @@ const rN = ({
60569
60569
  searchBoxPlaceholder: t,
60570
60570
  ...n
60571
60571
  }) => {
60572
- const { onQuestionChange: i, answering: a, datasets: o } = Gt(), s = Ms(n), { t: l } = Be(), u = o?.[r];
60572
+ const { onQuestionChange: i, answering: a, datasets: o } = It(), s = Ms(n), { t: l } = Be(), u = o?.[r];
60573
60573
  if (!u)
60574
60574
  throw new Error(`Dataset "${r}" not found for ${n.type}`);
60575
60575
  const c = n.type === "dropdown-multi", f = e ?? !0, d = n.type === "dropdown-single" ? n.allowCreate : void 0, h = a && !c && d && u.onCreate ? async (p) => {
@@ -60644,7 +60644,7 @@ const rN = ({
60644
60644
  maxSizeMB: n,
60645
60645
  ...i
60646
60646
  }) => {
60647
- const { onQuestionChange: a, useUpload: o } = Gt(), s = Ms(i), { t: l } = Be(), u = e ?? o, c = {
60647
+ const { onQuestionChange: a, useUpload: o } = It(), s = Ms(i), { t: l } = Be(), u = e ?? o, c = {
60648
60648
  id: i.id,
60649
60649
  type: "file",
60650
60650
  label: l("surveyFormBuilder.answer.label"),
@@ -60673,7 +60673,7 @@ const rN = ({
60673
60673
  value: r,
60674
60674
  ...e
60675
60675
  }) => {
60676
- const { t } = Be(), { onQuestionChange: n, answering: i } = Gt(), a = Ms(e), o = t("surveyFormBuilder.answer.linkPlaceholder"), s = {
60676
+ const { t } = Be(), { onQuestionChange: n, answering: i } = It(), a = Ms(e), o = t("surveyFormBuilder.answer.linkPlaceholder"), s = {
60677
60677
  id: e.id,
60678
60678
  type: "text",
60679
60679
  inputType: "url",
@@ -60701,7 +60701,7 @@ const rN = ({
60701
60701
  value: r,
60702
60702
  ...e
60703
60703
  }) => {
60704
- const { t } = Be(), { onQuestionChange: n, answering: i } = Gt(), a = Ms(e), o = (l) => {
60704
+ const { t } = Be(), { onQuestionChange: n, answering: i } = It(), a = Ms(e), o = (l) => {
60705
60705
  n?.({
60706
60706
  ...e,
60707
60707
  type: "numeric",
@@ -60827,7 +60827,7 @@ const rN = ({
60827
60827
  disabled: i,
60828
60828
  answering: a,
60829
60829
  getSectionContainingQuestion: o
60830
- } = Gt(), s = o(t.id)?.locked || t.locked, u = BV(r) === "emojis", c = (d) => {
60830
+ } = It(), s = o(t.id)?.locked || t.locked, u = BV(r) === "emojis", c = (d) => {
60831
60831
  n?.({
60832
60832
  id: t.id,
60833
60833
  value: d,
@@ -61018,7 +61018,7 @@ const $ue = ({
61018
61018
  disabled: n,
61019
61019
  answering: i,
61020
61020
  getSectionContainingQuestion: a
61021
- } = Gt(), o = new Set(r.map((g) => g.value)).size !== r.length, l = a(e.id)?.locked || e.locked, { t: u } = Be(), c = me(
61021
+ } = It(), o = new Set(r.map((g) => g.value)).size !== r.length, l = a(e.id)?.locked || e.locked, { t: u } = Be(), c = me(
61022
61022
  () => ({
61023
61023
  id: e.id,
61024
61024
  type: e.type,
@@ -61149,7 +61149,7 @@ const $ue = ({
61149
61149
  value: r,
61150
61150
  ...e
61151
61151
  }) => {
61152
- const { onQuestionChange: t, answering: n, placeholders: i } = Gt(), a = Ms(e), { t: o } = Be(), s = i?.answer ?? o("surveyFormBuilder.answer.textPlaceholder"), l = me(
61152
+ const { onQuestionChange: t, answering: n, placeholders: i } = It(), a = Ms(e), { t: o } = Be(), s = i?.answer ?? o("surveyFormBuilder.answer.textPlaceholder"), l = me(
61153
61153
  () => e.type === "text" ? {
61154
61154
  id: e.id,
61155
61155
  type: "text",
@@ -61224,7 +61224,7 @@ const $ue = ({
61224
61224
  showEndOfSection: e,
61225
61225
  className: t
61226
61226
  }) => {
61227
- const { isDragging: n, setIsDragging: i, setDraggedItemId: a, draggedItemId: o } = Su(), s = j_(), { disabled: l, answering: u, getSectionContainingQuestion: c } = Gt(), f = c(r.question.id), d = !!f && o === f.id, h = () => {
61227
+ const { isDragging: n, setIsDragging: i, setDraggedItemId: a, draggedItemId: o } = Su(), s = j_(), { disabled: l, answering: u, getSectionContainingQuestion: c } = It(), f = c(r.question.id), d = !!f && o === f.id, h = () => {
61228
61228
  i(!0), a(r.question.id);
61229
61229
  }, v = () => {
61230
61230
  i(!1), a(null);
@@ -61287,7 +61287,7 @@ const $ue = ({
61287
61287
  }
61288
61288
  );
61289
61289
  }, Xue = ({ question: r }) => {
61290
- const { isDragging: e, setIsDragging: t, setDraggedItemId: n } = Su(), i = j_(), { disabled: a, answering: o, getSectionContainingQuestion: s } = Gt(), l = s(r.id), u = () => {
61290
+ const { isDragging: e, setIsDragging: t, setDraggedItemId: n } = Su(), i = j_(), { disabled: a, answering: o, getSectionContainingQuestion: s } = It(), l = s(r.id), u = () => {
61291
61291
  t(!0), n(r.id);
61292
61292
  }, c = () => {
61293
61293
  t(!1), n(null);
@@ -61352,7 +61352,7 @@ const $ue = ({
61352
61352
  deleteElement: c,
61353
61353
  onDuplicateElement: f,
61354
61354
  placeholders: d
61355
- } = Gt(), [h, v] = le(!1), { t: p } = Be(), g = d?.sectionTitle ?? p("surveyFormBuilder.labels.sectionTitlePlaceholder"), m = me(
61355
+ } = It(), [h, v] = le(!1), { t: p } = Be(), g = d?.sectionTitle ?? p("surveyFormBuilder.labels.sectionTitlePlaceholder"), m = me(
61356
61356
  () => ({
61357
61357
  id: r,
61358
61358
  title: e,
@@ -61500,7 +61500,7 @@ const $ue = ({
61500
61500
  item: r,
61501
61501
  className: e
61502
61502
  }) => {
61503
- const { isDragging: t, setIsDragging: n, setDraggedItemId: i, draggedItemId: a } = Su(), o = j_(), { disabled: s, answering: l } = Gt(), u = a === r.section.id;
61503
+ const { isDragging: t, setIsDragging: n, setDraggedItemId: i, draggedItemId: a } = Su(), o = j_(), { disabled: s, answering: l } = It(), u = a === r.section.id;
61504
61504
  return /* @__PURE__ */ x(
61505
61505
  hp,
61506
61506
  {
@@ -61572,7 +61572,7 @@ const $ue = ({
61572
61572
  questionTypeLabel: c,
61573
61573
  singleSelectionLabel: f,
61574
61574
  multiSelectionLabel: d
61575
- } = e, { deleteElement: h, onDuplicateElement: v, disabled: p, answering: g } = Gt(), { getActionsForQuestion: m, questionTypes: y } = FV(), b = de((w) => {
61575
+ } = e, { deleteElement: h, onDuplicateElement: v, disabled: p, answering: g } = It(), { getActionsForQuestion: m, questionTypes: y } = FV(), b = de((w) => {
61576
61576
  Zue(w);
61577
61577
  }, []), _ = de(
61578
61578
  (w, S, C) => {
@@ -61795,35 +61795,35 @@ const UV = ({
61795
61795
  onChange: e,
61796
61796
  answering: t
61797
61797
  }) => {
61798
- const { t: n } = Be(), { disabled: i } = Gt(), { portalContainer: a } = Ya($N), o = jue(r, {
61798
+ const { t: n } = Be(), { disabled: i, labels: a } = It(), { portalContainer: o } = Ya($N), s = jue(r, {
61799
61799
  untitledSectionLabel: n("surveyFormBuilder.labels.sectionTitlePlaceholder"),
61800
61800
  untitledQuestionLabel: n("surveyFormBuilder.labels.titlePlaceholder"),
61801
- duplicateQuestionLabel: n("surveyFormBuilder.actions.duplicateQuestion"),
61802
- deleteQuestionLabel: n("surveyFormBuilder.actions.deleteQuestion"),
61801
+ duplicateQuestionLabel: a?.duplicateQuestion ?? n("surveyFormBuilder.actions.duplicateQuestion"),
61802
+ deleteQuestionLabel: a?.deleteQuestion ?? n("surveyFormBuilder.actions.deleteQuestion"),
61803
61803
  duplicateSectionLabel: n("surveyFormBuilder.actions.duplicateSection"),
61804
61804
  deleteSectionLabel: n("surveyFormBuilder.actions.deleteSection"),
61805
- questionOptionsLabel: n("surveyFormBuilder.labels.questionOptions"),
61805
+ questionOptionsLabel: a?.questionOptions ?? n("surveyFormBuilder.labels.questionOptions"),
61806
61806
  requiredLabel: n("surveyFormBuilder.labels.required"),
61807
- questionTypeLabel: n("surveyFormBuilder.labels.questionType"),
61807
+ questionTypeLabel: a?.questionType ?? n("surveyFormBuilder.labels.questionType"),
61808
61808
  singleSelectionLabel: n("surveyFormBuilder.labels.singleSelection"),
61809
61809
  multiSelectionLabel: n("surveyFormBuilder.labels.multiSelection")
61810
- }), s = de(
61811
- (l) => {
61812
- e(Kue(l, r));
61810
+ }), l = de(
61811
+ (u) => {
61812
+ e(Kue(u, r));
61813
61813
  },
61814
61814
  [r, e]
61815
61815
  );
61816
61816
  return /* @__PURE__ */ x("div", { className: "sticky left-0 top-1/2 z-10 hidden h-0 -translate-y-12 px-2 @3xl:block", children: /* @__PURE__ */ x(
61817
61817
  RV,
61818
61818
  {
61819
- items: o,
61819
+ items: s,
61820
61820
  barsAlign: "left",
61821
61821
  size: "md",
61822
61822
  collapsible: !0,
61823
61823
  showChildrenCounter: !0,
61824
61824
  sortable: !t && !i,
61825
- onReorder: s,
61826
- portalContainer: a
61825
+ onReorder: l,
61826
+ portalContainer: o
61827
61827
  }
61828
61828
  ) });
61829
61829
  };