@everymatrix/casino-engagement-suite-container 1.85.17 → 1.85.18

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.
@@ -40,7 +40,7 @@ function R() {
40
40
  function w(e) {
41
41
  e.forEach(H);
42
42
  }
43
- function U(e) {
43
+ function I(e) {
44
44
  return typeof e == "function";
45
45
  }
46
46
  function q(e, t) {
@@ -55,7 +55,7 @@ function Q(e, t) {
55
55
  function W(e, t, n) {
56
56
  const i = X(e);
57
57
  if (!i.getElementById(t)) {
58
- const r = S("style");
58
+ const r = j("style");
59
59
  r.id = t, r.textContent = n, Y(i, r);
60
60
  }
61
61
  }
@@ -76,13 +76,13 @@ function Y(e, t) {
76
76
  t
77
77
  ), t.sheet;
78
78
  }
79
- function I(e, t, n) {
79
+ function U(e, t, n) {
80
80
  e.insertBefore(t, n || null);
81
81
  }
82
82
  function C(e) {
83
83
  e.parentNode && e.parentNode.removeChild(e);
84
84
  }
85
- function S(e) {
85
+ function j(e) {
86
86
  return document.createElement(e);
87
87
  }
88
88
  function Z(e, t, n) {
@@ -167,7 +167,7 @@ function ut(e, t) {
167
167
  function dt(e, t, n) {
168
168
  const { fragment: i, after_update: r } = e.$$;
169
169
  i && i.m(t, n), L(() => {
170
- const s = e.$$.on_mount.map(H).filter(U);
170
+ const s = e.$$.on_mount.map(H).filter(I);
171
171
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : w(s), e.$$.on_mount = [];
172
172
  }), r.forEach(L);
173
173
  }
@@ -204,9 +204,9 @@ function at(e, t, n, i, r, s, c = null, u = [-1]) {
204
204
  };
205
205
  c && c(l.root);
206
206
  let y = !1;
207
- if (l.ctx = n ? n(e, t.props || {}, (f, j, ...O) => {
208
- const A = O.length ? O[0] : j;
209
- return l.ctx && r(l.ctx[f], l.ctx[f] = A) && (!l.skip_bound && l.bound[f] && l.bound[f](A), y && $t(e, f)), j;
207
+ if (l.ctx = n ? n(e, t.props || {}, (f, O, ...S) => {
208
+ const A = S.length ? S[0] : O;
209
+ return l.ctx && r(l.ctx[f], l.ctx[f] = A) && (!l.skip_bound && l.bound[f] && l.bound[f](A), y && $t(e, f)), O;
210
210
  }) : [], l.update(), y = !0, w(l.before_update), l.fragment = i ? i(l.ctx) : !1, t.target) {
211
211
  if (t.hydrate) {
212
212
  const f = tt(t.target);
@@ -262,14 +262,14 @@ typeof HTMLElement == "function" && (z = class extends HTMLElement {
262
262
  let c;
263
263
  return {
264
264
  c: function() {
265
- c = S("slot"), s !== "default" && Z(c, "name", s);
265
+ c = j("slot"), s !== "default" && Z(c, "name", s);
266
266
  },
267
267
  /**
268
268
  * @param {HTMLElement} target
269
269
  * @param {HTMLElement} [anchor]
270
270
  */
271
271
  m: function(l, y) {
272
- I(l, c, y);
272
+ U(l, c, y);
273
273
  },
274
274
  d: function(l) {
275
275
  l && C(c);
@@ -429,7 +429,7 @@ class _t {
429
429
  * @returns {() => void}
430
430
  */
431
431
  $on(t, n) {
432
- if (!U(n))
432
+ if (!I(n))
433
433
  return h;
434
434
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
435
435
  return i.push(n), () => {
@@ -454,6 +454,8 @@ function pt(e, t) {
454
454
  }
455
455
  }
456
456
  function gt(e, t) {
457
+ if (!e || !t)
458
+ return;
457
459
  const n = new URL(t);
458
460
  fetch(n.href).then((i) => i.text()).then((i) => {
459
461
  const r = document.createElement("style");
@@ -477,10 +479,10 @@ function wt(e) {
477
479
  let t;
478
480
  return {
479
481
  c() {
480
- t = S("div"), t.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
482
+ t = j("div"), t.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
481
483
  },
482
484
  m(n, i) {
483
- I(n, t, i), e[4](t);
485
+ U(n, t, i), e[4](t);
484
486
  },
485
487
  p: h,
486
488
  i: h,
@@ -5607,7 +5607,7 @@ if (typeof window != "undefined") {
5607
5607
  }
5608
5608
  };
5609
5609
  };
5610
- customElements.define = n(customElements.define), Promise.resolve().then(function () { return require('./GeneralAnimationLoading-Dqt0LPDS-f4efe4bd.js'); }).then(({ default: t }) => {
5610
+ customElements.define = n(customElements.define), Promise.resolve().then(function () { return require('./GeneralAnimationLoading-CUfTTC1c-9a1e2bbd.js'); }).then(({ default: t }) => {
5611
5611
  !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
5612
5612
  });
5613
5613
  }
@@ -7389,6 +7389,8 @@ function setClientStyling(stylingContainer, clientStyling) {
7389
7389
  * @param {string} clientStylingUrl The URL of the style content
7390
7390
  */
7391
7391
  function setClientStylingURL(stylingContainer, clientStylingUrl) {
7392
+ if (!stylingContainer || !clientStylingUrl) return;
7393
+
7392
7394
  const url = new URL(clientStylingUrl);
7393
7395
 
7394
7396
  fetch(url.href)
@@ -38,7 +38,7 @@ function R() {
38
38
  function w(e) {
39
39
  e.forEach(H);
40
40
  }
41
- function U(e) {
41
+ function I(e) {
42
42
  return typeof e == "function";
43
43
  }
44
44
  function q(e, t) {
@@ -53,7 +53,7 @@ function Q(e, t) {
53
53
  function W(e, t, n) {
54
54
  const i = X(e);
55
55
  if (!i.getElementById(t)) {
56
- const r = S("style");
56
+ const r = j("style");
57
57
  r.id = t, r.textContent = n, Y(i, r);
58
58
  }
59
59
  }
@@ -74,13 +74,13 @@ function Y(e, t) {
74
74
  t
75
75
  ), t.sheet;
76
76
  }
77
- function I(e, t, n) {
77
+ function U(e, t, n) {
78
78
  e.insertBefore(t, n || null);
79
79
  }
80
80
  function C(e) {
81
81
  e.parentNode && e.parentNode.removeChild(e);
82
82
  }
83
- function S(e) {
83
+ function j(e) {
84
84
  return document.createElement(e);
85
85
  }
86
86
  function Z(e, t, n) {
@@ -165,7 +165,7 @@ function ut(e, t) {
165
165
  function dt(e, t, n) {
166
166
  const { fragment: i, after_update: r } = e.$$;
167
167
  i && i.m(t, n), L(() => {
168
- const s = e.$$.on_mount.map(H).filter(U);
168
+ const s = e.$$.on_mount.map(H).filter(I);
169
169
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : w(s), e.$$.on_mount = [];
170
170
  }), r.forEach(L);
171
171
  }
@@ -202,9 +202,9 @@ function at(e, t, n, i, r, s, c = null, u = [-1]) {
202
202
  };
203
203
  c && c(l.root);
204
204
  let y = !1;
205
- if (l.ctx = n ? n(e, t.props || {}, (f, j, ...O) => {
206
- const A = O.length ? O[0] : j;
207
- return l.ctx && r(l.ctx[f], l.ctx[f] = A) && (!l.skip_bound && l.bound[f] && l.bound[f](A), y && $t(e, f)), j;
205
+ if (l.ctx = n ? n(e, t.props || {}, (f, O, ...S) => {
206
+ const A = S.length ? S[0] : O;
207
+ return l.ctx && r(l.ctx[f], l.ctx[f] = A) && (!l.skip_bound && l.bound[f] && l.bound[f](A), y && $t(e, f)), O;
208
208
  }) : [], l.update(), y = !0, w(l.before_update), l.fragment = i ? i(l.ctx) : !1, t.target) {
209
209
  if (t.hydrate) {
210
210
  const f = tt(t.target);
@@ -260,14 +260,14 @@ typeof HTMLElement == "function" && (z = class extends HTMLElement {
260
260
  let c;
261
261
  return {
262
262
  c: function() {
263
- c = S("slot"), s !== "default" && Z(c, "name", s);
263
+ c = j("slot"), s !== "default" && Z(c, "name", s);
264
264
  },
265
265
  /**
266
266
  * @param {HTMLElement} target
267
267
  * @param {HTMLElement} [anchor]
268
268
  */
269
269
  m: function(l, y) {
270
- I(l, c, y);
270
+ U(l, c, y);
271
271
  },
272
272
  d: function(l) {
273
273
  l && C(c);
@@ -427,7 +427,7 @@ class _t {
427
427
  * @returns {() => void}
428
428
  */
429
429
  $on(t, n) {
430
- if (!U(n))
430
+ if (!I(n))
431
431
  return h;
432
432
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
433
433
  return i.push(n), () => {
@@ -452,6 +452,8 @@ function pt(e, t) {
452
452
  }
453
453
  }
454
454
  function gt(e, t) {
455
+ if (!e || !t)
456
+ return;
455
457
  const n = new URL(t);
456
458
  fetch(n.href).then((i) => i.text()).then((i) => {
457
459
  const r = document.createElement("style");
@@ -475,10 +477,10 @@ function wt(e) {
475
477
  let t;
476
478
  return {
477
479
  c() {
478
- t = S("div"), t.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
480
+ t = j("div"), t.innerHTML = '<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>';
479
481
  },
480
482
  m(n, i) {
481
- I(n, t, i), e[4](t);
483
+ U(n, t, i), e[4](t);
482
484
  },
483
485
  p: h,
484
486
  i: h,
@@ -5603,7 +5603,7 @@ if (typeof window != "undefined") {
5603
5603
  }
5604
5604
  };
5605
5605
  };
5606
- customElements.define = n(customElements.define), import('./GeneralAnimationLoading-Dqt0LPDS-2e1c11e3.js').then(({ default: t }) => {
5606
+ customElements.define = n(customElements.define), import('./GeneralAnimationLoading-CUfTTC1c-c7737a7d.js').then(({ default: t }) => {
5607
5607
  !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
5608
5608
  });
5609
5609
  }
@@ -7385,6 +7385,8 @@ function setClientStyling(stylingContainer, clientStyling) {
7385
7385
  * @param {string} clientStylingUrl The URL of the style content
7386
7386
  */
7387
7387
  function setClientStylingURL(stylingContainer, clientStylingUrl) {
7388
+ if (!stylingContainer || !clientStylingUrl) return;
7389
+
7388
7390
  const url = new URL(clientStylingUrl);
7389
7391
 
7390
7392
  fetch(url.href)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-engagement-suite-container",
3
- "version": "1.85.17",
3
+ "version": "1.85.18",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.js",
6
6
  "es2015": "./dist/esm/index.mjs",