@uxland/primary-shell 7.15.1 → 7.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -70,7 +70,7 @@ function require_Reflect() {
70
70
  }
71
71
  }, be = Object.getPrototypeOf(Function), ge = typeof Map == "function" && typeof Map.prototype.entries == "function" ? Map : Kt(), ve = typeof Set == "function" && typeof Set.prototype.entries == "function" ? Set : Cs(), me = typeof WeakMap == "function" ? WeakMap : ss(), _e = oe ? Symbol.for("@reflect-metadata:registry") : void 0, ye = Ft(), Ce = Ht(ye);
72
72
  function Se(rt, ft, _t, St) {
73
- if (je(_t)) {
73
+ if (Be(_t)) {
74
74
  if (!Pt(rt))
75
75
  throw new TypeError();
76
76
  if (!Nt(ft))
@@ -81,7 +81,7 @@ function require_Reflect() {
81
81
  throw new TypeError();
82
82
  if (!Ue(ft))
83
83
  throw new TypeError();
84
- if (!Ue(St) && !je(St) && !Xe(St))
84
+ if (!Ue(St) && !Be(St) && !Xe(St))
85
85
  throw new TypeError();
86
86
  return Xe(St) && (St = void 0), _t = Ct(_t), Ne(rt, ft, _t, St);
87
87
  }
@@ -91,7 +91,7 @@ function require_Reflect() {
91
91
  function _t(St, It) {
92
92
  if (!Ue(St))
93
93
  throw new TypeError();
94
- if (!je(It) && !Ut(It))
94
+ if (!Be(It) && !Ut(It))
95
95
  throw new TypeError();
96
96
  Je(rt, ft, St, It);
97
97
  }
@@ -101,64 +101,64 @@ function require_Reflect() {
101
101
  function Ae(rt, ft, _t, St) {
102
102
  if (!Ue(_t))
103
103
  throw new TypeError();
104
- return je(St) || (St = Ct(St)), Je(rt, ft, _t, St);
104
+ return Be(St) || (St = Ct(St)), Je(rt, ft, _t, St);
105
105
  }
106
106
  X("defineMetadata", Ae);
107
107
  function Le(rt, ft, _t) {
108
108
  if (!Ue(ft))
109
109
  throw new TypeError();
110
- return je(_t) || (_t = Ct(_t)), Ge(rt, ft, _t);
110
+ return Be(_t) || (_t = Ct(_t)), Ge(rt, ft, _t);
111
111
  }
112
112
  X("hasMetadata", Le);
113
113
  function ze(rt, ft, _t) {
114
114
  if (!Ue(ft))
115
115
  throw new TypeError();
116
- return je(_t) || (_t = Ct(_t)), Ze(rt, ft, _t);
116
+ return Be(_t) || (_t = Ct(_t)), Ze(rt, ft, _t);
117
117
  }
118
118
  X("hasOwnMetadata", ze);
119
119
  function Fe(rt, ft, _t) {
120
120
  if (!Ue(ft))
121
121
  throw new TypeError();
122
- return je(_t) || (_t = Ct(_t)), Ke(rt, ft, _t);
122
+ return Be(_t) || (_t = Ct(_t)), Ke(rt, ft, _t);
123
123
  }
124
124
  X("getMetadata", Fe);
125
- function Be(rt, ft, _t) {
125
+ function je(rt, ft, _t) {
126
126
  if (!Ue(ft))
127
127
  throw new TypeError();
128
- return je(_t) || (_t = Ct(_t)), bt(rt, ft, _t);
128
+ return Be(_t) || (_t = Ct(_t)), bt(rt, ft, _t);
129
129
  }
130
- X("getOwnMetadata", Be);
130
+ X("getOwnMetadata", je);
131
131
  function Pe(rt, ft) {
132
132
  if (!Ue(rt))
133
133
  throw new TypeError();
134
- return je(ft) || (ft = Ct(ft)), Ye(rt, ft);
134
+ return Be(ft) || (ft = Ct(ft)), Ye(rt, ft);
135
135
  }
136
136
  X("getMetadataKeys", Pe);
137
137
  function Oe(rt, ft) {
138
138
  if (!Ue(rt))
139
139
  throw new TypeError();
140
- return je(ft) || (ft = Ct(ft)), Me(rt, ft);
140
+ return Be(ft) || (ft = Ct(ft)), Me(rt, ft);
141
141
  }
142
142
  X("getOwnMetadataKeys", Oe);
143
143
  function qe(rt, ft, _t) {
144
144
  if (!Ue(ft))
145
145
  throw new TypeError();
146
- if (je(_t) || (_t = Ct(_t)), !Ue(ft))
146
+ if (Be(_t) || (_t = Ct(_t)), !Ue(ft))
147
147
  throw new TypeError();
148
- je(_t) || (_t = Ct(_t));
148
+ Be(_t) || (_t = Ct(_t));
149
149
  var St = cs(
150
150
  ft,
151
151
  _t,
152
152
  /*Create*/
153
153
  !1
154
154
  );
155
- return je(St) ? !1 : St.OrdinaryDeleteMetadata(rt, ft, _t);
155
+ return Be(St) ? !1 : St.OrdinaryDeleteMetadata(rt, ft, _t);
156
156
  }
157
157
  X("deleteMetadata", qe);
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);
161
- if (!je(It) && !Xe(It)) {
161
+ if (!Be(It) && !Xe(It)) {
162
162
  if (!Nt(It))
163
163
  throw new TypeError();
164
164
  ft = It;
@@ -169,7 +169,7 @@ function require_Reflect() {
169
169
  function Ne(rt, ft, _t, St) {
170
170
  for (var It = rt.length - 1; It >= 0; --It) {
171
171
  var os = rt[It], ds = os(ft, _t, St);
172
- if (!je(ds) && !Xe(ds)) {
172
+ if (!Be(ds) && !Xe(ds)) {
173
173
  if (!Ue(ds))
174
174
  throw new TypeError();
175
175
  St = ds;
@@ -191,7 +191,7 @@ function require_Reflect() {
191
191
  /*Create*/
192
192
  !1
193
193
  );
194
- return je(St) ? !1 : ot(St.OrdinaryHasOwnMetadata(rt, ft, _t));
194
+ return Be(St) ? !1 : ot(St.OrdinaryHasOwnMetadata(rt, ft, _t));
195
195
  }
196
196
  function Ke(rt, ft, _t) {
197
197
  var St = Ze(rt, ft, _t);
@@ -208,7 +208,7 @@ function require_Reflect() {
208
208
  /*Create*/
209
209
  !1
210
210
  );
211
- if (!je(St))
211
+ if (!Be(St))
212
212
  return St.OrdinaryGetOwnMetadata(rt, ft, _t);
213
213
  }
214
214
  function Je(rt, ft, _t, St) {
@@ -229,12 +229,12 @@ function require_Reflect() {
229
229
  return _t;
230
230
  if (_t.length <= 0)
231
231
  return It;
232
- for (var os = new ve(), ds = [], jt = 0, Tt = _t; jt < Tt.length; jt++) {
233
- var Ot = Tt[jt], zt = os.has(Ot);
232
+ for (var os = new ve(), ds = [], Bt = 0, Tt = _t; Bt < Tt.length; Bt++) {
233
+ var Ot = Tt[Bt], zt = os.has(Ot);
234
234
  zt || (os.add(Ot), ds.push(Ot));
235
235
  }
236
- for (var Dt = 0, Bt = It; Dt < Bt.length; Dt++) {
237
- var Ot = Bt[Dt], zt = os.has(Ot);
236
+ for (var Dt = 0, jt = It; Dt < jt.length; Dt++) {
237
+ var Ot = jt[Dt], zt = os.has(Ot);
238
238
  zt || (os.add(Ot), ds.push(Ot));
239
239
  }
240
240
  return ds;
@@ -268,7 +268,7 @@ function require_Reflect() {
268
268
  return 6;
269
269
  }
270
270
  }
271
- function je(rt) {
271
+ function Be(rt) {
272
272
  return rt === void 0;
273
273
  }
274
274
  function Xe(rt) {
@@ -394,7 +394,7 @@ function require_Reflect() {
394
394
  }
395
395
  function Mt() {
396
396
  var rt;
397
- !je(_e) && typeof re.Reflect < "u" && !(_e in re.Reflect) && typeof re.Reflect.defineMetadata == "function" && (rt = us(re.Reflect));
397
+ !Be(_e) && typeof re.Reflect < "u" && !(_e in re.Reflect) && typeof re.Reflect.defineMetadata == "function" && (rt = us(re.Reflect));
398
398
  var ft, _t, St, It = new me(), os = {
399
399
  registerProvider: ds,
400
400
  getProvider: Tt,
@@ -407,12 +407,12 @@ function require_Reflect() {
407
407
  switch (!0) {
408
408
  case rt === Dt:
409
409
  break;
410
- case je(ft):
410
+ case Be(ft):
411
411
  ft = Dt;
412
412
  break;
413
413
  case ft === Dt:
414
414
  break;
415
- case je(_t):
415
+ case Be(_t):
416
416
  _t = Dt;
417
417
  break;
418
418
  case _t === Dt:
@@ -422,52 +422,52 @@ function require_Reflect() {
422
422
  break;
423
423
  }
424
424
  }
425
- function jt(Dt, Bt) {
426
- if (!je(ft)) {
427
- if (ft.isProviderFor(Dt, Bt))
425
+ function Bt(Dt, jt) {
426
+ if (!Be(ft)) {
427
+ if (ft.isProviderFor(Dt, jt))
428
428
  return ft;
429
- if (!je(_t)) {
430
- if (_t.isProviderFor(Dt, Bt))
429
+ if (!Be(_t)) {
430
+ if (_t.isProviderFor(Dt, jt))
431
431
  return ft;
432
- if (!je(St))
432
+ if (!Be(St))
433
433
  for (var es = mt(St); ; ) {
434
434
  var as = kt(es);
435
435
  if (!as)
436
436
  return;
437
437
  var fs = vt(as);
438
- if (fs.isProviderFor(Dt, Bt))
438
+ if (fs.isProviderFor(Dt, jt))
439
439
  return At(es), fs;
440
440
  }
441
441
  }
442
442
  }
443
- if (!je(rt) && rt.isProviderFor(Dt, Bt))
443
+ if (!Be(rt) && rt.isProviderFor(Dt, jt))
444
444
  return rt;
445
445
  }
446
- function Tt(Dt, Bt) {
446
+ function Tt(Dt, jt) {
447
447
  var es = It.get(Dt), as;
448
- return je(es) || (as = es.get(Bt)), je(as) && (as = jt(Dt, Bt), je(as) || (je(es) && (es = new ge(), It.set(Dt, es)), es.set(Bt, as))), as;
448
+ return Be(es) || (as = es.get(jt)), Be(as) && (as = Bt(Dt, jt), Be(as) || (Be(es) && (es = new ge(), It.set(Dt, es)), es.set(jt, as))), as;
449
449
  }
450
450
  function Ot(Dt) {
451
- if (je(Dt))
451
+ if (Be(Dt))
452
452
  throw new TypeError();
453
- return ft === Dt || _t === Dt || !je(St) && St.has(Dt);
453
+ return ft === Dt || _t === Dt || !Be(St) && St.has(Dt);
454
454
  }
455
- function zt(Dt, Bt, es) {
455
+ function zt(Dt, jt, es) {
456
456
  if (!Ot(es))
457
457
  throw new Error("Metadata provider not registered.");
458
- var as = Tt(Dt, Bt);
458
+ var as = Tt(Dt, jt);
459
459
  if (as !== es) {
460
- if (!je(as))
460
+ if (!Be(as))
461
461
  return !1;
462
462
  var fs = It.get(Dt);
463
- je(fs) && (fs = new ge(), It.set(Dt, fs)), fs.set(Bt, es);
463
+ Be(fs) && (fs = new ge(), It.set(Dt, fs)), fs.set(jt, es);
464
464
  }
465
465
  return !0;
466
466
  }
467
467
  }
468
468
  function Ft() {
469
469
  var rt;
470
- return !je(_e) && Ue(re.Reflect) && Object.isExtensible(re.Reflect) && (rt = re.Reflect[_e]), je(rt) && (rt = Mt()), !je(_e) && Ue(re.Reflect) && Object.isExtensible(re.Reflect) && Object.defineProperty(re.Reflect, _e, {
470
+ return !Be(_e) && Ue(re.Reflect) && Object.isExtensible(re.Reflect) && (rt = re.Reflect[_e]), Be(rt) && (rt = Mt()), !Be(_e) && Ue(re.Reflect) && Object.isExtensible(re.Reflect) && Object.defineProperty(re.Reflect, _e, {
471
471
  enumerable: !1,
472
472
  configurable: !1,
473
473
  writable: !1,
@@ -478,69 +478,69 @@ function require_Reflect() {
478
478
  var ft = new me(), _t = {
479
479
  isProviderFor: function(Ot, zt) {
480
480
  var Dt = ft.get(Ot);
481
- return je(Dt) ? !1 : Dt.has(zt);
481
+ return Be(Dt) ? !1 : Dt.has(zt);
482
482
  },
483
483
  OrdinaryDefineOwnMetadata: ds,
484
484
  OrdinaryHasOwnMetadata: It,
485
485
  OrdinaryGetOwnMetadata: os,
486
- OrdinaryOwnMetadataKeys: jt,
486
+ OrdinaryOwnMetadataKeys: Bt,
487
487
  OrdinaryDeleteMetadata: Tt
488
488
  };
489
489
  return ye.registerProvider(_t), _t;
490
490
  function St(Ot, zt, Dt) {
491
- var Bt = ft.get(Ot), es = !1;
492
- if (je(Bt)) {
491
+ var jt = ft.get(Ot), es = !1;
492
+ if (Be(jt)) {
493
493
  if (!Dt)
494
494
  return;
495
- Bt = new ge(), ft.set(Ot, Bt), es = !0;
495
+ jt = new ge(), ft.set(Ot, jt), es = !0;
496
496
  }
497
- var as = Bt.get(zt);
498
- if (je(as)) {
497
+ var as = jt.get(zt);
498
+ if (Be(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(), jt.set(zt, as), !rt.setProvider(Ot, zt, _t))
502
+ throw jt.delete(zt), es && ft.delete(Ot), new Error("Wrong provider for target.");
503
503
  }
504
504
  return as;
505
505
  }
506
506
  function It(Ot, zt, Dt) {
507
- var Bt = St(
507
+ var jt = St(
508
508
  zt,
509
509
  Dt,
510
510
  /*Create*/
511
511
  !1
512
512
  );
513
- return je(Bt) ? !1 : ot(Bt.has(Ot));
513
+ return Be(jt) ? !1 : ot(jt.has(Ot));
514
514
  }
515
515
  function os(Ot, zt, Dt) {
516
- var Bt = St(
516
+ var jt = St(
517
517
  zt,
518
518
  Dt,
519
519
  /*Create*/
520
520
  !1
521
521
  );
522
- if (!je(Bt))
523
- return Bt.get(Ot);
522
+ if (!Be(jt))
523
+ return jt.get(Ot);
524
524
  }
525
- function ds(Ot, zt, Dt, Bt) {
525
+ function ds(Ot, zt, Dt, jt) {
526
526
  var es = St(
527
527
  Dt,
528
- Bt,
528
+ jt,
529
529
  /*Create*/
530
530
  !0
531
531
  );
532
532
  es.set(Ot, zt);
533
533
  }
534
- function jt(Ot, zt) {
535
- var Dt = [], Bt = St(
534
+ function Bt(Ot, zt) {
535
+ var Dt = [], jt = St(
536
536
  Ot,
537
537
  zt,
538
538
  /*Create*/
539
539
  !1
540
540
  );
541
- if (je(Bt))
541
+ if (Be(jt))
542
542
  return Dt;
543
- for (var es = Bt.keys(), as = mt(es), fs = 0; ; ) {
543
+ for (var es = jt.keys(), as = mt(es), fs = 0; ; ) {
544
544
  var Es = kt(as);
545
545
  if (!Es)
546
546
  return Dt.length = fs, Dt;
@@ -558,26 +558,26 @@ function require_Reflect() {
558
558
  }
559
559
  }
560
560
  function Tt(Ot, zt, Dt) {
561
- var Bt = St(
561
+ var jt = St(
562
562
  zt,
563
563
  Dt,
564
564
  /*Create*/
565
565
  !1
566
566
  );
567
- if (je(Bt) || !Bt.delete(Ot))
567
+ if (Be(jt) || !jt.delete(Ot))
568
568
  return !1;
569
- if (Bt.size === 0) {
569
+ if (jt.size === 0) {
570
570
  var es = ft.get(zt);
571
- je(es) || (es.delete(Dt), es.size === 0 && ft.delete(es));
571
+ Be(es) || (es.delete(Dt), es.size === 0 && ft.delete(es));
572
572
  }
573
573
  return !0;
574
574
  }
575
575
  }
576
576
  function us(rt) {
577
- var ft = rt.defineMetadata, _t = rt.hasOwnMetadata, St = rt.getOwnMetadata, It = rt.getOwnMetadataKeys, os = rt.deleteMetadata, ds = new me(), jt = {
577
+ var ft = rt.defineMetadata, _t = rt.hasOwnMetadata, St = rt.getOwnMetadata, It = rt.getOwnMetadataKeys, os = rt.deleteMetadata, ds = new me(), Bt = {
578
578
  isProviderFor: function(Tt, Ot) {
579
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;
580
+ return !Be(zt) && zt.has(Ot) ? !0 : It(Tt, Ot).length ? (Be(zt) && (zt = new ve(), ds.set(Tt, zt)), zt.add(Ot), !0) : !1;
581
581
  },
582
582
  OrdinaryDefineOwnMetadata: ft,
583
583
  OrdinaryHasOwnMetadata: _t,
@@ -585,11 +585,11 @@ function require_Reflect() {
585
585
  OrdinaryOwnMetadataKeys: It,
586
586
  OrdinaryDeleteMetadata: os
587
587
  };
588
- return jt;
588
+ return Bt;
589
589
  }
590
590
  function cs(rt, ft, _t) {
591
591
  var St = ye.getProvider(rt, ft);
592
- if (!je(St))
592
+ if (!Be(St))
593
593
  return St;
594
594
  if (_t) {
595
595
  if (ye.setProvider(rt, ft, Ce))
@@ -601,59 +601,59 @@ function require_Reflect() {
601
601
  var rt = {}, ft = [], _t = (
602
602
  /** @class */
603
603
  (function() {
604
- function jt(Tt, Ot, zt) {
604
+ function Bt(Tt, Ot, zt) {
605
605
  this._index = 0, this._keys = Tt, this._values = Ot, this._selector = zt;
606
606
  }
607
- return jt.prototype["@@iterator"] = function() {
607
+ return Bt.prototype["@@iterator"] = function() {
608
608
  return this;
609
- }, jt.prototype[ce] = function() {
609
+ }, Bt.prototype[ce] = function() {
610
610
  return this;
611
- }, jt.prototype.next = function() {
611
+ }, Bt.prototype.next = function() {
612
612
  var Tt = this._index;
613
613
  if (Tt >= 0 && Tt < this._keys.length) {
614
614
  var Ot = this._selector(this._keys[Tt], this._values[Tt]);
615
615
  return Tt + 1 >= this._keys.length ? (this._index = -1, this._keys = ft, this._values = ft) : this._index++, { value: Ot, done: !1 };
616
616
  }
617
617
  return { value: void 0, done: !0 };
618
- }, jt.prototype.throw = function(Tt) {
618
+ }, Bt.prototype.throw = function(Tt) {
619
619
  throw this._index >= 0 && (this._index = -1, this._keys = ft, this._values = ft), Tt;
620
- }, jt.prototype.return = function(Tt) {
620
+ }, Bt.prototype.return = function(Tt) {
621
621
  return this._index >= 0 && (this._index = -1, this._keys = ft, this._values = ft), { value: Tt, done: !0 };
622
- }, jt;
622
+ }, Bt;
623
623
  })()
624
624
  ), St = (
625
625
  /** @class */
626
626
  (function() {
627
- function jt() {
627
+ function Bt() {
628
628
  this._keys = [], this._values = [], this._cacheKey = rt, this._cacheIndex = -2;
629
629
  }
630
- return Object.defineProperty(jt.prototype, "size", {
630
+ return Object.defineProperty(Bt.prototype, "size", {
631
631
  get: function() {
632
632
  return this._keys.length;
633
633
  },
634
634
  enumerable: !0,
635
635
  configurable: !0
636
- }), jt.prototype.has = function(Tt) {
636
+ }), Bt.prototype.has = function(Tt) {
637
637
  return this._find(
638
638
  Tt,
639
639
  /*insert*/
640
640
  !1
641
641
  ) >= 0;
642
- }, jt.prototype.get = function(Tt) {
642
+ }, Bt.prototype.get = function(Tt) {
643
643
  var Ot = this._find(
644
644
  Tt,
645
645
  /*insert*/
646
646
  !1
647
647
  );
648
648
  return Ot >= 0 ? this._values[Ot] : void 0;
649
- }, jt.prototype.set = function(Tt, Ot) {
649
+ }, Bt.prototype.set = function(Tt, Ot) {
650
650
  var zt = this._find(
651
651
  Tt,
652
652
  /*insert*/
653
653
  !0
654
654
  );
655
655
  return this._values[zt] = Ot, this;
656
- }, jt.prototype.delete = function(Tt) {
656
+ }, Bt.prototype.delete = function(Tt) {
657
657
  var Ot = this._find(
658
658
  Tt,
659
659
  /*insert*/
@@ -665,19 +665,19 @@ function require_Reflect() {
665
665
  return this._keys.length--, this._values.length--, ns(Tt, this._cacheKey) && (this._cacheKey = rt, this._cacheIndex = -2), !0;
666
666
  }
667
667
  return !1;
668
- }, jt.prototype.clear = function() {
668
+ }, Bt.prototype.clear = function() {
669
669
  this._keys.length = 0, this._values.length = 0, this._cacheKey = rt, this._cacheIndex = -2;
670
- }, jt.prototype.keys = function() {
670
+ }, Bt.prototype.keys = function() {
671
671
  return new _t(this._keys, this._values, It);
672
- }, jt.prototype.values = function() {
672
+ }, Bt.prototype.values = function() {
673
673
  return new _t(this._keys, this._values, os);
674
- }, jt.prototype.entries = function() {
674
+ }, Bt.prototype.entries = function() {
675
675
  return new _t(this._keys, this._values, ds);
676
- }, jt.prototype["@@iterator"] = function() {
676
+ }, Bt.prototype["@@iterator"] = function() {
677
677
  return this.entries();
678
- }, jt.prototype[ce] = function() {
678
+ }, Bt.prototype[ce] = function() {
679
679
  return this.entries();
680
- }, jt.prototype._find = function(Tt, Ot) {
680
+ }, Bt.prototype._find = function(Tt, Ot) {
681
681
  if (!ns(this._cacheKey, Tt)) {
682
682
  this._cacheIndex = -1;
683
683
  for (var zt = 0; zt < this._keys.length; zt++)
@@ -687,18 +687,18 @@ function require_Reflect() {
687
687
  }
688
688
  }
689
689
  return this._cacheIndex < 0 && Ot && (this._cacheIndex = this._keys.length, this._keys.push(Tt), this._values.push(void 0)), this._cacheIndex;
690
- }, jt;
690
+ }, Bt;
691
691
  })()
692
692
  );
693
693
  return St;
694
- function It(jt, Tt) {
695
- return jt;
694
+ function It(Bt, Tt) {
695
+ return Bt;
696
696
  }
697
- function os(jt, Tt) {
697
+ function os(Bt, Tt) {
698
698
  return Tt;
699
699
  }
700
- function ds(jt, Tt) {
701
- return [jt, Tt];
700
+ function ds(Bt, Tt) {
701
+ return [Bt, Tt];
702
702
  }
703
703
  }
704
704
  function Cs() {
@@ -781,7 +781,7 @@ function require_Reflect() {
781
781
  function St() {
782
782
  var Tt;
783
783
  do
784
- Tt = "@@WeakMap@@" + jt();
784
+ Tt = "@@WeakMap@@" + Bt();
785
785
  while (fe.has(ft, Tt));
786
786
  return ft[Tt] = !0, Tt;
787
787
  }
@@ -805,7 +805,7 @@ function require_Reflect() {
805
805
  }
806
806
  return os(new Array(Tt), Tt);
807
807
  }
808
- function jt() {
808
+ function Bt() {
809
809
  var Tt = ds(rt);
810
810
  Tt[6] = Tt[6] & 79 | 64, Tt[8] = Tt[8] & 191 | 128;
811
811
  for (var Ot = "", zt = 0; zt < rt; ++zt) {
@@ -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;
@@ -4724,7 +4727,7 @@ const resolveConfig = (te) => {
4724
4727
  onUploadProgress: Le,
4725
4728
  responseType: ze,
4726
4729
  headers: Fe,
4727
- withCredentials: Be = "same-origin",
4730
+ withCredentials: je = "same-origin",
4728
4731
  fetchOptions: Pe
4729
4732
  } = resolveConfig(ve), Oe = J || fetch;
4730
4733
  ze = ze ? (ze + "").toLowerCase() : "text";
@@ -4741,14 +4744,14 @@ const resolveConfig = (te) => {
4741
4744
  duplex: "half"
4742
4745
  }), We;
4743
4746
  if (utils$1.isFormData(ye) && (We = Me.headers.get("content-type")) && Fe.setContentType(We), Me.body) {
4744
- const [je, Xe] = progressEventDecorator(
4747
+ const [Be, Xe] = progressEventDecorator(
4745
4748
  Ge,
4746
4749
  progressEventReducer(asyncDecorator(Le))
4747
4750
  );
4748
- ye = trackStream(Me.body, DEFAULT_CHUNK_SIZE, je, Xe);
4751
+ ye = trackStream(Me.body, DEFAULT_CHUNK_SIZE, Be, Xe);
4749
4752
  }
4750
4753
  }
4751
- utils$1.isString(Be) || (Be = Be ? "include" : "omit");
4754
+ utils$1.isString(je) || (je = je ? "include" : "omit");
4752
4755
  const Ze = oe && "credentials" in X.prototype, Ke = {
4753
4756
  ...Pe,
4754
4757
  signal: qe,
@@ -4756,7 +4759,7 @@ const resolveConfig = (te) => {
4756
4759
  headers: Fe.normalize().toJSON(),
4757
4760
  body: ye,
4758
4761
  duplex: "half",
4759
- credentials: Ze ? Be : void 0
4762
+ credentials: Ze ? je : void 0
4760
4763
  };
4761
4764
  Ie = oe && new X(me, Ke);
4762
4765
  let bt = await (oe ? Oe(Ie, Pe) : Oe(me, Ke));
@@ -4766,12 +4769,12 @@ const resolveConfig = (te) => {
4766
4769
  ["status", "statusText", "headers"].forEach((tt) => {
4767
4770
  Me[tt] = bt[tt];
4768
4771
  });
4769
- const We = utils$1.toFiniteNumber(bt.headers.get("content-length")), [je, Xe] = Ae && progressEventDecorator(
4772
+ const We = utils$1.toFiniteNumber(bt.headers.get("content-length")), [Be, Xe] = Ae && progressEventDecorator(
4770
4773
  We,
4771
4774
  progressEventReducer(asyncDecorator(Ae), !0)
4772
4775
  ) || [];
4773
4776
  bt = new re(
4774
- trackStream(bt.body, DEFAULT_CHUNK_SIZE, je, () => {
4777
+ trackStream(bt.body, DEFAULT_CHUNK_SIZE, Be, () => {
4775
4778
  Xe && Xe(), Ne && Ne();
4776
4779
  }),
4777
4780
  Me
@@ -5496,10 +5499,10 @@ class ParimariaInteractionServiceImpl extends PrimariaInteractionService {
5496
5499
  }
5497
5500
  }, [ue, J]);
5498
5501
  const ze = (Ie) => {
5499
- Be(ge, Ie);
5502
+ je(ge, Ie);
5500
5503
  }, Fe = (Ie) => {
5501
- Be(Ie, !0);
5502
- }, Be = (Ie, Ne) => {
5504
+ je(Ie, !0);
5505
+ }, je = (Ie, Ne) => {
5503
5506
  setTimeout(() => {
5504
5507
  oe({
5505
5508
  result: Ne ? Ie : void 0,
@@ -5841,7 +5844,7 @@ function peg$parse(te, J) {
5841
5844
  return __assign$4({ type: TYPE.argument, value: De }, ys());
5842
5845
  }, _e = gs("numberSkeletonId"), ye = /^['\/{}]/, Ce = $s(["'", "/", "{", "}"], !1, !1), Se = Li(), we = gs("numberSkeletonTokenOption"), Ae = "/", Le = hs("/", !1), ze = function(De) {
5843
5846
  return De;
5844
- }, Fe = gs("numberSkeletonToken"), Be = function(De, Ve) {
5847
+ }, Fe = gs("numberSkeletonToken"), je = 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());
@@ -5853,7 +5856,7 @@ function peg$parse(te, J) {
5853
5856
  return _s.pop(), De.replace(/\s*$/, "");
5854
5857
  }, Ze = ",", Ke = hs(",", !1), bt = "number", Je = hs("number", !1), Ye = function(De, Ve, it) {
5855
5858
  return __assign$4({ type: Ve === "number" ? TYPE.number : Ve === "date" ? TYPE.date : TYPE.time, style: it && it[2], value: De }, ys());
5856
- }, Me = "'", We = hs("'", !1), je = /^[^']/, Xe = $s(["'"], !0, !1), tt = /^[^a-zA-Z'{}]/, Ue = $s([["a", "z"], ["A", "Z"], "'", "{", "}"], !0, !1), Qe = /^[a-zA-Z]/, nt = $s([["a", "z"], ["A", "Z"]], !1, !1), ot = function(De) {
5859
+ }, Me = "'", We = hs("'", !1), Be = /^[^']/, Xe = $s(["'"], !0, !1), tt = /^[^a-zA-Z'{}]/, Ue = $s([["a", "z"], ["A", "Z"], "'", "{", "}"], !0, !1), Qe = /^[a-zA-Z]/, nt = $s([["a", "z"], ["A", "Z"]], !1, !1), ot = function(De) {
5857
5860
  return __assign$4({ type: 1, pattern: De }, ys());
5858
5861
  }, yt = function() {
5859
5862
  return _s.push("dateOrTimeArgStyle"), !0;
@@ -5887,9 +5890,9 @@ function peg$parse(te, J) {
5887
5890
  id: De,
5888
5891
  value: Ve
5889
5892
  }, ys());
5890
- }, 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) {
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"), Bt = "-", 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
+ }, zt = gs("double apostrophes"), Dt = "''", jt = hs("''", !1), es = function() {
5893
5896
  return "'";
5894
5897
  }, as = function(De, Ve) {
5895
5898
  return De + Ve.replace("''", "'");
@@ -5982,7 +5985,7 @@ function peg$parse(te, J) {
5982
5985
  }
5983
5986
  function li() {
5984
5987
  var De;
5985
- return De = Ni(), De === X && (De = ji(), De === X && (De = Ki(), De === X && (De = Qi(), De === X && (De = Ji(), De === X && (De = Bi()))))), De;
5988
+ return De = Ni(), De === X && (De = Bi(), De === X && (De = Ki(), De === X && (De = Qi(), De === X && (De = Ji(), De === X && (De = ji()))))), De;
5986
5989
  }
5987
5990
  function Ls() {
5988
5991
  var De, Ve, it;
@@ -5997,11 +6000,11 @@ function peg$parse(te, J) {
5997
6000
  var De, Ve;
5998
6001
  return De = He, Ve = Ls(), Ve !== X && (Zt = De, Ve = de(Ve)), De = Ve, De;
5999
6002
  }
6000
- function Bi() {
6003
+ function ji() {
6001
6004
  var De, Ve;
6002
6005
  return De = He, te.charCodeAt(He) === 35 ? (Ve = ce, He++) : (Ve = X, wt === 0 && Et(ue)), Ve !== X && (Zt = De, Ve = he()), De = Ve, De;
6003
6006
  }
6004
- function ji() {
6007
+ function Bi() {
6005
6008
  var De, Ve, it, gt, xt, Lt;
6006
6009
  return wt++, 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) === 125 ? (Lt = ge, He++) : (Lt = X, wt === 0 && Et(ve)), Lt !== X ? (Zt = De, Ve = me(gt), De = Ve) : (He = De, De = X)) : (He = De, De = X)) : (He = De, De = X)) : (He = De, De = X)) : (He = De, De = X), wt--, De === X && (Ve = X, wt === 0 && Et(pe)), De;
6007
6010
  }
@@ -6024,7 +6027,7 @@ function peg$parse(te, J) {
6024
6027
  if (it = di(), it !== X) {
6025
6028
  for (gt = [], xt = ci(); xt !== X; )
6026
6029
  gt.push(xt), xt = ci();
6027
- gt !== X ? (Zt = De, Ve = Be(it, gt), De = Ve) : (He = De, De = X);
6030
+ gt !== X ? (Zt = De, Ve = je(it, gt), De = Ve) : (He = De, De = X);
6028
6031
  } else
6029
6032
  He = De, De = X;
6030
6033
  else
@@ -6051,9 +6054,9 @@ function peg$parse(te, J) {
6051
6054
  function hi() {
6052
6055
  var De, Ve, it, gt;
6053
6056
  if (De = He, te.charCodeAt(He) === 39 ? (Ve = Me, He++) : (Ve = X, wt === 0 && Et(We)), Ve !== X) {
6054
- if (it = [], gt = ks(), gt === X && (je.test(te.charAt(He)) ? (gt = te.charAt(He), He++) : (gt = X, wt === 0 && Et(Xe))), gt !== X)
6057
+ if (it = [], gt = ks(), gt === X && (Be.test(te.charAt(He)) ? (gt = te.charAt(He), He++) : (gt = X, wt === 0 && Et(Xe))), gt !== X)
6055
6058
  for (; gt !== X; )
6056
- it.push(gt), gt = ks(), gt === X && (je.test(te.charAt(He)) ? (gt = te.charAt(He), He++) : (gt = X, wt === 0 && Et(Xe)));
6059
+ it.push(gt), gt = ks(), gt === X && (Be.test(te.charAt(He)) ? (gt = te.charAt(He), He++) : (gt = X, wt === 0 && Et(Xe)));
6057
6060
  else
6058
6061
  it = X;
6059
6062
  it !== X ? (te.charCodeAt(He) === 39 ? (gt = Me, He++) : (gt = X, wt === 0 && Et(We)), gt !== X ? (Ve = [Ve, it, gt], De = Ve) : (He = De, De = X)) : (He = De, De = X);
@@ -6211,18 +6214,18 @@ function peg$parse(te, J) {
6211
6214
  }
6212
6215
  function mi() {
6213
6216
  var De, Ve, it;
6214
- return wt++, De = He, te.charCodeAt(He) === 45 ? (Ve = jt, He++) : (Ve = X, wt === 0 && Et(Tt)), Ve === X && (Ve = null), Ve !== X ? (it = yi(), it !== X ? (Zt = De, Ve = Ot(Ve, it), De = Ve) : (He = De, De = X)) : (He = De, De = X), wt--, De === X && (Ve = X, wt === 0 && Et(ds)), De;
6217
+ return wt++, De = He, te.charCodeAt(He) === 45 ? (Ve = Bt, He++) : (Ve = X, wt === 0 && Et(Tt)), Ve === X && (Ve = null), Ve !== X ? (it = yi(), it !== X ? (Zt = De, Ve = Ot(Ve, it), De = Ve) : (He = De, De = X)) : (He = De, De = X), wt--, De === X && (Ve = X, wt === 0 && Et(ds)), De;
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(jt)), Ve !== X && (Zt = De, Ve = es()), De = Ve, wt--, De === X && (Ve = X, wt === 0 && Et(zt)), De;
6219
6222
  }
6220
6223
  function vi() {
6221
6224
  var De, Ve, it, gt, xt, Lt;
6222
6225
  if (De = He, te.charCodeAt(He) === 39 ? (Ve = Me, He++) : (Ve = X, wt === 0 && Et(We)), Ve !== X)
6223
6226
  if (it = sr(), it !== X) {
6224
- for (gt = He, xt = [], te.substr(He, 2) === Dt ? (Lt = Dt, He += 2) : (Lt = X, wt === 0 && Et(Bt)), Lt === X && (je.test(te.charAt(He)) ? (Lt = te.charAt(He), He++) : (Lt = X, wt === 0 && Et(Xe))); Lt !== X; )
6225
- xt.push(Lt), te.substr(He, 2) === Dt ? (Lt = Dt, He += 2) : (Lt = X, wt === 0 && Et(Bt)), Lt === X && (je.test(te.charAt(He)) ? (Lt = te.charAt(He), He++) : (Lt = X, wt === 0 && Et(Xe)));
6227
+ for (gt = He, xt = [], te.substr(He, 2) === Dt ? (Lt = Dt, He += 2) : (Lt = X, wt === 0 && Et(jt)), Lt === X && (Be.test(te.charAt(He)) ? (Lt = te.charAt(He), He++) : (Lt = X, wt === 0 && Et(Xe))); Lt !== X; )
6228
+ xt.push(Lt), te.substr(He, 2) === Dt ? (Lt = Dt, He += 2) : (Lt = X, wt === 0 && Et(jt)), Lt === X && (Be.test(te.charAt(He)) ? (Lt = te.charAt(He), He++) : (Lt = X, wt === 0 && Et(Xe)));
6226
6229
  xt !== X ? gt = te.substring(gt, He) : gt = xt, gt !== X ? (te.charCodeAt(He) === 39 ? (xt = Me, He++) : (xt = X, wt === 0 && Et(We)), xt === X && (xt = null), xt !== X ? (Zt = De, Ve = as(it, gt), De = Ve) : (He = De, De = X)) : (He = De, De = X);
6227
6230
  } else
6228
6231
  He = De, De = 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,
@@ -9074,10 +9084,10 @@ const Rt = e$J(class extends i$A {
9074
9084
  </dss-tooltip>`}
9075
9085
  </div>
9076
9086
  `;
9077
- var __defProp$p = Object.defineProperty, __decorateClass$w = (te, J, X, re) => {
9087
+ var __defProp$q = Object.defineProperty, __decorateClass$x = (te, J, X, re) => {
9078
9088
  for (var ne = void 0, oe = te.length - 1, de; oe >= 0; oe--)
9079
9089
  (de = te[oe]) && (ne = de(J, X, ne) || ne);
9080
- return ne && __defProp$p(J, X, ne), ne;
9090
+ return ne && __defProp$q(J, X, ne), ne;
9081
9091
  };
9082
9092
  const Hs = class Hs extends k$6(h$o) {
9083
9093
  constructor(J) {
@@ -9118,16 +9128,16 @@ Hs.styles = i$D`
9118
9128
  ${r$H(styles$n)}
9119
9129
  `;
9120
9130
  let PrimariaNavItem = Hs;
9121
- __decorateClass$w([
9131
+ __decorateClass$x([
9122
9132
  n$z({ type: Number })
9123
9133
  ], PrimariaNavItem.prototype, "containerWidth");
9124
- __decorateClass$w([
9134
+ __decorateClass$x([
9125
9135
  r$E()
9126
9136
  ], PrimariaNavItem.prototype, "showText");
9127
- __decorateClass$w([
9137
+ __decorateClass$x([
9128
9138
  r$E()
9129
9139
  ], PrimariaNavItem.prototype, "isActive");
9130
- __decorateClass$w([
9140
+ __decorateClass$x([
9131
9141
  n$z({ type: Object })
9132
9142
  ], PrimariaNavItem.prototype, "config");
9133
9143
  const pdfViwerEvents = {
@@ -9217,10 +9227,10 @@ const createUrlFromBase64 = (te, J) => {
9217
9227
  return URL.createObjectURL(X);
9218
9228
  }
9219
9229
  };
9220
- var __defProp$o = Object.defineProperty, __decorateClass$v = (te, J, X, re) => {
9230
+ var __defProp$p = Object.defineProperty, __decorateClass$w = (te, J, X, re) => {
9221
9231
  for (var ne = void 0, oe = te.length - 1, de; oe >= 0; oe--)
9222
9232
  (de = te[oe]) && (ne = de(J, X, ne) || ne);
9223
- return ne && __defProp$o(J, X, ne), ne;
9233
+ return ne && __defProp$p(J, X, ne), ne;
9224
9234
  };
9225
9235
  const Ns = class Ns extends h$o {
9226
9236
  constructor() {
@@ -9289,13 +9299,13 @@ const Ns = class Ns extends h$o {
9289
9299
  };
9290
9300
  Ns.styles = i$D`${r$H(styles$m)}`;
9291
9301
  let PdfVisor = Ns;
9292
- __decorateClass$v([
9302
+ __decorateClass$w([
9293
9303
  lazyInject$1(TYPES$1.primaryApi)
9294
9304
  ], PdfVisor.prototype, "api");
9295
- __decorateClass$v([
9305
+ __decorateClass$w([
9296
9306
  n$z({ type: Array })
9297
9307
  ], PdfVisor.prototype, "pdfList");
9298
- __decorateClass$v([
9308
+ __decorateClass$w([
9299
9309
  n$z({ type: Array })
9300
9310
  ], PdfVisor.prototype, "activePdfs");
9301
9311
  const registerPdfViewerNavItem = () => {
@@ -9438,12 +9448,12 @@ const Jt = (te, J, X) => {
9438
9448
  </div>
9439
9449
  `;
9440
9450
  };
9441
- var __defProp$n = Object.defineProperty, __decorateClass$u = (te, J, X, re) => {
9451
+ var __defProp$o = Object.defineProperty, __decorateClass$v = (te, J, X, re) => {
9442
9452
  for (var ne = void 0, oe = te.length - 1, de; oe >= 0; oe--)
9443
9453
  (de = te[oe]) && (ne = de(J, X, ne) || ne);
9444
- return ne && __defProp$n(J, X, ne), ne;
9454
+ return ne && __defProp$o(J, X, ne), ne;
9445
9455
  };
9446
- const Bs = class Bs extends h$o {
9456
+ const js = class js extends h$o {
9447
9457
  constructor() {
9448
9458
  super(...arguments), this.activePdfs = [];
9449
9459
  }
@@ -9465,14 +9475,14 @@ const Bs = class Bs extends h$o {
9465
9475
  X && window.open(X);
9466
9476
  }
9467
9477
  };
9468
- Bs.styles = i$D`
9478
+ js.styles = i$D`
9469
9479
  ${r$H(styles$l)}
9470
9480
  `;
9471
- let PdfSelector = Bs;
9472
- __decorateClass$u([
9481
+ let PdfSelector = js;
9482
+ __decorateClass$v([
9473
9483
  n$z({ type: Array })
9474
9484
  ], PdfSelector.prototype, "pdfList");
9475
- __decorateClass$u([
9485
+ __decorateClass$v([
9476
9486
  n$z({ type: Array })
9477
9487
  ], PdfSelector.prototype, "activePdfs");
9478
9488
  class PdfViewerManager {
@@ -9515,15 +9525,15 @@ const createPdfViewerManager = (te, J) => new PdfViewerManager(te, J), styles$k
9515
9525
  )}
9516
9526
  </div>
9517
9527
  </div>
9518
- `, js = class js extends h$o {
9528
+ `, Bs = class Bs extends h$o {
9519
9529
  render() {
9520
9530
  return ke$1`${template$m(this)}`;
9521
9531
  }
9522
9532
  };
9523
- js.styles = i$D`
9533
+ Bs.styles = i$D`
9524
9534
  ${r$H(styles$k)}
9525
9535
  `;
9526
- let PluginBusyList = js;
9536
+ let PluginBusyList = Bs;
9527
9537
  class PluginBusyManagerImpl {
9528
9538
  constructor() {
9529
9539
  this.tasks = [], customElements.get("plugin-busy-list") || t$k("plugin-busy-list")(PluginBusyList);
@@ -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-D9lohRLm.js"), { confirmed: re } = await this.interactionService.confirm(
9745
9755
  void 0,
9746
9756
  { component: X },
9747
9757
  {
@@ -10837,8 +10847,8 @@ function buildCreateSlice({
10837
10847
  const ze = getOrInsertComputed(be, Se, () => /* @__PURE__ */ new WeakMap());
10838
10848
  return getOrInsertComputed(ze, Le, () => {
10839
10849
  const Fe = {};
10840
- for (const [Be, Pe] of Object.entries(re.selectors ?? {}))
10841
- Fe[Be] = wrapSelector(Pe, Le, me, Se);
10850
+ for (const [je, Pe] of Object.entries(re.selectors ?? {}))
10851
+ Fe[je] = wrapSelector(Pe, Le, me, Se);
10842
10852
  return Fe;
10843
10853
  });
10844
10854
  }
@@ -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,
@@ -11272,7 +11278,7 @@ const container = new Container(), { lazyInject } = getDecorators(container), bi
11272
11278
  }, unbindDeps = () => {
11273
11279
  container.unbind(TYPES.primaryApi), container.unbind(TYPES.store);
11274
11280
  };
11275
- var __getOwnPropDesc$j = Object.getOwnPropertyDescriptor, __decorateClass$t = (te, J, X, re) => {
11281
+ var __getOwnPropDesc$j = Object.getOwnPropertyDescriptor, __decorateClass$u = (te, J, X, re) => {
11276
11282
  for (var ne = re > 1 ? void 0 : re ? __getOwnPropDesc$j(J, X) : J, oe = te.length - 1, de; oe >= 0; oe--)
11277
11283
  (de = te[oe]) && (ne = de(ne) || ne);
11278
11284
  return ne;
@@ -11282,7 +11288,7 @@ let StoreBaseHandler = class {
11282
11288
  this.store = te;
11283
11289
  }
11284
11290
  };
11285
- StoreBaseHandler = __decorateClass$t([
11291
+ StoreBaseHandler = __decorateClass$u([
11286
11292
  injectable(),
11287
11293
  __decorateParam$5(0, inject(TYPES.store))
11288
11294
  ], StoreBaseHandler);
@@ -11291,7 +11297,7 @@ let ApiBaseHandler = class {
11291
11297
  this.api = te;
11292
11298
  }
11293
11299
  };
11294
- ApiBaseHandler = __decorateClass$t([
11300
+ ApiBaseHandler = __decorateClass$u([
11295
11301
  injectable(),
11296
11302
  __decorateParam$5(0, inject(TYPES.primaryApi))
11297
11303
  ], ApiBaseHandler);
@@ -11300,7 +11306,7 @@ let BaseHandler = class {
11300
11306
  this.store = te, this.api = J;
11301
11307
  }
11302
11308
  };
11303
- BaseHandler = __decorateClass$t([
11309
+ BaseHandler = __decorateClass$u([
11304
11310
  injectable(),
11305
11311
  __decorateParam$5(0, inject(TYPES.store)),
11306
11312
  __decorateParam$5(1, inject(TYPES.primaryApi))
@@ -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) {
@@ -11532,10 +11536,10 @@ function connectedProperty(te, J = {}) {
11532
11536
  return createConnectedProperty(store)(te, J);
11533
11537
  }
11534
11538
  const isAnyCollectionBusySelector = (te) => te.activityHistoryCollections.busy.length > 0, isSomeCollectionLoadedAndOtherLoading = (te) => Object.values(te.activityHistoryCollections.collections) && isAnyCollectionBusySelector(te), isCollectionInitialState = (te) => !Object.values(te.activityHistoryCollections.collections)?.length && !isAnyCollectionBusySelector(te);
11535
- var __defProp$m = Object.defineProperty, __getOwnPropDesc$i = Object.getOwnPropertyDescriptor, __decorateClass$s = (te, J, X, re) => {
11539
+ var __defProp$n = Object.defineProperty, __getOwnPropDesc$i = Object.getOwnPropertyDescriptor, __decorateClass$t = (te, J, X, re) => {
11536
11540
  for (var ne = re > 1 ? void 0 : re ? __getOwnPropDesc$i(J, X) : J, oe = te.length - 1, de; oe >= 0; oe--)
11537
11541
  (de = te[oe]) && (ne = (re ? de(J, X, ne) : de(ne)) || ne);
11538
- return re && ne && __defProp$m(J, X, ne), ne;
11542
+ return re && ne && __defProp$n(J, X, ne), ne;
11539
11543
  };
11540
11544
  let ActivityHistoryBusy = class extends h$o {
11541
11545
  render() {
@@ -11548,13 +11552,13 @@ let ActivityHistoryBusy = class extends h$o {
11548
11552
  ActivityHistoryBusy.styles = i$D`
11549
11553
  ${r$H(styles$j)}
11550
11554
  `;
11551
- __decorateClass$s([
11555
+ __decorateClass$t([
11552
11556
  connectedProperty(isCollectionInitialState)
11553
11557
  ], ActivityHistoryBusy.prototype, "isCollectionInitialState", 2);
11554
- __decorateClass$s([
11558
+ __decorateClass$t([
11555
11559
  connectedProperty(isSomeCollectionLoadedAndOtherLoading)
11556
11560
  ], ActivityHistoryBusy.prototype, "isSomeCollectionLoadedAndOtherLoading", 2);
11557
- ActivityHistoryBusy = __decorateClass$s([
11561
+ ActivityHistoryBusy = __decorateClass$t([
11558
11562
  t$k("activity-history-busy")
11559
11563
  ], ActivityHistoryBusy);
11560
11564
  class HandleHistoryItemsAddError {
@@ -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
  }
@@ -11623,10 +11627,10 @@ const bootstrapHandleHistoryItemsAddError = (te) => {
11623
11627
  </div>` : D$4}
11624
11628
  </div>`;
11625
11629
  };
11626
- var __defProp$l = Object.defineProperty, __getOwnPropDesc$h = Object.getOwnPropertyDescriptor, __decorateClass$r = (te, J, X, re) => {
11630
+ var __defProp$m = Object.defineProperty, __getOwnPropDesc$h = Object.getOwnPropertyDescriptor, __decorateClass$s = (te, J, X, re) => {
11627
11631
  for (var ne = re > 1 ? void 0 : re ? __getOwnPropDesc$h(J, X) : J, oe = te.length - 1, de; oe >= 0; oe--)
11628
11632
  (de = te[oe]) && (ne = (re ? de(J, X, ne) : de(ne)) || ne);
11629
- return re && ne && __defProp$l(J, X, ne), ne;
11633
+ return re && ne && __defProp$m(J, X, ne), ne;
11630
11634
  };
11631
11635
  let ExportPdfModal = class extends h$o {
11632
11636
  constructor() {
@@ -11654,22 +11658,22 @@ let ExportPdfModal = class extends h$o {
11654
11658
  );
11655
11659
  }
11656
11660
  };
11657
- __decorateClass$r([
11661
+ __decorateClass$s([
11658
11662
  n$z()
11659
11663
  ], ExportPdfModal.prototype, "selectedRadioOption", 2);
11660
- __decorateClass$r([
11664
+ __decorateClass$s([
11661
11665
  n$z()
11662
11666
  ], ExportPdfModal.prototype, "text", 2);
11663
- __decorateClass$r([
11667
+ __decorateClass$s([
11664
11668
  n$z()
11665
11669
  ], ExportPdfModal.prototype, "selectedVisibilityLevelElement", 2);
11666
- __decorateClass$r([
11670
+ __decorateClass$s([
11667
11671
  n$z()
11668
11672
  ], ExportPdfModal.prototype, "selectedPeriodDate", 2);
11669
- __decorateClass$r([
11673
+ __decorateClass$s([
11670
11674
  n$z({ type: Array })
11671
11675
  ], ExportPdfModal.prototype, "arrayElements", 2);
11672
- ExportPdfModal = __decorateClass$r([
11676
+ ExportPdfModal = __decorateClass$s([
11673
11677
  t$k("export-pdf-modal")
11674
11678
  ], ExportPdfModal);
11675
11679
  class ExportToPdfHandler extends ApiBaseHandler {
@@ -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
@@ -12104,10 +12108,10 @@ class SetCustomFilterAllValues {
12104
12108
  this.payload = J;
12105
12109
  }
12106
12110
  }
12107
- var __defProp$k = Object.defineProperty, __getOwnPropDesc$g = Object.getOwnPropertyDescriptor, __decorateClass$q = (te, J, X, re) => {
12111
+ var __defProp$l = Object.defineProperty, __getOwnPropDesc$g = Object.getOwnPropertyDescriptor, __decorateClass$r = (te, J, X, re) => {
12108
12112
  for (var ne = re > 1 ? void 0 : re ? __getOwnPropDesc$g(J, X) : J, oe = te.length - 1, de; oe >= 0; oe--)
12109
12113
  (de = te[oe]) && (ne = (re ? de(J, X, ne) : de(ne)) || ne);
12110
- return re && ne && __defProp$k(J, X, ne), ne;
12114
+ return re && ne && __defProp$l(J, X, ne), ne;
12111
12115
  };
12112
12116
  let ActivityHistoryFilters = class extends h$o {
12113
12117
  constructor() {
@@ -12159,34 +12163,34 @@ let ActivityHistoryFilters = class extends h$o {
12159
12163
  ActivityHistoryFilters.styles = i$D`
12160
12164
  ${r$H(styles$h)}
12161
12165
  `;
12162
- __decorateClass$q([
12166
+ __decorateClass$r([
12163
12167
  connectedProperty(activityHistoryCommonFiltersSelector)
12164
12168
  ], ActivityHistoryFilters.prototype, "commonFilters", 2);
12165
- __decorateClass$q([
12169
+ __decorateClass$r([
12166
12170
  connectedProperty(customFilterGroupsWithOptionsSelector)
12167
12171
  ], ActivityHistoryFilters.prototype, "customFilterGroups", 2);
12168
- __decorateClass$q([
12172
+ __decorateClass$r([
12169
12173
  connectedProperty(diagnosticFilterSelector)
12170
12174
  ], ActivityHistoryFilters.prototype, "diagnosticFilter", 2);
12171
- __decorateClass$q([
12175
+ __decorateClass$r([
12172
12176
  connectedProperty(diagnosticFilterEnabledValuesSelector)
12173
12177
  ], ActivityHistoryFilters.prototype, "diagnosticFilterEnabledValues", 2);
12174
- __decorateClass$q([
12178
+ __decorateClass$r([
12175
12179
  connectedProperty(upFilterSelector)
12176
12180
  ], ActivityHistoryFilters.prototype, "upFilter", 2);
12177
- __decorateClass$q([
12181
+ __decorateClass$r([
12178
12182
  connectedProperty(upFilterEnabledValuesSelector)
12179
12183
  ], ActivityHistoryFilters.prototype, "upFilterEnabledValues", 2);
12180
- __decorateClass$q([
12184
+ __decorateClass$r([
12181
12185
  lazyInject(TYPES.primaryApi)
12182
12186
  ], ActivityHistoryFilters.prototype, "api", 2);
12183
- __decorateClass$q([
12187
+ __decorateClass$r([
12184
12188
  r$E()
12185
12189
  ], ActivityHistoryFilters.prototype, "filtersExpanded", 2);
12186
- __decorateClass$q([
12190
+ __decorateClass$r([
12187
12191
  n$z({ type: Boolean })
12188
12192
  ], ActivityHistoryFilters.prototype, "wrapperMaximized", 2);
12189
- ActivityHistoryFilters = __decorateClass$q([
12193
+ ActivityHistoryFilters = __decorateClass$r([
12190
12194
  t$k("activity-history-filters")
12191
12195
  ], ActivityHistoryFilters);
12192
12196
  const { setCommonFilterValue } = activityHistoryFiltersSlice.actions;
@@ -15132,37 +15136,18 @@ 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>
15163
15148
  </div>
15164
15149
  `;
15165
- var __getOwnPropDesc$f = Object.getOwnPropertyDescriptor, __decorateClass$p = (te, J, X, re) => {
15150
+ var __getOwnPropDesc$f = Object.getOwnPropertyDescriptor, __decorateClass$q = (te, J, X, re) => {
15166
15151
  for (var ne = re > 1 ? void 0 : re ? __getOwnPropDesc$f(J, X) : J, oe = te.length - 1, de; oe >= 0; oe--)
15167
15152
  (de = te[oe]) && (ne = de(ne) || ne);
15168
15153
  return ne;
@@ -15175,10 +15160,27 @@ let ActivityHistoryIsGroupingBusy = class extends h$o {
15175
15160
  ActivityHistoryIsGroupingBusy.styles = i$D`
15176
15161
  ${r$H(styles$f)}
15177
15162
  `;
15178
- ActivityHistoryIsGroupingBusy = __decorateClass$p([
15163
+ ActivityHistoryIsGroupingBusy = __decorateClass$q([
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">
@@ -15399,14 +15401,14 @@ class VirtualScroller {
15399
15401
  }), ne;
15400
15402
  }
15401
15403
  }
15402
- var __defProp$j = Object.defineProperty, __getOwnPropDesc$e = Object.getOwnPropertyDescriptor, __decorateClass$o = (te, J, X, re) => {
15404
+ var __defProp$k = Object.defineProperty, __getOwnPropDesc$e = Object.getOwnPropertyDescriptor, __decorateClass$p = (te, J, X, re) => {
15403
15405
  for (var ne = re > 1 ? void 0 : re ? __getOwnPropDesc$e(J, X) : J, oe = te.length - 1, de; oe >= 0; oe--)
15404
15406
  (de = te[oe]) && (ne = (re ? de(J, X, ne) : de(ne)) || ne);
15405
- return re && ne && __defProp$j(J, X, ne), ne;
15407
+ return re && ne && __defProp$k(J, X, ne), ne;
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?.();
@@ -15502,34 +15502,34 @@ let ActivityHistoryTimeline = class extends h$o {
15502
15502
  ActivityHistoryTimeline.styles = i$D`
15503
15503
  ${r$H(styles$g)}
15504
15504
  `;
15505
- __decorateClass$o([
15505
+ __decorateClass$p([
15506
15506
  connectedProperty(activityHistoryGroupedItems)
15507
15507
  ], ActivityHistoryTimeline.prototype, "historyGroups", 2);
15508
- __decorateClass$o([
15508
+ __decorateClass$p([
15509
15509
  connectedProperty(isCollectionInitialState)
15510
15510
  ], ActivityHistoryTimeline.prototype, "isCollectionInitialState", 2);
15511
- __decorateClass$o([
15511
+ __decorateClass$p([
15512
15512
  connectedProperty(isSomeCollectionLoadedAndOtherLoading)
15513
15513
  ], ActivityHistoryTimeline.prototype, "isSomeCollectionLoadedAndOtherLoading", 2);
15514
- __decorateClass$o([
15514
+ __decorateClass$p([
15515
+ connectedProperty(isAnyCollectionBusySelector)
15516
+ ], ActivityHistoryTimeline.prototype, "isAnyCollectionBusy", 2);
15517
+ __decorateClass$p([
15515
15518
  connectedProperty(activityHistorySearchStringSelector)
15516
15519
  ], ActivityHistoryTimeline.prototype, "searchString", 2);
15517
- __decorateClass$o([
15520
+ __decorateClass$p([
15518
15521
  e$M(".virtual-container")
15519
15522
  ], ActivityHistoryTimeline.prototype, "_virtualContainer", 2);
15520
- __decorateClass$o([
15523
+ __decorateClass$p([
15521
15524
  e$M(".virtual-viewport")
15522
15525
  ], ActivityHistoryTimeline.prototype, "_viewport", 2);
15523
- __decorateClass$o([
15526
+ __decorateClass$p([
15524
15527
  e$M(".virtual-content")
15525
15528
  ], ActivityHistoryTimeline.prototype, "_content", 2);
15526
- __decorateClass$o([
15527
- r$E()
15528
- ], ActivityHistoryTimeline.prototype, "renderGroupsControlTimeExpired", 2);
15529
- __decorateClass$o([
15529
+ __decorateClass$p([
15530
15530
  r$E()
15531
15531
  ], ActivityHistoryTimeline.prototype, "_virtualScrollerState", 2);
15532
- ActivityHistoryTimeline = __decorateClass$o([
15532
+ ActivityHistoryTimeline = __decorateClass$p([
15533
15533
  t$k("activity-history-timeline")
15534
15534
  ], ActivityHistoryTimeline);
15535
15535
  const template$g = (te) => {
@@ -15541,10 +15541,10 @@ const template$g = (te) => {
15541
15541
  </div>
15542
15542
  `;
15543
15543
  }, styles$e = ".active-filters-header{display:flex;flex-direction:column;border-width:0px 0px 1px 0px;border-style:solid;border-color:#d8d8d8;background-color:#fff;padding:var(--dss-spacing-sm) var(--dss-spacing-md);gap:var(--dss-spacing-xs);font-size:14px;line-height:24px}";
15544
- var __defProp$i = Object.defineProperty, __getOwnPropDesc$d = Object.getOwnPropertyDescriptor, __decorateClass$n = (te, J, X, re) => {
15544
+ var __defProp$j = Object.defineProperty, __getOwnPropDesc$d = Object.getOwnPropertyDescriptor, __decorateClass$o = (te, J, X, re) => {
15545
15545
  for (var ne = re > 1 ? void 0 : re ? __getOwnPropDesc$d(J, X) : J, oe = te.length - 1, de; oe >= 0; oe--)
15546
15546
  (de = te[oe]) && (ne = (re ? de(J, X, ne) : de(ne)) || ne);
15547
- return re && ne && __defProp$i(J, X, ne), ne;
15547
+ return re && ne && __defProp$j(J, X, ne), ne;
15548
15548
  };
15549
15549
  let ActiveFiltersHeader = class extends h$o {
15550
15550
  render() {
@@ -15554,22 +15554,22 @@ let ActiveFiltersHeader = class extends h$o {
15554
15554
  ActiveFiltersHeader.styles = i$D`
15555
15555
  ${r$H(styles$e)}
15556
15556
  `;
15557
- __decorateClass$n([
15557
+ __decorateClass$o([
15558
15558
  connectedProperty(activityHistorySearchStringSelector)
15559
15559
  ], ActiveFiltersHeader.prototype, "searchString", 2);
15560
- __decorateClass$n([
15560
+ __decorateClass$o([
15561
15561
  connectedProperty(areCustomFiltersActive)
15562
15562
  ], ActiveFiltersHeader.prototype, "areCustomFiltersActive", 2);
15563
- __decorateClass$n([
15563
+ __decorateClass$o([
15564
15564
  connectedProperty(areCommonFiltersActive)
15565
15565
  ], ActiveFiltersHeader.prototype, "areCommonFiltersActive", 2);
15566
- __decorateClass$n([
15566
+ __decorateClass$o([
15567
15567
  connectedProperty(areDiagnosticFiltersActive)
15568
15568
  ], ActiveFiltersHeader.prototype, "areDiagnosticFiltersActive", 2);
15569
- __decorateClass$n([
15569
+ __decorateClass$o([
15570
15570
  connectedProperty(areUpFiltersActive)
15571
15571
  ], ActiveFiltersHeader.prototype, "areUpFiltersActive", 2);
15572
- ActiveFiltersHeader = __decorateClass$n([
15572
+ ActiveFiltersHeader = __decorateClass$o([
15573
15573
  t$k("active-filters-header")
15574
15574
  ], ActiveFiltersHeader);
15575
15575
  const styles$d = ":host{width:100%}.container{display:flex;align-items:center;flex-direction:column;height:100%;justify-content:center}", showError = "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%20d='M132.567%20147.925C107.663%20137.604%2098.7018%20141.859%2073.5817%20144.094C53.0605%20145.899%2028.8192%20138.451%2013.3757%20118.871C-27.3088%2067.293%2034.5441%2014.0839%2069.5091%202.68275C94.145%20-5.32822%20109.688%205.00477%20126.605%2028.3004C133.183%2037.3621%20138.613%2048.3337%20146.353%2055.9441C154.667%2064.106%20164.606%2063.9667%20172.441%2070.7586C210.442%20103.691%20165.801%20161.689%20132.567%20147.925Z'%20fill='%23EFF7FF'/%3e%3cpath%20d='M100.714%20124.222C100.714%20124.335%20100.714%20124.448%20100.714%20124.561C100.703%20125.212%20100.443%20125.832%2099.9909%20126.288C99.5388%20126.745%2098.9306%20127%2098.297%20127L37.3382%20126.232C36.7472%20126.217%2036.1824%20125.979%2035.7523%20125.562C35.3223%20125.145%2035.0575%20124.579%2035.0089%20123.974C34.997%20123.869%2034.997%20123.763%2035.0089%20123.658C35.0218%20123.158%2035.1821%20122.675%2035.4687%20122.272C35.7552%20121.868%2036.1543%20121.564%2036.6131%20121.399C36.8615%20121.318%2037.1214%20121.28%2037.3822%20121.286L98.341%20122.032C98.7724%20122.017%2099.1984%20122.134%2099.5657%20122.367C99.9331%20122.6%20100.226%20122.939%20100.407%20123.341C100.568%20123.61%20100.673%20123.91%20100.714%20124.222Z'%20fill='%23656565'/%3e%3cpath%20opacity='0.5'%20d='M95.9608%20127L204.061%20126.226C204.373%20126.226%20204.683%20126.162%20204.972%20126.037C205.261%20125.912%20205.523%20125.728%20205.743%20125.498C205.963%20125.267%20206.137%20124.993%20206.254%20124.692C206.372%20124.391%20206.431%20124.069%20206.428%20123.744C206.417%20123.092%20206.161%20122.47%20205.715%20122.011C205.268%20121.552%20204.667%20121.291%20204.039%20121.286L95.9389%20122.06C95.3108%20122.072%2094.7119%20122.338%2094.2697%20122.801C93.8275%20123.264%2093.5769%20123.889%2093.5713%20124.541C93.5827%20125.194%2093.8388%20125.815%2094.2851%20126.275C94.7314%20126.734%2095.3326%20126.994%2095.9608%20127Z'%20fill='%2300356A'/%3e%3cpath%20d='M212.109%2054.5398L207.23%20114.387C207.064%20116.104%20206.378%20117.729%20205.262%20119.044C204.147%20120.36%20202.656%20121.303%20200.989%20121.747C200.446%20121.91%20199.885%20122.006%20199.318%20122.033H199.033L99.2345%20122.714H99.0147C98.0548%20122.719%2097.1045%20122.522%2096.2259%20122.136C95.3472%20121.749%2094.5598%20121.182%2093.915%20120.471C93.2702%20119.76%2092.7825%20118.921%2092.4835%20118.009C92.1845%20117.098%2092.0811%20116.133%2092.1798%20115.178L97.0588%2055.3307C97.2569%2053.278%2098.2004%2051.3689%2099.7108%2049.9642C101.221%2048.5595%20103.194%2047.7565%20105.256%2047.707H106.773L205.055%2047.0039C206.032%2046.9708%20207.005%2047.1471%20207.908%2047.5208C208.812%2047.8946%20209.625%2048.4572%20210.293%2049.1709C210.961%2049.8846%20211.469%2050.7329%20211.782%2051.6589C212.095%2052.5849%20212.207%2053.5672%20212.109%2054.5398Z'%20fill='%237BACFC'/%3e%3cpath%20opacity='0.2'%20d='M208.156%2047.0002L109.387%2047.6899C108.732%2047.6984%20108.081%2047.7926%20107.451%2047.97C105.803%2048.4018%20104.328%2049.3229%20103.224%2050.6096C102.12%2051.8962%20101.439%2053.4868%20101.274%2055.1677L96.4673%20113.891C96.3645%20114.839%2096.4677%20115.798%2096.7699%20116.703C97.0721%20117.609%2097.5665%20118.439%2098.2196%20119.139C98.8728%20119.84%2099.6696%20120.393%20100.557%20120.763C101.444%20121.133%20102.4%20121.31%20103.362%20121.283L200.609%20120.593H202.11C204.152%20120.549%20206.107%20119.763%20207.603%20118.385C209.099%20117.006%20210.031%20115.131%20210.223%20113.116L214.964%2054.4134C215.062%2053.4725%20214.959%2052.5216%20214.66%2051.6231C214.362%2050.7245%20213.876%2049.8983%20213.233%2049.1986C212.591%2048.499%20211.806%2047.9415%20210.932%2047.5627C210.057%2047.1839%20209.111%2046.9922%20208.156%2047.0002Z'%20fill='white'/%3e%3ccircle%20cx='33'%20cy='31'%20r='20'%20fill='%23B60000'/%3e%3cpath%20d='M41.4%2022.6133C40.88%2022.0933%2040.04%2022.0933%2039.52%2022.6133L33%2029.12L26.48%2022.6C25.96%2022.08%2025.12%2022.08%2024.6%2022.6C24.08%2023.12%2024.08%2023.96%2024.6%2024.48L31.12%2031L24.6%2037.52C24.08%2038.04%2024.08%2038.88%2024.6%2039.4C25.12%2039.92%2025.96%2039.92%2026.48%2039.4L33%2032.88L39.52%2039.4C40.04%2039.92%2040.88%2039.92%2041.4%2039.4C41.92%2038.88%2041.92%2038.04%2041.4%2037.52L34.88%2031L41.4%2024.48C41.9066%2023.9733%2041.9066%2023.12%2041.4%2022.6133Z'%20fill='white'/%3e%3c/svg%3e", template$f = (te) => ke$1`
@@ -15587,10 +15587,10 @@ const styles$d = ":host{width:100%}.container{display:flex;align-items:center;fl
15587
15587
  const J = te.activityHistoryCollections.collections;
15588
15588
  return Object.values(J).every((X) => !X.items || X.items.length === 0);
15589
15589
  }, isAllDataFailedToLoad = (te) => !isSomeCollectionLoadedAndOtherLoading(te) && isErrorOccurred(te) && areCollectionsEmpty(te), selectErrorMessages = (te) => te.activityHistoryCollections.error;
15590
- var __defProp$h = Object.defineProperty, __getOwnPropDesc$c = Object.getOwnPropertyDescriptor, __decorateClass$m = (te, J, X, re) => {
15590
+ var __defProp$i = Object.defineProperty, __getOwnPropDesc$c = Object.getOwnPropertyDescriptor, __decorateClass$n = (te, J, X, re) => {
15591
15591
  for (var ne = re > 1 ? void 0 : re ? __getOwnPropDesc$c(J, X) : J, oe = te.length - 1, de; oe >= 0; oe--)
15592
15592
  (de = te[oe]) && (ne = (re ? de(J, X, ne) : de(ne)) || ne);
15593
- return re && ne && __defProp$h(J, X, ne), ne;
15593
+ return re && ne && __defProp$i(J, X, ne), ne;
15594
15594
  };
15595
15595
  let ActivityHistoryFullDataError = class extends h$o {
15596
15596
  constructor() {
@@ -15606,16 +15606,16 @@ let ActivityHistoryFullDataError = class extends h$o {
15606
15606
  ActivityHistoryFullDataError.styles = i$D`
15607
15607
  ${r$H(styles$d)}
15608
15608
  `;
15609
- __decorateClass$m([
15609
+ __decorateClass$n([
15610
15610
  connectedProperty(isAllDataFailedToLoad)
15611
15611
  ], ActivityHistoryFullDataError.prototype, "isAllDataFailedToLoad", 2);
15612
- __decorateClass$m([
15612
+ __decorateClass$n([
15613
15613
  connectedProperty(selectErrorMessages)
15614
15614
  ], ActivityHistoryFullDataError.prototype, "errorMessages", 2);
15615
- __decorateClass$m([
15615
+ __decorateClass$n([
15616
15616
  lazyInject(TYPES.primaryApi)
15617
15617
  ], ActivityHistoryFullDataError.prototype, "api", 2);
15618
- ActivityHistoryFullDataError = __decorateClass$m([
15618
+ ActivityHistoryFullDataError = __decorateClass$n([
15619
15619
  t$k("activity-history-full-data-error")
15620
15620
  ], ActivityHistoryFullDataError);
15621
15621
  const styles$c = ":host{width:100%}.container{display:flex;align-items:center;flex-direction:column;padding-top:16px;padding-inline:16px}", template$e = (te) => {
@@ -15628,10 +15628,10 @@ const styles$c = ":host{width:100%}.container{display:flex;align-items:center;fl
15628
15628
  <dss-alert @onButtonClick=${te.handleClickAlert} state="warning" size="lg" message="${J}" buttonLabel=${translate("error.partial.refresh")} hasbutton></dss-alert>
15629
15629
  </div>
15630
15630
  `;
15631
- var __defProp$g = Object.defineProperty, __getOwnPropDesc$b = Object.getOwnPropertyDescriptor, __decorateClass$l = (te, J, X, re) => {
15631
+ var __defProp$h = Object.defineProperty, __getOwnPropDesc$b = Object.getOwnPropertyDescriptor, __decorateClass$m = (te, J, X, re) => {
15632
15632
  for (var ne = re > 1 ? void 0 : re ? __getOwnPropDesc$b(J, X) : J, oe = te.length - 1, de; oe >= 0; oe--)
15633
15633
  (de = te[oe]) && (ne = (re ? de(J, X, ne) : de(ne)) || ne);
15634
- return re && ne && __defProp$g(J, X, ne), ne;
15634
+ return re && ne && __defProp$h(J, X, ne), ne;
15635
15635
  };
15636
15636
  let ActivityHistoryPartialDataError = class extends h$o {
15637
15637
  constructor() {
@@ -15651,36 +15651,22 @@ let ActivityHistoryPartialDataError = class extends h$o {
15651
15651
  ActivityHistoryPartialDataError.styles = i$D`
15652
15652
  ${r$H(styles$c)}
15653
15653
  `;
15654
- __decorateClass$l([
15654
+ __decorateClass$m([
15655
15655
  connectedProperty(isErrorOccurred)
15656
15656
  ], ActivityHistoryPartialDataError.prototype, "isErrorOccurred", 2);
15657
- __decorateClass$l([
15657
+ __decorateClass$m([
15658
15658
  connectedProperty(selectErrorMessages)
15659
15659
  ], ActivityHistoryPartialDataError.prototype, "errorMessages", 2);
15660
- __decorateClass$l([
15660
+ __decorateClass$m([
15661
15661
  lazyInject(TYPES.primaryApi)
15662
15662
  ], ActivityHistoryPartialDataError.prototype, "api", 2);
15663
- ActivityHistoryPartialDataError = __decorateClass$l([
15663
+ ActivityHistoryPartialDataError = __decorateClass$m([
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 {
@@ -15734,10 +15720,10 @@ class SearchActivityHistoryItems {
15734
15720
  const styles$b = ".search-header{color:var(--color-neutral-900);font-weight:600}", template$d = (te) => ke$1`<div class="search-header">
15735
15721
  ${translate("searchBarResults")} “${te.searchQuery}”
15736
15722
  </div>`;
15737
- var __defProp$f = Object.defineProperty, __getOwnPropDesc$a = Object.getOwnPropertyDescriptor, __decorateClass$k = (te, J, X, re) => {
15723
+ var __defProp$g = Object.defineProperty, __getOwnPropDesc$a = Object.getOwnPropertyDescriptor, __decorateClass$l = (te, J, X, re) => {
15738
15724
  for (var ne = re > 1 ? void 0 : re ? __getOwnPropDesc$a(J, X) : J, oe = te.length - 1, de; oe >= 0; oe--)
15739
15725
  (de = te[oe]) && (ne = (re ? de(J, X, ne) : de(ne)) || ne);
15740
- return re && ne && __defProp$f(J, X, ne), ne;
15726
+ return re && ne && __defProp$g(J, X, ne), ne;
15741
15727
  };
15742
15728
  let ActivityHistorySearchResults = class extends h$o {
15743
15729
  constructor() {
@@ -15750,20 +15736,20 @@ let ActivityHistorySearchResults = class extends h$o {
15750
15736
  ActivityHistorySearchResults.styles = i$D`
15751
15737
  ${r$H(styles$b)}
15752
15738
  `;
15753
- __decorateClass$k([
15739
+ __decorateClass$l([
15754
15740
  n$z()
15755
15741
  ], ActivityHistorySearchResults.prototype, "searchQuery", 2);
15756
- ActivityHistorySearchResults = __decorateClass$k([
15742
+ ActivityHistorySearchResults = __decorateClass$l([
15757
15743
  t$k("activity-history-search-results")
15758
15744
  ], ActivityHistorySearchResults);
15759
15745
  const styles$a = ".search-header{padding-inline:16px;padding-top:12px;padding-bottom:12px;gap:var(--dss-spacing-xs);border-width:0px 0px 1px 0px;border-style:solid;border-color:#d8d8d8;background-color:#fff;color:var(--color-neutral-900);font-weight:600;font-size:14px;line-height:24px}", template$c = (te) => ke$1`<dss-search-bar dropdownStyle=${"display: none"} @onSearchChange=${te._handleSearchChange} icon="search" inputsize="md" threshold="2" recentsearchestext="" emptydropdowntext="">
15760
15746
  <label slot="label" for="searchbar1" aria-hidden="false"></label>
15761
15747
  <input slot="input" id="searchbar1" type="text" value=${te.searchQuery} @input=${(J) => te._handleSearchChange({ detail: [J.target.value] })}>
15762
15748
  </dss-search-bar>`;
15763
- var __defProp$e = Object.defineProperty, __getOwnPropDesc$9 = Object.getOwnPropertyDescriptor, __decorateClass$j = (te, J, X, re) => {
15749
+ var __defProp$f = Object.defineProperty, __getOwnPropDesc$9 = Object.getOwnPropertyDescriptor, __decorateClass$k = (te, J, X, re) => {
15764
15750
  for (var ne = re > 1 ? void 0 : re ? __getOwnPropDesc$9(J, X) : J, oe = te.length - 1, de; oe >= 0; oe--)
15765
15751
  (de = te[oe]) && (ne = (re ? de(J, X, ne) : de(ne)) || ne);
15766
- return re && ne && __defProp$e(J, X, ne), ne;
15752
+ return re && ne && __defProp$f(J, X, ne), ne;
15767
15753
  };
15768
15754
  let ActivityHistorySearchBar = class extends h$o {
15769
15755
  constructor() {
@@ -15780,10 +15766,10 @@ let ActivityHistorySearchBar = class extends h$o {
15780
15766
  ActivityHistorySearchBar.styles = i$D`
15781
15767
  ${r$H(styles$a)}
15782
15768
  `;
15783
- __decorateClass$j([
15769
+ __decorateClass$k([
15784
15770
  n$z()
15785
15771
  ], ActivityHistorySearchBar.prototype, "searchQuery", 2);
15786
- ActivityHistorySearchBar = __decorateClass$j([
15772
+ ActivityHistorySearchBar = __decorateClass$k([
15787
15773
  t$k("activity-history-search-bar")
15788
15774
  ], ActivityHistorySearchBar);
15789
15775
  const styles$9 = ":host{display:flex;justify-content:space-between}.filters-container{display:flex;gap:var(--dss-spacing-md)}.filters-header{font-weight:700}.filter-groups{display:flex;flex-wrap:wrap;gap:var(--dss-spacing-xs)}.filter-group{display:flex;gap:var(--dss-spacing-xs);color:var(--color-neutral-600);font-weight:600}.clean-filters{display:flex}.clean-filters .separator{padding:0 8px}.popover-content{box-sizing:border-box;display:flex;flex-wrap:wrap;gap:var(--dss-spacing-xs);padding:10px;max-width:368px;max-height:336px;overflow:auto}", formatShowFilterTitle = (te) => {
@@ -15895,10 +15881,10 @@ const styles$9 = ":host{display:flex;justify-content:space-between}.filters-cont
15895
15881
  </div>
15896
15882
  `;
15897
15883
  };
15898
- var __defProp$d = Object.defineProperty, __getOwnPropDesc$8 = Object.getOwnPropertyDescriptor, __decorateClass$i = (te, J, X, re) => {
15884
+ var __defProp$e = Object.defineProperty, __getOwnPropDesc$8 = Object.getOwnPropertyDescriptor, __decorateClass$j = (te, J, X, re) => {
15899
15885
  for (var ne = re > 1 ? void 0 : re ? __getOwnPropDesc$8(J, X) : J, oe = te.length - 1, de; oe >= 0; oe--)
15900
15886
  (de = te[oe]) && (ne = (re ? de(J, X, ne) : de(ne)) || ne);
15901
- return re && ne && __defProp$d(J, X, ne), ne;
15887
+ return re && ne && __defProp$e(J, X, ne), ne;
15902
15888
  };
15903
15889
  let ActiveFiltersBadges = class extends h$o {
15904
15890
  render() {
@@ -15932,22 +15918,22 @@ let ActiveFiltersBadges = class extends h$o {
15932
15918
  ActiveFiltersBadges.styles = i$D`
15933
15919
  ${r$H(styles$9)}
15934
15920
  `;
15935
- __decorateClass$i([
15921
+ __decorateClass$j([
15936
15922
  lazyInject(TYPES.primaryApi)
15937
15923
  ], ActiveFiltersBadges.prototype, "api", 2);
15938
- __decorateClass$i([
15924
+ __decorateClass$j([
15939
15925
  connectedProperty(activityHistoryEnabledCommonFiltersSelector)
15940
15926
  ], ActiveFiltersBadges.prototype, "enabledCommonFilters", 2);
15941
- __decorateClass$i([
15927
+ __decorateClass$j([
15942
15928
  connectedProperty(customFilterGroupsWithOptionsSelector)
15943
15929
  ], ActiveFiltersBadges.prototype, "enabledFilters", 2);
15944
- __decorateClass$i([
15930
+ __decorateClass$j([
15945
15931
  connectedProperty(diagnosticFilterSelector)
15946
15932
  ], ActiveFiltersBadges.prototype, "diagnosticFilterEnabled", 2);
15947
- __decorateClass$i([
15933
+ __decorateClass$j([
15948
15934
  connectedProperty(upFilterSelector)
15949
15935
  ], ActiveFiltersBadges.prototype, "upFilterEnabled", 2);
15950
- ActiveFiltersBadges = __decorateClass$i([
15936
+ ActiveFiltersBadges = __decorateClass$j([
15951
15937
  t$k("active-filters-badges")
15952
15938
  ], ActiveFiltersBadges);
15953
15939
  let request$5;
@@ -16039,10 +16025,10 @@ const bootstrapActivityHistoryItem = (te) => {
16039
16025
  </div>
16040
16026
  </div>
16041
16027
  `;
16042
- var __defProp$c = Object.defineProperty, __getOwnPropDesc$7 = Object.getOwnPropertyDescriptor, __decorateClass$h = (te, J, X, re) => {
16028
+ var __defProp$d = Object.defineProperty, __getOwnPropDesc$7 = Object.getOwnPropertyDescriptor, __decorateClass$i = (te, J, X, re) => {
16043
16029
  for (var ne = re > 1 ? void 0 : re ? __getOwnPropDesc$7(J, X) : J, oe = te.length - 1, de; oe >= 0; oe--)
16044
16030
  (de = te[oe]) && (ne = (re ? de(J, X, ne) : de(ne)) || ne);
16045
- return re && ne && __defProp$c(J, X, ne), ne;
16031
+ return re && ne && __defProp$d(J, X, ne), ne;
16046
16032
  };
16047
16033
  let ActivityHistoryMain = class extends PrimariaRegionHost(h$o) {
16048
16034
  constructor() {
@@ -16099,25 +16085,25 @@ let ActivityHistoryMain = class extends PrimariaRegionHost(h$o) {
16099
16085
  ActivityHistoryMain.styles = i$D`
16100
16086
  ${r$H(styles$8)}
16101
16087
  `;
16102
- __decorateClass$h([
16088
+ __decorateClass$i([
16103
16089
  n$z({ type: Boolean, reflect: !0 })
16104
16090
  ], ActivityHistoryMain.prototype, "maximized", 2);
16105
- __decorateClass$h([
16091
+ __decorateClass$i([
16106
16092
  lazyInject(TYPES.primaryApi)
16107
16093
  ], ActivityHistoryMain.prototype, "api", 2);
16108
- __decorateClass$h([
16094
+ __decorateClass$i([
16109
16095
  connectedProperty(activityHistoryCollectionsSelector)
16110
16096
  ], ActivityHistoryMain.prototype, "historyItems", 2);
16111
- __decorateClass$h([
16097
+ __decorateClass$i([
16112
16098
  connectedProperty(isCollectionInitialState)
16113
16099
  ], ActivityHistoryMain.prototype, "isCollectionInitialState", 2);
16114
- __decorateClass$h([
16100
+ __decorateClass$i([
16115
16101
  connectedProperty(isSomeCollectionLoadedAndOtherLoading)
16116
16102
  ], ActivityHistoryMain.prototype, "isSomeCollectionLoadedAndOtherLoading", 2);
16117
- __decorateClass$h([
16103
+ __decorateClass$i([
16118
16104
  n$z()
16119
16105
  ], ActivityHistoryMain.prototype, "searchQuery", 2);
16120
- ActivityHistoryMain = __decorateClass$h([
16106
+ ActivityHistoryMain = __decorateClass$i([
16121
16107
  t$k("activity-history-main")
16122
16108
  ], ActivityHistoryMain);
16123
16109
  const registerViews = (te) => {
@@ -16155,7 +16141,7 @@ const internalPlugins = [
16155
16141
  X?.importedPlugin?.startup && X?.importedPlugin?.startup?.(X.apiInstance, J.params);
16156
16142
  }
16157
16143
  }, disposePlugins = async () => Promise.all(bootstrappedPlugins.map((te) => te?.dispose()));
16158
- var __getOwnPropDesc$6 = Object.getOwnPropertyDescriptor, __decorateClass$g = (te, J, X, re) => {
16144
+ var __getOwnPropDesc$6 = Object.getOwnPropertyDescriptor, __decorateClass$h = (te, J, X, re) => {
16159
16145
  for (var ne = re > 1 ? void 0 : re ? __getOwnPropDesc$6(J, X) : J, oe = te.length - 1, de; oe >= 0; oe--)
16160
16146
  (de = te[oe]) && (ne = de(ne) || ne);
16161
16147
  return ne;
@@ -16197,7 +16183,7 @@ let ExitShellHandler = class {
16197
16183
  te ? raiseCustomCloseEvent(te) : raiseCloseEvent();
16198
16184
  }
16199
16185
  };
16200
- ExitShellHandler = __decorateClass$g([
16186
+ ExitShellHandler = __decorateClass$h([
16201
16187
  __decorateParam$4(0, inject(TYPES$1.primaryApi))
16202
16188
  ], ExitShellHandler);
16203
16189
  class ExitShell {
@@ -16211,7 +16197,7 @@ const useExitShell = (te) => {
16211
16197
  }, disposeExitShell = () => {
16212
16198
  request$3?.dispose();
16213
16199
  };
16214
- var __getOwnPropDesc$5 = Object.getOwnPropertyDescriptor, __decorateClass$f = (te, J, X, re) => {
16200
+ var __getOwnPropDesc$5 = Object.getOwnPropertyDescriptor, __decorateClass$g = (te, J, X, re) => {
16215
16201
  for (var ne = re > 1 ? void 0 : re ? __getOwnPropDesc$5(J, X) : J, oe = te.length - 1, de; oe >= 0; oe--)
16216
16202
  (de = te[oe]) && (ne = de(ne) || ne);
16217
16203
  return ne;
@@ -16243,11 +16229,11 @@ let GetUserInfoBackendAdapter = class {
16243
16229
  )?.value;
16244
16230
  }
16245
16231
  };
16246
- GetUserInfoBackendAdapter = __decorateClass$f([
16232
+ GetUserInfoBackendAdapter = __decorateClass$g([
16247
16233
  injectable(),
16248
16234
  __decorateParam$3(0, inject(TYPES$1.primaryApi))
16249
16235
  ], GetUserInfoBackendAdapter);
16250
- var __getOwnPropDesc$4 = Object.getOwnPropertyDescriptor, __decorateClass$e = (te, J, X, re) => {
16236
+ var __getOwnPropDesc$4 = Object.getOwnPropertyDescriptor, __decorateClass$f = (te, J, X, re) => {
16251
16237
  for (var ne = re > 1 ? void 0 : re ? __getOwnPropDesc$4(J, X) : J, oe = te.length - 1, de; oe >= 0; oe--)
16252
16238
  (de = te[oe]) && (ne = de(ne) || ne);
16253
16239
  return ne;
@@ -16265,7 +16251,7 @@ let GetUserInfoHandler = class {
16265
16251
  }
16266
16252
  }
16267
16253
  };
16268
- GetUserInfoHandler = __decorateClass$e([
16254
+ GetUserInfoHandler = __decorateClass$f([
16269
16255
  __decorateParam$2(0, inject(TYPES$1.primaryApi)),
16270
16256
  __decorateParam$2(1, inject(GetUserInfoBackendAdapter))
16271
16257
  ], GetUserInfoHandler);
@@ -16277,7 +16263,7 @@ const useGetUserInfo = (te) => {
16277
16263
  }, disposeGetUserInfo = () => {
16278
16264
  request$2?.dispose(), unregisterDep(GetUserInfoBackendAdapter);
16279
16265
  };
16280
- var __getOwnPropDesc$3 = Object.getOwnPropertyDescriptor, __decorateClass$d = (te, J, X, re) => {
16266
+ var __getOwnPropDesc$3 = Object.getOwnPropertyDescriptor, __decorateClass$e = (te, J, X, re) => {
16281
16267
  for (var ne = re > 1 ? void 0 : re ? __getOwnPropDesc$3(J, X) : J, oe = te.length - 1, de; oe >= 0; oe--)
16282
16268
  (de = te[oe]) && (ne = de(ne) || ne);
16283
16269
  return ne;
@@ -16299,7 +16285,7 @@ let GetVisitIdHandler = class {
16299
16285
  return Promise.resolve(J || void 0);
16300
16286
  }
16301
16287
  };
16302
- GetVisitIdHandler = __decorateClass$d([
16288
+ GetVisitIdHandler = __decorateClass$e([
16303
16289
  __decorateParam$1(0, inject(TYPES$1.primaryApi))
16304
16290
  ], GetVisitIdHandler);
16305
16291
  class GetVisitId {
@@ -16310,7 +16296,7 @@ const useGetVisitId = (te) => {
16310
16296
  }, disposeGetVisitId = () => {
16311
16297
  request$1?.dispose();
16312
16298
  };
16313
- var __getOwnPropDesc$2 = Object.getOwnPropertyDescriptor, __decorateClass$c = (te, J, X, re) => {
16299
+ var __getOwnPropDesc$2 = Object.getOwnPropertyDescriptor, __decorateClass$d = (te, J, X, re) => {
16314
16300
  for (var ne = re > 1 ? void 0 : re ? __getOwnPropDesc$2(J, X) : J, oe = te.length - 1, de; oe >= 0; oe--)
16315
16301
  (de = te[oe]) && (ne = de(ne) || ne);
16316
16302
  return ne;
@@ -16328,7 +16314,7 @@ let FinalizeVisitHandler = class {
16328
16314
  }
16329
16315
  }
16330
16316
  };
16331
- FinalizeVisitHandler = __decorateClass$c([
16317
+ FinalizeVisitHandler = __decorateClass$d([
16332
16318
  __decorateParam(0, inject(TYPES$1.primaryApi))
16333
16319
  ], FinalizeVisitHandler);
16334
16320
  class FinalizeVisit {
@@ -16339,10 +16325,10 @@ class FinalizeVisit {
16339
16325
  const template$9 = (te) => ke$1`
16340
16326
  ${te.visitId ? ke$1`<dss-button @click=${te.finalizeVisitHandler} variant="subtle" size="md" icon="door_front" label=${translate$1("actions.finalizeVisit")}></dss-button>` : D$4}
16341
16327
  `;
16342
- var __defProp$b = Object.defineProperty, __decorateClass$b = (te, J, X, re) => {
16328
+ var __defProp$c = Object.defineProperty, __decorateClass$c = (te, J, X, re) => {
16343
16329
  for (var ne = void 0, oe = te.length - 1, de; oe >= 0; oe--)
16344
16330
  (de = te[oe]) && (ne = de(J, X, ne) || ne);
16345
- return ne && __defProp$b(J, X, ne), ne;
16331
+ return ne && __defProp$c(J, X, ne), ne;
16346
16332
  };
16347
16333
  class FinalizeVisitButton extends h$o {
16348
16334
  constructor(J) {
@@ -16355,7 +16341,7 @@ class FinalizeVisitButton extends h$o {
16355
16341
  this.visitId && shellApi.broker.send(new FinalizeVisit(this.visitId));
16356
16342
  }
16357
16343
  }
16358
- __decorateClass$b([
16344
+ __decorateClass$c([
16359
16345
  n$z({ type: String })
16360
16346
  ], FinalizeVisitButton.prototype, "visitId");
16361
16347
  let request;
@@ -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{width:100%;height:100%;min-height:1px}.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;
@@ -17502,11 +17488,11 @@ function mapToStyles(te) {
17502
17488
  var Le = getOffsetParent(X), ze = "clientHeight", Fe = "clientWidth";
17503
17489
  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) {
17504
17490
  we = bottom;
17505
- var Be = fe && Le === Ae && Ae.visualViewport ? Ae.visualViewport.height : (
17491
+ var je = fe && Le === Ae && Ae.visualViewport ? Ae.visualViewport.height : (
17506
17492
  // $FlowFixMe[prop-missing]
17507
17493
  Le[ze]
17508
17494
  );
17509
- me -= Be - re.height, me *= ue ? 1 : -1;
17495
+ me -= je - re.height, me *= ue ? 1 : -1;
17510
17496
  }
17511
17497
  if (ne === left || (ne === top || ne === bottom) && oe === end) {
17512
17498
  Se = right;
@@ -17734,11 +17720,11 @@ function detectOverflow(te, J) {
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 = {
17738
- top: Ae.top - Be.top + ye.top,
17739
- bottom: Be.bottom - Ae.bottom + ye.bottom,
17740
- left: Ae.left - Be.left + ye.left,
17741
- right: Be.right - Ae.right + ye.right
17723
+ }), Fe = rectToClientRect(Object.assign({}, Se, ze)), je = be === popper ? Fe : Le, Pe = {
17724
+ top: Ae.top - je.top + ye.top,
17725
+ bottom: je.bottom - Ae.bottom + ye.bottom,
17726
+ left: Ae.left - je.left + ye.left,
17727
+ right: je.right - Ae.right + ye.right
17742
17728
  }, Oe = te.modifiersData.offset;
17743
17729
  if (be === popper && Oe) {
17744
17730
  var qe = Oe[ne];
@@ -17787,7 +17773,7 @@ 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++) {
17776
+ }, []), Ae = J.rects.reference, Le = J.rects.popper, ze = /* @__PURE__ */ new Map(), Fe = !0, je = we[0], Pe = 0; Pe < we.length; Pe++) {
17791
17777
  var Oe = we[Pe], qe = getBasePlacement(Oe), Ie = getVariation(Oe) === start, Ne = [top, bottom].indexOf(qe) >= 0, Ge = Ne ? "width" : "height", Ze = detectOverflow(J, {
17792
17778
  placement: Oe,
17793
17779
  boundary: pe,
@@ -17800,7 +17786,7 @@ function flip(te) {
17800
17786
  if (oe && Je.push(Ze[qe] <= 0), ce && Je.push(Ze[Ke] <= 0, Ze[bt] <= 0), Je.every(function(Xe) {
17801
17787
  return Xe;
17802
17788
  })) {
17803
- Be = Oe, Fe = !1;
17789
+ je = Oe, Fe = !1;
17804
17790
  break;
17805
17791
  }
17806
17792
  ze.set(Oe, Je);
@@ -17815,12 +17801,12 @@ function flip(te) {
17815
17801
  });
17816
17802
  });
17817
17803
  if (Ue)
17818
- return Be = Ue, "break";
17804
+ return je = Ue, "break";
17819
17805
  }, We = Ye; We > 0; We--) {
17820
- var je = Me(We);
17821
- if (je === "break") break;
17806
+ var Be = Me(We);
17807
+ if (Be === "break") break;
17822
17808
  }
17823
- J.placement !== Be && (J.modifiersData[re]._skip = !0, J.placement = Be, J.reset = !0);
17809
+ J.placement !== je && (J.modifiersData[re]._skip = !0, J.placement = je, J.reset = !0);
17824
17810
  }
17825
17811
  }
17826
17812
  const flip$1 = {
@@ -17921,21 +17907,21 @@ 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, ze = J.rects.reference, Fe = J.rects.popper, je = typeof me == "function" ? me(Object.assign({}, J.rects, {
17925
17911
  placement: J.placement
17926
- })) : me, Pe = typeof Be == "number" ? {
17927
- mainAxis: Be,
17928
- altAxis: Be
17912
+ })) : me, Pe = typeof je == "number" ? {
17913
+ mainAxis: je,
17914
+ altAxis: je
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
+ }, je), Oe = J.modifiersData.offset ? J.modifiersData.offset[J.placement] : null, qe = {
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 ? ze[Ze] : Fe[Ze], We = Ce === start ? -Fe[Ze] : -ze[Ze], Be = J.elements.arrow, Xe = ge && Be ? getLayoutRect(Be) : {
17939
17925
  width: 0,
17940
17926
  height: 0
17941
17927
  }, 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);
@@ -18095,11 +18081,11 @@ 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, ze = Ae.options, Fe = ze === void 0 ? {} : ze, je = Ae.name;
18099
18085
  typeof Le == "function" && (pe = Le({
18100
18086
  state: pe,
18101
18087
  options: Fe,
18102
- name: Be,
18088
+ name: je,
18103
18089
  instance: ge
18104
18090
  }) || pe);
18105
18091
  }
@@ -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, ze, Fe, je, Pe, Oe, qe, Ie;
21438
21424
  const Ne = {
21439
21425
  "dss-datepicker-range--sm": te.inputSize !== "lg"
21440
21426
  }, Ge = {
@@ -21471,7 +21457,7 @@ const O$1 = er`dss-calendar${tr(f$o())}`, e$v = er`dss-icon${tr(f$o())}`, Z = (t
21471
21457
  }, Ye = {
21472
21458
  "dss-calendar": !0,
21473
21459
  "dss-calendar--visible": te._showCalendar && !((ze = te._inputRangeStart) != null && ze.readOnly) && !((Fe = te._inputRangeEnd) != null && Fe.readOnly),
21474
- "dss-calendar--disabled": ((Be = te._inputRangeStart) == null ? void 0 : Be.disabled) && ((Pe = te._inputRangeEnd) == null ? void 0 : Pe.disabled),
21460
+ "dss-calendar--disabled": ((je = te._inputRangeStart) == null ? void 0 : je.disabled) && ((Pe = te._inputRangeEnd) == null ? void 0 : Pe.disabled),
21475
21461
  "dss-calendar--sm": te.inputSize !== "lg"
21476
21462
  };
21477
21463
  return ke`
@@ -28131,10 +28117,10 @@ i$b([
28131
28117
  n$z(n$w)
28132
28118
  ], n$c.prototype, "iconFill", 2);
28133
28119
  const r$c = ':host{display:inline-block;height:100%;width:100%;--circle: 32px;--circle-md: 24px;--circle-sm: 16px;--default-background: var(--color-white);--default-border-color: var(--color-neutral-500);--default-font-color: var(--color-neutral-900);--default-background-hover: var(--color-neutral-50);--default-font-color-active: var(--color-neutral-500);--active-background: var(--color-primary-500);--active-border-color: var(--color-primary-500);--active-font-color: var(--color-white);--completed-background: var(--color-primary-50);--disabled-background: var(--color-neutral-100);--disabled-border-color: var(--color-neutral-100);--disabled-font-color: var(--color-neutral-600);--line-width: 2px;--font-size: 18px;--font-size-md: 16px;--font-size-sm: 16px}.dss-circular-stepper{display:flex;gap:16px;align-items:center}.dss-circular-stepper__item{width:3rem;height:3rem;position:relative}.dss-circular-stepper__item svg{width:3rem;height:3rem;transform:rotate(-90deg)}.dss-circular-stepper__counter{position:absolute;font-size:.9rem;line-height:24px;left:0;top:0;width:3rem;height:3rem;display:flex;justify-content:center;align-items:center}.dss-circular-stepper__label,.dss-circular-stepper__counter b{font-weight:600;color:var(--color-neutral-700);font-size:.9rem;transition:.3s all ease-in;line-height:24px}.dss-circular-stepper circle{stroke:var(--color-neutral-200);stroke-dashoffset:0;fill:none;stroke-linecap:round;stroke-width:6px;stroke-dasharray:100,100;transition:.3s all ease-in}.dss-circular-stepper circle:last-of-type{stroke:var(--color-primary-500);stroke-dasharray:var(--percent),100;stroke-dashoffset:0}.dss-stepper{display:flex;list-style:none;justify-content:space-between;background:linear-gradient(var(--default-border-color) 0 0) no-repeat 50% calc((var(--circle) - var(--line-width)) / 2) / 100% var(--line-width);margin:var(--dss-spacing-xxs) 0 var(--dss-spacing-xl);padding:0;counter-reset:step}.dss-stepper--md{background:linear-gradient(var(--default-border-color) 0 0) no-repeat 50% calc((var(--circle-md) - var(--line-width)) / 2) / 100% var(--line-width)}.dss-stepper--sm{background:linear-gradient(var(--default-border-color) 0 0) no-repeat 50% calc((var(--circle-sm) - var(--line-width)) / 2) / 100% var(--line-width)}.dss-bubble{display:grid;place-items:center;gap:0;position:relative;border-radius:50%;transition:.3s outline ease-in}.dss-bubble:focus-visible{outline:var(--dss-border-width-lg) solid var(--color-blue-200)}.dss-bubble:before{cursor:pointer;content:counter(step) " ";counter-increment:step;display:grid;place-content:center;aspect-ratio:1;height:var(--circle);box-sizing:border-box;border-radius:50%;font-size:var(--font-size);font-weight:var(--font-semibold);font-family:var(--font-family);z-index:100;background-color:var(--default-background);border:var(--line-width) solid var(--active-border-color);color:var(--default-font-color);transition:.3s all ease-in}.dss-bubble:not(.dss-bubble--active):not(:active):hover:before{background-color:var(--completed-background)}.dss-stepper--md .dss-bubble:before{height:var(--circle-md);font-size:var(--font-size-md)}.dss-stepper--sm .dss-bubble:before{content:"";height:var(--circle-sm);font-size:var(--font-size-sm);height:16px;width:16px}.dss-bubble--active:before{background-color:var(--active-background);border-color:var(--active-border-color);color:var(--active-font-color)}.dss-bubble--active~.dss-bubble:before{background-color:var(--default-background);border-color:var(--default-border-color);color:var(--default-font-color)}.dss-bubble--active~.dss-bubble:not(.dss-bubble--active):hover:before{background-color:var(--default-background-hover)}.dss-bubble--active~.dss-bubble:active:before{background-color:var(--default-background);color:var(--default-font-color-active)}.dss-bubble--icon:before{content:attr(icon);font-family:var(--icon-font);font-weight:400}.dss-bubble--checked:before{content:"done";font-family:var(--icon-font);font-weight:400;font-size:24px;color:var(--color-primary-500)!important}.dss-stepper--sm .dss-bubble--checked:before{content:"check_circle";background-color:var(--color-primary-500);color:var(--color-white)!important;border-width:1px!important}.dss-stepper--sm .dss-bubble--checked:hover:before{border-color:var(--color-white);color:var(--color-primary-500)!important}.dss-bubble--checked:active:before{background-color:var(--color-white);color:var(--color-primary-300)!important;border-color:var(--color-primary-500)!important}.dss-stepper--sm .dss-bubble--checked:active:before{border-color:var(--color-white)!important;color:var(--color-primary-300)!important}.dss-bubble--info:before,.dss-bubble--active~.dss-bubble.dss-bubble--info:before{content:"info_i";font-family:var(--icon-font);font-weight:400;background-color:var(--color-white);color:var(--color-blue-500);border-color:var(--color-blue-500)}.dss-bubble--info:hover:before,.dss-bubble--active~.dss-bubble.dss-bubble--info:hover:before{background-color:var(--color-blue-50)!important}.dss-bubble--info:active:before,.dss-bubble--active~.dss-bubble.dss-bubble--info:not(.dss-bubble--active):active:before{color:var(--color-blue-300)!important;background-color:var(--color-white)!important}.dss-stepper--sm .dss-bubble--info:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--info:before{content:"info";background-color:var(--color-blue-500);border-color:var(--color-blue-500);color:var(--color-white)!important;border-width:1px!important}.dss-stepper--sm .dss-bubble--info:hover:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--info:hover:before{background-color:var(--color-blue-50)!important;border-color:var(--color-white);color:var(--color-blue-500)!important}.dss-stepper--sm .dss-bubble--info:active:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--info:active:before{background-color:var(--color-white)!important;border-color:var(--color-white)!important;color:var(--color-blue-300)!important}.dss-bubble--alert:before,.dss-bubble--active~.dss-bubble.dss-bubble--alert:before{content:"priority_high";font-family:var(--icon-font);font-weight:400;background-color:var(--color-white);color:var(--color-yellow-800);border-color:var(--color-yellow-800)}.dss-bubble--alert:not(:active):hover:before{background-color:var(--color-yellow-50)!important}.dss-bubble--alert:active:before,.dss-bubble--active~.dss-bubble.dss-bubble--alert:active:before{color:var(--color-yellow-700)!important;background-color:var(--color-white)}.dss-stepper--sm .dss-bubble--alert:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--alert:before{content:"error";background-color:var(--color-yellow-800);border-color:var(--color-yellow-800);color:var(--color-white)!important;border-width:1px!important}.dss-stepper--sm .dss-bubble--alert:hover:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--alert:hover:before{background-color:var(--color-yellow-50)!important;border-color:var(--color-white);color:var(--color-yellow-800)!important}.dss-stepper--sm .dss-bubble--alert:active:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--alert:active:before{background-color:var(--color-white)!important;border-color:var(--color-white)!important;color:var(--color-yellow-700)!important}.dss-bubble--error:before,.dss-bubble--active~.dss-bubble.dss-bubble--error:before{content:"close";font-family:var(--icon-font);font-weight:400;background-color:var(--color-white);color:var(--color-red-500);border-color:var(--color-red-500)}.dss-bubble--error:active:before,.dss-bubble--active~.dss-bubble.dss-bubble--error:active:before{color:var(--color-red-300)!important;background-color:var(--color-white)}.dss-stepper--sm .dss-bubble--error:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--error:before{content:"cancel";background-color:var(--color-red-500);border-color:var(--color-red-500);color:var(--color-white)!important;border-width:1px!important}.dss-stepper--sm .dss-bubble--error:hover:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--error:hover:before{background-color:var(--color-red-50)!important;border-color:var(--color-white);color:var(--color-red-500)!important}.dss-stepper--sm .dss-bubble--error:active:before,.dss-stepper--sm .dss-bubble--active~.dss-bubble.dss-bubble--error:active:before{background-color:var(--color-white)!important;border-color:var(--color-white)!important;color:var(--color-red-300)!important}.dss-bubble--disabled:before{cursor:not-allowed;background-color:var(--disabled-background)!important;border-color:var(--disabled-border-color)!important;color:var(--disabled-font-color)!important}.dss-stepper--vertical .dss-bubble:not(:first-child){margin-top:var(--dss-spacing-lg)}.dss-bubble--error:not(:active):hover:before{background-color:var(--color-red-50)!important}.dss-bubble--error:active:before{color:var(--color-red-300)!important}.dss-stepper--sm .dss-bubble--error:before{content:"cancel";background-color:var(--color-red-500);border-color:var(--color-red-500);color:var(--color-white)!important;border-width:1px!important}.dss-stepper--sm .dss-bubble--error:hover:before{background-color:var(--color-red-50)!important;border-color:var(--color-white);color:var(--color-red-500)!important}.dss-stepper--sm .dss-bubble--error:active:before{background-color:var(--color-white)!important;border-color:var(--color-white)!important;color:var(--color-red-300)!important}.dss-bubble--disabled:before{cursor:not-allowed;background:var(--disabled-background)!important;border-color:var(--disabled-border-color)!important;color:var(--disabled-font-color)!important}.dss-bubble--completed:not(:first-child):after{content:"";position:absolute;height:var(--line-width);right:0;top:calc((var(--circle) - var(--line-width)) / 2);width:var(--active-bar-width);background:var(--active-background)}.dss-bubble--active:not(:first-child):after{content:"";position:absolute;height:var(--line-width);right:0;top:calc((var(--circle) - var(--line-width)) / 2);width:var(--active-bar-width);background:var(--active-background);animation:animate .3s}.dss-stepper--md .dss-bubble--completed:not(:first-child):after{top:calc((var(--circle-md) - var(--line-width)) / 2)}.dss-stepper--md .dss-bubble--active:not(:first-child):after{top:calc((var(--circle-md) - var(--line-width)) / 2)}.dss-stepper--sm .dss-bubble--completed:not(:first-child):after{top:calc((var(--circle-sm) - var(--line-width)) / 2)}.dss-stepper--sm .dss-bubble--active:not(:first-child):after{top:calc((var(--circle-sm) - var(--line-width)) / 2)}.dss-stepper--vertical{height:100%;flex-direction:column;gap:0;background:linear-gradient(var(--default-border-color) 0 0) no-repeat calc((var(--circle) - var(--line-width)) / 2) 50% / var(--line-width) 100%}.dss-stepper--vertical .dss-bubble{display:flex;width:-moz-fit-content;width:fit-content}.dss-stepper--vertical .dss-bubble--completed:not(:first-child):after{content:"";position:absolute;width:var(--line-width);bottom:0;left:calc((var(--circle) - var(--line-width)) / 2);top:auto;right:auto;height:var(--active-bar-width);background:var(--active-background)}.dss-stepper--vertical .dss-bubble--active:not(:first-child):after{content:"";position:absolute;width:var(--line-width);bottom:0;left:calc((var(--circle) - var(--line-width)) / 2);top:auto;right:auto;height:var(--active-bar-width);background:var(--active-background);animation:column-animate .5s}.dss-stepper--md.dss-stepper--vertical{background:linear-gradient(var(--default-border-color) 0 0) no-repeat calc((var(--circle-md) - var(--line-width)) / 2) 50% / var(--line-width) 100%}.dss-stepper--sm.dss-stepper--vertical{background:linear-gradient(var(--default-border-color) 0 0) no-repeat calc((var(--circle-sm) - var(--line-width)) / 2) 50% / var(--line-width) 100%}.dss-stepper--md.dss-stepper--vertical .dss-bubble--completed:not(:first-child):after{left:calc((var(--circle-md) - var(--line-width)) / 2)}.dss-stepper--sm.dss-stepper--vertical .dss-bubble--completed:not(:first-child):after{left:calc((var(--circle-sm) - var(--line-width)) / 2)}.dss-stepper--md.dss-stepper--vertical .dss-bubble--active:not(:first-child):after{left:calc((var(--circle-md) - var(--line-width)) / 2)}.dss-stepper--sm.dss-stepper--vertical .dss-bubble--active:not(:first-child):after{left:calc((var(--circle-sm) - var(--line-width)) / 2)}.dss-stepper:not(.dss-stepper--vertical) .dss-bubble-label{position:absolute;top:calc(100% + var(--dss-spacing-xxs));left:50%;transform:translate(-50%)}.dss-bubble-label{width:-moz-max-content;width:max-content;font-weight:var(--font-regular);font-size:14px;color:var(--color-neutral-700)}.dss-bubble-label--disabled{color:var(--color-neutral-500)}.dss-bubble--active .dss-bubble-label{color:var(--color-neutral-700);font-weight:var(--font-semibold)}.dss-stepper--vertical .dss-bubble-label{position:absolute;left:calc(100% + var(--dss-spacing-xs));top:50%;transform:translateY(-50%)}.dss-bubble-label.hide-label{display:none}@keyframes animate{0%{width:0}to{width:100%}}@keyframes column-animate{0%{height:0}to{height:100%}}';
28134
- var __defProp$a = Object.defineProperty, __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor, __decorateClass$a = (te, J, X, re) => {
28120
+ var __defProp$b = Object.defineProperty, __getOwnPropDesc$1 = Object.getOwnPropertyDescriptor, __decorateClass$b = (te, J, X, re) => {
28135
28121
  for (var ne = __getOwnPropDesc$1(J, X), oe = te.length - 1, de; oe >= 0; oe--)
28136
28122
  (de = te[oe]) && (ne = de(J, X, ne) || ne);
28137
- return ne && __defProp$a(J, X, ne), ne;
28123
+ return ne && __defProp$b(J, X, ne), ne;
28138
28124
  };
28139
28125
  class Stepper extends h$o {
28140
28126
  constructor() {
@@ -28281,22 +28267,22 @@ class Stepper extends h$o {
28281
28267
  `;
28282
28268
  }
28283
28269
  }
28284
- __decorateClass$a([
28270
+ __decorateClass$b([
28285
28271
  n$z({ type: [] })
28286
28272
  ], Stepper.prototype, "steps");
28287
- __decorateClass$a([
28273
+ __decorateClass$b([
28288
28274
  n$z({ type: Number })
28289
28275
  ], Stepper.prototype, "currentStep");
28290
- __decorateClass$a([
28276
+ __decorateClass$b([
28291
28277
  n$z(n$w)
28292
28278
  ], Stepper.prototype, "column");
28293
- __decorateClass$a([
28279
+ __decorateClass$b([
28294
28280
  n$z(n$w)
28295
28281
  ], Stepper.prototype, "circular");
28296
- __decorateClass$a([
28282
+ __decorateClass$b([
28297
28283
  n$z(n$w)
28298
28284
  ], Stepper.prototype, "hideLabel");
28299
- __decorateClass$a([
28285
+ __decorateClass$b([
28300
28286
  n$z({ type: String })
28301
28287
  ], Stepper.prototype, "size");
28302
28288
  const n$b = ":host{width:100%;display:flex;justify-content:flex-end;height:-moz-fit-content;height:fit-content;font-family:var(--font-family);font-style:normal;border-top:2px solid var(--color-neutral-700)}.pagination__container{display:flex;align-items:center;padding:.5rem .75rem;gap:1rem}.pagination__results{font-weight:600;font-size:.875rem;line-height:1.5rem;color:#0073e6}.pagination__divider{height:1rem;border-left:1px solid rgb(216,216,216)}.pagination__text{font-weight:400;font-size:12px;line-height:1rem;color:#656565}.pagination__button{color:#0073e6;font-size:1.5rem;padding:0;align-items:center;background-color:transparent;border:none;border-radius:100%;cursor:pointer;display:flex;height:-moz-fit-content;height:fit-content;justify-content:center;transition:all .3s ease-in;width:-moz-fit-content;width:fit-content;font-family:var(--icon-font);width:2rem;height:2rem}.pagination__button:hover:enabled{background-color:#bfddfa}.pagination__button:focus-visible:enabled{outline:.25rem solid #8fc2f5;transition:none}.pagination__button:active:enabled{background-color:#eff7ff;transition:none}.pagination__button:disabled{transition:none;opacity:.4;cursor:not-allowed}.pagination__row-page{display:flex;align-items:center;gap:1rem}.pagination__buttons{display:flex;align-items:center}.pagination__select{background:#eff7ff;border-radius:4px;position:relative}.pagination__select select{border:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;padding:7px 32px 7px 12px;color:#00356a;font-weight:400;font-size:12px;line-height:1rem;position:inherit;z-index:1;font-family:var(--font-family)}.pagination__select select:active,.pagination__select select:focus-visible{outline:none}.pagination__arrow-down{position:absolute;height:100%;display:flex;align-items:center;top:0;right:12px;color:#00356a}.pagination-select-options:disabled{background-color:var(--color-neutral-50);color:var(--color-neutral-500);cursor:not-allowed}";
@@ -37169,7 +37155,8 @@ const gencatLogo = "data:image/svg+xml,%3csvg%20width='94'%20height='24'%20viewB
37169
37155
  <primaria-shell-header></primaria-shell-header>
37170
37156
  <div class="main-container">
37171
37157
  <div class="sidebar" ?expanded=${te.sidebarExpanded}>
37172
- <div id="menu-region-container"></div>
37158
+ <div id="menu-region-container"></div>
37159
+ <!-- <primaria-region id="menu-region" name=${shellApi.regionManager.regions.shell.navigationMenu}></primaria-region> -->
37173
37160
  <div class="quick-actions-content">
37174
37161
  <quick-actions-menu>
37175
37162
  <div class="${te.sidebarExpanded ? "create-button-opened" : "create-button-closed"} " slot="anchor" id="usage-anchor">
@@ -37218,10 +37205,10 @@ const gencatLogo = "data:image/svg+xml,%3csvg%20width='94'%20height='24'%20viewB
37218
37205
  <primaria-error-view .error=${te.error} view=${shellViews.error}></primaria-error-view>
37219
37206
  </primaria-content-switcher>
37220
37207
  `;
37221
- var __defProp$9 = Object.defineProperty, __decorateClass$9 = (te, J, X, re) => {
37208
+ var __defProp$a = Object.defineProperty, __decorateClass$a = (te, J, X, re) => {
37222
37209
  for (var ne = void 0, oe = te.length - 1, de; oe >= 0; oe--)
37223
37210
  (de = te[oe]) && (ne = de(J, X, ne) || ne);
37224
- return ne && __defProp$9(J, X, ne), ne;
37211
+ return ne && __defProp$a(J, X, ne), ne;
37225
37212
  };
37226
37213
  const Us = class Us extends PrimariaRegionHost(h$o) {
37227
37214
  constructor() {
@@ -37269,34 +37256,34 @@ Us.styles = i$D`
37269
37256
  ${r$H(styles$7)}
37270
37257
  `;
37271
37258
  let PrimariaShell = Us;
37272
- __decorateClass$9([
37259
+ __decorateClass$a([
37273
37260
  s$B({ targetId: "menu-region-container", name: shellApi.regionManager.regions.shell.navigationMenu })
37274
37261
  ], PrimariaShell.prototype, "navigationMenuRegion");
37275
- __decorateClass$9([
37262
+ __decorateClass$a([
37276
37263
  s$B({ targetId: "main-region-container", name: shellApi.regionManager.regions.shell.main })
37277
37264
  ], PrimariaShell.prototype, "mainRegion");
37278
- __decorateClass$9([
37265
+ __decorateClass$a([
37279
37266
  s$B({ targetId: "quick-actions-region-container", name: shellApi.regionManager.regions.shell.quickActions })
37280
37267
  ], PrimariaShell.prototype, "quickActionsRegion");
37281
- __decorateClass$9([
37268
+ __decorateClass$a([
37282
37269
  s$B({ targetId: "floating-region-container", name: shellApi.regionManager.regions.shell.floating })
37283
37270
  ], PrimariaShell.prototype, "floatingRegion");
37284
- __decorateClass$9([
37271
+ __decorateClass$a([
37285
37272
  s$B({
37286
37273
  targetId: "navigation-menu-lower-region-container",
37287
37274
  name: shellApi.regionManager.regions.shell.navigationLowerLeftMenu
37288
37275
  })
37289
37276
  ], PrimariaShell.prototype, "navLowerLeftMenu");
37290
- __decorateClass$9([
37277
+ __decorateClass$a([
37291
37278
  r$E()
37292
37279
  ], PrimariaShell.prototype, "sidebarExpanded");
37293
- __decorateClass$9([
37280
+ __decorateClass$a([
37294
37281
  r$E()
37295
37282
  ], PrimariaShell.prototype, "viewSelected");
37296
- __decorateClass$9([
37283
+ __decorateClass$a([
37297
37284
  r$E()
37298
37285
  ], PrimariaShell.prototype, "error");
37299
- __decorateClass$9([
37286
+ __decorateClass$a([
37300
37287
  r$E()
37301
37288
  ], PrimariaShell.prototype, "quickActionBusy");
37302
37289
  const styles$6 = ":host{width:100%;height:100%;min-height:1px;display:flex}.container{width:100%;min-height:1px;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#60a8f0}svg{width:45px;height:45px;fill:#d36262}h1{color:#fff}", template$7 = (te) => ke$1`
@@ -37305,10 +37292,10 @@ const styles$6 = ":host{width:100%;height:100%;min-height:1px;display:flex}.cont
37305
37292
  <h1>${te.error?.message}</h1>
37306
37293
  </div>
37307
37294
  `;
37308
- var __defProp$8 = Object.defineProperty, __decorateClass$8 = (te, J, X, re) => {
37295
+ var __defProp$9 = Object.defineProperty, __decorateClass$9 = (te, J, X, re) => {
37309
37296
  for (var ne = void 0, oe = te.length - 1, de; oe >= 0; oe--)
37310
37297
  (de = te[oe]) && (ne = de(J, X, ne) || ne);
37311
- return ne && __defProp$8(J, X, ne), ne;
37298
+ return ne && __defProp$9(J, X, ne), ne;
37312
37299
  };
37313
37300
  const Vs = class Vs extends h$o {
37314
37301
  render() {
@@ -37319,7 +37306,7 @@ Vs.styles = i$D`
37319
37306
  ${r$H(styles$6)}
37320
37307
  `;
37321
37308
  let PrimariaErrorView = Vs;
37322
- __decorateClass$8([
37309
+ __decorateClass$9([
37323
37310
  n$z()
37324
37311
  ], PrimariaErrorView.prototype, "error");
37325
37312
  const template$6 = (te) => ke$1`
@@ -37354,7 +37341,7 @@ class QuickActionsMenu extends h$o {
37354
37341
  re && (re.style.overflow = "hidden");
37355
37342
  }
37356
37343
  }
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) => {
37344
+ 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
37345
  const J = [{ label: te.professional?.workCenter, value: "1" }], X = [{ label: te.professional?.role, value: "1" }], re = [{ label: te.professional?.speciality, value: "1" }];
37359
37346
  return ke$1`
37360
37347
  <div class="header">
@@ -37390,10 +37377,10 @@ const styles$5 = ":host{z-index:301}.header{display:flex;flex-direction:row;alig
37390
37377
  </div>
37391
37378
  `;
37392
37379
  };
37393
- var __defProp$7 = Object.defineProperty, __decorateClass$7 = (te, J, X, re) => {
37380
+ var __defProp$8 = Object.defineProperty, __decorateClass$8 = (te, J, X, re) => {
37394
37381
  for (var ne = void 0, oe = te.length - 1, de; oe >= 0; oe--)
37395
37382
  (de = te[oe]) && (ne = de(J, X, ne) || ne);
37396
- return ne && __defProp$7(J, X, ne), ne;
37383
+ return ne && __defProp$8(J, X, ne), ne;
37397
37384
  };
37398
37385
  const Ws = class Ws extends PrimariaRegionHost(h$o) {
37399
37386
  constructor() {
@@ -37433,16 +37420,16 @@ Ws.styles = i$D`
37433
37420
  ${r$H(styles$5)}
37434
37421
  `;
37435
37422
  let PrimariaShellHeader = Ws;
37436
- __decorateClass$7([
37423
+ __decorateClass$8([
37437
37424
  s$B({ targetId: "header-region-container", name: shellApi.regionManager.regions.shell.header })
37438
37425
  ], PrimariaShellHeader.prototype, "headerRegion");
37439
- __decorateClass$7([
37426
+ __decorateClass$8([
37440
37427
  s$B({ targetId: "header-actions-region-container", name: shellApi.regionManager.regions.shell.headerRightActions })
37441
37428
  ], PrimariaShellHeader.prototype, "headerRightActionsRegion");
37442
- __decorateClass$7([
37429
+ __decorateClass$8([
37443
37430
  n$z({ type: Object })
37444
37431
  ], PrimariaShellHeader.prototype, "professional");
37445
- __decorateClass$7([
37432
+ __decorateClass$8([
37446
37433
  r$E()
37447
37434
  ], PrimariaShellHeader.prototype, "menuOpened");
37448
37435
  const Gs = class Gs extends h$o {
@@ -37496,10 +37483,10 @@ const Gs = class Gs extends h$o {
37496
37483
  Gs.styles = i$D`
37497
37484
  `;
37498
37485
  let PocEventsEcap = Gs;
37499
- var __defProp$6 = Object.defineProperty, __decorateClass$6 = (te, J, X, re) => {
37486
+ var __defProp$7 = Object.defineProperty, __decorateClass$7 = (te, J, X, re) => {
37500
37487
  for (var ne = void 0, oe = te.length - 1, de; oe >= 0; oe--)
37501
37488
  (de = te[oe]) && (ne = de(J, X, ne) || ne);
37502
- return ne && __defProp$6(J, X, ne), ne;
37489
+ return ne && __defProp$7(J, X, ne), ne;
37503
37490
  };
37504
37491
  const Zs = class Zs extends h$o {
37505
37492
  toggle() {
@@ -37540,7 +37527,7 @@ Zs.styles = i$D`
37540
37527
  }
37541
37528
  `;
37542
37529
  let PrimariaAccordion = Zs;
37543
- __decorateClass$6([
37530
+ __decorateClass$7([
37544
37531
  n$z({ type: Boolean })
37545
37532
  ], PrimariaAccordion.prototype, "isOpen");
37546
37533
  const template$4 = (te) => ke$1`
@@ -37558,10 +37545,10 @@ const template$4 = (te) => ke$1`
37558
37545
  ${te.showText ? ke$1`<dss-icon icon="chevron_right" size="md"></dss-icon>` : D$4}
37559
37546
  </div>
37560
37547
  `, styles$4 = ".item{display:flex;cursor:pointer;border-radius:8px;padding:8px;justify-content:center;transition:background-color .3s ease}.item[expanded]{justify-content:space-between}.item:hover{background-color:var(--color-primary-900);color:#fff}.item .icon-label{display:flex;gap:8px;transition:background-color .3s}.item.active{outline:2px solid white;outline-offset:-2px}";
37561
- var __defProp$5 = Object.defineProperty, __decorateClass$5 = (te, J, X, re) => {
37548
+ var __defProp$6 = Object.defineProperty, __decorateClass$6 = (te, J, X, re) => {
37562
37549
  for (var ne = void 0, oe = te.length - 1, de; oe >= 0; oe--)
37563
37550
  (de = te[oe]) && (ne = de(J, X, ne) || ne);
37564
- return ne && __defProp$5(J, X, ne), ne;
37551
+ return ne && __defProp$6(J, X, ne), ne;
37565
37552
  };
37566
37553
  const Ys = class Ys extends PrimariaRegionHost(h$o) {
37567
37554
  constructor(J, X) {
@@ -37587,16 +37574,16 @@ Ys.styles = i$D`
37587
37574
  ${r$H(styles$4)}
37588
37575
  `;
37589
37576
  let CommunicationActionMenu = Ys;
37590
- __decorateClass$5([
37577
+ __decorateClass$6([
37591
37578
  r$E()
37592
37579
  ], CommunicationActionMenu.prototype, "showText");
37593
- __decorateClass$5([
37580
+ __decorateClass$6([
37594
37581
  s$B({ targetId: "communication-sidenav-region-container", name: shellApi.regionManager.regions.shell.communicationSidenav })
37595
37582
  ], CommunicationActionMenu.prototype, "comminucationSidenavRegion");
37596
- __decorateClass$5([
37583
+ __decorateClass$6([
37597
37584
  n$z({ type: String })
37598
37585
  ], CommunicationActionMenu.prototype, "icon");
37599
- __decorateClass$5([
37586
+ __decorateClass$6([
37600
37587
  n$z({ type: String })
37601
37588
  ], CommunicationActionMenu.prototype, "label");
37602
37589
  const styles$3 = ".header-container{width:1px;height:40px;background-color:var(--color-neutral-100)}", template$3 = (te) => ke$1`
@@ -37613,10 +37600,10 @@ let HeaderDivider = Ks;
37613
37600
  const useComponents = () => {
37614
37601
  t$k("primaria-shell")(PrimariaShell), t$k("primaria-shell-header")(PrimariaShellHeader), t$k("primaria-error-view")(PrimariaErrorView), t$k("quick-actions-menu")(QuickActionsMenu), t$k("finalize-visit-button")(FinalizeVisitButton), t$k("header-divider")(HeaderDivider), t$k("communication-action-menu")(CommunicationActionMenu), t$k("poc-events-ecap")(PocEventsEcap), t$k("primaria-accordion")(PrimariaAccordion);
37615
37602
  };
37616
- var __defProp$4 = Object.defineProperty, __decorateClass$4 = (te, J, X, re) => {
37603
+ var __defProp$5 = Object.defineProperty, __decorateClass$5 = (te, J, X, re) => {
37617
37604
  for (var ne = void 0, oe = te.length - 1, de; oe >= 0; oe--)
37618
37605
  (de = te[oe]) && (ne = de(J, X, ne) || ne);
37619
- return ne && __defProp$4(J, X, ne), ne;
37606
+ return ne && __defProp$5(J, X, ne), ne;
37620
37607
  };
37621
37608
  const isSelected = (te, J, X) => te[J] === X || Array.from(te.attributes).some(
37622
37609
  (re) => re.name === J && re.value === X
@@ -37674,13 +37661,13 @@ Qs.styles = i$D`
37674
37661
  }
37675
37662
  `;
37676
37663
  let PrimariaContentSwitcher = Qs;
37677
- __decorateClass$4([
37664
+ __decorateClass$5([
37678
37665
  n$z()
37679
37666
  ], PrimariaContentSwitcher.prototype, "selected");
37680
- __decorateClass$4([
37667
+ __decorateClass$5([
37681
37668
  n$z()
37682
37669
  ], PrimariaContentSwitcher.prototype, "attrForSelected");
37683
- __decorateClass$4([
37670
+ __decorateClass$5([
37684
37671
  n$z()
37685
37672
  ], PrimariaContentSwitcher.prototype, "animation");
37686
37673
  const styles$2 = ".wrapper{display:flex;flex-direction:column;gap:8px}.menu-active{background-color:var(--color-primary-900);color:#fff;border-radius:8px}", template$2 = (te) => ke$1`
@@ -37705,10 +37692,10 @@ const styles$2 = ".wrapper{display:flex;flex-direction:column;gap:8px}.menu-acti
37705
37692
  ` : D$4}
37706
37693
  </div>
37707
37694
  `;
37708
- var __defProp$3 = Object.defineProperty, __decorateClass$3 = (te, J, X, re) => {
37695
+ var __defProp$4 = Object.defineProperty, __decorateClass$4 = (te, J, X, re) => {
37709
37696
  for (var ne = void 0, oe = te.length - 1, de; oe >= 0; oe--)
37710
37697
  (de = te[oe]) && (ne = de(J, X, ne) || ne);
37711
- return ne && __defProp$3(J, X, ne), ne;
37698
+ return ne && __defProp$4(J, X, ne), ne;
37712
37699
  };
37713
37700
  const Js = class Js extends h$o {
37714
37701
  constructor(J) {
@@ -37731,13 +37718,13 @@ Js.styles = i$D`
37731
37718
  ${r$H(styles$2)}
37732
37719
  `;
37733
37720
  let PrimariaNavTreeMenu = Js;
37734
- __decorateClass$3([
37721
+ __decorateClass$4([
37735
37722
  n$z({ type: Object })
37736
37723
  ], PrimariaNavTreeMenu.prototype, "config");
37737
- __decorateClass$3([
37724
+ __decorateClass$4([
37738
37725
  r$E()
37739
37726
  ], PrimariaNavTreeMenu.prototype, "primariaNavItemConfig");
37740
- __decorateClass$3([
37727
+ __decorateClass$4([
37741
37728
  r$E()
37742
37729
  ], PrimariaNavTreeMenu.prototype, "showActionMenu");
37743
37730
  var quill$1 = { exports: {} };
@@ -38203,7 +38190,7 @@ function requireQuill() {
38203
38190
  value: function(Ne, Ge, Ze) {
38204
38191
  if (typeof Ge == "string" && Ge.endsWith(`
38205
38192
  `)) {
38206
- var Ke = be.default.create(Be.blotName);
38193
+ var Ke = be.default.create(je.blotName);
38207
38194
  this.parent.insertBefore(Ke, Ne === 0 ? this : this.next), Ke.insertAt(0, Ge.slice(0, -1));
38208
38195
  } else
38209
38196
  de(qe.prototype.__proto__ || Object.getPrototypeOf(qe.prototype), "insertAt", this).call(this, Ne, Ge, Ze);
@@ -38211,7 +38198,7 @@ function requireQuill() {
38211
38198
  }]), qe;
38212
38199
  })(be.default.Embed);
38213
38200
  Fe.scope = be.default.Scope.BLOCK_BLOT;
38214
- var Be = (function(Oe) {
38201
+ var je = (function(Oe) {
38215
38202
  Le(qe, Oe);
38216
38203
  function qe(Ie) {
38217
38204
  we(this, qe);
@@ -38295,12 +38282,12 @@ function requireQuill() {
38295
38282
  }
38296
38283
  }]), qe;
38297
38284
  })(be.default.Block);
38298
- Be.blotName = "block", Be.tagName = "P", Be.defaultChild = "break", Be.allowedChildren = [_e.default, be.default.Embed, Ce.default];
38285
+ je.blotName = "block", je.tagName = "P", je.defaultChild = "break", je.allowedChildren = [_e.default, be.default.Embed, Ce.default];
38299
38286
  function Pe(Oe) {
38300
38287
  var qe = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
38301
38288
  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);
38302
38289
  }
38303
- re.bubbleFormats = Pe, re.BlockEmbed = Fe, re.default = Be;
38290
+ re.bubbleFormats = Pe, re.BlockEmbed = Fe, re.default = je;
38304
38291
  }),
38305
38292
  /* 5 */
38306
38293
  /***/
@@ -38314,15 +38301,15 @@ function requireQuill() {
38314
38301
  return Je && typeof Symbol == "function" && Je.constructor === Symbol && Je !== Symbol.prototype ? "symbol" : typeof Je;
38315
38302
  }, de = /* @__PURE__ */ (function() {
38316
38303
  function Je(Ye, Me) {
38317
- var We = [], je = !0, Xe = !1, tt = void 0;
38304
+ var We = [], Be = !0, Xe = !1, tt = void 0;
38318
38305
  try {
38319
- for (var Ue = Ye[Symbol.iterator](), Qe; !(je = (Qe = Ue.next()).done) && (We.push(Qe.value), !(Me && We.length === Me)); je = !0)
38306
+ for (var Ue = Ye[Symbol.iterator](), Qe; !(Be = (Qe = Ue.next()).done) && (We.push(Qe.value), !(Me && We.length === Me)); Be = !0)
38320
38307
  ;
38321
38308
  } catch (nt) {
38322
38309
  Xe = !0, tt = nt;
38323
38310
  } finally {
38324
38311
  try {
38325
- !je && Ue.return && Ue.return();
38312
+ !Be && Ue.return && Ue.return();
38326
38313
  } finally {
38327
38314
  if (Xe) throw tt;
38328
38315
  }
@@ -38339,8 +38326,8 @@ function requireQuill() {
38339
38326
  })(), ce = /* @__PURE__ */ (function() {
38340
38327
  function Je(Ye, Me) {
38341
38328
  for (var We = 0; We < Me.length; We++) {
38342
- var je = Me[We];
38343
- je.enumerable = je.enumerable || !1, je.configurable = !0, "value" in je && (je.writable = !0), Object.defineProperty(Ye, je.key, je);
38329
+ var Be = Me[We];
38330
+ Be.enumerable = Be.enumerable || !1, Be.configurable = !0, "value" in Be && (Be.writable = !0), Object.defineProperty(Ye, Be.key, Be);
38344
38331
  }
38345
38332
  }
38346
38333
  return function(Ye, Me, We) {
@@ -38348,7 +38335,7 @@ function requireQuill() {
38348
38335
  };
38349
38336
  })();
38350
38337
  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);
38338
+ 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), je = Pe(Fe);
38352
38339
  function Pe(Je) {
38353
38340
  return Je && Je.__esModule ? Je : { default: Je };
38354
38341
  }
@@ -38378,11 +38365,11 @@ function requireQuill() {
38378
38365
  }, {
38379
38366
  key: "register",
38380
38367
  value: function(Me, We) {
38381
- var je = this, Xe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
38368
+ var Be = this, Xe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
38382
38369
  if (typeof Me != "string") {
38383
38370
  var tt = Me.attrName || Me.blotName;
38384
38371
  typeof tt == "string" ? this.register("formats/" + tt, Me, We) : Object.keys(Me).forEach(function(Ue) {
38385
- je.register(Ue, Me[Ue], We);
38372
+ Be.register(Ue, Me[Ue], We);
38386
38373
  });
38387
38374
  } else
38388
38375
  this.imports[Me] != null && !Xe && Ie.warn("Overwriting " + Me + " with", We), this.imports[Me] = We, (Me.startsWith("blots/") || Me.startsWith("formats/")) && We.blotName !== "abstract" ? ye.default.register(We) : Me.startsWith("modules") && typeof We.register == "function" && We.register();
@@ -38393,7 +38380,7 @@ function requireQuill() {
38393
38380
  if (qe(this, Je), this.options = Ge(Ye, We), this.container = this.options.container, this.container == null)
38394
38381
  return Ie.error("Invalid Quill container", Ye);
38395
38382
  this.options.debug && Je.debug(this.options.debug);
38396
- var je = this.container.innerHTML.trim();
38383
+ var Be = this.container.innerHTML.trim();
38397
38384
  this.container.classList.add("ql-container"), this.container.innerHTML = "", this.container.__quill = this, this.root = this.addContainer("ql-editor"), this.root.classList.add("ql-blank"), this.root.setAttribute("data-gramm", !1), this.scrollingContainer = this.options.scrollingContainer || this.root, this.emitter = new ge.default(), this.scroll = ye.default.create(this.root, {
38398
38385
  emitter: this.emitter,
38399
38386
  whitelist: this.options.formats
@@ -38405,7 +38392,7 @@ function requireQuill() {
38405
38392
  return Me.editor.update(null, Ue, nt);
38406
38393
  }, tt);
38407
38394
  });
38408
- var Xe = this.clipboard.convert(`<div class='ql-editor' style="white-space: normal;">` + je + "<p><br></p></div>");
38395
+ var Xe = this.clipboard.convert(`<div class='ql-editor' style="white-space: normal;">` + Be + "<p><br></p></div>");
38409
38396
  this.setContents(Xe), this.history.clear(), this.options.placeholder && this.root.setAttribute("data-placeholder", this.options.placeholder), this.options.readOnly && this.disable();
38410
38397
  }
38411
38398
  return ce(Je, [{
@@ -38413,8 +38400,8 @@ function requireQuill() {
38413
38400
  value: function(Me) {
38414
38401
  var We = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null;
38415
38402
  if (typeof Me == "string") {
38416
- var je = Me;
38417
- Me = document.createElement("div"), Me.classList.add(je);
38403
+ var Be = Me;
38404
+ Me = document.createElement("div"), Me.classList.add(Be);
38418
38405
  }
38419
38406
  return this.container.insertBefore(Me, We), Me;
38420
38407
  }
@@ -38425,11 +38412,11 @@ function requireQuill() {
38425
38412
  }
38426
38413
  }, {
38427
38414
  key: "deleteText",
38428
- value: function(Me, We, je) {
38429
- var Xe = this, tt = Ke(Me, We, je), Ue = de(tt, 4);
38430
- return Me = Ue[0], We = Ue[1], je = Ue[3], Ze.call(this, function() {
38415
+ value: function(Me, We, Be) {
38416
+ var Xe = this, tt = Ke(Me, We, Be), Ue = de(tt, 4);
38417
+ return Me = Ue[0], We = Ue[1], Be = Ue[3], Ze.call(this, function() {
38431
38418
  return Xe.editor.deleteText(Me, We);
38432
- }, je, Me, -1 * We);
38419
+ }, Be, Me, -1 * We);
38433
38420
  }
38434
38421
  }, {
38435
38422
  key: "disable",
@@ -38451,33 +38438,33 @@ function requireQuill() {
38451
38438
  }, {
38452
38439
  key: "format",
38453
38440
  value: function(Me, We) {
38454
- var je = this, Xe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ge.default.sources.API;
38441
+ var Be = this, Xe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ge.default.sources.API;
38455
38442
  return Ze.call(this, function() {
38456
- var tt = je.getSelection(!0), Ue = new he.default();
38443
+ var tt = Be.getSelection(!0), Ue = new he.default();
38457
38444
  if (tt == null)
38458
38445
  return Ue;
38459
38446
  if (ye.default.query(Me, ye.default.Scope.BLOCK))
38460
- Ue = je.editor.formatLine(tt.index, tt.length, Oe({}, Me, We));
38447
+ Ue = Be.editor.formatLine(tt.index, tt.length, Oe({}, Me, We));
38461
38448
  else {
38462
38449
  if (tt.length === 0)
38463
- return je.selection.format(Me, We), Ue;
38464
- Ue = je.editor.formatText(tt.index, tt.length, Oe({}, Me, We));
38450
+ return Be.selection.format(Me, We), Ue;
38451
+ Ue = Be.editor.formatText(tt.index, tt.length, Oe({}, Me, We));
38465
38452
  }
38466
- return je.setSelection(tt, ge.default.sources.SILENT), Ue;
38453
+ return Be.setSelection(tt, ge.default.sources.SILENT), Ue;
38467
38454
  }, Xe);
38468
38455
  }
38469
38456
  }, {
38470
38457
  key: "formatLine",
38471
- value: function(Me, We, je, Xe, tt) {
38472
- var Ue = this, Qe = void 0, nt = Ke(Me, We, je, Xe, tt), ot = de(nt, 4);
38458
+ value: function(Me, We, Be, Xe, tt) {
38459
+ var Ue = this, Qe = void 0, nt = Ke(Me, We, Be, Xe, tt), ot = de(nt, 4);
38473
38460
  return Me = ot[0], We = ot[1], Qe = ot[2], tt = ot[3], Ze.call(this, function() {
38474
38461
  return Ue.editor.formatLine(Me, We, Qe);
38475
38462
  }, tt, Me, 0);
38476
38463
  }
38477
38464
  }, {
38478
38465
  key: "formatText",
38479
- value: function(Me, We, je, Xe, tt) {
38480
- var Ue = this, Qe = void 0, nt = Ke(Me, We, je, Xe, tt), ot = de(nt, 4);
38466
+ value: function(Me, We, Be, Xe, tt) {
38467
+ var Ue = this, Qe = void 0, nt = Ke(Me, We, Be, Xe, tt), ot = de(nt, 4);
38481
38468
  return Me = ot[0], We = ot[1], Qe = ot[2], tt = ot[3], Ze.call(this, function() {
38482
38469
  return Ue.editor.formatText(Me, We, Qe);
38483
38470
  }, tt, Me, 0);
@@ -38485,22 +38472,22 @@ function requireQuill() {
38485
38472
  }, {
38486
38473
  key: "getBounds",
38487
38474
  value: function(Me) {
38488
- var We = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, je = void 0;
38489
- typeof Me == "number" ? je = this.selection.getBounds(Me, We) : je = this.selection.getBounds(Me.index, Me.length);
38475
+ var We = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, Be = void 0;
38476
+ typeof Me == "number" ? Be = this.selection.getBounds(Me, We) : Be = this.selection.getBounds(Me.index, Me.length);
38490
38477
  var Xe = this.container.getBoundingClientRect();
38491
38478
  return {
38492
- bottom: je.bottom - Xe.top,
38493
- height: je.height,
38494
- left: je.left - Xe.left,
38495
- right: je.right - Xe.left,
38496
- top: je.top - Xe.top,
38497
- width: je.width
38479
+ bottom: Be.bottom - Xe.top,
38480
+ height: Be.height,
38481
+ left: Be.left - Xe.left,
38482
+ right: Be.right - Xe.left,
38483
+ top: Be.top - Xe.top,
38484
+ width: Be.width
38498
38485
  };
38499
38486
  }
38500
38487
  }, {
38501
38488
  key: "getContents",
38502
38489
  value: function() {
38503
- var Me = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, We = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.getLength() - Me, je = Ke(Me, We), Xe = de(je, 2);
38490
+ var Me = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, We = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.getLength() - Me, Be = Ke(Me, We), Xe = de(Be, 2);
38504
38491
  return Me = Xe[0], We = Xe[1], this.editor.getContents(Me, We);
38505
38492
  }
38506
38493
  }, {
@@ -38549,7 +38536,7 @@ function requireQuill() {
38549
38536
  }, {
38550
38537
  key: "getText",
38551
38538
  value: function() {
38552
- var Me = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, We = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.getLength() - Me, je = Ke(Me, We), Xe = de(je, 2);
38539
+ var Me = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, We = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.getLength() - Me, Be = Ke(Me, We), Xe = de(Be, 2);
38553
38540
  return Me = Xe[0], We = Xe[1], this.editor.getText(Me, We);
38554
38541
  }
38555
38542
  }, {
@@ -38559,16 +38546,16 @@ function requireQuill() {
38559
38546
  }
38560
38547
  }, {
38561
38548
  key: "insertEmbed",
38562
- value: function(Me, We, je) {
38549
+ value: function(Me, We, Be) {
38563
38550
  var Xe = this, tt = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : Je.sources.API;
38564
38551
  return Ze.call(this, function() {
38565
- return Xe.editor.insertEmbed(Me, We, je);
38552
+ return Xe.editor.insertEmbed(Me, We, Be);
38566
38553
  }, tt, Me);
38567
38554
  }
38568
38555
  }, {
38569
38556
  key: "insertText",
38570
- value: function(Me, We, je, Xe, tt) {
38571
- var Ue = this, Qe = void 0, nt = Ke(Me, 0, je, Xe, tt), ot = de(nt, 4);
38557
+ value: function(Me, We, Be, Xe, tt) {
38558
+ var Ue = this, Qe = void 0, nt = Ke(Me, 0, Be, Xe, tt), ot = de(nt, 4);
38572
38559
  return Me = ot[0], Qe = ot[2], tt = ot[3], Ze.call(this, function() {
38573
38560
  return Ue.editor.insertText(Me, We, Qe);
38574
38561
  }, tt, Me, We.length);
@@ -38595,16 +38582,16 @@ function requireQuill() {
38595
38582
  }
38596
38583
  }, {
38597
38584
  key: "pasteHTML",
38598
- value: function(Me, We, je) {
38599
- this.clipboard.dangerouslyPasteHTML(Me, We, je);
38585
+ value: function(Me, We, Be) {
38586
+ this.clipboard.dangerouslyPasteHTML(Me, We, Be);
38600
38587
  }
38601
38588
  }, {
38602
38589
  key: "removeFormat",
38603
- value: function(Me, We, je) {
38604
- var Xe = this, tt = Ke(Me, We, je), Ue = de(tt, 4);
38605
- return Me = Ue[0], We = Ue[1], je = Ue[3], Ze.call(this, function() {
38590
+ value: function(Me, We, Be) {
38591
+ var Xe = this, tt = Ke(Me, We, Be), Ue = de(tt, 4);
38592
+ return Me = Ue[0], We = Ue[1], Be = Ue[3], Ze.call(this, function() {
38606
38593
  return Xe.editor.removeFormat(Me, We);
38607
- }, je, Me);
38594
+ }, Be, Me);
38608
38595
  }
38609
38596
  }, {
38610
38597
  key: "scrollIntoView",
@@ -38614,7 +38601,7 @@ function requireQuill() {
38614
38601
  }, {
38615
38602
  key: "setContents",
38616
38603
  value: function(Me) {
38617
- var We = this, je = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ge.default.sources.API;
38604
+ var We = this, Be = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ge.default.sources.API;
38618
38605
  return Ze.call(this, function() {
38619
38606
  Me = new he.default(Me);
38620
38607
  var Xe = We.getLength(), tt = We.editor.deleteText(0, Xe), Ue = We.editor.applyDelta(Me), Qe = Ue.ops[Ue.ops.length - 1];
@@ -38622,23 +38609,23 @@ function requireQuill() {
38622
38609
  ` && (We.editor.deleteText(We.getLength() - 1, 1), Ue.delete(1));
38623
38610
  var nt = tt.compose(Ue);
38624
38611
  return nt;
38625
- }, je);
38612
+ }, Be);
38626
38613
  }
38627
38614
  }, {
38628
38615
  key: "setSelection",
38629
- value: function(Me, We, je) {
38616
+ value: function(Me, We, Be) {
38630
38617
  if (Me == null)
38631
38618
  this.selection.setRange(null, We || Je.sources.API);
38632
38619
  else {
38633
- var Xe = Ke(Me, We, je), tt = de(Xe, 4);
38634
- Me = tt[0], We = tt[1], je = tt[3], this.selection.setRange(new Ce.Range(Me, We), je), je !== ge.default.sources.SILENT && this.selection.scrollIntoView(this.scrollingContainer);
38620
+ var Xe = Ke(Me, We, Be), tt = de(Xe, 4);
38621
+ Me = tt[0], We = tt[1], Be = tt[3], this.selection.setRange(new Ce.Range(Me, We), Be), Be !== ge.default.sources.SILENT && this.selection.scrollIntoView(this.scrollingContainer);
38635
38622
  }
38636
38623
  }
38637
38624
  }, {
38638
38625
  key: "setText",
38639
38626
  value: function(Me) {
38640
- var We = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ge.default.sources.API, je = new he.default().insert(Me);
38641
- return this.setContents(je, We);
38627
+ var We = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ge.default.sources.API, Be = new he.default().insert(Me);
38628
+ return this.setContents(Be, We);
38642
38629
  }
38643
38630
  }, {
38644
38631
  key: "update",
@@ -38649,10 +38636,10 @@ function requireQuill() {
38649
38636
  }, {
38650
38637
  key: "updateContents",
38651
38638
  value: function(Me) {
38652
- var We = this, je = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ge.default.sources.API;
38639
+ var We = this, Be = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ge.default.sources.API;
38653
38640
  return Ze.call(this, function() {
38654
- return Me = new he.default(Me), We.editor.applyDelta(Me, je);
38655
- }, je, !0);
38641
+ return Me = new he.default(Me), We.editor.applyDelta(Me, Be);
38642
+ }, Be, !0);
38656
38643
  }
38657
38644
  }]), Je;
38658
38645
  })();
@@ -38669,7 +38656,7 @@ function requireQuill() {
38669
38656
  delta: he.default,
38670
38657
  parchment: ye.default,
38671
38658
  "core/module": me.default,
38672
- "core/theme": Be.default
38659
+ "core/theme": je.default
38673
38660
  };
38674
38661
  function Ge(Je, Ye) {
38675
38662
  if (Ye = (0, Ae.default)(!0, {
@@ -38680,7 +38667,7 @@ function requireQuill() {
38680
38667
  history: !0
38681
38668
  }
38682
38669
  }, Ye), !Ye.theme || Ye.theme === Ne.DEFAULTS.theme)
38683
- Ye.theme = Be.default;
38670
+ Ye.theme = je.default;
38684
38671
  else if (Ye.theme = Ne.import("themes/" + Ye.theme), Ye.theme == null)
38685
38672
  throw new Error("Invalid theme " + Ye.theme + ". Did you register it?");
38686
38673
  var Me = (0, Ae.default)(!0, {}, Ye.theme.DEFAULTS);
@@ -38689,13 +38676,13 @@ function requireQuill() {
38689
38676
  Xe.modules[tt] === !0 && (Xe.modules[tt] = {});
38690
38677
  });
38691
38678
  });
38692
- var We = Object.keys(Me.modules).concat(Object.keys(Ye.modules)), je = We.reduce(function(Xe, tt) {
38679
+ var We = Object.keys(Me.modules).concat(Object.keys(Ye.modules)), Be = We.reduce(function(Xe, tt) {
38693
38680
  var Ue = Ne.import("modules/" + tt);
38694
38681
  return Ue == null ? Ie.error("Cannot load " + tt + " module. Are you sure you registered it?") : Xe[tt] = Ue.DEFAULTS || {}, Xe;
38695
38682
  }, {});
38696
38683
  return Ye.modules != null && Ye.modules.toolbar && Ye.modules.toolbar.constructor !== Object && (Ye.modules.toolbar = {
38697
38684
  container: Ye.modules.toolbar
38698
- }), Ye = (0, Ae.default)(!0, {}, Ne.DEFAULTS, { modules: je }, Me, Ye), ["bounds", "container", "scrollingContainer"].forEach(function(Xe) {
38685
+ }), Ye = (0, Ae.default)(!0, {}, Ne.DEFAULTS, { modules: Be }, Me, Ye), ["bounds", "container", "scrollingContainer"].forEach(function(Xe) {
38699
38686
  typeof Ye[Xe] == "string" && (Ye[Xe] = document.querySelector(Ye[Xe]));
38700
38687
  }), Ye.modules = Object.keys(Ye.modules).reduce(function(Xe, tt) {
38701
38688
  return Ye.modules[tt] && (Xe[tt] = Ye.modules[tt]), Xe;
@@ -38704,8 +38691,8 @@ function requireQuill() {
38704
38691
  function Ze(Je, Ye, Me, We) {
38705
38692
  if (this.options.strict && !this.isEnabled() && Ye === ge.default.sources.USER)
38706
38693
  return new he.default();
38707
- var je = Me == null ? null : this.getSelection(), Xe = this.editor.delta, tt = Je();
38708
- if (je != null && (Me === !0 && (Me = je.index), We == null ? je = bt(je, tt, Ye) : We !== 0 && (je = bt(je, Me, We, Ye)), this.setSelection(je, ge.default.sources.SILENT)), tt.length() > 0) {
38694
+ var Be = Me == null ? null : this.getSelection(), Xe = this.editor.delta, tt = Je();
38695
+ if (Be != null && (Me === !0 && (Me = Be.index), We == null ? Be = bt(Be, tt, Ye) : We !== 0 && (Be = bt(Be, Me, We, Ye)), this.setSelection(Be, ge.default.sources.SILENT)), tt.length() > 0) {
38709
38696
  var Ue, Qe = [ge.default.events.TEXT_CHANGE, tt, Xe, Ye];
38710
38697
  if ((Ue = this.emitter).emit.apply(Ue, [ge.default.events.EDITOR_CHANGE].concat(Qe)), Ye !== ge.default.sources.SILENT) {
38711
38698
  var nt;
@@ -38714,25 +38701,25 @@ function requireQuill() {
38714
38701
  }
38715
38702
  return tt;
38716
38703
  }
38717
- function Ke(Je, Ye, Me, We, je) {
38704
+ function Ke(Je, Ye, Me, We, Be) {
38718
38705
  var Xe = {};
38719
- return typeof Je.index == "number" && typeof Je.length == "number" ? typeof Ye != "number" ? (je = We, We = Me, Me = Ye, Ye = Je.length, Je = Je.index) : (Ye = Je.length, Je = Je.index) : typeof Ye != "number" && (je = We, We = Me, Me = Ye, Ye = 0), (typeof Me > "u" ? "undefined" : oe(Me)) === "object" ? (Xe = Me, je = We) : typeof Me == "string" && (We != null ? Xe[Me] = We : je = Me), je = je || ge.default.sources.API, [Je, Ye, Xe, je];
38706
+ return typeof Je.index == "number" && typeof Je.length == "number" ? typeof Ye != "number" ? (Be = We, We = Me, Me = Ye, Ye = Je.length, Je = Je.index) : (Ye = Je.length, Je = Je.index) : typeof Ye != "number" && (Be = We, We = Me, Me = Ye, Ye = 0), (typeof Me > "u" ? "undefined" : oe(Me)) === "object" ? (Xe = Me, Be = We) : typeof Me == "string" && (We != null ? Xe[Me] = We : Be = Me), Be = Be || ge.default.sources.API, [Je, Ye, Xe, Be];
38720
38707
  }
38721
38708
  function bt(Je, Ye, Me, We) {
38722
38709
  if (Je == null) return null;
38723
- var je = void 0, Xe = void 0;
38710
+ var Be = void 0, Xe = void 0;
38724
38711
  if (Ye instanceof he.default) {
38725
38712
  var tt = [Je.index, Je.index + Je.length].map(function(ot) {
38726
38713
  return Ye.transformPosition(ot, We !== ge.default.sources.USER);
38727
38714
  }), Ue = de(tt, 2);
38728
- je = Ue[0], Xe = Ue[1];
38715
+ Be = Ue[0], Xe = Ue[1];
38729
38716
  } else {
38730
38717
  var Qe = [Je.index, Je.index + Je.length].map(function(ot) {
38731
38718
  return ot < Ye || ot === Ye && We === ge.default.sources.USER ? ot : Me >= 0 ? ot + Me : Math.max(Ye, ot + Me);
38732
38719
  }), nt = de(Qe, 2);
38733
- je = nt[0], Xe = nt[1];
38720
+ Be = nt[0], Xe = nt[1];
38734
38721
  }
38735
- return new Ce.Range(je, Xe - je);
38722
+ return new Ce.Range(Be, Xe - Be);
38736
38723
  }
38737
38724
  re.expandConfig = Ge, re.overload = Ke, re.default = Ne;
38738
38725
  }),
@@ -38868,8 +38855,8 @@ function requireQuill() {
38868
38855
  var oe = /* @__PURE__ */ (function() {
38869
38856
  function Ae(Le, ze) {
38870
38857
  for (var Fe = 0; Fe < ze.length; Fe++) {
38871
- var Be = ze[Fe];
38872
- Be.enumerable = Be.enumerable || !1, Be.configurable = !0, "value" in Be && (Be.writable = !0), Object.defineProperty(Le, Be.key, Be);
38858
+ var je = ze[Fe];
38859
+ je.enumerable = je.enumerable || !1, je.configurable = !0, "value" in je && (je.writable = !0), Object.defineProperty(Le, je.key, je);
38873
38860
  }
38874
38861
  }
38875
38862
  return function(Le, ze, Fe) {
@@ -38877,14 +38864,14 @@ function requireQuill() {
38877
38864
  };
38878
38865
  })(), de = function Ae(Le, ze, Fe) {
38879
38866
  Le === null && (Le = Function.prototype);
38880
- var Be = Object.getOwnPropertyDescriptor(Le, ze);
38881
- if (Be === void 0) {
38867
+ var je = Object.getOwnPropertyDescriptor(Le, ze);
38868
+ if (je === void 0) {
38882
38869
  var Pe = Object.getPrototypeOf(Le);
38883
38870
  return Pe === null ? void 0 : Ae(Pe, ze, Fe);
38884
38871
  } else {
38885
- if ("value" in Be)
38886
- return Be.value;
38887
- var Oe = Be.get;
38872
+ if ("value" in je)
38873
+ return je.value;
38874
+ var Oe = je.get;
38888
38875
  return Oe === void 0 ? void 0 : Oe.call(Fe);
38889
38876
  }
38890
38877
  }, ce = ne(55), ue = be(ce), he = ne(10), pe = be(he), fe = ne(34);
@@ -38910,8 +38897,8 @@ function requireQuill() {
38910
38897
  document.addEventListener(Ae, function() {
38911
38898
  for (var Le = arguments.length, ze = Array(Le), Fe = 0; Fe < Le; Fe++)
38912
38899
  ze[Fe] = arguments[Fe];
38913
- Ce.forEach(function(Be) {
38914
- Be.handleDOM.apply(Be, ze);
38900
+ Ce.forEach(function(je) {
38901
+ je.handleDOM.apply(je, ze);
38915
38902
  });
38916
38903
  });
38917
38904
  });
@@ -38930,7 +38917,7 @@ function requireQuill() {
38930
38917
  }, {
38931
38918
  key: "handleDOM",
38932
38919
  value: function(Fe) {
38933
- for (var Be = arguments.length, Pe = Array(Be > 1 ? Be - 1 : 0), Oe = 1; Oe < Be; Oe++)
38920
+ for (var je = arguments.length, Pe = Array(je > 1 ? je - 1 : 0), Oe = 1; Oe < je; Oe++)
38934
38921
  Pe[Oe - 1] = arguments[Oe];
38935
38922
  var qe = Fe.composedPath ? Fe.composedPath()[0] : Fe.target, Ie = function(Ge, Ze) {
38936
38923
  if (!Se || Ze.getRootNode() === document)
@@ -38950,8 +38937,8 @@ function requireQuill() {
38950
38937
  }
38951
38938
  }, {
38952
38939
  key: "listenDOM",
38953
- value: function(Fe, Be, Pe) {
38954
- this.listeners[Fe] || (this.listeners[Fe] = []), this.listeners[Fe].push({ node: Be, handler: Pe });
38940
+ value: function(Fe, je, Pe) {
38941
+ this.listeners[Fe] || (this.listeners[Fe] = []), this.listeners[Fe].push({ node: je, handler: Pe });
38955
38942
  }
38956
38943
  }]), Le;
38957
38944
  })(ue.default);
@@ -39083,10 +39070,10 @@ function requireQuill() {
39083
39070
  value: !0
39084
39071
  }), re.default = re.Code = void 0;
39085
39072
  var oe = /* @__PURE__ */ (function() {
39086
- function Fe(Be, Pe) {
39073
+ function Fe(je, Pe) {
39087
39074
  var Oe = [], qe = !0, Ie = !1, Ne = void 0;
39088
39075
  try {
39089
- for (var Ge = Be[Symbol.iterator](), Ze; !(qe = (Ze = Ge.next()).done) && (Oe.push(Ze.value), !(Pe && Oe.length === Pe)); qe = !0)
39076
+ for (var Ge = je[Symbol.iterator](), Ze; !(qe = (Ze = Ge.next()).done) && (Oe.push(Ze.value), !(Pe && Oe.length === Pe)); qe = !0)
39090
39077
  ;
39091
39078
  } catch (Ke) {
39092
39079
  Ie = !0, Ne = Ke;
@@ -39099,28 +39086,28 @@ function requireQuill() {
39099
39086
  }
39100
39087
  return Oe;
39101
39088
  }
39102
- return function(Be, Pe) {
39103
- if (Array.isArray(Be))
39104
- return Be;
39105
- if (Symbol.iterator in Object(Be))
39106
- return Fe(Be, Pe);
39089
+ return function(je, Pe) {
39090
+ if (Array.isArray(je))
39091
+ return je;
39092
+ if (Symbol.iterator in Object(je))
39093
+ return Fe(je, Pe);
39107
39094
  throw new TypeError("Invalid attempt to destructure non-iterable instance");
39108
39095
  };
39109
39096
  })(), de = /* @__PURE__ */ (function() {
39110
- function Fe(Be, Pe) {
39097
+ function Fe(je, Pe) {
39111
39098
  for (var Oe = 0; Oe < Pe.length; Oe++) {
39112
39099
  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);
39100
+ qe.enumerable = qe.enumerable || !1, qe.configurable = !0, "value" in qe && (qe.writable = !0), Object.defineProperty(je, qe.key, qe);
39114
39101
  }
39115
39102
  }
39116
- return function(Be, Pe, Oe) {
39117
- return Pe && Fe(Be.prototype, Pe), Oe && Fe(Be, Oe), Be;
39103
+ return function(je, Pe, Oe) {
39104
+ return Pe && Fe(je.prototype, Pe), Oe && Fe(je, Oe), je;
39118
39105
  };
39119
- })(), ce = function Fe(Be, Pe, Oe) {
39120
- Be === null && (Be = Function.prototype);
39121
- var qe = Object.getOwnPropertyDescriptor(Be, Pe);
39106
+ })(), ce = function Fe(je, Pe, Oe) {
39107
+ je === null && (je = Function.prototype);
39108
+ var qe = Object.getOwnPropertyDescriptor(je, Pe);
39122
39109
  if (qe === void 0) {
39123
- var Ie = Object.getPrototypeOf(Be);
39110
+ var Ie = Object.getPrototypeOf(je);
39124
39111
  return Ie === null ? void 0 : Fe(Ie, Pe, Oe);
39125
39112
  } else {
39126
39113
  if ("value" in qe)
@@ -39132,34 +39119,34 @@ function requireQuill() {
39132
39119
  function Ce(Fe) {
39133
39120
  return Fe && Fe.__esModule ? Fe : { default: Fe };
39134
39121
  }
39135
- function Se(Fe, Be) {
39136
- if (!(Fe instanceof Be))
39122
+ function Se(Fe, je) {
39123
+ if (!(Fe instanceof je))
39137
39124
  throw new TypeError("Cannot call a class as a function");
39138
39125
  }
39139
- function we(Fe, Be) {
39126
+ function we(Fe, je) {
39140
39127
  if (!Fe)
39141
39128
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
39142
- return Be && (typeof Be == "object" || typeof Be == "function") ? Be : Fe;
39129
+ return je && (typeof je == "object" || typeof je == "function") ? je : Fe;
39143
39130
  }
39144
- function Ae(Fe, Be) {
39145
- if (typeof Be != "function" && Be !== null)
39146
- throw new TypeError("Super expression must either be null or a function, not " + typeof Be);
39147
- Fe.prototype = Object.create(Be && Be.prototype, { constructor: { value: Fe, enumerable: !1, writable: !0, configurable: !0 } }), Be && (Object.setPrototypeOf ? Object.setPrototypeOf(Fe, Be) : Fe.__proto__ = Be);
39131
+ function Ae(Fe, je) {
39132
+ if (typeof je != "function" && je !== null)
39133
+ throw new TypeError("Super expression must either be null or a function, not " + typeof je);
39134
+ Fe.prototype = Object.create(je && je.prototype, { constructor: { value: Fe, enumerable: !1, writable: !0, configurable: !0 } }), je && (Object.setPrototypeOf ? Object.setPrototypeOf(Fe, je) : Fe.__proto__ = je);
39148
39135
  }
39149
39136
  var Le = (function(Fe) {
39150
- Ae(Be, Fe);
39151
- function Be() {
39152
- return Se(this, Be), we(this, (Be.__proto__ || Object.getPrototypeOf(Be)).apply(this, arguments));
39137
+ Ae(je, Fe);
39138
+ function je() {
39139
+ return Se(this, je), we(this, (je.__proto__ || Object.getPrototypeOf(je)).apply(this, arguments));
39153
39140
  }
39154
- return Be;
39141
+ return je;
39155
39142
  })(me.default);
39156
39143
  Le.blotName = "code", Le.tagName = "CODE";
39157
39144
  var ze = (function(Fe) {
39158
- Ae(Be, Fe);
39159
- function Be() {
39160
- return Se(this, Be), we(this, (Be.__proto__ || Object.getPrototypeOf(Be)).apply(this, arguments));
39145
+ Ae(je, Fe);
39146
+ function je() {
39147
+ return Se(this, je), we(this, (je.__proto__ || Object.getPrototypeOf(je)).apply(this, arguments));
39161
39148
  }
39162
- return de(Be, [{
39149
+ return de(je, [{
39163
39150
  key: "delta",
39164
39151
  value: function() {
39165
39152
  var Oe = this, qe = this.domNode.textContent;
@@ -39175,7 +39162,7 @@ function requireQuill() {
39175
39162
  value: function(Oe, qe) {
39176
39163
  if (!(Oe === this.statics.blotName && qe)) {
39177
39164
  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);
39165
+ Ge?.deleteAt(Ge.length() - 1, 1), ce(je.prototype.__proto__ || Object.getPrototypeOf(je.prototype), "format", this).call(this, Oe, qe);
39179
39166
  }
39180
39167
  }
39181
39168
  }, {
@@ -39185,7 +39172,7 @@ function requireQuill() {
39185
39172
  var Ge = this.newlineIndex(Oe);
39186
39173
  if (!(Ge < 0 || Ge >= Oe + qe)) {
39187
39174
  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);
39175
+ bt.format(Ie, Ne), Je instanceof je && Je.formatAt(0, Oe - Ze + qe - Ke, Ie, Ne);
39189
39176
  }
39190
39177
  }
39191
39178
  }
@@ -39220,14 +39207,14 @@ function requireQuill() {
39220
39207
  value: function(Oe) {
39221
39208
  this.domNode.textContent.endsWith(`
39222
39209
  `) || this.appendChild(fe.default.create("text", `
39223
- `)), ce(Be.prototype.__proto__ || Object.getPrototypeOf(Be.prototype), "optimize", this).call(this, Oe);
39210
+ `)), ce(je.prototype.__proto__ || Object.getPrototypeOf(je.prototype), "optimize", this).call(this, Oe);
39224
39211
  var qe = this.next;
39225
39212
  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());
39226
39213
  }
39227
39214
  }, {
39228
39215
  key: "replace",
39229
39216
  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) {
39217
+ ce(je.prototype.__proto__ || Object.getPrototypeOf(je.prototype), "replace", this).call(this, Oe), [].slice.call(this.domNode.querySelectorAll("*")).forEach(function(qe) {
39231
39218
  var Ie = fe.default.find(qe);
39232
39219
  Ie == null ? qe.parentNode.removeChild(qe) : Ie instanceof fe.default.Embed ? Ie.remove() : Ie.unwrap();
39233
39220
  });
@@ -39235,7 +39222,7 @@ function requireQuill() {
39235
39222
  }], [{
39236
39223
  key: "create",
39237
39224
  value: function(Oe) {
39238
- var qe = ce(Be.__proto__ || Object.getPrototypeOf(Be), "create", this).call(this, Oe);
39225
+ var qe = ce(je.__proto__ || Object.getPrototypeOf(je), "create", this).call(this, Oe);
39239
39226
  return qe.setAttribute("spellcheck", !1), qe;
39240
39227
  }
39241
39228
  }, {
@@ -39243,7 +39230,7 @@ function requireQuill() {
39243
39230
  value: function() {
39244
39231
  return !0;
39245
39232
  }
39246
- }]), Be;
39233
+ }]), je;
39247
39234
  })(ge.default);
39248
39235
  ze.blotName = "code-block", ze.tagName = "PRE", ze.TAB = " ", re.Code = Le, re.default = ze;
39249
39236
  }),
@@ -39259,15 +39246,15 @@ function requireQuill() {
39259
39246
  return Je && typeof Symbol == "function" && Je.constructor === Symbol && Je !== Symbol.prototype ? "symbol" : typeof Je;
39260
39247
  }, de = /* @__PURE__ */ (function() {
39261
39248
  function Je(Ye, Me) {
39262
- var We = [], je = !0, Xe = !1, tt = void 0;
39249
+ var We = [], Be = !0, Xe = !1, tt = void 0;
39263
39250
  try {
39264
- for (var Ue = Ye[Symbol.iterator](), Qe; !(je = (Qe = Ue.next()).done) && (We.push(Qe.value), !(Me && We.length === Me)); je = !0)
39251
+ for (var Ue = Ye[Symbol.iterator](), Qe; !(Be = (Qe = Ue.next()).done) && (We.push(Qe.value), !(Me && We.length === Me)); Be = !0)
39265
39252
  ;
39266
39253
  } catch (nt) {
39267
39254
  Xe = !0, tt = nt;
39268
39255
  } finally {
39269
39256
  try {
39270
- !je && Ue.return && Ue.return();
39257
+ !Be && Ue.return && Ue.return();
39271
39258
  } finally {
39272
39259
  if (Xe) throw tt;
39273
39260
  }
@@ -39284,14 +39271,14 @@ function requireQuill() {
39284
39271
  })(), ce = /* @__PURE__ */ (function() {
39285
39272
  function Je(Ye, Me) {
39286
39273
  for (var We = 0; We < Me.length; We++) {
39287
- var je = Me[We];
39288
- je.enumerable = je.enumerable || !1, je.configurable = !0, "value" in je && (je.writable = !0), Object.defineProperty(Ye, je.key, je);
39274
+ var Be = Me[We];
39275
+ Be.enumerable = Be.enumerable || !1, Be.configurable = !0, "value" in Be && (Be.writable = !0), Object.defineProperty(Ye, Be.key, Be);
39289
39276
  }
39290
39277
  }
39291
39278
  return function(Ye, Me, We) {
39292
39279
  return Me && Je(Ye.prototype, Me), We && Je(Ye, We), Ye;
39293
39280
  };
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);
39281
+ })(), 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), je = qe(Fe), Pe = ne(3), Oe = qe(Pe);
39295
39282
  function qe(Je) {
39296
39283
  return Je && Je.__esModule ? Je : { default: Je };
39297
39284
  }
@@ -39309,7 +39296,7 @@ function requireQuill() {
39309
39296
  return ce(Je, [{
39310
39297
  key: "applyDelta",
39311
39298
  value: function(Me) {
39312
- var We = this, je = !1;
39299
+ var We = this, Be = !1;
39313
39300
  this.scroll.update();
39314
39301
  var Xe = this.scroll.length();
39315
39302
  return this.scroll.batchStart(), Me = bt(Me), Me.reduce(function(tt, Ue) {
@@ -39318,8 +39305,8 @@ function requireQuill() {
39318
39305
  if (typeof Ue.insert == "string") {
39319
39306
  var ot = Ue.insert;
39320
39307
  ot.endsWith(`
39321
- `) && je && (je = !1, ot = ot.slice(0, -1)), tt >= Xe && !ot.endsWith(`
39322
- `) && (je = !0), We.scroll.insertAt(tt, ot);
39308
+ `) && Be && (Be = !1, ot = ot.slice(0, -1)), tt >= Xe && !ot.endsWith(`
39309
+ `) && (Be = !0), We.scroll.insertAt(tt, ot);
39323
39310
  var yt = We.scroll.line(tt), Ct = de(yt, 2), Pt = Ct[0], qt = Ct[1], Nt = (0, Oe.default)({}, (0, Ce.bubbleFormats)(Pt));
39324
39311
  if (Pt instanceof Se.default) {
39325
39312
  var Ut = Pt.descendant(ge.default.Leaf, qt), ns = de(Ut, 1), Xt = ns[0];
@@ -39348,16 +39335,16 @@ function requireQuill() {
39348
39335
  }, {
39349
39336
  key: "formatLine",
39350
39337
  value: function(Me, We) {
39351
- var je = this, Xe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
39338
+ var Be = this, Xe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
39352
39339
  return this.scroll.update(), Object.keys(Xe).forEach(function(tt) {
39353
- if (!(je.scroll.whitelist != null && !je.scroll.whitelist[tt])) {
39354
- var Ue = je.scroll.lines(Me, Math.max(We, 1)), Qe = We;
39340
+ if (!(Be.scroll.whitelist != null && !Be.scroll.whitelist[tt])) {
39341
+ var Ue = Be.scroll.lines(Me, Math.max(We, 1)), Qe = We;
39355
39342
  Ue.forEach(function(nt) {
39356
39343
  var ot = nt.length();
39357
39344
  if (!(nt instanceof me.default))
39358
39345
  nt.format(tt, Xe[tt]);
39359
39346
  else {
39360
- var yt = Me - nt.offset(je.scroll), Ct = nt.newlineIndex(yt + Qe) - yt + 1;
39347
+ var yt = Me - nt.offset(Be.scroll), Ct = nt.newlineIndex(yt + Qe) - yt + 1;
39361
39348
  nt.formatAt(yt, Ct, tt, Xe[tt]);
39362
39349
  }
39363
39350
  Qe -= ot;
@@ -39368,9 +39355,9 @@ function requireQuill() {
39368
39355
  }, {
39369
39356
  key: "formatText",
39370
39357
  value: function(Me, We) {
39371
- var je = this, Xe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
39358
+ var Be = this, Xe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
39372
39359
  return Object.keys(Xe).forEach(function(tt) {
39373
- je.scroll.formatAt(Me, We, tt, Xe[tt]);
39360
+ Be.scroll.formatAt(Me, We, tt, Xe[tt]);
39374
39361
  }), this.update(new he.default().retain(Me).retain(We, (0, ze.default)(Xe)));
39375
39362
  }
39376
39363
  }, {
@@ -39388,12 +39375,12 @@ function requireQuill() {
39388
39375
  }, {
39389
39376
  key: "getFormat",
39390
39377
  value: function(Me) {
39391
- var We = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, je = [], Xe = [];
39378
+ var We = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, Be = [], Xe = [];
39392
39379
  We === 0 ? this.scroll.path(Me).forEach(function(Ue) {
39393
39380
  var Qe = de(Ue, 1), nt = Qe[0];
39394
- nt instanceof Se.default ? je.push(nt) : nt instanceof ge.default.Leaf && Xe.push(nt);
39395
- }) : (je = this.scroll.lines(Me, We), Xe = this.scroll.descendants(ge.default.Leaf, Me, We));
39396
- var tt = [je, Xe].map(function(Ue) {
39381
+ nt instanceof Se.default ? Be.push(nt) : nt instanceof ge.default.Leaf && Xe.push(nt);
39382
+ }) : (Be = this.scroll.lines(Me, We), Xe = this.scroll.descendants(ge.default.Leaf, Me, We));
39383
+ var tt = [Be, Xe].map(function(Ue) {
39397
39384
  if (Ue.length === 0) return {};
39398
39385
  for (var Qe = (0, Ce.bubbleFormats)(Ue.shift()); Object.keys(Qe).length > 0; ) {
39399
39386
  var nt = Ue.shift();
@@ -39407,25 +39394,25 @@ function requireQuill() {
39407
39394
  }, {
39408
39395
  key: "getText",
39409
39396
  value: function(Me, We) {
39410
- return this.getContents(Me, We).filter(function(je) {
39411
- return typeof je.insert == "string";
39412
- }).map(function(je) {
39413
- return je.insert;
39397
+ return this.getContents(Me, We).filter(function(Be) {
39398
+ return typeof Be.insert == "string";
39399
+ }).map(function(Be) {
39400
+ return Be.insert;
39414
39401
  }).join("");
39415
39402
  }
39416
39403
  }, {
39417
39404
  key: "insertEmbed",
39418
- value: function(Me, We, je) {
39419
- return this.scroll.insertAt(Me, We, je), this.update(new he.default().retain(Me).insert(Ie({}, We, je)));
39405
+ value: function(Me, We, Be) {
39406
+ return this.scroll.insertAt(Me, We, Be), this.update(new he.default().retain(Me).insert(Ie({}, We, Be)));
39420
39407
  }
39421
39408
  }, {
39422
39409
  key: "insertText",
39423
39410
  value: function(Me, We) {
39424
- var je = this, Xe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
39411
+ var Be = this, Xe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
39425
39412
  return We = We.replace(/\r\n/g, `
39426
39413
  `).replace(/\r/g, `
39427
39414
  `), this.scroll.insertAt(Me, We), Object.keys(Xe).forEach(function(tt) {
39428
- je.scroll.formatAt(Me, We.length, tt, Xe[tt]);
39415
+ Be.scroll.formatAt(Me, We.length, tt, Xe[tt]);
39429
39416
  }), this.update(new he.default().retain(Me).insert(We, (0, ze.default)(Xe)));
39430
39417
  }
39431
39418
  }, {
@@ -39439,23 +39426,23 @@ function requireQuill() {
39439
39426
  }, {
39440
39427
  key: "removeFormat",
39441
39428
  value: function(Me, We) {
39442
- var je = this.getText(Me, We), Xe = this.scroll.line(Me + We), tt = de(Xe, 2), Ue = tt[0], Qe = tt[1], nt = 0, ot = new he.default();
39429
+ var Be = this.getText(Me, We), Xe = this.scroll.line(Me + We), tt = de(Xe, 2), Ue = tt[0], Qe = tt[1], nt = 0, ot = new he.default();
39443
39430
  Ue != null && (Ue instanceof me.default ? nt = Ue.newlineIndex(Qe) - Qe + 1 : nt = Ue.length() - Qe, ot = Ue.delta().slice(Qe, Qe + nt - 1).insert(`
39444
39431
  `));
39445
- var yt = this.getContents(Me, We + nt), Ct = yt.diff(new he.default().insert(je).concat(ot)), Pt = new he.default().retain(Me).concat(Ct);
39432
+ var yt = this.getContents(Me, We + nt), Ct = yt.diff(new he.default().insert(Be).concat(ot)), Pt = new he.default().retain(Me).concat(Ct);
39446
39433
  return this.applyDelta(Pt);
39447
39434
  }
39448
39435
  }, {
39449
39436
  key: "update",
39450
39437
  value: function(Me) {
39451
- 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;
39438
+ var We = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], Be = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : void 0, Xe = this.delta;
39452
39439
  if (We.length === 1 && We[0].type === "characterData" && We[0].target.data.match(Ge) && ge.default.find(We[0].target)) {
39453
- 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));
39440
+ 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, Be));
39454
39441
  Me = Ct.reduce(function(Pt, qt) {
39455
39442
  return qt.insert ? Pt.insert(qt.insert, Ue) : Pt.push(qt);
39456
39443
  }, new he.default()), this.delta = Xe.compose(Me);
39457
39444
  } else
39458
- this.delta = this.getDelta(), (!Me || !(0, Be.default)(Xe.compose(Me), this.delta)) && (Me = Xe.diff(this.delta, je));
39445
+ this.delta = this.getDelta(), (!Me || !(0, je.default)(Xe.compose(Me), this.delta)) && (Me = Xe.diff(this.delta, Be));
39459
39446
  return Me;
39460
39447
  }
39461
39448
  }]), Je;
@@ -39472,10 +39459,10 @@ function requireQuill() {
39472
39459
  return delete We.image, Ye.insert({ image: Me.attributes.image }, We);
39473
39460
  }
39474
39461
  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") {
39475
- var je = Me.insert.replace(/\r\n/g, `
39462
+ var Be = Me.insert.replace(/\r\n/g, `
39476
39463
  `).replace(/\r/g, `
39477
39464
  `);
39478
- return Ye.insert(je, Me.attributes);
39465
+ return Ye.insert(Be, Me.attributes);
39479
39466
  }
39480
39467
  return Ye.push(Me);
39481
39468
  }, new he.default());
@@ -39489,7 +39476,7 @@ function requireQuill() {
39489
39476
  value: !0
39490
39477
  }), re.default = re.Range = void 0;
39491
39478
  var oe = /* @__PURE__ */ (function() {
39492
- function Be(Pe, Oe) {
39479
+ function je(Pe, Oe) {
39493
39480
  var qe = [], Ie = !0, Ne = !1, Ge = void 0;
39494
39481
  try {
39495
39482
  for (var Ze = Pe[Symbol.iterator](), Ke; !(Ie = (Ke = Ze.next()).done) && (qe.push(Ke.value), !(Oe && qe.length === Oe)); Ie = !0)
@@ -39509,42 +39496,42 @@ function requireQuill() {
39509
39496
  if (Array.isArray(Pe))
39510
39497
  return Pe;
39511
39498
  if (Symbol.iterator in Object(Pe))
39512
- return Be(Pe, Oe);
39499
+ return je(Pe, Oe);
39513
39500
  throw new TypeError("Invalid attempt to destructure non-iterable instance");
39514
39501
  };
39515
39502
  })(), de = /* @__PURE__ */ (function() {
39516
- function Be(Pe, Oe) {
39503
+ function je(Pe, Oe) {
39517
39504
  for (var qe = 0; qe < Oe.length; qe++) {
39518
39505
  var Ie = Oe[qe];
39519
39506
  Ie.enumerable = Ie.enumerable || !1, Ie.configurable = !0, "value" in Ie && (Ie.writable = !0), Object.defineProperty(Pe, Ie.key, Ie);
39520
39507
  }
39521
39508
  }
39522
39509
  return function(Pe, Oe, qe) {
39523
- return Oe && Be(Pe.prototype, Oe), qe && Be(Pe, qe), Pe;
39510
+ return Oe && je(Pe.prototype, Oe), qe && je(Pe, qe), Pe;
39524
39511
  };
39525
39512
  })(), 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
- function Ce(Be) {
39527
- return Be && Be.__esModule ? Be : { default: Be };
39513
+ function Ce(je) {
39514
+ return je && je.__esModule ? je : { default: je };
39528
39515
  }
39529
- function Se(Be) {
39530
- if (Array.isArray(Be)) {
39531
- for (var Pe = 0, Oe = Array(Be.length); Pe < Be.length; Pe++)
39532
- Oe[Pe] = Be[Pe];
39516
+ function Se(je) {
39517
+ if (Array.isArray(je)) {
39518
+ for (var Pe = 0, Oe = Array(je.length); Pe < je.length; Pe++)
39519
+ Oe[Pe] = je[Pe];
39533
39520
  return Oe;
39534
39521
  } else
39535
- return Array.from(Be);
39522
+ return Array.from(je);
39536
39523
  }
39537
- function we(Be, Pe) {
39538
- if (!(Be instanceof Pe))
39524
+ function we(je, Pe) {
39525
+ if (!(je instanceof Pe))
39539
39526
  throw new TypeError("Cannot call a class as a function");
39540
39527
  }
39541
- var Ae = (0, _e.default)("quill:selection"), Le = function Be(Pe) {
39528
+ var Ae = (0, _e.default)("quill:selection"), Le = function je(Pe) {
39542
39529
  var Oe = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
39543
- we(this, Be), this.index = Pe, this.length = Oe;
39530
+ we(this, je), this.index = Pe, this.length = Oe;
39544
39531
  }, ze = (function() {
39545
- function Be(Pe, Oe) {
39532
+ function je(Pe, Oe) {
39546
39533
  var qe = this;
39547
- 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() {
39534
+ we(this, je), 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
39535
  qe.mouseDown || setTimeout(qe.update.bind(qe, ve.default.sources.USER), 1);
39549
39536
  }), this.emitter.on(ve.default.events.EDITOR_CHANGE, function(Ie, Ne) {
39550
39537
  Ie === ve.default.events.TEXT_CHANGE && Ne.length() > 0 && qe.update(ve.default.sources.SILENT);
@@ -39565,7 +39552,7 @@ function requireQuill() {
39565
39552
  }
39566
39553
  }), this.update(ve.default.sources.SILENT);
39567
39554
  }
39568
- return de(Be, [{
39555
+ return de(je, [{
39569
39556
  key: "handleComposition",
39570
39557
  value: function() {
39571
39558
  var Oe = this;
@@ -39629,8 +39616,8 @@ function requireQuill() {
39629
39616
  var Me = document.createRange();
39630
39617
  if (qe > 0) {
39631
39618
  Me.setStart(Ne, bt);
39632
- var We = this.scroll.leaf(Oe + qe), je = oe(We, 2);
39633
- if (Ke = je[0], bt = je[1], Ke == null) return null;
39619
+ var We = this.scroll.leaf(Oe + qe), Be = oe(We, 2);
39620
+ if (Ke = Be[0], bt = Be[1], Ke == null) return null;
39634
39621
  var Xe = Ke.position(bt, !0), tt = oe(Xe, 2);
39635
39622
  return Ne = tt[0], bt = tt[1], Me.setEnd(Ne, bt), Me.getBoundingClientRect();
39636
39623
  } else {
@@ -39704,7 +39691,7 @@ function requireQuill() {
39704
39691
  var qe = this, Ie = Oe.collapsed ? [Oe.index] : [Oe.index, Oe.index + Oe.length], Ne = [], Ge = this.scroll.length();
39705
39692
  return Ie.forEach(function(Ze, Ke) {
39706
39693
  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);
39694
+ var bt = void 0, Je = qe.scroll.leaf(Ze), Ye = oe(Je, 2), Me = Ye[0], We = Ye[1], Be = Me.position(We, Ke !== 0), Xe = oe(Be, 2);
39708
39695
  bt = Xe[0], We = Xe[1], Ne.push(bt, We);
39709
39696
  }), Ne.length < 2 && (Ne = Ne.concat(Ne)), Ne;
39710
39697
  }
@@ -39771,15 +39758,15 @@ function requireQuill() {
39771
39758
  }
39772
39759
  }
39773
39760
  }
39774
- }]), Be;
39761
+ }]), je;
39775
39762
  })();
39776
- function Fe(Be, Pe) {
39763
+ function Fe(je, Pe) {
39777
39764
  try {
39778
39765
  Pe.parentNode;
39779
39766
  } catch {
39780
39767
  return !1;
39781
39768
  }
39782
- return Pe instanceof Text && (Pe = Pe.parentNode), Be.contains(Pe);
39769
+ return Pe instanceof Text && (Pe = Pe.parentNode), je.contains(Pe);
39783
39770
  }
39784
39771
  re.Range = Le, re.default = ze;
39785
39772
  }),
@@ -40207,10 +40194,10 @@ function requireQuill() {
40207
40194
  typeof _e == "object" && (ye = _e.depth, Ce = _e.prototype, Se = _e.includeNonEnumerable, _e = _e.circular);
40208
40195
  var we = [], Ae = [], Le = typeof Buffer < "u";
40209
40196
  typeof _e > "u" && (_e = !0), typeof ye > "u" && (ye = 1 / 0);
40210
- function ze(Fe, Be) {
40197
+ function ze(Fe, je) {
40211
40198
  if (Fe === null)
40212
40199
  return null;
40213
- if (Be === 0)
40200
+ if (je === 0)
40214
40201
  return Fe;
40215
40202
  var Pe, Oe;
40216
40203
  if (typeof Fe != "object")
@@ -40222,9 +40209,9 @@ function requireQuill() {
40222
40209
  else if (oe(Fe, ue))
40223
40210
  Pe = new ue(function(Ye, Me) {
40224
40211
  Fe.then(function(We) {
40225
- Ye(ze(We, Be - 1));
40212
+ Ye(ze(We, je - 1));
40226
40213
  }, function(We) {
40227
- Me(ze(We, Be - 1));
40214
+ Me(ze(We, je - 1));
40228
40215
  });
40229
40216
  });
40230
40217
  else if (he.__isArray(Fe))
@@ -40245,27 +40232,27 @@ function requireQuill() {
40245
40232
  we.push(Fe), Ae.push(Pe);
40246
40233
  }
40247
40234
  oe(Fe, de) && Fe.forEach(function(Ye, Me) {
40248
- var We = ze(Me, Be - 1), je = ze(Ye, Be - 1);
40249
- Pe.set(We, je);
40235
+ var We = ze(Me, je - 1), Be = ze(Ye, je - 1);
40236
+ Pe.set(We, Be);
40250
40237
  }), oe(Fe, ce) && Fe.forEach(function(Ye) {
40251
- var Me = ze(Ye, Be - 1);
40238
+ var Me = ze(Ye, je - 1);
40252
40239
  Pe.add(Me);
40253
40240
  });
40254
40241
  for (var Ie in Fe) {
40255
40242
  var Ne;
40256
- Oe && (Ne = Object.getOwnPropertyDescriptor(Oe, Ie)), !(Ne && Ne.set == null) && (Pe[Ie] = ze(Fe[Ie], Be - 1));
40243
+ Oe && (Ne = Object.getOwnPropertyDescriptor(Oe, Ie)), !(Ne && Ne.set == null) && (Pe[Ie] = ze(Fe[Ie], je - 1));
40257
40244
  }
40258
40245
  if (Object.getOwnPropertySymbols)
40259
40246
  for (var Ge = Object.getOwnPropertySymbols(Fe), Ie = 0; Ie < Ge.length; Ie++) {
40260
40247
  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, {
40248
+ Ke && !Ke.enumerable && !Se || (Pe[Ze] = ze(Fe[Ze], je - 1), Ke.enumerable || Object.defineProperty(Pe, Ze, {
40262
40249
  enumerable: !1
40263
40250
  }));
40264
40251
  }
40265
40252
  if (Se)
40266
40253
  for (var bt = Object.getOwnPropertyNames(Fe), Ie = 0; Ie < bt.length; Ie++) {
40267
40254
  var Je = bt[Ie], Ke = Object.getOwnPropertyDescriptor(Fe, Je);
40268
- Ke && Ke.enumerable || (Pe[Je] = ze(Fe[Je], Be - 1), Object.defineProperty(Pe, Je, {
40255
+ Ke && Ke.enumerable || (Pe[Je] = ze(Fe[Je], je - 1), Object.defineProperty(Pe, Je, {
40269
40256
  enumerable: !1
40270
40257
  }));
40271
40258
  }
@@ -40377,7 +40364,7 @@ function requireQuill() {
40377
40364
  function Fe(Pe) {
40378
40365
  return Pe instanceof ge.default || Pe instanceof be.BlockEmbed;
40379
40366
  }
40380
- var Be = (function(Pe) {
40367
+ var je = (function(Pe) {
40381
40368
  ze(Oe, Pe);
40382
40369
  function Oe(qe, Ie) {
40383
40370
  Ae(this, Oe);
@@ -40413,8 +40400,8 @@ function requireQuill() {
40413
40400
  return;
40414
40401
  }
40415
40402
  } else if (Me instanceof ye.default) {
40416
- var je = Me.newlineIndex(0);
40417
- je > -1 && Me.split(je + 1);
40403
+ var Be = Me.newlineIndex(0);
40404
+ Be > -1 && Me.split(Be + 1);
40418
40405
  }
40419
40406
  var Xe = Me.children.head instanceof me.default ? null : Me.children.head;
40420
40407
  Ke.moveChildren(Me, Xe), Ke.remove();
@@ -40474,8 +40461,8 @@ function requireQuill() {
40474
40461
  value: function() {
40475
40462
  var Ie = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, Ne = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Number.MAX_VALUE, Ge = function Ze(Ke, bt, Je) {
40476
40463
  var Ye = [], Me = Je;
40477
- return Ke.children.forEachAt(bt, Je, function(We, je, Xe) {
40478
- Fe(We) ? Ye.push(We) : We instanceof he.default.Container && (Ye = Ye.concat(Ze(We, je, Me))), Me -= Xe;
40464
+ return Ke.children.forEachAt(bt, Je, function(We, Be, Xe) {
40465
+ Fe(We) ? Ye.push(We) : We instanceof he.default.Container && (Ye = Ye.concat(Ze(We, Be, Me))), Me -= Xe;
40479
40466
  }), Ye;
40480
40467
  };
40481
40468
  return Ge(this, Ie, Ne);
@@ -40501,7 +40488,7 @@ function requireQuill() {
40501
40488
  }
40502
40489
  }]), Oe;
40503
40490
  })(he.default.Scroll);
40504
- Be.blotName = "scroll", Be.className = "ql-editor", Be.tagName = "DIV", Be.defaultChild = "block", Be.allowedChildren = [ge.default, be.BlockEmbed, Se.default], re.default = Be;
40491
+ je.blotName = "scroll", je.className = "ql-editor", je.tagName = "DIV", je.defaultChild = "block", je.allowedChildren = [ge.default, be.BlockEmbed, Se.default], re.default = je;
40505
40492
  }),
40506
40493
  /* 23 */
40507
40494
  /***/
@@ -40547,7 +40534,7 @@ function requireQuill() {
40547
40534
  return function(Qe, nt, ot) {
40548
40535
  return nt && Ue(Qe.prototype, nt), ot && Ue(Qe, ot), Qe;
40549
40536
  };
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);
40537
+ })(), 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), je = Pe(Fe);
40551
40538
  function Pe(Ue) {
40552
40539
  return Ue && Ue.__esModule ? Ue : { default: Ue };
40553
40540
  }
@@ -40632,7 +40619,7 @@ function requireQuill() {
40632
40619
  });
40633
40620
  }
40634
40621
  }]), Qe;
40635
- })(Be.default);
40622
+ })(je.default);
40636
40623
  Ke.keys = {
40637
40624
  BACKSPACE: 8,
40638
40625
  TAB: 9,
@@ -40680,8 +40667,8 @@ function requireQuill() {
40680
40667
  nt.format.indent != null ? this.quill.format("indent", "-1", Ae.default.sources.USER) : nt.format.list != null && this.quill.format("list", !1, Ae.default.sources.USER);
40681
40668
  }
40682
40669
  },
40683
- "indent code-block": je(!0),
40684
- "outdent code-block": je(!1),
40670
+ "indent code-block": Be(!0),
40671
+ "outdent code-block": Be(!1),
40685
40672
  "remove tab": {
40686
40673
  key: Ke.keys.TAB,
40687
40674
  shiftKey: !0,
@@ -40835,7 +40822,7 @@ function requireQuill() {
40835
40822
  ot[yt] == null && (Array.isArray(Qe.format[yt]) || yt !== "link" && nt.quill.format(yt, Qe.format[yt], Ae.default.sources.USER));
40836
40823
  });
40837
40824
  }
40838
- function je(Ue) {
40825
+ function Be(Ue) {
40839
40826
  return {
40840
40827
  key: Ke.keys.TAB,
40841
40828
  shiftKey: !Ue,
@@ -40885,7 +40872,7 @@ function requireQuill() {
40885
40872
  function ye(Ce, Se) {
40886
40873
  var we = [], Ae = !0, Le = !1, ze = void 0;
40887
40874
  try {
40888
- for (var Fe = Ce[Symbol.iterator](), Be; !(Ae = (Be = Fe.next()).done) && (we.push(Be.value), !(Se && we.length === Se)); Ae = !0)
40875
+ for (var Fe = Ce[Symbol.iterator](), je; !(Ae = (je = Fe.next()).done) && (we.push(je.value), !(Se && we.length === Se)); Ae = !0)
40889
40876
  ;
40890
40877
  } catch (Pe) {
40891
40878
  Le = !0, ze = Pe;
@@ -40996,8 +40983,8 @@ function requireQuill() {
40996
40983
  if (!(this.selection.composing || this.parent == null)) {
40997
40984
  var we = this.textNode, Ae = this.selection.getNativeRange(), Le = void 0, ze = void 0, Fe = void 0;
40998
40985
  if (Ae != null && Ae.start.node === we && Ae.end.node === we) {
40999
- var Be = [we, Ae.start.offset, Ae.end.offset];
41000
- Le = Be[0], ze = Be[1], Fe = Be[2];
40986
+ var je = [we, Ae.start.offset, Ae.end.offset];
40987
+ Le = je[0], ze = je[1], Fe = je[2];
41001
40988
  }
41002
40989
  for (; this.domNode.lastChild != null && this.domNode.lastChild !== this.textNode; )
41003
40990
  this.domNode.parentNode.insertBefore(this.domNode.lastChild, this.domNode);
@@ -41368,7 +41355,7 @@ function requireQuill() {
41368
41355
  Object.defineProperty(re, "__esModule", {
41369
41356
  value: !0
41370
41357
  });
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);
41358
+ 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), je = ne(56), Pe = Ge(je), Oe = ne(43), qe = Ge(Oe), Ie = ne(23), Ne = Ge(Ie);
41372
41359
  function Ge(Ze) {
41373
41360
  return Ze && Ze.__esModule ? Ze : { default: Ze };
41374
41361
  }
@@ -41607,7 +41594,7 @@ function requireQuill() {
41607
41594
  (function(X, re, ne) {
41608
41595
  Object.defineProperty(re, "__esModule", {
41609
41596
  value: !0
41610
- }), re.getRange = ze, re.internalGetShadowSelection = Be;
41597
+ }), re.getRange = ze, re.internalGetShadowSelection = je;
41611
41598
  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
41599
  function be(Pe) {
41613
41600
  return fe.includes(Pe.nodeType);
@@ -41699,13 +41686,13 @@ function requireQuill() {
41699
41686
  var qe = Le.get(Pe);
41700
41687
  if (qe)
41701
41688
  return qe;
41702
- var Ie = Be(Pe);
41689
+ var Ie = je(Pe);
41703
41690
  return Le.set(Pe, Ie.range), window.setTimeout(function() {
41704
41691
  Le.delete(Pe);
41705
41692
  }, 0), Ie.range;
41706
41693
  }
41707
41694
  var Fe = document.createTextNode("");
41708
- function Be(Pe) {
41695
+ function je(Pe) {
41709
41696
  var Oe = document.createRange(), qe = window.getSelection();
41710
41697
  if (!qe.containsNode(Pe.host, !0))
41711
41698
  return { range: null, mode: "none" };
@@ -41732,8 +41719,8 @@ function requireQuill() {
41732
41719
  throw new TypeError("unexpected type: " + qe.type);
41733
41720
  return Oe.setStart(Ze, 0), Oe.setEnd(Ke, Ke.length), { range: Oe, mode: "all" };
41734
41721
  }
41735
- 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
+ var Ye = Ge(), Me = void 0, We = void 0, Be = Ke.length - Ae(Ke);
41723
+ return bt ? (qe.extend(Ze, 0), Me = Ge() + we(Ze), qe.extend(Ke, Be), We = Be - (Ge() - Ye), qe.extend(Ke, We)) : (qe.extend(Ke, Be), We = Be - Ge(), qe.extend(Ze, 0), Me = Ge() - Ye + we(Ze), qe.extend(Ze, Me)), Oe.setStart(Ze, Me), Oe.setEnd(Ke, We), {
41737
41724
  mode: bt ? "right" : "left",
41738
41725
  range: Oe
41739
41726
  };
@@ -42109,8 +42096,8 @@ function requireQuill() {
42109
42096
  function we(Ae, Le) {
42110
42097
  ge(this, we);
42111
42098
  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));
42099
+ return ze.lastRecorded = 0, ze.ignoreChange = !1, ze.clear(), ze.quill.on(he.default.events.EDITOR_CHANGE, function(Fe, je, Pe, Oe) {
42100
+ Fe !== he.default.events.TEXT_CHANGE || ze.ignoreChange || (!ze.options.userOnly || Oe === he.default.sources.USER ? ze.record(je, Pe) : ze.transform(je));
42114
42101
  }), 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;
42115
42102
  }
42116
42103
  return oe(we, [{
@@ -42119,8 +42106,8 @@ function requireQuill() {
42119
42106
  if (this.stack[Le].length !== 0) {
42120
42107
  var Fe = this.stack[Le].pop();
42121
42108
  this.stack[ze].push(Fe), this.lastRecorded = 0, this.ignoreChange = !0, this.quill.updateContents(Fe[Le], he.default.sources.USER), this.ignoreChange = !1;
42122
- var Be = Ce(Fe[Le]);
42123
- this.quill.setSelection(Be);
42109
+ var je = Ce(Fe[Le]);
42110
+ this.quill.setSelection(je);
42124
42111
  }
42125
42112
  }
42126
42113
  }, {
@@ -42138,12 +42125,12 @@ function requireQuill() {
42138
42125
  value: function(Le, ze) {
42139
42126
  if (Le.ops.length !== 0) {
42140
42127
  this.stack.redo = [];
42141
- var Fe = this.quill.getContents().diff(ze), Be = Date.now();
42142
- if (this.lastRecorded + this.options.delay > Be && this.stack.undo.length > 0) {
42128
+ var Fe = this.quill.getContents().diff(ze), je = Date.now();
42129
+ if (this.lastRecorded + this.options.delay > je && this.stack.undo.length > 0) {
42143
42130
  var Pe = this.stack.undo.pop();
42144
42131
  Fe = Fe.compose(Pe.undo), Le = Pe.redo.compose(Le);
42145
42132
  } else
42146
- this.lastRecorded = Be;
42133
+ this.lastRecorded = je;
42147
42134
  this.stack.undo.push({
42148
42135
  redo: Le,
42149
42136
  undo: Fe
@@ -42198,20 +42185,20 @@ function requireQuill() {
42198
42185
  value: !0
42199
42186
  }), re.default = re.BaseTooltip = void 0;
42200
42187
  var oe = /* @__PURE__ */ (function() {
42201
- function We(je, Xe) {
42188
+ function We(Be, Xe) {
42202
42189
  for (var tt = 0; tt < Xe.length; tt++) {
42203
42190
  var Ue = Xe[tt];
42204
- Ue.enumerable = Ue.enumerable || !1, Ue.configurable = !0, "value" in Ue && (Ue.writable = !0), Object.defineProperty(je, Ue.key, Ue);
42191
+ Ue.enumerable = Ue.enumerable || !1, Ue.configurable = !0, "value" in Ue && (Ue.writable = !0), Object.defineProperty(Be, Ue.key, Ue);
42205
42192
  }
42206
42193
  }
42207
- return function(je, Xe, tt) {
42208
- return Xe && We(je.prototype, Xe), tt && We(je, tt), je;
42194
+ return function(Be, Xe, tt) {
42195
+ return Xe && We(Be.prototype, Xe), tt && We(Be, tt), Be;
42209
42196
  };
42210
- })(), de = function We(je, Xe, tt) {
42211
- je === null && (je = Function.prototype);
42212
- var Ue = Object.getOwnPropertyDescriptor(je, Xe);
42197
+ })(), de = function We(Be, Xe, tt) {
42198
+ Be === null && (Be = Function.prototype);
42199
+ var Ue = Object.getOwnPropertyDescriptor(Be, Xe);
42213
42200
  if (Ue === void 0) {
42214
- var Qe = Object.getPrototypeOf(je);
42201
+ var Qe = Object.getPrototypeOf(Be);
42215
42202
  return Qe === null ? void 0 : We(Qe, Xe, tt);
42216
42203
  } else {
42217
42204
  if ("value" in Ue)
@@ -42219,29 +42206,29 @@ function requireQuill() {
42219
42206
  var nt = Ue.get;
42220
42207
  return nt === void 0 ? void 0 : nt.call(tt);
42221
42208
  }
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);
42223
- function Be(We) {
42209
+ }, ce = ne(3), ue = je(ce), he = ne(2), pe = je(he), fe = ne(8), be = je(fe), ge = ne(23), ve = je(ge), me = ne(35), _e = je(me), ye = ne(60), Ce = je(ye), Se = ne(61), we = je(Se), Ae = ne(28), Le = je(Ae), ze = ne(62), Fe = je(ze);
42210
+ function je(We) {
42224
42211
  return We && We.__esModule ? We : { default: We };
42225
42212
  }
42226
- function Pe(We, je) {
42227
- if (!(We instanceof je))
42213
+ function Pe(We, Be) {
42214
+ if (!(We instanceof Be))
42228
42215
  throw new TypeError("Cannot call a class as a function");
42229
42216
  }
42230
- function Oe(We, je) {
42217
+ function Oe(We, Be) {
42231
42218
  if (!We)
42232
42219
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
42233
- return je && (typeof je == "object" || typeof je == "function") ? je : We;
42220
+ return Be && (typeof Be == "object" || typeof Be == "function") ? Be : We;
42234
42221
  }
42235
- function qe(We, je) {
42236
- if (typeof je != "function" && je !== null)
42237
- throw new TypeError("Super expression must either be null or a function, not " + typeof je);
42238
- 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);
42222
+ function qe(We, Be) {
42223
+ if (typeof Be != "function" && Be !== null)
42224
+ throw new TypeError("Super expression must either be null or a function, not " + typeof Be);
42225
+ We.prototype = Object.create(Be && Be.prototype, { constructor: { value: We, enumerable: !1, writable: !0, configurable: !0 } }), Be && (Object.setPrototypeOf ? Object.setPrototypeOf(We, Be) : We.__proto__ = Be);
42239
42226
  }
42240
42227
  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);
42242
- function je(Xe, tt) {
42243
- Pe(this, je);
42244
- var Ue = Oe(this, (je.__proto__ || Object.getPrototypeOf(je)).call(this, Xe, tt)), Qe = function nt(ot) {
42228
+ qe(Be, We);
42229
+ function Be(Xe, tt) {
42230
+ Pe(this, Be);
42231
+ var Ue = Oe(this, (Be.__proto__ || Object.getPrototypeOf(Be)).call(this, Xe, tt)), Qe = function nt(ot) {
42245
42232
  if (!document.body.contains(Xe.root))
42246
42233
  return document.body.removeEventListener("click", nt);
42247
42234
  Ue.tooltip != null && !Ue.tooltip.root.contains(ot.target) && document.activeElement !== Ue.tooltip.textbox && !Ue.quill.hasFocus() && Ue.tooltip.hide(), Ue.pickers != null && Ue.pickers.forEach(function(yt) {
@@ -42250,10 +42237,10 @@ function requireQuill() {
42250
42237
  };
42251
42238
  return Xe.emitter.listenDOM("click", document.body, Qe), Ue;
42252
42239
  }
42253
- return oe(je, [{
42240
+ return oe(Be, [{
42254
42241
  key: "addModule",
42255
42242
  value: function(tt) {
42256
- var Ue = de(je.prototype.__proto__ || Object.getPrototypeOf(je.prototype), "addModule", this).call(this, tt);
42243
+ var Ue = de(Be.prototype.__proto__ || Object.getPrototypeOf(Be.prototype), "addModule", this).call(this, tt);
42257
42244
  return tt === "toolbar" && this.extendToolbar(Ue), Ue;
42258
42245
  }
42259
42246
  }, {
@@ -42294,7 +42281,7 @@ function requireQuill() {
42294
42281
  };
42295
42282
  this.quill.on(be.default.events.EDITOR_CHANGE, nt);
42296
42283
  }
42297
- }]), je;
42284
+ }]), Be;
42298
42285
  })(_e.default);
42299
42286
  bt.DEFAULTS = (0, ue.default)(!0, {}, _e.default.DEFAULTS, {
42300
42287
  modules: {
@@ -42304,13 +42291,13 @@ function requireQuill() {
42304
42291
  this.quill.theme.tooltip.edit("formula");
42305
42292
  },
42306
42293
  image: function() {
42307
- var je = this, Xe = this.container.querySelector("input.ql-image[type=file]");
42294
+ var Be = this, Xe = this.container.querySelector("input.ql-image[type=file]");
42308
42295
  Xe == null && (Xe = document.createElement("input"), Xe.setAttribute("type", "file"), Xe.setAttribute("accept", "image/png, image/gif, image/jpeg, image/bmp, image/x-icon"), Xe.classList.add("ql-image"), Xe.addEventListener("change", function() {
42309
42296
  if (Xe.files != null && Xe.files[0] != null) {
42310
42297
  var tt = new FileReader();
42311
42298
  tt.onload = function(Ue) {
42312
- var Qe = je.quill.getSelection(!0);
42313
- je.quill.updateContents(new pe.default().retain(Qe.index).delete(Qe.length).insert({ image: Ue.target.result }), be.default.sources.USER), je.quill.setSelection(Qe.index + 1, be.default.sources.SILENT), Xe.value = "";
42299
+ var Qe = Be.quill.getSelection(!0);
42300
+ Be.quill.updateContents(new pe.default().retain(Qe.index).delete(Qe.length).insert({ image: Ue.target.result }), be.default.sources.USER), Be.quill.setSelection(Qe.index + 1, be.default.sources.SILENT), Xe.value = "";
42314
42301
  }, tt.readAsDataURL(Xe.files[0]);
42315
42302
  }
42316
42303
  }), this.container.appendChild(Xe)), Xe.click();
@@ -42323,13 +42310,13 @@ function requireQuill() {
42323
42310
  }
42324
42311
  });
42325
42312
  var Je = (function(We) {
42326
- qe(je, We);
42327
- function je(Xe, tt) {
42328
- Pe(this, je);
42329
- var Ue = Oe(this, (je.__proto__ || Object.getPrototypeOf(je)).call(this, Xe, tt));
42313
+ qe(Be, We);
42314
+ function Be(Xe, tt) {
42315
+ Pe(this, Be);
42316
+ var Ue = Oe(this, (Be.__proto__ || Object.getPrototypeOf(Be)).call(this, Xe, tt));
42330
42317
  return Ue.textbox = Ue.root.querySelector('input[type="text"]'), Ue.listen(), Ue;
42331
42318
  }
42332
- return oe(je, [{
42319
+ return oe(Be, [{
42333
42320
  key: "listen",
42334
42321
  value: function() {
42335
42322
  var tt = this;
@@ -42379,15 +42366,15 @@ function requireQuill() {
42379
42366
  }
42380
42367
  this.textbox.value = "", this.hide();
42381
42368
  }
42382
- }]), je;
42369
+ }]), Be;
42383
42370
  })(Fe.default);
42384
42371
  function Ye(We) {
42385
- var je = We.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/) || We.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);
42386
- return je ? (je[1] || "https") + "://www.youtube.com/embed/" + je[2] + "?showinfo=0" : (je = We.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/)) ? (je[1] || "https") + "://player.vimeo.com/video/" + je[2] + "/" : We;
42372
+ var Be = We.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/) || We.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);
42373
+ return Be ? (Be[1] || "https") + "://www.youtube.com/embed/" + Be[2] + "?showinfo=0" : (Be = We.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/)) ? (Be[1] || "https") + "://player.vimeo.com/video/" + Be[2] + "/" : We;
42387
42374
  }
42388
- function Me(We, je) {
42375
+ function Me(We, Be) {
42389
42376
  var Xe = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
42390
- je.forEach(function(tt) {
42377
+ Be.forEach(function(tt) {
42391
42378
  var Ue = document.createElement("option");
42392
42379
  tt === Xe ? Ue.setAttribute("selected", "selected") : Ue.setAttribute("value", tt), We.appendChild(Ue);
42393
42380
  });
@@ -42522,8 +42509,8 @@ function requireQuill() {
42522
42509
  var Le = ce.find(Ae.target, !0);
42523
42510
  Le != null && (Le.domNode === Ae.target && (Ae.type === "childList" ? (ye(ce.find(Ae.previousSibling, !1)), [].forEach.call(Ae.addedNodes, function(ze) {
42524
42511
  var Fe = ce.find(ze, !1);
42525
- ye(Fe, !1), Fe instanceof de.default && Fe.children.forEach(function(Be) {
42526
- ye(Be, !1);
42512
+ ye(Fe, !1), Fe instanceof de.default && Fe.children.forEach(function(je) {
42513
+ ye(je, !1);
42527
42514
  });
42528
42515
  })) : Ae.type === "attributes" && ye(Le.prev)), ye(Le));
42529
42516
  }), this.children.forEach(Ce), Se = [].slice.call(this.observer.takeRecords()), _e = Se.slice(); _e.length > 0; )
@@ -42792,10 +42779,10 @@ function requireQuill() {
42792
42779
  (Le < 0 || we.length < Le) && (Le = null);
42793
42780
  var ze = fe(we, Ae), Fe = we.substring(0, ze);
42794
42781
  we = we.substring(ze), Ae = Ae.substring(ze), ze = be(we, Ae);
42795
- var Be = we.substring(we.length - ze);
42782
+ var je = we.substring(we.length - ze);
42796
42783
  we = we.substring(0, we.length - ze), Ae = Ae.substring(0, Ae.length - ze);
42797
42784
  var Pe = ue(we, Ae);
42798
- return Fe && Pe.unshift([de, Fe]), Be && Pe.push([de, Be]), ve(Pe), Le != null && (Pe = ye(Pe, Le)), Pe = Ce(Pe), Pe;
42785
+ return Fe && Pe.unshift([de, Fe]), je && Pe.push([de, je]), ve(Pe), Le != null && (Pe = ye(Pe, Le)), Pe = Ce(Pe), Pe;
42799
42786
  }
42800
42787
  function ue(we, Ae) {
42801
42788
  var Le;
@@ -42803,12 +42790,12 @@ function requireQuill() {
42803
42790
  return [[oe, Ae]];
42804
42791
  if (!Ae)
42805
42792
  return [[ne, we]];
42806
- var ze = we.length > Ae.length ? we : Ae, Fe = we.length > Ae.length ? Ae : we, Be = ze.indexOf(Fe);
42807
- if (Be != -1)
42793
+ var ze = we.length > Ae.length ? we : Ae, Fe = we.length > Ae.length ? Ae : we, je = ze.indexOf(Fe);
42794
+ if (je != -1)
42808
42795
  return Le = [
42809
- [oe, ze.substring(0, Be)],
42796
+ [oe, ze.substring(0, je)],
42810
42797
  [de, Fe],
42811
- [oe, ze.substring(Be + Fe.length)]
42798
+ [oe, ze.substring(je + Fe.length)]
42812
42799
  ], we.length > Ae.length && (Le[0][0] = Le[2][0] = ne), Le;
42813
42800
  if (Fe.length == 1)
42814
42801
  return [[ne, we], [oe, Ae]];
@@ -42820,30 +42807,30 @@ function requireQuill() {
42820
42807
  return he(we, Ae);
42821
42808
  }
42822
42809
  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++)
42810
+ for (var Le = we.length, ze = Ae.length, Fe = Math.ceil((Le + ze) / 2), je = Fe, Pe = 2 * Fe, Oe = new Array(Pe), qe = new Array(Pe), Ie = 0; Ie < Pe; Ie++)
42824
42811
  Oe[Ie] = -1, qe[Ie] = -1;
42825
- Oe[Be + 1] = 0, qe[Be + 1] = 0;
42812
+ Oe[je + 1] = 0, qe[je + 1] = 0;
42826
42813
  for (var Ne = Le - ze, Ge = Ne % 2 != 0, Ze = 0, Ke = 0, bt = 0, Je = 0, Ye = 0; Ye < Fe; Ye++) {
42827
42814
  for (var Me = -Ye + Ze; Me <= Ye - Ke; Me += 2) {
42828
- var We = Be + Me, je;
42829
- 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); )
42831
- je++, Xe++;
42832
- if (Oe[We] = je, je > Le)
42815
+ var We = je + Me, Be;
42816
+ Me == -Ye || Me != Ye && Oe[We - 1] < Oe[We + 1] ? Be = Oe[We + 1] : Be = Oe[We - 1] + 1;
42817
+ for (var Xe = Be - Me; Be < Le && Xe < ze && we.charAt(Be) == Ae.charAt(Xe); )
42818
+ Be++, Xe++;
42819
+ if (Oe[We] = Be, Be > Le)
42833
42820
  Ke += 2;
42834
42821
  else if (Xe > ze)
42835
42822
  Ze += 2;
42836
42823
  else if (Ge) {
42837
- var tt = Be + Ne - Me;
42824
+ var tt = je + Ne - Me;
42838
42825
  if (tt >= 0 && tt < Pe && qe[tt] != -1) {
42839
42826
  var Ue = Le - qe[tt];
42840
- if (je >= Ue)
42841
- return pe(we, Ae, je, Xe);
42827
+ if (Be >= Ue)
42828
+ return pe(we, Ae, Be, Xe);
42842
42829
  }
42843
42830
  }
42844
42831
  }
42845
42832
  for (var Qe = -Ye + bt; Qe <= Ye - Je; Qe += 2) {
42846
- var tt = Be + Qe, Ue;
42833
+ var tt = je + Qe, Ue;
42847
42834
  Qe == -Ye || Qe != Ye && qe[tt - 1] < qe[tt + 1] ? Ue = qe[tt + 1] : Ue = qe[tt - 1] + 1;
42848
42835
  for (var nt = Ue - Qe; Ue < Le && nt < ze && we.charAt(Le - Ue - 1) == Ae.charAt(ze - nt - 1); )
42849
42836
  Ue++, nt++;
@@ -42852,11 +42839,11 @@ function requireQuill() {
42852
42839
  else if (nt > ze)
42853
42840
  bt += 2;
42854
42841
  else if (!Ge) {
42855
- var We = Be + Ne - Qe;
42842
+ var We = je + Ne - Qe;
42856
42843
  if (We >= 0 && We < Pe && Oe[We] != -1) {
42857
- var je = Oe[We], Xe = Be + je - We;
42858
- if (Ue = Le - Ue, je >= Ue)
42859
- return pe(we, Ae, je, Xe);
42844
+ var Be = Oe[We], Xe = je + Be - We;
42845
+ if (Ue = Le - Ue, Be >= Ue)
42846
+ return pe(we, Ae, Be, Xe);
42860
42847
  }
42861
42848
  }
42862
42849
  }
@@ -42864,21 +42851,21 @@ function requireQuill() {
42864
42851
  return [[ne, we], [oe, Ae]];
42865
42852
  }
42866
42853
  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);
42854
+ var Fe = we.substring(0, Le), je = Ae.substring(0, ze), Pe = we.substring(Le), Oe = Ae.substring(ze), qe = ce(Fe, je), Ie = ce(Pe, Oe);
42868
42855
  return qe.concat(Ie);
42869
42856
  }
42870
42857
  function fe(we, Ae) {
42871
42858
  if (!we || !Ae || we.charAt(0) != Ae.charAt(0))
42872
42859
  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);
42860
+ for (var Le = 0, ze = Math.min(we.length, Ae.length), Fe = ze, je = 0; Le < Fe; )
42861
+ we.substring(je, Fe) == Ae.substring(je, Fe) ? (Le = Fe, je = Le) : ze = Fe, Fe = Math.floor((ze - Le) / 2 + Le);
42875
42862
  return Fe;
42876
42863
  }
42877
42864
  function be(we, Ae) {
42878
42865
  if (!we || !Ae || we.charAt(we.length - 1) != Ae.charAt(Ae.length - 1))
42879
42866
  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);
42867
+ for (var Le = 0, ze = Math.min(we.length, Ae.length), Fe = ze, je = 0; Le < Fe; )
42868
+ we.substring(we.length - Fe, we.length - je) == Ae.substring(Ae.length - Fe, Ae.length - je) ? (Le = Fe, je = Le) : ze = Fe, Fe = Math.floor((ze - Le) / 2 + Le);
42882
42869
  return Fe;
42883
42870
  }
42884
42871
  function ge(we, Ae) {
@@ -42886,7 +42873,7 @@ function requireQuill() {
42886
42873
  if (Le.length < 4 || ze.length * 2 < Le.length)
42887
42874
  return null;
42888
42875
  function Fe(Ke, bt, Je) {
42889
- 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; ) {
42876
+ for (var Ye = Ke.substring(Je, Je + Math.floor(Ke.length / 4)), Me = -1, We = "", Be, Xe, tt, Ue; (Me = bt.indexOf(Ye, Me + 1)) != -1; ) {
42890
42877
  var Qe = fe(
42891
42878
  Ke.substring(Je),
42892
42879
  bt.substring(Me)
@@ -42894,17 +42881,17 @@ function requireQuill() {
42894
42881
  Ke.substring(0, Je),
42895
42882
  bt.substring(0, Me)
42896
42883
  );
42897
- We.length < nt + Qe && (We = bt.substring(Me - nt, Me) + bt.substring(Me, Me + Qe), je = Ke.substring(0, Je - nt), Xe = Ke.substring(Je + Qe), tt = bt.substring(0, Me - nt), Ue = bt.substring(Me + Qe));
42884
+ We.length < nt + Qe && (We = bt.substring(Me - nt, Me) + bt.substring(Me, Me + Qe), Be = Ke.substring(0, Je - nt), Xe = Ke.substring(Je + Qe), tt = bt.substring(0, Me - nt), Ue = bt.substring(Me + Qe));
42898
42885
  }
42899
42886
  return We.length * 2 >= Ke.length ? [
42900
- je,
42887
+ Be,
42901
42888
  Xe,
42902
42889
  tt,
42903
42890
  Ue,
42904
42891
  We
42905
42892
  ] : null;
42906
42893
  }
42907
- var Be = Fe(
42894
+ var je = Fe(
42908
42895
  Le,
42909
42896
  ze,
42910
42897
  Math.ceil(Le.length / 4)
@@ -42913,9 +42900,9 @@ function requireQuill() {
42913
42900
  ze,
42914
42901
  Math.ceil(Le.length / 2)
42915
42902
  ), Oe;
42916
- if (!Be && !Pe)
42903
+ if (!je && !Pe)
42917
42904
  return null;
42918
- Pe ? Be ? Oe = Be[4].length > Pe[4].length ? Be : Pe : Oe = Pe : Oe = Be;
42905
+ Pe ? je ? Oe = je[4].length > Pe[4].length ? je : Pe : Oe = Pe : Oe = je;
42919
42906
  var qe, Ie, Ne, Ge;
42920
42907
  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]);
42921
42908
  var Ze = Oe[4];
@@ -42923,22 +42910,22 @@ function requireQuill() {
42923
42910
  }
42924
42911
  function ve(we) {
42925
42912
  we.push([de, ""]);
42926
- for (var Ae = 0, Le = 0, ze = 0, Fe = "", Be = "", Pe; Ae < we.length; )
42913
+ for (var Ae = 0, Le = 0, ze = 0, Fe = "", je = "", Pe; Ae < we.length; )
42927
42914
  switch (we[Ae][0]) {
42928
42915
  case oe:
42929
- ze++, Be += we[Ae][1], Ae++;
42916
+ ze++, je += we[Ae][1], Ae++;
42930
42917
  break;
42931
42918
  case ne:
42932
42919
  Le++, Fe += we[Ae][1], Ae++;
42933
42920
  break;
42934
42921
  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, [
42922
+ Le + ze > 1 ? (Le !== 0 && ze !== 0 && (Pe = fe(je, Fe), Pe !== 0 && (Ae - Le - ze > 0 && we[Ae - Le - ze - 1][0] == de ? we[Ae - Le - ze - 1][1] += je.substring(0, Pe) : (we.splice(0, 0, [
42936
42923
  de,
42937
- Be.substring(0, Pe)
42938
- ]), 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(
42924
+ je.substring(0, Pe)
42925
+ ]), Ae++), je = je.substring(Pe), Fe = Fe.substring(Pe)), Pe = be(je, Fe), Pe !== 0 && (we[Ae][1] = je.substring(je.length - Pe) + we[Ae][1], je = je.substring(0, je.length - Pe), Fe = Fe.substring(0, Fe.length - Pe))), Le === 0 ? we.splice(
42939
42926
  Ae - ze,
42940
42927
  Le + ze,
42941
- [oe, Be]
42928
+ [oe, je]
42942
42929
  ) : ze === 0 ? we.splice(
42943
42930
  Ae - Le,
42944
42931
  Le + ze,
@@ -42947,8 +42934,8 @@ function requireQuill() {
42947
42934
  Ae - Le - ze,
42948
42935
  Le + ze,
42949
42936
  [ne, Fe],
42950
- [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
+ [oe, je]
42938
+ ), 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 = "", je = "";
42952
42939
  break;
42953
42940
  }
42954
42941
  we[we.length - 1][1] === "" && we.pop();
@@ -42965,30 +42952,30 @@ function requireQuill() {
42965
42952
  for (var Le = 0, ze = 0; ze < we.length; ze++) {
42966
42953
  var Fe = we[ze];
42967
42954
  if (Fe[0] === ne || Fe[0] === de) {
42968
- var Be = Le + Fe[1].length;
42969
- if (Ae === Be)
42955
+ var je = Le + Fe[1].length;
42956
+ if (Ae === je)
42970
42957
  return [ze + 1, we];
42971
- if (Ae < Be) {
42958
+ if (Ae < je) {
42972
42959
  we = we.slice();
42973
42960
  var Pe = Ae - Le, Oe = [Fe[0], Fe[1].slice(0, Pe)], qe = [Fe[0], Fe[1].slice(Pe)];
42974
42961
  return we.splice(ze, 1, Oe, qe), [ze + 1, we];
42975
42962
  } else
42976
- Le = Be;
42963
+ Le = je;
42977
42964
  }
42978
42965
  }
42979
42966
  throw new Error("cursor_pos is out of bounds!");
42980
42967
  }
42981
42968
  function ye(we, Ae) {
42982
- var Le = _e(we, Ae), ze = Le[1], Fe = Le[0], Be = ze[Fe], Pe = ze[Fe + 1];
42983
- if (Be == null)
42969
+ var Le = _e(we, Ae), ze = Le[1], Fe = Le[0], je = ze[Fe], Pe = ze[Fe + 1];
42970
+ if (je == null)
42984
42971
  return we;
42985
- if (Be[0] !== de)
42972
+ if (je[0] !== de)
42986
42973
  return we;
42987
- if (Pe != null && Be[1] + Pe[1] === Pe[1] + Be[1])
42988
- return ze.splice(Fe, 2, Pe, Be), Se(ze, Fe, 2);
42989
- if (Pe != null && Pe[1].indexOf(Be[1]) === 0) {
42990
- ze.splice(Fe, 2, [Pe[0], Be[1]], [0, Be[1]]);
42991
- var Oe = Pe[1].slice(Be[1].length);
42974
+ if (Pe != null && je[1] + Pe[1] === Pe[1] + je[1])
42975
+ return ze.splice(Fe, 2, Pe, je), Se(ze, Fe, 2);
42976
+ if (Pe != null && Pe[1].indexOf(je[1]) === 0) {
42977
+ ze.splice(Fe, 2, [Pe[0], je[1]], [0, je[1]]);
42978
+ var Oe = Pe[1].slice(je[1].length);
42992
42979
  return Oe.length > 0 && ze.splice(Fe + 2, 0, [Pe[0], Oe]), Se(ze, Fe, 3);
42993
42980
  } else
42994
42981
  return we;
@@ -43002,15 +42989,15 @@ function requireQuill() {
43002
42989
  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));
43003
42990
  if (!Ae)
43004
42991
  return we;
43005
- for (var Be = [], Fe = 0; Fe < we.length; Fe += 1)
43006
- we[Fe][1].length > 0 && Be.push(we[Fe]);
43007
- return Be;
42992
+ for (var je = [], Fe = 0; Fe < we.length; Fe += 1)
42993
+ we[Fe][1].length > 0 && je.push(we[Fe]);
42994
+ return je;
43008
42995
  }
43009
42996
  function Se(we, Ae, Le) {
43010
42997
  for (var ze = Ae + Le - 1; ze >= 0 && ze >= Ae - 1; ze--)
43011
42998
  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]]);
42999
+ var Fe = we[ze], je = we[ze + 1];
43000
+ Fe[0] === je[1] && we.splice(ze, 2, [Fe[0], Fe[1] + je[1]]);
43014
43001
  }
43015
43002
  return we;
43016
43003
  }
@@ -43183,7 +43170,7 @@ function requireQuill() {
43183
43170
  return function(vt, kt, At) {
43184
43171
  return kt && mt(vt.prototype, kt), At && mt(vt, At), vt;
43185
43172
  };
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);
43173
+ })(), 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), je = ne(39), Pe = ne(40), Oe = ne(41);
43187
43174
  function qe(mt) {
43188
43175
  return mt && mt.__esModule ? mt : { default: mt };
43189
43176
  }
@@ -43204,9 +43191,9 @@ function requireQuill() {
43204
43191
  throw new TypeError("Super expression must either be null or a function, not " + typeof vt);
43205
43192
  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
43193
  }
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) {
43194
+ 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, je.DirectionAttribute].reduce(function(mt, vt) {
43208
43195
  return mt[vt.keyName] = vt, mt;
43209
- }, {}), Me = [we.AlignStyle, Ae.BackgroundStyle, Fe.ColorStyle, Be.DirectionStyle, Pe.FontStyle, Oe.SizeStyle].reduce(function(mt, vt) {
43196
+ }, {}), Me = [we.AlignStyle, Ae.BackgroundStyle, Fe.ColorStyle, je.DirectionStyle, Pe.FontStyle, Oe.SizeStyle].reduce(function(mt, vt) {
43210
43197
  return mt[vt.keyName] = vt, mt;
43211
43198
  }, {}), We = (function(mt) {
43212
43199
  Ze(vt, mt);
@@ -43286,9 +43273,9 @@ function requireQuill() {
43286
43273
  matchers: [],
43287
43274
  matchVisual: !0
43288
43275
  };
43289
- function je(mt, vt, kt) {
43276
+ function Be(mt, vt, kt) {
43290
43277
  return (typeof vt > "u" ? "undefined" : oe(vt)) === "object" ? Object.keys(vt).reduce(function(At, $t) {
43291
- return je(At, $t, vt[$t]);
43278
+ return Be(At, $t, vt[$t]);
43292
43279
  }, mt) : mt.reduce(function(At, $t) {
43293
43280
  return $t.attributes && $t.attributes[vt] ? At.push($t) : At.insert($t.insert, (0, he.default)({}, Ie({}, vt, kt), $t.attributes));
43294
43281
  }, new fe.default());
@@ -43324,14 +43311,14 @@ function requireQuill() {
43324
43311
  }, new fe.default()) : new fe.default();
43325
43312
  }
43326
43313
  function nt(mt, vt, kt) {
43327
- return je(kt, mt, !0);
43314
+ return Be(kt, mt, !0);
43328
43315
  }
43329
43316
  function ot(mt, vt) {
43330
43317
  var kt = ge.default.Attributor.Attribute.keys(mt), At = ge.default.Attributor.Class.keys(mt), $t = ge.default.Attributor.Style.keys(mt), Mt = {};
43331
43318
  return kt.concat(At).concat($t).forEach(function(Ft) {
43332
43319
  var Ht = ge.default.query(Ft, ge.default.Scope.ATTRIBUTE);
43333
43320
  Ht != null && (Mt[Ht.attrName] = Ht.value(mt), Mt[Ht.attrName]) || (Ht = Ye[Ft], Ht != null && (Ht.attrName === Ft || Ht.keyName === Ft) && (Mt[Ht.attrName] = Ht.value(mt) || void 0), Ht = Me[Ft], Ht != null && (Ht.attrName === Ft || Ht.keyName === Ft) && (Ht = Me[Ft], Mt[Ht.attrName] = Ht.value(mt) || void 0));
43334
- }), Object.keys(Mt).length > 0 && (vt = je(vt, Mt)), vt;
43321
+ }), Object.keys(Mt).length > 0 && (vt = Be(vt, Mt)), vt;
43335
43322
  }
43336
43323
  function yt(mt, vt) {
43337
43324
  var kt = ge.default.query(mt);
@@ -43339,7 +43326,7 @@ function requireQuill() {
43339
43326
  if (kt.prototype instanceof ge.default.Embed) {
43340
43327
  var At = {}, $t = kt.value(mt);
43341
43328
  $t != null && (At[kt.blotName] = $t, vt = new fe.default().insert(At, kt.formats(mt)));
43342
- } else typeof kt.formats == "function" && (vt = je(vt, kt.blotName, kt.formats(mt)));
43329
+ } else typeof kt.formats == "function" && (vt = Be(vt, kt.blotName, kt.formats(mt)));
43343
43330
  return vt;
43344
43331
  }
43345
43332
  function Ct(mt, vt) {
@@ -43376,7 +43363,7 @@ function requireQuill() {
43376
43363
  }
43377
43364
  function ns(mt, vt) {
43378
43365
  var kt = {}, At = mt.style || {};
43379
- return At.fontStyle && Xe(mt).fontStyle === "italic" && (kt.italic = !0), At.fontWeight && (Xe(mt).fontWeight.startsWith("bold") || parseInt(Xe(mt).fontWeight) >= 700) && (kt.bold = !0), Object.keys(kt).length > 0 && (vt = je(vt, kt)), parseFloat(At.textIndent || 0) > 0 && (vt = new fe.default().insert(" ").concat(vt)), vt;
43366
+ return At.fontStyle && Xe(mt).fontStyle === "italic" && (kt.italic = !0), At.fontWeight && (Xe(mt).fontWeight.startsWith("bold") || parseInt(Xe(mt).fontWeight) >= 700) && (kt.bold = !0), Object.keys(kt).length > 0 && (vt = Be(vt, kt)), parseFloat(At.textIndent || 0) > 0 && (vt = new fe.default().insert(" ").concat(vt)), vt;
43380
43367
  }
43381
43368
  function Xt(mt, vt) {
43382
43369
  var kt = mt.data;
@@ -43585,7 +43572,7 @@ function requireQuill() {
43585
43572
  } else
43586
43573
  Ge.classList.contains("ql-active") ? Ye = !1 : Ye = Ge.value || !Ge.hasAttribute("value"), Je.preventDefault();
43587
43574
  Ze.quill.focus();
43588
- var We = Ze.quill.selection.getRange(), je = oe(We, 1), Xe = je[0];
43575
+ var We = Ze.quill.selection.getRange(), Be = oe(We, 1), Xe = Be[0];
43589
43576
  if (Ze.handlers[Ke] != null)
43590
43577
  Ze.handlers[Ke].call(Ze, Ye);
43591
43578
  else if (pe.default.query(Ke).prototype instanceof pe.default.Embed) {
@@ -43617,8 +43604,8 @@ function requireQuill() {
43617
43604
  } else if (Ge == null)
43618
43605
  Ye.classList.remove("ql-active");
43619
43606
  else if (Ye.hasAttribute("value")) {
43620
- var je = Ze[Je] === Ye.getAttribute("value") || Ze[Je] != null && Ze[Je].toString() === Ye.getAttribute("value") || Ze[Je] == null && !Ye.getAttribute("value");
43621
- Ye.classList.toggle("ql-active", je);
43607
+ var Be = Ze[Je] === Ye.getAttribute("value") || Ze[Je] != null && Ze[Je].toString() === Ye.getAttribute("value") || Ze[Je] == null && !Ye.getAttribute("value");
43608
+ Ye.classList.toggle("ql-active", Be);
43622
43609
  } else
43623
43610
  Ye.classList.toggle("ql-active", Ze[Je] != null);
43624
43611
  });
@@ -43626,7 +43613,7 @@ function requireQuill() {
43626
43613
  }]), Ie;
43627
43614
  })(_e.default);
43628
43615
  Fe.DEFAULTS = {};
43629
- function Be(qe, Ie, Ne) {
43616
+ function je(qe, Ie, Ne) {
43630
43617
  var Ge = document.createElement("button");
43631
43618
  Ge.setAttribute("type", "button"), Ge.classList.add("ql-" + Ie), Ne != null && (Ge.value = Ne), qe.appendChild(Ge);
43632
43619
  }
@@ -43635,10 +43622,10 @@ function requireQuill() {
43635
43622
  var Ge = document.createElement("span");
43636
43623
  Ge.classList.add("ql-formats"), Ne.forEach(function(Ze) {
43637
43624
  if (typeof Ze == "string")
43638
- Be(Ge, Ze);
43625
+ je(Ge, Ze);
43639
43626
  else {
43640
43627
  var Ke = Object.keys(Ze)[0], bt = Ze[Ke];
43641
- Array.isArray(bt) ? Oe(Ge, Ke, bt) : Be(Ge, Ke, bt);
43628
+ Array.isArray(bt) ? Oe(Ge, Ke, bt) : je(Ge, Ke, bt);
43642
43629
  }
43643
43630
  }), qe.appendChild(Ge);
43644
43631
  });
@@ -43960,7 +43947,7 @@ function requireQuill() {
43960
43947
  return ce(Oe, [{
43961
43948
  key: "extendToolbar",
43962
43949
  value: function(Ie) {
43963
- Ie.container.classList.add("ql-snow"), this.buildButtons([].slice.call(Ie.container.querySelectorAll("button")), Ce.default), this.buildPickers([].slice.call(Ie.container.querySelectorAll("select")), Ce.default), this.tooltip = new Be(this.quill, this.options.bounds), Ie.container.querySelector(".ql-link") && this.quill.keyboard.addBinding({ key: "K", shortKey: !0 }, function(Ne, Ge) {
43950
+ Ie.container.classList.add("ql-snow"), this.buildButtons([].slice.call(Ie.container.querySelectorAll("button")), Ce.default), this.buildPickers([].slice.call(Ie.container.querySelectorAll("select")), Ce.default), this.tooltip = new je(this.quill, this.options.bounds), Ie.container.querySelector(".ql-link") && this.quill.keyboard.addBinding({ key: "K", shortKey: !0 }, function(Ne, Ge) {
43964
43951
  Ie.handlers.link.call(Ie, !Ge.format.link);
43965
43952
  });
43966
43953
  }
@@ -43985,7 +43972,7 @@ function requireQuill() {
43985
43972
  }
43986
43973
  }
43987
43974
  });
43988
- var Be = (function(Pe) {
43975
+ var je = (function(Pe) {
43989
43976
  Le(Oe, Pe);
43990
43977
  function Oe(qe, Ie) {
43991
43978
  we(this, Oe);
@@ -44027,7 +44014,7 @@ function requireQuill() {
44027
44014
  }
44028
44015
  }]), Oe;
44029
44016
  })(be.BaseTooltip);
44030
- Be.TEMPLATE = ['<a class="ql-preview" target="_blank" href="about:blank"></a>', '<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">', '<a class="ql-action"></a>', '<a class="ql-remove"></a>'].join(""), re.default = Fe;
44017
+ je.TEMPLATE = ['<a class="ql-preview" target="_blank" href="about:blank"></a>', '<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">', '<a class="ql-action"></a>', '<a class="ql-remove"></a>'].join(""), re.default = Fe;
44031
44018
  }),
44032
44019
  /* 64 */
44033
44020
  /***/
@@ -44035,7 +44022,7 @@ function requireQuill() {
44035
44022
  Object.defineProperty(re, "__esModule", {
44036
44023
  value: !0
44037
44024
  });
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);
44025
+ 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), je = $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), Be = $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);
44039
44026
  function $t(Mt) {
44040
44027
  return Mt && Mt.__esModule ? Mt : { default: Mt };
44041
44028
  }
@@ -44068,14 +44055,14 @@ function requireQuill() {
44068
44055
  "formats/bold": Ae.default,
44069
44056
  "formats/code": Ye.Code,
44070
44057
  "formats/italic": ze.default,
44071
- "formats/link": Be.default,
44058
+ "formats/link": je.default,
44072
44059
  "formats/script": Oe.default,
44073
44060
  "formats/strike": Ie.default,
44074
44061
  "formats/underline": Ge.default,
44075
44062
  "formats/image": Ke.default,
44076
44063
  "formats/video": Je.default,
44077
44064
  "formats/list/item": ve.ListItem,
44078
- "modules/formula": je.default,
44065
+ "modules/formula": Be.default,
44079
44066
  "modules/syntax": tt.default,
44080
44067
  "modules/toolbar": Qe.default,
44081
44068
  "themes/bubble": vt.default,
@@ -44265,8 +44252,8 @@ function requireQuill() {
44265
44252
  Ae === null && (Ae = Function.prototype);
44266
44253
  var Fe = Object.getOwnPropertyDescriptor(Ae, Le);
44267
44254
  if (Fe === void 0) {
44268
- var Be = Object.getPrototypeOf(Ae);
44269
- return Be === null ? void 0 : we(Be, Le, ze);
44255
+ var je = Object.getPrototypeOf(Ae);
44256
+ return je === null ? void 0 : we(je, Le, ze);
44270
44257
  } else {
44271
44258
  if ("value" in Fe)
44272
44259
  return Fe.value;
@@ -44326,8 +44313,8 @@ function requireQuill() {
44326
44313
  ye(Ae, we), oe(Ae, null, [{
44327
44314
  key: "create",
44328
44315
  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;
44316
+ var Fe = ze === "ordered" ? "OL" : "UL", je = de(Ae.__proto__ || Object.getPrototypeOf(Ae), "create", this).call(this, Fe);
44317
+ return (ze === "checked" || ze === "unchecked") && je.setAttribute("data-checked", ze === "checked"), je;
44331
44318
  }
44332
44319
  }, {
44333
44320
  key: "formats",
@@ -44363,7 +44350,7 @@ function requireQuill() {
44363
44350
  if (ze instanceof Ce)
44364
44351
  de(Ae.prototype.__proto__ || Object.getPrototypeOf(Ae.prototype), "insertBefore", this).call(this, ze, Fe);
44365
44352
  else {
44366
- var Be = Fe == null ? this.length() : Fe.offset(this), Pe = this.split(Be);
44353
+ var je = Fe == null ? this.length() : Fe.offset(this), Pe = this.split(je);
44367
44354
  Pe.parent.insertBefore(ze, Pe);
44368
44355
  }
44369
44356
  }
@@ -44748,8 +44735,8 @@ function requireQuill() {
44748
44735
  } else {
44749
44736
  if ("value" in ze)
44750
44737
  return ze.value;
44751
- var Be = ze.get;
44752
- return Be === void 0 ? void 0 : Be.call(Le);
44738
+ var je = ze.get;
44739
+ return je === void 0 ? void 0 : je.call(Le);
44753
44740
  }
44754
44741
  }, ce = ne(36), ue = ge(ce), he = ne(5), pe = ge(he), fe = ne(9), be = ge(fe);
44755
44742
  function ge(Se) {
@@ -44817,25 +44804,25 @@ function requireQuill() {
44817
44804
  }), re.default = re.CodeToken = re.CodeBlock = void 0;
44818
44805
  var oe = /* @__PURE__ */ (function() {
44819
44806
  function Le(ze, Fe) {
44820
- for (var Be = 0; Be < Fe.length; Be++) {
44821
- var Pe = Fe[Be];
44807
+ for (var je = 0; je < Fe.length; je++) {
44808
+ var Pe = Fe[je];
44822
44809
  Pe.enumerable = Pe.enumerable || !1, Pe.configurable = !0, "value" in Pe && (Pe.writable = !0), Object.defineProperty(ze, Pe.key, Pe);
44823
44810
  }
44824
44811
  }
44825
- return function(ze, Fe, Be) {
44826
- return Fe && Le(ze.prototype, Fe), Be && Le(ze, Be), ze;
44812
+ return function(ze, Fe, je) {
44813
+ return Fe && Le(ze.prototype, Fe), je && Le(ze, je), ze;
44827
44814
  };
44828
- })(), de = function Le(ze, Fe, Be) {
44815
+ })(), de = function Le(ze, Fe, je) {
44829
44816
  ze === null && (ze = Function.prototype);
44830
44817
  var Pe = Object.getOwnPropertyDescriptor(ze, Fe);
44831
44818
  if (Pe === void 0) {
44832
44819
  var Oe = Object.getPrototypeOf(ze);
44833
- return Oe === null ? void 0 : Le(Oe, Fe, Be);
44820
+ return Oe === null ? void 0 : Le(Oe, Fe, je);
44834
44821
  } else {
44835
44822
  if ("value" in Pe)
44836
44823
  return Pe.value;
44837
44824
  var qe = Pe.get;
44838
- return qe === void 0 ? void 0 : qe.call(Be);
44825
+ return qe === void 0 ? void 0 : qe.call(je);
44839
44826
  }
44840
44827
  }, 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
44828
  function me(Le) {
@@ -44862,14 +44849,14 @@ function requireQuill() {
44862
44849
  }
44863
44850
  return oe(ze, [{
44864
44851
  key: "replaceWith",
44865
- 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
+ value: function(je) {
44853
+ this.domNode.textContent = this.domNode.textContent, this.attach(), de(ze.prototype.__proto__ || Object.getPrototypeOf(ze.prototype), "replaceWith", this).call(this, je);
44867
44854
  }
44868
44855
  }, {
44869
44856
  key: "highlight",
44870
- value: function(Be) {
44857
+ value: function(je) {
44871
44858
  var Pe = this.domNode.textContent;
44872
- this.cachedText !== Pe && ((Pe.trim().length > 0 || this.cachedText == null) && (this.domNode.innerHTML = Be(Pe), this.domNode.normalize(), this.attach()), this.cachedText = Pe);
44859
+ this.cachedText !== Pe && ((Pe.trim().length > 0 || this.cachedText == null) && (this.domNode.innerHTML = je(Pe), this.domNode.normalize(), this.attach()), this.cachedText = Pe);
44873
44860
  }
44874
44861
  }]), ze;
44875
44862
  })(ve.default);
@@ -44883,9 +44870,9 @@ function requireQuill() {
44883
44870
  pe.default.register(we, !0), pe.default.register(Se, !0);
44884
44871
  }
44885
44872
  }]);
44886
- function ze(Fe, Be) {
44873
+ function ze(Fe, je) {
44887
44874
  _e(this, ze);
44888
- var Pe = ye(this, (ze.__proto__ || Object.getPrototypeOf(ze)).call(this, Fe, Be));
44875
+ var Pe = ye(this, (ze.__proto__ || Object.getPrototypeOf(ze)).call(this, Fe, je));
44889
44876
  if (typeof Pe.options.highlight != "function")
44890
44877
  throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");
44891
44878
  var Oe = null;
@@ -44898,12 +44885,12 @@ function requireQuill() {
44898
44885
  return oe(ze, [{
44899
44886
  key: "highlight",
44900
44887
  value: function() {
44901
- var Be = this;
44888
+ var je = this;
44902
44889
  if (!this.quill.selection.composing) {
44903
44890
  this.quill.update(pe.default.sources.USER);
44904
44891
  var Pe = this.quill.getSelection();
44905
44892
  this.quill.scroll.descendants(Se).forEach(function(Oe) {
44906
- Oe.highlight(Be.options.highlight);
44893
+ Oe.highlight(je.options.highlight);
44907
44894
  }), this.quill.update(pe.default.sources.SILENT), Pe != null && this.quill.setSelection(Pe, pe.default.sources.SILENT);
44908
44895
  }
44909
44896
  }
@@ -45085,12 +45072,12 @@ function requireQuill() {
45085
45072
  Object.defineProperty(re, "__esModule", {
45086
45073
  value: !0
45087
45074
  }), re.default = re.BubbleTooltip = void 0;
45088
- var oe = function ze(Fe, Be, Pe) {
45075
+ var oe = function ze(Fe, je, Pe) {
45089
45076
  Fe === null && (Fe = Function.prototype);
45090
- var Oe = Object.getOwnPropertyDescriptor(Fe, Be);
45077
+ var Oe = Object.getOwnPropertyDescriptor(Fe, je);
45091
45078
  if (Oe === void 0) {
45092
45079
  var qe = Object.getPrototypeOf(Fe);
45093
- return qe === null ? void 0 : ze(qe, Be, Pe);
45080
+ return qe === null ? void 0 : ze(qe, je, Pe);
45094
45081
  } else {
45095
45082
  if ("value" in Oe)
45096
45083
  return Oe.value;
@@ -45098,14 +45085,14 @@ function requireQuill() {
45098
45085
  return Ie === void 0 ? void 0 : Ie.call(Pe);
45099
45086
  }
45100
45087
  }, de = /* @__PURE__ */ (function() {
45101
- function ze(Fe, Be) {
45102
- for (var Pe = 0; Pe < Be.length; Pe++) {
45103
- var Oe = Be[Pe];
45088
+ function ze(Fe, je) {
45089
+ for (var Pe = 0; Pe < je.length; Pe++) {
45090
+ var Oe = je[Pe];
45104
45091
  Oe.enumerable = Oe.enumerable || !1, Oe.configurable = !0, "value" in Oe && (Oe.writable = !0), Object.defineProperty(Fe, Oe.key, Oe);
45105
45092
  }
45106
45093
  }
45107
- return function(Fe, Be, Pe) {
45108
- return Be && ze(Fe.prototype, Be), Pe && ze(Fe, Pe), Fe;
45094
+ return function(Fe, je, Pe) {
45095
+ return je && ze(Fe.prototype, je), Pe && ze(Fe, Pe), Fe;
45109
45096
  };
45110
45097
  })(), 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
45098
  function _e(ze) {
@@ -45127,9 +45114,9 @@ function requireQuill() {
45127
45114
  }
45128
45115
  var we = [["bold", "italic", "link"], [{ header: 1 }, { header: 2 }, "blockquote"]], Ae = (function(ze) {
45129
45116
  Se(Fe, ze);
45130
- function Fe(Be, Pe) {
45117
+ function Fe(je, Pe) {
45131
45118
  ye(this, Fe), Pe.modules.toolbar != null && Pe.modules.toolbar.container == null && (Pe.modules.toolbar.container = we);
45132
- var Oe = Ce(this, (Fe.__proto__ || Object.getPrototypeOf(Fe)).call(this, Be, Pe));
45119
+ var Oe = Ce(this, (Fe.__proto__ || Object.getPrototypeOf(Fe)).call(this, je, Pe));
45133
45120
  return Oe.quill.container.classList.add("ql-bubble"), Oe;
45134
45121
  }
45135
45122
  return de(Fe, [{
@@ -45152,9 +45139,9 @@ function requireQuill() {
45152
45139
  });
45153
45140
  var Le = (function(ze) {
45154
45141
  Se(Fe, ze);
45155
- function Fe(Be, Pe) {
45142
+ function Fe(je, Pe) {
45156
45143
  ye(this, Fe);
45157
- var Oe = Ce(this, (Fe.__proto__ || Object.getPrototypeOf(Fe)).call(this, Be, Pe));
45144
+ var Oe = Ce(this, (Fe.__proto__ || Object.getPrototypeOf(Fe)).call(this, je, Pe));
45158
45145
  return Oe.quill.on(pe.default.events.EDITOR_CHANGE, function(qe, Ie, Ne, Ge) {
45159
45146
  if (qe === pe.default.events.SELECTION_CHANGE)
45160
45147
  if (Ie != null && Ie.length > 0 && Ge === pe.default.sources.USER) {
@@ -45236,10 +45223,10 @@ const Quill = /* @__PURE__ */ getDefaultExportFromCjs(quillExports), styles$1 =
45236
45223
  }
45237
45224
  X.blotName = "customAttributes", X.tagName = "FONT", te.register(X, !0);
45238
45225
  };
45239
- var __defProp$2 = Object.defineProperty, __decorateClass$2 = (te, J, X, re) => {
45226
+ var __defProp$3 = Object.defineProperty, __decorateClass$3 = (te, J, X, re) => {
45240
45227
  for (var ne = void 0, oe = te.length - 1, de; oe >= 0; oe--)
45241
45228
  (de = te[oe]) && (ne = de(J, X, ne) || ne);
45242
- return ne && __defProp$2(J, X, ne), ne;
45229
+ return ne && __defProp$3(J, X, ne), ne;
45243
45230
  };
45244
45231
  fixSpellCheckerIssue(Quill);
45245
45232
  const Xs = class Xs extends h$o {
@@ -45402,29 +45389,29 @@ Xs.styles = i$D`
45402
45389
  ${r$H(styles$1)}
45403
45390
  `;
45404
45391
  let PrimariaRichTextEditor = Xs;
45405
- __decorateClass$2([
45392
+ __decorateClass$3([
45406
45393
  n$z()
45407
45394
  ], PrimariaRichTextEditor.prototype, "quill");
45408
- __decorateClass$2([
45395
+ __decorateClass$3([
45409
45396
  n$z()
45410
45397
  ], PrimariaRichTextEditor.prototype, "options");
45411
- __decorateClass$2([
45398
+ __decorateClass$3([
45412
45399
  n$z({ type: Object })
45413
45400
  ], PrimariaRichTextEditor.prototype, "range");
45414
- __decorateClass$2([
45401
+ __decorateClass$3([
45415
45402
  n$z({ type: Array })
45416
45403
  ], PrimariaRichTextEditor.prototype, "availableOptions");
45417
- __decorateClass$2([
45404
+ __decorateClass$3([
45418
45405
  n$z({ type: Array })
45419
45406
  ], PrimariaRichTextEditor.prototype, "availableFormats");
45420
- __decorateClass$2([
45407
+ __decorateClass$3([
45421
45408
  n$z()
45422
45409
  ], PrimariaRichTextEditor.prototype, "formats");
45423
45410
  const styles = ":host{margin:0 auto}.limit-alert{padding-top:8px;padding-bottom:8px}";
45424
- var __defProp$1 = Object.defineProperty, __decorateClass$1 = (te, J, X, re) => {
45411
+ var __defProp$2 = Object.defineProperty, __decorateClass$2 = (te, J, X, re) => {
45425
45412
  for (var ne = void 0, oe = te.length - 1, de; oe >= 0; oe--)
45426
45413
  (de = te[oe]) && (ne = de(J, X, ne) || ne);
45427
- return ne && __defProp$1(J, X, ne), ne;
45414
+ return ne && __defProp$2(J, X, ne), ne;
45428
45415
  };
45429
45416
  const ei = class ei extends h$o {
45430
45417
  constructor() {
@@ -45445,17 +45432,83 @@ ei.styles = i$D`
45445
45432
  ${r$H(styles)}
45446
45433
  `;
45447
45434
  let PrimariaCharacterLimitBadge = ei;
45448
- __decorateClass$1([
45435
+ __decorateClass$2([
45449
45436
  n$z({ type: Number })
45450
45437
  ], PrimariaCharacterLimitBadge.prototype, "characterCount");
45451
- __decorateClass$1([
45438
+ __decorateClass$2([
45452
45439
  n$z({ type: Number })
45453
45440
  ], PrimariaCharacterLimitBadge.prototype, "characterLimit");
45454
- __decorateClass$1([
45441
+ __decorateClass$2([
45455
45442
  n$z({ type: String })
45456
45443
  ], PrimariaCharacterLimitBadge.prototype, "label");
45444
+ var __defProp$1 = Object.defineProperty, __decorateClass$1 = (te, J, X, re) => {
45445
+ for (var ne = void 0, oe = te.length - 1, de; oe >= 0; oe--)
45446
+ (de = te[oe]) && (ne = de(J, X, ne) || ne);
45447
+ return ne && __defProp$1(J, X, ne), ne;
45448
+ };
45449
+ class PrimariaRegion extends PrimariaRegionHost(h$o) {
45450
+ constructor() {
45451
+ super(), this.name = "", this._instanceConstructor = Object.create(this.constructor), Object.defineProperty(this, "constructor", {
45452
+ get: () => this._instanceConstructor,
45453
+ configurable: !0
45454
+ });
45455
+ }
45456
+ /**
45457
+ * Render in light DOM instead of shadow DOM.
45458
+ * This allows the region content to be visible in the parent's DOM tree.
45459
+ */
45460
+ createRenderRoot() {
45461
+ return this;
45462
+ }
45463
+ /**
45464
+ * Override shadowRoot getter to return this (light DOM) instead of null.
45465
+ * The region mixin tries to find elements using shadowRoot.querySelector(),
45466
+ * so we need to make it work with light DOM.
45467
+ */
45468
+ get shadowRoot() {
45469
+ return this;
45470
+ }
45471
+ /**
45472
+ * Called when the component is connected to the DOM.
45473
+ * Sets up the region definition before the parent connectedCallback runs.
45474
+ */
45475
+ connectedCallback() {
45476
+ if (h$o.prototype.connectedCallback.call(this), this.name) {
45477
+ const J = `${this.name}-container`, X = document.createElement("div");
45478
+ X.id = J, X.style.cssText = "width: 100%; height: 100%; min-height: 1px", this.appendChild(X), this._instanceConstructor[o$T] = {
45479
+ ...this._instanceConstructor[o$T],
45480
+ region: { targetId: J, name: this.name }
45481
+ }, this.create && this.create();
45482
+ const re = Object.getPrototypeOf(this), ne = Object.getPrototypeOf(re);
45483
+ ne.connectedCallback && ne.connectedCallback.call(this);
45484
+ }
45485
+ }
45486
+ /**
45487
+ * Called before the component updates.
45488
+ * Updates the region definition if the name changes.
45489
+ */
45490
+ willUpdate(J) {
45491
+ if (super.willUpdate(J), this.name && J.has("name")) {
45492
+ const X = `${this.name}-container`;
45493
+ this._instanceConstructor[o$T] = {
45494
+ ...this._instanceConstructor[o$T],
45495
+ region: { targetId: X, name: this.name }
45496
+ };
45497
+ }
45498
+ }
45499
+ /**
45500
+ * Renders nothing because we create the container div manually in connectedCallback.
45501
+ * This is necessary because the mixin needs the div to exist before it tries to create the region.
45502
+ */
45503
+ render() {
45504
+ return ke$1``;
45505
+ }
45506
+ }
45507
+ __decorateClass$1([
45508
+ n$z({ type: String })
45509
+ ], PrimariaRegion.prototype, "name");
45457
45510
  const useSharedUI = () => {
45458
- t$k("primaria-content-switcher")(PrimariaContentSwitcher), t$k("primaria-nav-item")(PrimariaNavItem), t$k("primaria-rich-text-editor")(PrimariaRichTextEditor), t$k("primaria-nav-tree-menu")(PrimariaNavTreeMenu), t$k("primaria-character-limit-badge")(PrimariaCharacterLimitBadge);
45511
+ t$k("primaria-content-switcher")(PrimariaContentSwitcher), t$k("primaria-nav-item")(PrimariaNavItem), t$k("primaria-rich-text-editor")(PrimariaRichTextEditor), t$k("primaria-nav-tree-menu")(PrimariaNavTreeMenu), t$k("primaria-character-limit-badge")(PrimariaCharacterLimitBadge), t$k("primaria-region")(PrimariaRegion);
45459
45512
  }, getPatientCip = async (te) => await te.broker.send("get_patient_cip"), navigateToEcapWithoutClosingWithCip = async (te) => {
45460
45513
  const J = await getPatientCip(shellApi);
45461
45514
  shellApi.ecapEventManager.publish(te, "NO_TANCAR", { CIP: J });
@@ -46009,25 +46062,26 @@ export {
46009
46062
  shellApi as a,
46010
46063
  t$k as b,
46011
46064
  PrimariaNavItem as c,
46012
- createEcapEventManager as d,
46013
- initializeShell as e,
46014
- disposeShell as f,
46015
- raiseCloseEvent as g,
46065
+ PrimariaRegion as d,
46066
+ createEcapEventManager as e,
46067
+ initializeShell as f,
46068
+ disposeShell as g,
46016
46069
  h$o as h,
46017
46070
  i$D as i,
46018
- raiseCustomCloseEvent as j,
46071
+ raiseCloseEvent as j,
46019
46072
  ke$1 as k,
46020
- shellRegions as l,
46021
- clinicalMonitoringRegions as m,
46022
- bootstrapPlugins as n,
46023
- handleStartupPlugin as o,
46024
- disposePlugins as p,
46025
- primariaApiFactory as q,
46073
+ raiseCustomCloseEvent as l,
46074
+ shellRegions as m,
46075
+ clinicalMonitoringRegions as n,
46076
+ bootstrapPlugins as o,
46077
+ handleStartupPlugin as p,
46078
+ disposePlugins as q,
46026
46079
  r$H as r,
46027
46080
  s$B as s,
46028
46081
  translate$1 as t,
46029
- PrimariaContentSwitcher as u,
46030
- h as v,
46031
- PrimariaInteractionService as w
46082
+ primariaApiFactory as u,
46083
+ PrimariaContentSwitcher as v,
46084
+ h as w,
46085
+ PrimariaInteractionService as x
46032
46086
  };
46033
- //# sourceMappingURL=index-cueNwNYW.js.map
46087
+ //# sourceMappingURL=index-CEAb6DC3.js.map