@digipair/skill-web-pdf 0.112.3 → 0.114.1

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,32 +1,12 @@
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
-
23
3
  function __decorate(decorators, target, key, desc) {
24
4
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
25
5
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
26
6
  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;
27
7
  return c > 3 && r && Object.defineProperty(target, key, r), r;
28
8
  }
29
- typeof SuppressedError === "function" ? SuppressedError : function _SuppressedError(error, suppressed, message) {
9
+ typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message) {
30
10
  var e = new Error(message);
31
11
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
32
12
  };
@@ -51,7 +31,6 @@ function _defineProperties$3(target, props) {
51
31
  }
52
32
  function _create_class$3(Constructor, protoProps, staticProps) {
53
33
  if (protoProps) _defineProperties$3(Constructor.prototype, protoProps);
54
- if (staticProps) _defineProperties$3(Constructor, staticProps);
55
34
  return Constructor;
56
35
  }
57
36
  function _instanceof(left, right) {
@@ -61,11 +40,11 @@ function _instanceof(left, right) {
61
40
  return left instanceof right;
62
41
  }
63
42
  }
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;
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;
65
44
  var n$3 = /*#__PURE__*/ function() {
66
45
  function n(t, e, o) {
67
46
  _class_call_check$3(this, n);
68
- if (this._$cssResult$ = !0, o !== s$1) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
47
+ if (this._$cssResult$ = true, o !== s$2) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
69
48
  this.cssText = t, this.t = e;
70
49
  }
71
50
  _create_class$3(n, [
@@ -76,7 +55,7 @@ var n$3 = /*#__PURE__*/ function() {
76
55
  var s = this.t;
77
56
  if (e$2 && void 0 === t) {
78
57
  var e1 = void 0 !== s && 1 === s.length;
79
- e1 && (t = o$3.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet).replaceSync(this.cssText), e1 && o$3.set(s, t));
58
+ e1 && (t = o$4.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet).replaceSync(this.cssText), e1 && o$4.set(s, t));
80
59
  }
81
60
  return t;
82
61
  }
@@ -90,20 +69,20 @@ var n$3 = /*#__PURE__*/ function() {
90
69
  ]);
91
70
  return n;
92
71
  }();
93
- var r$5 = function(t) {
94
- return new n$3("string" == typeof t ? t : t + "", void 0, s$1);
72
+ var r$4 = function(t) {
73
+ return new n$3("string" == typeof t ? t : t + "", void 0, s$2);
95
74
  }, i$3 = function(t) {
96
75
  for(var _len = arguments.length, e = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
97
76
  e[_key - 1] = arguments[_key];
98
77
  }
99
78
  var o = 1 === t.length ? t[0] : e.reduce(function(e, s, o) {
100
79
  return e + function(t) {
101
- if (!0 === t._$cssResult$) return t.cssText;
80
+ if (true === t._$cssResult$) return t.cssText;
102
81
  if ("number" == typeof t) return t;
103
82
  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.");
104
83
  }(s) + t[o + 1];
105
84
  }, t[0]);
106
- return new n$3(o, t, s$1);
85
+ return new n$3(o, t, s$2);
107
86
  }, S$1 = function(s, o) {
108
87
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
109
88
  if (e$2) s.adoptedStyleSheets = o.map(function(t) {
@@ -154,7 +133,7 @@ var r$5 = function(t) {
154
133
  }
155
134
  }
156
135
  }
157
- return r$5(e);
136
+ return r$4(e);
158
137
  }(t) : t;
159
138
  };
160
139
 
@@ -296,7 +275,7 @@ function _non_iterable_spread$1() {
296
275
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
297
276
  }
