@qualityunit/liveagent-components-editor 0.0.85 → 0.0.86

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/dist/{af.umd-Bl_SWVzg.js → af.umd-BrNerPwH.js} +1 -1
  2. package/dist/ar-SA-ByRLgUAa.js +8 -0
  3. package/dist/{ar.umd-BWuJykF4.js → ar.umd-D71d6ul8.js} +1 -1
  4. package/dist/{ast.umd-D2LmDLNt.js → ast.umd-C7pOw3tm.js} +1 -1
  5. package/dist/{az.umd-B7RY1FBv.js → az.umd-5-DoSZ4T.js} +1 -1
  6. package/dist/{be.umd-CUcIIVCG.js → be.umd-KB7mQqXO.js} +1 -1
  7. package/dist/{bg.umd-BD7jPTPs.js → bg.umd-CcPEsfgY.js} +1 -1
  8. package/dist/{bn.umd-D0WuRQkQ.js → bn.umd-BL1-RkSo.js} +1 -1
  9. package/dist/{bs.umd-WKJO5jQ0.js → bs.umd-C1NfILIh.js} +1 -1
  10. package/dist/{ca.umd-CcNleliL.js → ca.umd-BozFB_fz.js} +1 -1
  11. package/dist/ckb-IR-HeACCo9e.js +8 -0
  12. package/dist/ckeditor.js +1 -1
  13. package/dist/{ckeditor5-B9l0Limk.js → ckeditor5-nSnlzsoz.js} +6376 -6346
  14. package/dist/cs-CZ-CvhZVz7v.js +8 -0
  15. package/dist/{cs.umd-CHEegJQP.js → cs.umd-Dfagt0-g.js} +1 -1
  16. package/dist/da-DK-CBTclgpd.js +8 -0
  17. package/dist/{da.umd-BMnIbDAu.js → da.umd-x9KdLvlk.js} +1 -1
  18. package/dist/de-DE-B90pWJeV.js +8 -0
  19. package/dist/{de-ch.umd-B3o7evgt.js → de-ch.umd-CiIy7RqC.js} +1 -1
  20. package/dist/{de.umd-Cfk2Br_s.js → de.umd-B3oGDgQK.js} +1 -1
  21. package/dist/editor-lib.js +181 -176
  22. package/dist/el-GR-BpqXiD6v.js +8 -0
  23. package/dist/{el.umd-DbZCL5Yf.js → el.umd-EMcf7lFX.js} +1 -1
  24. package/dist/{en-au.umd-DUgqNb8S.js → en-au.umd-8yhRlrC0.js} +1 -1
  25. package/dist/{en-gb.umd-BN7U_T0d.js → en-gb.umd-DTVpXHoJ.js} +1 -1
  26. package/dist/{en.umd-C88fop3Y.js → en.umd-ckHYzcxz.js} +1 -1
  27. package/dist/{eo.umd-BdX31tn3.js → eo.umd-IUHqqdaN.js} +1 -1
  28. package/dist/es-ES-DZPT37jA.js +8 -0
  29. package/dist/{es-co.umd-BQtxHF1_.js → es-co.umd-C3G1Ny-7.js} +1 -1
  30. package/dist/{es.umd-CsF_1O-y.js → es.umd-DErPZui2.js} +1 -1
  31. package/dist/{et.umd-ZWsL9WA7.js → et.umd-CnB4QIdb.js} +1 -1
  32. package/dist/{eu.umd-wSbP3ZVx.js → eu.umd-zgNVSNoL.js} +1 -1
  33. package/dist/{fa.umd-GQrWF4GO.js → fa.umd-D8e23Urn.js} +1 -1
  34. package/dist/{fi.umd-C3vCr190.js → fi.umd-CICQj3RH.js} +1 -1
  35. package/dist/{fr.umd-DKh8YP3d.js → fr.umd-CWy3Tfn6.js} +1 -1
  36. package/dist/gl-ES-CwA4hQYt.js +8 -0
  37. package/dist/{gl.umd-yXXK3RfV.js → gl.umd-DOpHtRBN.js} +1 -1
  38. package/dist/{gu.umd-CQK0ghC8.js → gu.umd-n_xKeg75.js} +1 -1
  39. package/dist/{he.umd-DegP3V-5.js → he.umd-C0_mnk5Q.js} +1 -1
  40. package/dist/{hi.umd-CUcTpegM.js → hi.umd-BSc9sG2u.js} +1 -1
  41. package/dist/{hr.umd-DkHE7UVv.js → hr.umd-xpEfQ-02.js} +1 -1
  42. package/dist/hu-HU-BwO1zWGI.js +8 -0
  43. package/dist/{hu.umd-Cu_Nk9SO.js → hu.umd-m3wEtFpc.js} +1 -1
  44. package/dist/{hy.umd-Bvga0ee7.js → hy.umd-C44Y76kF.js} +1 -1
  45. package/dist/{id.umd-Bw_zro8a.js → id.umd-CyZmNJK4.js} +1 -1
  46. package/dist/{it.umd-B2g6fvmZ.js → it.umd-DQ9fuMSI.js} +1 -1
  47. package/dist/{ja.umd-Dm8pKrW1.js → ja.umd-D4Z2CmeG.js} +1 -1
  48. package/dist/{jv.umd-BkK7VUwu.js → jv.umd-BHZe8MWU.js} +1 -1
  49. package/dist/{kk.umd-CpUglLRd.js → kk.umd-BU2wKuUT.js} +1 -1
  50. package/dist/{km.umd-BSLFMY5K.js → km.umd-BgBk6p62.js} +1 -1
  51. package/dist/{kn.umd-aTloScKk.js → kn.umd-DjY81dhA.js} +1 -1
  52. package/dist/{ko.umd-CEFF-pRM.js → ko.umd-DACyDr-U.js} +1 -1
  53. package/dist/{ku.umd-DJs7mX23.js → ku.umd-BD6g-PQv.js} +1 -1
  54. package/dist/{lt.umd-CB21Xlcm.js → lt.umd-C3PHNwk3.js} +1 -1
  55. package/dist/lv-LV-DZOu8V5J.js +8 -0
  56. package/dist/{lv.umd-6VDdMVsD.js → lv.umd-B4qB0SoQ.js} +1 -1
  57. package/dist/{ms.umd-BpbEbp6s.js → ms.umd-cal2zdqa.js} +1 -1
  58. package/dist/{nb.umd-CZ6HmRVg.js → nb.umd-CW0CHSod.js} +1 -1
  59. package/dist/{ne.umd-BetekPSw.js → ne.umd-Bp_UctTg.js} +1 -1
  60. package/dist/nl-NL-B3e_GwNW.js +8 -0
  61. package/dist/{nl.umd-Bf2sBwEI.js → nl.umd-BEhaJA3n.js} +1 -1
  62. package/dist/{no.umd-NZCnLovH.js → no.umd-BQClPdxu.js} +1 -1
  63. package/dist/{oc.umd-645gkLGO.js → oc.umd-BGvdsAEY.js} +1 -1
  64. package/dist/pl-PL-DRguhjBs.js +8 -0
  65. package/dist/{pl.umd-9eCthYiv.js → pl.umd-ElpOS1eH.js} +1 -1
  66. package/dist/pt-BR-CVeZPH6Z.js +8 -0
  67. package/dist/{pt-br.umd-BbD3QJjx.js → pt-br.umd-WPQnBGSm.js} +1 -1
  68. package/dist/{pt.umd-B60lkts_.js → pt.umd-xAvEYlZn.js} +1 -1
  69. package/dist/{ro.umd-C8QwixCY.js → ro.umd-BeaZ6O4a.js} +1 -1
  70. package/dist/{ru.umd-6VKtqXED.js → ru.umd-D2yAf0g4.js} +1 -1
  71. package/dist/{si.umd-DcNV0akw.js → si.umd-DNk2xN7Y.js} +1 -1
  72. package/dist/{sk.umd-BZTtc1WR.js → sk.umd-Sf5H96NP.js} +1 -1
  73. package/dist/sl-SI-DayIDCow.js +8 -0
  74. package/dist/{sl.umd-7mZWXBJ-.js → sl.umd-BIMmAxcq.js} +1 -1
  75. package/dist/{sq.umd-DcnW0784.js → sq.umd-BMY0JPPD.js} +1 -1
  76. package/dist/{sr-latn.umd-DabQLqVd.js → sr-latn.umd-BDnY--Cp.js} +1 -1
  77. package/dist/{sr.umd-BDJTe3B8.js → sr.umd-B_xqO4FX.js} +1 -1
  78. package/dist/{sv.umd-B8b7Nqkd.js → sv.umd-bN26-S2a.js} +1 -1
  79. package/dist/{th.umd-CEp1mChT.js → th.umd-Ce3_aM-t.js} +1 -1
  80. package/dist/{ti.umd-B9e1sqBy.js → ti.umd-CUD0Y6AK.js} +1 -1
  81. package/dist/{tk.umd-9j4obBtU.js → tk.umd-qMJd-oRm.js} +1 -1
  82. package/dist/{tr.umd-rJ6BsQiS.js → tr.umd-DPwzThTx.js} +1 -1
  83. package/dist/{tt.umd-KHQakqn_.js → tt.umd-BBYp4Y3W.js} +1 -1
  84. package/dist/{ug.umd-BrW-o4bM.js → ug.umd-DrQC__pT.js} +1 -1
  85. package/dist/{uk.umd-rdNgMPSN.js → uk.umd-lDOgh5XV.js} +1 -1
  86. package/dist/{ur.umd-D9pajdGk.js → ur.umd-CvZYpyrW.js} +1 -1
  87. package/dist/{uz.umd-lDQ9_x1Y.js → uz.umd-Cdji0vRk.js} +1 -1
  88. package/dist/vi-VN-C5-gBKpr.js +8 -0
  89. package/dist/{vi.umd-DI_KOVXd.js → vi.umd-CKr6_5li.js} +1 -1
  90. package/dist/{zh-cn.umd-DhAsReyk.js → zh-cn.umd-T-evTF0p.js} +1 -1
  91. package/dist/{zh.umd-WG6MMzX9.js → zh.umd-BSgRx8bP.js} +1 -1
  92. package/package.json +2 -2
  93. package/dist/ar-SA-cqJIS2dn.js +0 -6
  94. package/dist/ckb-IR-B9mpR1NH.js +0 -6
  95. package/dist/cs-CZ-DRiKub-G.js +0 -6
  96. package/dist/da-DK-BRnEF2Bd.js +0 -6
  97. package/dist/de-DE-BaYjieKU.js +0 -6
  98. package/dist/el-GR-HlmNAGqK.js +0 -6
  99. package/dist/es-ES-CVMW3oh7.js +0 -6
  100. package/dist/gl-ES-CCXsnSlx.js +0 -6
  101. package/dist/hu-HU-BvMfLPJZ.js +0 -6
  102. package/dist/lv-LV-DOwHP5Vz.js +0 -6
  103. package/dist/nl-NL-DN3JPj4B.js +0 -6
  104. package/dist/pl-PL-kOObqDy_.js +0 -6
  105. package/dist/pt-BR-B2jBl0Js.js +0 -6
  106. package/dist/sl-SI-QxBZvvnW.js +0 -6
  107. package/dist/vi-VN-O2tRubKU.js +0 -6
