@everymatrix/player-consents 1.55.0 → 1.56.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.
@@ -1,46 +1,46 @@
1
1
  function d() {
2
2
  }
3
- function S(t) {
3
+ function M(t) {
4
4
  return t();
5
5
  }
6
- function j() {
6
+ function T() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function b(t) {
10
- t.forEach(S);
9
+ function p(t) {
10
+ t.forEach(M);
11
11
  }
12
- function M(t) {
12
+ function O(t) {
13
13
  return typeof t == "function";
14
14
  }
15
15
  function z(t, e) {
16
16
  return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
17
17
  }
18
- function G(t) {
18
+ function U(t) {
19
19
  return Object.keys(t).length === 0;
20
20
  }
21
- function I(t, ...e) {
21
+ function D(t, ...e) {
22
22
  if (t == null) {
23
- for (const i of e)
24
- i(void 0);
23
+ for (const s of e)
24
+ s(void 0);
25
25
  return d;
26
26
  }
27
27
  const n = t.subscribe(...e);
28
28
  return n.unsubscribe ? () => n.unsubscribe() : n;
29
29
  }
30
- function at(t, e, n) {
31
- t.$$.on_destroy.push(I(e, n));
30
+ function _t(t, e, n) {
31
+ t.$$.on_destroy.push(D(e, n));
32
32
  }
33
- function ht(t) {
34
- return t ?? "";
33
+ function gt(t) {
34
+ return t;
35
35
  }
36
- function U(t, e) {
36
+ function G(t, e) {
37
37
  t.appendChild(e);
38
38
  }
39
- function D(t, e, n) {
40
- const i = F(t);
41
- if (!i.getElementById(e)) {
42
- const s = x("style");
43
- s.id = e, s.textContent = n, J(i, s);
39
+ function I(t, e, n) {
40
+ const s = F(t);
41
+ if (!s.getElementById(e)) {
42
+ const i = w("style");
43
+ i.id = e, i.textContent = n, J(s, i);
44
44
  }
45
45
  }
46
46
  function F(t) {
@@ -53,23 +53,23 @@ function F(t) {
53
53
  ) : t.ownerDocument;
54
54
  }
55
55
  function J(t, e) {
56
- return U(
56
+ return G(
57
57
  /** @type {Document} */
58
58
  t.head || t,
59
59
  e
60
60
  ), e.sheet;
61
61
  }
62
- function C(t, e, n) {
62
+ function k(t, e, n) {
63
63
  t.insertBefore(e, n || null);
64
64
  }
65
- function w(t) {
65
+ function y(t) {
66
66
  t.parentNode && t.parentNode.removeChild(t);
67
67
  }
68
- function $t(t, e) {
68
+ function bt(t, e) {
69
69
  for (let n = 0; n < t.length; n += 1)
70
70
  t[n] && t[n].d(e);
71
71
  }
72
- function x(t) {
72
+ function w(t) {
73
73
  return document.createElement(t);
74
74
  }
75
75
  function V(t) {
@@ -78,30 +78,30 @@ function V(t) {
78
78
  function P(t) {
79
79
  return document.createTextNode(t);
80
80
  }
81
- function _t() {
81
+ function pt() {
82
82
  return P(" ");
83
83
  }
84
- function mt() {
84
+ function yt() {
85
85
  return P("");
86
86
  }
87
- function pt(t, e, n, i) {
88
- return t.addEventListener(e, n, i), () => t.removeEventListener(e, n, i);
87
+ function wt(t, e, n, s) {
88
+ return t.addEventListener(e, n, s), () => t.removeEventListener(e, n, s);
89
89
  }
90
- function H(t, e, n) {
90
+ function B(t, e, n) {
91
91
  n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
92
92
  }
93
- function gt(t, e, n) {
94
- const i = e.toLowerCase();
95
- i in t ? t[i] = typeof t[i] == "boolean" && n === "" ? !0 : n : e in t ? t[e] = typeof t[e] == "boolean" && n === "" ? !0 : n : H(t, e, n);
93
+ function xt(t, e, n) {
94
+ const s = e.toLowerCase();
95
+ s in t ? t[s] = typeof t[s] == "boolean" && n === "" ? !0 : n : e in t ? t[e] = typeof t[e] == "boolean" && n === "" ? !0 : n : B(t, e, n);
96
96
  }
97
97
  function q(t) {
98
98
  return Array.from(t.childNodes);
99
99
  }
100
- function yt(t, e) {
100
+ function Et(t, e) {
101
101
  e = "" + e, t.data !== e && (t.data = /** @type {string} */
102
102
  e);
103
103
  }
104
- class bt {
104
+ class Lt {
105
105
  /**
106
106
  * @private
107
107
  * @default false
@@ -131,17 +131,17 @@ class bt {
131
131
  * @param {HTMLElement | SVGElement} anchor
132
132
  * @returns {void}
133
133
  */
134
- m(e, n, i = null) {
134
+ m(e, n, s = null) {
135
135
  this.e || (this.is_svg ? this.e = V(
136
136
  /** @type {keyof SVGElementTagNameMap} */
137
137
  n.nodeName
138
- ) : this.e = x(
138
+ ) : this.e = w(
139
139
  /** @type {keyof HTMLElementTagNameMap} */
140
140
  n.nodeType === 11 ? "TEMPLATE" : n.nodeName
141
141
  ), this.t = n.tagName !== "TEMPLATE" ? n : (
142
142
  /** @type {HTMLTemplateElement} */
143
143
  n.content
144
- ), this.c(e)), this.i(i);
144
+ ), this.c(e)), this.i(s);
145
145
  }
146
146
  /**
147
147
  * @param {string} html
@@ -156,7 +156,7 @@ class bt {
156
156
  * @returns {void} */
157
157
  i(e) {
158
158
  for (let n = 0; n < this.n.length; n += 1)
159
- C(this.t, this.n[n], e);
159
+ k(this.t, this.n[n], e);
160
160
  }
161
161
  /**
162
162
  * @param {string} html
@@ -168,7 +168,7 @@ class bt {
168
168
  /**
169
169
  * @returns {void} */
170
170
  d() {
171
- this.n.forEach(w);
171
+ this.n.forEach(y);
172
172
  }
173
173
  }
174
174
  function K(t) {
@@ -180,126 +180,126 @@ function K(t) {
180
180
  }
181
181
  ), e;
182
182
  }
183
- let p;
183
+ let g;
184
184
  function m(t) {
185
- p = t;
185
+ g = t;
186
186
  }
187
187
  function Q() {
188
- if (!p) throw new Error("Function called outside component initialization");
189
- return p;
188
+ if (!g) throw new Error("Function called outside component initialization");
189
+ return g;
190
190
  }
191
- function wt(t) {
191
+ function W(t) {
192
192
  Q().$$.on_mount.push(t);
193
193
  }
194
- const h = [], L = [];
194
+ const h = [], E = [];
195
195
  let $ = [];
196
- const O = [], W = /* @__PURE__ */ Promise.resolve();
197
- let v = !1;
198
- function X() {
199
- v || (v = !0, W.then(y));
196
+ const j = [], X = /* @__PURE__ */ Promise.resolve();
197
+ let L = !1;
198
+ function Y() {
199
+ L || (L = !0, X.then(_));
200
200
  }
201
- function k(t) {
201
+ function v(t) {
202
202
  $.push(t);
203
203
  }
204
- const E = /* @__PURE__ */ new Set();
204
+ const x = /* @__PURE__ */ new Set();
205
205
  let a = 0;
206
- function y() {
206
+ function _() {
207
207
  if (a !== 0)
208
208
  return;
209
- const t = p;
209
+ const t = g;
210
210
  do {
211
211
  try {
212
212
  for (; a < h.length; ) {
213
213
  const e = h[a];
214
- a++, m(e), Y(e.$$);
214
+ a++, m(e), Z(e.$$);
215
215
  }
216
216
  } catch (e) {
217
217
  throw h.length = 0, a = 0, e;
218
218
  }
219
- for (m(null), h.length = 0, a = 0; L.length; ) L.pop()();
219
+ for (m(null), h.length = 0, a = 0; E.length; ) E.pop()();
220
220
  for (let e = 0; e < $.length; e += 1) {
221
221
  const n = $[e];
222
- E.has(n) || (E.add(n), n());
222
+ x.has(n) || (x.add(n), n());
223
223
  }
224
224
  $.length = 0;
225
225
  } while (h.length);
226
- for (; O.length; )
227
- O.pop()();
228
- v = !1, E.clear(), m(t);
226
+ for (; j.length; )
227
+ j.pop()();
228
+ L = !1, x.clear(), m(t);
229
229
  }
230
- function Y(t) {
230
+ function Z(t) {
231
231
  if (t.fragment !== null) {
232
- t.update(), b(t.before_update);
232
+ t.update(), p(t.before_update);
233
233
  const e = t.dirty;
234
- t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(k);
234
+ t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(v);
235
235
  }
236
236
  }
237
- function Z(t) {
237
+ function tt(t) {
238
238
  const e = [], n = [];
239
- $.forEach((i) => t.indexOf(i) === -1 ? e.push(i) : n.push(i)), n.forEach((i) => i()), $ = e;
239
+ $.forEach((s) => t.indexOf(s) === -1 ? e.push(s) : n.push(s)), n.forEach((s) => s()), $ = e;
240
240
  }
241
- const tt = /* @__PURE__ */ new Set();
242
- function et(t, e) {
243
- t && t.i && (tt.delete(t), t.i(e));
241
+ const et = /* @__PURE__ */ new Set();
242
+ function nt(t, e) {
243
+ t && t.i && (et.delete(t), t.i(e));
244
244
  }
245
- function xt(t) {
245
+ function vt(t) {
246
246
  return t?.length !== void 0 ? t : Array.from(t);
247
247
  }
248
- function nt(t, e, n) {
249
- const { fragment: i, after_update: s } = t.$$;
250
- i && i.m(e, n), k(() => {
251
- const o = t.$$.on_mount.map(S).filter(M);
252
- t.$$.on_destroy ? t.$$.on_destroy.push(...o) : b(o), t.$$.on_mount = [];
253
- }), s.forEach(k);
248
+ function st(t, e, n) {
249
+ const { fragment: s, after_update: i } = t.$$;
250
+ s && s.m(e, n), v(() => {
251
+ const r = t.$$.on_mount.map(M).filter(O);
252
+ t.$$.on_destroy ? t.$$.on_destroy.push(...r) : p(r), t.$$.on_mount = [];
253
+ }), i.forEach(v);
254
254
  }
255
- function st(t, e) {
255
+ function it(t, e) {
256
256
  const n = t.$$;
257
- n.fragment !== null && (Z(n.after_update), b(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
257
+ n.fragment !== null && (tt(n.after_update), p(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
258
258
  }
259
- function it(t, e) {
260
- t.$$.dirty[0] === -1 && (h.push(t), X(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
259
+ function rt(t, e) {
260
+ t.$$.dirty[0] === -1 && (h.push(t), Y(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
261
261
  }
262
- function rt(t, e, n, i, s, o, u = null, c = [-1]) {
263
- const l = p;
262
+ function ct(t, e, n, s, i, r, o = null, l = [-1]) {
263
+ const c = g;
264
264
  m(t);
265
- const r = t.$$ = {
265
+ const u = t.$$ = {
266
266
  fragment: null,
267
267
  ctx: [],
268
268
  // state
269
- props: o,
269
+ props: r,
270
270
  update: d,
271
- not_equal: s,
272
- bound: j(),
271
+ not_equal: i,
272
+ bound: T(),
273
273
  // lifecycle
274
274
  on_mount: [],
275
275
  on_destroy: [],
276
276
  on_disconnect: [],
277
277
  before_update: [],
278
278
  after_update: [],
279
- context: new Map(e.context || (l ? l.$$.context : [])),
279
+ context: new Map(e.context || (c ? c.$$.context : [])),
280
280
  // everything else
281
- callbacks: j(),
282
- dirty: c,
281
+ callbacks: T(),
282
+ dirty: l,
283
283
  skip_bound: !1,
284
- root: e.target || l.$$.root
284
+ root: e.target || c.$$.root
285
285
  };
286
- u && u(r.root);
287
- let _ = !1;
288
- if (r.ctx = n ? n(t, e.props || {}, (f, A, ...N) => {
289
- const T = N.length ? N[0] : A;
290
- return r.ctx && s(r.ctx[f], r.ctx[f] = T) && (!r.skip_bound && r.bound[f] && r.bound[f](T), _ && it(t, f)), A;
291
- }) : [], r.update(), _ = !0, b(r.before_update), r.fragment = i ? i(r.ctx) : !1, e.target) {
286
+ o && o(u.root);
287
+ let A = !1;
288
+ if (u.ctx = n ? n(t, e.props || {}, (f, N, ...S) => {
289
+ const C = S.length ? S[0] : N;
290
+ return u.ctx && i(u.ctx[f], u.ctx[f] = C) && (!u.skip_bound && u.bound[f] && u.bound[f](C), A && rt(t, f)), N;
291
+ }) : [], u.update(), A = !0, p(u.before_update), u.fragment = s ? s(u.ctx) : !1, e.target) {
292
292
  if (e.hydrate) {
293
293
  const f = q(e.target);
294
- r.fragment && r.fragment.l(f), f.forEach(w);
294
+ u.fragment && u.fragment.l(f), f.forEach(y);
295
295
  } else
296
- r.fragment && r.fragment.c();
297
- e.intro && et(t.$$.fragment), nt(t, e.target, e.anchor), y();
296
+ u.fragment && u.fragment.c();
297
+ e.intro && nt(t.$$.fragment), st(t, e.target, e.anchor), _();
298
298
  }
299
- m(l);
299
+ m(c);
300
300
  }
301
- let B;
302
- typeof HTMLElement == "function" && (B = class extends HTMLElement {
301
+ let H;
302
+ typeof HTMLElement == "function" && (H = class extends HTMLElement {
303
303
  /** The Svelte component constructor */
304
304
  $$ctor;
305
305
  /** Slots */
@@ -323,35 +323,35 @@ typeof HTMLElement == "function" && (B = class extends HTMLElement {
323
323
  }
324
324
  addEventListener(t, e, n) {
325
325
  if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(e), this.$$c) {
326
- const i = this.$$c.$on(t, e);
327
- this.$$l_u.set(e, i);
326
+ const s = this.$$c.$on(t, e);
327
+ this.$$l_u.set(e, s);
328
328
  }
329
329
  super.addEventListener(t, e, n);
330
330
  }
331
331
  removeEventListener(t, e, n) {
332
332
  if (super.removeEventListener(t, e, n), this.$$c) {
333
- const i = this.$$l_u.get(e);
334
- i && (i(), this.$$l_u.delete(e));
333
+ const s = this.$$l_u.get(e);
334
+ s && (s(), this.$$l_u.delete(e));
335
335
  }
336
336
  }
337
337
  async connectedCallback() {
338
338
  if (this.$$cn = !0, !this.$$c) {
339
- let t = function(s) {
339
+ let t = function(i) {
340
340
  return () => {
341
- let o;
341
+ let r;
342
342
  return {
343
343
  c: function() {
344
- o = x("slot"), s !== "default" && H(o, "name", s);
344
+ r = w("slot"), i !== "default" && B(r, "name", i);
345
345
  },
346
346
  /**
347
347
  * @param {HTMLElement} target
348
348
  * @param {HTMLElement} [anchor]
349
349
  */
350
- m: function(l, r) {
351
- C(l, o, r);
350
+ m: function(c, u) {
351
+ k(c, r, u);
352
352
  },
353
- d: function(l) {
354
- l && w(o);
353
+ d: function(c) {
354
+ c && y(r);
355
355
  }
356
356
  };
357
357
  };
@@ -359,14 +359,14 @@ typeof HTMLElement == "function" && (B = class extends HTMLElement {
359
359
  if (await Promise.resolve(), !this.$$cn || this.$$c)
360
360
  return;
361
361
  const e = {}, n = K(this);
362
- for (const s of this.$$s)
363
- s in n && (e[s] = [t(s)]);
364
- for (const s of this.attributes) {
365
- const o = this.$$g_p(s.name);
366
- o in this.$$d || (this.$$d[o] = g(o, s.value, this.$$p_d, "toProp"));
362
+ for (const i of this.$$s)
363
+ i in n && (e[i] = [t(i)]);
364
+ for (const i of this.attributes) {
365
+ const r = this.$$g_p(i.name);
366
+ r in this.$$d || (this.$$d[r] = b(r, i.value, this.$$p_d, "toProp"));
367
367
  }
368
- for (const s in this.$$p_d)
369
- !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
368
+ for (const i in this.$$p_d)
369
+ !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
370
370
  this.$$c = new this.$$ctor({
371
371
  target: this.shadowRoot || this,
372
372
  props: {
@@ -377,25 +377,25 @@ typeof HTMLElement == "function" && (B = class extends HTMLElement {
377
377
  }
378
378
  }
379
379
  });
380
- const i = () => {
380
+ const s = () => {
381
381
  this.$$r = !0;
382
- for (const s in this.$$p_d)
383
- if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
384
- const o = g(
385
- s,
386
- this.$$d[s],
382
+ for (const i in this.$$p_d)
383
+ if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
384
+ const r = b(
385
+ i,
386
+ this.$$d[i],
387
387
  this.$$p_d,
388
388
  "toAttribute"
389
389
  );
390
- o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
390
+ r == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, r);
391
391
  }
392
392
  this.$$r = !1;
393
393
  };
394
- this.$$c.$$.after_update.push(i), i();
395
- for (const s in this.$$l)
396
- for (const o of this.$$l[s]) {
397
- const u = this.$$c.$on(s, o);
398
- this.$$l_u.set(o, u);
394
+ this.$$c.$$.after_update.push(s), s();
395
+ for (const i in this.$$l)
396
+ for (const r of this.$$l[i]) {
397
+ const o = this.$$c.$on(i, r);
398
+ this.$$l_u.set(r, o);
399
399
  }
400
400
  this.$$l = {};
401
401
  }
@@ -403,7 +403,7 @@ typeof HTMLElement == "function" && (B = class extends HTMLElement {
403
403
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
404
404
  // and setting attributes through setAttribute etc, this is helpful
405
405
  attributeChangedCallback(t, e, n) {
406
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = g(t, n, this.$$p_d, "toProp"), this.$$c?.$set({ [t]: this.$$d[t] }));
406
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = b(t, n, this.$$p_d, "toProp"), this.$$c?.$set({ [t]: this.$$d[t] }));
407
407
  }
408
408
  disconnectedCallback() {
409
409
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -416,12 +416,12 @@ typeof HTMLElement == "function" && (B = class extends HTMLElement {
416
416
  ) || t;
417
417
  }
418
418
  });
419
- function g(t, e, n, i) {
420
- const s = n[t]?.type;
421
- if (e = s === "Boolean" && typeof e != "boolean" ? e != null : e, !i || !n[t])
419
+ function b(t, e, n, s) {
420
+ const i = n[t]?.type;
421
+ if (e = i === "Boolean" && typeof e != "boolean" ? e != null : e, !s || !n[t])
422
422
  return e;
423
- if (i === "toAttribute")
424
- switch (s) {
423
+ if (s === "toAttribute")
424
+ switch (i) {
425
425
  case "Object":
426
426
  case "Array":
427
427
  return e == null ? null : JSON.stringify(e);
@@ -433,7 +433,7 @@ function g(t, e, n, i) {
433
433
  return e;
434
434
  }
435
435
  else
436
- switch (s) {
436
+ switch (i) {
437
437
  case "Object":
438
438
  case "Array":
439
439
  return e && JSON.parse(e);
@@ -445,36 +445,36 @@ function g(t, e, n, i) {
445
445
  return e;
446
446
  }
447
447
  }
448
- function ot(t, e, n, i, s, o) {
449
- let u = class extends B {
448
+ function ot(t, e, n, s, i, r) {
449
+ let o = class extends H {
450
450
  constructor() {
451
- super(t, n, s), this.$$p_d = e;
451
+ super(t, n, i), this.$$p_d = e;
452
452
  }
453
453
  static get observedAttributes() {
454
454
  return Object.keys(e).map(
455
- (c) => (e[c].attribute || c).toLowerCase()
455
+ (l) => (e[l].attribute || l).toLowerCase()
456
456
  );
457
457
  }
458
458
  };
459
- return Object.keys(e).forEach((c) => {
460
- Object.defineProperty(u.prototype, c, {
459
+ return Object.keys(e).forEach((l) => {
460
+ Object.defineProperty(o.prototype, l, {
461
461
  get() {
462
- return this.$$c && c in this.$$c ? this.$$c[c] : this.$$d[c];
462
+ return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
463
463
  },
464
- set(l) {
465
- l = g(c, l, e), this.$$d[c] = l, this.$$c?.$set({ [c]: l });
464
+ set(c) {
465
+ c = b(l, c, e), this.$$d[l] = c, this.$$c?.$set({ [l]: c });
466
466
  }
467
467
  });
468
- }), i.forEach((c) => {
469
- Object.defineProperty(u.prototype, c, {
468
+ }), s.forEach((l) => {
469
+ Object.defineProperty(o.prototype, l, {
470
470
  get() {
471
- return this.$$c?.[c];
471
+ return this.$$c?.[l];
472
472
  }
473
473
  });
474
474
  }), t.element = /** @type {any} */
475
- u, u;
475
+ o, o;
476
476
  }
477
- class ct {
477
+ class lt {
478
478
  /**
479
479
  * ### PRIVATE API
480
480
  *
@@ -493,7 +493,7 @@ class ct {
493
493
  $$set = void 0;
494
494
  /** @returns {void} */
495
495
  $destroy() {
496
- st(this, 1), this.$destroy = d;
496
+ it(this, 1), this.$destroy = d;
497
497
  }
498
498
  /**
499
499
  * @template {Extract<keyof Events, string>} K
@@ -502,12 +502,12 @@ class ct {
502
502
  * @returns {() => void}
503
503
  */
504
504
  $on(e, n) {
505
- if (!M(n))
505
+ if (!O(n))
506
506
  return d;
507
- const i = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
508
- return i.push(n), () => {
509
- const s = i.indexOf(n);
510
- s !== -1 && i.splice(s, 1);
507
+ const s = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
508
+ return s.push(n), () => {
509
+ const i = s.indexOf(n);
510
+ i !== -1 && s.splice(i, 1);
511
511
  };
512
512
  }
513
513
  /**
@@ -515,115 +515,150 @@ class ct {
515
515
  * @returns {void}
516
516
  */
517
517
  $set(e) {
518
- this.$$set && !G(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
518
+ this.$$set && !U(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
519
+ }
520
+ }
521
+ const ut = "4";
522
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ut);
523
+ function ft(t, e) {
524
+ if (t) {
525
+ const n = document.createElement("style");
526
+ n.innerHTML = e, t.appendChild(n);
527
+ }
528
+ }
529
+ function dt(t, e) {
530
+ const n = new URL(e);
531
+ fetch(n.href).then((s) => s.text()).then((s) => {
532
+ const i = document.createElement("style");
533
+ i.innerHTML = s, t && t.appendChild(i);
534
+ }).catch((s) => {
535
+ console.error("There was an error while trying to load client styling from URL", s);
536
+ });
537
+ }
538
+ function at(t, e, n) {
539
+ if (window.emMessageBus) {
540
+ const s = document.createElement("style");
541
+ window.emMessageBus.subscribe(e, (i) => {
542
+ s.innerHTML = i, t && t.appendChild(s);
543
+ });
519
544
  }
520
545
  }
521
- const lt = "4";
522
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(lt);
523
- function ut(t) {
524
- D(t, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
546
+ function ht(t) {
547
+ I(t, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
525
548
  }
526
- function ft(t) {
549
+ function $t(t) {
527
550
  let e;
528
551
  return {
529
552
  c() {
530
- e = x("div"), e.innerHTML = '<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
553
+ e = w("div"), e.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
531
554
  },
532
- m(n, i) {
533
- C(n, e, i), t[3](e);
555
+ m(n, s) {
556
+ k(n, e, s), t[4](e);
534
557
  },
535
558
  p: d,
536
559
  i: d,
537
560
  o: d,
538
561
  d(n) {
539
- n && w(e), t[3](null);
562
+ n && y(e), t[4](null);
540
563
  }
541
564
  };
542
565
  }
543
- function dt(t, e, n) {
544
- let { clientstyling: i = "" } = e, { clientstylingurl: s = "" } = e, o;
545
- const u = () => {
546
- let r = document.createElement("style");
547
- r.innerHTML = i, o.appendChild(r);
548
- }, c = () => {
549
- let r = new URL(s), _ = document.createElement("style");
550
- fetch(r.href).then((f) => f.text()).then((f) => {
551
- _.innerHTML = f, setTimeout(
552
- () => {
553
- o.appendChild(_);
554
- },
555
- 1
556
- ), setTimeout(
557
- () => {
558
- },
559
- 500
560
- );
561
- });
562
- };
563
- function l(r) {
564
- L[r ? "unshift" : "push"](() => {
565
- o = r, n(0, o);
566
+ function mt(t, e, n) {
567
+ let { clientstyling: s = "" } = e, { clientstylingurl: i = "" } = e, { mbsource: r } = e, o;
568
+ W(() => () => {
569
+ });
570
+ function l(c) {
571
+ E[c ? "unshift" : "push"](() => {
572
+ o = c, n(0, o);
566
573
  });
567
574
  }
568
- return t.$$set = (r) => {
569
- "clientstyling" in r && n(1, i = r.clientstyling), "clientstylingurl" in r && n(2, s = r.clientstylingurl);
575
+ return t.$$set = (c) => {
576
+ "clientstyling" in c && n(1, s = c.clientstyling), "clientstylingurl" in c && n(2, i = c.clientstylingurl), "mbsource" in c && n(3, r = c.mbsource);
570
577
  }, t.$$.update = () => {
571
578
  t.$$.dirty & /*clientstyling, customStylingContainer*/
572
- 3 && i && o && u(), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
573
- 5 && s && o && c();
574
- }, [o, i, s, l];
575
- }
576
- class R extends ct {
579
+ 3 && s && o && ft(o, s), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
580
+ 5 && i && o && dt(o, i), t.$$.dirty & /*mbsource, customStylingContainer*/
581
+ 9 && r && o && at(o, `${r}.Style`);
582
+ }, [
583
+ o,
584
+ s,
585
+ i,
586
+ r,
587
+ l
588
+ ];
589
+ }
590
+ class R extends lt {
577
591
  constructor(e) {
578
- super(), rt(this, e, dt, ft, z, { clientstyling: 1, clientstylingurl: 2 }, ut);
592
+ super(), ct(
593
+ this,
594
+ e,
595
+ mt,
596
+ $t,
597
+ z,
598
+ {
599
+ clientstyling: 1,
600
+ clientstylingurl: 2,
601
+ mbsource: 3
602
+ },
603
+ ht
604
+ );
579
605
  }
580
606
  get clientstyling() {
581
607
  return this.$$.ctx[1];
582
608
  }
583
609
  set clientstyling(e) {
584
- this.$$set({ clientstyling: e }), y();
610
+ this.$$set({ clientstyling: e }), _();
585
611
  }
586
612
  get clientstylingurl() {
587
613
  return this.$$.ctx[2];
588
614
  }
589
615
  set clientstylingurl(e) {
590
- this.$$set({ clientstylingurl: e }), y();
616
+ this.$$set({ clientstylingurl: e }), _();
617
+ }
618
+ get mbsource() {
619
+ return this.$$.ctx[3];
620
+ }
621
+ set mbsource(e) {
622
+ this.$$set({ mbsource: e }), _();
591
623
  }
592
624
  }
593
- ot(R, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
594
- const Et = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
625
+ ot(R, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
626
+ const kt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
595
627
  __proto__: null,
596
628
  default: R
597
629
  }, Symbol.toStringTag, { value: "Module" }));
598
630
  export {
599
631
  gt as A,
600
- Et as G,
601
- bt as H,
602
- ct as S,
603
- z as a,
604
- rt as b,
632
+ ft as B,
633
+ dt as C,
634
+ at as D,
635
+ kt as G,
636
+ Lt as H,
637
+ lt as S,
638
+ D as a,
639
+ ct as b,
605
640
  ot as c,
606
- V as d,
607
- H as e,
608
- C as f,
609
- U as g,
610
- w as h,
611
- M as i,
612
- y as j,
613
- D as k,
614
- x as l,
615
- ht as m,
641
+ y as d,
642
+ k as e,
643
+ G as f,
644
+ V as g,
645
+ B as h,
646
+ O as i,
647
+ _ as j,
648
+ I as k,
649
+ w as l,
650
+ _t as m,
616
651
  d as n,
617
- at as o,
618
- wt as p,
619
- L as q,
620
- b as r,
621
- I as s,
622
- xt as t,
623
- $t as u,
624
- _t as v,
625
- mt as w,
626
- pt as x,
627
- P as y,
652
+ W as o,
653
+ E as p,
654
+ xt as q,
655
+ p as r,
656
+ z as s,
657
+ Et as t,
658
+ P as u,
659
+ vt as v,
660
+ bt as w,
661
+ wt as x,
662
+ pt as y,
628
663
  yt as z
629
664
  };