@everymatrix/casino-categories-providers 1.17.2 → 1.17.3
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.
|
@@ -5247,11 +5247,11 @@
|
|
|
5247
5247
|
}
|
|
5248
5248
|
|
|
5249
5249
|
attr_dev(h40, "class", "CategoryTitle");
|
|
5250
|
-
add_location(h40, file$2, 81, 4,
|
|
5250
|
+
add_location(h40, file$2, 81, 4, 3018);
|
|
5251
5251
|
attr_dev(h41, "class", "CategoryTitle");
|
|
5252
|
-
add_location(h41, file$2, 91, 4,
|
|
5252
|
+
add_location(h41, file$2, 91, 4, 3474);
|
|
5253
5253
|
attr_dev(div, "class", "CasinoCategories");
|
|
5254
|
-
add_location(div, file$2, 80, 2,
|
|
5254
|
+
add_location(div, file$2, 80, 2, 2983);
|
|
5255
5255
|
},
|
|
5256
5256
|
m: function mount(target, anchor) {
|
|
5257
5257
|
insert_dev(target, div, anchor);
|
|
@@ -5356,7 +5356,7 @@
|
|
|
5356
5356
|
p = element("p");
|
|
5357
5357
|
p.textContent = "Loading, please wait...";
|
|
5358
5358
|
attr_dev(p, "class", "Message");
|
|
5359
|
-
add_location(p, file$2, 78, 2,
|
|
5359
|
+
add_location(p, file$2, 78, 2, 2924);
|
|
5360
5360
|
},
|
|
5361
5361
|
m: function mount(target, anchor) {
|
|
5362
5362
|
insert_dev(target, p, anchor);
|
|
@@ -5420,17 +5420,17 @@
|
|
|
5420
5420
|
if (!src_url_equal(img.src, img_src_value = /*category*/ ctx[24].icon)) attr_dev(img, "src", img_src_value);
|
|
5421
5421
|
attr_dev(img, "alt", img_alt_value = /*category*/ ctx[24].name);
|
|
5422
5422
|
attr_dev(img, "class", "CategoryImage");
|
|
5423
|
-
add_location(img, file$2, 84, 6,
|
|
5424
|
-
add_location(p0, file$2, 86, 8,
|
|
5425
|
-
add_location(p1, file$2, 87, 8,
|
|
5423
|
+
add_location(img, file$2, 84, 6, 3238);
|
|
5424
|
+
add_location(p0, file$2, 86, 8, 3359);
|
|
5425
|
+
add_location(p1, file$2, 87, 8, 3390);
|
|
5426
5426
|
attr_dev(div0, "class", "CategoryTextContainer");
|
|
5427
|
-
add_location(div0, file$2, 85, 6,
|
|
5427
|
+
add_location(div0, file$2, 85, 6, 3315);
|
|
5428
5428
|
|
|
5429
5429
|
attr_dev(div1, "class", div1_class_value = "Category " + (/*activecategory*/ ctx[0] === /*category*/ ctx[24].id
|
|
5430
5430
|
? "Active"
|
|
5431
5431
|
: ""));
|
|
5432
5432
|
|
|
5433
|
-
add_location(div1, file$2, 83, 4,
|
|
5433
|
+
add_location(div1, file$2, 83, 4, 3113);
|
|
5434
5434
|
},
|
|
5435
5435
|
m: function mount(target, anchor) {
|
|
5436
5436
|
insert_dev(target, div1, anchor);
|
|
@@ -5533,17 +5533,17 @@
|
|
|
5533
5533
|
if (!src_url_equal(img.src, img_src_value = /*category*/ ctx[24].icon)) attr_dev(img, "src", img_src_value);
|
|
5534
5534
|
attr_dev(img, "alt", img_alt_value = /*category*/ ctx[24].name);
|
|
5535
5535
|
attr_dev(img, "class", "CategoryImage");
|
|
5536
|
-
add_location(img, file$2, 94, 6,
|
|
5537
|
-
add_location(p0, file$2, 96, 8,
|
|
5538
|
-
add_location(p1, file$2, 97, 8,
|
|
5536
|
+
add_location(img, file$2, 94, 6, 3699);
|
|
5537
|
+
add_location(p0, file$2, 96, 8, 3819);
|
|
5538
|
+
add_location(p1, file$2, 97, 8, 3850);
|
|
5539
5539
|
attr_dev(div0, "class", "CategoryTextContainer");
|
|
5540
|
-
add_location(div0, file$2, 95, 6,
|
|
5540
|
+
add_location(div0, file$2, 95, 6, 3775);
|
|
5541
5541
|
|
|
5542
5542
|
attr_dev(div1, "class", div1_class_value = "Category " + (/*activecategory*/ ctx[0] === /*category*/ ctx[24].id
|
|
5543
5543
|
? "Active"
|
|
5544
5544
|
: ""));
|
|
5545
5545
|
|
|
5546
|
-
add_location(div1, file$2, 93, 4,
|
|
5546
|
+
add_location(div1, file$2, 93, 4, 3573);
|
|
5547
5547
|
},
|
|
5548
5548
|
m: function mount(target, anchor) {
|
|
5549
5549
|
insert_dev(target, div1, anchor);
|
|
@@ -5619,7 +5619,7 @@
|
|
|
5619
5619
|
div = element("div");
|
|
5620
5620
|
if_block.c();
|
|
5621
5621
|
this.c = noop;
|
|
5622
|
-
add_location(div, file$2, 76, 0,
|
|
5622
|
+
add_location(div, file$2, 76, 0, 2863);
|
|
5623
5623
|
},
|
|
5624
5624
|
l: function claim(nodes) {
|
|
5625
5625
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
@@ -5701,7 +5701,7 @@
|
|
|
5701
5701
|
|
|
5702
5702
|
const getCategories = () => {
|
|
5703
5703
|
$$invalidate(2, isLoading = true);
|
|
5704
|
-
const url = new URL(`${endpoint}/casino/groups/${datasource}`);
|
|
5704
|
+
const url = new URL(`${endpoint}/v1/casino/groups/${datasource}`);
|
|
5705
5705
|
url.searchParams.append("language", lang);
|
|
5706
5706
|
|
|
5707
5707
|
fetch(url).then(res => res.json()).then(data => {
|
|
@@ -6185,9 +6185,9 @@
|
|
|
6185
6185
|
|
|
6186
6186
|
each1_anchor = empty();
|
|
6187
6187
|
attr_dev(h40, "class", "ProviderTitle");
|
|
6188
|
-
add_location(h40, file$1, 78, 4,
|
|
6188
|
+
add_location(h40, file$1, 78, 4, 2856);
|
|
6189
6189
|
attr_dev(h41, "class", "ProviderTitle");
|
|
6190
|
-
add_location(h41, file$1, 88, 6,
|
|
6190
|
+
add_location(h41, file$1, 88, 6, 3321);
|
|
6191
6191
|
},
|
|
6192
6192
|
m: function mount(target, anchor) {
|
|
6193
6193
|
insert_dev(target, h40, anchor);
|
|
@@ -6300,7 +6300,7 @@
|
|
|
6300
6300
|
p = element("p");
|
|
6301
6301
|
t = text(t_value);
|
|
6302
6302
|
attr_dev(p, "class", "Message");
|
|
6303
|
-
add_location(p, file$1, 76, 6,
|
|
6303
|
+
add_location(p, file$1, 76, 6, 2799);
|
|
6304
6304
|
},
|
|
6305
6305
|
m: function mount(target, anchor) {
|
|
6306
6306
|
insert_dev(target, p, anchor);
|
|
@@ -6366,13 +6366,13 @@
|
|
|
6366
6366
|
if (!src_url_equal(img.src, img_src_value = /*provider*/ ctx[21].logo)) attr_dev(img, "src", img_src_value);
|
|
6367
6367
|
attr_dev(img, "alt", img_alt_value = /*provider*/ ctx[21].name);
|
|
6368
6368
|
attr_dev(img, "class", "ProviderImage");
|
|
6369
|
-
add_location(img, file$1, 81, 8,
|
|
6370
|
-
add_location(p0, file$1, 83, 10,
|
|
6371
|
-
add_location(p1, file$1, 84, 10,
|
|
6369
|
+
add_location(img, file$1, 81, 8, 3069);
|
|
6370
|
+
add_location(p0, file$1, 83, 10, 3196);
|
|
6371
|
+
add_location(p1, file$1, 84, 10, 3229);
|
|
6372
6372
|
attr_dev(div0, "class", "ProviderTextContainer");
|
|
6373
|
-
add_location(div0, file$1, 82, 8,
|
|
6373
|
+
add_location(div0, file$1, 82, 8, 3150);
|
|
6374
6374
|
attr_dev(div1, "class", "Provider");
|
|
6375
|
-
add_location(div1, file$1, 80, 6,
|
|
6375
|
+
add_location(div1, file$1, 80, 6, 2957);
|
|
6376
6376
|
},
|
|
6377
6377
|
m: function mount(target, anchor) {
|
|
6378
6378
|
insert_dev(target, div1, anchor);
|
|
@@ -6468,13 +6468,13 @@
|
|
|
6468
6468
|
if (!src_url_equal(img.src, img_src_value = /*provider*/ ctx[21].logo)) attr_dev(img, "src", img_src_value);
|
|
6469
6469
|
attr_dev(img, "alt", img_alt_value = /*provider*/ ctx[21].name);
|
|
6470
6470
|
attr_dev(img, "class", "ProviderImage");
|
|
6471
|
-
add_location(img, file$1, 91, 10,
|
|
6472
|
-
add_location(p0, file$1, 93, 12,
|
|
6473
|
-
add_location(p1, file$1, 94, 12,
|
|
6471
|
+
add_location(img, file$1, 91, 10, 3538);
|
|
6472
|
+
add_location(p0, file$1, 93, 12, 3669);
|
|
6473
|
+
add_location(p1, file$1, 94, 12, 3704);
|
|
6474
6474
|
attr_dev(div0, "class", "ProviderTextContainer");
|
|
6475
|
-
add_location(div0, file$1, 92, 10,
|
|
6475
|
+
add_location(div0, file$1, 92, 10, 3621);
|
|
6476
6476
|
attr_dev(div1, "class", "Provider");
|
|
6477
|
-
add_location(div1, file$1, 90, 8,
|
|
6477
|
+
add_location(div1, file$1, 90, 8, 3424);
|
|
6478
6478
|
},
|
|
6479
6479
|
m: function mount(target, anchor) {
|
|
6480
6480
|
insert_dev(target, div1, anchor);
|
|
@@ -6545,7 +6545,7 @@
|
|
|
6545
6545
|
if_block.c();
|
|
6546
6546
|
this.c = noop;
|
|
6547
6547
|
attr_dev(div, "class", "CasinoProviders");
|
|
6548
|
-
add_location(div, file$1, 74, 2,
|
|
6548
|
+
add_location(div, file$1, 74, 2, 2699);
|
|
6549
6549
|
},
|
|
6550
6550
|
l: function claim(nodes) {
|
|
6551
6551
|
throw new Error("options.hydrate only works if the component was compiled with the `hydratable: true` option");
|
|
@@ -6624,7 +6624,7 @@
|
|
|
6624
6624
|
|
|
6625
6625
|
const getProviders = () => {
|
|
6626
6626
|
$$invalidate(3, isLoading = true);
|
|
6627
|
-
const url = new URL(`${endpoint}/casino/vendors`);
|
|
6627
|
+
const url = new URL(`${endpoint}/v1/casino/vendors`);
|
|
6628
6628
|
url.searchParams.append("datasource", datasource);
|
|
6629
6629
|
url.searchParams.append("language", lang);
|
|
6630
6630
|
url.searchParams.append("fields", "id,name,displayName,subVendors,isTopVendor,logo,games");
|