@@ -1,5 +1,5 @@
1
- import { c as A, r as Q, d as D, p as Z, a as P, b as R, m as ge, s as se, h as g, e as C, f as ne, E as me, i as ie, j as fe, H as le, k as W, l as X, n as H, o as E, q as be, t as ee, u as k, v as te, w as Ee, x as j, y as ye, z as Ae, A as ke, B as Se, I as Y, C as Te, D as Me, F as we, G as Ne, N as xe, J as Ce, K as Ie, L as He, M as Re, O as F, P as De, Q as Fe, R as oe, S as Le, T as L, U as ue, V as U, W as $, X as z, Y as ce, Z as ve, _ as V, $ as G, a0 as O, a1 as B, a2 as Oe, a3 as Pe, a4 as ze, a5 as Ve } from "./ckeditor5-B9l0Limk.js";
2
- class Be {
1
+ import { c as A, r as Z, d as D, p as j, a as z, b as F, m as me, s as ne, h as g, e as H, f as ie, E as be, i as le, j as fe, H as oe, k as X, l as G, n as R, o as E, q as Ee, t as te, u as k, v as re, w as ye, x as ee, y as Ae, z as ke, A as Te, B as Se, I as $, C as Me, D as we, F as Ne, G as xe, J as Ce, N as He, K as Ie, L as Re, M as Fe, O as De, P as L, Q as Le, R as Oe, S as ue, T as Pe, U as O, V as ce, W as Y, X as q, Y as B, Z as ve, _ as he, $ as V, a0 as J, a1 as P, a2 as U, a3 as ze, a4 as Be, a5 as Ve, a6 as Ue } from "./ckeditor5-nSnlzsoz.js";
2
+ class Ye {
3
3
  /** @type {TemplateNode} */
4
4
  anchor;
5
5
  /** @type {Map<Batch, Key>} */
@@ -53,28 +53,28 @@ class Be {
53
53
  this.#t.get(t)
54
54
  ), a = this.#r.get(r);
55
55
  if (a)
56
- Q(a), this.#a.delete(r);
56
+ Z(a), this.#a.delete(r);
57
57
  else {
58
58
  var i = this.#e.get(r);
59
59
  i && (this.#r.set(r, i.effect), this.#e.delete(r), i.fragment.lastChild.remove(), this.anchor.before(i.fragment), a = i.effect);
60
60
  }
61
- for (const [f, l] of this.#t) {
62
- if (this.#t.delete(f), f === t)
61
+ for (const [l, f] of this.#t) {
62
+ if (this.#t.delete(l), l === t)
63
63
  break;
64
- const s = this.#e.get(l);
65
- s && (D(s.effect), this.#e.delete(l));
64
+ const s = this.#e.get(f);
65
+ s && (D(s.effect), this.#e.delete(f));
66
66
  }
67
- for (const [f, l] of this.#r) {
68
- if (f === r || this.#a.has(f)) continue;
67
+ for (const [l, f] of this.#r) {
68
+ if (l === r || this.#a.has(l)) continue;
69
69
  const s = () => {
70
- if (Array.from(this.#t.values()).includes(f)) {
70
+ if (Array.from(this.#t.values()).includes(l)) {
71
71
  var u = document.createDocumentFragment();
72
- ge(l, u), u.append(P()), this.#e.set(f, { effect: l, fragment: u });
72
+ me(f, u), u.append(z()), this.#e.set(l, { effect: f, fragment: u });
73
73
  } else
74
- D(l);
75
- this.#a.delete(f), this.#r.delete(f);
74
+ D(f);
75
+ this.#a.delete(l), this.#r.delete(l);
76
76
  };
77
- this.#s || !a ? (this.#a.add(f), Z(l, s, !1)) : s();
77
+ this.#s || !a ? (this.#a.add(l), j(f, s, !1)) : s();
78
78
  }
79
79
  }
80
80
  };
@@ -96,18 +96,18 @@ class Be {
96
96
  var a = (
97
97
  /** @type {Batch} */
98
98
  A
99
- ), i = se();
99
+ ), i = ne();
100
100
  if (r && !this.#r.has(t) && !this.#e.has(t))
101
101
  if (i) {
102
- var f = document.createDocumentFragment(), l = P();
103
- f.append(l), this.#e.set(t, {
104
- effect: R(() => r(l)),
105
- fragment: f
102
+ var l = document.createDocumentFragment(), f = z();
103
+ l.append(f), this.#e.set(t, {
104
+ effect: F(() => r(f)),
105
+ fragment: l
106
106
  });
107
107
  } else
108
108
  this.#r.set(
109
109
  t,
110
- R(() => r(this.anchor))
110
+ F(() => r(this.anchor))
111
111
  );
112
112
  if (this.#t.set(a, t), i) {
113
113
  for (const [s, o] of this.#r)
@@ -116,54 +116,54 @@ class Be {
116
116
  s === t ? a.skipped_effects.delete(o.effect) : a.skipped_effects.add(o.effect);
117
117
  a.oncommit(this.#n), a.ondiscard(this.#i);
118
118
  } else
119
- g && (this.anchor = C), this.#n();
119
+ g && (this.anchor = H), this.#n();
120
120
  }
121
121
  }
122
- function Ue(e, t, r = !1) {
123
- g && ie();
124
- var a = new Be(e), i = r ? me : 0;
125
- function f(l, s) {
122
+ function $e(e, t, r = !1) {
123
+ g && le();
124
+ var a = new Ye(e), i = r ? be : 0;
125
+ function l(f, s) {
126
126
  if (g) {
127
- const u = fe(e) === le;
128
- if (l === u) {
129
- var o = W();
130
- X(o), a.anchor = o, H(!1), a.ensure(l, s), H(!0);
127
+ const u = fe(e) === oe;
128
+ if (f === u) {
129
+ var o = X();
130
+ G(o), a.anchor = o, R(!1), a.ensure(f, s), R(!0);
131
131
  return;
132
132
  }
133
133
  }
134
- a.ensure(l, s);
134
+ a.ensure(f, s);
135
135
  }
136
- ne(() => {
137
- var l = !1;
136
+ ie(() => {
137
+ var f = !1;
138
138
  t((s, o = !0) => {
139
- l = !0, f(o, s);
140
- }), l || f(!1, null);
139
+ f = !0, l(o, s);
140
+ }), f || l(!1, null);
141
141
  }, i);
142
142
  }
143
- function Ye(e, t) {
143
+ function qe(e, t) {
144
144
  return t;
145
145
  }
146
- function $e(e, t, r) {
147
- for (var a = [], i = t.length, f, l = t.length, s = 0; s < i; s++) {
146
+ function Ke(e, t, r) {
147
+ for (var a = [], i = t.length, l, f = t.length, s = 0; s < i; s++) {
148
148
  let c = t[s];
149
- Z(
149
+ j(
150
150
  c,
151
151
  () => {
152
- if (f) {
153
- if (f.pending.delete(c), f.done.add(c), f.pending.size === 0) {
152
+ if (l) {
153
+ if (l.pending.delete(c), l.done.add(c), l.pending.size === 0) {
154
154
  var d = (
155
155
  /** @type {Set<EachOutroGroup>} */
156
156
  e.outrogroups
157
157
  );
158
- J(j(f.done)), d.delete(f), d.size === 0 && (e.outrogroups = null);
158
+ Q(ee(l.done)), d.delete(l), d.size === 0 && (e.outrogroups = null);
159
159
  }
160
160
  } else
161
- l -= 1;
161
+ f -= 1;
162
162
  },
163
163
  !1
164
164
  );
165
165
  }
166
- if (l === 0) {
166
+ if (f === 0) {
167
167
  var o = a.length === 0 && r !== null;
168
168
  if (o) {
169
169
  var u = (
@@ -173,52 +173,52 @@ function $e(e, t, r) {
173
173
  /** @type {Element} */
174
174
  u.parentNode
175
175
  );
176
- Me(h), h.append(u), e.items.clear();
176
+ Ne(h), h.append(u), e.items.clear();
177
177
  }
178
- J(t, !o);
178
+ Q(t, !o);
179
179
  } else
180
- f = {
180
+ l = {
181
181
  pending: new Set(t),
182
182
  done: /* @__PURE__ */ new Set()
183
- }, (e.outrogroups ??= /* @__PURE__ */ new Set()).add(f);
183
+ }, (e.outrogroups ??= /* @__PURE__ */ new Set()).add(l);
184
184
  }
185
- function J(e, t = !0) {
185
+ function Q(e, t = !0) {
186
186
  for (var r = 0; r < e.length; r++)
187
187
  D(e[r], t);
188
188
  }
189
- var re;
190
- function qe(e, t, r, a, i, f = null) {
191
- var l = e, s = /* @__PURE__ */ new Map();
192
- g && ie();
193
- var o = null, u = be(() => {
189
+ var ae;
190
+ function We(e, t, r, a, i, l = null) {
191
+ var f = e, s = /* @__PURE__ */ new Map();
192
+ g && le();
193
+ var o = null, u = Ee(() => {
194
194
  var v = r();
195
- return ye(v) ? v : v == null ? [] : j(v);
195
+ return Ae(v) ? v : v == null ? [] : ee(v);
196
196
  }), h, c = !0;
197
197
  function d() {
198
- n.fallback = o, Ke(n, h, l, t, a), o !== null && (h.length === 0 ? (o.f & k) === 0 ? Q(o) : (o.f ^= k, I(o, null, l)) : Z(o, () => {
198
+ n.fallback = o, Xe(n, h, f, t, a), o !== null && (h.length === 0 ? (o.f & k) === 0 ? Z(o) : (o.f ^= k, I(o, null, f)) : j(o, () => {
199
199
  o = null;
200
200
  }));
201
201
  }
202
- var p = ne(() => {
202
+ var p = ie(() => {
203
203
  h = /** @type {V[]} */
204
204
  E(u);
205
205
  var v = h.length;
206
- let T = !1;
206
+ let S = !1;
207
207
  if (g) {
208
- var M = fe(l) === le;
209
- M !== (v === 0) && (l = W(), X(l), H(!1), T = !0);
208
+ var M = fe(f) === oe;
209
+ M !== (v === 0) && (f = X(), G(f), R(!1), S = !0);
210
210
  }
211
- for (var m = /* @__PURE__ */ new Set(), S = (
211
+ for (var m = /* @__PURE__ */ new Set(), T = (
212
212
  /** @type {Batch} */
213
213
  A
214
- ), w = se(), b = 0; b < v; b += 1) {
215
- g && C.nodeType === we && /** @type {Comment} */
216
- C.data === Ne && (l = /** @type {Comment} */
217
- C, T = !0, H(!1));
214
+ ), w = ne(), b = 0; b < v; b += 1) {
215
+ g && H.nodeType === xe && /** @type {Comment} */
216
+ H.data === Ce && (f = /** @type {Comment} */
217
+ H, S = !0, R(!1));
218
218
  var x = h[b], N = a(x, b), _ = c ? null : s.get(N);
219
- _ ? (_.v && ee(_.v, x), _.i && ee(_.i, b), w && S.skipped_effects.delete(_.e)) : (_ = We(
219
+ _ ? (_.v && te(_.v, x), _.i && te(_.i, b), w && T.skipped_effects.delete(_.e)) : (_ = Ge(
220
220
  s,
221
- c ? l : re ??= P(),
221
+ c ? f : ae ??= z(),
222
222
  x,
223
223
  N,
224
224
  b,
@@ -227,232 +227,237 @@ function qe(e, t, r, a, i, f = null) {
227
227
  r
228
228
  ), c || (_.e.f |= k), s.set(N, _)), m.add(N);
229
229
  }
230
- if (v === 0 && f && !o && (c ? o = R(() => f(l)) : (o = R(() => f(re ??= P())), o.f |= k)), g && v > 0 && X(W()), !c)
230
+ if (v === 0 && l && !o && (c ? o = F(() => l(f)) : (o = F(() => l(ae ??= z())), o.f |= k)), g && v > 0 && G(X()), !c)
231
231
  if (w) {
232
- for (const [_e, pe] of s)
233
- m.has(_e) || S.skipped_effects.add(pe.e);
234
- S.oncommit(d), S.ondiscard(() => {
232
+ for (const [pe, ge] of s)
233
+ m.has(pe) || T.skipped_effects.add(ge.e);
234
+ T.oncommit(d), T.ondiscard(() => {
235
235
  });
236
236
  } else
237
237
  d();
238
- T && H(!0), E(u);
238
+ S && R(!0), E(u);
239
239
  }), n = { effect: p, items: s, outrogroups: null, fallback: o };
240
- c = !1, g && (l = C);
240
+ c = !1, g && (f = H);
241
241
  }
242
- function Ke(e, t, r, a, i) {
243
- var f = t.length, l = e.items, s = e.effect.first, o, u = null, h = [], c = [], d, p, n, v;
244
- for (v = 0; v < f; v += 1) {
242
+ function C(e) {
243
+ for (; e !== null && (e.f & we) === 0; )
244
+ e = e.next;
245
+ return e;
246
+ }
247
+ function Xe(e, t, r, a, i) {
248
+ var l = t.length, f = e.items, s = C(e.effect.first), o, u = null, h = [], c = [], d, p, n, v;
249
+ for (v = 0; v < l; v += 1) {
245
250
  if (d = t[v], p = i(d, v), n = /** @type {EachItem} */
246
- l.get(p).e, e.outrogroups !== null)
251
+ f.get(p).e, e.outrogroups !== null)
247
252
  for (const _ of e.outrogroups)
248
253
  _.pending.delete(n), _.done.delete(n);
249
254
  if ((n.f & k) !== 0)
250
255
  if (n.f ^= k, n === s)
251
256
  I(n, null, r);
252
257
  else {
253
- var T = u ? u.next : s;
254
- n === e.effect.last && (e.effect.last = n.prev), n.prev && (n.prev.next = n.next), n.next && (n.next.prev = n.prev), y(e, u, n), y(e, n, T), I(n, T, r), u = n, h = [], c = [], s = u.next;
258
+ var S = u ? u.next : s;
259
+ n === e.effect.last && (e.effect.last = n.prev), n.prev && (n.prev.next = n.next), n.next && (n.next.prev = n.prev), y(e, u, n), y(e, n, S), I(n, S, r), u = n, h = [], c = [], s = C(u.next);
255
260
  continue;
256
261
  }
257
- if ((n.f & Y) !== 0 && Q(n), n !== s) {
262
+ if ((n.f & $) !== 0 && Z(n), n !== s) {
258
263
  if (o !== void 0 && o.has(n)) {
259
264
  if (h.length < c.length) {
260
265
  var M = c[0], m;
261
266
  u = M.prev;
262
- var S = h[0], w = h[h.length - 1];
267
+ var T = h[0], w = h[h.length - 1];
263
268
  for (m = 0; m < h.length; m += 1)
264
269
  I(h[m], M, r);
265
270
  for (m = 0; m < c.length; m += 1)
266
271
  o.delete(c[m]);
267
- y(e, S.prev, w.next), y(e, u, S), y(e, w, M), s = M, u = w, v -= 1, h = [], c = [];
272
+ y(e, T.prev, w.next), y(e, u, T), y(e, w, M), s = M, u = w, v -= 1, h = [], c = [];
268
273
  } else
269
274
  o.delete(n), I(n, s, r), y(e, n.prev, n.next), y(e, n, u === null ? e.effect.first : u.next), y(e, u, n), u = n;
270
275
  continue;
271
276
  }
272
277
  for (h = [], c = []; s !== null && s !== n; )
273
- (o ??= /* @__PURE__ */ new Set()).add(s), c.push(s), s = s.next;
278
+ (o ??= /* @__PURE__ */ new Set()).add(s), c.push(s), s = C(s.next);
274
279
  if (s === null)
275
280
  continue;
276
281
  }
277
- (n.f & k) === 0 && h.push(n), u = n, s = n.next;
282
+ (n.f & k) === 0 && h.push(n), u = n, s = C(n.next);
278
283
  }
279
284
  if (e.outrogroups !== null) {
280
285
  for (const _ of e.outrogroups)
281
- _.pending.size === 0 && (J(j(_.done)), e.outrogroups?.delete(_));
286
+ _.pending.size === 0 && (Q(ee(_.done)), e.outrogroups?.delete(_));
282
287
  e.outrogroups.size === 0 && (e.outrogroups = null);
283
288
  }
284
289
  if (s !== null || o !== void 0) {
285
290
  var b = [];
286
291
  if (o !== void 0)
287
292
  for (n of o)
288
- (n.f & Y) === 0 && b.push(n);
293
+ (n.f & $) === 0 && b.push(n);
289
294
  for (; s !== null; )
290
- (s.f & Y) === 0 && s !== e.fallback && b.push(s), s = s.next;
295
+ (s.f & $) === 0 && s !== e.fallback && b.push(s), s = C(s.next);
291
296
  var x = b.length;
292
297
  if (x > 0) {
293
298
  var N = null;
294
- $e(e, b, N);
299
+ Ke(e, b, N);
295
300
  }
296
301
  }
297
302
  }
298
- function We(e, t, r, a, i, f, l, s) {
299
- var o = (l & Ae) !== 0 ? (l & ke) === 0 ? Ee(r, !1, !1) : te(r) : null, u = (l & Se) !== 0 ? te(i) : null;
303
+ function Ge(e, t, r, a, i, l, f, s) {
304
+ var o = (f & ke) !== 0 ? (f & Te) === 0 ? ye(r, !1, !1) : re(r) : null, u = (f & Se) !== 0 ? re(i) : null;
300
305
  return {
301
306
  v: o,
302
307
  i: u,
303
- e: R(() => (f(t, o ?? r, u ?? i, s), () => {
308
+ e: F(() => (l(t, o ?? r, u ?? i, s), () => {
304
309
  e.delete(a);
305
310
  }))
306
311
  };
307
312
  }
308
313
  function I(e, t, r) {
309
314
  if (e.nodes)
310
- for (var a = e.nodes.start, i = e.nodes.end, f = t && (t.f & k) === 0 ? (
315
+ for (var a = e.nodes.start, i = e.nodes.end, l = t && (t.f & k) === 0 ? (
311
316
  /** @type {EffectNodes} */
312
317
  t.nodes.start
313
318
  ) : r; a !== null; ) {
314
- var l = (
319
+ var f = (
315
320
  /** @type {TemplateNode} */
316
- Te(a)
321
+ Me(a)
317
322
  );
318
- if (f.before(a), a === i)
323
+ if (l.before(a), a === i)
319
324
  return;
320
- a = l;
325
+ a = f;
321
326
  }
322
327
  }
323
328
  function y(e, t, r) {
324
329
  t === null ? e.effect.first = r : t.next = r, r === null ? e.effect.last = t : r.prev = t;
325
330
  }
326
- function he(e) {
331
+ function de(e) {
327
332
  var t, r, a = "";
328
333
  if (typeof e == "string" || typeof e == "number") a += e;
329
334
  else if (typeof e == "object") if (Array.isArray(e)) {
330
335
  var i = e.length;
331
- for (t = 0; t < i; t++) e[t] && (r = he(e[t])) && (a && (a += " "), a += r);
336
+ for (t = 0; t < i; t++) e[t] && (r = de(e[t])) && (a && (a += " "), a += r);
332
337
  } else for (r in e) e[r] && (a && (a += " "), a += r);
333
338
  return a;
334
339
  }
335
- function Xe() {
336
- for (var e, t, r = 0, a = "", i = arguments.length; r < i; r++) (e = arguments[r]) && (t = he(e)) && (a && (a += " "), a += t);
340
+ function Je() {
341
+ for (var e, t, r = 0, a = "", i = arguments.length; r < i; r++) (e = arguments[r]) && (t = de(e)) && (a && (a += " "), a += t);
337
342
  return a;
338
343
  }
339
- function Ge(e) {
340
- return typeof e == "object" ? Xe(e) : e ?? "";
344
+ function Qe(e) {
345
+ return typeof e == "object" ? Je(e) : e ?? "";
341
346
  }
342
- function Je(e, t, r) {
347
+ function Ze(e, t, r) {
343
348
  var a = e == null ? "" : "" + e;
344
349
  return a === "" ? null : a;
345
350
  }
346
- function Qe(e, t, r, a, i, f) {
347
- var l = e.__className;
348
- if (g || l !== r || l === void 0) {
349
- var s = Je(r);
351
+ function je(e, t, r, a, i, l) {
352
+ var f = e.__className;
353
+ if (g || f !== r || f === void 0) {
354
+ var s = Ze(r);
350
355
  (!g || s !== e.getAttribute("class")) && (s == null ? e.removeAttribute("class") : e.className = s), e.__className = r;
351
356
  }
352
- return f;
357
+ return l;
353
358
  }
354
- const Ze = /* @__PURE__ */ Symbol("is custom element"), je = /* @__PURE__ */ Symbol("is html");
355
- function et(e, t, r, a) {
356
- var i = tt(e);
357
- g && (i[t] = e.getAttribute(t)), i[t] !== (i[t] = r) && (r == null ? e.removeAttribute(t) : typeof r != "string" && rt(e).includes(t) ? e[t] = r : e.setAttribute(t, r));
359
+ const et = /* @__PURE__ */ Symbol("is custom element"), tt = /* @__PURE__ */ Symbol("is html");
360
+ function rt(e, t, r, a) {
361
+ var i = at(e);
362
+ g && (i[t] = e.getAttribute(t)), i[t] !== (i[t] = r) && (r == null ? e.removeAttribute(t) : typeof r != "string" && st(e).includes(t) ? e[t] = r : e.setAttribute(t, r));
358
363
  }
359
- function tt(e) {
364
+ function at(e) {
360
365
  return (
361
366
  /** @type {Record<string | symbol, unknown>} **/
362
367
  // @ts-expect-error
363
368
  e.__attributes ??= {
364
- [Ze]: e.nodeName.includes("-"),
365
- [je]: e.namespaceURI === xe
369
+ [et]: e.nodeName.includes("-"),
370
+ [tt]: e.namespaceURI === He
366
371
  }
367
372
  );
368
373
  }
369
- var ae = /* @__PURE__ */ new Map();
370
- function rt(e) {
371
- var t = e.getAttribute("is") || e.nodeName, r = ae.get(t);
374
+ var se = /* @__PURE__ */ new Map();
375
+ function st(e) {
376
+ var t = e.getAttribute("is") || e.nodeName, r = se.get(t);
372
377
  if (r) return r;
373
- ae.set(t, r = []);
374
- for (var a, i = e, f = Element.prototype; f !== i; ) {
375
- a = Ie(i);
376
- for (var l in a)
377
- a[l].set && r.push(l);
378
- i = Ce(i);
378
+ se.set(t, r = []);
379
+ for (var a, i = e, l = Element.prototype; l !== i; ) {
380
+ a = Re(i);
381
+ for (var f in a)
382
+ a[f].set && r.push(f);
383
+ i = Ie(i);
379
384
  }
380
385
  return r;
381
386
  }
382
- function at(e, t, r = t) {
387
+ function nt(e, t, r = t) {
383
388
  var a = /* @__PURE__ */ new WeakSet();
384
- He(e, "input", async (i) => {
385
- var f = i ? e.defaultValue : e.value;
386
- if (f = q(e) ? K(f) : f, r(f), A !== null && a.add(A), await Re(), f !== (f = t())) {
387
- var l = e.selectionStart, s = e.selectionEnd, o = e.value.length;
388
- if (e.value = f ?? "", s !== null) {
389
+ Fe(e, "input", async (i) => {
390
+ var l = i ? e.defaultValue : e.value;
391
+ if (l = K(e) ? W(l) : l, r(l), A !== null && a.add(A), await De(), l !== (l = t())) {
392
+ var f = e.selectionStart, s = e.selectionEnd, o = e.value.length;
393
+ if (e.value = l ?? "", s !== null) {
389
394
  var u = e.value.length;
390
- l === s && s === o && u > o ? (e.selectionStart = u, e.selectionEnd = u) : (e.selectionStart = l, e.selectionEnd = Math.min(s, u));
395
+ f === s && s === o && u > o ? (e.selectionStart = u, e.selectionEnd = u) : (e.selectionStart = f, e.selectionEnd = Math.min(s, u));
391
396
  }
392
397
  }
393
398
  }), // If we are hydrating and the value has since changed,
394
399
  // then use the updated value from the input instead.
395
400
  (g && e.defaultValue !== e.value || // If defaultValue is set, then value == defaultValue
396
401
  // TODO Svelte 6: remove input.value check and set to empty string?
397
- F(t) == null && e.value) && (r(q(e) ? K(e.value) : e.value), A !== null && a.add(A)), De(() => {
402
+ L(t) == null && e.value) && (r(K(e) ? W(e.value) : e.value), A !== null && a.add(A)), Le(() => {
398
403
  var i = t();
399
404
  if (e === document.activeElement) {
400
- var f = (
405
+ var l = (
401
406
  /** @type {Batch} */
402
- Fe ?? A
407
+ Oe ?? A
403
408
  );
404
- if (a.has(f))
409
+ if (a.has(l))
405
410
  return;
406
411
  }
407
- q(e) && i === K(e.value) || e.type === "date" && !i && !e.value || i !== e.value && (e.value = i ?? "");
412
+ K(e) && i === W(e.value) || e.type === "date" && !i && !e.value || i !== e.value && (e.value = i ?? "");
408
413
  });
409
414
  }
410
- function q(e) {
415
+ function K(e) {
411
416
  var t = e.type;
412
417
  return t === "number" || t === "range";
413
418
  }
414
- function K(e) {
419
+ function W(e) {
415
420
  return e === "" ? null : +e;
416
421
  }
417
- var st = U("<button> </button>"), nt = U('<div><button class="HTMLEditor">HTML</button> <button class="PlainEditor">Plain</button> <!></div>');
418
- function de(e, t) {
419
- ve(t, !1);
420
- const r = Le();
421
- let a = L(t, "buttons", 28, () => []);
422
+ var it = Y("<button> </button>"), lt = Y('<div><button class="HTMLEditor">HTML</button> <button class="PlainEditor">Plain</button> <!></div>');
423
+ function _e(e, t) {
424
+ he(t, !1);
425
+ const r = Pe();
426
+ let a = O(t, "buttons", 28, () => []);
422
427
  function i() {
423
428
  r("html", {});
424
429
  }
425
- function f() {
430
+ function l() {
426
431
  r("plain", {});
427
432
  }
428
- var l = {
433
+ var f = {
429
434
  get buttons() {
430
435
  return a();
431
436
  },
432
437
  set buttons(c) {
433
- a(c), O();
438
+ a(c), P();
434
439
  }
435
440
  };
436
- ue();
437
- var s = nt(), o = V(s), u = G(o, 2), h = G(u, 2);
438
- return qe(h, 1, a, Ye, (c, d) => {
439
- var p = st(), n = V(p, !0);
440
- B(p), Oe(() => {
441
- Qe(p, 1, Ge((E(d), F(() => E(d).style)))), et(p, "title", (E(d), F(() => E(d).text))), Pe(n, (E(d), F(() => E(d).text)));
442
- }), $("click", p, function(...v) {
441
+ ce();
442
+ var s = lt(), o = V(s), u = J(o, 2), h = J(u, 2);
443
+ return We(h, 1, a, qe, (c, d) => {
444
+ var p = it(), n = V(p, !0);
445
+ U(p), ze(() => {
446
+ je(p, 1, Qe((E(d), L(() => E(d).style)))), rt(p, "title", (E(d), L(() => E(d).text))), Be(n, (E(d), L(() => E(d).text)));
447
+ }), q("click", p, function(...v) {
443
448
  E(d).handler?.apply(this, v);
444
- }), z(c, p);
445
- }), B(s), $("click", o, i), $("click", u, f), z(e, s), ce(l);
449
+ }), B(c, p);
450
+ }), U(s), q("click", o, i), q("click", u, l), B(e, s), ve(f);
446
451
  }
447
- oe(de, { buttons: {} }, [], [], !0);
448
- var it = U("<textarea></textarea>"), ft = U('<main><div class="Editor"><!></div> <!></main>');
449
- function lt(e, t) {
450
- ve(t, !1);
451
- let r = L(t, "value", 12, ""), a = L(t, "buttons", 28, () => []), i = L(t, "html", 12, !0);
452
- function f() {
452
+ ue(_e, { buttons: {} }, [], [], { mode: "open" });
453
+ var ft = Y("<textarea></textarea>"), ot = Y('<main><div class="Editor"><!></div> <!></main>');
454
+ function ut(e, t) {
455
+ he(t, !1);
456
+ let r = O(t, "value", 12, ""), a = O(t, "buttons", 28, () => []), i = O(t, "html", 12, !0);
457
+ function l() {
453
458
  i() || i(!0);
454
459
  }
455
- function l() {
460
+ function f() {
456
461
  i() && (r(r().replace(/<[^>]*>?/gm, "")), i(!1));
457
462
  }
458
463
  var s = {
@@ -460,26 +465,26 @@ function lt(e, t) {
460
465
  return r();
461
466
  },
462
467
  set value(n) {
463
- r(n), O();
468
+ r(n), P();
464
469
  },
465
470
  get buttons() {
466
471
  return a();
467
472
  },
468
473
  set buttons(n) {
469
- a(n), O();
474
+ a(n), P();
470
475
  },
471
476
  get html() {
472
477
  return i();
473
478
  },
474
479
  set html(n) {
475
- i(n), O();
480
+ i(n), P();
476
481
  }
477
482
  };
478
- ue();
479
- var o = ft(), u = V(o), h = V(u);
483
+ ce();
484
+ var o = ot(), u = V(o), h = V(u);
480
485
  {
481
486
  var c = (n) => {
482
- ze(n, {
487
+ Ve(n, {
483
488
  get value() {
484
489
  return r();
485
490
  },
@@ -489,24 +494,24 @@ function lt(e, t) {
489
494
  $$legacy: !0
490
495
  });
491
496
  }, d = (n) => {
492
- var v = it();
493
- Ve(v), at(v, r), z(n, v);
497
+ var v = ft();
498
+ Ue(v), nt(v, r), B(n, v);
494
499
  };
495
- Ue(h, (n) => {
500
+ $e(h, (n) => {
496
501
  i() ? n(c) : n(d, !1);
497
502
  });
498
503
  }
499
- B(u);
500
- var p = G(u, 2);
501
- return de(p, {
504
+ U(u);
505
+ var p = J(u, 2);
506
+ return _e(p, {
502
507
  get buttons() {
503
508
  return a();
504
509
  },
505
510
  set buttons(n) {
506
511
  a(n);
507
512
  },
508
- $$events: { html: f, plain: l },
513
+ $$events: { html: l, plain: f },
509
514
  $$legacy: !0
510
- }), B(o), z(e, o), ce(s);
515
+ }), U(o), B(e, o), ve(s);
511
516
  }
512
- customElements.define("switchable-editor", oe(lt, { value: {}, buttons: {}, html: {} }, [], [], !1));
517
+ customElements.define("switchable-editor", ue(ut, { value: {}, buttons: {}, html: {} }, [], []));
@@ -0,0 +1,8 @@
1
+ const t = {
2
+ "Text direction": "Κατεύθυνση κειμένου",
3
+ "Left-To-Right (LTR)": "Αριστερά-Προς-Δεξιά (ΑΠΔ)",
4
+ "Right-To-Left (RTL)": "Δεξιά-Προς-Αριστερά (ΔΠΑ)"
5
+ };
6
+ export {
7
+ t as default
8
+ };
@@ -1,4 +1,4 @@
1
- import { g as c } from "./ckeditor5-B9l0Limk.js";
1
+ import { g as c } from "./ckeditor5-nSnlzsoz.js";
2
2
  function g(e, l) {
3
3
  for (var a = 0; a < l.length; a++) {
4
4
  const t = l[a];
@@ -1,4 +1,4 @@
1
- import { g as c } from "./ckeditor5-B9l0Limk.js";
1
+ import { g as c } from "./ckeditor5-nSnlzsoz.js";
2
2
  function g(e, l) {
3
3
  for (var a = 0; a < l.length; a++) {
4
4
  const t = l[a];
@@ -1,4 +1,4 @@
1
- import { g as c } from "./ckeditor5-B9l0Limk.js";
1
+ import { g as c } from "./ckeditor5-nSnlzsoz.js";
2
2
  function g(e, l) {
3
3
  for (var a = 0; a < l.length; a++) {
4
4
  const t = l[a];