@digipair/skill-web-editor 0.94.0-0 → 0.94.0-3
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} +3 -1
- package/{dist/index.cjs2.js → index.cjs2.js} +180 -133
- package/index.d.ts +1 -0
- package/{dist/index.esm2.js → index.esm2.js} +180 -133
- package/{dist → libs/skill-web-editor}/src/index.d.ts +0 -1
- package/{dist → libs/skill-web-editor}/src/lib/blocks/json.d.ts +0 -1
- package/{dist → libs/skill-web-editor}/src/lib/editor.element.d.ts +0 -1
- package/libs/skill-web-editor/src/lib/generator/blockly-to-json.d.ts +1 -0
- package/{dist → libs/skill-web-editor}/src/lib/generator/json-to-blockly.d.ts +0 -1
- package/{dist → libs/skill-web-editor}/src/lib/generator/pins-to-blockly.d.ts +0 -1
- package/{dist → libs/skill-web-editor}/src/lib/schemas/web.fr.schema.d.ts +0 -1
- package/{dist → libs/skill-web-editor}/src/lib/schemas/web.schema.d.ts +0 -1
- package/libs/skill-web-editor/src/lib/skill-web-editor.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/blocks/json.d.ts.map +0 -1
- package/dist/src/lib/editor.element.d.ts.map +0 -1
- package/dist/src/lib/generator/blockly-to-json.d.ts +0 -2
- package/dist/src/lib/generator/blockly-to-json.d.ts.map +0 -1
- package/dist/src/lib/generator/json-to-blockly.d.ts.map +0 -1
- package/dist/src/lib/generator/pins-to-blockly.d.ts.map +0 -1
- package/dist/src/lib/schemas/web.fr.schema.d.ts.map +0 -1
- package/dist/src/lib/schemas/web.schema.d.ts.map +0 -1
- package/dist/src/lib/skill-web-editor.d.ts +0 -2
- package/dist/src/lib/skill-web-editor.d.ts.map +0 -1
- package/dist/src/lib/skill-web-editor.spec.d.ts +0 -2
- package/dist/src/lib/skill-web-editor.spec.d.ts.map +0 -1
- /package/{dist/blockly-to-json.cjs.js → blockly-to-json.cjs.js} +0 -0
- /package/{dist/blockly-to-json.esm.js → blockly-to-json.esm.js} +0 -0
- /package/{dist/index.d.ts → index.cjs.d.ts} +0 -0
- /package/{dist/index.esm.js → index.esm.js} +0 -0
- /package/{dist/pins-to-blockly.cjs.js → pins-to-blockly.cjs.js} +0 -0
- /package/{dist/pins-to-blockly.esm.js → pins-to-blockly.esm.js} +0 -0
- /package/{dist/schema.fr.json → schema.fr.json} +0 -0
- /package/{dist/schema.json → schema.json} +0 -0
@@ -20,7 +20,7 @@ function __decorate(decorators, target, key, desc) {
|
|
20
20
|
function __metadata(metadataKey, metadataValue) {
|
21
21
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
22
22
|
}
|
23
|
-
typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message) {
|
23
|
+
typeof SuppressedError === "function" ? SuppressedError : function _SuppressedError(error, suppressed, message) {
|
24
24
|
var e = new Error(message);
|
25
25
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
26
26
|
};
|
@@ -45,6 +45,7 @@ function _defineProperties$3(target, props) {
|
|
45
45
|
}
|
46
46
|
function _create_class$3(Constructor, protoProps, staticProps) {
|
47
47
|
if (protoProps) _defineProperties$3(Constructor.prototype, protoProps);
|
48
|
+
if (staticProps) _defineProperties$3(Constructor, staticProps);
|
48
49
|
return Constructor;
|
49
50
|
}
|
50
51
|
function _instanceof(left, right) {
|
@@ -54,11 +55,11 @@ function _instanceof(left, right) {
|
|
54
55
|
return left instanceof right;
|
55
56
|
}
|
56
57
|
}
|
57
|
-
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$
|
58
|
+
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;
|
58
59
|
var n$3 = /*#__PURE__*/ function() {
|
59
60
|
function n(t, e, o) {
|
60
61
|
_class_call_check$3(this, n);
|
61
|
-
if (this._$cssResult$ =
|
62
|
+
if (this._$cssResult$ = !0, o !== s$1) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
62
63
|
this.cssText = t, this.t = e;
|
63
64
|
}
|
64
65
|
_create_class$3(n, [
|
@@ -69,7 +70,7 @@ var n$3 = /*#__PURE__*/ function() {
|
|
69
70
|
var s = this.t;
|
70
71
|
if (e$2 && void 0 === t) {
|
71
72
|
var e1 = void 0 !== s && 1 === s.length;
|
72
|
-
e1 && (t = o$
|
73
|
+
e1 && (t = o$3.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet).replaceSync(this.cssText), e1 && o$3.set(s, t));
|
73
74
|
}
|
74
75
|
return t;
|
75
76
|
}
|
@@ -83,8 +84,8 @@ var n$3 = /*#__PURE__*/ function() {
|
|
83
84
|
]);
|
84
85
|
return n;
|
85
86
|
}();
|
86
|
-
var r$
|
87
|
-
return new n$3("string" == typeof t ? t : t + "", void 0, s$
|
87
|
+
var r$4 = function(t) {
|
88
|
+
return new n$3("string" == typeof t ? t : t + "", void 0, s$1);
|
88
89
|
}, S$1 = function(s, o) {
|
89
90
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
90
91
|
if (e$2) s.adoptedStyleSheets = o.map(function(t) {
|
@@ -135,7 +136,7 @@ var r$3 = function(t) {
|
|
135
136
|
}
|
136
137
|
}
|
137
138
|
}
|
138
|
-
return r$
|
139
|
+
return r$4(e);
|
139
140
|
}(t) : t;
|
140
141
|
};
|
141
142
|
|
@@ -277,7 +278,7 @@ function _non_iterable_spread$1() {
|
|
277
278
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
278
279
|
}
|
279
280
|
function _possible_constructor_return$2(self, call) {
|
280
|
-
if (call && (_type_of$
|
281
|
+
if (call && (_type_of$2(call) === "object" || typeof call === "function")) {
|
281
282
|
return call;
|
282
283
|
}
|
283
284
|
return _assert_this_initialized$2(self);
|
@@ -295,7 +296,7 @@ function _sliced_to_array$1(arr, i) {
|
|
295
296
|
function _to_consumable_array$1(arr) {
|
296
297
|
return _array_without_holes$1(arr) || _iterable_to_array$1(arr) || _unsupported_iterable_to_array$1(arr) || _non_iterable_spread$1();
|
297
298
|
}
|
298
|
-
function _type_of$
|
299
|
+
function _type_of$2(obj) {
|
299
300
|
"@swc/helpers - typeof";
|
300
301
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
301
302
|
}
|
@@ -457,7 +458,7 @@ var _Symbol, _a, _a1;
|
|
457
458
|
* @license
|
458
459
|
* Copyright 2017 Google LLC
|
459
460
|
* SPDX-License-Identifier: BSD-3-Clause
|
460
|
-
*/ var i$2 = Object.is, e$1 = Object.defineProperty,
|
461
|
+
*/ var i$2 = Object.is, e$1 = Object.defineProperty, r$3 = 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) {
|
461
462
|
return t;
|
462
463
|
}, u$1 = {
|
463
464
|
toAttribute: function toAttribute(t, s) {
|
@@ -492,26 +493,25 @@ var _Symbol, _a, _a1;
|
|
492
493
|
}
|
493
494
|
}, f$1 = function(t, s) {
|
494
495
|
return !i$2(t, s);
|
495
|
-
},
|
496
|
-
attribute:
|
496
|
+
}, y$1 = {
|
497
|
+
attribute: !0,
|
497
498
|
type: String,
|
498
499
|
converter: u$1,
|
499
|
-
reflect:
|
500
|
-
useDefault: false,
|
500
|
+
reflect: !1,
|
501
501
|
hasChanged: f$1
|
502
502
|
};
|
503
503
|
var _metadata, _litPropertyMetadata;
|
504
504
|
(_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;
|
505
|
-
var
|
506
|
-
_inherits$2(
|
507
|
-
var _super = _create_super$2(
|
508
|
-
function
|
509
|
-
_class_call_check$2(this,
|
505
|
+
var b = /*#__PURE__*/ function(HTMLElement1) {
|
506
|
+
_inherits$2(b, HTMLElement1);
|
507
|
+
var _super = _create_super$2(b);
|
508
|
+
function b() {
|
509
|
+
_class_call_check$2(this, b);
|
510
510
|
var _this;
|
511
|
-
_this = _super.call(this), _this._$Ep = void 0, _this.isUpdatePending =
|
511
|
+
_this = _super.call(this), _this._$Ep = void 0, _this.isUpdatePending = !1, _this.hasUpdated = !1, _this._$Em = null, _this._$Ev();
|
512
512
|
return _possible_constructor_return$2(_this);
|
513
513
|
}
|
514
|
-
_create_class$2(
|
514
|
+
_create_class$2(b, [
|
515
515
|
{
|
516
516
|
key: "_$Ev",
|
517
517
|
value: function _$Ev() {
|
@@ -579,7 +579,7 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
579
579
|
value: function connectedCallback() {
|
580
580
|
var _this__$EO;
|
581
581
|
var _this_renderRoot;
|
582
|
-
(_this_renderRoot = this.renderRoot) !== null && _this_renderRoot !== void 0 ? _this_renderRoot : this.renderRoot = this.createRenderRoot(), this.enableUpdating(
|
582
|
+
(_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) {
|
583
583
|
var _t_hostConnected;
|
584
584
|
return (_t_hostConnected = t.hostConnected) === null || _t_hostConnected === void 0 ? void 0 : _t_hostConnected.call(t);
|
585
585
|
});
|
@@ -606,13 +606,13 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
606
606
|
}
|
607
607
|
},
|
608
608
|
{
|
609
|
-
key: "_$
|
610
|
-
value: function _$
|
609
|
+
key: "_$EC",
|
610
|
+
value: function _$EC(t, s) {
|
611
611
|
var i = this.constructor.elementProperties.get(t), e = this.constructor._$Eu(t, i);
|
612
|
-
if (void 0 !== e &&
|
612
|
+
if (void 0 !== e && !0 === i.reflect) {
|
613
613
|
var _i_converter;
|
614
|
-
var
|
615
|
-
this._$Em = t, null ==
|
614
|
+
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);
|
615
|
+
this._$Em = t, null == r ? this.removeAttribute(e) : this.setAttribute(e, r), this._$Em = null;
|
616
616
|
}
|
617
617
|
}
|
618
618
|
},
|
@@ -621,12 +621,11 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
621
621
|
value: function _$AK(t, s) {
|
622
622
|
var i = this.constructor, e = i._$Eh.get(t);
|
623
623
|
if (void 0 !== e && this._$Em !== e) {
|
624
|
-
var _t_converter
|
625
|
-
var _$t = i.getPropertyOptions(e),
|
624
|
+
var _t_converter;
|
625
|
+
var _$t = i.getPropertyOptions(e), r = "function" == typeof _$t.converter ? {
|
626
626
|
fromAttribute: _$t.converter
|
627
627
|
} : void 0 !== ((_t_converter = _$t.converter) === null || _t_converter === void 0 ? void 0 : _t_converter.fromAttribute) ? _$t.converter : u$1;
|
628
|
-
|
629
|
-
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;
|
628
|
+
this._$Em = e, this[e] = r.fromAttribute(s, _$t.type), this._$Em = null;
|
630
629
|
}
|
631
630
|
}
|
632
631
|
},
|
@@ -634,33 +633,30 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
634
633
|
key: "requestUpdate",
|
635
634
|
value: function requestUpdate(t, s, i) {
|
636
635
|
if (void 0 !== t) {
|
637
|
-
var _this__$Ej;
|
638
|
-
var e = this.constructor, h = this[t];
|
639
636
|
var _i_hasChanged;
|
640
|
-
if (i !== null && i !== void 0 ? i : i =
|
641
|
-
this.
|
637
|
+
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;
|
638
|
+
this.P(t, s, i);
|
642
639
|
}
|
643
|
-
|
640
|
+
!1 === this.isUpdatePending && (this._$ES = this._$ET());
|
644
641
|
}
|
645
642
|
},
|
646
643
|
{
|
647
|
-
key: "
|
648
|
-
value: function
|
649
|
-
var
|
650
|
-
|
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));
|
644
|
+
key: "P",
|
645
|
+
value: function P(t, s, i) {
|
646
|
+
var _this__$Ej;
|
647
|
+
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);
|
652
648
|
}
|
653
649
|
},
|
654
650
|
{
|
655
|
-
key: "_$
|
656
|
-
value: function _$
|
651
|
+
key: "_$ET",
|
652
|
+
value: function _$ET() {
|
657
653
|
var _this = this;
|
658
654
|
return _async_to_generator(function() {
|
659
655
|
var t, _$t, _tmp;
|
660
656
|
return _ts_generator(this, function(_state) {
|
661
657
|
switch(_state.label){
|
662
658
|
case 0:
|
663
|
-
_this.isUpdatePending =
|
659
|
+
_this.isUpdatePending = !0;
|
664
660
|
_state.label = 1;
|
665
661
|
case 1:
|
666
662
|
_state.trys.push([
|
@@ -750,8 +746,7 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
750
746
|
if (t1.size > 0) try {
|
751
747
|
for(var _iterator1 = t1[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true){
|
752
748
|
var _step_value1 = _sliced_to_array$1(_step1.value, 2), _$s1 = _step_value1[0], i = _step_value1[1];
|
753
|
-
|
754
|
-
!0 !== t2 || this._$AL.has(_$s1) || void 0 === e || this.C(_$s1, void 0, i, e);
|
749
|
+
!0 !== i.wrapped || this._$AL.has(_$s1) || void 0 === this[_$s1] || this.P(_$s1, this[_$s1], i);
|
755
750
|
}
|
756
751
|
} catch (err) {
|
757
752
|
_didIteratorError1 = true;
|
@@ -768,18 +763,18 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
768
763
|
}
|
769
764
|
}
|
770
765
|
}
|
771
|
-
var
|
766
|
+
var t2 = !1;
|
772
767
|
var _$s2 = this._$AL;
|
773
768
|
try {
|
774
769
|
var _this__$EO;
|
775
|
-
|
770
|
+
t2 = this.shouldUpdate(_$s2), t2 ? (this.willUpdate(_$s2), (_this__$EO = this._$EO) === null || _this__$EO === void 0 ? void 0 : _this__$EO.forEach(function(t) {
|
776
771
|
var _t_hostUpdate;
|
777
772
|
return (_t_hostUpdate = t.hostUpdate) === null || _t_hostUpdate === void 0 ? void 0 : _t_hostUpdate.call(t);
|
778
|
-
}), this.update(_$s2)) : this._$
|
773
|
+
}), this.update(_$s2)) : this._$EU();
|
779
774
|
} catch (s) {
|
780
|
-
throw
|
775
|
+
throw t2 = !1, this._$EU(), s;
|
781
776
|
}
|
782
|
-
|
777
|
+
t2 && this._$AE(_$s2);
|
783
778
|
}
|
784
779
|
},
|
785
780
|
{
|
@@ -793,13 +788,13 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
793
788
|
(_this__$EO = this._$EO) === null || _this__$EO === void 0 ? void 0 : _this__$EO.forEach(function(t) {
|
794
789
|
var _t_hostUpdated;
|
795
790
|
return (_t_hostUpdated = t.hostUpdated) === null || _t_hostUpdated === void 0 ? void 0 : _t_hostUpdated.call(t);
|
796
|
-
}), this.hasUpdated || (this.hasUpdated =
|
791
|
+
}), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
|
797
792
|
}
|
798
793
|
},
|
799
794
|
{
|
800
|
-
key: "_$
|
801
|
-
value: function _$
|
802
|
-
this._$AL = new Map, this.isUpdatePending =
|
795
|
+
key: "_$EU",
|
796
|
+
value: function _$EU() {
|
797
|
+
this._$AL = new Map, this.isUpdatePending = !1;
|
803
798
|
}
|
804
799
|
},
|
805
800
|
{
|
@@ -817,16 +812,16 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
817
812
|
{
|
818
813
|
key: "shouldUpdate",
|
819
814
|
value: function shouldUpdate(t) {
|
820
|
-
return
|
815
|
+
return !0;
|
821
816
|
}
|
822
817
|
},
|
823
818
|
{
|
824
819
|
key: "update",
|
825
820
|
value: function update(t) {
|
826
821
|
var _this = this;
|
827
|
-
this._$
|
828
|
-
return _this._$
|
829
|
-
})), this._$
|
822
|
+
this._$Ej && (this._$Ej = this._$Ej.forEach(function(t) {
|
823
|
+
return _this._$EC(t, _this[t]);
|
824
|
+
})), this._$EU();
|
830
825
|
}
|
831
826
|
},
|
832
827
|
{
|
@@ -854,33 +849,35 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
854
849
|
{
|
855
850
|
key: "createProperty",
|
856
851
|
value: function createProperty(t) {
|
857
|
-
var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] :
|
858
|
-
if (s.state && (s.attribute =
|
859
|
-
var i = Symbol(),
|
860
|
-
void 0 !==
|
852
|
+
var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : y$1;
|
853
|
+
if (s.state && (s.attribute = !1), this._$Ei(), this.elementProperties.set(t, s), !s.noAccessor) {
|
854
|
+
var i = Symbol(), r = this.getPropertyDescriptor(t, i, s);
|
855
|
+
void 0 !== r && e$1(this.prototype, t, r);
|
861
856
|
}
|
862
857
|
}
|
863
858
|
},
|
864
859
|
{
|
865
860
|
key: "getPropertyDescriptor",
|
866
861
|
value: function getPropertyDescriptor(t, s, i) {
|
867
|
-
var
|
868
|
-
var _ref = (
|
862
|
+
var _r;
|
863
|
+
var _ref = (_r = r$3(this.prototype, t)) !== null && _r !== void 0 ? _r : {
|
869
864
|
get: function get() {
|
870
865
|
return this[s];
|
871
866
|
},
|
872
867
|
set: function set(t) {
|
873
868
|
this[s] = t;
|
874
869
|
}
|
875
|
-
}, e = _ref.get,
|
870
|
+
}, e = _ref.get, h = _ref.set;
|
876
871
|
return {
|
877
|
-
get:
|
872
|
+
get: function get() {
|
873
|
+
return e === null || e === void 0 ? void 0 : e.call(this);
|
874
|
+
},
|
878
875
|
set: function set(s) {
|
879
|
-
var
|
880
|
-
|
876
|
+
var r = e === null || e === void 0 ? void 0 : e.call(this);
|
877
|
+
h.call(this, s), this.requestUpdate(t, r, i);
|
881
878
|
},
|
882
|
-
configurable:
|
883
|
-
enumerable:
|
879
|
+
configurable: !0,
|
880
|
+
enumerable: !0
|
884
881
|
};
|
885
882
|
}
|
886
883
|
},
|
@@ -888,7 +885,7 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
888
885
|
key: "getPropertyOptions",
|
889
886
|
value: function getPropertyOptions(t) {
|
890
887
|
var _this_elementProperties_get;
|
891
|
-
return (_this_elementProperties_get = this.elementProperties.get(t)) !== null && _this_elementProperties_get !== void 0 ? _this_elementProperties_get :
|
888
|
+
return (_this_elementProperties_get = this.elementProperties.get(t)) !== null && _this_elementProperties_get !== void 0 ? _this_elementProperties_get : y$1;
|
892
889
|
}
|
893
890
|
},
|
894
891
|
{
|
@@ -903,8 +900,8 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
903
900
|
key: "finalize",
|
904
901
|
value: function finalize() {
|
905
902
|
if (this.hasOwnProperty(d$1("finalized"))) return;
|
906
|
-
if (this.finalized =
|
907
|
-
var t = this.properties, s = _to_consumable_array$1(
|
903
|
+
if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(d$1("properties"))) {
|
904
|
+
var t = this.properties, s = _to_consumable_array$1(h$1(t)).concat(_to_consumable_array$1(o$2(t)));
|
908
905
|
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
|
909
906
|
try {
|
910
907
|
for(var _iterator = s[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
|
@@ -1009,18 +1006,18 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
|
|
1009
1006
|
key: "_$Eu",
|
1010
1007
|
value: function _$Eu(t, s) {
|
1011
1008
|
var i = s.attribute;
|
1012
|
-
return
|
1009
|
+
return !1 === i ? void 0 : "string" == typeof i ? i : "string" == typeof t ? t.toLowerCase() : void 0;
|
1013
1010
|
}
|
1014
1011
|
}
|
1015
1012
|
]);
|
1016
|
-
return
|
1013
|
+
return b;
|
1017
1014
|
}(_wrap_native_super(HTMLElement));
|
1018
1015
|
var _reactiveElementVersions;
|
1019
|
-
|
1016
|
+
b.elementStyles = [], b.shadowRootOptions = {
|
1020
1017
|
mode: "open"
|
1021
|
-
},
|
1022
|
-
ReactiveElement:
|
1023
|
-
}), ((_reactiveElementVersions = (_a1 = a$1).reactiveElementVersions) !== null && _reactiveElementVersions !== void 0 ? _reactiveElementVersions : _a1.reactiveElementVersions = []).push("2.
|
1018
|
+
}, b[d$1("elementProperties")] = new Map, b[d$1("finalized")] = new Map, p$1 === null || p$1 === void 0 ? void 0 : p$1({
|
1019
|
+
ReactiveElement: b
|
1020
|
+
}), ((_reactiveElementVersions = (_a1 = a$1).reactiveElementVersions) !== null && _reactiveElementVersions !== void 0 ? _reactiveElementVersions : _a1.reactiveElementVersions = []).push("2.0.4");
|
1024
1021
|
|
1025
1022
|
/**
|
1026
1023
|
* @license
|
@@ -1115,7 +1112,7 @@ function _non_iterable_spread() {
|
|
1115
1112
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
1116
1113
|
}
|
1117
1114
|
function _possible_constructor_return$1(self, call) {
|
1118
|
-
if (call && (_type_of$
|
1115
|
+
if (call && (_type_of$1(call) === "object" || typeof call === "function")) {
|
1119
1116
|
return call;
|
1120
1117
|
}
|
1121
1118
|
return _assert_this_initialized$1(self);
|
@@ -1133,7 +1130,7 @@ function _sliced_to_array(arr, i) {
|
|
1133
1130
|
function _to_consumable_array(arr) {
|
1134
1131
|
return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
|
1135
1132
|
}
|
1136
|
-
function _type_of$
|
1133
|
+
function _type_of$1(obj) {
|
1137
1134
|
"@swc/helpers - typeof";
|
1138
1135
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
1139
1136
|
}
|
@@ -1170,17 +1167,17 @@ function _create_super$1(Derived) {
|
|
1170
1167
|
};
|
1171
1168
|
}
|
1172
1169
|
var _t;
|
1173
|
-
var t$1 = globalThis, i$1 = t$1.trustedTypes, s
|
1170
|
+
var t$1 = globalThis, i$1 = t$1.trustedTypes, s = i$1 ? i$1.createPolicy("lit-html", {
|
1174
1171
|
createHTML: function(t) {
|
1175
1172
|
return t;
|
1176
1173
|
}
|
1177
|
-
}) : void 0, e = "$lit$", h = "lit$".concat(Math.random().toFixed(9).slice(2), "$"), o$
|
1178
|
-
return r$
|
1174
|
+
}) : void 0, e = "$lit$", h = "lit$".concat(Math.random().toFixed(9).slice(2), "$"), o$1 = "?" + h, n$1 = "<".concat(o$1, ">"), r$2 = document, l = function() {
|
1175
|
+
return r$2.createComment("");
|
1179
1176
|
}, c = function(t) {
|
1180
|
-
return null === t || "object" !=
|
1177
|
+
return null === t || "object" != typeof t && "function" != typeof t;
|
1181
1178
|
}, a = Array.isArray, u = function(t) {
|
1182
1179
|
return a(t) || "function" == typeof (t === null || t === void 0 ? void 0 : t[Symbol.iterator]);
|
1183
|
-
}, d = "[
|
1180
|
+
}, 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) {
|
1184
1181
|
return function(i) {
|
1185
1182
|
for(var _len = arguments.length, s = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
|
1186
1183
|
s[_key - 1] = arguments[_key];
|
@@ -1191,10 +1188,10 @@ var t$1 = globalThis, i$1 = t$1.trustedTypes, s$1 = i$1 ? i$1.createPolicy("lit-
|
|
1191
1188
|
values: s
|
1192
1189
|
};
|
1193
1190
|
};
|
1194
|
-
}, x = y(1), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = new WeakMap, C = r$
|
1191
|
+
}, x = y(1), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = new WeakMap, C = r$2.createTreeWalker(r$2, 129);
|
1195
1192
|
function P(t, i) {
|
1196
1193
|
if (!a(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
1197
|
-
return void 0 !== s
|
1194
|
+
return void 0 !== s ? s.createHTML(i) : i;
|
1198
1195
|
}
|
1199
1196
|
var V = function(t, i) {
|
1200
1197
|
var s = t.length - 1, o = [];
|
@@ -1269,7 +1266,7 @@ var N = /*#__PURE__*/ function() {
|
|
1269
1266
|
r.append(t3[s2], l());
|
1270
1267
|
}
|
1271
1268
|
}
|
1272
|
-
} else if (8 === r.nodeType) if (r.data === o$
|
1269
|
+
} else if (8 === r.nodeType) if (r.data === o$1) d.push({
|
1273
1270
|
type: 2,
|
1274
1271
|
index: c
|
1275
1272
|
});
|
@@ -1287,7 +1284,7 @@ var N = /*#__PURE__*/ function() {
|
|
1287
1284
|
{
|
1288
1285
|
key: "createElement",
|
1289
1286
|
value: function createElement(t, i) {
|
1290
|
-
var s = r$
|
1287
|
+
var s = r$2.createElement("template");
|
1291
1288
|
return s.innerHTML = t, s;
|
1292
1289
|
}
|
1293
1290
|
}
|
@@ -1302,7 +1299,7 @@ function S(t, i) {
|
|
1302
1299
|
var h = void 0 !== e ? (_s__$Co = s._$Co) === null || _s__$Co === void 0 ? void 0 : _s__$Co[e] : s._$Cl;
|
1303
1300
|
var o = c(i) ? void 0 : i._$litDirective$;
|
1304
1301
|
var __$Co;
|
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,
|
1302
|
+
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;
|
1306
1303
|
}
|
1307
1304
|
var M = /*#__PURE__*/ function() {
|
1308
1305
|
function M(t, i) {
|
@@ -1326,7 +1323,7 @@ var M = /*#__PURE__*/ function() {
|
|
1326
1323
|
key: "u",
|
1327
1324
|
value: function u(t) {
|
1328
1325
|
var _t_creationScope;
|
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$
|
1326
|
+
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, !0);
|
1330
1327
|
C.currentNode = e;
|
1331
1328
|
var h = C.nextNode(), o = 0, n = 0, l = s[0];
|
1332
1329
|
for(; void 0 !== l;){
|
@@ -1336,7 +1333,7 @@ var M = /*#__PURE__*/ function() {
|
|
1336
1333
|
}
|
1337
1334
|
o !== (l === null || l === void 0 ? void 0 : l.index) && (h = C.nextNode(), o++);
|
1338
1335
|
}
|
1339
|
-
return C.currentNode = r$
|
1336
|
+
return C.currentNode = r$2, e;
|
1340
1337
|
}
|
1341
1338
|
},
|
1342
1339
|
{
|
@@ -1372,7 +1369,7 @@ var R = /*#__PURE__*/ function() {
|
|
1372
1369
|
function R(t, i, s, e) {
|
1373
1370
|
_class_call_check$1(this, R);
|
1374
1371
|
var _e_isConnected;
|
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 :
|
1372
|
+
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;
|
1376
1373
|
}
|
1377
1374
|
_create_class$1(R, [
|
1378
1375
|
{
|
@@ -1425,7 +1422,7 @@ var R = /*#__PURE__*/ function() {
|
|
1425
1422
|
{
|
1426
1423
|
key: "_",
|
1427
1424
|
value: function _(t) {
|
1428
|
-
this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$
|
1425
|
+
this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$2.createTextNode(t)), this._$AH = t;
|
1429
1426
|
}
|
1430
1427
|
},
|
1431
1428
|
{
|
@@ -1481,7 +1478,7 @@ var R = /*#__PURE__*/ function() {
|
|
1481
1478
|
value: function _$AR() {
|
1482
1479
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this._$AA.nextSibling, i = arguments.length > 1 ? arguments[1] : void 0;
|
1483
1480
|
var _this__$AP, _this;
|
1484
|
-
for((_this__$AP = (_this = this)._$AP) === null || _this__$AP === void 0 ? void 0 : _this__$AP.call(_this,
|
1481
|
+
for((_this__$AP = (_this = this)._$AP) === null || _this__$AP === void 0 ? void 0 : _this__$AP.call(_this, !1, !0, i); t && t !== this._$AB;){
|
1485
1482
|
var i1 = t.nextSibling;
|
1486
1483
|
t.remove(), t = i1;
|
1487
1484
|
}
|
@@ -1520,7 +1517,7 @@ var k = /*#__PURE__*/ function() {
|
|
1520
1517
|
value: function _$AI(t) {
|
1521
1518
|
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;
|
1522
1519
|
var h = this.strings;
|
1523
|
-
var o =
|
1520
|
+
var o = !1;
|
1524
1521
|
if (void 0 === h) t = S(this, t, i, 0), o = !c(t) || t !== this._$AH && t !== T, o && (this._$AH = t);
|
1525
1522
|
else {
|
1526
1523
|
var e1 = t;
|
@@ -1635,7 +1632,7 @@ var z = /*#__PURE__*/ function() {
|
|
1635
1632
|
}();
|
1636
1633
|
var j = t$1.litHtmlPolyfillSupport;
|
1637
1634
|
var _litHtmlVersions;
|
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.
|
1635
|
+
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");
|
1639
1636
|
var B = function(t, i, s) {
|
1640
1637
|
var _s_renderBefore;
|
1641
1638
|
var e = (_s_renderBefore = s === null || s === void 0 ? void 0 : s.renderBefore) !== null && _s_renderBefore !== void 0 ? _s_renderBefore : i;
|
@@ -1670,6 +1667,7 @@ function _defineProperties(target, props) {
|
|
1670
1667
|
}
|
1671
1668
|
function _create_class(Constructor, protoProps, staticProps) {
|
1672
1669
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
1670
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
1673
1671
|
return Constructor;
|
1674
1672
|
}
|
1675
1673
|
function _get(target, property, receiver) {
|
@@ -1708,7 +1706,7 @@ function _inherits(subClass, superClass) {
|
|
1708
1706
|
if (superClass) _set_prototype_of(subClass, superClass);
|
1709
1707
|
}
|
1710
1708
|
function _possible_constructor_return(self, call) {
|
1711
|
-
if (call && (_type_of
|
1709
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
1712
1710
|
return call;
|
1713
1711
|
}
|
1714
1712
|
return _assert_this_initialized(self);
|
@@ -1727,7 +1725,7 @@ function _super_prop_base(object, property) {
|
|
1727
1725
|
}
|
1728
1726
|
return object;
|
1729
1727
|
}
|
1730
|
-
function _type_of
|
1728
|
+
function _type_of(obj) {
|
1731
1729
|
"@swc/helpers - typeof";
|
1732
1730
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
1733
1731
|
}
|
@@ -1755,18 +1753,17 @@ function _create_super(Derived) {
|
|
1755
1753
|
return _possible_constructor_return(this, result);
|
1756
1754
|
};
|
1757
1755
|
}
|
1758
|
-
var
|
1759
|
-
var
|
1756
|
+
var _globalThis_litElementHydrateSupport, _globalThis;
|
1757
|
+
var _globalThis1;
|
1760
1758
|
/**
|
1761
1759
|
* @license
|
1762
1760
|
* Copyright 2017 Google LLC
|
1763
1761
|
* SPDX-License-Identifier: BSD-3-Clause
|
1764
|
-
*/ var
|
1765
|
-
|
1766
|
-
|
1767
|
-
|
1768
|
-
|
1769
|
-
_class_call_check(this, i);
|
1762
|
+
*/ var r$1 = /*#__PURE__*/ function(t) {
|
1763
|
+
_inherits(r, t);
|
1764
|
+
var _super = _create_super(r);
|
1765
|
+
function r() {
|
1766
|
+
_class_call_check(this, r);
|
1770
1767
|
var _this;
|
1771
1768
|
_this = _super.call.apply(_super, [
|
1772
1769
|
this
|
@@ -1775,12 +1772,12 @@ var i = /*#__PURE__*/ function(t) {
|
|
1775
1772
|
}, _this._$Do = void 0;
|
1776
1773
|
return _possible_constructor_return(_this);
|
1777
1774
|
}
|
1778
|
-
_create_class(
|
1775
|
+
_create_class(r, [
|
1779
1776
|
{
|
1780
1777
|
key: "createRenderRoot",
|
1781
1778
|
value: function createRenderRoot() {
|
1782
1779
|
var _this_renderOptions;
|
1783
|
-
var _$t = _get(_get_prototype_of(
|
1780
|
+
var _$t = _get(_get_prototype_of(r.prototype), "createRenderRoot", this).call(this);
|
1784
1781
|
var _renderBefore;
|
1785
1782
|
return (_renderBefore = (_this_renderOptions = this.renderOptions).renderBefore) !== null && _renderBefore !== void 0 ? _renderBefore : _this_renderOptions.renderBefore = _$t.firstChild, _$t;
|
1786
1783
|
}
|
@@ -1788,22 +1785,22 @@ var i = /*#__PURE__*/ function(t) {
|
|
1788
1785
|
{
|
1789
1786
|
key: "update",
|
1790
1787
|
value: function update(t) {
|
1791
|
-
var
|
1792
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), _get(_get_prototype_of(
|
1788
|
+
var s = this.render();
|
1789
|
+
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);
|
1793
1790
|
}
|
1794
1791
|
},
|
1795
1792
|
{
|
1796
1793
|
key: "connectedCallback",
|
1797
1794
|
value: function connectedCallback() {
|
1798
1795
|
var _this__$Do;
|
1799
|
-
_get(_get_prototype_of(
|
1796
|
+
_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);
|
1800
1797
|
}
|
1801
1798
|
},
|
1802
1799
|
{
|
1803
1800
|
key: "disconnectedCallback",
|
1804
1801
|
value: function disconnectedCallback() {
|
1805
1802
|
var _this__$Do;
|
1806
|
-
_get(_get_prototype_of(
|
1803
|
+
_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);
|
1807
1804
|
}
|
1808
1805
|
},
|
1809
1806
|
{
|
@@ -1813,17 +1810,17 @@ var i = /*#__PURE__*/ function(t) {
|
|
1813
1810
|
}
|
1814
1811
|
}
|
1815
1812
|
]);
|
1816
|
-
return
|
1817
|
-
}(
|
1818
|
-
|
1819
|
-
LitElement:
|
1813
|
+
return r;
|
1814
|
+
}(b);
|
1815
|
+
r$1._$litElement$ = !0, r$1["finalized"] = !0, (_globalThis_litElementHydrateSupport = (_globalThis = globalThis).litElementHydrateSupport) === null || _globalThis_litElementHydrateSupport === void 0 ? void 0 : _globalThis_litElementHydrateSupport.call(_globalThis, {
|
1816
|
+
LitElement: r$1
|
1820
1817
|
});
|
1821
|
-
var
|
1822
|
-
|
1823
|
-
LitElement:
|
1818
|
+
var i = globalThis.litElementPolyfillSupport;
|
1819
|
+
i === null || i === void 0 ? void 0 : i({
|
1820
|
+
LitElement: r$1
|
1824
1821
|
});
|
1825
1822
|
var _litElementVersions;
|
1826
|
-
((_litElementVersions = (
|
1823
|
+
((_litElementVersions = (_globalThis1 = globalThis).litElementVersions) !== null && _litElementVersions !== void 0 ? _litElementVersions : _globalThis1.litElementVersions = []).push("4.1.1");
|
1827
1824
|
|
1828
1825
|
/**
|
1829
1826
|
* @license
|
@@ -1837,25 +1834,73 @@ var _litElementVersions;
|
|
1837
1834
|
};
|
1838
1835
|
};
|
1839
1836
|
|
1840
|
-
function
|
1841
|
-
|
1842
|
-
|
1837
|
+
function _define_property(obj, key, value) {
|
1838
|
+
if (key in obj) {
|
1839
|
+
Object.defineProperty(obj, key, {
|
1840
|
+
value: value,
|
1841
|
+
enumerable: true,
|
1842
|
+
configurable: true,
|
1843
|
+
writable: true
|
1844
|
+
});
|
1845
|
+
} else {
|
1846
|
+
obj[key] = value;
|
1847
|
+
}
|
1848
|
+
return obj;
|
1849
|
+
}
|
1850
|
+
function _object_spread(target) {
|
1851
|
+
for(var i = 1; i < arguments.length; i++){
|
1852
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
1853
|
+
var ownKeys = Object.keys(source);
|
1854
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
1855
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
1856
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
1857
|
+
}));
|
1858
|
+
}
|
1859
|
+
ownKeys.forEach(function(key) {
|
1860
|
+
_define_property(target, key, source[key]);
|
1861
|
+
});
|
1862
|
+
}
|
1863
|
+
return target;
|
1864
|
+
}
|
1865
|
+
function ownKeys(object, enumerableOnly) {
|
1866
|
+
var keys = Object.keys(object);
|
1867
|
+
if (Object.getOwnPropertySymbols) {
|
1868
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
1869
|
+
if (enumerableOnly) {
|
1870
|
+
symbols = symbols.filter(function(sym) {
|
1871
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
1872
|
+
});
|
1873
|
+
}
|
1874
|
+
keys.push.apply(keys, symbols);
|
1875
|
+
}
|
1876
|
+
return keys;
|
1877
|
+
}
|
1878
|
+
function _object_spread_props(target, source) {
|
1879
|
+
source = source != null ? source : {};
|
1880
|
+
if (Object.getOwnPropertyDescriptors) {
|
1881
|
+
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
1882
|
+
} else {
|
1883
|
+
ownKeys(Object(source)).forEach(function(key) {
|
1884
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
1885
|
+
});
|
1886
|
+
}
|
1887
|
+
return target;
|
1843
1888
|
}
|
1844
1889
|
/**
|
1845
1890
|
* @license
|
1846
1891
|
* Copyright 2017 Google LLC
|
1847
1892
|
* SPDX-License-Identifier: BSD-3-Clause
|
1848
1893
|
*/ var o = {
|
1849
|
-
attribute:
|
1894
|
+
attribute: !0,
|
1850
1895
|
type: String,
|
1851
1896
|
converter: u$1,
|
1852
|
-
reflect:
|
1897
|
+
reflect: !1,
|
1853
1898
|
hasChanged: f$1
|
1854
1899
|
}, r = function() {
|
1855
1900
|
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;
|
1856
1901
|
var n = r.kind, i = r.metadata;
|
1857
1902
|
var s = globalThis.litPropertyMetadata.get(i);
|
1858
|
-
if (void 0 === s && globalThis.litPropertyMetadata.set(i, s = new Map),
|
1903
|
+
if (void 0 === s && globalThis.litPropertyMetadata.set(i, s = new Map), s.set(r.name, _$t), "accessor" === n) {
|
1859
1904
|
var o1 = r.name;
|
1860
1905
|
return {
|
1861
1906
|
set: function set(r) {
|
@@ -1863,7 +1908,7 @@ function _type_of(obj) {
|
|
1863
1908
|
_$e.set.call(this, r), this.requestUpdate(o1, n, _$t);
|
1864
1909
|
},
|
1865
1910
|
init: function init(e) {
|
1866
|
-
return void 0 !== e && this.
|
1911
|
+
return void 0 !== e && this.P(o1, void 0, _$t), e;
|
1867
1912
|
}
|
1868
1913
|
};
|
1869
1914
|
}
|
@@ -1878,9 +1923,11 @@ function _type_of(obj) {
|
|
1878
1923
|
};
|
1879
1924
|
function n(t) {
|
1880
1925
|
return function(e, o) {
|
1881
|
-
return "object" ==
|
1926
|
+
return "object" == typeof o ? r(t, e, o) : function(t, e, o) {
|
1882
1927
|
var r = e.hasOwnProperty(o);
|
1883
|
-
return e.constructor.createProperty(o,
|
1928
|
+
return e.constructor.createProperty(o, r ? _object_spread_props(_object_spread({}, t), {
|
1929
|
+
wrapped: !0
|
1930
|
+
}) : t), r ? Object.getOwnPropertyDescriptor(e, o) : void 0;
|
1884
1931
|
}(t, e, o);
|
1885
1932
|
};
|
1886
1933
|
}
|
@@ -72312,7 +72359,7 @@ const schemas = {
|
|
72312
72359
|
};
|
72313
72360
|
|
72314
72361
|
let jsonGenerator, generateBlocklyBlockFromLibraries, generateToolboxFromLibraries, initializeMutator;
|
72315
|
-
class EditorElement extends
|
72362
|
+
class EditorElement extends r$1 {
|
72316
72363
|
createRenderRoot() {
|
72317
72364
|
return this;
|
72318
72365
|
}
|