@moq/publish 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/broadcast.d.ts +2 -2
- package/element.d.ts +17 -7
- package/element.d.ts.map +1 -1
- package/element.js +117 -88
- package/element.js.map +1 -1
- package/index.js +2 -2
- package/package.json +3 -3
- package/{screen-Dz_GBTAe.js → screen-BZp2qFyj.js} +4 -4
- package/{screen-Dz_GBTAe.js.map → screen-BZp2qFyj.js.map} +1 -1
- package/ui/index.js +197 -197
- package/ui/index.js.map +1 -1
package/ui/index.js
CHANGED
|
@@ -12,17 +12,17 @@ const I = 1, X = 2, pe = {
|
|
|
12
12
|
var g = null;
|
|
13
13
|
let ne = null, Oe = null, v = null, y = null, q = null, re = 0;
|
|
14
14
|
function W(e, t) {
|
|
15
|
-
const r = v,
|
|
15
|
+
const r = v, n = g, o = e.length === 0, i = t === void 0 ? n : t, l = o ? pe : {
|
|
16
16
|
owned: null,
|
|
17
17
|
cleanups: null,
|
|
18
18
|
context: i ? i.context : null,
|
|
19
19
|
owner: i
|
|
20
|
-
}, s =
|
|
20
|
+
}, s = o ? e : () => e(() => O(() => D(l)));
|
|
21
21
|
g = l, v = null;
|
|
22
22
|
try {
|
|
23
23
|
return G(s, !0);
|
|
24
24
|
} finally {
|
|
25
|
-
v = r, g =
|
|
25
|
+
v = r, g = n;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
function x(e, t) {
|
|
@@ -32,22 +32,22 @@ function x(e, t) {
|
|
|
32
32
|
observers: null,
|
|
33
33
|
observerSlots: null,
|
|
34
34
|
comparator: t.equals || void 0
|
|
35
|
-
},
|
|
36
|
-
return [ge.bind(r),
|
|
35
|
+
}, n = (o) => (typeof o == "function" && (o = o(r.value)), ve(r, o));
|
|
36
|
+
return [ge.bind(r), n];
|
|
37
37
|
}
|
|
38
38
|
function U(e, t, r) {
|
|
39
|
-
const
|
|
40
|
-
H(
|
|
39
|
+
const n = ae(e, t, !1, I);
|
|
40
|
+
H(n);
|
|
41
41
|
}
|
|
42
42
|
function be(e, t, r) {
|
|
43
43
|
fe = Fe;
|
|
44
|
-
const
|
|
45
|
-
|
|
44
|
+
const n = ae(e, t, !1, I);
|
|
45
|
+
n.user = !0, q ? q.push(n) : H(n);
|
|
46
46
|
}
|
|
47
47
|
function T(e, t, r) {
|
|
48
48
|
r = r ? Object.assign({}, Z, r) : Z;
|
|
49
|
-
const
|
|
50
|
-
return
|
|
49
|
+
const n = ae(e, t, !0, 0);
|
|
50
|
+
return n.observers = null, n.observerSlots = null, n.comparator = r.equals || void 0, H(n), ge.bind(n);
|
|
51
51
|
}
|
|
52
52
|
function O(e) {
|
|
53
53
|
if (v === null) return e();
|
|
@@ -83,8 +83,8 @@ function je(e) {
|
|
|
83
83
|
function Ue(e) {
|
|
84
84
|
const t = T(e), r = T(() => se(t()));
|
|
85
85
|
return r.toArray = () => {
|
|
86
|
-
const
|
|
87
|
-
return Array.isArray(
|
|
86
|
+
const n = r();
|
|
87
|
+
return Array.isArray(n) ? n : n != null ? [n] : [];
|
|
88
88
|
}, r;
|
|
89
89
|
}
|
|
90
90
|
function ge() {
|
|
@@ -101,10 +101,10 @@ function ge() {
|
|
|
101
101
|
return this.value;
|
|
102
102
|
}
|
|
103
103
|
function ve(e, t, r) {
|
|
104
|
-
let
|
|
105
|
-
return (!e.comparator || !e.comparator(
|
|
106
|
-
for (let
|
|
107
|
-
const i = e.observers[
|
|
104
|
+
let n = e.value;
|
|
105
|
+
return (!e.comparator || !e.comparator(n, t)) && (e.value = t, e.observers && e.observers.length && G(() => {
|
|
106
|
+
for (let o = 0; o < e.observers.length; o += 1) {
|
|
107
|
+
const i = e.observers[o], l = ne && ne.running;
|
|
108
108
|
l && ne.disposed.has(i), (l ? !i.tState : !i.state) && (i.pure ? y.push(i) : q.push(i), i.observers && me(i)), l || (i.state = I);
|
|
109
109
|
}
|
|
110
110
|
if (y.length > 1e6)
|
|
@@ -118,22 +118,22 @@ function H(e) {
|
|
|
118
118
|
Be(e, e.value, t);
|
|
119
119
|
}
|
|
120
120
|
function Be(e, t, r) {
|
|
121
|
-
let
|
|
122
|
-
const
|
|
121
|
+
let n;
|
|
122
|
+
const o = g, i = v;
|
|
123
123
|
v = g = e;
|
|
124
124
|
try {
|
|
125
|
-
|
|
125
|
+
n = e.fn(t);
|
|
126
126
|
} catch (l) {
|
|
127
127
|
return e.pure && (e.state = I, e.owned && e.owned.forEach(D), e.owned = null), e.updatedAt = r + 1, we(l);
|
|
128
128
|
} finally {
|
|
129
|
-
v = i, g =
|
|
129
|
+
v = i, g = o;
|
|
130
130
|
}
|
|
131
|
-
(!e.updatedAt || e.updatedAt <= r) && (e.updatedAt != null && "observers" in e ? ve(e,
|
|
131
|
+
(!e.updatedAt || e.updatedAt <= r) && (e.updatedAt != null && "observers" in e ? ve(e, n) : e.value = n, e.updatedAt = r);
|
|
132
132
|
}
|
|
133
|
-
function ae(e, t, r,
|
|
133
|
+
function ae(e, t, r, n = I, o) {
|
|
134
134
|
const i = {
|
|
135
135
|
fn: e,
|
|
136
|
-
state:
|
|
136
|
+
state: n,
|
|
137
137
|
updatedAt: null,
|
|
138
138
|
owned: null,
|
|
139
139
|
sources: null,
|
|
@@ -157,8 +157,8 @@ function Y(e) {
|
|
|
157
157
|
if (e = t[r], e.state === I)
|
|
158
158
|
H(e);
|
|
159
159
|
else if (e.state === X) {
|
|
160
|
-
const
|
|
161
|
-
y = null, G(() => ee(e, t[0]), !1), y =
|
|
160
|
+
const n = y;
|
|
161
|
+
y = null, G(() => ee(e, t[0]), !1), y = n;
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
function G(e, t) {
|
|
@@ -166,10 +166,10 @@ function G(e, t) {
|
|
|
166
166
|
let r = !1;
|
|
167
167
|
t || (y = []), q ? r = !0 : q = [], re++;
|
|
168
168
|
try {
|
|
169
|
-
const
|
|
170
|
-
return Le(r),
|
|
171
|
-
} catch (
|
|
172
|
-
r || (q = null), y = null, we(
|
|
169
|
+
const n = e();
|
|
170
|
+
return Le(r), n;
|
|
171
|
+
} catch (n) {
|
|
172
|
+
r || (q = null), y = null, we(n);
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
function Le(e) {
|
|
@@ -183,18 +183,18 @@ function _e(e) {
|
|
|
183
183
|
function Fe(e) {
|
|
184
184
|
let t, r = 0;
|
|
185
185
|
for (t = 0; t < e.length; t++) {
|
|
186
|
-
const
|
|
187
|
-
|
|
186
|
+
const n = e[t];
|
|
187
|
+
n.user ? e[r++] = n : Y(n);
|
|
188
188
|
}
|
|
189
189
|
for (t = 0; t < r; t++) Y(e[t]);
|
|
190
190
|
}
|
|
191
191
|
function ee(e, t) {
|
|
192
192
|
e.state = 0;
|
|
193
193
|
for (let r = 0; r < e.sources.length; r += 1) {
|
|
194
|
-
const
|
|
195
|
-
if (
|
|
196
|
-
const
|
|
197
|
-
|
|
194
|
+
const n = e.sources[r];
|
|
195
|
+
if (n.sources) {
|
|
196
|
+
const o = n.state;
|
|
197
|
+
o === I ? n !== t && (!n.updatedAt || n.updatedAt < re) && Y(n) : o === X && ee(n, t);
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
}
|
|
@@ -208,10 +208,10 @@ function D(e) {
|
|
|
208
208
|
let t;
|
|
209
209
|
if (e.sources)
|
|
210
210
|
for (; e.sources.length; ) {
|
|
211
|
-
const r = e.sources.pop(),
|
|
212
|
-
if (
|
|
213
|
-
const i =
|
|
214
|
-
|
|
211
|
+
const r = e.sources.pop(), n = e.sourceSlots.pop(), o = r.observers;
|
|
212
|
+
if (o && o.length) {
|
|
213
|
+
const i = o.pop(), l = r.observerSlots.pop();
|
|
214
|
+
n < o.length && (i.sourceSlots[l] = n, o[n] = i, r.observerSlots[n] = l);
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
217
|
if (e.tOwned) {
|
|
@@ -241,20 +241,20 @@ function se(e) {
|
|
|
241
241
|
if (Array.isArray(e)) {
|
|
242
242
|
const t = [];
|
|
243
243
|
for (let r = 0; r < e.length; r++) {
|
|
244
|
-
const
|
|
245
|
-
Array.isArray(
|
|
244
|
+
const n = se(e[r]);
|
|
245
|
+
Array.isArray(n) ? t.push.apply(t, n) : t.push(n);
|
|
246
246
|
}
|
|
247
247
|
return t;
|
|
248
248
|
}
|
|
249
249
|
return e;
|
|
250
250
|
}
|
|
251
251
|
function ze(e, t) {
|
|
252
|
-
return function(
|
|
253
|
-
let
|
|
254
|
-
return U(() =>
|
|
252
|
+
return function(n) {
|
|
253
|
+
let o;
|
|
254
|
+
return U(() => o = O(() => (g.context = {
|
|
255
255
|
...g.context,
|
|
256
|
-
[e]:
|
|
257
|
-
}, Ue(() =>
|
|
256
|
+
[e]: n.value
|
|
257
|
+
}, Ue(() => n.children))), void 0), o;
|
|
258
258
|
};
|
|
259
259
|
}
|
|
260
260
|
const Ke = /* @__PURE__ */ Symbol("fallback");
|
|
@@ -262,30 +262,30 @@ function ce(e) {
|
|
|
262
262
|
for (let t = 0; t < e.length; t++) e[t]();
|
|
263
263
|
}
|
|
264
264
|
function De(e, t, r = {}) {
|
|
265
|
-
let
|
|
265
|
+
let n = [], o = [], i = [], l = 0, s = t.length > 1 ? [] : null;
|
|
266
266
|
return Ne(() => ce(i)), () => {
|
|
267
267
|
let u = e() || [], p = u.length, c, a;
|
|
268
268
|
return u[qe], O(() => {
|
|
269
269
|
let S, $, E, B, L, C, A, m, M;
|
|
270
270
|
if (p === 0)
|
|
271
|
-
l !== 0 && (ce(i), i = [],
|
|
271
|
+
l !== 0 && (ce(i), i = [], n = [], o = [], l = 0, s && (s = [])), r.fallback && (n = [Ke], o[0] = W((oe) => (i[0] = oe, r.fallback())), l = 1);
|
|
272
272
|
else if (l === 0) {
|
|
273
|
-
for (
|
|
274
|
-
|
|
273
|
+
for (o = new Array(p), a = 0; a < p; a++)
|
|
274
|
+
n[a] = u[a], o[a] = W(k);
|
|
275
275
|
l = p;
|
|
276
276
|
} else {
|
|
277
|
-
for (E = new Array(p), B = new Array(p), s && (L = new Array(p)), C = 0, A = Math.min(l, p); C < A &&
|
|
278
|
-
for (A = l - 1, m = p - 1; A >= C && m >= C &&
|
|
279
|
-
E[m] =
|
|
277
|
+
for (E = new Array(p), B = new Array(p), s && (L = new Array(p)), C = 0, A = Math.min(l, p); C < A && n[C] === u[C]; C++) ;
|
|
278
|
+
for (A = l - 1, m = p - 1; A >= C && m >= C && n[A] === u[m]; A--, m--)
|
|
279
|
+
E[m] = o[A], B[m] = i[A], s && (L[m] = s[A]);
|
|
280
280
|
for (S = /* @__PURE__ */ new Map(), $ = new Array(m + 1), a = m; a >= C; a--)
|
|
281
281
|
M = u[a], c = S.get(M), $[a] = c === void 0 ? -1 : c, S.set(M, a);
|
|
282
282
|
for (c = C; c <= A; c++)
|
|
283
|
-
M =
|
|
283
|
+
M = n[c], a = S.get(M), a !== void 0 && a !== -1 ? (E[a] = o[c], B[a] = i[c], s && (L[a] = s[c]), a = $[a], S.set(M, a)) : i[c]();
|
|
284
284
|
for (a = C; a < p; a++)
|
|
285
|
-
a in E ? (
|
|
286
|
-
|
|
285
|
+
a in E ? (o[a] = E[a], i[a] = B[a], s && (s[a] = L[a], s[a](a))) : o[a] = W(k);
|
|
286
|
+
o = o.slice(0, l = p), n = u.slice(0);
|
|
287
287
|
}
|
|
288
|
-
return
|
|
288
|
+
return o;
|
|
289
289
|
});
|
|
290
290
|
function k(S) {
|
|
291
291
|
if (i[a] = S, s) {
|
|
@@ -307,15 +307,15 @@ function He(e) {
|
|
|
307
307
|
return T(De(() => e.each, e.children, t || void 0));
|
|
308
308
|
}
|
|
309
309
|
function V(e) {
|
|
310
|
-
const t = e.keyed, r = T(() => e.when, void 0, void 0),
|
|
311
|
-
equals: (
|
|
310
|
+
const t = e.keyed, r = T(() => e.when, void 0, void 0), n = t ? r : T(r, void 0, {
|
|
311
|
+
equals: (o, i) => !o == !i
|
|
312
312
|
});
|
|
313
313
|
return T(() => {
|
|
314
|
-
const
|
|
315
|
-
if (
|
|
314
|
+
const o = n();
|
|
315
|
+
if (o) {
|
|
316
316
|
const i = e.children;
|
|
317
|
-
return typeof i == "function" && i.length > 0 ? O(() => i(t ?
|
|
318
|
-
if (!O(
|
|
317
|
+
return typeof i == "function" && i.length > 0 ? O(() => i(t ? o : () => {
|
|
318
|
+
if (!O(n)) throw Ve("Show");
|
|
319
319
|
return r();
|
|
320
320
|
})) : i;
|
|
321
321
|
}
|
|
@@ -324,23 +324,23 @@ function V(e) {
|
|
|
324
324
|
}
|
|
325
325
|
const ye = (e) => T(() => e());
|
|
326
326
|
function Ge(e, t, r) {
|
|
327
|
-
let
|
|
328
|
-
for (; l <
|
|
327
|
+
let n = r.length, o = t.length, i = n, l = 0, s = 0, u = t[o - 1].nextSibling, p = null;
|
|
328
|
+
for (; l < o || s < i; ) {
|
|
329
329
|
if (t[l] === r[s]) {
|
|
330
330
|
l++, s++;
|
|
331
331
|
continue;
|
|
332
332
|
}
|
|
333
|
-
for (; t[
|
|
334
|
-
|
|
335
|
-
if (
|
|
336
|
-
const c = i <
|
|
333
|
+
for (; t[o - 1] === r[i - 1]; )
|
|
334
|
+
o--, i--;
|
|
335
|
+
if (o === l) {
|
|
336
|
+
const c = i < n ? s ? r[s - 1].nextSibling : r[i - s] : u;
|
|
337
337
|
for (; s < i; ) e.insertBefore(r[s++], c);
|
|
338
338
|
} else if (i === s)
|
|
339
|
-
for (; l <
|
|
339
|
+
for (; l < o; )
|
|
340
340
|
(!p || !p.has(t[l])) && t[l].remove(), l++;
|
|
341
|
-
else if (t[l] === r[i - 1] && r[s] === t[
|
|
342
|
-
const c = t[--
|
|
343
|
-
e.insertBefore(r[s++], t[l++].nextSibling), e.insertBefore(r[--i], c), t[
|
|
341
|
+
else if (t[l] === r[i - 1] && r[s] === t[o - 1]) {
|
|
342
|
+
const c = t[--o].nextSibling;
|
|
343
|
+
e.insertBefore(r[s++], t[l++].nextSibling), e.insertBefore(r[--i], c), t[o] = r[i];
|
|
344
344
|
} else {
|
|
345
345
|
if (!p) {
|
|
346
346
|
p = /* @__PURE__ */ new Map();
|
|
@@ -351,7 +351,7 @@ function Ge(e, t, r) {
|
|
|
351
351
|
if (c != null)
|
|
352
352
|
if (s < c && c < i) {
|
|
353
353
|
let a = l, k = 1, S;
|
|
354
|
-
for (; ++a <
|
|
354
|
+
for (; ++a < o && a < i && !((S = p.get(t[a])) == null || S !== c + k); )
|
|
355
355
|
k++;
|
|
356
356
|
if (k > c - s) {
|
|
357
357
|
const $ = t[l];
|
|
@@ -362,12 +362,12 @@ function Ge(e, t, r) {
|
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
|
-
function P(e, t, r,
|
|
366
|
-
let
|
|
365
|
+
function P(e, t, r, n) {
|
|
366
|
+
let o;
|
|
367
367
|
const i = () => {
|
|
368
368
|
const s = document.createElement("template");
|
|
369
369
|
return s.innerHTML = e, s.content.firstChild;
|
|
370
|
-
}, l = () => (
|
|
370
|
+
}, l = () => (o || (o = i())).cloneNode(!0);
|
|
371
371
|
return l.cloneNode = l, l;
|
|
372
372
|
}
|
|
373
373
|
function ue(e, t) {
|
|
@@ -376,42 +376,42 @@ function ue(e, t) {
|
|
|
376
376
|
function Je(e, t, r) {
|
|
377
377
|
return O(() => e(t, r));
|
|
378
378
|
}
|
|
379
|
-
function w(e, t, r,
|
|
380
|
-
if (r !== void 0 && !
|
|
381
|
-
U((
|
|
379
|
+
function w(e, t, r, n) {
|
|
380
|
+
if (r !== void 0 && !n && (n = []), typeof t != "function") return te(e, t, n, r);
|
|
381
|
+
U((o) => te(e, t(), o, r), n);
|
|
382
382
|
}
|
|
383
|
-
function te(e, t, r,
|
|
383
|
+
function te(e, t, r, n, o) {
|
|
384
384
|
for (; typeof r == "function"; ) r = r();
|
|
385
385
|
if (t === r) return r;
|
|
386
|
-
const i = typeof t, l =
|
|
386
|
+
const i = typeof t, l = n !== void 0;
|
|
387
387
|
if (e = l && r[0] && r[0].parentNode || e, i === "string" || i === "number") {
|
|
388
388
|
if (i === "number" && (t = t.toString(), t === r))
|
|
389
389
|
return r;
|
|
390
390
|
if (l) {
|
|
391
391
|
let s = r[0];
|
|
392
|
-
s && s.nodeType === 3 ? s.data !== t && (s.data = t) : s = document.createTextNode(t), r = F(e, r,
|
|
392
|
+
s && s.nodeType === 3 ? s.data !== t && (s.data = t) : s = document.createTextNode(t), r = F(e, r, n, s);
|
|
393
393
|
} else
|
|
394
394
|
r !== "" && typeof r == "string" ? r = e.firstChild.data = t : r = e.textContent = t;
|
|
395
395
|
} else if (t == null || i === "boolean")
|
|
396
|
-
r = F(e, r,
|
|
396
|
+
r = F(e, r, n);
|
|
397
397
|
else {
|
|
398
398
|
if (i === "function")
|
|
399
399
|
return U(() => {
|
|
400
400
|
let s = t();
|
|
401
401
|
for (; typeof s == "function"; ) s = s();
|
|
402
|
-
r = te(e, s, r,
|
|
402
|
+
r = te(e, s, r, n);
|
|
403
403
|
}), () => r;
|
|
404
404
|
if (Array.isArray(t)) {
|
|
405
405
|
const s = [], u = r && Array.isArray(r);
|
|
406
|
-
if (le(s, t, r,
|
|
407
|
-
return U(() => r = te(e, s, r,
|
|
406
|
+
if (le(s, t, r, o))
|
|
407
|
+
return U(() => r = te(e, s, r, n, !0)), () => r;
|
|
408
408
|
if (s.length === 0) {
|
|
409
|
-
if (r = F(e, r,
|
|
410
|
-
} else u ? r.length === 0 ? de(e, s,
|
|
409
|
+
if (r = F(e, r, n), l) return r;
|
|
410
|
+
} else u ? r.length === 0 ? de(e, s, n) : Ge(e, r, s) : (r && F(e), de(e, s));
|
|
411
411
|
r = s;
|
|
412
412
|
} else if (t.nodeType) {
|
|
413
413
|
if (Array.isArray(r)) {
|
|
414
|
-
if (l) return r = F(e, r,
|
|
414
|
+
if (l) return r = F(e, r, n, t);
|
|
415
415
|
F(e, r, null, t);
|
|
416
416
|
} else r == null || r === "" || !e.firstChild ? e.appendChild(t) : e.replaceChild(t, e.firstChild);
|
|
417
417
|
r = t;
|
|
@@ -419,67 +419,67 @@ function te(e, t, r, o, n) {
|
|
|
419
419
|
}
|
|
420
420
|
return r;
|
|
421
421
|
}
|
|
422
|
-
function le(e, t, r,
|
|
423
|
-
let
|
|
422
|
+
function le(e, t, r, n) {
|
|
423
|
+
let o = !1;
|
|
424
424
|
for (let i = 0, l = t.length; i < l; i++) {
|
|
425
425
|
let s = t[i], u = r && r[e.length], p;
|
|
426
426
|
if (!(s == null || s === !0 || s === !1)) if ((p = typeof s) == "object" && s.nodeType)
|
|
427
427
|
e.push(s);
|
|
428
428
|
else if (Array.isArray(s))
|
|
429
|
-
|
|
429
|
+
o = le(e, s, u) || o;
|
|
430
430
|
else if (p === "function")
|
|
431
|
-
if (
|
|
431
|
+
if (n) {
|
|
432
432
|
for (; typeof s == "function"; ) s = s();
|
|
433
|
-
|
|
433
|
+
o = le(e, Array.isArray(s) ? s : [s], Array.isArray(u) ? u : [u]) || o;
|
|
434
434
|
} else
|
|
435
|
-
e.push(s),
|
|
435
|
+
e.push(s), o = !0;
|
|
436
436
|
else {
|
|
437
437
|
const c = String(s);
|
|
438
438
|
u && u.nodeType === 3 && u.data === c ? e.push(u) : e.push(document.createTextNode(c));
|
|
439
439
|
}
|
|
440
440
|
}
|
|
441
|
-
return
|
|
441
|
+
return o;
|
|
442
442
|
}
|
|
443
443
|
function de(e, t, r = null) {
|
|
444
|
-
for (let
|
|
444
|
+
for (let n = 0, o = t.length; n < o; n++) e.insertBefore(t[n], r);
|
|
445
445
|
}
|
|
446
|
-
function F(e, t, r,
|
|
446
|
+
function F(e, t, r, n) {
|
|
447
447
|
if (r === void 0) return e.textContent = "";
|
|
448
|
-
const
|
|
448
|
+
const o = n || document.createTextNode("");
|
|
449
449
|
if (t.length) {
|
|
450
450
|
let i = !1;
|
|
451
451
|
for (let l = t.length - 1; l >= 0; l--) {
|
|
452
452
|
const s = t[l];
|
|
453
|
-
if (
|
|
453
|
+
if (o !== s) {
|
|
454
454
|
const u = s.parentNode === e;
|
|
455
|
-
!i && !l ? u ? e.replaceChild(
|
|
455
|
+
!i && !l ? u ? e.replaceChild(o, s) : e.insertBefore(o, r) : u && s.remove();
|
|
456
456
|
} else i = !0;
|
|
457
457
|
}
|
|
458
|
-
} else e.insertBefore(
|
|
459
|
-
return [
|
|
458
|
+
} else e.insertBefore(o, r);
|
|
459
|
+
return [o];
|
|
460
460
|
}
|
|
461
461
|
function Qe(e) {
|
|
462
|
-
return Object.keys(e).reduce((r,
|
|
463
|
-
const
|
|
464
|
-
return r[
|
|
462
|
+
return Object.keys(e).reduce((r, n) => {
|
|
463
|
+
const o = e[n];
|
|
464
|
+
return r[n] = Object.assign({}, o), Se(o.value) && !et(o.value) && !Array.isArray(o.value) && (r[n].value = Object.assign({}, o.value)), Array.isArray(o.value) && (r[n].value = o.value.slice(0)), r;
|
|
465
465
|
}, {});
|
|
466
466
|
}
|
|
467
467
|
function We(e) {
|
|
468
|
-
return e ? Object.keys(e).reduce((r,
|
|
469
|
-
const
|
|
470
|
-
return r[
|
|
471
|
-
value:
|
|
472
|
-
}, r[
|
|
468
|
+
return e ? Object.keys(e).reduce((r, n) => {
|
|
469
|
+
const o = e[n];
|
|
470
|
+
return r[n] = Se(o) && "value" in o ? o : {
|
|
471
|
+
value: o
|
|
472
|
+
}, r[n].attribute || (r[n].attribute = Ye(n)), r[n].parse = "parse" in r[n] ? r[n].parse : typeof r[n].value != "string", r;
|
|
473
473
|
}, {}) : {};
|
|
474
474
|
}
|
|
475
475
|
function Ze(e) {
|
|
476
|
-
return Object.keys(e).reduce((r,
|
|
476
|
+
return Object.keys(e).reduce((r, n) => (r[n] = e[n].value, r), {});
|
|
477
477
|
}
|
|
478
478
|
function Xe(e, t) {
|
|
479
479
|
const r = Qe(t);
|
|
480
|
-
return Object.keys(t).forEach((
|
|
481
|
-
const i = r[
|
|
482
|
-
l != null && (i.value = i.parse ? xe(l) : l), s != null && (i.value = Array.isArray(s) ? s.slice(0) : s), i.reflect && he(e, i.attribute, i.value, !!i.parse), Object.defineProperty(e,
|
|
480
|
+
return Object.keys(t).forEach((o) => {
|
|
481
|
+
const i = r[o], l = e.getAttribute(i.attribute), s = e[o];
|
|
482
|
+
l != null && (i.value = i.parse ? xe(l) : l), s != null && (i.value = Array.isArray(s) ? s.slice(0) : s), i.reflect && he(e, i.attribute, i.value, !!i.parse), Object.defineProperty(e, o, {
|
|
483
483
|
get() {
|
|
484
484
|
return i.value;
|
|
485
485
|
},
|
|
@@ -487,7 +487,7 @@ function Xe(e, t) {
|
|
|
487
487
|
const p = i.value;
|
|
488
488
|
i.value = u, i.reflect && he(this, i.attribute, i.value, !!i.parse);
|
|
489
489
|
for (let c = 0, a = this.__propertyChangedCallbacks.length; c < a; c++)
|
|
490
|
-
this.__propertyChangedCallbacks[c](
|
|
490
|
+
this.__propertyChangedCallbacks[c](o, u, p);
|
|
491
491
|
},
|
|
492
492
|
enumerable: !0,
|
|
493
493
|
configurable: !0
|
|
@@ -502,10 +502,10 @@ function xe(e) {
|
|
|
502
502
|
return e;
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
|
-
function he(e, t, r,
|
|
505
|
+
function he(e, t, r, n) {
|
|
506
506
|
if (r == null || r === !1) return e.removeAttribute(t);
|
|
507
|
-
let
|
|
508
|
-
e.__updating[t] = !0,
|
|
507
|
+
let o = n ? JSON.stringify(r) : r;
|
|
508
|
+
e.__updating[t] = !0, o === "true" && (o = ""), e.setAttribute(t, o), Promise.resolve().then(() => delete e.__updating[t]);
|
|
509
509
|
}
|
|
510
510
|
function Ye(e) {
|
|
511
511
|
return e.replace(/\.?([A-Z]+)/g, (t, r) => "-" + r.toLowerCase()).replace("_", "-").replace(/^-/, "");
|
|
@@ -524,21 +524,21 @@ function rt(e, t) {
|
|
|
524
524
|
const r = Object.keys(t);
|
|
525
525
|
return class extends e {
|
|
526
526
|
static get observedAttributes() {
|
|
527
|
-
return r.map((
|
|
527
|
+
return r.map((o) => t[o].attribute);
|
|
528
528
|
}
|
|
529
529
|
constructor() {
|
|
530
530
|
super(), this.__initialized = !1, this.__released = !1, this.__releaseCallbacks = [], this.__propertyChangedCallbacks = [], this.__updating = {}, this.props = {};
|
|
531
|
-
for (let
|
|
532
|
-
this[
|
|
531
|
+
for (let o of r)
|
|
532
|
+
this[o] = void 0;
|
|
533
533
|
}
|
|
534
534
|
connectedCallback() {
|
|
535
535
|
if (this.__initialized) return;
|
|
536
536
|
this.__releaseCallbacks = [], this.__propertyChangedCallbacks = [], this.__updating = {}, this.props = Xe(this, t);
|
|
537
|
-
const
|
|
537
|
+
const o = Ze(this.props), i = this.Component, l = ie;
|
|
538
538
|
try {
|
|
539
|
-
ie = this, this.__initialized = !0, tt(i) ? new i(
|
|
539
|
+
ie = this, this.__initialized = !0, tt(i) ? new i(o, {
|
|
540
540
|
element: this
|
|
541
|
-
}) : i(
|
|
541
|
+
}) : i(o, {
|
|
542
542
|
element: this
|
|
543
543
|
});
|
|
544
544
|
} finally {
|
|
@@ -548,50 +548,50 @@ function rt(e, t) {
|
|
|
548
548
|
async disconnectedCallback() {
|
|
549
549
|
if (await Promise.resolve(), this.isConnected) return;
|
|
550
550
|
this.__propertyChangedCallbacks.length = 0;
|
|
551
|
-
let
|
|
552
|
-
for (;
|
|
551
|
+
let o = null;
|
|
552
|
+
for (; o = this.__releaseCallbacks.pop(); ) o(this);
|
|
553
553
|
delete this.__initialized, this.__released = !0;
|
|
554
554
|
}
|
|
555
|
-
attributeChangedCallback(
|
|
556
|
-
if (this.__initialized && !this.__updating[
|
|
557
|
-
if (l == null && !this[
|
|
558
|
-
this[
|
|
555
|
+
attributeChangedCallback(o, i, l) {
|
|
556
|
+
if (this.__initialized && !this.__updating[o] && (o = this.lookupProp(o), o in t)) {
|
|
557
|
+
if (l == null && !this[o]) return;
|
|
558
|
+
this[o] = t[o].parse ? xe(l) : l;
|
|
559
559
|
}
|
|
560
560
|
}
|
|
561
|
-
lookupProp(
|
|
561
|
+
lookupProp(o) {
|
|
562
562
|
if (t)
|
|
563
|
-
return r.find((i) =>
|
|
563
|
+
return r.find((i) => o === i || o === t[i].attribute);
|
|
564
564
|
}
|
|
565
565
|
get renderRoot() {
|
|
566
566
|
return this.shadowRoot || this.attachShadow({
|
|
567
567
|
mode: "open"
|
|
568
568
|
});
|
|
569
569
|
}
|
|
570
|
-
addReleaseCallback(
|
|
571
|
-
this.__releaseCallbacks.push(
|
|
570
|
+
addReleaseCallback(o) {
|
|
571
|
+
this.__releaseCallbacks.push(o);
|
|
572
572
|
}
|
|
573
|
-
addPropertyChangedCallback(
|
|
574
|
-
this.__propertyChangedCallbacks.push(
|
|
573
|
+
addPropertyChangedCallback(o) {
|
|
574
|
+
this.__propertyChangedCallbacks.push(o);
|
|
575
575
|
}
|
|
576
576
|
};
|
|
577
577
|
}
|
|
578
578
|
function ot(e, t = {}, r = {}) {
|
|
579
579
|
const {
|
|
580
|
-
BaseElement:
|
|
581
|
-
extension:
|
|
580
|
+
BaseElement: n = HTMLElement,
|
|
581
|
+
extension: o,
|
|
582
582
|
customElements: i = window.customElements
|
|
583
583
|
} = r;
|
|
584
584
|
return (l) => {
|
|
585
585
|
let s = i.get(e);
|
|
586
|
-
return s ? (s.prototype.Component = l, s) : (s = rt(
|
|
586
|
+
return s ? (s.prototype.Component = l, s) : (s = rt(n, We(t)), s.prototype.Component = l, s.prototype.registeredTag = e, i.define(e, s, o), s);
|
|
587
587
|
};
|
|
588
588
|
}
|
|
589
589
|
function nt(e) {
|
|
590
590
|
const t = Object.keys(e), r = {};
|
|
591
|
-
for (let
|
|
592
|
-
const [
|
|
593
|
-
Object.defineProperty(r, t[
|
|
594
|
-
get:
|
|
591
|
+
for (let n = 0; n < t.length; n++) {
|
|
592
|
+
const [o, i] = x(e[t[n]]);
|
|
593
|
+
Object.defineProperty(r, t[n], {
|
|
594
|
+
get: o,
|
|
595
595
|
set(l) {
|
|
596
596
|
i(() => l);
|
|
597
597
|
}
|
|
@@ -608,15 +608,15 @@ function it(e) {
|
|
|
608
608
|
}
|
|
609
609
|
function st(e) {
|
|
610
610
|
return (t, r) => {
|
|
611
|
-
const { element:
|
|
612
|
-
return W((
|
|
611
|
+
const { element: n } = r;
|
|
612
|
+
return W((o) => {
|
|
613
613
|
const i = nt(t);
|
|
614
|
-
|
|
615
|
-
|
|
614
|
+
n.addPropertyChangedCallback((s, u) => i[s] = u), n.addReleaseCallback(() => {
|
|
615
|
+
n.renderRoot.textContent = "", o();
|
|
616
616
|
});
|
|
617
617
|
const l = e(i, r);
|
|
618
|
-
return w(
|
|
619
|
-
}, it(
|
|
618
|
+
return w(n.renderRoot, l);
|
|
619
|
+
}, it(n));
|
|
620
620
|
};
|
|
621
621
|
}
|
|
622
622
|
function lt(e, t, r) {
|
|
@@ -624,8 +624,8 @@ function lt(e, t, r) {
|
|
|
624
624
|
}
|
|
625
625
|
const Ce = Te();
|
|
626
626
|
function at(e) {
|
|
627
|
-
const [t, r] = x([]), [
|
|
628
|
-
e.moqPublish.source
|
|
627
|
+
const [t, r] = x([]), [n, o] = x(), [i, l] = x([]), [s, u] = x(), [p, c] = x(!1), [a, k] = x(!1), [S, $] = x(!1), [E, B] = x(!1), [L, C] = x(!1), [A, m] = x("no-url"), M = (d) => {
|
|
628
|
+
e.moqPublish.source = d, e.moqPublish.invisible = !1, e.moqPublish.muted = !0;
|
|
629
629
|
}, oe = {
|
|
630
630
|
moqPublish: e.moqPublish,
|
|
631
631
|
cameraDevices: t,
|
|
@@ -637,12 +637,12 @@ function at(e) {
|
|
|
637
637
|
fileActive: E,
|
|
638
638
|
setFile: M,
|
|
639
639
|
nothingActive: L,
|
|
640
|
-
selectedCameraSource:
|
|
640
|
+
selectedCameraSource: n,
|
|
641
641
|
selectedMicrophoneSource: s
|
|
642
642
|
};
|
|
643
643
|
return be(() => {
|
|
644
644
|
const d = e.moqPublish;
|
|
645
|
-
d.muted
|
|
645
|
+
d.muted = !0, d.invisible = !0, d.source = void 0, d.signals.run((f) => {
|
|
646
646
|
const b = () => r([]), _ = f.get(d.video);
|
|
647
647
|
if (!_ || !("device" in _)) {
|
|
648
648
|
b();
|
|
@@ -671,29 +671,29 @@ function at(e) {
|
|
|
671
671
|
}
|
|
672
672
|
l(K);
|
|
673
673
|
}), d.signals.run((f) => {
|
|
674
|
-
const b = f.get(d.source), _ = f.get(d.muted), N = f.get(d.invisible);
|
|
674
|
+
const b = f.get(d.state.source), _ = f.get(d.state.muted), N = f.get(d.state.invisible);
|
|
675
675
|
C(b === void 0 && _ && N);
|
|
676
676
|
}), d.signals.run((f) => {
|
|
677
|
-
const b = !f.get(d.muted);
|
|
677
|
+
const b = !f.get(d.state.muted);
|
|
678
678
|
$(b);
|
|
679
679
|
}), d.signals.run((f) => {
|
|
680
|
-
const b = f.get(d.source), _ = f.get(d.video);
|
|
680
|
+
const b = f.get(d.state.source), _ = f.get(d.video);
|
|
681
681
|
_ && b === "camera" ? (c(!0), k(!1)) : _ && b === "screen" ? (k(!0), c(!1)) : (c(!1), k(!1));
|
|
682
682
|
}), d.signals.run((f) => {
|
|
683
683
|
const b = f.get(d.video);
|
|
684
684
|
if (!b || !("device" in b)) return;
|
|
685
685
|
const _ = f.get(b.device.requested);
|
|
686
|
-
|
|
686
|
+
o(_);
|
|
687
687
|
}), d.signals.run((f) => {
|
|
688
688
|
const b = f.get(d.audio);
|
|
689
689
|
if (!b || !("device" in b)) return;
|
|
690
690
|
const _ = f.get(b.device.requested);
|
|
691
691
|
u(_);
|
|
692
692
|
}), d.signals.run((f) => {
|
|
693
|
-
const b = f.get(d.connection.url), _ = f.get(d.connection.status), N = f.get(d.broadcast.audio.source), K = f.get(d.broadcast.video.source), ke = f.get(d.muted), Pe = f.get(d.invisible), J = N && !ke, Q = K && !Pe;
|
|
693
|
+
const b = f.get(d.connection.url), _ = f.get(d.connection.status), N = f.get(d.broadcast.audio.source), K = f.get(d.broadcast.video.source), ke = f.get(d.state.muted), Pe = f.get(d.state.invisible), J = N && !ke, Q = K && !Pe;
|
|
694
694
|
b ? _ === "disconnected" ? m("disconnected") : _ === "connecting" ? m("connecting") : !J && !Q ? m("select-source") : !J && Q ? m("video-only") : J && !Q ? m("audio-only") : J && Q && m("live") : m("no-url");
|
|
695
695
|
}), d.signals.run((f) => {
|
|
696
|
-
const b = f.get(d.source);
|
|
696
|
+
const b = f.get(d.state.source);
|
|
697
697
|
B(b instanceof File);
|
|
698
698
|
});
|
|
699
699
|
}), h(Ce.Provider, {
|
|
@@ -711,11 +711,11 @@ function z() {
|
|
|
711
711
|
}
|
|
712
712
|
var ct = /* @__PURE__ */ P("<select class=publish-ui__media-selector-dropdown>"), ut = /* @__PURE__ */ P('<div class="publish-ui__media-selector-wrapper flex--center">'), dt = /* @__PURE__ */ P("<option>");
|
|
713
713
|
function Ae(e) {
|
|
714
|
-
const [t, r] = x(!1),
|
|
714
|
+
const [t, r] = x(!1), n = () => r((o) => !o);
|
|
715
715
|
return (() => {
|
|
716
|
-
var
|
|
717
|
-
return w(
|
|
718
|
-
onClick:
|
|
716
|
+
var o = ut();
|
|
717
|
+
return w(o, h(R, {
|
|
718
|
+
onClick: n,
|
|
719
719
|
class: "publish-ui__media-selector-toggle button",
|
|
720
720
|
get title() {
|
|
721
721
|
return t() ? "Hide Sources" : "Show Sources";
|
|
@@ -733,7 +733,7 @@ function Ae(e) {
|
|
|
733
733
|
}
|
|
734
734
|
});
|
|
735
735
|
}
|
|
736
|
-
}), null), w(
|
|
736
|
+
}), null), w(o, h(V, {
|
|
737
737
|
get when() {
|
|
738
738
|
return t();
|
|
739
739
|
},
|
|
@@ -751,20 +751,20 @@ function Ae(e) {
|
|
|
751
751
|
})()
|
|
752
752
|
})), U(() => i.value = e.selectedSource), i;
|
|
753
753
|
}
|
|
754
|
-
}), null),
|
|
754
|
+
}), null), o;
|
|
755
755
|
})();
|
|
756
756
|
}
|
|
757
757
|
var ht = /* @__PURE__ */ P('<div class="publish-ui__source-button-wrapper flex--center">');
|
|
758
758
|
function ft() {
|
|
759
759
|
const e = z(), t = () => {
|
|
760
|
-
e.moqPublish.source
|
|
761
|
-
}, r = (
|
|
762
|
-
const
|
|
763
|
-
!
|
|
760
|
+
e.moqPublish.source === "camera" ? e.moqPublish.invisible = !e.moqPublish.invisible : (e.moqPublish.source = "camera", e.moqPublish.invisible = !1);
|
|
761
|
+
}, r = (n) => {
|
|
762
|
+
const o = e.moqPublish.video.peek();
|
|
763
|
+
!o || !("device" in o) || o.device.preferred.set(n);
|
|
764
764
|
};
|
|
765
765
|
return (() => {
|
|
766
|
-
var
|
|
767
|
-
return w(
|
|
766
|
+
var n = ht();
|
|
767
|
+
return w(n, h(R, {
|
|
768
768
|
title: "Camera",
|
|
769
769
|
get class() {
|
|
770
770
|
return `publish-ui__source-button flex--center ${e.cameraActive() ? "publish-ui__source-button--active" : ""}`;
|
|
@@ -773,7 +773,7 @@ function ft() {
|
|
|
773
773
|
get children() {
|
|
774
774
|
return h(j.Camera, {});
|
|
775
775
|
}
|
|
776
|
-
}), null), w(
|
|
776
|
+
}), null), w(n, h(V, {
|
|
777
777
|
get when() {
|
|
778
778
|
return ye(() => !!e.cameraActive())() && e.cameraDevices().length;
|
|
779
779
|
},
|
|
@@ -788,24 +788,24 @@ function ft() {
|
|
|
788
788
|
onSelected: r
|
|
789
789
|
});
|
|
790
790
|
}
|
|
791
|
-
}), null),
|
|
791
|
+
}), null), n;
|
|
792
792
|
})();
|
|
793
793
|
}
|
|
794
794
|
var pt = /* @__PURE__ */ P("<input type=file accept=video/*,audio/*,image/* style=display:none>");
|
|
795
795
|
function bt() {
|
|
796
|
-
const [e, t] = x(), r = z(),
|
|
796
|
+
const [e, t] = x(), r = z(), n = () => e()?.click(), o = (i) => {
|
|
797
797
|
const l = i.target, s = l.files?.[0];
|
|
798
798
|
s && (r.setFile(s), l.value = "");
|
|
799
799
|
};
|
|
800
800
|
return [(() => {
|
|
801
801
|
var i = pt();
|
|
802
|
-
return i.addEventListener("change",
|
|
802
|
+
return i.addEventListener("change", o), Je(t, i), i;
|
|
803
803
|
})(), h(R, {
|
|
804
804
|
title: "Upload File",
|
|
805
805
|
get class() {
|
|
806
806
|
return `publish-ui__source-button flex--center ${r.fileActive() ? "publish-ui__source-button--active" : ""}`;
|
|
807
807
|
},
|
|
808
|
-
onClick:
|
|
808
|
+
onClick: n,
|
|
809
809
|
get children() {
|
|
810
810
|
return h(j.File, {});
|
|
811
811
|
}
|
|
@@ -814,14 +814,14 @@ function bt() {
|
|
|
814
814
|
var gt = /* @__PURE__ */ P('<div class="publish-ui__source-button-wrapper flex--center">');
|
|
815
815
|
function vt() {
|
|
816
816
|
const e = z(), t = () => {
|
|
817
|
-
e.moqPublish.source
|
|
818
|
-
}, r = (
|
|
819
|
-
const
|
|
820
|
-
!
|
|
817
|
+
e.moqPublish.source === "camera" ? e.moqPublish.muted = !e.moqPublish.muted : (e.moqPublish.source = "camera", e.moqPublish.muted = !1);
|
|
818
|
+
}, r = (n) => {
|
|
819
|
+
const o = e.moqPublish.audio.peek();
|
|
820
|
+
!o || !("device" in o) || o.device.preferred.set(n);
|
|
821
821
|
};
|
|
822
822
|
return (() => {
|
|
823
|
-
var
|
|
824
|
-
return w(
|
|
823
|
+
var n = gt();
|
|
824
|
+
return w(n, h(R, {
|
|
825
825
|
title: "Microphone",
|
|
826
826
|
get class() {
|
|
827
827
|
return `publish-ui__source-button flex--center ${e.microphoneActive() ? "publish-ui__source-button--active" : ""}`;
|
|
@@ -830,7 +830,7 @@ function vt() {
|
|
|
830
830
|
get children() {
|
|
831
831
|
return h(j.Microphone, {});
|
|
832
832
|
}
|
|
833
|
-
}), null), w(
|
|
833
|
+
}), null), w(n, h(V, {
|
|
834
834
|
get when() {
|
|
835
835
|
return ye(() => !!e.microphoneActive())() && e.microphoneDevices().length;
|
|
836
836
|
},
|
|
@@ -845,7 +845,7 @@ function vt() {
|
|
|
845
845
|
onSelected: r
|
|
846
846
|
});
|
|
847
847
|
}
|
|
848
|
-
}), null),
|
|
848
|
+
}), null), n;
|
|
849
849
|
})();
|
|
850
850
|
}
|
|
851
851
|
function _t() {
|
|
@@ -856,7 +856,7 @@ function _t() {
|
|
|
856
856
|
return `publish-ui__source-button flex--center publish-ui__source-button--no-source ${e.nothingActive() ? "publish-ui__source-button--no-source-active" : ""}`;
|
|
857
857
|
},
|
|
858
858
|
onClick: () => {
|
|
859
|
-
e.moqPublish.source
|
|
859
|
+
e.moqPublish.source = void 0, e.moqPublish.muted = !0, e.moqPublish.invisible = !0;
|
|
860
860
|
},
|
|
861
861
|
get children() {
|
|
862
862
|
return h(j.Ban, {});
|
|
@@ -903,10 +903,10 @@ function xt() {
|
|
|
903
903
|
return wt[r] || yt;
|
|
904
904
|
};
|
|
905
905
|
return (() => {
|
|
906
|
-
var r = mt(),
|
|
907
|
-
return w(
|
|
906
|
+
var r = mt(), n = r.firstChild, o = n.nextSibling;
|
|
907
|
+
return w(o, () => t().text), U((i) => {
|
|
908
908
|
var l = `publish-ui__status-indicator-dot publish-ui__status-indicator-dot--${t().variant}`, s = `publish-ui__status-indicator-text publish-ui__status-indicator-text--${t().variant}`;
|
|
909
|
-
return l !== i.e && ue(
|
|
909
|
+
return l !== i.e && ue(n, i.e = l), s !== i.t && ue(o, i.t = s), i;
|
|
910
910
|
}, {
|
|
911
911
|
e: void 0,
|
|
912
912
|
t: void 0
|
|
@@ -921,7 +921,7 @@ function St() {
|
|
|
921
921
|
return `publish-ui__source-button flex--center ${e.screenActive() ? "publish-ui__source-button--active" : ""}`;
|
|
922
922
|
},
|
|
923
923
|
onClick: () => {
|
|
924
|
-
e.moqPublish.source
|
|
924
|
+
e.moqPublish.source = "screen", e.moqPublish.invisible = !1, e.moqPublish.muted = !0;
|
|
925
925
|
},
|
|
926
926
|
get children() {
|
|
927
927
|
return h(j.Screen, {});
|
|
@@ -956,18 +956,18 @@ function Et(e) {
|
|
|
956
956
|
lt("moq-publish-ui", (e, {
|
|
957
957
|
element: t
|
|
958
958
|
}) => {
|
|
959
|
-
const [r,
|
|
959
|
+
const [r, n] = x();
|
|
960
960
|
return Me(async () => {
|
|
961
961
|
await customElements.whenDefined("moq-publish");
|
|
962
|
-
const
|
|
963
|
-
o
|
|
962
|
+
const o = t.querySelector("moq-publish");
|
|
963
|
+
n(o || void 0);
|
|
964
964
|
}), h(V, {
|
|
965
965
|
get when() {
|
|
966
966
|
return r();
|
|
967
967
|
},
|
|
968
968
|
keyed: !0,
|
|
969
|
-
children: (
|
|
970
|
-
publish:
|
|
969
|
+
children: (o) => h(Et, {
|
|
970
|
+
publish: o
|
|
971
971
|
})
|
|
972
972
|
});
|
|
973
973
|
});
|