@yext/pages-components 1.1.5 → 1.1.6

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.
@@ -2,7 +2,7 @@ var U_ = Object.defineProperty;
2
2
  var G_ = (e, t, n) => t in e ? U_(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var Ie = (e, t, n) => G_(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import * as Y_ from "react";
5
- import xn, { createElement as V_, createContext as Nc, useRef as od, useState as Nr, useEffect as tr, Suspense as j_, lazy as q_, useContext as co, forwardRef as Z_, Fragment as J_, useMemo as tp } from "react";
5
+ import Cn, { createElement as V_, createContext as Nc, useRef as od, useState as Nr, useEffect as tr, Suspense as j_, lazy as q_, useContext as co, forwardRef as Z_, Fragment as J_, useMemo as tp } from "react";
6
6
  import np, { createPortal as X_ } from "react-dom";
7
7
  var of = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
8
8
  function rp(e) {
@@ -22,7 +22,7 @@ var lf;
22
22
  function Q_() {
23
23
  if (lf) return Ul;
24
24
  lf = 1;
25
- var e = xn, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, l = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, d = { key: !0, ref: !0, __self: !0, __source: !0 };
25
+ var e = Cn, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, l = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, d = { key: !0, ref: !0, __self: !0, __source: !0 };
26
26
  function f(p, _, T) {
27
27
  var E, S = {}, w = null, M = null;
28
28
  T !== void 0 && (w = "" + T), _.key !== void 0 && (w = "" + _.key), _.ref !== void 0 && (M = _.ref);
@@ -45,7 +45,7 @@ var Gl = {};
45
45
  var af;
46
46
  function ey() {
47
47
  return af || (af = 1, process.env.NODE_ENV !== "production" && function() {
48
- var e = xn, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), d = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), p = Symbol.for("react.context"), _ = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), E = Symbol.for("react.suspense_list"), S = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), M = Symbol.for("react.offscreen"), m = Symbol.iterator, v = "@@iterator";
48
+ var e = Cn, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), d = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), p = Symbol.for("react.context"), _ = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), E = Symbol.for("react.suspense_list"), S = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), M = Symbol.for("react.offscreen"), m = Symbol.iterator, v = "@@iterator";
49
49
  function k(pe) {
50
50
  if (pe === null || typeof pe != "object")
51
51
  return null;
@@ -359,7 +359,7 @@ function ey() {
359
359
  return st;
360
360
  }
361
361
  }
