@digipair/skill-web-editor 0.136.0 → 0.136.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 CHANGED
@@ -481,7 +481,7 @@ var _Symbol, _a, _a1;
481
481
  }
482
482
  }, f$1 = function(t, s) {
483
483
  return !i$2(t, s);
484
- }, b = {
484
+ }, b$1 = {
485
485
  attribute: true,
486
486
  type: String,
487
487
  converter: u$1,
@@ -624,11 +624,12 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
624
624
  {
625
625
  key: "requestUpdate",
626
626
  value: function requestUpdate(t, s, i) {
627
+ var e = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : false, h = arguments.length > 4 ? arguments[4] : void 0;
627
628
  if (void 0 !== t) {
628
629
  var _this__$Ej;
629
- var e = this.constructor, h = this[t];
630
+ var r = this.constructor;
630
631
  var _i_hasChanged;
631
- 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;
632
+ if (false === e && (h = this[t]), i !== null && i !== void 0 ? i : i = r.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(r._$Eu(t, i)))) return;
632
633
  this.C(t, s, i);
633
634
  }
634
635
  false === this.isUpdatePending && (this._$ES = this._$EP());
@@ -845,7 +846,7 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
845
846
  {
846
847
  key: "createProperty",
847
848
  value: function createProperty(t) {
848
- var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : b;
849
+ var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : b$1;
849
850
  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) {
850
851
  var i = Symbol(), h = this.getPropertyDescriptor(t, i, s);
851
852
  void 0 !== h && e$1(this.prototype, t, h);
@@ -879,7 +880,7 @@ var y$1 = /*#__PURE__*/ function(HTMLElement1) {
879
880
  key: "getPropertyOptions",
880
881
  value: function getPropertyOptions(t) {
881
882
  var _this_elementProperties_get;
882
- return (_this_elementProperties_get = this.elementProperties.get(t)) !== null && _this_elementProperties_get !== void 0 ? _this_elementProperties_get : b;
883
+ return (_this_elementProperties_get = this.elementProperties.get(t)) !== null && _this_elementProperties_get !== void 0 ? _this_elementProperties_get : b$1;
883
884
  }
884
885
  },
885
886
  {
@@ -1011,7 +1012,7 @@ y$1.elementStyles = [], y$1.shadowRootOptions = {
1011
1012
  mode: "open"
1012
1013
  }, 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({
1013
1014
  ReactiveElement: y$1
1014
- }), ((_reactiveElementVersions = (_a1 = a$1).reactiveElementVersions) !== null && _reactiveElementVersions !== void 0 ? _reactiveElementVersions : _a1.reactiveElementVersions = []).push("2.1.1");
1015
+ }), ((_reactiveElementVersions = (_a1 = a$1).reactiveElementVersions) !== null && _reactiveElementVersions !== void 0 ? _reactiveElementVersions : _a1.reactiveElementVersions = []).push("2.1.2");
1015
1016
 
1016
1017
  /**
1017
1018
  * @license
@@ -1161,17 +1162,19 @@ function _create_super$1(Derived) {
1161
1162
  };
1162
1163
  }
1163
1164
  var _t;
1164
- var t$1 = globalThis, i$1 = t$1.trustedTypes, s$1 = i$1 ? i$1.createPolicy("lit-html", {
1165
+ var t$1 = globalThis, i$1 = function(t) {
1166
+ return t;
1167
+ }, s$1 = t$1.trustedTypes, e = s$1 ? s$1.createPolicy("lit-html", {
1165
1168
  createHTML: function(t) {
1166
1169
  return t;
1167
1170
  }
1168
- }) : void 0, e = "$lit$", h = "lit$".concat(Math.random().toFixed(9).slice(2), "$"), o$2 = "?" + h, n$1 = "<".concat(o$2, ">"), r$1 = document, l = function() {
1169
- return r$1.createComment("");
1170
- }, c = function(t) {
1171
+ }) : void 0, h = "$lit$", o$2 = "lit$".concat(Math.random().toFixed(9).slice(2), "$"), n$1 = "?" + o$2, r$1 = "<".concat(n$1, ">"), l = document, c = function() {
1172
+ return l.createComment("");
1173
+ }, a = function(t) {
1171
1174
  return null === t || "object" != (typeof t === "undefined" ? "undefined" : _type_of$2(t)) && "function" != typeof t;
1172
- }, a = Array.isArray, u = function(t) {
1173
- return a(t) || "function" == typeof (t === null || t === void 0 ? void 0 : t[Symbol.iterator]);
1174
- }, 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) {
1175
+ }, u = Array.isArray, d = function(t) {
1176
+ return u(t) || "function" == typeof (t === null || t === void 0 ? void 0 : t[Symbol.iterator]);
1177
+ }, f = "[ \t\n\f\r]", v = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, _ = /-->/g, m = />/g, p = RegExp(">|".concat(f, "(?:([^\\s\"'>=/]+)(").concat(f, "*=").concat(f, "*(?:[^ \n\f\r\"'`<>=]|(\"|')|))|$)"), "g"), g = /'/g, $ = /"/g, y = /^(?:script|style|textarea|title)$/i, x = function(t) {
1175
1178
  return function(i) {
1176
1179
  for(var _len = arguments.length, s = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
1177
1180
  s[_key - 1] = arguments[_key];
@@ -1182,57 +1185,57 @@ var t$1 = globalThis, i$1 = t$1.trustedTypes, s$1 = i$1 ? i$1.createPolicy("lit-
1182
1185
  values: s
1183
1186
  };
1184
1187
  };
1185
- }, x = y(1), T = Symbol.for("lit-noChange"), E = Symbol.for("lit-nothing"), A = new WeakMap, C = r$1.createTreeWalker(r$1, 129);
1186
- function P(t, i) {
1187
- if (!a(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
1188
- return void 0 !== s$1 ? s$1.createHTML(i) : i;
1188
+ }, b = x(1), E = Symbol.for("lit-noChange"), A = Symbol.for("lit-nothing"), C = new WeakMap, P = l.createTreeWalker(l, 129);
1189
+ function V(t, i) {
1190
+ if (!u(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
1191
+ return void 0 !== e ? e.createHTML(i) : i;
1189
1192
  }
1190
- var V = function(t, i) {
1191
- var s = t.length - 1, o = [];
1192
- var r, l = 2 === i ? "<svg>" : 3 === i ? "<math>" : "", c = f;
1193
+ var N = function(t, i) {
1194
+ var s = t.length - 1, e = [];
1195
+ var n, l = 2 === i ? "<svg>" : 3 === i ? "<math>" : "", c = v;
1193
1196
  for(var _$i = 0; _$i < s; _$i++){
1194
1197
  var s1 = t[_$i];
1195
- var a = void 0, u = void 0, d = -1, y = 0;
1196
- for(; y < s1.length && (c.lastIndex = y, u = c.exec(s1), null !== u);)y = c.lastIndex, c === f ? "!--" === u[1] ? c = v : void 0 !== u[1] ? c = _ : void 0 !== u[2] ? ($.test(u[2]) && (r = RegExp("</" + u[2], "g")), c = m) : void 0 !== u[3] && (c = m) : c === m ? ">" === u[0] ? (c = r !== null && r !== void 0 ? r : f, d = -1) : void 0 === u[1] ? d = -2 : (d = c.lastIndex - u[2].length, a = u[1], c = void 0 === u[3] ? m : '"' === u[3] ? g : p) : c === g || c === p ? c = m : c === v || c === _ ? c = f : (c = m, r = void 0);
1197
- var x = c === m && t[_$i + 1].startsWith("/>") ? " " : "";
1198
- l += c === f ? s1 + n$1 : d >= 0 ? (o.push(a), s1.slice(0, d) + e + s1.slice(d) + h + x) : s1 + h + (-2 === d ? _$i : x);
1198
+ var a = void 0, u = void 0, d = -1, f = 0;
1199
+ for(; f < s1.length && (c.lastIndex = f, u = c.exec(s1), null !== u);)f = c.lastIndex, c === v ? "!--" === u[1] ? c = _ : void 0 !== u[1] ? c = m : void 0 !== u[2] ? (y.test(u[2]) && (n = RegExp("</" + u[2], "g")), c = p) : void 0 !== u[3] && (c = p) : c === p ? ">" === u[0] ? (c = n !== null && n !== void 0 ? n : v, d = -1) : void 0 === u[1] ? d = -2 : (d = c.lastIndex - u[2].length, a = u[1], c = void 0 === u[3] ? p : '"' === u[3] ? $ : g) : c === $ || c === g ? c = p : c === _ || c === m ? c = v : (c = p, n = void 0);
1200
+ var x = c === p && t[_$i + 1].startsWith("/>") ? " " : "";
1201
+ l += c === v ? s1 + r$1 : d >= 0 ? (e.push(a), s1.slice(0, d) + h + s1.slice(d) + o$2 + x) : s1 + o$2 + (-2 === d ? _$i : x);
1199
1202
  }
1200
1203
  return [
1201
- P(t, l + (t[s] || "<?>") + (2 === i ? "</svg>" : 3 === i ? "</math>" : "")),
1202
- o
1204
+ V(t, l + (t[s] || "<?>") + (2 === i ? "</svg>" : 3 === i ? "</math>" : "")),
1205
+ e
1203
1206
  ];
1204
1207
  };
1205
- var N = /*#__PURE__*/ function() {
1206
- function N(param, n) {
1207
- var t = param.strings, s = param._$litType$;
1208
- _class_call_check$1(this, N);
1208
+ var S = /*#__PURE__*/ function() {
1209
+ function S(param, e) {
1210
+ var t = param.strings, i = param._$litType$;
1211
+ _class_call_check$1(this, S);
1209
1212
  var r;
1210
1213
  this.parts = [];
1211
- var c = 0, a = 0;
1212
- var u = t.length - 1, d = this.parts, _V = _sliced_to_array(V(t, s), 2), f = _V[0], v = _V[1];
1213
- if (this.el = N.createElement(f, n), C.currentNode = this.el.content, 2 === s || 3 === s) {
1214
+ var l = 0, a = 0;
1215
+ var u = t.length - 1, d = this.parts, _N = _sliced_to_array(N(t, i), 2), f = _N[0], v = _N[1];
1216
+ if (this.el = S.createElement(f, e), P.currentNode = this.el.content, 2 === i || 3 === i) {
1214
1217
  var _t;
1215
1218
  var t1 = this.el.content.firstChild;
1216
1219
  (_t = t1).replaceWith.apply(_t, _to_consumable_array(t1.childNodes));
1217
1220
  }
1218
- for(; null !== (r = C.nextNode()) && d.length < u;){
1221
+ for(; null !== (r = P.nextNode()) && d.length < u;){
1219
1222
  if (1 === r.nodeType) {
1220
1223
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
1221
1224
  if (r.hasAttributes()) try {
1222
1225
  for(var _iterator = r.getAttributeNames()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
1223
1226
  var t2 = _step.value;
1224
- if (t2.endsWith(e)) {
1225
- var i1 = v[a++], s1 = r.getAttribute(t2).split(h), e1 = /([.?@])?(.*)/.exec(i1);
1227
+ if (t2.endsWith(h)) {
1228
+ var i1 = v[a++], s1 = r.getAttribute(t2).split(o$2), _$e = /([.?@])?(.*)/.exec(i1);
1226
1229
  d.push({
1227
1230
  type: 1,
1228
- index: c,
1229
- name: e1[2],
1231
+ index: l,
1232
+ name: _$e[2],
1230
1233
  strings: s1,
1231
- ctor: "." === e1[1] ? H : "?" === e1[1] ? I : "@" === e1[1] ? L : k
1234
+ ctor: "." === _$e[1] ? I : "?" === _$e[1] ? L : "@" === _$e[1] ? z : H
1232
1235
  }), r.removeAttribute(t2);
1233
- } else t2.startsWith(h) && (d.push({
1236
+ } else t2.startsWith(o$2) && (d.push({
1234
1237
  type: 6,
1235
- index: c
1238
+ index: l
1236
1239
  }), r.removeAttribute(t2));
1237
1240
  }
1238
1241
  } catch (err) {
@@ -1249,58 +1252,58 @@ var N = /*#__PURE__*/ function() {
1249
1252
  }
1250
1253
  }
1251
1254
  }
1252
- if ($.test(r.tagName)) {
1253
- var t3 = r.textContent.split(h), s2 = t3.length - 1;
1254
- if (s2 > 0) {
1255
- r.textContent = i$1 ? i$1.emptyScript : "";
1256
- for(var i2 = 0; i2 < s2; i2++)r.append(t3[i2], l()), C.nextNode(), d.push({
1255
+ if (y.test(r.tagName)) {
1256
+ var t3 = r.textContent.split(o$2), i2 = t3.length - 1;
1257
+ if (i2 > 0) {
1258
+ r.textContent = s$1 ? s$1.emptyScript : "";
1259
+ for(var s2 = 0; s2 < i2; s2++)r.append(t3[s2], c()), P.nextNode(), d.push({
1257
1260
  type: 2,
1258
- index: ++c
1261
+ index: ++l
1259
1262
  });
1260
- r.append(t3[s2], l());
1263
+ r.append(t3[i2], c());
1261
1264
  }
1262
1265
  }
1263
- } else if (8 === r.nodeType) if (r.data === o$2) d.push({
1266
+ } else if (8 === r.nodeType) if (r.data === n$1) d.push({
1264
1267
  type: 2,
1265
- index: c
1268
+ index: l
1266
1269
  });
1267
1270
  else {
1268
1271
  var t4 = -1;
1269
- for(; -1 !== (t4 = r.data.indexOf(h, t4 + 1));)d.push({
1272
+ for(; -1 !== (t4 = r.data.indexOf(o$2, t4 + 1));)d.push({
1270
1273
  type: 7,
1271
- index: c
1272
- }), t4 += h.length - 1;
1274
+ index: l
1275
+ }), t4 += o$2.length - 1;
1273
1276
  }
1274
- c++;
1277
+ l++;
1275
1278
  }
1276
1279
  }
1277
- _create_class$1(N, null, [
1280
+ _create_class$1(S, null, [
1278
1281
  {
1279
1282
  key: "createElement",
1280
1283
  value: function createElement(t, i) {
1281
- var s = r$1.createElement("template");
1284
+ var s = l.createElement("template");
1282
1285
  return s.innerHTML = t, s;
1283
1286
  }
1284
1287
  }
1285
1288
  ]);
1286
- return N;
1289
+ return S;
1287
1290
  }();
1288
- function S(t, i) {
1291
+ function M(t, i) {
1289
1292
  var s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : t, e = arguments.length > 3 ? arguments[3] : void 0;
1290
1293
  var _s__$Co, _h__$AO;
1291
1294
  var _s;
1292
- if (i === T) return i;
1295
+ if (i === E) return i;
1293
1296
  var h = void 0 !== e ? (_s__$Co = s._$Co) === null || _s__$Co === void 0 ? void 0 : _s__$Co[e] : s._$Cl;
1294
- var o = c(i) ? void 0 : i._$litDirective$;
1297
+ var o = a(i) ? void 0 : i._$litDirective$;
1295
1298
  var __$Co;
1296
- 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;
1299
+ 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 = M(t, h._$AS(t, i.values), h, e)), i;
1297
1300
  }
1298
- var M = /*#__PURE__*/ function() {
1299
- function M(t, i) {
1300
- _class_call_check$1(this, M);
1301
+ var R = /*#__PURE__*/ function() {
1302
+ function R(t, i) {
1303
+ _class_call_check$1(this, R);
1301
1304
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = i;
1302
1305
  }
1303
- _create_class$1(M, [
1306
+ _create_class$1(R, [
1304
1307
  {
1305
1308
  key: "parentNode",
1306
1309
  get: function get() {
@@ -1317,17 +1320,17 @@ var M = /*#__PURE__*/ function() {
1317
1320
  key: "u",
1318
1321
  value: function u(t) {
1319
1322
  var _t_creationScope;
1320
- 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$1).importNode(i, true);
1321
- C.currentNode = e;
1322
- var h = C.nextNode(), o = 0, n = 0, l = s[0];
1323
- for(; void 0 !== l;){
1324
- if (o === l.index) {
1323
+ 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 : l).importNode(i, true);
1324
+ P.currentNode = e;
1325
+ var h = P.nextNode(), o = 0, n = 0, r = s[0];
1326
+ for(; void 0 !== r;){
1327
+ if (o === r.index) {
1325
1328
  var i1 = void 0;
1326
- 2 === l.type ? i1 = new R(h, h.nextSibling, this, t) : 1 === l.type ? i1 = new l.ctor(h, l.name, l.strings, this, t) : 6 === l.type && (i1 = new z(h, this, t)), this._$AV.push(i1), l = s[++n];
1329
+ 2 === r.type ? i1 = new k(h, h.nextSibling, this, t) : 1 === r.type ? i1 = new r.ctor(h, r.name, r.strings, this, t) : 6 === r.type && (i1 = new Z(h, this, t)), this._$AV.push(i1), r = s[++n];
1327
1330
  }
1328
- o !== (l === null || l === void 0 ? void 0 : l.index) && (h = C.nextNode(), o++);
1331
+ o !== (r === null || r === void 0 ? void 0 : r.index) && (h = P.nextNode(), o++);
1329
1332
  }
1330
- return C.currentNode = r$1, e;
1333
+ return P.currentNode = l, e;
1331
1334
  }
1332
1335
  },
1333
1336
  {
@@ -1357,15 +1360,15 @@ var M = /*#__PURE__*/ function() {
1357
1360
  }
1358
1361
  }
1359
1362
  ]);
1360
- return M;
1363
+ return R;
1361
1364
  }();
1362
- var R = /*#__PURE__*/ function() {
1363
- function R(t, i, s, e) {
1364
- _class_call_check$1(this, R);
1365
+ var k = /*#__PURE__*/ function() {
1366
+ function k(t, i, s, e) {
1367
+ _class_call_check$1(this, k);
1365
1368
  var _e_isConnected;
1366
- 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;
1369
+ this.type = 2, this._$AH = A, 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;
1367
1370
  }
1368
- _create_class$1(R, [
1371
+ _create_class$1(k, [
1369
1372
  {
1370
1373
  key: "_$AU",
1371
1374
  get: function get() {
@@ -1398,7 +1401,7 @@ var R = /*#__PURE__*/ function() {
1398
1401
  key: "_$AI",
1399
1402
  value: function _$AI(t) {
1400
1403
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this;
1401
- t = S(this, t, i), c(t) ? t === E || null == t || "" === t ? (this._$AH !== E && this._$AR(), this._$AH = E) : t !== this._$AH && t !== T && this._(t) : void 0 !== t._$litType$ ? this.$(t) : void 0 !== t.nodeType ? this.T(t) : u(t) ? this.k(t) : this._(t);
1404
+ t = M(this, t, i), a(t) ? t === A || null == t || "" === t ? (this._$AH !== A && this._$AR(), this._$AH = A) : t !== this._$AH && t !== E && this._(t) : void 0 !== t._$litType$ ? this.$(t) : void 0 !== t.nodeType ? this.T(t) : d(t) ? this.k(t) : this._(t);
1402
1405
  }
1403
1406
  },
1404
1407
  {
@@ -1416,17 +1419,17 @@ var R = /*#__PURE__*/ function() {
1416
1419
  {
1417
1420
  key: "_",
1418
1421
  value: function _(t) {
1419
- this._$AH !== E && c(this._$AH) ? this._$AA.nextSibling.data = t : this.T(r$1.createTextNode(t)), this._$AH = t;
1422
+ this._$AH !== A && a(this._$AH) ? this._$AA.nextSibling.data = t : this.T(l.createTextNode(t)), this._$AH = t;
1420
1423
  }
1421
1424
  },
1422
1425
  {
1423
1426
  key: "$",
1424
1427
  value: function $(t) {
1425
1428
  var _this__$AH;
1426
- var i = t.values, s = t._$litType$, e = "number" == typeof s ? this._$AC(t) : (void 0 === s.el && (s.el = N.createElement(P(s.h, s.h[0]), this.options)), s);
1429
+ var i = t.values, s = t._$litType$, e = "number" == typeof s ? this._$AC(t) : (void 0 === s.el && (s.el = S.createElement(V(s.h, s.h[0]), this.options)), s);
1427
1430
  if (((_this__$AH = this._$AH) === null || _this__$AH === void 0 ? void 0 : _this__$AH._$AD) === e) this._$AH.p(i);
1428
1431
  else {
1429
- var _$t = new M(e, this), s1 = _$t.u(this.options);
1432
+ var _$t = new R(e, this), s1 = _$t.u(this.options);
1430
1433
  _$t.p(i), this.T(s1), this._$AH = _$t;
1431
1434
  }
1432
1435
  }
@@ -1434,21 +1437,21 @@ var R = /*#__PURE__*/ function() {
1434
1437
  {
1435
1438
  key: "_$AC",
1436
1439
  value: function _$AC(t) {
1437
- var i = A.get(t.strings);
1438
- return void 0 === i && A.set(t.strings, i = new N(t)), i;
1440
+ var i = C.get(t.strings);
1441
+ return void 0 === i && C.set(t.strings, i = new S(t)), i;
1439
1442
  }
1440
1443
  },
1441
1444
  {
1442
1445
  key: "k",
1443
- value: function k(t) {
1444
- a(this._$AH) || (this._$AH = [], this._$AR());
1446
+ value: function k1(t) {
1447
+ u(this._$AH) || (this._$AH = [], this._$AR());
1445
1448
  var i = this._$AH;
1446
1449
  var s, e = 0;
1447
1450
  var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
1448
1451
  try {
1449
1452
  for(var _iterator = t[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
1450
1453
  var h = _step.value;
1451
- e === i.length ? i.push(s = new R(this.O(l()), this.O(l()), this, this.options)) : s = i[e], s._$AI(h), e++;
1454
+ e === i.length ? i.push(s = new k(this.O(c()), this.O(c()), this, this.options)) : s = i[e], s._$AI(h), e++;
1452
1455
  }
1453
1456
  } catch (err) {
1454
1457
  _didIteratorError = true;
@@ -1470,11 +1473,11 @@ var R = /*#__PURE__*/ function() {
1470
1473
  {
1471
1474
  key: "_$AR",
1472
1475
  value: function _$AR() {
1473
- var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this._$AA.nextSibling, i = arguments.length > 1 ? arguments[1] : void 0;
1476
+ var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : this._$AA.nextSibling, s = arguments.length > 1 ? arguments[1] : void 0;
1474
1477
  var _this__$AP, _this;
1475
- for((_this__$AP = (_this = this)._$AP) === null || _this__$AP === void 0 ? void 0 : _this__$AP.call(_this, false, true, i); t !== this._$AB;){
1476
- var i1 = t.nextSibling;
1477
- t.remove(), t = i1;
1478
+ for((_this__$AP = (_this = this)._$AP) === null || _this__$AP === void 0 ? void 0 : _this__$AP.call(_this, false, true, s); t !== this._$AB;){
1479
+ var s1 = i$1(t).nextSibling;
1480
+ i$1(t).remove(), t = s1;
1478
1481
  }
1479
1482
  }
1480
1483
  },
@@ -1486,14 +1489,14 @@ var R = /*#__PURE__*/ function() {
1486
1489
  }
1487
1490
  }
1488
1491
  ]);
1489
- return R;
1492
+ return k;
1490
1493
  }();
1491
- var k = /*#__PURE__*/ function() {
1492
- function k(t, i, s, e, h) {
1493
- _class_call_check$1(this, k);
1494
- this.type = 1, this._$AH = E, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = h, s.length > 2 || "" !== s[0] || "" !== s[1] ? (this._$AH = Array(s.length - 1).fill(new String), this.strings = s) : this._$AH = E;
1494
+ var H = /*#__PURE__*/ function() {
1495
+ function H(t, i, s, e, h) {
1496
+ _class_call_check$1(this, H);
1497
+ this.type = 1, this._$AH = A, this._$AN = void 0, this.element = t, this.name = i, this._$AM = e, this.options = h, s.length > 2 || "" !== s[0] || "" !== s[1] ? (this._$AH = Array(s.length - 1).fill(new String), this.strings = s) : this._$AH = A;
1495
1498
  }
1496
- _create_class$1(k, [
1499
+ _create_class$1(H, [
1497
1500
  {
1498
1501
  key: "tagName",
1499
1502
  get: function get() {
@@ -1512,11 +1515,11 @@ var k = /*#__PURE__*/ function() {
1512
1515
  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;
1513
1516
  var h = this.strings;
1514
1517
  var o = false;
1515
- if (void 0 === h) t = S(this, t, i, 0), o = !c(t) || t !== this._$AH && t !== T, o && (this._$AH = t);
1518
+ if (void 0 === h) t = M(this, t, i, 0), o = !a(t) || t !== this._$AH && t !== E, o && (this._$AH = t);
1516
1519
  else {
1517
1520
  var e1 = t;
1518
1521
  var n, r;
1519
- for(t = h[0], n = 0; n < h.length - 1; n++)r = S(this, e1[s + n], i, n), r === T && (r = this._$AH[n]), o || (o = !c(r) || r !== this._$AH[n]), r === E ? t = E : t !== E && (t += (r !== null && r !== void 0 ? r : "") + h[n + 1]), this._$AH[n] = r;
1522
+ for(t = h[0], n = 0; n < h.length - 1; n++)r = M(this, e1[s + n], i, n), r === E && (r = this._$AH[n]), o || (o = !a(r) || r !== this._$AH[n]), r === A ? t = A : t !== A && (t += (r !== null && r !== void 0 ? r : "") + h[n + 1]), this._$AH[n] = r;
1520
1523
  }
1521
1524
  o && !e && this.j(t);
1522
1525
  }
@@ -1524,71 +1527,71 @@ var k = /*#__PURE__*/ function() {
1524
1527
  {
1525
1528
  key: "j",
1526
1529
  value: function j(t) {
1527
- t === E ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t !== null && t !== void 0 ? t : "");
1530
+ t === A ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t !== null && t !== void 0 ? t : "");
1528
1531
  }
1529
1532
  }
1530
1533
  ]);
1531
- return k;
1534
+ return H;
1532
1535
  }();
1533
- var H = /*#__PURE__*/ function(k) {
1534
- _inherits$1(H, k);
1535
- var _super = _create_super$1(H);
1536
- function H() {
1537
- _class_call_check$1(this, H);
1536
+ var I = /*#__PURE__*/ function(H) {
1537
+ _inherits$1(I, H);
1538
+ var _super = _create_super$1(I);
1539
+ function I() {
1540
+ _class_call_check$1(this, I);
1538
1541
  var _this;
1539
1542
  _this = _super.call.apply(_super, [
1540
1543
  this
1541
1544
  ].concat(Array.prototype.slice.call(arguments))), _this.type = 3;
1542
1545
  return _possible_constructor_return$1(_this);
1543
1546
  }
1544
- _create_class$1(H, [
1547
+ _create_class$1(I, [
1545
1548
  {
1546
1549
  key: "j",
1547
1550
  value: function j(t) {
1548
- this.element[this.name] = t === E ? void 0 : t;
1551
+ this.element[this.name] = t === A ? void 0 : t;
1549
1552
  }
1550
1553
  }
1551
1554
  ]);
1552
- return H;
1553
- }(k);
1554
- var I = /*#__PURE__*/ function(k) {
1555
- _inherits$1(I, k);
1556
- var _super = _create_super$1(I);
1557
- function I() {
1558
- _class_call_check$1(this, I);
1555
+ return I;
1556
+ }(H);
1557
+ var L = /*#__PURE__*/ function(H) {
1558
+ _inherits$1(L, H);
1559
+ var _super = _create_super$1(L);
1560
+ function L() {
1561
+ _class_call_check$1(this, L);
1559
1562
  var _this;
1560
1563
  _this = _super.call.apply(_super, [
1561
1564
  this
1562
1565
  ].concat(Array.prototype.slice.call(arguments))), _this.type = 4;
1563
1566
  return _possible_constructor_return$1(_this);
1564
1567
  }
1565
- _create_class$1(I, [
1568
+ _create_class$1(L, [
1566
1569
  {
1567
1570
  key: "j",
1568
1571
  value: function j(t) {
1569
- this.element.toggleAttribute(this.name, !!t && t !== E);
1572
+ this.element.toggleAttribute(this.name, !!t && t !== A);
1570
1573
  }
1571
1574
  }
1572
1575
  ]);
1573
- return I;
1574
- }(k);
1575
- var L = /*#__PURE__*/ function(k) {
1576
- _inherits$1(L, k);
1577
- var _super = _create_super$1(L);
1578
- function L(t, i, s, e, h) {
1579
- _class_call_check$1(this, L);
1576
+ return L;
1577
+ }(H);
1578
+ var z = /*#__PURE__*/ function(H) {
1579
+ _inherits$1(z, H);
1580
+ var _super = _create_super$1(z);
1581
+ function z(t, i, s, e, h) {
1582
+ _class_call_check$1(this, z);
1580
1583
  var _this;
1581
1584
  _this = _super.call(this, t, i, s, e, h), _this.type = 5;
1582
1585
  return _possible_constructor_return$1(_this);
1583
1586
  }
1584
- _create_class$1(L, [
1587
+ _create_class$1(z, [
1585
1588
  {
1586
1589
  key: "_$AI",
1587
1590
  value: function _$AI(t) {
1588
1591
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this;
1589
- var _S;
1590
- if ((t = (_S = S(this, t, i, 0)) !== null && _S !== void 0 ? _S : E) === T) return;
1591
- var s = this._$AH, e = t === E && s !== E || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, h = t !== E && (s === E || e);
1592
+ var _M;
1593
+ if ((t = (_M = M(this, t, i, 0)) !== null && _M !== void 0 ? _M : A) === E) return;
1594
+ var s = this._$AH, e = t === A && s !== A || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, h = t !== A && (s === A || e);
1592
1595
  e && this.element.removeEventListener(this.name, this, s), h && this.element.addEventListener(this.name, this, t), this._$AH = t;
1593
1596
  }
1594
1597
  },
@@ -1601,14 +1604,14 @@ var L = /*#__PURE__*/ function(k) {
1601
1604
  }
1602
1605
  }
1603
1606
  ]);
1604
- return L;
1605
- }(k);
1606
- var z = /*#__PURE__*/ function() {
1607
- function z(t, i, s) {
1608
- _class_call_check$1(this, z);
1607
+ return z;
1608
+ }(H);
1609
+ var Z = /*#__PURE__*/ function() {
1610
+ function Z(t, i, s) {
1611
+ _class_call_check$1(this, Z);
1609
1612
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = i, this.options = s;
1610
1613
  }
1611
- _create_class$1(z, [
1614
+ _create_class$1(Z, [
1612
1615
  {
1613
1616
  key: "_$AU",
1614
1617
  get: function get() {
@@ -1618,23 +1621,23 @@ var z = /*#__PURE__*/ function() {
1618
1621
  {
1619
1622
  key: "_$AI",
1620
1623
  value: function _$AI(t) {
1621
- S(this, t);
1624
+ M(this, t);
1622
1625
  }
1623
1626
  }
1624
1627
  ]);
1625
- return z;
1628
+ return Z;
1626
1629
  }();
1627
- var j = t$1.litHtmlPolyfillSupport;
1630
+ var B = t$1.litHtmlPolyfillSupport;
1628
1631
  var _litHtmlVersions;
1629
- 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");
1630
- var B = function(t, i, s) {
1632
+ B === null || B === void 0 ? void 0 : B(S, k), ((_litHtmlVersions = (_t = t$1).litHtmlVersions) !== null && _litHtmlVersions !== void 0 ? _litHtmlVersions : _t.litHtmlVersions = []).push("3.3.3");
1633
+ var D = function(t, i, s) {
1631
1634
  var _s_renderBefore;
1632
1635
  var e = (_s_renderBefore = s === null || s === void 0 ? void 0 : s.renderBefore) !== null && _s_renderBefore !== void 0 ? _s_renderBefore : i;
1633
1636
  var h = e._$litPart$;
1634
1637
  if (void 0 === h) {
1635
1638
  var _s_renderBefore1;
1636
1639
  var _$t = (_s_renderBefore1 = s === null || s === void 0 ? void 0 : s.renderBefore) !== null && _s_renderBefore1 !== void 0 ? _s_renderBefore1 : null;
1637
- e._$litPart$ = h = new R(i.insertBefore(l(), _$t), _$t, void 0, s !== null && s !== void 0 ? s : {});
1640
+ e._$litPart$ = h = new k(i.insertBefore(c(), _$t), _$t, void 0, s !== null && s !== void 0 ? s : {});
1638
1641
  }
1639
1642
  return h._$AI(t), h;
1640
1643
  };
@@ -1780,7 +1783,7 @@ var i = /*#__PURE__*/ function(t) {
1780
1783
  key: "update",
1781
1784
  value: function update(t) {
1782
1785
  var r = this.render();
1783
- 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);
1786
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), _get(_get_prototype_of(i.prototype), "update", this).call(this, t), this._$Do = D(r, this.renderRoot, this.renderOptions);
1784
1787
  }
1785
1788
  },
1786
1789
  {
@@ -1800,7 +1803,7 @@ var i = /*#__PURE__*/ function(t) {
1800
1803
  {
1801
1804
  key: "render",
1802
1805
  value: function render() {
1803
- return T;
1806
+ return E;
1804
1807
  }
1805
1808
  }
1806
1809
  ]);
@@ -1814,7 +1817,7 @@ o$1 === null || o$1 === void 0 ? void 0 : o$1({
1814
1817
  LitElement: i
1815
1818
  });
1816
1819
  var _litElementVersions;
1817
- ((_litElementVersions = (_s = s).litElementVersions) !== null && _litElementVersions !== void 0 ? _litElementVersions : _s.litElementVersions = []).push("4.2.1");
1820
+ ((_litElementVersions = (_s = s).litElementVersions) !== null && _litElementVersions !== void 0 ? _litElementVersions : _s.litElementVersions = []).push("4.2.2");
1818
1821
 
1819
1822
  /**
1820
1823
  * @license
@@ -1851,7 +1854,7 @@ function _type_of(obj) {
1851
1854
  return {
1852
1855
  set: function set(r) {
1853
1856
  var n = _$e.get.call(this);
1854
- _$e.set.call(this, r), this.requestUpdate(o1, n, _$t);
1857
+ _$e.set.call(this, r), this.requestUpdate(o1, n, _$t, true, r);
1855
1858
  },
1856
1859
  init: function init(e) {
1857
1860
  return void 0 !== e && this.C(o1, void 0, _$t, e), e;
@@ -1862,7 +1865,7 @@ function _type_of(obj) {
1862
1865
  var o2 = r.name;
1863
1866
  return function r(r) {
1864
1867
  var n = this[o2];
1865
- _$e.call(this, r), this.requestUpdate(o2, n, _$t);
1868
+ _$e.call(this, r), this.requestUpdate(o2, n, _$t, true, r);
1866
1869
  };
1867
1870
  }
1868
1871
  throw Error("Unsupported decorator location: " + n);
@@ -72451,7 +72454,7 @@ class EditorElement extends i {
72451
72454
  Blockly.Events.enable();
72452
72455
  }
72453
72456
  render() {
72454
- return x`
72457
+ return b`
72455
72458
  <style>
72456
72459
  @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
72457
72460