@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.
- package/{dist/index.cjs.js → index.cjs.js} +210 -138
- package/index.d.ts +1 -0
- package/{dist/index.esm.js → index.esm.js} +189 -137
- package/{dist → libs/skill-web-pdf}/src/index.d.ts +0 -1
- package/{dist → libs/skill-web-pdf}/src/lib/input-pdf.element.d.ts +0 -1
- package/libs/skill-web-pdf/src/lib/skill-web-pdf.d.ts +1 -0
- package/package.json +6 -22
- package/README.md +0 -7
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/lib/input-pdf.element.d.ts.map +0 -1
- package/dist/src/lib/skill-web-pdf.d.ts +0 -2
- package/dist/src/lib/skill-web-pdf.d.ts.map +0 -1
- package/dist/src/lib/skill-web-pdf.spec.d.ts +0 -2
- package/dist/src/lib/skill-web-pdf.spec.d.ts.map +0 -1
- /package/{dist/index.d.ts → index.cjs.d.ts} +0 -0
- /package/{dist/schema.fr.json → schema.fr.json} +0 -0
- /package/{dist/schema.json → schema.json} +0 -0
|
@@ -4,7 +4,7 @@ function __decorate(decorators, target, key, desc) {
|
|
|
4
4
|
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;
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
}
|
|
7
|
-
typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message) {
|
|
7
|
+
typeof SuppressedError === "function" ? SuppressedError : function _SuppressedError(error, suppressed, message) {
|
|
8
8
|
var e = new Error(message);
|
|
9
9
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
10
10
|
};
|
|
@@ -29,6 +29,7 @@ function _defineProperties$3(target, props) {
|
|
|
29
29
|
}
|
|
30
30
|
function _create_class$3(Constructor, protoProps, staticProps) {
|
|
31
31
|
if (protoProps) _defineProperties$3(Constructor.prototype, protoProps);
|
|
32
|
+
if (staticProps) _defineProperties$3(Constructor, staticProps);
|
|
32
33
|
return Constructor;
|
|
33
34
|
}
|
|
34
35
|
function _instanceof(left, right) {
|
|
@@ -38,11 +39,11 @@ function _instanceof(left, right) {
|
|
|
38
39
|
return left instanceof right;
|
|
39
40
|
}
|
|
40
41
|
}
|
|
41
|
-
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$
|
|
42
|
+
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;
|
|
42
43
|
var n$3 = /*#__PURE__*/ function() {
|
|
43
44
|
function n(t, e, o) {
|
|
44
45
|
_class_call_check$3(this, n);
|
|
45
|
-
if (this._$cssResult$ =
|
|
46
|
+
if (this._$cssResult$ = !0, o !== s$1) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
46
47
|
this.cssText = t, this.t = e;
|
|
47
48
|
}
|
|
48
49
|
_create_class$3(n, [
|
|
@@ -53,7 +54,7 @@ var n$3 = /*#__PURE__*/ function() {
|
|
|
53
54
|
var s = this.t;
|
|
54
55
|
if (e$2 && void 0 === t) {
|
|
55
56
|
var e1 = void 0 !== s && 1 === s.length;
|
|
56
|
-
e1 && (t = o$
|
|
57
|
+
e1 && (t = o$3.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet).replaceSync(this.cssText), e1 && o$3.set(s, t));
|
|
57
58
|
}
|
|
58
59
|
return t;
|
|
59
60
|
}
|
|
@@ -67,20 +68,20 @@ var n$3 = /*#__PURE__*/ function() {
|
|
|
67
68
|
]);
|
|
68
69
|
return n;
|
|
69
70
|
}();
|
|
70
|
-
var r$
|
|
71
|
-
return new n$3("string" == typeof t ? t : t + "", void 0, s$
|
|
71
|
+
var r$5 = function(t) {
|
|
72
|
+
return new n$3("string" == typeof t ? t : t + "", void 0, s$1);
|
|
72
73
|
}, i$3 = function(t) {
|
|
73
74
|
for(var _len = arguments.length, e = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
|
|
74
75
|
e[_key - 1] = arguments[_key];
|
|
75
76
|
}
|
|
76
77
|
var o = 1 === t.length ? t[0] : e.reduce(function(e, s, o) {
|
|
77
78
|
return e + function(t) {
|
|
78
|
-
if (
|
|
79
|
+
if (!0 === t._$cssResult$) return t.cssText;
|
|
79
80
|
if ("number" == typeof t) return t;
|
|
80
81
|
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.");
|
|
81
82
|
}(s) + t[o + 1];
|
|
82
83
|
}, t[0]);
|
|
83
|
-
return new n$3(o, t, s$
|
|
84
|
+
return new n$3(o, t, s$1);
|
|
84
85
|
}, S$1 = function(s, o) {
|
|
85
86
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
86
87
|
if (e$2) s.adoptedStyleSheets = o.map(function(t) {
|
|
@@ -131,7 +132,7 @@ var r$4 = function(t) {
|
|
|
131
132
|
}
|
|
132
133
|
}
|
|
133
134
|
}
|
|
134
|
-
return r$
|
|
135
|
+
return r$5(e);
|
|
135
136
|
}(t) : t;
|
|
136
137
|
};
|
|
137
138
|
|
|
@@ -273,7 +274,7 @@ function _non_iterable_spread$1() {
|
|
|
273
274
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
274
275
|
}
|
|
275
276
|
function _possible_constructor_return$2(self, call) {
|
|
276
|
-
if (call && (_type_of$
|
|
277
|
+
if (call && (_type_of$2(call) === "object" || typeof call === "function")) {
|
|
277
278
|
return call;
|
|
278
279
|
}
|
|
279
280
|
return _assert_this_initialized$2(self);
|
|
@@ -291,7 +292,7 @@ function _sliced_to_array$1(arr, i) {
|
|
|
291
292
|
function _to_consumable_array$1(arr) {
|
|
292
293
|
return _array_without_holes$1(arr) || _iterable_to_array$1(arr) || _unsupported_iterable_to_array$1(arr) || _non_iterable_spread$1();
|
|
293
294
|
}
|
|
294
|
-
function _type_of$
|
|
295
|
+
function _type_of$2(obj) {
|
|
295
296
|
"@swc/helpers - typeof";
|
|
296
297
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
297
298
|
}
|
|
@@ -453,7 +454,7 @@ var _Symbol, _a, _a1;
|
|
|
453
454
|
* @license
|
|
454
455
|
* Copyright 2017 Google LLC
|
|
455
456
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
456
|
-
*/ var i$2 = Object.is, e$1 = Object.defineProperty,
|
|
457
|
+
*/ 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) {
|
|
457
458
|
return t;
|
|
458
459
|
}, u$1 = {
|
|
459
460
|
toAttribute: function toAttribute(t, s) {
|
|
@@ -488,26 +489,25 @@ var _Symbol, _a, _a1;
|
|
|
488
489
|
}
|
|
489
490
|
}, f$1 = function(t, s) {
|
|
490
491
|
return !i$2(t, s);
|
|
491
|
-
},
|
|
492
|
-
attribute:
|
|
492
|
+
}, y$1 = {
|
|
493
|
+
attribute: !0,
|
|
493
494
|
type: String,
|
|
494
495
|
converter: u$1,
|
|
495
|
-
reflect:
|
|
496
|
-
useDefault: false,
|
|
496
|
+
reflect: !1,
|
|
497
497
|
hasChanged: f$1
|
|
498
498
|
};
|
|
499
499
|
var _metadata, _litPropertyMetadata;
|
|
500
500
|
(_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;
|
|
501
|
-
var
|
|
502
|
-
_inherits$2(
|
|
503
|
-
var _super = _create_super$2(
|
|
504
|
-
function
|
|
505
|
-
_class_call_check$2(this,
|
|
501
|
+
var b = /*#__PURE__*/ function(HTMLElement1) {
|
|
502
|
+
_inherits$2(b, HTMLElement1);
|
|
503
|
+
var _super = _create_super$2(b);
|
|
504
|
+
function b() {
|
|
505
|
+
_class_call_check$2(this, b);
|
|
506
506
|
var _this;
|
|
507
|
-
_this = _super.call(this), _this._$Ep = void 0, _this.isUpdatePending =
|
|
507
|
+
_this = _super.call(this), _this._$Ep = void 0, _this.isUpdatePending = !1, _this.hasUpdated = !1, _this._$Em = null, _this._$Ev();
|
|
508
508
|
return _possible_constructor_return$2(_this);
|
|
509
509
|
}
|
|
510
|
-
_create_class$2(
|
|
510
|
+
_create_class$2(b, [
|
|
511
511
|
{
|
|
512
512
|
key: "_$Ev",
|
|
513
513
|
value: function _$Ev() {
|
|
@@ -575,7 +575,7 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
575
575
|
value: function connectedCallback() {
|
|
576
576
|
var _this__$EO;
|
|
577
577
|
var _this_renderRoot;
|
|
578
|
-
(_this_renderRoot = this.renderRoot) !== null && _this_renderRoot !== void 0 ? _this_renderRoot : this.renderRoot = this.createRenderRoot(), this.enableUpdating(
|
|
578
|
+
(_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) {
|
|
579
579
|
var _t_hostConnected;
|
|
580
580
|
return (_t_hostConnected = t.hostConnected) === null || _t_hostConnected === void 0 ? void 0 : _t_hostConnected.call(t);
|
|
581
581
|
});
|
|
@@ -602,13 +602,13 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
602
602
|
}
|
|
603
603
|
},
|
|
604
604
|
{
|
|
605
|
-
key: "_$
|
|
606
|
-
value: function _$
|
|
605
|
+
key: "_$EC",
|
|
606
|
+
value: function _$EC(t, s) {
|
|
607
607
|
var i = this.constructor.elementProperties.get(t), e = this.constructor._$Eu(t, i);
|
|
608
|
-
if (void 0 !== e &&
|
|
608
|
+
if (void 0 !== e && !0 === i.reflect) {
|
|
609
609
|
var _i_converter;
|
|
610
|
-
var
|
|
611
|
-
this._$Em = t, null ==
|
|
610
|
+
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);
|
|
611
|
+
this._$Em = t, null == r ? this.removeAttribute(e) : this.setAttribute(e, r), this._$Em = null;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
614
|
},
|
|
@@ -617,12 +617,11 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
617
617
|
value: function _$AK(t, s) {
|
|
618
618
|
var i = this.constructor, e = i._$Eh.get(t);
|
|
619
619
|
if (void 0 !== e && this._$Em !== e) {
|
|
620
|
-
var _t_converter
|
|
621
|
-
var _$t = i.getPropertyOptions(e),
|
|
620
|
+
var _t_converter;
|
|
621
|
+
var _$t = i.getPropertyOptions(e), r = "function" == typeof _$t.converter ? {
|
|
622
622
|
fromAttribute: _$t.converter
|
|
623
623
|
} : void 0 !== ((_t_converter = _$t.converter) === null || _t_converter === void 0 ? void 0 : _t_converter.fromAttribute) ? _$t.converter : u$1;
|
|
624
|
-
|
|
625
|
-
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;
|
|
624
|
+
this._$Em = e, this[e] = r.fromAttribute(s, _$t.type), this._$Em = null;
|
|
626
625
|
}
|
|
627
626
|
}
|
|
628
627
|
},
|
|
@@ -630,33 +629,30 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
630
629
|
key: "requestUpdate",
|
|
631
630
|
value: function requestUpdate(t, s, i) {
|
|
632
631
|
if (void 0 !== t) {
|
|
633
|
-
var _this__$Ej;
|
|
634
|
-
var e = this.constructor, h = this[t];
|
|
635
632
|
var _i_hasChanged;
|
|
636
|
-
if (i !== null && i !== void 0 ? i : i =
|
|
637
|
-
this.
|
|
633
|
+
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;
|
|
634
|
+
this.P(t, s, i);
|
|
638
635
|
}
|
|
639
|
-
|
|
636
|
+
!1 === this.isUpdatePending && (this._$ES = this._$ET());
|
|
640
637
|
}
|
|
641
638
|
},
|
|
642
639
|
{
|
|
643
|
-
key: "
|
|
644
|
-
value: function
|
|
645
|
-
var
|
|
646
|
-
|
|
647
|
-
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));
|
|
640
|
+
key: "P",
|
|
641
|
+
value: function P(t, s, i) {
|
|
642
|
+
var _this__$Ej;
|
|
643
|
+
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);
|
|
648
644
|
}
|
|
649
645
|
},
|
|
650
646
|
{
|
|
651
|
-
key: "_$
|
|
652
|
-
value: function _$
|
|
647
|
+
key: "_$ET",
|
|
648
|
+
value: function _$ET() {
|
|
653
649
|
var _this = this;
|
|
654
650
|
return _async_to_generator(function() {
|
|
655
651
|
var t, _$t, _tmp;
|
|
656
652
|
return _ts_generator(this, function(_state) {
|
|
657
653
|
switch(_state.label){
|
|
658
654
|
case 0:
|
|
659
|
-
_this.isUpdatePending =
|
|
655
|
+
_this.isUpdatePending = !0;
|
|
660
656
|
_state.label = 1;
|
|
661
657
|
case 1:
|
|
662
658
|
_state.trys.push([
|
|
@@ -746,8 +742,7 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
746
742
|
if (t1.size > 0) try {
|
|
747
743
|
for(var _iterator1 = t1[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true){
|
|
748
744
|
var _step_value1 = _sliced_to_array$1(_step1.value, 2), _$s1 = _step_value1[0], i = _step_value1[1];
|
|
749
|
-
|
|
750
|
-
!0 !== t2 || this._$AL.has(_$s1) || void 0 === e || this.C(_$s1, void 0, i, e);
|
|
745
|
+
!0 !== i.wrapped || this._$AL.has(_$s1) || void 0 === this[_$s1] || this.P(_$s1, this[_$s1], i);
|
|
751
746
|
}
|
|
752
747
|
} catch (err) {
|
|
753
748
|
_didIteratorError1 = true;
|
|
@@ -764,18 +759,18 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
764
759
|
}
|
|
765
760
|
}
|
|
766
761
|
}
|
|
767
|
-
var
|
|
762
|
+
var t2 = !1;
|
|
768
763
|
var _$s2 = this._$AL;
|
|
769
764
|
try {
|
|
770
765
|
var _this__$EO;
|
|
771
|
-
|
|
766
|
+
t2 = this.shouldUpdate(_$s2), t2 ? (this.willUpdate(_$s2), (_this__$EO = this._$EO) === null || _this__$EO === void 0 ? void 0 : _this__$EO.forEach(function(t) {
|
|
772
767
|
var _t_hostUpdate;
|
|
773
768
|
return (_t_hostUpdate = t.hostUpdate) === null || _t_hostUpdate === void 0 ? void 0 : _t_hostUpdate.call(t);
|
|
774
|
-
}), this.update(_$s2)) : this._$
|
|
769
|
+
}), this.update(_$s2)) : this._$EU();
|
|
775
770
|
} catch (s) {
|
|
776
|
-
throw
|
|
771
|
+
throw t2 = !1, this._$EU(), s;
|
|
777
772
|
}
|
|
778
|
-
|
|
773
|
+
t2 && this._$AE(_$s2);
|
|
779
774
|
}
|
|
780
775
|
},
|
|
781
776
|
{
|
|
@@ -789,13 +784,13 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
789
784
|
(_this__$EO = this._$EO) === null || _this__$EO === void 0 ? void 0 : _this__$EO.forEach(function(t) {
|
|
790
785
|
var _t_hostUpdated;
|
|
791
786
|
return (_t_hostUpdated = t.hostUpdated) === null || _t_hostUpdated === void 0 ? void 0 : _t_hostUpdated.call(t);
|
|
792
|
-
}), this.hasUpdated || (this.hasUpdated =
|
|
787
|
+
}), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
|
793
788
|
}
|
|
794
789
|
},
|
|
795
790
|
{
|
|
796
|
-
key: "_$
|
|
797
|
-
value: function _$
|
|
798
|
-
this._$AL = new Map, this.isUpdatePending =
|
|
791
|
+
key: "_$EU",
|
|
792
|
+
value: function _$EU() {
|
|
793
|
+
this._$AL = new Map, this.isUpdatePending = !1;
|
|
799
794
|
}
|
|
800
795
|
},
|
|
801
796
|
{
|
|
@@ -813,16 +808,16 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
813
808
|
{
|
|
814
809
|
key: "shouldUpdate",
|
|
815
810
|
value: function shouldUpdate(t) {
|
|
816
|
-
return
|
|
811
|
+
return !0;
|
|
817
812
|
}
|
|
818
813
|
},
|
|
819
814
|
{
|
|
820
815
|
key: "update",
|
|
821
816
|
value: function update(t) {
|
|
822
817
|
var _this = this;
|
|
823
|
-
this._$
|
|
824
|
-
return _this._$
|
|
825
|
-
})), this._$
|
|
818
|
+
this._$Ej && (this._$Ej = this._$Ej.forEach(function(t) {
|
|
819
|
+
return _this._$EC(t, _this[t]);
|
|
820
|
+
})), this._$EU();
|
|
826
821
|
}
|
|
827
822
|
},
|
|
828
823
|
{
|
|
@@ -850,33 +845,35 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
850
845
|
{
|
|
851
846
|
key: "createProperty",
|
|
852
847
|
value: function createProperty(t) {
|
|
853
|
-
var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
|
854
|
-
if (s.state && (s.attribute =
|
|
855
|
-
var i = Symbol(),
|
|
856
|
-
void 0 !==
|
|
848
|
+
var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : y$1;
|
|
849
|
+
if (s.state && (s.attribute = !1), this._$Ei(), this.elementProperties.set(t, s), !s.noAccessor) {
|
|
850
|
+
var i = Symbol(), r = this.getPropertyDescriptor(t, i, s);
|
|
851
|
+
void 0 !== r && e$1(this.prototype, t, r);
|
|
857
852
|
}
|
|
858
853
|
}
|
|
859
854
|
},
|
|
860
855
|
{
|
|
861
856
|
key: "getPropertyDescriptor",
|
|
862
857
|
value: function getPropertyDescriptor(t, s, i) {
|
|
863
|
-
var
|
|
864
|
-
var _ref = (
|
|
858
|
+
var _r;
|
|
859
|
+
var _ref = (_r = r$4(this.prototype, t)) !== null && _r !== void 0 ? _r : {
|
|
865
860
|
get: function get() {
|
|
866
861
|
return this[s];
|
|
867
862
|
},
|
|
868
863
|
set: function set(t) {
|
|
869
864
|
this[s] = t;
|
|
870
865
|
}
|
|
871
|
-
}, e = _ref.get,
|
|
866
|
+
}, e = _ref.get, h = _ref.set;
|
|
872
867
|
return {
|
|
873
|
-
get:
|
|
868
|
+
get: function get() {
|
|
869
|
+
return e === null || e === void 0 ? void 0 : e.call(this);
|
|
870
|
+
},
|
|
874
871
|
set: function set(s) {
|
|
875
|
-
var
|
|
876
|
-
|
|
872
|
+
var r = e === null || e === void 0 ? void 0 : e.call(this);
|
|
873
|
+
h.call(this, s), this.requestUpdate(t, r, i);
|
|
877
874
|
},
|
|
878
|
-
configurable:
|
|
879
|
-
enumerable:
|
|
875
|
+
configurable: !0,
|
|
876
|
+
enumerable: !0
|
|
880
877
|
};
|
|
881
878
|
}
|
|
882
879
|
},
|
|
@@ -884,7 +881,7 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
884
881
|
key: "getPropertyOptions",
|
|
885
882
|
value: function getPropertyOptions(t) {
|
|
886
883
|
var _this_elementProperties_get;
|
|
887
|
-
return (_this_elementProperties_get = this.elementProperties.get(t)) !== null && _this_elementProperties_get !== void 0 ? _this_elementProperties_get :
|
|
884
|
+
return (_this_elementProperties_get = this.elementProperties.get(t)) !== null && _this_elementProperties_get !== void 0 ? _this_elementProperties_get : y$1;
|
|
888
885
|
}
|
|
889
886
|
},
|
|
890
887
|
{
|
|
@@ -899,8 +896,8 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
899
896
|
key: "finalize",
|
|
900
897
|
value: function finalize() {
|
|
901
898
|
if (this.hasOwnProperty(d$1("finalized"))) return;
|
|
902
|
-
if (this.finalized =
|
|
903
|
-
var t = this.properties, s = _to_consumable_array$1(
|
|
899
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(d$1("properties"))) {
|
|
900
|
+
var t = this.properties, s = _to_consumable_array$1(h$1(t)).concat(_to_consumable_array$1(o$2(t)));
|
|
904
901
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
|
905
902
|
try {
|
|
906
903
|
for(var _iterator = s[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
|
@@ -1005,18 +1002,18 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
|
1005
1002
|
key: "_$Eu",
|
|
1006
1003
|
value: function _$Eu(t, s) {
|
|
1007
1004
|
var i = s.attribute;
|
|
1008
|
-
return
|
|
1005
|
+
return !1 === i ? void 0 : "string" == typeof i ? i : "string" == typeof t ? t.toLowerCase() : void 0;
|
|
1009
1006
|
}
|
|
1010
1007
|
}
|
|
1011
1008
|
]);
|
|
1012
|
-
return
|
|
1009
|
+
return b;
|
|
1013
1010
|
}(_wrap_native_super(HTMLElement));
|
|
1014
1011
|
var _reactiveElementVersions;
|
|
1015
|
-
|
|
1012
|
+
b.elementStyles = [], b.shadowRootOptions = {
|
|
1016
1013
|
mode: "open"
|
|
1017
|
-
},
|
|
1018
|
-
ReactiveElement:
|
|
1019
|
-
}), ((_reactiveElementVersions = (_a1 = a$1).reactiveElementVersions) !== null && _reactiveElementVersions !== void 0 ? _reactiveElementVersions : _a1.reactiveElementVersions = []).push("2.
|
|
1014
|
+
}, b[d$1("elementProperties")] = new Map, b[d$1("finalized")] = new Map, p$1 === null || p$1 === void 0 ? void 0 : p$1({
|
|
1015
|
+
ReactiveElement: b
|
|
1016
|
+
}), ((_reactiveElementVersions = (_a1 = a$1).reactiveElementVersions) !== null && _reactiveElementVersions !== void 0 ? _reactiveElementVersions : _a1.reactiveElementVersions = []).push("2.0.4");
|
|
1020
1017
|
|
|
1021
1018
|
/**
|
|
1022
1019
|
* @license
|
|
@@ -1111,7 +1108,7 @@ function _non_iterable_spread() {
|
|
|
1111
1108
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
1112
1109
|
}
|
|
1113
1110
|
function _possible_constructor_return$1(self, call) {
|
|
1114
|
-
if (call && (_type_of$
|
|
1111
|
+
if (call && (_type_of$1(call) === "object" || typeof call === "function")) {
|
|
1115
1112
|
return call;
|
|
1116
1113
|
}
|
|
1117
1114
|
return _assert_this_initialized$1(self);
|
|
@@ -1129,7 +1126,7 @@ function _sliced_to_array(arr, i) {
|
|
|
1129
1126
|
function _to_consumable_array(arr) {
|
|
1130
1127
|
return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
|
|
1131
1128
|
}
|
|
1132
|
-
function _type_of$
|
|
1129
|
+
function _type_of$1(obj) {
|
|
1133
1130
|
"@swc/helpers - typeof";
|
|
1134
1131
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
1135
1132
|
}
|
|
@@ -1166,17 +1163,17 @@ function _create_super$1(Derived) {
|
|
|
1166
1163
|
};
|
|
1167
1164
|
}
|
|
1168
1165
|
var _t;
|
|
1169
|
-
var t$1 = globalThis, i$1 = t$1.trustedTypes, s
|
|
1166
|
+
var t$1 = globalThis, i$1 = t$1.trustedTypes, s = i$1 ? i$1.createPolicy("lit-html", {
|
|
1170
1167
|
createHTML: function(t) {
|
|
1171
1168
|
return t;
|
|
1172
1169
|
}
|
|
1173
|
-
}) : void 0, e = "$lit$", h = "lit$".concat(Math.random().toFixed(9).slice(2), "$"), o$
|
|
1174
|
-
return r$
|
|
1170
|
+
}) : 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() {
|
|
1171
|
+
return r$3.createComment("");
|
|
1175
1172
|
}, c = function(t) {
|
|
1176
|
-
return null === t || "object" !=
|
|
1173
|
+
return null === t || "object" != typeof t && "function" != typeof t;
|
|
1177
1174
|
}, a = Array.isArray, u = function(t) {
|
|
1178
1175
|
return a(t) || "function" == typeof (t === null || t === void 0 ? void 0 : t[Symbol.iterator]);
|
|
1179
|
-
}, d = "[
|
|
1176
|
+
}, 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) {
|
|
1180
1177
|
return function(i) {
|
|
1181
1178
|
for(var _len = arguments.length, s = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
|
|
1182
1179
|
s[_key - 1] = arguments[_key];
|
|
@@ -1187,10 +1184,10 @@ var t$1 = globalThis, i$1 = t$1.trustedTypes, s$1 = i$1 ? i$1.createPolicy("lit-
|
|
|
1187
1184
|
values: s
|
|
1188
1185
|
};
|
|
1189
1186
|
};
|
|
1190
|
-
}, x = y(1), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = new WeakMap, C = r$
|
|
1187
|
+
}, x = y(1), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = new WeakMap, C = r$3.createTreeWalker(r$3, 129);
|
|
1191
1188
|
function P(t, i) {
|
|
1192
1189
|
if (!a(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
1193
|
-
return void 0 !== s
|
|
1190
|
+
return void 0 !== s ? s.createHTML(i) : i;
|
|
1194
1191
|
}
|
|
1195
1192
|
var V = function(t, i) {
|
|
1196
1193
|
var s = t.length - 1, o = [];
|
|
@@ -1265,7 +1262,7 @@ var N = /*#__PURE__*/ function() {
|
|
|
1265
1262
|
r.append(t3[s2], l());
|
|
1266
1263
|
}
|
|
1267
1264
|
}
|
|
1268
|
-
} else if (8 === r.nodeType) if (r.data === o$
|
|
1265
|
+
} else if (8 === r.nodeType) if (r.data === o$1) d.push({
|
|
1269
1266
|
type: 2,
|
|
1270
1267
|
index: c
|
|
1271
1268
|
});
|
|
@@ -1283,7 +1280,7 @@ var N = /*#__PURE__*/ function() {
|
|
|
1283
1280
|
{
|
|
1284
1281
|
key: "createElement",
|
|
1285
1282
|
value: function createElement(t, i) {
|
|
1286
|
-
var s = r$
|
|
1283
|
+
var s = r$3.createElement("template");
|
|
1287
1284
|
return s.innerHTML = t, s;
|
|
1288
1285
|
}
|
|
1289
1286
|
}
|
|
@@ -1298,7 +1295,7 @@ function S(t, i) {
|
|
|
1298
1295
|
var h = void 0 !== e ? (_s__$Co = s._$Co) === null || _s__$Co === void 0 ? void 0 : _s__$Co[e] : s._$Cl;
|
|
1299
1296
|
var o = c(i) ? void 0 : i._$litDirective$;
|
|
1300
1297
|
var __$Co;
|
|
1301
|
-
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,
|
|
1298
|
+
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;
|
|
1302
1299
|
}
|
|
1303
1300
|
var M = /*#__PURE__*/ function() {
|
|
1304
1301
|
function M(t, i) {
|
|
@@ -1322,7 +1319,7 @@ var M = /*#__PURE__*/ function() {
|
|
|
1322
1319
|
key: "u",
|
|
1323
1320
|
value: function u(t) {
|
|
1324
1321
|
var _t_creationScope;
|
|
1325
|
-
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$
|
|
1322
|
+
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);
|
|
1326
1323
|
C.currentNode = e;
|
|
1327
1324
|
var h = C.nextNode(), o = 0, n = 0, l = s[0];
|
|
1328
1325
|
for(; void 0 !== l;){
|
|
@@ -1332,7 +1329,7 @@ var M = /*#__PURE__*/ function() {
|
|
|
1332
1329
|
}
|
|
1333
1330
|
o !== (l === null || l === void 0 ? void 0 : l.index) && (h = C.nextNode(), o++);
|
|
1334
1331
|
}
|
|
1335
|
-
return C.currentNode = r$
|
|
1332
|
+
return C.currentNode = r$3, e;
|
|
1336
1333
|
}
|
|
1337
1334
|
},
|
|
1338
1335
|
{
|
|
@@ -1368,7 +1365,7 @@ var R = /*#__PURE__*/ function() {
|
|
|
1368
1365
|
function R(t, i, s, e) {
|
|
1369
1366
|
_class_call_check$1(this, R);
|
|
1370
1367
|
var _e_isConnected;
|
|
1371
|
-
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 :
|
|
1368
|
+
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;
|
|
1372
1369
|
}
|
|
1373
1370
|
_create_class$1(R, [
|
|
1374
1371
|
{
|
|
@@ -1421,7 +1418,7 @@ var R = /*#__PURE__*/ function() {
|
|
|
1421
1418
|
{
|
|
1422
1419
|
key: "_",
|
|
1423
1420
|
value: function _(t) {
|
|
1424
|
-
this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$
|
|
1421
|
+
this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$3.createTextNode(t)), this._$AH = t;
|
|
1425
1422
|
}
|
|
1426
1423
|
},
|
|
1427
1424
|
{
|
|
@@ -1477,7 +1474,7 @@ var R = /*#__PURE__*/ function() {
|
|
|
1477
1474
|
value: function _$AR() {
|
|
1478
1475
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this._$AA.nextSibling, i = arguments.length > 1 ? arguments[1] : void 0;
|
|
1479
1476
|
var _this__$AP, _this;
|
|
1480
|
-
for((_this__$AP = (_this = this)._$AP) === null || _this__$AP === void 0 ? void 0 : _this__$AP.call(_this,
|
|
1477
|
+
for((_this__$AP = (_this = this)._$AP) === null || _this__$AP === void 0 ? void 0 : _this__$AP.call(_this, !1, !0, i); t && t !== this._$AB;){
|
|
1481
1478
|
var i1 = t.nextSibling;
|
|
1482
1479
|
t.remove(), t = i1;
|
|
1483
1480
|
}
|
|
@@ -1516,7 +1513,7 @@ var k = /*#__PURE__*/ function() {
|
|
|
1516
1513
|
value: function _$AI(t) {
|
|
1517
1514
|
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;
|
|
1518
1515
|
var h = this.strings;
|
|
1519
|
-
var o =
|
|
1516
|
+
var o = !1;
|
|
1520
1517
|
if (void 0 === h) t = S(this, t, i, 0), o = !c(t) || t !== this._$AH && t !== T, o && (this._$AH = t);
|
|
1521
1518
|
else {
|
|
1522
1519
|
var e1 = t;
|
|
@@ -1631,7 +1628,7 @@ var z = /*#__PURE__*/ function() {
|
|
|
1631
1628
|
}();
|
|
1632
1629
|
var j = t$1.litHtmlPolyfillSupport;
|
|
1633
1630
|
var _litHtmlVersions;
|
|
1634
|
-
j === null || j === void 0 ? void 0 : j(N, R), ((_litHtmlVersions = (_t = t$1).litHtmlVersions) !== null && _litHtmlVersions !== void 0 ? _litHtmlVersions : _t.litHtmlVersions = []).push("3.
|
|
1631
|
+
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");
|
|
1635
1632
|
var B = function(t, i, s) {
|
|
1636
1633
|
var _s_renderBefore;
|
|
1637
1634
|
var e = (_s_renderBefore = s === null || s === void 0 ? void 0 : s.renderBefore) !== null && _s_renderBefore !== void 0 ? _s_renderBefore : i;
|
|
@@ -1666,6 +1663,7 @@ function _defineProperties(target, props) {
|
|
|
1666
1663
|
}
|
|
1667
1664
|
function _create_class(Constructor, protoProps, staticProps) {
|
|
1668
1665
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
1666
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
1669
1667
|
return Constructor;
|
|
1670
1668
|
}
|
|
1671
1669
|
function _get(target, property, receiver) {
|
|
@@ -1704,7 +1702,7 @@ function _inherits(subClass, superClass) {
|
|
|
1704
1702
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
1705
1703
|
}
|
|
1706
1704
|
function _possible_constructor_return(self, call) {
|
|
1707
|
-
if (call && (_type_of
|
|
1705
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
1708
1706
|
return call;
|
|
1709
1707
|
}
|
|
1710
1708
|
return _assert_this_initialized(self);
|
|
@@ -1723,7 +1721,7 @@ function _super_prop_base(object, property) {
|
|
|
1723
1721
|
}
|
|
1724
1722
|
return object;
|
|
1725
1723
|
}
|
|
1726
|
-
function _type_of
|
|
1724
|
+
function _type_of(obj) {
|
|
1727
1725
|
"@swc/helpers - typeof";
|
|
1728
1726
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
1729
1727
|
}
|
|
@@ -1751,18 +1749,17 @@ function _create_super(Derived) {
|
|
|
1751
1749
|
return _possible_constructor_return(this, result);
|
|
1752
1750
|
};
|
|
1753
1751
|
}
|
|
1754
|
-
var
|
|
1755
|
-
var
|
|
1752
|
+
var _globalThis_litElementHydrateSupport, _globalThis;
|
|
1753
|
+
var _globalThis1;
|
|
1756
1754
|
/**
|
|
1757
1755
|
* @license
|
|
1758
1756
|
* Copyright 2017 Google LLC
|
|
1759
1757
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1760
|
-
*/ var
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
_class_call_check(this, i);
|
|
1758
|
+
*/ var r$2 = /*#__PURE__*/ function(t) {
|
|
1759
|
+
_inherits(r, t);
|
|
1760
|
+
var _super = _create_super(r);
|
|
1761
|
+
function r() {
|
|
1762
|
+
_class_call_check(this, r);
|
|
1766
1763
|
var _this;
|
|
1767
1764
|
_this = _super.call.apply(_super, [
|
|
1768
1765
|
this
|
|
@@ -1771,12 +1768,12 @@ var i = /*#__PURE__*/ function(t) {
|
|
|
1771
1768
|
}, _this._$Do = void 0;
|
|
1772
1769
|
return _possible_constructor_return(_this);
|
|
1773
1770
|
}
|
|
1774
|
-
_create_class(
|
|
1771
|
+
_create_class(r, [
|
|
1775
1772
|
{
|
|
1776
1773
|
key: "createRenderRoot",
|
|
1777
1774
|
value: function createRenderRoot() {
|
|
1778
1775
|
var _this_renderOptions;
|
|
1779
|
-
var _$t = _get(_get_prototype_of(
|
|
1776
|
+
var _$t = _get(_get_prototype_of(r.prototype), "createRenderRoot", this).call(this);
|
|
1780
1777
|
var _renderBefore;
|
|
1781
1778
|
return (_renderBefore = (_this_renderOptions = this.renderOptions).renderBefore) !== null && _renderBefore !== void 0 ? _renderBefore : _this_renderOptions.renderBefore = _$t.firstChild, _$t;
|
|
1782
1779
|
}
|
|
@@ -1784,22 +1781,22 @@ var i = /*#__PURE__*/ function(t) {
|
|
|
1784
1781
|
{
|
|
1785
1782
|
key: "update",
|
|
1786
1783
|
value: function update(t) {
|
|
1787
|
-
var
|
|
1788
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), _get(_get_prototype_of(
|
|
1784
|
+
var s = this.render();
|
|
1785
|
+
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);
|
|
1789
1786
|
}
|
|
1790
1787
|
},
|
|
1791
1788
|
{
|
|
1792
1789
|
key: "connectedCallback",
|
|
1793
1790
|
value: function connectedCallback() {
|
|
1794
1791
|
var _this__$Do;
|
|
1795
|
-
_get(_get_prototype_of(
|
|
1792
|
+
_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);
|
|
1796
1793
|
}
|
|
1797
1794
|
},
|
|
1798
1795
|
{
|
|
1799
1796
|
key: "disconnectedCallback",
|
|
1800
1797
|
value: function disconnectedCallback() {
|
|
1801
1798
|
var _this__$Do;
|
|
1802
|
-
_get(_get_prototype_of(
|
|
1799
|
+
_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);
|
|
1803
1800
|
}
|
|
1804
1801
|
},
|
|
1805
1802
|
{
|
|
@@ -1809,17 +1806,17 @@ var i = /*#__PURE__*/ function(t) {
|
|
|
1809
1806
|
}
|
|
1810
1807
|
}
|
|
1811
1808
|
]);
|
|
1812
|
-
return
|
|
1813
|
-
}(
|
|
1814
|
-
|
|
1815
|
-
LitElement:
|
|
1809
|
+
return r;
|
|
1810
|
+
}(b);
|
|
1811
|
+
r$2._$litElement$ = !0, r$2["finalized"] = !0, (_globalThis_litElementHydrateSupport = (_globalThis = globalThis).litElementHydrateSupport) === null || _globalThis_litElementHydrateSupport === void 0 ? void 0 : _globalThis_litElementHydrateSupport.call(_globalThis, {
|
|
1812
|
+
LitElement: r$2
|
|
1816
1813
|
});
|
|
1817
|
-
var
|
|
1818
|
-
|
|
1819
|
-
LitElement:
|
|
1814
|
+
var i = globalThis.litElementPolyfillSupport;
|
|
1815
|
+
i === null || i === void 0 ? void 0 : i({
|
|
1816
|
+
LitElement: r$2
|
|
1820
1817
|
});
|
|
1821
1818
|
var _litElementVersions;
|
|
1822
|
-
((_litElementVersions = (
|
|
1819
|
+
((_litElementVersions = (_globalThis1 = globalThis).litElementVersions) !== null && _litElementVersions !== void 0 ? _litElementVersions : _globalThis1.litElementVersions = []).push("4.1.1");
|
|
1823
1820
|
|
|
1824
1821
|
/**
|
|
1825
1822
|
* @license
|
|
@@ -1833,25 +1830,73 @@ var _litElementVersions;
|
|
|
1833
1830
|
};
|
|
1834
1831
|
};
|
|
1835
1832
|
|
|
1836
|
-
function
|
|
1837
|
-
|
|
1838
|
-
|
|
1833
|
+
function _define_property$1(obj, key, value) {
|
|
1834
|
+
if (key in obj) {
|
|
1835
|
+
Object.defineProperty(obj, key, {
|
|
1836
|
+
value: value,
|
|
1837
|
+
enumerable: true,
|
|
1838
|
+
configurable: true,
|
|
1839
|
+
writable: true
|
|
1840
|
+
});
|
|
1841
|
+
} else {
|
|
1842
|
+
obj[key] = value;
|
|
1843
|
+
}
|
|
1844
|
+
return obj;
|
|
1845
|
+
}
|
|
1846
|
+
function _object_spread$1(target) {
|
|
1847
|
+
for(var i = 1; i < arguments.length; i++){
|
|
1848
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
1849
|
+
var ownKeys = Object.keys(source);
|
|
1850
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
1851
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
1852
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
1853
|
+
}));
|
|
1854
|
+
}
|
|
1855
|
+
ownKeys.forEach(function(key) {
|
|
1856
|
+
_define_property$1(target, key, source[key]);
|
|
1857
|
+
});
|
|
1858
|
+
}
|
|
1859
|
+
return target;
|
|
1860
|
+
}
|
|
1861
|
+
function ownKeys$1(object, enumerableOnly) {
|
|
1862
|
+
var keys = Object.keys(object);
|
|
1863
|
+
if (Object.getOwnPropertySymbols) {
|
|
1864
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
1865
|
+
if (enumerableOnly) {
|
|
1866
|
+
symbols = symbols.filter(function(sym) {
|
|
1867
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
1868
|
+
});
|
|
1869
|
+
}
|
|
1870
|
+
keys.push.apply(keys, symbols);
|
|
1871
|
+
}
|
|
1872
|
+
return keys;
|
|
1873
|
+
}
|
|
1874
|
+
function _object_spread_props$1(target, source) {
|
|
1875
|
+
source = source != null ? source : {};
|
|
1876
|
+
if (Object.getOwnPropertyDescriptors) {
|
|
1877
|
+
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
1878
|
+
} else {
|
|
1879
|
+
ownKeys$1(Object(source)).forEach(function(key) {
|
|
1880
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
1881
|
+
});
|
|
1882
|
+
}
|
|
1883
|
+
return target;
|
|
1839
1884
|
}
|
|
1840
1885
|
/**
|
|
1841
1886
|
* @license
|
|
1842
1887
|
* Copyright 2017 Google LLC
|
|
1843
1888
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1844
1889
|
*/ var o = {
|
|
1845
|
-
attribute:
|
|
1890
|
+
attribute: !0,
|
|
1846
1891
|
type: String,
|
|
1847
1892
|
converter: u$1,
|
|
1848
|
-
reflect:
|
|
1893
|
+
reflect: !1,
|
|
1849
1894
|
hasChanged: f$1
|
|
1850
1895
|
}, r$1 = function() {
|
|
1851
1896
|
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;
|
|
1852
1897
|
var n = r.kind, i = r.metadata;
|
|
1853
1898
|
var s = globalThis.litPropertyMetadata.get(i);
|
|
1854
|
-
if (void 0 === s && globalThis.litPropertyMetadata.set(i, s = new Map),
|
|
1899
|
+
if (void 0 === s && globalThis.litPropertyMetadata.set(i, s = new Map), s.set(r.name, _$t), "accessor" === n) {
|
|
1855
1900
|
var o1 = r.name;
|
|
1856
1901
|
return {
|
|
1857
1902
|
set: function set(r) {
|
|
@@ -1859,7 +1904,7 @@ function _type_of(obj) {
|
|
|
1859
1904
|
_$e.set.call(this, r), this.requestUpdate(o1, n, _$t);
|
|
1860
1905
|
},
|
|
1861
1906
|
init: function init(e) {
|
|
1862
|
-
return void 0 !== e && this.
|
|
1907
|
+
return void 0 !== e && this.P(o1, void 0, _$t), e;
|
|
1863
1908
|
}
|
|
1864
1909
|
};
|
|
1865
1910
|
}
|
|
@@ -1874,9 +1919,11 @@ function _type_of(obj) {
|
|
|
1874
1919
|
};
|
|
1875
1920
|
function n(t) {
|
|
1876
1921
|
return function(e, o) {
|
|
1877
|
-
return "object" ==
|
|
1922
|
+
return "object" == typeof o ? r$1(t, e, o) : function(t, e, o) {
|
|
1878
1923
|
var r = e.hasOwnProperty(o);
|
|
1879
|
-
return e.constructor.createProperty(o,
|
|
1924
|
+
return e.constructor.createProperty(o, r ? _object_spread_props$1(_object_spread$1({}, t), {
|
|
1925
|
+
wrapped: !0
|
|
1926
|
+
}) : t), r ? Object.getOwnPropertyDescriptor(e, o) : void 0;
|
|
1880
1927
|
}(t, e, o);
|
|
1881
1928
|
};
|
|
1882
1929
|
}
|
|
@@ -1913,6 +1960,11 @@ function ownKeys(object, enumerableOnly) {
|
|
|
1913
1960
|
var keys = Object.keys(object);
|
|
1914
1961
|
if (Object.getOwnPropertySymbols) {
|
|
1915
1962
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
1963
|
+
if (enumerableOnly) {
|
|
1964
|
+
symbols = symbols.filter(function(sym) {
|
|
1965
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
1966
|
+
});
|
|
1967
|
+
}
|
|
1916
1968
|
keys.push.apply(keys, symbols);
|
|
1917
1969
|
}
|
|
1918
1970
|
return keys;
|
|
@@ -1934,12 +1986,12 @@ function _object_spread_props(target, source) {
|
|
|
1934
1986
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
1935
1987
|
*/ function r(r) {
|
|
1936
1988
|
return n(_object_spread_props(_object_spread({}, r), {
|
|
1937
|
-
state:
|
|
1938
|
-
attribute:
|
|
1989
|
+
state: !0,
|
|
1990
|
+
attribute: !1
|
|
1939
1991
|
}));
|
|
1940
1992
|
}
|
|
1941
1993
|
|
|
1942
|
-
class InputPdfElement extends
|
|
1994
|
+
class InputPdfElement extends r$2 {
|
|
1943
1995
|
get content() {
|
|
1944
1996
|
return this._content;
|
|
1945
1997
|
}
|