@ebl-vue/editorjs 2.31.21 → 2.31.28

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.
package/dist/editorjs.mjs CHANGED
@@ -3,7 +3,7 @@ var Ce = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
3
3
  function Ke(n) {
4
4
  return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
5
5
  }
6
- function Vn(n) {
6
+ function Xn(n) {
7
7
  if (n.__esModule)
8
8
  return n;
9
9
  var e = n.default;
@@ -77,7 +77,7 @@ window.requestIdleCallback = window.requestIdleCallback || function(n) {
77
77
  window.cancelIdleCallback = window.cancelIdleCallback || function(n) {
78
78
  clearTimeout(n);
79
79
  };
80
- let Xn = (n = 21) => crypto.getRandomValues(new Uint8Array(n)).reduce((e, t) => (t &= 63, t < 36 ? e += t.toString(36) : t < 62 ? e += (t - 26).toString(36).toUpperCase() : t > 62 ? e += "-" : e += "_", e), "");
80
+ let qn = (n = 21) => crypto.getRandomValues(new Uint8Array(n)).reduce((e, t) => (t &= 63, t < 36 ? e += t.toString(36) : t < 62 ? e += (t - 26).toString(36).toUpperCase() : t > 62 ? e += "-" : e += "_", e), "");
81
81
  var Ao = /* @__PURE__ */ ((n) => (n.VERBOSE = "VERBOSE", n.INFO = "INFO", n.WARN = "WARN", n.ERROR = "ERROR", n))(Ao || {});
82
82
  const y = {
83
83
  BACKSPACE: 8,
@@ -95,7 +95,7 @@ const y = {
95
95
  DELETE: 46,
96
96
  META: 91,
97
97
  SLASH: 191
98
- }, qn = {
98
+ }, Zn = {
99
99
  LEFT: 0,
100
100
  WHEEL: 1,
101
101
  RIGHT: 2,
@@ -121,7 +121,7 @@ function Ie(n, e, t = "log", o, i = "color: inherit") {
121
121
  break;
122
122
  }
123
123
  o && r.push(o);
124
- const a = "Editor.js 2.31.21", l = `line-height: 1em;
124
+ const a = "Editor.js 2.31.28", l = `line-height: 1em;
125
125
  color: #006FEA;
126
126
  display: inline-block;
127
127
  font-size: 11px;
@@ -138,7 +138,7 @@ function Ie(n, e, t = "log", o, i = "color: inherit") {
138
138
  }
139
139
  }
140
140
  Ie.logLevel = "VERBOSE";
141
- function Zn(n) {
141
+ function Gn(n) {
142
142
  Ie.logLevel = n;
143
143
  }
144
144
  const I = Ie.bind(window, !1), V = Ie.bind(window, !0);
@@ -148,13 +148,13 @@ function le(n) {
148
148
  function L(n) {
149
149
  return le(n) === "function" || le(n) === "asyncfunction";
150
150
  }
151
- function F(n) {
151
+ function H(n) {
152
152
  return le(n) === "object";
153
153
  }
154
154
  function te(n) {
155
155
  return le(n) === "string";
156
156
  }
157
- function Gn(n) {
157
+ function Jn(n) {
158
158
  return le(n) === "boolean";
159
159
  }
160
160
  function yo(n) {
@@ -175,7 +175,7 @@ function Po(n) {
175
175
  n > 185 && n < 193 || // ;=,-./` (in order)
176
176
  n > 218 && n < 223;
177
177
  }
178
- async function Jn(n, e = () => {
178
+ async function Qn(n, e = () => {
179
179
  }, t = () => {
180
180
  }) {
181
181
  async function o(i, s, r) {
@@ -196,10 +196,10 @@ function He(n, e) {
196
196
  window.setTimeout(() => n.apply(t, o), e);
197
197
  };
198
198
  }
199
- function Qn(n) {
199
+ function ei(n) {
200
200
  return n.name.split(".").pop();
201
201
  }
202
- function ei(n) {
202
+ function ti(n) {
203
203
  return /^[-\w]+\/([-+\w]+|\*)$/.test(n);
204
204
  }
205
205
  function Eo(n, e, t) {
@@ -224,7 +224,7 @@ function dt(n, e, t = void 0) {
224
224
  return o = this, i = arguments, d <= 0 || d > e ? (r && (clearTimeout(r), r = null), a = c, s = n.apply(o, i), r || (o = i = null)) : !r && t.trailing !== !1 && (r = setTimeout(l, d)), s;
225
225
  };
226
226
  }
227
- function ti() {
227
+ function oi() {
228
228
  const n = {
229
229
  win: !1,
230
230
  mac: !1,
@@ -240,29 +240,29 @@ function ht(n, ...e) {
240
240
  if (!e.length)
241
241
  return n;
242
242
  const t = e.shift();
243
- if (F(n) && F(t))
243
+ if (H(n) && H(t))
244
244
  for (const o in t)
245
- F(t[o]) ? (n[o] || Object.assign(n, { [o]: {} }), ht(n[o], t[o])) : Object.assign(n, { [o]: t[o] });
245
+ H(t[o]) ? (n[o] || Object.assign(n, { [o]: {} }), ht(n[o], t[o])) : Object.assign(n, { [o]: t[o] });
246
246
  return ht(n, ...e);
247
247
  }
248
248
  function vt(n) {
249
- const e = ti();
249
+ const e = oi();
250
250
  return n = n.replace(/shift/gi, "⇧").replace(/backspace/gi, "⌫").replace(/enter/gi, "⏎").replace(/up/gi, "↑").replace(/left/gi, "→").replace(/down/gi, "↓").replace(/right/gi, "←").replace(/escape/gi, "⎋").replace(/insert/gi, "Ins").replace(/delete/gi, "␡").replace(/\+/gi, " + "), e.mac ? n = n.replace(/ctrl|cmd/gi, "⌘").replace(/alt/gi, "⌥") : n = n.replace(/cmd/gi, "Ctrl").replace(/windows/gi, "WIN"), n;
251
251
  }
252
- function oi(n) {
252
+ function ni(n) {
253
253
  try {
254
254
  return new URL(n).href;
255
255
  } catch {
256
256
  }
257
257
  return n.substring(0, 2) === "//" ? window.location.protocol + n : window.location.origin + n;
258
258
  }
259
- function ni() {
260
- return Xn(10);
259
+ function ii() {
260
+ return qn(10);
261
261
  }
262
- function ii(n) {
262
+ function si(n) {
263
263
  window.open(n, "_blank");
264
264
  }
265
- function si(n = "") {
265
+ function ri(n = "") {
266
266
  return `${n}${Math.floor(Math.random() * 1e8).toString(16)}`;
267
267
  }
268
268
  function ut(n, e, t) {
@@ -286,8 +286,8 @@ function Oe() {
286
286
  return window.matchMedia(`(max-width: ${Ro}px)`).matches;
287
287
  }
288
288
  const pt = typeof window < "u" && window.navigator && window.navigator.platform && (/iP(ad|hone|od)/.test(window.navigator.platform) || window.navigator.platform === "MacIntel" && window.navigator.maxTouchPoints > 1);
289
- function ri(n, e) {
290
- const t = Array.isArray(n) || F(n), o = Array.isArray(e) || F(e);
289
+ function ai(n, e) {
290
+ const t = Array.isArray(n) || H(n), o = Array.isArray(e) || H(e);
291
291
  return t || o ? JSON.stringify(n) === JSON.stringify(e) : n === e;
292
292
  }
293
293
  class h {
@@ -728,17 +728,17 @@ class h {
728
728
  };
729
729
  }
730
730
  }
731
- function ai(n) {
731
+ function li(n) {
732
732
  return !/[^\t\n\r ]/.test(n);
733
733
  }
734
- function li(n) {
734
+ function ci(n) {
735
735
  const e = window.getComputedStyle(n), t = parseFloat(e.fontSize), o = parseFloat(e.lineHeight) || t * 1.2, i = parseFloat(e.paddingTop), s = parseFloat(e.borderTopWidth), r = parseFloat(e.marginTop), a = t * 0.8, l = (o - t) / 2;
736
736
  return r + s + i + l + a;
737
737
  }
738
738
  function Do(n) {
739
739
  n.dataset.empty = h.isEmpty(n) ? "true" : "false";
740
740
  }
741
- const ci = {
741
+ const di = {
742
742
  blockTunes: {
743
743
  toggler: {
744
744
  "Click to tune": "",
@@ -758,21 +758,22 @@ const ci = {
758
758
  popover: {
759
759
  Filter: "",
760
760
  "Nothing found": "",
761
- "Convert to": ""
761
+ "Convert to": "",
762
+ "Add below": ""
762
763
  }
763
- }, di = {
764
+ }, hi = {
764
765
  Text: "",
765
766
  Link: "",
766
767
  Bold: "",
767
768
  Italic: ""
768
- }, hi = {
769
+ }, ui = {
769
770
  link: {
770
771
  "Add a link": ""
771
772
  },
772
773
  stub: {
773
774
  "The block can not be displayed correctly.": ""
774
775
  }
775
- }, ui = {
776
+ }, pi = {
776
777
  delete: {
777
778
  Delete: "",
778
779
  "Click to delete": ""
@@ -784,10 +785,10 @@ const ci = {
784
785
  "Move down": ""
785
786
  }
786
787
  }, Fo = {
787
- ui: ci,
788
- toolNames: di,
789
- tools: hi,
790
- blockTunes: ui
788
+ ui: di,
789
+ toolNames: hi,
790
+ tools: ui,
791
+ blockTunes: pi
791
792
  }, Ho = class ue {
792
793
  /**
793
794
  * Type-safe translation for internal UI texts:
@@ -1034,7 +1035,7 @@ class Me {
1034
1035
  * @param {boolean|AddEventListenerOptions} options - useCapture or {capture, passive, once}
1035
1036
  */
1036
1037
  on(e, t, o, i = !1) {
1037
- const s = si("l"), r = {
1038
+ const s = ri("l"), r = {
1038
1039
  id: s,
1039
1040
  element: e,
1040
1041
  eventType: t,
@@ -1490,7 +1491,7 @@ class b {
1490
1491
  o.selectNodeContents(e), t.addRange(o);
1491
1492
  }
1492
1493
  }
1493
- function pi(n, e) {
1494
+ function fi(n, e) {
1494
1495
  const { type: t, target: o, addedNodes: i, removedNodes: s } = n;
1495
1496
  return n.type === "attributes" && n.attributeName === "data-empty" ? !1 : !!(e.contains(o) || t === "childList" && (Array.from(i).some((l) => l === e) || Array.from(s).some((l) => l === e)));
1496
1497
  }
@@ -1505,7 +1506,7 @@ function je(n, e) {
1505
1506
  return gt(n.tool, e);
1506
1507
  }
1507
1508
  function Wo(n, e) {
1508
- return Object.entries(n).some(([t, o]) => e[t] && ri(e[t], o));
1509
+ return Object.entries(n).some(([t, o]) => e[t] && ai(e[t], o));
1509
1510
  }
1510
1511
  async function Yo(n, e) {
1511
1512
  const o = (await n.save()).data, i = e.find((s) => s.name === n.name);
@@ -1531,7 +1532,7 @@ async function Yo(n, e) {
1531
1532
  function xo(n, e) {
1532
1533
  return n.mergeable ? n.name === e.name ? !0 : je(e, "export") && je(n, "import") : !1;
1533
1534
  }
1534
- function fi(n, e) {
1535
+ function gi(n, e) {
1535
1536
  const t = e == null ? void 0 : e.export;
1536
1537
  return L(t) ? t(n) : te(t) ? n[t] : (t !== void 0 && I("Conversion «export» property must be a string or function. String means key of saved data object to export. Function should export processed string to export."), "");
1537
1538
  }
@@ -1553,7 +1554,7 @@ class D extends _e {
1553
1554
  * @param [eventBus] - Editor common event bus. Allows to subscribe on some Editor events. Could be omitted when "virtual" Block is created. See BlocksAPI@composeBlockData.
1554
1555
  */
1555
1556
  constructor({
1556
- id: e = ni(),
1557
+ id: e = ii(),
1557
1558
  data: t,
1558
1559
  tool: o,
1559
1560
  readOnly: i,
@@ -1887,7 +1888,7 @@ class D extends _e {
1887
1888
  */
1888
1889
  async exportDataAsString() {
1889
1890
  const e = await this.data;
1890
- return fi(e, this.tool.conversionConfig);
1891
+ return gi(e, this.tool.conversionConfig);
1891
1892
  }
1892
1893
  /**
1893
1894
  * Make default Block wrappers and put Tool`s content there
@@ -1943,7 +1944,7 @@ class D extends _e {
1943
1944
  var e;
1944
1945
  this.redactorDomChangedCallback = (t) => {
1945
1946
  const { mutations: o } = t;
1946
- o.some((s) => pi(s, this.toolRenderedElement)) && this.didMutated(o);
1947
+ o.some((s) => fi(s, this.toolRenderedElement)) && this.didMutated(o);
1947
1948
  }, (e = this.editorEventBus) == null || e.on(ft, this.redactorDomChangedCallback);
1948
1949
  }
1949
1950
  /**
@@ -1980,7 +1981,7 @@ class D extends _e {
1980
1981
  this.inputs.forEach(Do);
1981
1982
  }
1982
1983
  }
1983
- class gi extends E {
1984
+ class mi extends E {
1984
1985
  constructor() {
1985
1986
  super(...arguments), this.insert = (e = this.config.defaultBlock, t = {}, o = {}, i, s, r, a) => {
1986
1987
  const l = this.Editor.BlockManager.insert({
@@ -2230,13 +2231,13 @@ class gi extends E {
2230
2231
  throw new Error("Index should be greater than or equal to 0");
2231
2232
  }
2232
2233
  }
2233
- function mi(n, e) {
2234
+ function bi(n, e) {
2234
2235
  return typeof n == "number" ? e.BlockManager.getBlockByIndex(n) : typeof n == "string" ? e.BlockManager.getBlockById(n) : e.BlockManager.getBlockById(n.id);
2235
2236
  }
2236
- class bi extends E {
2237
+ class vi extends E {
2237
2238
  constructor() {
2238
2239
  super(...arguments), this.setToFirstBlock = (e = this.Editor.Caret.positions.DEFAULT, t = 0) => this.Editor.BlockManager.firstBlock ? (this.Editor.Caret.setToBlock(this.Editor.BlockManager.firstBlock, e, t), !0) : !1, this.setToLastBlock = (e = this.Editor.Caret.positions.DEFAULT, t = 0) => this.Editor.BlockManager.lastBlock ? (this.Editor.Caret.setToBlock(this.Editor.BlockManager.lastBlock, e, t), !0) : !1, this.setToPreviousBlock = (e = this.Editor.Caret.positions.DEFAULT, t = 0) => this.Editor.BlockManager.previousBlock ? (this.Editor.Caret.setToBlock(this.Editor.BlockManager.previousBlock, e, t), !0) : !1, this.setToNextBlock = (e = this.Editor.Caret.positions.DEFAULT, t = 0) => this.Editor.BlockManager.nextBlock ? (this.Editor.Caret.setToBlock(this.Editor.BlockManager.nextBlock, e, t), !0) : !1, this.setToBlock = (e, t = this.Editor.Caret.positions.DEFAULT, o = 0) => {
2239
- const i = mi(e, this.Editor);
2240
+ const i = bi(e, this.Editor);
2240
2241
  return i === void 0 ? !1 : (this.Editor.Caret.setToBlock(i, t, o), !0);
2241
2242
  }, this.focus = (e = !1) => e ? this.setToLastBlock(this.Editor.Caret.positions.END) : this.setToFirstBlock(this.Editor.Caret.positions.START);
2242
2243
  }
@@ -2256,7 +2257,7 @@ class bi extends E {
2256
2257
  };
2257
2258
  }
2258
2259
  }
2259
- class vi extends E {
2260
+ class ki extends E {
2260
2261
  /**
2261
2262
  * Available methods
2262
2263
  *
@@ -2332,7 +2333,7 @@ class kt extends E {
2332
2333
  );
2333
2334
  }
2334
2335
  }
2335
- class ki extends E {
2336
+ class yi extends E {
2336
2337
  /**
2337
2338
  * Editor.js Core API modules
2338
2339
  */
@@ -2371,7 +2372,7 @@ class ki extends E {
2371
2372
  );
2372
2373
  }
2373
2374
  }
2374
- class yi extends E {
2375
+ class wi extends E {
2375
2376
  /**
2376
2377
  * Available methods
2377
2378
  *
@@ -2396,7 +2397,7 @@ class yi extends E {
2396
2397
  this.Editor.InlineToolbar.close();
2397
2398
  }
2398
2399
  }
2399
- class wi extends E {
2400
+ class Ei extends E {
2400
2401
  /**
2401
2402
  * Available methods
2402
2403
  *
@@ -2582,11 +2583,11 @@ var Ko = { exports: {} };
2582
2583
  for (var S = 0; S < O.parts.length; S++)
2583
2584
  O.parts[S](C.parts[S]);
2584
2585
  for (; S < C.parts.length; S++)
2585
- O.parts.push(H(C.parts[S], m));
2586
+ O.parts.push(j(C.parts[S], m));
2586
2587
  } else {
2587
2588
  var R = [];
2588
2589
  for (S = 0; S < C.parts.length; S++)
2589
- R.push(H(C.parts[S], m));
2590
+ R.push(j(C.parts[S], m));
2590
2591
  a[C.id] = { id: C.id, refs: 1, parts: R };
2591
2592
  }
2592
2593
  }
@@ -2635,7 +2636,7 @@ var Ko = { exports: {} };
2635
2636
  k.setAttribute(w, m[w]);
2636
2637
  });
2637
2638
  }
2638
- function H(k, m) {
2639
+ function j(k, m) {
2639
2640
  var w, C, O, S;
2640
2641
  if (m.transform && k.css) {
2641
2642
  if (!(S = m.transform(k.css)))
@@ -2651,11 +2652,11 @@ var Ko = { exports: {} };
2651
2652
  var Y = document.createElement("link");
2652
2653
  return T.attrs.type === void 0 && (T.attrs.type = "text/css"), T.attrs.rel = "stylesheet", q(Y, T.attrs), B(T, Y), Y;
2653
2654
  }(m), C = (function(T, Y, be) {
2654
- var se = be.css, tt = be.sourceMap, Yn = Y.convertToAbsoluteUrls === void 0 && tt;
2655
- (Y.convertToAbsoluteUrls || Yn) && (se = g(se)), tt && (se += `
2655
+ var se = be.css, tt = be.sourceMap, Kn = Y.convertToAbsoluteUrls === void 0 && tt;
2656
+ (Y.convertToAbsoluteUrls || Kn) && (se = g(se)), tt && (se += `
2656
2657
  /*# sourceMappingURL=data:application/json;base64,` + btoa(unescape(encodeURIComponent(JSON.stringify(tt)))) + " */");
2657
- var Kn = new Blob([se], { type: "text/css" }), ko = T.href;
2658
- T.href = URL.createObjectURL(Kn), ko && URL.revokeObjectURL(ko);
2658
+ var Vn = new Blob([se], { type: "text/css" }), ko = T.href;
2659
+ T.href = URL.createObjectURL(Vn), ko && URL.revokeObjectURL(ko);
2659
2660
  }).bind(null, w, m), O = function() {
2660
2661
  x(w), w.href && URL.revokeObjectURL(w.href);
2661
2662
  }) : (w = _(m), C = (function(T, Y) {
@@ -2735,11 +2736,11 @@ var Ko = { exports: {} };
2735
2736
  var v = document.createElement("DIV"), B = document.createElement("DIV"), x = f.message, _ = f.style;
2736
2737
  return v.classList.add(r), _ && v.classList.add(r + "--" + _), v.innerHTML = x, B.classList.add(a), B.addEventListener("click", v.remove.bind(v)), v.appendChild(B), v;
2737
2738
  }, confirm: function(f) {
2738
- var v = g(f), B = document.createElement("div"), x = document.createElement("button"), _ = document.createElement("button"), q = v.querySelector("." + a), H = f.cancelHandler, z = f.okHandler;
2739
- return B.classList.add(p), x.innerHTML = f.okText || "Confirm", _.innerHTML = f.cancelText || "Cancel", x.classList.add(u), _.classList.add(u), x.classList.add(l), _.classList.add(c), H && typeof H == "function" && (_.addEventListener("click", H), q.addEventListener("click", H)), z && typeof z == "function" && x.addEventListener("click", z), x.addEventListener("click", v.remove.bind(v)), _.addEventListener("click", v.remove.bind(v)), B.appendChild(x), B.appendChild(_), v.appendChild(B), v;
2739
+ var v = g(f), B = document.createElement("div"), x = document.createElement("button"), _ = document.createElement("button"), q = v.querySelector("." + a), j = f.cancelHandler, z = f.okHandler;
2740
+ return B.classList.add(p), x.innerHTML = f.okText || "Confirm", _.innerHTML = f.cancelText || "Cancel", x.classList.add(u), _.classList.add(u), x.classList.add(l), _.classList.add(c), j && typeof j == "function" && (_.addEventListener("click", j), q.addEventListener("click", j)), z && typeof z == "function" && x.addEventListener("click", z), x.addEventListener("click", v.remove.bind(v)), _.addEventListener("click", v.remove.bind(v)), B.appendChild(x), B.appendChild(_), v.appendChild(B), v;
2740
2741
  }, prompt: function(f) {
2741
- var v = g(f), B = document.createElement("div"), x = document.createElement("button"), _ = document.createElement("input"), q = v.querySelector("." + a), H = f.cancelHandler, z = f.okHandler;
2742
- return B.classList.add(p), x.innerHTML = f.okText || "Ok", x.classList.add(u), x.classList.add(l), _.classList.add(d), f.placeholder && _.setAttribute("placeholder", f.placeholder), f.default && (_.value = f.default), f.inputType && (_.type = f.inputType), H && typeof H == "function" && q.addEventListener("click", H), z && typeof z == "function" && x.addEventListener("click", function() {
2742
+ var v = g(f), B = document.createElement("div"), x = document.createElement("button"), _ = document.createElement("input"), q = v.querySelector("." + a), j = f.cancelHandler, z = f.okHandler;
2743
+ return B.classList.add(p), x.innerHTML = f.okText || "Ok", x.classList.add(u), x.classList.add(l), _.classList.add(d), f.placeholder && _.setAttribute("placeholder", f.placeholder), f.default && (_.value = f.default), f.inputType && (_.type = f.inputType), j && typeof j == "function" && q.addEventListener("click", j), z && typeof z == "function" && x.addEventListener("click", function() {
2743
2744
  z(_.value);
2744
2745
  }), x.addEventListener("click", v.remove.bind(v)), B.appendChild(_), B.appendChild(x), v.appendChild(B), v;
2745
2746
  }, getWrapper: function() {
@@ -2749,19 +2750,19 @@ var Ko = { exports: {} };
2749
2750
  }]);
2750
2751
  });
2751
2752
  })(Ko);
2752
- var Ei = Ko.exports;
2753
- const xi = /* @__PURE__ */ Ke(Ei);
2754
- class Ci {
2753
+ var xi = Ko.exports;
2754
+ const Ci = /* @__PURE__ */ Ke(xi);
2755
+ class Bi {
2755
2756
  /**
2756
2757
  * Show web notification
2757
2758
  *
2758
2759
  * @param {NotifierOptions | ConfirmNotifierOptions | PromptNotifierOptions} options - notification options
2759
2760
  */
2760
2761
  show(e) {
2761
- xi.show(e);
2762
+ Ci.show(e);
2762
2763
  }
2763
2764
  }
2764
- class Bi extends E {
2765
+ class Ti extends E {
2765
2766
  /**
2766
2767
  * @param moduleConfiguration - Module Configuration
2767
2768
  * @param moduleConfiguration.config - Editor's config
@@ -2771,7 +2772,7 @@ class Bi extends E {
2771
2772
  super({
2772
2773
  config: e,
2773
2774
  eventsDispatcher: t
2774
- }), this.notifier = new Ci();
2775
+ }), this.notifier = new Bi();
2775
2776
  }
2776
2777
  /**
2777
2778
  * Available methods
@@ -2790,7 +2791,7 @@ class Bi extends E {
2790
2791
  return this.notifier.show(e);
2791
2792
  }
2792
2793
  }
2793
- class Ti extends E {
2794
+ class Si extends E {
2794
2795
  /**
2795
2796
  * Available methods
2796
2797
  */
@@ -2861,8 +2862,8 @@ var Vo = { exports: {} };
2861
2862
  }
2862
2863
  var v = r(f), B;
2863
2864
  v && (B = Array.prototype.some.call(f.childNodes, i));
2864
- var x = !!p.parentNode, _ = i(p) && i(f) && x, q = f.nodeName.toLowerCase(), H = l(this.config, q, f), z = v && B;
2865
- if (z || c(f, H) || !this.config.keepNestedBlockElements && _) {
2865
+ var x = !!p.parentNode, _ = i(p) && i(f) && x, q = f.nodeName.toLowerCase(), j = l(this.config, q, f), z = v && B;
2866
+ if (z || c(f, j) || !this.config.keepNestedBlockElements && _) {
2866
2867
  if (!(f.nodeName === "SCRIPT" || f.nodeName === "STYLE"))
2867
2868
  for (; f.childNodes.length > 0; )
2868
2869
  p.insertBefore(f.childNodes[0], f);
@@ -2871,7 +2872,7 @@ var Vo = { exports: {} };
2871
2872
  }
2872
2873
  for (var J = 0; J < f.attributes.length; J += 1) {
2873
2874
  var ie = f.attributes[J];
2874
- d(ie, H, f) && (f.removeAttribute(ie.name), J = J - 1);
2875
+ d(ie, j, f) && (f.removeAttribute(ie.name), J = J - 1);
2875
2876
  }
2876
2877
  this._sanitize(u, f);
2877
2878
  } while (f = g.nextSibling());
@@ -2897,8 +2898,8 @@ var Vo = { exports: {} };
2897
2898
  return t;
2898
2899
  });
2899
2900
  })(Vo);
2900
- var Si = Vo.exports;
2901
- const Ii = /* @__PURE__ */ Ke(Si);
2901
+ var Ii = Vo.exports;
2902
+ const Oi = /* @__PURE__ */ Ke(Ii);
2902
2903
  function yt(n, e) {
2903
2904
  return n.map((t) => {
2904
2905
  const o = L(e) ? e(t.tool) : e;
@@ -2909,31 +2910,31 @@ function Z(n, e = {}) {
2909
2910
  const t = {
2910
2911
  tags: e
2911
2912
  };
2912
- return new Ii(t).clean(n);
2913
+ return new Oi(t).clean(n);
2913
2914
  }
2914
2915
  function wt(n, e) {
2915
- return Array.isArray(n) ? Oi(n, e) : F(n) ? _i(n, e) : te(n) ? Mi(n, e) : n;
2916
+ return Array.isArray(n) ? _i(n, e) : H(n) ? Mi(n, e) : te(n) ? Li(n, e) : n;
2916
2917
  }
2917
- function Oi(n, e) {
2918
+ function _i(n, e) {
2918
2919
  return n.map((t) => wt(t, e));
2919
2920
  }
2920
- function _i(n, e) {
2921
+ function Mi(n, e) {
2921
2922
  const t = {};
2922
2923
  for (const o in n) {
2923
2924
  if (!Object.prototype.hasOwnProperty.call(n, o))
2924
2925
  continue;
2925
- const i = n[o], s = Li(e[o]) ? e[o] : e;
2926
+ const i = n[o], s = Ai(e[o]) ? e[o] : e;
2926
2927
  t[o] = wt(i, s);
2927
2928
  }
2928
2929
  return t;
2929
2930
  }
2930
- function Mi(n, e) {
2931
- return F(e) ? Z(n, e) : e === !1 ? Z(n, {}) : n;
2931
+ function Li(n, e) {
2932
+ return H(e) ? Z(n, e) : e === !1 ? Z(n, {}) : n;
2932
2933
  }
2933
- function Li(n) {
2934
- return F(n) || Gn(n) || L(n);
2934
+ function Ai(n) {
2935
+ return H(n) || Jn(n) || L(n);
2935
2936
  }
2936
- class Ai extends E {
2937
+ class Pi extends E {
2937
2938
  /**
2938
2939
  * Available methods
2939
2940
  *
@@ -2955,7 +2956,7 @@ class Ai extends E {
2955
2956
  return Z(e, t);
2956
2957
  }
2957
2958
  }
2958
- class Pi extends E {
2959
+ class Ni extends E {
2959
2960
  /**
2960
2961
  * Available methods
2961
2962
  *
@@ -2976,7 +2977,7 @@ class Pi extends E {
2976
2977
  return this.Editor.ReadOnly.isEnabled ? (V(e, "warn"), Promise.reject(new Error(e))) : this.Editor.Saver.save();
2977
2978
  }
2978
2979
  }
2979
- class Ni extends E {
2980
+ class Ri extends E {
2980
2981
  constructor() {
2981
2982
  super(...arguments), this.selectionUtils = new b();
2982
2983
  }
@@ -3014,7 +3015,7 @@ class Ni extends E {
3014
3015
  this.selectionUtils.expandToTag(e);
3015
3016
  }
3016
3017
  }
3017
- class Ri extends E {
3018
+ class Di extends E {
3018
3019
  /**
3019
3020
  * Available methods
3020
3021
  */
@@ -3024,7 +3025,7 @@ class Ri extends E {
3024
3025
  };
3025
3026
  }
3026
3027
  }
3027
- class Di extends E {
3028
+ class Fi extends E {
3028
3029
  /**
3029
3030
  * Exported classes
3030
3031
  */
@@ -3053,7 +3054,7 @@ class Di extends E {
3053
3054
  };
3054
3055
  }
3055
3056
  }
3056
- class Fi extends E {
3057
+ class Hi extends E {
3057
3058
  /**
3058
3059
  * Available methods
3059
3060
  *
@@ -3259,13 +3260,13 @@ var Xo = { exports: {} };
3259
3260
  }]).default;
3260
3261
  });
3261
3262
  })(Xo);
3262
- var Hi = Xo.exports;
3263
- const ji = /* @__PURE__ */ Ke(Hi);
3263
+ var ji = Xo.exports;
3264
+ const $i = /* @__PURE__ */ Ke(ji);
3264
3265
  let W = null;
3265
3266
  function Et() {
3266
- W || (W = new ji());
3267
+ W || (W = new $i());
3267
3268
  }
3268
- function $i(n, e, t) {
3269
+ function zi(n, e, t) {
3269
3270
  Et(), W == null || W.show(n, e, t);
3270
3271
  }
3271
3272
  function $e(n = !1) {
@@ -3274,10 +3275,10 @@ function $e(n = !1) {
3274
3275
  function ze(n, e, t) {
3275
3276
  Et(), W == null || W.onHover(n, e, t);
3276
3277
  }
3277
- function zi() {
3278
+ function Ui() {
3278
3279
  W == null || W.destroy(), W = null;
3279
3280
  }
3280
- class Ui extends E {
3281
+ class Wi extends E {
3281
3282
  /**
3282
3283
  * @class
3283
3284
  * @param moduleConfiguration - Module Configuration
@@ -3308,7 +3309,7 @@ class Ui extends E {
3308
3309
  * @param {TooltipOptions} options - tooltip options
3309
3310
  */
3310
3311
  show(e, t, o) {
3311
- $i(e, t, o);
3312
+ zi(e, t, o);
3312
3313
  }
3313
3314
  /**
3314
3315
  * Method hides tooltip on HTML page
@@ -3327,7 +3328,7 @@ class Ui extends E {
3327
3328
  ze(e, t, o);
3328
3329
  }
3329
3330
  }
3330
- class Wi extends E {
3331
+ class Yi extends E {
3331
3332
  /**
3332
3333
  * Available methods / getters
3333
3334
  */
@@ -3358,7 +3359,7 @@ class Wi extends E {
3358
3359
  function qo(n, e) {
3359
3360
  const t = {};
3360
3361
  return Object.entries(n).forEach(([o, i]) => {
3361
- if (F(i)) {
3362
+ if (H(i)) {
3362
3363
  const s = e ? `${e}.${o}` : o;
3363
3364
  Object.values(i).every((a) => te(a)) ? t[o] = s : t[o] = qo(i, s);
3364
3365
  return;
@@ -3366,8 +3367,8 @@ function qo(n, e) {
3366
3367
  t[o] = i;
3367
3368
  }), t;
3368
3369
  }
3369
- const $ = qo(Fo);
3370
- function Yi(n, e) {
3370
+ const F = qo(Fo);
3371
+ function Ki(n, e) {
3371
3372
  const t = {};
3372
3373
  return Object.keys(n).forEach((o) => {
3373
3374
  const i = e[o];
@@ -3592,7 +3593,7 @@ class ce {
3592
3593
  this.iterator.currentItem && this.iterator.currentItem.scrollIntoViewIfNeeded(), this.flipCallbacks.forEach((e) => e());
3593
3594
  }
3594
3595
  }
3595
- const Ki = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M6 7L6 12M6 17L6 12M6 12L12 12M12 7V12M12 17L12 12"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M19 17V10.2135C19 10.1287 18.9011 10.0824 18.836 10.1367L16 12.5"/></svg>', Vi = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M6 7L6 12M6 17L6 12M6 12L12 12M12 7V12M12 17L12 12"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M16 11C16 10 19 9.5 19 12C19 13.9771 16.0684 13.9997 16.0012 16.8981C15.9999 16.9533 16.0448 17 16.1 17L19.3 17"/></svg>', Xi = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M6 7L6 12M6 17L6 12M6 12L12 12M12 7V12M12 17L12 12"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M16 11C16 10.5 16.8323 10 17.6 10C18.3677 10 19.5 10.311 19.5 11.5C19.5 12.5315 18.7474 12.9022 18.548 12.9823C18.5378 12.9864 18.5395 13.0047 18.5503 13.0063C18.8115 13.0456 20 13.3065 20 14.8C20 16 19.5 17 17.8 17C17.8 17 16 17 16 16.3"/></svg>', qi = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M6 7L6 12M6 17L6 12M6 12L12 12M12 7V12M12 17L12 12"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M18 10L15.2834 14.8511C15.246 14.9178 15.294 15 15.3704 15C16.8489 15 18.7561 15 20.2 15M19 17C19 15.7187 19 14.8813 19 13.6"/></svg>', Zi = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M6 7L6 12M6 17L6 12M6 12L12 12M12 7V12M12 17L12 12"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M16 15.9C16 15.9 16.3768 17 17.8 17C19.5 17 20 15.6199 20 14.7C20 12.7323 17.6745 12.0486 16.1635 12.9894C16.094 13.0327 16 12.9846 16 12.9027V10.1C16 10.0448 16.0448 10 16.1 10H19.8"/></svg>', Gi = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M6 7L6 12M6 17L6 12M6 12L12 12M12 7V12M12 17L12 12"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M19.5 10C16.5 10.5 16 13.3285 16 15M16 15V15C16 16.1046 16.8954 17 18 17H18.3246C19.3251 17 20.3191 16.3492 20.2522 15.3509C20.0612 12.4958 16 12.6611 16 15Z"/></svg>', Ji = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M9 12L9 7.1C9 7.04477 9.04477 7 9.1 7H10.4C11.5 7 14 7.1 14 9.5C14 9.5 14 12 11 12M9 12V16.8C9 16.9105 9.08954 17 9.2 17H12.5C14 17 15 16 15 14.5C15 11.7046 11 12 11 12M9 12H11"/></svg>', Qi = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M9.2 12L11.0586 13.8586C11.1367 13.9367 11.2633 13.9367 11.3414 13.8586L14.7 10.5"/><rect width="14" height="14" x="5" y="5" stroke="currentColor" stroke-width="2" rx="4"/></svg>', es = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M7 10L11.8586 14.8586C11.9367 14.9367 12.0633 14.9367 12.1414 14.8586L17 10"/></svg>', ts = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M14.5 17.5L9.64142 12.6414C9.56331 12.5633 9.56331 12.4367 9.64142 12.3586L14.5 7.5"/></svg>', os = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M9.58284 17.5L14.4414 12.6414C14.5195 12.5633 14.5195 12.4367 14.4414 12.3586L9.58284 7.5"/></svg>', ns = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M7 15L11.8586 10.1414C11.9367 10.0633 12.0633 10.0633 12.1414 10.1414L17 15"/></svg>', is = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M8 8L12 12M12 12L16 16M12 12L16 8M12 12L8 16"/></svg>', ss = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><line x1="6" x2="10" y1="12" y2="12" stroke="currentColor" stroke-linecap="round" stroke-width="2"/><line x1="14" x2="18" y1="12" y2="12" stroke="currentColor" stroke-linecap="round" stroke-width="2"/></svg>', rs = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><circle cx="12" cy="12" r="4" stroke="currentColor" stroke-width="2"/></svg>', as = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M13.34 10C12.4223 12.7337 11 17 11 17"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M14.21 7H14.2"/></svg>', Bo = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M7.69998 12.6L7.67896 12.62C6.53993 13.7048 6.52012 15.5155 7.63516 16.625V16.625C8.72293 17.7073 10.4799 17.7102 11.5712 16.6314L13.0263 15.193C14.0703 14.1609 14.2141 12.525 13.3662 11.3266L13.22 11.12"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M16.22 11.12L16.3564 10.9805C17.2895 10.0265 17.3478 8.5207 16.4914 7.49733V7.49733C15.5691 6.39509 13.9269 6.25143 12.8271 7.17675L11.3901 8.38588C10.0935 9.47674 9.95706 11.4241 11.0888 12.6852L11.12 12.72"/></svg>', ls = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><line x1="9" x2="19" y1="7" y2="7" stroke="currentColor" stroke-linecap="round" stroke-width="2"/><line x1="9" x2="19" y1="12" y2="12" stroke="currentColor" stroke-linecap="round" stroke-width="2"/><line x1="9" x2="19" y1="17" y2="17" stroke="currentColor" stroke-linecap="round" stroke-width="2"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M5.00001 17H4.99002"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M5.00001 12H4.99002"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M5.00001 7H4.99002"/></svg>', cs = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><line x1="12" x2="19" y1="7" y2="7" stroke="currentColor" stroke-linecap="round" stroke-width="2"/><line x1="12" x2="19" y1="12" y2="12" stroke="currentColor" stroke-linecap="round" stroke-width="2"/><line x1="12" x2="19" y1="17" y2="17" stroke="currentColor" stroke-linecap="round" stroke-width="2"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M7.79999 14L7.79999 7.2135C7.79999 7.12872 7.7011 7.0824 7.63597 7.13668L4.79999 9.5"/></svg>', ds = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2.6" d="M9.40999 7.29999H9.4"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2.6" d="M14.6 7.29999H14.59"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2.6" d="M9.30999 12H9.3"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2.6" d="M14.6 12H14.59"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2.6" d="M9.40999 16.7H9.4"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2.6" d="M14.6 16.7H14.59"/></svg>', hs = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><rect width="14" height="14" x="5" y="5" stroke="currentColor" stroke-width="2" rx="4"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5.13968 15.32L8.69058 11.5661C9.02934 11.2036 9.48873 11 9.96774 11C10.4467 11 10.9061 11.2036 11.2449 11.5661L15.3871 16M13.5806 14.0664L15.0132 12.533C15.3519 12.1705 15.8113 11.9668 16.2903 11.9668C16.7693 11.9668 17.2287 12.1705 17.5675 12.533L18.841 13.9634"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13.7778 9.33331H13.7867"/></svg>', us = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M12 7V12M12 17V12M17 12H12M12 12H7"/></svg>', ps = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 10.8182L9 10.8182C8.80222 10.8182 8.60888 10.7649 8.44443 10.665C8.27998 10.5651 8.15181 10.4231 8.07612 10.257C8.00043 10.0909 7.98063 9.90808 8.01922 9.73174C8.0578 9.55539 8.15304 9.39341 8.29289 9.26627C8.43275 9.13913 8.61093 9.05255 8.80491 9.01747C8.99889 8.98239 9.19996 9.00039 9.38268 9.0692C9.56541 9.13801 9.72159 9.25453 9.83147 9.40403C9.94135 9.55353 10 9.72929 10 9.90909L10 12.1818C10 12.664 9.78929 13.1265 9.41421 13.4675C9.03914 13.8084 8.53043 14 8 14"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 10.8182L15 10.8182C14.8022 10.8182 14.6089 10.7649 14.4444 10.665C14.28 10.5651 14.1518 10.4231 14.0761 10.257C14.0004 10.0909 13.9806 9.90808 14.0192 9.73174C14.0578 9.55539 14.153 9.39341 14.2929 9.26627C14.4327 9.13913 14.6109 9.05255 14.8049 9.01747C14.9989 8.98239 15.2 9.00039 15.3827 9.0692C15.5654 9.13801 15.7216 9.25453 15.8315 9.40403C15.9414 9.55353 16 9.72929 16 9.90909L16 12.1818C16 12.664 15.7893 13.1265 15.4142 13.4675C15.0391 13.8084 14.5304 14 14 14"/></svg>', Go = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M11.5 17.5L5 11M5 11V15.5M5 11H9.5"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M12.5 6.5L19 13M19 13V8.5M19 13H14.5"/></svg>', fs = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><circle cx="10.5" cy="10.5" r="5.5" stroke="currentColor" stroke-width="2"/><line x1="15.4142" x2="19" y1="15" y2="18.5858" stroke="currentColor" stroke-linecap="round" stroke-width="2"/></svg>', gs = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-width="2" d="M10 5V18.5"/><path stroke="currentColor" stroke-width="2" d="M5 10H19"/><rect width="14" height="14" x="5" y="5" stroke="currentColor" stroke-width="2" rx="4"/></svg>', ms = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M8 9V7.2C8 7.08954 8.08954 7 8.2 7L12 7M16 9V7.2C16 7.08954 15.9105 7 15.8 7L12 7M12 7L12 17M12 17H10M12 17H14"/></svg>', bs = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M15.7795 11.5C15.7795 11.5 16.053 11.1962 16.5497 10.6722C17.4442 9.72856 17.4701 8.2475 16.5781 7.30145V7.30145C15.6482 6.31522 14.0873 6.29227 13.1288 7.25073L11.8796 8.49999"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M8.24517 12.3883C8.24517 12.3883 7.97171 12.6922 7.47504 13.2161C6.58051 14.1598 6.55467 15.6408 7.44666 16.5869V16.5869C8.37653 17.5731 9.93744 17.5961 10.8959 16.6376L12.1452 15.3883"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M17.7802 15.1032L16.597 14.9422C16.0109 14.8624 15.4841 15.3059 15.4627 15.8969L15.4199 17.0818"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M6.39064 9.03238L7.58432 9.06668C8.17551 9.08366 8.6522 8.58665 8.61056 7.99669L8.5271 6.81397"/><line x1="12.1142" x2="11.7" y1="12.2" y2="11.7858" stroke="currentColor" stroke-linecap="round" stroke-width="2"/></svg>', vs = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><rect width="14" height="14" x="5" y="5" stroke="currentColor" stroke-width="2" rx="4"/><line x1="12" x2="12" y1="9" y2="12" stroke="currentColor" stroke-linecap="round" stroke-width="2"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M12 15.02V15.01"/></svg>', ks = "__", ys = "--";
3596
+ const Vi = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M6 7L6 12M6 17L6 12M6 12L12 12M12 7V12M12 17L12 12"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M19 17V10.2135C19 10.1287 18.9011 10.0824 18.836 10.1367L16 12.5"/></svg>', Xi = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M6 7L6 12M6 17L6 12M6 12L12 12M12 7V12M12 17L12 12"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M16 11C16 10 19 9.5 19 12C19 13.9771 16.0684 13.9997 16.0012 16.8981C15.9999 16.9533 16.0448 17 16.1 17L19.3 17"/></svg>', qi = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M6 7L6 12M6 17L6 12M6 12L12 12M12 7V12M12 17L12 12"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M16 11C16 10.5 16.8323 10 17.6 10C18.3677 10 19.5 10.311 19.5 11.5C19.5 12.5315 18.7474 12.9022 18.548 12.9823C18.5378 12.9864 18.5395 13.0047 18.5503 13.0063C18.8115 13.0456 20 13.3065 20 14.8C20 16 19.5 17 17.8 17C17.8 17 16 17 16 16.3"/></svg>', Zi = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M6 7L6 12M6 17L6 12M6 12L12 12M12 7V12M12 17L12 12"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M18 10L15.2834 14.8511C15.246 14.9178 15.294 15 15.3704 15C16.8489 15 18.7561 15 20.2 15M19 17C19 15.7187 19 14.8813 19 13.6"/></svg>', Gi = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M6 7L6 12M6 17L6 12M6 12L12 12M12 7V12M12 17L12 12"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M16 15.9C16 15.9 16.3768 17 17.8 17C19.5 17 20 15.6199 20 14.7C20 12.7323 17.6745 12.0486 16.1635 12.9894C16.094 13.0327 16 12.9846 16 12.9027V10.1C16 10.0448 16.0448 10 16.1 10H19.8"/></svg>', Ji = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M6 7L6 12M6 17L6 12M6 12L12 12M12 7V12M12 17L12 12"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M19.5 10C16.5 10.5 16 13.3285 16 15M16 15V15C16 16.1046 16.8954 17 18 17H18.3246C19.3251 17 20.3191 16.3492 20.2522 15.3509C20.0612 12.4958 16 12.6611 16 15Z"/></svg>', Qi = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M9 12L9 7.1C9 7.04477 9.04477 7 9.1 7H10.4C11.5 7 14 7.1 14 9.5C14 9.5 14 12 11 12M9 12V16.8C9 16.9105 9.08954 17 9.2 17H12.5C14 17 15 16 15 14.5C15 11.7046 11 12 11 12M9 12H11"/></svg>', es = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M9.2 12L11.0586 13.8586C11.1367 13.9367 11.2633 13.9367 11.3414 13.8586L14.7 10.5"/><rect width="14" height="14" x="5" y="5" stroke="currentColor" stroke-width="2" rx="4"/></svg>', ts = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M7 10L11.8586 14.8586C11.9367 14.9367 12.0633 14.9367 12.1414 14.8586L17 10"/></svg>', os = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M14.5 17.5L9.64142 12.6414C9.56331 12.5633 9.56331 12.4367 9.64142 12.3586L14.5 7.5"/></svg>', ns = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M9.58284 17.5L14.4414 12.6414C14.5195 12.5633 14.5195 12.4367 14.4414 12.3586L9.58284 7.5"/></svg>', is = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M7 15L11.8586 10.1414C11.9367 10.0633 12.0633 10.0633 12.1414 10.1414L17 15"/></svg>', ss = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M8 8L12 12M12 12L16 16M12 12L16 8M12 12L8 16"/></svg>', rs = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><line x1="6" x2="10" y1="12" y2="12" stroke="currentColor" stroke-linecap="round" stroke-width="2"/><line x1="14" x2="18" y1="12" y2="12" stroke="currentColor" stroke-linecap="round" stroke-width="2"/></svg>', as = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><circle cx="12" cy="12" r="4" stroke="currentColor" stroke-width="2"/></svg>', ls = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M13.34 10C12.4223 12.7337 11 17 11 17"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M14.21 7H14.2"/></svg>', Bo = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M7.69998 12.6L7.67896 12.62C6.53993 13.7048 6.52012 15.5155 7.63516 16.625V16.625C8.72293 17.7073 10.4799 17.7102 11.5712 16.6314L13.0263 15.193C14.0703 14.1609 14.2141 12.525 13.3662 11.3266L13.22 11.12"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M16.22 11.12L16.3564 10.9805C17.2895 10.0265 17.3478 8.5207 16.4914 7.49733V7.49733C15.5691 6.39509 13.9269 6.25143 12.8271 7.17675L11.3901 8.38588C10.0935 9.47674 9.95706 11.4241 11.0888 12.6852L11.12 12.72"/></svg>', cs = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><line x1="9" x2="19" y1="7" y2="7" stroke="currentColor" stroke-linecap="round" stroke-width="2"/><line x1="9" x2="19" y1="12" y2="12" stroke="currentColor" stroke-linecap="round" stroke-width="2"/><line x1="9" x2="19" y1="17" y2="17" stroke="currentColor" stroke-linecap="round" stroke-width="2"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M5.00001 17H4.99002"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M5.00001 12H4.99002"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M5.00001 7H4.99002"/></svg>', ds = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><line x1="12" x2="19" y1="7" y2="7" stroke="currentColor" stroke-linecap="round" stroke-width="2"/><line x1="12" x2="19" y1="12" y2="12" stroke="currentColor" stroke-linecap="round" stroke-width="2"/><line x1="12" x2="19" y1="17" y2="17" stroke="currentColor" stroke-linecap="round" stroke-width="2"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M7.79999 14L7.79999 7.2135C7.79999 7.12872 7.7011 7.0824 7.63597 7.13668L4.79999 9.5"/></svg>', hs = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2.6" d="M9.40999 7.29999H9.4"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2.6" d="M14.6 7.29999H14.59"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2.6" d="M9.30999 12H9.3"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2.6" d="M14.6 12H14.59"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2.6" d="M9.40999 16.7H9.4"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2.6" d="M14.6 16.7H14.59"/></svg>', us = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><rect width="14" height="14" x="5" y="5" stroke="currentColor" stroke-width="2" rx="4"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5.13968 15.32L8.69058 11.5661C9.02934 11.2036 9.48873 11 9.96774 11C10.4467 11 10.9061 11.2036 11.2449 11.5661L15.3871 16M13.5806 14.0664L15.0132 12.533C15.3519 12.1705 15.8113 11.9668 16.2903 11.9668C16.7693 11.9668 17.2287 12.1705 17.5675 12.533L18.841 13.9634"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13.7778 9.33331H13.7867"/></svg>', Go = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M12 7V12M12 17V12M17 12H12M12 12H7"/></svg>', ps = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 10.8182L9 10.8182C8.80222 10.8182 8.60888 10.7649 8.44443 10.665C8.27998 10.5651 8.15181 10.4231 8.07612 10.257C8.00043 10.0909 7.98063 9.90808 8.01922 9.73174C8.0578 9.55539 8.15304 9.39341 8.29289 9.26627C8.43275 9.13913 8.61093 9.05255 8.80491 9.01747C8.99889 8.98239 9.19996 9.00039 9.38268 9.0692C9.56541 9.13801 9.72159 9.25453 9.83147 9.40403C9.94135 9.55353 10 9.72929 10 9.90909L10 12.1818C10 12.664 9.78929 13.1265 9.41421 13.4675C9.03914 13.8084 8.53043 14 8 14"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 10.8182L15 10.8182C14.8022 10.8182 14.6089 10.7649 14.4444 10.665C14.28 10.5651 14.1518 10.4231 14.0761 10.257C14.0004 10.0909 13.9806 9.90808 14.0192 9.73174C14.0578 9.55539 14.153 9.39341 14.2929 9.26627C14.4327 9.13913 14.6109 9.05255 14.8049 9.01747C14.9989 8.98239 15.2 9.00039 15.3827 9.0692C15.5654 9.13801 15.7216 9.25453 15.8315 9.40403C15.9414 9.55353 16 9.72929 16 9.90909L16 12.1818C16 12.664 15.7893 13.1265 15.4142 13.4675C15.0391 13.8084 14.5304 14 14 14"/></svg>', Jo = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M11.5 17.5L5 11M5 11V15.5M5 11H9.5"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M12.5 6.5L19 13M19 13V8.5M19 13H14.5"/></svg>', fs = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><circle cx="10.5" cy="10.5" r="5.5" stroke="currentColor" stroke-width="2"/><line x1="15.4142" x2="19" y1="15" y2="18.5858" stroke="currentColor" stroke-linecap="round" stroke-width="2"/></svg>', gs = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-width="2" d="M10 5V18.5"/><path stroke="currentColor" stroke-width="2" d="M5 10H19"/><rect width="14" height="14" x="5" y="5" stroke="currentColor" stroke-width="2" rx="4"/></svg>', ms = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M8 9V7.2C8 7.08954 8.08954 7 8.2 7L12 7M16 9V7.2C16 7.08954 15.9105 7 15.8 7L12 7M12 7L12 17M12 17H10M12 17H14"/></svg>', bs = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M15.7795 11.5C15.7795 11.5 16.053 11.1962 16.5497 10.6722C17.4442 9.72856 17.4701 8.2475 16.5781 7.30145V7.30145C15.6482 6.31522 14.0873 6.29227 13.1288 7.25073L11.8796 8.49999"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M8.24517 12.3883C8.24517 12.3883 7.97171 12.6922 7.47504 13.2161C6.58051 14.1598 6.55467 15.6408 7.44666 16.5869V16.5869C8.37653 17.5731 9.93744 17.5961 10.8959 16.6376L12.1452 15.3883"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M17.7802 15.1032L16.597 14.9422C16.0109 14.8624 15.4841 15.3059 15.4627 15.8969L15.4199 17.0818"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M6.39064 9.03238L7.58432 9.06668C8.17551 9.08366 8.6522 8.58665 8.61056 7.99669L8.5271 6.81397"/><line x1="12.1142" x2="11.7" y1="12.2" y2="11.7858" stroke="currentColor" stroke-linecap="round" stroke-width="2"/></svg>', vs = '<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><rect width="14" height="14" x="5" y="5" stroke="currentColor" stroke-width="2" rx="4"/><line x1="12" x2="12" y1="9" y2="12" stroke="currentColor" stroke-linecap="round" stroke-width="2"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M12 15.02V15.01"/></svg>', ks = "__", ys = "--";
3596
3597
  function ne(n) {
3597
3598
  return (e, t) => [[n, e].filter((i) => !!i).join(ks), t].filter((i) => !!i).join(ys);
3598
3599
  }
@@ -3852,13 +3853,13 @@ class re extends xt {
3852
3853
  type: o === "button" ? "button" : void 0
3853
3854
  });
3854
3855
  return e.name && (i.dataset.itemName = e.name), this.nodes.icon = h.make("div", [A.icon, A.iconTool], {
3855
- innerHTML: e.icon || rs
3856
+ innerHTML: e.icon || as
3856
3857
  }), i.appendChild(this.nodes.icon), e.title !== void 0 && i.appendChild(h.make("div", A.title, {
3857
3858
  innerHTML: e.title || ""
3858
3859
  })), e.secondaryLabel && i.appendChild(h.make("div", A.secondaryTitle, {
3859
3860
  textContent: e.secondaryLabel
3860
3861
  })), this.hasChildren && i.appendChild(h.make("div", [A.icon, A.iconChevronRight], {
3861
- innerHTML: os
3862
+ innerHTML: ns
3862
3863
  })), this.isActive && i.classList.add(A.active), e.isDisabled && i.classList.add(A.disabled), e.hint !== void 0 && ((s = t == null ? void 0 : t.hint) == null ? void 0 : s.enabled) !== !1 && this.addHint(i, {
3863
3864
  ...e.hint,
3864
3865
  position: ((r = t == null ? void 0 : t.hint) == null ? void 0 : r.position) || "right"
@@ -3932,7 +3933,7 @@ const nt = ne("ce-popover-item-separator"), it = {
3932
3933
  line: nt("line"),
3933
3934
  hidden: nt(null, "hidden")
3934
3935
  };
3935
- class Jo extends xt {
3936
+ class Qo extends xt {
3936
3937
  /**
3937
3938
  * Constructs the instance
3938
3939
  */
@@ -4023,7 +4024,7 @@ class Se extends xt {
4023
4024
  return Array.from(e);
4024
4025
  }
4025
4026
  }
4026
- class Qo extends _e {
4027
+ class en extends _e {
4027
4028
  /**
4028
4029
  * Constructs the instance
4029
4030
  *
@@ -4097,7 +4098,7 @@ class Qo extends _e {
4097
4098
  return e.map((t) => {
4098
4099
  switch (t.type) {
4099
4100
  case M.Separator:
4100
- return new Jo();
4101
+ return new Qo();
4101
4102
  case M.Html:
4102
4103
  return new Se(t, this.itemsRenderParams[M.Html]);
4103
4104
  default:
@@ -4241,7 +4242,7 @@ var xs = Object.defineProperty, Cs = Object.getOwnPropertyDescriptor, Bs = (n, e
4241
4242
  (r = n[s]) && (i = (o ? r(e, t, i) : r(i)) || i);
4242
4243
  return o && i && xs(e, t, i), i;
4243
4244
  };
4244
- const en = class tn extends Qo {
4245
+ const tn = class on extends en {
4245
4246
  /**
4246
4247
  * Construct the instance
4247
4248
  *
@@ -4261,7 +4262,7 @@ const en = class tn extends Qo {
4261
4262
  const i = o.query === "", s = o.items.length === 0;
4262
4263
  this.items.forEach((l) => {
4263
4264
  let c = !1;
4264
- l instanceof re ? c = !o.items.includes(l) : (l instanceof Jo || l instanceof Se) && (c = s || !i), l.toggleHidden(c);
4265
+ l instanceof re ? c = !o.items.includes(l) : (l instanceof Qo || l instanceof Se) && (c = s || !i), l.toggleHidden(c);
4265
4266
  }), this.toggleNothingFoundMessage(s);
4266
4267
  const r = o.query === "" ? this.flippableElements : o.items.map((l) => l.getElement());
4267
4268
  (a = this.flipper) != null && a.isActivated && (this.flipper.deactivate(), this.flipper.activate(r));
@@ -4350,7 +4351,7 @@ const en = class tn extends Qo {
4350
4351
  */
4351
4352
  showNestedPopoverForItem(e) {
4352
4353
  var o;
4353
- this.nestedPopover = new tn({
4354
+ this.nestedPopover = new on({
4354
4355
  searchable: e.isChildrenSearchable,
4355
4356
  items: e.children,
4356
4357
  nestingLevel: this.nestingLevel + 1,
@@ -4426,8 +4427,8 @@ const en = class tn extends Qo {
4426
4427
  };
4427
4428
  Bs([
4428
4429
  me
4429
- ], en.prototype, "size", 1);
4430
- let Ct = en;
4430
+ ], tn.prototype, "size", 1);
4431
+ let Ct = tn;
4431
4432
  class Ts extends Ct {
4432
4433
  /**
4433
4434
  * Constructs the instance
@@ -4536,7 +4537,7 @@ class Ts extends Ct {
4536
4537
  e !== this.nestedPopoverTriggerItem && ((t = this.nestedPopoverTriggerItem) == null || t.handleClick(), super.destroyNestedPopoverIfExists()), super.handleItemClick(e);
4537
4538
  }
4538
4539
  }
4539
- const on = class Ee {
4540
+ const nn = class Ee {
4540
4541
  constructor() {
4541
4542
  this.scrollPosition = null;
4542
4543
  }
@@ -4568,11 +4569,11 @@ const on = class Ee {
4568
4569
  document.body.classList.remove(Ee.CSS.scrollLockedHard), this.scrollPosition !== null && window.scrollTo(0, this.scrollPosition), this.scrollPosition = null;
4569
4570
  }
4570
4571
  };
4571
- on.CSS = {
4572
+ nn.CSS = {
4572
4573
  scrollLocked: "ce-scroll-locked",
4573
4574
  scrollLockedHard: "ce-scroll-locked--hard"
4574
4575
  };
4575
- let Ss = on;
4576
+ let Ss = nn;
4576
4577
  const at = ne("ce-popover-header"), lt = {
4577
4578
  root: at(),
4578
4579
  text: at("text"),
@@ -4589,7 +4590,7 @@ class Is {
4589
4590
  root: h.make("div", [lt.root]),
4590
4591
  backButton: h.make("button", [lt.backButton]),
4591
4592
  text: h.make("div", [lt.text])
4592
- }, this.nodes.backButton.innerHTML = ts, this.nodes.root.appendChild(this.nodes.backButton), this.listeners.on(this.nodes.backButton, "click", this.onBackButtonClick), this.nodes.text.innerText = this.text, this.nodes.root.appendChild(this.nodes.text);
4593
+ }, this.nodes.backButton.innerHTML = os, this.nodes.root.appendChild(this.nodes.backButton), this.listeners.on(this.nodes.backButton, "click", this.onBackButtonClick), this.nodes.text.innerText = this.text, this.nodes.root.appendChild(this.nodes.text);
4593
4594
  }
4594
4595
  /**
4595
4596
  * Returns popover header root html element
@@ -4642,7 +4643,7 @@ class Os {
4642
4643
  this.pop();
4643
4644
  }
4644
4645
  }
4645
- class nn extends Qo {
4646
+ class sn extends en {
4646
4647
  /**
4647
4648
  * Construct the instance
4648
4649
  *
@@ -4779,15 +4780,15 @@ class _s extends E {
4779
4780
  this.opened = !0, this.selection.save(), this.Editor.BlockSelection.selectBlock(e), this.Editor.BlockSelection.clearCache();
4780
4781
  const { toolTunes: t, commonTunes: o } = e.getTunes();
4781
4782
  this.eventsDispatcher.emit(this.events.opened);
4782
- const i = Oe() ? nn : Ct;
4783
+ const i = Oe() ? sn : Ct;
4783
4784
  this.popover = new i({
4784
4785
  searchable: !1,
4785
4786
  //lrj:关闭搜索功能
4786
4787
  items: await this.getTunesItems(e, o, t),
4787
4788
  scopeElement: this.Editor.API.methods.ui.nodes.redactor,
4788
4789
  messages: {
4789
- nothingFound: N.ui($.ui.popover, "Nothing found"),
4790
- search: N.ui($.ui.popover, "Filter")
4790
+ nothingFound: N.ui(F.ui.popover, "Nothing found"),
4791
+ search: N.ui(F.ui.popover, "Filter")
4791
4792
  }
4792
4793
  }), this.popover.on(G.Closed, this.onPopoverClose), (s = this.nodes.wrapper) == null || s.append(this.popover.getElement()), this.popover.show();
4793
4794
  }
@@ -4813,11 +4814,11 @@ class _s extends E {
4813
4814
  const s = Array.from(this.Editor.Tools.blockTools.values()), a = (await Yo(e, s)).reduce((l, c) => (c.toolbox.forEach((d) => {
4814
4815
  l.push({
4815
4816
  icon: d.icon,
4816
- title: N.t($.toolNames, d.title),
4817
+ title: N.t(F.toolNames, d.title),
4817
4818
  name: c.name,
4818
4819
  //lrj
4819
4820
  hint: {
4820
- title: N.t($.toolNames, d.title)
4821
+ title: N.t(F.toolNames, d.title)
4821
4822
  },
4822
4823
  closeOnActivate: !0,
4823
4824
  onActivate: async () => {
@@ -4827,9 +4828,9 @@ class _s extends E {
4827
4828
  });
4828
4829
  }), l), []);
4829
4830
  return a.length > 0 && (i.push({
4830
- icon: Go,
4831
+ icon: Jo,
4831
4832
  name: "convert-to",
4832
- title: N.ui($.ui.popover, "Convert to"),
4833
+ title: N.ui(F.ui.popover, "Convert to"),
4833
4834
  children: {
4834
4835
  searchable: !1,
4835
4836
  //lrj:关闭搜索功能
@@ -4837,7 +4838,21 @@ class _s extends E {
4837
4838
  }
4838
4839
  }), i.push({
4839
4840
  type: M.Separator
4840
- })), i.push(...t), i.map((l) => this.resolveTuneAliases(l));
4841
+ })), i.push(...t), i.push({
4842
+ type: M.Separator
4843
+ }), i.push({
4844
+ icon: Go,
4845
+ name: "add-below",
4846
+ title: N.ui(F.ui.popover, "Add below"),
4847
+ // hint: {
4848
+ // title: I18n.t(I18nInternalNS.ui.popover, 'Add below')
4849
+ // },
4850
+ closeOnActivate: !0,
4851
+ onActivate: () => {
4852
+ const { Toolbar: l } = this.Editor;
4853
+ this.Editor.BlockManager.currentBlock = e, l.toolbox.open();
4854
+ }
4855
+ }), i.map((l) => this.resolveTuneAliases(l));
4841
4856
  }
4842
4857
  /**
4843
4858
  * Resolves aliases in tunes menu items
@@ -4847,11 +4862,11 @@ class _s extends E {
4847
4862
  resolveTuneAliases(e) {
4848
4863
  if (e.type === M.Separator || e.type === M.Html)
4849
4864
  return e;
4850
- const t = Yi(e, { label: "title" });
4865
+ const t = Ki(e, { label: "title" });
4851
4866
  return e.confirmation && (t.confirmation = this.resolveTuneAliases(e.confirmation)), t;
4852
4867
  }
4853
4868
  }
4854
- var sn = { exports: {} };
4869
+ var rn = { exports: {} };
4855
4870
  /*!
4856
4871
  * Library for handling keyboard shortcuts
4857
4872
  * @copyright CodeX (https://codex.so)
@@ -4949,8 +4964,8 @@ var sn = { exports: {} };
4949
4964
  o.default = a;
4950
4965
  }]).default;
4951
4966
  });
4952
- })(sn);
4953
- var Ms = sn.exports;
4967
+ })(rn);
4968
+ var Ms = rn.exports;
4954
4969
  const Ls = /* @__PURE__ */ Ke(Ms);
4955
4970
  class As {
4956
4971
  constructor() {
@@ -5003,12 +5018,12 @@ class As {
5003
5018
  }
5004
5019
  }
5005
5020
  const ge = new As();
5006
- var Ps = Object.defineProperty, Ns = Object.getOwnPropertyDescriptor, rn = (n, e, t, o) => {
5021
+ var Ps = Object.defineProperty, Ns = Object.getOwnPropertyDescriptor, an = (n, e, t, o) => {
5007
5022
  for (var i = o > 1 ? void 0 : o ? Ns(e, t) : e, s = n.length - 1, r; s >= 0; s--)
5008
5023
  (r = n[s]) && (i = (o ? r(e, t, i) : r(i)) || i);
5009
5024
  return o && i && Ps(e, t, i), i;
5010
5025
  }, Pe = /* @__PURE__ */ ((n) => (n.Opened = "toolbox-opened", n.Closed = "toolbox-closed", n.BlockAdded = "toolbox-block-added", n))(Pe || {});
5011
- const Bt = class an extends _e {
5026
+ const Bt = class ln extends _e {
5012
5027
  /**
5013
5028
  * Toolbox constructor
5014
5029
  *
@@ -5025,7 +5040,7 @@ const Bt = class an extends _e {
5025
5040
  /* Closed */
5026
5041
  );
5027
5042
  }, this.api = e, this.tools = t, this.i18nLabels = o, this.enableShortcuts(), this.nodes = {
5028
- toolbox: h.make("div", an.CSS.toolbox)
5043
+ toolbox: h.make("div", ln.CSS.toolbox)
5029
5044
  }, this.initPopover(), this.api.events.on(Te, this.handleMobileLayoutToggle);
5030
5045
  }
5031
5046
  /**
@@ -5104,7 +5119,7 @@ const Bt = class an extends _e {
5104
5119
  */
5105
5120
  initPopover() {
5106
5121
  var t;
5107
- const e = Oe() ? nn : Ct;
5122
+ const e = Oe() ? sn : Ct;
5108
5123
  this.popover = new e({
5109
5124
  scopeElement: this.api.ui.nodes.redactor,
5110
5125
  searchable: !1,
@@ -5131,10 +5146,10 @@ const Bt = class an extends _e {
5131
5146
  get toolboxItemsToBeDisplayed() {
5132
5147
  const e = (t, o, i = !0) => ({
5133
5148
  icon: t.icon,
5134
- title: N.t($.toolNames, t.title || Be(o.name)),
5149
+ title: N.t(F.toolNames, t.title || Be(o.name)),
5135
5150
  //lrj
5136
5151
  hint: {
5137
- title: N.t($.toolNames, t.title || Be(o.name))
5152
+ title: N.t(F.toolNames, t.title || Be(o.name))
5138
5153
  },
5139
5154
  name: o.name,
5140
5155
  onActivate: () => {
@@ -5216,17 +5231,17 @@ const Bt = class an extends _e {
5216
5231
  );
5217
5232
  a.call(ee.APPEND_CALLBACK), this.api.caret.setToBlock(s), this.emit("toolbox-block-added", {
5218
5233
  block: a
5219
- }), this.api.toolbar.close();
5234
+ }), this.api.toolbar.close(), this.api.tooltip.hide();
5220
5235
  }
5221
5236
  };
5222
- rn([
5237
+ an([
5223
5238
  me
5224
5239
  ], Bt.prototype, "toolsToBeDisplayed", 1);
5225
- rn([
5240
+ an([
5226
5241
  me
5227
5242
  ], Bt.prototype, "toolboxItemsToBeDisplayed", 1);
5228
5243
  let Rs = Bt;
5229
- const ln = "block hovered";
5244
+ const cn = "block hovered";
5230
5245
  async function Ds(n, e) {
5231
5246
  const t = navigator.keyboard;
5232
5247
  if (!t)
@@ -5364,7 +5379,7 @@ class js extends E {
5364
5379
  const B = parseInt(window.getComputedStyle(e.pluginsContent).paddingTop);
5365
5380
  i = t.offsetTop + B;
5366
5381
  } else {
5367
- const B = li(r), x = parseInt(window.getComputedStyle(this.nodes.plusButton).height, 10), _ = 8;
5382
+ const B = ci(r), x = parseInt(window.getComputedStyle(this.nodes.plusButton).height, 10), _ = 8;
5368
5383
  i = t.offsetTop + B - x + _ + c;
5369
5384
  }
5370
5385
  if (this.nodes.wrapper.style.top = `${Math.floor(i)}px`, this.Editor.BlockManager.blocks.length === 1 && e.isEmpty ? this.blockTunesToggler.hide() : this.blockTunesToggler.show(), (u = this.nodes.plusButton) == null || u.classList.remove("ce-toolbar__plus--hidden"), (p = this.nodes.settingsToggler) == null || p.classList.remove("ce-toolbar__settings-btn--hidden"), e.isEmpty && e.name !== "delimiter")
@@ -5378,28 +5393,28 @@ class js extends E {
5378
5393
  async getIconBlockName(e) {
5379
5394
  switch (e.name) {
5380
5395
  case "image":
5381
- return hs;
5396
+ return us;
5382
5397
  case "table":
5383
5398
  return gs;
5384
5399
  case "alert":
5385
5400
  return Hs;
5386
5401
  case "List":
5387
5402
  const t = await e.data;
5388
- return t.style === "checklist" ? Qi : t.style === "ordered" ? cs : t.style === "unordered" ? ls : "";
5403
+ return t.style === "checklist" ? es : t.style === "ordered" ? ds : t.style === "unordered" ? cs : "";
5389
5404
  case "delimiter":
5390
- return ss;
5405
+ return rs;
5391
5406
  case "h1":
5392
- return Ki;
5393
- case "h2":
5394
5407
  return Vi;
5395
- case "h3":
5408
+ case "h2":
5396
5409
  return Xi;
5397
- case "h4":
5410
+ case "h3":
5398
5411
  return qi;
5399
- case "h5":
5412
+ case "h4":
5400
5413
  return Zi;
5401
- case "h6":
5414
+ case "h5":
5402
5415
  return Gi;
5416
+ case "h6":
5417
+ return Ji;
5403
5418
  case "paragraph":
5404
5419
  return ms;
5405
5420
  case "code":
@@ -5439,21 +5454,21 @@ class js extends E {
5439
5454
  this.nodes.wrapper = h.make("div", this.CSS.toolbar), ["content", "actions"].forEach((r) => {
5440
5455
  this.nodes[r] = h.make("div", this.CSS[r]);
5441
5456
  }), h.append(this.nodes.wrapper, this.nodes.content), h.append(this.nodes.content, this.nodes.actions), this.nodes.plusButton = h.make("div", this.CSS.plusButton, {
5442
- innerHTML: us
5457
+ innerHTML: Go
5443
5458
  }), h.append(this.nodes.actions, this.nodes.plusButton), this.readOnlyMutableListeners.on(this.nodes.plusButton, "click", () => {
5444
5459
  $e(!0), this.plusButtonClicked();
5445
5460
  }, !1);
5446
5461
  const e = h.make("div");
5447
- e.appendChild(document.createTextNode(N.ui($.ui.toolbar.toolbox, "Add"))), e.appendChild(h.make("div", this.CSS.plusButtonShortcut, {
5462
+ e.appendChild(document.createTextNode(N.ui(F.ui.toolbar.toolbox, "Add"))), e.appendChild(h.make("div", this.CSS.plusButtonShortcut, {
5448
5463
  textContent: "/"
5449
5464
  })), ze(this.nodes.plusButton, e, {
5450
5465
  hidingDelay: 400
5451
5466
  });
5452
5467
  const t = h.make("span", this.CSS.settingsToggler, {
5453
- innerHTML: "<span class='icon-block-name'></span><span class='icon-menu'>" + ds + "</span>"
5468
+ innerHTML: "<span class='icon-block-name'></span><span class='icon-menu'>" + hs + "</span>"
5454
5469
  });
5455
5470
  this.nodes.settingsToggler = t, h.append(this.nodes.actions, this.nodes.settingsToggler);
5456
- const o = h.make("div"), i = h.text(N.ui($.ui.blockTunes.toggler, "Click to tune")), s = await Ds("Slash", "/");
5471
+ const o = h.make("div"), i = h.text(N.ui(F.ui.blockTunes.toggler, "Click to tune")), s = await Ds("Slash", "/");
5457
5472
  o.appendChild(i), o.appendChild(h.make("div", this.CSS.plusButtonShortcut, {
5458
5473
  textContent: vt(`CMD + ${s}`)
5459
5474
  })), ze(this.nodes.settingsToggler, o, {
@@ -5468,8 +5483,8 @@ class js extends E {
5468
5483
  api: this.Editor.API.methods,
5469
5484
  tools: this.Editor.Tools.blockTools,
5470
5485
  i18nLabels: {
5471
- filter: N.ui($.ui.popover, "Filter"),
5472
- nothingFound: N.ui($.ui.popover, "Nothing found")
5486
+ filter: N.ui(F.ui.popover, "Filter"),
5487
+ nothingFound: N.ui(F.ui.popover, "Nothing found")
5473
5488
  }
5474
5489
  }), this.toolboxInstance.on(Pe.Opened, () => {
5475
5490
  this.Editor.UI.nodes.wrapper.classList.add(this.CSS.openedToolboxHolderModifier);
@@ -5494,7 +5509,7 @@ class js extends E {
5494
5509
  this.readOnlyMutableListeners.on(this.nodes.settingsToggler, "mousedown", (e) => {
5495
5510
  var t;
5496
5511
  e.stopPropagation(), this.settingsTogglerClicked(), (t = this.toolboxInstance) != null && t.opened && this.toolboxInstance.close(), $e(!0);
5497
- }, !0), Oe() || this.eventsDispatcher.on(ln, (e) => {
5512
+ }, !0), Oe() || this.eventsDispatcher.on(cn, (e) => {
5498
5513
  var t;
5499
5514
  this.Editor.BlockSettings.opened || (t = this.toolboxInstance) != null && t.opened || this.moveAndOpen(e.block);
5500
5515
  });
@@ -5533,7 +5548,7 @@ class js extends E {
5533
5548
  this.removeAllNodes(), this.toolboxInstance && this.toolboxInstance.destroy();
5534
5549
  }
5535
5550
  }
5536
- var ae = /* @__PURE__ */ ((n) => (n[n.Block = 0] = "Block", n[n.Inline = 1] = "Inline", n[n.Tune = 2] = "Tune", n))(ae || {}), Ne = /* @__PURE__ */ ((n) => (n.Shortcut = "shortcut", n.Toolbox = "toolbox", n.EnabledInlineTools = "inlineToolbar", n.EnabledBlockTunes = "tunes", n.Config = "config", n))(Ne || {}), cn = /* @__PURE__ */ ((n) => (n.Shortcut = "shortcut", n.SanitizeConfig = "sanitize", n))(cn || {}), pe = /* @__PURE__ */ ((n) => (n.IsEnabledLineBreaks = "enableLineBreaks", n.Toolbox = "toolbox", n.ConversionConfig = "conversionConfig", n.IsReadOnlySupported = "isReadOnlySupported", n.PasteConfig = "pasteConfig", n))(pe || {}), We = /* @__PURE__ */ ((n) => (n.IsInline = "isInline", n.Title = "title", n.IsReadOnlySupported = "isReadOnlySupported", n))(We || {}), mt = /* @__PURE__ */ ((n) => (n.IsTune = "isTune", n))(mt || {});
5551
+ var ae = /* @__PURE__ */ ((n) => (n[n.Block = 0] = "Block", n[n.Inline = 1] = "Inline", n[n.Tune = 2] = "Tune", n))(ae || {}), Ne = /* @__PURE__ */ ((n) => (n.Shortcut = "shortcut", n.Toolbox = "toolbox", n.EnabledInlineTools = "inlineToolbar", n.EnabledBlockTunes = "tunes", n.Config = "config", n))(Ne || {}), dn = /* @__PURE__ */ ((n) => (n.Shortcut = "shortcut", n.SanitizeConfig = "sanitize", n))(dn || {}), pe = /* @__PURE__ */ ((n) => (n.IsEnabledLineBreaks = "enableLineBreaks", n.Toolbox = "toolbox", n.ConversionConfig = "conversionConfig", n.IsReadOnlySupported = "isReadOnlySupported", n.PasteConfig = "pasteConfig", n))(pe || {}), We = /* @__PURE__ */ ((n) => (n.IsInline = "isInline", n.Title = "title", n.IsReadOnlySupported = "isReadOnlySupported", n))(We || {}), mt = /* @__PURE__ */ ((n) => (n.IsTune = "isTune", n))(mt || {});
5537
5552
  class Tt {
5538
5553
  /**
5539
5554
  * @class
@@ -5685,8 +5700,8 @@ class $s extends E {
5685
5700
  items: e,
5686
5701
  scopeElement: this.Editor.API.methods.ui.nodes.redactor,
5687
5702
  messages: {
5688
- nothingFound: N.ui($.ui.popover, "Nothing found"),
5689
- search: N.ui($.ui.popover, "Filter")
5703
+ nothingFound: N.ui(F.ui.popover, "Nothing found"),
5704
+ search: N.ui(F.ui.popover, "Filter")
5690
5705
  }
5691
5706
  }), this.move(this.popover.size.width), (t = this.nodes.wrapper) == null || t.append(this.popover.getElement()), this.popover.show();
5692
5707
  }
@@ -5759,7 +5774,7 @@ class $s extends E {
5759
5774
  } catch {
5760
5775
  }
5761
5776
  const a = r !== void 0 ? vt(r) : void 0, l = N.t(
5762
- $.toolNames,
5777
+ F.toolNames,
5763
5778
  o.title || Be(o.name)
5764
5779
  );
5765
5780
  [s].flat().forEach((c) => {
@@ -5829,7 +5844,7 @@ class $s extends E {
5829
5844
  */
5830
5845
  getToolShortcut(e) {
5831
5846
  const { Tools: t } = this.Editor, o = t.inlineTools.get(e), i = t.internal.inlineTools;
5832
- return Array.from(i.keys()).includes(e) ? this.inlineTools[e][cn.Shortcut] : o == null ? void 0 : o.shortcut;
5847
+ return Array.from(i.keys()).includes(e) ? this.inlineTools[e][dn.Shortcut] : o == null ? void 0 : o.shortcut;
5833
5848
  }
5834
5849
  /**
5835
5850
  * Enable Tool shortcut with Editor Shortcuts Module
@@ -5882,20 +5897,20 @@ class $s extends E {
5882
5897
  }), e;
5883
5898
  }
5884
5899
  }
5885
- function dn() {
5900
+ function hn() {
5886
5901
  const n = window.getSelection();
5887
5902
  if (n === null)
5888
5903
  return [null, 0];
5889
5904
  let e = n.focusNode, t = n.focusOffset;
5890
5905
  return e === null ? [null, 0] : (e.nodeType !== Node.TEXT_NODE && e.childNodes.length > 0 && (e.childNodes[t] ? (e = e.childNodes[t], t = 0) : (e = e.childNodes[t - 1], t = e.textContent.length)), [e, t]);
5891
5906
  }
5892
- function hn(n, e, t, o) {
5907
+ function un(n, e, t, o) {
5893
5908
  const i = document.createRange();
5894
5909
  o === "left" ? (i.setStart(n, 0), i.setEnd(e, t)) : (i.setStart(e, t), i.setEnd(n, n.childNodes.length));
5895
5910
  const s = i.cloneContents(), r = document.createElement("div");
5896
5911
  r.appendChild(s);
5897
5912
  const a = r.textContent || "";
5898
- return ai(a);
5913
+ return li(a);
5899
5914
  }
5900
5915
  function Re(n) {
5901
5916
  const e = h.getDeepestNode(n);
@@ -5905,8 +5920,8 @@ function Re(n) {
5905
5920
  return e.selectionEnd === 0;
5906
5921
  if (h.isEmpty(n))
5907
5922
  return !0;
5908
- const [t, o] = dn();
5909
- return t === null ? !1 : hn(n, t, o, "left");
5923
+ const [t, o] = hn();
5924
+ return t === null ? !1 : un(n, t, o, "left");
5910
5925
  }
5911
5926
  function De(n) {
5912
5927
  const e = h.getDeepestNode(n, !0);
@@ -5914,10 +5929,10 @@ function De(n) {
5914
5929
  return !0;
5915
5930
  if (h.isNativeInput(e))
5916
5931
  return e.selectionEnd === e.value.length;
5917
- const [t, o] = dn();
5918
- return t === null ? !1 : hn(n, t, o, "right");
5932
+ const [t, o] = hn();
5933
+ return t === null ? !1 : un(n, t, o, "right");
5919
5934
  }
5920
- var un = {}, St = {}, Ve = {}, de = {}, It = {}, Ot = {};
5935
+ var pn = {}, St = {}, Ve = {}, de = {}, It = {}, Ot = {};
5921
5936
  Object.defineProperty(Ot, "__esModule", { value: !0 });
5922
5937
  Ot.allInputsSelector = zs;
5923
5938
  function zs() {
@@ -5950,7 +5965,7 @@ function Us(n) {
5950
5965
  return e.isNativeInput;
5951
5966
  } });
5952
5967
  })(he);
5953
- var pn = {}, Mt = {};
5968
+ var fn = {}, Mt = {};
5954
5969
  Object.defineProperty(Mt, "__esModule", { value: !0 });
5955
5970
  Mt.append = Ws;
5956
5971
  function Ws(n, e) {
@@ -5964,7 +5979,7 @@ function Ws(n, e) {
5964
5979
  Object.defineProperty(n, "append", { enumerable: !0, get: function() {
5965
5980
  return e.append;
5966
5981
  } });
5967
- })(pn);
5982
+ })(fn);
5968
5983
  var Lt = {}, At = {};
5969
5984
  Object.defineProperty(At, "__esModule", { value: !0 });
5970
5985
  At.blockElements = Ys;
@@ -6018,7 +6033,7 @@ function Ys() {
6018
6033
  return e.blockElements;
6019
6034
  } });
6020
6035
  })(Lt);
6021
- var fn = {}, Pt = {};
6036
+ var gn = {}, Pt = {};
6022
6037
  Object.defineProperty(Pt, "__esModule", { value: !0 });
6023
6038
  Pt.calculateBaseline = Ks;
6024
6039
  function Ks(n) {
@@ -6031,8 +6046,8 @@ function Ks(n) {
6031
6046
  Object.defineProperty(n, "calculateBaseline", { enumerable: !0, get: function() {
6032
6047
  return e.calculateBaseline;
6033
6048
  } });
6034
- })(fn);
6035
- var gn = {}, Nt = {}, Rt = {}, Dt = {};
6049
+ })(gn);
6050
+ var mn = {}, Nt = {}, Rt = {}, Dt = {};
6036
6051
  Object.defineProperty(Dt, "__esModule", { value: !0 });
6037
6052
  Dt.isContentEditable = Vs;
6038
6053
  function Vs(n) {
@@ -6073,7 +6088,7 @@ function Zs(n) {
6073
6088
  Object.defineProperty(n, "canSetCaret", { enumerable: !0, get: function() {
6074
6089
  return e.canSetCaret;
6075
6090
  } });
6076
- })(gn);
6091
+ })(mn);
6077
6092
  var Xe = {}, Ft = {};
6078
6093
  function Gs(n, e, t) {
6079
6094
  const o = t.value !== void 0 ? "value" : "get", i = t[o], s = `#${e}Cache`;
@@ -6087,7 +6102,7 @@ function Gs(n, e, t) {
6087
6102
  }
6088
6103
  return t;
6089
6104
  }
6090
- function mn() {
6105
+ function bn() {
6091
6106
  const n = {
6092
6107
  win: !1,
6093
6108
  mac: !1,
@@ -6104,7 +6119,7 @@ function Js(n) {
6104
6119
  }
6105
6120
  const Qs = () => typeof window < "u" && window.navigator !== null && Ht(window.navigator.platform) && (/iP(ad|hone|od)/.test(window.navigator.platform) || window.navigator.platform === "MacIntel" && window.navigator.maxTouchPoints > 1);
6106
6121
  function er(n) {
6107
- const e = mn();
6122
+ const e = bn();
6108
6123
  return n = n.replace(/shift/gi, "⇧").replace(/backspace/gi, "⌫").replace(/enter/gi, "⏎").replace(/up/gi, "↑").replace(/left/gi, "→").replace(/down/gi, "↓").replace(/right/gi, "←").replace(/escape/gi, "⎋").replace(/insert/gi, "Ins").replace(/delete/gi, "␡").replace(/\+/gi, "+"), e.mac ? n = n.replace(/ctrl|cmd/gi, "⌘").replace(/alt/gi, "⌥") : n = n.replace(/cmd/gi, "Ctrl").replace(/windows/gi, "WIN"), n;
6109
6124
  }
6110
6125
  function tr(n) {
@@ -6133,11 +6148,11 @@ function oe(n) {
6133
6148
  function ir(n) {
6134
6149
  return oe(n) === "boolean";
6135
6150
  }
6136
- function bn(n) {
6151
+ function vn(n) {
6137
6152
  return oe(n) === "function" || oe(n) === "asyncfunction";
6138
6153
  }
6139
6154
  function sr(n) {
6140
- return bn(n) && /^\s*class\s+/.test(n.toString());
6155
+ return vn(n) && /^\s*class\s+/.test(n.toString());
6141
6156
  }
6142
6157
  function rr(n) {
6143
6158
  return oe(n) === "number";
@@ -6237,12 +6252,12 @@ const br = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6237
6252
  debounce: nr,
6238
6253
  deepMerge: bt,
6239
6254
  deprecationAssert: dr,
6240
- getUserOS: mn,
6255
+ getUserOS: bn,
6241
6256
  getValidUrl: hr,
6242
6257
  isBoolean: ir,
6243
6258
  isClass: sr,
6244
6259
  isEmpty: Js,
6245
- isFunction: bn,
6260
+ isFunction: vn,
6246
6261
  isIosDevice: Qs,
6247
6262
  isNumber: rr,
6248
6263
  isObject: Fe,
@@ -6255,7 +6270,7 @@ const br = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6255
6270
  notEmpty: Ht,
6256
6271
  throttle: mr,
6257
6272
  typeOf: oe
6258
- }, Symbol.toStringTag, { value: "Module" })), jt = /* @__PURE__ */ Vn(br);
6273
+ }, Symbol.toStringTag, { value: "Module" })), jt = /* @__PURE__ */ Xn(br);
6259
6274
  Object.defineProperty(Ft, "__esModule", { value: !0 });
6260
6275
  Ft.containsOnlyInlineElements = yr;
6261
6276
  var vr = jt, kr = Lt;
@@ -6274,7 +6289,7 @@ function yr(n) {
6274
6289
  return e.containsOnlyInlineElements;
6275
6290
  } });
6276
6291
  })(Xe);
6277
- var vn = {}, $t = {}, qe = {}, zt = {};
6292
+ var kn = {}, $t = {}, qe = {}, zt = {};
6278
6293
  Object.defineProperty(zt, "__esModule", { value: !0 });
6279
6294
  zt.make = wr;
6280
6295
  function wr(n, e, t) {
@@ -6312,8 +6327,8 @@ function xr(n) {
6312
6327
  Object.defineProperty(n, "fragmentToString", { enumerable: !0, get: function() {
6313
6328
  return e.fragmentToString;
6314
6329
  } });
6315
- })(vn);
6316
- var kn = {}, Ut = {};
6330
+ })(kn);
6331
+ var yn = {}, Ut = {};
6317
6332
  Object.defineProperty(Ut, "__esModule", { value: !0 });
6318
6333
  Ut.getContentLength = Br;
6319
6334
  var Cr = he;
@@ -6327,7 +6342,7 @@ function Br(n) {
6327
6342
  Object.defineProperty(n, "getContentLength", { enumerable: !0, get: function() {
6328
6343
  return e.getContentLength;
6329
6344
  } });
6330
- })(kn);
6345
+ })(yn);
6331
6346
  var Wt = {}, Yt = {}, Io = Ce && Ce.__spreadArray || function(n, e, t) {
6332
6347
  if (t || arguments.length === 2)
6333
6348
  for (var o = 0, i = e.length, s; o < i; o++)
@@ -6335,11 +6350,11 @@ var Wt = {}, Yt = {}, Io = Ce && Ce.__spreadArray || function(n, e, t) {
6335
6350
  return n.concat(s || Array.prototype.slice.call(e));
6336
6351
  };
6337
6352
  Object.defineProperty(Yt, "__esModule", { value: !0 });
6338
- Yt.getDeepestBlockElements = yn;
6353
+ Yt.getDeepestBlockElements = wn;
6339
6354
  var Tr = Xe;
6340
- function yn(n) {
6355
+ function wn(n) {
6341
6356
  return (0, Tr.containsOnlyInlineElements)(n) ? [n] : Array.from(n.children).reduce(function(e, t) {
6342
- return Io(Io([], e, !0), yn(t), !0);
6357
+ return Io(Io([], e, !0), wn(t), !0);
6343
6358
  }, []);
6344
6359
  }
6345
6360
  (function(n) {
@@ -6349,7 +6364,7 @@ function yn(n) {
6349
6364
  return e.getDeepestBlockElements;
6350
6365
  } });
6351
6366
  })(Wt);
6352
- var wn = {}, Kt = {}, Ze = {}, Vt = {};
6367
+ var En = {}, Kt = {}, Ze = {}, Vt = {};
6353
6368
  Object.defineProperty(Vt, "__esModule", { value: !0 });
6354
6369
  Vt.isLineBreakTag = Sr;
6355
6370
  function Sr(n) {
@@ -6396,9 +6411,9 @@ function Ir(n) {
6396
6411
  } });
6397
6412
  })(Ge);
6398
6413
  Object.defineProperty(Kt, "__esModule", { value: !0 });
6399
- Kt.getDeepestNode = En;
6414
+ Kt.getDeepestNode = xn;
6400
6415
  var Or = he, _r = Ze, Mr = Ge;
6401
- function En(n, e) {
6416
+ function xn(n, e) {
6402
6417
  e === void 0 && (e = !1);
6403
6418
  var t = e ? "lastChild" : "firstChild", o = e ? "previousSibling" : "nextSibling";
6404
6419
  if (n.nodeType === Node.ELEMENT_NODE && n[t]) {
@@ -6410,7 +6425,7 @@ function En(n, e) {
6410
6425
  i = i.parentNode[o];
6411
6426
  else
6412
6427
  return i.parentNode;
6413
- return En(i, e);
6428
+ return xn(i, e);
6414
6429
  }
6415
6430
  return n;
6416
6431
  }
@@ -6420,8 +6435,8 @@ function En(n, e) {
6420
6435
  Object.defineProperty(n, "getDeepestNode", { enumerable: !0, get: function() {
6421
6436
  return e.getDeepestNode;
6422
6437
  } });
6423
- })(wn);
6424
- var xn = {}, qt = {}, Le = Ce && Ce.__spreadArray || function(n, e, t) {
6438
+ })(En);
6439
+ var Cn = {}, qt = {}, Le = Ce && Ce.__spreadArray || function(n, e, t) {
6425
6440
  if (t || arguments.length === 2)
6426
6441
  for (var o = 0, i = e.length, s; o < i; o++)
6427
6442
  (s || !(o in e)) && (s || (s = Array.prototype.slice.call(e, 0, o)), s[o] = e[o]);
@@ -6441,8 +6456,8 @@ function Rr(n) {
6441
6456
  Object.defineProperty(n, "findAllInputs", { enumerable: !0, get: function() {
6442
6457
  return e.findAllInputs;
6443
6458
  } });
6444
- })(xn);
6445
- var Cn = {}, Zt = {};
6459
+ })(Cn);
6460
+ var Bn = {}, Zt = {};
6446
6461
  Object.defineProperty(Zt, "__esModule", { value: !0 });
6447
6462
  Zt.isCollapsedWhitespaces = Dr;
6448
6463
  function Dr(n) {
@@ -6454,7 +6469,7 @@ function Dr(n) {
6454
6469
  Object.defineProperty(n, "isCollapsedWhitespaces", { enumerable: !0, get: function() {
6455
6470
  return e.isCollapsedWhitespaces;
6456
6471
  } });
6457
- })(Cn);
6472
+ })(Bn);
6458
6473
  var Gt = {}, Jt = {};
6459
6474
  Object.defineProperty(Jt, "__esModule", { value: !0 });
6460
6475
  Jt.isElement = Hr;
@@ -6469,7 +6484,7 @@ function Hr(n) {
6469
6484
  return e.isElement;
6470
6485
  } });
6471
6486
  })(Gt);
6472
- var Bn = {}, Qt = {}, eo = {}, to = {};
6487
+ var Tn = {}, Qt = {}, eo = {}, to = {};
6473
6488
  Object.defineProperty(to, "__esModule", { value: !0 });
6474
6489
  to.isLeaf = jr;
6475
6490
  function jr(n) {
@@ -6518,8 +6533,8 @@ function Xr(n, e) {
6518
6533
  Object.defineProperty(n, "isEmpty", { enumerable: !0, get: function() {
6519
6534
  return e.isEmpty;
6520
6535
  } });
6521
- })(Bn);
6522
- var Tn = {}, io = {};
6536
+ })(Tn);
6537
+ var Sn = {}, io = {};
6523
6538
  Object.defineProperty(io, "__esModule", { value: !0 });
6524
6539
  io.isFragment = Zr;
6525
6540
  var qr = jt;
@@ -6532,8 +6547,8 @@ function Zr(n) {
6532
6547
  Object.defineProperty(n, "isFragment", { enumerable: !0, get: function() {
6533
6548
  return e.isFragment;
6534
6549
  } });
6535
- })(Tn);
6536
- var Sn = {}, so = {};
6550
+ })(Sn);
6551
+ var In = {}, so = {};
6537
6552
  Object.defineProperty(so, "__esModule", { value: !0 });
6538
6553
  so.isHTMLString = Jr;
6539
6554
  var Gr = qe;
@@ -6547,8 +6562,8 @@ function Jr(n) {
6547
6562
  Object.defineProperty(n, "isHTMLString", { enumerable: !0, get: function() {
6548
6563
  return e.isHTMLString;
6549
6564
  } });
6550
- })(Sn);
6551
- var In = {}, ro = {};
6565
+ })(In);
6566
+ var On = {}, ro = {};
6552
6567
  Object.defineProperty(ro, "__esModule", { value: !0 });
6553
6568
  ro.offset = Qr;
6554
6569
  function Qr(n) {
@@ -6566,8 +6581,8 @@ function Qr(n) {
6566
6581
  Object.defineProperty(n, "offset", { enumerable: !0, get: function() {
6567
6582
  return e.offset;
6568
6583
  } });
6569
- })(In);
6570
- var On = {}, ao = {};
6584
+ })(On);
6585
+ var _n = {}, ao = {};
6571
6586
  Object.defineProperty(ao, "__esModule", { value: !0 });
6572
6587
  ao.prepend = ea;
6573
6588
  function ea(n, e) {
@@ -6581,7 +6596,7 @@ function ea(n, e) {
6581
6596
  Object.defineProperty(n, "prepend", { enumerable: !0, get: function() {
6582
6597
  return e.prepend;
6583
6598
  } });
6584
- })(On);
6599
+ })(_n);
6585
6600
  (function(n) {
6586
6601
  Object.defineProperty(n, "__esModule", { value: !0 }), n.prepend = n.offset = n.make = n.isLineBreakTag = n.isSingleTag = n.isNodeEmpty = n.isLeaf = n.isHTMLString = n.isFragment = n.isEmpty = n.isElement = n.isContentEditable = n.isCollapsedWhitespaces = n.findAllInputs = n.isNativeInput = n.allInputsSelector = n.getDeepestNode = n.getDeepestBlockElements = n.getContentLength = n.fragmentToString = n.containsOnlyInlineElements = n.canSetCaret = n.calculateBaseline = n.blockElements = n.append = void 0;
6587
6602
  var e = It;
@@ -6592,7 +6607,7 @@ function ea(n, e) {
6592
6607
  Object.defineProperty(n, "isNativeInput", { enumerable: !0, get: function() {
6593
6608
  return t.isNativeInput;
6594
6609
  } });
6595
- var o = pn;
6610
+ var o = fn;
6596
6611
  Object.defineProperty(n, "append", { enumerable: !0, get: function() {
6597
6612
  return o.append;
6598
6613
  } });
@@ -6600,11 +6615,11 @@ function ea(n, e) {
6600
6615
  Object.defineProperty(n, "blockElements", { enumerable: !0, get: function() {
6601
6616
  return i.blockElements;
6602
6617
  } });
6603
- var s = fn;
6618
+ var s = gn;
6604
6619
  Object.defineProperty(n, "calculateBaseline", { enumerable: !0, get: function() {
6605
6620
  return s.calculateBaseline;
6606
6621
  } });
6607
- var r = gn;
6622
+ var r = mn;
6608
6623
  Object.defineProperty(n, "canSetCaret", { enumerable: !0, get: function() {
6609
6624
  return r.canSetCaret;
6610
6625
  } });
@@ -6612,11 +6627,11 @@ function ea(n, e) {
6612
6627
  Object.defineProperty(n, "containsOnlyInlineElements", { enumerable: !0, get: function() {
6613
6628
  return a.containsOnlyInlineElements;
6614
6629
  } });
6615
- var l = vn;
6630
+ var l = kn;
6616
6631
  Object.defineProperty(n, "fragmentToString", { enumerable: !0, get: function() {
6617
6632
  return l.fragmentToString;
6618
6633
  } });
6619
- var c = kn;
6634
+ var c = yn;
6620
6635
  Object.defineProperty(n, "getContentLength", { enumerable: !0, get: function() {
6621
6636
  return c.getContentLength;
6622
6637
  } });
@@ -6624,15 +6639,15 @@ function ea(n, e) {
6624
6639
  Object.defineProperty(n, "getDeepestBlockElements", { enumerable: !0, get: function() {
6625
6640
  return d.getDeepestBlockElements;
6626
6641
  } });
6627
- var u = wn;
6642
+ var u = En;
6628
6643
  Object.defineProperty(n, "getDeepestNode", { enumerable: !0, get: function() {
6629
6644
  return u.getDeepestNode;
6630
6645
  } });
6631
- var p = xn;
6646
+ var p = Cn;
6632
6647
  Object.defineProperty(n, "findAllInputs", { enumerable: !0, get: function() {
6633
6648
  return p.findAllInputs;
6634
6649
  } });
6635
- var g = Cn;
6650
+ var g = Bn;
6636
6651
  Object.defineProperty(n, "isCollapsedWhitespaces", { enumerable: !0, get: function() {
6637
6652
  return g.isCollapsedWhitespaces;
6638
6653
  } });
@@ -6644,15 +6659,15 @@ function ea(n, e) {
6644
6659
  Object.defineProperty(n, "isElement", { enumerable: !0, get: function() {
6645
6660
  return v.isElement;
6646
6661
  } });
6647
- var B = Bn;
6662
+ var B = Tn;
6648
6663
  Object.defineProperty(n, "isEmpty", { enumerable: !0, get: function() {
6649
6664
  return B.isEmpty;
6650
6665
  } });
6651
- var x = Tn;
6666
+ var x = Sn;
6652
6667
  Object.defineProperty(n, "isFragment", { enumerable: !0, get: function() {
6653
6668
  return x.isFragment;
6654
6669
  } });
6655
- var _ = Sn;
6670
+ var _ = In;
6656
6671
  Object.defineProperty(n, "isHTMLString", { enumerable: !0, get: function() {
6657
6672
  return _.isHTMLString;
6658
6673
  } });
@@ -6660,9 +6675,9 @@ function ea(n, e) {
6660
6675
  Object.defineProperty(n, "isLeaf", { enumerable: !0, get: function() {
6661
6676
  return q.isLeaf;
6662
6677
  } });
6663
- var H = oo;
6678
+ var j = oo;
6664
6679
  Object.defineProperty(n, "isNodeEmpty", { enumerable: !0, get: function() {
6665
- return H.isNodeEmpty;
6680
+ return j.isNodeEmpty;
6666
6681
  } });
6667
6682
  var z = Ze;
6668
6683
  Object.defineProperty(n, "isLineBreakTag", { enumerable: !0, get: function() {
@@ -6676,11 +6691,11 @@ function ea(n, e) {
6676
6691
  Object.defineProperty(n, "make", { enumerable: !0, get: function() {
6677
6692
  return ie.make;
6678
6693
  } });
6679
- var k = In;
6694
+ var k = On;
6680
6695
  Object.defineProperty(n, "offset", { enumerable: !0, get: function() {
6681
6696
  return k.offset;
6682
6697
  } });
6683
- var m = On;
6698
+ var m = _n;
6684
6699
  Object.defineProperty(n, "prepend", { enumerable: !0, get: function() {
6685
6700
  return m.prepend;
6686
6701
  } });
@@ -6716,15 +6731,15 @@ function sa(n, e, t, o) {
6716
6731
  return e.checkContenteditableSliceForEmptiness;
6717
6732
  } });
6718
6733
  })(St);
6719
- var _n = {};
6734
+ var Mn = {};
6720
6735
  (function(n) {
6721
6736
  Object.defineProperty(n, "__esModule", { value: !0 }), n.getContenteditableSlice = void 0;
6722
6737
  var e = Je;
6723
6738
  Object.defineProperty(n, "getContenteditableSlice", { enumerable: !0, get: function() {
6724
6739
  return e.getContenteditableSlice;
6725
6740
  } });
6726
- })(_n);
6727
- var Mn = {}, lo = {};
6741
+ })(Mn);
6742
+ var Ln = {}, lo = {};
6728
6743
  Object.defineProperty(lo, "__esModule", { value: !0 });
6729
6744
  lo.focus = aa;
6730
6745
  var ra = de;
@@ -6764,7 +6779,7 @@ function aa(n, e) {
6764
6779
  Object.defineProperty(n, "focus", { enumerable: !0, get: function() {
6765
6780
  return e.focus;
6766
6781
  } });
6767
- })(Mn);
6782
+ })(Ln);
6768
6783
  var co = {}, Qe = {};
6769
6784
  Object.defineProperty(Qe, "__esModule", { value: !0 });
6770
6785
  Qe.getCaretNodeAndOffset = la;
@@ -6782,7 +6797,7 @@ function la() {
6782
6797
  return e.getCaretNodeAndOffset;
6783
6798
  } });
6784
6799
  })(co);
6785
- var Ln = {}, et = {};
6800
+ var An = {}, et = {};
6786
6801
  Object.defineProperty(et, "__esModule", { value: !0 });
6787
6802
  et.getRange = ca;
6788
6803
  function ca() {
@@ -6795,8 +6810,8 @@ function ca() {
6795
6810
  Object.defineProperty(n, "getRange", { enumerable: !0, get: function() {
6796
6811
  return e.getRange;
6797
6812
  } });
6798
- })(Ln);
6799
- var An = {}, ho = {};
6813
+ })(An);
6814
+ var Pn = {}, ho = {};
6800
6815
  Object.defineProperty(ho, "__esModule", { value: !0 });
6801
6816
  ho.isCaretAtEndOfInput = ua;
6802
6817
  var Oo = de, da = co, ha = St;
@@ -6815,8 +6830,8 @@ function ua(n) {
6815
6830
  Object.defineProperty(n, "isCaretAtEndOfInput", { enumerable: !0, get: function() {
6816
6831
  return e.isCaretAtEndOfInput;
6817
6832
  } });
6818
- })(An);
6819
- var Pn = {}, uo = {};
6833
+ })(Pn);
6834
+ var Nn = {}, uo = {};
6820
6835
  Object.defineProperty(uo, "__esModule", { value: !0 });
6821
6836
  uo.isCaretAtStartOfInput = ga;
6822
6837
  var Ae = de, pa = Qe, fa = Ve;
@@ -6837,8 +6852,8 @@ function ga(n) {
6837
6852
  Object.defineProperty(n, "isCaretAtStartOfInput", { enumerable: !0, get: function() {
6838
6853
  return e.isCaretAtStartOfInput;
6839
6854
  } });
6840
- })(Pn);
6841
- var Nn = {}, po = {};
6855
+ })(Nn);
6856
+ var Rn = {}, po = {};
6842
6857
  Object.defineProperty(po, "__esModule", { value: !0 });
6843
6858
  po.save = va;
6844
6859
  var ma = de, ba = et;
@@ -6858,18 +6873,18 @@ function va() {
6858
6873
  Object.defineProperty(n, "save", { enumerable: !0, get: function() {
6859
6874
  return e.save;
6860
6875
  } });
6861
- })(Nn);
6876
+ })(Rn);
6862
6877
  (function(n) {
6863
6878
  Object.defineProperty(n, "__esModule", { value: !0 }), n.save = n.isCaretAtStartOfInput = n.isCaretAtEndOfInput = n.getRange = n.getCaretNodeAndOffset = n.focus = n.getContenteditableSlice = n.checkContenteditableSliceForEmptiness = void 0;
6864
6879
  var e = St;
6865
6880
  Object.defineProperty(n, "checkContenteditableSliceForEmptiness", { enumerable: !0, get: function() {
6866
6881
  return e.checkContenteditableSliceForEmptiness;
6867
6882
  } });
6868
- var t = _n;
6883
+ var t = Mn;
6869
6884
  Object.defineProperty(n, "getContenteditableSlice", { enumerable: !0, get: function() {
6870
6885
  return t.getContenteditableSlice;
6871
6886
  } });
6872
- var o = Mn;
6887
+ var o = Ln;
6873
6888
  Object.defineProperty(n, "focus", { enumerable: !0, get: function() {
6874
6889
  return o.focus;
6875
6890
  } });
@@ -6877,23 +6892,23 @@ function va() {
6877
6892
  Object.defineProperty(n, "getCaretNodeAndOffset", { enumerable: !0, get: function() {
6878
6893
  return i.getCaretNodeAndOffset;
6879
6894
  } });
6880
- var s = Ln;
6895
+ var s = An;
6881
6896
  Object.defineProperty(n, "getRange", { enumerable: !0, get: function() {
6882
6897
  return s.getRange;
6883
6898
  } });
6884
- var r = An;
6899
+ var r = Pn;
6885
6900
  Object.defineProperty(n, "isCaretAtEndOfInput", { enumerable: !0, get: function() {
6886
6901
  return r.isCaretAtEndOfInput;
6887
6902
  } });
6888
- var a = Pn;
6903
+ var a = Nn;
6889
6904
  Object.defineProperty(n, "isCaretAtStartOfInput", { enumerable: !0, get: function() {
6890
6905
  return a.isCaretAtStartOfInput;
6891
6906
  } });
6892
- var l = Nn;
6907
+ var l = Rn;
6893
6908
  Object.defineProperty(n, "save", { enumerable: !0, get: function() {
6894
6909
  return l.save;
6895
6910
  } });
6896
- })(un);
6911
+ })(pn);
6897
6912
  class ka extends E {
6898
6913
  /**
6899
6914
  * All keydowns on Block
@@ -7082,7 +7097,7 @@ class ka extends E {
7082
7097
  */
7083
7098
  mergeBlocks(e, t) {
7084
7099
  const { BlockManager: o, Toolbar: i } = this.Editor;
7085
- e.lastInput !== void 0 && (un.focus(e.lastInput, !1), o.mergeBlocks(e, t).then(() => {
7100
+ e.lastInput !== void 0 && (pn.focus(e.lastInput, !1), o.mergeBlocks(e, t).then(() => {
7086
7101
  i.close();
7087
7102
  }));
7088
7103
  }
@@ -8414,7 +8429,7 @@ class Ca extends E {
8414
8429
  * @param {MouseEvent} event - mouse down event
8415
8430
  */
8416
8431
  watchSelection(e) {
8417
- if (e.button !== qn.LEFT)
8432
+ if (e.button !== Zn.LEFT)
8418
8433
  return;
8419
8434
  const { BlockManager: t } = this.Editor;
8420
8435
  this.firstSelectedBlock = t.getBlock(e.target), this.lastSelectedBlock = this.firstSelectedBlock, this.listeners.on(document, "mouseover", this.onMouseOver), this.listeners.on(document, "mouseup", this.onMouseUp);
@@ -8623,7 +8638,7 @@ class Ia extends E {
8623
8638
  });
8624
8639
  }
8625
8640
  }
8626
- const Rn = class Dn extends E {
8641
+ const Dn = class Fn extends E {
8627
8642
  constructor() {
8628
8643
  super(...arguments), this.MIME_TYPE = "application/x-editor-js", this.toolsTags = {}, this.tagsByTool = {}, this.toolsPatterns = [], this.toolsFiles = {}, this.exceptionList = [], this.processTool = (e) => {
8629
8644
  try {
@@ -8730,7 +8745,7 @@ const Rn = class Dn extends E {
8730
8745
  * @returns {string[]} array of tags.
8731
8746
  */
8732
8747
  collectTagNames(e) {
8733
- return te(e) ? [e] : F(e) ? Object.keys(e) : [];
8748
+ return te(e) ? [e] : H(e) ? Object.keys(e) : [];
8734
8749
  }
8735
8750
  /**
8736
8751
  * Get tags to substitute by Tool
@@ -8751,7 +8766,7 @@ const Rn = class Dn extends E {
8751
8766
  );
8752
8767
  return;
8753
8768
  }
8754
- const a = F(i) ? i[r] : null;
8769
+ const a = H(i) ? i[r] : null;
8755
8770
  this.toolsTags[r.toUpperCase()] = {
8756
8771
  tool: e,
8757
8772
  sanitizationConfig: a
@@ -8769,7 +8784,7 @@ const Rn = class Dn extends E {
8769
8784
  return;
8770
8785
  const { files: t = {} } = e.pasteConfig;
8771
8786
  let { extensions: o, mimeTypes: i } = t;
8772
- !o && !i || (o && !Array.isArray(o) && (I(`«extensions» property of the onDrop config for «${e.name}» Tool should be an array`), o = []), i && !Array.isArray(i) && (I(`«mimeTypes» property of the onDrop config for «${e.name}» Tool should be an array`), i = []), i && (i = i.filter((s) => ei(s) ? !0 : (I(`MIME type value «${s}» for the «${e.name}» Tool is not a valid MIME type`, "warn"), !1))), this.toolsFiles[e.name] = {
8787
+ !o && !i || (o && !Array.isArray(o) && (I(`«extensions» property of the onDrop config for «${e.name}» Tool should be an array`), o = []), i && !Array.isArray(i) && (I(`«mimeTypes» property of the onDrop config for «${e.name}» Tool should be an array`), i = []), i && (i = i.filter((s) => ti(s) ? !0 : (I(`MIME type value «${s}» for the «${e.name}» Tool is not a valid MIME type`, "warn"), !1))), this.toolsFiles[e.name] = {
8773
8788
  extensions: o || [],
8774
8789
  mimeTypes: i || []
8775
8790
  });
@@ -8824,7 +8839,7 @@ const Rn = class Dn extends E {
8824
8839
  * @param {File} file - file to process
8825
8840
  */
8826
8841
  async processFile(e) {
8827
- const t = Qn(e), o = Object.entries(this.toolsFiles).find(([r, { mimeTypes: a, extensions: l }]) => {
8842
+ const t = ei(e), o = Object.entries(this.toolsFiles).find(([r, { mimeTypes: a, extensions: l }]) => {
8828
8843
  const [c, d] = e.type.split("/"), u = l.find((g) => g.toLowerCase() === t.toLowerCase()), p = a.find((g) => {
8829
8844
  const [f, v] = g.split("/");
8830
8845
  return f === c && (v === d || v === "*");
@@ -8860,7 +8875,7 @@ const Rn = class Dn extends E {
8860
8875
  break;
8861
8876
  }
8862
8877
  const { tags: c } = a.pasteConfig || { tags: [] }, d = c.reduce((g, f) => (this.collectTagNames(f).forEach((B) => {
8863
- const x = F(f) ? f[B] : null;
8878
+ const x = H(f) ? f[B] : null;
8864
8879
  g[B.toLowerCase()] = x || {};
8865
8880
  }), g), {}), u = Object.assign({}, d, a.baseSanitizeConfig);
8866
8881
  if (r.tagName.toLowerCase() === "table") {
@@ -8932,7 +8947,7 @@ const Rn = class Dn extends E {
8932
8947
  */
8933
8948
  async processInlinePaste(e) {
8934
8949
  const { BlockManager: t, Caret: o } = this.Editor, { content: i } = e;
8935
- if (t.currentBlock && t.currentBlock.tool.isDefault && i.textContent.length < Dn.PATTERN_PROCESSING_MAX_LENGTH) {
8950
+ if (t.currentBlock && t.currentBlock.tool.isDefault && i.textContent.length < Fn.PATTERN_PROCESSING_MAX_LENGTH) {
8936
8951
  const r = await this.processPattern(i.textContent);
8937
8952
  if (r) {
8938
8953
  const a = t.currentBlock && t.currentBlock.tool.isDefault && t.currentBlock.isEmpty, l = t.paste(r.tool, r.event, a);
@@ -9067,8 +9082,8 @@ const Rn = class Dn extends E {
9067
9082
  });
9068
9083
  }
9069
9084
  };
9070
- Rn.PATTERN_PROCESSING_MAX_LENGTH = 450;
9071
- let Oa = Rn;
9085
+ Dn.PATTERN_PROCESSING_MAX_LENGTH = 450;
9086
+ let Oa = Dn;
9072
9087
  class _a extends E {
9073
9088
  constructor() {
9074
9089
  super(...arguments), this.toolsDontSupportReadOnly = [], this.readOnlyEnabled = !1;
@@ -9488,7 +9503,7 @@ class La extends E {
9488
9503
  }), {
9489
9504
  time: +/* @__PURE__ */ new Date(),
9490
9505
  blocks: t,
9491
- version: "2.31.21"
9506
+ version: "2.31.28"
9492
9507
  };
9493
9508
  }
9494
9509
  }
@@ -9696,7 +9711,7 @@ class go {
9696
9711
  */
9697
9712
  render() {
9698
9713
  return {
9699
- icon: Ji,
9714
+ icon: Qi,
9700
9715
  name: "bold",
9701
9716
  onActivate: () => {
9702
9717
  document.execCommand(this.commandName);
@@ -9740,7 +9755,7 @@ class mo {
9740
9755
  * Create button for Inline Toolbar
9741
9756
  */
9742
9757
  render() {
9743
- return this.nodes.button = document.createElement("button"), this.nodes.button.type = "button", this.nodes.button.classList.add(this.CSS.button, this.CSS.buttonModifier), this.nodes.button.innerHTML = as, this.nodes.button;
9758
+ return this.nodes.button = document.createElement("button"), this.nodes.button.type = "button", this.nodes.button.classList.add(this.CSS.button, this.CSS.buttonModifier), this.nodes.button.innerHTML = ls, this.nodes.button;
9744
9759
  }
9745
9760
  /**
9746
9761
  * Wrap range with <i> tag
@@ -9941,6 +9956,8 @@ class bo {
9941
9956
  insertLink(e) {
9942
9957
  const t = this.selection.findParentTag("A");
9943
9958
  t && this.selection.expandToTag(t), document.execCommand(this.commandLink, !1, e);
9959
+ const o = this.selection.findParentTag("A");
9960
+ o == null || o.setAttribute("target", "_blank");
9944
9961
  }
9945
9962
  /**
9946
9963
  * Removes <a> tag
@@ -9951,7 +9968,7 @@ class bo {
9951
9968
  }
9952
9969
  bo.isInline = !0;
9953
9970
  bo.title = "Link";
9954
- class Fn {
9971
+ class Hn {
9955
9972
  /**
9956
9973
  * @param api - Editor.js API
9957
9974
  */
@@ -9973,10 +9990,10 @@ class Fn {
9973
9990
  return (u = d.toolbox) == null || u.forEach((p) => {
9974
9991
  c.push({
9975
9992
  icon: p.icon,
9976
- title: N.t($.toolNames, p.title),
9993
+ title: N.t(F.toolNames, p.title),
9977
9994
  name: d.name,
9978
9995
  hint: {
9979
- title: N.t($.toolNames, p.title)
9996
+ title: N.t(F.toolNames, p.title)
9980
9997
  },
9981
9998
  closeOnActivate: !0,
9982
9999
  onActivate: async () => {
@@ -9985,7 +10002,7 @@ class Fn {
9985
10002
  }
9986
10003
  });
9987
10004
  }), c;
9988
- }, []), r = await t.getActiveToolboxEntry(), a = r !== void 0 ? r.icon : Go, l = !1;
10005
+ }, []), r = await t.getActiveToolboxEntry(), a = r !== void 0 ? r.icon : Jo, l = !1;
9989
10006
  //!_.isMobileScreen();
9990
10007
  return {
9991
10008
  icon: a,
@@ -10004,8 +10021,8 @@ class Fn {
10004
10021
  };
10005
10022
  }
10006
10023
  }
10007
- Fn.isInline = !0;
10008
- class Hn {
10024
+ Hn.isInline = !0;
10025
+ class jn {
10009
10026
  /**
10010
10027
  * @param options - constructor options
10011
10028
  * @param options.data - stub tool data
@@ -10049,7 +10066,7 @@ class Hn {
10049
10066
  return e.innerHTML = t, o.appendChild(i), o.appendChild(s), e.appendChild(o), e;
10050
10067
  }
10051
10068
  }
10052
- Hn.isReadOnlySupported = !0;
10069
+ jn.isReadOnlySupported = !0;
10053
10070
  class Na extends Tt {
10054
10071
  constructor() {
10055
10072
  super(...arguments), this.type = ae.Inline;
@@ -10096,51 +10113,51 @@ class Ra extends Tt {
10096
10113
  });
10097
10114
  }
10098
10115
  }
10099
- class j extends Map {
10116
+ class $ extends Map {
10100
10117
  /**
10101
10118
  * Returns Block Tools collection
10102
10119
  */
10103
10120
  get blockTools() {
10104
10121
  const e = Array.from(this.entries()).filter(([, t]) => t.isBlock());
10105
- return new j(e);
10122
+ return new $(e);
10106
10123
  }
10107
10124
  /**
10108
10125
  * Returns Inline Tools collection
10109
10126
  */
10110
10127
  get inlineTools() {
10111
10128
  const e = Array.from(this.entries()).filter(([, t]) => t.isInline());
10112
- return new j(e);
10129
+ return new $(e);
10113
10130
  }
10114
10131
  /**
10115
10132
  * Returns Block Tunes collection
10116
10133
  */
10117
10134
  get blockTunes() {
10118
10135
  const e = Array.from(this.entries()).filter(([, t]) => t.isTune());
10119
- return new j(e);
10136
+ return new $(e);
10120
10137
  }
10121
10138
  /**
10122
10139
  * Returns internal Tools collection
10123
10140
  */
10124
10141
  get internalTools() {
10125
10142
  const e = Array.from(this.entries()).filter(([, t]) => t.isInternal);
10126
- return new j(e);
10143
+ return new $(e);
10127
10144
  }
10128
10145
  /**
10129
10146
  * Returns Tools collection provided by user
10130
10147
  */
10131
10148
  get externalTools() {
10132
10149
  const e = Array.from(this.entries()).filter(([, t]) => !t.isInternal);
10133
- return new j(e);
10150
+ return new $(e);
10134
10151
  }
10135
10152
  }
10136
- var Da = Object.defineProperty, Fa = Object.getOwnPropertyDescriptor, jn = (n, e, t, o) => {
10153
+ var Da = Object.defineProperty, Fa = Object.getOwnPropertyDescriptor, $n = (n, e, t, o) => {
10137
10154
  for (var i = o > 1 ? void 0 : o ? Fa(e, t) : e, s = n.length - 1, r; s >= 0; s--)
10138
10155
  (r = n[s]) && (i = (o ? r(e, t, i) : r(i)) || i);
10139
10156
  return o && i && Da(e, t, i), i;
10140
10157
  };
10141
10158
  class vo extends Tt {
10142
10159
  constructor() {
10143
- super(...arguments), this.type = ae.Block, this.inlineTools = new j(), this.tunes = new j();
10160
+ super(...arguments), this.type = ae.Block, this.inlineTools = new $(), this.tunes = new $();
10144
10161
  }
10145
10162
  /**
10146
10163
  * Creates new Tool instance
@@ -10231,7 +10248,7 @@ class vo extends Tt {
10231
10248
  for (const i in e)
10232
10249
  if (Object.prototype.hasOwnProperty.call(e, i)) {
10233
10250
  const s = e[i];
10234
- F(s) ? o[i] = Object.assign({}, t, s) : o[i] = s;
10251
+ H(s) ? o[i] = Object.assign({}, t, s) : o[i] = s;
10235
10252
  }
10236
10253
  return o;
10237
10254
  }
@@ -10240,10 +10257,10 @@ class vo extends Tt {
10240
10257
  return Array.from(this.inlineTools.values()).forEach((t) => Object.assign(e, t.sanitizeConfig)), Array.from(this.tunes.values()).forEach((t) => Object.assign(e, t.sanitizeConfig)), e;
10241
10258
  }
10242
10259
  }
10243
- jn([
10260
+ $n([
10244
10261
  me
10245
10262
  ], vo.prototype, "sanitizeConfig", 1);
10246
- jn([
10263
+ $n([
10247
10264
  me
10248
10265
  ], vo.prototype, "baseSanitizeConfig", 1);
10249
10266
  class Ha {
@@ -10289,7 +10306,7 @@ class Ha {
10289
10306
  }
10290
10307
  }
10291
10308
  }
10292
- class $n {
10309
+ class zn {
10293
10310
  /**
10294
10311
  * MoveDownTune constructor
10295
10312
  *
@@ -10305,7 +10322,7 @@ class $n {
10305
10322
  */
10306
10323
  render() {
10307
10324
  return {
10308
- icon: es,
10325
+ icon: ts,
10309
10326
  title: this.api.i18n.t("Move down"),
10310
10327
  onActivate: () => this.handleClick(),
10311
10328
  name: "move-down",
@@ -10327,8 +10344,8 @@ class $n {
10327
10344
  i.top < window.innerHeight && (s = window.scrollY + o.offsetHeight), window.scrollTo(0, s), this.api.blocks.move(e + 1), this.api.toolbar.toggleBlockSettings(!0);
10328
10345
  }
10329
10346
  }
10330
- $n.isTune = !0;
10331
- class zn {
10347
+ zn.isTune = !0;
10348
+ class Un {
10332
10349
  /**
10333
10350
  * DeleteTune constructor
10334
10351
  *
@@ -10342,7 +10359,7 @@ class zn {
10342
10359
  */
10343
10360
  render() {
10344
10361
  return {
10345
- icon: is,
10362
+ icon: ss,
10346
10363
  title: this.api.i18n.t("Delete"),
10347
10364
  name: "delete",
10348
10365
  confirmation: {
@@ -10362,8 +10379,8 @@ class zn {
10362
10379
  this.api.blocks.delete();
10363
10380
  }
10364
10381
  }
10365
- zn.isTune = !0;
10366
- class Un {
10382
+ Un.isTune = !0;
10383
+ class Wn {
10367
10384
  /**
10368
10385
  * MoveUpTune constructor
10369
10386
  *
@@ -10379,7 +10396,7 @@ class Un {
10379
10396
  */
10380
10397
  render() {
10381
10398
  return {
10382
- icon: ns,
10399
+ icon: is,
10383
10400
  title: this.api.i18n.t("Move up"),
10384
10401
  onActivate: () => this.handleClick(),
10385
10402
  name: "move-up",
@@ -10401,15 +10418,15 @@ class Un {
10401
10418
  a.top > 0 ? l = Math.abs(r.top) - Math.abs(a.top) : l = Math.abs(r.top) + a.height, window.scrollBy(0, -1 * l), this.api.blocks.move(e - 1), this.api.toolbar.toggleBlockSettings(!0);
10402
10419
  }
10403
10420
  }
10404
- Un.isTune = !0;
10421
+ Wn.isTune = !0;
10405
10422
  var ja = Object.defineProperty, $a = Object.getOwnPropertyDescriptor, za = (n, e, t, o) => {
10406
10423
  for (var i = o > 1 ? void 0 : o ? $a(e, t) : e, s = n.length - 1, r; s >= 0; s--)
10407
10424
  (r = n[s]) && (i = (o ? r(e, t, i) : r(i)) || i);
10408
10425
  return o && i && ja(e, t, i), i;
10409
10426
  };
10410
- class Wn extends E {
10427
+ class Yn extends E {
10411
10428
  constructor() {
10412
- super(...arguments), this.stubTool = "stub", this.toolsAvailable = new j(), this.toolsUnavailable = new j();
10429
+ super(...arguments), this.stubTool = "stub", this.toolsAvailable = new $(), this.toolsUnavailable = new $();
10413
10430
  }
10414
10431
  /**
10415
10432
  * Returns available Tools
@@ -10468,7 +10485,7 @@ class Wn extends E {
10468
10485
  const t = this.getListOfPrepareFunctions(e);
10469
10486
  if (t.length === 0)
10470
10487
  return Promise.resolve();
10471
- await Jn(t, (o) => {
10488
+ await Qn(t, (o) => {
10472
10489
  this.toolPrepareMethodSuccess(o);
10473
10490
  }, (o) => {
10474
10491
  this.toolPrepareMethodFallback(o);
@@ -10495,7 +10512,7 @@ class Wn extends E {
10495
10512
  get internalTools() {
10496
10513
  return {
10497
10514
  convertTo: {
10498
- class: Fn,
10515
+ class: Hn,
10499
10516
  isInternal: !0
10500
10517
  },
10501
10518
  link: {
@@ -10516,19 +10533,19 @@ class Wn extends E {
10516
10533
  isInternal: !0
10517
10534
  },
10518
10535
  stub: {
10519
- class: Hn,
10536
+ class: jn,
10520
10537
  isInternal: !0
10521
10538
  },
10522
10539
  moveUp: {
10523
- class: Un,
10540
+ class: Wn,
10524
10541
  isInternal: !0
10525
10542
  },
10526
10543
  delete: {
10527
- class: zn,
10544
+ class: Un,
10528
10545
  isInternal: !0
10529
10546
  },
10530
10547
  moveDown: {
10531
- class: $n,
10548
+ class: zn,
10532
10549
  isInternal: !0
10533
10550
  }
10534
10551
  };
@@ -10597,12 +10614,12 @@ class Wn extends E {
10597
10614
  assignInlineToolsToBlockTool(e) {
10598
10615
  if (this.config.inlineToolbar !== !1) {
10599
10616
  if (e.enabledInlineTools === !0) {
10600
- e.inlineTools = new j(
10617
+ e.inlineTools = new $(
10601
10618
  Array.isArray(this.config.inlineToolbar) ? this.config.inlineToolbar.map((t) => [t, this.inlineTools.get(t)]) : Array.from(this.inlineTools.entries())
10602
10619
  );
10603
10620
  return;
10604
10621
  }
10605
- Array.isArray(e.enabledInlineTools) && (e.inlineTools = new j(
10622
+ Array.isArray(e.enabledInlineTools) && (e.inlineTools = new $(
10606
10623
  /** Prepend ConvertTo Inline Tool */
10607
10624
  ["convertTo", ...e.enabledInlineTools].map((t) => [t, this.inlineTools.get(t)])
10608
10625
  ));
@@ -10616,17 +10633,17 @@ class Wn extends E {
10616
10633
  assignBlockTunesToBlockTool(e) {
10617
10634
  if (e.enabledBlockTunes !== !1) {
10618
10635
  if (Array.isArray(e.enabledBlockTunes)) {
10619
- const t = new j(
10636
+ const t = new $(
10620
10637
  e.enabledBlockTunes.map((o) => [o, this.blockTunes.get(o)])
10621
10638
  );
10622
- e.tunes = new j([...t, ...this.blockTunes.internalTools]);
10639
+ e.tunes = new $([...t, ...this.blockTunes.internalTools]);
10623
10640
  return;
10624
10641
  }
10625
10642
  if (Array.isArray(this.config.tunes)) {
10626
- const t = new j(
10643
+ const t = new $(
10627
10644
  this.config.tunes.map((o) => [o, this.blockTunes.get(o)])
10628
10645
  );
10629
- e.tunes = new j([...t, ...this.blockTunes.internalTools]);
10646
+ e.tunes = new $([...t, ...this.blockTunes.internalTools]);
10630
10647
  return;
10631
10648
  }
10632
10649
  e.tunes = this.blockTunes.internalTools;
@@ -10653,14 +10670,14 @@ class Wn extends E {
10653
10670
  prepareConfig() {
10654
10671
  const e = {};
10655
10672
  for (const t in this.config.tools)
10656
- F(this.config.tools[t]) ? e[t] = this.config.tools[t] : e[t] = { class: this.config.tools[t] };
10673
+ H(this.config.tools[t]) ? e[t] = this.config.tools[t] : e[t] = { class: this.config.tools[t] };
10657
10674
  return e;
10658
10675
  }
10659
10676
  }
10660
10677
  za([
10661
10678
  me
10662
- ], Wn.prototype, "getAllInlineToolsSanitizeConfig", 1);
10663
- const Ua = `:root{--selectionColor: #e1f2ff;--inlineSelectionColor: #d4ecff;--bg-light: #eff2f5;--grayText: #707684;--color-dark: #1D202B;--color-active-icon: #388AE5;--color-gray-border: rgba(201, 201, 204, .48);--content-width: 650px;--narrow-mode-right-padding: 50px;--toolbox-buttons-size: 26px;--toolbox-buttons-size--mobile: 36px;--icon-size: 20px;--icon-size--mobile: 28px;--block-padding-vertical: 8px;--color-line-gray: #EFF0F1 }.codex-editor{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;z-index:1}.codex-editor .hide{display:none}.codex-editor__redactor [contenteditable]:empty:after{content:"\\feff"}@media (min-width: 651px){.codex-editor--narrow .codex-editor__redactor{margin-right:50px}}@media (min-width: 651px){.codex-editor--narrow.codex-editor--rtl .codex-editor__redactor{margin-left:50px;margin-right:0}}@media (min-width: 651px){.codex-editor--narrow .ce-toolbar__actions{right:-5px}}.codex-editor-copyable{position:absolute;height:1px;width:1px;top:-400%;opacity:.001}.codex-editor-overlay{position:fixed;top:0;left:0;right:0;bottom:0;z-index:999;pointer-events:none;overflow:hidden}.codex-editor-overlay__container{position:relative;pointer-events:auto;z-index:0}.codex-editor-overlay__rectangle{position:absolute;pointer-events:none;background-color:#2eaadc33;border:1px solid transparent}.codex-editor svg{max-height:100%}.codex-editor path{stroke:currentColor}.codex-editor ::-moz-selection{background-color:#d4ecff}.codex-editor ::selection{background-color:#d4ecff}.codex-editor--toolbox-opened [contentEditable=true][data-placeholder]:focus:before{opacity:0!important}.ce-scroll-locked{overflow:hidden}.ce-scroll-locked--hard{overflow:hidden;top:calc(-1 * var(--window-scroll-offset));position:fixed;width:100%}.ce-toolbar{position:absolute;left:0;right:0;top:0;-webkit-transition:opacity .1s ease;transition:opacity .1s ease;will-change:opacity,top;display:none}.ce-toolbar--opened{display:block}.ce-toolbar__content{max-width:650px;margin:0 auto;position:relative}.ce-toolbar__plus{color:#1d202b;cursor:pointer;width:26px;height:26px;border-radius:7px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-negative:0;flex-shrink:0}@media (max-width: 650px){.ce-toolbar__plus{width:36px;height:36px}}@media (hover: hover){.ce-toolbar__plus:hover{background-color:#eff2f5}}.ce-toolbar__plus--active{background-color:#eff2f5;-webkit-animation:bounceIn .75s 1;animation:bounceIn .75s 1;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.ce-toolbar__plus-shortcut{opacity:.6;word-spacing:-2px;margin-top:5px}.ce-toolbar__plus--hidden{display:none}@media (max-width: 650px){.ce-toolbar__plus{position:absolute;background-color:#fff;border:1px solid #E8E8EB;-webkit-box-shadow:0 3px 15px -3px rgba(13,20,33,.13);box-shadow:0 3px 15px -3px #0d142121;border-radius:6px;z-index:2;position:static}.ce-toolbar__plus--left-oriented:before{left:15px;margin-left:0}.ce-toolbar__plus--right-oriented:before{left:auto;right:15px;margin-left:0}}.ce-toolbar__actions{position:absolute;right:100%;opacity:0;display:-webkit-box;display:-ms-flexbox;display:flex;padding-right:5px}.ce-toolbar__actions--opened{opacity:1}@media (max-width: 650px){.ce-toolbar__actions{right:auto}}.ce-toolbar__settings-btn{color:#1d202b;width:26px;height:26px;border-radius:7px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;border:1px solid rgba(201,201,204,.48);color:#707684;margin-left:3px;cursor:pointer;user-select:none}@media (max-width: 650px){.ce-toolbar__settings-btn{width:36px;height:36px}}@media (hover: hover){.ce-toolbar__settings-btn:hover{background-color:#eff2f5}}.ce-toolbar__settings-btn--active{background-color:#eff2f5;-webkit-animation:bounceIn .75s 1;animation:bounceIn .75s 1;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.ce-toolbar__settings-btn--hidden{display:none}@media (max-width: 650px){.ce-toolbar__settings-btn{position:absolute;background-color:#fff;border:1px solid #E8E8EB;-webkit-box-shadow:0 3px 15px -3px rgba(13,20,33,.13);box-shadow:0 3px 15px -3px #0d142121;border-radius:6px;z-index:2;position:static}.ce-toolbar__settings-btn--left-oriented:before{left:15px;margin-left:0}.ce-toolbar__settings-btn--right-oriented:before{left:auto;right:15px;margin-left:0}}.ce-toolbar__plus svg,.ce-toolbar__settings-btn svg{width:24px;height:24px}.ce-toolbar__plus svg path,.ce-toolbar__settings-btn svg path{fill:#707684}.ce-toolbar__settings-btn{width:auto}.ce-toolbar__settings-btn .icon-block-name,.ce-toolbar__settings-btn .icon-menu{display:inline-block;width:24px;height:24px}.ce-toolbar__settings-btn .icon-block-name{text-align:center}.ce-toolbar__settings-btn .icon-block-name .icon-toolbox-alert{width:20px!important;height:20px!important}.ce-toolbar__settings-btn .icon-menu{width:16px}.ce-toolbar__settings-btn .icon-menu svg{margin-left:-6px}@media (min-width: 651px){.codex-editor--narrow .ce-toolbar__plus{left:5px}}@media (min-width: 651px){.codex-editor--narrow .ce-toolbox .ce-popover{right:0;left:auto;left:initial}}.ce-inline-toolbar{--y-offset: 8px;--color-background-icon-active: rgba(56, 138, 229, .1);--color-text-icon-active: #388AE5;--color-text-primary: black;position:absolute;visibility:hidden;-webkit-transition:opacity .25s ease;transition:opacity .25s ease;will-change:opacity,left,top;top:0;left:0;z-index:3;opacity:1;visibility:visible}.ce-inline-toolbar [hidden]{display:none!important}.ce-inline-toolbar__toggler-and-button-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;padding:0 6px}.ce-inline-toolbar__buttons{display:-webkit-box;display:-ms-flexbox;display:flex}.ce-inline-toolbar__dropdown{display:-webkit-box;display:-ms-flexbox;display:flex;padding:6px;margin:0 6px 0 -6px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;border-right:1px solid rgba(201,201,204,.48);-webkit-box-sizing:border-box;box-sizing:border-box}@media (hover: hover){.ce-inline-toolbar__dropdown:hover{background:#eff2f5}}.ce-inline-toolbar__dropdown--hidden{display:none}.ce-inline-toolbar__dropdown-content,.ce-inline-toolbar__dropdown-arrow{display:-webkit-box;display:-ms-flexbox;display:flex}.ce-inline-toolbar__dropdown-content svg,.ce-inline-toolbar__dropdown-arrow svg{width:20px;height:20px}.ce-inline-toolbar__shortcut{opacity:.6;word-spacing:-3px;margin-top:3px}.ce-inline-tool{color:var(--color-text-primary);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:0;border-radius:4px;line-height:normal;height:100%;padding:0;width:28px;background-color:transparent;cursor:pointer}@media (max-width: 650px){.ce-inline-tool{width:36px;height:36px}}@media (hover: hover){.ce-inline-tool:hover{background-color:#f8f8f8}}.ce-inline-tool svg{display:block;width:20px;height:20px}@media (max-width: 650px){.ce-inline-tool svg{width:28px;height:28px}}.ce-inline-tool--link .icon--unlink,.ce-inline-tool--unlink .icon--link{display:none}.ce-inline-tool--unlink .icon--unlink{display:inline-block;margin-bottom:-1px}.ce-inline-tool-input-wrap{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;gap:5px}.ce-inline-tool-input-btn{width:50px;border-radius:5px;background-color:#161c27;color:#fff;border:none;cursor:pointer}.ce-inline-tool-input{-webkit-box-flex:1;-ms-flex:1;flex:1;background:#F8F8F8;border:1px solid rgba(226,226,229,.2);border-radius:6px;padding:4px 8px;font-size:14px;line-height:22px;outline:none;margin:0;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;display:none;font-weight:500;-webkit-appearance:none;font-family:inherit}@media (max-width: 650px){.ce-inline-tool-input{font-size:15px;font-weight:500}}.ce-inline-tool-input::-webkit-input-placeholder{color:#707684}.ce-inline-tool-input::-moz-placeholder{color:#707684}.ce-inline-tool-input:-ms-input-placeholder{color:#707684}.ce-inline-tool-input::-ms-input-placeholder{color:#707684}.ce-inline-tool-input::placeholder{color:#707684}.ce-inline-tool-input--showed{display:block}.ce-inline-tool--active{background:var(--color-background-icon-active);color:var(--color-text-icon-active)}@-webkit-keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.ce-block{-webkit-animation:fade-in .3s ease;animation:fade-in .3s ease;-webkit-animation-fill-mode:none;animation-fill-mode:none;-webkit-animation-fill-mode:initial;animation-fill-mode:initial}.ce-block:first-of-type{margin-top:0}.ce-block--selected .ce-block__content{background:#e1f2ff}.ce-block--selected .ce-block__content [contenteditable]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ce-block--selected .ce-block__content img,.ce-block--selected .ce-block__content .ce-stub{opacity:.55}.ce-block--stretched .ce-block__content{max-width:none}.ce-block__content{position:relative;max-width:650px;margin:0 auto;-webkit-transition:background-color .15s ease;transition:background-color .15s ease}.ce-block--drop-target .ce-block__content:before{content:"";position:absolute;top:100%;left:-20px;margin-top:-1px;height:8px;width:8px;border:solid #388AE5;border-width:1px 1px 0 0;-webkit-transform-origin:right;transform-origin:right;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.ce-block--drop-target .ce-block__content:after{content:"";position:absolute;top:100%;height:1px;width:100%;color:#388ae5;background:repeating-linear-gradient(90deg,#388AE5,#388AE5 1px,#fff 1px,#fff 6px)}.ce-block a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.ce-block b{font-weight:700}.ce-block i{font-style:italic}@-webkit-keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}20%{-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}60%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}20%{-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}60%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@-webkit-keyframes selectionBounce{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}50%{-webkit-transform:scale3d(1.01,1.01,1.01);transform:scale3d(1.01,1.01,1.01)}70%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes selectionBounce{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}50%{-webkit-transform:scale3d(1.01,1.01,1.01);transform:scale3d(1.01,1.01,1.01)}70%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@-webkit-keyframes buttonClicked{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{-webkit-transform:scale3d(.95,.95,.95);transform:scale3d(.95,.95,.95)}60%{-webkit-transform:scale3d(1.02,1.02,1.02);transform:scale3d(1.02,1.02,1.02)}80%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes buttonClicked{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{-webkit-transform:scale3d(.95,.95,.95);transform:scale3d(.95,.95,.95)}60%{-webkit-transform:scale3d(1.02,1.02,1.02);transform:scale3d(1.02,1.02,1.02)}80%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.cdx-block{padding:8px 0}.cdx-block::-webkit-input-placeholder{line-height:normal!important}.cdx-input{border:1px solid rgba(201,201,204,.48);-webkit-box-shadow:inset 0 1px 2px 0 rgba(35,44,72,.06);box-shadow:inset 0 1px 2px #232c480f;border-radius:3px;padding:10px 12px;outline:none;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.cdx-input[data-placeholder]:before{position:static!important}.cdx-input[data-placeholder]:before{display:inline-block;width:0;white-space:nowrap;pointer-events:none}.cdx-settings-button{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border-radius:3px;cursor:pointer;border:0;outline:none;background-color:transparent;vertical-align:bottom;color:inherit;margin:0;min-width:26px;min-height:26px}.cdx-settings-button--focused{background:rgba(34,186,255,.08)!important}.cdx-settings-button--focused{-webkit-box-shadow:inset 0 0 0px 1px rgba(7,161,227,.08);box-shadow:inset 0 0 0 1px #07a1e314}.cdx-settings-button--focused-animated{-webkit-animation-name:buttonClicked;animation-name:buttonClicked;-webkit-animation-duration:.25s;animation-duration:.25s}.cdx-settings-button--active{color:#388ae5}.cdx-settings-button svg{width:auto;height:auto}@media (max-width: 650px){.cdx-settings-button svg{width:28px;height:28px}}@media (max-width: 650px){.cdx-settings-button{width:36px;height:36px;border-radius:8px}}@media (hover: hover){.cdx-settings-button:hover{background-color:#eff2f5}}.cdx-loader{position:relative;border:1px solid rgba(201,201,204,.48)}.cdx-loader:before{content:"";position:absolute;left:50%;top:50%;width:18px;height:18px;margin:-11px 0 0 -11px;border:2px solid rgba(201,201,204,.48);border-left-color:#388ae5;border-radius:50%;-webkit-animation:cdxRotation 1.2s infinite linear;animation:cdxRotation 1.2s infinite linear}@-webkit-keyframes cdxRotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes cdxRotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.cdx-button{padding:13px;border-radius:3px;border:1px solid rgba(201,201,204,.48);font-size:14.9px;background:#fff;-webkit-box-shadow:0 2px 2px 0 rgba(18,30,57,.04);box-shadow:0 2px 2px #121e390a;color:#707684;text-align:center;cursor:pointer}@media (hover: hover){.cdx-button:hover{background:#FBFCFE;-webkit-box-shadow:0 1px 3px 0 rgba(18,30,57,.08);box-shadow:0 1px 3px #121e3914}}.cdx-button svg{height:20px;margin-right:.2em;margin-top:-2px}.ce-stub{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:12px 18px;margin:10px 0;border-radius:10px;background:#eff2f5;border:1px solid #EFF0F1;color:#707684;font-size:14px}.ce-stub svg{width:20px;height:20px}.ce-stub__info{margin-left:14px}.ce-stub__title{font-weight:500;text-transform:capitalize}.codex-editor.codex-editor--rtl{direction:rtl}.codex-editor.codex-editor--rtl .cdx-list{padding-left:0;padding-right:40px}.codex-editor.codex-editor--rtl .ce-toolbar__plus{right:-26px;left:auto}.codex-editor.codex-editor--rtl .ce-toolbar__actions{right:auto;left:-26px}@media (max-width: 650px){.codex-editor.codex-editor--rtl .ce-toolbar__actions{margin-left:0;margin-right:auto;padding-right:0;padding-left:10px}}.codex-editor.codex-editor--rtl .ce-settings{left:5px;right:auto}.codex-editor.codex-editor--rtl .ce-settings:before{right:auto;left:25px}.codex-editor.codex-editor--rtl .ce-settings__button:not(:nth-child(3n+3)){margin-left:3px;margin-right:0}.codex-editor.codex-editor--rtl .ce-conversion-tool__icon{margin-right:0;margin-left:10px}.codex-editor.codex-editor--rtl .ce-inline-toolbar__dropdown{border-right:0px solid transparent;border-left:1px solid rgba(201,201,204,.48);margin:0 -6px 0 6px}.codex-editor.codex-editor--rtl .ce-inline-toolbar__dropdown .icon--toggler-down{margin-left:0;margin-right:4px}@media (min-width: 651px){.codex-editor--narrow.codex-editor--rtl .ce-toolbar__plus{left:0;right:5px}}@media (min-width: 651px){.codex-editor--narrow.codex-editor--rtl .ce-toolbar__actions{left:-5px}}.cdx-search-field{--icon-margin-right: 10px;background:#F8F8F8;border:1px solid rgba(226,226,229,.2);border-radius:6px;padding:2px;display:grid;grid-template-columns:auto auto 1fr;grid-template-rows:auto}.cdx-search-field__icon{width:26px;height:26px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-right:var(--icon-margin-right)}.cdx-search-field__icon svg{width:20px;height:20px;color:#707684}.cdx-search-field__input{font-size:14px;outline:none;font-weight:500;font-family:inherit;border:0;background:transparent;margin:0;padding:0;line-height:22px;min-width:calc(100% - 26px - var(--icon-margin-right))}.cdx-search-field__input::-webkit-input-placeholder{color:#707684;font-weight:500}.cdx-search-field__input::-moz-placeholder{color:#707684;font-weight:500}.cdx-search-field__input:-ms-input-placeholder{color:#707684;font-weight:500}.cdx-search-field__input::-ms-input-placeholder{color:#707684;font-weight:500}.cdx-search-field__input::placeholder{color:#707684;font-weight:500}.ce-popover{--border-radius: 6px;--width: 200px;--max-height: 270px;--padding: 6px;--offset-from-target: 8px;--color-border: #EFF0F1;--color-shadow: rgba(13, 20, 33, .1);--color-background: white;--color-text-primary: black;--color-text-secondary: #707684;--color-border-icon: rgba(201, 201, 204, .48);--color-border-icon-disabled: #EFF0F1;--color-text-icon-active: #388AE5;--color-background-icon-active: rgba(56, 138, 229, .1);--color-background-item-focus: rgba(34, 186, 255, .08);--color-shadow-item-focus: rgba(7, 161, 227, .08);--color-background-item-hover: #F8F8F8;--color-background-item-confirm: #E24A4A;--color-background-item-confirm-hover: #CE4343;--popover-top: calc(100% + var(--offset-from-target));--popover-left: 0;--nested-popover-overlap: 4px;--icon-size: 20px;--item-padding: 3px;--item-height: calc(var(--icon-size) + 2 * var(--item-padding))}.ce-popover__container{min-width:var(--width);width:var(--width);max-height:var(--max-height);border-radius:var(--border-radius);overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:0px 3px 15px -3px var(--color-shadow);box-shadow:0 3px 15px -3px var(--color-shadow);position:absolute;left:var(--popover-left);top:var(--popover-top);background:var(--color-background);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;z-index:4;opacity:0;max-height:0;pointer-events:none;padding:0;border:none}.ce-popover--opened>.ce-popover__container{opacity:1;padding:var(--padding);max-height:var(--max-height);pointer-events:auto;-webkit-animation:panelShowing .1s ease;animation:panelShowing .1s ease;border:1px solid var(--color-border)}@media (max-width: 650px){.ce-popover--opened>.ce-popover__container{-webkit-animation:panelShowingMobile .25s ease;animation:panelShowingMobile .25s ease}}.ce-popover--open-top .ce-popover__container{--popover-top: calc(-1 * (var(--offset-from-target) + var(--popover-height)))}.ce-popover--open-left .ce-popover__container{--popover-left: calc(-1 * var(--width) + 100%)}.ce-popover__items{overflow-y:auto;-ms-scroll-chaining:none;overscroll-behavior:contain}@media (max-width: 650px){.ce-popover__overlay{position:fixed;top:0;bottom:0;left:0;right:0;background:#1D202B;z-index:3;opacity:.5;-webkit-transition:opacity .12s ease-in;transition:opacity .12s ease-in;will-change:opacity;visibility:visible}}.ce-popover__overlay--hidden{display:none}@media (max-width: 650px){.ce-popover .ce-popover__container{--offset: 5px;position:fixed;max-width:none;min-width:calc(100% - var(--offset) * 2);left:var(--offset);right:var(--offset);bottom:calc(var(--offset) + env(safe-area-inset-bottom));top:auto;border-radius:10px}}.ce-popover__search{margin-bottom:5px}.ce-popover__nothing-found-message{color:#707684;display:none;cursor:default;padding:3px;font-size:14px;line-height:20px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ce-popover__nothing-found-message--displayed{display:block}.ce-popover--nested .ce-popover__container{--popover-left: calc(var(--nesting-level) * (var(--width) - var(--nested-popover-overlap)));top:calc(var(--trigger-item-top) - var(--nested-popover-overlap));position:absolute}.ce-popover--open-top.ce-popover--nested .ce-popover__container{top:calc(var(--trigger-item-top) - var(--popover-height) + var(--item-height) + var(--offset-from-target) + var(--nested-popover-overlap))}.ce-popover--open-left .ce-popover--nested .ce-popover__container{--popover-left: calc(-1 * (var(--nesting-level) + 1) * var(--width) + 100%)}.ce-popover-item-separator{padding:4px 3px}.ce-popover-item-separator--hidden{display:none}.ce-popover-item-separator__line{height:1px;background:var(--color-border);width:100%}.ce-popover-item-html--hidden{display:none}.ce-popover-item{--border-radius: 6px;border-radius:var(--border-radius);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:var(--item-padding);color:var(--color-text-primary);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:none;background:transparent}@media (max-width: 650px){.ce-popover-item{padding:4px}}.ce-popover-item:not(:last-of-type){margin-bottom:1px}.ce-popover-item__icon{width:26px;height:26px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.ce-popover-item__icon svg{width:20px;height:20px}@media (max-width: 650px){.ce-popover-item__icon{width:36px;height:36px;border-radius:8px}.ce-popover-item__icon svg{width:28px;height:28px}}.ce-popover-item__icon--tool{margin-right:4px}.ce-popover-item__title{font-size:14px;line-height:20px;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-right:auto}@media (max-width: 650px){.ce-popover-item__title{font-size:16px}}.ce-popover-item__secondary-title{color:var(--color-text-secondary);font-size:12px;white-space:nowrap;letter-spacing:-.1em;padding-right:5px;opacity:.6}@media (max-width: 650px){.ce-popover-item__secondary-title{display:none}}.ce-popover-item--active{background:var(--color-background-icon-active);color:var(--color-text-icon-active)}.ce-popover-item--disabled{color:var(--color-text-secondary);cursor:default;pointer-events:none}.ce-popover-item--focused:not(.ce-popover-item--no-focus){background:var(--color-background-item-focus)!important}.ce-popover-item--hidden{display:none}@media (hover: hover){.ce-popover-item:hover{cursor:pointer}.ce-popover-item:hover:not(.ce-popover-item--no-hover){background-color:var(--color-background-item-hover)}}.ce-popover-item--confirmation{background:var(--color-background-item-confirm)}.ce-popover-item--confirmation .ce-popover-item__title,.ce-popover-item--confirmation .ce-popover-item__icon{color:#fff}@media (hover: hover){.ce-popover-item--confirmation:not(.ce-popover-item--no-hover):hover{background:var(--color-background-item-confirm-hover)}}.ce-popover-item--confirmation:not(.ce-popover-item--no-focus).ce-popover-item--focused{background:var(--color-background-item-confirm-hover)!important}@-webkit-keyframes panelShowing{0%{opacity:0;-webkit-transform:translateY(-8px) scale(.9);transform:translateY(-8px) scale(.9)}70%{opacity:1;-webkit-transform:translateY(2px);transform:translateY(2px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes panelShowing{0%{opacity:0;-webkit-transform:translateY(-8px) scale(.9);transform:translateY(-8px) scale(.9)}70%{opacity:1;-webkit-transform:translateY(2px);transform:translateY(2px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes panelShowingMobile{0%{opacity:0;-webkit-transform:translateY(14px) scale(.98);transform:translateY(14px) scale(.98)}70%{opacity:1;-webkit-transform:translateY(-4px);transform:translateY(-4px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes panelShowingMobile{0%{opacity:0;-webkit-transform:translateY(14px) scale(.98);transform:translateY(14px) scale(.98)}70%{opacity:1;-webkit-transform:translateY(-4px);transform:translateY(-4px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}.wobble{-webkit-animation-name:wobble;animation-name:wobble;-webkit-animation-duration:.4s;animation-duration:.4s}@-webkit-keyframes wobble{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-9%,0,0);transform:translate3d(-9%,0,0)}30%{-webkit-transform:translate3d(9%,0,0);transform:translate3d(9%,0,0)}45%{-webkit-transform:translate3d(-4%,0,0);transform:translate3d(-4%,0,0)}60%{-webkit-transform:translate3d(4%,0,0);transform:translate3d(4%,0,0)}75%{-webkit-transform:translate3d(-1%,0,0);transform:translate3d(-1%,0,0)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes wobble{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-9%,0,0);transform:translate3d(-9%,0,0)}30%{-webkit-transform:translate3d(9%,0,0);transform:translate3d(9%,0,0)}45%{-webkit-transform:translate3d(-4%,0,0);transform:translate3d(-4%,0,0)}60%{-webkit-transform:translate3d(4%,0,0);transform:translate3d(4%,0,0)}75%{-webkit-transform:translate3d(-1%,0,0);transform:translate3d(-1%,0,0)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.ce-popover-header{margin-bottom:8px;margin-top:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.ce-popover-header__text{font-size:18px;font-weight:600}.ce-popover-header__back-button{border:0;background:transparent;width:36px;height:36px;color:var(--color-text-primary)}.ce-popover-header__back-button svg{display:block;width:28px;height:28px}.ce-popover--inline{--height: 38px;--height-mobile: 46px;--container-padding: 4px;position:relative}.ce-popover--inline .ce-popover__custom-content{margin-bottom:0}.ce-popover--inline .ce-popover__items{display:-webkit-box;display:-ms-flexbox;display:flex}.ce-popover--inline .ce-popover__container{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;padding:var(--container-padding);height:var(--height);top:0;min-width:-webkit-max-content;min-width:-moz-max-content;min-width:max-content;width:-webkit-max-content;width:-moz-max-content;width:max-content;-webkit-animation:none;animation:none}@media (max-width: 650px){.ce-popover--inline .ce-popover__container{height:var(--height-mobile);position:absolute}}.ce-popover--inline .ce-popover-item-separator{padding:0 4px}.ce-popover--inline .ce-popover-item-separator__line{height:100%;width:1px}.ce-popover--inline .ce-popover-item{border-radius:4px;padding:4px}.ce-popover--inline .ce-popover-item__icon--tool{-webkit-box-shadow:none;box-shadow:none;background:transparent;margin-right:0}.ce-popover--inline .ce-popover-item__icon{width:auto;width:initial;height:auto;height:initial}.ce-popover--inline .ce-popover-item__icon svg{width:20px;height:20px}@media (max-width: 650px){.ce-popover--inline .ce-popover-item__icon svg{width:28px;height:28px}}.ce-popover--inline .ce-popover-item:not(:last-of-type){margin-bottom:0;margin-bottom:initial}.ce-popover--inline .ce-popover-item-html{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.ce-popover--inline .ce-popover-item__icon--chevron-right{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.ce-popover--inline .ce-popover--nested-level-1 .ce-popover__container{--offset: 3px;left:0;top:calc(var(--height) + var(--offset))}@media (max-width: 650px){.ce-popover--inline .ce-popover--nested-level-1 .ce-popover__container{top:calc(var(--height-mobile) + var(--offset))}}.ce-popover--inline .ce-popover--nested .ce-popover__container{min-width:var(--width);width:var(--width);height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;padding:6px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.ce-popover--inline .ce-popover--nested .ce-popover__items{display:block;width:100%}.ce-popover--inline .ce-popover--nested .ce-popover-item{border-radius:6px;padding:3px}@media (max-width: 650px){.ce-popover--inline .ce-popover--nested .ce-popover-item{padding:4px}}.ce-popover--inline .ce-popover--nested .ce-popover-item__icon--tool{margin-right:4px}.ce-popover--inline .ce-popover--nested .ce-popover-item__icon{width:26px;height:26px}.ce-popover--inline .ce-popover--nested .ce-popover-item-separator{padding:4px 3px}.ce-popover--inline .ce-popover--nested .ce-popover-item-separator__line{width:100%;height:1px}.codex-editor [data-placeholder]:empty:before,.codex-editor [data-placeholder][data-empty=true]:before{pointer-events:none;color:#707684;cursor:text;content:attr(data-placeholder)}.codex-editor [data-placeholder-active]:empty:before,.codex-editor [data-placeholder-active][data-empty=true]:before{pointer-events:none;color:#707684;cursor:text}.codex-editor [data-placeholder-active]:empty:focus:before,.codex-editor [data-placeholder-active][data-empty=true]:focus:before{content:attr(data-placeholder-active)}
10679
+ ], Yn.prototype, "getAllInlineToolsSanitizeConfig", 1);
10680
+ const Ua = `:root{--selectionColor: #e1f2ff;--inlineSelectionColor: #d4ecff;--bg-light: #eff2f5;--grayText: #707684;--color-dark: #1D202B;--color-active-icon: #388AE5;--color-gray-border: rgba(201, 201, 204, .48);--content-width: 650px;--narrow-mode-right-padding: 50px;--toolbox-buttons-size: 26px;--toolbox-buttons-size--mobile: 36px;--icon-size: 20px;--icon-size--mobile: 28px;--block-padding-vertical: 8px;--color-line-gray: #EFF0F1 }.codex-editor{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;z-index:1}.codex-editor .hide{display:none}.codex-editor__redactor [contenteditable]:empty:after{content:"\\feff"}@media (min-width: 651px){.codex-editor--narrow .codex-editor__redactor{margin-right:50px}}@media (min-width: 651px){.codex-editor--narrow.codex-editor--rtl .codex-editor__redactor{margin-left:50px;margin-right:0}}@media (min-width: 651px){.codex-editor--narrow .ce-toolbar__actions{right:-5px}}.codex-editor-copyable{position:absolute;height:1px;width:1px;top:-400%;opacity:.001}.codex-editor-overlay{position:fixed;top:0;left:0;right:0;bottom:0;z-index:999;pointer-events:none;overflow:hidden}.codex-editor-overlay__container{position:relative;pointer-events:auto;z-index:0}.codex-editor-overlay__rectangle{position:absolute;pointer-events:none;background-color:#2eaadc33;border:1px solid transparent}.codex-editor svg{max-height:100%}.codex-editor path{stroke:currentColor}.codex-editor ::-moz-selection{background-color:#d4ecff}.codex-editor ::selection{background-color:#d4ecff}.codex-editor--toolbox-opened [contentEditable=true][data-placeholder]:focus:before{opacity:0!important}.ce-scroll-locked{overflow:hidden}.ce-scroll-locked--hard{overflow:hidden;top:calc(-1 * var(--window-scroll-offset));position:fixed;width:100%}.ce-toolbar{position:absolute;left:0;right:0;top:0;-webkit-transition:opacity .1s ease;transition:opacity .1s ease;will-change:opacity,top;display:none}.ce-toolbar--opened{display:block}.ce-toolbar__content{max-width:650px;margin:0 auto;position:relative}.ce-toolbar__plus{color:#1d202b;cursor:pointer;width:26px;height:26px;border-radius:7px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-ms-flex-negative:0;flex-shrink:0}@media (max-width: 650px){.ce-toolbar__plus{width:36px;height:36px}}@media (hover: hover){.ce-toolbar__plus:hover{background-color:#eff2f5}}.ce-toolbar__plus--active{background-color:#eff2f5;-webkit-animation:bounceIn .75s 1;animation:bounceIn .75s 1;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.ce-toolbar__plus-shortcut{opacity:.6;word-spacing:-2px;margin-top:5px}.ce-toolbar__plus--hidden{display:none}@media (max-width: 650px){.ce-toolbar__plus{position:absolute;background-color:#fff;border:1px solid #E8E8EB;-webkit-box-shadow:0 3px 15px -3px rgba(13,20,33,.13);box-shadow:0 3px 15px -3px #0d142121;border-radius:6px;z-index:2;position:static}.ce-toolbar__plus--left-oriented:before{left:15px;margin-left:0}.ce-toolbar__plus--right-oriented:before{left:auto;right:15px;margin-left:0}}.ce-toolbar__actions{position:absolute;right:100%;opacity:0;display:-webkit-box;display:-ms-flexbox;display:flex;padding-right:5px}.ce-toolbar__actions--opened{opacity:1}@media (max-width: 650px){.ce-toolbar__actions{right:auto}}.ce-toolbar__settings-btn{color:#1d202b;width:26px;height:26px;border-radius:7px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;border:1px solid rgba(201,201,204,.48);color:#707684;margin-left:3px;cursor:pointer;user-select:none}@media (max-width: 650px){.ce-toolbar__settings-btn{width:36px;height:36px}}@media (hover: hover){.ce-toolbar__settings-btn:hover{background-color:#eff2f5}}.ce-toolbar__settings-btn--active{background-color:#eff2f5;-webkit-animation:bounceIn .75s 1;animation:bounceIn .75s 1;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.ce-toolbar__settings-btn--hidden{display:none}@media (max-width: 650px){.ce-toolbar__settings-btn{position:absolute;background-color:#fff;border:1px solid #E8E8EB;-webkit-box-shadow:0 3px 15px -3px rgba(13,20,33,.13);box-shadow:0 3px 15px -3px #0d142121;border-radius:6px;z-index:2;position:static}.ce-toolbar__settings-btn--left-oriented:before{left:15px;margin-left:0}.ce-toolbar__settings-btn--right-oriented:before{left:auto;right:15px;margin-left:0}}.ce-toolbar__plus svg,.ce-toolbar__settings-btn svg{width:24px;height:24px}.ce-toolbar__plus svg path,.ce-toolbar__settings-btn svg path{fill:#707684}.ce-toolbar__settings-btn{width:auto}.ce-toolbar__settings-btn .icon-block-name,.ce-toolbar__settings-btn .icon-menu{display:inline-block;width:24px;height:24px}.ce-toolbar__settings-btn .icon-block-name{text-align:center}.ce-toolbar__settings-btn .icon-block-name .icon-toolbox-alert{width:20px!important;height:20px!important}.ce-toolbar__settings-btn .icon-menu{width:16px}.ce-toolbar__settings-btn .icon-menu svg{margin-left:-6px}@media (min-width: 651px){.codex-editor--narrow .ce-toolbar__plus{left:5px}}@media (min-width: 651px){.codex-editor--narrow .ce-toolbox .ce-popover{right:0;left:auto;left:initial}}.ce-inline-toolbar{--y-offset: 8px;--color-background-icon-active: rgba(56, 138, 229, .1);--color-text-icon-active: #388AE5;--color-text-primary: black;position:absolute;visibility:hidden;-webkit-transition:opacity .25s ease;transition:opacity .25s ease;will-change:opacity,left,top;top:0;left:0;z-index:3;opacity:1;visibility:visible}.ce-inline-toolbar [hidden]{display:none!important}.ce-inline-toolbar__toggler-and-button-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;padding:0 6px}.ce-inline-toolbar__buttons{display:-webkit-box;display:-ms-flexbox;display:flex}.ce-inline-toolbar__dropdown{display:-webkit-box;display:-ms-flexbox;display:flex;padding:6px;margin:0 6px 0 -6px;-webkit-box-align:center;-ms-flex-align:center;align-items:center;cursor:pointer;border-right:1px solid rgba(201,201,204,.48);-webkit-box-sizing:border-box;box-sizing:border-box}@media (hover: hover){.ce-inline-toolbar__dropdown:hover{background:#eff2f5}}.ce-inline-toolbar__dropdown--hidden{display:none}.ce-inline-toolbar__dropdown-content,.ce-inline-toolbar__dropdown-arrow{display:-webkit-box;display:-ms-flexbox;display:flex}.ce-inline-toolbar__dropdown-content svg,.ce-inline-toolbar__dropdown-arrow svg{width:20px;height:20px}.ce-inline-toolbar__shortcut{opacity:.6;word-spacing:-3px;margin-top:3px}.ce-inline-tool{color:var(--color-text-primary);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:0;border-radius:4px;line-height:normal;height:100%;padding:0;width:28px;background-color:transparent;cursor:pointer}@media (max-width: 650px){.ce-inline-tool{width:36px;height:36px}}@media (hover: hover){.ce-inline-tool:hover{background-color:#f8f8f8}}.ce-inline-tool svg{display:block;width:20px;height:20px}@media (max-width: 650px){.ce-inline-tool svg{width:28px;height:28px}}.ce-inline-tool--link .icon--unlink,.ce-inline-tool--unlink .icon--link{display:none}.ce-inline-tool--unlink .icon--unlink{display:inline-block;margin-bottom:-1px}.ce-inline-tool-input-wrap{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;gap:5px}.ce-inline-tool-input-btn{width:50px;border-radius:5px;background-color:#161c27;color:#fff;border:none;cursor:pointer}.ce-inline-tool-input{-webkit-box-flex:1;-ms-flex:1;flex:1;background:#F8F8F8;border:1px solid rgba(226,226,229,.2);border-radius:6px;padding:4px 8px;font-size:14px;line-height:22px;outline:none;margin:0;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;display:none;font-weight:500;-webkit-appearance:none;font-family:inherit}@media (max-width: 650px){.ce-inline-tool-input{font-size:15px;font-weight:500}}.ce-inline-tool-input::-webkit-input-placeholder{color:#707684}.ce-inline-tool-input::-moz-placeholder{color:#707684}.ce-inline-tool-input:-ms-input-placeholder{color:#707684}.ce-inline-tool-input::-ms-input-placeholder{color:#707684}.ce-inline-tool-input::placeholder{color:#707684}.ce-inline-tool-input--showed{display:block}.ce-inline-tool--active{background:var(--color-background-icon-active);color:var(--color-text-icon-active)}@-webkit-keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.ce-block{-webkit-animation:fade-in .3s ease;animation:fade-in .3s ease;-webkit-animation-fill-mode:none;animation-fill-mode:none;-webkit-animation-fill-mode:initial;animation-fill-mode:initial}.ce-block:first-of-type{margin-top:0}.ce-block--selected .ce-block__content{background:#e1f2ff}.ce-block--selected .ce-block__content [contenteditable]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ce-block--selected .ce-block__content img,.ce-block--selected .ce-block__content .ce-stub{opacity:.55}.ce-block--stretched .ce-block__content{max-width:none}.ce-block__content{position:relative;max-width:650px;margin:0 auto;-webkit-transition:background-color .15s ease;transition:background-color .15s ease}.ce-block--drop-target .ce-block__content:before{content:"";position:absolute;top:100%;left:-20px;margin-top:-1px;height:8px;width:8px;border:solid #388AE5;border-width:1px 1px 0 0;-webkit-transform-origin:right;transform-origin:right;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.ce-block--drop-target .ce-block__content:after{content:"";position:absolute;top:100%;height:1px;width:100%;color:#388ae5;background:repeating-linear-gradient(90deg,#388AE5,#388AE5 1px,#fff 1px,#fff 6px)}.ce-block a{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}.ce-block b{font-weight:700}.ce-block i{font-style:italic}@-webkit-keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}20%{-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}60%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}20%{-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}60%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@-webkit-keyframes selectionBounce{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}50%{-webkit-transform:scale3d(1.01,1.01,1.01);transform:scale3d(1.01,1.01,1.01)}70%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes selectionBounce{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}50%{-webkit-transform:scale3d(1.01,1.01,1.01);transform:scale3d(1.01,1.01,1.01)}70%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@-webkit-keyframes buttonClicked{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{-webkit-transform:scale3d(.95,.95,.95);transform:scale3d(.95,.95,.95)}60%{-webkit-transform:scale3d(1.02,1.02,1.02);transform:scale3d(1.02,1.02,1.02)}80%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes buttonClicked{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{-webkit-transform:scale3d(.95,.95,.95);transform:scale3d(.95,.95,.95)}60%{-webkit-transform:scale3d(1.02,1.02,1.02);transform:scale3d(1.02,1.02,1.02)}80%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.cdx-block{padding:8px 0}.cdx-block::-webkit-input-placeholder{line-height:normal!important}.cdx-input{border:1px solid rgba(201,201,204,.48);-webkit-box-shadow:inset 0 1px 2px 0 rgba(35,44,72,.06);box-shadow:inset 0 1px 2px #232c480f;border-radius:3px;padding:10px 12px;outline:none;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.cdx-input[data-placeholder]:before{position:static!important}.cdx-input[data-placeholder]:before{display:inline-block;width:0;white-space:nowrap;pointer-events:none}.cdx-settings-button{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border-radius:3px;cursor:pointer;border:0;outline:none;background-color:transparent;vertical-align:bottom;color:inherit;margin:0;min-width:26px;min-height:26px}.cdx-settings-button--focused{background:rgba(34,186,255,.08)!important}.cdx-settings-button--focused{-webkit-box-shadow:inset 0 0 0px 1px rgba(7,161,227,.08);box-shadow:inset 0 0 0 1px #07a1e314}.cdx-settings-button--focused-animated{-webkit-animation-name:buttonClicked;animation-name:buttonClicked;-webkit-animation-duration:.25s;animation-duration:.25s}.cdx-settings-button--active{color:#388ae5}.cdx-settings-button svg{width:auto;height:auto}@media (max-width: 650px){.cdx-settings-button svg{width:28px;height:28px}}@media (max-width: 650px){.cdx-settings-button{width:36px;height:36px;border-radius:8px}}@media (hover: hover){.cdx-settings-button:hover{background-color:#eff2f5}}.cdx-loader{position:relative;border:1px solid rgba(201,201,204,.48)}.cdx-loader:before{content:"";position:absolute;left:50%;top:50%;width:18px;height:18px;margin:-11px 0 0 -11px;border:2px solid rgba(201,201,204,.48);border-left-color:#388ae5;border-radius:50%;-webkit-animation:cdxRotation 1.2s infinite linear;animation:cdxRotation 1.2s infinite linear}@-webkit-keyframes cdxRotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes cdxRotation{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.cdx-button{padding:13px;border-radius:3px;border:1px solid rgba(201,201,204,.48);font-size:14.9px;background:#fff;-webkit-box-shadow:0 2px 2px 0 rgba(18,30,57,.04);box-shadow:0 2px 2px #121e390a;color:#707684;text-align:center;cursor:pointer}@media (hover: hover){.cdx-button:hover{background:#FBFCFE;-webkit-box-shadow:0 1px 3px 0 rgba(18,30,57,.08);box-shadow:0 1px 3px #121e3914}}.cdx-button svg{height:20px;margin-right:.2em;margin-top:-2px}.ce-stub{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:12px 18px;margin:10px 0;border-radius:10px;background:#eff2f5;border:1px solid #EFF0F1;color:#707684;font-size:14px}.ce-stub svg{width:20px;height:20px}.ce-stub__info{margin-left:14px}.ce-stub__title{font-weight:500;text-transform:capitalize}.codex-editor.codex-editor--rtl{direction:rtl}.codex-editor.codex-editor--rtl .cdx-list{padding-left:0;padding-right:40px}.codex-editor.codex-editor--rtl .ce-toolbar__plus{right:-26px;left:auto}.codex-editor.codex-editor--rtl .ce-toolbar__actions{right:auto;left:-26px}@media (max-width: 650px){.codex-editor.codex-editor--rtl .ce-toolbar__actions{margin-left:0;margin-right:auto;padding-right:0;padding-left:10px}}.codex-editor.codex-editor--rtl .ce-settings{left:5px;right:auto}.codex-editor.codex-editor--rtl .ce-settings:before{right:auto;left:25px}.codex-editor.codex-editor--rtl .ce-settings__button:not(:nth-child(3n+3)){margin-left:3px;margin-right:0}.codex-editor.codex-editor--rtl .ce-conversion-tool__icon{margin-right:0;margin-left:10px}.codex-editor.codex-editor--rtl .ce-inline-toolbar__dropdown{border-right:0px solid transparent;border-left:1px solid rgba(201,201,204,.48);margin:0 -6px 0 6px}.codex-editor.codex-editor--rtl .ce-inline-toolbar__dropdown .icon--toggler-down{margin-left:0;margin-right:4px}@media (min-width: 651px){.codex-editor--narrow.codex-editor--rtl .ce-toolbar__plus{left:0;right:5px}}@media (min-width: 651px){.codex-editor--narrow.codex-editor--rtl .ce-toolbar__actions{left:-5px}}.cdx-search-field{--icon-margin-right: 10px;background:#F8F8F8;border:1px solid rgba(226,226,229,.2);border-radius:6px;padding:2px;display:grid;grid-template-columns:auto auto 1fr;grid-template-rows:auto}.cdx-search-field__icon{width:26px;height:26px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-right:var(--icon-margin-right)}.cdx-search-field__icon svg{width:20px;height:20px;color:#707684}.cdx-search-field__input{font-size:14px;outline:none;font-weight:500;font-family:inherit;border:0;background:transparent;margin:0;padding:0;line-height:22px;min-width:calc(100% - 26px - var(--icon-margin-right))}.cdx-search-field__input::-webkit-input-placeholder{color:#707684;font-weight:500}.cdx-search-field__input::-moz-placeholder{color:#707684;font-weight:500}.cdx-search-field__input:-ms-input-placeholder{color:#707684;font-weight:500}.cdx-search-field__input::-ms-input-placeholder{color:#707684;font-weight:500}.cdx-search-field__input::placeholder{color:#707684;font-weight:500}.ce-popover{--border-radius: 6px;--width: 200px;--max-height: 370px;--padding: 6px;--offset-from-target: 8px;--color-border: #EFF0F1;--color-shadow: rgba(13, 20, 33, .1);--color-background: white;--color-text-primary: black;--color-text-secondary: #707684;--color-border-icon: rgba(201, 201, 204, .48);--color-border-icon-disabled: #EFF0F1;--color-text-icon-active: #388AE5;--color-background-icon-active: rgba(56, 138, 229, .1);--color-background-item-focus: rgba(34, 186, 255, .08);--color-shadow-item-focus: rgba(7, 161, 227, .08);--color-background-item-hover: #F8F8F8;--color-background-item-confirm: #E24A4A;--color-background-item-confirm-hover: #CE4343;--popover-top: calc(100% + var(--offset-from-target));--popover-left: 0;--nested-popover-overlap: 4px;--icon-size: 20px;--item-padding: 3px;--item-height: calc(var(--icon-size) + 2 * var(--item-padding))}.ce-popover__container{min-width:var(--width);width:var(--width);max-height:var(--max-height);border-radius:var(--border-radius);overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-shadow:0px 3px 15px -3px var(--color-shadow);box-shadow:0 3px 15px -3px var(--color-shadow);position:absolute;left:var(--popover-left);top:var(--popover-top);background:var(--color-background);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;z-index:4;opacity:0;max-height:0;pointer-events:none;padding:0;border:none}.ce-popover--opened>.ce-popover__container{opacity:1;padding:var(--padding);max-height:var(--max-height);pointer-events:auto;-webkit-animation:panelShowing .1s ease;animation:panelShowing .1s ease;border:1px solid var(--color-border)}@media (max-width: 650px){.ce-popover--opened>.ce-popover__container{-webkit-animation:panelShowingMobile .25s ease;animation:panelShowingMobile .25s ease}}.ce-popover--open-top .ce-popover__container{--popover-top: calc(-1 * (var(--offset-from-target) + var(--popover-height)))}.ce-popover--open-left .ce-popover__container{--popover-left: calc(-1 * var(--width) + 100%)}.ce-popover__items{overflow-y:auto;-ms-scroll-chaining:none;overscroll-behavior:contain}@media (max-width: 650px){.ce-popover__overlay{position:fixed;top:0;bottom:0;left:0;right:0;background:#1D202B;z-index:3;opacity:.5;-webkit-transition:opacity .12s ease-in;transition:opacity .12s ease-in;will-change:opacity;visibility:visible}}.ce-popover__overlay--hidden{display:none}@media (max-width: 650px){.ce-popover .ce-popover__container{--offset: 5px;position:fixed;max-width:none;min-width:calc(100% - var(--offset) * 2);left:var(--offset);right:var(--offset);bottom:calc(var(--offset) + env(safe-area-inset-bottom));top:auto;border-radius:10px}}.ce-popover__search{margin-bottom:5px}.ce-popover__nothing-found-message{color:#707684;display:none;cursor:default;padding:3px;font-size:14px;line-height:20px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ce-popover__nothing-found-message--displayed{display:block}.ce-popover--nested .ce-popover__container{--popover-left: calc(var(--nesting-level) * (var(--width) - var(--nested-popover-overlap)));top:calc(var(--trigger-item-top) - var(--nested-popover-overlap));position:absolute}.ce-popover--open-top.ce-popover--nested .ce-popover__container{top:calc(var(--trigger-item-top) - var(--popover-height) + var(--item-height) + var(--offset-from-target) + var(--nested-popover-overlap))}.ce-popover--open-left .ce-popover--nested .ce-popover__container{--popover-left: calc(-1 * (var(--nesting-level) + 1) * var(--width) + 100%)}.ce-popover-item-separator{padding:4px 3px}.ce-popover-item-separator--hidden{display:none}.ce-popover-item-separator__line{height:1px;background:var(--color-border);width:100%}.ce-popover-item-html--hidden{display:none}.ce-popover-item{--border-radius: 6px;border-radius:var(--border-radius);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:var(--item-padding);color:var(--color-text-primary);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:none;background:transparent}@media (max-width: 650px){.ce-popover-item{padding:4px}}.ce-popover-item:not(:last-of-type){margin-bottom:1px}.ce-popover-item__icon{width:26px;height:26px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.ce-popover-item__icon svg{width:20px;height:20px}@media (max-width: 650px){.ce-popover-item__icon{width:36px;height:36px;border-radius:8px}.ce-popover-item__icon svg{width:28px;height:28px}}.ce-popover-item__icon--tool{margin-right:4px}.ce-popover-item__title{font-size:14px;line-height:20px;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-right:auto}@media (max-width: 650px){.ce-popover-item__title{font-size:16px}}.ce-popover-item__secondary-title{color:var(--color-text-secondary);font-size:12px;white-space:nowrap;letter-spacing:-.1em;padding-right:5px;opacity:.6}@media (max-width: 650px){.ce-popover-item__secondary-title{display:none}}.ce-popover-item--active{background:var(--color-background-icon-active);color:var(--color-text-icon-active)}.ce-popover-item--disabled{color:var(--color-text-secondary);cursor:default;pointer-events:none}.ce-popover-item--focused:not(.ce-popover-item--no-focus){background:var(--color-background-item-focus)!important}.ce-popover-item--hidden{display:none}@media (hover: hover){.ce-popover-item:hover{cursor:pointer}.ce-popover-item:hover:not(.ce-popover-item--no-hover){background-color:var(--color-background-item-hover)}}.ce-popover-item--confirmation{background:var(--color-background-item-confirm)}.ce-popover-item--confirmation .ce-popover-item__title,.ce-popover-item--confirmation .ce-popover-item__icon{color:#fff}@media (hover: hover){.ce-popover-item--confirmation:not(.ce-popover-item--no-hover):hover{background:var(--color-background-item-confirm-hover)}}.ce-popover-item--confirmation:not(.ce-popover-item--no-focus).ce-popover-item--focused{background:var(--color-background-item-confirm-hover)!important}@-webkit-keyframes panelShowing{0%{opacity:0;-webkit-transform:translateY(-8px) scale(.9);transform:translateY(-8px) scale(.9)}70%{opacity:1;-webkit-transform:translateY(2px);transform:translateY(2px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes panelShowing{0%{opacity:0;-webkit-transform:translateY(-8px) scale(.9);transform:translateY(-8px) scale(.9)}70%{opacity:1;-webkit-transform:translateY(2px);transform:translateY(2px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes panelShowingMobile{0%{opacity:0;-webkit-transform:translateY(14px) scale(.98);transform:translateY(14px) scale(.98)}70%{opacity:1;-webkit-transform:translateY(-4px);transform:translateY(-4px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes panelShowingMobile{0%{opacity:0;-webkit-transform:translateY(14px) scale(.98);transform:translateY(14px) scale(.98)}70%{opacity:1;-webkit-transform:translateY(-4px);transform:translateY(-4px)}to{-webkit-transform:translateY(0);transform:translateY(0)}}.wobble{-webkit-animation-name:wobble;animation-name:wobble;-webkit-animation-duration:.4s;animation-duration:.4s}@-webkit-keyframes wobble{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-9%,0,0);transform:translate3d(-9%,0,0)}30%{-webkit-transform:translate3d(9%,0,0);transform:translate3d(9%,0,0)}45%{-webkit-transform:translate3d(-4%,0,0);transform:translate3d(-4%,0,0)}60%{-webkit-transform:translate3d(4%,0,0);transform:translate3d(4%,0,0)}75%{-webkit-transform:translate3d(-1%,0,0);transform:translate3d(-1%,0,0)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes wobble{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-9%,0,0);transform:translate3d(-9%,0,0)}30%{-webkit-transform:translate3d(9%,0,0);transform:translate3d(9%,0,0)}45%{-webkit-transform:translate3d(-4%,0,0);transform:translate3d(-4%,0,0)}60%{-webkit-transform:translate3d(4%,0,0);transform:translate3d(4%,0,0)}75%{-webkit-transform:translate3d(-1%,0,0);transform:translate3d(-1%,0,0)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.ce-popover-header{margin-bottom:8px;margin-top:4px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.ce-popover-header__text{font-size:18px;font-weight:600}.ce-popover-header__back-button{border:0;background:transparent;width:36px;height:36px;color:var(--color-text-primary)}.ce-popover-header__back-button svg{display:block;width:28px;height:28px}.ce-popover--inline{--height: 38px;--height-mobile: 46px;--container-padding: 4px;position:relative}.ce-popover--inline .ce-popover__custom-content{margin-bottom:0}.ce-popover--inline .ce-popover__items{display:-webkit-box;display:-ms-flexbox;display:flex}.ce-popover--inline .ce-popover__container{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;padding:var(--container-padding);height:var(--height);top:0;min-width:-webkit-max-content;min-width:-moz-max-content;min-width:max-content;width:-webkit-max-content;width:-moz-max-content;width:max-content;-webkit-animation:none;animation:none}@media (max-width: 650px){.ce-popover--inline .ce-popover__container{height:var(--height-mobile);position:absolute}}.ce-popover--inline .ce-popover-item-separator{padding:0 4px}.ce-popover--inline .ce-popover-item-separator__line{height:100%;width:1px}.ce-popover--inline .ce-popover-item{border-radius:4px;padding:4px}.ce-popover--inline .ce-popover-item__icon--tool{-webkit-box-shadow:none;box-shadow:none;background:transparent;margin-right:0}.ce-popover--inline .ce-popover-item__icon{width:auto;width:initial;height:auto;height:initial}.ce-popover--inline .ce-popover-item__icon svg{width:20px;height:20px}@media (max-width: 650px){.ce-popover--inline .ce-popover-item__icon svg{width:28px;height:28px}}.ce-popover--inline .ce-popover-item:not(:last-of-type){margin-bottom:0;margin-bottom:initial}.ce-popover--inline .ce-popover-item-html{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.ce-popover--inline .ce-popover-item__icon--chevron-right{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.ce-popover--inline .ce-popover--nested-level-1 .ce-popover__container{--offset: 3px;left:0;top:calc(var(--height) + var(--offset))}@media (max-width: 650px){.ce-popover--inline .ce-popover--nested-level-1 .ce-popover__container{top:calc(var(--height-mobile) + var(--offset))}}.ce-popover--inline .ce-popover--nested .ce-popover__container{min-width:var(--width);width:var(--width);height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;padding:6px;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.ce-popover--inline .ce-popover--nested .ce-popover__items{display:block;width:100%}.ce-popover--inline .ce-popover--nested .ce-popover-item{border-radius:6px;padding:3px}@media (max-width: 650px){.ce-popover--inline .ce-popover--nested .ce-popover-item{padding:4px}}.ce-popover--inline .ce-popover--nested .ce-popover-item__icon--tool{margin-right:4px}.ce-popover--inline .ce-popover--nested .ce-popover-item__icon{width:26px;height:26px}.ce-popover--inline .ce-popover--nested .ce-popover-item-separator{padding:4px 3px}.ce-popover--inline .ce-popover--nested .ce-popover-item-separator__line{width:100%;height:1px}.codex-editor [data-placeholder]:empty:before,.codex-editor [data-placeholder][data-empty=true]:before{pointer-events:none;color:#707684;cursor:text;content:attr(data-placeholder)}.codex-editor [data-placeholder-active]:empty:before,.codex-editor [data-placeholder-active][data-empty=true]:before{pointer-events:none;color:#707684;cursor:text}.codex-editor [data-placeholder-active]:empty:focus:before,.codex-editor [data-placeholder-active][data-empty=true]:focus:before{content:attr(data-placeholder-active)}
10664
10681
  `;
10665
10682
  class Wa extends E {
10666
10683
  constructor() {
@@ -10832,7 +10849,7 @@ class Wa extends E {
10832
10849
  let e;
10833
10850
  this.readOnlyMutableListeners.on(this.nodes.redactor, "mousemove", dt((t) => {
10834
10851
  const o = t.target.closest(".ce-block");
10835
- this.Editor.BlockSelection.anyBlockSelected || o && e !== o && (e = o, this.eventsDispatcher.emit(ln, {
10852
+ this.Editor.BlockSelection.anyBlockSelected || o && e !== o && (e = o, this.eventsDispatcher.emit(cn, {
10836
10853
  block: this.Editor.BlockManager.getBlockByChildNode(o)
10837
10854
  }));
10838
10855
  }, 20), {
@@ -10983,8 +11000,8 @@ class Wa extends E {
10983
11000
  const t = e.target, o = e.metaKey || e.ctrlKey;
10984
11001
  if (h.isAnchor(t) && o) {
10985
11002
  e.stopImmediatePropagation(), e.stopPropagation();
10986
- const i = t.getAttribute("href"), s = oi(i);
10987
- ii(s);
11003
+ const i = t.getAttribute("href"), s = ni(i);
11004
+ si(s);
10988
11005
  return;
10989
11006
  }
10990
11007
  this.processBottomZoneClick(e);
@@ -11040,23 +11057,23 @@ class Wa extends E {
11040
11057
  }
11041
11058
  const Ya = {
11042
11059
  // API Modules
11043
- BlocksAPI: gi,
11044
- CaretAPI: bi,
11045
- EventsAPI: vi,
11060
+ BlocksAPI: mi,
11061
+ CaretAPI: vi,
11062
+ EventsAPI: ki,
11046
11063
  I18nAPI: kt,
11047
- API: ki,
11048
- InlineToolbarAPI: yi,
11049
- ListenersAPI: wi,
11050
- NotifierAPI: Bi,
11051
- ReadOnlyAPI: Ti,
11052
- SanitizerAPI: Ai,
11053
- SaverAPI: Pi,
11054
- SelectionAPI: Ni,
11055
- ToolsAPI: Ri,
11056
- StylesAPI: Di,
11057
- ToolbarAPI: Fi,
11058
- TooltipAPI: Ui,
11059
- UiAPI: Wi,
11064
+ API: yi,
11065
+ InlineToolbarAPI: wi,
11066
+ ListenersAPI: Ei,
11067
+ NotifierAPI: Ti,
11068
+ ReadOnlyAPI: Si,
11069
+ SanitizerAPI: Pi,
11070
+ SaverAPI: Ni,
11071
+ SelectionAPI: Ri,
11072
+ ToolsAPI: Di,
11073
+ StylesAPI: Fi,
11074
+ ToolbarAPI: Hi,
11075
+ TooltipAPI: Wi,
11076
+ UiAPI: Yi,
11060
11077
  // Toolbar Modules
11061
11078
  BlockSettings: _s,
11062
11079
  Toolbar: js,
@@ -11074,7 +11091,7 @@ const Ya = {
11074
11091
  RectangleSelection: xe,
11075
11092
  Renderer: Ma,
11076
11093
  Saver: La,
11077
- Tools: Wn,
11094
+ Tools: Yn,
11078
11095
  UI: Wa
11079
11096
  };
11080
11097
  class Ka {
@@ -11101,11 +11118,11 @@ class Ka {
11101
11118
  */
11102
11119
  set configuration(e) {
11103
11120
  var o, i;
11104
- F(e) ? this.config = {
11121
+ H(e) ? this.config = {
11105
11122
  ...e
11106
11123
  } : this.config = {
11107
11124
  holder: e
11108
- }, ut(!!this.config.holderId, "config.holderId", "config.holder"), this.config.holderId && !this.config.holder && (this.config.holder = this.config.holderId, this.config.holderId = null), this.config.holder == null && (this.config.holder = "editorjs"), this.config.logLevel || (this.config.logLevel = Ao.VERBOSE), Zn(this.config.logLevel), ut(!!this.config.initialBlock, "config.initialBlock", "config.defaultBlock"), this.config.defaultBlock = this.config.defaultBlock || this.config.initialBlock || "paragraph", this.config.minHeight = this.config.minHeight !== void 0 ? this.config.minHeight : 300;
11125
+ }, ut(!!this.config.holderId, "config.holderId", "config.holder"), this.config.holderId && !this.config.holder && (this.config.holder = this.config.holderId, this.config.holderId = null), this.config.holder == null && (this.config.holder = "editorjs"), this.config.logLevel || (this.config.logLevel = Ao.VERBOSE), Gn(this.config.logLevel), ut(!!this.config.initialBlock, "config.initialBlock", "config.defaultBlock"), this.config.defaultBlock = this.config.defaultBlock || this.config.initialBlock || "paragraph", this.config.minHeight = this.config.minHeight !== void 0 ? this.config.minHeight : 300;
11109
11126
  const t = {
11110
11127
  type: this.config.defaultBlock,
11111
11128
  data: {}
@@ -11135,7 +11152,7 @@ class Ka {
11135
11152
  throw Error("«holderId» and «holder» param can't assign at the same time.");
11136
11153
  if (te(t) && !h.get(t))
11137
11154
  throw Error(`element with ID «${t}» is missing. Pass correct holder's ID.`);
11138
- if (t && F(t) && !h.isElement(t))
11155
+ if (t && H(t) && !h.isElement(t))
11139
11156
  throw Error("«holder» value must be an Element node");
11140
11157
  }
11141
11158
  /**
@@ -11228,7 +11245,7 @@ class Ka {
11228
11245
  class Xa {
11229
11246
  /** Editor version */
11230
11247
  static get version() {
11231
- return "2.31.21";
11248
+ return "2.31.28";
11232
11249
  }
11233
11250
  /**
11234
11251
  * @param {EditorConfig|string|undefined} [configuration] - user configuration
@@ -11236,7 +11253,7 @@ class Xa {
11236
11253
  constructor(e) {
11237
11254
  let t = () => {
11238
11255
  };
11239
- F(e) && L(e.onReady) && (t = e.onReady);
11256
+ H(e) && L(e.onReady) && (t = e.onReady);
11240
11257
  const o = new Ka(e);
11241
11258
  this.isReady = o.isReady.then(() => {
11242
11259
  this.exportAPI(o), t();
@@ -11251,7 +11268,7 @@ class Xa {
11251
11268
  const t = ["configuration"], o = () => {
11252
11269
  Object.values(e.moduleInstances).forEach((s) => {
11253
11270
  L(s.destroy) && s.destroy(), s.listeners.removeAll();
11254
- }), zi(), e = null;
11271
+ }), Ui(), e = null;
11255
11272
  for (const s in this)
11256
11273
  Object.prototype.hasOwnProperty.call(this, s) && delete this[s];
11257
11274
  Object.setPrototypeOf(this, null);