298
277
  function _possible_constructor_return$2(self, call) {
299
- if (call && (_type_of$2(call) === "object" || typeof call === "function")) {
278
+ if (call && (_type_of$3(call) === "object" || typeof call === "function")) {
300
279
  return call;
301
280
  }
302
281
  return _assert_this_initialized$2(self);
@@ -314,7 +293,7 @@ function _sliced_to_array$1(arr, i) {
314
293
  function _to_consumable_array$1(arr) {
315
294
  return _array_without_holes$1(arr) || _iterable_to_array$1(arr) || _unsupported_iterable_to_array$1(arr) || _non_iterable_spread$1();
316
295
  }
317
- function _type_of$2(obj) {
296
+ function _type_of$3(obj) {
318
297
  "@swc/helpers - typeof";
319
298
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
320
299
  }
@@ -476,7 +455,7 @@ var _Symbol, _a, _a1;
476
455
  * @license
477
456
  * Copyright 2017 Google LLC
478
457
  * SPDX-License-Identifier: BSD-3-Clause
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) {
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) {
480
459
  return t;
481
460
  }, u$1 = {
482
461
  toAttribute: function toAttribute(t, s) {
@@ -511,25 +490,26 @@ var _Symbol, _a, _a1;
511
490
  }
512
491
  }, f$1 = function(t, s) {
513
492
  return !i$2(t, s);
514
- }, y$1 = {
515
- attribute: !0,
493
+ }, b = {
494
+ attribute: true,
516
495
  type: String,
517
496
  converter: u$1,
518
- reflect: !1,
497
+ reflect: false,
498
+ useDefault: false,
519
499
  hasChanged: f$1
520
500
  };
521
501
  var _metadata, _litPropertyMetadata;
522
502
  (_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;
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);
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);
528
508
  var _this;
529
- _this = _super.call(this), _this._$Ep = void 0, _this.isUpdatePending = !1, _this.hasUpdated = !1, _this._$Em = null, _this._$Ev();
509
+ _this = _super.call(this), _this._$Ep = void 0, _this.isUpdatePending = false, _this.hasUpdated = false, _this._$Em = null, _this._$Ev();
530
510
  return _possible_constructor_return$2(_this);
531
511
  }
532
- _create_class$2(b, [
512
+ _create_class$2(y, [
533
513
  {
534
514
  key: "_$Ev",
535
515
  value: function _$Ev() {
@@ -597,7 +577,7 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
597
577
  value: function connectedCallback() {
598
578
  var _this__$EO;
599
579
  var _this_renderRoot;
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) {
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) {
601
581
  var _t_hostConnected;
602
582
  return (_t_hostConnected = t.hostConnected) === null || _t_hostConnected === void 0 ? void 0 : _t_hostConnected.call(t);
603
583
  });
@@ -624,13 +604,13 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
624
604
  }
625
605
  },
626
606
  {
627
- key: "_$EC",
628
- value: function _$EC(t, s) {
607
+ key: "_$ET",
608
+ value: function _$ET(t, s) {
629
609
  var i = this.constructor.elementProperties.get(t), e = this.constructor._$Eu(t, i);
630
- if (void 0 !== e && !0 === i.reflect) {
610
+ if (void 0 !== e && true === i.reflect) {
631
611
  var _i_converter;
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;
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;
634
614
  }
635
615
  }
636
616
  },
@@ -639,11 +619,14 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
639
619
  value: function _$AK(t, s) {
640
620
  var i = this.constructor, e = i._$Eh.get(t);
641
621
  if (void 0 !== e && this._$Em !== e) {
642
- var _t_converter;
643
- var _$t = i.getPropertyOptions(e), r = "function" == typeof _$t.converter ? {
622
+ var _t_converter, _this__$Ej;
623
+ var _$t = i.getPropertyOptions(e), h = "function" == typeof _$t.converter ? {
644
624
  fromAttribute: _$t.converter
645
625
  } : void 0 !== ((_t_converter = _$t.converter) === null || _t_converter === void 0 ? void 0 : _t_converter.fromAttribute) ? _$t.converter : u$1;
646
- this._$Em = e, this[e] = r.fromAttribute(s, _$t.type), this._$Em = null;
626
+ this._$Em = e;
627
+ var r = h.fromAttribute(s, _$t.type);
628
+ var _ref;
629
+ this[e] = (_ref = r !== null && r !== void 0 ? r : (_this__$Ej = this._$Ej) === null || _this__$Ej === void 0 ? void 0 : _this__$Ej.get(e)) !== null && _ref !== void 0 ? _ref : r, this._$Em = null;
647
630
  }
648
631
  }
649
632
  },
@@ -651,30 +634,33 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
651
634
  key: "requestUpdate",
652
635
  value: function requestUpdate(t, s, i) {
653
636
  if (void 0 !== t) {
637
+ var _this__$Ej;
638
+ var e = this.constructor, h = this[t];
654
639
  var _i_hasChanged;
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
+ 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;
641
+ this.C(t, s, i);
657
642
  }
658
- !1 === this.isUpdatePending && (this._$ES = this._$ET());
643
+ false === this.isUpdatePending && (this._$ES = this._$EP());
659
644
  }
660
645
  },
661
646
  {
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);
647
+ key: "C",
648
+ value: function C(t, s, param, r) {
649
+ var i = param.useDefault, e = param.reflect, h = param.wrapped;
650
+ var _this__$Ej, _ref, _this__$Eq;
651
+ 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));
666
652
  }
667
653
  },
668
654
  {
669
- key: "_$ET",
670
- value: function _$ET() {
655
+ key: "_$EP",
656
+ value: function _$EP() {
671
657
  var _this = this;
672
658
  return _async_to_generator(function() {
673
659
  var t, _$t, _tmp;
674
660
  return _ts_generator(this, function(_state) {
675
661
  switch(_state.label){
676
662
  case 0:
677
- _this.isUpdatePending = !0;
663
+ _this.isUpdatePending = true;
678
664
  _state.label = 1;
679
665
  case 1:
680
666
  _state.trys.push([
@@ -764,7 +750,8 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
764
750
  if (t1.size > 0) try {
765
751
  for(var _iterator1 = t1[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true){
766
752
  var _step_value1 = _sliced_to_array$1(_step1.value, 2), _$s1 = _step_value1[0], i = _step_value1[1];
767
- !0 !== i.wrapped || this._$AL.has(_$s1) || void 0 === this[_$s1] || this.P(_$s1, this[_$s1], i);
753
+ var t2 = i.wrapped, e = this[_$s1];
754
+ !0 !== t2 || this._$AL.has(_$s1) || void 0 === e || this.C(_$s1, void 0, i, e);
768
755
  }
769
756
  } catch (err) {
770
757
  _didIteratorError1 = true;
@@ -781,18 +768,18 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
781
768
  }
782
769
  }
783
770
  }
784
- var t2 = !1;
771
+ var t3 = false;
785
772
  var _$s2 = this._$AL;
786
773
  try {
787
774
  var _this__$EO;
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) {
775
+ t3 = this.shouldUpdate(_$s2), t3 ? (this.willUpdate(_$s2), (_this__$EO = this._$EO) === null || _this__$EO === void 0 ? void 0 : _this__$EO.forEach(function(t) {
789
776
  var _t_hostUpdate;
790
777
  return (_t_hostUpdate = t.hostUpdate) === null || _t_hostUpdate === void 0 ? void 0 : _t_hostUpdate.call(t);
791
- }), this.update(_$s2)) : this._$EU();
778
+ }), this.update(_$s2)) : this._$EM();
792
779
  } catch (s) {
793
- throw t2 = !1, this._$EU(), s;
780
+ throw t3 = false, this._$EM(), s;
794
781
  }
795
- t2 && this._$AE(_$s2);
782
+ t3 && this._$AE(_$s2);
796
783
  }
797
784
  },
798
785
  {
@@ -806,13 +793,13 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
806
793
  (_this__$EO = this._$EO) === null || _this__$EO === void 0 ? void 0 : _this__$EO.forEach(function(t) {
807
794
  var _t_hostUpdated;
808
795
  return (_t_hostUpdated = t.hostUpdated) === null || _t_hostUpdated === void 0 ? void 0 : _t_hostUpdated.call(t);
809
- }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
796
+ }), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t)), this.updated(t);
810
797
  }
811
798
  },
812
799
  {
813
- key: "_$EU",
814
- value: function _$EU() {
815
- this._$AL = new Map, this.isUpdatePending = !1;
800
+ key: "_$EM",
801
+ value: function _$EM() {
802
+ this._$AL = new Map, this.isUpdatePending = false;
816
803
  }
817
804
  },
818
805
  {
@@ -830,16 +817,16 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
830
817
  {
831
818
  key: "shouldUpdate",
832
819
  value: function shouldUpdate(t) {
833
- return !0;
820
+ return true;
834
821
  }
835
822
  },
836
823
  {
837
824
  key: "update",
838
825
  value: function update(t) {
839
826
  var _this = this;
840
- this._$Ej && (this._$Ej = this._$Ej.forEach(function(t) {
841
- return _this._$EC(t, _this[t]);
842
- })), this._$EU();
827
+ this._$Eq && (this._$Eq = this._$Eq.forEach(function(t) {
828
+ return _this._$ET(t, _this[t]);
829
+ })), this._$EM();
843
830
  }
844
831
  },
845
832
  {
@@ -867,35 +854,33 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
867
854
  {
868
855
  key: "createProperty",
869
856
  value: function createProperty(t) {
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);
857
+ var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : b;
858
+ 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) {
859
+ var i = Symbol(), h = this.getPropertyDescriptor(t, i, s);
860
+ void 0 !== h && e$1(this.prototype, t, h);
874
861
  }
875
862
  }
876
863
  },
877
864
  {
878
865
  key: "getPropertyDescriptor",
879
866
  value: function getPropertyDescriptor(t, s, i) {
880
- var _r;
881
- var _ref = (_r = r$4(this.prototype, t)) !== null && _r !== void 0 ? _r : {
867
+ var _h;
868
+ var _ref = (_h = h$1(this.prototype, t)) !== null && _h !== void 0 ? _h : {
882
869
  get: function get() {
883
870
  return this[s];
884
871
  },
885
872
  set: function set(t) {
886
873
  this[s] = t;
887
874
  }
888
- }, e = _ref.get, h = _ref.set;
875
+ }, e = _ref.get, r = _ref.set;
889
876
  return {
890
- get: function get() {
891
- return e === null || e === void 0 ? void 0 : e.call(this);
892
- },
877
+ get: e,
893
878
  set: function set(s) {
894
- var r = e === null || e === void 0 ? void 0 : e.call(this);
895
- h.call(this, s), this.requestUpdate(t, r, i);
879
+ var h = e === null || e === void 0 ? void 0 : e.call(this);
880
+ r === null || r === void 0 ? void 0 : r.call(this, s), this.requestUpdate(t, h, i);
896
881
  },
897
- configurable: !0,
898
- enumerable: !0
882
+ configurable: true,
883
+ enumerable: true
899
884
  };
900
885
  }
901
886
  },
@@ -903,7 +888,7 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
903
888
  key: "getPropertyOptions",
904
889
  value: function getPropertyOptions(t) {
905
890
  var _this_elementProperties_get;
906
- return (_this_elementProperties_get = this.elementProperties.get(t)) !== null && _this_elementProperties_get !== void 0 ? _this_elementProperties_get : y$1;
891
+ return (_this_elementProperties_get = this.elementProperties.get(t)) !== null && _this_elementProperties_get !== void 0 ? _this_elementProperties_get : b;
907
892
  }
908
893
  },
909
894
  {
@@ -918,8 +903,8 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
918
903
  key: "finalize",
919
904
  value: function finalize() {
920
905
  if (this.hasOwnProperty(d$1("finalized"))) return;
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
+ if (this.finalized = true, this._$Ei(), this.hasOwnProperty(d$1("properties"))) {
907
+ var t = this.properties, s = _to_consumable_array$1(r$3(t)).concat(_to_consumable_array$1(o$3(t)));
923
908
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
924
909
  try {
925
910
  for(var _iterator = s[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
@@ -1024,18 +1009,18 @@ var b = /*#__PURE__*/ function(HTMLElement1) {
1024
1009
  key: "_$Eu",
1025
1010
  value: function _$Eu(t, s) {
1026
1011
  var i = s.attribute;
1027
- return !1 === i ? void 0 : "string" == typeof i ? i : "string" == typeof t ? t.toLowerCase() : void 0;
1012
+ return false === i ? void 0 : "string" == typeof i ? i : "string" == typeof t ? t.toLowerCase() : void 0;
1028
1013
  }
1029
1014
  }
1030
1015
  ]);
1031
- return b;
1016
+ return y;
1032
1017
  }(_wrap_native_super(HTMLElement));
1033
1018
  var _reactiveElementVersions;
1034
- b.elementStyles = [], b.shadowRootOptions = {
1019
+ y$1.elementStyles = [], y$1.shadowRootOptions = {
1035
1020
  mode: "open"
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");
1021
+ }, 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({
1022
+ ReactiveElement: y$1
1023
+ }), ((_reactiveElementVersions = (_a1 = a$1).reactiveElementVersions) !== null && _reactiveElementVersions !== void 0 ? _reactiveElementVersions : _a1.reactiveElementVersions = []).push("2.1.1");
1039
1024
 
1040
1025
  /**
1041
1026
  * @license
@@ -1130,7 +1115,7 @@ function _non_iterable_spread() {
1130
1115
  throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
1131
1116
  }
1132
1117
  function _possible_constructor_return$1(self, call) {
1133
- if (call && (_type_of$1(call) === "object" || typeof call === "function")) {
1118
+ if (call && (_type_of$2(call) === "object" || typeof call === "function")) {
1134
1119
  return call;
1135
1120
  }
1136
1121
  return _assert_this_initialized$1(self);
@@ -1148,7 +1133,7 @@ function _sliced_to_array(arr, i) {
1148
1133
  function _to_consumable_array(arr) {
1149
1134
  return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
1150
1135
  }
1151
- function _type_of$1(obj) {
1136
+ function _type_of$2(obj) {
1152
1137
  "@swc/helpers - typeof";
1153
1138
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
1154
1139
  }
@@ -1185,17 +1170,17 @@ function _create_super$1(Derived) {
1185
1170
  };
1186
1171
  }
1187
1172
  var _t;
1188
- var t$1 = globalThis, i$1 = t$1.trustedTypes, s = i$1 ? i$1.createPolicy("lit-html", {
1173
+ var t$1 = globalThis, i$1 = t$1.trustedTypes, s$1 = i$1 ? i$1.createPolicy("lit-html", {
1189
1174
  createHTML: function(t) {
1190
1175
  return t;
1191
1176
  }
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
+ }) : 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() {
1178
+ return r$2.createComment("");
1194
1179
  }, c = function(t) {
1195
- return null === t || "object" != typeof t && "function" != typeof t;
1180
+ return null === t || "object" != (typeof t === "undefined" ? "undefined" : _type_of$2(t)) && "function" != typeof t;
1196
1181
  }, a = Array.isArray, u = function(t) {
1197
1182
  return a(t) || "function" == typeof (t === null || t === void 0 ? void 0 : t[Symbol.iterator]);
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) {
1183
+ }, 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) {
1199
1184
  return function(i) {
1200
1185
  for(var _len = arguments.length, s = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
1201
1186
  s[_key - 1] = arguments[_key];
@@ -1206,10 +1191,10 @@ var t$1 = globalThis, i$1 = t$1.trustedTypes, s = i$1 ? i$1.createPolicy("lit-ht
1206
1191
  values: s
1207
1192
  };
1208
1193
  };
1209
- }, x = y(1), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = new WeakMap, C = r$3.createTreeWalker(r$3, 129);
1194
+ }, x = y(1), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = new WeakMap, C = r$2.createTreeWalker(r$2, 129);
1210
1195
  function P(t, i) {
1211
1196
  if (!a(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
1212
- return void 0 !== s ? s.createHTML(i) : i;
1197
+ return void 0 !== s$1 ? s$1.createHTML(i) : i;
1213
1198
  }
1214
1199
  var V = function(t, i) {
1215
1200
  var s = t.length - 1, o = [];
@@ -1284,7 +1269,7 @@ var N = /*#__PURE__*/ function() {
1284
1269
  r.append(t3[s2], l());
1285
1270
  }
1286
1271
  }
1287
- } else if (8 === r.nodeType) if (r.data === o$1) d.push({
1272
+ } else if (8 === r.nodeType) if (r.data === o$2) d.push({
1288
1273
  type: 2,
1289
1274
  index: c
1290
1275
  });
@@ -1302,7 +1287,7 @@ var N = /*#__PURE__*/ function() {
1302
1287
  {
1303
1288
  key: "createElement",
1304
1289
  value: function createElement(t, i) {
1305
- var s = r$3.createElement("template");
1290
+ var s = r$2.createElement("template");
1306
1291
  return s.innerHTML = t, s;
1307
1292
  }
1308
1293
  }
@@ -1317,7 +1302,7 @@ function S(t, i) {
1317
1302
  var h = void 0 !== e ? (_s__$Co = s._$Co) === null || _s__$Co === void 0 ? void 0 : _s__$Co[e] : s._$Cl;
1318
1303
  var o = c(i) ? void 0 : i._$litDirective$;
1319
1304
  var __$Co;
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;
1305
+ 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;
1321
1306
  }
1322
1307
  var M = /*#__PURE__*/ function() {
1323
1308
  function M(t, i) {
@@ -1341,7 +1326,7 @@ var M = /*#__PURE__*/ function() {
1341
1326
  key: "u",
1342
1327
  value: function u(t) {
1343
1328
  var _t_creationScope;
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);
1329
+ 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);
1345
1330
  C.currentNode = e;
1346
1331
  var h = C.nextNode(), o = 0, n = 0, l = s[0];
1347
1332
  for(; void 0 !== l;){
@@ -1351,7 +1336,7 @@ var M = /*#__PURE__*/ function() {
1351
1336
  }
1352
1337
  o !== (l === null || l === void 0 ? void 0 : l.index) && (h = C.nextNode(), o++);
1353
1338
  }
1354
- return C.currentNode = r$3, e;
1339
+ return C.currentNode = r$2, e;
1355
1340
  }
1356
1341
  },
1357
1342
  {
@@ -1387,7 +1372,7 @@ var R = /*#__PURE__*/ function() {
1387
1372
  function R(t, i, s, e) {
1388
1373
  _class_call_check$1(this, R);
1389
1374
  var _e_isConnected;
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;
1375
+ 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;
1391
1376
  }
1392
1377
  _create_class$1(R, [
1393
1378
  {
@@ -1440,7 +1425,7 @@ var R = /*#__PURE__*/ function() {
1440
1425
  {
1441
1426
  key: "_",
1442
1427
  value: function _(t) {
1443
- this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$3.createTextNode(t)), this._$AH = t;
1428
+ this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$2.createTextNode(t)), this._$AH = t;
1444
1429
  }
1445
1430
  },
1446
1431
  {
@@ -1496,7 +1481,7 @@ var R = /*#__PURE__*/ function() {
1496
1481
  value: function _$AR() {
1497
1482
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this._$AA.nextSibling, i = arguments.length > 1 ? arguments[1] : void 0;
1498
1483
  var _this__$AP, _this;
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;){
1484
+ for((_this__$AP = (_this = this)._$AP) === null || _this__$AP === void 0 ? void 0 : _this__$AP.call(_this, false, true, i); t !== this._$AB;){
1500
1485
  var i1 = t.nextSibling;
1501
1486
  t.remove(), t = i1;
1502
1487
  }
@@ -1535,7 +1520,7 @@ var k = /*#__PURE__*/ function() {
1535
1520
  value: function _$AI(t) {
1536
1521
  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;
1537
1522
  var h = this.strings;
1538
- var o = !1;
1523
+ var o = false;
1539
1524
  if (void 0 === h) t = S(this, t, i, 0), o = !c(t) || t !== this._$AH && t !== T, o && (this._$AH = t);
1540
1525
  else {
1541
1526
  var e1 = t;
@@ -1650,7 +1635,7 @@ var z = /*#__PURE__*/ function() {
1650
1635
  }();
1651
1636
  var j = t$1.litHtmlPolyfillSupport;
1652
1637
  var _litHtmlVersions;
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");
1638
+ 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.1");
1654
1639
  var B = function(t, i, s) {
1655
1640
  var _s_renderBefore;
1656
1641
  var e = (_s_renderBefore = s === null || s === void 0 ? void 0 : s.renderBefore) !== null && _s_renderBefore !== void 0 ? _s_renderBefore : i;
@@ -1685,7 +1670,6 @@ function _defineProperties(target, props) {
1685
1670
  }
1686
1671
  function _create_class(Constructor, protoProps, staticProps) {
1687
1672
  if (protoProps) _defineProperties(Constructor.prototype, protoProps);
1688
- if (staticProps) _defineProperties(Constructor, staticProps);
1689
1673
  return Constructor;
1690
1674
  }
1691
1675
  function _get(target, property, receiver) {
@@ -1724,7 +1708,7 @@ function _inherits(subClass, superClass) {
1724
1708
  if (superClass) _set_prototype_of(subClass, superClass);
1725
1709
  }
1726
1710
  function _possible_constructor_return(self, call) {
1727
- if (call && (_type_of(call) === "object" || typeof call === "function")) {
1711
+ if (call && (_type_of$1(call) === "object" || typeof call === "function")) {
1728
1712
  return call;
1729
1713
  }
1730
1714
  return _assert_this_initialized(self);
@@ -1743,7 +1727,7 @@ function _super_prop_base(object, property) {
1743
1727
  }
1744
1728
  return object;
1745
1729
  }
1746
- function _type_of(obj) {
1730
+ function _type_of$1(obj) {
1747
1731
  "@swc/helpers - typeof";
1748
1732
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
1749
1733
  }
@@ -1771,17 +1755,18 @@ function _create_super(Derived) {
1771
1755
  return _possible_constructor_return(this, result);
1772
1756
  };
1773
1757
  }
1774
- var _globalThis_litElementHydrateSupport, _globalThis;
1775
- var _globalThis1;
1758
+ var _s_litElementHydrateSupport;
1759
+ var _s;
1776
1760
  /**
1777
1761
  * @license
1778
1762
  * Copyright 2017 Google LLC
1779
1763
  * SPDX-License-Identifier: BSD-3-Clause
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);
1764
+ */ var s = globalThis;
1765
+ var i = /*#__PURE__*/ function(t) {
1766
+ _inherits(i, t);
1767
+ var _super = _create_super(i);
1768
+ function i() {
1769
+ _class_call_check(this, i);
1785
1770
  var _this;
1786
1771
  _this = _super.call.apply(_super, [
1787
1772
  this
@@ -1790,12 +1775,12 @@ var _globalThis1;
1790
1775
  }, _this._$Do = void 0;
1791
1776
  return _possible_constructor_return(_this);
1792
1777
  }
1793
- _create_class(r, [
1778
+ _create_class(i, [
1794
1779
  {
1795
1780
  key: "createRenderRoot",
1796
1781
  value: function createRenderRoot() {
1797
1782
  var _this_renderOptions;
1798
- var _$t = _get(_get_prototype_of(r.prototype), "createRenderRoot", this).call(this);
1783
+ var _$t = _get(_get_prototype_of(i.prototype), "createRenderRoot", this).call(this);
1799
1784
  var _renderBefore;
1800
1785
  return (_renderBefore = (_this_renderOptions = this.renderOptions).renderBefore) !== null && _renderBefore !== void 0 ? _renderBefore : _this_renderOptions.renderBefore = _$t.firstChild, _$t;
1801
1786
  }
@@ -1803,22 +1788,22 @@ var _globalThis1;
1803
1788
  {
1804
1789
  key: "update",
1805
1790
  value: function update(t) {
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
+ var r = this.render();
1792
+ 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);
1808
1793
  }
1809
1794
  },
1810
1795
  {
1811
1796
  key: "connectedCallback",
1812
1797
  value: function connectedCallback() {
1813
1798
  var _this__$Do;
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);
1799
+ _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);
1815
1800
  }
1816
1801
  },
1817
1802
  {
1818
1803
  key: "disconnectedCallback",
1819
1804
  value: function disconnectedCallback() {
1820
1805
  var _this__$Do;
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);
1806
+ _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);
1822
1807
  }
1823
1808
  },
1824
1809
  {
@@ -1828,17 +1813,17 @@ var _globalThis1;
1828
1813
  }
1829
1814
  }
1830
1815
  ]);
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
1816
+ return i;
1817
+ }(y$1);
1818
+ i._$litElement$ = true, i["finalized"] = true, (_s_litElementHydrateSupport = s.litElementHydrateSupport) === null || _s_litElementHydrateSupport === void 0 ? void 0 : _s_litElementHydrateSupport.call(s, {
1819
+ LitElement: i
1835
1820
  });
1836
- var i = globalThis.litElementPolyfillSupport;
1837
- i === null || i === void 0 ? void 0 : i({
1838
- LitElement: r$2
1821
+ var o$1 = s.litElementPolyfillSupport;
1822
+ o$1 === null || o$1 === void 0 ? void 0 : o$1({
1823
+ LitElement: i
1839
1824
  });
1840
1825
  var _litElementVersions;
1841
- ((_litElementVersions = (_globalThis1 = globalThis).litElementVersions) !== null && _litElementVersions !== void 0 ? _litElementVersions : _globalThis1.litElementVersions = []).push("4.1.1");
1826
+ ((_litElementVersions = (_s = s).litElementVersions) !== null && _litElementVersions !== void 0 ? _litElementVersions : _s.litElementVersions = []).push("4.2.1");
1842
1827
 
1843
1828
  /**
1844
1829
  * @license
@@ -1852,73 +1837,25 @@ var _litElementVersions;
1852
1837
  };
1853
1838
  };
1854
1839
 
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;
1840
+ function _type_of(obj) {
1841
+ "@swc/helpers - typeof";
1842
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
1906
1843
  }
1907
1844
  /**
1908
1845
  * @license
1909
1846
  * Copyright 2017 Google LLC
1910
1847
  * SPDX-License-Identifier: BSD-3-Clause
1911
1848
  */ var o = {
1912
- attribute: !0,
1849
+ attribute: true,
1913
1850
  type: String,
1914
1851
  converter: u$1,
1915
- reflect: !1,
1852
+ reflect: false,
1916
1853
  hasChanged: f$1
1917
1854
  }, r$1 = function() {
1918
1855
  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;
1919
1856
  var n = r.kind, i = r.metadata;
1920
1857
  var s = globalThis.litPropertyMetadata.get(i);
1921
- if (void 0 === s && globalThis.litPropertyMetadata.set(i, s = new Map), s.set(r.name, _$t), "accessor" === n) {
1858
+ 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) {
1922
1859
  var o1 = r.name;
1923
1860
  return {
1924
1861
  set: function set(r) {
@@ -1926,7 +1863,7 @@ function _object_spread_props$1(target, source) {
1926
1863
  _$e.set.call(this, r), this.requestUpdate(o1, n, _$t);
1927
1864
  },
1928
1865
  init: function init(e) {
1929
- return void 0 !== e && this.P(o1, void 0, _$t), e;
1866
+ return void 0 !== e && this.C(o1, void 0, _$t, e), e;
1930
1867
  }
1931
1868
  };
1932
1869
  }
@@ -1941,11 +1878,9 @@ function _object_spread_props$1(target, source) {
1941
1878
  };
1942
1879
  function n(t) {
1943
1880
  return function(e, o) {
1944
- return "object" == typeof o ? r$1(t, e, o) : function(t, e, o) {
1881
+ return "object" == (typeof o === "undefined" ? "undefined" : _type_of(o)) ? r$1(t, e, o) : function(t, e, o) {
1945
1882
  var r = e.hasOwnProperty(o);
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;
1883
+ return e.constructor.createProperty(o, t), r ? Object.getOwnPropertyDescriptor(e, o) : void 0;
1949
1884
  }(t, e, o);
1950
1885
  };
1951
1886
  }
@@ -1982,11 +1917,6 @@ function ownKeys(object, enumerableOnly) {
1982
1917
  var keys = Object.keys(object);
1983
1918
  if (Object.getOwnPropertySymbols) {
1984
1919
  var symbols = Object.getOwnPropertySymbols(object);
1985
- if (enumerableOnly) {
1986
- symbols = symbols.filter(function(sym) {
1987
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
1988
- });
1989
- }
1990
1920
  keys.push.apply(keys, symbols);
1991
1921
  }
1992
1922
  return keys;
@@ -2008,18 +1938,54 @@ function _object_spread_props(target, source) {
2008
1938
  * SPDX-License-Identifier: BSD-3-Clause
2009
1939
  */ function r(r) {
2010
1940
  return n(_object_spread_props(_object_spread({}, r), {
2011
- state: !0,
2012
- attribute: !1
1941
+ state: true,
1942
+ attribute: false
2013
1943
  }));
2014
1944
  }
2015
1945
 
2016
- class InputPdfElement extends r$2 {
1946
+ class InputPdfElement extends i {
2017
1947
  get content() {
2018
1948
  return this._content;
2019
1949
  }
2020
1950
  get value() {
2021
1951
  return 'NOEVAL:' + this._value;
2022
1952
  }
1953
+ static{
1954
+ this.styles = i$3`
1955
+ .download {
1956
+ padding: 10px 15px;
1957
+ margin-bottom: 10px;
1958
+ line-height: 1.4;
1959
+ border: 1px solid var(--digipair-color-primary, #52dfdb);
1960
+ color: var(--digipair-color-primary, #52dfdb);
1961
+ align-self: flex-start;
1962
+ margin-right: auto;
1963
+ text-align: center;
1964
+ }
1965
+
1966
+ .download ui5-icon {
1967
+ color: var(--digipair-color-secondary, #52dfdb);
1968
+ }
1969
+
1970
+ .download.unloaded ui5-icon {
1971
+ color: var(--digipair-color-primary, #52dfdb);
1972
+ }
1973
+
1974
+ .download p {
1975
+ text-align: center;
1976
+ font-size: 12px;
1977
+ margin: 0;
1978
+ }
1979
+
1980
+ .download.unloaded {
1981
+ cursor: pointer;
1982
+ }
1983
+
1984
+ .download.loaded ui5-icon {
1985
+ float: left;
1986
+ }
1987
+ `;
1988
+ }
2023
1989
  loadFile() {
2024
1990
  const input = document.createElement('input');
2025
1991
  input.type = 'file';
@@ -2049,7 +2015,7 @@ class InputPdfElement extends r$2 {
2049
2015
  const globalInstance = typeof window === 'undefined' ? global : window;
2050
2016
  const config = globalInstance.__DIGIPAIR_CONFIG__;
2051
2017
  const version = 'latest';
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`);
2018
+ const pdfjs = await import(`${config.BASE_URL}/pdfjs-dist@${version}/build/pdf.min.mjs`);
2053
2019
  pdfjs.GlobalWorkerOptions.workerSrc = `${config.BASE_URL}/pdfjs-dist@${version}/build/pdf.worker.min.mjs`;
2054
2020
  const pdf = await pdfjs.getDocument(file).promise;
2055
2021
  let text = '';
@@ -2087,40 +2053,6 @@ class InputPdfElement extends r$2 {
2087
2053
  this._value = '';
2088
2054
  }
2089
2055
  }
2090
- InputPdfElement.styles = i$3`
2091
- .download {
2092
- padding: 10px 15px;
2093
- margin-bottom: 10px;
2094
- line-height: 1.4;
2095
- border: 1px solid var(--digipair-color-primary, #52dfdb);
2096
- color: var(--digipair-color-primary, #52dfdb);
2097
- align-self: flex-start;
2098
- margin-right: auto;
2099
- text-align: center;
2100
- }
2101
-
2102
- .download ui5-icon {
2103
- color: var(--digipair-color-secondary, #52dfdb);
2104
- }
2105
-
2106
- .download.unloaded ui5-icon {
2107
- color: var(--digipair-color-primary, #52dfdb);
2108
- }
2109
-
2110
- .download p {
2111
- text-align: center;
2112
- font-size: 12px;
2113
- margin: 0;
2114
- }
2115
-
2116
- .download.unloaded {
2117
- cursor: pointer;
2118
- }
2119
-
2120
- .download.loaded ui5-icon {
2121
- float: left;
2122
- }
2123
- `;
2124
2056
  __decorate([
2125
2057
  n()
2126
2058
  ], InputPdfElement.prototype, "label", void 0);