@citolab/qti-components 7.27.2 → 7.27.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/cdn/index.global.js +1 -1
- package/cdn/index.js +216 -202
- package/dist/base.js +1 -1
- package/dist/{chunk-QUWFDFGZ.js → chunk-3XXXAWMZ.js} +18 -18
- package/dist/{chunk-TORB5UN2.js → chunk-A7HX4462.js} +291 -242
- package/dist/chunk-A7HX4462.js.map +1 -0
- package/dist/{chunk-KY3II5OX.js → chunk-CSYOTHK2.js} +220 -189
- package/dist/chunk-CSYOTHK2.js.map +1 -0
- package/dist/{chunk-G5ZUC3OT.js → chunk-CVB5ISWF.js} +23 -23
- package/dist/chunk-CVB5ISWF.js.map +1 -0
- package/dist/{chunk-TZMDZQFG.js → chunk-D6EHVZG2.js} +467 -217
- package/dist/chunk-D6EHVZG2.js.map +1 -0
- package/dist/{chunk-DG5TP35K.js → chunk-DGIXWHK3.js} +5 -5
- package/dist/{chunk-DG5TP35K.js.map → chunk-DGIXWHK3.js.map} +1 -1
- package/dist/{chunk-GG36UR7F.js → chunk-PHCCFYNE.js} +12 -12
- package/dist/{chunk-GG36UR7F.js.map → chunk-PHCCFYNE.js.map} +1 -1
- package/dist/{chunk-75ME6QG5.js → chunk-WMPG7ULB.js} +17 -17
- package/dist/elements.js +3 -3
- package/dist/index.js +8 -8
- package/dist/interactions.d.ts +8 -7
- package/dist/interactions.js +3 -3
- package/dist/item.js +3 -3
- package/dist/processing.js +2 -2
- package/dist/qti-components-jsx.d.ts +202 -202
- package/dist/test.js +5 -5
- package/package.json +11 -11
- package/dist/chunk-G5ZUC3OT.js.map +0 -1
- package/dist/chunk-KY3II5OX.js.map +0 -1
- package/dist/chunk-TORB5UN2.js.map +0 -1
- package/dist/chunk-TZMDZQFG.js.map +0 -1
- /package/dist/{chunk-QUWFDFGZ.js.map → chunk-3XXXAWMZ.js.map} +0 -0
- /package/dist/{chunk-75ME6QG5.js.map → chunk-WMPG7ULB.js.map} +0 -0
|
@@ -10,19 +10,19 @@ var s = class extends Event {
|
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
// ../../node_modules/.pnpm/@lit+context@1.1.6/node_modules/@lit/context/lib/create-context.js
|
|
13
|
-
function n(
|
|
14
|
-
return
|
|
13
|
+
function n(n8) {
|
|
14
|
+
return n8;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/.pnpm/@lit+context@1.1.6/node_modules/@lit/context/lib/controllers/context-consumer.js
|
|
18
18
|
var s2 = class {
|
|
19
|
-
constructor(t7, s9, i7,
|
|
19
|
+
constructor(t7, s9, i7, h5) {
|
|
20
20
|
if (this.subscribe = false, this.provided = false, this.value = void 0, this.t = (t8, s10) => {
|
|
21
21
|
this.unsubscribe && (this.unsubscribe !== s10 && (this.provided = false, this.unsubscribe()), this.subscribe || this.unsubscribe()), this.value = t8, this.host.requestUpdate(), this.provided && !this.subscribe || (this.provided = true, this.callback && this.callback(t8, s10)), this.unsubscribe = s10;
|
|
22
22
|
}, this.host = t7, void 0 !== s9.context) {
|
|
23
23
|
const t8 = s9;
|
|
24
24
|
this.context = t8.context, this.callback = t8.callback, this.subscribe = t8.subscribe ?? false;
|
|
25
|
-
} else this.context = s9, this.callback = i7, this.subscribe =
|
|
25
|
+
} else this.context = s9, this.callback = i7, this.subscribe = h5 ?? false;
|
|
26
26
|
this.host.addController(this);
|
|
27
27
|
}
|
|
28
28
|
hostConnected() {
|
|
@@ -58,8 +58,8 @@ var s3 = class {
|
|
|
58
58
|
this.subscriptions.has(s9) || this.subscriptions.set(s9, { disposer: () => {
|
|
59
59
|
this.subscriptions.delete(s9);
|
|
60
60
|
}, consumerHost: t7 });
|
|
61
|
-
const { disposer:
|
|
62
|
-
s9(this.value,
|
|
61
|
+
const { disposer: h5 } = this.subscriptions.get(s9);
|
|
62
|
+
s9(this.value, h5);
|
|
63
63
|
}
|
|
64
64
|
clearCallbacks() {
|
|
65
65
|
this.subscriptions.clear();
|
|
@@ -96,20 +96,20 @@ var i = class extends s3 {
|
|
|
96
96
|
|
|
97
97
|
// ../../node_modules/.pnpm/@lit+context@1.1.6/node_modules/@lit/context/lib/decorators/provide.js
|
|
98
98
|
function e2({ context: e8 }) {
|
|
99
|
-
return (
|
|
99
|
+
return (n8, i7) => {
|
|
100
100
|
const r8 = /* @__PURE__ */ new WeakMap();
|
|
101
101
|
if ("object" == typeof i7) return { get() {
|
|
102
|
-
return
|
|
102
|
+
return n8.get.call(this);
|
|
103
103
|
}, set(t7) {
|
|
104
|
-
return r8.get(this).setValue(t7),
|
|
105
|
-
}, init(
|
|
106
|
-
return r8.set(this, new i(this, { context: e8, initialValue:
|
|
104
|
+
return r8.get(this).setValue(t7), n8.set.call(this, t7);
|
|
105
|
+
}, init(n9) {
|
|
106
|
+
return r8.set(this, new i(this, { context: e8, initialValue: n9 })), n9;
|
|
107
107
|
} };
|
|
108
108
|
{
|
|
109
|
-
|
|
110
|
-
r8.set(
|
|
109
|
+
n8.constructor.addInitializer(((n9) => {
|
|
110
|
+
r8.set(n9, new i(n9, { context: e8 }));
|
|
111
111
|
}));
|
|
112
|
-
const o8 = Object.getOwnPropertyDescriptor(
|
|
112
|
+
const o8 = Object.getOwnPropertyDescriptor(n8, i7);
|
|
113
113
|
let s9;
|
|
114
114
|
if (void 0 === o8) {
|
|
115
115
|
const t7 = /* @__PURE__ */ new WeakMap();
|
|
@@ -124,21 +124,21 @@ function e2({ context: e8 }) {
|
|
|
124
124
|
r8.get(this).setValue(e9), t7?.call(this, e9);
|
|
125
125
|
} };
|
|
126
126
|
}
|
|
127
|
-
return void Object.defineProperty(
|
|
127
|
+
return void Object.defineProperty(n8, i7, s9);
|
|
128
128
|
}
|
|
129
129
|
};
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
// ../../node_modules/.pnpm/@lit+context@1.1.6/node_modules/@lit/context/lib/decorators/consume.js
|
|
133
133
|
function c({ context: c6, subscribe: e8 }) {
|
|
134
|
-
return (o8,
|
|
135
|
-
"object" == typeof
|
|
134
|
+
return (o8, n8) => {
|
|
135
|
+
"object" == typeof n8 ? n8.addInitializer((function() {
|
|
136
136
|
new s2(this, { context: c6, callback: (t7) => {
|
|
137
137
|
o8.set.call(this, t7);
|
|
138
138
|
}, subscribe: e8 });
|
|
139
139
|
})) : o8.constructor.addInitializer(((o9) => {
|
|
140
140
|
new s2(o9, { context: c6, callback: (t7) => {
|
|
141
|
-
o9[
|
|
141
|
+
o9[n8] = t7;
|
|
142
142
|
}, subscribe: e8 });
|
|
143
143
|
}));
|
|
144
144
|
};
|
|
@@ -185,19 +185,20 @@ var sessionContext = n(/* @__PURE__ */ Symbol("testContext"));
|
|
|
185
185
|
var INITIAL_TEST_CONTEXT = { items: [], testOutcomeVariables: [] };
|
|
186
186
|
var testContext = n(/* @__PURE__ */ Symbol("testContext"));
|
|
187
187
|
|
|
188
|
-
// ../../node_modules/.pnpm/@lit+reactive-element@2.1.
|
|
188
|
+
// ../../node_modules/.pnpm/@lit+reactive-element@2.1.2/node_modules/@lit/reactive-element/node/decorators/custom-element.js
|
|
189
189
|
var t2 = (t7) => (e8, o8) => {
|
|
190
|
-
void 0 !== o8 ? o8.addInitializer((
|
|
190
|
+
void 0 !== o8 ? o8.addInitializer(() => {
|
|
191
191
|
customElements.define(t7, e8);
|
|
192
|
-
})
|
|
192
|
+
}) : customElements.define(t7, e8);
|
|
193
193
|
};
|
|
194
194
|
|
|
195
|
-
// ../../node_modules/.pnpm/@lit-labs+ssr-dom-shim@1.
|
|
195
|
+
// ../../node_modules/.pnpm/@lit-labs+ssr-dom-shim@1.5.1/node_modules/@lit-labs/ssr-dom-shim/lib/element-internals.js
|
|
196
196
|
var ElementInternalsShim = class ElementInternals {
|
|
197
197
|
get shadowRoot() {
|
|
198
198
|
return this.__host.__shadowRoot;
|
|
199
199
|
}
|
|
200
200
|
constructor(_host) {
|
|
201
|
+
this.ariaActiveDescendantElement = null;
|
|
201
202
|
this.ariaAtomic = "";
|
|
202
203
|
this.ariaAutoComplete = "";
|
|
203
204
|
this.ariaBrailleLabel = "";
|
|
@@ -206,30 +207,40 @@ var ElementInternalsShim = class ElementInternals {
|
|
|
206
207
|
this.ariaChecked = "";
|
|
207
208
|
this.ariaColCount = "";
|
|
208
209
|
this.ariaColIndex = "";
|
|
210
|
+
this.ariaColIndexText = "";
|
|
209
211
|
this.ariaColSpan = "";
|
|
212
|
+
this.ariaControlsElements = null;
|
|
210
213
|
this.ariaCurrent = "";
|
|
214
|
+
this.ariaDescribedByElements = null;
|
|
211
215
|
this.ariaDescription = "";
|
|
216
|
+
this.ariaDetailsElements = null;
|
|
212
217
|
this.ariaDisabled = "";
|
|
218
|
+
this.ariaErrorMessageElements = null;
|
|
213
219
|
this.ariaExpanded = "";
|
|
220
|
+
this.ariaFlowToElements = null;
|
|
214
221
|
this.ariaHasPopup = "";
|
|
215
222
|
this.ariaHidden = "";
|
|
216
223
|
this.ariaInvalid = "";
|
|
217
224
|
this.ariaKeyShortcuts = "";
|
|
218
225
|
this.ariaLabel = "";
|
|
226
|
+
this.ariaLabelledByElements = null;
|
|
219
227
|
this.ariaLevel = "";
|
|
220
228
|
this.ariaLive = "";
|
|
221
229
|
this.ariaModal = "";
|
|
222
230
|
this.ariaMultiLine = "";
|
|
223
231
|
this.ariaMultiSelectable = "";
|
|
224
232
|
this.ariaOrientation = "";
|
|
233
|
+
this.ariaOwnsElements = null;
|
|
225
234
|
this.ariaPlaceholder = "";
|
|
226
235
|
this.ariaPosInSet = "";
|
|
227
236
|
this.ariaPressed = "";
|
|
228
237
|
this.ariaReadOnly = "";
|
|
238
|
+
this.ariaRelevant = "";
|
|
229
239
|
this.ariaRequired = "";
|
|
230
240
|
this.ariaRoleDescription = "";
|
|
231
241
|
this.ariaRowCount = "";
|
|
232
242
|
this.ariaRowIndex = "";
|
|
243
|
+
this.ariaRowIndexText = "";
|
|
233
244
|
this.ariaRowSpan = "";
|
|
234
245
|
this.ariaSelected = "";
|
|
235
246
|
this.ariaSetSize = "";
|
|
@@ -260,17 +271,17 @@ var ElementInternalsShim = class ElementInternals {
|
|
|
260
271
|
}
|
|
261
272
|
};
|
|
262
273
|
|
|
263
|
-
// ../../node_modules/.pnpm/@lit-labs+ssr-dom-shim@1.
|
|
264
|
-
var __classPrivateFieldSet = function(receiver, state, value, kind,
|
|
274
|
+
// ../../node_modules/.pnpm/@lit-labs+ssr-dom-shim@1.5.1/node_modules/@lit-labs/ssr-dom-shim/lib/events.js
|
|
275
|
+
var __classPrivateFieldSet = function(receiver, state, value, kind, f4) {
|
|
265
276
|
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
266
|
-
if (kind === "a" && !
|
|
267
|
-
if (typeof state === "function" ? receiver !== state || !
|
|
268
|
-
return kind === "a" ?
|
|
277
|
+
if (kind === "a" && !f4) throw new TypeError("Private accessor was defined without a setter");
|
|
278
|
+
if (typeof state === "function" ? receiver !== state || !f4 : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
279
|
+
return kind === "a" ? f4.call(receiver, value) : f4 ? f4.value = value : state.set(receiver, value), value;
|
|
269
280
|
};
|
|
270
|
-
var __classPrivateFieldGet = function(receiver, state, kind,
|
|
271
|
-
if (kind === "a" && !
|
|
272
|
-
if (typeof state === "function" ? receiver !== state || !
|
|
273
|
-
return kind === "m" ?
|
|
281
|
+
var __classPrivateFieldGet = function(receiver, state, kind, f4) {
|
|
282
|
+
if (kind === "a" && !f4) throw new TypeError("Private accessor was defined without a getter");
|
|
283
|
+
if (typeof state === "function" ? receiver !== state || !f4 : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
284
|
+
return kind === "m" ? f4 : kind === "a" ? f4.call(receiver) : f4 ? f4.value : state.get(receiver);
|
|
274
285
|
};
|
|
275
286
|
var _Event_cancelable;
|
|
276
287
|
var _Event_bubbles;
|
|
@@ -586,7 +597,37 @@ Object.defineProperties(CustomEventShim.prototype, {
|
|
|
586
597
|
var EventShimWithRealType = EventShim;
|
|
587
598
|
var CustomEventShimWithRealType = CustomEventShim;
|
|
588
599
|
|
|
589
|
-
// ../../node_modules/.pnpm/@lit-labs+ssr-dom-shim@1.
|
|
600
|
+
// ../../node_modules/.pnpm/@lit-labs+ssr-dom-shim@1.5.1/node_modules/@lit-labs/ssr-dom-shim/lib/css.js
|
|
601
|
+
var _a2;
|
|
602
|
+
var CSSRuleShim = (_a2 = class CSSRule {
|
|
603
|
+
constructor() {
|
|
604
|
+
this.STYLE_RULE = 1;
|
|
605
|
+
this.CHARSET_RULE = 2;
|
|
606
|
+
this.IMPORT_RULE = 3;
|
|
607
|
+
this.MEDIA_RULE = 4;
|
|
608
|
+
this.FONT_FACE_RULE = 5;
|
|
609
|
+
this.PAGE_RULE = 6;
|
|
610
|
+
this.NAMESPACE_RULE = 10;
|
|
611
|
+
this.KEYFRAMES_RULE = 7;
|
|
612
|
+
this.KEYFRAME_RULE = 8;
|
|
613
|
+
this.SUPPORTS_RULE = 12;
|
|
614
|
+
this.COUNTER_STYLE_RULE = 11;
|
|
615
|
+
this.FONT_FEATURE_VALUES_RULE = 14;
|
|
616
|
+
this.__parentStyleSheet = null;
|
|
617
|
+
this.cssText = "";
|
|
618
|
+
}
|
|
619
|
+
get parentRule() {
|
|
620
|
+
return null;
|
|
621
|
+
}
|
|
622
|
+
get parentStyleSheet() {
|
|
623
|
+
return this.__parentStyleSheet;
|
|
624
|
+
}
|
|
625
|
+
get type() {
|
|
626
|
+
return 0;
|
|
627
|
+
}
|
|
628
|
+
}, _a2.STYLE_RULE = 1, _a2.CHARSET_RULE = 2, _a2.IMPORT_RULE = 3, _a2.MEDIA_RULE = 4, _a2.FONT_FACE_RULE = 5, _a2.PAGE_RULE = 6, _a2.NAMESPACE_RULE = 10, _a2.KEYFRAMES_RULE = 7, _a2.KEYFRAME_RULE = 8, _a2.SUPPORTS_RULE = 12, _a2.COUNTER_STYLE_RULE = 11, _a2.FONT_FEATURE_VALUES_RULE = 14, _a2);
|
|
629
|
+
|
|
630
|
+
// ../../node_modules/.pnpm/@lit-labs+ssr-dom-shim@1.5.1/node_modules/@lit-labs/ssr-dom-shim/index.js
|
|
590
631
|
globalThis.Event ??= EventShimWithRealType;
|
|
591
632
|
globalThis.CustomEvent ??= CustomEventShimWithRealType;
|
|
592
633
|
var attributes = /* @__PURE__ */ new WeakMap();
|
|
@@ -748,7 +789,7 @@ Make sure to test your application with a production build as repeat registratio
|
|
|
748
789
|
var CustomElementRegistryShimWithRealType = CustomElementRegistry;
|
|
749
790
|
var customElements2 = new CustomElementRegistryShimWithRealType();
|
|
750
791
|
|
|
751
|
-
// ../../node_modules/.pnpm/@lit+reactive-element@2.1.
|
|
792
|
+
// ../../node_modules/.pnpm/@lit+reactive-element@2.1.2/node_modules/@lit/reactive-element/node/css-tag.js
|
|
752
793
|
var t3 = globalThis;
|
|
753
794
|
var e3 = t3.ShadowRoot && (void 0 === t3.ShadyCSS || t3.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype;
|
|
754
795
|
var s4 = /* @__PURE__ */ Symbol();
|
|
@@ -773,18 +814,18 @@ var n2 = class {
|
|
|
773
814
|
};
|
|
774
815
|
var r = (t7) => new n2("string" == typeof t7 ? t7 : t7 + "", void 0, s4);
|
|
775
816
|
var i2 = (t7, ...e8) => {
|
|
776
|
-
const o8 = 1 === t7.length ? t7[0] : e8.reduce((
|
|
817
|
+
const o8 = 1 === t7.length ? t7[0] : e8.reduce((e9, s9, o9) => e9 + ((t8) => {
|
|
777
818
|
if (true === t8._$cssResult$) return t8.cssText;
|
|
778
819
|
if ("number" == typeof t8) return t8;
|
|
779
820
|
throw Error("Value passed to 'css' function must be a 'css' function result: " + t8 + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
780
|
-
})(s9) + t7[o9 + 1]
|
|
821
|
+
})(s9) + t7[o9 + 1], t7[0]);
|
|
781
822
|
return new n2(o8, t7, s4);
|
|
782
823
|
};
|
|
783
824
|
var S = (s9, o8) => {
|
|
784
|
-
if (e3) s9.adoptedStyleSheets = o8.map((
|
|
825
|
+
if (e3) s9.adoptedStyleSheets = o8.map((t7) => t7 instanceof CSSStyleSheet ? t7 : t7.styleSheet);
|
|
785
826
|
else for (const e8 of o8) {
|
|
786
|
-
const o9 = document.createElement("style"),
|
|
787
|
-
void 0 !==
|
|
827
|
+
const o9 = document.createElement("style"), n8 = t3.litNonce;
|
|
828
|
+
void 0 !== n8 && o9.setAttribute("nonce", n8), o9.textContent = e8.cssText, s9.appendChild(o9);
|
|
788
829
|
}
|
|
789
830
|
};
|
|
790
831
|
var c2 = e3 || void 0 === t3.CSSStyleSheet ? (t7) => t7 : (t7) => t7 instanceof CSSStyleSheet ? ((t8) => {
|
|
@@ -793,7 +834,7 @@ var c2 = e3 || void 0 === t3.CSSStyleSheet ? (t7) => t7 : (t7) => t7 instanceof
|
|
|
793
834
|
return r(e8);
|
|
794
835
|
})(t7) : t7;
|
|
795
836
|
|
|
796
|
-
// ../../node_modules/.pnpm/@lit+reactive-element@2.1.
|
|
837
|
+
// ../../node_modules/.pnpm/@lit+reactive-element@2.1.2/node_modules/@lit/reactive-element/node/reactive-element.js
|
|
797
838
|
var { is: h, defineProperty: r2, getOwnPropertyDescriptor: o2, getOwnPropertyNames: n3, getOwnPropertySymbols: a, getPrototypeOf: c3 } = Object;
|
|
798
839
|
var l = globalThis;
|
|
799
840
|
l.customElements ??= customElements2;
|
|
@@ -847,14 +888,14 @@ var g = class extends (globalThis.HTMLElement ?? HTMLElementShimWithRealType) {
|
|
|
847
888
|
}
|
|
848
889
|
}
|
|
849
890
|
static getPropertyDescriptor(t7, s9, i7) {
|
|
850
|
-
const { get: e8, set:
|
|
891
|
+
const { get: e8, set: h5 } = o2(this.prototype, t7) ?? { get() {
|
|
851
892
|
return this[s9];
|
|
852
893
|
}, set(t8) {
|
|
853
894
|
this[s9] = t8;
|
|
854
895
|
} };
|
|
855
896
|
return { get: e8, set(s10) {
|
|
856
897
|
const r8 = e8?.call(this);
|
|
857
|
-
|
|
898
|
+
h5?.call(this, s10), this.requestUpdate(t7, r8, i7);
|
|
858
899
|
}, configurable: true, enumerable: true };
|
|
859
900
|
}
|
|
860
901
|
static getPropertyOptions(t7) {
|
|
@@ -899,7 +940,7 @@ var g = class extends (globalThis.HTMLElement ?? HTMLElementShimWithRealType) {
|
|
|
899
940
|
super(), this._$Ep = void 0, this.isUpdatePending = false, this.hasUpdated = false, this._$Em = null, this._$Ev();
|
|
900
941
|
}
|
|
901
942
|
_$Ev() {
|
|
902
|
-
this._$ES = new Promise((
|
|
943
|
+
this._$ES = new Promise((t7) => this.enableUpdating = t7), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), this.constructor.l?.forEach((t7) => t7(this));
|
|
903
944
|
}
|
|
904
945
|
addController(t7) {
|
|
905
946
|
(this._$EO ??= /* @__PURE__ */ new Set()).add(t7), void 0 !== this.renderRoot && this.isConnected && t7.hostConnected?.();
|
|
@@ -917,12 +958,12 @@ var g = class extends (globalThis.HTMLElement ?? HTMLElementShimWithRealType) {
|
|
|
917
958
|
return S(t7, this.constructor.elementStyles), t7;
|
|
918
959
|
}
|
|
919
960
|
connectedCallback() {
|
|
920
|
-
this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(true), this._$EO?.forEach((
|
|
961
|
+
this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(true), this._$EO?.forEach((t7) => t7.hostConnected?.());
|
|
921
962
|
}
|
|
922
963
|
enableUpdating(t7) {
|
|
923
964
|
}
|
|
924
965
|
disconnectedCallback() {
|
|
925
|
-
this._$EO?.forEach((
|
|
966
|
+
this._$EO?.forEach((t7) => t7.hostDisconnected?.());
|
|
926
967
|
}
|
|
927
968
|
attributeChangedCallback(t7, s9, i7) {
|
|
928
969
|
this._$AK(t7, i7);
|
|
@@ -930,29 +971,29 @@ var g = class extends (globalThis.HTMLElement ?? HTMLElementShimWithRealType) {
|
|
|
930
971
|
_$ET(t7, s9) {
|
|
931
972
|
const i7 = this.constructor.elementProperties.get(t7), e8 = this.constructor._$Eu(t7, i7);
|
|
932
973
|
if (void 0 !== e8 && true === i7.reflect) {
|
|
933
|
-
const
|
|
934
|
-
this._$Em = t7, null ==
|
|
974
|
+
const h5 = (void 0 !== i7.converter?.toAttribute ? i7.converter : b).toAttribute(s9, i7.type);
|
|
975
|
+
this._$Em = t7, null == h5 ? this.removeAttribute(e8) : this.setAttribute(e8, h5), this._$Em = null;
|
|
935
976
|
}
|
|
936
977
|
}
|
|
937
978
|
_$AK(t7, s9) {
|
|
938
979
|
const i7 = this.constructor, e8 = i7._$Eh.get(t7);
|
|
939
980
|
if (void 0 !== e8 && this._$Em !== e8) {
|
|
940
|
-
const t8 = i7.getPropertyOptions(e8),
|
|
981
|
+
const t8 = i7.getPropertyOptions(e8), h5 = "function" == typeof t8.converter ? { fromAttribute: t8.converter } : void 0 !== t8.converter?.fromAttribute ? t8.converter : b;
|
|
941
982
|
this._$Em = e8;
|
|
942
|
-
const r8 =
|
|
983
|
+
const r8 = h5.fromAttribute(s9, t8.type);
|
|
943
984
|
this[e8] = r8 ?? this._$Ej?.get(e8) ?? r8, this._$Em = null;
|
|
944
985
|
}
|
|
945
986
|
}
|
|
946
|
-
requestUpdate(t7, s9, i7) {
|
|
987
|
+
requestUpdate(t7, s9, i7, e8 = false, h5) {
|
|
947
988
|
if (void 0 !== t7) {
|
|
948
|
-
const
|
|
949
|
-
if (i7 ??=
|
|
989
|
+
const r8 = this.constructor;
|
|
990
|
+
if (false === e8 && (h5 = this[t7]), i7 ??= r8.getPropertyOptions(t7), !((i7.hasChanged ?? m)(h5, s9) || i7.useDefault && i7.reflect && h5 === this._$Ej?.get(t7) && !this.hasAttribute(r8._$Eu(t7, i7)))) return;
|
|
950
991
|
this.C(t7, s9, i7);
|
|
951
992
|
}
|
|
952
993
|
false === this.isUpdatePending && (this._$ES = this._$EP());
|
|
953
994
|
}
|
|
954
|
-
C(t7, s9, { useDefault: i7, reflect: e8, wrapped:
|
|
955
|
-
i7 && !(this._$Ej ??= /* @__PURE__ */ new Map()).has(t7) && (this._$Ej.set(t7, r8 ?? s9 ?? this[t7]), true !==
|
|
995
|
+
C(t7, s9, { useDefault: i7, reflect: e8, wrapped: h5 }, r8) {
|
|
996
|
+
i7 && !(this._$Ej ??= /* @__PURE__ */ new Map()).has(t7) && (this._$Ej.set(t7, r8 ?? s9 ?? this[t7]), true !== h5 || void 0 !== r8) || (this._$AL.has(t7) || (this.hasUpdated || i7 || (s9 = void 0), this._$AL.set(t7, s9)), true === e8 && this._$Em !== t7 && (this._$Eq ??= /* @__PURE__ */ new Set()).add(t7));
|
|
956
997
|
}
|
|
957
998
|
async _$EP() {
|
|
958
999
|
this.isUpdatePending = true;
|
|
@@ -983,7 +1024,7 @@ var g = class extends (globalThis.HTMLElement ?? HTMLElementShimWithRealType) {
|
|
|
983
1024
|
let t7 = false;
|
|
984
1025
|
const s9 = this._$AL;
|
|
985
1026
|
try {
|
|
986
|
-
t7 = this.shouldUpdate(s9), t7 ? (this.willUpdate(s9), this._$EO?.forEach((
|
|
1027
|
+
t7 = this.shouldUpdate(s9), t7 ? (this.willUpdate(s9), this._$EO?.forEach((t8) => t8.hostUpdate?.()), this.update(s9)) : this._$EM();
|
|
987
1028
|
} catch (s10) {
|
|
988
1029
|
throw t7 = false, this._$EM(), s10;
|
|
989
1030
|
}
|
|
@@ -992,7 +1033,7 @@ var g = class extends (globalThis.HTMLElement ?? HTMLElementShimWithRealType) {
|
|
|
992
1033
|
willUpdate(t7) {
|
|
993
1034
|
}
|
|
994
1035
|
_$AE(t7) {
|
|
995
|
-
this._$EO?.forEach((
|
|
1036
|
+
this._$EO?.forEach((t8) => t8.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t7)), this.updated(t7);
|
|
996
1037
|
}
|
|
997
1038
|
_$EM() {
|
|
998
1039
|
this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = false;
|
|
@@ -1007,37 +1048,37 @@ var g = class extends (globalThis.HTMLElement ?? HTMLElementShimWithRealType) {
|
|
|
1007
1048
|
return true;
|
|
1008
1049
|
}
|
|
1009
1050
|
update(t7) {
|
|
1010
|
-
this._$Eq &&= this._$Eq.forEach((
|
|
1051
|
+
this._$Eq &&= this._$Eq.forEach((t8) => this._$ET(t8, this[t8])), this._$EM();
|
|
1011
1052
|
}
|
|
1012
1053
|
updated(t7) {
|
|
1013
1054
|
}
|
|
1014
1055
|
firstUpdated(t7) {
|
|
1015
1056
|
}
|
|
1016
1057
|
};
|
|
1017
|
-
g.elementStyles = [], g.shadowRootOptions = { mode: "open" }, g[f("elementProperties")] = /* @__PURE__ */ new Map(), g[f("finalized")] = /* @__PURE__ */ new Map(), u?.({ ReactiveElement: g }), (l.reactiveElementVersions ??= []).push("2.1.
|
|
1058
|
+
g.elementStyles = [], g.shadowRootOptions = { mode: "open" }, g[f("elementProperties")] = /* @__PURE__ */ new Map(), g[f("finalized")] = /* @__PURE__ */ new Map(), u?.({ ReactiveElement: g }), (l.reactiveElementVersions ??= []).push("2.1.2");
|
|
1018
1059
|
|
|
1019
|
-
// ../../node_modules/.pnpm/@lit+reactive-element@2.1.
|
|
1060
|
+
// ../../node_modules/.pnpm/@lit+reactive-element@2.1.2/node_modules/@lit/reactive-element/node/decorators/property.js
|
|
1020
1061
|
var o3 = { attribute: true, type: String, converter: b, reflect: false, hasChanged: m };
|
|
1021
1062
|
var r3 = (t7 = o3, e8, r8) => {
|
|
1022
|
-
const { kind:
|
|
1063
|
+
const { kind: n8, metadata: i7 } = r8;
|
|
1023
1064
|
let s9 = globalThis.litPropertyMetadata.get(i7);
|
|
1024
|
-
if (void 0 === s9 && globalThis.litPropertyMetadata.set(i7, s9 = /* @__PURE__ */ new Map()), "setter" ===
|
|
1065
|
+
if (void 0 === s9 && globalThis.litPropertyMetadata.set(i7, s9 = /* @__PURE__ */ new Map()), "setter" === n8 && ((t7 = Object.create(t7)).wrapped = true), s9.set(r8.name, t7), "accessor" === n8) {
|
|
1025
1066
|
const { name: o8 } = r8;
|
|
1026
1067
|
return { set(r9) {
|
|
1027
|
-
const
|
|
1028
|
-
e8.set.call(this, r9), this.requestUpdate(o8,
|
|
1068
|
+
const n9 = e8.get.call(this);
|
|
1069
|
+
e8.set.call(this, r9), this.requestUpdate(o8, n9, t7, true, r9);
|
|
1029
1070
|
}, init(e9) {
|
|
1030
1071
|
return void 0 !== e9 && this.C(o8, void 0, t7, e9), e9;
|
|
1031
1072
|
} };
|
|
1032
1073
|
}
|
|
1033
|
-
if ("setter" ===
|
|
1074
|
+
if ("setter" === n8) {
|
|
1034
1075
|
const { name: o8 } = r8;
|
|
1035
1076
|
return function(r9) {
|
|
1036
|
-
const
|
|
1037
|
-
e8.call(this, r9), this.requestUpdate(o8,
|
|
1077
|
+
const n9 = this[o8];
|
|
1078
|
+
e8.call(this, r9), this.requestUpdate(o8, n9, t7, true, r9);
|
|
1038
1079
|
};
|
|
1039
1080
|
}
|
|
1040
|
-
throw Error("Unsupported decorator location: " +
|
|
1081
|
+
throw Error("Unsupported decorator location: " + n8);
|
|
1041
1082
|
};
|
|
1042
1083
|
function n4(t7) {
|
|
1043
1084
|
return (e8, o8) => "object" == typeof o8 ? r3(t7, e8, o8) : ((t8, e9, o9) => {
|
|
@@ -1046,20 +1087,20 @@ function n4(t7) {
|
|
|
1046
1087
|
})(t7, e8, o8);
|
|
1047
1088
|
}
|
|
1048
1089
|
|
|
1049
|
-
// ../../node_modules/.pnpm/@lit+reactive-element@2.1.
|
|
1090
|
+
// ../../node_modules/.pnpm/@lit+reactive-element@2.1.2/node_modules/@lit/reactive-element/node/decorators/state.js
|
|
1050
1091
|
function r4(r8) {
|
|
1051
1092
|
return n4({ ...r8, state: true, attribute: false });
|
|
1052
1093
|
}
|
|
1053
1094
|
|
|
1054
|
-
// ../../node_modules/.pnpm/@lit+reactive-element@2.1.
|
|
1095
|
+
// ../../node_modules/.pnpm/@lit+reactive-element@2.1.2/node_modules/@lit/reactive-element/node/decorators/base.js
|
|
1055
1096
|
var e4 = (e8, t7, c6) => (c6.configurable = true, c6.enumerable = true, Reflect.decorate && "object" != typeof t7 && Object.defineProperty(e8, t7, c6), c6);
|
|
1056
1097
|
|
|
1057
|
-
// ../../node_modules/.pnpm/@lit+reactive-element@2.1.
|
|
1098
|
+
// ../../node_modules/.pnpm/@lit+reactive-element@2.1.2/node_modules/@lit/reactive-element/node/decorators/query.js
|
|
1058
1099
|
function e5(e8, r8) {
|
|
1059
|
-
return (
|
|
1100
|
+
return (n8, s9, i7) => {
|
|
1060
1101
|
const o8 = (t7) => t7.renderRoot?.querySelector(e8) ?? null;
|
|
1061
1102
|
if (r8) {
|
|
1062
|
-
const { get: e9, set: r9 } = "object" == typeof s9 ?
|
|
1103
|
+
const { get: e9, set: r9 } = "object" == typeof s9 ? n8 : i7 ?? /* @__PURE__ */ (() => {
|
|
1063
1104
|
const t7 = /* @__PURE__ */ Symbol();
|
|
1064
1105
|
return { get() {
|
|
1065
1106
|
return this[t7];
|
|
@@ -1067,118 +1108,119 @@ function e5(e8, r8) {
|
|
|
1067
1108
|
this[t7] = e10;
|
|
1068
1109
|
} };
|
|
1069
1110
|
})();
|
|
1070
|
-
return e4(
|
|
1111
|
+
return e4(n8, s9, { get() {
|
|
1071
1112
|
let t7 = e9.call(this);
|
|
1072
1113
|
return void 0 === t7 && (t7 = o8(this), (null !== t7 || this.hasUpdated) && r9.call(this, t7)), t7;
|
|
1073
1114
|
} });
|
|
1074
1115
|
}
|
|
1075
|
-
return e4(
|
|
1116
|
+
return e4(n8, s9, { get() {
|
|
1076
1117
|
return o8(this);
|
|
1077
1118
|
} });
|
|
1078
1119
|
};
|
|
1079
1120
|
}
|
|
1080
1121
|
|
|
1081
|
-
// ../../node_modules/.pnpm/@lit+reactive-element@2.1.
|
|
1122
|
+
// ../../node_modules/.pnpm/@lit+reactive-element@2.1.2/node_modules/@lit/reactive-element/node/decorators/query-assigned-elements.js
|
|
1082
1123
|
function o4(o8) {
|
|
1083
|
-
return (e8,
|
|
1124
|
+
return (e8, n8) => {
|
|
1084
1125
|
const { slot: r8, selector: s9 } = o8 ?? {}, c6 = "slot" + (r8 ? `[name=${r8}]` : ":not([name])");
|
|
1085
|
-
return e4(e8,
|
|
1126
|
+
return e4(e8, n8, { get() {
|
|
1086
1127
|
const t7 = this.renderRoot?.querySelector(c6), e9 = t7?.assignedElements(o8) ?? [];
|
|
1087
|
-
return void 0 === s9 ? e9 : e9.filter((
|
|
1128
|
+
return void 0 === s9 ? e9 : e9.filter((t8) => t8.matches(s9));
|
|
1088
1129
|
} });
|
|
1089
1130
|
};
|
|
1090
1131
|
}
|
|
1091
1132
|
|
|
1092
|
-
// ../../node_modules/.pnpm/lit-html@3.3.
|
|
1133
|
+
// ../../node_modules/.pnpm/lit-html@3.3.2/node_modules/lit-html/node/lit-html.js
|
|
1093
1134
|
var t4 = globalThis;
|
|
1094
|
-
var i3 =
|
|
1095
|
-
var s5 =
|
|
1096
|
-
var e6 = "
|
|
1097
|
-
var h2 =
|
|
1098
|
-
var o5 =
|
|
1099
|
-
var n5 =
|
|
1100
|
-
var r5 =
|
|
1101
|
-
var l2 = () =>
|
|
1102
|
-
var c4 = (
|
|
1103
|
-
var a2 =
|
|
1104
|
-
var u2 =
|
|
1105
|
-
var d2 = "[
|
|
1106
|
-
var f2 =
|
|
1107
|
-
var v =
|
|
1108
|
-
var _ =
|
|
1109
|
-
var m2 =
|
|
1135
|
+
var i3 = (t7) => t7;
|
|
1136
|
+
var s5 = t4.trustedTypes;
|
|
1137
|
+
var e6 = s5 ? s5.createPolicy("lit-html", { createHTML: (t7) => t7 }) : void 0;
|
|
1138
|
+
var h2 = "$lit$";
|
|
1139
|
+
var o5 = `lit$${Math.random().toFixed(9).slice(2)}$`;
|
|
1140
|
+
var n5 = "?" + o5;
|
|
1141
|
+
var r5 = `<${n5}>`;
|
|
1142
|
+
var l2 = void 0 === t4.document ? { createTreeWalker: () => ({}) } : document;
|
|
1143
|
+
var c4 = () => l2.createComment("");
|
|
1144
|
+
var a2 = (t7) => null === t7 || "object" != typeof t7 && "function" != typeof t7;
|
|
1145
|
+
var u2 = Array.isArray;
|
|
1146
|
+
var d2 = (t7) => u2(t7) || "function" == typeof t7?.[Symbol.iterator];
|
|
1147
|
+
var f2 = "[ \n\f\r]";
|
|
1148
|
+
var v = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g;
|
|
1149
|
+
var _ = /-->/g;
|
|
1150
|
+
var m2 = />/g;
|
|
1151
|
+
var p2 = RegExp(`>|${f2}(?:([^\\s"'>=/]+)(${f2}*=${f2}*(?:[^
|
|
1110
1152
|
\f\r"'\`<>=]|("|')|))|$)`, "g");
|
|
1111
|
-
var
|
|
1112
|
-
var
|
|
1113
|
-
var
|
|
1114
|
-
var
|
|
1115
|
-
var
|
|
1116
|
-
var
|
|
1117
|
-
var
|
|
1118
|
-
var
|
|
1119
|
-
var
|
|
1120
|
-
var
|
|
1121
|
-
var
|
|
1122
|
-
function
|
|
1123
|
-
if (!
|
|
1124
|
-
return void 0 !==
|
|
1153
|
+
var g2 = /'/g;
|
|
1154
|
+
var $ = /"/g;
|
|
1155
|
+
var y2 = /^(?:script|style|textarea|title)$/i;
|
|
1156
|
+
var x = (t7) => (i7, ...s9) => ({ _$litType$: t7, strings: i7, values: s9 });
|
|
1157
|
+
var T = x(1);
|
|
1158
|
+
var b2 = x(2);
|
|
1159
|
+
var w = x(3);
|
|
1160
|
+
var E = /* @__PURE__ */ Symbol.for("lit-noChange");
|
|
1161
|
+
var A = /* @__PURE__ */ Symbol.for("lit-nothing");
|
|
1162
|
+
var C = /* @__PURE__ */ new WeakMap();
|
|
1163
|
+
var P = l2.createTreeWalker(l2, 129);
|
|
1164
|
+
function V(t7, i7) {
|
|
1165
|
+
if (!u2(t7) || !t7.hasOwnProperty("raw")) throw Error("invalid template strings array");
|
|
1166
|
+
return void 0 !== e6 ? e6.createHTML(i7) : i7;
|
|
1125
1167
|
}
|
|
1126
|
-
var
|
|
1127
|
-
const s9 = t7.length - 1,
|
|
1128
|
-
let
|
|
1168
|
+
var N = (t7, i7) => {
|
|
1169
|
+
const s9 = t7.length - 1, e8 = [];
|
|
1170
|
+
let n8, l3 = 2 === i7 ? "<svg>" : 3 === i7 ? "<math>" : "", c6 = v;
|
|
1129
1171
|
for (let i8 = 0; i8 < s9; i8++) {
|
|
1130
1172
|
const s10 = t7[i8];
|
|
1131
|
-
let a3, u4, d3 = -1,
|
|
1132
|
-
for (;
|
|
1133
|
-
const x2 = c6 ===
|
|
1134
|
-
l3 += c6 ===
|
|
1173
|
+
let a3, u4, d3 = -1, f4 = 0;
|
|
1174
|
+
for (; f4 < s10.length && (c6.lastIndex = f4, u4 = c6.exec(s10), null !== u4); ) f4 = c6.lastIndex, c6 === v ? "!--" === u4[1] ? c6 = _ : void 0 !== u4[1] ? c6 = m2 : void 0 !== u4[2] ? (y2.test(u4[2]) && (n8 = RegExp("</" + u4[2], "g")), c6 = p2) : void 0 !== u4[3] && (c6 = p2) : c6 === p2 ? ">" === u4[0] ? (c6 = n8 ?? v, d3 = -1) : void 0 === u4[1] ? d3 = -2 : (d3 = c6.lastIndex - u4[2].length, a3 = u4[1], c6 = void 0 === u4[3] ? p2 : '"' === u4[3] ? $ : g2) : c6 === $ || c6 === g2 ? c6 = p2 : c6 === _ || c6 === m2 ? c6 = v : (c6 = p2, n8 = void 0);
|
|
1175
|
+
const x2 = c6 === p2 && t7[i8 + 1].startsWith("/>") ? " " : "";
|
|
1176
|
+
l3 += c6 === v ? s10 + r5 : d3 >= 0 ? (e8.push(a3), s10.slice(0, d3) + h2 + s10.slice(d3) + o5 + x2) : s10 + o5 + (-2 === d3 ? i8 : x2);
|
|
1135
1177
|
}
|
|
1136
|
-
return [
|
|
1178
|
+
return [V(t7, l3 + (t7[s9] || "<?>") + (2 === i7 ? "</svg>" : 3 === i7 ? "</math>" : "")), e8];
|
|
1137
1179
|
};
|
|
1138
|
-
var
|
|
1139
|
-
constructor({ strings: t7, _$litType$:
|
|
1180
|
+
var S2 = class _S {
|
|
1181
|
+
constructor({ strings: t7, _$litType$: i7 }, e8) {
|
|
1140
1182
|
let r8;
|
|
1141
1183
|
this.parts = [];
|
|
1142
|
-
let
|
|
1143
|
-
const u4 = t7.length - 1, d3 = this.parts, [
|
|
1144
|
-
if (this.el =
|
|
1184
|
+
let l3 = 0, a3 = 0;
|
|
1185
|
+
const u4 = t7.length - 1, d3 = this.parts, [f4, v3] = N(t7, i7);
|
|
1186
|
+
if (this.el = _S.createElement(f4, e8), P.currentNode = this.el.content, 2 === i7 || 3 === i7) {
|
|
1145
1187
|
const t8 = this.el.content.firstChild;
|
|
1146
1188
|
t8.replaceWith(...t8.childNodes);
|
|
1147
1189
|
}
|
|
1148
|
-
for (; null !== (r8 =
|
|
1190
|
+
for (; null !== (r8 = P.nextNode()) && d3.length < u4; ) {
|
|
1149
1191
|
if (1 === r8.nodeType) {
|
|
1150
|
-
if (r8.hasAttributes()) for (const t8 of r8.getAttributeNames()) if (t8.endsWith(
|
|
1151
|
-
const
|
|
1152
|
-
d3.push({ type: 1, index:
|
|
1153
|
-
} else t8.startsWith(
|
|
1154
|
-
if (
|
|
1155
|
-
const t8 = r8.textContent.split(
|
|
1156
|
-
if (
|
|
1157
|
-
r8.textContent =
|
|
1158
|
-
for (let
|
|
1159
|
-
r8.append(t8[
|
|
1192
|
+
if (r8.hasAttributes()) for (const t8 of r8.getAttributeNames()) if (t8.endsWith(h2)) {
|
|
1193
|
+
const i8 = v3[a3++], s9 = r8.getAttribute(t8).split(o5), e9 = /([.?@])?(.*)/.exec(i8);
|
|
1194
|
+
d3.push({ type: 1, index: l3, name: e9[2], strings: s9, ctor: "." === e9[1] ? I : "?" === e9[1] ? L : "@" === e9[1] ? z : H }), r8.removeAttribute(t8);
|
|
1195
|
+
} else t8.startsWith(o5) && (d3.push({ type: 6, index: l3 }), r8.removeAttribute(t8));
|
|
1196
|
+
if (y2.test(r8.tagName)) {
|
|
1197
|
+
const t8 = r8.textContent.split(o5), i8 = t8.length - 1;
|
|
1198
|
+
if (i8 > 0) {
|
|
1199
|
+
r8.textContent = s5 ? s5.emptyScript : "";
|
|
1200
|
+
for (let s9 = 0; s9 < i8; s9++) r8.append(t8[s9], c4()), P.nextNode(), d3.push({ type: 2, index: ++l3 });
|
|
1201
|
+
r8.append(t8[i8], c4());
|
|
1160
1202
|
}
|
|
1161
1203
|
}
|
|
1162
|
-
} else if (8 === r8.nodeType) if (r8.data ===
|
|
1204
|
+
} else if (8 === r8.nodeType) if (r8.data === n5) d3.push({ type: 2, index: l3 });
|
|
1163
1205
|
else {
|
|
1164
1206
|
let t8 = -1;
|
|
1165
|
-
for (; -1 !== (t8 = r8.data.indexOf(
|
|
1207
|
+
for (; -1 !== (t8 = r8.data.indexOf(o5, t8 + 1)); ) d3.push({ type: 7, index: l3 }), t8 += o5.length - 1;
|
|
1166
1208
|
}
|
|
1167
|
-
|
|
1209
|
+
l3++;
|
|
1168
1210
|
}
|
|
1169
1211
|
}
|
|
1170
1212
|
static createElement(t7, i7) {
|
|
1171
|
-
const s9 =
|
|
1213
|
+
const s9 = l2.createElement("template");
|
|
1172
1214
|
return s9.innerHTML = t7, s9;
|
|
1173
1215
|
}
|
|
1174
1216
|
};
|
|
1175
|
-
function
|
|
1176
|
-
if (i7 ===
|
|
1177
|
-
let
|
|
1178
|
-
const o8 =
|
|
1179
|
-
return
|
|
1217
|
+
function M(t7, i7, s9 = t7, e8) {
|
|
1218
|
+
if (i7 === E) return i7;
|
|
1219
|
+
let h5 = void 0 !== e8 ? s9._$Co?.[e8] : s9._$Cl;
|
|
1220
|
+
const o8 = a2(i7) ? void 0 : i7._$litDirective$;
|
|
1221
|
+
return h5?.constructor !== o8 && (h5?._$AO?.(false), void 0 === o8 ? h5 = void 0 : (h5 = new o8(t7), h5._$AT(t7, s9, e8)), void 0 !== e8 ? (s9._$Co ??= [])[e8] = h5 : s9._$Cl = h5), void 0 !== h5 && (i7 = M(t7, h5._$AS(t7, i7.values), h5, e8)), i7;
|
|
1180
1222
|
}
|
|
1181
|
-
var
|
|
1223
|
+
var k = class {
|
|
1182
1224
|
constructor(t7, i7) {
|
|
1183
1225
|
this._$AV = [], this._$AN = void 0, this._$AD = t7, this._$AM = i7;
|
|
1184
1226
|
}
|
|
@@ -1189,29 +1231,29 @@ var M = class {
|
|
|
1189
1231
|
return this._$AM._$AU;
|
|
1190
1232
|
}
|
|
1191
1233
|
u(t7) {
|
|
1192
|
-
const { el: { content: i7 }, parts: s9 } = this._$AD, e8 = (t7?.creationScope ??
|
|
1193
|
-
|
|
1194
|
-
let
|
|
1195
|
-
for (; void 0 !==
|
|
1196
|
-
if (o8 ===
|
|
1234
|
+
const { el: { content: i7 }, parts: s9 } = this._$AD, e8 = (t7?.creationScope ?? l2).importNode(i7, true);
|
|
1235
|
+
P.currentNode = e8;
|
|
1236
|
+
let h5 = P.nextNode(), o8 = 0, n8 = 0, r8 = s9[0];
|
|
1237
|
+
for (; void 0 !== r8; ) {
|
|
1238
|
+
if (o8 === r8.index) {
|
|
1197
1239
|
let i8;
|
|
1198
|
-
2 ===
|
|
1240
|
+
2 === r8.type ? i8 = new R(h5, h5.nextSibling, this, t7) : 1 === r8.type ? i8 = new r8.ctor(h5, r8.name, r8.strings, this, t7) : 6 === r8.type && (i8 = new W(h5, this, t7)), this._$AV.push(i8), r8 = s9[++n8];
|
|
1199
1241
|
}
|
|
1200
|
-
o8 !==
|
|
1242
|
+
o8 !== r8?.index && (h5 = P.nextNode(), o8++);
|
|
1201
1243
|
}
|
|
1202
|
-
return
|
|
1244
|
+
return P.currentNode = l2, e8;
|
|
1203
1245
|
}
|
|
1204
1246
|
p(t7) {
|
|
1205
1247
|
let i7 = 0;
|
|
1206
1248
|
for (const s9 of this._$AV) void 0 !== s9 && (void 0 !== s9.strings ? (s9._$AI(t7, s9, i7), i7 += s9.strings.length - 2) : s9._$AI(t7[i7])), i7++;
|
|
1207
1249
|
}
|
|
1208
1250
|
};
|
|
1209
|
-
var
|
|
1251
|
+
var R = class _R {
|
|
1210
1252
|
get _$AU() {
|
|
1211
1253
|
return this._$AM?._$AU ?? this._$Cv;
|
|
1212
1254
|
}
|
|
1213
1255
|
constructor(t7, i7, s9, e8) {
|
|
1214
|
-
this.type = 2, this._$AH =
|
|
1256
|
+
this.type = 2, this._$AH = A, this._$AN = void 0, this._$AA = t7, this._$AB = i7, this._$AM = s9, this.options = e8, this._$Cv = e8?.isConnected ?? true;
|
|
1215
1257
|
}
|
|
1216
1258
|
get parentNode() {
|
|
1217
1259
|
let t7 = this._$AA.parentNode;
|
|
@@ -1225,7 +1267,7 @@ var k = class _k {
|
|
|
1225
1267
|
return this._$AB;
|
|
1226
1268
|
}
|
|
1227
1269
|
_$AI(t7, i7 = this) {
|
|
1228
|
-
t7 =
|
|
1270
|
+
t7 = M(this, t7, i7), a2(t7) ? t7 === A || null == t7 || "" === t7 ? (this._$AH !== A && this._$AR(), this._$AH = A) : t7 !== this._$AH && t7 !== E && this._(t7) : void 0 !== t7._$litType$ ? this.$(t7) : void 0 !== t7.nodeType ? this.T(t7) : d2(t7) ? this.k(t7) : this._(t7);
|
|
1229
1271
|
}
|
|
1230
1272
|
O(t7) {
|
|
1231
1273
|
return this._$AA.parentNode.insertBefore(t7, this._$AB);
|
|
@@ -1234,92 +1276,92 @@ var k = class _k {
|
|
|
1234
1276
|
this._$AH !== t7 && (this._$AR(), this._$AH = this.O(t7));
|
|
1235
1277
|
}
|
|
1236
1278
|
_(t7) {
|
|
1237
|
-
this._$AH !==
|
|
1279
|
+
this._$AH !== A && a2(this._$AH) ? this._$AA.nextSibling.data = t7 : this.T(l2.createTextNode(t7)), this._$AH = t7;
|
|
1238
1280
|
}
|
|
1239
1281
|
$(t7) {
|
|
1240
|
-
const { values: i7, _$litType$: s9 } = t7, e8 = "number" == typeof s9 ? this._$AC(t7) : (void 0 === s9.el && (s9.el =
|
|
1282
|
+
const { values: i7, _$litType$: s9 } = t7, e8 = "number" == typeof s9 ? this._$AC(t7) : (void 0 === s9.el && (s9.el = S2.createElement(V(s9.h, s9.h[0]), this.options)), s9);
|
|
1241
1283
|
if (this._$AH?._$AD === e8) this._$AH.p(i7);
|
|
1242
1284
|
else {
|
|
1243
|
-
const t8 = new
|
|
1285
|
+
const t8 = new k(e8, this), s10 = t8.u(this.options);
|
|
1244
1286
|
t8.p(i7), this.T(s10), this._$AH = t8;
|
|
1245
1287
|
}
|
|
1246
1288
|
}
|
|
1247
1289
|
_$AC(t7) {
|
|
1248
|
-
let i7 =
|
|
1249
|
-
return void 0 === i7 &&
|
|
1290
|
+
let i7 = C.get(t7.strings);
|
|
1291
|
+
return void 0 === i7 && C.set(t7.strings, i7 = new S2(t7)), i7;
|
|
1250
1292
|
}
|
|
1251
1293
|
k(t7) {
|
|
1252
|
-
|
|
1294
|
+
u2(this._$AH) || (this._$AH = [], this._$AR());
|
|
1253
1295
|
const i7 = this._$AH;
|
|
1254
1296
|
let s9, e8 = 0;
|
|
1255
|
-
for (const
|
|
1297
|
+
for (const h5 of t7) e8 === i7.length ? i7.push(s9 = new _R(this.O(c4()), this.O(c4()), this, this.options)) : s9 = i7[e8], s9._$AI(h5), e8++;
|
|
1256
1298
|
e8 < i7.length && (this._$AR(s9 && s9._$AB.nextSibling, e8), i7.length = e8);
|
|
1257
1299
|
}
|
|
1258
|
-
_$AR(t7 = this._$AA.nextSibling,
|
|
1259
|
-
for (this._$AP?.(false, true,
|
|
1260
|
-
const
|
|
1261
|
-
t7.remove(), t7 =
|
|
1300
|
+
_$AR(t7 = this._$AA.nextSibling, s9) {
|
|
1301
|
+
for (this._$AP?.(false, true, s9); t7 !== this._$AB; ) {
|
|
1302
|
+
const s10 = i3(t7).nextSibling;
|
|
1303
|
+
i3(t7).remove(), t7 = s10;
|
|
1262
1304
|
}
|
|
1263
1305
|
}
|
|
1264
1306
|
setConnected(t7) {
|
|
1265
1307
|
void 0 === this._$AM && (this._$Cv = t7, this._$AP?.(t7));
|
|
1266
1308
|
}
|
|
1267
1309
|
};
|
|
1268
|
-
var
|
|
1310
|
+
var H = class {
|
|
1269
1311
|
get tagName() {
|
|
1270
1312
|
return this.element.tagName;
|
|
1271
1313
|
}
|
|
1272
1314
|
get _$AU() {
|
|
1273
1315
|
return this._$AM._$AU;
|
|
1274
1316
|
}
|
|
1275
|
-
constructor(t7, i7, s9, e8,
|
|
1276
|
-
this.type = 1, this._$AH =
|
|
1317
|
+
constructor(t7, i7, s9, e8, h5) {
|
|
1318
|
+
this.type = 1, this._$AH = A, this._$AN = void 0, this.element = t7, this.name = i7, this._$AM = e8, this.options = h5, s9.length > 2 || "" !== s9[0] || "" !== s9[1] ? (this._$AH = Array(s9.length - 1).fill(new String()), this.strings = s9) : this._$AH = A;
|
|
1277
1319
|
}
|
|
1278
1320
|
_$AI(t7, i7 = this, s9, e8) {
|
|
1279
|
-
const
|
|
1321
|
+
const h5 = this.strings;
|
|
1280
1322
|
let o8 = false;
|
|
1281
|
-
if (void 0 ===
|
|
1323
|
+
if (void 0 === h5) t7 = M(this, t7, i7, 0), o8 = !a2(t7) || t7 !== this._$AH && t7 !== E, o8 && (this._$AH = t7);
|
|
1282
1324
|
else {
|
|
1283
1325
|
const e9 = t7;
|
|
1284
|
-
let
|
|
1285
|
-
for (t7 =
|
|
1326
|
+
let n8, r8;
|
|
1327
|
+
for (t7 = h5[0], n8 = 0; n8 < h5.length - 1; n8++) r8 = M(this, e9[s9 + n8], i7, n8), r8 === E && (r8 = this._$AH[n8]), o8 ||= !a2(r8) || r8 !== this._$AH[n8], r8 === A ? t7 = A : t7 !== A && (t7 += (r8 ?? "") + h5[n8 + 1]), this._$AH[n8] = r8;
|
|
1286
1328
|
}
|
|
1287
1329
|
o8 && !e8 && this.j(t7);
|
|
1288
1330
|
}
|
|
1289
1331
|
j(t7) {
|
|
1290
|
-
t7 ===
|
|
1332
|
+
t7 === A ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t7 ?? "");
|
|
1291
1333
|
}
|
|
1292
1334
|
};
|
|
1293
|
-
var
|
|
1335
|
+
var I = class extends H {
|
|
1294
1336
|
constructor() {
|
|
1295
1337
|
super(...arguments), this.type = 3;
|
|
1296
1338
|
}
|
|
1297
1339
|
j(t7) {
|
|
1298
|
-
this.element[this.name] = t7 ===
|
|
1340
|
+
this.element[this.name] = t7 === A ? void 0 : t7;
|
|
1299
1341
|
}
|
|
1300
1342
|
};
|
|
1301
|
-
var
|
|
1343
|
+
var L = class extends H {
|
|
1302
1344
|
constructor() {
|
|
1303
1345
|
super(...arguments), this.type = 4;
|
|
1304
1346
|
}
|
|
1305
1347
|
j(t7) {
|
|
1306
|
-
this.element.toggleAttribute(this.name, !!t7 && t7 !==
|
|
1348
|
+
this.element.toggleAttribute(this.name, !!t7 && t7 !== A);
|
|
1307
1349
|
}
|
|
1308
1350
|
};
|
|
1309
|
-
var
|
|
1310
|
-
constructor(t7, i7, s9, e8,
|
|
1311
|
-
super(t7, i7, s9, e8,
|
|
1351
|
+
var z = class extends H {
|
|
1352
|
+
constructor(t7, i7, s9, e8, h5) {
|
|
1353
|
+
super(t7, i7, s9, e8, h5), this.type = 5;
|
|
1312
1354
|
}
|
|
1313
1355
|
_$AI(t7, i7 = this) {
|
|
1314
|
-
if ((t7 =
|
|
1315
|
-
const s9 = this._$AH, e8 = t7 ===
|
|
1316
|
-
e8 && this.element.removeEventListener(this.name, this, s9),
|
|
1356
|
+
if ((t7 = M(this, t7, i7, 0) ?? A) === E) return;
|
|
1357
|
+
const s9 = this._$AH, e8 = t7 === A && s9 !== A || t7.capture !== s9.capture || t7.once !== s9.once || t7.passive !== s9.passive, h5 = t7 !== A && (s9 === A || e8);
|
|
1358
|
+
e8 && this.element.removeEventListener(this.name, this, s9), h5 && this.element.addEventListener(this.name, this, t7), this._$AH = t7;
|
|
1317
1359
|
}
|
|
1318
1360
|
handleEvent(t7) {
|
|
1319
1361
|
"function" == typeof this._$AH ? this._$AH.call(this.options?.host ?? this.element, t7) : this._$AH.handleEvent(t7);
|
|
1320
1362
|
}
|
|
1321
1363
|
};
|
|
1322
|
-
var
|
|
1364
|
+
var W = class {
|
|
1323
1365
|
constructor(t7, i7, s9) {
|
|
1324
1366
|
this.element = t7, this.type = 6, this._$AN = void 0, this._$AM = i7, this.options = s9;
|
|
1325
1367
|
}
|
|
@@ -1327,23 +1369,23 @@ var z = class {
|
|
|
1327
1369
|
return this._$AM._$AU;
|
|
1328
1370
|
}
|
|
1329
1371
|
_$AI(t7) {
|
|
1330
|
-
|
|
1372
|
+
M(this, t7);
|
|
1331
1373
|
}
|
|
1332
1374
|
};
|
|
1333
|
-
var
|
|
1334
|
-
var
|
|
1335
|
-
|
|
1336
|
-
var
|
|
1375
|
+
var Z = { M: h2, P: o5, A: n5, C: 1, L: N, R: k, D: d2, V: M, I: R, H, N: L, U: z, B: I, F: W };
|
|
1376
|
+
var j = t4.litHtmlPolyfillSupport;
|
|
1377
|
+
j?.(S2, R), (t4.litHtmlVersions ??= []).push("3.3.2");
|
|
1378
|
+
var B = (t7, i7, s9) => {
|
|
1337
1379
|
const e8 = s9?.renderBefore ?? i7;
|
|
1338
|
-
let
|
|
1339
|
-
if (void 0 ===
|
|
1380
|
+
let h5 = e8._$litPart$;
|
|
1381
|
+
if (void 0 === h5) {
|
|
1340
1382
|
const t8 = s9?.renderBefore ?? null;
|
|
1341
|
-
e8._$litPart$ =
|
|
1383
|
+
e8._$litPart$ = h5 = new R(i7.insertBefore(c4(), t8), t8, void 0, s9 ?? {});
|
|
1342
1384
|
}
|
|
1343
|
-
return
|
|
1385
|
+
return h5._$AI(t7), h5;
|
|
1344
1386
|
};
|
|
1345
1387
|
|
|
1346
|
-
// ../../node_modules/.pnpm/lit-element@4.2.
|
|
1388
|
+
// ../../node_modules/.pnpm/lit-element@4.2.2/node_modules/lit-element/lit-element.js
|
|
1347
1389
|
var s6 = globalThis;
|
|
1348
1390
|
var i4 = class extends g {
|
|
1349
1391
|
constructor() {
|
|
@@ -1355,7 +1397,7 @@ var i4 = class extends g {
|
|
|
1355
1397
|
}
|
|
1356
1398
|
update(t7) {
|
|
1357
1399
|
const r8 = this.render();
|
|
1358
|
-
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t7), this._$Do =
|
|
1400
|
+
this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t7), this._$Do = B(r8, this.renderRoot, this.renderOptions);
|
|
1359
1401
|
}
|
|
1360
1402
|
connectedCallback() {
|
|
1361
1403
|
super.connectedCallback(), this._$Do?.setConnected(true);
|
|
@@ -1364,13 +1406,13 @@ var i4 = class extends g {
|
|
|
1364
1406
|
super.disconnectedCallback(), this._$Do?.setConnected(false);
|
|
1365
1407
|
}
|
|
1366
1408
|
render() {
|
|
1367
|
-
return
|
|
1409
|
+
return E;
|
|
1368
1410
|
}
|
|
1369
1411
|
};
|
|
1370
1412
|
i4._$litElement$ = true, i4["finalized"] = true, s6.litElementHydrateSupport?.({ LitElement: i4 });
|
|
1371
1413
|
var o6 = s6.litElementPolyfillSupport;
|
|
1372
1414
|
o6?.({ LitElement: i4 });
|
|
1373
|
-
(s6.litElementVersions ??= []).push("4.2.
|
|
1415
|
+
(s6.litElementVersions ??= []).push("4.2.2");
|
|
1374
1416
|
|
|
1375
1417
|
// ../qti-utilities/src/decorators/watch.ts
|
|
1376
1418
|
function watch(propertyName, options) {
|
|
@@ -1399,7 +1441,7 @@ function watch(propertyName, options) {
|
|
|
1399
1441
|
};
|
|
1400
1442
|
}
|
|
1401
1443
|
|
|
1402
|
-
// ../../node_modules/.pnpm/lit-html@3.3.
|
|
1444
|
+
// ../../node_modules/.pnpm/lit-html@3.3.2/node_modules/lit-html/node/directive.js
|
|
1403
1445
|
var t5 = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 };
|
|
1404
1446
|
var e7 = (t7) => (...e8) => ({ _$litDirective$: t7, values: e8 });
|
|
1405
1447
|
var i5 = class {
|
|
@@ -1419,41 +1461,42 @@ var i5 = class {
|
|
|
1419
1461
|
}
|
|
1420
1462
|
};
|
|
1421
1463
|
|
|
1422
|
-
// ../../node_modules/.pnpm/lit-html@3.3.
|
|
1423
|
-
var { I: t6 } =
|
|
1424
|
-
var i6 = (o8) =>
|
|
1425
|
-
var
|
|
1426
|
-
var r6 = () =>
|
|
1427
|
-
var s7 = (
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1464
|
+
// ../../node_modules/.pnpm/lit-html@3.3.2/node_modules/lit-html/node/directive-helpers.js
|
|
1465
|
+
var { I: t6 } = Z;
|
|
1466
|
+
var i6 = (o8) => o8;
|
|
1467
|
+
var n6 = (o8) => null === o8 || "object" != typeof o8 && "function" != typeof o8;
|
|
1468
|
+
var r6 = (o8) => void 0 === o8.strings;
|
|
1469
|
+
var s7 = () => document.createComment("");
|
|
1470
|
+
var v2 = (o8, n8, e8) => {
|
|
1471
|
+
const l3 = o8._$AA.parentNode, d3 = void 0 === n8 ? o8._$AB : n8._$AA;
|
|
1472
|
+
if (void 0 === e8) {
|
|
1473
|
+
const i7 = l3.insertBefore(s7(), d3), n9 = l3.insertBefore(s7(), d3);
|
|
1474
|
+
e8 = new t6(i7, n9, o8, o8.options);
|
|
1432
1475
|
} else {
|
|
1433
|
-
const t7 =
|
|
1434
|
-
if (
|
|
1476
|
+
const t7 = e8._$AB.nextSibling, n9 = e8._$AM, c6 = n9 !== o8;
|
|
1477
|
+
if (c6) {
|
|
1435
1478
|
let t8;
|
|
1436
|
-
|
|
1479
|
+
e8._$AQ?.(o8), e8._$AM = o8, void 0 !== e8._$AP && (t8 = o8._$AU) !== n9._$AU && e8._$AP(t8);
|
|
1437
1480
|
}
|
|
1438
|
-
if (t7 !==
|
|
1439
|
-
let o9 =
|
|
1481
|
+
if (t7 !== d3 || c6) {
|
|
1482
|
+
let o9 = e8._$AA;
|
|
1440
1483
|
for (; o9 !== t7; ) {
|
|
1441
|
-
const t8 = o9.nextSibling;
|
|
1442
|
-
|
|
1484
|
+
const t8 = i6(o9).nextSibling;
|
|
1485
|
+
i6(l3).insertBefore(o9, d3), o9 = t8;
|
|
1443
1486
|
}
|
|
1444
1487
|
}
|
|
1445
1488
|
}
|
|
1446
|
-
return
|
|
1489
|
+
return e8;
|
|
1447
1490
|
};
|
|
1448
|
-
var
|
|
1449
|
-
var
|
|
1450
|
-
var
|
|
1451
|
-
var
|
|
1452
|
-
var
|
|
1491
|
+
var u3 = (o8, t7, i7 = o8) => (o8._$AI(t7, i7), o8);
|
|
1492
|
+
var m3 = {};
|
|
1493
|
+
var p3 = (o8, t7 = m3) => o8._$AH = t7;
|
|
1494
|
+
var M2 = (o8) => o8._$AH;
|
|
1495
|
+
var h3 = (o8) => {
|
|
1453
1496
|
o8._$AR(), o8._$AA.remove();
|
|
1454
1497
|
};
|
|
1455
1498
|
|
|
1456
|
-
// ../../node_modules/.pnpm/lit-html@3.3.
|
|
1499
|
+
// ../../node_modules/.pnpm/lit-html@3.3.2/node_modules/lit-html/node/async-directive.js
|
|
1457
1500
|
var s8 = (i7, t7) => {
|
|
1458
1501
|
const e8 = i7._$AN;
|
|
1459
1502
|
if (void 0 === e8) return false;
|
|
@@ -1475,19 +1518,19 @@ var r7 = (i7) => {
|
|
|
1475
1518
|
e8.add(i7), c5(t7);
|
|
1476
1519
|
}
|
|
1477
1520
|
};
|
|
1478
|
-
function
|
|
1521
|
+
function h4(i7) {
|
|
1479
1522
|
void 0 !== this._$AN ? (o7(this), this._$AM = i7, r7(this)) : this._$AM = i7;
|
|
1480
1523
|
}
|
|
1481
|
-
function
|
|
1482
|
-
const r8 = this._$AH,
|
|
1483
|
-
if (void 0 !==
|
|
1524
|
+
function n7(i7, t7 = false, e8 = 0) {
|
|
1525
|
+
const r8 = this._$AH, h5 = this._$AN;
|
|
1526
|
+
if (void 0 !== h5 && 0 !== h5.size) if (t7) if (Array.isArray(r8)) for (let i8 = e8; i8 < r8.length; i8++) s8(r8[i8], false), o7(r8[i8]);
|
|
1484
1527
|
else null != r8 && (s8(r8, false), o7(r8));
|
|
1485
1528
|
else s8(this, i7);
|
|
1486
1529
|
}
|
|
1487
1530
|
var c5 = (i7) => {
|
|
1488
|
-
i7.type == t5.CHILD && (i7._$AP ??=
|
|
1531
|
+
i7.type == t5.CHILD && (i7._$AP ??= n7, i7._$AQ ??= h4);
|
|
1489
1532
|
};
|
|
1490
|
-
var
|
|
1533
|
+
var f3 = class extends i5 {
|
|
1491
1534
|
constructor() {
|
|
1492
1535
|
super(...arguments), this._$AN = void 0;
|
|
1493
1536
|
}
|
|
@@ -1498,7 +1541,7 @@ var f4 = class extends i5 {
|
|
|
1498
1541
|
i7 !== this.isConnected && (this.isConnected = i7, i7 ? this.reconnected?.() : this.disconnected?.()), t7 && (s8(this, i7), o7(this));
|
|
1499
1542
|
}
|
|
1500
1543
|
setValue(t7) {
|
|
1501
|
-
if (
|
|
1544
|
+
if (r6(this._$Ct)) this._$Ct._$AI(t7, this);
|
|
1502
1545
|
else {
|
|
1503
1546
|
const i7 = [...this._$Ct._$AH];
|
|
1504
1547
|
i7[this._$Ci] = t7, this._$Ct._$AI(i7, this, 0);
|
|
@@ -1511,13 +1554,13 @@ var f4 = class extends i5 {
|
|
|
1511
1554
|
};
|
|
1512
1555
|
|
|
1513
1556
|
// ../qti-utilities/src/directives/spread-args.ts
|
|
1514
|
-
var SpreadArgsDirective = class extends
|
|
1557
|
+
var SpreadArgsDirective = class extends f3 {
|
|
1515
1558
|
constructor() {
|
|
1516
1559
|
super(...arguments);
|
|
1517
1560
|
this.prevData = {};
|
|
1518
1561
|
}
|
|
1519
1562
|
render(_spreadData) {
|
|
1520
|
-
return
|
|
1563
|
+
return A;
|
|
1521
1564
|
}
|
|
1522
1565
|
update(part, [spreadData]) {
|
|
1523
1566
|
if (this.element !== part.element) {
|
|
@@ -1527,7 +1570,7 @@ var SpreadArgsDirective = class extends f4 {
|
|
|
1527
1570
|
this.apply(spreadData);
|
|
1528
1571
|
this.groom(spreadData);
|
|
1529
1572
|
this.prevData = { ...spreadData };
|
|
1530
|
-
return
|
|
1573
|
+
return A;
|
|
1531
1574
|
}
|
|
1532
1575
|
apply(data) {
|
|
1533
1576
|
const filteredData = this.#filterArgs(data);
|
|
@@ -1886,14 +1929,14 @@ __decorateClass([
|
|
|
1886
1929
|
// ../qti-base/src/abstract/qti-variable-declaration.ts
|
|
1887
1930
|
var QtiVariableDeclaration = class extends i4 {
|
|
1888
1931
|
render() {
|
|
1889
|
-
return
|
|
1932
|
+
return T`<slot></slot>`;
|
|
1890
1933
|
}
|
|
1891
1934
|
defaultValues(cardinality) {
|
|
1892
1935
|
const htmlValues = Array.from(this.querySelectorAll("qti-default-value > qti-value"));
|
|
1893
1936
|
if (htmlValues.length === 0) {
|
|
1894
1937
|
return null;
|
|
1895
1938
|
}
|
|
1896
|
-
const defaultValues = htmlValues.map((
|
|
1939
|
+
const defaultValues = htmlValues.map((n8) => n8.innerHTML.trim());
|
|
1897
1940
|
if (defaultValues.length > 1 || cardinality === "multiple" || cardinality === "ordered") {
|
|
1898
1941
|
return defaultValues;
|
|
1899
1942
|
}
|
|
@@ -2007,7 +2050,7 @@ var QtiExpression = class extends i4 {
|
|
|
2007
2050
|
`;
|
|
2008
2051
|
}
|
|
2009
2052
|
render() {
|
|
2010
|
-
return
|
|
2053
|
+
return T`<pre>${JSON.stringify(this.result, null, 2)}</pre>
|
|
2011
2054
|
<slot></slot>`;
|
|
2012
2055
|
}
|
|
2013
2056
|
calculate() {
|
|
@@ -2254,23 +2297,22 @@ export {
|
|
|
2254
2297
|
r4 as r,
|
|
2255
2298
|
e5 as e2,
|
|
2256
2299
|
o4 as o,
|
|
2257
|
-
x,
|
|
2258
2300
|
T,
|
|
2259
|
-
|
|
2301
|
+
b2 as b,
|
|
2260
2302
|
E,
|
|
2261
|
-
|
|
2303
|
+
A,
|
|
2262
2304
|
i4 as i2,
|
|
2263
2305
|
watch,
|
|
2264
2306
|
t5 as t2,
|
|
2265
2307
|
e7 as e3,
|
|
2266
2308
|
i5 as i3,
|
|
2267
|
-
|
|
2268
|
-
s7 as s,
|
|
2309
|
+
n6 as n2,
|
|
2269
2310
|
v2 as v,
|
|
2270
|
-
|
|
2311
|
+
u3 as u,
|
|
2271
2312
|
p3 as p,
|
|
2272
2313
|
M2 as M,
|
|
2273
|
-
|
|
2314
|
+
h3 as h,
|
|
2315
|
+
f3 as f,
|
|
2274
2316
|
Correctness,
|
|
2275
2317
|
Interaction,
|
|
2276
2318
|
QtiVariableDeclaration,
|
|
@@ -2335,6 +2377,13 @@ lit-html/node/is-server.js:
|
|
|
2335
2377
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2336
2378
|
*)
|
|
2337
2379
|
|
|
2380
|
+
@lit-labs/ssr-dom-shim/lib/css.js:
|
|
2381
|
+
(**
|
|
2382
|
+
* @license
|
|
2383
|
+
* Copyright 2024 Google LLC
|
|
2384
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
2385
|
+
*)
|
|
2386
|
+
|
|
2338
2387
|
@lit-labs/ssr-dom-shim/index.js:
|
|
2339
2388
|
@lit/reactive-element/node/css-tag.js:
|
|
2340
2389
|
(**
|
|
@@ -2350,4 +2399,4 @@ lit-html/node/directive-helpers.js:
|
|
|
2350
2399
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
2351
2400
|
*)
|
|
2352
2401
|
*/
|
|
2353
|
-
//# sourceMappingURL=chunk-
|
|
2402
|
+
//# sourceMappingURL=chunk-A7HX4462.js.map
|