@digipair/skill-web-pdf 0.94.0-4 → 0.95.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.
@@ -1,12 +1,32 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ function _interopNamespace(e) {
6
+ if (e && e.__esModule) return e;
7
+ var n = Object.create(null);
8
+ if (e) {
9
+ Object.keys(e).forEach(function (k) {
10
+ if (k !== 'default') {
11
+ var d = Object.getOwnPropertyDescriptor(e, k);
12
+ Object.defineProperty(n, k, d.get ? d : {
13
+ enumerable: true,
14
+ get: function () { return e[k]; }
15
+ });
16
+ }
17
+ });
18
+ }
19
+ n["default"] = e;
20
+ return Object.freeze(n);
21
+ }
22
+
3
23
  function __decorate(decorators, target, key, desc) {
4
24
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
5
25
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
6
26
  else for(var i = decorators.length - 1; i >= 0; i--)if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
7
27
  return c > 3 && r && Object.defineProperty(target, key, r), r;
8
28
  }
9
- typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message) {
29
+ typeof SuppressedError === "function" ? SuppressedError : function _SuppressedError(error, suppressed, message) {
10
30
  var e = new Error(message);
11
31
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
12
32
  };
@@ -31,6 +51,7 @@ function _defineProperties$3(target, props) {
31
51
  }
32
52
  function _create_class$3(Constructor, protoProps, staticProps) {
33
53
  if (protoProps) _defineProperties$3(Constructor.prototype, protoProps);
54
+ if (staticProps) _defineProperties$3(Constructor, staticProps);
34
55
  return Constructor;
35
56
  }
36
57
  function _instanceof(left, right) {
@@ -40,11 +61,11 @@ function _instanceof(left, right) {
40
61
  return left instanceof right;
41
62
  }
42
63
  }
43
- var t$2 = globalThis, e$2 = t$2.ShadowRoot && (void 0 === t$2.ShadyCSS || t$2.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, s$2 = Symbol(), o$4 = new WeakMap;
64
+ var t$2 = globalThis, e$2 = t$2.ShadowRoot && (void 0 === t$2.ShadyCSS || t$2.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, s$1 = Symbol(), o$3 = new WeakMap;
44
65
  var n$3 = /*#__PURE__*/ function() {
45
66
  function n(t, e, o) {
46
67
  _class_call_check$3(this, n);
47
- if (this._$cssResult$ = true, o !== s$2) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
68
+ if (this._$cssResult$ = !0, o !== s$1) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
48
69
  this.cssText = t, this.t = e;
49
70
  }
50
71
  _create_class$3(n, [
@@ -55,7 +76,7 @@ var n$3 = /*#__PURE__*/ function() {
55
76
  var s = this.t;
56
77
  if (e$2 && void 0 === t) {
57
78
  var e1 = void 0 !== s && 1 === s.length;
58
- e1 && (t = o$4.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet).replaceSync(this.cssText), e1 && o$4.set(s, t));
79
+ e1 && (t = o$3.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet).replaceSync(this.cssText), e1 && o$3.set(s, t));
59
80
  }
60
81
  return t;
61
82
  }
@@ -69,20 +90,20 @@ var n$3 = /*#__PURE__*/ function() {
69
90
  ]);
70
91
  return n;
71
92
  }();
72
- var r$4 = function(t) {
73
- return new n$3("string" == typeof t ? t : t + "", void 0, s$2);
93
+ var r$5 = function(t) {
94
+ return new n$3("string" == typeof t ? t : t + "", void 0, s$1);
74
95
  }, i$3 = function(t) {
75
96
  for(var _len = arguments.length, e = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
76
97
  e[_key - 1] = arguments[_key];
77
98
  }
78
99
  var o = 1 === t.length ? t[0] : e.reduce(function(e, s, o) {
79
100
  return e + function(t) {
80
- if (true === t._$cssResult$) return t.cssText;
101
+ if (!0 === t._$cssResult$) return t.cssText;
81
102
  if ("number" == typeof t) return t;
82
103
  throw Error("Value passed to 'css' function must be a 'css' function result: " + t + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
83
104
  }(s) + t[o + 1];
84
105
  }, t[0]);
85
- return new n$3(o, t, s$2);
106
+ return new n$3(o, t, s$1);
86
107
  }, S$1 = function(s, o) {
87
108
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
88
109
  if (e$2) s.adoptedStyleSheets = o.map(function(t) {
@@ -133,7 +154,7 @@ var r$4 = function(t) {
133
154
  }
134
155
  }
135
156
  }
136
- return r$4(e);
157
+ return r$5(e);
137
158
  }(t) : t;
138
159
  };
139
160
 
@@ -275,7 +296,7 @@ function _non_iterable_spread$1() {
275
296
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
276
297
  }
277
298
  function _possible_constructor_return$2(self, call) {
278
- if (call && (_type_of$3(call) === "object" || typeof call === "function")) {
299
+ if (call && (_type_of$2(call) === "object" || typeof call === "function")) {
279
300
  return call;
280
301
  }
281
302
  return _assert_this_initialized$2(self);
@@ -293,7 +314,7 @@ function _sliced_to_array$1(arr, i) {
293
314
  function _to_consumable_array$1(arr) {
294
315
  return _array_without_holes$1(arr) || _iterable_to_array$1(arr) || _unsupported_iterable_to_array$1(arr) || _non_iterable_spread$1();
295
316
  }
296
- function _type_of$3(obj) {
317
+ function _type_of$2(obj) {
297
318
  "@swc/helpers - typeof";
298
319
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
299
320
  }
@@ -455,7 +476,7 @@ var _Symbol, _a, _a1;
455
476
  * @license
456
477
  * Copyright 2017 Google LLC
457
478
  * SPDX-License-Identifier: BSD-3-Clause
458
- */ var i$2 = Object.is, e$1 = Object.defineProperty, h$1 = Object.getOwnPropertyDescriptor, r$3 = Object.getOwnPropertyNames, o$3 = Object.getOwnPropertySymbols, n$2 = Object.getPrototypeOf, a$1 = globalThis, c$1 = a$1.trustedTypes, l$1 = c$1 ? c$1.emptyScript : "", p$1 = a$1.reactiveElementPolyfillSupport, d$1 = function(t, s) {
479
+ */ var i$2 = Object.is, e$1 = Object.defineProperty, r$4 = Object.getOwnPropertyDescriptor, h$1 = Object.getOwnPropertyNames, o$2 = Object.getOwnPropertySymbols, n$2 = Object.getPrototypeOf, a$1 = globalThis, c$1 = a$1.trustedTypes, l$1 = c$1 ? c$1.emptyScript : "", p$1 = a$1.reactiveElementPolyfillSupport, d$1 = function(t, s) {
459
480
  return t;
460
481
  }, u$1 = {
461
482
  toAttribute: function toAttribute(t, s) {
@@ -490,26 +511,25 @@ var _Symbol, _a, _a1;
490
511
  }
491
512
  }, f$1 = function(t, s) {
492
513
  return !i$2(t, s);
493
- }, b = {
494
- attribute: true,
514
+ }, y$1 = {
515
+ attribute: !0,
495
516
  type: String,
496
517
  converter: u$1,
497
- reflect: false,
498
- useDefault: false,
518
+ reflect: !1,
499
519
  hasChanged: f$1
500
520
  };
501
521
  var _metadata, _litPropertyMetadata;
502
522
  (_metadata = (_Symbol = Symbol).metadata) !== null && _metadata !== void 0 ? _metadata : _Symbol.metadata = Symbol("metadata"), (_litPropertyMetadata = (_a = a$1).litPropertyMetadata) !== null && _litPropertyMetadata !== void 0 ? _litPropertyMetadata : _a.litPropertyMetadata = new WeakMap;
503
- var y$1 = /*#__PURE__*/ function(HTMLElement1) {
504
- _inherits$2(y, HTMLElement1);
505
- var _super = _create_super$2(y);
506
- function y() {
507
- _class_call_check$2(this, y);
523
+ var b = /*#__PURE__*/ function(HTMLElement1) {
524
+ _inherits$2(b, HTMLElement1);
525
+ var _super = _create_super$2(b);
526
+ function b() {
527
+ _class_call_check$2(this, b);
508
528
  var _this;
509
- _this = _super.call(this), _this._$Ep = void 0, _this.isUpdatePending = false, _this.hasUpdated = false, _this._$Em = null, _this._$Ev();
529
+ _this = _super.call(this), _this._$Ep = void 0, _this.isUpdatePending = !1, _this.hasUpdated = !1, _this._$Em = null, _this._$Ev();
510
530
  return _possible_constructor_return$2(_this);
511
531
  }
512
- _create_class$2(y, [
532
+ _create_class$2(b, [
513
533
  {
514
534
  key: "_$Ev",
515
535
  value: function _$Ev() {
@@ -577,7 +597,7 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
577
597
  value: function connectedCallback() {
578
598
  var _this__$EO;
579
599
  var _this_renderRoot;
580
- (_this_renderRoot = this.renderRoot) !== null && _this_renderRoot !== void 0 ? _this_renderRoot : this.renderRoot = this.createRenderRoot(), this.enableUpdating(true), (_this__$EO = this._$EO) === null || _this__$EO === void 0 ? void 0 : _this__$EO.forEach(function(t) {
600
+ (_this_renderRoot = this.renderRoot) !== null && _this_renderRoot !== void 0 ? _this_renderRoot : this.renderRoot = this.createRenderRoot(), this.enableUpdating(!0), (_this__$EO = this._$EO) === null || _this__$EO === void 0 ? void 0 : _this__$EO.forEach(function(t) {
581
601
  var _t_hostConnected;
582
602
  return (_t_hostConnected = t.hostConnected) === null || _t_hostConnected === void 0 ? void 0 : _t_hostConnected.call(t);
583
603
  });
@@ -604,13 +624,13 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
604
624
  }
605
625
  },
606
626
  {
607
- key: "_$ET",
608
- value: function _$ET(t, s) {
627
+ key: "_$EC",
628
+ value: function _$EC(t, s) {
609
629
  var i = this.constructor.elementProperties.get(t), e = this.constructor._$Eu(t, i);
610
- if (void 0 !== e && true === i.reflect) {
630
+ if (void 0 !== e && !0 === i.reflect) {
611
631
  var _i_converter;
612
- var h = (void 0 !== ((_i_converter = i.converter) === null || _i_converter === void 0 ? void 0 : _i_converter.toAttribute) ? i.converter : u$1).toAttribute(s, i.type);
613
- this._$Em = t, null == h ? this.removeAttribute(e) : this.setAttribute(e, h), this._$Em = null;
632
+ var r = (void 0 !== ((_i_converter = i.converter) === null || _i_converter === void 0 ? void 0 : _i_converter.toAttribute) ? i.converter : u$1).toAttribute(s, i.type);
633
+ this._$Em = t, null == r ? this.removeAttribute(e) : this.setAttribute(e, r), this._$Em = null;
614
634
  }
615
635
  }
616
636
  },
@@ -619,12 +639,11 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
619
639
  value: function _$AK(t, s) {
620
640
  var i = this.constructor, e = i._$Eh.get(t);
621
641
  if (void 0 !== e && this._$Em !== e) {
622
- var _t_converter, _this__$Ej;
623
- var _$t = i.getPropertyOptions(e), h = "function" == typeof _$t.converter ? {
642
+ var _t_converter;
643
+ var _$t = i.getPropertyOptions(e), r = "function" == typeof _$t.converter ? {
624
644
  fromAttribute: _$t.converter
625
645
  } : void 0 !== ((_t_converter = _$t.converter) === null || _t_converter === void 0 ? void 0 : _t_converter.fromAttribute) ? _$t.converter : u$1;
626
- var _h_fromAttribute, _ref;
627
- this._$Em = e, this[e] = (_ref = (_h_fromAttribute = h.fromAttribute(s, _$t.type)) !== null && _h_fromAttribute !== void 0 ? _h_fromAttribute : (_this__$Ej = this._$Ej) === null || _this__$Ej === void 0 ? void 0 : _this__$Ej.get(e)) !== null && _ref !== void 0 ? _ref : null, this._$Em = null;
646
+ this._$Em = e, this[e] = r.fromAttribute(s, _$t.type), this._$Em = null;
628
647
  }
629
648
  }
630
649
  },
@@ -632,33 +651,30 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
632
651
  key: "requestUpdate",
633
652
  value: function requestUpdate(t, s, i) {
634
653
  if (void 0 !== t) {
635
- var _this__$Ej;
636
- var e = this.constructor, h = this[t];
637
654
  var _i_hasChanged;
638
- if (i !== null && i !== void 0 ? i : i = e.getPropertyOptions(t), !(((_i_hasChanged = i.hasChanged) !== null && _i_hasChanged !== void 0 ? _i_hasChanged : f$1)(h, s) || i.useDefault && i.reflect && h === ((_this__$Ej = this._$Ej) === null || _this__$Ej === void 0 ? void 0 : _this__$Ej.get(t)) && !this.hasAttribute(e._$Eu(t, i)))) return;
639
- this.C(t, s, i);
655
+ if (i !== null && i !== void 0 ? i : i = this.constructor.getPropertyOptions(t), !((_i_hasChanged = i.hasChanged) !== null && _i_hasChanged !== void 0 ? _i_hasChanged : f$1)(this[t], s)) return;
656
+ this.P(t, s, i);
640
657
  }
641
- false === this.isUpdatePending && (this._$ES = this._$EP());
658
+ !1 === this.isUpdatePending && (this._$ES = this._$ET());
642
659
  }
643
660
  },
644
661
  {
645
- key: "C",
646
- value: function C(t, s, param, r) {
647
- var i = param.useDefault, e = param.reflect, h = param.wrapped;
648
- var _this__$Ej, _ref, _this__$Eq;
649
- i && !((_this__$Ej = this._$Ej) !== null && _this__$Ej !== void 0 ? _this__$Ej : this._$Ej = new Map).has(t) && (this._$Ej.set(t, (_ref = r !== null && r !== void 0 ? r : s) !== null && _ref !== void 0 ? _ref : this[t]), true !== h || void 0 !== r) || (this._$AL.has(t) || (this.hasUpdated || i || (s = void 0), this._$AL.set(t, s)), true === e && this._$Em !== t && ((_this__$Eq = this._$Eq) !== null && _this__$Eq !== void 0 ? _this__$Eq : this._$Eq = new Set).add(t));
662
+ key: "P",
663
+ value: function P(t, s, i) {
664
+ var _this__$Ej;
665
+ this._$AL.has(t) || this._$AL.set(t, s), !0 === i.reflect && this._$Em !== t && ((_this__$Ej = this._$Ej) !== null && _this__$Ej !== void 0 ? _this__$Ej : this._$Ej = new Set).add(t);
650
666
  }
651
667
  },
652
668
  {
653
- key: "_$EP",
654
- value: function _$EP() {
669
+ key: "_$ET",
670
+ value: function _$ET() {
655
671
  var _this = this;
656
672
  return _async_to_generator(function() {
657
673
  var t, _$t, _tmp;
658
674
  return _ts_generator(this, function(_state) {
659
675
  switch(_state.label){
660
676
  case 0:
661
- _this.isUpdatePending = true;
677
+ _this.isUpdatePending = !0;
662
678
  _state.label = 1;
663
679
  case 1:
664
680
  _state.trys.push([
@@ -748,8 +764,7 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
748
764
  if (t1.size > 0) try {
749
765
  for(var _iterator1 = t1[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true){
750
766
  var _step_value1 = _sliced_to_array$1(_step1.value, 2), _$s1 = _step_value1[0], i = _step_value1[1];
751
- var t2 = i.wrapped, e = this[_$s1];
752
- !0 !== t2 || this._$AL.has(_$s1) || void 0 === e || this.C(_$s1, void 0, i, e);
767
+ !0 !== i.wrapped || this._$AL.has(_$s1) || void 0 === this[_$s1] || this.P(_$s1, this[_$s1], i);
753
768
  }
754
769
  } catch (err) {
755
770
  _didIteratorError1 = true;
@@ -766,18 +781,18 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
766
781
  }
767
782
  }
768
783
  }
769
- var t3 = false;
784
+ var t2 = !1;
770
785
  var _$s2 = this._$AL;
771
786
  try {
772
787
  var _this__$EO;
773
- t3 = this.shouldUpdate(_$s2), t3 ? (this.willUpdate(_$s2), (_this__$EO = this._$EO) === null || _this__$EO === void 0 ? void 0 : _this__$EO.forEach(function(t) {
788
+ t2 = this.shouldUpdate(_$s2), t2 ? (this.willUpdate(_$s2), (_this__$EO = this._$EO) === null || _this__$EO === void 0 ? void 0 : _this__$EO.forEach(function(t) {
774
789
  var _t_hostUpdate;
775
790
  return (_t_hostUpdate = t.hostUpdate) === null || _t_hostUpdate === void 0 ? void 0 : _t_hostUpdate.call(t);
776
- }), this.update(_$s2)) : this._$EM();
791
+ }), this.update(_$s2)) : this._$EU();
777
792
  } catch (s) {
778
- throw t3 = false, this._$EM(), s;
793
+ throw t2 = !1, this._$EU(), s;
779
794
  }
780
- t3 && this._$AE(_$s2);
795
+ t2 && this._$AE(_$s2);
781
796
  }
782
797
  },
783
798
  {
@@ -791,13 +806,13 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
791
806
  (_this__$EO = this._$EO) === null || _this__$EO === void 0 ? void 0 : _this__$EO.forEach(function(t) {
792
807
  var _t_hostUpdated;
793
808
  return (_t_hostUpdated = t.hostUpdated) === null || _t_hostUpdated === void 0 ? void 0 : _t_hostUpdated.call(t);
794
- }), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t)), this.updated(t);
809
+ }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
795
810
  }
796
811
  },
797
812
  {
798
- key: "_$EM",
799
- value: function _$EM() {
800
- this._$AL = new Map, this.isUpdatePending = false;
813
+ key: "_$EU",
814
+ value: function _$EU() {
815
+ this._$AL = new Map, this.isUpdatePending = !1;
801
816
  }
802
817
  },
803
818
  {
@@ -815,16 +830,16 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
815
830
  {
816
831
  key: "shouldUpdate",
817
832
  value: function shouldUpdate(t) {
818
- return true;
833
+ return !0;
819
834
  }
820
835
  },
821
836
  {
822
837
  key: "update",
823
838
  value: function update(t) {
824
839
  var _this = this;
825
- this._$Eq && (this._$Eq = this._$Eq.forEach(function(t) {
826
- return _this._$ET(t, _this[t]);
827
- })), this._$EM();
840
+ this._$Ej && (this._$Ej = this._$Ej.forEach(function(t) {
841
+ return _this._$EC(t, _this[t]);
842
+ })), this._$EU();
828
843
  }
829
844
  },
830
845
  {
@@ -852,33 +867,35 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
852
867
  {
853
868
  key: "createProperty",
854
869
  value: function createProperty(t) {
855
- var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : b;
856
- if (s.state && (s.attribute = false), this._$Ei(), this.prototype.hasOwnProperty(t) && ((s = Object.create(s)).wrapped = true), this.elementProperties.set(t, s), !s.noAccessor) {
857
- var i = Symbol(), h = this.getPropertyDescriptor(t, i, s);
858
- void 0 !== h && e$1(this.prototype, t, h);
870
+ var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : y$1;
871
+ if (s.state && (s.attribute = !1), this._$Ei(), this.elementProperties.set(t, s), !s.noAccessor) {
872
+ var i = Symbol(), r = this.getPropertyDescriptor(t, i, s);
873
+ void 0 !== r && e$1(this.prototype, t, r);
859
874
  }
860
875
  }
861
876
  },
862
877
  {
863
878
  key: "getPropertyDescriptor",
864
879
  value: function getPropertyDescriptor(t, s, i) {
865
- var _h;
866
- var _ref = (_h = h$1(this.prototype, t)) !== null && _h !== void 0 ? _h : {
880
+ var _r;
881
+ var _ref = (_r = r$4(this.prototype, t)) !== null && _r !== void 0 ? _r : {
867
882
  get: function get() {
868
883
  return this[s];
869
884
  },
870
885
  set: function set(t) {
871
886
  this[s] = t;
872
887
  }
873
- }, e = _ref.get, r = _ref.set;
888
+ }, e = _ref.get, h = _ref.set;
874
889
  return {
875
- get: e,
890
+ get: function get() {
891
+ return e === null || e === void 0 ? void 0 : e.call(this);
892
+ },
876
893
  set: function set(s) {
877
- var h = e === null || e === void 0 ? void 0 : e.call(this);
878
- r === null || r === void 0 ? void 0 : r.call(this, s), this.requestUpdate(t, h, i);
894
+ var r = e === null || e === void 0 ? void 0 : e.call(this);
895
+ h.call(this, s), this.requestUpdate(t, r, i);
879
896
  },
880
- configurable: true,
881
- enumerable: true
897
+ configurable: !0,
898
+ enumerable: !0
882
899
  };
883
900
  }
884
901
  },
@@ -886,7 +903,7 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
886
903
  key: "getPropertyOptions",
887
904
  value: function getPropertyOptions(t) {
888
905
  var _this_elementProperties_get;
889
- return (_this_elementProperties_get = this.elementProperties.get(t)) !== null && _this_elementProperties_get !== void 0 ? _this_elementProperties_get : b;
906
+ return (_this_elementProperties_get = this.elementProperties.get(t)) !== null && _this_elementProperties_get !== void 0 ? _this_elementProperties_get : y$1;
890
907
  }
891
908
  },
892
909
  {
@@ -901,8 +918,8 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
901
918
  key: "finalize",
902
919
  value: function finalize() {
903
920
  if (this.hasOwnProperty(d$1("finalized"))) return;
904
- if (this.finalized = true, this._$Ei(), this.hasOwnProperty(d$1("properties"))) {
905
- var t = this.properties, s = _to_consumable_array$1(r$3(t)).concat(_to_consumable_array$1(o$3(t)));
921
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(d$1("properties"))) {
922
+ var t = this.properties, s = _to_consumable_array$1(h$1(t)).concat(_to_consumable_array$1(o$2(t)));
906
923
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
907
924
  try {
908
925
  for(var _iterator = s[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
@@ -1007,18 +1024,18 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
1007
1024
  key: "_$Eu",
1008
1025
  value: function _$Eu(t, s) {
1009
1026
  var i = s.attribute;
1010
- return false === i ? void 0 : "string" == typeof i ? i : "string" == typeof t ? t.toLowerCase() : void 0;
1027
+ return !1 === i ? void 0 : "string" == typeof i ? i : "string" == typeof t ? t.toLowerCase() : void 0;
1011
1028
  }
1012
1029
  }
1013
1030
  ]);
1014
- return y;
1031
+ return b;
1015
1032
  }(_wrap_native_super(HTMLElement));
1016
1033
  var _reactiveElementVersions;
1017
- y$1.elementStyles = [], y$1.shadowRootOptions = {
1034
+ b.elementStyles = [], b.shadowRootOptions = {
1018
1035
  mode: "open"
1019
- }, y$1[d$1("elementProperties")] = new Map, y$1[d$1("finalized")] = new Map, p$1 === null || p$1 === void 0 ? void 0 : p$1({
1020
- ReactiveElement: y$1
1021
- }), ((_reactiveElementVersions = (_a1 = a$1).reactiveElementVersions) !== null && _reactiveElementVersions !== void 0 ? _reactiveElementVersions : _a1.reactiveElementVersions = []).push("2.1.0");
1036
+ }, b[d$1("elementProperties")] = new Map, b[d$1("finalized")] = new Map, p$1 === null || p$1 === void 0 ? void 0 : p$1({
1037
+ ReactiveElement: b
1038
+ }), ((_reactiveElementVersions = (_a1 = a$1).reactiveElementVersions) !== null && _reactiveElementVersions !== void 0 ? _reactiveElementVersions : _a1.reactiveElementVersions = []).push("2.0.4");
1022
1039
 
1023
1040
  /**
1024
1041
  * @license
@@ -1113,7 +1130,7 @@ function _non_iterable_spread() {
1113
1130
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1114
1131
  }
1115
1132
  function _possible_constructor_return$1(self, call) {
1116
- if (call && (_type_of$2(call) === "object" || typeof call === "function")) {
1133
+ if (call && (_type_of$1(call) === "object" || typeof call === "function")) {
1117
1134
  return call;
1118
1135
  }
1119
1136
  return _assert_this_initialized$1(self);
@@ -1131,7 +1148,7 @@ function _sliced_to_array(arr, i) {
1131
1148
  function _to_consumable_array(arr) {
1132
1149
  return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
1133
1150
  }
1134
- function _type_of$2(obj) {
1151
+ function _type_of$1(obj) {
1135
1152
  "@swc/helpers - typeof";
1136
1153
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
1137
1154
  }
@@ -1168,17 +1185,17 @@ function _create_super$1(Derived) {
1168
1185
  };
1169
1186
  }
1170
1187
  var _t;
1171
- var t$1 = globalThis, i$1 = t$1.trustedTypes, s$1 = i$1 ? i$1.createPolicy("lit-html", {
1188
+ var t$1 = globalThis, i$1 = t$1.trustedTypes, s = i$1 ? i$1.createPolicy("lit-html", {
1172
1189
  createHTML: function(t) {
1173
1190
  return t;
1174
1191
  }
1175
- }) : void 0, e = "$lit$", h = "lit$".concat(Math.random().toFixed(9).slice(2), "$"), o$2 = "?" + h, n$1 = "<".concat(o$2, ">"), r$2 = document, l = function() {
1176
- return r$2.createComment("");
1192
+ }) : void 0, e = "$lit$", h = "lit$".concat(Math.random().toFixed(9).slice(2), "$"), o$1 = "?" + h, n$1 = "<".concat(o$1, ">"), r$3 = document, l = function() {
1193
+ return r$3.createComment("");
1177
1194
  }, c = function(t) {
1178
- return null === t || "object" != (typeof t === "undefined" ? "undefined" : _type_of$2(t)) && "function" != typeof t;
1195
+ return null === t || "object" != typeof t && "function" != typeof t;
1179
1196
  }, a = Array.isArray, u = function(t) {
1180
1197
  return a(t) || "function" == typeof (t === null || t === void 0 ? void 0 : t[Symbol.iterator]);
1181
- }, d = "[ \t\n\f\r]", f = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, v = /-->/g, _ = />/g, m = RegExp(">|".concat(d, "(?:([^\\s\"'>=/]+)(").concat(d, "*=").concat(d, "*(?:[^ \n\f\r\"'`<>=]|(\"|')|))|$)"), "g"), p = /'/g, g = /"/g, $ = /^(?:script|style|textarea|title)$/i, y = function(t) {
1198
+ }, d = "[ \n\f\r]", f = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, v = /-->/g, _ = />/g, m = RegExp(">|".concat(d, "(?:([^\\s\"'>=/]+)(").concat(d, "*=").concat(d, "*(?:[^ \n\f\r\"'`<>=]|(\"|')|))|$)"), "g"), p = /'/g, g = /"/g, $ = /^(?:script|style|textarea|title)$/i, y = function(t) {
1182
1199
  return function(i) {
1183
1200
  for(var _len = arguments.length, s = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
1184
1201
  s[_key - 1] = arguments[_key];
@@ -1189,10 +1206,10 @@ var t$1 = globalThis, i$1 = t$1.trustedTypes, s$1 = i$1 ? i$1.createPolicy("lit-
1189
1206
  values: s
1190
1207
  };
1191
1208
  };
1192
- }, x = y(1), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = new WeakMap, C = r$2.createTreeWalker(r$2, 129);
1209
+ }, x = y(1), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = new WeakMap, C = r$3.createTreeWalker(r$3, 129);
1193
1210
  function P(t, i) {
1194
1211
  if (!a(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
1195
- return void 0 !== s$1 ? s$1.createHTML(i) : i;
1212
+ return void 0 !== s ? s.createHTML(i) : i;
1196
1213
  }
1197
1214
  var V = function(t, i) {
1198
1215
  var s = t.length - 1, o = [];
@@ -1267,7 +1284,7 @@ var N = /*#__PURE__*/ function() {
1267
1284
  r.append(t3[s2], l());
1268
1285
  }
1269
1286
  }
1270
- } else if (8 === r.nodeType) if (r.data === o$2) d.push({
1287
+ } else if (8 === r.nodeType) if (r.data === o$1) d.push({
1271
1288
  type: 2,
1272
1289
  index: c
1273
1290
  });
@@ -1285,7 +1302,7 @@ var N = /*#__PURE__*/ function() {
1285
1302
  {
1286
1303
  key: "createElement",
1287
1304
  value: function createElement(t, i) {
1288
- var s = r$2.createElement("template");
1305
+ var s = r$3.createElement("template");
1289
1306
  return s.innerHTML = t, s;
1290
1307
  }
1291
1308
  }
@@ -1300,7 +1317,7 @@ function S(t, i) {
1300
1317
  var h = void 0 !== e ? (_s__$Co = s._$Co) === null || _s__$Co === void 0 ? void 0 : _s__$Co[e] : s._$Cl;
1301
1318
  var o = c(i) ? void 0 : i._$litDirective$;
1302
1319
  var __$Co;
1303
- return (h === null || h === void 0 ? void 0 : h.constructor) !== o && (h === null || h === void 0 ? void 0 : (_h__$AO = h._$AO) === null || _h__$AO === void 0 ? void 0 : _h__$AO.call(h, false), void 0 === o ? h = void 0 : (h = new o(t), h._$AT(t, s, e)), void 0 !== e ? ((__$Co = (_s = s)._$Co) !== null && __$Co !== void 0 ? __$Co : _s._$Co = [])[e] = h : s._$Cl = h), void 0 !== h && (i = S(t, h._$AS(t, i.values), h, e)), i;
1320
+ return (h === null || h === void 0 ? void 0 : h.constructor) !== o && (h === null || h === void 0 ? void 0 : (_h__$AO = h._$AO) === null || _h__$AO === void 0 ? void 0 : _h__$AO.call(h, !1), void 0 === o ? h = void 0 : (h = new o(t), h._$AT(t, s, e)), void 0 !== e ? ((__$Co = (_s = s)._$Co) !== null && __$Co !== void 0 ? __$Co : _s._$Co = [])[e] = h : s._$Cl = h), void 0 !== h && (i = S(t, h._$AS(t, i.values), h, e)), i;
1304
1321
  }
1305
1322
  var M = /*#__PURE__*/ function() {
1306
1323
  function M(t, i) {
@@ -1324,7 +1341,7 @@ var M = /*#__PURE__*/ function() {
1324
1341
  key: "u",
1325
1342
  value: function u(t) {
1326
1343
  var _t_creationScope;
1327
- var _this__$AD = this._$AD, _this__$AD_el = _this__$AD.el, i = _this__$AD_el.content, s = _this__$AD.parts, e = ((_t_creationScope = t === null || t === void 0 ? void 0 : t.creationScope) !== null && _t_creationScope !== void 0 ? _t_creationScope : r$2).importNode(i, true);
1344
+ var _this__$AD = this._$AD, _this__$AD_el = _this__$AD.el, i = _this__$AD_el.content, s = _this__$AD.parts, e = ((_t_creationScope = t === null || t === void 0 ? void 0 : t.creationScope) !== null && _t_creationScope !== void 0 ? _t_creationScope : r$3).importNode(i, !0);
1328
1345
  C.currentNode = e;
1329
1346
  var h = C.nextNode(), o = 0, n = 0, l = s[0];
1330
1347
  for(; void 0 !== l;){
@@ -1334,7 +1351,7 @@ var M = /*#__PURE__*/ function() {
1334
1351
  }
1335
1352
  o !== (l === null || l === void 0 ? void 0 : l.index) && (h = C.nextNode(), o++);
1336
1353
  }
1337
- return C.currentNode = r$2, e;
1354
+ return C.currentNode = r$3, e;
1338
1355
  }
1339
1356
  },
1340
1357
  {
@@ -1370,7 +1387,7 @@ var R = /*#__PURE__*/ function() {
1370
1387
  function R(t, i, s, e) {
1371
1388
  _class_call_check$1(this, R);
1372
1389
  var _e_isConnected;
1373
- this.type = 2, this._$AH = E, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cv = (_e_isConnected = e === null || e === void 0 ? void 0 : e.isConnected) !== null && _e_isConnected !== void 0 ? _e_isConnected : true;
1390
+ this.type = 2, this._$AH = E, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = s, this.options = e, this._$Cv = (_e_isConnected = e === null || e === void 0 ? void 0 : e.isConnected) !== null && _e_isConnected !== void 0 ? _e_isConnected : !0;
1374
1391
  }
1375
1392
  _create_class$1(R, [
1376
1393
  {
@@ -1423,7 +1440,7 @@ var R = /*#__PURE__*/ function() {
1423
1440
  {
1424
1441
  key: "_",
1425
1442
  value: function _(t) {
1426
- this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$2.createTextNode(t)), this._$AH = t;
1443
+ this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$3.createTextNode(t)), this._$AH = t;
1427
1444
  }
1428
1445
  },
1429
1446
  {
@@ -1479,7 +1496,7 @@ var R = /*#__PURE__*/ function() {
1479
1496
  value: function _$AR() {
1480
1497
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this._$AA.nextSibling, i = arguments.length > 1 ? arguments[1] : void 0;
1481
1498
  var _this__$AP, _this;
1482
- for((_this__$AP = (_this = this)._$AP) === null || _this__$AP === void 0 ? void 0 : _this__$AP.call(_this, false, true, i); t && t !== this._$AB;){
1499
+ for((_this__$AP = (_this = this)._$AP) === null || _this__$AP === void 0 ? void 0 : _this__$AP.call(_this, !1, !0, i); t && t !== this._$AB;){
1483
1500
  var i1 = t.nextSibling;
1484
1501
  t.remove(), t = i1;
1485
1502
  }
@@ -1518,7 +1535,7 @@ var k = /*#__PURE__*/ function() {
1518
1535
  value: function _$AI(t) {
1519
1536
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this, s = arguments.length > 2 ? arguments[2] : void 0, e = arguments.length > 3 ? arguments[3] : void 0;
1520
1537
  var h = this.strings;
1521
- var o = false;
1538
+ var o = !1;
1522
1539
  if (void 0 === h) t = S(this, t, i, 0), o = !c(t) || t !== this._$AH && t !== T, o && (this._$AH = t);
1523
1540
  else {
1524
1541
  var e1 = t;
@@ -1633,7 +1650,7 @@ var z = /*#__PURE__*/ function() {
1633
1650
  }();
1634
1651
  var j = t$1.litHtmlPolyfillSupport;
1635
1652
  var _litHtmlVersions;
1636
- j === null || j === void 0 ? void 0 : j(N, R), ((_litHtmlVersions = (_t = t$1).litHtmlVersions) !== null && _litHtmlVersions !== void 0 ? _litHtmlVersions : _t.litHtmlVersions = []).push("3.3.0");
1653
+ j === null || j === void 0 ? void 0 : j(N, R), ((_litHtmlVersions = (_t = t$1).litHtmlVersions) !== null && _litHtmlVersions !== void 0 ? _litHtmlVersions : _t.litHtmlVersions = []).push("3.2.1");
1637
1654
  var B = function(t, i, s) {
1638
1655
  var _s_renderBefore;
1639
1656
  var e = (_s_renderBefore = s === null || s === void 0 ? void 0 : s.renderBefore) !== null && _s_renderBefore !== void 0 ? _s_renderBefore : i;
@@ -1668,6 +1685,7 @@ function _defineProperties(target, props) {
1668
1685
  }
1669
1686
  function _create_class(Constructor, protoProps, staticProps) {
1670
1687
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
1688
+ if (staticProps) _defineProperties(Constructor, staticProps);
1671
1689
  return Constructor;
1672
1690
  }
1673
1691
  function _get(target, property, receiver) {
@@ -1706,7 +1724,7 @@ function _inherits(subClass, superClass) {
1706
1724
  if (superClass) _set_prototype_of(subClass, superClass);
1707
1725
  }
1708
1726
  function _possible_constructor_return(self, call) {
1709
- if (call && (_type_of$1(call) === "object" || typeof call === "function")) {
1727
+ if (call && (_type_of(call) === "object" || typeof call === "function")) {
1710
1728
  return call;
1711
1729
  }
1712
1730
  return _assert_this_initialized(self);
@@ -1725,7 +1743,7 @@ function _super_prop_base(object, property) {
1725
1743
  }
1726
1744
  return object;
1727
1745
  }
1728
- function _type_of$1(obj) {
1746
+ function _type_of(obj) {
1729
1747
  "@swc/helpers - typeof";
1730
1748
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
1731
1749
  }
@@ -1753,18 +1771,17 @@ function _create_super(Derived) {
1753
1771
  return _possible_constructor_return(this, result);
1754
1772
  };
1755
1773
  }
1756
- var _s_litElementHydrateSupport;
1757
- var _s;
1774
+ var _globalThis_litElementHydrateSupport, _globalThis;
1775
+ var _globalThis1;
1758
1776
  /**
1759
1777
  * @license
1760
1778
  * Copyright 2017 Google LLC
1761
1779
  * SPDX-License-Identifier: BSD-3-Clause
1762
- */ var s = globalThis;
1763
- var i = /*#__PURE__*/ function(t) {
1764
- _inherits(i, t);
1765
- var _super = _create_super(i);
1766
- function i() {
1767
- _class_call_check(this, i);
1780
+ */ var r$2 = /*#__PURE__*/ function(t) {
1781
+ _inherits(r, t);
1782
+ var _super = _create_super(r);
1783
+ function r() {
1784
+ _class_call_check(this, r);
1768
1785
  var _this;
1769
1786
  _this = _super.call.apply(_super, [
1770
1787
  this
@@ -1773,12 +1790,12 @@ var i = /*#__PURE__*/ function(t) {
1773
1790
  }, _this._$Do = void 0;
1774
1791
  return _possible_constructor_return(_this);
1775
1792
  }
1776
- _create_class(i, [
1793
+ _create_class(r, [
1777
1794
  {
1778
1795
  key: "createRenderRoot",
1779
1796
  value: function createRenderRoot() {
1780
1797
  var _this_renderOptions;
1781
- var _$t = _get(_get_prototype_of(i.prototype), "createRenderRoot", this).call(this);
1798
+ var _$t = _get(_get_prototype_of(r.prototype), "createRenderRoot", this).call(this);
1782
1799
  var _renderBefore;
1783
1800
  return (_renderBefore = (_this_renderOptions = this.renderOptions).renderBefore) !== null && _renderBefore !== void 0 ? _renderBefore : _this_renderOptions.renderBefore = _$t.firstChild, _$t;
1784
1801
  }
@@ -1786,22 +1803,22 @@ var i = /*#__PURE__*/ function(t) {
1786
1803
  {
1787
1804
  key: "update",
1788
1805
  value: function update(t) {
1789
- var r = this.render();
1790
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), _get(_get_prototype_of(i.prototype), "update", this).call(this, t), this._$Do = B(r, this.renderRoot, this.renderOptions);
1806
+ var s = this.render();
1807
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), _get(_get_prototype_of(r.prototype), "update", this).call(this, t), this._$Do = B(s, this.renderRoot, this.renderOptions);
1791
1808
  }
1792
1809
  },
1793
1810
  {
1794
1811
  key: "connectedCallback",
1795
1812
  value: function connectedCallback() {
1796
1813
  var _this__$Do;
1797
- _get(_get_prototype_of(i.prototype), "connectedCallback", this).call(this), (_this__$Do = this._$Do) === null || _this__$Do === void 0 ? void 0 : _this__$Do.setConnected(true);
1814
+ _get(_get_prototype_of(r.prototype), "connectedCallback", this).call(this), (_this__$Do = this._$Do) === null || _this__$Do === void 0 ? void 0 : _this__$Do.setConnected(!0);
1798
1815
  }
1799
1816
  },
1800
1817
  {
1801
1818
  key: "disconnectedCallback",
1802
1819
  value: function disconnectedCallback() {
1803
1820
  var _this__$Do;
1804
- _get(_get_prototype_of(i.prototype), "disconnectedCallback", this).call(this), (_this__$Do = this._$Do) === null || _this__$Do === void 0 ? void 0 : _this__$Do.setConnected(false);
1821
+ _get(_get_prototype_of(r.prototype), "disconnectedCallback", this).call(this), (_this__$Do = this._$Do) === null || _this__$Do === void 0 ? void 0 : _this__$Do.setConnected(!1);
1805
1822
  }
1806
1823
  },
1807
1824
  {
@@ -1811,17 +1828,17 @@ var i = /*#__PURE__*/ function(t) {
1811
1828
  }
1812
1829
  }
1813
1830
  ]);
1814
- return i;
1815
- }(y$1);
1816
- i._$litElement$ = true, i["finalized"] = true, (_s_litElementHydrateSupport = s.litElementHydrateSupport) === null || _s_litElementHydrateSupport === void 0 ? void 0 : _s_litElementHydrateSupport.call(s, {
1817
- LitElement: i
1831
+ return r;
1832
+ }(b);
1833
+ r$2._$litElement$ = !0, r$2["finalized"] = !0, (_globalThis_litElementHydrateSupport = (_globalThis = globalThis).litElementHydrateSupport) === null || _globalThis_litElementHydrateSupport === void 0 ? void 0 : _globalThis_litElementHydrateSupport.call(_globalThis, {
1834
+ LitElement: r$2
1818
1835
  });
1819
- var o$1 = s.litElementPolyfillSupport;
1820
- o$1 === null || o$1 === void 0 ? void 0 : o$1({
1821
- LitElement: i
1836
+ var i = globalThis.litElementPolyfillSupport;
1837
+ i === null || i === void 0 ? void 0 : i({
1838
+ LitElement: r$2
1822
1839
  });
1823
1840
  var _litElementVersions;
1824
- ((_litElementVersions = (_s = s).litElementVersions) !== null && _litElementVersions !== void 0 ? _litElementVersions : _s.litElementVersions = []).push("4.2.0");
1841
+ ((_litElementVersions = (_globalThis1 = globalThis).litElementVersions) !== null && _litElementVersions !== void 0 ? _litElementVersions : _globalThis1.litElementVersions = []).push("4.1.1");
1825
1842
 
1826
1843
  /**
1827
1844
  * @license
@@ -1835,25 +1852,73 @@ var _litElementVersions;
1835
1852
  };
1836
1853
  };
1837
1854
 
1838
- function _type_of(obj) {
1839
- "@swc/helpers - typeof";
1840
- return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
1855
+ function _define_property$1(obj, key, value) {
1856
+ if (key in obj) {
1857
+ Object.defineProperty(obj, key, {
1858
+ value: value,
1859
+ enumerable: true,
1860
+ configurable: true,
1861
+ writable: true
1862
+ });
1863
+ } else {
1864
+ obj[key] = value;
1865
+ }
1866
+ return obj;
1867
+ }
1868
+ function _object_spread$1(target) {
1869
+ for(var i = 1; i < arguments.length; i++){
1870
+ var source = arguments[i] != null ? arguments[i] : {};
1871
+ var ownKeys = Object.keys(source);
1872
+ if (typeof Object.getOwnPropertySymbols === "function") {
1873
+ ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
1874
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
1875
+ }));
1876
+ }
1877
+ ownKeys.forEach(function(key) {
1878
+ _define_property$1(target, key, source[key]);
1879
+ });
1880
+ }
1881
+ return target;
1882
+ }
1883
+ function ownKeys$1(object, enumerableOnly) {
1884
+ var keys = Object.keys(object);
1885
+ if (Object.getOwnPropertySymbols) {
1886
+ var symbols = Object.getOwnPropertySymbols(object);
1887
+ if (enumerableOnly) {
1888
+ symbols = symbols.filter(function(sym) {
1889
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
1890
+ });
1891
+ }
1892
+ keys.push.apply(keys, symbols);
1893
+ }
1894
+ return keys;
1895
+ }
1896
+ function _object_spread_props$1(target, source) {
1897
+ source = source != null ? source : {};
1898
+ if (Object.getOwnPropertyDescriptors) {
1899
+ Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
1900
+ } else {
1901
+ ownKeys$1(Object(source)).forEach(function(key) {
1902
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
1903
+ });
1904
+ }
1905
+ return target;
1841
1906
  }
1842
1907
  /**
1843
1908
  * @license
1844
1909
  * Copyright 2017 Google LLC
1845
1910
  * SPDX-License-Identifier: BSD-3-Clause
1846
1911
  */ var o = {
1847
- attribute: true,
1912
+ attribute: !0,
1848
1913
  type: String,
1849
1914
  converter: u$1,
1850
- reflect: false,
1915
+ reflect: !1,
1851
1916
  hasChanged: f$1
1852
1917
  }, r$1 = function() {
1853
1918
  var _$t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : o, _$e = arguments.length > 1 ? arguments[1] : void 0, r = arguments.length > 2 ? arguments[2] : void 0;
1854
1919
  var n = r.kind, i = r.metadata;
1855
1920
  var s = globalThis.litPropertyMetadata.get(i);
1856
- if (void 0 === s && globalThis.litPropertyMetadata.set(i, s = new Map), "setter" === n && ((_$t = Object.create(_$t)).wrapped = true), s.set(r.name, _$t), "accessor" === n) {
1921
+ if (void 0 === s && globalThis.litPropertyMetadata.set(i, s = new Map), s.set(r.name, _$t), "accessor" === n) {
1857
1922
  var o1 = r.name;
1858
1923
  return {
1859
1924
  set: function set(r) {
@@ -1861,7 +1926,7 @@ function _type_of(obj) {
1861
1926
  _$e.set.call(this, r), this.requestUpdate(o1, n, _$t);
1862
1927
  },
1863
1928
  init: function init(e) {
1864
- return void 0 !== e && this.C(o1, void 0, _$t, e), e;
1929
+ return void 0 !== e && this.P(o1, void 0, _$t), e;
1865
1930
  }
1866
1931
  };
1867
1932
  }
@@ -1876,9 +1941,11 @@ function _type_of(obj) {
1876
1941
  };
1877
1942
  function n(t) {
1878
1943
  return function(e, o) {
1879
- return "object" == (typeof o === "undefined" ? "undefined" : _type_of(o)) ? r$1(t, e, o) : function(t, e, o) {
1944
+ return "object" == typeof o ? r$1(t, e, o) : function(t, e, o) {
1880
1945
  var r = e.hasOwnProperty(o);
1881
- return e.constructor.createProperty(o, t), r ? Object.getOwnPropertyDescriptor(e, o) : void 0;
1946
+ return e.constructor.createProperty(o, r ? _object_spread_props$1(_object_spread$1({}, t), {
1947
+ wrapped: !0
1948
+ }) : t), r ? Object.getOwnPropertyDescriptor(e, o) : void 0;
1882
1949
  }(t, e, o);
1883
1950
  };
1884
1951
  }
@@ -1915,6 +1982,11 @@ function ownKeys(object, enumerableOnly) {
1915
1982
  var keys = Object.keys(object);
1916
1983
  if (Object.getOwnPropertySymbols) {
1917
1984
  var symbols = Object.getOwnPropertySymbols(object);
1985
+ if (enumerableOnly) {
1986
+ symbols = symbols.filter(function(sym) {
1987
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
1988
+ });
1989
+ }
1918
1990
  keys.push.apply(keys, symbols);
1919
1991
  }
1920
1992
  return keys;
@@ -1936,12 +2008,12 @@ function _object_spread_props(target, source) {
1936
2008
  * SPDX-License-Identifier: BSD-3-Clause
1937
2009
  */ function r(r) {
1938
2010
  return n(_object_spread_props(_object_spread({}, r), {
1939
- state: true,
1940
- attribute: false
2011
+ state: !0,
2012
+ attribute: !1
1941
2013
  }));
1942
2014
  }
1943
2015
 
1944
- class InputPdfElement extends i {
2016
+ class InputPdfElement extends r$2 {
1945
2017
  get content() {
1946
2018
  return this._content;
1947
2019
  }
@@ -1977,7 +2049,7 @@ class InputPdfElement extends i {
1977
2049
  const globalInstance = typeof window === 'undefined' ? global : window;
1978
2050
  const config = globalInstance.__DIGIPAIR_CONFIG__;
1979
2051
  const version = 'latest';
1980
- const pdfjs = await import(`${config.BASE_URL}/pdfjs-dist@${version}/build/pdf.min.mjs`);
2052
+ const pdfjs = await (function (t) { return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(t)); }); })(`${config.BASE_URL}/pdfjs-dist@${version}/build/pdf.min.mjs`);
1981
2053
  pdfjs.GlobalWorkerOptions.workerSrc = `${config.BASE_URL}/pdfjs-dist@${version}/build/pdf.worker.min.mjs`;
1982
2054
  const pdf = await pdfjs.getDocument(file).promise;
1983
2055
  let text = '';