@uxland/primary-shell 7.15.1 → 7.15.2

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.
@@ -110,12 +110,12 @@ function require_Reflect() {
110
110
  return je(_t) || (_t = Ct(_t)), Ge(rt, ft, _t);
111
111
  }
112
112
  X("hasMetadata", Le);
113
- function ze(rt, ft, _t) {
113
+ function qe(rt, ft, _t) {
114
114
  if (!Ue(ft))
115
115
  throw new TypeError();
116
116
  return je(_t) || (_t = Ct(_t)), Ze(rt, ft, _t);
117
117
  }
118
- X("hasOwnMetadata", ze);
118
+ X("hasOwnMetadata", qe);
119
119
  function Fe(rt, ft, _t) {
120
120
  if (!Ue(ft))
121
121
  throw new TypeError();
@@ -140,7 +140,7 @@ function require_Reflect() {
140
140
  return je(ft) || (ft = Ct(ft)), Me(rt, ft);
141
141
  }
142
142
  X("getOwnMetadataKeys", Oe);
143
- function qe(rt, ft, _t) {
143
+ function ze(rt, ft, _t) {
144
144
  if (!Ue(ft))
145
145
  throw new TypeError();
146
146
  if (je(_t) || (_t = Ct(_t)), !Ue(ft))
@@ -154,7 +154,7 @@ function require_Reflect() {
154
154
  );
155
155
  return je(St) ? !1 : St.OrdinaryDeleteMetadata(rt, ft, _t);
156
156
  }
157
- X("deleteMetadata", qe);
157
+ X("deleteMetadata", ze);
158
158
  function Ie(rt, ft) {
159
159
  for (var _t = rt.length - 1; _t >= 0; --_t) {
160
160
  var St = rt[_t], It = St(ft);
@@ -230,12 +230,12 @@ function require_Reflect() {
230
230
  if (_t.length <= 0)
231
231
  return It;
232
232
  for (var os = new ve(), ds = [], jt = 0, Tt = _t; jt < Tt.length; jt++) {
233
- var Ot = Tt[jt], zt = os.has(Ot);
234
- zt || (os.add(Ot), ds.push(Ot));
233
+ var Ot = Tt[jt], qt = os.has(Ot);
234
+ qt || (os.add(Ot), ds.push(Ot));
235
235
  }
236
236
  for (var Dt = 0, Bt = It; Dt < Bt.length; Dt++) {
237
- var Ot = Bt[Dt], zt = os.has(Ot);
238
- zt || (os.add(Ot), ds.push(Ot));
237
+ var Ot = Bt[Dt], qt = os.has(Ot);
238
+ qt || (os.add(Ot), ds.push(Ot));
239
239
  }
240
240
  return ds;
241
241
  }
@@ -308,13 +308,13 @@ function require_Reflect() {
308
308
  var _t, St, It;
309
309
  {
310
310
  var os = rt.toString;
311
- if (qt(os)) {
311
+ if (zt(os)) {
312
312
  var St = os.call(rt);
313
313
  if (!Ue(St))
314
314
  return St;
315
315
  }
316
316
  var _t = rt.valueOf;
317
- if (qt(_t)) {
317
+ if (zt(_t)) {
318
318
  var St = _t.call(rt);
319
319
  if (!Ue(St))
320
320
  return St;
@@ -335,7 +335,7 @@ function require_Reflect() {
335
335
  function Pt(rt) {
336
336
  return Array.isArray ? Array.isArray(rt) : rt instanceof Object ? rt instanceof Array : Object.prototype.toString.call(rt) === "[object Array]";
337
337
  }
338
- function qt(rt) {
338
+ function zt(rt) {
339
339
  return typeof rt == "function";
340
340
  }
341
341
  function Nt(rt) {
@@ -357,14 +357,14 @@ function require_Reflect() {
357
357
  function Xt(rt, ft) {
358
358
  var _t = rt[ft];
359
359
  if (_t != null) {
360
- if (!qt(_t))
360
+ if (!zt(_t))
361
361
  throw new TypeError();
362
362
  return _t;
363
363
  }
364
364
  }
365
365
  function mt(rt) {
366
366
  var ft = Xt(rt, ce);
367
- if (!qt(ft))
367
+ if (!zt(ft))
368
368
  throw new TypeError();
369
369
  var _t = ft.call(rt);
370
370
  if (!Ue(_t))
@@ -398,7 +398,7 @@ function require_Reflect() {
398
398
  var ft, _t, St, It = new me(), os = {
399
399
  registerProvider: ds,
400
400
  getProvider: Tt,
401
- setProvider: zt
401
+ setProvider: qt
402
402
  };
403
403
  return os;
404
404
  function ds(Dt) {
@@ -452,7 +452,7 @@ function require_Reflect() {
452
452
  throw new TypeError();
453
453
  return ft === Dt || _t === Dt || !je(St) && St.has(Dt);
454
454
  }
455
- function zt(Dt, Bt, es) {
455
+ function qt(Dt, Bt, es) {
456
456
  if (!Ot(es))
457
457
  throw new Error("Metadata provider not registered.");
458
458
  var as = Tt(Dt, Bt);
@@ -476,9 +476,9 @@ function require_Reflect() {
476
476
  }
477
477
  function Ht(rt) {
478
478
  var ft = new me(), _t = {
479
- isProviderFor: function(Ot, zt) {
479
+ isProviderFor: function(Ot, qt) {
480
480
  var Dt = ft.get(Ot);
481
- return je(Dt) ? !1 : Dt.has(zt);
481
+ return je(Dt) ? !1 : Dt.has(qt);
482
482
  },
483
483
  OrdinaryDefineOwnMetadata: ds,
484
484
  OrdinaryHasOwnMetadata: It,
@@ -487,34 +487,34 @@ function require_Reflect() {
487
487
  OrdinaryDeleteMetadata: Tt
488
488
  };
489
489
  return ye.registerProvider(_t), _t;
490
- function St(Ot, zt, Dt) {
490
+ function St(Ot, qt, Dt) {
491
491
  var Bt = ft.get(Ot), es = !1;
492
492
  if (je(Bt)) {
493
493
  if (!Dt)
494
494
  return;
495
495
  Bt = new ge(), ft.set(Ot, Bt), es = !0;
496
496
  }
497
- var as = Bt.get(zt);
497
+ var as = Bt.get(qt);
498
498
  if (je(as)) {
499
499
  if (!Dt)
500
500
  return;
501
- if (as = new ge(), Bt.set(zt, as), !rt.setProvider(Ot, zt, _t))
502
- throw Bt.delete(zt), es && ft.delete(Ot), new Error("Wrong provider for target.");
501
+ if (as = new ge(), Bt.set(qt, as), !rt.setProvider(Ot, qt, _t))
502
+ throw Bt.delete(qt), es && ft.delete(Ot), new Error("Wrong provider for target.");
503
503
  }
504
504
  return as;
505
505
  }
506
- function It(Ot, zt, Dt) {
506
+ function It(Ot, qt, Dt) {
507
507
  var Bt = St(
508
- zt,
508
+ qt,
509
509
  Dt,
510
510
  /*Create*/
511
511
  !1
512
512
  );
513
513
  return je(Bt) ? !1 : ot(Bt.has(Ot));
514
514
  }
515
- function os(Ot, zt, Dt) {
515
+ function os(Ot, qt, Dt) {
516
516
  var Bt = St(
517
- zt,
517
+ qt,
518
518
  Dt,
519
519
  /*Create*/
520
520
  !1
@@ -522,19 +522,19 @@ function require_Reflect() {
522
522
  if (!je(Bt))
523
523
  return Bt.get(Ot);
524
524
  }
525
- function ds(Ot, zt, Dt, Bt) {
525
+ function ds(Ot, qt, Dt, Bt) {
526
526
  var es = St(
527
527
  Dt,
528
528
  Bt,
529
529
  /*Create*/
530
530
  !0
531
531
  );
532
- es.set(Ot, zt);
532
+ es.set(Ot, qt);
533
533
  }
534
- function jt(Ot, zt) {
534
+ function jt(Ot, qt) {
535
535
  var Dt = [], Bt = St(
536
536
  Ot,
537
- zt,
537
+ qt,
538
538
  /*Create*/
539
539
  !1
540
540
  );
@@ -544,22 +544,22 @@ function require_Reflect() {
544
544
  var Es = kt(as);
545
545
  if (!Es)
546
546
  return Dt.length = fs, Dt;
547
- var zs = vt(Es);
547
+ var qs = vt(Es);
548
548
  try {
549
- Dt[fs] = zs;
550
- } catch (qs) {
549
+ Dt[fs] = qs;
550
+ } catch (zs) {
551
551
  try {
552
552
  At(as);
553
553
  } finally {
554
- throw qs;
554
+ throw zs;
555
555
  }
556
556
  }
557
557
  fs++;
558
558
  }
559
559
  }
560
- function Tt(Ot, zt, Dt) {
560
+ function Tt(Ot, qt, Dt) {
561
561
  var Bt = St(
562
- zt,
562
+ qt,
563
563
  Dt,
564
564
  /*Create*/
565
565
  !1
@@ -567,7 +567,7 @@ function require_Reflect() {
567
567
  if (je(Bt) || !Bt.delete(Ot))
568
568
  return !1;
569
569
  if (Bt.size === 0) {
570
- var es = ft.get(zt);
570
+ var es = ft.get(qt);
571
571
  je(es) || (es.delete(Dt), es.size === 0 && ft.delete(es));
572
572
  }
573
573
  return !0;
@@ -576,8 +576,8 @@ function require_Reflect() {
576
576
  function us(rt) {
577
577
  var ft = rt.defineMetadata, _t = rt.hasOwnMetadata, St = rt.getOwnMetadata, It = rt.getOwnMetadataKeys, os = rt.deleteMetadata, ds = new me(), jt = {
578
578
  isProviderFor: function(Tt, Ot) {
579
- var zt = ds.get(Tt);
580
- return !je(zt) && zt.has(Ot) ? !0 : It(Tt, Ot).length ? (je(zt) && (zt = new ve(), ds.set(Tt, zt)), zt.add(Ot), !0) : !1;
579
+ var qt = ds.get(Tt);
580
+ return !je(qt) && qt.has(Ot) ? !0 : It(Tt, Ot).length ? (je(qt) && (qt = new ve(), ds.set(Tt, qt)), qt.add(Ot), !0) : !1;
581
581
  },
582
582
  OrdinaryDefineOwnMetadata: ft,
583
583
  OrdinaryHasOwnMetadata: _t,
@@ -601,8 +601,8 @@ function require_Reflect() {
601
601
  var rt = {}, ft = [], _t = (
602
602
  /** @class */
603
603
  (function() {
604
- function jt(Tt, Ot, zt) {
605
- this._index = 0, this._keys = Tt, this._values = Ot, this._selector = zt;
604
+ function jt(Tt, Ot, qt) {
605
+ this._index = 0, this._keys = Tt, this._values = Ot, this._selector = qt;
606
606
  }
607
607
  return jt.prototype["@@iterator"] = function() {
608
608
  return this;
@@ -647,12 +647,12 @@ function require_Reflect() {
647
647
  );
648
648
  return Ot >= 0 ? this._values[Ot] : void 0;
649
649
  }, jt.prototype.set = function(Tt, Ot) {
650
- var zt = this._find(
650
+ var qt = this._find(
651
651
  Tt,
652
652
  /*insert*/
653
653
  !0
654
654
  );
655
- return this._values[zt] = Ot, this;
655
+ return this._values[qt] = Ot, this;
656
656
  }, jt.prototype.delete = function(Tt) {
657
657
  var Ot = this._find(
658
658
  Tt,
@@ -660,7 +660,7 @@ function require_Reflect() {
660
660
  !1
661
661
  );
662
662
  if (Ot >= 0) {
663
- for (var zt = this._keys.length, Dt = Ot + 1; Dt < zt; Dt++)
663
+ for (var qt = this._keys.length, Dt = Ot + 1; Dt < qt; Dt++)
664
664
  this._keys[Dt - 1] = this._keys[Dt], this._values[Dt - 1] = this._values[Dt];
665
665
  return this._keys.length--, this._values.length--, ns(Tt, this._cacheKey) && (this._cacheKey = rt, this._cacheIndex = -2), !0;
666
666
  }
@@ -680,9 +680,9 @@ function require_Reflect() {
680
680
  }, jt.prototype._find = function(Tt, Ot) {
681
681
  if (!ns(this._cacheKey, Tt)) {
682
682
  this._cacheIndex = -1;
683
- for (var zt = 0; zt < this._keys.length; zt++)
684
- if (ns(this._keys[zt], Tt)) {
685
- this._cacheIndex = zt;
683
+ for (var qt = 0; qt < this._keys.length; qt++)
684
+ if (ns(this._keys[qt], Tt)) {
685
+ this._cacheIndex = qt;
686
686
  break;
687
687
  }
688
688
  }
@@ -746,33 +746,33 @@ function require_Reflect() {
746
746
  this._key = St();
747
747
  }
748
748
  return Tt.prototype.has = function(Ot) {
749
- var zt = It(
749
+ var qt = It(
750
750
  Ot,
751
751
  /*create*/
752
752
  !1
753
753
  );
754
- return zt !== void 0 ? fe.has(zt, this._key) : !1;
754
+ return qt !== void 0 ? fe.has(qt, this._key) : !1;
755
755
  }, Tt.prototype.get = function(Ot) {
756
- var zt = It(
756
+ var qt = It(
757
757
  Ot,
758
758
  /*create*/
759
759
  !1
760
760
  );
761
- return zt !== void 0 ? fe.get(zt, this._key) : void 0;
762
- }, Tt.prototype.set = function(Ot, zt) {
761
+ return qt !== void 0 ? fe.get(qt, this._key) : void 0;
762
+ }, Tt.prototype.set = function(Ot, qt) {
763
763
  var Dt = It(
764
764
  Ot,
765
765
  /*create*/
766
766
  !0
767
767
  );
768
- return Dt[this._key] = zt, this;
768
+ return Dt[this._key] = qt, this;
769
769
  }, Tt.prototype.delete = function(Ot) {
770
- var zt = It(
770
+ var qt = It(
771
771
  Ot,
772
772
  /*create*/
773
773
  !1
774
774
  );
775
- return zt !== void 0 ? delete zt[this._key] : !1;
775
+ return qt !== void 0 ? delete qt[this._key] : !1;
776
776
  }, Tt.prototype.clear = function() {
777
777
  this._key = St();
778
778
  }, Tt;
@@ -794,8 +794,8 @@ function require_Reflect() {
794
794
  return Tt[_t];
795
795
  }
796
796
  function os(Tt, Ot) {
797
- for (var zt = 0; zt < Ot; ++zt)
798
- Tt[zt] = Math.random() * 255 | 0;
797
+ for (var qt = 0; qt < Ot; ++qt)
798
+ Tt[qt] = Math.random() * 255 | 0;
799
799
  return Tt;
800
800
  }
801
801
  function ds(Tt) {
@@ -808,9 +808,9 @@ function require_Reflect() {
808
808
  function jt() {
809
809
  var Tt = ds(rt);
810
810
  Tt[6] = Tt[6] & 79 | 64, Tt[8] = Tt[8] & 191 | 128;
811
- for (var Ot = "", zt = 0; zt < rt; ++zt) {
812
- var Dt = Tt[zt];
813
- (zt === 4 || zt === 6 || zt === 8) && (Ot += "-"), Dt < 16 && (Ot += "0"), Ot += Dt.toString(16).toLowerCase();
811
+ for (var Ot = "", qt = 0; qt < rt; ++qt) {
812
+ var Dt = Tt[qt];
813
+ (qt === 4 || qt === 6 || qt === 8) && (Ot += "-"), Dt < 16 && (Ot += "0"), Ot += Dt.toString(16).toLowerCase();
814
814
  }
815
815
  return Ot;
816
816
  }
@@ -3346,7 +3346,10 @@ var NotificationMappings = (
3346
3346
  }, te;
3347
3347
  })()
3348
3348
  );
3349
- const disposableFactory = (te) => ({
3349
+ const BROKER_EVENTS = {
3350
+ refreshHistoryDataRequested: "refresh_history_data_requested",
3351
+ errorLoadingActivityHistoryData: "error_loading_activity_history_data"
3352
+ }, disposableFactory = (te) => ({
3350
3353
  dispose: () => {
3351
3354
  mediatorSettings.resolver.remove(te.name);
3352
3355
  const J = mediatorSettings.dispatcher.notifications._mappings.findIndex(
@@ -3357,7 +3360,7 @@ const disposableFactory = (te) => ({
3357
3360
  });
3358
3361
  class Broker {
3359
3362
  constructor() {
3360
- this.eventConstructorMap = /* @__PURE__ */ new Map(), this.requestConstructorMap = /* @__PURE__ */ new Map(), this.mediator = new Mediator(), mediatorSettings.resolver.clear();
3363
+ this.events = BROKER_EVENTS, this.eventConstructorMap = /* @__PURE__ */ new Map(), this.requestConstructorMap = /* @__PURE__ */ new Map(), this.mediator = new Mediator(), mediatorSettings.resolver.clear();
3361
3364
  }
3362
3365
  send(J, X) {
3363
3366
  const re = typeof J == "string" ? this.getRequest(J, X) : J;
@@ -4540,10 +4543,10 @@ const resolveConfig = (te) => {
4540
4543
  config: te,
4541
4544
  request: _e
4542
4545
  };
4543
- settle(function(ze) {
4544
- X(ze), me();
4545
- }, function(ze) {
4546
- re(ze), me();
4546
+ settle(function(qe) {
4547
+ X(qe), me();
4548
+ }, function(qe) {
4549
+ re(qe), me();
4547
4550
  }, Ae), _e = null;
4548
4551
  }
4549
4552
  "onloadend" in _e ? _e.onloadend = ye : _e.onreadystatechange = function() {
@@ -4722,15 +4725,15 @@ const resolveConfig = (te) => {
4722
4725
  timeout: we,
4723
4726
  onDownloadProgress: Ae,
4724
4727
  onUploadProgress: Le,
4725
- responseType: ze,
4728
+ responseType: qe,
4726
4729
  headers: Fe,
4727
4730
  withCredentials: Be = "same-origin",
4728
4731
  fetchOptions: Pe
4729
4732
  } = resolveConfig(ve), Oe = J || fetch;
4730
- ze = ze ? (ze + "").toLowerCase() : "text";
4731
- let qe = composeSignals([Ce, Se && Se.toAbortSignal()], we), Ie = null;
4732
- const Ne = qe && qe.unsubscribe && (() => {
4733
- qe.unsubscribe();
4733
+ qe = qe ? (qe + "").toLowerCase() : "text";
4734
+ let ze = composeSignals([Ce, Se && Se.toAbortSignal()], we), Ie = null;
4735
+ const Ne = ze && ze.unsubscribe && (() => {
4736
+ ze.unsubscribe();
4734
4737
  });
4735
4738
  let Ge;
4736
4739
  try {
@@ -4751,7 +4754,7 @@ const resolveConfig = (te) => {
4751
4754
  utils$1.isString(Be) || (Be = Be ? "include" : "omit");
4752
4755
  const Ze = oe && "credentials" in X.prototype, Ke = {
4753
4756
  ...Pe,
4754
- signal: qe,
4757
+ signal: ze,
4755
4758
  method: _e.toUpperCase(),
4756
4759
  headers: Fe.normalize().toJSON(),
4757
4760
  body: ye,
@@ -4760,7 +4763,7 @@ const resolveConfig = (te) => {
4760
4763
  };
4761
4764
  Ie = oe && new X(me, Ke);
4762
4765
  let bt = await (oe ? Oe(Ie, Pe) : Oe(me, Ke));
4763
- const Je = pe && (ze === "stream" || ze === "response");
4766
+ const Je = pe && (qe === "stream" || qe === "response");
4764
4767
  if (pe && (Ae || Je && Ne)) {
4765
4768
  const Me = {};
4766
4769
  ["status", "statusText", "headers"].forEach((tt) => {
@@ -4777,8 +4780,8 @@ const resolveConfig = (te) => {
4777
4780
  Me
4778
4781
  );
4779
4782
  }
4780
- ze = ze || "text";
4781
- let Ye = await fe[utils$1.findKey(fe, ze) || "text"](bt, ve);
4783
+ qe = qe || "text";
4784
+ let Ye = await fe[utils$1.findKey(fe, qe) || "text"](bt, ve);
4782
4785
  return !Je && Ne && Ne(), await new Promise((Me, We) => {
4783
4786
  settle(Me, We, {
4784
4787
  data: Ye,
@@ -5483,19 +5486,19 @@ class ParimariaInteractionServiceImpl extends PrimariaInteractionService {
5483
5486
  window.addEventListener("keydown", Ae);
5484
5487
  }, []);
5485
5488
  const Ae = (Ie) => {
5486
- Ie.key === "Escape" && ze(!1);
5489
+ Ie.key === "Escape" && qe(!1);
5487
5490
  }, Le = (Ie) => {
5488
- Ce.current && Ie.target === Se.current && ne.closeOnOutsideClick && ze(!1);
5491
+ Ce.current && Ie.target === Se.current && ne.closeOnOutsideClick && qe(!1);
5489
5492
  };
5490
5493
  useEffect(() => {
5491
5494
  if (we && ye.current) {
5492
5495
  const Ie = ye.current, Ne = new ue();
5493
- return Ne.data = J, Ne.setResult = ve, Ne.setIsValid = _e, Ne.confirm = () => me && ze(!0), Ne.confirmResult = (Ge) => me && Fe(Ge), Ne.cancel = () => ze(!1), Ie.appendChild(Ne), () => {
5496
+ return Ne.data = J, Ne.setResult = ve, Ne.setIsValid = _e, Ne.confirm = () => me && qe(!0), Ne.confirmResult = (Ge) => me && Fe(Ge), Ne.cancel = () => qe(!1), Ie.appendChild(Ne), () => {
5494
5497
  Ie.removeChild(Ne);
5495
5498
  };
5496
5499
  }
5497
5500
  }, [ue, J]);
5498
- const ze = (Ie) => {
5501
+ const qe = (Ie) => {
5499
5502
  Be(ge, Ie);
5500
5503
  }, Fe = (Ie) => {
5501
5504
  Be(Ie, !0);
@@ -5506,14 +5509,14 @@ class ParimariaInteractionServiceImpl extends PrimariaInteractionService {
5506
5509
  confirmed: Ne
5507
5510
  }), document.body.removeChild(de), document.head.removeChild(ce), he && document.head.removeChild(pe), window.removeEventListener("keydown", Ae);
5508
5511
  }, 300);
5509
- }, Pe = () => ne.state === "error" ? "error" : ne.state === "success" ? "success" : ne.state === "info" ? "primary" : ne.state === "alert" ? "warning" : "primary", Oe = () => ne.state ? "alternative-dark" : "secondary", qe = () => we ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: ye }) : /* @__PURE__ */ jsxRuntimeExports.jsx(
5512
+ }, Pe = () => ne.state === "error" ? "error" : ne.state === "success" ? "success" : ne.state === "info" ? "primary" : ne.state === "alert" ? "warning" : "primary", Oe = () => ne.state ? "alternative-dark" : "secondary", ze = () => we ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { ref: ye }) : /* @__PURE__ */ jsxRuntimeExports.jsx(
5510
5513
  ue,
5511
5514
  {
5512
5515
  data: J,
5513
5516
  setResult: ve,
5514
5517
  setIsValid: _e,
5515
- confirm: () => me && ze(!0),
5516
- cancel: () => ze(!1)
5518
+ confirm: () => me && qe(!0),
5519
+ cancel: () => qe(!1)
5517
5520
  }
5518
5521
  );
5519
5522
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "modal", ref: Se, onClick: Le, children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "dialog", ref: Ce, children: [
@@ -5526,11 +5529,11 @@ class ParimariaInteractionServiceImpl extends PrimariaInteractionService {
5526
5529
  size: "md",
5527
5530
  variant: "neutral",
5528
5531
  icon: "close",
5529
- onClick: () => ze(!1)
5532
+ onClick: () => qe(!1)
5530
5533
  }
5531
5534
  )
5532
5535
  ] }),
5533
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `modal-content ${ne.fullCustomization ? "full-customization" : ""}`, children: qe() }),
5536
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `modal-content ${ne.fullCustomization ? "full-customization" : ""}`, children: ze() }),
5534
5537
  !ne.fullCustomization && /* @__PURE__ */ jsxRuntimeExports.jsxs(
5535
5538
  "div",
5536
5539
  {
@@ -5541,7 +5544,7 @@ class ParimariaInteractionServiceImpl extends PrimariaInteractionService {
5541
5544
  "dss-button",
5542
5545
  {
5543
5546
  label: ne.cancelButtonText,
5544
- onClick: () => ze(!1),
5547
+ onClick: () => qe(!1),
5545
5548
  size: "md",
5546
5549
  variant: Oe()
5547
5550
  }
@@ -5549,7 +5552,7 @@ class ParimariaInteractionServiceImpl extends PrimariaInteractionService {
5549
5552
  ne.showConfirmButton && /* @__PURE__ */ jsxRuntimeExports.jsx(
5550
5553
  "dss-button",
5551
5554
  {
5552
- onClick: () => me && ze(!0),
5555
+ onClick: () => me && qe(!0),
5553
5556
  label: ne.confirmButtonText,
5554
5557
  disabled: !me,
5555
5558
  size: "md",
@@ -5839,13 +5842,13 @@ function peg$parse(te, J) {
5839
5842
  return __assign$4({ type: TYPE.pound }, ys());
5840
5843
  }, pe = gs("argumentElement"), fe = "{", be = hs("{", !1), ge = "}", ve = hs("}", !1), me = function(De) {
5841
5844
  return __assign$4({ type: TYPE.argument, value: De }, ys());
5842
- }, _e = gs("numberSkeletonId"), ye = /^['\/{}]/, Ce = $s(["'", "/", "{", "}"], !1, !1), Se = Li(), we = gs("numberSkeletonTokenOption"), Ae = "/", Le = hs("/", !1), ze = function(De) {
5845
+ }, _e = gs("numberSkeletonId"), ye = /^['\/{}]/, Ce = $s(["'", "/", "{", "}"], !1, !1), Se = Li(), we = gs("numberSkeletonTokenOption"), Ae = "/", Le = hs("/", !1), qe = function(De) {
5843
5846
  return De;
5844
5847
  }, Fe = gs("numberSkeletonToken"), Be = function(De, Ve) {
5845
5848
  return { stem: De, options: Ve };
5846
5849
  }, Pe = function(De) {
5847
5850
  return __assign$4({ type: 0, tokens: De }, ys());
5848
- }, Oe = "::", qe = hs("::", !1), Ie = function(De) {
5851
+ }, Oe = "::", ze = hs("::", !1), Ie = function(De) {
5849
5852
  return De;
5850
5853
  }, Ne = function() {
5851
5854
  return _s.push("numberArgStyle"), !0;
@@ -5857,7 +5860,7 @@ function peg$parse(te, J) {
5857
5860
  return __assign$4({ type: 1, pattern: De }, ys());
5858
5861
  }, yt = function() {
5859
5862
  return _s.push("dateOrTimeArgStyle"), !0;
5860
- }, Ct = "date", Pt = hs("date", !1), qt = "time", Nt = hs("time", !1), Ut = "plural", ns = hs("plural", !1), Xt = "selectordinal", mt = hs("selectordinal", !1), vt = "offset:", kt = hs("offset:", !1), At = function(De, Ve, it, gt) {
5863
+ }, Ct = "date", Pt = hs("date", !1), zt = "time", Nt = hs("time", !1), Ut = "plural", ns = hs("plural", !1), Xt = "selectordinal", mt = hs("selectordinal", !1), vt = "offset:", kt = hs("offset:", !1), At = function(De, Ve, it, gt) {
5861
5864
  return __assign$4({ type: TYPE.plural, pluralType: Ve === "plural" ? "cardinal" : "ordinal", value: De, offset: it ? it[2] : 0, options: gt.reduce(function(xt, Lt) {
5862
5865
  var ts = Lt.id, Vt = Lt.value, bs = Lt.location;
5863
5866
  return ts in xt && ni('Duplicate option "' + ts + '" in plural element: "' + ri() + '"', Ps()), xt[ts] = {
@@ -5889,19 +5892,19 @@ function peg$parse(te, J) {
5889
5892
  }, ys());
5890
5893
  }, ps = gs("whitespace"), rt = /^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, ft = $s([[" ", "\r"], " ", "…", " ", " ", [" ", " "], "\u2028", "\u2029", " ", " ", " "], !1, !1), _t = gs("syntax pattern"), St = /^[!-\/:-@[-\^`{-~\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u2010-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]/, It = $s([["!", "/"], [":", "@"], ["[", "^"], "`", ["{", "~"], ["¡", "§"], "©", "«", "¬", "®", "°", "±", "¶", "»", "¿", "×", "÷", ["‐", "‧"], ["‰", "‾"], ["⁁", "⁓"], ["⁕", "⁞"], ["←", "⑟"], ["─", "❵"], ["➔", "⯿"], ["⸀", "⹿"], ["、", "〃"], ["〈", "〠"], "〰", "﴾", "﴿", "﹅", "﹆"], !1, !1), os = gs("optional whitespace"), ds = gs("number"), jt = "-", Tt = hs("-", !1), Ot = function(De, Ve) {
5891
5894
  return Ve ? De ? -Ve : Ve : 0;
5892
- }, zt = gs("double apostrophes"), Dt = "''", Bt = hs("''", !1), es = function() {
5895
+ }, qt = gs("double apostrophes"), Dt = "''", Bt = hs("''", !1), es = function() {
5893
5896
  return "'";
5894
5897
  }, as = function(De, Ve) {
5895
5898
  return De + Ve.replace("''", "'");
5896
5899
  }, fs = function(De) {
5897
5900
  return De !== "{" && !(wi() && De === "#") && !(ir() && De === "}");
5898
5901
  }, Es = `
5899
- `, zs = hs(`
5900
- `, !1), qs = function(De) {
5902
+ `, qs = hs(`
5903
+ `, !1), zs = function(De) {
5901
5904
  return De === "{" || De === "}" || wi() && De === "#";
5902
- }, Ei = gs("argNameOrNumber"), Ti = gs("argNumber"), Oi = "0", Di = hs("0", !1), zi = function() {
5905
+ }, Ei = gs("argNameOrNumber"), Ti = gs("argNumber"), Oi = "0", Di = hs("0", !1), qi = function() {
5903
5906
  return 0;
5904
- }, qi = /^[1-9]/, Ri = $s([["1", "9"]], !1, !1), ti = /^[0-9]/, ii = $s([["0", "9"]], !1, !1), Pi = function(De) {
5907
+ }, zi = /^[1-9]/, Ri = $s([["1", "9"]], !1, !1), ti = /^[0-9]/, ii = $s([["0", "9"]], !1, !1), Pi = function(De) {
5905
5908
  return parseInt(De.join(""), 10);
5906
5909
  }, Ii = gs("argName"), He = 0, Zt = 0, Ts = [{ line: 1, column: 1 }], vs = 0, Rs = [], wt = 0, Os;
5907
5910
  if (J.startRule !== void 0) {
@@ -6016,7 +6019,7 @@ function peg$parse(te, J) {
6016
6019
  }
6017
6020
  function ci() {
6018
6021
  var De, Ve, it;
6019
- return wt++, De = He, te.charCodeAt(He) === 47 ? (Ve = Ae, He++) : (Ve = X, wt === 0 && Et(Le)), Ve !== X ? (it = di(), it !== X ? (Zt = De, Ve = ze(it), De = Ve) : (He = De, De = X)) : (He = De, De = X), wt--, De === X && (Ve = X, wt === 0 && Et(we)), De;
6022
+ return wt++, De = He, te.charCodeAt(He) === 47 ? (Ve = Ae, He++) : (Ve = X, wt === 0 && Et(Le)), Ve !== X ? (it = di(), it !== X ? (Zt = De, Ve = qe(it), De = Ve) : (He = De, De = X)) : (He = De, De = X), wt--, De === X && (Ve = X, wt === 0 && Et(we)), De;
6020
6023
  }
6021
6024
  function ui() {
6022
6025
  var De, Ve, it, gt, xt;
@@ -6042,7 +6045,7 @@ function peg$parse(te, J) {
6042
6045
  }
6043
6046
  function Vi() {
6044
6047
  var De, Ve, it;
6045
- return De = He, te.substr(He, 2) === Oe ? (Ve = Oe, He += 2) : (Ve = X, wt === 0 && Et(qe)), Ve !== X ? (it = Ui(), it !== X ? (Zt = De, Ve = Ie(it), De = Ve) : (He = De, De = X)) : (He = De, De = X), De === X && (De = He, Zt = He, Ve = Ne(), Ve ? Ve = void 0 : Ve = X, Ve !== X ? (it = Ls(), it !== X ? (Zt = De, Ve = Ge(it), De = Ve) : (He = De, De = X)) : (He = De, De = X)), De;
6048
+ return De = He, te.substr(He, 2) === Oe ? (Ve = Oe, He += 2) : (Ve = X, wt === 0 && Et(ze)), Ve !== X ? (it = Ui(), it !== X ? (Zt = De, Ve = Ie(it), De = Ve) : (He = De, De = X)) : (He = De, De = X), De === X && (De = He, Zt = He, Ve = Ne(), Ve ? Ve = void 0 : Ve = X, Ve !== X ? (it = Ls(), it !== X ? (Zt = De, Ve = Ge(it), De = Ve) : (He = De, De = X)) : (He = De, De = X)), De;
6046
6049
  }
6047
6050
  function Wi() {
6048
6051
  var De, Ve, it, gt, xt, Lt, ts, Vt, bs, Gt, ls, Yt, rs;
@@ -6087,11 +6090,11 @@ function peg$parse(te, J) {
6087
6090
  }
6088
6091
  function Zi() {
6089
6092
  var De, Ve, it;
6090
- return De = He, te.substr(He, 2) === Oe ? (Ve = Oe, He += 2) : (Ve = X, wt === 0 && Et(qe)), Ve !== X ? (it = Gi(), it !== X ? (Zt = De, Ve = Ie(it), De = Ve) : (He = De, De = X)) : (He = De, De = X), De === X && (De = He, Zt = He, Ve = yt(), Ve ? Ve = void 0 : Ve = X, Ve !== X ? (it = Ls(), it !== X ? (Zt = De, Ve = Ge(it), De = Ve) : (He = De, De = X)) : (He = De, De = X)), De;
6093
+ return De = He, te.substr(He, 2) === Oe ? (Ve = Oe, He += 2) : (Ve = X, wt === 0 && Et(ze)), Ve !== X ? (it = Gi(), it !== X ? (Zt = De, Ve = Ie(it), De = Ve) : (He = De, De = X)) : (He = De, De = X), De === X && (De = He, Zt = He, Ve = yt(), Ve ? Ve = void 0 : Ve = X, Ve !== X ? (it = Ls(), it !== X ? (Zt = De, Ve = Ge(it), De = Ve) : (He = De, De = X)) : (He = De, De = X)), De;
6091
6094
  }
6092
6095
  function Yi() {
6093
6096
  var De, Ve, it, gt, xt, Lt, ts, Vt, bs, Gt, ls, Yt, rs;
6094
- return De = He, te.charCodeAt(He) === 123 ? (Ve = fe, He++) : (Ve = X, wt === 0 && Et(be)), Ve !== X ? (it = Wt(), it !== X ? (gt = Ss(), gt !== X ? (xt = Wt(), xt !== X ? (te.charCodeAt(He) === 44 ? (Lt = Ze, He++) : (Lt = X, wt === 0 && Et(Ke)), Lt !== X ? (ts = Wt(), ts !== X ? (te.substr(He, 4) === Ct ? (Vt = Ct, He += 4) : (Vt = X, wt === 0 && Et(Pt)), Vt === X && (te.substr(He, 4) === qt ? (Vt = qt, He += 4) : (Vt = X, wt === 0 && Et(Nt))), Vt !== X ? (bs = Wt(), bs !== X ? (Gt = He, te.charCodeAt(He) === 44 ? (ls = Ze, He++) : (ls = X, wt === 0 && Et(Ke)), ls !== X ? (Yt = Wt(), Yt !== X ? (rs = Zi(), rs !== X ? (ls = [ls, Yt, rs], Gt = ls) : (He = Gt, Gt = X)) : (He = Gt, Gt = X)) : (He = Gt, Gt = X), Gt === X && (Gt = null), Gt !== X ? (ls = Wt(), ls !== X ? (te.charCodeAt(He) === 125 ? (Yt = ge, He++) : (Yt = X, wt === 0 && Et(ve)), Yt !== X ? (Zt = De, Ve = Ye(gt, Vt, Gt), De = Ve) : (He = De, De = X)) : (He = De, De = X)) : (He = De, De = X)) : (He = De, De = X)) : (He = De, De = X)) : (He = De, De = X)) : (He = De, De = X)) : (He = De, De = X)) : (He = De, De = X)) : (He = De, De = X)) : (He = De, De = X), De;
6097
+ return De = He, te.charCodeAt(He) === 123 ? (Ve = fe, He++) : (Ve = X, wt === 0 && Et(be)), Ve !== X ? (it = Wt(), it !== X ? (gt = Ss(), gt !== X ? (xt = Wt(), xt !== X ? (te.charCodeAt(He) === 44 ? (Lt = Ze, He++) : (Lt = X, wt === 0 && Et(Ke)), Lt !== X ? (ts = Wt(), ts !== X ? (te.substr(He, 4) === Ct ? (Vt = Ct, He += 4) : (Vt = X, wt === 0 && Et(Pt)), Vt === X && (te.substr(He, 4) === zt ? (Vt = zt, He += 4) : (Vt = X, wt === 0 && Et(Nt))), Vt !== X ? (bs = Wt(), bs !== X ? (Gt = He, te.charCodeAt(He) === 44 ? (ls = Ze, He++) : (ls = X, wt === 0 && Et(Ke)), ls !== X ? (Yt = Wt(), Yt !== X ? (rs = Zi(), rs !== X ? (ls = [ls, Yt, rs], Gt = ls) : (He = Gt, Gt = X)) : (He = Gt, Gt = X)) : (He = Gt, Gt = X), Gt === X && (Gt = null), Gt !== X ? (ls = Wt(), ls !== X ? (te.charCodeAt(He) === 125 ? (Yt = ge, He++) : (Yt = X, wt === 0 && Et(ve)), Yt !== X ? (Zt = De, Ve = Ye(gt, Vt, Gt), De = Ve) : (He = De, De = X)) : (He = De, De = X)) : (He = De, De = X)) : (He = De, De = X)) : (He = De, De = X)) : (He = De, De = X)) : (He = De, De = X)) : (He = De, De = X)) : (He = De, De = X)) : (He = De, De = X)) : (He = De, De = X), De;
6095
6098
  }
6096
6099
  function Ki() {
6097
6100
  var De;
@@ -6215,7 +6218,7 @@ function peg$parse(te, J) {
6215
6218
  }
6216
6219
  function ks() {
6217
6220
  var De, Ve;
6218
- return wt++, De = He, te.substr(He, 2) === Dt ? (Ve = Dt, He += 2) : (Ve = X, wt === 0 && Et(Bt)), Ve !== X && (Zt = De, Ve = es()), De = Ve, wt--, De === X && (Ve = X, wt === 0 && Et(zt)), De;
6221
+ return wt++, De = He, te.substr(He, 2) === Dt ? (Ve = Dt, He += 2) : (Ve = X, wt === 0 && Et(Bt)), Ve !== X && (Zt = De, Ve = es()), De = Ve, wt--, De === X && (Ve = X, wt === 0 && Et(qt)), De;
6219
6222
  }
6220
6223
  function vi() {
6221
6224
  var De, Ve, it, gt, xt, Lt;
@@ -6232,11 +6235,11 @@ function peg$parse(te, J) {
6232
6235
  }
6233
6236
  function _i() {
6234
6237
  var De, Ve, it, gt;
6235
- return De = He, Ve = He, te.length > He ? (it = te.charAt(He), He++) : (it = X, wt === 0 && Et(Se)), it !== X ? (Zt = He, gt = fs(it), gt ? gt = void 0 : gt = X, gt !== X ? (it = [it, gt], Ve = it) : (He = Ve, Ve = X)) : (He = Ve, Ve = X), Ve === X && (te.charCodeAt(He) === 10 ? (Ve = Es, He++) : (Ve = X, wt === 0 && Et(zs))), Ve !== X ? De = te.substring(De, He) : De = Ve, De;
6238
+ return De = He, Ve = He, te.length > He ? (it = te.charAt(He), He++) : (it = X, wt === 0 && Et(Se)), it !== X ? (Zt = He, gt = fs(it), gt ? gt = void 0 : gt = X, gt !== X ? (it = [it, gt], Ve = it) : (He = Ve, Ve = X)) : (He = Ve, Ve = X), Ve === X && (te.charCodeAt(He) === 10 ? (Ve = Es, He++) : (Ve = X, wt === 0 && Et(qs))), Ve !== X ? De = te.substring(De, He) : De = Ve, De;
6236
6239
  }
6237
6240
  function sr() {
6238
6241
  var De, Ve, it, gt;
6239
- return De = He, Ve = He, te.length > He ? (it = te.charAt(He), He++) : (it = X, wt === 0 && Et(Se)), it !== X ? (Zt = He, gt = qs(it), gt ? gt = void 0 : gt = X, gt !== X ? (it = [it, gt], Ve = it) : (He = Ve, Ve = X)) : (He = Ve, Ve = X), Ve !== X ? De = te.substring(De, He) : De = Ve, De;
6242
+ return De = He, Ve = He, te.length > He ? (it = te.charAt(He), He++) : (it = X, wt === 0 && Et(Se)), it !== X ? (Zt = He, gt = zs(it), gt ? gt = void 0 : gt = X, gt !== X ? (it = [it, gt], Ve = it) : (He = Ve, Ve = X)) : (He = Ve, Ve = X), Ve !== X ? De = te.substring(De, He) : De = Ve, De;
6240
6243
  }
6241
6244
  function Ss() {
6242
6245
  var De, Ve;
@@ -6244,8 +6247,8 @@ function peg$parse(te, J) {
6244
6247
  }
6245
6248
  function yi() {
6246
6249
  var De, Ve, it, gt, xt;
6247
- if (wt++, De = He, te.charCodeAt(He) === 48 ? (Ve = Oi, He++) : (Ve = X, wt === 0 && Et(Di)), Ve !== X && (Zt = De, Ve = zi()), De = Ve, De === X) {
6248
- if (De = He, Ve = He, qi.test(te.charAt(He)) ? (it = te.charAt(He), He++) : (it = X, wt === 0 && Et(Ri)), it !== X) {
6250
+ if (wt++, De = He, te.charCodeAt(He) === 48 ? (Ve = Oi, He++) : (Ve = X, wt === 0 && Et(Di)), Ve !== X && (Zt = De, Ve = qi()), De = Ve, De === X) {
6251
+ if (De = He, Ve = He, zi.test(te.charAt(He)) ? (it = te.charAt(He), He++) : (it = X, wt === 0 && Et(Ri)), it !== X) {
6249
6252
  for (gt = [], ti.test(te.charAt(He)) ? (xt = te.charAt(He), He++) : (xt = X, wt === 0 && Et(ii)); xt !== X; )
6250
6253
  gt.push(xt), ti.test(te.charAt(He)) ? (xt = te.charAt(He), He++) : (xt = X, wt === 0 && Et(ii));
6251
6254
  gt !== X ? (it = [it, gt], Ve = it) : (He = Ve, Ve = X);
@@ -8914,11 +8917,18 @@ const registerRequest$1 = (te, J) => (X, re) => {
8914
8917
  };
8915
8918
  }, brokerExtensions = (te, J) => ({
8916
8919
  registerRequest: registerRequest$1(te, J)
8917
- });
8918
- function generateId() {
8919
- return crypto.randomUUID();
8920
- }
8921
- const mapArrayToLabelValue = (te, J, X) => te.map((re) => {
8920
+ }), generateId = () => {
8921
+ try {
8922
+ if (typeof crypto < "u" && typeof crypto.randomUUID == "function")
8923
+ return crypto.randomUUID();
8924
+ } catch {
8925
+ console.warn("crypto.randomUUID() failed, using fallback");
8926
+ }
8927
+ return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (te) => {
8928
+ const J = Math.random() * 16 | 0;
8929
+ return (te === "x" ? J : J & 3 | 8).toString(16);
8930
+ });
8931
+ }, mapArrayToLabelValue = (te, J, X) => te.map((re) => {
8922
8932
  const ne = re[J], oe = re[X];
8923
8933
  return (ne === "" || ne == null) && typeof oe == "string" && oe.trim() !== "" ? {
8924
8934
  label: oe,
@@ -9741,7 +9751,7 @@ class ImportDataManagerImpl {
9741
9751
  async import(J) {
9742
9752
  this.currentImporterId = J, this.selectedItems = {}, this.pluginTexts = {};
9743
9753
  try {
9744
- const { ImportDataManagerModal: X } = await import("./component-RL8LM9a9.js"), { confirmed: re } = await this.interactionService.confirm(
9754
+ const { ImportDataManagerModal: X } = await import("./component-DXLFP7Cq.js"), { confirmed: re } = await this.interactionService.confirm(
9745
9755
  void 0,
9746
9756
  { component: X },
9747
9757
  {
@@ -10811,12 +10821,12 @@ function buildCreateSlice({
10811
10821
  ...ue.sliceCaseReducersByType
10812
10822
  };
10813
10823
  return createReducer(re.initialState, (Le) => {
10814
- for (let ze in Ae)
10815
- Le.addCase(ze, Ae[ze]);
10816
- for (let ze of ue.sliceMatchers)
10817
- Le.addMatcher(ze.matcher, ze.reducer);
10818
- for (let ze of Se)
10819
- Le.addMatcher(ze.matcher, ze.reducer);
10824
+ for (let qe in Ae)
10825
+ Le.addCase(qe, Ae[qe]);
10826
+ for (let qe of ue.sliceMatchers)
10827
+ Le.addMatcher(qe.matcher, qe.reducer);
10828
+ for (let qe of Se)
10829
+ Le.addMatcher(qe.matcher, qe.reducer);
10820
10830
  we && Le.addDefaultCase(we);
10821
10831
  });
10822
10832
  }
@@ -10830,12 +10840,12 @@ function buildCreateSlice({
10830
10840
  }
10831
10841
  function _e(Ce, Se = !1) {
10832
10842
  function we(Le) {
10833
- let ze = Le[Ce];
10834
- return typeof ze > "u" && Se && (ze = me()), ze;
10843
+ let qe = Le[Ce];
10844
+ return typeof qe > "u" && Se && (qe = me()), qe;
10835
10845
  }
10836
10846
  function Ae(Le = fe) {
10837
- const ze = getOrInsertComputed(be, Se, () => /* @__PURE__ */ new WeakMap());
10838
- return getOrInsertComputed(ze, Le, () => {
10847
+ const qe = getOrInsertComputed(be, Se, () => /* @__PURE__ */ new WeakMap());
10848
+ return getOrInsertComputed(qe, Le, () => {
10839
10849
  const Fe = {};
10840
10850
  for (const [Be, Pe] of Object.entries(re.selectors ?? {}))
10841
10851
  Fe[Be] = wrapSelector(Pe, Le, me, Se);
@@ -10960,36 +10970,40 @@ function noop() {
10960
10970
  function formatProdErrorMessage(te) {
10961
10971
  return `Minified Redux Toolkit error #${te}; visit https://redux-toolkit.js.org/Errors?code=${te} for the full message or use the non-minified dev environment for full errors. `;
10962
10972
  }
10963
- const addItemsToCollection = (te, J, X, re, ne, oe) => te[J] ? {
10973
+ const addItemsToCollection = (te, J, X, re, ne) => te[J] ? {
10964
10974
  ...te,
10965
10975
  [J]: {
10966
10976
  ...te[J],
10967
10977
  items: [...te[J]?.items || [], ...X]
10968
10978
  }
10969
- } : { ...te, [J]: { id: J, items: X, componentFactory: re, searchPredicate: ne, asyncDataProvider: oe } }, addItemToCollection = (te, J, X, re) => addItemsToCollection(te, J, [X], re);
10979
+ } : { ...te, [J]: { id: J, items: X, componentFactory: re, searchPredicate: ne } }, addItemToCollection = (te, J, X, re) => addItemsToCollection(te, J, [X], re);
10970
10980
  function addActivityHistoryItemReducer(te, J) {
10971
10981
  const { id: X, item: re, componentFactory: ne } = J.payload;
10972
10982
  te.collections = addItemToCollection(te.collections, X, re, ne);
10973
10983
  }
10974
10984
  function addActivityHistoryItemsReducer(te, J) {
10975
- const { id: X, items: re, componentFactory: ne, searchPredicate: oe, asyncDataProvider: de } = J.payload;
10985
+ const { id: X, items: re, componentFactory: ne, searchPredicate: oe } = J.payload;
10976
10986
  return {
10977
10987
  ...te,
10978
- collections: addItemsToCollection(te.collections, X, re, ne, oe, de)
10988
+ collections: addItemsToCollection(te.collections, X, re, ne, oe)
10979
10989
  };
10980
10990
  }
10981
- const setItemsToCollection = (te, J, X) => te[J] ? {
10982
- ...te,
10983
- [J]: {
10984
- ...te[J],
10985
- items: X
10986
- }
10987
- } : te;
10988
- function setActivityHistoryItemsReducer(te, J) {
10989
- const { id: X, items: re } = J.payload;
10991
+ function addBusyHistoryItemReducer(te, J) {
10992
+ te.busy.push(J.payload);
10993
+ }
10994
+ function removeBusyHistoryItemReducer(te, J) {
10995
+ te.busy = te.busy.filter((X) => X !== J.payload);
10996
+ }
10997
+ function addErrorHistoryItemReducer(te, J) {
10998
+ te.error.push(J.payload);
10999
+ }
11000
+ function removeErrorHistoryItemReducer(te, J) {
11001
+ te.error = te.error.filter((X) => X.entityId !== J.payload);
11002
+ }
11003
+ function clearActivityHistoryCollectionsReducer(te) {
10990
11004
  return {
10991
11005
  ...te,
10992
- collections: setItemsToCollection(te.collections, X, re)
11006
+ collections: {}
10993
11007
  };
10994
11008
  }
10995
11009
  const removeItemFromCollection = (te, J, X) => {
@@ -11022,18 +11036,6 @@ function updateActivityHistoryItemReducer(te, J) {
11022
11036
  const { id: X, item: re } = J.payload;
11023
11037
  te.collections = updateItemInCollection(te.collections, X, re);
11024
11038
  }
11025
- function addBusyHistoryItemReducer(te, J) {
11026
- te.busy.push(J.payload);
11027
- }
11028
- function removeBusyHistoryItemReducer(te, J) {
11029
- te.busy = te.busy.filter((X) => X !== J.payload);
11030
- }
11031
- function addErrorHistoryItemReducer(te, J) {
11032
- te.error.push(J.payload);
11033
- }
11034
- function removeErrorHistoryItemReducer(te, J) {
11035
- te.error = te.error.filter((X) => X.entityId !== J.payload);
11036
- }
11037
11039
  const activityHistoryCollectionsSlice = createSlice({
11038
11040
  name: "activity-history-collections",
11039
11041
  initialState: {
@@ -11047,7 +11049,7 @@ const activityHistoryCollectionsSlice = createSlice({
11047
11049
  addActivityHistoryItem: addActivityHistoryItemReducer,
11048
11050
  updateActivityHistoryItem: updateActivityHistoryItemReducer,
11049
11051
  addActivityHistoryItems: addActivityHistoryItemsReducer,
11050
- setActivityHistoryItems: setActivityHistoryItemsReducer,
11052
+ clearActivityHistoryCollections: clearActivityHistoryCollectionsReducer,
11051
11053
  addErrorHistoryItem: addErrorHistoryItemReducer,
11052
11054
  removeErrorHistoryItem: removeErrorHistoryItemReducer,
11053
11055
  removeActivityHistoryItem: removeActivityHistoryItemReducer
@@ -11152,6 +11154,9 @@ function setCommonFilterValueReducer(te, J) {
11152
11154
  function addCustomFiltersReducer(te, J) {
11153
11155
  te.filters.some((re) => re.id === J.payload.id) || (te.filters = [...te.filters, J.payload]);
11154
11156
  }
11157
+ function clearCustomFiltersReducer(te) {
11158
+ te.filters = te.filters.filter((J) => !isCustomFilter(J));
11159
+ }
11155
11160
  function setCustomFilterGroupValueReducer(te, J) {
11156
11161
  te.filters = te.filters.map((X) => X.id === J.payload.id ? {
11157
11162
  ...X,
@@ -11243,6 +11248,7 @@ const activityHistoryFiltersSlice = createSlice({
11243
11248
  setSearchString: setSearchStringReducer,
11244
11249
  setCommonFilterValue: setCommonFilterValueReducer,
11245
11250
  addCustomFilters: addCustomFiltersReducer,
11251
+ clearCustomFilters: clearCustomFiltersReducer,
11246
11252
  setCustomFilterGroupValue: setCustomFilterGroupValueReducer,
11247
11253
  setCustomFilterValue: setCustomFilterValueReducer,
11248
11254
  setCustomFilterAllValues: setCustomFilterAllValuesReducer,
@@ -11336,8 +11342,7 @@ class InjectAsyncHistoryItemsHandler extends BaseHandler {
11336
11342
  entityDescription: J.entityDescription,
11337
11343
  items: X,
11338
11344
  componentFactory: J.componentFactory,
11339
- searchPredicate: J.searchPredicate,
11340
- asyncDataProvider: J.asyncDataProvider
11345
+ searchPredicate: J.searchPredicate
11341
11346
  }), J.filters && this.api.broker.send(new AddCustomFiltersCommand(J.filters));
11342
11347
  } catch (X) {
11343
11348
  this.store.dispatch(
@@ -11426,8 +11431,7 @@ class AddHistoryItemsHandler extends StoreBaseHandler {
11426
11431
  id: J.entityId,
11427
11432
  items: X,
11428
11433
  componentFactory: J.componentFactory,
11429
- searchPredicate: J.searchPredicate,
11430
- asyncDataProvider: J.asyncDataProvider
11434
+ searchPredicate: J.searchPredicate
11431
11435
  })
11432
11436
  );
11433
11437
  } catch (X) {
@@ -11566,7 +11570,7 @@ class HandleHistoryItemsAddErrorHandler extends BaseHandler {
11566
11570
  async handle(J) {
11567
11571
  try {
11568
11572
  const X = J.entities.map((re) => re.entityId);
11569
- await this.dispatchRemoveErrorItems(X), this.api.broker.publish("error_loading_activity_history_data", X);
11573
+ await this.dispatchRemoveErrorItems(X), this.api.broker.publish(this.api.broker.events.errorLoadingActivityHistoryData, X);
11570
11574
  } catch {
11571
11575
  this.api.notificationService.error(translate("error.errorToRefresh"));
11572
11576
  }
@@ -11723,7 +11727,7 @@ const filterTemplates = {
11723
11727
  <label slot="label" for="dropdownStory-${id}">${title || id}</label>
11724
11728
  </dss-input-dropdown>`, */
11725
11729
  }, getFilterTemplate = (te, J, X, re) => {
11726
- const ne = !!X?.id && !!re, oe = crypto.randomUUID(), de = ne ? re.title || re.id : te.title, ce = (pe) => {
11730
+ const ne = !!X?.id && !!re, oe = generateId(), de = ne ? re.title || re.id : te.title, ce = (pe) => {
11727
11731
  te.singleOption ? J(X?.id, te.id, null, pe.detail) : ne && re ? J(X?.id, te.id, re.id, pe.detail) : J(te.id, pe.detail);
11728
11732
  }, ue = ne && re ? te.enabledValues?.includes(re.id) : te.enabled, he = ne && re || te.singleOption ? X.enabled : !0;
11729
11733
  return filterTemplates[te.type]?.(oe, de, ce, ue, he) || ke$1``;
@@ -11958,7 +11962,7 @@ function groupByValidDiagnostics(te) {
11958
11962
  }
11959
11963
  }
11960
11964
  ce || X.push({
11961
- idSubGroup: crypto.randomUUID(),
11965
+ idSubGroup: generateId(),
11962
11966
  items: [ne]
11963
11967
  });
11964
11968
  } else
@@ -15132,31 +15136,12 @@ function parse(te, J, X, re) {
15132
15136
  function cleanEscapedString(te) {
15133
15137
  return te.match(escapedStringRegExp)[1].replace(doubleQuoteRegExp, "'");
15134
15138
  }
15135
- const notFound = "data:image/svg+xml,%3csvg%20width='215'%20height='150'%20viewBox='0%200%20215%20150'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20opacity='0.9'%20d='M135.132%2057.43C96.9221%2047.658%2083.3815%20-29.7048%2026.9734%2012.5083C-13.0511%2042.4595%2011.4691%20115.499%2061.6878%20107.019C92.0822%20101.867%2087.3917%20101.341%20113.129%20115.244C139.231%20129.308%20167.972%20136.397%20195.855%20111.436C210.28%2098.5179%20215.939%2067.0352%20201.939%2050.7417C184.388%2030.3592%20158.485%2063.4098%20135.132%2057.43Z'%20fill='%23EFF7FF'/%3e%3cellipse%20cx='120.5'%20cy='143.5'%20rx='52.5'%20ry='3.5'%20fill='%23F5F5F5'/%3e%3cpath%20d='M121.387%2080.2184C121.995%2079.5948%20122.563%2078.953%20123.09%2078.2959L134.396%2089.3383C135.09%2090.0177%20134.851%2091.389%20133.861%2092.4024C132.872%2093.4159%20131.505%2093.6888%20130.811%2093.0094L119.505%2081.967C120.148%2081.424%20120.777%2080.8407%20121.385%2080.2171L121.387%2080.2184Z'%20fill='%231D1D1D'/%3e%3cpath%20opacity='0.6'%20d='M121.127%2079.9896C132.157%2068.6986%20131.888%2050.5485%20120.527%2039.4502C109.166%2028.3519%2091.0149%2028.5081%2079.9849%2039.799C68.955%2051.09%2069.2233%2069.2401%2080.5843%2080.3385C91.9453%2091.4368%20110.097%2091.2806%20121.127%2079.9896Z'%20fill='%238FC2F5'/%3e%3cpath%20d='M78.0382%2083.0622C90.8729%2095.6382%20111.378%2095.4578%20123.835%2082.6609C136.293%2069.8625%20135.986%2049.2932%20123.15%2036.7173C110.316%2024.1413%2089.8107%2024.3217%2077.3538%2037.1186C64.8956%2049.9169%2065.2022%2070.4862%2078.0382%2083.0622ZM80.642%2080.387C69.289%2069.264%2069.0172%2051.0692%2080.037%2039.749C91.0569%2028.4288%20109.194%2028.2694%20120.547%2039.3938C131.9%2050.5182%20132.171%2068.713%20121.152%2080.0332C110.132%2091.3534%2091.9949%2091.5128%2080.642%2080.3884V80.387Z'%20fill='%237BACFC'/%3e%3cpath%20d='M169.953%20128.522L171.714%20126.696C173.474%20124.871%20173.421%20121.964%20171.595%20120.205L135.013%2084.9265C133.187%2083.1661%20130.281%2083.2205%20128.522%2085.0451L126.761%2086.8711C125.001%2088.6957%20125.055%2091.6028%20126.88%2093.3619L163.462%20128.64C165.287%20130.401%20168.194%20130.346%20169.953%20128.522Z'%20fill='%23656565'/%3e%3cpath%20opacity='0.35'%20d='M88.8399%2071.2315C96.506%2079.2245%20101.258%2078.1642%20100.757%2082.4547C100.256%2086.7452%2091.398%2085.7448%2082.7698%2076.0396C74.1415%2066.3344%2075.0893%2054.9166%2079.8491%2055.2485C84.6089%2055.5803%2080.129%2062.1492%2088.8399%2071.2315Z'%20fill='white'/%3e%3c/svg%3e";
15136
15139
  /**
15137
15140
  * @license
15138
15141
  * Copyright 2018 Google LLC
15139
15142
  * SPDX-License-Identifier: BSD-3-Clause
15140
15143
  */
15141
- const to = (te) => te ?? D$4;
15142
- function shouldShowRole(te) {
15143
- return !te.professional?.speciality?.description;
15144
- }
15145
- const hasItemDivider = (te, J) => {
15146
- const X = J.findIndex((re) => re.id === te.id);
15147
- return X === -1 ? !1 : X === J.length - 1 ? !0 : !te.diagnostics?.length;
15148
- }, mergeHistoryItemsAndSubgroups = (te) => {
15149
- const J = te?.items.map((re) => ({
15150
- type: "item",
15151
- date: new Date(re.date),
15152
- item: re
15153
- })), X = te?.subGroups.map((re) => ({
15154
- type: "subGroup",
15155
- date: re?.items.length ? new Date(re.items[0].date) : /* @__PURE__ */ new Date(0),
15156
- subGroup: re
15157
- }));
15158
- return [...J, ...X].sort((re, ne) => ne.date.getTime() - re.date.getTime());
15159
- }, styles$f = ".grouping-busy-container{display:flex;flex-direction:row;align-items:center;gap:24px;justify-content:center;padding-top:16px}", template$i = (te) => ke$1`
15144
+ const to = (te) => te ?? D$4, styles$f = ".grouping-busy-container{display:flex;flex-direction:row;align-items:center;gap:24px;justify-content:center;padding-top:16px}", template$i = (te) => ke$1`
15160
15145
  <div class="grouping-busy-container">
15161
15146
  <dss-spinner size="sm"></dss-spinner>
15162
15147
  <div>${translate("isGrouping")}</div>
@@ -15178,7 +15163,24 @@ ActivityHistoryIsGroupingBusy.styles = i$D`
15178
15163
  ActivityHistoryIsGroupingBusy = __decorateClass$p([
15179
15164
  t$k("activity-history-is-grouping-busy")
15180
15165
  ], ActivityHistoryIsGroupingBusy);
15181
- const template$h = (te) => ke$1`
15166
+ function shouldShowRole(te) {
15167
+ return !te.professional?.speciality?.description;
15168
+ }
15169
+ const hasItemDivider = (te, J) => {
15170
+ const X = J.findIndex((re) => re.id === te.id);
15171
+ return X === -1 ? !1 : X === J.length - 1 ? !0 : !te.diagnostics?.length;
15172
+ }, mergeHistoryItemsAndSubgroups = (te) => {
15173
+ const J = te?.items.map((re) => ({
15174
+ type: "item",
15175
+ date: new Date(re.date),
15176
+ item: re
15177
+ })), X = te?.subGroups.map((re) => ({
15178
+ type: "subGroup",
15179
+ date: re?.items.length ? new Date(re.items[0].date) : /* @__PURE__ */ new Date(0),
15180
+ subGroup: re
15181
+ }));
15182
+ return [...J, ...X].sort((re, ne) => ne.date.getTime() - re.date.getTime());
15183
+ }, notFound = "data:image/svg+xml,%3csvg%20width='215'%20height='150'%20viewBox='0%200%20215%20150'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20opacity='0.9'%20d='M135.132%2057.43C96.9221%2047.658%2083.3815%20-29.7048%2026.9734%2012.5083C-13.0511%2042.4595%2011.4691%20115.499%2061.6878%20107.019C92.0822%20101.867%2087.3917%20101.341%20113.129%20115.244C139.231%20129.308%20167.972%20136.397%20195.855%20111.436C210.28%2098.5179%20215.939%2067.0352%20201.939%2050.7417C184.388%2030.3592%20158.485%2063.4098%20135.132%2057.43Z'%20fill='%23EFF7FF'/%3e%3cellipse%20cx='120.5'%20cy='143.5'%20rx='52.5'%20ry='3.5'%20fill='%23F5F5F5'/%3e%3cpath%20d='M121.387%2080.2184C121.995%2079.5948%20122.563%2078.953%20123.09%2078.2959L134.396%2089.3383C135.09%2090.0177%20134.851%2091.389%20133.861%2092.4024C132.872%2093.4159%20131.505%2093.6888%20130.811%2093.0094L119.505%2081.967C120.148%2081.424%20120.777%2080.8407%20121.385%2080.2171L121.387%2080.2184Z'%20fill='%231D1D1D'/%3e%3cpath%20opacity='0.6'%20d='M121.127%2079.9896C132.157%2068.6986%20131.888%2050.5485%20120.527%2039.4502C109.166%2028.3519%2091.0149%2028.5081%2079.9849%2039.799C68.955%2051.09%2069.2233%2069.2401%2080.5843%2080.3385C91.9453%2091.4368%20110.097%2091.2806%20121.127%2079.9896Z'%20fill='%238FC2F5'/%3e%3cpath%20d='M78.0382%2083.0622C90.8729%2095.6382%20111.378%2095.4578%20123.835%2082.6609C136.293%2069.8625%20135.986%2049.2932%20123.15%2036.7173C110.316%2024.1413%2089.8107%2024.3217%2077.3538%2037.1186C64.8956%2049.9169%2065.2022%2070.4862%2078.0382%2083.0622ZM80.642%2080.387C69.289%2069.264%2069.0172%2051.0692%2080.037%2039.749C91.0569%2028.4288%20109.194%2028.2694%20120.547%2039.3938C131.9%2050.5182%20132.171%2068.713%20121.152%2080.0332C110.132%2091.3534%2091.9949%2091.5128%2080.642%2080.3884V80.387Z'%20fill='%237BACFC'/%3e%3cpath%20d='M169.953%20128.522L171.714%20126.696C173.474%20124.871%20173.421%20121.964%20171.595%20120.205L135.013%2084.9265C133.187%2083.1661%20130.281%2083.2205%20128.522%2085.0451L126.761%2086.8711C125.001%2088.6957%20125.055%2091.6028%20126.88%2093.3619L163.462%20128.64C165.287%20130.401%20168.194%20130.346%20169.953%20128.522Z'%20fill='%23656565'/%3e%3cpath%20opacity='0.35'%20d='M88.8399%2071.2315C96.506%2079.2245%20101.258%2078.1642%20100.757%2082.4547C100.256%2086.7452%2091.398%2085.7448%2082.7698%2076.0396C74.1415%2066.3344%2075.0893%2054.9166%2079.8491%2055.2485C84.6089%2055.5803%2080.129%2062.1492%2088.8399%2071.2315Z'%20fill='white'/%3e%3c/svg%3e", template$h = (te) => ke$1`
15182
15184
  <div class="container">
15183
15185
  <activity-history-full-data-error></activity-history-full-data-error>
15184
15186
  <activity-history-partial-data-error></activity-history-partial-data-error>
@@ -15248,12 +15250,12 @@ ${te.searchString?.length > 1 ? ke$1`
15248
15250
  imagesrc=${notFound}
15249
15251
  title=${translate("noResults")}>
15250
15252
  </dss-user-feedback>
15251
- ` : te.renderGroupsControlTimeExpired ? ke$1`<dss-user-feedback
15253
+ ` : te.isAnyCollectionBusy ? ke$1`<activity-history-is-grouping-busy></activity-history-is-grouping-busy>` : ke$1`<dss-user-feedback
15252
15254
  class="feedback"
15253
15255
  imagesrc=${notFound}
15254
15256
  title=${translate("noData.title")}
15255
15257
  description=${translate("noData.description")}>
15256
- </dss-user-feedback>` : ke$1`<activity-history-is-grouping-busy></activity-history-is-grouping-busy>`}`, visitHeaderTemplate = (te, J) => J ? ke$1`
15258
+ </dss-user-feedback>`}`, visitHeaderTemplate = (te, J) => J ? ke$1`
15257
15259
  <div class="visit__header">
15258
15260
  <div class="title">
15259
15261
  <div class="title-date">
@@ -15406,7 +15408,7 @@ var __defProp$j = Object.defineProperty, __getOwnPropDesc$e = Object.getOwnPrope
15406
15408
  };
15407
15409
  let ActivityHistoryTimeline = class extends h$o {
15408
15410
  constructor() {
15409
- super(...arguments), this.renderGroupsControlTimeExpired = !1, this._virtualScrollerState = {
15411
+ super(...arguments), this._virtualScrollerState = {
15410
15412
  viewportHeight: 0,
15411
15413
  scrollTop: 0,
15412
15414
  totalHeight: 0,
@@ -15422,9 +15424,7 @@ let ActivityHistoryTimeline = class extends h$o {
15422
15424
  `;
15423
15425
  }
15424
15426
  connectedCallback() {
15425
- super.connectedCallback(), setTimeout(() => {
15426
- this.renderGroupsControlTimeExpired = !0;
15427
- }, 8e3);
15427
+ super.connectedCallback();
15428
15428
  }
15429
15429
  disconnectedCallback() {
15430
15430
  super.disconnectedCallback(), this._cleanupVirtualScroller?.();
@@ -15511,6 +15511,9 @@ __decorateClass$o([
15511
15511
  __decorateClass$o([
15512
15512
  connectedProperty(isSomeCollectionLoadedAndOtherLoading)
15513
15513
  ], ActivityHistoryTimeline.prototype, "isSomeCollectionLoadedAndOtherLoading", 2);
15514
+ __decorateClass$o([
15515
+ connectedProperty(isAnyCollectionBusySelector)
15516
+ ], ActivityHistoryTimeline.prototype, "isAnyCollectionBusy", 2);
15514
15517
  __decorateClass$o([
15515
15518
  connectedProperty(activityHistorySearchStringSelector)
15516
15519
  ], ActivityHistoryTimeline.prototype, "searchString", 2);
@@ -15523,9 +15526,6 @@ __decorateClass$o([
15523
15526
  __decorateClass$o([
15524
15527
  e$M(".virtual-content")
15525
15528
  ], ActivityHistoryTimeline.prototype, "_content", 2);
15526
- __decorateClass$o([
15527
- r$E()
15528
- ], ActivityHistoryTimeline.prototype, "renderGroupsControlTimeExpired", 2);
15529
15529
  __decorateClass$o([
15530
15530
  r$E()
15531
15531
  ], ActivityHistoryTimeline.prototype, "_virtualScrollerState", 2);
@@ -15663,24 +15663,10 @@ __decorateClass$l([
15663
15663
  ActivityHistoryPartialDataError = __decorateClass$l([
15664
15664
  t$k("activity-history-partial-data-error")
15665
15665
  ], ActivityHistoryPartialDataError);
15666
- const { setActivityHistoryItems } = activityHistoryCollectionsSlice.actions;
15666
+ const { clearActivityHistoryCollections } = activityHistoryCollectionsSlice.actions;
15667
15667
  class RefreshHistoryItemsHandler extends BaseHandler {
15668
15668
  async handle() {
15669
- const J = activityHistoryCollectionsSelector(this.store.getState());
15670
- for (const X in J) {
15671
- const re = J[X];
15672
- if (re?.asyncDataProvider) {
15673
- this.store.dispatch(addBusyHistoryItem(X));
15674
- try {
15675
- const ne = await re.asyncDataProvider();
15676
- this.store.dispatch(setActivityHistoryItems({ id: X, items: ne }));
15677
- } catch {
15678
- this.api.notificationService.error(translate("error.errorToRefresh"));
15679
- } finally {
15680
- this.store.dispatch(removeBusyHistoryItem(X));
15681
- }
15682
- }
15683
- }
15669
+ this.store.dispatch(activityHistoryFiltersSlice.actions.clearCustomFilters()), this.store.dispatch(clearActivityHistoryCollections()), this.api.broker.publish(this.api.broker.events.refreshHistoryDataRequested);
15684
15670
  }
15685
15671
  }
15686
15672
  class HandleRefreshHistoryItems {
@@ -16379,7 +16365,7 @@ const useFinalizeVisit = (te, J) => {
16379
16365
  shellApi.ecapEventManager.publish(te.ecapEvent, "", te.payload);
16380
16366
  };
16381
16367
  var shellViews = /* @__PURE__ */ ((te) => (te.shell = "primaria-shell", te.error = "primaria-error-view", te))(shellViews || {});
16382
- const styles$7 = ":host{width:100%;overflow:hidden}#main-switcher{display:inherit}.container{width:100%;height:100%;display:flex;flex-direction:column;background:#fff}.main-container{min-height:1px;height:100%;display:flex}.main-container .sidebar{padding-inline:16px;display:flex;flex-direction:column;justify-content:space-between;align-items:center;background:var(--color-primary-700);width:40px;height:100%;color:#fff}.main-container .sidebar .quick-actions-content{padding-top:24px;padding-bottom:22px;border-radius:8px}.main-container .sidebar .quick-actions-content .create-button-icon-badge{position:relative}.main-container .sidebar .quick-actions-content .create-button-icon-badge dss-notification-badge{position:absolute;top:-7px;right:-6px;z-index:1}.main-container .sidebar .quick-actions-content .create-button-icon-badge dss-icon{position:relative}.main-container .sidebar .icon{margin-left:8px}.main-container .sidebar #menu-region-container{padding-top:24px;min-height:1px;height:100%;width:100%;display:flex;flex-direction:column;gap:4px;overflow-y:auto;margin-right:-14px;padding-right:14px;scrollbar-color:var(--color-primary-200) var(--color-primary-700);scrollbar-width:thin}.main-container .sidebar #menu-region-container::-webkit-scrollbar{width:6px}.main-container .sidebar #menu-region-container::-webkit-scrollbar-track{background:var(--color-primary-700)}.main-container .sidebar #menu-region-container::-webkit-scrollbar-thumb{background-color:var(--color-primary-400);border-radius:4px}.main-container .sidebar .bottom-content{display:flex;flex-direction:column;gap:24px;width:100%}.main-container .sidebar .bottom-content .bottom-content-first{display:flex;flex-direction:column;gap:22px}.main-container .sidebar[expanded]{width:252px;align-items:flex-start}.main-container .sidebar .create-button-closed{cursor:pointer;background-color:#f0f0f0;color:var(--color-primary-700);border-radius:8px;width:40px;height:40px;display:flex;flex-direction:row;align-items:center;justify-content:center;transition:background-color .3s ease}.main-container .sidebar .create-button-closed:hover{background-color:var(--color-primary-900);color:#fff}.main-container .sidebar .create-button-opened{cursor:pointer;background-color:#f0f0f0;color:var(--color-primary-700);border-radius:8px;gap:8px;font-weight:600;width:220px;height:40px;display:flex;flex-direction:row;align-items:center;transition:background-color .3s ease}.main-container .sidebar .create-button-opened:hover{background-color:var(--color-primary-900);color:#fff}.main-container .content{display:flex;height:100%;width:100%}.main-container #main-region-container{min-height:1px;height:100%;flex:1}.main-container #navigation-menu-lower-region-container{display:flex;flex-direction:column;gap:4px}.main-container #floating-region-container{position:fixed;z-index:300}.footer{display:flex;height:48px;padding:12px 24px}.footer .footer-logo{align-self:center;display:flex;gap:16px}.divider-opened{width:220px}.divider-closed{width:40px}.toggle-button{margin-bottom:24px}@media (max-width: 1439px){.bottom-content-first{margin-bottom:24px}.toggle-button{display:none}.content{overflow-y:auto}}";
16368
+ const styles$7 = ":host{width:100%;overflow:hidden}#main-switcher{display:inherit}.container{width:100%;height:100%;display:flex;flex-direction:column;background:#fff}.main-container{min-height:1px;height:100%;display:flex}.main-container .sidebar{padding-inline:16px;display:flex;flex-direction:column;justify-content:space-between;align-items:center;background:var(--color-primary-700);width:40px;height:100%;color:#fff}.main-container .sidebar .quick-actions-content{padding-top:24px;padding-bottom:22px;border-radius:8px}.main-container .sidebar .quick-actions-content .create-button-icon-badge{position:relative}.main-container .sidebar .quick-actions-content .create-button-icon-badge dss-notification-badge{position:absolute;top:-7px;right:-6px;z-index:1}.main-container .sidebar .quick-actions-content .create-button-icon-badge dss-icon{position:relative}.main-container .sidebar .icon{margin-left:8px}.main-container .sidebar #menu-region-container{padding-top:24px;min-height:1px;height:100%;width:100%;display:flex;flex-direction:column;gap:4px;overflow-y:auto;margin-right:-14px;padding-right:14px;scrollbar-color:var(--color-primary-200) var(--color-primary-700);scrollbar-width:thin}.main-container .sidebar #menu-region-container::-webkit-scrollbar{width:6px}.main-container .sidebar #menu-region-container::-webkit-scrollbar-track{background:var(--color-primary-700)}.main-container .sidebar #menu-region-container::-webkit-scrollbar-thumb{background-color:var(--color-primary-400);border-radius:4px}.main-container .sidebar .bottom-content{display:flex;flex-direction:column;gap:24px;width:100%}.main-container .sidebar .bottom-content .bottom-content-first{display:flex;flex-direction:column;gap:22px}.main-container .sidebar[expanded]{width:252px;align-items:flex-start}.main-container .sidebar .create-button-closed{cursor:pointer;background-color:#f0f0f0;color:var(--color-primary-700);border-radius:8px;width:40px;height:40px;display:flex;flex-direction:row;align-items:center;justify-content:center;transition:background-color .3s ease}.main-container .sidebar .create-button-closed:hover{background-color:var(--color-primary-900);color:#fff}.main-container .sidebar .create-button-opened{cursor:pointer;background-color:#f0f0f0;color:var(--color-primary-700);border-radius:8px;gap:8px;font-weight:600;width:220px;height:40px;display:flex;flex-direction:row;align-items:center;transition:background-color .3s ease}.main-container .sidebar .create-button-opened:hover{background-color:var(--color-primary-900);color:#fff}.main-container .content{display:flex;height:100%;width:100%}.main-container #main-region-container{min-height:1px;height:100%;flex:1}.main-container #navigation-menu-lower-region-container{display:flex;flex-direction:column;gap:4px}.footer{display:flex;height:48px;padding:12px 24px}.footer .footer-logo{align-self:center;display:flex;gap:16px}.divider-opened{width:220px}.divider-closed{width:40px}.toggle-button{margin-bottom:24px}@media (max-width: 1439px){.bottom-content-first{margin-bottom:24px}.toggle-button{display:none}.content{overflow-y:auto}}";
16383
16369
  let t$g = "";
16384
16370
  function f$o() {
16385
16371
  return t$g;
@@ -17455,8 +17441,8 @@ var toPaddingObject = function(J, X) {
17455
17441
  function arrow(te) {
17456
17442
  var J, X = te.state, re = te.name, ne = te.options, oe = X.elements.arrow, de = X.modifiersData.popperOffsets, ce = getBasePlacement(X.placement), ue = getMainAxisFromPlacement(ce), he = [left, right].indexOf(ce) >= 0, pe = he ? "height" : "width";
17457
17443
  if (!(!oe || !de)) {
17458
- var fe = toPaddingObject(ne.padding, X), be = getLayoutRect(oe), ge = ue === "y" ? top : left, ve = ue === "y" ? bottom : right, me = X.rects.reference[pe] + X.rects.reference[ue] - de[ue] - X.rects.popper[pe], _e = de[ue] - X.rects.reference[ue], ye = getOffsetParent(oe), Ce = ye ? ue === "y" ? ye.clientHeight || 0 : ye.clientWidth || 0 : 0, Se = me / 2 - _e / 2, we = fe[ge], Ae = Ce - be[pe] - fe[ve], Le = Ce / 2 - be[pe] / 2 + Se, ze = within(we, Le, Ae), Fe = ue;
17459
- X.modifiersData[re] = (J = {}, J[Fe] = ze, J.centerOffset = ze - Le, J);
17444
+ var fe = toPaddingObject(ne.padding, X), be = getLayoutRect(oe), ge = ue === "y" ? top : left, ve = ue === "y" ? bottom : right, me = X.rects.reference[pe] + X.rects.reference[ue] - de[ue] - X.rects.popper[pe], _e = de[ue] - X.rects.reference[ue], ye = getOffsetParent(oe), Ce = ye ? ue === "y" ? ye.clientHeight || 0 : ye.clientWidth || 0 : 0, Se = me / 2 - _e / 2, we = fe[ge], Ae = Ce - be[pe] - fe[ve], Le = Ce / 2 - be[pe] / 2 + Se, qe = within(we, Le, Ae), Fe = ue;
17445
+ X.modifiersData[re] = (J = {}, J[Fe] = qe, J.centerOffset = qe - Le, J);
17460
17446
  }
17461
17447
  }
17462
17448
  function effect$1(te) {
@@ -17499,12 +17485,12 @@ function mapToStyles(te) {
17499
17485
  ge = _e.x, me = _e.y;
17500
17486
  var ye = de.hasOwnProperty("x"), Ce = de.hasOwnProperty("y"), Se = left, we = top, Ae = window;
17501
17487
  if (he) {
17502
- var Le = getOffsetParent(X), ze = "clientHeight", Fe = "clientWidth";
17503
- if (Le === getWindow(X) && (Le = getDocumentElement(X), getComputedStyle(Le).position !== "static" && ce === "absolute" && (ze = "scrollHeight", Fe = "scrollWidth")), Le = Le, ne === top || (ne === left || ne === right) && oe === end) {
17488
+ var Le = getOffsetParent(X), qe = "clientHeight", Fe = "clientWidth";
17489
+ if (Le === getWindow(X) && (Le = getDocumentElement(X), getComputedStyle(Le).position !== "static" && ce === "absolute" && (qe = "scrollHeight", Fe = "scrollWidth")), Le = Le, ne === top || (ne === left || ne === right) && oe === end) {
17504
17490
  we = bottom;
17505
17491
  var Be = fe && Le === Ae && Ae.visualViewport ? Ae.visualViewport.height : (
17506
17492
  // $FlowFixMe[prop-missing]
17507
- Le[ze]
17493
+ Le[qe]
17508
17494
  );
17509
17495
  me -= Be - re.height, me *= ue ? 1 : -1;
17510
17496
  }
@@ -17519,14 +17505,14 @@ function mapToStyles(te) {
17519
17505
  }
17520
17506
  var Oe = Object.assign({
17521
17507
  position: ce
17522
- }, he && unsetSides), qe = pe === !0 ? roundOffsetsByDPR({
17508
+ }, he && unsetSides), ze = pe === !0 ? roundOffsetsByDPR({
17523
17509
  x: ge,
17524
17510
  y: me
17525
17511
  }, getWindow(X)) : {
17526
17512
  x: ge,
17527
17513
  y: me
17528
17514
  };
17529
- if (ge = qe.x, me = qe.y, ue) {
17515
+ if (ge = ze.x, me = ze.y, ue) {
17530
17516
  var Ie;
17531
17517
  return Object.assign({}, Oe, (Ie = {}, Ie[we] = Ce ? "0" : "", Ie[Se] = ye ? "0" : "", Ie.transform = (Ae.devicePixelRatio || 1) <= 1 ? "translate(" + ge + "px, " + me + "px)" : "translate3d(" + ge + "px, " + me + "px, 0)", Ie));
17532
17518
  }
@@ -17730,21 +17716,21 @@ function computeOffsets(te) {
17730
17716
  }
17731
17717
  function detectOverflow(te, J) {
17732
17718
  J === void 0 && (J = {});
17733
- var X = J, re = X.placement, ne = re === void 0 ? te.placement : re, oe = X.strategy, de = oe === void 0 ? te.strategy : oe, ce = X.boundary, ue = ce === void 0 ? clippingParents : ce, he = X.rootBoundary, pe = he === void 0 ? viewport : he, fe = X.elementContext, be = fe === void 0 ? popper : fe, ge = X.altBoundary, ve = ge === void 0 ? !1 : ge, me = X.padding, _e = me === void 0 ? 0 : me, ye = mergePaddingObject(typeof _e != "number" ? _e : expandToHashMap(_e, basePlacements)), Ce = be === popper ? reference : popper, Se = te.rects.popper, we = te.elements[ve ? Ce : be], Ae = getClippingRect(isElement(we) ? we : we.contextElement || getDocumentElement(te.elements.popper), ue, pe, de), Le = getBoundingClientRect(te.elements.reference), ze = computeOffsets({
17719
+ var X = J, re = X.placement, ne = re === void 0 ? te.placement : re, oe = X.strategy, de = oe === void 0 ? te.strategy : oe, ce = X.boundary, ue = ce === void 0 ? clippingParents : ce, he = X.rootBoundary, pe = he === void 0 ? viewport : he, fe = X.elementContext, be = fe === void 0 ? popper : fe, ge = X.altBoundary, ve = ge === void 0 ? !1 : ge, me = X.padding, _e = me === void 0 ? 0 : me, ye = mergePaddingObject(typeof _e != "number" ? _e : expandToHashMap(_e, basePlacements)), Ce = be === popper ? reference : popper, Se = te.rects.popper, we = te.elements[ve ? Ce : be], Ae = getClippingRect(isElement(we) ? we : we.contextElement || getDocumentElement(te.elements.popper), ue, pe, de), Le = getBoundingClientRect(te.elements.reference), qe = computeOffsets({
17734
17720
  reference: Le,
17735
17721
  element: Se,
17736
17722
  placement: ne
17737
- }), Fe = rectToClientRect(Object.assign({}, Se, ze)), Be = be === popper ? Fe : Le, Pe = {
17723
+ }), Fe = rectToClientRect(Object.assign({}, Se, qe)), Be = be === popper ? Fe : Le, Pe = {
17738
17724
  top: Ae.top - Be.top + ye.top,
17739
17725
  bottom: Be.bottom - Ae.bottom + ye.bottom,
17740
17726
  left: Ae.left - Be.left + ye.left,
17741
17727
  right: Be.right - Ae.right + ye.right
17742
17728
  }, Oe = te.modifiersData.offset;
17743
17729
  if (be === popper && Oe) {
17744
- var qe = Oe[ne];
17730
+ var ze = Oe[ne];
17745
17731
  Object.keys(Pe).forEach(function(Ie) {
17746
17732
  var Ne = [right, bottom].indexOf(Ie) >= 0 ? 1 : -1, Ge = [top, bottom].indexOf(Ie) >= 0 ? "y" : "x";
17747
- Pe[Ie] += qe[Ge] * Ne;
17733
+ Pe[Ie] += ze[Ge] * Ne;
17748
17734
  });
17749
17735
  }
17750
17736
  return Pe;
@@ -17787,8 +17773,8 @@ function flip(te) {
17787
17773
  flipVariations: ve,
17788
17774
  allowedAutoPlacements: me
17789
17775
  }) : tt);
17790
- }, []), Ae = J.rects.reference, Le = J.rects.popper, ze = /* @__PURE__ */ new Map(), Fe = !0, Be = we[0], Pe = 0; Pe < we.length; Pe++) {
17791
- var Oe = we[Pe], qe = getBasePlacement(Oe), Ie = getVariation(Oe) === start, Ne = [top, bottom].indexOf(qe) >= 0, Ge = Ne ? "width" : "height", Ze = detectOverflow(J, {
17776
+ }, []), Ae = J.rects.reference, Le = J.rects.popper, qe = /* @__PURE__ */ new Map(), Fe = !0, Be = we[0], Pe = 0; Pe < we.length; Pe++) {
17777
+ var Oe = we[Pe], ze = getBasePlacement(Oe), Ie = getVariation(Oe) === start, Ne = [top, bottom].indexOf(ze) >= 0, Ge = Ne ? "width" : "height", Ze = detectOverflow(J, {
17792
17778
  placement: Oe,
17793
17779
  boundary: pe,
17794
17780
  rootBoundary: fe,
@@ -17797,18 +17783,18 @@ function flip(te) {
17797
17783
  }), Ke = Ne ? Ie ? right : left : Ie ? bottom : top;
17798
17784
  Ae[Ge] > Le[Ge] && (Ke = getOppositePlacement(Ke));
17799
17785
  var bt = getOppositePlacement(Ke), Je = [];
17800
- if (oe && Je.push(Ze[qe] <= 0), ce && Je.push(Ze[Ke] <= 0, Ze[bt] <= 0), Je.every(function(Xe) {
17786
+ if (oe && Je.push(Ze[ze] <= 0), ce && Je.push(Ze[Ke] <= 0, Ze[bt] <= 0), Je.every(function(Xe) {
17801
17787
  return Xe;
17802
17788
  })) {
17803
17789
  Be = Oe, Fe = !1;
17804
17790
  break;
17805
17791
  }
17806
- ze.set(Oe, Je);
17792
+ qe.set(Oe, Je);
17807
17793
  }
17808
17794
  if (Fe)
17809
17795
  for (var Ye = ve ? 3 : 1, Me = function(tt) {
17810
17796
  var Ue = we.find(function(Qe) {
17811
- var nt = ze.get(Qe);
17797
+ var nt = qe.get(Qe);
17812
17798
  if (nt)
17813
17799
  return nt.slice(0, tt).every(function(ot) {
17814
17800
  return ot;
@@ -17921,7 +17907,7 @@ function preventOverflow(te) {
17921
17907
  rootBoundary: he,
17922
17908
  padding: fe,
17923
17909
  altBoundary: pe
17924
- }), ye = getBasePlacement(J.placement), Ce = getVariation(J.placement), Se = !Ce, we = getMainAxisFromPlacement(ye), Ae = getAltAxis(we), Le = J.modifiersData.popperOffsets, ze = J.rects.reference, Fe = J.rects.popper, Be = typeof me == "function" ? me(Object.assign({}, J.rects, {
17910
+ }), ye = getBasePlacement(J.placement), Ce = getVariation(J.placement), Se = !Ce, we = getMainAxisFromPlacement(ye), Ae = getAltAxis(we), Le = J.modifiersData.popperOffsets, qe = J.rects.reference, Fe = J.rects.popper, Be = typeof me == "function" ? me(Object.assign({}, J.rects, {
17925
17911
  placement: J.placement
17926
17912
  })) : me, Pe = typeof Be == "number" ? {
17927
17913
  mainAxis: Be,
@@ -17929,23 +17915,23 @@ function preventOverflow(te) {
17929
17915
  } : Object.assign({
17930
17916
  mainAxis: 0,
17931
17917
  altAxis: 0
17932
- }, Be), Oe = J.modifiersData.offset ? J.modifiersData.offset[J.placement] : null, qe = {
17918
+ }, Be), Oe = J.modifiersData.offset ? J.modifiersData.offset[J.placement] : null, ze = {
17933
17919
  x: 0,
17934
17920
  y: 0
17935
17921
  };
17936
17922
  if (Le) {
17937
17923
  if (oe) {
17938
- var Ie, Ne = we === "y" ? top : left, Ge = we === "y" ? bottom : right, Ze = we === "y" ? "height" : "width", Ke = Le[we], bt = Ke + _e[Ne], Je = Ke - _e[Ge], Ye = ge ? -Fe[Ze] / 2 : 0, Me = Ce === start ? ze[Ze] : Fe[Ze], We = Ce === start ? -Fe[Ze] : -ze[Ze], je = J.elements.arrow, Xe = ge && je ? getLayoutRect(je) : {
17924
+ var Ie, Ne = we === "y" ? top : left, Ge = we === "y" ? bottom : right, Ze = we === "y" ? "height" : "width", Ke = Le[we], bt = Ke + _e[Ne], Je = Ke - _e[Ge], Ye = ge ? -Fe[Ze] / 2 : 0, Me = Ce === start ? qe[Ze] : Fe[Ze], We = Ce === start ? -Fe[Ze] : -qe[Ze], je = J.elements.arrow, Xe = ge && je ? getLayoutRect(je) : {
17939
17925
  width: 0,
17940
17926
  height: 0
17941
- }, tt = J.modifiersData["arrow#persistent"] ? J.modifiersData["arrow#persistent"].padding : getFreshSideObject(), Ue = tt[Ne], Qe = tt[Ge], nt = within(0, ze[Ze], Xe[Ze]), ot = Se ? ze[Ze] / 2 - Ye - nt - Ue - Pe.mainAxis : Me - nt - Ue - Pe.mainAxis, yt = Se ? -ze[Ze] / 2 + Ye + nt + Qe + Pe.mainAxis : We + nt + Qe + Pe.mainAxis, Ct = J.elements.arrow && getOffsetParent(J.elements.arrow), Pt = Ct ? we === "y" ? Ct.clientTop || 0 : Ct.clientLeft || 0 : 0, qt = (Ie = Oe?.[we]) != null ? Ie : 0, Nt = Ke + ot - qt - Pt, Ut = Ke + yt - qt, ns = within(ge ? min(bt, Nt) : bt, Ke, ge ? max(Je, Ut) : Je);
17942
- Le[we] = ns, qe[we] = ns - Ke;
17927
+ }, tt = J.modifiersData["arrow#persistent"] ? J.modifiersData["arrow#persistent"].padding : getFreshSideObject(), Ue = tt[Ne], Qe = tt[Ge], nt = within(0, qe[Ze], Xe[Ze]), ot = Se ? qe[Ze] / 2 - Ye - nt - Ue - Pe.mainAxis : Me - nt - Ue - Pe.mainAxis, yt = Se ? -qe[Ze] / 2 + Ye + nt + Qe + Pe.mainAxis : We + nt + Qe + Pe.mainAxis, Ct = J.elements.arrow && getOffsetParent(J.elements.arrow), Pt = Ct ? we === "y" ? Ct.clientTop || 0 : Ct.clientLeft || 0 : 0, zt = (Ie = Oe?.[we]) != null ? Ie : 0, Nt = Ke + ot - zt - Pt, Ut = Ke + yt - zt, ns = within(ge ? min(bt, Nt) : bt, Ke, ge ? max(Je, Ut) : Je);
17928
+ Le[we] = ns, ze[we] = ns - Ke;
17943
17929
  }
17944
17930
  if (ce) {
17945
- var Xt, mt = we === "x" ? top : left, vt = we === "x" ? bottom : right, kt = Le[Ae], At = Ae === "y" ? "height" : "width", $t = kt + _e[mt], Mt = kt - _e[vt], Ft = [top, left].indexOf(ye) !== -1, Ht = (Xt = Oe?.[Ae]) != null ? Xt : 0, us = Ft ? $t : kt - ze[At] - Fe[At] - Ht + Pe.altAxis, cs = Ft ? kt + ze[At] + Fe[At] - Ht - Pe.altAxis : Mt, Kt = ge && Ft ? withinMaxClamp(us, kt, cs) : within(ge ? us : $t, kt, ge ? cs : Mt);
17946
- Le[Ae] = Kt, qe[Ae] = Kt - kt;
17931
+ var Xt, mt = we === "x" ? top : left, vt = we === "x" ? bottom : right, kt = Le[Ae], At = Ae === "y" ? "height" : "width", $t = kt + _e[mt], Mt = kt - _e[vt], Ft = [top, left].indexOf(ye) !== -1, Ht = (Xt = Oe?.[Ae]) != null ? Xt : 0, us = Ft ? $t : kt - qe[At] - Fe[At] - Ht + Pe.altAxis, cs = Ft ? kt + qe[At] + Fe[At] - Ht - Pe.altAxis : Mt, Kt = ge && Ft ? withinMaxClamp(us, kt, cs) : within(ge ? us : $t, kt, ge ? cs : Mt);
17932
+ Le[Ae] = Kt, ze[Ae] = Kt - kt;
17947
17933
  }
17948
- J.modifiersData[re] = qe;
17934
+ J.modifiersData[re] = ze;
17949
17935
  }
17950
17936
  }
17951
17937
  const preventOverflow$1 = {
@@ -18095,7 +18081,7 @@ function popperGenerator(te) {
18095
18081
  pe.reset = !1, we = -1;
18096
18082
  continue;
18097
18083
  }
18098
- var Ae = pe.orderedModifiers[we], Le = Ae.fn, ze = Ae.options, Fe = ze === void 0 ? {} : ze, Be = Ae.name;
18084
+ var Ae = pe.orderedModifiers[we], Le = Ae.fn, qe = Ae.options, Fe = qe === void 0 ? {} : qe, Be = Ae.name;
18099
18085
  typeof Le == "function" && (pe = Le({
18100
18086
  state: pe,
18101
18087
  options: Fe,
@@ -21434,7 +21420,7 @@ l$o([
21434
21420
  n$z(n$w)
21435
21421
  ], o$u.prototype, "jcef", 2);
21436
21422
  const O$1 = er`dss-calendar${tr(f$o())}`, e$v = er`dss-icon${tr(f$o())}`, Z = (te) => {
21437
- var J, X, re, ne, oe, de, ce, ue, he, pe, fe, be, ge, ve, me, _e, ye, Ce, Se, we, Ae, Le, ze, Fe, Be, Pe, Oe, qe, Ie;
21423
+ var J, X, re, ne, oe, de, ce, ue, he, pe, fe, be, ge, ve, me, _e, ye, Ce, Se, we, Ae, Le, qe, Fe, Be, Pe, Oe, ze, Ie;
21438
21424
  const Ne = {
21439
21425
  "dss-datepicker-range--sm": te.inputSize !== "lg"
21440
21426
  }, Ge = {
@@ -21470,7 +21456,7 @@ const O$1 = er`dss-calendar${tr(f$o())}`, e$v = er`dss-icon${tr(f$o())}`, Z = (t
21470
21456
  // 'dss-input-group--no-label': Boolean(!component._label),
21471
21457
  }, Ye = {
21472
21458
  "dss-calendar": !0,
21473
- "dss-calendar--visible": te._showCalendar && !((ze = te._inputRangeStart) != null && ze.readOnly) && !((Fe = te._inputRangeEnd) != null && Fe.readOnly),
21459
+ "dss-calendar--visible": te._showCalendar && !((qe = te._inputRangeStart) != null && qe.readOnly) && !((Fe = te._inputRangeEnd) != null && Fe.readOnly),
21474
21460
  "dss-calendar--disabled": ((Be = te._inputRangeStart) == null ? void 0 : Be.disabled) && ((Pe = te._inputRangeEnd) == null ? void 0 : Pe.disabled),
21475
21461
  "dss-calendar--sm": te.inputSize !== "lg"
21476
21462
  };
@@ -21547,7 +21533,7 @@ const O$1 = er`dss-calendar${tr(f$o())}`, e$v = er`dss-icon${tr(f$o())}`, Z = (t
21547
21533
  id="datepicker-range-calendar"
21548
21534
  class="${Rt(Ye)}"
21549
21535
  .selectedDate="${(Oe = te._inputRangeStart) == null ? void 0 : Oe.value}"
21550
- .rangeStartDate="${(qe = te._inputRangeStart) == null ? void 0 : qe.value}"
21536
+ .rangeStartDate="${(ze = te._inputRangeStart) == null ? void 0 : ze.value}"
21551
21537
  .rangeEndDate="${(Ie = te._inputRangeEnd) == null ? void 0 : Ie.value}"
21552
21538
  .customCalendar=${te.customCalendar}
21553
21539
  .showButtons=${te._calendarShowButtons}
@@ -37354,7 +37340,7 @@ class QuickActionsMenu extends h$o {
37354
37340
  re && (re.style.overflow = "hidden");
37355
37341
  }
37356
37342
  }
37357
- const styles$5 = ":host{z-index:301}.header{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:0 16px;height:60px;background-color:#fff;color:#000;z-index:1;box-shadow:#0000001f 4px -1px 3px,#0000003d 0 1px 2px}.header .header__left{display:flex;flex-direction:row;align-items:center;gap:16px}.header .header__left .header-logo{align-self:center}.header .header__left #header-region-container,.header .header__right{display:flex;flex-direction:row;align-items:center;gap:16px}.header .header__right #header-actions-region-container{display:flex;flex-direction:row;align-items:center}", salutLogo = "data:image/svg+xml,%3csvg%20width='80'%20height='24'%20viewBox='0%200%2080%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.51539%2023.4832H0L8.22624%200.518679H10.7412L2.51539%2023.4832Z'%20fill='%236AAAE4'/%3e%3cpath%20d='M20.1573%2024C17.1695%2024%2014.8372%2023.3218%2013.1604%2021.9659C11.4836%2020.6095%2010.633%2018.5906%2010.6094%2015.9092H13.4169C13.4812%2019.6737%2015.7275%2021.5563%2020.1573%2021.5563C22.0287%2021.5563%2023.4647%2021.1901%2024.4642%2020.4587C25.4641%2019.7269%2025.9643%2018.6581%2025.9643%2017.2522C26.0073%2016.2425%2025.5399%2015.2791%2024.7212%2014.6874C23.8941%2014.0743%2022.449%2013.5427%2020.3853%2013.091L18.3511%2012.6389C16.028%2012.0994%2014.2875%2011.3204%2013.128%2010.3019C11.969%209.28302%2011.393%207.84942%2011.4004%206.00159C11.35%204.28135%2012.1493%202.64663%2013.5381%201.63049C14.9439%200.544998%2016.844%200.00226593%2019.2383%200.00226593C20.6576%20-0.0236225%2022.0722%200.172396%2023.4314%200.582922C24.4817%200.885733%2025.4406%201.44557%2026.2209%202.21115C26.858%202.86207%2027.3573%203.63505%2027.6883%204.48384C28.0096%205.35251%2028.1797%206.26925%2028.1908%207.19525H25.4156C25.2875%205.55869%2024.7554%204.35948%2023.8197%203.59668C22.8835%202.83434%2021.3566%202.4534%2019.2383%202.4534C17.623%202.4534%2016.3808%202.76592%2015.5116%203.39049C14.6573%203.97947%2014.1645%204.96464%2014.2038%206.00159C14.1492%206.99831%2014.5612%207.96359%2015.3193%208.61313C16.0484%209.2377%2017.4732%209.78646%2019.5943%2010.2589L21.6289%2010.7115C24.1651%2011.2718%2025.9925%2012.0721%2027.1113%2013.1127C28.2301%2014.1529%2028.7881%2015.5352%2028.7858%2017.2596C28.7858%2019.3446%2028.0235%2020.9895%2026.4988%2022.1938C24.9736%2023.3976%2022.86%2024%2020.1573%2024Z'%20fill='%236AAAE4'/%3e%3cpath%20d='M36.6945%2021.677C38.0098%2021.6978%2039.2894%2021.2521%2040.3074%2020.4195C41.3356%2019.6026%2041.8515%2018.4302%2041.8538%2016.9033V14.9366C41.1997%2015.3647%2040.4434%2015.6107%2039.6625%2015.6495L37.2437%2015.938C35.8434%2016.1123%2034.8495%2016.4331%2034.2582%2016.907C33.6558%2017.4039%2033.3262%2018.1579%2033.371%2018.9374C33.3313%2019.7025%2033.6401%2020.444%2034.212%2020.954C34.7783%2021.4348%2035.6261%2021.677%2036.6945%2021.677ZM45.2841%2021.3779H46.2175V23.4763C45.746%2023.5438%2045.2693%2023.5757%2044.7927%2023.5725C43.0498%2023.5725%2042.1146%2022.7768%2041.9893%2021.1856C40.8345%2022.9766%2039.0305%2023.8716%2036.5776%2023.8716C34.7464%2023.8716%2033.3142%2023.4444%2032.2703%2022.5965C31.2264%2021.7487%2030.7063%2020.5476%2030.7063%2019.0017C30.7063%2015.9879%2032.7594%2014.2668%2036.866%2013.8396L39.2529%2013.583C40.9935%2013.3884%2041.864%2012.6246%2041.864%2011.2923C41.864%2010.3658%2041.5792%209.69872%2041.0092%209.29005C40.4392%208.88368%2039.4771%208.67749%2038.1235%208.67749C36.6982%208.67749%2035.6298%208.91975%2035.0099%209.38991C34.3899%209.86007%2034.0159%2010.7292%2033.941%2011.9548H31.3512C31.5648%208.27807%2033.8213%206.43995%2038.1198%206.43995C42.2907%206.43995%2044.3762%208.05292%2044.3762%2011.278V20.58C44.3794%2021.1176%2044.6822%2021.3779%2045.2841%2021.3779Z'%20fill='%236AAAE4'/%3e%3cpath%20d='M50.8951%2023.4832H48.3159V0.518679H50.8951V23.4832Z'%20fill='%236AAAE4'/%3e%3cpath%20d='M65.7337%2016.2584V6.83891H68.3129V23.4832H65.8618V20.9896C64.5937%2022.9109%2062.8517%2023.8716%2060.6359%2023.8716C58.7876%2023.8716%2057.3471%2023.3658%2056.3143%2022.3543C55.281%2021.3423%2054.7642%2019.9175%2054.7642%2018.0789V6.83891H57.3581V17.8403C57.3581%2020.3127%2058.6262%2021.549%2061.1629%2021.549C62.3718%2021.5531%2063.5304%2021.0631%2064.3694%2020.1916C65.2788%2019.2915%2065.7337%2017.9804%2065.7337%2016.2584Z'%20fill='%236AAAE4'/%3e%3cpath%20d='M79.4708%206.83878V9.09759H76.0544V19.903C76.0544%2020.8507%2076.6882%2021.3279%2077.9568%2021.3279H79.4708V23.4905C78.7584%2023.5548%2078.1459%2023.5867%2077.6323%2023.5867C74.8607%2023.5867%2073.4748%2022.436%2073.4748%2020.1346V9.09066H70.7314V6.83878H73.4748V2.13992H76.0544V6.83878H79.4708Z'%20fill='%236AAAE4'/%3e%3c/svg%3e", template$5 = (te) => {
37343
+ const styles$5 = ".header{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:0 16px;height:60px;background-color:#fff;color:#000;z-index:1;box-shadow:#0000001f 4px -1px 3px,#0000003d 0 1px 2px}.header .header__left{display:flex;flex-direction:row;align-items:center;gap:16px}.header .header__left .header-logo{align-self:center}.header .header__left #header-region-container,.header .header__right{display:flex;flex-direction:row;align-items:center;gap:16px}.header .header__right #header-actions-region-container{display:flex;flex-direction:row;align-items:center}", salutLogo = "data:image/svg+xml,%3csvg%20width='80'%20height='24'%20viewBox='0%200%2080%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.51539%2023.4832H0L8.22624%200.518679H10.7412L2.51539%2023.4832Z'%20fill='%236AAAE4'/%3e%3cpath%20d='M20.1573%2024C17.1695%2024%2014.8372%2023.3218%2013.1604%2021.9659C11.4836%2020.6095%2010.633%2018.5906%2010.6094%2015.9092H13.4169C13.4812%2019.6737%2015.7275%2021.5563%2020.1573%2021.5563C22.0287%2021.5563%2023.4647%2021.1901%2024.4642%2020.4587C25.4641%2019.7269%2025.9643%2018.6581%2025.9643%2017.2522C26.0073%2016.2425%2025.5399%2015.2791%2024.7212%2014.6874C23.8941%2014.0743%2022.449%2013.5427%2020.3853%2013.091L18.3511%2012.6389C16.028%2012.0994%2014.2875%2011.3204%2013.128%2010.3019C11.969%209.28302%2011.393%207.84942%2011.4004%206.00159C11.35%204.28135%2012.1493%202.64663%2013.5381%201.63049C14.9439%200.544998%2016.844%200.00226593%2019.2383%200.00226593C20.6576%20-0.0236225%2022.0722%200.172396%2023.4314%200.582922C24.4817%200.885733%2025.4406%201.44557%2026.2209%202.21115C26.858%202.86207%2027.3573%203.63505%2027.6883%204.48384C28.0096%205.35251%2028.1797%206.26925%2028.1908%207.19525H25.4156C25.2875%205.55869%2024.7554%204.35948%2023.8197%203.59668C22.8835%202.83434%2021.3566%202.4534%2019.2383%202.4534C17.623%202.4534%2016.3808%202.76592%2015.5116%203.39049C14.6573%203.97947%2014.1645%204.96464%2014.2038%206.00159C14.1492%206.99831%2014.5612%207.96359%2015.3193%208.61313C16.0484%209.2377%2017.4732%209.78646%2019.5943%2010.2589L21.6289%2010.7115C24.1651%2011.2718%2025.9925%2012.0721%2027.1113%2013.1127C28.2301%2014.1529%2028.7881%2015.5352%2028.7858%2017.2596C28.7858%2019.3446%2028.0235%2020.9895%2026.4988%2022.1938C24.9736%2023.3976%2022.86%2024%2020.1573%2024Z'%20fill='%236AAAE4'/%3e%3cpath%20d='M36.6945%2021.677C38.0098%2021.6978%2039.2894%2021.2521%2040.3074%2020.4195C41.3356%2019.6026%2041.8515%2018.4302%2041.8538%2016.9033V14.9366C41.1997%2015.3647%2040.4434%2015.6107%2039.6625%2015.6495L37.2437%2015.938C35.8434%2016.1123%2034.8495%2016.4331%2034.2582%2016.907C33.6558%2017.4039%2033.3262%2018.1579%2033.371%2018.9374C33.3313%2019.7025%2033.6401%2020.444%2034.212%2020.954C34.7783%2021.4348%2035.6261%2021.677%2036.6945%2021.677ZM45.2841%2021.3779H46.2175V23.4763C45.746%2023.5438%2045.2693%2023.5757%2044.7927%2023.5725C43.0498%2023.5725%2042.1146%2022.7768%2041.9893%2021.1856C40.8345%2022.9766%2039.0305%2023.8716%2036.5776%2023.8716C34.7464%2023.8716%2033.3142%2023.4444%2032.2703%2022.5965C31.2264%2021.7487%2030.7063%2020.5476%2030.7063%2019.0017C30.7063%2015.9879%2032.7594%2014.2668%2036.866%2013.8396L39.2529%2013.583C40.9935%2013.3884%2041.864%2012.6246%2041.864%2011.2923C41.864%2010.3658%2041.5792%209.69872%2041.0092%209.29005C40.4392%208.88368%2039.4771%208.67749%2038.1235%208.67749C36.6982%208.67749%2035.6298%208.91975%2035.0099%209.38991C34.3899%209.86007%2034.0159%2010.7292%2033.941%2011.9548H31.3512C31.5648%208.27807%2033.8213%206.43995%2038.1198%206.43995C42.2907%206.43995%2044.3762%208.05292%2044.3762%2011.278V20.58C44.3794%2021.1176%2044.6822%2021.3779%2045.2841%2021.3779Z'%20fill='%236AAAE4'/%3e%3cpath%20d='M50.8951%2023.4832H48.3159V0.518679H50.8951V23.4832Z'%20fill='%236AAAE4'/%3e%3cpath%20d='M65.7337%2016.2584V6.83891H68.3129V23.4832H65.8618V20.9896C64.5937%2022.9109%2062.8517%2023.8716%2060.6359%2023.8716C58.7876%2023.8716%2057.3471%2023.3658%2056.3143%2022.3543C55.281%2021.3423%2054.7642%2019.9175%2054.7642%2018.0789V6.83891H57.3581V17.8403C57.3581%2020.3127%2058.6262%2021.549%2061.1629%2021.549C62.3718%2021.5531%2063.5304%2021.0631%2064.3694%2020.1916C65.2788%2019.2915%2065.7337%2017.9804%2065.7337%2016.2584Z'%20fill='%236AAAE4'/%3e%3cpath%20d='M79.4708%206.83878V9.09759H76.0544V19.903C76.0544%2020.8507%2076.6882%2021.3279%2077.9568%2021.3279H79.4708V23.4905C78.7584%2023.5548%2078.1459%2023.5867%2077.6323%2023.5867C74.8607%2023.5867%2073.4748%2022.436%2073.4748%2020.1346V9.09066H70.7314V6.83878H73.4748V2.13992H76.0544V6.83878H79.4708Z'%20fill='%236AAAE4'/%3e%3c/svg%3e", template$5 = (te) => {
37358
37344
  const J = [{ label: te.professional?.workCenter, value: "1" }], X = [{ label: te.professional?.role, value: "1" }], re = [{ label: te.professional?.speciality, value: "1" }];
37359
37345
  return ke$1`
37360
37346
  <div class="header">
@@ -38003,8 +37989,8 @@ function requireQuill() {
38003
37989
  typeof Se.retain == "number" ? Ae.retain = Ce : Ae.insert = Se.insert;
38004
37990
  var Le = ue.attributes.compose(Se.attributes, we.attributes, typeof Se.retain == "number");
38005
37991
  if (Le && (Ae.attributes = Le), ye.push(Ae), !ge.hasNext() && de(ye.ops[ye.ops.length - 1], Ae)) {
38006
- var ze = new pe(be.rest());
38007
- return ye.concat(ze).chop();
37992
+ var qe = new pe(be.rest());
37993
+ return ye.concat(qe).chop();
38008
37994
  }
38009
37995
  } else typeof we.delete == "number" && typeof Se.retain == "number" && ye.push(we);
38010
37996
  }
@@ -38133,20 +38119,20 @@ function requireQuill() {
38133
38119
  value: !0
38134
38120
  }), re.default = re.BlockEmbed = re.bubbleFormats = void 0;
38135
38121
  var oe = /* @__PURE__ */ (function() {
38136
- function Oe(qe, Ie) {
38122
+ function Oe(ze, Ie) {
38137
38123
  for (var Ne = 0; Ne < Ie.length; Ne++) {
38138
38124
  var Ge = Ie[Ne];
38139
- Ge.enumerable = Ge.enumerable || !1, Ge.configurable = !0, "value" in Ge && (Ge.writable = !0), Object.defineProperty(qe, Ge.key, Ge);
38125
+ Ge.enumerable = Ge.enumerable || !1, Ge.configurable = !0, "value" in Ge && (Ge.writable = !0), Object.defineProperty(ze, Ge.key, Ge);
38140
38126
  }
38141
38127
  }
38142
- return function(qe, Ie, Ne) {
38143
- return Ie && Oe(qe.prototype, Ie), Ne && Oe(qe, Ne), qe;
38128
+ return function(ze, Ie, Ne) {
38129
+ return Ie && Oe(ze.prototype, Ie), Ne && Oe(ze, Ne), ze;
38144
38130
  };
38145
- })(), de = function Oe(qe, Ie, Ne) {
38146
- qe === null && (qe = Function.prototype);
38147
- var Ge = Object.getOwnPropertyDescriptor(qe, Ie);
38131
+ })(), de = function Oe(ze, Ie, Ne) {
38132
+ ze === null && (ze = Function.prototype);
38133
+ var Ge = Object.getOwnPropertyDescriptor(ze, Ie);
38148
38134
  if (Ge === void 0) {
38149
- var Ze = Object.getPrototypeOf(qe);
38135
+ var Ze = Object.getPrototypeOf(ze);
38150
38136
  return Ze === null ? void 0 : Oe(Ze, Ie, Ne);
38151
38137
  } else {
38152
38138
  if ("value" in Ge)
@@ -38158,29 +38144,29 @@ function requireQuill() {
38158
38144
  function Se(Oe) {
38159
38145
  return Oe && Oe.__esModule ? Oe : { default: Oe };
38160
38146
  }
38161
- function we(Oe, qe) {
38162
- if (!(Oe instanceof qe))
38147
+ function we(Oe, ze) {
38148
+ if (!(Oe instanceof ze))
38163
38149
  throw new TypeError("Cannot call a class as a function");
38164
38150
  }
38165
- function Ae(Oe, qe) {
38151
+ function Ae(Oe, ze) {
38166
38152
  if (!Oe)
38167
38153
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
38168
- return qe && (typeof qe == "object" || typeof qe == "function") ? qe : Oe;
38154
+ return ze && (typeof ze == "object" || typeof ze == "function") ? ze : Oe;
38169
38155
  }
38170
- function Le(Oe, qe) {
38171
- if (typeof qe != "function" && qe !== null)
38172
- throw new TypeError("Super expression must either be null or a function, not " + typeof qe);
38173
- Oe.prototype = Object.create(qe && qe.prototype, { constructor: { value: Oe, enumerable: !1, writable: !0, configurable: !0 } }), qe && (Object.setPrototypeOf ? Object.setPrototypeOf(Oe, qe) : Oe.__proto__ = qe);
38156
+ function Le(Oe, ze) {
38157
+ if (typeof ze != "function" && ze !== null)
38158
+ throw new TypeError("Super expression must either be null or a function, not " + typeof ze);
38159
+ Oe.prototype = Object.create(ze && ze.prototype, { constructor: { value: Oe, enumerable: !1, writable: !0, configurable: !0 } }), ze && (Object.setPrototypeOf ? Object.setPrototypeOf(Oe, ze) : Oe.__proto__ = ze);
38174
38160
  }
38175
- var ze = 1, Fe = (function(Oe) {
38176
- Le(qe, Oe);
38177
- function qe() {
38178
- return we(this, qe), Ae(this, (qe.__proto__ || Object.getPrototypeOf(qe)).apply(this, arguments));
38161
+ var qe = 1, Fe = (function(Oe) {
38162
+ Le(ze, Oe);
38163
+ function ze() {
38164
+ return we(this, ze), Ae(this, (ze.__proto__ || Object.getPrototypeOf(ze)).apply(this, arguments));
38179
38165
  }
38180
- return oe(qe, [{
38166
+ return oe(ze, [{
38181
38167
  key: "attach",
38182
38168
  value: function() {
38183
- de(qe.prototype.__proto__ || Object.getPrototypeOf(qe.prototype), "attach", this).call(this), this.attributes = new be.default.Attributor.Store(this.domNode);
38169
+ de(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "attach", this).call(this), this.attributes = new be.default.Attributor.Store(this.domNode);
38184
38170
  }
38185
38171
  }, {
38186
38172
  key: "delta",
@@ -38206,19 +38192,19 @@ function requireQuill() {
38206
38192
  var Ke = be.default.create(Be.blotName);
38207
38193
  this.parent.insertBefore(Ke, Ne === 0 ? this : this.next), Ke.insertAt(0, Ge.slice(0, -1));
38208
38194
  } else
38209
- de(qe.prototype.__proto__ || Object.getPrototypeOf(qe.prototype), "insertAt", this).call(this, Ne, Ge, Ze);
38195
+ de(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "insertAt", this).call(this, Ne, Ge, Ze);
38210
38196
  }
38211
- }]), qe;
38197
+ }]), ze;
38212
38198
  })(be.default.Embed);
38213
38199
  Fe.scope = be.default.Scope.BLOCK_BLOT;
38214
38200
  var Be = (function(Oe) {
38215
- Le(qe, Oe);
38216
- function qe(Ie) {
38217
- we(this, qe);
38218
- var Ne = Ae(this, (qe.__proto__ || Object.getPrototypeOf(qe)).call(this, Ie));
38201
+ Le(ze, Oe);
38202
+ function ze(Ie) {
38203
+ we(this, ze);
38204
+ var Ne = Ae(this, (ze.__proto__ || Object.getPrototypeOf(ze)).call(this, Ie));
38219
38205
  return Ne.cache = {}, Ne;
38220
38206
  }
38221
- return oe(qe, [{
38207
+ return oe(ze, [{
38222
38208
  key: "delta",
38223
38209
  value: function() {
38224
38210
  return this.cache.delta == null && (this.cache.delta = this.descendants(be.default.Leaf).reduce(function(Ne, Ge) {
@@ -38229,21 +38215,21 @@ function requireQuill() {
38229
38215
  }, {
38230
38216
  key: "deleteAt",
38231
38217
  value: function(Ne, Ge) {
38232
- de(qe.prototype.__proto__ || Object.getPrototypeOf(qe.prototype), "deleteAt", this).call(this, Ne, Ge), this.cache = {};
38218
+ de(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "deleteAt", this).call(this, Ne, Ge), this.cache = {};
38233
38219
  }
38234
38220
  }, {
38235
38221
  key: "formatAt",
38236
38222
  value: function(Ne, Ge, Ze, Ke) {
38237
- Ge <= 0 || (be.default.query(Ze, be.default.Scope.BLOCK) ? Ne + Ge === this.length() && this.format(Ze, Ke) : de(qe.prototype.__proto__ || Object.getPrototypeOf(qe.prototype), "formatAt", this).call(this, Ne, Math.min(Ge, this.length() - Ne - 1), Ze, Ke), this.cache = {});
38223
+ Ge <= 0 || (be.default.query(Ze, be.default.Scope.BLOCK) ? Ne + Ge === this.length() && this.format(Ze, Ke) : de(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "formatAt", this).call(this, Ne, Math.min(Ge, this.length() - Ne - 1), Ze, Ke), this.cache = {});
38238
38224
  }
38239
38225
  }, {
38240
38226
  key: "insertAt",
38241
38227
  value: function(Ne, Ge, Ze) {
38242
- if (Ze != null) return de(qe.prototype.__proto__ || Object.getPrototypeOf(qe.prototype), "insertAt", this).call(this, Ne, Ge, Ze);
38228
+ if (Ze != null) return de(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "insertAt", this).call(this, Ne, Ge, Ze);
38243
38229
  if (Ge.length !== 0) {
38244
38230
  var Ke = Ge.split(`
38245
38231
  `), bt = Ke.shift();
38246
- bt.length > 0 && (Ne < this.length() - 1 || this.children.tail == null ? de(qe.prototype.__proto__ || Object.getPrototypeOf(qe.prototype), "insertAt", this).call(this, Math.min(Ne, this.length() - 1), bt) : this.children.tail.insertAt(this.children.tail.length(), bt), this.cache = {});
38232
+ bt.length > 0 && (Ne < this.length() - 1 || this.children.tail == null ? de(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "insertAt", this).call(this, Math.min(Ne, this.length() - 1), bt) : this.children.tail.insertAt(this.children.tail.length(), bt), this.cache = {});
38247
38233
  var Je = this;
38248
38234
  Ke.reduce(function(Ye, Me) {
38249
38235
  return Je = Je.split(Ye, !0), Je.insertAt(0, Me), Me.length;
@@ -38254,51 +38240,51 @@ function requireQuill() {
38254
38240
  key: "insertBefore",
38255
38241
  value: function(Ne, Ge) {
38256
38242
  var Ze = this.children.head;
38257
- de(qe.prototype.__proto__ || Object.getPrototypeOf(qe.prototype), "insertBefore", this).call(this, Ne, Ge), Ze instanceof ve.default && Ze.remove(), this.cache = {};
38243
+ de(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "insertBefore", this).call(this, Ne, Ge), Ze instanceof ve.default && Ze.remove(), this.cache = {};
38258
38244
  }
38259
38245
  }, {
38260
38246
  key: "length",
38261
38247
  value: function() {
38262
- return this.cache.length == null && (this.cache.length = de(qe.prototype.__proto__ || Object.getPrototypeOf(qe.prototype), "length", this).call(this) + ze), this.cache.length;
38248
+ return this.cache.length == null && (this.cache.length = de(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "length", this).call(this) + qe), this.cache.length;
38263
38249
  }
38264
38250
  }, {
38265
38251
  key: "moveChildren",
38266
38252
  value: function(Ne, Ge) {
38267
- de(qe.prototype.__proto__ || Object.getPrototypeOf(qe.prototype), "moveChildren", this).call(this, Ne, Ge), this.cache = {};
38253
+ de(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "moveChildren", this).call(this, Ne, Ge), this.cache = {};
38268
38254
  }
38269
38255
  }, {
38270
38256
  key: "optimize",
38271
38257
  value: function(Ne) {
38272
- de(qe.prototype.__proto__ || Object.getPrototypeOf(qe.prototype), "optimize", this).call(this, Ne), this.cache = {};
38258
+ de(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "optimize", this).call(this, Ne), this.cache = {};
38273
38259
  }
38274
38260
  }, {
38275
38261
  key: "path",
38276
38262
  value: function(Ne) {
38277
- return de(qe.prototype.__proto__ || Object.getPrototypeOf(qe.prototype), "path", this).call(this, Ne, !0);
38263
+ return de(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "path", this).call(this, Ne, !0);
38278
38264
  }
38279
38265
  }, {
38280
38266
  key: "removeChild",
38281
38267
  value: function(Ne) {
38282
- de(qe.prototype.__proto__ || Object.getPrototypeOf(qe.prototype), "removeChild", this).call(this, Ne), this.cache = {};
38268
+ de(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "removeChild", this).call(this, Ne), this.cache = {};
38283
38269
  }
38284
38270
  }, {
38285
38271
  key: "split",
38286
38272
  value: function(Ne) {
38287
38273
  var Ge = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
38288
- if (Ge && (Ne === 0 || Ne >= this.length() - ze)) {
38274
+ if (Ge && (Ne === 0 || Ne >= this.length() - qe)) {
38289
38275
  var Ze = this.clone();
38290
38276
  return Ne === 0 ? (this.parent.insertBefore(Ze, this), this) : (this.parent.insertBefore(Ze, this.next), Ze);
38291
38277
  } else {
38292
- var Ke = de(qe.prototype.__proto__ || Object.getPrototypeOf(qe.prototype), "split", this).call(this, Ne, Ge);
38278
+ var Ke = de(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "split", this).call(this, Ne, Ge);
38293
38279
  return this.cache = {}, Ke;
38294
38280
  }
38295
38281
  }
38296
- }]), qe;
38282
+ }]), ze;
38297
38283
  })(be.default.Block);
38298
38284
  Be.blotName = "block", Be.tagName = "P", Be.defaultChild = "break", Be.allowedChildren = [_e.default, be.default.Embed, Ce.default];
38299
38285
  function Pe(Oe) {
38300
- var qe = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
38301
- return Oe == null || (typeof Oe.formats == "function" && (qe = (0, ue.default)(qe, Oe.formats())), Oe.parent == null || Oe.parent.blotName == "scroll" || Oe.parent.statics.scope !== Oe.statics.scope) ? qe : Pe(Oe.parent, qe);
38286
+ var ze = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
38287
+ return Oe == null || (typeof Oe.formats == "function" && (ze = (0, ue.default)(ze, Oe.formats())), Oe.parent == null || Oe.parent.blotName == "scroll" || Oe.parent.statics.scope !== Oe.statics.scope) ? ze : Pe(Oe.parent, ze);
38302
38288
  }
38303
38289
  re.bubbleFormats = Pe, re.BlockEmbed = Fe, re.default = Be;
38304
38290
  }),
@@ -38348,22 +38334,22 @@ function requireQuill() {
38348
38334
  };
38349
38335
  })();
38350
38336
  ne(51);
38351
- var ue = ne(2), he = Pe(ue), pe = ne(14), fe = Pe(pe), be = ne(8), ge = Pe(be), ve = ne(9), me = Pe(ve), _e = ne(0), ye = Pe(_e), Ce = ne(15), Se = Pe(Ce), we = ne(3), Ae = Pe(we), Le = ne(10), ze = Pe(Le), Fe = ne(35), Be = Pe(Fe);
38337
+ var ue = ne(2), he = Pe(ue), pe = ne(14), fe = Pe(pe), be = ne(8), ge = Pe(be), ve = ne(9), me = Pe(ve), _e = ne(0), ye = Pe(_e), Ce = ne(15), Se = Pe(Ce), we = ne(3), Ae = Pe(we), Le = ne(10), qe = Pe(Le), Fe = ne(35), Be = Pe(Fe);
38352
38338
  function Pe(Je) {
38353
38339
  return Je && Je.__esModule ? Je : { default: Je };
38354
38340
  }
38355
38341
  function Oe(Je, Ye, Me) {
38356
38342
  return Ye in Je ? Object.defineProperty(Je, Ye, { value: Me, enumerable: !0, configurable: !0, writable: !0 }) : Je[Ye] = Me, Je;
38357
38343
  }
38358
- function qe(Je, Ye) {
38344
+ function ze(Je, Ye) {
38359
38345
  if (!(Je instanceof Ye))
38360
38346
  throw new TypeError("Cannot call a class as a function");
38361
38347
  }
38362
- var Ie = (0, ze.default)("quill"), Ne = (function() {
38348
+ var Ie = (0, qe.default)("quill"), Ne = (function() {
38363
38349
  ce(Je, null, [{
38364
38350
  key: "debug",
38365
38351
  value: function(Me) {
38366
- Me === !0 && (Me = "log"), ze.default.level(Me);
38352
+ Me === !0 && (Me = "log"), qe.default.level(Me);
38367
38353
  }
38368
38354
  }, {
38369
38355
  key: "find",
@@ -38390,7 +38376,7 @@ function requireQuill() {
38390
38376
  }]);
38391
38377
  function Je(Ye) {
38392
38378
  var Me = this, We = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
38393
- if (qe(this, Je), this.options = Ge(Ye, We), this.container = this.options.container, this.container == null)
38379
+ if (ze(this, Je), this.options = Ge(Ye, We), this.container = this.options.container, this.container == null)
38394
38380
  return Ie.error("Invalid Quill container", Ye);
38395
38381
  this.options.debug && Je.debug(this.options.debug);
38396
38382
  var je = this.container.innerHTML.trim();
@@ -38791,8 +38777,8 @@ function requireQuill() {
38791
38777
  key: "formatAt",
38792
38778
  value: function(Se, we, Ae, Le) {
38793
38779
  if (ye.compare(this.statics.blotName, Ae) < 0 && pe.default.query(Ae, pe.default.Scope.BLOT)) {
38794
- var ze = this.isolate(Se, we);
38795
- Le && ze.wrap(Ae, Le);
38780
+ var qe = this.isolate(Se, we);
38781
+ Le && qe.wrap(Ae, Le);
38796
38782
  } else
38797
38783
  de(ye.prototype.__proto__ || Object.getPrototypeOf(ye.prototype), "formatAt", this).call(this, Se, we, Ae, Le);
38798
38784
  }
@@ -38866,21 +38852,21 @@ function requireQuill() {
38866
38852
  value: !0
38867
38853
  });
38868
38854
  var oe = /* @__PURE__ */ (function() {
38869
- function Ae(Le, ze) {
38870
- for (var Fe = 0; Fe < ze.length; Fe++) {
38871
- var Be = ze[Fe];
38855
+ function Ae(Le, qe) {
38856
+ for (var Fe = 0; Fe < qe.length; Fe++) {
38857
+ var Be = qe[Fe];
38872
38858
  Be.enumerable = Be.enumerable || !1, Be.configurable = !0, "value" in Be && (Be.writable = !0), Object.defineProperty(Le, Be.key, Be);
38873
38859
  }
38874
38860
  }
38875
- return function(Le, ze, Fe) {
38876
- return ze && Ae(Le.prototype, ze), Fe && Ae(Le, Fe), Le;
38861
+ return function(Le, qe, Fe) {
38862
+ return qe && Ae(Le.prototype, qe), Fe && Ae(Le, Fe), Le;
38877
38863
  };
38878
- })(), de = function Ae(Le, ze, Fe) {
38864
+ })(), de = function Ae(Le, qe, Fe) {
38879
38865
  Le === null && (Le = Function.prototype);
38880
- var Be = Object.getOwnPropertyDescriptor(Le, ze);
38866
+ var Be = Object.getOwnPropertyDescriptor(Le, qe);
38881
38867
  if (Be === void 0) {
38882
38868
  var Pe = Object.getPrototypeOf(Le);
38883
- return Pe === null ? void 0 : Ae(Pe, ze, Fe);
38869
+ return Pe === null ? void 0 : Ae(Pe, qe, Fe);
38884
38870
  } else {
38885
38871
  if ("value" in Be)
38886
38872
  return Be.value;
@@ -38908,10 +38894,10 @@ function requireQuill() {
38908
38894
  var _e = (0, pe.default)("quill:events"), ye = [fe.SHADOW_SELECTIONCHANGE, "mousedown", "mouseup", "click"], Ce = [], Se = "getRootNode" in document;
38909
38895
  ye.forEach(function(Ae) {
38910
38896
  document.addEventListener(Ae, function() {
38911
- for (var Le = arguments.length, ze = Array(Le), Fe = 0; Fe < Le; Fe++)
38912
- ze[Fe] = arguments[Fe];
38897
+ for (var Le = arguments.length, qe = Array(Le), Fe = 0; Fe < Le; Fe++)
38898
+ qe[Fe] = arguments[Fe];
38913
38899
  Ce.forEach(function(Be) {
38914
- Be.handleDOM.apply(Be, ze);
38900
+ Be.handleDOM.apply(Be, qe);
38915
38901
  });
38916
38902
  });
38917
38903
  });
@@ -38919,8 +38905,8 @@ function requireQuill() {
38919
38905
  me(Le, Ae);
38920
38906
  function Le() {
38921
38907
  ge(this, Le);
38922
- var ze = ve(this, (Le.__proto__ || Object.getPrototypeOf(Le)).call(this));
38923
- return ze.listeners = {}, Ce.push(ze), ze.on("error", _e.error), ze;
38908
+ var qe = ve(this, (Le.__proto__ || Object.getPrototypeOf(Le)).call(this));
38909
+ return qe.listeners = {}, Ce.push(qe), qe.on("error", _e.error), qe;
38924
38910
  }
38925
38911
  return oe(Le, [{
38926
38912
  key: "emit",
@@ -38932,7 +38918,7 @@ function requireQuill() {
38932
38918
  value: function(Fe) {
38933
38919
  for (var Be = arguments.length, Pe = Array(Be > 1 ? Be - 1 : 0), Oe = 1; Oe < Be; Oe++)
38934
38920
  Pe[Oe - 1] = arguments[Oe];
38935
- var qe = Fe.composedPath ? Fe.composedPath()[0] : Fe.target, Ie = function(Ge, Ze) {
38921
+ var ze = Fe.composedPath ? Fe.composedPath()[0] : Fe.target, Ie = function(Ge, Ze) {
38936
38922
  if (!Se || Ze.getRootNode() === document)
38937
38923
  return Ge.contains(Ze);
38938
38924
  for (; !Ge.contains(Ze); ) {
@@ -38945,7 +38931,7 @@ function requireQuill() {
38945
38931
  };
38946
38932
  (this.listeners[Fe.type] || []).forEach(function(Ne) {
38947
38933
  var Ge = Ne.node, Ze = Ne.handler;
38948
- (qe === Ge || Ie(Ge, qe)) && Ze.apply(void 0, [Fe].concat(Pe));
38934
+ (ze === Ge || Ie(Ge, ze)) && Ze.apply(void 0, [Fe].concat(Pe));
38949
38935
  });
38950
38936
  }
38951
38937
  }, {
@@ -39084,15 +39070,15 @@ function requireQuill() {
39084
39070
  }), re.default = re.Code = void 0;
39085
39071
  var oe = /* @__PURE__ */ (function() {
39086
39072
  function Fe(Be, Pe) {
39087
- var Oe = [], qe = !0, Ie = !1, Ne = void 0;
39073
+ var Oe = [], ze = !0, Ie = !1, Ne = void 0;
39088
39074
  try {
39089
- for (var Ge = Be[Symbol.iterator](), Ze; !(qe = (Ze = Ge.next()).done) && (Oe.push(Ze.value), !(Pe && Oe.length === Pe)); qe = !0)
39075
+ for (var Ge = Be[Symbol.iterator](), Ze; !(ze = (Ze = Ge.next()).done) && (Oe.push(Ze.value), !(Pe && Oe.length === Pe)); ze = !0)
39090
39076
  ;
39091
39077
  } catch (Ke) {
39092
39078
  Ie = !0, Ne = Ke;
39093
39079
  } finally {
39094
39080
  try {
39095
- !qe && Ge.return && Ge.return();
39081
+ !ze && Ge.return && Ge.return();
39096
39082
  } finally {
39097
39083
  if (Ie) throw Ne;
39098
39084
  }
@@ -39109,8 +39095,8 @@ function requireQuill() {
39109
39095
  })(), de = /* @__PURE__ */ (function() {
39110
39096
  function Fe(Be, Pe) {
39111
39097
  for (var Oe = 0; Oe < Pe.length; Oe++) {
39112
- var qe = Pe[Oe];
39113
- qe.enumerable = qe.enumerable || !1, qe.configurable = !0, "value" in qe && (qe.writable = !0), Object.defineProperty(Be, qe.key, qe);
39098
+ var ze = Pe[Oe];
39099
+ ze.enumerable = ze.enumerable || !1, ze.configurable = !0, "value" in ze && (ze.writable = !0), Object.defineProperty(Be, ze.key, ze);
39114
39100
  }
39115
39101
  }
39116
39102
  return function(Be, Pe, Oe) {
@@ -39118,14 +39104,14 @@ function requireQuill() {
39118
39104
  };
39119
39105
  })(), ce = function Fe(Be, Pe, Oe) {
39120
39106
  Be === null && (Be = Function.prototype);
39121
- var qe = Object.getOwnPropertyDescriptor(Be, Pe);
39122
- if (qe === void 0) {
39107
+ var ze = Object.getOwnPropertyDescriptor(Be, Pe);
39108
+ if (ze === void 0) {
39123
39109
  var Ie = Object.getPrototypeOf(Be);
39124
39110
  return Ie === null ? void 0 : Fe(Ie, Pe, Oe);
39125
39111
  } else {
39126
- if ("value" in qe)
39127
- return qe.value;
39128
- var Ne = qe.get;
39112
+ if ("value" in ze)
39113
+ return ze.value;
39114
+ var Ne = ze.get;
39129
39115
  return Ne === void 0 ? void 0 : Ne.call(Oe);
39130
39116
  }
39131
39117
  }, ue = ne(2), he = Ce(ue), pe = ne(0), fe = Ce(pe), be = ne(4), ge = Ce(be), ve = ne(6), me = Ce(ve), _e = ne(7), ye = Ce(_e);
@@ -39154,7 +39140,7 @@ function requireQuill() {
39154
39140
  return Be;
39155
39141
  })(me.default);
39156
39142
  Le.blotName = "code", Le.tagName = "CODE";
39157
- var ze = (function(Fe) {
39143
+ var qe = (function(Fe) {
39158
39144
  Ae(Be, Fe);
39159
39145
  function Be() {
39160
39146
  return Se(this, Be), we(this, (Be.__proto__ || Object.getPrototypeOf(Be)).apply(this, arguments));
@@ -39162,9 +39148,9 @@ function requireQuill() {
39162
39148
  return de(Be, [{
39163
39149
  key: "delta",
39164
39150
  value: function() {
39165
- var Oe = this, qe = this.domNode.textContent;
39166
- return qe.endsWith(`
39167
- `) && (qe = qe.slice(0, -1)), qe.split(`
39151
+ var Oe = this, ze = this.domNode.textContent;
39152
+ return ze.endsWith(`
39153
+ `) && (ze = ze.slice(0, -1)), ze.split(`
39168
39154
  `).reduce(function(Ie, Ne) {
39169
39155
  return Ie.insert(Ne).insert(`
39170
39156
  `, Oe.formats());
@@ -39172,29 +39158,29 @@ function requireQuill() {
39172
39158
  }
39173
39159
  }, {
39174
39160
  key: "format",
39175
- value: function(Oe, qe) {
39176
- if (!(Oe === this.statics.blotName && qe)) {
39161
+ value: function(Oe, ze) {
39162
+ if (!(Oe === this.statics.blotName && ze)) {
39177
39163
  var Ie = this.descendant(ye.default, this.length() - 1), Ne = oe(Ie, 1), Ge = Ne[0];
39178
- Ge?.deleteAt(Ge.length() - 1, 1), ce(Be.prototype.__proto__ || Object.getPrototypeOf(Be.prototype), "format", this).call(this, Oe, qe);
39164
+ Ge?.deleteAt(Ge.length() - 1, 1), ce(Be.prototype.__proto__ || Object.getPrototypeOf(Be.prototype), "format", this).call(this, Oe, ze);
39179
39165
  }
39180
39166
  }
39181
39167
  }, {
39182
39168
  key: "formatAt",
39183
- value: function(Oe, qe, Ie, Ne) {
39184
- if (qe !== 0 && !(fe.default.query(Ie, fe.default.Scope.BLOCK) == null || Ie === this.statics.blotName && Ne === this.statics.formats(this.domNode))) {
39169
+ value: function(Oe, ze, Ie, Ne) {
39170
+ if (ze !== 0 && !(fe.default.query(Ie, fe.default.Scope.BLOCK) == null || Ie === this.statics.blotName && Ne === this.statics.formats(this.domNode))) {
39185
39171
  var Ge = this.newlineIndex(Oe);
39186
- if (!(Ge < 0 || Ge >= Oe + qe)) {
39172
+ if (!(Ge < 0 || Ge >= Oe + ze)) {
39187
39173
  var Ze = this.newlineIndex(Oe, !0) + 1, Ke = Ge - Ze + 1, bt = this.isolate(Ze, Ke), Je = bt.next;
39188
- bt.format(Ie, Ne), Je instanceof Be && Je.formatAt(0, Oe - Ze + qe - Ke, Ie, Ne);
39174
+ bt.format(Ie, Ne), Je instanceof Be && Je.formatAt(0, Oe - Ze + ze - Ke, Ie, Ne);
39189
39175
  }
39190
39176
  }
39191
39177
  }
39192
39178
  }, {
39193
39179
  key: "insertAt",
39194
- value: function(Oe, qe, Ie) {
39180
+ value: function(Oe, ze, Ie) {
39195
39181
  if (Ie == null) {
39196
39182
  var Ne = this.descendant(ye.default, Oe), Ge = oe(Ne, 2), Ze = Ge[0], Ke = Ge[1];
39197
- Ze.insertAt(Ke, qe);
39183
+ Ze.insertAt(Ke, ze);
39198
39184
  }
39199
39185
  }
39200
39186
  }, {
@@ -39207,8 +39193,8 @@ function requireQuill() {
39207
39193
  }, {
39208
39194
  key: "newlineIndex",
39209
39195
  value: function(Oe) {
39210
- var qe = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
39211
- if (qe)
39196
+ var ze = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
39197
+ if (ze)
39212
39198
  return this.domNode.textContent.slice(0, Oe).lastIndexOf(`
39213
39199
  `);
39214
39200
  var Ie = this.domNode.textContent.slice(Oe).indexOf(`
@@ -39221,22 +39207,22 @@ function requireQuill() {
39221
39207
  this.domNode.textContent.endsWith(`
39222
39208
  `) || this.appendChild(fe.default.create("text", `
39223
39209
  `)), ce(Be.prototype.__proto__ || Object.getPrototypeOf(Be.prototype), "optimize", this).call(this, Oe);
39224
- var qe = this.next;
39225
- qe != null && qe.prev === this && qe.statics.blotName === this.statics.blotName && this.statics.formats(this.domNode) === qe.statics.formats(qe.domNode) && (qe.optimize(Oe), qe.moveChildren(this), qe.remove());
39210
+ var ze = this.next;
39211
+ ze != null && ze.prev === this && ze.statics.blotName === this.statics.blotName && this.statics.formats(this.domNode) === ze.statics.formats(ze.domNode) && (ze.optimize(Oe), ze.moveChildren(this), ze.remove());
39226
39212
  }
39227
39213
  }, {
39228
39214
  key: "replace",
39229
39215
  value: function(Oe) {
39230
- ce(Be.prototype.__proto__ || Object.getPrototypeOf(Be.prototype), "replace", this).call(this, Oe), [].slice.call(this.domNode.querySelectorAll("*")).forEach(function(qe) {
39231
- var Ie = fe.default.find(qe);
39232
- Ie == null ? qe.parentNode.removeChild(qe) : Ie instanceof fe.default.Embed ? Ie.remove() : Ie.unwrap();
39216
+ ce(Be.prototype.__proto__ || Object.getPrototypeOf(Be.prototype), "replace", this).call(this, Oe), [].slice.call(this.domNode.querySelectorAll("*")).forEach(function(ze) {
39217
+ var Ie = fe.default.find(ze);
39218
+ Ie == null ? ze.parentNode.removeChild(ze) : Ie instanceof fe.default.Embed ? Ie.remove() : Ie.unwrap();
39233
39219
  });
39234
39220
  }
39235
39221
  }], [{
39236
39222
  key: "create",
39237
39223
  value: function(Oe) {
39238
- var qe = ce(Be.__proto__ || Object.getPrototypeOf(Be), "create", this).call(this, Oe);
39239
- return qe.setAttribute("spellcheck", !1), qe;
39224
+ var ze = ce(Be.__proto__ || Object.getPrototypeOf(Be), "create", this).call(this, Oe);
39225
+ return ze.setAttribute("spellcheck", !1), ze;
39240
39226
  }
39241
39227
  }, {
39242
39228
  key: "formats",
@@ -39245,7 +39231,7 @@ function requireQuill() {
39245
39231
  }
39246
39232
  }]), Be;
39247
39233
  })(ge.default);
39248
- ze.blotName = "code-block", ze.tagName = "PRE", ze.TAB = " ", re.Code = Le, re.default = ze;
39234
+ qe.blotName = "code-block", qe.tagName = "PRE", qe.TAB = " ", re.Code = Le, re.default = qe;
39249
39235
  }),
39250
39236
  /* 14 */
39251
39237
  /***/
@@ -39291,8 +39277,8 @@ function requireQuill() {
39291
39277
  return function(Ye, Me, We) {
39292
39278
  return Me && Je(Ye.prototype, Me), We && Je(Ye, We), Ye;
39293
39279
  };
39294
- })(), ue = ne(2), he = qe(ue), pe = ne(20), fe = qe(pe), be = ne(0), ge = qe(be), ve = ne(13), me = qe(ve), _e = ne(24), ye = qe(_e), Ce = ne(4), Se = qe(Ce), we = ne(16), Ae = qe(we), Le = ne(21), ze = qe(Le), Fe = ne(11), Be = qe(Fe), Pe = ne(3), Oe = qe(Pe);
39295
- function qe(Je) {
39280
+ })(), ue = ne(2), he = ze(ue), pe = ne(20), fe = ze(pe), be = ne(0), ge = ze(be), ve = ne(13), me = ze(ve), _e = ne(24), ye = ze(_e), Ce = ne(4), Se = ze(Ce), we = ne(16), Ae = ze(we), Le = ne(21), qe = ze(Le), Fe = ne(11), Be = ze(Fe), Pe = ne(3), Oe = ze(Pe);
39281
+ function ze(Je) {
39296
39282
  return Je && Je.__esModule ? Je : { default: Je };
39297
39283
  }
39298
39284
  function Ie(Je, Ye, Me) {
@@ -39320,9 +39306,9 @@ function requireQuill() {
39320
39306
  ot.endsWith(`
39321
39307
  `) && je && (je = !1, ot = ot.slice(0, -1)), tt >= Xe && !ot.endsWith(`
39322
39308
  `) && (je = !0), We.scroll.insertAt(tt, ot);
39323
- var yt = We.scroll.line(tt), Ct = de(yt, 2), Pt = Ct[0], qt = Ct[1], Nt = (0, Oe.default)({}, (0, Ce.bubbleFormats)(Pt));
39309
+ var yt = We.scroll.line(tt), Ct = de(yt, 2), Pt = Ct[0], zt = Ct[1], Nt = (0, Oe.default)({}, (0, Ce.bubbleFormats)(Pt));
39324
39310
  if (Pt instanceof Se.default) {
39325
- var Ut = Pt.descendant(ge.default.Leaf, qt), ns = de(Ut, 1), Xt = ns[0];
39311
+ var Ut = Pt.descendant(ge.default.Leaf, zt), ns = de(Ut, 1), Xt = ns[0];
39326
39312
  Nt = (0, Oe.default)(Nt, (0, Ce.bubbleFormats)(Xt));
39327
39313
  }
39328
39314
  nt = fe.default.attributes.diff(Nt, nt) || {};
@@ -39363,7 +39349,7 @@ function requireQuill() {
39363
39349
  Qe -= ot;
39364
39350
  });
39365
39351
  }
39366
- }), this.scroll.optimize(), this.update(new he.default().retain(Me).retain(We, (0, ze.default)(Xe)));
39352
+ }), this.scroll.optimize(), this.update(new he.default().retain(Me).retain(We, (0, qe.default)(Xe)));
39367
39353
  }
39368
39354
  }, {
39369
39355
  key: "formatText",
@@ -39371,7 +39357,7 @@ function requireQuill() {
39371
39357
  var je = this, Xe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
39372
39358
  return Object.keys(Xe).forEach(function(tt) {
39373
39359
  je.scroll.formatAt(Me, We, tt, Xe[tt]);
39374
- }), this.update(new he.default().retain(Me).retain(We, (0, ze.default)(Xe)));
39360
+ }), this.update(new he.default().retain(Me).retain(We, (0, qe.default)(Xe)));
39375
39361
  }
39376
39362
  }, {
39377
39363
  key: "getContents",
@@ -39426,7 +39412,7 @@ function requireQuill() {
39426
39412
  `).replace(/\r/g, `
39427
39413
  `), this.scroll.insertAt(Me, We), Object.keys(Xe).forEach(function(tt) {
39428
39414
  je.scroll.formatAt(Me, We.length, tt, Xe[tt]);
39429
- }), this.update(new he.default().retain(Me).insert(We, (0, ze.default)(Xe)));
39415
+ }), this.update(new he.default().retain(Me).insert(We, (0, qe.default)(Xe)));
39430
39416
  }
39431
39417
  }, {
39432
39418
  key: "isBlank",
@@ -39451,8 +39437,8 @@ function requireQuill() {
39451
39437
  var We = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], je = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : void 0, Xe = this.delta;
39452
39438
  if (We.length === 1 && We[0].type === "characterData" && We[0].target.data.match(Ge) && ge.default.find(We[0].target)) {
39453
39439
  var tt = ge.default.find(We[0].target), Ue = (0, Ce.bubbleFormats)(tt), Qe = tt.offset(this.scroll), nt = We[0].oldValue.replace(ye.default.CONTENTS, ""), ot = new he.default().insert(nt), yt = new he.default().insert(tt.value()), Ct = new he.default().retain(Qe).concat(ot.diff(yt, je));
39454
- Me = Ct.reduce(function(Pt, qt) {
39455
- return qt.insert ? Pt.insert(qt.insert, Ue) : Pt.push(qt);
39440
+ Me = Ct.reduce(function(Pt, zt) {
39441
+ return zt.insert ? Pt.insert(zt.insert, Ue) : Pt.push(zt);
39456
39442
  }, new he.default()), this.delta = Xe.compose(Me);
39457
39443
  } else
39458
39444
  this.delta = this.getDelta(), (!Me || !(0, Be.default)(Xe.compose(Me), this.delta)) && (Me = Xe.diff(this.delta, je));
@@ -39468,10 +39454,10 @@ function requireQuill() {
39468
39454
  function bt(Je) {
39469
39455
  return Je.reduce(function(Ye, Me) {
39470
39456
  if (Me.insert === 1) {
39471
- var We = (0, ze.default)(Me.attributes);
39457
+ var We = (0, qe.default)(Me.attributes);
39472
39458
  return delete We.image, Ye.insert({ image: Me.attributes.image }, We);
39473
39459
  }
39474
- if (Me.attributes != null && (Me.attributes.list === !0 || Me.attributes.bullet === !0) && (Me = (0, ze.default)(Me), Me.attributes.list ? Me.attributes.list = "ordered" : (Me.attributes.list = "bullet", delete Me.attributes.bullet)), typeof Me.insert == "string") {
39460
+ if (Me.attributes != null && (Me.attributes.list === !0 || Me.attributes.bullet === !0) && (Me = (0, qe.default)(Me), Me.attributes.list ? Me.attributes.list = "ordered" : (Me.attributes.list = "bullet", delete Me.attributes.bullet)), typeof Me.insert == "string") {
39475
39461
  var je = Me.insert.replace(/\r\n/g, `
39476
39462
  `).replace(/\r/g, `
39477
39463
  `);
@@ -39490,9 +39476,9 @@ function requireQuill() {
39490
39476
  }), re.default = re.Range = void 0;
39491
39477
  var oe = /* @__PURE__ */ (function() {
39492
39478
  function Be(Pe, Oe) {
39493
- var qe = [], Ie = !0, Ne = !1, Ge = void 0;
39479
+ var ze = [], Ie = !0, Ne = !1, Ge = void 0;
39494
39480
  try {
39495
- for (var Ze = Pe[Symbol.iterator](), Ke; !(Ie = (Ke = Ze.next()).done) && (qe.push(Ke.value), !(Oe && qe.length === Oe)); Ie = !0)
39481
+ for (var Ze = Pe[Symbol.iterator](), Ke; !(Ie = (Ke = Ze.next()).done) && (ze.push(Ke.value), !(Oe && ze.length === Oe)); Ie = !0)
39496
39482
  ;
39497
39483
  } catch (bt) {
39498
39484
  Ne = !0, Ge = bt;
@@ -39503,7 +39489,7 @@ function requireQuill() {
39503
39489
  if (Ne) throw Ge;
39504
39490
  }
39505
39491
  }
39506
- return qe;
39492
+ return ze;
39507
39493
  }
39508
39494
  return function(Pe, Oe) {
39509
39495
  if (Array.isArray(Pe))
@@ -39514,13 +39500,13 @@ function requireQuill() {
39514
39500
  };
39515
39501
  })(), de = /* @__PURE__ */ (function() {
39516
39502
  function Be(Pe, Oe) {
39517
- for (var qe = 0; qe < Oe.length; qe++) {
39518
- var Ie = Oe[qe];
39503
+ for (var ze = 0; ze < Oe.length; ze++) {
39504
+ var Ie = Oe[ze];
39519
39505
  Ie.enumerable = Ie.enumerable || !1, Ie.configurable = !0, "value" in Ie && (Ie.writable = !0), Object.defineProperty(Pe, Ie.key, Ie);
39520
39506
  }
39521
39507
  }
39522
- return function(Pe, Oe, qe) {
39523
- return Oe && Be(Pe.prototype, Oe), qe && Be(Pe, qe), Pe;
39508
+ return function(Pe, Oe, ze) {
39509
+ return Oe && Be(Pe.prototype, Oe), ze && Be(Pe, ze), Pe;
39524
39510
  };
39525
39511
  })(), ce = ne(0), ue = Ce(ce), he = ne(21), pe = Ce(he), fe = ne(11), be = Ce(fe), ge = ne(8), ve = Ce(ge), me = ne(10), _e = Ce(me), ye = ne(34);
39526
39512
  function Ce(Be) {
@@ -39541,19 +39527,19 @@ function requireQuill() {
39541
39527
  var Ae = (0, _e.default)("quill:selection"), Le = function Be(Pe) {
39542
39528
  var Oe = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
39543
39529
  we(this, Be), this.index = Pe, this.length = Oe;
39544
- }, ze = (function() {
39530
+ }, qe = (function() {
39545
39531
  function Be(Pe, Oe) {
39546
- var qe = this;
39532
+ var ze = this;
39547
39533
  we(this, Be), this.emitter = Oe, this.scroll = Pe, this.composing = !1, this.mouseDown = !1, this.root = this.scroll.domNode, this.rootDocument = this.root.getRootNode ? this.root.getRootNode() : document, this.cursor = ue.default.create("cursor", this), this.lastRange = this.savedRange = new Le(0, 0), this.handleComposition(), this.handleDragging(), this.emitter.listenDOM(ye.SHADOW_SELECTIONCHANGE, document, function() {
39548
- qe.mouseDown || setTimeout(qe.update.bind(qe, ve.default.sources.USER), 1);
39534
+ ze.mouseDown || setTimeout(ze.update.bind(ze, ve.default.sources.USER), 1);
39549
39535
  }), this.emitter.on(ve.default.events.EDITOR_CHANGE, function(Ie, Ne) {
39550
- Ie === ve.default.events.TEXT_CHANGE && Ne.length() > 0 && qe.update(ve.default.sources.SILENT);
39536
+ Ie === ve.default.events.TEXT_CHANGE && Ne.length() > 0 && ze.update(ve.default.sources.SILENT);
39551
39537
  }), this.emitter.on(ve.default.events.SCROLL_BEFORE_UPDATE, function() {
39552
- if (qe.hasFocus()) {
39553
- var Ie = qe.getNativeRange();
39554
- Ie != null && Ie.start.node !== qe.cursor.textNode && qe.emitter.once(ve.default.events.SCROLL_UPDATE, function() {
39538
+ if (ze.hasFocus()) {
39539
+ var Ie = ze.getNativeRange();
39540
+ Ie != null && Ie.start.node !== ze.cursor.textNode && ze.emitter.once(ve.default.events.SCROLL_UPDATE, function() {
39555
39541
  try {
39556
- qe.setNativeRange(Ie.start.node, Ie.start.offset, Ie.end.node, Ie.end.offset);
39542
+ ze.setNativeRange(Ie.start.node, Ie.start.offset, Ie.end.node, Ie.end.offset);
39557
39543
  } catch {
39558
39544
  }
39559
39545
  });
@@ -39561,7 +39547,7 @@ function requireQuill() {
39561
39547
  }), this.emitter.on(ve.default.events.SCROLL_OPTIMIZE, function(Ie, Ne) {
39562
39548
  if (Ne.range) {
39563
39549
  var Ge = Ne.range, Ze = Ge.startNode, Ke = Ge.startOffset, bt = Ge.endNode, Je = Ge.endOffset;
39564
- qe.setNativeRange(Ze, Ke, bt, Je);
39550
+ ze.setNativeRange(Ze, Ke, bt, Je);
39565
39551
  }
39566
39552
  }), this.update(ve.default.sources.SILENT);
39567
39553
  }
@@ -39573,10 +39559,10 @@ function requireQuill() {
39573
39559
  Oe.composing = !0;
39574
39560
  }), this.root.addEventListener("compositionend", function() {
39575
39561
  if (Oe.composing = !1, Oe.cursor.parent) {
39576
- var qe = Oe.cursor.restore();
39577
- if (!qe) return;
39562
+ var ze = Oe.cursor.restore();
39563
+ if (!ze) return;
39578
39564
  setTimeout(function() {
39579
- Oe.setNativeRange(qe.startNode, qe.startOffset, qe.endNode, qe.endOffset);
39565
+ Oe.setNativeRange(ze.startNode, ze.startOffset, ze.endNode, ze.endOffset);
39580
39566
  }, 1);
39581
39567
  }
39582
39568
  });
@@ -39598,7 +39584,7 @@ function requireQuill() {
39598
39584
  }
39599
39585
  }, {
39600
39586
  key: "format",
39601
- value: function(Oe, qe) {
39587
+ value: function(Oe, ze) {
39602
39588
  if (!(this.scroll.whitelist != null && !this.scroll.whitelist[Oe])) {
39603
39589
  this.scroll.update();
39604
39590
  var Ie = this.getNativeRange();
@@ -39613,23 +39599,23 @@ function requireQuill() {
39613
39599
  Ne.insertBefore(this.cursor, Ie.start.node);
39614
39600
  this.cursor.attach();
39615
39601
  }
39616
- this.cursor.format(Oe, qe), this.scroll.optimize(), this.setNativeRange(this.cursor.textNode, this.cursor.textNode.data.length), this.update();
39602
+ this.cursor.format(Oe, ze), this.scroll.optimize(), this.setNativeRange(this.cursor.textNode, this.cursor.textNode.data.length), this.update();
39617
39603
  }
39618
39604
  }
39619
39605
  }
39620
39606
  }, {
39621
39607
  key: "getBounds",
39622
39608
  value: function(Oe) {
39623
- var qe = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, Ie = this.scroll.length();
39624
- Oe = Math.min(Oe, Ie - 1), qe = Math.min(Oe + qe, Ie - 1) - Oe;
39609
+ var ze = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, Ie = this.scroll.length();
39610
+ Oe = Math.min(Oe, Ie - 1), ze = Math.min(Oe + ze, Ie - 1) - Oe;
39625
39611
  var Ne = void 0, Ge = this.scroll.leaf(Oe), Ze = oe(Ge, 2), Ke = Ze[0], bt = Ze[1];
39626
39612
  if (Ke == null) return null;
39627
39613
  var Je = Ke.position(bt, !0), Ye = oe(Je, 2);
39628
39614
  Ne = Ye[0], bt = Ye[1];
39629
39615
  var Me = document.createRange();
39630
- if (qe > 0) {
39616
+ if (ze > 0) {
39631
39617
  Me.setStart(Ne, bt);
39632
- var We = this.scroll.leaf(Oe + qe), je = oe(We, 2);
39618
+ var We = this.scroll.leaf(Oe + ze), je = oe(We, 2);
39633
39619
  if (Ke = je[0], bt = je[1], Ke == null) return null;
39634
39620
  var Xe = Ke.position(bt, !0), tt = oe(Xe, 2);
39635
39621
  return Ne = tt[0], bt = tt[1], Me.setEnd(Ne, bt), Me.getBoundingClientRect();
@@ -39650,16 +39636,16 @@ function requireQuill() {
39650
39636
  value: function() {
39651
39637
  var Oe = (0, ye.getRange)(this.rootDocument);
39652
39638
  if (Oe == null) return null;
39653
- var qe = this.normalizeNative(Oe);
39654
- return Ae.info("getNativeRange", qe), qe;
39639
+ var ze = this.normalizeNative(Oe);
39640
+ return Ae.info("getNativeRange", ze), ze;
39655
39641
  }
39656
39642
  }, {
39657
39643
  key: "getRange",
39658
39644
  value: function() {
39659
39645
  var Oe = this.getNativeRange();
39660
39646
  if (Oe == null) return [null, null];
39661
- var qe = this.normalizedToRange(Oe);
39662
- return [qe, Oe];
39647
+ var ze = this.normalizedToRange(Oe);
39648
+ return [ze, Oe];
39663
39649
  }
39664
39650
  }, {
39665
39651
  key: "hasFocus",
@@ -39669,10 +39655,10 @@ function requireQuill() {
39669
39655
  }, {
39670
39656
  key: "normalizedToRange",
39671
39657
  value: function(Oe) {
39672
- var qe = this, Ie = [[Oe.start.node, Oe.start.offset]];
39658
+ var ze = this, Ie = [[Oe.start.node, Oe.start.offset]];
39673
39659
  Oe.native.collapsed || Ie.push([Oe.end.node, Oe.end.offset]);
39674
39660
  var Ne = Ie.map(function(Ke) {
39675
- var bt = oe(Ke, 2), Je = bt[0], Ye = bt[1], Me = ue.default.find(Je, !0), We = Me.offset(qe.scroll);
39661
+ var bt = oe(Ke, 2), Je = bt[0], Ye = bt[1], Me = ue.default.find(Je, !0), We = Me.offset(ze.scroll);
39676
39662
  return Ye === 0 ? We : Me instanceof ue.default.Container ? We + Me.length() : We + Me.index(Je, Ye);
39677
39663
  }), Ge = Math.min(Math.max.apply(Math, Se(Ne)), this.scroll.length() - 1), Ze = Math.min.apply(Math, [Ge].concat(Se(Ne)));
39678
39664
  return new Le(Ze, Ge - Ze);
@@ -39682,12 +39668,12 @@ function requireQuill() {
39682
39668
  value: function(Oe) {
39683
39669
  if (!Fe(this.root, Oe.startContainer) || !Oe.collapsed && !Fe(this.root, Oe.endContainer))
39684
39670
  return null;
39685
- var qe = {
39671
+ var ze = {
39686
39672
  start: { node: Oe.startContainer, offset: Oe.startOffset },
39687
39673
  end: { node: Oe.endContainer, offset: Oe.endOffset },
39688
39674
  native: Oe
39689
39675
  };
39690
- return [qe.start, qe.end].forEach(function(Ie) {
39676
+ return [ze.start, ze.end].forEach(function(Ie) {
39691
39677
  for (var Ne = Ie.node, Ge = Ie.offset; !(Ne instanceof Text) && Ne.childNodes.length > 0; )
39692
39678
  if (Ne.childNodes.length > Ge)
39693
39679
  Ne = Ne.childNodes[Ge], Ge = 0;
@@ -39696,28 +39682,28 @@ function requireQuill() {
39696
39682
  else
39697
39683
  break;
39698
39684
  Ie.node = Ne, Ie.offset = Ge;
39699
- }), qe;
39685
+ }), ze;
39700
39686
  }
39701
39687
  }, {
39702
39688
  key: "rangeToNative",
39703
39689
  value: function(Oe) {
39704
- var qe = this, Ie = Oe.collapsed ? [Oe.index] : [Oe.index, Oe.index + Oe.length], Ne = [], Ge = this.scroll.length();
39690
+ var ze = this, Ie = Oe.collapsed ? [Oe.index] : [Oe.index, Oe.index + Oe.length], Ne = [], Ge = this.scroll.length();
39705
39691
  return Ie.forEach(function(Ze, Ke) {
39706
39692
  Ze = Math.min(Ge - 1, Ze);
39707
- var bt = void 0, Je = qe.scroll.leaf(Ze), Ye = oe(Je, 2), Me = Ye[0], We = Ye[1], je = Me.position(We, Ke !== 0), Xe = oe(je, 2);
39693
+ var bt = void 0, Je = ze.scroll.leaf(Ze), Ye = oe(Je, 2), Me = Ye[0], We = Ye[1], je = Me.position(We, Ke !== 0), Xe = oe(je, 2);
39708
39694
  bt = Xe[0], We = Xe[1], Ne.push(bt, We);
39709
39695
  }), Ne.length < 2 && (Ne = Ne.concat(Ne)), Ne;
39710
39696
  }
39711
39697
  }, {
39712
39698
  key: "scrollIntoView",
39713
39699
  value: function(Oe) {
39714
- var qe = this.lastRange;
39715
- if (qe != null) {
39716
- var Ie = this.getBounds(qe.index, qe.length);
39700
+ var ze = this.lastRange;
39701
+ if (ze != null) {
39702
+ var Ie = this.getBounds(ze.index, ze.length);
39717
39703
  if (Ie != null) {
39718
- var Ne = this.scroll.length() - 1, Ge = this.scroll.line(Math.min(qe.index, Ne)), Ze = oe(Ge, 1), Ke = Ze[0], bt = Ke;
39719
- if (qe.length > 0) {
39720
- var Je = this.scroll.line(Math.min(qe.index + qe.length, Ne)), Ye = oe(Je, 1);
39704
+ var Ne = this.scroll.length() - 1, Ge = this.scroll.line(Math.min(ze.index, Ne)), Ze = oe(Ge, 1), Ke = Ze[0], bt = Ke;
39705
+ if (ze.length > 0) {
39706
+ var Je = this.scroll.line(Math.min(ze.index + ze.length, Ne)), Ye = oe(Je, 1);
39721
39707
  bt = Ye[0];
39722
39708
  }
39723
39709
  if (!(Ke == null || bt == null)) {
@@ -39729,18 +39715,18 @@ function requireQuill() {
39729
39715
  }
39730
39716
  }, {
39731
39717
  key: "setNativeRange",
39732
- value: function(Oe, qe) {
39733
- var Ie = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Oe, Ne = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : qe, Ge = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !1;
39734
- if (Ae.info("setNativeRange", Oe, qe, Ie, Ne), !(Oe != null && (this.root.parentNode == null || Oe.parentNode == null || Ie.parentNode == null))) {
39718
+ value: function(Oe, ze) {
39719
+ var Ie = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Oe, Ne = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ze, Ge = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !1;
39720
+ if (Ae.info("setNativeRange", Oe, ze, Ie, Ne), !(Oe != null && (this.root.parentNode == null || Oe.parentNode == null || Ie.parentNode == null))) {
39735
39721
  var Ze = typeof this.rootDocument.getSelection == "function" ? this.rootDocument.getSelection() : document.getSelection();
39736
39722
  if (Ze != null)
39737
39723
  if (Oe != null) {
39738
39724
  this.hasFocus() || this.root.focus();
39739
39725
  var Ke = (this.getNativeRange() || {}).native;
39740
- if (Ke == null || Ge || Oe !== Ke.startContainer || qe !== Ke.startOffset || Ie !== Ke.endContainer || Ne !== Ke.endOffset) {
39741
- Oe.tagName == "BR" && (qe = [].indexOf.call(Oe.parentNode.childNodes, Oe), Oe = Oe.parentNode), Ie.tagName == "BR" && (Ne = [].indexOf.call(Ie.parentNode.childNodes, Ie), Ie = Ie.parentNode);
39726
+ if (Ke == null || Ge || Oe !== Ke.startContainer || ze !== Ke.startOffset || Ie !== Ke.endContainer || Ne !== Ke.endOffset) {
39727
+ Oe.tagName == "BR" && (ze = [].indexOf.call(Oe.parentNode.childNodes, Oe), Oe = Oe.parentNode), Ie.tagName == "BR" && (Ne = [].indexOf.call(Ie.parentNode.childNodes, Ie), Ie = Ie.parentNode);
39742
39728
  var bt = document.createRange();
39743
- bt.setStart(Oe, qe), bt.setEnd(Ie, Ne), Ze.removeAllRanges(), Ze.addRange(bt);
39729
+ bt.setStart(Oe, ze), bt.setEnd(Ie, Ne), Ze.removeAllRanges(), Ze.addRange(bt);
39744
39730
  }
39745
39731
  } else
39746
39732
  Ze.removeAllRanges(), this.root.blur(), document.body.focus();
@@ -39749,10 +39735,10 @@ function requireQuill() {
39749
39735
  }, {
39750
39736
  key: "setRange",
39751
39737
  value: function(Oe) {
39752
- var qe = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, Ie = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ve.default.sources.API;
39753
- if (typeof qe == "string" && (Ie = qe, qe = !1), Ae.info("setRange", Oe), Oe != null) {
39738
+ var ze = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, Ie = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ve.default.sources.API;
39739
+ if (typeof ze == "string" && (Ie = ze, ze = !1), Ae.info("setRange", Oe), Oe != null) {
39754
39740
  var Ne = this.rangeToNative(Oe);
39755
- this.setNativeRange.apply(this, Se(Ne).concat([qe]));
39741
+ this.setNativeRange.apply(this, Se(Ne).concat([ze]));
39756
39742
  } else
39757
39743
  this.setNativeRange(null);
39758
39744
  this.update(Ie);
@@ -39760,11 +39746,11 @@ function requireQuill() {
39760
39746
  }, {
39761
39747
  key: "update",
39762
39748
  value: function() {
39763
- var Oe = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ve.default.sources.USER, qe = this.lastRange, Ie = this.getRange(), Ne = oe(Ie, 2), Ge = Ne[0], Ze = Ne[1];
39764
- if (this.lastRange = Ge, this.lastRange != null && (this.savedRange = this.lastRange), !(0, be.default)(qe, this.lastRange)) {
39749
+ var Oe = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ve.default.sources.USER, ze = this.lastRange, Ie = this.getRange(), Ne = oe(Ie, 2), Ge = Ne[0], Ze = Ne[1];
39750
+ if (this.lastRange = Ge, this.lastRange != null && (this.savedRange = this.lastRange), !(0, be.default)(ze, this.lastRange)) {
39765
39751
  var Ke;
39766
39752
  !this.composing && Ze != null && Ze.native.collapsed && Ze.start.node !== this.cursor.textNode && this.cursor.restore();
39767
- var bt = [ve.default.events.SELECTION_CHANGE, (0, pe.default)(this.lastRange), (0, pe.default)(qe), Oe];
39753
+ var bt = [ve.default.events.SELECTION_CHANGE, (0, pe.default)(this.lastRange), (0, pe.default)(ze), Oe];
39768
39754
  if ((Ke = this.emitter).emit.apply(Ke, [ve.default.events.EDITOR_CHANGE].concat(bt)), Oe !== ve.default.sources.SILENT) {
39769
39755
  var Je;
39770
39756
  (Je = this.emitter).emit.apply(Je, bt);
@@ -39781,7 +39767,7 @@ function requireQuill() {
39781
39767
  }
39782
39768
  return Pe instanceof Text && (Pe = Pe.parentNode), Be.contains(Pe);
39783
39769
  }
39784
- re.Range = Le, re.default = ze;
39770
+ re.Range = Le, re.default = qe;
39785
39771
  }),
39786
39772
  /* 16 */
39787
39773
  /***/
@@ -40207,7 +40193,7 @@ function requireQuill() {
40207
40193
  typeof _e == "object" && (ye = _e.depth, Ce = _e.prototype, Se = _e.includeNonEnumerable, _e = _e.circular);
40208
40194
  var we = [], Ae = [], Le = typeof Buffer < "u";
40209
40195
  typeof _e > "u" && (_e = !0), typeof ye > "u" && (ye = 1 / 0);
40210
- function ze(Fe, Be) {
40196
+ function qe(Fe, Be) {
40211
40197
  if (Fe === null)
40212
40198
  return null;
40213
40199
  if (Be === 0)
@@ -40222,9 +40208,9 @@ function requireQuill() {
40222
40208
  else if (oe(Fe, ue))
40223
40209
  Pe = new ue(function(Ye, Me) {
40224
40210
  Fe.then(function(We) {
40225
- Ye(ze(We, Be - 1));
40211
+ Ye(qe(We, Be - 1));
40226
40212
  }, function(We) {
40227
- Me(ze(We, Be - 1));
40213
+ Me(qe(We, Be - 1));
40228
40214
  });
40229
40215
  });
40230
40216
  else if (he.__isArray(Fe))
@@ -40239,39 +40225,39 @@ function requireQuill() {
40239
40225
  oe(Fe, Error) ? Pe = Object.create(Fe) : typeof Ce > "u" ? (Oe = Object.getPrototypeOf(Fe), Pe = Object.create(Oe)) : (Pe = Object.create(Ce), Oe = Ce);
40240
40226
  }
40241
40227
  if (_e) {
40242
- var qe = we.indexOf(Fe);
40243
- if (qe != -1)
40244
- return Ae[qe];
40228
+ var ze = we.indexOf(Fe);
40229
+ if (ze != -1)
40230
+ return Ae[ze];
40245
40231
  we.push(Fe), Ae.push(Pe);
40246
40232
  }
40247
40233
  oe(Fe, de) && Fe.forEach(function(Ye, Me) {
40248
- var We = ze(Me, Be - 1), je = ze(Ye, Be - 1);
40234
+ var We = qe(Me, Be - 1), je = qe(Ye, Be - 1);
40249
40235
  Pe.set(We, je);
40250
40236
  }), oe(Fe, ce) && Fe.forEach(function(Ye) {
40251
- var Me = ze(Ye, Be - 1);
40237
+ var Me = qe(Ye, Be - 1);
40252
40238
  Pe.add(Me);
40253
40239
  });
40254
40240
  for (var Ie in Fe) {
40255
40241
  var Ne;
40256
- Oe && (Ne = Object.getOwnPropertyDescriptor(Oe, Ie)), !(Ne && Ne.set == null) && (Pe[Ie] = ze(Fe[Ie], Be - 1));
40242
+ Oe && (Ne = Object.getOwnPropertyDescriptor(Oe, Ie)), !(Ne && Ne.set == null) && (Pe[Ie] = qe(Fe[Ie], Be - 1));
40257
40243
  }
40258
40244
  if (Object.getOwnPropertySymbols)
40259
40245
  for (var Ge = Object.getOwnPropertySymbols(Fe), Ie = 0; Ie < Ge.length; Ie++) {
40260
40246
  var Ze = Ge[Ie], Ke = Object.getOwnPropertyDescriptor(Fe, Ze);
40261
- Ke && !Ke.enumerable && !Se || (Pe[Ze] = ze(Fe[Ze], Be - 1), Ke.enumerable || Object.defineProperty(Pe, Ze, {
40247
+ Ke && !Ke.enumerable && !Se || (Pe[Ze] = qe(Fe[Ze], Be - 1), Ke.enumerable || Object.defineProperty(Pe, Ze, {
40262
40248
  enumerable: !1
40263
40249
  }));
40264
40250
  }
40265
40251
  if (Se)
40266
40252
  for (var bt = Object.getOwnPropertyNames(Fe), Ie = 0; Ie < bt.length; Ie++) {
40267
40253
  var Je = bt[Ie], Ke = Object.getOwnPropertyDescriptor(Fe, Je);
40268
- Ke && Ke.enumerable || (Pe[Je] = ze(Fe[Je], Be - 1), Object.defineProperty(Pe, Je, {
40254
+ Ke && Ke.enumerable || (Pe[Je] = qe(Fe[Je], Be - 1), Object.defineProperty(Pe, Je, {
40269
40255
  enumerable: !1
40270
40256
  }));
40271
40257
  }
40272
40258
  return Pe;
40273
40259
  }
40274
- return ze(me, ye);
40260
+ return qe(me, ye);
40275
40261
  }
40276
40262
  he.clonePrototype = function(_e) {
40277
40263
  if (_e === null)
@@ -40311,10 +40297,10 @@ function requireQuill() {
40311
40297
  value: !0
40312
40298
  });
40313
40299
  var oe = /* @__PURE__ */ (function() {
40314
- function Pe(Oe, qe) {
40300
+ function Pe(Oe, ze) {
40315
40301
  var Ie = [], Ne = !0, Ge = !1, Ze = void 0;
40316
40302
  try {
40317
- for (var Ke = Oe[Symbol.iterator](), bt; !(Ne = (bt = Ke.next()).done) && (Ie.push(bt.value), !(qe && Ie.length === qe)); Ne = !0)
40303
+ for (var Ke = Oe[Symbol.iterator](), bt; !(Ne = (bt = Ke.next()).done) && (Ie.push(bt.value), !(ze && Ie.length === ze)); Ne = !0)
40318
40304
  ;
40319
40305
  } catch (Je) {
40320
40306
  Ge = !0, Ze = Je;
@@ -40327,29 +40313,29 @@ function requireQuill() {
40327
40313
  }
40328
40314
  return Ie;
40329
40315
  }
40330
- return function(Oe, qe) {
40316
+ return function(Oe, ze) {
40331
40317
  if (Array.isArray(Oe))
40332
40318
  return Oe;
40333
40319
  if (Symbol.iterator in Object(Oe))
40334
- return Pe(Oe, qe);
40320
+ return Pe(Oe, ze);
40335
40321
  throw new TypeError("Invalid attempt to destructure non-iterable instance");
40336
40322
  };
40337
40323
  })(), de = /* @__PURE__ */ (function() {
40338
- function Pe(Oe, qe) {
40339
- for (var Ie = 0; Ie < qe.length; Ie++) {
40340
- var Ne = qe[Ie];
40324
+ function Pe(Oe, ze) {
40325
+ for (var Ie = 0; Ie < ze.length; Ie++) {
40326
+ var Ne = ze[Ie];
40341
40327
  Ne.enumerable = Ne.enumerable || !1, Ne.configurable = !0, "value" in Ne && (Ne.writable = !0), Object.defineProperty(Oe, Ne.key, Ne);
40342
40328
  }
40343
40329
  }
40344
- return function(Oe, qe, Ie) {
40345
- return qe && Pe(Oe.prototype, qe), Ie && Pe(Oe, Ie), Oe;
40330
+ return function(Oe, ze, Ie) {
40331
+ return ze && Pe(Oe.prototype, ze), Ie && Pe(Oe, Ie), Oe;
40346
40332
  };
40347
- })(), ce = function Pe(Oe, qe, Ie) {
40333
+ })(), ce = function Pe(Oe, ze, Ie) {
40348
40334
  Oe === null && (Oe = Function.prototype);
40349
- var Ne = Object.getOwnPropertyDescriptor(Oe, qe);
40335
+ var Ne = Object.getOwnPropertyDescriptor(Oe, ze);
40350
40336
  if (Ne === void 0) {
40351
40337
  var Ge = Object.getPrototypeOf(Oe);
40352
- return Ge === null ? void 0 : Pe(Ge, qe, Ie);
40338
+ return Ge === null ? void 0 : Pe(Ge, ze, Ie);
40353
40339
  } else {
40354
40340
  if ("value" in Ne)
40355
40341
  return Ne.value;
@@ -40369,7 +40355,7 @@ function requireQuill() {
40369
40355
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
40370
40356
  return Oe && (typeof Oe == "object" || typeof Oe == "function") ? Oe : Pe;
40371
40357
  }
40372
- function ze(Pe, Oe) {
40358
+ function qe(Pe, Oe) {
40373
40359
  if (typeof Oe != "function" && Oe !== null)
40374
40360
  throw new TypeError("Super expression must either be null or a function, not " + typeof Oe);
40375
40361
  Pe.prototype = Object.create(Oe && Oe.prototype, { constructor: { value: Pe, enumerable: !1, writable: !0, configurable: !0 } }), Oe && (Object.setPrototypeOf ? Object.setPrototypeOf(Pe, Oe) : Pe.__proto__ = Oe);
@@ -40378,10 +40364,10 @@ function requireQuill() {
40378
40364
  return Pe instanceof ge.default || Pe instanceof be.BlockEmbed;
40379
40365
  }
40380
40366
  var Be = (function(Pe) {
40381
- ze(Oe, Pe);
40382
- function Oe(qe, Ie) {
40367
+ qe(Oe, Pe);
40368
+ function Oe(ze, Ie) {
40383
40369
  Ae(this, Oe);
40384
- var Ne = Le(this, (Oe.__proto__ || Object.getPrototypeOf(Oe)).call(this, qe));
40370
+ var Ne = Le(this, (Oe.__proto__ || Object.getPrototypeOf(Oe)).call(this, ze));
40385
40371
  return Ne.emitter = Ie.emitter, Array.isArray(Ie.whitelist) && (Ne.whitelist = Ie.whitelist.reduce(function(Ge, Ze) {
40386
40372
  return Ge[Ze] = !0, Ge;
40387
40373
  }, {})), Ne.domNode.addEventListener("DOMNodeInserted", function() {
@@ -40517,13 +40503,13 @@ function requireQuill() {
40517
40503
  function Ue(Qe, nt) {
40518
40504
  var ot = [], yt = !0, Ct = !1, Pt = void 0;
40519
40505
  try {
40520
- for (var qt = Qe[Symbol.iterator](), Nt; !(yt = (Nt = qt.next()).done) && (ot.push(Nt.value), !(nt && ot.length === nt)); yt = !0)
40506
+ for (var zt = Qe[Symbol.iterator](), Nt; !(yt = (Nt = zt.next()).done) && (ot.push(Nt.value), !(nt && ot.length === nt)); yt = !0)
40521
40507
  ;
40522
40508
  } catch (Ut) {
40523
40509
  Ct = !0, Pt = Ut;
40524
40510
  } finally {
40525
40511
  try {
40526
- !yt && qt.return && qt.return();
40512
+ !yt && zt.return && zt.return();
40527
40513
  } finally {
40528
40514
  if (Ct) throw Pt;
40529
40515
  }
@@ -40547,14 +40533,14 @@ function requireQuill() {
40547
40533
  return function(Qe, nt, ot) {
40548
40534
  return nt && Ue(Qe.prototype, nt), ot && Ue(Qe, ot), Qe;
40549
40535
  };
40550
- })(), ue = ne(21), he = Pe(ue), pe = ne(11), fe = Pe(pe), be = ne(3), ge = Pe(be), ve = ne(2), me = Pe(ve), _e = ne(20), ye = Pe(_e), Ce = ne(0), Se = Pe(Ce), we = ne(5), Ae = Pe(we), Le = ne(10), ze = Pe(Le), Fe = ne(9), Be = Pe(Fe);
40536
+ })(), ue = ne(21), he = Pe(ue), pe = ne(11), fe = Pe(pe), be = ne(3), ge = Pe(be), ve = ne(2), me = Pe(ve), _e = ne(20), ye = Pe(_e), Ce = ne(0), Se = Pe(Ce), we = ne(5), Ae = Pe(we), Le = ne(10), qe = Pe(Le), Fe = ne(9), Be = Pe(Fe);
40551
40537
  function Pe(Ue) {
40552
40538
  return Ue && Ue.__esModule ? Ue : { default: Ue };
40553
40539
  }
40554
40540
  function Oe(Ue, Qe, nt) {
40555
40541
  return Qe in Ue ? Object.defineProperty(Ue, Qe, { value: nt, enumerable: !0, configurable: !0, writable: !0 }) : Ue[Qe] = nt, Ue;
40556
40542
  }
40557
- function qe(Ue, Qe) {
40543
+ function ze(Ue, Qe) {
40558
40544
  if (!(Ue instanceof Qe))
40559
40545
  throw new TypeError("Cannot call a class as a function");
40560
40546
  }
@@ -40568,7 +40554,7 @@ function requireQuill() {
40568
40554
  throw new TypeError("Super expression must either be null or a function, not " + typeof Qe);
40569
40555
  Ue.prototype = Object.create(Qe && Qe.prototype, { constructor: { value: Ue, enumerable: !1, writable: !0, configurable: !0 } }), Qe && (Object.setPrototypeOf ? Object.setPrototypeOf(Ue, Qe) : Ue.__proto__ = Qe);
40570
40556
  }
40571
- var Ge = (0, ze.default)("quill:keyboard"), Ze = /Mac/i.test(navigator.platform) ? "metaKey" : "ctrlKey", Ke = (function(Ue) {
40557
+ var Ge = (0, qe.default)("quill:keyboard"), Ze = /Mac/i.test(navigator.platform) ? "metaKey" : "ctrlKey", Ke = (function(Ue) {
40572
40558
  Ne(Qe, Ue), ce(Qe, null, [{
40573
40559
  key: "match",
40574
40560
  value: function(ot, yt) {
@@ -40578,7 +40564,7 @@ function requireQuill() {
40578
40564
  }
40579
40565
  }]);
40580
40566
  function Qe(nt, ot) {
40581
- qe(this, Qe);
40567
+ ze(this, Qe);
40582
40568
  var yt = Ie(this, (Qe.__proto__ || Object.getPrototypeOf(Qe)).call(this, nt, ot));
40583
40569
  return yt.bindings = {}, Object.keys(yt.options.bindings).forEach(function(Ct) {
40584
40570
  Ct === "list autofill" && nt.scroll.whitelist != null && !nt.scroll.whitelist.list || yt.options.bindings[Ct] && yt.addBinding(yt.options.bindings[Ct]);
@@ -40603,12 +40589,12 @@ function requireQuill() {
40603
40589
  return Qe.match(yt, ss);
40604
40590
  });
40605
40591
  if (Pt.length !== 0) {
40606
- var qt = ot.quill.getSelection();
40607
- if (!(qt == null || !ot.quill.hasFocus())) {
40608
- var Nt = ot.quill.getLine(qt.index), Ut = de(Nt, 2), ns = Ut[0], Xt = Ut[1], mt = ot.quill.getLeaf(qt.index), vt = de(mt, 2), kt = vt[0], At = vt[1], $t = qt.length === 0 ? [kt, At] : ot.quill.getLeaf(qt.index + qt.length), Mt = de($t, 2), Ft = Mt[0], Ht = Mt[1], us = kt instanceof Se.default.Text ? kt.value().slice(0, At) : "", cs = Ft instanceof Se.default.Text ? Ft.value().slice(Ht) : "", Kt = {
40609
- collapsed: qt.length === 0,
40610
- empty: qt.length === 0 && ns.length() <= 1,
40611
- format: ot.quill.getFormat(qt),
40592
+ var zt = ot.quill.getSelection();
40593
+ if (!(zt == null || !ot.quill.hasFocus())) {
40594
+ var Nt = ot.quill.getLine(zt.index), Ut = de(Nt, 2), ns = Ut[0], Xt = Ut[1], mt = ot.quill.getLeaf(zt.index), vt = de(mt, 2), kt = vt[0], At = vt[1], $t = zt.length === 0 ? [kt, At] : ot.quill.getLeaf(zt.index + zt.length), Mt = de($t, 2), Ft = Mt[0], Ht = Mt[1], us = kt instanceof Se.default.Text ? kt.value().slice(0, At) : "", cs = Ft instanceof Se.default.Text ? Ft.value().slice(Ht) : "", Kt = {
40595
+ collapsed: zt.length === 0,
40596
+ empty: zt.length === 0 && ns.length() <= 1,
40597
+ format: ot.quill.getFormat(zt),
40612
40598
  offset: Xt,
40613
40599
  prefix: us,
40614
40600
  suffix: cs
@@ -40623,7 +40609,7 @@ function requireQuill() {
40623
40609
  return ss.format[ps] === !0 ? Kt.format[ps] != null : ss.format[ps] === !1 ? Kt.format[ps] == null : (0, fe.default)(ss.format[ps], Kt.format[ps]);
40624
40610
  }))
40625
40611
  return !1;
40626
- return ss.prefix != null && !ss.prefix.test(Kt.prefix) || ss.suffix != null && !ss.suffix.test(Kt.suffix) ? !1 : ss.handler.call(ot, qt, Kt) !== !0;
40612
+ return ss.prefix != null && !ss.prefix.test(Kt.prefix) || ss.suffix != null && !ss.suffix.test(Kt.suffix) ? !1 : ss.handler.call(ot, zt, Kt) !== !0;
40627
40613
  });
40628
40614
  Cs && yt.preventDefault();
40629
40615
  }
@@ -40713,9 +40699,9 @@ function requireQuill() {
40713
40699
  collapsed: !0,
40714
40700
  format: { list: "checked" },
40715
40701
  handler: function(Qe) {
40716
- var nt = this.quill.getLine(Qe.index), ot = de(nt, 2), yt = ot[0], Ct = ot[1], Pt = (0, ge.default)({}, yt.formats(), { list: "checked" }), qt = new me.default().retain(Qe.index).insert(`
40702
+ var nt = this.quill.getLine(Qe.index), ot = de(nt, 2), yt = ot[0], Ct = ot[1], Pt = (0, ge.default)({}, yt.formats(), { list: "checked" }), zt = new me.default().retain(Qe.index).insert(`
40717
40703
  `, Pt).retain(yt.length() - Ct - 1).retain(1, { list: "unchecked" });
40718
- this.quill.updateContents(qt, Ae.default.sources.USER), this.quill.setSelection(Qe.index + 1, Ae.default.sources.SILENT), this.quill.scrollIntoView();
40704
+ this.quill.updateContents(zt, Ae.default.sources.USER), this.quill.setSelection(Qe.index + 1, Ae.default.sources.SILENT), this.quill.scrollIntoView();
40719
40705
  }
40720
40706
  },
40721
40707
  "header enter": {
@@ -40724,9 +40710,9 @@ function requireQuill() {
40724
40710
  format: ["header"],
40725
40711
  suffix: /^$/,
40726
40712
  handler: function(Qe, nt) {
40727
- var ot = this.quill.getLine(Qe.index), yt = de(ot, 2), Ct = yt[0], Pt = yt[1], qt = new me.default().retain(Qe.index).insert(`
40713
+ var ot = this.quill.getLine(Qe.index), yt = de(ot, 2), Ct = yt[0], Pt = yt[1], zt = new me.default().retain(Qe.index).insert(`
40728
40714
  `, nt.format).retain(Ct.length() - Pt - 1).retain(1, { header: null });
40729
- this.quill.updateContents(qt, Ae.default.sources.USER), this.quill.setSelection(Qe.index + 1, Ae.default.sources.SILENT), this.quill.scrollIntoView();
40715
+ this.quill.updateContents(zt, Ae.default.sources.USER), this.quill.setSelection(Qe.index + 1, Ae.default.sources.SILENT), this.quill.scrollIntoView();
40730
40716
  }
40731
40717
  },
40732
40718
  "list autofill": {
@@ -40735,8 +40721,8 @@ function requireQuill() {
40735
40721
  format: { list: !1 },
40736
40722
  prefix: /^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,
40737
40723
  handler: function(Qe, nt) {
40738
- var ot = nt.prefix.length, yt = this.quill.getLine(Qe.index), Ct = de(yt, 2), Pt = Ct[0], qt = Ct[1];
40739
- if (qt > ot) return !0;
40724
+ var ot = nt.prefix.length, yt = this.quill.getLine(Qe.index), Ct = de(yt, 2), Pt = Ct[0], zt = Ct[1];
40725
+ if (zt > ot) return !0;
40740
40726
  var Nt = void 0;
40741
40727
  switch (nt.prefix.trim()) {
40742
40728
  case "[]":
@@ -40754,7 +40740,7 @@ function requireQuill() {
40754
40740
  Nt = "ordered";
40755
40741
  }
40756
40742
  this.quill.insertText(Qe.index, " ", Ae.default.sources.USER), this.quill.history.cutoff();
40757
- var Ut = new me.default().retain(Qe.index - qt).delete(ot + 1).retain(Pt.length() - 2 - qt).retain(1, { list: Nt });
40743
+ var Ut = new me.default().retain(Qe.index - zt).delete(ot + 1).retain(Pt.length() - 2 - zt).retain(1, { list: Nt });
40758
40744
  this.quill.updateContents(Ut, Ae.default.sources.USER), this.quill.history.cutoff(), this.quill.setSelection(Qe.index - ot, Ae.default.sources.SILENT);
40759
40745
  }
40760
40746
  },
@@ -40784,7 +40770,7 @@ function requireQuill() {
40784
40770
  }, Oe(nt, ot, /^$/), Oe(nt, "handler", function(Ct) {
40785
40771
  var Pt = Ct.index;
40786
40772
  Ue === Ke.keys.RIGHT && (Pt += Ct.length + 1);
40787
- var qt = this.quill.getLeaf(Pt), Nt = de(qt, 1), Ut = Nt[0];
40773
+ var zt = this.quill.getLeaf(Pt), Nt = de(zt, 1), Ut = Nt[0];
40788
40774
  return Ut instanceof Se.default.Embed ? (Ue === Ke.keys.LEFT ? Qe ? this.quill.setSelection(Ct.index - 1, Ct.length + 1, Ae.default.sources.USER) : this.quill.setSelection(Ct.index - 1, Ae.default.sources.USER) : Qe ? this.quill.setSelection(Ct.index, Ct.length + 1, Ae.default.sources.USER) : this.quill.setSelection(Ct.index + Ct.length + 1, Ae.default.sources.USER), !1) : !0;
40789
40775
  }), nt;
40790
40776
  }
@@ -40792,7 +40778,7 @@ function requireQuill() {
40792
40778
  if (!(Ue.index === 0 || this.quill.getLength() <= 1)) {
40793
40779
  var nt = this.quill.getLine(Ue.index), ot = de(nt, 1), yt = ot[0], Ct = {};
40794
40780
  if (Qe.offset === 0) {
40795
- var Pt = this.quill.getLine(Ue.index - 1), qt = de(Pt, 1), Nt = qt[0];
40781
+ var Pt = this.quill.getLine(Ue.index - 1), zt = de(Pt, 1), Nt = zt[0];
40796
40782
  if (Nt != null && Nt.length() > 1) {
40797
40783
  var Ut = yt.formats(), ns = this.quill.getFormat(Ue.index - 1, 1);
40798
40784
  Ct = ye.default.attributes.diff(Ut, ns) || {};
@@ -40805,11 +40791,11 @@ function requireQuill() {
40805
40791
  function Ye(Ue, Qe) {
40806
40792
  var nt = /^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(Qe.suffix) ? 2 : 1;
40807
40793
  if (!(Ue.index >= this.quill.getLength() - nt)) {
40808
- var ot = {}, yt = 0, Ct = this.quill.getLine(Ue.index), Pt = de(Ct, 1), qt = Pt[0];
40809
- if (Qe.offset >= qt.length() - 1) {
40794
+ var ot = {}, yt = 0, Ct = this.quill.getLine(Ue.index), Pt = de(Ct, 1), zt = Pt[0];
40795
+ if (Qe.offset >= zt.length() - 1) {
40810
40796
  var Nt = this.quill.getLine(Ue.index + 1), Ut = de(Nt, 1), ns = Ut[0];
40811
40797
  if (ns) {
40812
- var Xt = qt.formats(), mt = this.quill.getFormat(Ue.index, 1);
40798
+ var Xt = zt.formats(), mt = this.quill.getFormat(Ue.index, 1);
40813
40799
  ot = ye.default.attributes.diff(Xt, mt) || {}, yt = ns.length();
40814
40800
  }
40815
40801
  }
@@ -40841,7 +40827,7 @@ function requireQuill() {
40841
40827
  shiftKey: !Ue,
40842
40828
  format: { "code-block": !0 },
40843
40829
  handler: function(nt) {
40844
- var ot = Se.default.query("code-block"), yt = nt.index, Ct = nt.length, Pt = this.quill.scroll.descendant(ot, yt), qt = de(Pt, 2), Nt = qt[0], Ut = qt[1];
40830
+ var ot = Se.default.query("code-block"), yt = nt.index, Ct = nt.length, Pt = this.quill.scroll.descendant(ot, yt), zt = de(Pt, 2), Nt = zt[0], Ut = zt[1];
40845
40831
  if (Nt != null) {
40846
40832
  var ns = this.quill.getIndex(Nt), Xt = Nt.newlineIndex(Ut, !0) + 1, mt = Nt.newlineIndex(ns + Ut + Ct), vt = Nt.domNode.textContent.slice(Xt, mt).split(`
40847
40833
  `);
@@ -40883,17 +40869,17 @@ function requireQuill() {
40883
40869
  });
40884
40870
  var oe = /* @__PURE__ */ (function() {
40885
40871
  function ye(Ce, Se) {
40886
- var we = [], Ae = !0, Le = !1, ze = void 0;
40872
+ var we = [], Ae = !0, Le = !1, qe = void 0;
40887
40873
  try {
40888
40874
  for (var Fe = Ce[Symbol.iterator](), Be; !(Ae = (Be = Fe.next()).done) && (we.push(Be.value), !(Se && we.length === Se)); Ae = !0)
40889
40875
  ;
40890
40876
  } catch (Pe) {
40891
- Le = !0, ze = Pe;
40877
+ Le = !0, qe = Pe;
40892
40878
  } finally {
40893
40879
  try {
40894
40880
  !Ae && Fe.return && Fe.return();
40895
40881
  } finally {
40896
- if (Le) throw ze;
40882
+ if (Le) throw qe;
40897
40883
  }
40898
40884
  }
40899
40885
  return we;
@@ -40914,8 +40900,8 @@ function requireQuill() {
40914
40900
  } else {
40915
40901
  if ("value" in Ae)
40916
40902
  return Ae.value;
40917
- var ze = Ae.get;
40918
- return ze === void 0 ? void 0 : ze.call(we);
40903
+ var qe = Ae.get;
40904
+ return qe === void 0 ? void 0 : qe.call(we);
40919
40905
  }
40920
40906
  }, ce = /* @__PURE__ */ (function() {
40921
40907
  function ye(Ce, Se) {
@@ -40966,9 +40952,9 @@ function requireQuill() {
40966
40952
  value: function(we, Ae) {
40967
40953
  if (this._length !== 0)
40968
40954
  return de(Ce.prototype.__proto__ || Object.getPrototypeOf(Ce.prototype), "format", this).call(this, we, Ae);
40969
- for (var Le = this, ze = 0; Le != null && Le.statics.scope !== he.default.Scope.BLOCK_BLOT; )
40970
- ze += Le.offset(Le.parent), Le = Le.parent;
40971
- Le != null && (this._length = Ce.CONTENTS.length, Le.optimize(), Le.formatAt(ze, Ce.CONTENTS.length, we, Ae), this._length = 0);
40955
+ for (var Le = this, qe = 0; Le != null && Le.statics.scope !== he.default.Scope.BLOCK_BLOT; )
40956
+ qe += Le.offset(Le.parent), Le = Le.parent;
40957
+ Le != null && (this._length = Ce.CONTENTS.length, Le.optimize(), Le.formatAt(qe, Ce.CONTENTS.length, we, Ae), this._length = 0);
40972
40958
  }
40973
40959
  }, {
40974
40960
  key: "index",
@@ -40994,10 +40980,10 @@ function requireQuill() {
40994
40980
  key: "restore",
40995
40981
  value: function() {
40996
40982
  if (!(this.selection.composing || this.parent == null)) {
40997
- var we = this.textNode, Ae = this.selection.getNativeRange(), Le = void 0, ze = void 0, Fe = void 0;
40983
+ var we = this.textNode, Ae = this.selection.getNativeRange(), Le = void 0, qe = void 0, Fe = void 0;
40998
40984
  if (Ae != null && Ae.start.node === we && Ae.end.node === we) {
40999
40985
  var Be = [we, Ae.start.offset, Ae.end.offset];
41000
- Le = Be[0], ze = Be[1], Fe = Be[2];
40986
+ Le = Be[0], qe = Be[1], Fe = Be[2];
41001
40987
  }
41002
40988
  for (; this.domNode.lastChild != null && this.domNode.lastChild !== this.textNode; )
41003
40989
  this.domNode.parentNode.insertBefore(this.domNode.lastChild, this.domNode);
@@ -41005,13 +40991,13 @@ function requireQuill() {
41005
40991
  var Pe = this.textNode.data.split(Ce.CONTENTS).join("");
41006
40992
  this.next instanceof fe.default ? (Le = this.next.domNode, this.next.insertAt(0, Pe), this.textNode.data = Ce.CONTENTS) : (this.textNode.data = Pe, this.parent.insertBefore(he.default.create(this.textNode), this), this.textNode = document.createTextNode(Ce.CONTENTS), this.domNode.appendChild(this.textNode));
41007
40993
  }
41008
- if (this.remove(), ze != null) {
41009
- var Oe = [ze, Fe].map(function(Ie) {
40994
+ if (this.remove(), qe != null) {
40995
+ var Oe = [qe, Fe].map(function(Ie) {
41010
40996
  return Math.max(0, Math.min(Le.data.length, Ie - 1));
41011
- }), qe = oe(Oe, 2);
41012
- return ze = qe[0], Fe = qe[1], {
40997
+ }), ze = oe(Oe, 2);
40998
+ return qe = ze[0], Fe = ze[1], {
41013
40999
  startNode: Le,
41014
- startOffset: ze,
41000
+ startOffset: qe,
41015
41001
  endNode: Le,
41016
41002
  endOffset: Fe
41017
41003
  };
@@ -41025,8 +41011,8 @@ function requireQuill() {
41025
41011
  if (we.some(function(Fe) {
41026
41012
  return Fe.type === "characterData" && Fe.target === Le.textNode;
41027
41013
  })) {
41028
- var ze = this.restore();
41029
- ze && (Ae.range = ze);
41014
+ var qe = this.restore();
41015
+ qe && (Ae.range = qe);
41030
41016
  }
41031
41017
  }
41032
41018
  }, {
@@ -41368,7 +41354,7 @@ function requireQuill() {
41368
41354
  Object.defineProperty(re, "__esModule", {
41369
41355
  value: !0
41370
41356
  });
41371
- var oe = ne(0), de = Ge(oe), ce = ne(5), ue = Ge(ce), he = ne(4), pe = Ge(he), fe = ne(16), be = Ge(fe), ge = ne(25), ve = Ge(ge), me = ne(24), _e = Ge(me), ye = ne(36), Ce = Ge(ye), Se = ne(6), we = Ge(Se), Ae = ne(22), Le = Ge(Ae), ze = ne(7), Fe = Ge(ze), Be = ne(56), Pe = Ge(Be), Oe = ne(43), qe = Ge(Oe), Ie = ne(23), Ne = Ge(Ie);
41357
+ var oe = ne(0), de = Ge(oe), ce = ne(5), ue = Ge(ce), he = ne(4), pe = Ge(he), fe = ne(16), be = Ge(fe), ge = ne(25), ve = Ge(ge), me = ne(24), _e = Ge(me), ye = ne(36), Ce = Ge(ye), Se = ne(6), we = Ge(Se), Ae = ne(22), Le = Ge(Ae), qe = ne(7), Fe = Ge(qe), Be = ne(56), Pe = Ge(Be), Oe = ne(43), ze = Ge(Oe), Ie = ne(23), Ne = Ge(Ie);
41372
41358
  function Ge(Ze) {
41373
41359
  return Ze && Ze.__esModule ? Ze : { default: Ze };
41374
41360
  }
@@ -41383,7 +41369,7 @@ function requireQuill() {
41383
41369
  "blots/scroll": Le.default,
41384
41370
  "blots/text": Fe.default,
41385
41371
  "modules/clipboard": Pe.default,
41386
- "modules/history": qe.default,
41372
+ "modules/history": ze.default,
41387
41373
  "modules/keyboard": Ne.default
41388
41374
  }), de.default.register(pe.default, be.default, _e.default, we.default, Le.default, Fe.default), re.default = ue.default;
41389
41375
  }),
@@ -41607,19 +41593,19 @@ function requireQuill() {
41607
41593
  (function(X, re, ne) {
41608
41594
  Object.defineProperty(re, "__esModule", {
41609
41595
  value: !0
41610
- }), re.getRange = ze, re.internalGetShadowSelection = Be;
41596
+ }), re.getRange = qe, re.internalGetShadowSelection = Be;
41611
41597
  var oe = re.SHADOW_SELECTIONCHANGE = "-shadow-selectionchange", de = "attachShadow" in Element.prototype && "getRootNode" in Element.prototype, ce = !!(de && document.createElement("div").attachShadow({ mode: "open" }).getSelection), ue = window.ShadyDOM && window.ShadyDOM.inUse, he = /^((?!chrome|android).)*safari/i.test(navigator.userAgent) || /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream, pe = !de || ue || !ce && !he, fe = [Node.ELEMENT_NODE, Node.TEXT_NODE, Node.DOCUMENT_FRAGMENT_NODE];
41612
41598
  function be(Pe) {
41613
41599
  return fe.includes(Pe.nodeType);
41614
41600
  }
41615
- function ge(Pe, Oe, qe) {
41601
+ function ge(Pe, Oe, ze) {
41616
41602
  var Ie = Oe.childNodes || Oe.children;
41617
41603
  if (!Ie)
41618
41604
  return Oe;
41619
41605
  for (var Ne = 0; Ne < Ie.length; ++Ne) {
41620
- var Ge = qe ? Ne : Ie.length - 1 - Ne, Ze = Ie[Ge];
41606
+ var Ge = ze ? Ne : Ie.length - 1 - Ne, Ze = Ie[Ge];
41621
41607
  if (be(Ze) && Pe.containsNode(Ze, !0))
41622
- return Pe.containsNode(Ze, !1) ? Ze : ge(Pe, Ze, qe);
41608
+ return Pe.containsNode(Ze, !1) ? Ze : ge(Pe, Ze, ze);
41623
41609
  }
41624
41610
  return Oe;
41625
41611
  }
@@ -41630,14 +41616,14 @@ function requireQuill() {
41630
41616
  }), function() {
41631
41617
  };
41632
41618
  var Pe = !1, Oe = [];
41633
- return document.addEventListener("selectionchange", function(qe) {
41619
+ return document.addEventListener("selectionchange", function(ze) {
41634
41620
  Pe || (document.dispatchEvent(new CustomEvent(oe)), Pe = !0, window.setTimeout(function() {
41635
41621
  Pe = !1;
41636
41622
  }, 2), Oe.forEach(function(Ie) {
41637
- return Ie(qe);
41623
+ return Ie(ze);
41638
41624
  }));
41639
- }), function(qe) {
41640
- return Oe.push(qe);
41625
+ }), function(ze) {
41626
+ return Oe.push(ze);
41641
41627
  };
41642
41628
  })(), me = !1, _e = null;
41643
41629
  ve(function() {
@@ -41646,28 +41632,28 @@ function requireQuill() {
41646
41632
  me = !1, _e = null;
41647
41633
  }));
41648
41634
  });
41649
- function ye(Pe, Oe, qe) {
41650
- for (var Ie = Oe; (Oe = Se(Oe, qe)) && Oe.contains(Ie); )
41635
+ function ye(Pe, Oe, ze) {
41636
+ for (var Ie = Oe; (Oe = Se(Oe, ze)) && Oe.contains(Ie); )
41651
41637
  ;
41652
41638
  return Oe ? Oe instanceof Element && Pe.containsNode(Oe, !0) : !1;
41653
41639
  }
41654
- function Ce(Pe, Oe, qe) {
41640
+ function Ce(Pe, Oe, ze) {
41655
41641
  if (Pe.type === "Range") {
41656
41642
  var Ie = function() {
41657
41643
  return Pe.toString().length;
41658
41644
  }, Ne = Ie();
41659
- if (Ne === 1 && me && Oe === qe) {
41645
+ if (Ne === 1 && me && Oe === ze) {
41660
41646
  Pe.extend(Oe, 0), Pe.collapseToEnd();
41661
41647
  return;
41662
41648
  }
41663
41649
  var Ge = void 0;
41664
- if (Pe.modify("extend", "forward", "character"), Ge = Ie(), Ge > Ne || ye(Pe, qe, !0))
41650
+ if (Pe.modify("extend", "forward", "character"), Ge = Ie(), Ge > Ne || ye(Pe, ze, !0))
41665
41651
  return Pe.modify("extend", "backward", "character"), !0;
41666
41652
  if (Ge < Ne || !Pe.containsNode(Oe))
41667
41653
  return Pe.modify("extend", "backward", "character"), !1;
41668
41654
  if (Pe.modify("extend", "backward", "character"), Ge = Ie(), Ge > Ne || ye(Pe, Oe, !1))
41669
41655
  return Pe.modify("extend", "forward", "character"), !1;
41670
- if (Ge < Ne || !Pe.containsNode(qe))
41656
+ if (Ge < Ne || !Pe.containsNode(ze))
41671
41657
  return Pe.modify("extend", "forward", "character"), !0;
41672
41658
  }
41673
41659
  }
@@ -41691,14 +41677,14 @@ function requireQuill() {
41691
41677
  return Oe ? Oe - 1 : 0;
41692
41678
  }
41693
41679
  var Le = /* @__PURE__ */ new Map();
41694
- function ze(Pe) {
41680
+ function qe(Pe) {
41695
41681
  if (ce || pe) {
41696
41682
  var Oe = (pe ? document : Pe).getSelection();
41697
41683
  return Oe.rangeCount ? Oe.getRangeAt(0) : null;
41698
41684
  }
41699
- var qe = Le.get(Pe);
41700
- if (qe)
41701
- return qe;
41685
+ var ze = Le.get(Pe);
41686
+ if (ze)
41687
+ return ze;
41702
41688
  var Ie = Be(Pe);
41703
41689
  return Le.set(Pe, Ie.range), window.setTimeout(function() {
41704
41690
  Le.delete(Pe);
@@ -41706,34 +41692,34 @@ function requireQuill() {
41706
41692
  }
41707
41693
  var Fe = document.createTextNode("");
41708
41694
  function Be(Pe) {
41709
- var Oe = document.createRange(), qe = window.getSelection();
41710
- if (!qe.containsNode(Pe.host, !0))
41695
+ var Oe = document.createRange(), ze = window.getSelection();
41696
+ if (!ze.containsNode(Pe.host, !0))
41711
41697
  return { range: null, mode: "none" };
41712
41698
  Pe.insertBefore(Fe, Pe.childNodes[0]);
41713
- var Ie = qe.containsNode(Fe);
41699
+ var Ie = ze.containsNode(Fe);
41714
41700
  if (Fe.remove(), Ie)
41715
41701
  return { range: null, mode: "outside-before" };
41716
41702
  Pe.appendChild(Fe);
41717
- var Ne = qe.containsNode(Fe);
41703
+ var Ne = ze.containsNode(Fe);
41718
41704
  if (Fe.remove(), Ne)
41719
41705
  return { range: null, mode: "outside-after" };
41720
41706
  var Ge = function() {
41721
- return qe.toString().length;
41707
+ return ze.toString().length;
41722
41708
  };
41723
- if (!(qe.type === "Caret" || qe.type === "Range"))
41724
- throw new TypeError("unexpected type: " + qe.type);
41725
- var Ze = ge(qe, Pe, !0), Ke = void 0, bt = void 0;
41726
- if (qe.type === "Range" && (Ke = ge(qe, Pe, !1), bt = Ce(qe, Ze, Ke)), qe.type === "Caret") {
41727
- qe.extend(Ze, 0);
41709
+ if (!(ze.type === "Caret" || ze.type === "Range"))
41710
+ throw new TypeError("unexpected type: " + ze.type);
41711
+ var Ze = ge(ze, Pe, !0), Ke = void 0, bt = void 0;
41712
+ if (ze.type === "Range" && (Ke = ge(ze, Pe, !1), bt = Ce(ze, Ze, Ke)), ze.type === "Caret") {
41713
+ ze.extend(Ze, 0);
41728
41714
  var Je = Ge();
41729
- return qe.collapseToEnd(), Oe.setStart(Ze, Je), Oe.setEnd(Ze, Je), { range: Oe, mode: "caret" };
41715
+ return ze.collapseToEnd(), Oe.setStart(Ze, Je), Oe.setEnd(Ze, Je), { range: Oe, mode: "caret" };
41730
41716
  } else if (bt === void 0) {
41731
- if (qe.type !== "Range")
41732
- throw new TypeError("unexpected type: " + qe.type);
41717
+ if (ze.type !== "Range")
41718
+ throw new TypeError("unexpected type: " + ze.type);
41733
41719
  return Oe.setStart(Ze, 0), Oe.setEnd(Ke, Ke.length), { range: Oe, mode: "all" };
41734
41720
  }
41735
41721
  var Ye = Ge(), Me = void 0, We = void 0, je = Ke.length - Ae(Ke);
41736
- return bt ? (qe.extend(Ze, 0), Me = Ge() + we(Ze), qe.extend(Ke, je), We = je - (Ge() - Ye), qe.extend(Ke, We)) : (qe.extend(Ke, je), We = je - Ge(), qe.extend(Ze, 0), Me = Ge() - Ye + we(Ze), qe.extend(Ze, Me)), Oe.setStart(Ze, Me), Oe.setEnd(Ke, We), {
41722
+ return bt ? (ze.extend(Ze, 0), Me = Ge() + we(Ze), ze.extend(Ke, je), We = je - (Ge() - Ye), ze.extend(Ke, We)) : (ze.extend(Ke, je), We = je - Ge(), ze.extend(Ze, 0), Me = Ge() - Ye + we(Ze), ze.extend(Ze, Me)), Oe.setStart(Ze, Me), Oe.setEnd(Ke, We), {
41737
41723
  mode: bt ? "right" : "left",
41738
41724
  range: Oe
41739
41725
  };
@@ -41811,8 +41797,8 @@ function requireQuill() {
41811
41797
  } else {
41812
41798
  if ("value" in Ae)
41813
41799
  return Ae.value;
41814
- var ze = Ae.get;
41815
- return ze === void 0 ? void 0 : ze.call(we);
41800
+ var qe = Ae.get;
41801
+ return qe === void 0 ? void 0 : qe.call(we);
41816
41802
  }
41817
41803
  }, ce = ne(0), ue = fe(ce), he = ne(7), pe = fe(he);
41818
41804
  function fe(ye) {
@@ -41849,25 +41835,25 @@ function requireQuill() {
41849
41835
  }, {
41850
41836
  key: "restore",
41851
41837
  value: function(we) {
41852
- var Ae = void 0, Le = void 0, ze = we.data.split(me).join("");
41838
+ var Ae = void 0, Le = void 0, qe = we.data.split(me).join("");
41853
41839
  if (we === this.leftGuard)
41854
41840
  if (this.prev instanceof pe.default) {
41855
41841
  var Fe = this.prev.length();
41856
- this.prev.insertAt(Fe, ze), Ae = {
41842
+ this.prev.insertAt(Fe, qe), Ae = {
41857
41843
  startNode: this.prev.domNode,
41858
- startOffset: Fe + ze.length
41844
+ startOffset: Fe + qe.length
41859
41845
  };
41860
41846
  } else
41861
- Le = document.createTextNode(ze), this.parent.insertBefore(ue.default.create(Le), this), Ae = {
41847
+ Le = document.createTextNode(qe), this.parent.insertBefore(ue.default.create(Le), this), Ae = {
41862
41848
  startNode: Le,
41863
- startOffset: ze.length
41849
+ startOffset: qe.length
41864
41850
  };
41865
- else we === this.rightGuard && (this.next instanceof pe.default ? (this.next.insertAt(0, ze), Ae = {
41851
+ else we === this.rightGuard && (this.next instanceof pe.default ? (this.next.insertAt(0, qe), Ae = {
41866
41852
  startNode: this.next.domNode,
41867
- startOffset: ze.length
41868
- }) : (Le = document.createTextNode(ze), this.parent.insertBefore(ue.default.create(Le), this.next), Ae = {
41853
+ startOffset: qe.length
41854
+ }) : (Le = document.createTextNode(qe), this.parent.insertBefore(ue.default.create(Le), this.next), Ae = {
41869
41855
  startNode: Le,
41870
- startOffset: ze.length
41856
+ startOffset: qe.length
41871
41857
  }));
41872
41858
  return we.data = me, Ae;
41873
41859
  }
@@ -41875,9 +41861,9 @@ function requireQuill() {
41875
41861
  key: "update",
41876
41862
  value: function(we, Ae) {
41877
41863
  var Le = this;
41878
- we.forEach(function(ze) {
41879
- if (ze.type === "characterData" && (ze.target === Le.leftGuard || ze.target === Le.rightGuard)) {
41880
- var Fe = Le.restore(ze.target);
41864
+ we.forEach(function(qe) {
41865
+ if (qe.type === "characterData" && (qe.target === Le.leftGuard || qe.target === Le.rightGuard)) {
41866
+ var Fe = Le.restore(qe.target);
41881
41867
  Fe && (Ae.range = Fe);
41882
41868
  }
41883
41869
  });
@@ -41960,8 +41946,8 @@ function requireQuill() {
41960
41946
  } else {
41961
41947
  if ("value" in Ae)
41962
41948
  return Ae.value;
41963
- var ze = Ae.get;
41964
- return ze === void 0 ? void 0 : ze.call(we);
41949
+ var qe = Ae.get;
41950
+ return qe === void 0 ? void 0 : qe.call(we);
41965
41951
  }
41966
41952
  }, ce = ne(0), ue = he(ce);
41967
41953
  function he(ye) {
@@ -42079,8 +42065,8 @@ function requireQuill() {
42079
42065
  var oe = /* @__PURE__ */ (function() {
42080
42066
  function Se(we, Ae) {
42081
42067
  for (var Le = 0; Le < Ae.length; Le++) {
42082
- var ze = Ae[Le];
42083
- ze.enumerable = ze.enumerable || !1, ze.configurable = !0, "value" in ze && (ze.writable = !0), Object.defineProperty(we, ze.key, ze);
42068
+ var qe = Ae[Le];
42069
+ qe.enumerable = qe.enumerable || !1, qe.configurable = !0, "value" in qe && (qe.writable = !0), Object.defineProperty(we, qe.key, qe);
42084
42070
  }
42085
42071
  }
42086
42072
  return function(we, Ae, Le) {
@@ -42108,17 +42094,17 @@ function requireQuill() {
42108
42094
  me(we, Se);
42109
42095
  function we(Ae, Le) {
42110
42096
  ge(this, we);
42111
- var ze = ve(this, (we.__proto__ || Object.getPrototypeOf(we)).call(this, Ae, Le));
42112
- return ze.lastRecorded = 0, ze.ignoreChange = !1, ze.clear(), ze.quill.on(he.default.events.EDITOR_CHANGE, function(Fe, Be, Pe, Oe) {
42113
- Fe !== he.default.events.TEXT_CHANGE || ze.ignoreChange || (!ze.options.userOnly || Oe === he.default.sources.USER ? ze.record(Be, Pe) : ze.transform(Be));
42114
- }), ze.quill.keyboard.addBinding({ key: "Z", shortKey: !0 }, ze.undo.bind(ze)), ze.quill.keyboard.addBinding({ key: "Z", shortKey: !0, shiftKey: !0 }, ze.redo.bind(ze)), /Win/i.test(navigator.platform) && ze.quill.keyboard.addBinding({ key: "Y", shortKey: !0 }, ze.redo.bind(ze)), ze;
42097
+ var qe = ve(this, (we.__proto__ || Object.getPrototypeOf(we)).call(this, Ae, Le));
42098
+ return qe.lastRecorded = 0, qe.ignoreChange = !1, qe.clear(), qe.quill.on(he.default.events.EDITOR_CHANGE, function(Fe, Be, Pe, Oe) {
42099
+ Fe !== he.default.events.TEXT_CHANGE || qe.ignoreChange || (!qe.options.userOnly || Oe === he.default.sources.USER ? qe.record(Be, Pe) : qe.transform(Be));
42100
+ }), qe.quill.keyboard.addBinding({ key: "Z", shortKey: !0 }, qe.undo.bind(qe)), qe.quill.keyboard.addBinding({ key: "Z", shortKey: !0, shiftKey: !0 }, qe.redo.bind(qe)), /Win/i.test(navigator.platform) && qe.quill.keyboard.addBinding({ key: "Y", shortKey: !0 }, qe.redo.bind(qe)), qe;
42115
42101
  }
42116
42102
  return oe(we, [{
42117
42103
  key: "change",
42118
- value: function(Le, ze) {
42104
+ value: function(Le, qe) {
42119
42105
  if (this.stack[Le].length !== 0) {
42120
42106
  var Fe = this.stack[Le].pop();
42121
- this.stack[ze].push(Fe), this.lastRecorded = 0, this.ignoreChange = !0, this.quill.updateContents(Fe[Le], he.default.sources.USER), this.ignoreChange = !1;
42107
+ this.stack[qe].push(Fe), this.lastRecorded = 0, this.ignoreChange = !0, this.quill.updateContents(Fe[Le], he.default.sources.USER), this.ignoreChange = !1;
42122
42108
  var Be = Ce(Fe[Le]);
42123
42109
  this.quill.setSelection(Be);
42124
42110
  }
@@ -42135,10 +42121,10 @@ function requireQuill() {
42135
42121
  }
42136
42122
  }, {
42137
42123
  key: "record",
42138
- value: function(Le, ze) {
42124
+ value: function(Le, qe) {
42139
42125
  if (Le.ops.length !== 0) {
42140
42126
  this.stack.redo = [];
42141
- var Fe = this.quill.getContents().diff(ze), Be = Date.now();
42127
+ var Fe = this.quill.getContents().diff(qe), Be = Date.now();
42142
42128
  if (this.lastRecorded + this.options.delay > Be && this.stack.undo.length > 0) {
42143
42129
  var Pe = this.stack.undo.pop();
42144
42130
  Fe = Fe.compose(Pe.undo), Le = Pe.redo.compose(Le);
@@ -42158,10 +42144,10 @@ function requireQuill() {
42158
42144
  }, {
42159
42145
  key: "transform",
42160
42146
  value: function(Le) {
42161
- this.stack.undo.forEach(function(ze) {
42162
- ze.undo = Le.transform(ze.undo, !0), ze.redo = Le.transform(ze.redo, !0);
42163
- }), this.stack.redo.forEach(function(ze) {
42164
- ze.undo = Le.transform(ze.undo, !0), ze.redo = Le.transform(ze.redo, !0);
42147
+ this.stack.undo.forEach(function(qe) {
42148
+ qe.undo = Le.transform(qe.undo, !0), qe.redo = Le.transform(qe.redo, !0);
42149
+ }), this.stack.redo.forEach(function(qe) {
42150
+ qe.undo = Le.transform(qe.undo, !0), qe.redo = Le.transform(qe.redo, !0);
42165
42151
  });
42166
42152
  }
42167
42153
  }, {
@@ -42184,8 +42170,8 @@ function requireQuill() {
42184
42170
  }) : !1;
42185
42171
  }
42186
42172
  function Ce(Se) {
42187
- var we = Se.reduce(function(Le, ze) {
42188
- return Le += ze.delete || 0, Le;
42173
+ var we = Se.reduce(function(Le, qe) {
42174
+ return Le += qe.delete || 0, Le;
42189
42175
  }, 0), Ae = Se.length() - we;
42190
42176
  return ye(Se) && (Ae -= 1), Ae;
42191
42177
  }
@@ -42219,7 +42205,7 @@ function requireQuill() {
42219
42205
  var nt = Ue.get;
42220
42206
  return nt === void 0 ? void 0 : nt.call(tt);
42221
42207
  }
42222
- }, ce = ne(3), ue = Be(ce), he = ne(2), pe = Be(he), fe = ne(8), be = Be(fe), ge = ne(23), ve = Be(ge), me = ne(35), _e = Be(me), ye = ne(60), Ce = Be(ye), Se = ne(61), we = Be(Se), Ae = ne(28), Le = Be(Ae), ze = ne(62), Fe = Be(ze);
42208
+ }, ce = ne(3), ue = Be(ce), he = ne(2), pe = Be(he), fe = ne(8), be = Be(fe), ge = ne(23), ve = Be(ge), me = ne(35), _e = Be(me), ye = ne(60), Ce = Be(ye), Se = ne(61), we = Be(Se), Ae = ne(28), Le = Be(Ae), qe = ne(62), Fe = Be(qe);
42223
42209
  function Be(We) {
42224
42210
  return We && We.__esModule ? We : { default: We };
42225
42211
  }
@@ -42232,13 +42218,13 @@ function requireQuill() {
42232
42218
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
42233
42219
  return je && (typeof je == "object" || typeof je == "function") ? je : We;
42234
42220
  }
42235
- function qe(We, je) {
42221
+ function ze(We, je) {
42236
42222
  if (typeof je != "function" && je !== null)
42237
42223
  throw new TypeError("Super expression must either be null or a function, not " + typeof je);
42238
42224
  We.prototype = Object.create(je && je.prototype, { constructor: { value: We, enumerable: !1, writable: !0, configurable: !0 } }), je && (Object.setPrototypeOf ? Object.setPrototypeOf(We, je) : We.__proto__ = je);
42239
42225
  }
42240
42226
  var Ie = [!1, "center", "right", "justify"], Ne = ["#000000", "#e60000", "#ff9900", "#ffff00", "#008a00", "#0066cc", "#9933ff", "#ffffff", "#facccc", "#ffebcc", "#ffffcc", "#cce8cc", "#cce0f5", "#ebd6ff", "#bbbbbb", "#f06666", "#ffc266", "#ffff66", "#66b966", "#66a3e0", "#c285ff", "#888888", "#a10000", "#b26b00", "#b2b200", "#006100", "#0047b2", "#6b24b2", "#444444", "#5c0000", "#663d00", "#666600", "#003700", "#002966", "#3d1466"], Ge = [!1, "serif", "monospace"], Ze = ["1", "2", "3", !1], Ke = ["petita", !1, "gran", "enorme"], bt = (function(We) {
42241
- qe(je, We);
42227
+ ze(je, We);
42242
42228
  function je(Xe, tt) {
42243
42229
  Pe(this, je);
42244
42230
  var Ue = Oe(this, (je.__proto__ || Object.getPrototypeOf(je)).call(this, Xe, tt)), Qe = function nt(ot) {
@@ -42323,7 +42309,7 @@ function requireQuill() {
42323
42309
  }
42324
42310
  });
42325
42311
  var Je = (function(We) {
42326
- qe(je, We);
42312
+ ze(je, We);
42327
42313
  function je(Xe, tt) {
42328
42314
  Pe(this, je);
42329
42315
  var Ue = Oe(this, (je.__proto__ || Object.getPrototypeOf(je)).call(this, Xe, tt));
@@ -42520,8 +42506,8 @@ function requireQuill() {
42520
42506
  throw new Error("[Parchment] Maximum optimize iterations reached");
42521
42507
  for (Se.forEach(function(Ae) {
42522
42508
  var Le = ce.find(Ae.target, !0);
42523
- Le != null && (Le.domNode === Ae.target && (Ae.type === "childList" ? (ye(ce.find(Ae.previousSibling, !1)), [].forEach.call(Ae.addedNodes, function(ze) {
42524
- var Fe = ce.find(ze, !1);
42509
+ Le != null && (Le.domNode === Ae.target && (Ae.type === "childList" ? (ye(ce.find(Ae.previousSibling, !1)), [].forEach.call(Ae.addedNodes, function(qe) {
42510
+ var Fe = ce.find(qe, !1);
42525
42511
  ye(Fe, !1), Fe instanceof de.default && Fe.children.forEach(function(Be) {
42526
42512
  ye(Be, !1);
42527
42513
  });
@@ -42790,10 +42776,10 @@ function requireQuill() {
42790
42776
  if (we == Ae)
42791
42777
  return we ? [[de, we]] : [];
42792
42778
  (Le < 0 || we.length < Le) && (Le = null);
42793
- var ze = fe(we, Ae), Fe = we.substring(0, ze);
42794
- we = we.substring(ze), Ae = Ae.substring(ze), ze = be(we, Ae);
42795
- var Be = we.substring(we.length - ze);
42796
- we = we.substring(0, we.length - ze), Ae = Ae.substring(0, Ae.length - ze);
42779
+ var qe = fe(we, Ae), Fe = we.substring(0, qe);
42780
+ we = we.substring(qe), Ae = Ae.substring(qe), qe = be(we, Ae);
42781
+ var Be = we.substring(we.length - qe);
42782
+ we = we.substring(0, we.length - qe), Ae = Ae.substring(0, Ae.length - qe);
42797
42783
  var Pe = ue(we, Ae);
42798
42784
  return Fe && Pe.unshift([de, Fe]), Be && Pe.push([de, Be]), ve(Pe), Le != null && (Pe = ye(Pe, Le)), Pe = Ce(Pe), Pe;
42799
42785
  }
@@ -42803,40 +42789,40 @@ function requireQuill() {
42803
42789
  return [[oe, Ae]];
42804
42790
  if (!Ae)
42805
42791
  return [[ne, we]];
42806
- var ze = we.length > Ae.length ? we : Ae, Fe = we.length > Ae.length ? Ae : we, Be = ze.indexOf(Fe);
42792
+ var qe = we.length > Ae.length ? we : Ae, Fe = we.length > Ae.length ? Ae : we, Be = qe.indexOf(Fe);
42807
42793
  if (Be != -1)
42808
42794
  return Le = [
42809
- [oe, ze.substring(0, Be)],
42795
+ [oe, qe.substring(0, Be)],
42810
42796
  [de, Fe],
42811
- [oe, ze.substring(Be + Fe.length)]
42797
+ [oe, qe.substring(Be + Fe.length)]
42812
42798
  ], we.length > Ae.length && (Le[0][0] = Le[2][0] = ne), Le;
42813
42799
  if (Fe.length == 1)
42814
42800
  return [[ne, we], [oe, Ae]];
42815
42801
  var Pe = ge(we, Ae);
42816
42802
  if (Pe) {
42817
- var Oe = Pe[0], qe = Pe[1], Ie = Pe[2], Ne = Pe[3], Ge = Pe[4], Ze = ce(Oe, Ie), Ke = ce(qe, Ne);
42803
+ var Oe = Pe[0], ze = Pe[1], Ie = Pe[2], Ne = Pe[3], Ge = Pe[4], Ze = ce(Oe, Ie), Ke = ce(ze, Ne);
42818
42804
  return Ze.concat([[de, Ge]], Ke);
42819
42805
  }
42820
42806
  return he(we, Ae);
42821
42807
  }
42822
42808
  function he(we, Ae) {
42823
- for (var Le = we.length, ze = Ae.length, Fe = Math.ceil((Le + ze) / 2), Be = Fe, Pe = 2 * Fe, Oe = new Array(Pe), qe = new Array(Pe), Ie = 0; Ie < Pe; Ie++)
42824
- Oe[Ie] = -1, qe[Ie] = -1;
42825
- Oe[Be + 1] = 0, qe[Be + 1] = 0;
42826
- for (var Ne = Le - ze, Ge = Ne % 2 != 0, Ze = 0, Ke = 0, bt = 0, Je = 0, Ye = 0; Ye < Fe; Ye++) {
42809
+ for (var Le = we.length, qe = Ae.length, Fe = Math.ceil((Le + qe) / 2), Be = Fe, Pe = 2 * Fe, Oe = new Array(Pe), ze = new Array(Pe), Ie = 0; Ie < Pe; Ie++)
42810
+ Oe[Ie] = -1, ze[Ie] = -1;
42811
+ Oe[Be + 1] = 0, ze[Be + 1] = 0;
42812
+ for (var Ne = Le - qe, Ge = Ne % 2 != 0, Ze = 0, Ke = 0, bt = 0, Je = 0, Ye = 0; Ye < Fe; Ye++) {
42827
42813
  for (var Me = -Ye + Ze; Me <= Ye - Ke; Me += 2) {
42828
42814
  var We = Be + Me, je;
42829
42815
  Me == -Ye || Me != Ye && Oe[We - 1] < Oe[We + 1] ? je = Oe[We + 1] : je = Oe[We - 1] + 1;
42830
- for (var Xe = je - Me; je < Le && Xe < ze && we.charAt(je) == Ae.charAt(Xe); )
42816
+ for (var Xe = je - Me; je < Le && Xe < qe && we.charAt(je) == Ae.charAt(Xe); )
42831
42817
  je++, Xe++;
42832
42818
  if (Oe[We] = je, je > Le)
42833
42819
  Ke += 2;
42834
- else if (Xe > ze)
42820
+ else if (Xe > qe)
42835
42821
  Ze += 2;
42836
42822
  else if (Ge) {
42837
42823
  var tt = Be + Ne - Me;
42838
- if (tt >= 0 && tt < Pe && qe[tt] != -1) {
42839
- var Ue = Le - qe[tt];
42824
+ if (tt >= 0 && tt < Pe && ze[tt] != -1) {
42825
+ var Ue = Le - ze[tt];
42840
42826
  if (je >= Ue)
42841
42827
  return pe(we, Ae, je, Xe);
42842
42828
  }
@@ -42844,12 +42830,12 @@ function requireQuill() {
42844
42830
  }
42845
42831
  for (var Qe = -Ye + bt; Qe <= Ye - Je; Qe += 2) {
42846
42832
  var tt = Be + Qe, Ue;
42847
- Qe == -Ye || Qe != Ye && qe[tt - 1] < qe[tt + 1] ? Ue = qe[tt + 1] : Ue = qe[tt - 1] + 1;
42848
- for (var nt = Ue - Qe; Ue < Le && nt < ze && we.charAt(Le - Ue - 1) == Ae.charAt(ze - nt - 1); )
42833
+ Qe == -Ye || Qe != Ye && ze[tt - 1] < ze[tt + 1] ? Ue = ze[tt + 1] : Ue = ze[tt - 1] + 1;
42834
+ for (var nt = Ue - Qe; Ue < Le && nt < qe && we.charAt(Le - Ue - 1) == Ae.charAt(qe - nt - 1); )
42849
42835
  Ue++, nt++;
42850
- if (qe[tt] = Ue, Ue > Le)
42836
+ if (ze[tt] = Ue, Ue > Le)
42851
42837
  Je += 2;
42852
- else if (nt > ze)
42838
+ else if (nt > qe)
42853
42839
  bt += 2;
42854
42840
  else if (!Ge) {
42855
42841
  var We = Be + Ne - Qe;
@@ -42863,27 +42849,27 @@ function requireQuill() {
42863
42849
  }
42864
42850
  return [[ne, we], [oe, Ae]];
42865
42851
  }
42866
- function pe(we, Ae, Le, ze) {
42867
- var Fe = we.substring(0, Le), Be = Ae.substring(0, ze), Pe = we.substring(Le), Oe = Ae.substring(ze), qe = ce(Fe, Be), Ie = ce(Pe, Oe);
42868
- return qe.concat(Ie);
42852
+ function pe(we, Ae, Le, qe) {
42853
+ var Fe = we.substring(0, Le), Be = Ae.substring(0, qe), Pe = we.substring(Le), Oe = Ae.substring(qe), ze = ce(Fe, Be), Ie = ce(Pe, Oe);
42854
+ return ze.concat(Ie);
42869
42855
  }
42870
42856
  function fe(we, Ae) {
42871
42857
  if (!we || !Ae || we.charAt(0) != Ae.charAt(0))
42872
42858
  return 0;
42873
- for (var Le = 0, ze = Math.min(we.length, Ae.length), Fe = ze, Be = 0; Le < Fe; )
42874
- we.substring(Be, Fe) == Ae.substring(Be, Fe) ? (Le = Fe, Be = Le) : ze = Fe, Fe = Math.floor((ze - Le) / 2 + Le);
42859
+ for (var Le = 0, qe = Math.min(we.length, Ae.length), Fe = qe, Be = 0; Le < Fe; )
42860
+ we.substring(Be, Fe) == Ae.substring(Be, Fe) ? (Le = Fe, Be = Le) : qe = Fe, Fe = Math.floor((qe - Le) / 2 + Le);
42875
42861
  return Fe;
42876
42862
  }
42877
42863
  function be(we, Ae) {
42878
42864
  if (!we || !Ae || we.charAt(we.length - 1) != Ae.charAt(Ae.length - 1))
42879
42865
  return 0;
42880
- for (var Le = 0, ze = Math.min(we.length, Ae.length), Fe = ze, Be = 0; Le < Fe; )
42881
- we.substring(we.length - Fe, we.length - Be) == Ae.substring(Ae.length - Fe, Ae.length - Be) ? (Le = Fe, Be = Le) : ze = Fe, Fe = Math.floor((ze - Le) / 2 + Le);
42866
+ for (var Le = 0, qe = Math.min(we.length, Ae.length), Fe = qe, Be = 0; Le < Fe; )
42867
+ we.substring(we.length - Fe, we.length - Be) == Ae.substring(Ae.length - Fe, Ae.length - Be) ? (Le = Fe, Be = Le) : qe = Fe, Fe = Math.floor((qe - Le) / 2 + Le);
42882
42868
  return Fe;
42883
42869
  }
42884
42870
  function ge(we, Ae) {
42885
- var Le = we.length > Ae.length ? we : Ae, ze = we.length > Ae.length ? Ae : we;
42886
- if (Le.length < 4 || ze.length * 2 < Le.length)
42871
+ var Le = we.length > Ae.length ? we : Ae, qe = we.length > Ae.length ? Ae : we;
42872
+ if (Le.length < 4 || qe.length * 2 < Le.length)
42887
42873
  return null;
42888
42874
  function Fe(Ke, bt, Je) {
42889
42875
  for (var Ye = Ke.substring(Je, Je + Math.floor(Ke.length / 4)), Me = -1, We = "", je, Xe, tt, Ue; (Me = bt.indexOf(Ye, Me + 1)) != -1; ) {
@@ -42906,49 +42892,49 @@ function requireQuill() {
42906
42892
  }
42907
42893
  var Be = Fe(
42908
42894
  Le,
42909
- ze,
42895
+ qe,
42910
42896
  Math.ceil(Le.length / 4)
42911
42897
  ), Pe = Fe(
42912
42898
  Le,
42913
- ze,
42899
+ qe,
42914
42900
  Math.ceil(Le.length / 2)
42915
42901
  ), Oe;
42916
42902
  if (!Be && !Pe)
42917
42903
  return null;
42918
42904
  Pe ? Be ? Oe = Be[4].length > Pe[4].length ? Be : Pe : Oe = Pe : Oe = Be;
42919
- var qe, Ie, Ne, Ge;
42920
- we.length > Ae.length ? (qe = Oe[0], Ie = Oe[1], Ne = Oe[2], Ge = Oe[3]) : (Ne = Oe[0], Ge = Oe[1], qe = Oe[2], Ie = Oe[3]);
42905
+ var ze, Ie, Ne, Ge;
42906
+ we.length > Ae.length ? (ze = Oe[0], Ie = Oe[1], Ne = Oe[2], Ge = Oe[3]) : (Ne = Oe[0], Ge = Oe[1], ze = Oe[2], Ie = Oe[3]);
42921
42907
  var Ze = Oe[4];
42922
- return [qe, Ie, Ne, Ge, Ze];
42908
+ return [ze, Ie, Ne, Ge, Ze];
42923
42909
  }
42924
42910
  function ve(we) {
42925
42911
  we.push([de, ""]);
42926
- for (var Ae = 0, Le = 0, ze = 0, Fe = "", Be = "", Pe; Ae < we.length; )
42912
+ for (var Ae = 0, Le = 0, qe = 0, Fe = "", Be = "", Pe; Ae < we.length; )
42927
42913
  switch (we[Ae][0]) {
42928
42914
  case oe:
42929
- ze++, Be += we[Ae][1], Ae++;
42915
+ qe++, Be += we[Ae][1], Ae++;
42930
42916
  break;
42931
42917
  case ne:
42932
42918
  Le++, Fe += we[Ae][1], Ae++;
42933
42919
  break;
42934
42920
  case de:
42935
- Le + ze > 1 ? (Le !== 0 && ze !== 0 && (Pe = fe(Be, Fe), Pe !== 0 && (Ae - Le - ze > 0 && we[Ae - Le - ze - 1][0] == de ? we[Ae - Le - ze - 1][1] += Be.substring(0, Pe) : (we.splice(0, 0, [
42921
+ Le + qe > 1 ? (Le !== 0 && qe !== 0 && (Pe = fe(Be, Fe), Pe !== 0 && (Ae - Le - qe > 0 && we[Ae - Le - qe - 1][0] == de ? we[Ae - Le - qe - 1][1] += Be.substring(0, Pe) : (we.splice(0, 0, [
42936
42922
  de,
42937
42923
  Be.substring(0, Pe)
42938
42924
  ]), Ae++), Be = Be.substring(Pe), Fe = Fe.substring(Pe)), Pe = be(Be, Fe), Pe !== 0 && (we[Ae][1] = Be.substring(Be.length - Pe) + we[Ae][1], Be = Be.substring(0, Be.length - Pe), Fe = Fe.substring(0, Fe.length - Pe))), Le === 0 ? we.splice(
42939
- Ae - ze,
42940
- Le + ze,
42925
+ Ae - qe,
42926
+ Le + qe,
42941
42927
  [oe, Be]
42942
- ) : ze === 0 ? we.splice(
42928
+ ) : qe === 0 ? we.splice(
42943
42929
  Ae - Le,
42944
- Le + ze,
42930
+ Le + qe,
42945
42931
  [ne, Fe]
42946
42932
  ) : we.splice(
42947
- Ae - Le - ze,
42948
- Le + ze,
42933
+ Ae - Le - qe,
42934
+ Le + qe,
42949
42935
  [ne, Fe],
42950
42936
  [oe, Be]
42951
- ), Ae = Ae - Le - ze + (Le ? 1 : 0) + (ze ? 1 : 0) + 1) : Ae !== 0 && we[Ae - 1][0] == de ? (we[Ae - 1][1] += we[Ae][1], we.splice(Ae, 1)) : Ae++, ze = 0, Le = 0, Fe = "", Be = "";
42937
+ ), Ae = Ae - Le - qe + (Le ? 1 : 0) + (qe ? 1 : 0) + 1) : Ae !== 0 && we[Ae - 1][0] == de ? (we[Ae - 1][1] += we[Ae][1], we.splice(Ae, 1)) : Ae++, qe = 0, Le = 0, Fe = "", Be = "";
42952
42938
  break;
42953
42939
  }
42954
42940
  we[we.length - 1][1] === "" && we.pop();
@@ -42962,16 +42948,16 @@ function requireQuill() {
42962
42948
  function _e(we, Ae) {
42963
42949
  if (Ae === 0)
42964
42950
  return [de, we];
42965
- for (var Le = 0, ze = 0; ze < we.length; ze++) {
42966
- var Fe = we[ze];
42951
+ for (var Le = 0, qe = 0; qe < we.length; qe++) {
42952
+ var Fe = we[qe];
42967
42953
  if (Fe[0] === ne || Fe[0] === de) {
42968
42954
  var Be = Le + Fe[1].length;
42969
42955
  if (Ae === Be)
42970
- return [ze + 1, we];
42956
+ return [qe + 1, we];
42971
42957
  if (Ae < Be) {
42972
42958
  we = we.slice();
42973
- var Pe = Ae - Le, Oe = [Fe[0], Fe[1].slice(0, Pe)], qe = [Fe[0], Fe[1].slice(Pe)];
42974
- return we.splice(ze, 1, Oe, qe), [ze + 1, we];
42959
+ var Pe = Ae - Le, Oe = [Fe[0], Fe[1].slice(0, Pe)], ze = [Fe[0], Fe[1].slice(Pe)];
42960
+ return we.splice(qe, 1, Oe, ze), [qe + 1, we];
42975
42961
  } else
42976
42962
  Le = Be;
42977
42963
  }
@@ -42979,27 +42965,27 @@ function requireQuill() {
42979
42965
  throw new Error("cursor_pos is out of bounds!");
42980
42966
  }
42981
42967
  function ye(we, Ae) {
42982
- var Le = _e(we, Ae), ze = Le[1], Fe = Le[0], Be = ze[Fe], Pe = ze[Fe + 1];
42968
+ var Le = _e(we, Ae), qe = Le[1], Fe = Le[0], Be = qe[Fe], Pe = qe[Fe + 1];
42983
42969
  if (Be == null)
42984
42970
  return we;
42985
42971
  if (Be[0] !== de)
42986
42972
  return we;
42987
42973
  if (Pe != null && Be[1] + Pe[1] === Pe[1] + Be[1])
42988
- return ze.splice(Fe, 2, Pe, Be), Se(ze, Fe, 2);
42974
+ return qe.splice(Fe, 2, Pe, Be), Se(qe, Fe, 2);
42989
42975
  if (Pe != null && Pe[1].indexOf(Be[1]) === 0) {
42990
- ze.splice(Fe, 2, [Pe[0], Be[1]], [0, Be[1]]);
42976
+ qe.splice(Fe, 2, [Pe[0], Be[1]], [0, Be[1]]);
42991
42977
  var Oe = Pe[1].slice(Be[1].length);
42992
- return Oe.length > 0 && ze.splice(Fe + 2, 0, [Pe[0], Oe]), Se(ze, Fe, 3);
42978
+ return Oe.length > 0 && qe.splice(Fe + 2, 0, [Pe[0], Oe]), Se(qe, Fe, 3);
42993
42979
  } else
42994
42980
  return we;
42995
42981
  }
42996
42982
  function Ce(we) {
42997
42983
  for (var Ae = !1, Le = function(Pe) {
42998
42984
  return Pe.charCodeAt(0) >= 56320 && Pe.charCodeAt(0) <= 57343;
42999
- }, ze = function(Pe) {
42985
+ }, qe = function(Pe) {
43000
42986
  return Pe.charCodeAt(Pe.length - 1) >= 55296 && Pe.charCodeAt(Pe.length - 1) <= 56319;
43001
42987
  }, Fe = 2; Fe < we.length; Fe += 1)
43002
- we[Fe - 2][0] === de && ze(we[Fe - 2][1]) && we[Fe - 1][0] === ne && Le(we[Fe - 1][1]) && we[Fe][0] === oe && Le(we[Fe][1]) && (Ae = !0, we[Fe - 1][1] = we[Fe - 2][1].slice(-1) + we[Fe - 1][1], we[Fe][1] = we[Fe - 2][1].slice(-1) + we[Fe][1], we[Fe - 2][1] = we[Fe - 2][1].slice(0, -1));
42988
+ we[Fe - 2][0] === de && qe(we[Fe - 2][1]) && we[Fe - 1][0] === ne && Le(we[Fe - 1][1]) && we[Fe][0] === oe && Le(we[Fe][1]) && (Ae = !0, we[Fe - 1][1] = we[Fe - 2][1].slice(-1) + we[Fe - 1][1], we[Fe][1] = we[Fe - 2][1].slice(-1) + we[Fe][1], we[Fe - 2][1] = we[Fe - 2][1].slice(0, -1));
43003
42989
  if (!Ae)
43004
42990
  return we;
43005
42991
  for (var Be = [], Fe = 0; Fe < we.length; Fe += 1)
@@ -43007,10 +42993,10 @@ function requireQuill() {
43007
42993
  return Be;
43008
42994
  }
43009
42995
  function Se(we, Ae, Le) {
43010
- for (var ze = Ae + Le - 1; ze >= 0 && ze >= Ae - 1; ze--)
43011
- if (ze + 1 < we.length) {
43012
- var Fe = we[ze], Be = we[ze + 1];
43013
- Fe[0] === Be[1] && we.splice(ze, 2, [Fe[0], Fe[1] + Be[1]]);
42996
+ for (var qe = Ae + Le - 1; qe >= 0 && qe >= Ae - 1; qe--)
42997
+ if (qe + 1 < we.length) {
42998
+ var Fe = we[qe], Be = we[qe + 1];
42999
+ Fe[0] === Be[1] && we.splice(qe, 2, [Fe[0], Fe[1] + Be[1]]);
43014
43000
  }
43015
43001
  return we;
43016
43002
  }
@@ -43183,8 +43169,8 @@ function requireQuill() {
43183
43169
  return function(vt, kt, At) {
43184
43170
  return kt && mt(vt.prototype, kt), At && mt(vt, At), vt;
43185
43171
  };
43186
- })(), ue = ne(3), he = qe(ue), pe = ne(2), fe = qe(pe), be = ne(0), ge = qe(be), ve = ne(5), me = qe(ve), _e = ne(10), ye = qe(_e), Ce = ne(9), Se = qe(Ce), we = ne(37), Ae = ne(38), Le = ne(13), ze = qe(Le), Fe = ne(26), Be = ne(39), Pe = ne(40), Oe = ne(41);
43187
- function qe(mt) {
43172
+ })(), ue = ne(3), he = ze(ue), pe = ne(2), fe = ze(pe), be = ne(0), ge = ze(be), ve = ne(5), me = ze(ve), _e = ne(10), ye = ze(_e), Ce = ne(9), Se = ze(Ce), we = ne(37), Ae = ne(38), Le = ne(13), qe = ze(Le), Fe = ne(26), Be = ne(39), Pe = ne(40), Oe = ne(41);
43173
+ function ze(mt) {
43188
43174
  return mt && mt.__esModule ? mt : { default: mt };
43189
43175
  }
43190
43176
  function Ie(mt, vt, kt) {
@@ -43204,7 +43190,7 @@ function requireQuill() {
43204
43190
  throw new TypeError("Super expression must either be null or a function, not " + typeof vt);
43205
43191
  mt.prototype = Object.create(vt && vt.prototype, { constructor: { value: mt, enumerable: !1, writable: !0, configurable: !0 } }), vt && (Object.setPrototypeOf ? Object.setPrototypeOf(mt, vt) : mt.__proto__ = vt);
43206
43192
  }
43207
- var Ke = (0, ye.default)("quill:clipboard"), bt = "__ql-matcher", Je = [[Node.TEXT_NODE, Xt], [Node.TEXT_NODE, Nt], ["br", Ct], [Node.ELEMENT_NODE, Nt], [Node.ELEMENT_NODE, yt], [Node.ELEMENT_NODE, Ut], [Node.ELEMENT_NODE, ot], [Node.ELEMENT_NODE, ns], ["li", qt], ["b", nt.bind(nt, "bold")], ["i", nt.bind(nt, "italic")], ["style", Pt]], Ye = [we.AlignAttribute, Be.DirectionAttribute].reduce(function(mt, vt) {
43193
+ var Ke = (0, ye.default)("quill:clipboard"), bt = "__ql-matcher", Je = [[Node.TEXT_NODE, Xt], [Node.TEXT_NODE, Nt], ["br", Ct], [Node.ELEMENT_NODE, Nt], [Node.ELEMENT_NODE, yt], [Node.ELEMENT_NODE, Ut], [Node.ELEMENT_NODE, ot], [Node.ELEMENT_NODE, ns], ["li", zt], ["b", nt.bind(nt, "bold")], ["i", nt.bind(nt, "italic")], ["style", Pt]], Ye = [we.AlignAttribute, Be.DirectionAttribute].reduce(function(mt, vt) {
43208
43194
  return mt[vt.keyName] = vt, mt;
43209
43195
  }, {}), Me = [we.AlignStyle, Ae.BackgroundStyle, Fe.ColorStyle, Be.DirectionStyle, Pe.FontStyle, Oe.SizeStyle].reduce(function(mt, vt) {
43210
43196
  return mt[vt.keyName] = vt, mt;
@@ -43229,9 +43215,9 @@ function requireQuill() {
43229
43215
  if (typeof At == "string")
43230
43216
  return this.container.innerHTML = At.replace(/\>\r?\n +\</g, "><"), this.convert();
43231
43217
  var $t = this.quill.getFormat(this.quill.selection.savedRange.index);
43232
- if ($t[ze.default.blotName]) {
43218
+ if ($t[qe.default.blotName]) {
43233
43219
  var Mt = this.container.innerText;
43234
- return this.container.innerHTML = "", new fe.default().insert(Mt, Ie({}, ze.default.blotName, $t[ze.default.blotName]));
43220
+ return this.container.innerHTML = "", new fe.default().insert(Mt, Ie({}, qe.default.blotName, $t[qe.default.blotName]));
43235
43221
  }
43236
43222
  var Ft = this.prepareMatching(), Ht = de(Ft, 2), us = Ht[0], cs = Ht[1], Kt = Qe(this.container, us, cs);
43237
43223
  return tt(Kt, `
@@ -43350,7 +43336,7 @@ function requireQuill() {
43350
43336
  function Pt() {
43351
43337
  return new fe.default();
43352
43338
  }
43353
- function qt(mt, vt) {
43339
+ function zt(mt, vt) {
43354
43340
  var kt = ge.default.query(mt);
43355
43341
  if (kt == null || kt.blotName !== "list-item" || !tt(vt, `
43356
43342
  `))
@@ -43471,7 +43457,7 @@ function requireQuill() {
43471
43457
  value: !0
43472
43458
  }), re.addControls = re.default = void 0;
43473
43459
  var oe = /* @__PURE__ */ (function() {
43474
- function qe(Ie, Ne) {
43460
+ function ze(Ie, Ne) {
43475
43461
  var Ge = [], Ze = !0, Ke = !1, bt = void 0;
43476
43462
  try {
43477
43463
  for (var Je = Ie[Symbol.iterator](), Ye; !(Ze = (Ye = Je.next()).done) && (Ge.push(Ye.value), !(Ne && Ge.length === Ne)); Ze = !0)
@@ -43491,42 +43477,42 @@ function requireQuill() {
43491
43477
  if (Array.isArray(Ie))
43492
43478
  return Ie;
43493
43479
  if (Symbol.iterator in Object(Ie))
43494
- return qe(Ie, Ne);
43480
+ return ze(Ie, Ne);
43495
43481
  throw new TypeError("Invalid attempt to destructure non-iterable instance");
43496
43482
  };
43497
43483
  })(), de = /* @__PURE__ */ (function() {
43498
- function qe(Ie, Ne) {
43484
+ function ze(Ie, Ne) {
43499
43485
  for (var Ge = 0; Ge < Ne.length; Ge++) {
43500
43486
  var Ze = Ne[Ge];
43501
43487
  Ze.enumerable = Ze.enumerable || !1, Ze.configurable = !0, "value" in Ze && (Ze.writable = !0), Object.defineProperty(Ie, Ze.key, Ze);
43502
43488
  }
43503
43489
  }
43504
43490
  return function(Ie, Ne, Ge) {
43505
- return Ne && qe(Ie.prototype, Ne), Ge && qe(Ie, Ge), Ie;
43491
+ return Ne && ze(Ie.prototype, Ne), Ge && ze(Ie, Ge), Ie;
43506
43492
  };
43507
43493
  })(), ce = ne(2), ue = ye(ce), he = ne(0), pe = ye(he), fe = ne(5), be = ye(fe), ge = ne(10), ve = ye(ge), me = ne(9), _e = ye(me);
43508
- function ye(qe) {
43509
- return qe && qe.__esModule ? qe : { default: qe };
43494
+ function ye(ze) {
43495
+ return ze && ze.__esModule ? ze : { default: ze };
43510
43496
  }
43511
- function Ce(qe, Ie, Ne) {
43512
- return Ie in qe ? Object.defineProperty(qe, Ie, { value: Ne, enumerable: !0, configurable: !0, writable: !0 }) : qe[Ie] = Ne, qe;
43497
+ function Ce(ze, Ie, Ne) {
43498
+ return Ie in ze ? Object.defineProperty(ze, Ie, { value: Ne, enumerable: !0, configurable: !0, writable: !0 }) : ze[Ie] = Ne, ze;
43513
43499
  }
43514
- function Se(qe, Ie) {
43515
- if (!(qe instanceof Ie))
43500
+ function Se(ze, Ie) {
43501
+ if (!(ze instanceof Ie))
43516
43502
  throw new TypeError("Cannot call a class as a function");
43517
43503
  }
43518
- function we(qe, Ie) {
43519
- if (!qe)
43504
+ function we(ze, Ie) {
43505
+ if (!ze)
43520
43506
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
43521
- return Ie && (typeof Ie == "object" || typeof Ie == "function") ? Ie : qe;
43507
+ return Ie && (typeof Ie == "object" || typeof Ie == "function") ? Ie : ze;
43522
43508
  }
43523
- function Ae(qe, Ie) {
43509
+ function Ae(ze, Ie) {
43524
43510
  if (typeof Ie != "function" && Ie !== null)
43525
43511
  throw new TypeError("Super expression must either be null or a function, not " + typeof Ie);
43526
- qe.prototype = Object.create(Ie && Ie.prototype, { constructor: { value: qe, enumerable: !1, writable: !0, configurable: !0 } }), Ie && (Object.setPrototypeOf ? Object.setPrototypeOf(qe, Ie) : qe.__proto__ = Ie);
43512
+ ze.prototype = Object.create(Ie && Ie.prototype, { constructor: { value: ze, enumerable: !1, writable: !0, configurable: !0 } }), Ie && (Object.setPrototypeOf ? Object.setPrototypeOf(ze, Ie) : ze.__proto__ = Ie);
43527
43513
  }
43528
- var Le = "getRootNode" in document, ze = (0, ve.default)("quill:toolbar"), Fe = (function(qe) {
43529
- Ae(Ie, qe);
43514
+ var Le = "getRootNode" in document, qe = (0, ve.default)("quill:toolbar"), Fe = (function(ze) {
43515
+ Ae(Ie, ze);
43530
43516
  function Ie(Ne, Ge) {
43531
43517
  Se(this, Ie);
43532
43518
  var Ze = we(this, (Ie.__proto__ || Object.getPrototypeOf(Ie)).call(this, Ne, Ge));
@@ -43540,7 +43526,7 @@ function requireQuill() {
43540
43526
  Ze.container = Ze.options.container;
43541
43527
  if (!(Ze.container instanceof HTMLElement)) {
43542
43528
  var Je;
43543
- return Je = ze.error("Container required for toolbar", Ze.options), we(Ze, Je);
43529
+ return Je = qe.error("Container required for toolbar", Ze.options), we(Ze, Je);
43544
43530
  }
43545
43531
  return Ze.container.classList.add("ql-toolbar"), Ze.controls = [], Ze.handlers = {}, Object.keys(Ze.options.handlers).forEach(function(Ye) {
43546
43532
  Ze.addHandler(Ye, Ze.options.handlers[Ye]);
@@ -43567,11 +43553,11 @@ function requireQuill() {
43567
43553
  if (Ke) {
43568
43554
  if (Ke = Ke.slice(3), Ge.tagName === "BUTTON" && Ge.setAttribute("type", "button"), this.handlers[Ke] == null) {
43569
43555
  if (this.quill.scroll.whitelist != null && this.quill.scroll.whitelist[Ke] == null) {
43570
- ze.warn("ignoring attaching to disabled format", Ke, Ge);
43556
+ qe.warn("ignoring attaching to disabled format", Ke, Ge);
43571
43557
  return;
43572
43558
  }
43573
43559
  if (pe.default.query(Ke) == null) {
43574
- ze.warn("ignoring attaching to nonexistent format", Ke, Ge);
43560
+ qe.warn("ignoring attaching to nonexistent format", Ke, Ge);
43575
43561
  return;
43576
43562
  }
43577
43563
  }
@@ -43626,11 +43612,11 @@ function requireQuill() {
43626
43612
  }]), Ie;
43627
43613
  })(_e.default);
43628
43614
  Fe.DEFAULTS = {};
43629
- function Be(qe, Ie, Ne) {
43615
+ function Be(ze, Ie, Ne) {
43630
43616
  var Ge = document.createElement("button");
43631
- Ge.setAttribute("type", "button"), Ge.classList.add("ql-" + Ie), Ne != null && (Ge.value = Ne), qe.appendChild(Ge);
43617
+ Ge.setAttribute("type", "button"), Ge.classList.add("ql-" + Ie), Ne != null && (Ge.value = Ne), ze.appendChild(Ge);
43632
43618
  }
43633
- function Pe(qe, Ie) {
43619
+ function Pe(ze, Ie) {
43634
43620
  Array.isArray(Ie[0]) || (Ie = [Ie]), Ie.forEach(function(Ne) {
43635
43621
  var Ge = document.createElement("span");
43636
43622
  Ge.classList.add("ql-formats"), Ne.forEach(function(Ze) {
@@ -43640,15 +43626,15 @@ function requireQuill() {
43640
43626
  var Ke = Object.keys(Ze)[0], bt = Ze[Ke];
43641
43627
  Array.isArray(bt) ? Oe(Ge, Ke, bt) : Be(Ge, Ke, bt);
43642
43628
  }
43643
- }), qe.appendChild(Ge);
43629
+ }), ze.appendChild(Ge);
43644
43630
  });
43645
43631
  }
43646
- function Oe(qe, Ie, Ne) {
43632
+ function Oe(ze, Ie, Ne) {
43647
43633
  var Ge = document.createElement("select");
43648
43634
  Ge.classList.add("ql-" + Ie), Ne.forEach(function(Ze) {
43649
43635
  var Ke = document.createElement("option");
43650
43636
  Ze !== !1 ? Ke.setAttribute("value", Ze) : Ke.setAttribute("selected", "selected"), Ge.appendChild(Ke);
43651
- }), qe.appendChild(Ge);
43637
+ }), ze.appendChild(Ge);
43652
43638
  }
43653
43639
  Fe.DEFAULTS = {
43654
43640
  container: null,
@@ -43887,10 +43873,10 @@ function requireQuill() {
43887
43873
  value: !0
43888
43874
  });
43889
43875
  var oe = /* @__PURE__ */ (function() {
43890
- function Pe(Oe, qe) {
43876
+ function Pe(Oe, ze) {
43891
43877
  var Ie = [], Ne = !0, Ge = !1, Ze = void 0;
43892
43878
  try {
43893
- for (var Ke = Oe[Symbol.iterator](), bt; !(Ne = (bt = Ke.next()).done) && (Ie.push(bt.value), !(qe && Ie.length === qe)); Ne = !0)
43879
+ for (var Ke = Oe[Symbol.iterator](), bt; !(Ne = (bt = Ke.next()).done) && (Ie.push(bt.value), !(ze && Ie.length === ze)); Ne = !0)
43894
43880
  ;
43895
43881
  } catch (Je) {
43896
43882
  Ge = !0, Ze = Je;
@@ -43903,19 +43889,19 @@ function requireQuill() {
43903
43889
  }
43904
43890
  return Ie;
43905
43891
  }
43906
- return function(Oe, qe) {
43892
+ return function(Oe, ze) {
43907
43893
  if (Array.isArray(Oe))
43908
43894
  return Oe;
43909
43895
  if (Symbol.iterator in Object(Oe))
43910
- return Pe(Oe, qe);
43896
+ return Pe(Oe, ze);
43911
43897
  throw new TypeError("Invalid attempt to destructure non-iterable instance");
43912
43898
  };
43913
- })(), de = function Pe(Oe, qe, Ie) {
43899
+ })(), de = function Pe(Oe, ze, Ie) {
43914
43900
  Oe === null && (Oe = Function.prototype);
43915
- var Ne = Object.getOwnPropertyDescriptor(Oe, qe);
43901
+ var Ne = Object.getOwnPropertyDescriptor(Oe, ze);
43916
43902
  if (Ne === void 0) {
43917
43903
  var Ge = Object.getPrototypeOf(Oe);
43918
- return Ge === null ? void 0 : Pe(Ge, qe, Ie);
43904
+ return Ge === null ? void 0 : Pe(Ge, ze, Ie);
43919
43905
  } else {
43920
43906
  if ("value" in Ne)
43921
43907
  return Ne.value;
@@ -43923,14 +43909,14 @@ function requireQuill() {
43923
43909
  return Ze === void 0 ? void 0 : Ze.call(Ie);
43924
43910
  }
43925
43911
  }, ce = /* @__PURE__ */ (function() {
43926
- function Pe(Oe, qe) {
43927
- for (var Ie = 0; Ie < qe.length; Ie++) {
43928
- var Ne = qe[Ie];
43912
+ function Pe(Oe, ze) {
43913
+ for (var Ie = 0; Ie < ze.length; Ie++) {
43914
+ var Ne = ze[Ie];
43929
43915
  Ne.enumerable = Ne.enumerable || !1, Ne.configurable = !0, "value" in Ne && (Ne.writable = !0), Object.defineProperty(Oe, Ne.key, Ne);
43930
43916
  }
43931
43917
  }
43932
- return function(Oe, qe, Ie) {
43933
- return qe && Pe(Oe.prototype, qe), Ie && Pe(Oe, Ie), Oe;
43918
+ return function(Oe, ze, Ie) {
43919
+ return ze && Pe(Oe.prototype, ze), Ie && Pe(Oe, Ie), Oe;
43934
43920
  };
43935
43921
  })(), ue = ne(3), he = Se(ue), pe = ne(8), fe = Se(pe), be = ne(44), ge = Se(be), ve = ne(27), me = Se(ve), _e = ne(15), ye = ne(42), Ce = Se(ye);
43936
43922
  function Se(Pe) {
@@ -43950,11 +43936,11 @@ function requireQuill() {
43950
43936
  throw new TypeError("Super expression must either be null or a function, not " + typeof Oe);
43951
43937
  Pe.prototype = Object.create(Oe && Oe.prototype, { constructor: { value: Pe, enumerable: !1, writable: !0, configurable: !0 } }), Oe && (Object.setPrototypeOf ? Object.setPrototypeOf(Pe, Oe) : Pe.__proto__ = Oe);
43952
43938
  }
43953
- var ze = [[{ header: ["1", "2", "3", !1] }], ["bold", "italic", "underline", "link"], [{ list: "ordered" }, { list: "bullet" }], ["clean"]], Fe = (function(Pe) {
43939
+ var qe = [[{ header: ["1", "2", "3", !1] }], ["bold", "italic", "underline", "link"], [{ list: "ordered" }, { list: "bullet" }], ["clean"]], Fe = (function(Pe) {
43954
43940
  Le(Oe, Pe);
43955
- function Oe(qe, Ie) {
43956
- we(this, Oe), Ie.modules.toolbar != null && Ie.modules.toolbar.container == null && (Ie.modules.toolbar.container = ze);
43957
- var Ne = Ae(this, (Oe.__proto__ || Object.getPrototypeOf(Oe)).call(this, qe, Ie));
43941
+ function Oe(ze, Ie) {
43942
+ we(this, Oe), Ie.modules.toolbar != null && Ie.modules.toolbar.container == null && (Ie.modules.toolbar.container = qe);
43943
+ var Ne = Ae(this, (Oe.__proto__ || Object.getPrototypeOf(Oe)).call(this, ze, Ie));
43958
43944
  return Ne.quill.container.classList.add("ql-snow"), Ne;
43959
43945
  }
43960
43946
  return ce(Oe, [{
@@ -43972,9 +43958,9 @@ function requireQuill() {
43972
43958
  handlers: {
43973
43959
  link: function(Oe) {
43974
43960
  if (Oe) {
43975
- var qe = this.quill.getSelection();
43976
- if (qe == null || qe.length == 0) return;
43977
- var Ie = this.quill.getText(qe);
43961
+ var ze = this.quill.getSelection();
43962
+ if (ze == null || ze.length == 0) return;
43963
+ var Ie = this.quill.getText(ze);
43978
43964
  /^\S+@\S+\.\S+$/.test(Ie) && Ie.indexOf("mailto:") !== 0 && (Ie = "mailto:" + Ie);
43979
43965
  var Ne = this.quill.theme.tooltip;
43980
43966
  Ne.edit("link", Ie);
@@ -43987,9 +43973,9 @@ function requireQuill() {
43987
43973
  });
43988
43974
  var Be = (function(Pe) {
43989
43975
  Le(Oe, Pe);
43990
- function Oe(qe, Ie) {
43976
+ function Oe(ze, Ie) {
43991
43977
  we(this, Oe);
43992
- var Ne = Ae(this, (Oe.__proto__ || Object.getPrototypeOf(Oe)).call(this, qe, Ie));
43978
+ var Ne = Ae(this, (Oe.__proto__ || Object.getPrototypeOf(Oe)).call(this, ze, Ie));
43993
43979
  return Ne.preview = Ne.root.querySelector("a.ql-preview"), Ne;
43994
43980
  }
43995
43981
  return ce(Oe, [{
@@ -44035,7 +44021,7 @@ function requireQuill() {
44035
44021
  Object.defineProperty(re, "__esModule", {
44036
44022
  value: !0
44037
44023
  });
44038
- var oe = ne(29), de = $t(oe), ce = ne(37), ue = ne(39), he = ne(65), pe = ne(66), fe = $t(pe), be = ne(67), ge = $t(be), ve = ne(68), me = $t(ve), _e = ne(38), ye = ne(26), Ce = ne(40), Se = ne(41), we = ne(57), Ae = $t(we), Le = ne(69), ze = $t(Le), Fe = ne(27), Be = $t(Fe), Pe = ne(70), Oe = $t(Pe), qe = ne(71), Ie = $t(qe), Ne = ne(72), Ge = $t(Ne), Ze = ne(73), Ke = $t(Ze), bt = ne(74), Je = $t(bt), Ye = ne(13), Me = $t(Ye), We = ne(75), je = $t(We), Xe = ne(76), tt = $t(Xe), Ue = ne(58), Qe = $t(Ue), nt = ne(42), ot = $t(nt), yt = ne(28), Ct = $t(yt), Pt = ne(60), qt = $t(Pt), Nt = ne(61), Ut = $t(Nt), ns = ne(62), Xt = $t(ns), mt = ne(109), vt = $t(mt), kt = ne(63), At = $t(kt);
44024
+ var oe = ne(29), de = $t(oe), ce = ne(37), ue = ne(39), he = ne(65), pe = ne(66), fe = $t(pe), be = ne(67), ge = $t(be), ve = ne(68), me = $t(ve), _e = ne(38), ye = ne(26), Ce = ne(40), Se = ne(41), we = ne(57), Ae = $t(we), Le = ne(69), qe = $t(Le), Fe = ne(27), Be = $t(Fe), Pe = ne(70), Oe = $t(Pe), ze = ne(71), Ie = $t(ze), Ne = ne(72), Ge = $t(Ne), Ze = ne(73), Ke = $t(Ze), bt = ne(74), Je = $t(bt), Ye = ne(13), Me = $t(Ye), We = ne(75), je = $t(We), Xe = ne(76), tt = $t(Xe), Ue = ne(58), Qe = $t(Ue), nt = ne(42), ot = $t(nt), yt = ne(28), Ct = $t(yt), Pt = ne(60), zt = $t(Pt), Nt = ne(61), Ut = $t(Nt), ns = ne(62), Xt = $t(ns), mt = ne(109), vt = $t(mt), kt = ne(63), At = $t(kt);
44039
44025
  function $t(Mt) {
44040
44026
  return Mt && Mt.__esModule ? Mt : { default: Mt };
44041
44027
  }
@@ -44067,7 +44053,7 @@ function requireQuill() {
44067
44053
  "formats/list": me.default,
44068
44054
  "formats/bold": Ae.default,
44069
44055
  "formats/code": Ye.Code,
44070
- "formats/italic": ze.default,
44056
+ "formats/italic": qe.default,
44071
44057
  "formats/link": Be.default,
44072
44058
  "formats/script": Oe.default,
44073
44059
  "formats/strike": Ie.default,
@@ -44083,7 +44069,7 @@ function requireQuill() {
44083
44069
  "ui/icons": ot.default,
44084
44070
  "ui/picker": Ct.default,
44085
44071
  "ui/icon-picker": Ut.default,
44086
- "ui/color-picker": qt.default,
44072
+ "ui/color-picker": zt.default,
44087
44073
  "ui/tooltip": Xt.default
44088
44074
  }, !0), re.default = de.default;
44089
44075
  }),
@@ -44253,25 +44239,25 @@ function requireQuill() {
44253
44239
  }), re.default = re.ListItem = void 0;
44254
44240
  var oe = /* @__PURE__ */ (function() {
44255
44241
  function we(Ae, Le) {
44256
- for (var ze = 0; ze < Le.length; ze++) {
44257
- var Fe = Le[ze];
44242
+ for (var qe = 0; qe < Le.length; qe++) {
44243
+ var Fe = Le[qe];
44258
44244
  Fe.enumerable = Fe.enumerable || !1, Fe.configurable = !0, "value" in Fe && (Fe.writable = !0), Object.defineProperty(Ae, Fe.key, Fe);
44259
44245
  }
44260
44246
  }
44261
- return function(Ae, Le, ze) {
44262
- return Le && we(Ae.prototype, Le), ze && we(Ae, ze), Ae;
44247
+ return function(Ae, Le, qe) {
44248
+ return Le && we(Ae.prototype, Le), qe && we(Ae, qe), Ae;
44263
44249
  };
44264
- })(), de = function we(Ae, Le, ze) {
44250
+ })(), de = function we(Ae, Le, qe) {
44265
44251
  Ae === null && (Ae = Function.prototype);
44266
44252
  var Fe = Object.getOwnPropertyDescriptor(Ae, Le);
44267
44253
  if (Fe === void 0) {
44268
44254
  var Be = Object.getPrototypeOf(Ae);
44269
- return Be === null ? void 0 : we(Be, Le, ze);
44255
+ return Be === null ? void 0 : we(Be, Le, qe);
44270
44256
  } else {
44271
44257
  if ("value" in Fe)
44272
44258
  return Fe.value;
44273
44259
  var Pe = Fe.get;
44274
- return Pe === void 0 ? void 0 : Pe.call(ze);
44260
+ return Pe === void 0 ? void 0 : Pe.call(qe);
44275
44261
  }
44276
44262
  }, ce = ne(0), ue = ge(ce), he = ne(4), pe = ge(he), fe = ne(25), be = ge(fe);
44277
44263
  function ge(we) {
@@ -44301,8 +44287,8 @@ function requireQuill() {
44301
44287
  }
44302
44288
  return oe(Ae, [{
44303
44289
  key: "format",
44304
- value: function(ze, Fe) {
44305
- ze === Se.blotName && !Fe ? this.replaceWith(ue.default.create(this.statics.scope)) : de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "format", this).call(this, ze, Fe);
44290
+ value: function(qe, Fe) {
44291
+ qe === Se.blotName && !Fe ? this.replaceWith(ue.default.create(this.statics.scope)) : de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "format", this).call(this, qe, Fe);
44306
44292
  }
44307
44293
  }, {
44308
44294
  key: "remove",
@@ -44311,13 +44297,13 @@ function requireQuill() {
44311
44297
  }
44312
44298
  }, {
44313
44299
  key: "replaceWith",
44314
- value: function(ze, Fe) {
44315
- return this.parent.isolate(this.offset(this.parent), this.length()), ze === this.parent.statics.blotName ? (this.parent.replaceWith(ze, Fe), this) : (this.parent.unwrap(), de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "replaceWith", this).call(this, ze, Fe));
44300
+ value: function(qe, Fe) {
44301
+ return this.parent.isolate(this.offset(this.parent), this.length()), qe === this.parent.statics.blotName ? (this.parent.replaceWith(qe, Fe), this) : (this.parent.unwrap(), de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "replaceWith", this).call(this, qe, Fe));
44316
44302
  }
44317
44303
  }], [{
44318
44304
  key: "formats",
44319
- value: function(ze) {
44320
- return ze.tagName === this.tagName ? void 0 : de(Ae.__proto__ || Object.getPrototypeOf(Ae), "formats", this).call(this, ze);
44305
+ value: function(qe) {
44306
+ return qe.tagName === this.tagName ? void 0 : de(Ae.__proto__ || Object.getPrototypeOf(Ae), "formats", this).call(this, qe);
44321
44307
  }
44322
44308
  }]), Ae;
44323
44309
  })(pe.default);
@@ -44325,32 +44311,32 @@ function requireQuill() {
44325
44311
  var Se = (function(we) {
44326
44312
  ye(Ae, we), oe(Ae, null, [{
44327
44313
  key: "create",
44328
- value: function(ze) {
44329
- var Fe = ze === "ordered" ? "OL" : "UL", Be = de(Ae.__proto__ || Object.getPrototypeOf(Ae), "create", this).call(this, Fe);
44330
- return (ze === "checked" || ze === "unchecked") && Be.setAttribute("data-checked", ze === "checked"), Be;
44314
+ value: function(qe) {
44315
+ var Fe = qe === "ordered" ? "OL" : "UL", Be = de(Ae.__proto__ || Object.getPrototypeOf(Ae), "create", this).call(this, Fe);
44316
+ return (qe === "checked" || qe === "unchecked") && Be.setAttribute("data-checked", qe === "checked"), Be;
44331
44317
  }
44332
44318
  }, {
44333
44319
  key: "formats",
44334
- value: function(ze) {
44335
- if (ze.tagName === "OL") return "ordered";
44336
- if (ze.tagName === "UL")
44337
- return ze.hasAttribute("data-checked") ? ze.getAttribute("data-checked") === "true" ? "checked" : "unchecked" : "bullet";
44320
+ value: function(qe) {
44321
+ if (qe.tagName === "OL") return "ordered";
44322
+ if (qe.tagName === "UL")
44323
+ return qe.hasAttribute("data-checked") ? qe.getAttribute("data-checked") === "true" ? "checked" : "unchecked" : "bullet";
44338
44324
  }
44339
44325
  }]);
44340
44326
  function Ae(Le) {
44341
44327
  me(this, Ae);
44342
- var ze = _e(this, (Ae.__proto__ || Object.getPrototypeOf(Ae)).call(this, Le)), Fe = function(Pe) {
44328
+ var qe = _e(this, (Ae.__proto__ || Object.getPrototypeOf(Ae)).call(this, Le)), Fe = function(Pe) {
44343
44329
  if (Pe.target.parentNode === Le) {
44344
- var Oe = ze.statics.formats(Le), qe = ue.default.find(Pe.target);
44345
- Oe === "checked" ? qe.format("list", "unchecked") : Oe === "unchecked" && qe.format("list", "checked");
44330
+ var Oe = qe.statics.formats(Le), ze = ue.default.find(Pe.target);
44331
+ Oe === "checked" ? ze.format("list", "unchecked") : Oe === "unchecked" && ze.format("list", "checked");
44346
44332
  }
44347
44333
  };
44348
- return Le.addEventListener("touchstart", Fe), Le.addEventListener("mousedown", Fe), ze;
44334
+ return Le.addEventListener("touchstart", Fe), Le.addEventListener("mousedown", Fe), qe;
44349
44335
  }
44350
44336
  return oe(Ae, [{
44351
44337
  key: "format",
44352
- value: function(ze, Fe) {
44353
- this.children.length > 0 && this.children.tail.format(ze, Fe);
44338
+ value: function(qe, Fe) {
44339
+ this.children.length > 0 && this.children.tail.format(qe, Fe);
44354
44340
  }
44355
44341
  }, {
44356
44342
  key: "formats",
@@ -44359,29 +44345,29 @@ function requireQuill() {
44359
44345
  }
44360
44346
  }, {
44361
44347
  key: "insertBefore",
44362
- value: function(ze, Fe) {
44363
- if (ze instanceof Ce)
44364
- de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "insertBefore", this).call(this, ze, Fe);
44348
+ value: function(qe, Fe) {
44349
+ if (qe instanceof Ce)
44350
+ de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "insertBefore", this).call(this, qe, Fe);
44365
44351
  else {
44366
44352
  var Be = Fe == null ? this.length() : Fe.offset(this), Pe = this.split(Be);
44367
- Pe.parent.insertBefore(ze, Pe);
44353
+ Pe.parent.insertBefore(qe, Pe);
44368
44354
  }
44369
44355
  }
44370
44356
  }, {
44371
44357
  key: "optimize",
44372
- value: function(ze) {
44373
- de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "optimize", this).call(this, ze);
44358
+ value: function(qe) {
44359
+ de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "optimize", this).call(this, qe);
44374
44360
  var Fe = this.next;
44375
44361
  Fe != null && Fe.prev === this && Fe.statics.blotName === this.statics.blotName && Fe.domNode.tagName === this.domNode.tagName && Fe.domNode.getAttribute("data-checked") === this.domNode.getAttribute("data-checked") && (Fe.moveChildren(this), Fe.remove());
44376
44362
  }
44377
44363
  }, {
44378
44364
  key: "replace",
44379
- value: function(ze) {
44380
- if (ze.statics.blotName !== this.statics.blotName) {
44365
+ value: function(qe) {
44366
+ if (qe.statics.blotName !== this.statics.blotName) {
44381
44367
  var Fe = ue.default.create(this.statics.defaultChild);
44382
- ze.moveChildren(Fe), this.appendChild(Fe);
44368
+ qe.moveChildren(Fe), this.appendChild(Fe);
44383
44369
  }
44384
- de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "replace", this).call(this, ze);
44370
+ de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "replace", this).call(this, qe);
44385
44371
  }
44386
44372
  }]), Ae;
44387
44373
  })(be.default);
@@ -44732,8 +44718,8 @@ function requireQuill() {
44732
44718
  var oe = /* @__PURE__ */ (function() {
44733
44719
  function Se(we, Ae) {
44734
44720
  for (var Le = 0; Le < Ae.length; Le++) {
44735
- var ze = Ae[Le];
44736
- ze.enumerable = ze.enumerable || !1, ze.configurable = !0, "value" in ze && (ze.writable = !0), Object.defineProperty(we, ze.key, ze);
44721
+ var qe = Ae[Le];
44722
+ qe.enumerable = qe.enumerable || !1, qe.configurable = !0, "value" in qe && (qe.writable = !0), Object.defineProperty(we, qe.key, qe);
44737
44723
  }
44738
44724
  }
44739
44725
  return function(we, Ae, Le) {
@@ -44741,14 +44727,14 @@ function requireQuill() {
44741
44727
  };
44742
44728
  })(), de = function Se(we, Ae, Le) {
44743
44729
  we === null && (we = Function.prototype);
44744
- var ze = Object.getOwnPropertyDescriptor(we, Ae);
44745
- if (ze === void 0) {
44730
+ var qe = Object.getOwnPropertyDescriptor(we, Ae);
44731
+ if (qe === void 0) {
44746
44732
  var Fe = Object.getPrototypeOf(we);
44747
44733
  return Fe === null ? void 0 : Se(Fe, Ae, Le);
44748
44734
  } else {
44749
- if ("value" in ze)
44750
- return ze.value;
44751
- var Be = ze.get;
44735
+ if ("value" in qe)
44736
+ return qe.value;
44737
+ var Be = qe.get;
44752
44738
  return Be === void 0 ? void 0 : Be.call(Le);
44753
44739
  }
44754
44740
  }, ce = ne(36), ue = ge(ce), he = ne(5), pe = ge(he), fe = ne(9), be = ge(fe);
@@ -44777,11 +44763,11 @@ function requireQuill() {
44777
44763
  return oe(we, null, [{
44778
44764
  key: "create",
44779
44765
  value: function(Le) {
44780
- var ze = de(we.__proto__ || Object.getPrototypeOf(we), "create", this).call(this, Le);
44781
- return typeof Le == "string" && (window.katex.render(Le, ze, {
44766
+ var qe = de(we.__proto__ || Object.getPrototypeOf(we), "create", this).call(this, Le);
44767
+ return typeof Le == "string" && (window.katex.render(Le, qe, {
44782
44768
  throwOnError: !1,
44783
44769
  errorColor: "#f00"
44784
- }), ze.setAttribute("data-value", Le)), ze;
44770
+ }), qe.setAttribute("data-value", Le)), qe;
44785
44771
  }
44786
44772
  }, {
44787
44773
  key: "value",
@@ -44816,54 +44802,54 @@ function requireQuill() {
44816
44802
  value: !0
44817
44803
  }), re.default = re.CodeToken = re.CodeBlock = void 0;
44818
44804
  var oe = /* @__PURE__ */ (function() {
44819
- function Le(ze, Fe) {
44805
+ function Le(qe, Fe) {
44820
44806
  for (var Be = 0; Be < Fe.length; Be++) {
44821
44807
  var Pe = Fe[Be];
44822
- Pe.enumerable = Pe.enumerable || !1, Pe.configurable = !0, "value" in Pe && (Pe.writable = !0), Object.defineProperty(ze, Pe.key, Pe);
44808
+ Pe.enumerable = Pe.enumerable || !1, Pe.configurable = !0, "value" in Pe && (Pe.writable = !0), Object.defineProperty(qe, Pe.key, Pe);
44823
44809
  }
44824
44810
  }
44825
- return function(ze, Fe, Be) {
44826
- return Fe && Le(ze.prototype, Fe), Be && Le(ze, Be), ze;
44811
+ return function(qe, Fe, Be) {
44812
+ return Fe && Le(qe.prototype, Fe), Be && Le(qe, Be), qe;
44827
44813
  };
44828
- })(), de = function Le(ze, Fe, Be) {
44829
- ze === null && (ze = Function.prototype);
44830
- var Pe = Object.getOwnPropertyDescriptor(ze, Fe);
44814
+ })(), de = function Le(qe, Fe, Be) {
44815
+ qe === null && (qe = Function.prototype);
44816
+ var Pe = Object.getOwnPropertyDescriptor(qe, Fe);
44831
44817
  if (Pe === void 0) {
44832
- var Oe = Object.getPrototypeOf(ze);
44818
+ var Oe = Object.getPrototypeOf(qe);
44833
44819
  return Oe === null ? void 0 : Le(Oe, Fe, Be);
44834
44820
  } else {
44835
44821
  if ("value" in Pe)
44836
44822
  return Pe.value;
44837
- var qe = Pe.get;
44838
- return qe === void 0 ? void 0 : qe.call(Be);
44823
+ var ze = Pe.get;
44824
+ return ze === void 0 ? void 0 : ze.call(Be);
44839
44825
  }
44840
44826
  }, ce = ne(0), ue = me(ce), he = ne(5), pe = me(he), fe = ne(9), be = me(fe), ge = ne(13), ve = me(ge);
44841
44827
  function me(Le) {
44842
44828
  return Le && Le.__esModule ? Le : { default: Le };
44843
44829
  }
44844
- function _e(Le, ze) {
44845
- if (!(Le instanceof ze))
44830
+ function _e(Le, qe) {
44831
+ if (!(Le instanceof qe))
44846
44832
  throw new TypeError("Cannot call a class as a function");
44847
44833
  }
44848
- function ye(Le, ze) {
44834
+ function ye(Le, qe) {
44849
44835
  if (!Le)
44850
44836
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
44851
- return ze && (typeof ze == "object" || typeof ze == "function") ? ze : Le;
44837
+ return qe && (typeof qe == "object" || typeof qe == "function") ? qe : Le;
44852
44838
  }
44853
- function Ce(Le, ze) {
44854
- if (typeof ze != "function" && ze !== null)
44855
- throw new TypeError("Super expression must either be null or a function, not " + typeof ze);
44856
- Le.prototype = Object.create(ze && ze.prototype, { constructor: { value: Le, enumerable: !1, writable: !0, configurable: !0 } }), ze && (Object.setPrototypeOf ? Object.setPrototypeOf(Le, ze) : Le.__proto__ = ze);
44839
+ function Ce(Le, qe) {
44840
+ if (typeof qe != "function" && qe !== null)
44841
+ throw new TypeError("Super expression must either be null or a function, not " + typeof qe);
44842
+ Le.prototype = Object.create(qe && qe.prototype, { constructor: { value: Le, enumerable: !1, writable: !0, configurable: !0 } }), qe && (Object.setPrototypeOf ? Object.setPrototypeOf(Le, qe) : Le.__proto__ = qe);
44857
44843
  }
44858
44844
  var Se = (function(Le) {
44859
- Ce(ze, Le);
44860
- function ze() {
44861
- return _e(this, ze), ye(this, (ze.__proto__ || Object.getPrototypeOf(ze)).apply(this, arguments));
44845
+ Ce(qe, Le);
44846
+ function qe() {
44847
+ return _e(this, qe), ye(this, (qe.__proto__ || Object.getPrototypeOf(qe)).apply(this, arguments));
44862
44848
  }
44863
- return oe(ze, [{
44849
+ return oe(qe, [{
44864
44850
  key: "replaceWith",
44865
44851
  value: function(Be) {
44866
- this.domNode.textContent = this.domNode.textContent, this.attach(), de(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "replaceWith", this).call(this, Be);
44852
+ this.domNode.textContent = this.domNode.textContent, this.attach(), de(qe.prototype.__proto__ || Object.getPrototypeOf(qe.prototype), "replaceWith", this).call(this, Be);
44867
44853
  }
44868
44854
  }, {
44869
44855
  key: "highlight",
@@ -44871,21 +44857,21 @@ function requireQuill() {
44871
44857
  var Pe = this.domNode.textContent;
44872
44858
  this.cachedText !== Pe && ((Pe.trim().length > 0 || this.cachedText == null) && (this.domNode.innerHTML = Be(Pe), this.domNode.normalize(), this.attach()), this.cachedText = Pe);
44873
44859
  }
44874
- }]), ze;
44860
+ }]), qe;
44875
44861
  })(ve.default);
44876
44862
  Se.className = "ql-syntax";
44877
44863
  var we = new ue.default.Attributor.Class("token", "hljs", {
44878
44864
  scope: ue.default.Scope.INLINE
44879
44865
  }), Ae = (function(Le) {
44880
- Ce(ze, Le), oe(ze, null, [{
44866
+ Ce(qe, Le), oe(qe, null, [{
44881
44867
  key: "register",
44882
44868
  value: function() {
44883
44869
  pe.default.register(we, !0), pe.default.register(Se, !0);
44884
44870
  }
44885
44871
  }]);
44886
- function ze(Fe, Be) {
44887
- _e(this, ze);
44888
- var Pe = ye(this, (ze.__proto__ || Object.getPrototypeOf(ze)).call(this, Fe, Be));
44872
+ function qe(Fe, Be) {
44873
+ _e(this, qe);
44874
+ var Pe = ye(this, (qe.__proto__ || Object.getPrototypeOf(qe)).call(this, Fe, Be));
44889
44875
  if (typeof Pe.options.highlight != "function")
44890
44876
  throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");
44891
44877
  var Oe = null;
@@ -44895,7 +44881,7 @@ function requireQuill() {
44895
44881
  }, Pe.options.interval);
44896
44882
  }), Pe.highlight(), Pe;
44897
44883
  }
44898
- return oe(ze, [{
44884
+ return oe(qe, [{
44899
44885
  key: "highlight",
44900
44886
  value: function() {
44901
44887
  var Be = this;
@@ -44907,13 +44893,13 @@ function requireQuill() {
44907
44893
  }), this.quill.update(pe.default.sources.SILENT), Pe != null && this.quill.setSelection(Pe, pe.default.sources.SILENT);
44908
44894
  }
44909
44895
  }
44910
- }]), ze;
44896
+ }]), qe;
44911
44897
  })(be.default);
44912
44898
  Ae.DEFAULTS = {
44913
44899
  highlight: (function() {
44914
44900
  return window.hljs == null ? null : function(Le) {
44915
- var ze = window.hljs.highlightAuto(Le);
44916
- return ze.value;
44901
+ var qe = window.hljs.highlightAuto(Le);
44902
+ return qe.value;
44917
44903
  };
44918
44904
  })(),
44919
44905
  interval: 1e3
@@ -45085,12 +45071,12 @@ function requireQuill() {
45085
45071
  Object.defineProperty(re, "__esModule", {
45086
45072
  value: !0
45087
45073
  }), re.default = re.BubbleTooltip = void 0;
45088
- var oe = function ze(Fe, Be, Pe) {
45074
+ var oe = function qe(Fe, Be, Pe) {
45089
45075
  Fe === null && (Fe = Function.prototype);
45090
45076
  var Oe = Object.getOwnPropertyDescriptor(Fe, Be);
45091
45077
  if (Oe === void 0) {
45092
- var qe = Object.getPrototypeOf(Fe);
45093
- return qe === null ? void 0 : ze(qe, Be, Pe);
45078
+ var ze = Object.getPrototypeOf(Fe);
45079
+ return ze === null ? void 0 : qe(ze, Be, Pe);
45094
45080
  } else {
45095
45081
  if ("value" in Oe)
45096
45082
  return Oe.value;
@@ -45098,35 +45084,35 @@ function requireQuill() {
45098
45084
  return Ie === void 0 ? void 0 : Ie.call(Pe);
45099
45085
  }
45100
45086
  }, de = /* @__PURE__ */ (function() {
45101
- function ze(Fe, Be) {
45087
+ function qe(Fe, Be) {
45102
45088
  for (var Pe = 0; Pe < Be.length; Pe++) {
45103
45089
  var Oe = Be[Pe];
45104
45090
  Oe.enumerable = Oe.enumerable || !1, Oe.configurable = !0, "value" in Oe && (Oe.writable = !0), Object.defineProperty(Fe, Oe.key, Oe);
45105
45091
  }
45106
45092
  }
45107
45093
  return function(Fe, Be, Pe) {
45108
- return Be && ze(Fe.prototype, Be), Pe && ze(Fe, Pe), Fe;
45094
+ return Be && qe(Fe.prototype, Be), Pe && qe(Fe, Pe), Fe;
45109
45095
  };
45110
45096
  })(), ce = ne(3), ue = _e(ce), he = ne(8), pe = _e(he), fe = ne(44), be = _e(fe), ge = ne(15), ve = ne(42), me = _e(ve);
45111
- function _e(ze) {
45112
- return ze && ze.__esModule ? ze : { default: ze };
45097
+ function _e(qe) {
45098
+ return qe && qe.__esModule ? qe : { default: qe };
45113
45099
  }
45114
- function ye(ze, Fe) {
45115
- if (!(ze instanceof Fe))
45100
+ function ye(qe, Fe) {
45101
+ if (!(qe instanceof Fe))
45116
45102
  throw new TypeError("Cannot call a class as a function");
45117
45103
  }
45118
- function Ce(ze, Fe) {
45119
- if (!ze)
45104
+ function Ce(qe, Fe) {
45105
+ if (!qe)
45120
45106
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
45121
- return Fe && (typeof Fe == "object" || typeof Fe == "function") ? Fe : ze;
45107
+ return Fe && (typeof Fe == "object" || typeof Fe == "function") ? Fe : qe;
45122
45108
  }
45123
- function Se(ze, Fe) {
45109
+ function Se(qe, Fe) {
45124
45110
  if (typeof Fe != "function" && Fe !== null)
45125
45111
  throw new TypeError("Super expression must either be null or a function, not " + typeof Fe);
45126
- ze.prototype = Object.create(Fe && Fe.prototype, { constructor: { value: ze, enumerable: !1, writable: !0, configurable: !0 } }), Fe && (Object.setPrototypeOf ? Object.setPrototypeOf(ze, Fe) : ze.__proto__ = Fe);
45112
+ qe.prototype = Object.create(Fe && Fe.prototype, { constructor: { value: qe, enumerable: !1, writable: !0, configurable: !0 } }), Fe && (Object.setPrototypeOf ? Object.setPrototypeOf(qe, Fe) : qe.__proto__ = Fe);
45127
45113
  }
45128
- var we = [["bold", "italic", "link"], [{ header: 1 }, { header: 2 }, "blockquote"]], Ae = (function(ze) {
45129
- Se(Fe, ze);
45114
+ var we = [["bold", "italic", "link"], [{ header: 1 }, { header: 2 }, "blockquote"]], Ae = (function(qe) {
45115
+ Se(Fe, qe);
45130
45116
  function Fe(Be, Pe) {
45131
45117
  ye(this, Fe), Pe.modules.toolbar != null && Pe.modules.toolbar.container == null && (Pe.modules.toolbar.container = we);
45132
45118
  var Oe = Ce(this, (Fe.__proto__ || Object.getPrototypeOf(Fe)).call(this, Be, Pe));
@@ -45150,13 +45136,13 @@ function requireQuill() {
45150
45136
  }
45151
45137
  }
45152
45138
  });
45153
- var Le = (function(ze) {
45154
- Se(Fe, ze);
45139
+ var Le = (function(qe) {
45140
+ Se(Fe, qe);
45155
45141
  function Fe(Be, Pe) {
45156
45142
  ye(this, Fe);
45157
45143
  var Oe = Ce(this, (Fe.__proto__ || Object.getPrototypeOf(Fe)).call(this, Be, Pe));
45158
- return Oe.quill.on(pe.default.events.EDITOR_CHANGE, function(qe, Ie, Ne, Ge) {
45159
- if (qe === pe.default.events.SELECTION_CHANGE)
45144
+ return Oe.quill.on(pe.default.events.EDITOR_CHANGE, function(ze, Ie, Ne, Ge) {
45145
+ if (ze === pe.default.events.SELECTION_CHANGE)
45160
45146
  if (Ie != null && Ie.length > 0 && Ge === pe.default.sources.USER) {
45161
45147
  Oe.show(), Oe.root.style.left = "0px", Oe.root.style.width = "", Oe.root.style.width = Oe.root.offsetWidth + "px";
45162
45148
  var Ze = Oe.quill.getLines(Ie.index, Ie.length);
@@ -45192,9 +45178,9 @@ function requireQuill() {
45192
45178
  }, {
45193
45179
  key: "position",
45194
45180
  value: function(Pe) {
45195
- var Oe = oe(Fe.prototype.__proto__ || Object.getPrototypeOf(Fe.prototype), "position", this).call(this, Pe), qe = this.root.querySelector(".ql-tooltip-arrow");
45196
- if (qe.style.marginLeft = "", Oe === 0) return Oe;
45197
- qe.style.marginLeft = -1 * Oe - qe.offsetWidth / 2 + "px";
45181
+ var Oe = oe(Fe.prototype.__proto__ || Object.getPrototypeOf(Fe.prototype), "position", this).call(this, Pe), ze = this.root.querySelector(".ql-tooltip-arrow");
45182
+ if (ze.style.marginLeft = "", Oe === 0) return Oe;
45183
+ ze.style.marginLeft = -1 * Oe - ze.offsetWidth / 2 + "px";
45198
45184
  }
45199
45185
  }]), Fe;
45200
45186
  })(fe.BaseTooltip);
@@ -46030,4 +46016,4 @@ export {
46030
46016
  h as v,
46031
46017
  PrimariaInteractionService as w
46032
46018
  };
46033
- //# sourceMappingURL=index-cueNwNYW.js.map
46019
+ //# sourceMappingURL=index-CHxcmbqZ.js.map