@everymatrix/casino-categories-providers 1.87.26 → 1.87.28

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,478 +0,0 @@
1
- import { a as z, $ as L, c as K, S as q, i as R, s as U, f as u, b as I, n as T, d as x, r as G, e as j, g as f, h as r, j as J, k as g, l as D, m as y, t as M, o as N, p as Q, q as W, u as X, v as Y, w as Z, x as $, y as ee } from "./CasinoCategories-CT9K9KfS.js";
2
- function O(s, t) {
3
- z(s, t);
4
- }
5
- function te(s) {
6
- L.set(s);
7
- }
8
- const V = {
9
- en: {
10
- categories: "Categories",
11
- providers: "Suppliers"
12
- },
13
- "zh-hk": {
14
- categories: "类别",
15
- providers: "供应商"
16
- },
17
- de: {
18
- categories: "Kategorien",
19
- providers: "Anbieter"
20
- },
21
- it: {
22
- categories: "Categories",
23
- providers: "Suppliers"
24
- },
25
- fr: {
26
- categories: "Catégories",
27
- providers: "Fournisseurs"
28
- },
29
- es: {
30
- categories: "Categorias",
31
- providers: "Proveedores"
32
- },
33
- tr: {
34
- categories: "Kategoriler",
35
- providers: "Tedarikçiler"
36
- },
37
- ru: {
38
- categories: "Categories",
39
- providers: "Suppliers"
40
- },
41
- ro: {
42
- categories: "Categorii",
43
- providers: "Furnizori"
44
- },
45
- hr: {
46
- categories: "Kategorije",
47
- providers: "Provideri"
48
- },
49
- hu: {
50
- categories: "Categories",
51
- providers: "Suppliers"
52
- },
53
- pl: {
54
- categories: "Categories",
55
- providers: "Suppliers"
56
- },
57
- pt: {
58
- categories: "Categories",
59
- providers: "Suppliers"
60
- },
61
- sl: {
62
- categories: "Categories",
63
- providers: "Suppliers"
64
- },
65
- sr: {
66
- categories: "Categories",
67
- providers: "Suppliers"
68
- },
69
- "pt-br": {
70
- categories: "Categorias",
71
- providers: "Provedores"
72
- },
73
- "es-mx": {
74
- categories: "Categorias",
75
- providers: "Proveedores"
76
- },
77
- "en-us": {
78
- categories: "Categories",
79
- providers: "Suppliers"
80
- }
81
- };
82
- if (typeof window < "u") {
83
- let s = function(t) {
84
- return function(...o) {
85
- try {
86
- return t.apply(this, o);
87
- } catch (n) {
88
- if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
89
- return !1;
90
- throw n;
91
- }
92
- };
93
- };
94
- customElements.define = s(customElements.define), import("./CasinoCategories-CT9K9KfS.js").then((t) => t.D).then(({ default: t }) => {
95
- !customElements.get("casino-categories") && customElements.define("casino-categories", t.element);
96
- });
97
- }
98
- if (typeof window < "u") {
99
- let s = function(t) {
100
- return function(...o) {
101
- try {
102
- return t.apply(this, o);
103
- } catch (n) {
104
- if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
105
- return !1;
106
- throw n;
107
- }
108
- };
109
- };
110
- customElements.define = s(customElements.define), import("./CasinoProviders-CkMeINEO.js").then(({ default: t }) => {
111
- !customElements.get("casino-providers") && customElements.define("casino-providers", t.element);
112
- });
113
- }
114
- function se(s) {
115
- I(s, "svelte-10w1o04", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.NotVisible{display:none}.CasinoCategoriesProviders{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A))}.Header{display:flex;max-width:100%;min-width:320px;margin-bottom:14px;font-size:18px;background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A))}.HeaderButton{flex:1 2 0;min-height:48px;margin:0;border:none;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));box-shadow:1px 2px 2px rgba(var(--emw--color-gray-150, #828282), 0.1)}.HeaderButton.Active{box-shadow:none;border-bottom:2px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}");
116
- }
117
- function ie(s) {
118
- let t, o, n, v, w = (
119
- /*$_*/
120
- s[12]("categories") + ""
121
- ), k, C, A, m, h = (
122
- /*$_*/
123
- s[12]("providers") + ""
124
- ), _, p, S, d, a, c, F, b, l, E, B, H;
125
- return {
126
- c() {
127
- t = y("div"), o = y("div"), n = y("div"), v = y("button"), k = M(w), A = N(), m = y("button"), _ = M(h), S = N(), d = y("div"), a = y("casino-categories"), F = N(), b = y("div"), l = y("casino-providers"), f(v, "class", C = "HeaderButton " + /*activeTab*/
128
- (s[11] === "categories" ? "Active" : "")), f(m, "class", p = "HeaderButton " + /*activeTab*/
129
- (s[11] === "providers" ? "Active" : "")), f(n, "class", "Header"), r(
130
- a,
131
- "endpoint",
132
- /*endpointcategories*/
133
- s[0]
134
- ), r(
135
- a,
136
- "datasource",
137
- /*datasourcecategories*/
138
- s[1]
139
- ), r(
140
- a,
141
- "activecategory",
142
- /*activecategory*/
143
- s[2]
144
- ), r(
145
- a,
146
- "excludedflags",
147
- /*excludedflags*/
148
- s[5]
149
- ), r(
150
- a,
151
- "lang",
152
- /*lang*/
153
- s[6]
154
- ), r(
155
- a,
156
- "clientstyling",
157
- /*clientstyling*/
158
- s[7]
159
- ), r(
160
- a,
161
- "clientstylingurl",
162
- /*clientstylingurl*/
163
- s[8]
164
- ), r(
165
- a,
166
- "mbsource",
167
- /*mbsource*/
168
- s[9]
169
- ), f(d, "class", c = /*activeTab*/
170
- s[11] === "providers" ? "NotVisible" : ""), r(
171
- l,
172
- "endpoint",
173
- /*endpointproviders*/
174
- s[3]
175
- ), r(
176
- l,
177
- "datasource",
178
- /*datasourceproviders*/
179
- s[4]
180
- ), r(
181
- l,
182
- "lang",
183
- /*lang*/
184
- s[6]
185
- ), r(
186
- l,
187
- "clientstyling",
188
- /*clientstyling*/
189
- s[7]
190
- ), r(
191
- l,
192
- "clientstylingurl",
193
- /*clientstylingurl*/
194
- s[8]
195
- ), r(
196
- l,
197
- "mbsource",
198
- /*mbsource*/
199
- s[9]
200
- ), f(b, "class", E = /*activeTab*/
201
- s[11] === "categories" ? "NotVisible" : ""), f(o, "class", "CasinoCategoriesProviders");
202
- },
203
- m(e, i) {
204
- J(e, t, i), g(t, o), g(o, n), g(n, v), g(v, k), g(n, A), g(n, m), g(m, _), g(o, S), g(o, d), g(d, a), g(o, F), g(o, b), g(b, l), s[17](t), B || (H = [
205
- D(
206
- v,
207
- "click",
208
- /*click_handler*/
209
- s[15]
210
- ),
211
- D(
212
- m,
213
- "click",
214
- /*click_handler_1*/
215
- s[16]
216
- )
217
- ], B = !0);
218
- },
219
- p(e, [i]) {
220
- i & /*$_*/
221
- 4096 && w !== (w = /*$_*/
222
- e[12]("categories") + "") && j(k, w), i & /*activeTab*/
223
- 2048 && C !== (C = "HeaderButton " + /*activeTab*/
224
- (e[11] === "categories" ? "Active" : "")) && f(v, "class", C), i & /*$_*/
225
- 4096 && h !== (h = /*$_*/
226
- e[12]("providers") + "") && j(_, h), i & /*activeTab*/
227
- 2048 && p !== (p = "HeaderButton " + /*activeTab*/
228
- (e[11] === "providers" ? "Active" : "")) && f(m, "class", p), i & /*endpointcategories*/
229
- 1 && r(
230
- a,
231
- "endpoint",
232
- /*endpointcategories*/
233
- e[0]
234
- ), i & /*datasourcecategories*/
235
- 2 && r(
236
- a,
237
- "datasource",
238
- /*datasourcecategories*/
239
- e[1]
240
- ), i & /*activecategory*/
241
- 4 && r(
242
- a,
243
- "activecategory",
244
- /*activecategory*/
245
- e[2]
246
- ), i & /*excludedflags*/
247
- 32 && r(
248
- a,
249
- "excludedflags",
250
- /*excludedflags*/
251
- e[5]
252
- ), i & /*lang*/
253
- 64 && r(
254
- a,
255
- "lang",
256
- /*lang*/
257
- e[6]
258
- ), i & /*clientstyling*/
259
- 128 && r(
260
- a,
261
- "clientstyling",
262
- /*clientstyling*/
263
- e[7]
264
- ), i & /*clientstylingurl*/
265
- 256 && r(
266
- a,
267
- "clientstylingurl",
268
- /*clientstylingurl*/
269
- e[8]
270
- ), i & /*mbsource*/
271
- 512 && r(
272
- a,
273
- "mbsource",
274
- /*mbsource*/
275
- e[9]
276
- ), i & /*activeTab*/
277
- 2048 && c !== (c = /*activeTab*/
278
- e[11] === "providers" ? "NotVisible" : "") && f(d, "class", c), i & /*endpointproviders*/
279
- 8 && r(
280
- l,
281
- "endpoint",
282
- /*endpointproviders*/
283
- e[3]
284
- ), i & /*datasourceproviders*/
285
- 16 && r(
286
- l,
287
- "datasource",
288
- /*datasourceproviders*/
289
- e[4]
290
- ), i & /*lang*/
291
- 64 && r(
292
- l,
293
- "lang",
294
- /*lang*/
295
- e[6]
296
- ), i & /*clientstyling*/
297
- 128 && r(
298
- l,
299
- "clientstyling",
300
- /*clientstyling*/
301
- e[7]
302
- ), i & /*clientstylingurl*/
303
- 256 && r(
304
- l,
305
- "clientstylingurl",
306
- /*clientstylingurl*/
307
- e[8]
308
- ), i & /*mbsource*/
309
- 512 && r(
310
- l,
311
- "mbsource",
312
- /*mbsource*/
313
- e[9]
314
- ), i & /*activeTab*/
315
- 2048 && E !== (E = /*activeTab*/
316
- e[11] === "categories" ? "NotVisible" : "") && f(b, "class", E);
317
- },
318
- i: T,
319
- o: T,
320
- d(e) {
321
- e && x(t), s[17](null), B = !1, G(H);
322
- }
323
- };
324
- }
325
- function re(s, t, o) {
326
- let n;
327
- Q(s, Y, (e) => o(12, n = e));
328
- let { endpointcategories: v = "" } = t, { datasourcecategories: w = "" } = t, { activecategory: k = "" } = t, { endpointproviders: C = "" } = t, { datasourceproviders: A = "" } = t, { excludedflags: m = "" } = t, { lang: h = "en" } = t, { clientstyling: _ = "" } = t, { clientstylingurl: p = "" } = t, { translationurl: S = "" } = t, { mbsource: d } = t, a = "categories", c;
329
- const F = () => {
330
- fetch(S).then((i) => i.json()).then((i) => {
331
- Object.keys(i).forEach((P) => {
332
- O(P, i[P]);
333
- });
334
- }).catch((i) => {
335
- console.log(i);
336
- });
337
- };
338
- Object.keys(V).forEach((e) => {
339
- O(e, V[e]);
340
- });
341
- const b = (e) => {
342
- a !== e && o(11, a = e);
343
- }, l = () => {
344
- te(h);
345
- };
346
- W(() => () => {
347
- });
348
- const E = () => b("categories"), B = () => b("providers");
349
- function H(e) {
350
- X[e ? "unshift" : "push"](() => {
351
- c = e, o(10, c);
352
- });
353
- }
354
- return s.$$set = (e) => {
355
- "endpointcategories" in e && o(0, v = e.endpointcategories), "datasourcecategories" in e && o(1, w = e.datasourcecategories), "activecategory" in e && o(2, k = e.activecategory), "endpointproviders" in e && o(3, C = e.endpointproviders), "datasourceproviders" in e && o(4, A = e.datasourceproviders), "excludedflags" in e && o(5, m = e.excludedflags), "lang" in e && o(6, h = e.lang), "clientstyling" in e && o(7, _ = e.clientstyling), "clientstylingurl" in e && o(8, p = e.clientstylingurl), "translationurl" in e && o(14, S = e.translationurl), "mbsource" in e && o(9, d = e.mbsource);
356
- }, s.$$.update = () => {
357
- s.$$.dirty & /*translationurl*/
358
- 16384 && S && F(), s.$$.dirty & /*lang*/
359
- 64 && h && l(), s.$$.dirty & /*clientstyling, customStylingContainer*/
360
- 1152 && _ && c && Z(c, _), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
361
- 1280 && p && c && $(c, p), s.$$.dirty & /*mbsource, customStylingContainer*/
362
- 1536 && d && c && ee(c, `${d}.Style`);
363
- }, [
364
- v,
365
- w,
366
- k,
367
- C,
368
- A,
369
- m,
370
- h,
371
- _,
372
- p,
373
- d,
374
- c,
375
- a,
376
- n,
377
- b,
378
- S,
379
- E,
380
- B,
381
- H
382
- ];
383
- }
384
- class oe extends q {
385
- constructor(t) {
386
- super(), R(
387
- this,
388
- t,
389
- re,
390
- ie,
391
- U,
392
- {
393
- endpointcategories: 0,
394
- datasourcecategories: 1,
395
- activecategory: 2,
396
- endpointproviders: 3,
397
- datasourceproviders: 4,
398
- excludedflags: 5,
399
- lang: 6,
400
- clientstyling: 7,
401
- clientstylingurl: 8,
402
- translationurl: 14,
403
- mbsource: 9
404
- },
405
- se
406
- );
407
- }
408
- get endpointcategories() {
409
- return this.$$.ctx[0];
410
- }
411
- set endpointcategories(t) {
412
- this.$$set({ endpointcategories: t }), u();
413
- }
414
- get datasourcecategories() {
415
- return this.$$.ctx[1];
416
- }
417
- set datasourcecategories(t) {
418
- this.$$set({ datasourcecategories: t }), u();
419
- }
420
- get activecategory() {
421
- return this.$$.ctx[2];
422
- }
423
- set activecategory(t) {
424
- this.$$set({ activecategory: t }), u();
425
- }
426
- get endpointproviders() {
427
- return this.$$.ctx[3];
428
- }
429
- set endpointproviders(t) {
430
- this.$$set({ endpointproviders: t }), u();
431
- }
432
- get datasourceproviders() {
433
- return this.$$.ctx[4];
434
- }
435
- set datasourceproviders(t) {
436
- this.$$set({ datasourceproviders: t }), u();
437
- }
438
- get excludedflags() {
439
- return this.$$.ctx[5];
440
- }
441
- set excludedflags(t) {
442
- this.$$set({ excludedflags: t }), u();
443
- }
444
- get lang() {
445
- return this.$$.ctx[6];
446
- }
447
- set lang(t) {
448
- this.$$set({ lang: t }), u();
449
- }
450
- get clientstyling() {
451
- return this.$$.ctx[7];
452
- }
453
- set clientstyling(t) {
454
- this.$$set({ clientstyling: t }), u();
455
- }
456
- get clientstylingurl() {
457
- return this.$$.ctx[8];
458
- }
459
- set clientstylingurl(t) {
460
- this.$$set({ clientstylingurl: t }), u();
461
- }
462
- get translationurl() {
463
- return this.$$.ctx[14];
464
- }
465
- set translationurl(t) {
466
- this.$$set({ translationurl: t }), u();
467
- }
468
- get mbsource() {
469
- return this.$$.ctx[9];
470
- }
471
- set mbsource(t) {
472
- this.$$set({ mbsource: t }), u();
473
- }
474
- }
475
- K(oe, { endpointcategories: {}, datasourcecategories: {}, activecategory: {}, endpointproviders: {}, datasourceproviders: {}, excludedflags: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
476
- export {
477
- oe as C
478
- };