362
- function at(pe) {
362
+ function ct(pe) {
363
363
  try {
364
364
  return Dt(pe), !1;
365
365
  } catch {
@@ -370,7 +370,7 @@ function ey() {
370
370
  return "" + pe;
371
371
  }
372
372
  function zt(pe) {
373
- if (at(pe))
373
+ if (ct(pe))
374
374
  return I("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Be(pe)), Dt(pe);
375
375
  }
376
376
  var Qt = G.ReactCurrentOwner, Oe = {
@@ -633,7 +633,7 @@ React keys must be passed directly to JSX without using spread:
633
633
  }()), Gl;
634
634
  }
635
635
  process.env.NODE_ENV === "production" ? Hu.exports = Q_() : Hu.exports = ey();
636
- var ft = Hu.exports;
636
+ var at = Hu.exports;
637
637
  function ty(e) {
638
638
  switch (e) {
639
639
  case "AD":
@@ -1050,7 +1050,7 @@ const ny = {
1050
1050
  countryCode: "localizedCountryName"
1051
1051
  }[e];
1052
1052
  return r && t[r];
1053
- }, zS = (e, t = [], n, r = {
1053
+ }, US = (e, t = [], n, r = {
1054
1054
  route: !1
1055
1055
  }, l) => {
1056
1056
  const d = "Failed to construct query for maps service.";
@@ -1128,14 +1128,14 @@ const ny = {
1128
1128
  if (!e.length) return "";
1129
1129
  const t = e.filter(Boolean).join(", ");
1130
1130
  return encodeURI(t);
1131
- }, US = ({
1131
+ }, GS = ({
1132
1132
  address: e,
1133
1133
  lines: t,
1134
1134
  separator: n = ",",
1135
1135
  ...r
1136
1136
  }) => {
1137
1137
  const l = (t || ty(e.countryCode)).map(
1138
- (d) => /* @__PURE__ */ ft.jsx(
1138
+ (d) => /* @__PURE__ */ at.jsx(
1139
1139
  sy,
1140
1140
  {
1141
1141
  address: e,
@@ -1156,7 +1156,7 @@ const ny = {
1156
1156
  for (const d of t) {
1157
1157
  if (d === ",") {
1158
1158
  r.push(
1159
- /* @__PURE__ */ ft.jsx("span", { children: n }, `separator-${l++}`)
1159
+ /* @__PURE__ */ at.jsx("span", { children: n }, `separator-${l++}`)
1160
1160
  );
1161
1161
  continue;
1162
1162
  }
@@ -1166,16 +1166,16 @@ const ny = {
1166
1166
  const p = ry(d, e);
1167
1167
  if (p) {
1168
1168
  r.push(
1169
- /* @__PURE__ */ ft.jsxs(Y_.Fragment, { children: [
1169
+ /* @__PURE__ */ at.jsxs(Y_.Fragment, { children: [
1170
1170
  " ",
1171
- /* @__PURE__ */ ft.jsx("abbr", { title: p, children: f })
1171
+ /* @__PURE__ */ at.jsx("abbr", { title: p, children: f })
1172
1172
  ] }, d)
1173
1173
  );
1174
1174
  continue;
1175
1175
  }
1176
- r.push(/* @__PURE__ */ ft.jsx("span", { children: " " + f }, d));
1176
+ r.push(/* @__PURE__ */ at.jsx("span", { children: " " + f }, d));
1177
1177
  }
1178
- return /* @__PURE__ */ ft.jsx("div", { className: "address-line", children: r });
1178
+ return /* @__PURE__ */ at.jsx("div", { className: "address-line", children: r });
1179
1179
  };
1180
1180
  var tl = {};
1181
1181
  Object.defineProperty(tl, "__esModule", {
@@ -1547,8 +1547,8 @@ const Wy = (e) => {
1547
1547
  default:
1548
1548
  return "";
1549
1549
  }
1550
- }, lp = Nc(null), Ky = q_(() => import("./debugger-rlNxnZtt.js"));
1551
- function GS(e) {
1550
+ }, lp = Nc(null), Ky = q_(() => import("./debugger-7xORzT5W.js"));
1551
+ function YS(e) {
1552
1552
  const {
1553
1553
  children: t,
1554
1554
  apiKey: n,
@@ -1578,9 +1578,9 @@ function GS(e) {
1578
1578
  w.optIn();
1579
1579
  }, () => {
1580
1580
  delete window.enableYextAnalytics;
1581
- }), [w]), /* @__PURE__ */ ft.jsxs(ft.Fragment, { children: [
1582
- /* @__PURE__ */ ft.jsx(lp.Provider, { value: w, children: t }),
1583
- E && (p || Uu()) && sa().name === "browser" ? /* @__PURE__ */ ft.jsx(j_, { fallback: /* @__PURE__ */ ft.jsx(ft.Fragment, {}), children: /* @__PURE__ */ ft.jsx(Ky, {}) }) : null
1581
+ }), [w]), /* @__PURE__ */ at.jsxs(at.Fragment, { children: [
1582
+ /* @__PURE__ */ at.jsx(lp.Provider, { value: w, children: t }),
1583
+ E && (p || Uu()) && sa().name === "browser" ? /* @__PURE__ */ at.jsx(j_, { fallback: /* @__PURE__ */ at.jsx(at.Fragment, {}), children: /* @__PURE__ */ at.jsx(Ky, {}) }) : null
1584
1584
  ] });
1585
1585
  }
1586
1586
  function Uu() {
@@ -1692,14 +1692,14 @@ class zy {
1692
1692
  }
1693
1693
  }
1694
1694
  const Gu = Nc({ name: "" }), ap = () => co(Gu).name;
1695
- function YS(e) {
1695
+ function VS(e) {
1696
1696
  var f;
1697
1697
  const t = ap(), [n] = Nr({
1698
1698
  name: op(t, e.name)
1699
1699
  }), r = (f = ca()) == null ? void 0 : f.getDebugEnabled(), [l, d] = Nr(!1);
1700
1700
  return tr(() => {
1701
1701
  d(!0);
1702
- }, []), r && l ? /* @__PURE__ */ ft.jsx("section", { "data-ya-scope": n.name, children: /* @__PURE__ */ ft.jsx(Gu.Provider, { value: n, children: e.children }) }) : /* @__PURE__ */ ft.jsx(Gu.Provider, { value: n, children: e.children });
1702
+ }, []), r && l ? /* @__PURE__ */ at.jsx("section", { "data-ya-scope": n.name, children: /* @__PURE__ */ at.jsx(Gu.Provider, { value: n, children: e.children }) }) : /* @__PURE__ */ at.jsx(Gu.Provider, { value: n, children: e.children });
1703
1703
  }
1704
1704
  function ca() {
1705
1705
  const e = co(lp);
@@ -1731,13 +1731,13 @@ function ca() {
1731
1731
  }
1732
1732
  };
1733
1733
  }
1734
- const VS = () => {
1734
+ const jS = () => {
1735
1735
  var e;
1736
1736
  return (e = ca()) == null ? void 0 : e.track;
1737
- }, jS = () => {
1737
+ }, qS = () => {
1738
1738
  var e;
1739
1739
  return (e = ca()) == null ? void 0 : e.pageView;
1740
- }, qS = () => {
1740
+ }, ZS = () => {
1741
1741
  var e;
1742
1742
  return (e = ca()) == null ? void 0 : e.identify;
1743
1743
  }, so = {
@@ -1940,7 +1940,7 @@ const VS = () => {
1940
1940
  return !1;
1941
1941
  }
1942
1942
  return t.protocol === "http:" || t.protocol === "https:";
1943
- }, ZS = ({
1943
+ }, JS = ({
1944
1944
  image: e,
1945
1945
  className: t,
1946
1946
  width: n,
@@ -1968,7 +1968,7 @@ const VS = () => {
1968
1968
  m || console.warn("Invalid image width.");
1969
1969
  const v = Math.abs(M.height);
1970
1970
  if (v || console.warn("Invalid image height."), !cp(M.url))
1971
- return console.error(`Invalid image url: ${M.url}`), /* @__PURE__ */ ft.jsx(ft.Fragment, { children: f != null && f });
1971
+ return console.error(`Invalid image url: ${M.url}`), /* @__PURE__ */ at.jsx(at.Fragment, { children: f != null && f });
1972
1972
  const k = n && n > 0 ? n : void 0, G = r && r > 0 ? r : void 0, { src: I, imgStyle: P, widths: H } = qy(
1973
1973
  d,
1974
1974
  m,
@@ -1983,9 +1983,9 @@ const VS = () => {
1983
1983
  ).join(", "), re = [640, 768, 1024, 1280, 1536], te = H.map(
1984
1984
  (ce, j) => j === H.length - 1 ? `${ce}px` : `(max-width: ${re[j]}px) ${ce}px`
1985
1985
  ).join(", ");
1986
- return /* @__PURE__ */ ft.jsxs(ft.Fragment, { children: [
1986
+ return /* @__PURE__ */ at.jsxs(at.Fragment, { children: [
1987
1987
  !S && f != null && f,
1988
- /* @__PURE__ */ ft.jsx(
1988
+ /* @__PURE__ */ at.jsx(
1989
1989
  "img",
1990
1990
  {
1991
1991
  ref: E,
@@ -2194,7 +2194,7 @@ const oa = /* @__PURE__ */ rp(Jy), Xy = "phonecall", Qy = "drivingdirection", yf
2194
2194
  rel: t.target && !t.rel ? "noopener" : void 0,
2195
2195
  ref: n
2196
2196
  };
2197
- return I != null && I.getDebugEnabled() && (re["data-ya-action"] = k, re["data-ya-scopeoverride"] = p, re["data-ya-eventname"] = G), /* @__PURE__ */ ft.jsx("a", { ...m, ...re, suppressHydrationWarning: !0, children: r || v.label || V });
2197
+ return I != null && I.getDebugEnabled() && (re["data-ya-action"] = k, re["data-ya-scopeoverride"] = p, re["data-ya-eventname"] = G), /* @__PURE__ */ at.jsx("a", { ...m, ...re, suppressHydrationWarning: !0, children: r || v.label || V });
2198
2198
  }
2199
2199
  );
2200
2200
  var yn = /* @__PURE__ */ ((e) => (e.DEGREE = "deg", e.KILOMETER = "km", e.MILE = "mi", e.RADIAN = "r", e))(yn || {}), Vr = /* @__PURE__ */ ((e) => (e.MERCATOR = "mercator", e.SPHERICAL = "spherical", e))(Vr || {});
@@ -3601,7 +3601,7 @@ let pp = class {
3601
3601
  }
3602
3602
  };
3603
3603
  const Cc = Nc(null);
3604
- function XS() {
3604
+ function QS() {
3605
3605
  const e = co(Cc);
3606
3606
  if (!e || e.map === void 0)
3607
3607
  throw new Error("Attempted to call useMapContext() outside of <Map>.");
@@ -3644,7 +3644,7 @@ const xN = ({
3644
3644
  ...M,
3645
3645
  ...l && { client: l }
3646
3646
  }).then(() => P(!0));
3647
- }, []), /* @__PURE__ */ ft.jsx(
3647
+ }, []), /* @__PURE__ */ at.jsx(
3648
3648
  "div",
3649
3649
  {
3650
3650
  className: oa(
@@ -3656,18 +3656,18 @@ const xN = ({
3656
3656
  id: "map",
3657
3657
  ref: v,
3658
3658
  "data-testid": "map",
3659
- children: H && /* @__PURE__ */ ft.jsx(Cc.Provider, { value: { map: H, provider: w }, children: n })
3659
+ children: H && /* @__PURE__ */ at.jsx(Cc.Provider, { value: { map: H, provider: w }, children: n })
3660
3660
  }
3661
3661
  );
3662
- }, vN = ({ count: e }) => /* @__PURE__ */ ft.jsx(
3662
+ }, vN = ({ count: e }) => /* @__PURE__ */ at.jsx(
3663
3663
  "svg",
3664
3664
  {
3665
3665
  xmlns: "http://www.w3.org/2000/svg",
3666
3666
  width: "22",
3667
3667
  height: "22",
3668
3668
  viewBox: "0 0 22 22",
3669
- children: /* @__PURE__ */ ft.jsxs("g", { fill: "none", fillRule: "evenodd", children: [
3670
- /* @__PURE__ */ ft.jsx(
3669
+ children: /* @__PURE__ */ at.jsxs("g", { fill: "none", fillRule: "evenodd", children: [
3670
+ /* @__PURE__ */ at.jsx(
3671
3671
  "circle",
3672
3672
  {
3673
3673
  fill: "red",
@@ -3678,14 +3678,14 @@ const xN = ({
3678
3678
  r: "11"
3679
3679
  }
3680
3680
  ),
3681
- /* @__PURE__ */ ft.jsx(
3681
+ /* @__PURE__ */ at.jsx(
3682
3682
  "text",
3683
3683
  {
3684
3684
  fill: "white",
3685
3685
  fontFamily: "Arial-BoldMT,Arial",
3686
3686
  fontSize: "12",
3687
3687
  fontWeight: "bold",
3688
- children: /* @__PURE__ */ ft.jsx("tspan", { x: "50%", y: "15", textAnchor: "middle", children: e })
3688
+ children: /* @__PURE__ */ at.jsx("tspan", { x: "50%", y: "15", textAnchor: "middle", children: e })
3689
3689
  }
3690
3690
  )
3691
3691
  ] })
@@ -3693,7 +3693,7 @@ const xN = ({
3693
3693
  ), ud = Nc(
3694
3694
  null
3695
3695
  );
3696
- function QS() {
3696
+ function ew() {
3697
3697
  const e = co(ud);
3698
3698
  if (!e)
3699
3699
  throw new Error(
@@ -3701,7 +3701,7 @@ function QS() {
3701
3701
  );
3702
3702
  return e;
3703
3703
  }
3704
- const ew = ({
3704
+ const tw = ({
3705
3705
  clusterRadius: e = 50,
3706
3706
  children: t,
3707
3707
  ClusterTemplate: n = vN
@@ -3721,7 +3721,7 @@ const ew = ({
3721
3721
  ).getCenter(Vr.MERCATOR), m = `cluster-{${M._lat},${M._lon}}`;
3722
3722
  w.forEach((v) => v.pin.setMap(null)), T((v) => [...v, m]), S((v) => [
3723
3723
  ...v,
3724
- /* @__PURE__ */ ft.jsx(
3724
+ /* @__PURE__ */ at.jsx(
3725
3725
  mp,
3726
3726
  {
3727
3727
  coordinate: M,
@@ -3731,14 +3731,14 @@ const ew = ({
3731
3731
  !0,
3732
3732
  1 / 0
3733
3733
  ),
3734
- children: /* @__PURE__ */ ft.jsx(n, { count: w.length })
3734
+ children: /* @__PURE__ */ at.jsx(n, { count: w.length })
3735
3735
  },
3736
3736
  m
3737
3737
  )
3738
3738
  ]);
3739
3739
  }
3740
3740
  }));
3741
- }, [f]), /* @__PURE__ */ ft.jsx(
3741
+ }, [f]), /* @__PURE__ */ at.jsx(
3742
3742
  ud.Provider,
3743
3743
  {
3744
3744
  value: {
@@ -3746,8 +3746,8 @@ const ew = ({
3746
3746
  clusterIds: _,
3747
3747
  setPinStore: d
3748
3748
  },
3749
- children: /* @__PURE__ */ ft.jsxs(ft.Fragment, { children: [
3750
- E.map((w, M) => /* @__PURE__ */ ft.jsx(J_, { children: w }, M)),
3749
+ children: /* @__PURE__ */ at.jsxs(at.Fragment, { children: [
3750
+ E.map((w, M) => /* @__PURE__ */ at.jsx(J_, { children: w }, M)),
3751
3751
  t
3752
3752
  ] })
3753
3753
  }
@@ -3784,7 +3784,7 @@ const ew = ({
3784
3784
  d.push(T);
3785
3785
  }
3786
3786
  return d;
3787
- }, wN = /* @__PURE__ */ ft.jsx(
3787
+ }, wN = /* @__PURE__ */ at.jsx(
3788
3788
  "svg",
3789
3789
  {
3790
3790
  width: "30",
@@ -3792,7 +3792,7 @@ const ew = ({
3792
3792
  viewBox: "0 0 30 38",
3793
3793
  fill: "none",
3794
3794
  xmlns: "http://www.w3.org/2000/svg",
3795
- children: /* @__PURE__ */ ft.jsx(
3795
+ children: /* @__PURE__ */ at.jsx(
3796
3796
  "path",
3797
3797
  {
3798
3798
  d: "M30 15.0882C30 23.4212 23.3333 30.7353 15 38C7.22222 31.2941 0 23.4212 0 15.0882C0 6.75523 6.71573 0 15 0C23.2843 0 30 6.75523 30 15.0882Z",
@@ -3842,7 +3842,7 @@ const ew = ({
3842
3842
  }), X_(m, v);
3843
3843
  }
3844
3844
  return null;
3845
- }, tw = ({
3845
+ }, nw = ({
3846
3846
  children: e,
3847
3847
  coordinate: t,
3848
3848
  linkSameTab: n,
@@ -3853,7 +3853,7 @@ const ew = ({
3853
3853
  ...p
3854
3854
  }) => {
3855
3855
  var _;
3856
- return /* @__PURE__ */ ft.jsx(xN, { bounds: [t], ...p, children: /* @__PURE__ */ ft.jsx(
3856
+ return /* @__PURE__ */ at.jsx(xN, { bounds: [t], ...p, children: /* @__PURE__ */ at.jsx(
3857
3857
  mp,
3858
3858
  {
3859
3859
  coordinate: t,
@@ -3862,7 +3862,7 @@ const ew = ({
3862
3862
  onHover: d,
3863
3863
  onFocus: f,
3864
3864
  hasPinUrl: ((_ = r || "") == null ? void 0 : _.length) > 0,
3865
- children: r ? /* @__PURE__ */ ft.jsx(
3865
+ children: r ? /* @__PURE__ */ at.jsx(
3866
3866
  cN,
3867
3867
  {
3868
3868
  href: r,
@@ -3878,7 +3878,7 @@ var qc = {}, Yl = {}, xf;
3878
3878
  function ON() {
3879
3879
  if (xf) return Yl;
3880
3880
  xf = 1;
3881
- var e = xn;
3881
+ var e = Cn;
3882
3882
  const t = /* @__PURE__ */ e.createContext(null);
3883
3883
  function n(l, d) {
3884
3884
  let f = null;
@@ -3902,7 +3902,7 @@ var Vl = {}, vf;
3902
3902
  function DN() {
3903
3903
  if (vf) return Vl;
3904
3904
  vf = 1;
3905
- var e = xn;
3905
+ var e = Cn;
3906
3906
  function t(r) {
3907
3907
  let l = new URLSearchParams();
3908
3908
  l.append("code", r);
@@ -3933,7 +3933,7 @@ function AN() {
3933
3933
  type: u
3934
3934
  };
3935
3935
  }
3936
- const t = e("SELECTION_CHANGE_COMMAND"), n = e("SELECTION_INSERT_CLIPBOARD_NODES_COMMAND"), r = e("CLICK_COMMAND"), l = e("DELETE_CHARACTER_COMMAND"), d = e("INSERT_LINE_BREAK_COMMAND"), f = e("INSERT_PARAGRAPH_COMMAND"), p = e("CONTROLLED_TEXT_INSERTION_COMMAND"), _ = e("PASTE_COMMAND"), T = e("REMOVE_TEXT_COMMAND"), E = e("DELETE_WORD_COMMAND"), S = e("DELETE_LINE_COMMAND"), w = e("FORMAT_TEXT_COMMAND"), M = e("UNDO_COMMAND"), m = e("REDO_COMMAND"), v = e("KEYDOWN_COMMAND"), k = e("KEY_ARROW_RIGHT_COMMAND"), G = e("MOVE_TO_END"), I = e("KEY_ARROW_LEFT_COMMAND"), P = e("MOVE_TO_START"), H = e("KEY_ARROW_UP_COMMAND"), V = e("KEY_ARROW_DOWN_COMMAND"), re = e("KEY_ENTER_COMMAND"), te = e("KEY_SPACE_COMMAND"), ce = e("KEY_BACKSPACE_COMMAND"), j = e("KEY_ESCAPE_COMMAND"), z = e("KEY_DELETE_COMMAND"), q = e("KEY_TAB_COMMAND"), Te = e("INSERT_TAB_COMMAND"), Se = e("INDENT_CONTENT_COMMAND"), Ee = e("OUTDENT_CONTENT_COMMAND"), de = e("DROP_COMMAND"), K = e("FORMAT_ELEMENT_COMMAND"), O = e("DRAGSTART_COMMAND"), Z = e("DRAGOVER_COMMAND"), oe = e("DRAGEND_COMMAND"), Y = e("COPY_COMMAND"), W = e("CUT_COMMAND"), J = e("SELECT_ALL_COMMAND"), R = e("CLEAR_EDITOR_COMMAND"), U = e("CLEAR_HISTORY_COMMAND"), X = e("CAN_REDO_COMMAND"), fe = e("CAN_UNDO_COMMAND"), _e = e("FOCUS_COMMAND"), B = e("BLUR_COMMAND"), A = e("KEY_MODIFIER_COMMAND"), F = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", se = F && "documentMode" in document ? document.documentMode : null, ye = F && /Mac|iPod|iPhone|iPad/.test(navigator.platform), De = F && /^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent), ee = F && "InputEvent" in window && !se ? "getTargetRanges" in new window.InputEvent("input") : !1, ne = F && /Version\/[\d.]+.*Safari/.test(navigator.userAgent), ue = F && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream, be = F && /Android/.test(navigator.userAgent), Ne = F && /^(?=.*Chrome).*/i.test(navigator.userAgent), Re = F && /AppleWebKit\/[\d.]+/.test(navigator.userAgent) && !Ne, ke = 1, Fe = 3, qe = 0, Be = 1, at = 2, Dt = 0, zt = 1, Qt = 2, Oe = 1, ie = 2, le = 4, ve = 8, Le = 16, Me = 32, Ve = 64, nt = 128, rt = Oe | ie | le | ve | Le | Me | Ve | nt, it = 1, xt = 2, Ge = 1, ze = 2, tt = 3, _t = 4, yt = 5, Ct = 6, ht = " ", pt = ne || ue || Re ? ht : "​", Pt = `
3936
+ const t = e("SELECTION_CHANGE_COMMAND"), n = e("SELECTION_INSERT_CLIPBOARD_NODES_COMMAND"), r = e("CLICK_COMMAND"), l = e("DELETE_CHARACTER_COMMAND"), d = e("INSERT_LINE_BREAK_COMMAND"), f = e("INSERT_PARAGRAPH_COMMAND"), p = e("CONTROLLED_TEXT_INSERTION_COMMAND"), _ = e("PASTE_COMMAND"), T = e("REMOVE_TEXT_COMMAND"), E = e("DELETE_WORD_COMMAND"), S = e("DELETE_LINE_COMMAND"), w = e("FORMAT_TEXT_COMMAND"), M = e("UNDO_COMMAND"), m = e("REDO_COMMAND"), v = e("KEYDOWN_COMMAND"), k = e("KEY_ARROW_RIGHT_COMMAND"), G = e("MOVE_TO_END"), I = e("KEY_ARROW_LEFT_COMMAND"), P = e("MOVE_TO_START"), H = e("KEY_ARROW_UP_COMMAND"), V = e("KEY_ARROW_DOWN_COMMAND"), re = e("KEY_ENTER_COMMAND"), te = e("KEY_SPACE_COMMAND"), ce = e("KEY_BACKSPACE_COMMAND"), j = e("KEY_ESCAPE_COMMAND"), z = e("KEY_DELETE_COMMAND"), q = e("KEY_TAB_COMMAND"), Te = e("INSERT_TAB_COMMAND"), Se = e("INDENT_CONTENT_COMMAND"), Ee = e("OUTDENT_CONTENT_COMMAND"), de = e("DROP_COMMAND"), K = e("FORMAT_ELEMENT_COMMAND"), O = e("DRAGSTART_COMMAND"), Z = e("DRAGOVER_COMMAND"), oe = e("DRAGEND_COMMAND"), Y = e("COPY_COMMAND"), W = e("CUT_COMMAND"), J = e("SELECT_ALL_COMMAND"), R = e("CLEAR_EDITOR_COMMAND"), U = e("CLEAR_HISTORY_COMMAND"), X = e("CAN_REDO_COMMAND"), fe = e("CAN_UNDO_COMMAND"), _e = e("FOCUS_COMMAND"), B = e("BLUR_COMMAND"), A = e("KEY_MODIFIER_COMMAND"), F = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", se = F && "documentMode" in document ? document.documentMode : null, ye = F && /Mac|iPod|iPhone|iPad/.test(navigator.platform), De = F && /^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent), ee = F && "InputEvent" in window && !se ? "getTargetRanges" in new window.InputEvent("input") : !1, ne = F && /Version\/[\d.]+.*Safari/.test(navigator.userAgent), ue = F && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream, be = F && /Android/.test(navigator.userAgent), Ne = F && /^(?=.*Chrome).*/i.test(navigator.userAgent), Re = F && /AppleWebKit\/[\d.]+/.test(navigator.userAgent) && !Ne, ke = 1, Fe = 3, qe = 0, Be = 1, ct = 2, Dt = 0, zt = 1, Qt = 2, Oe = 1, ie = 2, le = 4, ve = 8, Le = 16, Me = 32, Ve = 64, nt = 128, rt = Oe | ie | le | ve | Le | Me | Ve | nt, it = 1, xt = 2, Ge = 1, ze = 2, tt = 3, _t = 4, yt = 5, Ct = 6, ht = " ", pt = ne || ue || Re ? ht : "​", Pt = `
3937
3937
 
3938
3938
  `, Wt = De ? ht : pt, en = "֑-߿יִ-﷽ﹰ-ﻼ", Lt = "A-Za-zÀ-ÖØ-öø-ʸ̀-֐ࠀ-῿‎Ⰰ-﬜︀-﹯﻽-￿", Yt = new RegExp("^[^" + Lt + "]*[" + en + "]"), Rt = new RegExp("^[^" + en + "]*[" + Lt + "]"), tn = {
3939
3939
  bold: Oe,
@@ -4039,14 +4039,14 @@ function AN() {
4039
4039
  ln.removeChild(Ht);
4040
4040
  }
4041
4041
  }
4042
- const Qe = Ce.removedNodes, dt = Qe.length;
4043
- if (dt > 0) {
4042
+ const Qe = Ce.removedNodes, ft = Qe.length;
4043
+ if (ft > 0) {
4044
4044
  let jt = 0;
4045
- for (let Ht = 0; Ht < dt; Ht++) {
4045
+ for (let Ht = 0; Ht < ft; Ht++) {
4046
4046
  const Ot = Qe[Ht];
4047
4047
  (Ot.nodeName === "BR" && rn(Ot, Ue, u) || ae === Ot) && (Ue.appendChild(Ot), jt++);
4048
4048
  }
4049
- dt !== jt && (Ue === b && ($e = gl($)), N.set(Ue, $e));
4049
+ ft !== jt && (Ue === b && ($e = gl($)), N.set(Ue, $e));
4050
4050
  }
4051
4051
  }
4052
4052
  }
@@ -4095,7 +4095,7 @@ function AN() {
4095
4095
  return (c === null || c === N) && (h === null || h === b) && (y === null || y === $);
4096
4096
  }
4097
4097
  function bi(u, s) {
4098
- const c = u.mergeWithSibling(s), h = Tn()._normalizedNodes;
4098
+ const c = u.mergeWithSibling(s), h = xn()._normalizedNodes;
4099
4099
  return h.add(u.__key), h.add(s.__key), c;
4100
4100
  }
4101
4101
  function Er(u) {
@@ -4215,7 +4215,7 @@ function AN() {
4215
4215
  return;
4216
4216
  }
4217
4217
  hr(), Gd();
4218
- const c = Tn(), h = Si(), y = qr();
4218
+ const c = xn(), h = Si(), y = qr();
4219
4219
  h._nodeMap.set(y, u), et(u) ? c._dirtyElements.set(y, !0) : c._dirtyLeaves.add(y), c._cloneNotNeeded.add(y), c._dirtyType = Be, u.__key = y;
4220
4220
  }
4221
4221
  function fl(u, s, c) {
@@ -4268,7 +4268,7 @@ function AN() {
4268
4268
  }
4269
4269
  function Li(u) {
4270
4270
  Gd();
4271
- const s = u.getLatest(), c = s.__parent, h = Si(), y = Tn(), N = h._nodeMap, b = y._dirtyElements;
4271
+ const s = u.getLatest(), c = s.__parent, h = Si(), y = xn(), N = h._nodeMap, b = y._dirtyElements;
4272
4272
  c !== null && fl(c, N, b);
4273
4273
  const $ = s.__key;
4274
4274
  y._dirtyType = Be, et(u) ? b.set($, !0) : y._dirtyLeaves.add($);
@@ -4279,7 +4279,7 @@ function AN() {
4279
4279
  }
4280
4280
  function vn(u) {
4281
4281
  hr();
4282
- const s = Tn(), c = s._compositionKey;
4282
+ const s = xn(), c = s._compositionKey;
4283
4283
  if (u !== c) {
4284
4284
  if (s._compositionKey = u, c !== null) {
4285
4285
  const h = Nn(c);
@@ -4292,14 +4292,14 @@ function AN() {
4292
4292
  }
4293
4293
  }
4294
4294
  function ar() {
4295
- return Wo() ? null : Tn()._compositionKey;
4295
+ return Wo() ? null : xn()._compositionKey;
4296
4296
  }
4297
4297
  function Nn(u, s) {
4298
4298
  const h = (s || Si())._nodeMap.get(u);
4299
4299
  return h === void 0 ? null : h;
4300
4300
  }
4301
4301
  function mo(u, s) {
4302
- const c = Tn(), h = u[`__lexicalKey_${c._key}`];
4302
+ const c = xn(), h = u[`__lexicalKey_${c._key}`];
4303
4303
  return h !== void 0 ? Nn(h, s) : null;
4304
4304
  }
4305
4305
  function oi(u, s) {
@@ -4353,11 +4353,11 @@ function AN() {
4353
4353
  }
4354
4354
  function pl() {
4355
4355
  hr();
4356
- const u = Tn();
4356
+ const u = xn();
4357
4357
  un(u);
4358
4358
  }
4359
4359
  function ki(u) {
4360
- const s = Tn(), c = ya(u, s);
4360
+ const s = xn(), c = ya(u, s);
4361
4361
  if (c === null) {
4362
4362
  const h = s.getRootElement();
4363
4363
  return u === h ? Nn("root") : null;
@@ -4424,7 +4424,7 @@ function AN() {
4424
4424
  if (y || $ !== ae) {
4425
4425
  if ($ === "") {
4426
4426
  if (vn(null), !ne && !ue && !Re) {
4427
- const Ue = Tn();
4427
+ const Ue = xn();
4428
4428
  setTimeout(() => {
4429
4429
  Ue.update(() => {
4430
4430
  N.isAttached() && N.remove();
@@ -4628,7 +4628,7 @@ function AN() {
4628
4628
  const s = To(u).event, c = s && s.inputType;
4629
4629
  return c === "insertFromPaste" || c === "insertFromPasteAsQuotation";
4630
4630
  }
4631
- function ct(u, s, c) {
4631
+ function ut(u, s, c) {
4632
4632
  return Zd(u, s, c);
4633
4633
  }
4634
4634
  function Co(u) {
@@ -4676,10 +4676,10 @@ function AN() {
4676
4676
  }
4677
4677
  }
4678
4678
  function Un(u) {
4679
- return Tn()._updateTags.has(u);
4679
+ return xn()._updateTags.has(u);
4680
4680
  }
4681
4681
  function Nt(u) {
4682
- hr(), Tn()._updateTags.add(u);
4682
+ hr(), xn()._updateTags.add(u);
4683
4683
  }
4684
4684
  function ds(u) {
4685
4685
  const s = mn();
@@ -4730,7 +4730,7 @@ function AN() {
4730
4730
  return dl(s, null), s;
4731
4731
  }
4732
4732
  function Mr(u) {
4733
- const s = Tn(), c = u.constructor.getType(), h = s._nodes.get(c);
4733
+ const s = xn(), c = u.constructor.getType(), h = s._nodes.get(c);
4734
4734
  if (h === void 0)
4735
4735
  throw Error('$initializeNode failed. Ensure node has been registered to the editor. You can do this by passing the node class via the "nodes" array in the editor config.');
4736
4736
  const y = h.replace;
@@ -5035,7 +5035,7 @@ function AN() {
5035
5035
  Ui(b, 0, y - 1, he ? null : c), he && (c.textContent = "");
5036
5036
  }
5037
5037
  } else
5038
- Cn(s, b, $, y, N, c);
5038
+ En(s, b, $, y, N, c);
5039
5039
  }
5040
5040
  Co(s) && (In += Pt), c.__lexicalTextContent = In, In = h + In;
5041
5041
  }
@@ -5099,7 +5099,7 @@ function AN() {
5099
5099
  let s = u.nextSibling;
5100
5100
  return s !== null && s === Hn._blockCursorElement && (s = s.nextSibling), s;
5101
5101
  }
5102
- function Cn(u, s, c, h, y, N) {
5102
+ function En(u, s, c, h, y, N) {
5103
5103
  const b = h - 1, $ = y - 1;
5104
5104
  let ae, he, me = vr(N), xe = 0, we = 0;
5105
5105
  for (; xe <= b && we <= $; ) {
@@ -5114,8 +5114,8 @@ function AN() {
5114
5114
  else if (!Qe)
5115
5115
  dn($e, N, me), we++;
5116
5116
  else {
5117
- const dt = Bs(Hn, $e);
5118
- dt === me ? me = Do(ms($e, N)) : (me != null ? N.insertBefore(dt, me) : N.appendChild(dt), ms($e, N)), xe++, we++;
5117
+ const ft = Bs(Hn, $e);
5118
+ ft === me ? me = Do(ms($e, N)) : (me != null ? N.insertBefore(ft, me) : N.appendChild(ft), ms($e, N)), xe++, we++;
5119
5119
  }
5120
5120
  }
5121
5121
  }
@@ -5126,7 +5126,7 @@ function AN() {
5126
5126
  } else je && !Ce && Ui(s, xe, b, N);
5127
5127
  }
5128
5128
  function Yi(u, s, c, h, y, N) {
5129
- In = "", Vt = "", Gn = "", Pa = h === at, Us = null, Hn = c, xr = c._config, fs = c._nodes, zs = Hn._listeners.mutation, Gs = y, Al = N, zi = u._nodeMap, hn = s._nodeMap, hs = s._readOnly, On = new Map(c._keyToDOMMap);
5129
+ In = "", Vt = "", Gn = "", Pa = h === ct, Us = null, Hn = c, xr = c._config, fs = c._nodes, zs = Hn._listeners.mutation, Gs = y, Al = N, zi = u._nodeMap, hn = s._nodeMap, hs = s._readOnly, On = new Map(c._keyToDOMMap);
5130
5130
  const b = /* @__PURE__ */ new Map();
5131
5131
  return Wn = b, ms("root", null), Hn = void 0, fs = void 0, Gs = void 0, Al = void 0, zi = void 0, hn = void 0, xr = void 0, On = void 0, Wn = void 0, b;
5132
5132
  }
@@ -5144,7 +5144,7 @@ function AN() {
5144
5144
  ee && Ll.push(["beforeinput", (u, s) => g(u, s)]);
5145
5145
  let Vi = 0, Il = 0, Ys = 0, Kr = null, Vs = 0, zr = !1, Mo = !1, js = !1, qs = !1, Ro = [0, "", 0, "root", 0];
5146
5146
  function ji(u, s, c, h, y) {
5147
- const N = u.anchor, b = u.focus, $ = N.getNode(), ae = Tn(), he = cr(ae._window), me = he !== null ? he.anchorNode : null, xe = N.key, we = ae.getElementByKey(xe), Ce = c.length;
5147
+ const N = u.anchor, b = u.focus, $ = N.getNode(), ae = xn(), he = cr(ae._window), me = he !== null ? he.anchorNode : null, xe = N.key, we = ae.getElementByKey(xe), Ce = c.length;
5148
5148
  return xe !== b.key || // If we're working with a non-text node.
5149
5149
  !mt($) || // If we are replacing a range with a single character or grapheme, and not composing.
5150
5150
  (!y && (!ee || // We check to see if there has been
@@ -5203,7 +5203,7 @@ function AN() {
5203
5203
  $.format = xe ? me : 0;
5204
5204
  }
5205
5205
  }
5206
- ct(s, t, void 0);
5206
+ ut(s, t, void 0);
5207
5207
  });
5208
5208
  }
5209
5209
  function Ba(u, s) {
@@ -5229,7 +5229,7 @@ function AN() {
5229
5229
  }
5230
5230
  }
5231
5231
  }
5232
- ct(s, r, u);
5232
+ ut(s, r, u);
5233
5233
  });
5234
5234
  }
5235
5235
  function $l(u, s) {
@@ -5278,9 +5278,9 @@ function AN() {
5278
5278
  throw Error("Anchor node must be a TextNode");
5279
5279
  y.style = xe.getStyle();
5280
5280
  }
5281
- y.anchor.getNode().getTextContent().length <= 1 && (u.preventDefault(), ct(s, l, !0));
5281
+ y.anchor.getNode().getTextContent().length <= 1 && (u.preventDefault(), ut(s, l, !0));
5282
5282
  } else
5283
- vn(null), u.preventDefault(), ct(s, l, !0);
5283
+ vn(null), u.preventDefault(), ut(s, l, !0);
5284
5284
  return;
5285
5285
  }
5286
5286
  }
@@ -5292,13 +5292,13 @@ function AN() {
5292
5292
  if (c === "insertText" || c === "insertTranspose") {
5293
5293
  if (N === `
5294
5294
  `)
5295
- u.preventDefault(), ct(s, d, !1);
5295
+ u.preventDefault(), ut(s, d, !1);
5296
5296
  else if (N === Pt)
5297
- u.preventDefault(), ct(s, f, void 0);
5297
+ u.preventDefault(), ut(s, f, void 0);
5298
5298
  else if (N == null && u.dataTransfer) {
5299
5299
  const me = u.dataTransfer.getData("text/plain");
5300
5300
  u.preventDefault(), y.insertRawText(me);
5301
- } else N != null && ji(y, h, N, u.timeStamp, !0) ? (u.preventDefault(), ct(s, p, N)) : Kr = N;
5301
+ } else N != null && ji(y, h, N, u.timeStamp, !0) ? (u.preventDefault(), ut(s, p, N)) : Kr = N;
5302
5302
  Ys = u.timeStamp;
5303
5303
  return;
5304
5304
  }
@@ -5306,80 +5306,80 @@ function AN() {
5306
5306
  case "insertFromYank":
5307
5307
  case "insertFromDrop":
5308
5308
  case "insertReplacementText": {
5309
- ct(s, p, u);
5309
+ ut(s, p, u);
5310
5310
  break;
5311
5311
  }
5312
5312
  case "insertFromComposition": {
5313
- vn(null), ct(s, p, u);
5313
+ vn(null), ut(s, p, u);
5314
5314
  break;
5315
5315
  }
5316
5316
  case "insertLineBreak": {
5317
- vn(null), ct(s, d, !1);
5317
+ vn(null), ut(s, d, !1);
5318
5318
  break;
5319
5319
  }
5320
5320
  case "insertParagraph": {
5321
- vn(null), js && !ue ? (js = !1, ct(s, d, !1)) : ct(s, f, void 0);
5321
+ vn(null), js && !ue ? (js = !1, ut(s, d, !1)) : ut(s, f, void 0);
5322
5322
  break;
5323
5323
  }
5324
5324
  case "insertFromPaste":
5325
5325
  case "insertFromPasteAsQuotation": {
5326
- ct(s, _, u);
5326
+ ut(s, _, u);
5327
5327
  break;
5328
5328
  }
5329
5329
  case "deleteByComposition": {
5330
- i(ae, he) && ct(s, T, u);
5330
+ i(ae, he) && ut(s, T, u);
5331
5331
  break;
5332
5332
  }
5333
5333
  case "deleteByDrag":
5334
5334
  case "deleteByCut": {
5335
- ct(s, T, u);
5335
+ ut(s, T, u);
5336
5336
  break;
5337
5337
  }
5338
5338
  case "deleteContent": {
5339
- ct(s, l, !1);
5339
+ ut(s, l, !1);
5340
5340
  break;
5341
5341
  }
5342
5342
  case "deleteWordBackward": {
5343
- ct(s, E, !0);
5343
+ ut(s, E, !0);
5344
5344
  break;
5345
5345
  }
5346
5346
  case "deleteWordForward": {
5347
- ct(s, E, !1);
5347
+ ut(s, E, !1);
5348
5348
  break;
5349
5349
  }
5350
5350
  case "deleteHardLineBackward":
5351
5351
  case "deleteSoftLineBackward": {
5352
- ct(s, S, !0);
5352
+ ut(s, S, !0);
5353
5353
  break;
5354
5354
  }
5355
5355
  case "deleteContentForward":
5356
5356
  case "deleteHardLineForward":
5357
5357
  case "deleteSoftLineForward": {
5358
- ct(s, S, !1);
5358
+ ut(s, S, !1);
5359
5359
  break;
5360
5360
  }
5361
5361
  case "formatStrikeThrough": {
5362
- ct(s, w, "strikethrough");
5362
+ ut(s, w, "strikethrough");
5363
5363
  break;
5364
5364
  }
5365
5365
  case "formatBold": {
5366
- ct(s, w, "bold");
5366
+ ut(s, w, "bold");
5367
5367
  break;
5368
5368
  }
5369
5369
  case "formatItalic": {
5370
- ct(s, w, "italic");
5370
+ ut(s, w, "italic");
5371
5371
  break;
5372
5372
  }
5373
5373
  case "formatUnderline": {
5374
- ct(s, w, "underline");
5374
+ ut(s, w, "underline");
5375
5375
  break;
5376
5376
  }
5377
5377
  case "historyUndo": {
5378
- ct(s, M, void 0);
5378
+ ut(s, M, void 0);
5379
5379
  break;
5380
5380
  }
5381
5381
  case "historyRedo": {
5382
- ct(s, m, void 0);
5382
+ ut(s, m, void 0);
5383
5383
  break;
5384
5384
  }
5385
5385
  }
@@ -5394,7 +5394,7 @@ function AN() {
5394
5394
  if ($ === null)
5395
5395
  return;
5396
5396
  const ae = N.offset;
5397
- (!ee || c.isCollapsed() || !mt(b) || $.anchorNode === null || b.getTextContent().slice(0, ae) + h + b.getTextContent().slice(ae + c.focus.offset) !== yo($.anchorNode)) && ct(s, p, h);
5397
+ (!ee || c.isCollapsed() || !mt(b) || $.anchorNode === null || b.getTextContent().slice(0, ae) + h + b.getTextContent().slice(ae + c.focus.offset) !== yo($.anchorNode)) && ut(s, p, h);
5398
5398
  const he = h.length;
5399
5399
  De && he > 1 && u.inputType === "insertCompositionText" && !s.isComposing() && (c.anchor.offset -= he), !ne && !ue && !Re && s.isComposing() && (Vi = 0, vn(null));
5400
5400
  } else
@@ -5412,7 +5412,7 @@ function AN() {
5412
5412
  // as the keydown fires after composition start.
5413
5413
  (u.timeStamp < Vi + rr || // FF has issues around composing multibyte characters, so we also
5414
5414
  // need to invoke the empty space heuristic below.
5415
- h.type === "element" || !c.isCollapsed() || y.getFormat() !== c.format || mt(y) && y.getStyle() !== c.style) && ct(s, p, Wt);
5415
+ h.type === "element" || !c.isCollapsed() || y.getFormat() !== c.format || mt(y) && y.getStyle() !== c.style) && ut(s, p, Wt);
5416
5416
  }
5417
5417
  });
5418
5418
  }
@@ -5429,7 +5429,7 @@ function AN() {
5429
5429
  const h = mn();
5430
5430
  if (Et(h)) {
5431
5431
  const y = h.focus;
5432
- h.anchor.set(y.key, y.offset, y.type), ct(u, re, null);
5432
+ h.anchor.set(y.key, y.offset, y.type), ut(u, re, null);
5433
5433
  return;
5434
5434
  }
5435
5435
  }
@@ -5451,58 +5451,58 @@ function AN() {
5451
5451
  metaKey: N,
5452
5452
  altKey: b
5453
5453
  } = u;
5454
- if (!ct(s, v, u)) {
5454
+ if (!ut(s, v, u)) {
5455
5455
  if (cs(c, y, b, N))
5456
- ct(s, k, u);
5456
+ ut(s, k, u);
5457
5457
  else if (Aa(c, y, h, b, N))
5458
- ct(s, G, u);
5458
+ ut(s, G, u);
5459
5459
  else if (Lc(c, y, b, N))
5460
- ct(s, I, u);
5460
+ ut(s, I, u);
5461
5461
  else if (Da(c, y, h, b, N))
5462
- ct(s, P, u);
5462
+ ut(s, P, u);
5463
5463
  else if (Ic(c, y, N))
5464
- ct(s, H, u);
5464
+ ut(s, H, u);
5465
5465
  else if (Tl(c, y, N))
5466
- ct(s, V, u);
5466
+ ut(s, V, u);
5467
5467
  else if (Cl(c, h))
5468
- js = !0, ct(s, re, u);
5468
+ js = !0, ut(s, re, u);
5469
5469
  else if (kc(c))
5470
- ct(s, te, u);
5470
+ ut(s, te, u);
5471
5471
  else if (Ps(c, y))
5472
- u.preventDefault(), js = !0, ct(s, d, !0);
5472
+ u.preventDefault(), js = !0, ut(s, d, !0);
5473
5473
  else if (Nl(c, h))
5474
- js = !1, ct(s, re, u);
5474
+ js = !1, ut(s, re, u);
5475
5475
  else if (va(c, b, N, y))
5476
- Xr(c) ? ct(s, ce, u) : (u.preventDefault(), ct(s, l, !0));
5476
+ Xr(c) ? ut(s, ce, u) : (u.preventDefault(), ut(s, l, !0));
5477
5477
  else if ($i(c))
5478
- ct(s, j, u);
5478
+ ut(s, j, u);
5479
5479
  else if (Dc(c, y, h, b, N))
5480
- Fi(c) ? ct(s, z, u) : (u.preventDefault(), ct(s, l, !1));
5480
+ Fi(c) ? ut(s, z, u) : (u.preventDefault(), ut(s, l, !1));
5481
5481
  else if ($s(c, b, y))
5482
- u.preventDefault(), ct(s, E, !0);
5482
+ u.preventDefault(), ut(s, E, !0);
5483
5483
  else if (Ea(c, b, y))
5484
- u.preventDefault(), ct(s, E, !1);
5484
+ u.preventDefault(), ut(s, E, !1);
5485
5485
  else if (Ta(c, N))
5486
- u.preventDefault(), ct(s, S, !0);
5486
+ u.preventDefault(), ut(s, S, !0);
5487
5487
  else if (xa(c, N))
5488
- u.preventDefault(), ct(s, S, !1);
5488
+ u.preventDefault(), ut(s, S, !1);
5489
5489
  else if (Ca(c, b, N, y))
5490
- u.preventDefault(), ct(s, w, "bold");
5490
+ u.preventDefault(), ut(s, w, "bold");
5491
5491
  else if (ks(c, b, N, y))
5492
- u.preventDefault(), ct(s, w, "underline");
5492
+ u.preventDefault(), ut(s, w, "underline");
5493
5493
  else if (as(c, b, N, y))
5494
- u.preventDefault(), ct(s, w, "italic");
5494
+ u.preventDefault(), ut(s, w, "italic");
5495
5495
  else if (Na(c, b, y, N))
5496
- ct(s, q, u);
5496
+ ut(s, q, u);
5497
5497
  else if (Ac(c, h, N, y))
5498
- u.preventDefault(), ct(s, M, void 0);
5498
+ u.preventDefault(), ut(s, M, void 0);
5499
5499
  else if (Sa(c, h, N, y))
5500
- u.preventDefault(), ct(s, m, void 0);
5500
+ u.preventDefault(), ut(s, m, void 0);
5501
5501
  else {
5502
5502
  const $ = s._editorState._selection;
5503
- Ur($) ? Mc(c, h, N, y) ? (u.preventDefault(), ct(s, Y, u)) : Rc(c, h, N, y) ? (u.preventDefault(), ct(s, W, u)) : No(c, N, y) && (u.preventDefault(), ct(s, J, u)) : !De && No(c, N, y) && (u.preventDefault(), ct(s, J, u));
5503
+ Ur($) ? Mc(c, h, N, y) ? (u.preventDefault(), ut(s, Y, u)) : Rc(c, h, N, y) ? (u.preventDefault(), ut(s, W, u)) : No(c, N, y) && (u.preventDefault(), ut(s, J, u)) : !De && No(c, N, y) && (u.preventDefault(), ut(s, J, u));
5504
5504
  }
5505
- Fs(y, h, b, N) && ct(s, A, u);
5505
+ Fs(y, h, b, N) && ut(s, A, u);
5506
5506
  }
5507
5507
  }
5508
5508
  function Ae(u) {
@@ -5546,23 +5546,23 @@ function AN() {
5546
5546
  if (!Pe($) && (Ke($), s.isEditable()))
5547
5547
  switch (y) {
5548
5548
  case "cut":
5549
- return ct(s, W, $);
5549
+ return ut(s, W, $);
5550
5550
  case "copy":
5551
- return ct(s, Y, $);
5551
+ return ut(s, Y, $);
5552
5552
  case "paste":
5553
- return ct(s, _, $);
5553
+ return ut(s, _, $);
5554
5554
  case "dragstart":
5555
- return ct(s, O, $);
5555
+ return ut(s, O, $);
5556
5556
  case "dragover":
5557
- return ct(s, Z, $);
5557
+ return ut(s, Z, $);
5558
5558
  case "dragend":
5559
- return ct(s, oe, $);
5559
+ return ut(s, oe, $);
5560
5560
  case "focus":
5561
- return ct(s, _e, $);
5561
+ return ut(s, _e, $);
5562
5562
  case "blur":
5563
- return ct(s, B, $);
5563
+ return ut(s, B, $);
5564
5564
  case "drop":
5565
- return ct(s, de, $);
5565
+ return ut(s, de, $);
5566
5566
  }
5567
5567
  };
5568
5568
  u.addEventListener(y, b), c.push(() => {
@@ -5940,7 +5940,7 @@ function AN() {
5940
5940
  *
5941
5941
  */
5942
5942
  isDirty() {
5943
- const c = Tn()._dirtyLeaves;
5943
+ const c = xn()._dirtyLeaves;
5944
5944
  return c !== null && c.has(this.__key);
5945
5945
  }
5946
5946
  /**
@@ -5961,7 +5961,7 @@ function AN() {
5961
5961
  */
5962
5962
  getWritable() {
5963
5963
  hr();
5964
- const s = Si(), c = Tn(), h = s._nodeMap, y = this.__key, N = this.getLatest(), b = N.__parent, $ = c._cloneNotNeeded, ae = mn();
5964
+ const s = Si(), c = xn(), h = s._nodeMap, y = this.__key, N = this.getLatest(), b = N.__parent, $ = c._cloneNotNeeded, ae = mn();
5965
5965
  if (dr(ae) && ae.setCachedNodes(null), $.has(y))
5966
5966
  return Li(N), N;
5967
5967
  const me = N.constructor.clone(N);
@@ -6238,7 +6238,7 @@ function AN() {
6238
6238
  }
6239
6239
  }
6240
6240
  function ci(u, s) {
6241
- const c = Tn()._nodes.get(u);
6241
+ const c = xn()._nodes.get(u);
6242
6242
  if (c === void 0)
6243
6243
  throw Error(`Create node: Attempted to create node ${s.name} that was not configured to be used on the editor.`);
6244
6244
  const h = c.klass;
@@ -6517,8 +6517,8 @@ function AN() {
6517
6517
  const Qe = c.firstChild;
6518
6518
  if (Qe == null)
6519
6519
  throw Error("updateDOM: prevInnerDOM is null or undefined");
6520
- const dt = document.createElement(me);
6521
- return Bl(dt, this, me, b, y, h), c.replaceChild(dt, Qe), !1;
6520
+ const ft = document.createElement(me);
6521
+ return Bl(ft, this, me, b, y, h), c.replaceChild(ft, Qe), !1;
6522
6522
  }
6523
6523
  let Ce = c;
6524
6524
  if (ae !== null && $ !== null && (Ce = c.firstChild, Ce == null))
@@ -6804,7 +6804,7 @@ function AN() {
6804
6804
  const je = c.getFormat(), Ue = c.getStyle(), $e = c.__detail;
6805
6805
  let Mt = !1;
6806
6806
  c.isSegmented() ? (Ce = Dn(xe), Ce.__format = je, Ce.__style = Ue, Ce.__detail = $e, Mt = !0) : (Ce = c.getWritable(), Ce.__text = xe);
6807
- const Qe = mn(), dt = [Ce];
6807
+ const Qe = mn(), ft = [Ce];
6808
6808
  let jt = xe.length;
6809
6809
  for (let ln = 1; ln < me; ln++) {
6810
6810
  const sr = $[ln], ys = sr.length, gr = Dn(sr).getWritable();
@@ -6814,11 +6814,11 @@ function AN() {
6814
6814
  const fi = Qe.anchor, Xi = Qe.focus;
6815
6815
  fi.key === y && fi.type === "text" && fi.offset > jt && fi.offset <= kn && (fi.key = nn, fi.offset -= jt, Qe.dirty = !0), Xi.key === y && Xi.type === "text" && Xi.offset > jt && Xi.offset <= kn && (Xi.key = nn, Xi.offset -= jt, Qe.dirty = !0);
6816
6816
  }
6817
- N === y && vn(nn), jt = kn, dt.push(gr);
6817
+ N === y && vn(nn), jt = kn, ft.push(gr);
6818
6818
  }
6819
6819
  hl(this);
6820
6820
  const Ht = we.getWritable(), Ot = this.getIndexWithinParent();
6821
- return Mt ? (Ht.splice(Ot, 0, dt), this.remove()) : Ht.splice(Ot, 1, dt), Et(Qe) && Ya(Qe, we, Ot, me - 1), dt;
6821
+ return Mt ? (Ht.splice(Ot, 0, ft), this.remove()) : Ht.splice(Ot, 1, ft), Et(Qe) && Ya(Qe, we, Ot, me - 1), ft;
6822
6822
  }
6823
6823
  /**
6824
6824
  * Merges the target TextNode into this TextNode, removing the target node.
@@ -7088,7 +7088,7 @@ function AN() {
7088
7088
  const y = u.getNode(), N = y.getChildAtIndex(u.offset), b = Dn(), $ = Yr(y) ? Ji().append(b) : b;
7089
7089
  b.setFormat(c), b.setStyle(h), N === null ? y.append($) : N.insertBefore($), u.is(s) && s.set(b.__key, 0, "text"), u.set(b.__key, 0, "text");
7090
7090
  }
7091
- function En(u, s, c, h) {
7091
+ function Tn(u, s, c, h) {
7092
7092
  u.key = s, u.offset = c, u.type = h;
7093
7093
  }
7094
7094
  class Ir {
@@ -7285,7 +7285,7 @@ function AN() {
7285
7285
  * @param focusOffset - the focus offset to set on the Selection
7286
7286
  */
7287
7287
  setTextNodeRange(s, c, h, y) {
7288
- En(this.anchor, s.__key, c, "text"), En(this.focus, h.__key, y, "text"), this._cachedNodes = null, this.dirty = !0;
7288
+ Tn(this.anchor, s.__key, c, "text"), Tn(this.focus, h.__key, y, "text"), this._cachedNodes = null, this.dirty = !0;
7289
7289
  }
7290
7290
  /**
7291
7291
  * Gets the (plain) text content of all the nodes in the selection.
@@ -7317,11 +7317,11 @@ function AN() {
7317
7317
  * @param range a DOM Selection range conforming to the StaticRange interface.
7318
7318
  */
7319
7319
  applyDOMRange(s) {
7320
- const c = Tn(), y = c.getEditorState()._selection, N = Bd(s.startContainer, s.startOffset, s.endContainer, s.endOffset, c, y);
7320
+ const c = xn(), y = c.getEditorState()._selection, N = Bd(s.startContainer, s.startOffset, s.endContainer, s.endOffset, c, y);
7321
7321
  if (N === null)
7322
7322
  return;
7323
7323
  const [b, $] = N;
7324
- En(this.anchor, b.key, b.offset, b.type), En(this.focus, $.key, $.offset, $.type), this._cachedNodes = null;
7324
+ Tn(this.anchor, b.key, b.offset, b.type), Tn(this.focus, $.key, $.offset, $.type), this._cachedNodes = null;
7325
7325
  }
7326
7326
  /**
7327
7327
  * Creates a new RangeSelection, copying over all the property values from this one.
@@ -7391,23 +7391,23 @@ function AN() {
7391
7391
  const Ue = Ce.getTextContent().length, $e = Ce.getParentOrThrow(), Mt = ae - 1;
7392
7392
  let Qe = $[Mt];
7393
7393
  if (this.isCollapsed() && xe === Ue && (Ce.isSegmented() || Ce.isToken() || !Ce.canInsertTextAfter() || !$e.canInsertTextAfter() && Ce.getNextSibling() === null)) {
7394
- let dt = Ce.getNextSibling();
7395
- if ((!mt(dt) || !dt.canInsertTextBefore() || zn(dt)) && (dt = Dn(), dt.setFormat(N), $e.canInsertTextAfter() ? Ce.insertAfter(dt) : $e.insertAfter(dt)), dt.select(0, 0), Ce = dt, s !== "") {
7394
+ let ft = Ce.getNextSibling();
7395
+ if ((!mt(ft) || !ft.canInsertTextBefore() || zn(ft)) && (ft = Dn(), ft.setFormat(N), $e.canInsertTextAfter() ? Ce.insertAfter(ft) : $e.insertAfter(ft)), ft.select(0, 0), Ce = ft, s !== "") {
7396
7396
  this.insertText(s);
7397
7397
  return;
7398
7398
  }
7399
7399
  } else if (this.isCollapsed() && xe === 0 && (Ce.isSegmented() || Ce.isToken() || !Ce.canInsertTextBefore() || !$e.canInsertTextBefore() && Ce.getPreviousSibling() === null)) {
7400
- let dt = Ce.getPreviousSibling();
7401
- if ((!mt(dt) || zn(dt)) && (dt = Dn(), dt.setFormat(N), $e.canInsertTextBefore() ? Ce.insertBefore(dt) : $e.insertBefore(dt)), dt.select(), Ce = dt, s !== "") {
7400
+ let ft = Ce.getPreviousSibling();
7401
+ if ((!mt(ft) || zn(ft)) && (ft = Dn(), ft.setFormat(N), $e.canInsertTextBefore() ? Ce.insertBefore(ft) : $e.insertBefore(ft)), ft.select(), Ce = ft, s !== "") {
7402
7402
  this.insertText(s);
7403
7403
  return;
7404
7404
  }
7405
7405
  } else if (Ce.isSegmented() && xe !== Ue) {
7406
- const dt = Dn(Ce.getTextContent());
7407
- dt.setFormat(N), Ce.replace(dt), Ce = dt;
7406
+ const ft = Dn(Ce.getTextContent());
7407
+ ft.setFormat(N), Ce.replace(ft), Ce = ft;
7408
7408
  } else if (!this.isCollapsed() && s !== "") {
7409
- const dt = Qe.getParent();
7410
- if (!$e.canInsertTextBefore() || !$e.canInsertTextAfter() || et(dt) && (!dt.canInsertTextBefore() || !dt.canInsertTextAfter())) {
7409
+ const ft = Qe.getParent();
7410
+ if (!$e.canInsertTextBefore() || !$e.canInsertTextAfter() || et(ft) && (!ft.canInsertTextBefore() || !ft.canInsertTextAfter())) {
7411
7411
  this.insertText(""), Fd(this.anchor, this.focus, null), this.insertText(s);
7412
7412
  return;
7413
7413
  }
@@ -7418,8 +7418,8 @@ function AN() {
7418
7418
  Ot.select(), Ce.replace(Ot);
7419
7419
  return;
7420
7420
  }
7421
- const dt = Ce.getFormat(), jt = Ce.getStyle();
7422
- if (xe === we && (dt !== N || jt !== b))
7421
+ const ft = Ce.getFormat(), jt = Ce.getStyle();
7422
+ if (xe === we && (ft !== N || jt !== b))
7423
7423
  if (Ce.getTextContent() === "")
7424
7424
  Ce.setFormat(N), Ce.setStyle(b);
7425
7425
  else {
@@ -7439,9 +7439,9 @@ function AN() {
7439
7439
  return;
7440
7440
  }
7441
7441
  const Ht = we - xe;
7442
- Ce = Ce.spliceText(xe, Ht, s, !0), Ce.getTextContent() === "" ? Ce.remove() : this.anchor.type === "text" && (Ce.isComposing() ? this.anchor.offset -= s.length : (this.format = dt, this.style = jt));
7442
+ Ce = Ce.spliceText(xe, Ht, s, !0), Ce.getTextContent() === "" ? Ce.remove() : this.anchor.type === "text" && (Ce.isComposing() ? this.anchor.offset -= s.length : (this.format = ft, this.style = jt));
7443
7443
  } else {
7444
- const dt = /* @__PURE__ */ new Set([...Ce.getParentKeys(), ...Qe.getParentKeys()]), jt = et(Ce) ? Ce : Ce.getParentOrThrow();
7444
+ const ft = /* @__PURE__ */ new Set([...Ce.getParentKeys(), ...Qe.getParentKeys()]), jt = et(Ce) ? Ce : Ce.getParentOrThrow();
7445
7445
  let Ht = et(Qe) ? Qe : Qe.getParentOrThrow(), Ot = Qe;
7446
7446
  if (!jt.is(Ht) && Ht.isInline())
7447
7447
  do
@@ -7453,13 +7453,13 @@ function AN() {
7453
7453
  const nn = Dn(Qe.getTextContent());
7454
7454
  Qe.replace(nn), Qe = nn;
7455
7455
  }
7456
- !Yr(me.getNode()) && me.type === "text" && (Qe = Qe.spliceText(0, we, "")), dt.add(Qe.__key);
7456
+ !Yr(me.getNode()) && me.type === "text" && (Qe = Qe.spliceText(0, we, "")), ft.add(Qe.__key);
7457
7457
  } else {
7458
7458
  const nn = Qe.getParentOrThrow();
7459
7459
  !nn.canBeEmpty() && nn.getChildrenSize() === 1 ? nn.remove() : Qe.remove();
7460
7460
  }
7461
7461
  else
7462
- dt.add(Qe.__key);
7462
+ ft.add(Qe.__key);
7463
7463
  const ln = Ht.getChildren(), sr = new Set($), ys = jt.is(Ht), gr = jt.isInline() && Ce.getNextSibling() === null ? jt : Ce;
7464
7464
  for (let nn = ln.length - 1; nn >= 0; nn--) {
7465
7465
  const kn = ln[nn];
@@ -7471,7 +7471,7 @@ function AN() {
7471
7471
  let nn = Ht, kn = null;
7472
7472
  for (; nn !== null; ) {
7473
7473
  const fi = nn.getChildren(), Xi = fi.length;
7474
- (Xi === 0 || fi[Xi - 1].is(kn)) && (dt.delete(nn.__key), kn = nn), nn = nn.getParent();
7474
+ (Xi === 0 || fi[Xi - 1].is(kn)) && (ft.delete(nn.__key), kn = nn), nn = nn.getParent();
7475
7475
  }
7476
7476
  }
7477
7477
  if (!Ce.isToken())
@@ -7484,7 +7484,7 @@ function AN() {
7484
7484
  }
7485
7485
  for (let nn = 1; nn < ae; nn++) {
7486
7486
  const kn = $[nn], fi = kn.__key;
7487
- dt.has(fi) || kn.remove();
7487
+ ft.has(fi) || kn.remove();
7488
7488
  }
7489
7489
  }
7490
7490
  }
@@ -7526,8 +7526,8 @@ function AN() {
7526
7526
  if (we === 0 && $e === xe.getTextContentSize())
7527
7527
  xe.setFormat(Ce);
7528
7528
  else {
7529
- const Qe = xe.splitText(we, $e), dt = we === 0 ? Qe[0] : Qe[1];
7530
- dt.setFormat(Ce), ae.type === "text" && ae.set(dt.__key, 0, "text"), he.type === "text" && he.set(dt.__key, $e - we, "text");
7529
+ const Qe = xe.splitText(we, $e), ft = we === 0 ? Qe[0] : Qe[1];
7530
+ ft.setFormat(Ce), ae.type === "text" && ae.set(ft.__key, 0, "text"), he.type === "text" && he.set(ft.__key, $e - we, "text");
7531
7531
  }
7532
7532
  this.format = Ce;
7533
7533
  return;
@@ -7536,10 +7536,10 @@ function AN() {
7536
7536
  const Mt = Ue.getFormatFlags(s, Ce);
7537
7537
  $e > 0 && ($e !== Ue.getTextContentSize() && ([Ue] = Ue.splitText($e)), Ue.setFormat(Mt));
7538
7538
  for (let Qe = me + 1; Qe < je; Qe++) {
7539
- const dt = h[Qe];
7540
- if (!dt.isToken()) {
7541
- const jt = dt.getFormatFlags(s, Mt);
7542
- dt.setFormat(jt);
7539
+ const ft = h[Qe];
7540
+ if (!ft.isToken()) {
7541
+ const jt = ft.getFormatFlags(s, Mt);
7542
+ ft.setFormat(jt);
7543
7543
  }
7544
7544
  }
7545
7545
  ae.type === "text" && ae.set(xe.__key, we, "text"), he.type === "text" && he.set(Ue.__key, $e, "text"), this.format = Ce | Mt;
@@ -7678,7 +7678,7 @@ function AN() {
7678
7678
  return;
7679
7679
  }
7680
7680
  }
7681
- const ae = Tn(), he = cr(ae._window);
7681
+ const ae = xn(), he = cr(ae._window);
7682
7682
  if (!he)
7683
7683
  return;
7684
7684
  const me = ae._blockCursorElement, xe = ae._rootElement;
@@ -7688,8 +7688,8 @@ function AN() {
7688
7688
  const Ue = this.getNodes(), $e = [];
7689
7689
  let Mt = !1;
7690
7690
  for (let Qe = 0; Qe < Ue.length; Qe++) {
7691
- const dt = Ue[Qe];
7692
- Wi(dt, je) ? $e.push(dt) : Mt = !0;
7691
+ const ft = Ue[Qe];
7692
+ Wi(ft, je) ? $e.push(ft) : Mt = !0;
7693
7693
  }
7694
7694
  if (Mt && $e.length > 0)
7695
7695
  if (c) {
@@ -7727,7 +7727,7 @@ function AN() {
7727
7727
  const $ = $c();
7728
7728
  $.add(b.__key), Tr($);
7729
7729
  } else
7730
- b.remove(), Tn().dispatchCommand(t, void 0);
7730
+ b.remove(), xn().dispatchCommand(t, void 0);
7731
7731
  return;
7732
7732
  } else if (!s && et(b) && et(N) && N.isEmpty()) {
7733
7733
  N.remove(), b.selectStart();
@@ -7794,7 +7794,7 @@ function AN() {
7794
7794
  }
7795
7795
  function Bo(u) {
7796
7796
  const s = u.focus, c = u.anchor, h = c.key, y = c.offset, N = c.type;
7797
- En(c, s.key, s.offset, s.type), En(s, h, y, N), u._cachedNodes = null;
7797
+ Tn(c, s.key, s.offset, s.type), Tn(s, h, y, N), u._cachedNodes = null;
7798
7798
  }
7799
7799
  function Ga(u, s, c, h) {
7800
7800
  u.modify(s, c, h);
@@ -7881,10 +7881,10 @@ function AN() {
7881
7881
  if (u.type === "text" && s.type === "text") {
7882
7882
  const h = u.isBefore(s), y = u.is(s);
7883
7883
  $d(u, h, y), $d(s, !h, y), y && (s.key = u.key, s.offset = u.offset, s.type = u.type);
7884
- const N = Tn();
7884
+ const N = xn();
7885
7885
  if (N.isComposing() && N._compositionKey !== u.key && Et(c)) {
7886
7886
  const b = c.anchor, $ = c.focus;
7887
- En(u, b.key, b.offset, b.type), En(s, $.key, $.offset, $.type);
7887
+ Tn(u, b.key, b.offset, b.type), Tn(s, $.key, $.offset, $.type);
7888
7888
  }
7889
7889
  }
7890
7890
  }
@@ -7945,7 +7945,7 @@ function AN() {
7945
7945
  return Si()._selection;
7946
7946
  }
7947
7947
  function Ho() {
7948
- return Tn()._editorState._selection;
7948
+ return xn()._editorState._selection;
7949
7949
  }
7950
7950
  function Ya(u, s, c, h = 1) {
7951
7951
  const y = u.anchor, N = u.focus, b = y.getNode(), $ = N.getNode();
@@ -8024,19 +8024,19 @@ function AN() {
8024
8024
  u !== null && ls(c, $, ae) && h.removeAllRanges();
8025
8025
  return;
8026
8026
  }
8027
- const we = s.anchor, Ce = s.focus, je = we.key, Ue = Ce.key, $e = Bs(c, je), Mt = Bs(c, Ue), Qe = we.offset, dt = Ce.offset, jt = s.format, Ht = s.style, Ot = s.isCollapsed();
8027
+ const we = s.anchor, Ce = s.focus, je = we.key, Ue = Ce.key, $e = Bs(c, je), Mt = Bs(c, Ue), Qe = we.offset, ft = Ce.offset, jt = s.format, Ht = s.style, Ot = s.isCollapsed();
8028
8028
  let ln = $e, sr = Mt, ys = !1;
8029
8029
  if (we.type === "text") {
8030
8030
  ln = Fr($e);
8031
8031
  const gr = we.getNode();
8032
8032
  ys = gr.getFormat() !== jt || gr.getStyle() !== Ht;
8033
8033
  } else Et(u) && u.anchor.type === "text" && (ys = !0);
8034
- if (Ce.type === "text" && (sr = Fr(Mt)), !(ln === null || sr === null) && (Ot && (u === null || ys || Et(u) && (u.format !== jt || u.style !== Ht)) && Yn(jt, Ht, Qe, je, performance.now()), !(he === Qe && me === dt && $ === ln && ae === sr && // Badly interpreted range selection when collapsed - #1482
8034
+ if (Ce.type === "text" && (sr = Fr(Mt)), !(ln === null || sr === null) && (Ot && (u === null || ys || Et(u) && (u.format !== jt || u.style !== Ht)) && Yn(jt, Ht, Qe, je, performance.now()), !(he === Qe && me === ft && $ === ln && ae === sr && // Badly interpreted range selection when collapsed - #1482
8035
8035
  !(h.type === "Range" && Ot) && ((xe === null || !N.contains(xe)) && N.focus({
8036
8036
  preventScroll: !0
8037
8037
  }), we.type !== "element")))) {
8038
8038
  try {
8039
- h.setBaseAndExtent(ln, Qe, sr, dt);
8039
+ h.setBaseAndExtent(ln, Qe, sr, ft);
8040
8040
  } catch {
8041
8041
  }
8042
8042
  if (!y.has("skip-scroll-into-view") && s.isCollapsed() && N !== null && N === document.activeElement) {
@@ -8191,7 +8191,7 @@ function AN() {
8191
8191
  throw Error("Unable to find an active editor state. State helpers or node methods can only be used synchronously during the callback of editor.update() or editorState.read().");
8192
8192
  return Qn;
8193
8193
  }
8194
- function Tn() {
8194
+ function xn() {
8195
8195
  if (er === null)
8196
8196
  throw Error("Unable to find an active editor. This method can only be used synchronously during the callback of editor.update().");
8197
8197
  return er;
@@ -8246,7 +8246,7 @@ function AN() {
8246
8246
  s._dirtyLeaves = c, s._dirtyElements = h;
8247
8247
  }
8248
8248
  function S_(u) {
8249
- return Wc(u, Tn()._nodes);
8249
+ return Wc(u, xn()._nodes);
8250
8250
  }
8251
8251
  function Wc(u, s) {
8252
8252
  const c = u.type, h = s.get(c);
@@ -8308,7 +8308,7 @@ function AN() {
8308
8308
  Ce.disconnect(), je = Yi(N, c, u, Ot, ln, sr);
8309
8309
  } catch (Ot) {
8310
8310
  if (Ot instanceof Error && u._onError(Ot), !Hc)
8311
- tf(u, null, h, c), or(u), u._dirtyType = at, Hc = !0, Xs(u, N), Hc = !1;
8311
+ tf(u, null, h, c), or(u), u._dirtyType = ct, Hc = !0, Xs(u, N), Hc = !1;
8312
8312
  else
8313
8313
  throw Ot;
8314
8314
  return;
@@ -8317,7 +8317,7 @@ function AN() {
8317
8317
  }
8318
8318
  }
8319
8319
  c._readOnly || (c._readOnly = !0, qd(c), Et($) && (Object.freeze($.anchor), Object.freeze($.focus)), Object.freeze($));
8320
- const Ue = u._dirtyLeaves, $e = u._dirtyElements, Mt = u._normalizedNodes, Qe = u._updateTags, dt = u._deferred;
8320
+ const Ue = u._dirtyLeaves, $e = u._dirtyElements, Mt = u._normalizedNodes, Qe = u._updateTags, ft = u._deferred;
8321
8321
  ae && (u._dirtyType = qe, u._cloneNotNeeded.clear(), u._dirtyLeaves = /* @__PURE__ */ new Set(), u._dirtyElements = /* @__PURE__ */ new Map(), u._normalizedNodes = /* @__PURE__ */ new Set(), u._updateTags = /* @__PURE__ */ new Set()), ka(u, c);
8322
8322
  const jt = y ? null : cr(u._window);
8323
8323
  if (u._editable && // domSelection will be null in headless
@@ -8342,7 +8342,7 @@ function AN() {
8342
8342
  normalizedNodes: Mt,
8343
8343
  prevEditorState: s || N,
8344
8344
  tags: Qe
8345
- }), M_(u, dt), A_(u);
8345
+ }), M_(u, ft), A_(u);
8346
8346
  }
8347
8347
  function O_(u, s, c) {
8348
8348
  const h = _o(s), y = _o(c);
@@ -8445,12 +8445,12 @@ function AN() {
8445
8445
  $e !== Mt && (he._flushSync = !0);
8446
8446
  const Qe = he._selection;
8447
8447
  if (Et(Qe)) {
8448
- const dt = he._nodeMap, jt = Qe.anchor.key, Ht = Qe.focus.key;
8449
- if (dt.get(jt) === void 0 || dt.get(Ht) === void 0)
8448
+ const ft = he._nodeMap, jt = Qe.anchor.key, Ht = Qe.focus.key;
8449
+ if (ft.get(jt) === void 0 || ft.get(Ht) === void 0)
8450
8450
  throw Error("updateEditor: selection has been lost because the previously selected nodes have been removed and selection wasn't moved to another node. Ensure selection changes after removing/replacing a selected node.");
8451
8451
  } else Ur(Qe) && Qe._nodes.size === 0 && (he._selection = null);
8452
8452
  } catch ($e) {
8453
- $e instanceof Error && u._onError($e), u._pendingEditorState = ae, u._dirtyType = at, u._cloneNotNeeded.clear(), u._dirtyLeaves = /* @__PURE__ */ new Set(), u._dirtyElements.clear(), Xs(u);
8453
+ $e instanceof Error && u._onError($e), u._pendingEditorState = ae, u._dirtyType = ct, u._cloneNotNeeded.clear(), u._dirtyLeaves = /* @__PURE__ */ new Set(), u._dirtyElements.clear(), Xs(u);
8454
8454
  return;
8455
8455
  } finally {
8456
8456
  Qn = xe, Pr = we, er = Ce, u._updating = je, ja = 0;
@@ -8526,7 +8526,7 @@ function AN() {
8526
8526
  return this.getChildrenSize() === 0;
8527
8527
  }
8528
8528
  isDirty() {
8529
- const c = Tn()._dirtyElements;
8529
+ const c = xn()._dirtyElements;
8530
8530
  return c !== null && c.has(this.__key);
8531
8531
  }
8532
8532
  isLastChild() {
@@ -8855,7 +8855,7 @@ function AN() {
8855
8855
  }
8856
8856
  getTextContent() {
8857
8857
  const s = this.__cachedText;
8858
- return (Wo() || Tn()._dirtyType === qe) && s !== null ? s : super.getTextContent();
8858
+ return (Wo() || xn()._dirtyType === qe) && s !== null ? s : super.getTextContent();
8859
8859
  }
8860
8860
  remove() {
8861
8861
  throw Error("remove: cannot be called on root nodes");
@@ -9091,8 +9091,8 @@ function AN() {
9091
9091
  $e.hasOwnProperty("exportDOM") && console.warn(`${Ot} should implement "importDOM" if using a custom "exportDOM" method to ensure HTML serialization (important for copy & paste) works as expected`), ln instanceof Kc && (ln.hasOwnProperty("decorate") || console.warn(`${ln.constructor.name} must implement "decorate" method`)), $e.hasOwnProperty("importJSON") || console.warn(`${Ot} should implement "importJSON" method to ensure JSON and default HTML serialization works as expected`), ln.hasOwnProperty("exportJSON") || console.warn(`${Ot} should implement "exportJSON" method to ensure JSON and default HTML serialization works as expected`);
9092
9092
  }
9093
9093
  }
9094
- const dt = $e.getType(), jt = $e.transform(), Ht = /* @__PURE__ */ new Set();
9095
- jt !== null && Ht.add(jt), Ce.set(dt, {
9094
+ const ft = $e.getType(), jt = $e.transform(), Ht = /* @__PURE__ */ new Set();
9095
+ jt !== null && Ht.add(jt), Ce.set(ft, {
9096
9096
  exportDOM: xe && xe.export ? xe.export.get($e) : void 0,
9097
9097
  klass: $e,
9098
9098
  replace: Mt,
@@ -9106,7 +9106,7 @@ function AN() {
9106
9106
  namespace: $,
9107
9107
  theme: h
9108
9108
  }, me || console.error, W_(Ce, xe ? xe.import : void 0), we);
9109
- return ae !== void 0 && (je._pendingEditorState = ae, je._dirtyType = at), je;
9109
+ return ae !== void 0 && (je._pendingEditorState = ae, je._dirtyType = ct), je;
9110
9110
  }
9111
9111
  class z_ {
9112
9112
  /** @internal */
@@ -9327,7 +9327,7 @@ function AN() {
9327
9327
  * @param payload - the data to pass as an argument to the command listeners.
9328
9328
  */
9329
9329
  dispatchCommand(s, c) {
9330
- return ct(this, s, c);
9330
+ return ut(this, s, c);
9331
9331
  }
9332
9332
  /**
9333
9333
  * Gets a map of all decorators in the editor.
@@ -9362,7 +9362,7 @@ function AN() {
9362
9362
  const h = Bi(this._config.theme, "root"), y = this._pendingEditorState || this._editorState;
9363
9363
  if (this._rootElement = s, tf(this, c, s, y), c !== null && (this._config.disableEvents || St(c), h != null && c.classList.remove(...h)), s !== null) {
9364
9364
  const N = ba(s), b = s.style;
9365
- b.userSelect = "text", b.whiteSpace = "pre-wrap", b.wordBreak = "break-word", s.setAttribute("data-lexical-editor", "true"), this._window = N, this._dirtyType = at, or(this), this._updateTags.add("history-merge"), Xs(this), this._config.disableEvents || gt(s, this), h != null && s.classList.add(...h);
9365
+ b.userSelect = "text", b.whiteSpace = "pre-wrap", b.wordBreak = "break-word", s.setAttribute("data-lexical-editor", "true"), this._window = N, this._dirtyType = ct, or(this), this._updateTags.add("history-merge"), Xs(this), this._config.disableEvents || gt(s, this), h != null && s.classList.add(...h);
9366
9366
  } else
9367
9367
  this._editorState = y, this._pendingEditorState = null, this._window = null;
9368
9368
  zl("root", this, !1, s, c);
@@ -9393,7 +9393,7 @@ function AN() {
9393
9393
  throw Error("setEditorState: the editor state is empty. Ensure the editor state's root node never becomes empty.");
9394
9394
  un(this);
9395
9395
  const h = this._pendingEditorState, y = this._updateTags, N = c !== void 0 ? c.tag : null;
9396
- h !== null && !h.isEmpty() && (N != null && y.add(N), Xs(this)), this._pendingEditorState = s, this._dirtyType = at, this._dirtyElements.set("root", !1), this._compositionKey = null, N != null && y.add(N), Xs(this);
9396
+ h !== null && !h.isEmpty() && (N != null && y.add(N), Xs(this)), this._pendingEditorState = s, this._dirtyType = ct, this._dirtyElements.set("root", !1), this._compositionKey = null, N != null && y.add(N), Xs(this);
9397
9397
  }
9398
9398
  /**
9399
9399
  * Parses a SerializedEditorState (usually produced by {@link EditorState.toJSON}) and returns
@@ -9537,7 +9537,7 @@ function MN() {
9537
9537
  function Be(o) {
9538
9538
  qe = o.timeStamp;
9539
9539
  }
9540
- function at(o, i, a) {
9540
+ function ct(o, i, a) {
9541
9541
  return i.__lexicalLineBreak === o || o[`__lexicalKey_${a._key}`] !== void 0;
9542
9542
  }
9543
9543
  function Dt(o) {
@@ -9556,7 +9556,7 @@ function MN() {
9556
9556
  let Ae = !1, Ye = "";
9557
9557
  for (var Xe = 0; Xe < i.length; Xe++) {
9558
9558
  var Ke = i[Xe], Pe = Ke.type, gt = Ke.target, St = Wt(gt, Q);
9559
- if (!(St === null && gt !== D || Cn(St))) {
9559
+ if (!(St === null && gt !== D || En(St))) {
9560
9560
  if (Pe === "characterData") {
9561
9561
  if (Ke = g && Nt(St)) e: {
9562
9562
  Ke = C, Pe = gt;
@@ -9575,10 +9575,10 @@ function MN() {
9575
9575
  for (Ae = !0, Pe = Ke.addedNodes, $t = 0; $t < Pe.length; $t++) {
9576
9576
  Kt = Pe[$t];
9577
9577
  var Yn = Pt(Kt), Rr = Kt.parentNode;
9578
- Rr == null || Kt === ge || Yn !== null || Kt.nodeName === "BR" && at(Kt, Rr, o) || (U && (Yn = Kt.innerText || Kt.nodeValue) && (Ye += Yn), Rr.removeChild(Kt));
9578
+ Rr == null || Kt === ge || Yn !== null || Kt.nodeName === "BR" && ct(Kt, Rr, o) || (U && (Yn = Kt.innerText || Kt.nodeValue) && (Ye += Yn), Rr.removeChild(Kt));
9579
9579
  }
9580
9580
  if (Ke = Ke.removedNodes, Pe = Ke.length, 0 < Pe) {
9581
- for ($t = 0, Kt = 0; Kt < Pe; Kt++) Rr = Ke[Kt], (Rr.nodeName === "BR" && at(Rr, gt, o) || ge === Rr) && (gt.appendChild(Rr), $t++);
9581
+ for ($t = 0, Kt = 0; Kt < Pe; Kt++) Rr = Ke[Kt], (Rr.nodeName === "BR" && ct(Rr, gt, o) || ge === Rr) && (gt.appendChild(Rr), $t++);
9582
9582
  Pe !== $t && (gt === D && (St = Q._nodeMap.get("root")), x.set(gt, St));
9583
9583
  }
9584
9584
  }
@@ -9590,7 +9590,7 @@ function MN() {
9590
9590
  ] of x) if (Je(ci)) for (x = ci.getChildrenKeys(), D = ai.firstChild, Q = 0; Q < x.length; Q++) ge = o.getElementByKey(x[Q]), ge !== null && (D == null ? (ai.appendChild(ge), D = ge) : D !== ge && ai.replaceChild(ge, D), D = D.nextSibling);
9591
9591
  else Nt(ci) && ci.markDirty();
9592
9592
  if (x = a.takeRecords(), 0 < x.length) {
9593
- for (D = 0; D < x.length; D++) for (ge = x[D], Q = ge.addedNodes, ge = ge.target, Xe = 0; Xe < Q.length; Xe++) St = Q[Xe], gt = St.parentNode, gt == null || St.nodeName !== "BR" || at(St, ge, o) || gt.removeChild(St);
9593
+ for (D = 0; D < x.length; D++) for (ge = x[D], Q = ge.addedNodes, ge = ge.target, Xe = 0; Xe < Q.length; Xe++) St = Q[Xe], gt = St.parentNode, gt == null || St.nodeName !== "BR" || ct(St, ge, o) || gt.removeChild(St);
9594
9594
  a.takeRecords();
9595
9595
  }
9596
9596
  C !== null && (Ae && (C.dirty = !0, tn(C)), U && rn(o) && C.insertRawText(Ye));
@@ -9656,7 +9656,7 @@ function MN() {
9656
9656
  let i = document.activeElement;
9657
9657
  if (i === null) return !1;
9658
9658
  let a = i.nodeName;
9659
- return Cn(Wt(o)) && (a === "INPUT" || a === "TEXTAREA" || i.contentEditable === "true" && i.__lexicalEditor == null);
9659
+ return En(Wt(o)) && (a === "INPUT" || a === "TEXTAREA" || i.contentEditable === "true" && i.__lexicalEditor == null);
9660
9660
  }
9661
9661
  function it(o, i, a) {
9662
9662
  let g = o.getRootElement();
@@ -9896,10 +9896,10 @@ function MN() {
9896
9896
  return i = i._nodes.get(a), i === void 0 && Y(97), i = i.replace, i !== null ? (i = i(o), i instanceof o.constructor || Y(98), i) : o;
9897
9897
  }
9898
9898
  function Ds(o, i) {
9899
- o = o.getParent(), !rr(o) || Je(i) || Cn(i) || Y(99);
9899
+ o = o.getParent(), !rr(o) || Je(i) || En(i) || Y(99);
9900
9900
  }
9901
9901
  function go(o) {
9902
- return (Cn(o) || Je(o) && !o.canBeEmpty()) && !o.isInline();
9902
+ return (En(o) || Je(o) && !o.canBeEmpty()) && !o.isInline();
9903
9903
  }
9904
9904
  function cl(o, i, a) {
9905
9905
  a.style.removeProperty("caret-color"), i._blockCursorElement = null, i = o.parentElement, i !== null && i.removeChild(o);
@@ -9918,7 +9918,7 @@ function MN() {
9918
9918
  return o.nodeType === 1;
9919
9919
  }
9920
9920
  function os(o) {
9921
- if (Cn(o) && !o.isInline()) return !0;
9921
+ if (En(o) && !o.isInline()) return !0;
9922
9922
  if (!Je(o) || lr(o)) return !1;
9923
9923
  var i = o.getFirstChild();
9924
9924
  return i = i === null || $i(i) || Nt(i) || i.isInline(), !o.isInline() && o.canBeEmpty() !== !1 && i;
@@ -9977,7 +9977,7 @@ function MN() {
9977
9977
  g === void 0 && Y(60);
9978
9978
  let C = g.createDOM(Fr, Bn);
9979
9979
  var x = Bn._keyToDOMMap;
9980
- if (C["__lexicalKey_" + Bn._key] = o, x.set(o, C), Nt(g) ? C.setAttribute("data-lexical-text", "true") : Cn(g) && C.setAttribute("data-lexical-decorator", "true"), Je(g)) {
9980
+ if (C["__lexicalKey_" + Bn._key] = o, x.set(o, C), Nt(g) ? C.setAttribute("data-lexical-text", "true") : En(g) && C.setAttribute("data-lexical-decorator", "true"), Je(g)) {
9981
9981
  if (o = g.__indent, x = g.__size, o !== 0 && nr(C, o), x !== 0) {
9982
9982
  --x, o = bs(g, Nn);
9983
9983
  var D = zn;
@@ -9988,7 +9988,7 @@ function MN() {
9988
9988
  `, si += `
9989
9989
 
9990
9990
  `);
9991
- } else x = g.getTextContent(), Cn(g) ? (D = g.decorate(Bn, Fr), D !== null && _l(o, D), C.contentEditable = "false") : Nt(g) && (g.isDirectionless() || (zn += x)), Ln += x, si += x;
9991
+ } else x = g.getTextContent(), En(g) ? (D = g.decorate(Bn, Fr), D !== null && _l(o, D), C.contentEditable = "false") : Nt(g) && (g.isDirectionless() || (zn += x)), Ln += x, si += x;
9992
9992
  return i !== null && (a != null ? i.insertBefore(C, a) : (a = i.__lexicalLineBreak, a != null ? i.insertBefore(C, a) : i.appendChild(C))), kt(oi, Ms, Zr, g, "created"), C;
9993
9993
  }
9994
9994
  function pl(o, i, a, g, C, x) {
@@ -9999,7 +9999,7 @@ function MN() {
9999
9999
  `), C.__lexicalTextContent = Ln, Ln = D + Ln;
10000
10000
  }
10001
10001
  function ki(o, i) {
10002
- return o = i.get(o), $i(o) || Cn(o) && o.isInline();
10002
+ return o = i.get(o), $i(o) || En(o) && o.isInline();
10003
10003
  }
10004
10004
  function ml(o, i, a) {
10005
10005
  o = o !== null && (o.__size === 0 || ki(o.__last, ar)), i = i.__size === 0 || ki(i.__last, Nn), o ? i || (i = a.__lexicalLineBreak, i != null && a.removeChild(i), a.__lexicalLineBreak = null) : i && (i = document.createElement("br"), a.__lexicalLineBreak = i, a.appendChild(i));
@@ -10076,7 +10076,7 @@ function MN() {
10076
10076
  `, si += `
10077
10077
 
10078
10078
  `);
10079
- } else a = g.getTextContent(), Cn(g) ? (C = g.decorate(Bn, Fr), C !== null && _l(o, C)) : Nt(g) && !g.isDirectionless() && (zn += a), Ln += a, si += a;
10079
+ } else a = g.getTextContent(), En(g) ? (C = g.decorate(Bn, Fr), C !== null && _l(o, C)) : Nt(g) && !g.isDirectionless() && (zn += a), Ln += a, si += a;
10080
10080
  return !fl && rr(g) && g.__cachedText !== si && (g.getWritable().__cachedText = si), x;
10081
10081
  }
10082
10082
  function _l(o, i) {
@@ -10156,7 +10156,7 @@ function MN() {
10156
10156
  function Ac(o, i) {
10157
10157
  let a = o.target;
10158
10158
  o = o.pointerType, a instanceof Node && o !== "touch" && vr(i, () => {
10159
- Cn(Wt(a)) || (Cl = !0);
10159
+ En(Wt(a)) || (Cl = !0);
10160
10160
  });
10161
10161
  }
10162
10162
  function Sa(o) {
@@ -10828,7 +10828,7 @@ function MN() {
10828
10828
  }
10829
10829
  static importDOM() {
10830
10830
  return {
10831
- "#text": () => ({ conversion: ct, priority: 0 }),
10831
+ "#text": () => ({ conversion: ut, priority: 0 }),
10832
10832
  b: () => ({ conversion: vl, priority: 0 }),
10833
10833
  code: () => ({ conversion: Ci, priority: 0 }),
10834
10834
  em: () => ({ conversion: Ci, priority: 0 }),
@@ -10972,7 +10972,7 @@ function MN() {
10972
10972
  return { forChild: (a) => (Nt(a) && !i && a.toggleFormat("bold"), a), node: null };
10973
10973
  }
10974
10974
  let Sl = /* @__PURE__ */ new WeakMap();
10975
- function ct(o) {
10975
+ function ut(o) {
10976
10976
  o.parentElement === null && Y(129);
10977
10977
  for (var i = o.textContent || "", a, g = o.parentNode, C = [o]; g !== null && (a = Sl.get(g)) === void 0 && !(g.nodeName === "PRE" || g.nodeType === 1 && g.style !== void 0 && g.style.whiteSpace !== void 0 && g.style.whiteSpace.startsWith("pre")); ) C.push(g), g = g.parentNode;
10978
10978
  for (a = a === void 0 ? g : a, g = 0; g < C.length; g++) Sl.set(C[g], a);
@@ -11238,7 +11238,7 @@ function MN() {
11238
11238
  else if (Ye = !1, Nt(Ke)) {
11239
11239
  let Pe = Ke.getTextContent();
11240
11240
  Ke === a ? Ke === g ? (C.type !== "element" || x.type !== "element" || x.offset === C.offset) && (Pe = Q < ge ? Pe.slice(Q, ge) : Pe.slice(ge, Q)) : Pe = D ? Pe.slice(Q) : Pe.slice(ge) : Ke === g && (Pe = D ? Pe.slice(0, ge) : Pe.slice(0, Q)), Ae += Pe;
11241
- } else !Cn(Ke) && !$i(Ke) || Ke === g && this.isCollapsed() || (Ae += Ke.getTextContent());
11241
+ } else !En(Ke) && !$i(Ke) || Ke === g && this.isCollapsed() || (Ae += Ke.getTextContent());
11242
11242
  }
11243
11243
  return Ae;
11244
11244
  }
@@ -11389,7 +11389,7 @@ function MN() {
11389
11389
  var C = Gs(this);
11390
11390
  g.splice(C, 0, i), a.selectEnd();
11391
11391
  }
11392
- else if (i.some((Q) => (Je(Q) || Cn(Q)) && !Q.isInline())) {
11392
+ else if (i.some((Q) => (Je(Q) || En(Q)) && !Q.isInline())) {
11393
11393
  a = zi(i), i = a.getLastDescendant();
11394
11394
  var x = a.getChildren();
11395
11395
  a = Je(g) && g.isEmpty() ? null : this.insertParagraph(), C = x[x.length - 1];
@@ -11427,7 +11427,7 @@ function MN() {
11427
11427
  }
11428
11428
  modify(i, a, g) {
11429
11429
  var C = this.focus, x = this.anchor, D = i === "move", Q = Bt(C, a);
11430
- if (Cn(Q) && !Q.isIsolated()) D && Q.isKeyboardSelectable() ? (a = Dl(), a.add(Q.__key), tn(a)) : (i = a ? Q.getPreviousSibling() : Q.getNextSibling(), Nt(i) ? (Q = i.__key, a = a ? i.getTextContent().length : 0, C.set(Q, a, "text"), D && x.set(Q, a, "text")) : (g = Q.getParentOrThrow(), Je(i) ? (g = i.__key, Q = a ? i.getChildrenSize() : 0) : (Q = Q.getIndexWithinParent(), g = g.__key, a || Q++), C.set(g, Q, "element"), D && x.set(g, Q, "element")));
11430
+ if (En(Q) && !Q.isIsolated()) D && Q.isKeyboardSelectable() ? (a = Dl(), a.add(Q.__key), tn(a)) : (i = a ? Q.getPreviousSibling() : Q.getNextSibling(), Nt(i) ? (Q = i.__key, a = a ? i.getTextContent().length : 0, C.set(Q, a, "text"), D && x.set(Q, a, "text")) : (g = Q.getParentOrThrow(), Je(i) ? (g = i.__key, Q = a ? i.getChildrenSize() : 0) : (Q = Q.getIndexWithinParent(), g = g.__key, a || Q++), C.set(g, Q, "element"), D && x.set(g, Q, "element")));
11431
11431
  else if (x = dn(), C = qr(x._window)) {
11432
11432
  var ge = x._blockCursorElement, Ae = x._rootElement;
11433
11433
  if (Ae === null || ge === null || !Je(Q) || Q.isInline() || Q.canBeEmpty() || cl(ge, x, Ae), C.modify(i, a ? "backward" : "forward", g), 0 < C.rangeCount && (Q = C.getRangeAt(0), x = this.anchor.getNode(), x = rr(x) ? x : or(x), this.applyDOMRange(Q), this.dirty = !0, !D)) {
@@ -11444,7 +11444,7 @@ function MN() {
11444
11444
  var D = x.getParent();
11445
11445
  if (D = x.getNextSibling() || (D === null ? null : D.getNextSibling()), Je(D) && D.isShadowRoot()) return;
11446
11446
  }
11447
- if (D = Bt(C, i), Cn(D) && !D.isIsolated()) {
11447
+ if (D = Bt(C, i), En(D) && !D.isIsolated()) {
11448
11448
  D.isKeyboardSelectable() && Je(x) && x.getChildrenSize() === 0 ? (x.remove(), i = Dl(), i.add(D.__key), tn(i)) : (D.remove(), dn().dispatchCommand(e, void 0));
11449
11449
  return;
11450
11450
  }
@@ -11516,7 +11516,7 @@ function MN() {
11516
11516
  if (D = !1, ge === g._blockCursorElement ? (ge = x[C + 1], D = !0) : g._blockCursorElement !== null && C--, g = Ar(ge), Nt(g)) C = Q ? g.getTextContentSize() : 0;
11517
11517
  else {
11518
11518
  if (x = Ar(o), x === null) return null;
11519
- if (Je(x) ? (o = x.getChildAtIndex(C), (i = Je(o)) && (i = o.getParent(), i = a === null || i === null || !i.canBeEmpty() || i !== a.getNode()), i && (a = Q ? o.getLastDescendant() : o.getFirstDescendant(), a === null ? (x = o, C = 0) : (o = a, x = Je(o) ? o : o.getParentOrThrow())), Nt(o) ? (g = o, x = null, C = Q ? o.getTextContentSize() : 0) : o !== x && Q && !D && C++) : (C = x.getIndexWithinParent(), C = i === 0 && Cn(x) && Ar(o) === x ? C : C + 1, x = x.getParentOrThrow()), Je(x)) return Hr(x.__key, C, "element");
11519
+ if (Je(x) ? (o = x.getChildAtIndex(C), (i = Je(o)) && (i = o.getParent(), i = a === null || i === null || !i.canBeEmpty() || i !== a.getNode()), i && (a = Q ? o.getLastDescendant() : o.getFirstDescendant(), a === null ? (x = o, C = 0) : (o = a, x = Je(o) ? o : o.getParentOrThrow())), Nt(o) ? (g = o, x = null, C = Q ? o.getTextContentSize() : 0) : o !== x && Q && !D && C++) : (C = x.getIndexWithinParent(), C = i === 0 && En(x) && Ar(o) === x ? C : C + 1, x = x.getParentOrThrow()), Je(x)) return Hr(x.__key, C, "element");
11520
11520
  }
11521
11521
  } else g = Ar(o);
11522
11522
  return Nt(g) ? Hr(g.__key, C, "text") : null;
@@ -11533,7 +11533,7 @@ function MN() {
11533
11533
  }
11534
11534
  }
11535
11535
  function ka(o, i, a, g, C, x) {
11536
- return o === null || a === null || !it(C, o, a) || (i = Ks(o, i, At(x) ? x.anchor : null, C), i === null) || (g = Ks(a, g, At(x) ? x.focus : null, C), g === null || i.type === "element" && g.type === "element" && (o = Ar(o), a = Ar(a), Cn(o) && Cn(a))) ? null : (wo(i, g, x), [i, g]);
11536
+ return o === null || a === null || !it(C, o, a) || (i = Ks(o, i, At(x) ? x.anchor : null, C), i === null) || (g = Ks(a, g, At(x) ? x.focus : null, C), g === null || i.type === "element" && g.type === "element" && (o = Ar(o), a = Ar(a), En(o) && En(a))) ? null : (wo(i, g, x), [i, g]);
11537
11537
  }
11538
11538
  function Ol(o, i, a, g, C, x) {
11539
11539
  let D = Wr();
@@ -11633,7 +11633,7 @@ function MN() {
11633
11633
  let i = zr(), a = null;
11634
11634
  for (let g = 0; g < o.length; g++) {
11635
11635
  let C = o[g], x = $i(C);
11636
- if (x || Cn(C) && C.isInline() || Je(C) && C.isInline() || Nt(C) || C.isParentRequired()) {
11636
+ if (x || En(C) && C.isInline() || Je(C) && C.isInline() || Nt(C) || C.isParentRequired()) {
11637
11637
  if (a === null && (a = C.createParentElementNode(), i.append(a), x)) continue;
11638
11638
  a !== null && a.append(C);
11639
11639
  } else i.append(C), a = null;
@@ -11707,9 +11707,9 @@ function MN() {
11707
11707
  if (o._pendingEditorState = null, o._editorState = a, !C && ge && Pe !== null) {
11708
11708
  On = o, hn = a, Wn = !1, o._updating = !0;
11709
11709
  try {
11710
- let pn = o._dirtyType, Xn = o._dirtyElements, En = o._dirtyLeaves;
11710
+ let pn = o._dirtyType, Xn = o._dirtyElements, Tn = o._dirtyLeaves;
11711
11711
  Pe.disconnect();
11712
- var St = pn, $t = Xn, Kt = En;
11712
+ var St = pn, $t = Xn, Kt = Tn;
11713
11713
  zn = si = Ln = "", dl = St === 2, Li = null, Bn = o, Fr = o._config, Ms = o._nodes, Zr = Bn._listeners.mutation, hl = $t, vn = Kt, ar = x._nodeMap, Nn = a._nodeMap, fl = a._readOnly, mo = new Map(o._keyToDOMMap);
11714
11714
  let Ir = /* @__PURE__ */ new Map();
11715
11715
  oi = Ir, Pi("root", null), oi = mo = Fr = Nn = ar = vn = hl = Ms = Bn = void 0, gt = Ir;
@@ -11734,7 +11734,7 @@ function MN() {
11734
11734
  let pn = o._blockCursorElement;
11735
11735
  pn !== null && cl(pn, o, g);
11736
11736
  e: {
11737
- let Xn = br.anchorNode, En = br.focusNode, Ir = br.anchorOffset, vi = br.focusOffset, Et = document.activeElement;
11737
+ let Xn = br.anchorNode, Tn = br.focusNode, Ir = br.anchorOffset, vi = br.focusOffset, Et = document.activeElement;
11738
11738
  if (!(ci.has("collaboration") && Et !== g || Et !== null && rt(Et))) if (At(Q)) {
11739
11739
  var Zi = Q.anchor, Lo = Q.focus, Ha = Zi.key, Wa = Lo.key, Bl = bn(o, Ha), Zs = bn(o, Wa), Qr = Zi.offset, Ka = Lo.offset, Hl = Q.format, Io = Q.style, za = Q.isCollapsed(), Js = Bl, ko = Zs, Wl = !1;
11740
11740
  if (Zi.type === "text") {
@@ -11747,7 +11747,7 @@ function MN() {
11747
11747
  var Ua = performance.now();
11748
11748
  Ea = [Hl, Io, Qr, Ha, Ua];
11749
11749
  }
11750
- if (Ir === Qr && vi === Ka && Xn === Js && En === ko && (br.type !== "Range" || !za) && (Et !== null && g.contains(Et) || g.focus({ preventScroll: !0 }), Zi.type !== "element")) break e;
11750
+ if (Ir === Qr && vi === Ka && Xn === Js && Tn === ko && (br.type !== "Range" || !za) && (Et !== null && g.contains(Et) || g.focus({ preventScroll: !0 }), Zi.type !== "element")) break e;
11751
11751
  try {
11752
11752
  br.setBaseAndExtent(Js, Qr, ko, Ka);
11753
11753
  } catch {
@@ -11783,25 +11783,25 @@ function MN() {
11783
11783
  }
11784
11784
  Nl = !0;
11785
11785
  }
11786
- } else D !== null && it(o, Xn, En) && br.removeAllRanges();
11786
+ } else D !== null && it(o, Xn, Tn) && br.removeAllRanges();
11787
11787
  }
11788
11788
  }
11789
11789
  e: {
11790
11790
  let pn = o._blockCursorElement;
11791
11791
  if (At(Q) && Q.isCollapsed() && Q.anchor.type === "element" && g.contains(document.activeElement)) {
11792
- let Xn = Q.anchor, En = Xn.getNode(), Ir = Xn.offset, vi = En.getChildrenSize(), Et = !1, dr = null;
11792
+ let Xn = Q.anchor, Tn = Xn.getNode(), Ir = Xn.offset, vi = Tn.getChildrenSize(), Et = !1, dr = null;
11793
11793
  if (Ir === vi) {
11794
- let kr = En.getChildAtIndex(Ir - 1);
11794
+ let kr = Tn.getChildAtIndex(Ir - 1);
11795
11795
  go(kr) && (Et = !0);
11796
11796
  } else {
11797
- let kr = En.getChildAtIndex(Ir);
11797
+ let kr = Tn.getChildAtIndex(Ir);
11798
11798
  if (go(kr)) {
11799
11799
  let ir = kr.getPreviousSibling();
11800
11800
  (ir === null || go(ir)) && (Et = !0, dr = o.getElementByKey(kr.__key));
11801
11801
  }
11802
11802
  }
11803
11803
  if (Et) {
11804
- let kr = o.getElementByKey(En.__key);
11804
+ let kr = o.getElementByKey(Tn.__key);
11805
11805
  if (pn === null) {
11806
11806
  let ir = o._config.theme, Ur = document.createElement("div");
11807
11807
  Ur.contentEditable = "false", Ur.setAttribute("data-lexical-cursor", "true");
@@ -11829,8 +11829,8 @@ function MN() {
11829
11829
  if (gt !== null) {
11830
11830
  var Po = gt;
11831
11831
  let pn = Array.from(o._listeners.mutation), Xn = pn.length;
11832
- for (let En = 0; En < Xn; En++) {
11833
- let [Ir, vi] = pn[En], Et = Po.get(vi);
11832
+ for (let Tn = 0; Tn < Xn; Tn++) {
11833
+ let [Ir, vi] = pn[Tn], Et = Po.get(vi);
11834
11834
  Et !== void 0 && Ir(Et, { dirtyLeaves: Yn, prevEditorState: x, updateTags: ci });
11835
11835
  }
11836
11836
  }
@@ -11851,8 +11851,8 @@ function MN() {
11851
11851
  if (Fo.length !== 0) {
11852
11852
  let pn = Fo.shift();
11853
11853
  if (pn) {
11854
- let [Xn, En] = pn;
11855
- bl(o, Xn, En);
11854
+ let [Xn, Tn] = pn;
11855
+ bl(o, Xn, Tn);
11856
11856
  }
11857
11857
  }
11858
11858
  }
@@ -11947,7 +11947,7 @@ function MN() {
11947
11947
  return !0;
11948
11948
  }
11949
11949
  }
11950
- function Cn(o) {
11950
+ function En(o) {
11951
11951
  return o instanceof Do;
11952
11952
  }
11953
11953
  class Yi extends Fs {
@@ -12250,7 +12250,7 @@ function MN() {
12250
12250
  append(...i) {
12251
12251
  for (let a = 0; a < i.length; a++) {
12252
12252
  let g = i[a];
12253
- Je(g) || Cn(g) || Y(56);
12253
+ Je(g) || En(g) || Y(56);
12254
12254
  }
12255
12255
  return super.append(...i);
12256
12256
  }
@@ -12583,10 +12583,10 @@ function MN() {
12583
12583
  i === null && (i = Rt().selectEnd()), i.insertNodes(o);
12584
12584
  }, We.$isBlockElementNode = function(o) {
12585
12585
  return Je(o) && !o.isInline();
12586
- }, We.$isDecoratorNode = Cn, We.$isElementNode = Je, We.$isInlineElementOrDecoratorNode = function(o) {
12587
- return Je(o) && o.isInline() || Cn(o) && o.isInline();
12586
+ }, We.$isDecoratorNode = En, We.$isElementNode = Je, We.$isInlineElementOrDecoratorNode = function(o) {
12587
+ return Je(o) && o.isInline() || En(o) && o.isInline();
12588
12588
  }, We.$isLeafNode = function(o) {
12589
- return Nt(o) || $i(o) || Cn(o);
12589
+ return Nt(o) || $i(o) || En(o);
12590
12590
  }, We.$isLineBreakNode = $i, We.$isNodeSelection = cr, We.$isParagraphNode = function(o) {
12591
12591
  return o instanceof Kr;
12592
12592
  }, We.$isRangeSelection = At, We.$isRootNode = rr, We.$isRootOrShadowRoot = lr, We.$isTabNode = ba, We.$isTextNode = Nt, We.$nodesOfType = function(o) {
@@ -12684,7 +12684,7 @@ var Af;
12684
12684
  function RN() {
12685
12685
  if (Af) return qc;
12686
12686
  Af = 1;
12687
- var e = qn(), t = Gt(), n = xn;
12687
+ var e = qn(), t = Gt(), n = Cn;
12688
12688
  const r = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u";
12689
12689
  var d = r ? n.useLayoutEffect : n.useEffect;
12690
12690
  const f = {
@@ -12768,7 +12768,7 @@ var Xc = {}, Mf;
12768
12768
  function bN() {
12769
12769
  if (Mf) return Xc;
12770
12770
  Mf = 1;
12771
- var e = qn(), t = Gt(), n = xn;
12771
+ var e = qn(), t = Gt(), n = Cn;
12772
12772
  let r = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u";
12773
12773
  var l = r ? n.useLayoutEffect : n.useEffect;
12774
12774
  let d = { tag: "history-merge" };
@@ -12821,7 +12821,7 @@ var IN = LN, Qc = {}, eu, Rf;
12821
12821
  function kN() {
12822
12822
  if (Rf) return eu;
12823
12823
  Rf = 1;
12824
- var e = qn(), t = xn, l = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? t.useLayoutEffect : t.useEffect;
12824
+ var e = qn(), t = Cn, l = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? t.useLayoutEffect : t.useEffect;
12825
12825
  function d(_) {
12826
12826
  const [T] = e.useLexicalComposerContext(), E = t.useMemo(() => _(T), [T, _]), S = t.useRef(E.initialValueFn()), [w, M] = t.useState(S.current);
12827
12827
  return l(() => {
@@ -12849,7 +12849,7 @@ var tu, bf;
12849
12849
  function PN() {
12850
12850
  if (bf) return tu;
12851
12851
  bf = 1;
12852
- var e = qn(), t = xn, n = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? t.useLayoutEffect : t.useEffect;
12852
+ var e = qn(), t = Cn, n = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? t.useLayoutEffect : t.useEffect;
12853
12853
  function r(d) {
12854
12854
  let [f] = e.useLexicalComposerContext(), p = t.useMemo(() => d(f), [f, d]), _ = t.useRef(p.initialValueFn()), [T, E] = t.useState(_.current);
12855
12855
  return n(() => {
@@ -15668,7 +15668,7 @@ var th;
15668
15668
  function JN() {
15669
15669
  if (th) return Qc;
15670
15670
  th = 1;
15671
- var e = qn(), t = _p(), n = xn, r = yp(), l = gn(), d = np, f = Np(), p = dd(), E = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? n.useLayoutEffect : n.useEffect;
15671
+ var e = qn(), t = _p(), n = Cn, r = yp(), l = gn(), d = np, f = Np(), p = dd(), E = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? n.useLayoutEffect : n.useEffect;
15672
15672
  function S(G) {
15673
15673
  return G.getEditorState().read(r.$canShowPlaceholderCurry(G.isComposing()));
15674
15674
  }
@@ -15732,7 +15732,7 @@ var fu = {}, nh;
15732
15732
  function XN() {
15733
15733
  if (nh) return fu;
15734
15734
  nh = 1;
15735
- var e = qn(), t = _p(), n = xn, r = yp(), l = gn(), d = np, f = Np(), p = dd(), _ = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? n.useLayoutEffect : n.useEffect;
15735
+ var e = qn(), t = _p(), n = Cn, r = yp(), l = gn(), d = np, f = Np(), p = dd(), _ = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? n.useLayoutEffect : n.useEffect;
15736
15736
  function T(m) {
15737
15737
  return m.getEditorState().read(r.$canShowPlaceholderCurry(m.isComposing()));
15738
15738
  }
@@ -15786,7 +15786,7 @@ var eC = QN, hu = {}, rh;
15786
15786
  function tC() {
15787
15787
  if (rh) return hu;
15788
15788
  rh = 1;
15789
- var e = qn(), t = xn;
15789
+ var e = qn(), t = Cn;
15790
15790
  function n() {
15791
15791
  return n = Object.assign ? Object.assign.bind() : function(p) {
15792
15792
  for (var _ = 1; _ < arguments.length; _++) {
@@ -15854,7 +15854,7 @@ var gu = {}, ih;
15854
15854
  function nC() {
15855
15855
  if (ih) return gu;
15856
15856
  ih = 1;
15857
- var e = qn(), t = xn;
15857
+ var e = qn(), t = Cn;
15858
15858
  function n() {
15859
15859
  return n = Object.assign ? Object.assign.bind() : function(l) {
15860
15860
  for (var d = 1; d < arguments.length; d++) {
@@ -15882,7 +15882,7 @@ var iC = rC, pu, sh;
15882
15882
  function sC() {
15883
15883
  if (sh) return pu;
15884
15884
  sh = 1;
15885
- var e = xn;
15885
+ var e = Cn;
15886
15886
  function t(p, _) {
15887
15887
  return t = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(E, S) {
15888
15888
  return E.__proto__ = S, E;
@@ -15964,7 +15964,7 @@ var mu, oh;
15964
15964
  function oC() {
15965
15965
  if (oh) return mu;
15966
15966
  oh = 1;
15967
- var e = xn;
15967
+ var e = Cn;
15968
15968
  function t(f, p) {
15969
15969
  return t = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(_, T) {
15970
15970
  return _.__proto__ = T, _;
@@ -17182,7 +17182,7 @@ var uh;
17182
17182
  function fC() {
17183
17183
  if (uh) return _u;
17184
17184
  uh = 1;
17185
- var e = fd(), t = qn(), n = xn, r = gn(), l = Gt();
17185
+ var e = fd(), t = qn(), n = Cn, r = gn(), l = Gt();
17186
17186
  function d(p) {
17187
17187
  n.useEffect(() => r.mergeRegister(p.registerCommand(e.INSERT_ORDERED_LIST_COMMAND, () => (e.insertList(p, "number"), !0), l.COMMAND_PRIORITY_LOW), p.registerCommand(e.INSERT_UNORDERED_LIST_COMMAND, () => (e.insertList(p, "bullet"), !0), l.COMMAND_PRIORITY_LOW), p.registerCommand(e.REMOVE_LIST_COMMAND, () => (e.removeList(p), !0), l.COMMAND_PRIORITY_LOW), p.registerCommand(l.INSERT_PARAGRAPH_COMMAND, () => !!e.$handleListInsertParagraph(), l.COMMAND_PRIORITY_LOW)), [p]);
17188
17188
  }
@@ -17199,7 +17199,7 @@ var Nu = {}, dh;
17199
17199
  function hC() {
17200
17200
  if (dh) return Nu;
17201
17201
  dh = 1;
17202
- var e = fd(), t = qn(), n = xn, r = gn(), l = Gt();
17202
+ var e = fd(), t = qn(), n = Cn, r = gn(), l = Gt();
17203
17203
  function d(f) {
17204
17204
  n.useEffect(() => r.mergeRegister(f.registerCommand(e.INSERT_ORDERED_LIST_COMMAND, () => (e.insertList(f, "number"), !0), l.COMMAND_PRIORITY_LOW), f.registerCommand(e.INSERT_UNORDERED_LIST_COMMAND, () => (e.insertList(f, "bullet"), !0), l.COMMAND_PRIORITY_LOW), f.registerCommand(e.REMOVE_LIST_COMMAND, () => (e.removeList(f), !0), l.COMMAND_PRIORITY_LOW), f.registerCommand(l.INSERT_PARAGRAPH_COMMAND, () => !!e.$handleListInsertParagraph(), l.COMMAND_PRIORITY_LOW)), [f]);
17205
17205
  }
@@ -17652,7 +17652,7 @@ var ph;
17652
17652
  function yC() {
17653
17653
  if (ph) return Cu;
17654
17654
  ph = 1;
17655
- var e = hd(), t = qn(), n = gn(), r = Gt(), l = xn;
17655
+ var e = hd(), t = qn(), n = gn(), r = Gt(), l = Cn;
17656
17656
  function d({
17657
17657
  validateUrl: f
17658
17658
  }) {
@@ -17694,7 +17694,7 @@ var Tu = {}, mh;
17694
17694
  function NC() {
17695
17695
  if (mh) return Tu;
17696
17696
  mh = 1;
17697
- var e = hd(), t = qn(), n = gn(), r = Gt(), l = xn;
17697
+ var e = hd(), t = qn(), n = gn(), r = Gt(), l = Cn;
17698
17698
  return Tu.LinkPlugin = function({ validateUrl: d }) {
17699
17699
  let [f] = t.useLexicalComposerContext();
17700
17700
  return l.useEffect(() => {
@@ -18977,7 +18977,7 @@ function TC() {
18977
18977
  } else
18978
18978
  pt.setColSpan(pt.__colSpan + 1);
18979
18979
  }
18980
- _t !== null && at(_t);
18980
+ _t !== null && ct(_t);
18981
18981
  }
18982
18982
  function Fe(Oe, ie) {
18983
18983
  const le = Oe.getChildren();
@@ -19035,12 +19035,12 @@ function TC() {
19035
19035
  const {
19036
19036
  cell: yt
19037
19037
  } = tt[0];
19038
- at(yt);
19038
+ ct(yt);
19039
19039
  } else {
19040
19040
  const yt = Ve[it - 1], {
19041
19041
  cell: Ct
19042
19042
  } = yt[0];
19043
- at(Ct);
19043
+ ct(Ct);
19044
19044
  }
19045
19045
  }
19046
19046
  function Be() {
@@ -19083,15 +19083,15 @@ function TC() {
19083
19083
  const {
19084
19084
  cell: pt
19085
19085
  } = Tt;
19086
- at(pt);
19086
+ ct(pt);
19087
19087
  } else {
19088
19088
  const pt = ht[Ge - 1], {
19089
19089
  cell: Pt
19090
19090
  } = pt;
19091
- at(Pt);
19091
+ ct(Pt);
19092
19092
  }
19093
19093
  }
19094
- function at(Oe) {
19094
+ function ct(Oe) {
19095
19095
  const ie = Oe.getFirstDescendant();
19096
19096
  ie == null ? Oe.selectStart() : ie.getParentOrThrow().selectStart();
19097
19097
  }
@@ -19194,8 +19194,8 @@ function xC() {
19194
19194
  return A = Math.max(A.rowIndex, se.rowIndex), { fromX: Math.min(F, ye), fromY: Math.min(De, A), toX: Math.max(F, ye), toY: Math.max(De, A) };
19195
19195
  }
19196
19196
  getNodes() {
19197
- function A(at) {
19198
- let { cell: Dt, startColumn: zt, startRow: Qt } = at;
19197
+ function A(ct) {
19198
+ let { cell: Dt, startColumn: zt, startRow: Qt } = ct;
19199
19199
  be = Math.min(be, zt), Ne = Math.min(Ne, Qt), Re = Math.max(Re, zt + Dt.__colSpan - 1), ke = Math.max(ke, Qt + Dt.__rowSpan - 1);
19200
19200
  }
19201
19201
  var F = this._cachedNodes;
@@ -19897,10 +19897,10 @@ function xC() {
19897
19897
  }
19898
19898
  let { cell: ke, startColumn: Fe, startRow: qe } = Re[B];
19899
19899
  if (Fe + ke.__colSpan - 1 <= B) {
19900
- let Be = ke, at = qe, Dt = B;
19901
- for (; at !== F && 1 < Be.__rowSpan; ) if (Dt -= ke.__colSpan, 0 <= Dt) {
19900
+ let Be = ke, ct = qe, Dt = B;
19901
+ for (; ct !== F && 1 < Be.__rowSpan; ) if (Dt -= ke.__colSpan, 0 <= Dt) {
19902
19902
  let { cell: zt, startRow: Qt } = Re[Dt];
19903
- Be = zt, at = Qt;
19903
+ Be = zt, ct = Qt;
19904
19904
  } else {
19905
19905
  Ne.append(A());
19906
19906
  continue e;
@@ -19972,8 +19972,8 @@ function xC() {
19972
19972
  ke = (ke || F).getNextSibling(), e.DEPRECATED_$isGridRowNode(ke) || n(125);
19973
19973
  var ne = null;
19974
19974
  for (let qe = 0; qe < Ne; qe++) {
19975
- let Be = Fe[qe], at = Be.cell;
19976
- Be.startRow === ee && (ne = at), 1 < at.__colSpan && (qe += at.__colSpan - 1);
19975
+ let Be = Fe[qe], ct = Be.cell;
19976
+ Be.startRow === ee && (ne = ct), 1 < ct.__colSpan && (qe += ct.__colSpan - 1);
19977
19977
  }
19978
19978
  if (ne === null) for (ne = 0; ne < B; ne++) fe(ke, S(_.NO_STATUS));
19979
19979
  else for (ee = 0; ee < B; ee++) ne.insertAfter(S(_.NO_STATUS));
@@ -20036,7 +20036,7 @@ function xC() {
20036
20036
  if ((Ne === e.DELETE_CHARACTER_COMMAND || Ne === e.DELETE_WORD_COMMAND) && Re.isCollapsed() && Re.anchor.offset === 0 && Fe !== ke) {
20037
20037
  Re = Fe.getChildren();
20038
20038
  const Be = e.$createParagraphNode();
20039
- return Re.forEach((at) => Be.append(at)), Fe.replace(Be), Fe.getWritable().__parent = qe.getKey(), !0;
20039
+ return Re.forEach((ct) => Be.append(ct)), Fe.replace(Be), Fe.getWritable().__parent = qe.getKey(), !0;
20040
20040
  }
20041
20041
  }
20042
20042
  return !1;
@@ -20074,13 +20074,13 @@ function xC() {
20074
20074
  if (Ne = Fe && t.$findMatchingParent(ke.anchor.getNode(), (Le) => e.DEPRECATED_$isGridCellNode(Le)) !== null && t.$findMatchingParent(ke.focus.getNode(), (Le) => e.DEPRECATED_$isGridCellNode(Le)) !== null || Ne && !Fe, Re.length !== 1 || !e.DEPRECATED_$isGridNode(Re[0]) || !Ne) return !1;
20075
20075
  var { anchor: qe } = ke, Be = Re[0];
20076
20076
  Ne = Be.getChildren(), Fe = Be.getFirstChildOrThrow().getChildrenSize(), Be = Be.getChildrenSize();
20077
- var at = t.$findMatchingParent(qe.getNode(), (Le) => e.DEPRECATED_$isGridCellNode(Le)), Dt = (qe = at && t.$findMatchingParent(at, (Le) => e.DEPRECATED_$isGridRowNode(Le))) && t.$findMatchingParent(qe, (Le) => e.DEPRECATED_$isGridNode(Le));
20078
- if (!e.DEPRECATED_$isGridCellNode(at) || !e.DEPRECATED_$isGridRowNode(qe) || !e.DEPRECATED_$isGridNode(Dt)) return !1;
20077
+ var ct = t.$findMatchingParent(qe.getNode(), (Le) => e.DEPRECATED_$isGridCellNode(Le)), Dt = (qe = ct && t.$findMatchingParent(ct, (Le) => e.DEPRECATED_$isGridRowNode(Le))) && t.$findMatchingParent(qe, (Le) => e.DEPRECATED_$isGridNode(Le));
20078
+ if (!e.DEPRECATED_$isGridCellNode(ct) || !e.DEPRECATED_$isGridRowNode(qe) || !e.DEPRECATED_$isGridNode(Dt)) return !1;
20079
20079
  var zt = qe.getIndexWithinParent(), Qt = Math.min(Dt.getChildrenSize() - 1, zt + Be - 1);
20080
- Be = at.getIndexWithinParent(), at = Math.min(qe.getChildrenSize() - 1, Be + Fe - 1), Fe = Math.min(Be, at), qe = Math.min(zt, Qt), Be = Math.max(Be, at), zt = Math.max(zt, Qt), Dt = Dt.getChildren(), Qt = 0;
20080
+ Be = ct.getIndexWithinParent(), ct = Math.min(qe.getChildrenSize() - 1, Be + Fe - 1), Fe = Math.min(Be, ct), qe = Math.min(zt, Qt), Be = Math.max(Be, ct), zt = Math.max(zt, Qt), Dt = Dt.getChildren(), Qt = 0;
20081
20081
  let Oe, ie;
20082
- for (at = qe; at <= zt; at++) {
20083
- var le = Dt[at];
20082
+ for (ct = qe; ct <= zt; ct++) {
20083
+ var le = Dt[ct];
20084
20084
  if (!e.DEPRECATED_$isGridRowNode(le)) return !1;
20085
20085
  var ve = Ne[Qt];
20086
20086
  if (!e.DEPRECATED_$isGridRowNode(ve)) return !1;
@@ -20091,7 +20091,7 @@ function xC() {
20091
20091
  if (!e.DEPRECATED_$isGridCellNode(Ve)) return !1;
20092
20092
  let nt = ve[Le];
20093
20093
  if (!e.DEPRECATED_$isGridCellNode(nt)) return !1;
20094
- at === qe && Me === Fe ? Oe = Ve.getKey() : at === zt && Me === Be && (ie = Ve.getKey());
20094
+ ct === qe && Me === Fe ? Oe = Ve.getKey() : ct === zt && Me === Be && (ie = Ve.getKey());
20095
20095
  let rt = Ve.getChildren();
20096
20096
  nt.getChildren().forEach((it) => {
20097
20097
  e.$isTextNode(it) && e.$createParagraphNode().append(it), Ve.append(it);
@@ -20105,8 +20105,8 @@ function xC() {
20105
20105
  () => {
20106
20106
  let Ne = e.$getSelection(), Re = e.$getPreviousSelection();
20107
20107
  if (e.$isRangeSelection(Ne)) {
20108
- let { anchor: at, focus: Dt } = Ne;
20109
- var ke = at.getNode(), Fe = Dt.getNode();
20108
+ let { anchor: ct, focus: Dt } = Ne;
20109
+ var ke = ct.getNode(), Fe = Dt.getNode();
20110
20110
  ke = Ee(ke), Fe = Ee(Fe);
20111
20111
  var qe = ke && B.is(de(ke)), Be = Fe && B.is(de(Fe));
20112
20112
  let zt = qe !== Be;
@@ -20128,7 +20128,7 @@ var Ch;
20128
20128
  function vC() {
20129
20129
  if (Ch) return xu;
20130
20130
  Ch = 1;
20131
- var e = qn(), t = gd(), n = gn(), r = Gt(), l = xn;
20131
+ var e = qn(), t = gd(), n = gn(), r = Gt(), l = Cn;
20132
20132
  function d({
20133
20133
  hasCellMerge: f = !0,
20134
20134
  hasCellBackgroundColor: p = !0,
@@ -20220,7 +20220,7 @@ var Su = {}, Eh;
20220
20220
  function SC() {
20221
20221
  if (Eh) return Su;
20222
20222
  Eh = 1;
20223
- var e = qn(), t = gd(), n = gn(), r = Gt(), l = xn;
20223
+ var e = qn(), t = gd(), n = gn(), r = Gt(), l = Cn;
20224
20224
  function d(f) {
20225
20225
  let p = new URLSearchParams();
20226
20226
  p.append("code", f);
@@ -22926,22 +22926,22 @@ function DC() {
22926
22926
  } = ne, qe = (Re.isBefore(ke) ? Re : ke).getNode();
22927
22927
  if (n.$isTextNode(qe)) {
22928
22928
  let Be = Se(qe);
22929
- const at = [];
22929
+ const ct = [];
22930
22930
  for (; ; )
22931
22931
  if (n.$isTabNode(Be))
22932
- at.push(n.$createTabNode()), Be = Be.getNextSibling();
22932
+ ct.push(n.$createTabNode()), Be = Be.getNextSibling();
22933
22933
  else if (Te(Be)) {
22934
22934
  let ve = 0;
22935
22935
  const Le = Be.getTextContent(), Me = Be.getTextContentSize();
22936
22936
  for (; ve < Me && Le[ve] === " "; ve++) ;
22937
- if (ve !== 0 && at.push(q(" ".repeat(ve))), ve !== Me)
22937
+ if (ve !== 0 && ct.push(q(" ".repeat(ve))), ve !== Me)
22938
22938
  break;
22939
22939
  Be = Be.getNextSibling();
22940
22940
  } else
22941
22941
  break;
22942
- const Dt = qe.splitText(Re.offset)[0], zt = Re.offset === 0 ? 0 : 1, Qt = Dt.getIndexWithinParent() + zt, Oe = qe.getParentOrThrow(), ie = [n.$createLineBreakNode(), ...at];
22942
+ const Dt = qe.splitText(Re.offset)[0], zt = Re.offset === 0 ? 0 : 1, Qt = Dt.getIndexWithinParent() + zt, Oe = qe.getParentOrThrow(), ie = [n.$createLineBreakNode(), ...ct];
22943
22943
  Oe.splice(Qt, 0, ie);
22944
- const le = at[at.length - 1];
22944
+ const le = ct[ct.length - 1];
22945
22945
  le ? le.select() : Re.offset === 0 ? Dt.selectPrevious() : Dt.getNextSibling().selectNext(0, 0);
22946
22946
  }
22947
22947
  if (_(qe)) {
@@ -23229,10 +23229,10 @@ function DC() {
23229
23229
  return !1;
23230
23230
  const Re = Ne.getTextContent(), ke = ue.tokenize(Re, Ne.getLanguage() || ue.defaultLanguage), Fe = R(ke), qe = X(Ne.getChildren(), Fe), {
23231
23231
  from: Be,
23232
- to: at,
23232
+ to: ct,
23233
23233
  nodesForReplacement: Dt
23234
23234
  } = qe;
23235
- return Be !== at || Dt.length ? (ee.splice(Be, at - Be, Dt), !0) : !1;
23235
+ return Be !== ct || Dt.length ? (ee.splice(Be, ct - Be, Dt), !0) : !1;
23236
23236
  });
23237
23237
  }, {
23238
23238
  onUpdate: () => {
@@ -23273,7 +23273,7 @@ function DC() {
23273
23273
  let Fe = 0;
23274
23274
  if (!ke) {
23275
23275
  const Be = Ne.getNode();
23276
- Fe = Re + Be.getPreviousSiblings().reduce((at, Dt) => at + Dt.getTextContentSize(), 0);
23276
+ Fe = Re + Be.getPreviousSiblings().reduce((ct, Dt) => ct + Dt.getTextContentSize(), 0);
23277
23277
  }
23278
23278
  if (ne()) {
23279
23279
  if (ke) {
@@ -23281,10 +23281,10 @@ function DC() {
23281
23281
  return;
23282
23282
  }
23283
23283
  ue.getChildren().some((Be) => {
23284
- const at = n.$isTextNode(Be);
23285
- if (at || n.$isLineBreakNode(Be)) {
23284
+ const ct = n.$isTextNode(Be);
23285
+ if (ct || n.$isLineBreakNode(Be)) {
23286
23286
  const Dt = Be.getTextContentSize();
23287
- if (at && Dt >= Fe)
23287
+ if (ct && Dt >= Fe)
23288
23288
  return Be.select(Fe, Fe), !0;
23289
23289
  Fe -= Dt;
23290
23290
  }
@@ -23347,9 +23347,9 @@ function DC() {
23347
23347
  throw Error("Expected selection firstNode to be CodeHighlightNode or TabNode");
23348
23348
  if (_(ke))
23349
23349
  return ue;
23350
- const Fe = Se(ke), qe = Ee(ke), Be = ne.anchor, at = ne.focus;
23350
+ const Fe = Se(ke), qe = Ee(ke), Be = ne.anchor, ct = ne.focus;
23351
23351
  let Dt, zt;
23352
- return at.isBefore(Be) ? (Dt = at, zt = Be) : (Dt = Be, zt = at), Fe !== null && qe !== null && Dt.key === Fe.getKey() && Dt.offset === 0 && zt.key === qe.getKey() && zt.offset === qe.getTextContentSize() ? ue : be;
23352
+ return ct.isBefore(Be) ? (Dt = ct, zt = Be) : (Dt = Be, zt = ct), Fe !== null && qe !== null && Dt.key === Fe.getKey() && Dt.offset === 0 && zt.key === qe.getKey() && zt.offset === qe.getTextContentSize() ? ue : be;
23353
23353
  }
23354
23354
  function F(ee) {
23355
23355
  const ne = n.$getSelection();
@@ -23397,17 +23397,17 @@ function DC() {
23397
23397
  }
23398
23398
  return !1;
23399
23399
  }
23400
- let at, Dt;
23401
- if (Fe.isBefore(qe) ? (at = Se(Fe), Dt = Ee(qe)) : (at = Se(qe), Dt = Ee(Fe)), at == null || Dt == null)
23400
+ let ct, Dt;
23401
+ if (Fe.isBefore(qe) ? (ct = Se(Fe), Dt = Ee(qe)) : (ct = Se(qe), Dt = Ee(Fe)), ct == null || Dt == null)
23402
23402
  return !1;
23403
- const zt = at.getNodesBetween(Dt);
23403
+ const zt = ct.getNodesBetween(Dt);
23404
23404
  for (let ve = 0; ve < zt.length; ve++) {
23405
23405
  const Le = zt[ve];
23406
23406
  if (!Te(Le) && !n.$isTabNode(Le) && !n.$isLineBreakNode(Le))
23407
23407
  return !1;
23408
23408
  }
23409
23409
  ne.preventDefault(), ne.stopPropagation();
23410
- const Qt = Be ? at.getPreviousSibling() : Dt.getNextSibling();
23410
+ const Qt = Be ? ct.getPreviousSibling() : Dt.getNextSibling();
23411
23411
  if (!n.$isLineBreakNode(Qt))
23412
23412
  return !0;
23413
23413
  const Oe = Be ? Qt.getPreviousSibling() : Qt.getNextSibling();
@@ -23434,9 +23434,9 @@ function DC() {
23434
23434
  if (qe !== null) {
23435
23435
  const {
23436
23436
  node: Be,
23437
- offset: at
23437
+ offset: ct
23438
23438
  } = qe;
23439
- n.$isLineBreakNode(Be) ? Be.selectNext(0, 0) : ue.setTextNodeRange(Be, at, Be, at);
23439
+ n.$isLineBreakNode(Be) ? Be.selectNext(0, 0) : ue.setTextNodeRange(Be, ct, Be, ct);
23440
23440
  } else
23441
23441
  ke.getParentOrThrow().selectStart();
23442
23442
  } else
@@ -23912,7 +23912,7 @@ function bC({
23912
23912
  maxWidth: l
23913
23913
  }) {
23914
23914
  const d = tp(() => ({ height: r, width: n, maxWidth: l }), [r, n, l]);
23915
- return /* @__PURE__ */ ft.jsx("img", { src: e, alt: t, style: d });
23915
+ return /* @__PURE__ */ at.jsx("img", { src: e, alt: t, style: d });
23916
23916
  }
23917
23917
  function $p({
23918
23918
  altText: e,
@@ -23993,7 +23993,7 @@ class il extends Fn.DecoratorNode {
23993
23993
  return !1;
23994
23994
  }
23995
23995
  decorate() {
23996
- return /* @__PURE__ */ ft.jsx(
23996
+ return /* @__PURE__ */ at.jsx(
23997
23997
  bC,
23998
23998
  {
23999
23999
  src: this.__src,
@@ -24234,7 +24234,7 @@ function VC() {
24234
24234
  }
24235
24235
  const jC = process.env.NODE_ENV === "development" ? YC() : VC();
24236
24236
  var qC = jC;
24237
- const ut = {
24237
+ const dt = {
24238
24238
  "yext-default-richtextv2-theme__ul1": "_yext-default-richtextv2-theme__ul1_13v3w_17",
24239
24239
  "yext-default-richtextv2-theme__ul2": "_yext-default-richtextv2-theme__ul2_13v3w_25",
24240
24240
  "yext-default-richtextv2-theme__ul3": "_yext-default-richtextv2-theme__ul3_13v3w_33",
@@ -24286,100 +24286,100 @@ const ut = {
24286
24286
  "yext-default-richtextv2-theme__embedBlockFocus": "_yext-default-richtextv2-theme__embedBlockFocus_13v3w_381",
24287
24287
  "yext-default-richtextv2-theme__image": "_yext-default-richtextv2-theme__image_13v3w_385"
24288
24288
  }, ZC = {
24289
- characterLimit: ut["yext-default-richtextv2-theme__characterLimit"],
24290
- code: ut["yext-default-richtextv2-theme__code"],
24289
+ characterLimit: dt["yext-default-richtextv2-theme__characterLimit"],
24290
+ code: dt["yext-default-richtextv2-theme__code"],
24291
24291
  codeHighlight: {
24292
- atrule: ut["yext-default-richtextv2-theme__tokenAttr"],
24293
- attr: ut["yext-default-richtextv2-theme__tokenAttr"],
24294
- boolean: ut["yext-default-richtextv2-theme__tokenProperty"],
24295
- builtin: ut["yext-default-richtextv2-theme__tokenSelector"],
24296
- cdata: ut["yext-default-richtextv2-theme__tokenComment"],
24297
- char: ut["yext-default-richtextv2-theme__tokenSelector"],
24298
- class: ut["yext-default-richtextv2-theme__tokenFunction"],
24299
- "class-name": ut["yext-default-richtextv2-theme__tokenFunction"],
24300
- comment: ut["yext-default-richtextv2-theme__tokenComment"],
24301
- constant: ut["yext-default-richtextv2-theme__tokenProperty"],
24302
- deleted: ut["yext-default-richtextv2-theme__tokenProperty"],
24303
- doctype: ut["yext-default-richtextv2-theme__tokenComment"],
24304
- entity: ut["yext-default-richtextv2-theme__tokenOperator"],
24305
- function: ut["yext-default-richtextv2-theme__tokenFunction"],
24306
- important: ut["yext-default-richtextv2-theme__tokenVariable"],
24307
- inserted: ut["yext-default-richtextv2-theme__tokenSelector"],
24308
- keyword: ut["yext-default-richtextv2-theme__tokenAttr"],
24309
- namespace: ut["yext-default-richtextv2-theme__tokenVariable"],
24310
- number: ut["yext-default-richtextv2-theme__tokenProperty"],
24311
- operator: ut["yext-default-richtextv2-theme__tokenOperator"],
24312
- prolog: ut["yext-default-richtextv2-theme__tokenComment"],
24313
- property: ut["yext-default-richtextv2-theme__tokenProperty"],
24314
- punctuation: ut["yext-default-richtextv2-theme__tokenPunctuation"],
24315
- regex: ut["yext-default-richtextv2-theme__tokenVariable"],
24316
- selector: ut["yext-default-richtextv2-theme__tokenSelector"],
24317
- string: ut["yext-default-richtextv2-theme__tokenSelector"],
24318
- symbol: ut["yext-default-richtextv2-theme__tokenProperty"],
24319
- tag: ut["yext-default-richtextv2-theme__tokenProperty"],
24320
- url: ut["yext-default-richtextv2-theme__tokenOperator"],
24321
- variable: ut["yext-default-richtextv2-theme__tokenVariable"]
24292
+ atrule: dt["yext-default-richtextv2-theme__tokenAttr"],
24293
+ attr: dt["yext-default-richtextv2-theme__tokenAttr"],
24294
+ boolean: dt["yext-default-richtextv2-theme__tokenProperty"],
24295
+ builtin: dt["yext-default-richtextv2-theme__tokenSelector"],
24296
+ cdata: dt["yext-default-richtextv2-theme__tokenComment"],
24297
+ char: dt["yext-default-richtextv2-theme__tokenSelector"],
24298
+ class: dt["yext-default-richtextv2-theme__tokenFunction"],
24299
+ "class-name": dt["yext-default-richtextv2-theme__tokenFunction"],
24300
+ comment: dt["yext-default-richtextv2-theme__tokenComment"],
24301
+ constant: dt["yext-default-richtextv2-theme__tokenProperty"],
24302
+ deleted: dt["yext-default-richtextv2-theme__tokenProperty"],
24303
+ doctype: dt["yext-default-richtextv2-theme__tokenComment"],
24304
+ entity: dt["yext-default-richtextv2-theme__tokenOperator"],
24305
+ function: dt["yext-default-richtextv2-theme__tokenFunction"],
24306
+ important: dt["yext-default-richtextv2-theme__tokenVariable"],
24307
+ inserted: dt["yext-default-richtextv2-theme__tokenSelector"],
24308
+ keyword: dt["yext-default-richtextv2-theme__tokenAttr"],
24309
+ namespace: dt["yext-default-richtextv2-theme__tokenVariable"],
24310
+ number: dt["yext-default-richtextv2-theme__tokenProperty"],
24311
+ operator: dt["yext-default-richtextv2-theme__tokenOperator"],
24312
+ prolog: dt["yext-default-richtextv2-theme__tokenComment"],
24313
+ property: dt["yext-default-richtextv2-theme__tokenProperty"],
24314
+ punctuation: dt["yext-default-richtextv2-theme__tokenPunctuation"],
24315
+ regex: dt["yext-default-richtextv2-theme__tokenVariable"],
24316
+ selector: dt["yext-default-richtextv2-theme__tokenSelector"],
24317
+ string: dt["yext-default-richtextv2-theme__tokenSelector"],
24318
+ symbol: dt["yext-default-richtextv2-theme__tokenProperty"],
24319
+ tag: dt["yext-default-richtextv2-theme__tokenProperty"],
24320
+ url: dt["yext-default-richtextv2-theme__tokenOperator"],
24321
+ variable: dt["yext-default-richtextv2-theme__tokenVariable"]
24322
24322
  },
24323
24323
  embedBlock: {
24324
- base: ut["yext-default-richtextv2-theme__embedBlock"],
24325
- focus: ut["yext-default-richtextv2-theme__embedBlockFocus"]
24324
+ base: dt["yext-default-richtextv2-theme__embedBlock"],
24325
+ focus: dt["yext-default-richtextv2-theme__embedBlockFocus"]
24326
24326
  },
24327
- hashtag: ut["yext-default-richtextv2-theme__hashtag"],
24327
+ hashtag: dt["yext-default-richtextv2-theme__hashtag"],
24328
24328
  heading: {
24329
- h1: ut["yext-default-richtextv2-theme__h1"],
24330
- h2: ut["yext-default-richtextv2-theme__h2"],
24331
- h3: ut["yext-default-richtextv2-theme__h3"],
24332
- h4: ut["yext-default-richtextv2-theme__h4"],
24333
- h5: ut["yext-default-richtextv2-theme__h5"],
24334
- h6: ut["yext-default-richtextv2-theme__h6"]
24329
+ h1: dt["yext-default-richtextv2-theme__h1"],
24330
+ h2: dt["yext-default-richtextv2-theme__h2"],
24331
+ h3: dt["yext-default-richtextv2-theme__h3"],
24332
+ h4: dt["yext-default-richtextv2-theme__h4"],
24333
+ h5: dt["yext-default-richtextv2-theme__h5"],
24334
+ h6: dt["yext-default-richtextv2-theme__h6"]
24335
24335
  },
24336
- image: ut["yext-default-richtextv2-theme__image"],
24337
- link: ut["yext-default-richtextv2-theme__link"],
24336
+ image: dt["yext-default-richtextv2-theme__image"],
24337
+ link: dt["yext-default-richtextv2-theme__link"],
24338
24338
  list: {
24339
- listitem: ut["yext-default-richtextv2-theme__listItem"],
24340
- listitemChecked: ut["yext-default-richtextv2-theme__listItemChecked"],
24341
- listitemUnchecked: ut["yext-default-richtextv2-theme__listItemUnchecked"],
24339
+ listitem: dt["yext-default-richtextv2-theme__listItem"],
24340
+ listitemChecked: dt["yext-default-richtextv2-theme__listItemChecked"],
24341
+ listitemUnchecked: dt["yext-default-richtextv2-theme__listItemUnchecked"],
24342
24342
  nested: {
24343
- listitem: ut["yext-default-richtextv2-theme__nestedListItem"]
24343
+ listitem: dt["yext-default-richtextv2-theme__nestedListItem"]
24344
24344
  },
24345
24345
  olDepth: [
24346
- ut["yext-default-richtextv2-theme__ol1"],
24347
- ut["yext-default-richtextv2-theme__ol2"],
24348
- ut["yext-default-richtextv2-theme__ol3"],
24349
- ut["yext-default-richtextv2-theme__ol4"],
24350
- ut["yext-default-richtextv2-theme__ol5"]
24346
+ dt["yext-default-richtextv2-theme__ol1"],
24347
+ dt["yext-default-richtextv2-theme__ol2"],
24348
+ dt["yext-default-richtextv2-theme__ol3"],
24349
+ dt["yext-default-richtextv2-theme__ol4"],
24350
+ dt["yext-default-richtextv2-theme__ol5"]
24351
24351
  ],
24352
24352
  ulDepth: [
24353
- ut["yext-default-richtextv2-theme__ul1"],
24354
- ut["yext-default-richtextv2-theme__ul2"],
24355
- ut["yext-default-richtextv2-theme__ul3"]
24353
+ dt["yext-default-richtextv2-theme__ul1"],
24354
+ dt["yext-default-richtextv2-theme__ul2"],
24355
+ dt["yext-default-richtextv2-theme__ul3"]
24356
24356
  ]
24357
24357
  },
24358
- ltr: ut["yext-default-richtextv2-theme__ltr"],
24359
- mark: ut["yext-default-richtextv2-theme__mark"],
24360
- markOverlap: ut["yext-default-richtextv2-theme__markOverlap"],
24361
- paragraph: ut["yext-default-richtextv2-theme__paragraph"],
24362
- quote: ut["yext-default-richtextv2-theme__quote"],
24363
- rtl: ut["yext-default-richtextv2-theme__rtl"],
24364
- table: ut["yext-default-richtextv2-theme__table"],
24365
- tableCell: ut["yext-default-richtextv2-theme__tableCell"],
24366
- tableCellHeader: ut["yext-default-richtextv2-theme__tableCellHeader"],
24358
+ ltr: dt["yext-default-richtextv2-theme__ltr"],
24359
+ mark: dt["yext-default-richtextv2-theme__mark"],
24360
+ markOverlap: dt["yext-default-richtextv2-theme__markOverlap"],
24361
+ paragraph: dt["yext-default-richtextv2-theme__paragraph"],
24362
+ quote: dt["yext-default-richtextv2-theme__quote"],
24363
+ rtl: dt["yext-default-richtextv2-theme__rtl"],
24364
+ table: dt["yext-default-richtextv2-theme__table"],
24365
+ tableCell: dt["yext-default-richtextv2-theme__tableCell"],
24366
+ tableCellHeader: dt["yext-default-richtextv2-theme__tableCellHeader"],
24367
24367
  text: {
24368
- bold: ut["yext-default-richtextv2-theme__textBold"],
24369
- code: ut["yext-default-richtextv2-theme__textCode"],
24370
- italic: ut["yext-default-richtextv2-theme__textItalic"],
24371
- strikethrough: ut["yext-default-richtextv2-theme__textStrikethrough"],
24372
- subscript: ut["yext-default-richtextv2-theme__textSubscript"],
24373
- superscript: ut["yext-default-richtextv2-theme__textSuperscript"],
24374
- underline: ut["yext-default-richtextv2-theme__textUnderline"],
24375
- underlineStrikethrough: ut["yext-default-richtextv2-theme__textUnderlineStrikethrough"]
24368
+ bold: dt["yext-default-richtextv2-theme__textBold"],
24369
+ code: dt["yext-default-richtextv2-theme__textCode"],
24370
+ italic: dt["yext-default-richtextv2-theme__textItalic"],
24371
+ strikethrough: dt["yext-default-richtextv2-theme__textStrikethrough"],
24372
+ subscript: dt["yext-default-richtextv2-theme__textSubscript"],
24373
+ superscript: dt["yext-default-richtextv2-theme__textSuperscript"],
24374
+ underline: dt["yext-default-richtextv2-theme__textUnderline"],
24375
+ underlineStrikethrough: dt["yext-default-richtextv2-theme__textUnderlineStrikethrough"]
24376
24376
  }
24377
24377
  };
24378
24378
  var Go = {}, Du = {}, ig;
24379
24379
  function JC() {
24380
24380
  if (ig) return Du;
24381
24381
  ig = 1;
24382
- var e = qn(), t = Gt(), n = xn;
24382
+ var e = qn(), t = Gt(), n = Cn;
24383
24383
  function r(d, f) {
24384
24384
  return d.getEditorState().read(() => {
24385
24385
  const p = t.$getNodeByKey(f);
@@ -24416,7 +24416,7 @@ var Au = {}, sg;
24416
24416
  function XC() {
24417
24417
  if (sg) return Au;
24418
24418
  sg = 1;
24419
- var e = qn(), t = Gt(), n = xn;
24419
+ var e = qn(), t = Gt(), n = Cn;
24420
24420
  function r(l, d) {
24421
24421
  return l.getEditorState().read(() => {
24422
24422
  let f = t.$getNodeByKey(d);
@@ -24458,7 +24458,7 @@ var lg;
24458
24458
  function QC() {
24459
24459
  if (lg) return Go;
24460
24460
  lg = 1;
24461
- var e = qn(), t = Hp(), n = gn(), r = Gt(), l = xn;
24461
+ var e = qn(), t = Hp(), n = gn(), r = Gt(), l = Cn;
24462
24462
  const d = r.createCommand("INSERT_HORIZONTAL_RULE_COMMAND");
24463
24463
  function f({
24464
24464
  nodeKey: S
@@ -24544,7 +24544,7 @@ var Yo = {}, ag;
24544
24544
  function eE() {
24545
24545
  if (ag) return Yo;
24546
24546
  ag = 1;
24547
- var e = qn(), t = Hp(), n = gn(), r = Gt(), l = xn;
24547
+ var e = qn(), t = Hp(), n = gn(), r = Gt(), l = Cn;
24548
24548
  let d = r.createCommand("INSERT_HORIZONTAL_RULE_COMMAND");
24549
24549
  function f({ nodeKey: S }) {
24550
24550
  let [w] = e.useLexicalComposerContext(), [M, m, v] = t.useLexicalNodeSelection(S), k = l.useCallback((G) => (M && r.$isNodeSelection(r.$getSelection()) && (G.preventDefault(), G = r.$getNodeByKey(S), E(G) && G.remove()), !1), [M, S]);
@@ -24640,19 +24640,19 @@ const Ru = {
24640
24640
  "editor-inner": "_editor-inner_1mmqo_6",
24641
24641
  "no-border": "_no-border_1mmqo_10"
24642
24642
  };
24643
- function nw({
24643
+ function rw({
24644
24644
  serializedAST: e,
24645
24645
  nodeClassNames: t
24646
24646
  }) {
24647
- return /* @__PURE__ */ ft.jsx(
24647
+ return /* @__PURE__ */ at.jsx(
24648
24648
  IN.LexicalComposer,
24649
24649
  {
24650
24650
  initialConfig: rE(e, t),
24651
- children: /* @__PURE__ */ ft.jsx("div", { className: `${Ru["editor-inner"]} ${Ru["no-border"]}`, children: /* @__PURE__ */ ft.jsxs("div", { className: Ru["editor-inner"], children: [
24652
- /* @__PURE__ */ ft.jsx(
24651
+ children: /* @__PURE__ */ at.jsx("div", { className: `${Ru["editor-inner"]} ${Ru["no-border"]}`, children: /* @__PURE__ */ at.jsxs("div", { className: Ru["editor-inner"], children: [
24652
+ /* @__PURE__ */ at.jsx(
24653
24653
  eC.RichTextPlugin,
24654
24654
  {
24655
- contentEditable: /* @__PURE__ */ ft.jsx(
24655
+ contentEditable: /* @__PURE__ */ at.jsx(
24656
24656
  iC.ContentEditable,
24657
24657
  {
24658
24658
  className: "editor-input",
@@ -24660,15 +24660,15 @@ function nw({
24660
24660
  }
24661
24661
  ),
24662
24662
  ErrorBoundary: cC,
24663
- placeholder: /* @__PURE__ */ ft.jsx("div", {})
24663
+ placeholder: /* @__PURE__ */ at.jsx("div", {})
24664
24664
  }
24665
24665
  ),
24666
- /* @__PURE__ */ ft.jsx(RC, {}),
24667
- /* @__PURE__ */ ft.jsx(pC.ListPlugin, {}),
24668
- /* @__PURE__ */ ft.jsx(EC.LinkPlugin, {}),
24669
- /* @__PURE__ */ ft.jsx(OC.TablePlugin, {}),
24670
- /* @__PURE__ */ ft.jsx(PC, {}),
24671
- /* @__PURE__ */ ft.jsx(GC, { maxDepth: 7 })
24666
+ /* @__PURE__ */ at.jsx(RC, {}),
24667
+ /* @__PURE__ */ at.jsx(pC.ListPlugin, {}),
24668
+ /* @__PURE__ */ at.jsx(EC.LinkPlugin, {}),
24669
+ /* @__PURE__ */ at.jsx(OC.TablePlugin, {}),
24670
+ /* @__PURE__ */ at.jsx(PC, {}),
24671
+ /* @__PURE__ */ at.jsx(GC, { maxDepth: 7 })
24672
24672
  ] }) })
24673
24673
  }
24674
24674
  );
@@ -25100,22 +25100,22 @@ rs.throws = function(e, t, n) {
25100
25100
  typeof t == "function" ? ii(!t(r), !0, !1, "not.throws", !1, "Expected function not to throw matching exception", n) : t instanceof RegExp ? ii(!t.test(r.message), !0, !1, "not.throws", !1, `Expected function not to throw exception matching \`${String(t)}\` pattern`, n) : t || ii(!1, !0, !1, "not.throws", !1, "Expected function not to throw", n);
25101
25101
  }
25102
25102
  };
25103
- const hE = /[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/, rw = Os(/[A-Za-z]/), pg = Os(/[\dA-Za-z]/), iw = Os(/[#-'*+\--9=?A-Z^-~]/);
25104
- function sw(e) {
25103
+ const hE = /[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/, iw = Os(/[A-Za-z]/), pg = Os(/[\dA-Za-z]/), sw = Os(/[#-'*+\--9=?A-Z^-~]/);
25104
+ function ow(e) {
25105
25105
  return (
25106
25106
  // Special whitespace codes (which have negative values), C0 and Control
25107
25107
  // character DEL
25108
25108
  e !== null && (e < 32 || e === 127)
25109
25109
  );
25110
25110
  }
25111
- const ow = Os(/\d/), lw = Os(/[\dA-Fa-f]/), aw = Os(/[!-/:-@[-`{-~]/);
25112
- function cw(e) {
25111
+ const lw = Os(/\d/), aw = Os(/[\dA-Fa-f]/), cw = Os(/[!-/:-@[-`{-~]/);
25112
+ function uw(e) {
25113
25113
  return e !== null && e < -2;
25114
25114
  }
25115
25115
  function gE(e) {
25116
25116
  return e !== null && (e < 0 || e === 32);
25117
25117
  }
25118
- function uw(e) {
25118
+ function dw(e) {
25119
25119
  return e === -2 || e === -1 || e === 32;
25120
25120
  }
25121
25121
  const pE = Os(hE), mE = Os(/\s/);
@@ -25985,7 +25985,7 @@ function Tg(e) {
25985
25985
  return String(e || "").toUpperCase();
25986
25986
  }
25987
25987
  const gc = {}.hasOwnProperty;
25988
- function dw(e, t) {
25988
+ function fw(e, t) {
25989
25989
  const n = t || {}, r = n.allowDangerousHtml || !1, l = {};
25990
25990
  return f.dangerous = r, f.clobberPrefix = n.clobberPrefix === void 0 || n.clobberPrefix === null ? "user-content-" : n.clobberPrefix, f.footnoteLabel = n.footnoteLabel || "Footnotes", f.footnoteLabelTagName = n.footnoteLabelTagName || "h2", f.footnoteLabelProperties = n.footnoteLabelProperties || {
25991
25991
  className: ["sr-only"]
@@ -26090,14 +26090,14 @@ const bT = (e, t) => e(t, "i", ss(e, t)), LT = (e, t) => e(t, "b", ss(e, t)), IT
26090
26090
  strikethrough: kT,
26091
26091
  subscript: PT,
26092
26092
  superscript: $T
26093
- }, fw = (e) => {
26093
+ }, hw = (e) => {
26094
26094
  const [t, n] = Nr();
26095
26095
  let r;
26096
26096
  return tr(() => {
26097
26097
  (async () => {
26098
26098
  if (!r)
26099
26099
  try {
26100
- r = (await import("./index-BqwUybQE.js")).default;
26100
+ r = (await import("./index-Ck_jvPcD.js")).default;
26101
26101
  } catch {
26102
26102
  throw new Error(
26103
26103
  "Failed to import React Markdown, cannot properly render LegacyRichText."
@@ -31741,13 +31741,13 @@ function ma(e) {
31741
31741
  return !e.futureInterval;
31742
31742
  }
31743
31743
  function zv(e) {
31744
- return pa(e) ? /* @__PURE__ */ ft.jsx("span", { className: "HoursStatus-current", children: "Open 24 Hours" }) : ma(e) ? /* @__PURE__ */ ft.jsx("span", { className: "HoursStatus-current", children: "Temporarily Closed" }) : /* @__PURE__ */ ft.jsx("span", { className: "HoursStatus-current", children: e.isOpen ? "Open Now" : "Closed" });
31744
+ return pa(e) ? /* @__PURE__ */ at.jsx("span", { className: "HoursStatus-current", children: "Open 24 Hours" }) : ma(e) ? /* @__PURE__ */ at.jsx("span", { className: "HoursStatus-current", children: "Temporarily Closed" }) : /* @__PURE__ */ at.jsx("span", { className: "HoursStatus-current", children: e.isOpen ? "Open Now" : "Closed" });
31745
31745
  }
31746
31746
  function Uv(e) {
31747
- return pa(e) || ma(e) ? null : /* @__PURE__ */ ft.jsx("span", { className: "HoursStatus-separator", children: " • " });
31747
+ return pa(e) || ma(e) ? null : /* @__PURE__ */ at.jsx("span", { className: "HoursStatus-separator", children: " • " });
31748
31748
  }
31749
31749
  function Gv(e) {
31750
- return pa(e) || ma(e) ? null : /* @__PURE__ */ ft.jsx("span", { className: "HoursStatus-future", children: e.isOpen ? "Closes at" : "Opens at" });
31750
+ return pa(e) || ma(e) ? null : /* @__PURE__ */ at.jsx("span", { className: "HoursStatus-future", children: e.isOpen ? "Closes at" : "Opens at" });
31751
31751
  }
31752
31752
  function Yv(e) {
31753
31753
  if (pa(e) || ma(e))
@@ -31760,7 +31760,7 @@ function Yv(e) {
31760
31760
  const n = e.futureInterval;
31761
31761
  t += n ? n.getStartTime("en-US", e.timeOptions) : "";
31762
31762
  }
31763
- return /* @__PURE__ */ ft.jsxs("span", { className: "HoursStatus-time", children: [
31763
+ return /* @__PURE__ */ at.jsxs("span", { className: "HoursStatus-time", children: [
31764
31764
  " ",
31765
31765
  t
31766
31766
  ] });
@@ -31781,14 +31781,14 @@ function Vv(e) {
31781
31781
  const d = e.futureInterval;
31782
31782
  n += ((l = d == null ? void 0 : d.start) == null ? void 0 : l.setLocale("en-US").toLocaleString(t)) || "";
31783
31783
  }
31784
- return /* @__PURE__ */ ft.jsxs("span", { className: "HoursStatus-dayOfWeek", children: [
31784
+ return /* @__PURE__ */ at.jsxs("span", { className: "HoursStatus-dayOfWeek", children: [
31785
31785
  " ",
31786
31786
  n
31787
31787
  ] });
31788
31788
  }
31789
31789
  function jv(e, t) {
31790
31790
  const n = e.currentTemplate || zv, r = e.separatorTemplate || Uv, l = e.futureTemplate || Gv, d = e.timeTemplate || Yv, f = e.dayOfWeekTemplate || Vv;
31791
- return /* @__PURE__ */ ft.jsxs("div", { className: oa("HoursStatus", (t == null ? void 0 : t.className) || ""), children: [
31791
+ return /* @__PURE__ */ at.jsxs("div", { className: oa("HoursStatus", (t == null ? void 0 : t.className) || ""), children: [
31792
31792
  n(e),
31793
31793
  r(e),
31794
31794
  l(e),
@@ -31796,7 +31796,7 @@ function jv(e, t) {
31796
31796
  f(e)
31797
31797
  ] });
31798
31798
  }
31799
- const hw = (e) => {
31799
+ const qv = { minHeight: `${1.5}em` }, gw = (e) => {
31800
31800
  const [t, n] = Nr(!1), [r, l] = Nr(!1);
31801
31801
  tr(() => {
31802
31802
  l(!0);
@@ -31813,9 +31813,9 @@ const hw = (e) => {
31813
31813
  futureInterval: T,
31814
31814
  ...e
31815
31815
  };
31816
- return /* @__PURE__ */ ft.jsx(ft.Fragment, { children: r && d(S, e) });
31816
+ return /* @__PURE__ */ at.jsx(at.Fragment, { children: r ? d(S, e) : /* @__PURE__ */ at.jsx("div", { style: qv }) });
31817
31817
  };
31818
- function qv(e, t) {
31818
+ function Zv(e, t) {
31819
31819
  const n = [];
31820
31820
  return e.forEach((r) => {
31821
31821
  const l = n[n.length - 1];
@@ -31833,14 +31833,14 @@ function qv(e, t) {
31833
31833
  };
31834
31834
  });
31835
31835
  }
31836
- function Zv(e, t) {
31836
+ function Jv(e, t) {
31837
31837
  const n = [], r = e.intervals.length > 0 && e.intervals[0].is24h();
31838
31838
  return e.intervals.length === 0 ? n.push("Closed") : r ? n.push("Open 24 hours") : e.intervals.forEach((l) => {
31839
31839
  const d = l.getStartTime("en-US", t), f = l.getEndTime("en-US", t);
31840
31840
  n.push(`${d} - ${f}`);
31841
31841
  }), n;
31842
31842
  }
31843
- function Jv(e, t, n) {
31843
+ function Xv(e, t, n) {
31844
31844
  const r = [];
31845
31845
  for (let l = 1; l <= 7; l++) {
31846
31846
  const d = wt.fromObject({ weekday: l }), f = bd(d);
@@ -31854,7 +31854,7 @@ function Jv(e, t, n) {
31854
31854
  }
31855
31855
  return r;
31856
31856
  }
31857
- const gw = (e) => {
31857
+ const pw = (e) => {
31858
31858
  const [t, n] = Nr(!1);
31859
31859
  tr(() => {
31860
31860
  n(!0);
@@ -31863,9 +31863,9 @@ const gw = (e) => {
31863
31863
  e.hours,
31864
31864
  Intl.DateTimeFormat().resolvedOptions().timeZone
31865
31865
  ), l = wt.now(), d = r.getIntervalsForNDays(7, l);
31866
- let f = Jv(d, l, e.dayOfWeekNames);
31867
- function p(E) {
31868
- return E ? {
31866
+ let f = Xv(d, l, e.dayOfWeekNames);
31867
+ function p(S) {
31868
+ return S ? {
31869
31869
  today: bd(l),
31870
31870
  monday: an.Monday,
31871
31871
  tuesday: an.Tuesday,
@@ -31874,7 +31874,7 @@ const gw = (e) => {
31874
31874
  friday: an.Friday,
31875
31875
  saturday: an.Saturday,
31876
31876
  sunday: an.Sunday
31877
- }[E] : an.Sunday;
31877
+ }[S] : an.Sunday;
31878
31878
  }
31879
31879
  let _ = [
31880
31880
  an.Sunday,
@@ -31888,32 +31888,37 @@ const gw = (e) => {
31888
31888
  const T = _.indexOf(
31889
31889
  p(e.startOfWeek)
31890
31890
  );
31891
- return _ = Wv(_, 7 - T), f.sort(
31892
- (E, S) => _.indexOf(E.startDay) - _.indexOf(S.startDay)
31893
- ), e.collapseDays && (f = qv(f, e.dayOfWeekNames)), /* @__PURE__ */ ft.jsx(ft.Fragment, { children: t && /* @__PURE__ */ ft.jsx("div", { className: oa("HoursTable", e.className), children: f.map((E) => {
31894
- const w = (e.intervalStringsBuilderFn || Zv)(
31895
- E,
31891
+ _ = Wv(_, 7 - T), f.sort(
31892
+ (S, w) => _.indexOf(S.startDay) - _.indexOf(w.startDay)
31893
+ ), e.collapseDays && (f = Zv(f, e.dayOfWeekNames));
31894
+ const E = Cn.useMemo(
31895
+ () => ({ minHeight: `${f.length * 1.5}em` }),
31896
+ [f.length]
31897
+ );
31898
+ return /* @__PURE__ */ at.jsx(at.Fragment, { children: t ? /* @__PURE__ */ at.jsx("div", { className: oa("HoursTable", e.className), children: f.map((S) => {
31899
+ const M = (e.intervalStringsBuilderFn || Jv)(
31900
+ S,
31896
31901
  e.timeOptions
31897
31902
  );
31898
- return /* @__PURE__ */ ft.jsxs(
31903
+ return /* @__PURE__ */ at.jsxs(
31899
31904
  "div",
31900
31905
  {
31901
- className: oa("HoursTable-row", { "is-today": E.isToday }),
31906
+ className: oa("HoursTable-row", { "is-today": S.isToday }),
31902
31907
  children: [
31903
- /* @__PURE__ */ ft.jsx("span", { className: "HoursTable-day", children: E.dayName }),
31904
- /* @__PURE__ */ ft.jsx("span", { className: "HoursTable-intervals", children: w.map((M, m) => /* @__PURE__ */ ft.jsx("span", { className: "HoursTable-interval", children: M }, m)) })
31908
+ /* @__PURE__ */ at.jsx("span", { className: "HoursTable-day", children: S.dayName }),
31909
+ /* @__PURE__ */ at.jsx("span", { className: "HoursTable-intervals", children: M.map((m, v) => /* @__PURE__ */ at.jsx("span", { className: "HoursTable-interval", children: m }, v)) })
31905
31910
  ]
31906
31911
  },
31907
- E.dayName
31912
+ S.dayName
31908
31913
  );
31909
- }) }) });
31910
- }, pw = (e) => `<script type="application/ld+json">
31914
+ }) }) : /* @__PURE__ */ at.jsx("div", { style: E }) });
31915
+ }, mw = (e) => `<script type="application/ld+json">
31911
31916
  ${JSON.stringify(e)}
31912
31917
  <\/script>`, Ld = (e, t) => ({
31913
31918
  "@context": "https://schema.org",
31914
31919
  "@type": t,
31915
31920
  name: e.name
31916
- }), Xv = (e) => typeof e != "object" ? !1 : "name" in e || "address" in e, Qv = (e) => typeof e != "object" ? !1 : "line1" in e || "city" in e || "region" in e || "postalCode" in e || "countryCode" in e, t_ = (e) => Qv(e) && {
31921
+ }), Qv = (e) => typeof e != "object" ? !1 : "name" in e || "address" in e, eS = (e) => typeof e != "object" ? !1 : "line1" in e || "city" in e || "region" in e || "postalCode" in e || "countryCode" in e, t_ = (e) => eS(e) && {
31917
31922
  address: {
31918
31923
  "@type": "PostalAddress",
31919
31924
  streetAddress: e.line1,
@@ -31922,7 +31927,7 @@ const gw = (e) => {
31922
31927
  postalCode: e.postalCode,
31923
31928
  addressCountry: e.countryCode
31924
31929
  }
31925
- }, eS = (e) => Xv(e) && {
31930
+ }, tS = (e) => Qv(e) && {
31926
31931
  "@type": "Place",
31927
31932
  name: e.name,
31928
31933
  ...t_(e.address)
@@ -31935,20 +31940,20 @@ const gw = (e) => {
31935
31940
  return {
31936
31941
  image: t
31937
31942
  };
31938
- }, mw = (e) => n_(e) && {
31943
+ }, _w = (e) => n_(e) && {
31939
31944
  image: e.image.url
31940
- }, tS = (e) => typeof e != "object" ? !1 : "url" in e || "name" in e, nS = (e) => Array.isArray(e), rS = (e) => nS(e) && {
31945
+ }, nS = (e) => typeof e != "object" ? !1 : "url" in e || "name" in e, rS = (e) => Array.isArray(e), iS = (e) => rS(e) && {
31941
31946
  performer: {
31942
31947
  "@type": "PerformingGroup",
31943
31948
  name: e.join(" and ")
31944
31949
  }
31945
- }, iS = (e) => tS(e) && {
31950
+ }, sS = (e) => nS(e) && {
31946
31951
  organizer: {
31947
31952
  "@type": "Organization",
31948
31953
  name: e.name,
31949
31954
  url: e.url
31950
31955
  }
31951
- }, sS = (e) => typeof e != "object" ? !1 : "url" in e || "priceCurrency" in e || "price" in e || "priceValidUntil" in e || "itemCondition" in e || "availability" in e, r_ = (e) => sS(e) && {
31956
+ }, oS = (e) => typeof e != "object" ? !1 : "url" in e || "priceCurrency" in e || "price" in e || "priceValidUntil" in e || "itemCondition" in e || "availability" in e, r_ = (e) => oS(e) && {
31952
31957
  offers: {
31953
31958
  "@type": "Offer",
31954
31959
  url: e.url,
@@ -31958,10 +31963,10 @@ const gw = (e) => {
31958
31963
  itemCondition: e.itemCondition,
31959
31964
  availability: e.availability
31960
31965
  }
31961
- }, _w = (e, t) => ({
31966
+ }, yw = (e, t) => ({
31962
31967
  ...Ld(e, t ?? "Event"),
31963
31968
  ...Id(e.photoGallery),
31964
- ...eS({
31969
+ ...tS({
31965
31970
  name: e.geomodifier,
31966
31971
  address: e.address
31967
31972
  }),
@@ -31970,8 +31975,8 @@ const gw = (e) => {
31970
31975
  description: e.description,
31971
31976
  eventAttendanceMode: e.attendance,
31972
31977
  eventStatus: e.eventStatus,
31973
- ...rS(e.performers),
31974
- ...iS({
31978
+ ...iS(e.performers),
31979
+ ...sS({
31975
31980
  name: e.organizerName
31976
31981
  }),
31977
31982
  ...r_({
@@ -31982,8 +31987,8 @@ const gw = (e) => {
31982
31987
  itemCondition: e.stockStatus,
31983
31988
  availability: e.availabilityDate
31984
31989
  })
31985
- }), oS = (e) => typeof e != "object" ? !1 : "monday" in e || "tuesday" in e || "wednesday" in e || "thursday" in e || "friday" in e || "saturday" in e || "sunday" in e, lS = (e) => typeof e == "object" && "isClosed" in e && Array.isArray(e.openIntervals) ? e.openIntervals.length === 0 ? !0 : e.openIntervals.every((t) => typeof t == "object" && "start" in t && "end" in t) : !1, aS = (e) => {
31986
- if (!oS(e))
31990
+ }), lS = (e) => typeof e != "object" ? !1 : "monday" in e || "tuesday" in e || "wednesday" in e || "thursday" in e || "friday" in e || "saturday" in e || "sunday" in e, aS = (e) => typeof e == "object" && "isClosed" in e && Array.isArray(e.openIntervals) ? e.openIntervals.length === 0 ? !0 : e.openIntervals.every((t) => typeof t == "object" && "start" in t && "end" in t) : !1, cS = (e) => {
31991
+ if (!lS(e))
31987
31992
  return {};
31988
31993
  let t = /* @__PURE__ */ new Map();
31989
31994
  t = no(e.monday, t, "Mo"), t = no(e.tuesday, t, "Tu"), t = no(e.wednesday, t, "We"), t = no(e.thursday, t, "Th"), t = no(e.friday, t, "Fr"), t = no(e.saturday, t, "Sa"), t = no(e.sunday, t, "Su");
@@ -31996,7 +32001,7 @@ const gw = (e) => {
31996
32001
  openingHours: n
31997
32002
  };
31998
32003
  }, no = (e, t, n) => {
31999
- if (!lS(e) || e.isClosed) {
32004
+ if (!aS(e) || e.isClosed) {
32000
32005
  const r = "00:00-00:00", l = t.get(r) ?? [];
32001
32006
  return l.push(n), t.set(r, l), t;
32002
32007
  }
@@ -32005,16 +32010,16 @@ const gw = (e) => {
32005
32010
  d.push(n), t.set(l, d);
32006
32011
  }
32007
32012
  return t;
32008
- }, yw = (e, t) => ({
32013
+ }, Nw = (e, t) => ({
32009
32014
  ...Ld(e, t ?? "LocalBusiness"),
32010
32015
  // default, if schemaType is nil, set to LocalBusiness
32011
32016
  ...t_(e.address),
32012
- ...aS(e.hours),
32017
+ ...cS(e.hours),
32013
32018
  ...Id(e.photoGallery),
32014
32019
  description: e.description,
32015
32020
  telephone: e.mainPhone,
32016
32021
  email: e.email
32017
- }), cS = (e) => typeof e != "object" ? !1 : "ratingValue" in e || "bestRating" in e || "author" in e, uS = (e) => typeof e != "object" ? !1 : "ratingValue" in e || "reviewCount" in e, dS = (e) => cS(e) && {
32022
+ }), uS = (e) => typeof e != "object" ? !1 : "ratingValue" in e || "bestRating" in e || "author" in e, dS = (e) => typeof e != "object" ? !1 : "ratingValue" in e || "reviewCount" in e, fS = (e) => uS(e) && {
32018
32023
  review: {
32019
32024
  "@type": "Review",
32020
32025
  reviewRating: {
@@ -32027,17 +32032,17 @@ const gw = (e) => {
32027
32032
  name: e.author
32028
32033
  }
32029
32034
  }
32030
- }, fS = (e) => uS(e) ? {
32035
+ }, hS = (e) => dS(e) ? {
32031
32036
  aggregateRating: {
32032
32037
  "@type": "AggregateRating",
32033
32038
  ratingValue: e.ratingValue,
32034
32039
  reviewCount: e.reviewCount
32035
32040
  }
32036
- } : void 0, Nw = (e, t) => ({
32041
+ } : void 0, Cw = (e, t) => ({
32037
32042
  ...Ld(e, t ?? "Product"),
32038
32043
  ...Id(e.photoGallery),
32039
- ...dS(e.c_reviews),
32040
- ...fS(e.c_aggregateRating),
32044
+ ...fS(e.c_reviews),
32045
+ ...hS(e.c_aggregateRating),
32041
32046
  ...r_({
32042
32047
  url: "",
32043
32048
  priceCurrency: e.c_currency,
@@ -32053,7 +32058,7 @@ const gw = (e) => {
32053
32058
  "@type": "Brand",
32054
32059
  name: e.brand
32055
32060
  }
32056
- }), hS = (e) => typeof e != "object" ? !1 : "question" in e && "answer" in e, gS = (e) => typeof e != "object" ? !1 : "question" in e && "answerV2" in e ? "json" in e.answerV2 && typeof e.answerV2.json == "object" : !1;
32061
+ }), gS = (e) => typeof e != "object" ? !1 : "question" in e && "answer" in e, pS = (e) => typeof e != "object" ? !1 : "question" in e && "answerV2" in e ? "json" in e.answerV2 && typeof e.answerV2.json == "object" : !1;
32057
32062
  function rd(e, t) {
32058
32063
  for (const n in e)
32059
32064
  if (typeof e[n] == "object")
@@ -32065,33 +32070,33 @@ function rd(e, t) {
32065
32070
  else
32066
32071
  n === "text" && t.push(e[n]);
32067
32072
  }
32068
- function pS(e) {
32073
+ function mS(e) {
32069
32074
  if (e.json) {
32070
32075
  const t = [];
32071
32076
  return rd(e.json, t), t.join("");
32072
32077
  }
32073
32078
  return "";
32074
32079
  }
32075
- const Cw = (e) => ({
32080
+ const Ew = (e) => ({
32076
32081
  "@context": "http://www.schema.org",
32077
32082
  "@type": "FAQPage",
32078
32083
  mainEntity: e.map((t) => {
32079
- if (hS(t) || gS(t))
32084
+ if (gS(t) || pS(t))
32080
32085
  return {
32081
32086
  "@type": "Question",
32082
32087
  name: t.question,
32083
32088
  acceptedAnswer: {
32084
32089
  "@type": "Answer",
32085
- text: "answer" in t ? t.answer : pS(t.answerV2)
32090
+ text: "answer" in t ? t.answer : mS(t.answerV2)
32086
32091
  }
32087
32092
  };
32088
32093
  })
32089
- }), id = Math.log2(1.6745627884839434), mS = 4, _S = 19, sd = "js-baidu-neg-lng-fix";
32094
+ }), id = Math.log2(1.6745627884839434), _S = 4, yS = 19, sd = "js-baidu-neg-lng-fix";
32090
32095
  let i_;
32091
- const yS = new Promise((e) => i_ = e), NS = "https://api.map.baidu.com/geoconv/v1/";
32096
+ const NS = new Promise((e) => i_ = e), CS = "https://api.map.baidu.com/geoconv/v1/";
32092
32097
  let Xl = [];
32093
- const CS = "gcj02ToBD09Callback_b872c21c";
32094
- let ES = 0, Qg;
32098
+ const ES = "gcj02ToBD09Callback_b872c21c";
32099
+ let TS = 0, Qg;
32095
32100
  async function s_(e) {
32096
32101
  return await new Promise((t, n) => {
32097
32102
  Xl.push({ coordinates: e, resolve: t, reject: n }), Xl.length === 1 && (Qg = setTimeout(r, 100)), Xl.length > 40 && (clearTimeout(Qg), r());
@@ -32100,7 +32105,7 @@ async function s_(e) {
32100
32105
  Xl = [];
32101
32106
  const d = [].concat(
32102
32107
  ...l.map((_) => _.coordinates)
32103
- ), f = CS + "_" + ES++, p = document.createElement("script");
32108
+ ), f = ES + "_" + TS++, p = document.createElement("script");
32104
32109
  window[f] = (_) => {
32105
32110
  var S;
32106
32111
  if (_.status) {
@@ -32121,7 +32126,7 @@ async function s_(e) {
32121
32126
  )
32122
32127
  );
32123
32128
  }), delete window[f], (S = p.parentNode) == null || S.removeChild(p);
32124
- }, yS.then((_) => {
32129
+ }, NS.then((_) => {
32125
32130
  const T = {
32126
32131
  ak: _,
32127
32132
  callback: f,
@@ -32131,12 +32136,12 @@ async function s_(e) {
32131
32136
  from: 3,
32132
32137
  to: 5
32133
32138
  };
32134
- p.src = NS + "?" + Object.entries(T).map(([E, S]) => E + "=" + S).join("&"), document.head.appendChild(p);
32139
+ p.src = CS + "?" + Object.entries(T).map(([E, S]) => E + "=" + S).join("&"), document.head.appendChild(p);
32135
32140
  });
32136
32141
  }
32137
32142
  });
32138
32143
  }
32139
- class TS extends nl {
32144
+ class xS extends nl {
32140
32145
  constructor(n) {
32141
32146
  super(n);
32142
32147
  Ie(this, "_wrapper");
@@ -32200,7 +32205,7 @@ class TS extends nl {
32200
32205
  });
32201
32206
  }
32202
32207
  }
32203
- class xS extends rl {
32208
+ class vS extends rl {
32204
32209
  constructor(n) {
32205
32210
  super(n);
32206
32211
  Ie(this, "_wrapper");
@@ -32280,8 +32285,8 @@ class xS extends rl {
32280
32285
  return `${this._originalWrapperClass} ${this._negativeLngFix ? sd : ""} ${this._wrapperClass}`;
32281
32286
  }
32282
32287
  }
32283
- const vS = "https://api.map.baidu.com/getscript";
32284
- function SS(e, t, n, { params: r = {}, version: l = "3.0" } = {}) {
32288
+ const SS = "https://api.map.baidu.com/getscript";
32289
+ function wS(e, t, n, { params: r = {}, version: l = "3.0" } = {}) {
32285
32290
  window.BMAP_PROTOCOL = "https", window.BMap_loadScriptTime = (/* @__PURE__ */ new Date()).getTime();
32286
32291
  const d = n, f = {
32287
32292
  ak: d,
@@ -32290,18 +32295,18 @@ function SS(e, t, n, { params: r = {}, version: l = "3.0" } = {}) {
32290
32295
  };
32291
32296
  i_(d);
32292
32297
  const p = document.createElement("script");
32293
- p.src = vS + "?" + Object.entries(f).map(([E, S]) => E + "=" + S).join("&"), p.onload = () => e(), document.head.appendChild(p);
32298
+ p.src = SS + "?" + Object.entries(f).map(([E, S]) => E + "=" + S).join("&"), p.onload = () => e(), document.head.appendChild(p);
32294
32299
  let _ = "";
32295
- for (let E = mS; E <= _S; E++) {
32300
+ for (let E = _S; E <= yS; E++) {
32296
32301
  const S = 2 ** (E - id + 7);
32297
32302
  _ += `[data-baidu-zoom="${E}"] .${sd}{transform:translateX(-${S}px);}`;
32298
32303
  }
32299
32304
  const T = document.createElement("style");
32300
32305
  T.appendChild(document.createTextNode(_)), document.head.appendChild(T);
32301
32306
  }
32302
- const Ew = new uo().withLoadFunction(SS).withMapClass(TS).withPinClass(xS).withProviderName("Baidu").build();
32307
+ const Tw = new uo().withLoadFunction(wS).withMapClass(xS).withPinClass(vS).withProviderName("Baidu").build();
32303
32308
  let o_;
32304
- function wS() {
32309
+ function OS() {
32305
32310
  class e extends Microsoft.Maps.CustomOverlay {
32306
32311
  constructor() {
32307
32312
  super({ beneathLabels: !1 });
@@ -32346,7 +32351,7 @@ function wS() {
32346
32351
  }
32347
32352
  o_ = e;
32348
32353
  }
32349
- class OS extends nl {
32354
+ class DS extends nl {
32350
32355
  constructor(n) {
32351
32356
  super(n);
32352
32357
  Ie(this, "wrapper");
@@ -32437,10 +32442,10 @@ class l_ extends rl {
32437
32442
  }
32438
32443
  }
32439
32444
  Ie(l_, "_pinId");
32440
- const ep = "BingMapsCallback_593d7d33", DS = "https://www.bing.com/api/maps/mapcontrol";
32441
- function AS(e, t, n, { params: r = {} } = {}) {
32445
+ const ep = "BingMapsCallback_593d7d33", AS = "https://www.bing.com/api/maps/mapcontrol";
32446
+ function MS(e, t, n, { params: r = {} } = {}) {
32442
32447
  window[ep] = () => {
32443
- wS(), e();
32448
+ OS(), e();
32444
32449
  };
32445
32450
  const l = {
32446
32451
  callback: ep,
@@ -32448,11 +32453,11 @@ function AS(e, t, n, { params: r = {} } = {}) {
32448
32453
  ...r
32449
32454
  };
32450
32455
  dp(
32451
- DS + "?" + Object.entries(l).map(([d, f]) => d + "=" + f).join("&")
32456
+ AS + "?" + Object.entries(l).map(([d, f]) => d + "=" + f).join("&")
32452
32457
  );
32453
32458
  }
32454
- const Tw = new uo().withLoadFunction(AS).withMapClass(OS).withPinClass(l_).withProviderName("Bing").build();
32455
- class MS extends nl {
32459
+ const xw = new uo().withLoadFunction(MS).withMapClass(DS).withPinClass(l_).withProviderName("Bing").build();
32460
+ class RS extends nl {
32456
32461
  constructor(n) {
32457
32462
  var r, l, d;
32458
32463
  super(n);
@@ -32511,7 +32516,7 @@ class MS extends nl {
32511
32516
  this.map && this.map[l ? "easeTo" : "jumpTo"]({ center: d, zoom: n - 1 });
32512
32517
  }
32513
32518
  }
32514
- class RS extends rl {
32519
+ class bS extends rl {
32515
32520
  constructor(n) {
32516
32521
  super(n);
32517
32522
  Ie(this, "pin");
@@ -32541,7 +32546,7 @@ class RS extends rl {
32541
32546
  (d = this.pin) == null || d.remove();
32542
32547
  }
32543
32548
  }
32544
- function bS(e, t, n, { version: r = "v1.13.0" } = {}) {
32549
+ function LS(e, t, n, { version: r = "v1.13.0" } = {}) {
32545
32550
  const l = `https://api.mapbox.com/mapbox-gl-js/${r}/mapbox-gl`, d = document.createElement("link");
32546
32551
  d.rel = "stylesheet", d.href = l + ".css";
32547
32552
  const f = document.createElement("script");
@@ -32549,7 +32554,7 @@ function bS(e, t, n, { version: r = "v1.13.0" } = {}) {
32549
32554
  mapboxgl.accessToken = n, e();
32550
32555
  }, document.head.appendChild(d), document.head.appendChild(f);
32551
32556
  }
32552
- const xw = new uo().withLoadFunction(bS).withMapClass(MS).withPinClass(RS).withProviderName("Mapbox").build();
32557
+ const vw = new uo().withLoadFunction(LS).withMapClass(RS).withPinClass(bS).withProviderName("Mapbox").build();
32553
32558
  var ao;
32554
32559
  let a_ = (ao = class extends nl {
32555
32560
  constructor(n) {
@@ -32611,7 +32616,7 @@ let a_ = (ao = class extends nl {
32611
32616
  };
32612
32617
  d.accessToken = ao.apiKey, this.map && L.tileLayer(l, d).addTo(this.map);
32613
32618
  }
32614
- }, Ie(ao, "apiKey"), ao), LS = class extends ad {
32619
+ }, Ie(ao, "apiKey"), ao), IS = class extends ad {
32615
32620
  constructor(n) {
32616
32621
  super(n);
32617
32622
  Ie(this, "pin");
@@ -32649,7 +32654,7 @@ let a_ = (ao = class extends nl {
32649
32654
  ), this.pin.setZIndexOffset(n.getZIndex());
32650
32655
  }
32651
32656
  };
32652
- function IS(e, t, n, { version: r = "1.7.1" } = {}) {
32657
+ function kS(e, t, n, { version: r = "1.7.1" } = {}) {
32653
32658
  const l = `https://unpkg.com/leaflet@${r}/dist/leaflet`;
32654
32659
  a_.apiKey = n;
32655
32660
  const d = document.createElement("link");
@@ -32657,8 +32662,8 @@ function IS(e, t, n, { version: r = "1.7.1" } = {}) {
32657
32662
  const f = document.createElement("script");
32658
32663
  f.src = l + ".js", f.onload = () => e(), document.head.appendChild(d), document.head.appendChild(f);
32659
32664
  }
32660
- const c_ = new uo().withLoadFunction(IS).withMapClass(a_).withPinClass(LS).withProviderName("Leaflet").build(), kS = c_.getMapClass(), PS = c_.getPinClass();
32661
- class $S extends kS {
32665
+ const c_ = new uo().withLoadFunction(kS).withMapClass(a_).withPinClass(IS).withProviderName("Leaflet").build(), PS = c_.getMapClass(), $S = c_.getPinClass();
32666
+ class FS extends PS {
32662
32667
  constructor() {
32663
32668
  super(...arguments);
32664
32669
  Ie(this, "map");
@@ -32680,9 +32685,9 @@ class $S extends kS {
32680
32685
  });
32681
32686
  }
32682
32687
  }
32683
- class FS extends PS {
32688
+ class BS extends $S {
32684
32689
  }
32685
- function BS(e, t, n, { version: r = "v1.3.2" } = {}) {
32690
+ function HS(e, t, n, { version: r = "v1.3.2" } = {}) {
32686
32691
  const l = `https://api.mqcdn.com/sdk/mapquest-js/${r}/mapquest-maps`, d = document.createElement("link");
32687
32692
  d.rel = "stylesheet", d.href = l + ".css";
32688
32693
  const f = document.createElement("script");
@@ -32690,78 +32695,78 @@ function BS(e, t, n, { version: r = "v1.3.2" } = {}) {
32690
32695
  L.mapquest.key = n, e();
32691
32696
  }, document.head.appendChild(d), document.head.appendChild(f);
32692
32697
  }
32693
- const Sw = new uo().withLoadFunction(BS).withMapClass($S).withPinClass(FS).withProviderName("MapQuest").build();
32698
+ const ww = new uo().withLoadFunction(HS).withMapClass(FS).withPinClass(BS).withProviderName("MapQuest").build();
32694
32699
  export {
32695
- yw as $,
32696
- US as A,
32697
- VS as B,
32698
- jS as C,
32699
- qS as D,
32700
- GS as E,
32700
+ Nw as $,
32701
+ GS as A,
32702
+ jS as B,
32703
+ qS as C,
32704
+ ZS as D,
32705
+ YS as E,
32701
32706
  Uu as F,
32702
32707
  ap as G,
32703
- YS as H,
32704
- ZS as I,
32708
+ VS as H,
32709
+ JS as I,
32705
32710
  so as J,
32706
32711
  cN as K,
32707
32712
  ny as L,
32708
32713
  cf as M,
32709
32714
  xN as N,
32710
- XS as O,
32715
+ QS as O,
32711
32716
  mp as P,
32712
- ew as Q,
32713
- QS as R,
32714
- tw as S,
32715
- nw as T,
32716
- fw as U,
32717
- hw as V,
32718
- gw as W,
32717
+ tw as Q,
32718
+ ew as R,
32719
+ nw as S,
32720
+ rw as T,
32721
+ hw as U,
32722
+ gw as V,
32723
+ pw as W,
32719
32724
  an as X,
32720
- pw as Y,
32725
+ mw as Y,
32721
32726
  Ld as Z,
32722
- _w as _,
32723
- dw as a,
32724
- Nw as a0,
32725
- Cw as a1,
32727
+ yw as _,
32728
+ fw as a,
32729
+ Cw as a0,
32730
+ Ew as a1,
32726
32731
  t_ as a2,
32727
- eS as a3,
32728
- aS as a4,
32732
+ tS as a3,
32733
+ cS as a4,
32729
32734
  r_ as a5,
32730
- rS as a6,
32731
- iS as a7,
32735
+ iS as a6,
32736
+ sS as a7,
32732
32737
  Id as a8,
32733
- mw as a9,
32734
- dS as aa,
32735
- fS as ab,
32736
- Ew as ac,
32737
- Tw as ad,
32738
+ _w as a9,
32739
+ fS as aa,
32740
+ hS as ab,
32741
+ Tw as ac,
32742
+ xw as ad,
32738
32743
  CN as ae,
32739
- xw as af,
32744
+ vw as af,
32740
32745
  c_ as ag,
32741
- Sw as ah,
32746
+ ww as ah,
32742
32747
  fn as ai,
32743
32748
  rp as b,
32744
32749
  oa as c,
32745
- cw as d,
32750
+ uw as d,
32746
32751
  fc as e,
32747
- rw as f,
32752
+ iw as f,
32748
32753
  sa as g,
32749
32754
  pg as h,
32750
- sw as i,
32751
- ft as j,
32752
- iw as k,
32753
- aw as l,
32754
- uw as m,
32755
+ ow as i,
32756
+ at as j,
32757
+ sw as k,
32758
+ cw as l,
32759
+ dw as m,
32755
32760
  ua as n,
32756
- lw as o,
32761
+ aw as o,
32757
32762
  Zl as p,
32758
- ow as q,
32763
+ lw as q,
32759
32764
  yE as r,
32760
32765
  _d as s,
32761
32766
  gE as t,
32762
32767
  iE as u,
32763
32768
  Xp as v,
32764
- zS as w,
32769
+ US as w,
32765
32770
  zy as x,
32766
32771
  lp as y,
32767
32772
  ca as z