@everymatrix/casino-last-played-section-nd 1.74.5 → 1.74.7

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.
@@ -88,17 +88,17 @@ function we(s) {
88
88
  e,
89
89
  "favorites",
90
90
  /*favorites*/
91
- s[15]
91
+ s[16]
92
92
  ), n(
93
93
  e,
94
94
  "fetchviaevent",
95
95
  /*fetchviaevent*/
96
- s[17]
96
+ s[18]
97
97
  ), n(e, "categoryid", "LASTPLAYED"), n(e, "categoryindex", "1"), n(e, "categorygames", "9"), n(e, "class", "CategoryContainer"), n(
98
98
  e,
99
99
  "showgamename",
100
100
  /*showgamename*/
101
- s[13]
101
+ s[14]
102
102
  ), n(
103
103
  e,
104
104
  "clientstyling",
@@ -109,36 +109,41 @@ function we(s) {
109
109
  "clientstylingurl",
110
110
  /*clientstylingurl*/
111
111
  s[8]
112
+ ), n(
113
+ e,
114
+ "translationurl",
115
+ /*translationurl*/
116
+ s[9]
112
117
  ), n(
113
118
  e,
114
119
  "livecasino",
115
120
  /*livecasino*/
116
- s[9]
121
+ s[10]
117
122
  ), n(
118
123
  e,
119
124
  "visiblegames",
120
125
  /*visiblegames*/
121
- s[14]
126
+ s[15]
122
127
  ), n(
123
128
  e,
124
129
  "gamepagemodalurl",
125
130
  /*gamepagemodalurl*/
126
- s[12]
131
+ s[13]
127
132
  ), n(
128
133
  e,
129
134
  "integratedgameframedesktop",
130
135
  /*integratedgameframedesktop*/
131
- s[11]
136
+ s[12]
132
137
  ), n(
133
138
  e,
134
139
  "integratedgameframemobile",
135
140
  /*integratedgameframemobile*/
136
- s[10]
141
+ s[11]
137
142
  ), n(
138
143
  e,
139
144
  "casinomygames",
140
145
  /*casinomygames*/
141
- s[16]
146
+ s[17]
142
147
  ), n(
143
148
  e,
144
149
  "mbsource",
@@ -187,23 +192,23 @@ function we(s) {
187
192
  /*currency*/
188
193
  t[2]
189
194
  ), i[0] & /*favorites*/
190
- 32768 && n(
195
+ 65536 && n(
191
196
  e,
192
197
  "favorites",
193
198
  /*favorites*/
194
- t[15]
199
+ t[16]
195
200
  ), i[0] & /*fetchviaevent*/
196
- 131072 && n(
201
+ 262144 && n(
197
202
  e,
198
203
  "fetchviaevent",
199
204
  /*fetchviaevent*/
200
- t[17]
205
+ t[18]
201
206
  ), i[0] & /*showgamename*/
202
- 8192 && n(
207
+ 16384 && n(
203
208
  e,
204
209
  "showgamename",
205
210
  /*showgamename*/
206
- t[13]
211
+ t[14]
207
212
  ), i[0] & /*clientstyling*/
208
213
  128 && n(
209
214
  e,
@@ -216,42 +221,48 @@ function we(s) {
216
221
  "clientstylingurl",
217
222
  /*clientstylingurl*/
218
223
  t[8]
219
- ), i[0] & /*livecasino*/
224
+ ), i[0] & /*translationurl*/
220
225
  512 && n(
226
+ e,
227
+ "translationurl",
228
+ /*translationurl*/
229
+ t[9]
230
+ ), i[0] & /*livecasino*/
231
+ 1024 && n(
221
232
  e,
222
233
  "livecasino",
223
234
  /*livecasino*/
224
- t[9]
235
+ t[10]
225
236
  ), i[0] & /*visiblegames*/
226
- 16384 && n(
237
+ 32768 && n(
227
238
  e,
228
239
  "visiblegames",
229
240
  /*visiblegames*/
230
- t[14]
241
+ t[15]
231
242
  ), i[0] & /*gamepagemodalurl*/
232
- 4096 && n(
243
+ 8192 && n(
233
244
  e,
234
245
  "gamepagemodalurl",
235
246
  /*gamepagemodalurl*/
236
- t[12]
247
+ t[13]
237
248
  ), i[0] & /*integratedgameframedesktop*/
238
- 2048 && n(
249
+ 4096 && n(
239
250
  e,
240
251
  "integratedgameframedesktop",
241
252
  /*integratedgameframedesktop*/
242
- t[11]
253
+ t[12]
243
254
  ), i[0] & /*integratedgameframemobile*/
244
- 1024 && n(
255
+ 2048 && n(
245
256
  e,
246
257
  "integratedgameframemobile",
247
258
  /*integratedgameframemobile*/
248
- t[10]
259
+ t[11]
249
260
  ), i[0] & /*casinomygames*/
250
- 65536 && n(
261
+ 131072 && n(
251
262
  e,
252
263
  "casinomygames",
253
264
  /*casinomygames*/
254
- t[16]
265
+ t[17]
255
266
  ), i[0] & /*mbsource*/
256
267
  64 && n(
257
268
  e,
@@ -268,7 +279,7 @@ function we(s) {
268
279
  function _e(s) {
269
280
  let e, t = (
270
281
  /*$_*/
271
- s[20]("noRecentGames") + ""
282
+ s[21]("noRecentGames") + ""
272
283
  ), i;
273
284
  return {
274
285
  c() {
@@ -279,8 +290,8 @@ function _e(s) {
279
290
  },
280
291
  p(o, r) {
281
292
  r[0] & /*$_*/
282
- 1048576 && t !== (t = /*$_*/
283
- o[20]("noRecentGames") + "") && fe(i, t);
293
+ 2097152 && t !== (t = /*$_*/
294
+ o[21]("noRecentGames") + "") && fe(i, t);
284
295
  },
285
296
  d(o) {
286
297
  o && D(e);
@@ -292,7 +303,7 @@ function ke(s) {
292
303
  function i(m, d) {
293
304
  return (
294
305
  /*lastPlayedEmpty*/
295
- m[19] ? _e : we
306
+ m[20] ? _e : we
296
307
  );
297
308
  }
298
309
  let o = i(s), r = o(s);
@@ -315,7 +326,7 @@ function ke(s) {
315
326
  }
316
327
  function Le(s, e, t) {
317
328
  let i;
318
- re(s, he, (a) => t(20, i = a));
329
+ re(s, he, (a) => t(21, i = a));
319
330
  let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: M = "" } = e, { userid: y = "" } = e, { mbsource: b } = e, { clientstyling: v = "" } = e, { clientstylingurl: w = "" } = e, { translationurl: _ = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: N = "false" } = e, { integratedgameframedesktop: z = "false" } = e, { gamepagemodalurl: F = "false" } = e, { showgamename: O = "" } = e, { visiblegames: C = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: S = "Last30Days" } = e, { lastplayedorder: j = "" } = e, { lastplayedlimit: G = "" } = e, { casinomygames: R = "false" } = e, { lastplayedunique: q = "true" } = e, { fetchviaevent: U = "true" } = e, K = window.navigator.userAgent, Y = !1, L = [], I, f;
320
331
  const Q = () => {
321
332
  fetch(_).then((g) => g.json()).then((g) => {
@@ -356,7 +367,7 @@ function Le(s, e, t) {
356
367
  L = c.filter((h) => !("error" in h)).map((h) => h[0]), R === "true" && (L = L.slice(0, JSON.parse(C))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: L }, window.location.href);
357
368
  });
358
369
  } else
359
- t(19, Y = !0);
370
+ t(20, Y = !0);
360
371
  });
361
372
  }, p = () => {
362
373
  be(d);
@@ -365,18 +376,18 @@ function Le(s, e, t) {
365
376
  });
366
377
  function x(a) {
367
378
  me[a ? "unshift" : "push"](() => {
368
- f = a, t(18, f);
379
+ f = a, t(19, f);
369
380
  });
370
381
  }
371
382
  return s.$$set = (a) => {
372
- "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, M = a.session), "userid" in a && t(5, y = a.userid), "mbsource" in a && t(6, b = a.mbsource), "clientstyling" in a && t(7, v = a.clientstyling), "clientstylingurl" in a && t(8, w = a.clientstylingurl), "translationurl" in a && t(21, _ = a.translationurl), "livecasino" in a && t(9, k = a.livecasino), "integratedgameframemobile" in a && t(10, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(11, z = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(12, F = a.gamepagemodalurl), "showgamename" in a && t(13, O = a.showgamename), "visiblegames" in a && t(14, C = a.visiblegames), "favorites" in a && t(15, T = a.favorites), "lastplayedperiod" in a && t(22, S = a.lastplayedperiod), "lastplayedorder" in a && t(23, j = a.lastplayedorder), "lastplayedlimit" in a && t(24, G = a.lastplayedlimit), "casinomygames" in a && t(16, R = a.casinomygames), "lastplayedunique" in a && t(25, q = a.lastplayedunique), "fetchviaevent" in a && t(17, U = a.fetchviaevent);
383
+ "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, M = a.session), "userid" in a && t(5, y = a.userid), "mbsource" in a && t(6, b = a.mbsource), "clientstyling" in a && t(7, v = a.clientstyling), "clientstylingurl" in a && t(8, w = a.clientstylingurl), "translationurl" in a && t(9, _ = a.translationurl), "livecasino" in a && t(10, k = a.livecasino), "integratedgameframemobile" in a && t(11, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(12, z = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(13, F = a.gamepagemodalurl), "showgamename" in a && t(14, O = a.showgamename), "visiblegames" in a && t(15, C = a.visiblegames), "favorites" in a && t(16, T = a.favorites), "lastplayedperiod" in a && t(22, S = a.lastplayedperiod), "lastplayedorder" in a && t(23, j = a.lastplayedorder), "lastplayedlimit" in a && t(24, G = a.lastplayedlimit), "casinomygames" in a && t(17, R = a.casinomygames), "lastplayedunique" in a && t(25, q = a.lastplayedunique), "fetchviaevent" in a && t(18, U = a.fetchviaevent);
373
384
  }, s.$$.update = () => {
374
385
  s.$$.dirty[0] & /*endpoint, userid, lang*/
375
386
  41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
376
- 2097152 && _ && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
377
- 262272 && v && f && ge(f, v), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
378
- 262400 && w && f && ce(f, w), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
379
- 262208 && b && f && ue(f, `${b}.Style`), s.$$.dirty[0] & /*lang*/
387
+ 512 && _ && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
388
+ 524416 && v && f && ge(f, v), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
389
+ 524544 && w && f && ce(f, w), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
390
+ 524352 && b && f && ue(f, `${b}.Style`), s.$$.dirty[0] & /*lang*/
380
391
  8 && d && p();
381
392
  }, [
382
393
  o,
@@ -388,6 +399,7 @@ function Le(s, e, t) {
388
399
  b,
389
400
  v,
390
401
  w,
402
+ _,
391
403
  k,
392
404
  N,
393
405
  z,
@@ -400,7 +412,6 @@ function Le(s, e, t) {
400
412
  f,
401
413
  Y,
402
414
  i,
403
- _,
404
415
  S,
405
416
  j,
406
417
  G,
@@ -426,20 +437,20 @@ class Pe extends se {
426
437
  mbsource: 6,
427
438
  clientstyling: 7,
428
439
  clientstylingurl: 8,
429
- translationurl: 21,
430
- livecasino: 9,
431
- integratedgameframemobile: 10,
432
- integratedgameframedesktop: 11,
433
- gamepagemodalurl: 12,
434
- showgamename: 13,
435
- visiblegames: 14,
436
- favorites: 15,
440
+ translationurl: 9,
441
+ livecasino: 10,
442
+ integratedgameframemobile: 11,
443
+ integratedgameframedesktop: 12,
444
+ gamepagemodalurl: 13,
445
+ showgamename: 14,
446
+ visiblegames: 15,
447
+ favorites: 16,
437
448
  lastplayedperiod: 22,
438
449
  lastplayedorder: 23,
439
450
  lastplayedlimit: 24,
440
- casinomygames: 16,
451
+ casinomygames: 17,
441
452
  lastplayedunique: 25,
442
- fetchviaevent: 17
453
+ fetchviaevent: 18
443
454
  },
444
455
  ve,
445
456
  [-1, -1]
@@ -500,49 +511,49 @@ class Pe extends se {
500
511
  this.$$set({ clientstylingurl: e }), l();
501
512
  }
502
513
  get translationurl() {
503
- return this.$$.ctx[21];
514
+ return this.$$.ctx[9];
504
515
  }
505
516
  set translationurl(e) {
506
517
  this.$$set({ translationurl: e }), l();
507
518
  }
508
519
  get livecasino() {
509
- return this.$$.ctx[9];
520
+ return this.$$.ctx[10];
510
521
  }
511
522
  set livecasino(e) {
512
523
  this.$$set({ livecasino: e }), l();
513
524
  }
514
525
  get integratedgameframemobile() {
515
- return this.$$.ctx[10];
526
+ return this.$$.ctx[11];
516
527
  }
517
528
  set integratedgameframemobile(e) {
518
529
  this.$$set({ integratedgameframemobile: e }), l();
519
530
  }
520
531
  get integratedgameframedesktop() {
521
- return this.$$.ctx[11];
532
+ return this.$$.ctx[12];
522
533
  }
523
534
  set integratedgameframedesktop(e) {
524
535
  this.$$set({ integratedgameframedesktop: e }), l();
525
536
  }
526
537
  get gamepagemodalurl() {
527
- return this.$$.ctx[12];
538
+ return this.$$.ctx[13];
528
539
  }
529
540
  set gamepagemodalurl(e) {
530
541
  this.$$set({ gamepagemodalurl: e }), l();
531
542
  }
532
543
  get showgamename() {
533
- return this.$$.ctx[13];
544
+ return this.$$.ctx[14];
534
545
  }
535
546
  set showgamename(e) {
536
547
  this.$$set({ showgamename: e }), l();
537
548
  }
538
549
  get visiblegames() {
539
- return this.$$.ctx[14];
550
+ return this.$$.ctx[15];
540
551
  }
541
552
  set visiblegames(e) {
542
553
  this.$$set({ visiblegames: e }), l();
543
554
  }
544
555
  get favorites() {
545
- return this.$$.ctx[15];
556
+ return this.$$.ctx[16];
546
557
  }
547
558
  set favorites(e) {
548
559
  this.$$set({ favorites: e }), l();
@@ -566,7 +577,7 @@ class Pe extends se {
566
577
  this.$$set({ lastplayedlimit: e }), l();
567
578
  }
568
579
  get casinomygames() {
569
- return this.$$.ctx[16];
580
+ return this.$$.ctx[17];
570
581
  }
571
582
  set casinomygames(e) {
572
583
  this.$$set({ casinomygames: e }), l();
@@ -578,7 +589,7 @@ class Pe extends se {
578
589
  this.$$set({ lastplayedunique: e }), l();
579
590
  }
580
591
  get fetchviaevent() {
581
- return this.$$.ctx[17];
592
+ return this.$$.ctx[18];
582
593
  }
583
594
  set fetchviaevent(e) {
584
595
  this.$$set({ fetchviaevent: e }), l();
@@ -1,4 +1,4 @@
1
- import { a as ee, $ as te, S as ae, i as se, f as l, c as ne, s as ie, b as le, e as P, j as A, k as E, l as Z, n as B, m as D, o as re, p as oe, q as ce, r as ue, A as me, B as ge, h as n, v as de, x as fe, G as he, z as ye } from "./CasinoFilter-BS4Vz-Dx.js";
1
+ import { a as ee, $ as te, S as ae, i as se, f as l, c as ne, s as ie, b as le, e as P, j as A, k as E, l as Z, n as B, m as D, o as re, p as oe, q as ue, r as ce, A as me, B as ge, h as n, v as de, x as fe, G as he, z as ye } from "./CasinoFilter-BS4Vz-Dx.js";
2
2
  function H(s, e) {
3
3
  ee(s, e);
4
4
  }
@@ -88,17 +88,17 @@ function we(s) {
88
88
  e,
89
89
  "favorites",
90
90
  /*favorites*/
91
- s[15]
91
+ s[16]
92
92
  ), n(
93
93
  e,
94
94
  "fetchviaevent",
95
95
  /*fetchviaevent*/
96
- s[17]
96
+ s[18]
97
97
  ), n(e, "categoryid", "LASTPLAYED"), n(e, "categoryindex", "1"), n(e, "categorygames", "9"), n(e, "class", "CategoryContainer"), n(
98
98
  e,
99
99
  "showgamename",
100
100
  /*showgamename*/
101
- s[13]
101
+ s[14]
102
102
  ), n(
103
103
  e,
104
104
  "clientstyling",
@@ -109,36 +109,41 @@ function we(s) {
109
109
  "clientstylingurl",
110
110
  /*clientstylingurl*/
111
111
  s[8]
112
+ ), n(
113
+ e,
114
+ "translationurl",
115
+ /*translationurl*/
116
+ s[9]
112
117
  ), n(
113
118
  e,
114
119
  "livecasino",
115
120
  /*livecasino*/
116
- s[9]
121
+ s[10]
117
122
  ), n(
118
123
  e,
119
124
  "visiblegames",
120
125
  /*visiblegames*/
121
- s[14]
126
+ s[15]
122
127
  ), n(
123
128
  e,
124
129
  "gamepagemodalurl",
125
130
  /*gamepagemodalurl*/
126
- s[12]
131
+ s[13]
127
132
  ), n(
128
133
  e,
129
134
  "integratedgameframedesktop",
130
135
  /*integratedgameframedesktop*/
131
- s[11]
136
+ s[12]
132
137
  ), n(
133
138
  e,
134
139
  "integratedgameframemobile",
135
140
  /*integratedgameframemobile*/
136
- s[10]
141
+ s[11]
137
142
  ), n(
138
143
  e,
139
144
  "casinomygames",
140
145
  /*casinomygames*/
141
- s[16]
146
+ s[17]
142
147
  ), n(
143
148
  e,
144
149
  "mbsource",
@@ -187,23 +192,23 @@ function we(s) {
187
192
  /*currency*/
188
193
  t[2]
189
194
  ), i[0] & /*favorites*/
190
- 32768 && n(
195
+ 65536 && n(
191
196
  e,
192
197
  "favorites",
193
198
  /*favorites*/
194
- t[15]
199
+ t[16]
195
200
  ), i[0] & /*fetchviaevent*/
196
- 131072 && n(
201
+ 262144 && n(
197
202
  e,
198
203
  "fetchviaevent",
199
204
  /*fetchviaevent*/
200
- t[17]
205
+ t[18]
201
206
  ), i[0] & /*showgamename*/
202
- 8192 && n(
207
+ 16384 && n(
203
208
  e,
204
209
  "showgamename",
205
210
  /*showgamename*/
206
- t[13]
211
+ t[14]
207
212
  ), i[0] & /*clientstyling*/
208
213
  128 && n(
209
214
  e,
@@ -216,42 +221,48 @@ function we(s) {
216
221
  "clientstylingurl",
217
222
  /*clientstylingurl*/
218
223
  t[8]
219
- ), i[0] & /*livecasino*/
224
+ ), i[0] & /*translationurl*/
220
225
  512 && n(
226
+ e,
227
+ "translationurl",
228
+ /*translationurl*/
229
+ t[9]
230
+ ), i[0] & /*livecasino*/
231
+ 1024 && n(
221
232
  e,
222
233
  "livecasino",
223
234
  /*livecasino*/
224
- t[9]
235
+ t[10]
225
236
  ), i[0] & /*visiblegames*/
226
- 16384 && n(
237
+ 32768 && n(
227
238
  e,
228
239
  "visiblegames",
229
240
  /*visiblegames*/
230
- t[14]
241
+ t[15]
231
242
  ), i[0] & /*gamepagemodalurl*/
232
- 4096 && n(
243
+ 8192 && n(
233
244
  e,
234
245
  "gamepagemodalurl",
235
246
  /*gamepagemodalurl*/
236
- t[12]
247
+ t[13]
237
248
  ), i[0] & /*integratedgameframedesktop*/
238
- 2048 && n(
249
+ 4096 && n(
239
250
  e,
240
251
  "integratedgameframedesktop",
241
252
  /*integratedgameframedesktop*/
242
- t[11]
253
+ t[12]
243
254
  ), i[0] & /*integratedgameframemobile*/
244
- 1024 && n(
255
+ 2048 && n(
245
256
  e,
246
257
  "integratedgameframemobile",
247
258
  /*integratedgameframemobile*/
248
- t[10]
259
+ t[11]
249
260
  ), i[0] & /*casinomygames*/
250
- 65536 && n(
261
+ 131072 && n(
251
262
  e,
252
263
  "casinomygames",
253
264
  /*casinomygames*/
254
- t[16]
265
+ t[17]
255
266
  ), i[0] & /*mbsource*/
256
267
  64 && n(
257
268
  e,
@@ -268,7 +279,7 @@ function we(s) {
268
279
  function _e(s) {
269
280
  let e, t = (
270
281
  /*$_*/
271
- s[20]("noRecentGames") + ""
282
+ s[21]("noRecentGames") + ""
272
283
  ), i;
273
284
  return {
274
285
  c() {
@@ -279,8 +290,8 @@ function _e(s) {
279
290
  },
280
291
  p(o, r) {
281
292
  r[0] & /*$_*/
282
- 1048576 && t !== (t = /*$_*/
283
- o[20]("noRecentGames") + "") && fe(i, t);
293
+ 2097152 && t !== (t = /*$_*/
294
+ o[21]("noRecentGames") + "") && fe(i, t);
284
295
  },
285
296
  d(o) {
286
297
  o && D(e);
@@ -292,7 +303,7 @@ function ke(s) {
292
303
  function i(m, d) {
293
304
  return (
294
305
  /*lastPlayedEmpty*/
295
- m[19] ? _e : we
306
+ m[20] ? _e : we
296
307
  );
297
308
  }
298
309
  let o = i(s), r = o(s);
@@ -315,12 +326,12 @@ function ke(s) {
315
326
  }
316
327
  function Le(s, e, t) {
317
328
  let i;
318
- re(s, he, (a) => t(20, i = a));
329
+ re(s, he, (a) => t(21, i = a));
319
330
  let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: M = "" } = e, { userid: y = "" } = e, { mbsource: b } = e, { clientstyling: v = "" } = e, { clientstylingurl: w = "" } = e, { translationurl: _ = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: N = "false" } = e, { integratedgameframedesktop: z = "false" } = e, { gamepagemodalurl: F = "false" } = e, { showgamename: O = "" } = e, { visiblegames: C = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: S = "Last30Days" } = e, { lastplayedorder: j = "" } = e, { lastplayedlimit: G = "" } = e, { casinomygames: R = "false" } = e, { lastplayedunique: q = "true" } = e, { fetchviaevent: U = "true" } = e, K = window.navigator.userAgent, Y = !1, L = [], I, f;
320
331
  const Q = () => {
321
332
  fetch(_).then((g) => g.json()).then((g) => {
322
- Object.keys(g).forEach((c) => {
323
- H(c, g[c]);
333
+ Object.keys(g).forEach((u) => {
334
+ H(u, g[u]);
324
335
  });
325
336
  }).catch((g) => {
326
337
  console.log(g);
@@ -330,33 +341,33 @@ function Le(s, e, t) {
330
341
  H(a, V[a]);
331
342
  });
332
343
  const W = () => new Promise((a, g) => {
333
- let c = new URL(`${o}/v1/player/${y}/games/last-played`);
334
- c.searchParams.append("unique", q), c.searchParams.append("limit", G), c.searchParams.append("order", j), c.searchParams.append("period", S), ye(K) === "PC" ? c.searchParams.append("device", "Desktop") : c.searchParams.append("device", "Mobile"), I = k ? c : c.href, fetch(I).then((u) => u.json()).then((u) => {
335
- u.items = u.items.filter(($) => {
344
+ let u = new URL(`${o}/v1/player/${y}/games/last-played`);
345
+ u.searchParams.append("unique", q), u.searchParams.append("limit", G), u.searchParams.append("order", j), u.searchParams.append("period", S), ye(K) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = k ? u : u.href, fetch(I).then((c) => c.json()).then((c) => {
346
+ c.items = c.items.filter(($) => {
336
347
  let J = !0;
337
- return $.gameCode == "OddsMatrix2" && (u.count--, J = !1), J;
338
- }), a(u), window.postMessage(
348
+ return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
349
+ }), a(c), window.postMessage(
339
350
  {
340
351
  type: "AddNewCategory",
341
352
  category: { name: "Last Played", id: "LASTPLAYED" }
342
353
  },
343
354
  window.location.href
344
- ), window.postMessage({ type: "LastPlayedGames", data: u }, window.location.href);
345
- }).catch((u) => {
346
- console.error(u), g(u);
355
+ ), window.postMessage({ type: "LastPlayedGames", data: c }, window.location.href);
356
+ }).catch((c) => {
357
+ console.error(c), g(c);
347
358
  });
348
359
  }), X = () => {
349
360
  W().then((a) => {
350
361
  if (a.count > 0) {
351
362
  let g = [];
352
- a.items.forEach((c) => {
353
- let h = new URL(`${o}/v1/casino/games/${c.gameId}`);
354
- h.searchParams.append("datasource", r), k ? g.push(fetch(h.href).then((u) => u.json())) : g.push(fetch(h.href).then((u) => u.json()));
355
- }), Promise.all(g).then((c) => {
356
- L = c.filter((h) => !("error" in h)).map((h) => h[0]), R === "true" && (L = L.slice(0, JSON.parse(C))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: L }, window.location.href);
363
+ a.items.forEach((u) => {
364
+ let h = new URL(`${o}/v1/casino/games/${u.gameId}`);
365
+ h.searchParams.append("datasource", r), k ? g.push(fetch(h.href).then((c) => c.json())) : g.push(fetch(h.href).then((c) => c.json()));
366
+ }), Promise.all(g).then((u) => {
367
+ L = u.filter((h) => !("error" in h)).map((h) => h[0]), R === "true" && (L = L.slice(0, JSON.parse(C))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: L }, window.location.href);
357
368
  });
358
369
  } else
359
- t(19, Y = !0);
370
+ t(20, Y = !0);
360
371
  });
361
372
  }, p = () => {
362
373
  be(d);
@@ -365,18 +376,18 @@ function Le(s, e, t) {
365
376
  });
366
377
  function x(a) {
367
378
  me[a ? "unshift" : "push"](() => {
368
- f = a, t(18, f);
379
+ f = a, t(19, f);
369
380
  });
370
381
  }
371
382
  return s.$$set = (a) => {
372
- "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, M = a.session), "userid" in a && t(5, y = a.userid), "mbsource" in a && t(6, b = a.mbsource), "clientstyling" in a && t(7, v = a.clientstyling), "clientstylingurl" in a && t(8, w = a.clientstylingurl), "translationurl" in a && t(21, _ = a.translationurl), "livecasino" in a && t(9, k = a.livecasino), "integratedgameframemobile" in a && t(10, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(11, z = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(12, F = a.gamepagemodalurl), "showgamename" in a && t(13, O = a.showgamename), "visiblegames" in a && t(14, C = a.visiblegames), "favorites" in a && t(15, T = a.favorites), "lastplayedperiod" in a && t(22, S = a.lastplayedperiod), "lastplayedorder" in a && t(23, j = a.lastplayedorder), "lastplayedlimit" in a && t(24, G = a.lastplayedlimit), "casinomygames" in a && t(16, R = a.casinomygames), "lastplayedunique" in a && t(25, q = a.lastplayedunique), "fetchviaevent" in a && t(17, U = a.fetchviaevent);
383
+ "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, M = a.session), "userid" in a && t(5, y = a.userid), "mbsource" in a && t(6, b = a.mbsource), "clientstyling" in a && t(7, v = a.clientstyling), "clientstylingurl" in a && t(8, w = a.clientstylingurl), "translationurl" in a && t(9, _ = a.translationurl), "livecasino" in a && t(10, k = a.livecasino), "integratedgameframemobile" in a && t(11, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(12, z = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(13, F = a.gamepagemodalurl), "showgamename" in a && t(14, O = a.showgamename), "visiblegames" in a && t(15, C = a.visiblegames), "favorites" in a && t(16, T = a.favorites), "lastplayedperiod" in a && t(22, S = a.lastplayedperiod), "lastplayedorder" in a && t(23, j = a.lastplayedorder), "lastplayedlimit" in a && t(24, G = a.lastplayedlimit), "casinomygames" in a && t(17, R = a.casinomygames), "lastplayedunique" in a && t(25, q = a.lastplayedunique), "fetchviaevent" in a && t(18, U = a.fetchviaevent);
373
384
  }, s.$$.update = () => {
374
385
  s.$$.dirty[0] & /*endpoint, userid, lang*/
375
386
  41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
376
- 2097152 && _ && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
377
- 262272 && v && f && ge(f, v), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
378
- 262400 && w && f && ce(f, w), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
379
- 262208 && b && f && ue(f, `${b}.Style`), s.$$.dirty[0] & /*lang*/
387
+ 512 && _ && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
388
+ 524416 && v && f && ge(f, v), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
389
+ 524544 && w && f && ue(f, w), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
390
+ 524352 && b && f && ce(f, `${b}.Style`), s.$$.dirty[0] & /*lang*/
380
391
  8 && d && p();
381
392
  }, [
382
393
  o,
@@ -388,6 +399,7 @@ function Le(s, e, t) {
388
399
  b,
389
400
  v,
390
401
  w,
402
+ _,
391
403
  k,
392
404
  N,
393
405
  z,
@@ -400,7 +412,6 @@ function Le(s, e, t) {
400
412
  f,
401
413
  Y,
402
414
  i,
403
- _,
404
415
  S,
405
416
  j,
406
417
  G,
@@ -426,20 +437,20 @@ class Pe extends ae {
426
437
  mbsource: 6,
427
438
  clientstyling: 7,
428
439
  clientstylingurl: 8,
429
- translationurl: 21,
430
- livecasino: 9,
431
- integratedgameframemobile: 10,
432
- integratedgameframedesktop: 11,
433
- gamepagemodalurl: 12,
434
- showgamename: 13,
435
- visiblegames: 14,
436
- favorites: 15,
440
+ translationurl: 9,
441
+ livecasino: 10,
442
+ integratedgameframemobile: 11,
443
+ integratedgameframedesktop: 12,
444
+ gamepagemodalurl: 13,
445
+ showgamename: 14,
446
+ visiblegames: 15,
447
+ favorites: 16,
437
448
  lastplayedperiod: 22,
438
449
  lastplayedorder: 23,
439
450
  lastplayedlimit: 24,
440
- casinomygames: 16,
451
+ casinomygames: 17,
441
452
  lastplayedunique: 25,
442
- fetchviaevent: 17
453
+ fetchviaevent: 18
443
454
  },
444
455
  ve,
445
456
  [-1, -1]
@@ -500,49 +511,49 @@ class Pe extends ae {
500
511
  this.$$set({ clientstylingurl: e }), l();
501
512
  }
502
513
  get translationurl() {
503
- return this.$$.ctx[21];
514
+ return this.$$.ctx[9];
504
515
  }
505
516
  set translationurl(e) {
506
517
  this.$$set({ translationurl: e }), l();
507
518
  }
508
519
  get livecasino() {
509
- return this.$$.ctx[9];
520
+ return this.$$.ctx[10];
510
521
  }
511
522
  set livecasino(e) {
512
523
  this.$$set({ livecasino: e }), l();
513
524
  }
514
525
  get integratedgameframemobile() {
515
- return this.$$.ctx[10];
526
+ return this.$$.ctx[11];
516
527
  }
517
528
  set integratedgameframemobile(e) {
518
529
  this.$$set({ integratedgameframemobile: e }), l();
519
530
  }
520
531
  get integratedgameframedesktop() {
521
- return this.$$.ctx[11];
532
+ return this.$$.ctx[12];
522
533
  }
523
534
  set integratedgameframedesktop(e) {
524
535
  this.$$set({ integratedgameframedesktop: e }), l();
525
536
  }
526
537
  get gamepagemodalurl() {
527
- return this.$$.ctx[12];
538
+ return this.$$.ctx[13];
528
539
  }
529
540
  set gamepagemodalurl(e) {
530
541
  this.$$set({ gamepagemodalurl: e }), l();
531
542
  }
532
543
  get showgamename() {
533
- return this.$$.ctx[13];
544
+ return this.$$.ctx[14];
534
545
  }
535
546
  set showgamename(e) {
536
547
  this.$$set({ showgamename: e }), l();
537
548
  }
538
549
  get visiblegames() {
539
- return this.$$.ctx[14];
550
+ return this.$$.ctx[15];
540
551
  }
541
552
  set visiblegames(e) {
542
553
  this.$$set({ visiblegames: e }), l();
543
554
  }
544
555
  get favorites() {
545
- return this.$$.ctx[15];
556
+ return this.$$.ctx[16];
546
557
  }
547
558
  set favorites(e) {
548
559
  this.$$set({ favorites: e }), l();
@@ -566,7 +577,7 @@ class Pe extends ae {
566
577
  this.$$set({ lastplayedlimit: e }), l();
567
578
  }
568
579
  get casinomygames() {
569
- return this.$$.ctx[16];
580
+ return this.$$.ctx[17];
570
581
  }
571
582
  set casinomygames(e) {
572
583
  this.$$set({ casinomygames: e }), l();
@@ -578,7 +589,7 @@ class Pe extends ae {
578
589
  this.$$set({ lastplayedunique: e }), l();
579
590
  }
580
591
  get fetchviaevent() {
581
- return this.$$.ctx[17];
592
+ return this.$$.ctx[18];
582
593
  }
583
594
  set fetchviaevent(e) {
584
595
  this.$$set({ fetchviaevent: e }), l();
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFilter-ChSFmmfx.cjs");function z(n,e){t.addMessages(n,e)}function K(n){t.$locale.set(n)}const U={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};if(typeof window!="undefined"){let n=function(e){return function(...a){try{return e.apply(this,a)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySectionNd-DIAuOFHp.cjs")).then(({default:e})=>{!customElements.get("casino-games-category-section-nd")&&customElements.define("casino-games-category-section-nd",e.element)})}function Q(n){t.append_styles(n,"svelte-9pcrt1","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function W(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[16]),t.set_custom_element_data(e,"fetchviaevent",n[18]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[14]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"translationurl",n[9]),t.set_custom_element_data(e,"livecasino",n[10]),t.set_custom_element_data(e,"visiblegames",n[15]),t.set_custom_element_data(e,"gamepagemodalurl",n[13]),t.set_custom_element_data(e,"integratedgameframedesktop",n[12]),t.set_custom_element_data(e,"integratedgameframemobile",n[11]),t.set_custom_element_data(e,"casinomygames",n[17]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&65536&&t.set_custom_element_data(e,"favorites",a[16]),i[0]&262144&&t.set_custom_element_data(e,"fetchviaevent",a[18]),i[0]&16384&&t.set_custom_element_data(e,"showgamename",a[14]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"translationurl",a[9]),i[0]&1024&&t.set_custom_element_data(e,"livecasino",a[10]),i[0]&32768&&t.set_custom_element_data(e,"visiblegames",a[15]),i[0]&8192&&t.set_custom_element_data(e,"gamepagemodalurl",a[13]),i[0]&4096&&t.set_custom_element_data(e,"integratedgameframedesktop",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframemobile",a[11]),i[0]&131072&&t.set_custom_element_data(e,"casinomygames",a[17]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function X(n){let e,a=n[21]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&2097152&&a!==(a=o[21]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[20]?X:W}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:h=""}=e,{mbsource:_}=e,{clientstyling:y=""}=e,{clientstylingurl:b=""}=e,{translationurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:E="false"}=e,{showgamename:M=""}=e,{visiblegames:P=""}=e,{favorites:D=""}=e,{lastplayedperiod:L="Last30Days"}=e,{lastplayedorder:C=""}=e,{lastplayedlimit:S=""}=e,{casinomygames:j="false"}=e,{lastplayedunique:q="true"}=e,{fetchviaevent:F="true"}=e,I=window.navigator.userAgent,N=!1,k=[],O,g;const J=()=>{fetch(v).then(c=>c.json()).then(c=>{Object.keys(c).forEach(r=>{z(r,c[r])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let r=new URL(`${o}/v1/player/${h}/games/last-played`);r.searchParams.append("unique",q),r.searchParams.append("limit",S),r.searchParams.append("order",C),r.searchParams.append("period",L),t.getDevice(I)==="PC"?r.searchParams.append("device","Desktop"):r.searchParams.append("device","Mobile"),O=w?r:r.href,fetch(O).then(m=>m.json()).then(m=>{m.items=m.items.filter(B=>{let T=!0;return B.gameCode=="OddsMatrix2"&&(m.count--,T=!1),T}),s(m),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:m},window.location.href)}).catch(m=>{console.error(m),c(m)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(r=>{let f=new URL(`${o}/v1/casino/games/${r.gameId}`);f.searchParams.append("datasource",l),w?c.push(fetch(f.href).then(m=>m.json())):c.push(fetch(f.href).then(m=>m.json()))}),Promise.all(c).then(r=>{k=r.filter(f=>!("error"in f)).map(f=>f[0]),j==="true"&&(k=k.slice(0,JSON.parse(P))),window.postMessage({type:"LastPlayedData",lastPlayedGames:k},window.location.href)})}else a(20,N=!0)})},Z=()=>{K(d)};t.onMount(()=>()=>{});function p(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(19,g)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,_=s.mbsource),"clientstyling"in s&&a(7,y=s.clientstyling),"clientstylingurl"in s&&a(8,b=s.clientstylingurl),"translationurl"in s&&a(9,v=s.translationurl),"livecasino"in s&&a(10,w=s.livecasino),"integratedgameframemobile"in s&&a(11,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(12,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(13,E=s.gamepagemodalurl),"showgamename"in s&&a(14,M=s.showgamename),"visiblegames"in s&&a(15,P=s.visiblegames),"favorites"in s&&a(16,D=s.favorites),"lastplayedperiod"in s&&a(22,L=s.lastplayedperiod),"lastplayedorder"in s&&a(23,C=s.lastplayedorder),"lastplayedlimit"in s&&a(24,S=s.lastplayedlimit),"casinomygames"in s&&a(17,j=s.casinomygames),"lastplayedunique"in s&&a(25,q=s.lastplayedunique),"fetchviaevent"in s&&a(18,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&d&&V(),n.$$.dirty[0]&512&&v&&J(),n.$$.dirty[0]&524416&&y&&g&&t.setClientStyling(g,y),n.$$.dirty[0]&524544&&b&&g&&t.setClientStylingURL(g,b),n.$$.dirty[0]&524352&&_&&g&&t.setStreamStyling(g,`${_}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,h,_,y,b,v,w,R,A,E,M,P,D,j,F,g,N,i,L,C,S,q,p]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,translationurl:9,livecasino:10,integratedgameframemobile:11,integratedgameframedesktop:12,gamepagemodalurl:13,showgamename:14,visiblegames:15,favorites:16,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:17,lastplayedunique:25,fetchviaevent:18},Q,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[10]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[13]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[14]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[15]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[16]}set favorites(e){this.$$set({favorites:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[18]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{}},[],[],!0);exports.default=Y;
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoLastPlayedSectionNd-CQ2FnAI3.cjs")).then(({default:t})=>{!customElements.get("casino-last-played-section-nd")&&customElements.define("casino-last-played-section-nd",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoLastPlayedSectionNd-VN4ZCL24.cjs")).then(({default:t})=>{!customElements.get("casino-last-played-section-nd")&&customElements.define("casino-last-played-section-nd",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoLastPlayedSectionNd-BfFjZMRH.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoLastPlayedSectionNd-Cb-uVIlM.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-last-played-section-nd") && customElements.define("casino-last-played-section-nd", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as s } from "../components/CasinoLastPlayedSectionNd-DIrrPSLd.js";
1
+ import { C as s } from "../components/CasinoLastPlayedSectionNd-CFgyDFWO.js";
2
2
  function a(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-last-played-section-nd",
3
- "version": "1.74.5",
3
+ "version": "1.74.7",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-last-played-section-nd.cjs",
6
6
  "module": "esnext/casino-last-played-section-nd.js",
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFilter-ChSFmmfx.cjs");function z(n,e){t.addMessages(n,e)}function K(n){t.$locale.set(n)}const U={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};if(typeof window!="undefined"){let n=function(e){return function(...a){try{return e.apply(this,a)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySectionNd-DIAuOFHp.cjs")).then(({default:e})=>{!customElements.get("casino-games-category-section-nd")&&customElements.define("casino-games-category-section-nd",e.element)})}function Q(n){t.append_styles(n,"svelte-9pcrt1","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function W(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[17]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[16]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&131072&&t.set_custom_element_data(e,"fetchviaevent",a[17]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&65536&&t.set_custom_element_data(e,"casinomygames",a[16]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function X(n){let e,a=n[20]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&1048576&&a!==(a=o[20]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[19]?X:W}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:h=""}=e,{mbsource:_}=e,{clientstyling:y=""}=e,{clientstylingurl:b=""}=e,{translationurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:E="false"}=e,{showgamename:M=""}=e,{visiblegames:P=""}=e,{favorites:D=""}=e,{lastplayedperiod:L="Last30Days"}=e,{lastplayedorder:C=""}=e,{lastplayedlimit:S=""}=e,{casinomygames:j="false"}=e,{lastplayedunique:q="true"}=e,{fetchviaevent:F="true"}=e,I=window.navigator.userAgent,N=!1,k=[],O,g;const J=()=>{fetch(v).then(c=>c.json()).then(c=>{Object.keys(c).forEach(r=>{z(r,c[r])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let r=new URL(`${o}/v1/player/${h}/games/last-played`);r.searchParams.append("unique",q),r.searchParams.append("limit",S),r.searchParams.append("order",C),r.searchParams.append("period",L),t.getDevice(I)==="PC"?r.searchParams.append("device","Desktop"):r.searchParams.append("device","Mobile"),O=w?r:r.href,fetch(O).then(m=>m.json()).then(m=>{m.items=m.items.filter(B=>{let T=!0;return B.gameCode=="OddsMatrix2"&&(m.count--,T=!1),T}),s(m),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:m},window.location.href)}).catch(m=>{console.error(m),c(m)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(r=>{let f=new URL(`${o}/v1/casino/games/${r.gameId}`);f.searchParams.append("datasource",l),w?c.push(fetch(f.href).then(m=>m.json())):c.push(fetch(f.href).then(m=>m.json()))}),Promise.all(c).then(r=>{k=r.filter(f=>!("error"in f)).map(f=>f[0]),j==="true"&&(k=k.slice(0,JSON.parse(P))),window.postMessage({type:"LastPlayedData",lastPlayedGames:k},window.location.href)})}else a(19,N=!0)})},Z=()=>{K(d)};t.onMount(()=>()=>{});function p(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(18,g)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,h=s.userid),"mbsource"in s&&a(6,_=s.mbsource),"clientstyling"in s&&a(7,y=s.clientstyling),"clientstylingurl"in s&&a(8,b=s.clientstylingurl),"translationurl"in s&&a(21,v=s.translationurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,E=s.gamepagemodalurl),"showgamename"in s&&a(13,M=s.showgamename),"visiblegames"in s&&a(14,P=s.visiblegames),"favorites"in s&&a(15,D=s.favorites),"lastplayedperiod"in s&&a(22,L=s.lastplayedperiod),"lastplayedorder"in s&&a(23,C=s.lastplayedorder),"lastplayedlimit"in s&&a(24,S=s.lastplayedlimit),"casinomygames"in s&&a(16,j=s.casinomygames),"lastplayedunique"in s&&a(25,q=s.lastplayedunique),"fetchviaevent"in s&&a(17,F=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&h&&d&&V(),n.$$.dirty[0]&2097152&&v&&J(),n.$$.dirty[0]&262272&&y&&g&&t.setClientStyling(g,y),n.$$.dirty[0]&262400&&b&&g&&t.setClientStylingURL(g,b),n.$$.dirty[0]&262208&&_&&g&&t.setStreamStyling(g,`${_}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,h,_,y,b,w,R,A,E,M,P,D,j,F,g,N,i,v,L,C,S,q,p]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,translationurl:21,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:16,lastplayedunique:25,fetchviaevent:17},Q,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[17]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{}},[],[],!0);exports.default=Y;