@everymatrix/casino-tournament-prizes 1.54.12 → 1.55.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.
- package/dist/casino-tournament-prizes/casino-tournament-prizes.esm.js +1 -1
- package/dist/casino-tournament-prizes/p-05dcfba0.js +2 -0
- package/dist/casino-tournament-prizes/p-107abf52.entry.js +1 -0
- package/dist/cjs/casino-tournament-prizes.cjs.entry.js +6 -1
- package/dist/cjs/casino-tournament-prizes.cjs.js +2 -2
- package/dist/cjs/{index-0c084c74.js → index-af94fbb3.js} +70 -173
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/casino-tournament-prizes/casino-tournament-prizes.js +5 -18
- package/dist/esm/casino-tournament-prizes.entry.js +6 -1
- package/dist/esm/casino-tournament-prizes.js +3 -3
- package/dist/esm/{index-30effb08.js → index-db720582.js} +70 -173
- package/dist/esm/loader.js +2 -2
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-tournament-prizes/.stencil/packages/stencil/casino-tournament-prizes/stencil.config.d.ts +2 -0
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-tournament-prizes/.stencil/packages/stencil/casino-tournament-prizes/stencil.config.dev.d.ts +2 -0
- package/package.json +1 -1
- package/dist/casino-tournament-prizes/p-dea4ad64.entry.js +0 -1
- package/dist/casino-tournament-prizes/p-e83ebab2.js +0 -2
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-tournament-prizes/.stencil/packages/stencil/casino-tournament-prizes/stencil.config.d.ts +0 -2
- package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-tournament-prizes/.stencil/packages/stencil/casino-tournament-prizes/stencil.config.dev.d.ts +0 -2
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-tournament-prizes/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-tournament-prizes/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-tournament-prizes/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-tournament-prizes/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
|
@@ -2,8 +2,13 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { translate } from "../../utils/locale.utils";
|
|
3
3
|
export class CasinoTournamentPrizes {
|
|
4
4
|
constructor() {
|
|
5
|
+
this.language = undefined;
|
|
5
6
|
this.useGroup = false;
|
|
6
7
|
this.useEvent = false;
|
|
8
|
+
this.endpoint = undefined;
|
|
9
|
+
this.session = undefined;
|
|
10
|
+
this.rawPrizes = undefined;
|
|
11
|
+
this.tournamentId = undefined;
|
|
7
12
|
this.clientStyling = '';
|
|
8
13
|
this.clientStylingUrl = '';
|
|
9
14
|
this.limitStylingAppends = false;
|
|
@@ -134,8 +139,6 @@ export class CasinoTournamentPrizes {
|
|
|
134
139
|
"tags": [],
|
|
135
140
|
"text": ""
|
|
136
141
|
},
|
|
137
|
-
"getter": false,
|
|
138
|
-
"setter": false,
|
|
139
142
|
"attribute": "language",
|
|
140
143
|
"reflect": false
|
|
141
144
|
},
|
|
@@ -153,8 +156,6 @@ export class CasinoTournamentPrizes {
|
|
|
153
156
|
"tags": [],
|
|
154
157
|
"text": ""
|
|
155
158
|
},
|
|
156
|
-
"getter": false,
|
|
157
|
-
"setter": false,
|
|
158
159
|
"attribute": "use-group",
|
|
159
160
|
"reflect": false,
|
|
160
161
|
"defaultValue": "false"
|
|
@@ -173,8 +174,6 @@ export class CasinoTournamentPrizes {
|
|
|
173
174
|
"tags": [],
|
|
174
175
|
"text": ""
|
|
175
176
|
},
|
|
176
|
-
"getter": false,
|
|
177
|
-
"setter": false,
|
|
178
177
|
"attribute": "use-event",
|
|
179
178
|
"reflect": false,
|
|
180
179
|
"defaultValue": "false"
|
|
@@ -193,8 +192,6 @@ export class CasinoTournamentPrizes {
|
|
|
193
192
|
"tags": [],
|
|
194
193
|
"text": ""
|
|
195
194
|
},
|
|
196
|
-
"getter": false,
|
|
197
|
-
"setter": false,
|
|
198
195
|
"attribute": "endpoint",
|
|
199
196
|
"reflect": false
|
|
200
197
|
},
|
|
@@ -212,8 +209,6 @@ export class CasinoTournamentPrizes {
|
|
|
212
209
|
"tags": [],
|
|
213
210
|
"text": ""
|
|
214
211
|
},
|
|
215
|
-
"getter": false,
|
|
216
|
-
"setter": false,
|
|
217
212
|
"attribute": "session",
|
|
218
213
|
"reflect": false
|
|
219
214
|
},
|
|
@@ -231,8 +226,6 @@ export class CasinoTournamentPrizes {
|
|
|
231
226
|
"tags": [],
|
|
232
227
|
"text": ""
|
|
233
228
|
},
|
|
234
|
-
"getter": false,
|
|
235
|
-
"setter": false,
|
|
236
229
|
"attribute": "raw-prizes",
|
|
237
230
|
"reflect": false
|
|
238
231
|
},
|
|
@@ -250,8 +243,6 @@ export class CasinoTournamentPrizes {
|
|
|
250
243
|
"tags": [],
|
|
251
244
|
"text": ""
|
|
252
245
|
},
|
|
253
|
-
"getter": false,
|
|
254
|
-
"setter": false,
|
|
255
246
|
"attribute": "tournament-id",
|
|
256
247
|
"reflect": false
|
|
257
248
|
},
|
|
@@ -269,8 +260,6 @@ export class CasinoTournamentPrizes {
|
|
|
269
260
|
"tags": [],
|
|
270
261
|
"text": ""
|
|
271
262
|
},
|
|
272
|
-
"getter": false,
|
|
273
|
-
"setter": false,
|
|
274
263
|
"attribute": "client-styling",
|
|
275
264
|
"reflect": false,
|
|
276
265
|
"defaultValue": "''"
|
|
@@ -289,8 +278,6 @@ export class CasinoTournamentPrizes {
|
|
|
289
278
|
"tags": [],
|
|
290
279
|
"text": ""
|
|
291
280
|
},
|
|
292
|
-
"getter": false,
|
|
293
|
-
"setter": false,
|
|
294
281
|
"attribute": "client-styling-url",
|
|
295
282
|
"reflect": false,
|
|
296
283
|
"defaultValue": "''"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-db720582.js';
|
|
2
2
|
|
|
3
3
|
const DEFAULT_LANGUAGE = 'en';
|
|
4
4
|
const TRANSLATIONS = {
|
|
@@ -65,8 +65,13 @@ const CasinoTournamentPrizesStyle0 = casinoTournamentPrizesCss;
|
|
|
65
65
|
const CasinoTournamentPrizes = class {
|
|
66
66
|
constructor(hostRef) {
|
|
67
67
|
registerInstance(this, hostRef);
|
|
68
|
+
this.language = undefined;
|
|
68
69
|
this.useGroup = false;
|
|
69
70
|
this.useEvent = false;
|
|
71
|
+
this.endpoint = undefined;
|
|
72
|
+
this.session = undefined;
|
|
73
|
+
this.rawPrizes = undefined;
|
|
74
|
+
this.tournamentId = undefined;
|
|
70
75
|
this.clientStyling = '';
|
|
71
76
|
this.clientStylingUrl = '';
|
|
72
77
|
this.limitStylingAppends = false;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-db720582.js';
|
|
2
|
+
export { s as setNonce } from './index-db720582.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.
|
|
6
|
+
Stencil Client Patch Browser v4.22.3 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
var patchBrowser = () => {
|
|
9
9
|
const importMeta = import.meta.url;
|
|
@@ -1,25 +1,17 @@
|
|
|
1
1
|
const NAMESPACE = 'casino-tournament-prizes';
|
|
2
|
-
const BUILD = /* casino-tournament-prizes */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false,
|
|
2
|
+
const BUILD = /* casino-tournament-prizes */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: false, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: false, propString: true, reflect: false, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: false, vdomPropOrAttr: true, vdomRef: false, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: false };
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Platform v4.
|
|
5
|
+
Stencil Client Platform v4.22.3 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
var __defProp = Object.defineProperty;
|
|
8
8
|
var __export = (target, all) => {
|
|
9
9
|
for (var name in all)
|
|
10
10
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
11
|
};
|
|
12
|
-
|
|
13
|
-
// src/utils/constants.ts
|
|
14
|
-
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
15
|
-
var HTML_NS = "http://www.w3.org/1999/xhtml";
|
|
16
|
-
|
|
17
|
-
// src/client/client-host-ref.ts
|
|
18
12
|
var hostRefs = /* @__PURE__ */ new WeakMap();
|
|
19
13
|
var getHostRef = (ref) => hostRefs.get(ref);
|
|
20
|
-
var registerInstance = (lazyInstance, hostRef) =>
|
|
21
|
-
hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
|
|
22
|
-
};
|
|
14
|
+
var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
|
|
23
15
|
var registerHost = (hostElement, cmpMeta) => {
|
|
24
16
|
const hostRef = {
|
|
25
17
|
$flags$: 0,
|
|
@@ -32,8 +24,7 @@ var registerHost = (hostElement, cmpMeta) => {
|
|
|
32
24
|
hostElement["s-p"] = [];
|
|
33
25
|
hostElement["s-rc"] = [];
|
|
34
26
|
}
|
|
35
|
-
|
|
36
|
-
return ref;
|
|
27
|
+
return hostRefs.set(hostElement, hostRef);
|
|
37
28
|
};
|
|
38
29
|
var isMemberInElement = (elm, memberName) => memberName in elm;
|
|
39
30
|
var consoleError = (e, el) => (0, console.error)(e, el);
|
|
@@ -70,22 +61,16 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
70
61
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
71
62
|
/* webpackMode: "lazy" */
|
|
72
63
|
`./${bundleId}.entry.js${""}`
|
|
73
|
-
).then(
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
cmpModules.set(bundleId, importedModule);
|
|
77
|
-
}
|
|
78
|
-
return importedModule[exportName];
|
|
79
|
-
},
|
|
80
|
-
(e) => {
|
|
81
|
-
consoleError(e, hostRef.$hostElement$);
|
|
64
|
+
).then((importedModule) => {
|
|
65
|
+
{
|
|
66
|
+
cmpModules.set(bundleId, importedModule);
|
|
82
67
|
}
|
|
83
|
-
|
|
68
|
+
return importedModule[exportName];
|
|
69
|
+
}, consoleError);
|
|
84
70
|
};
|
|
85
71
|
|
|
86
72
|
// src/client/client-style.ts
|
|
87
73
|
var styles = /* @__PURE__ */ new Map();
|
|
88
|
-
var HYDRATED_STYLE_ID = "sty-id";
|
|
89
74
|
var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
|
|
90
75
|
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
91
76
|
var win = typeof window !== "undefined" ? window : {};
|
|
@@ -159,6 +144,14 @@ var flush = () => {
|
|
|
159
144
|
};
|
|
160
145
|
var nextTick = (cb) => promiseResolve().then(cb);
|
|
161
146
|
var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
|
|
147
|
+
|
|
148
|
+
// src/utils/constants.ts
|
|
149
|
+
var EMPTY_OBJ = {};
|
|
150
|
+
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
151
|
+
var HTML_NS = "http://www.w3.org/1999/xhtml";
|
|
152
|
+
|
|
153
|
+
// src/utils/helpers.ts
|
|
154
|
+
var isDef = (v) => v != null;
|
|
162
155
|
var isComplexType = (o) => {
|
|
163
156
|
o = typeof o;
|
|
164
157
|
return o === "object" || o === "function";
|
|
@@ -344,7 +337,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
344
337
|
}
|
|
345
338
|
if (!appliedStyles.has(scopeId2)) {
|
|
346
339
|
{
|
|
347
|
-
styleElm =
|
|
340
|
+
styleElm = doc.createElement("style");
|
|
348
341
|
styleElm.innerHTML = style;
|
|
349
342
|
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
|
|
350
343
|
if (nonce != null) {
|
|
@@ -354,10 +347,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
354
347
|
if (styleContainerNode.nodeName === "HEAD") {
|
|
355
348
|
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
356
349
|
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
357
|
-
styleContainerNode.insertBefore(
|
|
358
|
-
styleElm,
|
|
359
|
-
(referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
|
|
360
|
-
);
|
|
350
|
+
styleContainerNode.insertBefore(styleElm, referenceNode2);
|
|
361
351
|
} else if ("host" in styleContainerNode) {
|
|
362
352
|
if (supportsConstructableStylesheets) {
|
|
363
353
|
const stylesheet = new CSSStyleSheet();
|
|
@@ -375,7 +365,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
375
365
|
styleContainerNode.append(styleElm);
|
|
376
366
|
}
|
|
377
367
|
}
|
|
378
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
368
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
|
|
379
369
|
styleContainerNode.insertBefore(styleElm, null);
|
|
380
370
|
}
|
|
381
371
|
}
|
|
@@ -400,25 +390,23 @@ var attachStyles = (hostRef) => {
|
|
|
400
390
|
const scopeId2 = addStyle(
|
|
401
391
|
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
402
392
|
cmpMeta);
|
|
403
|
-
if (
|
|
393
|
+
if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
|
|
404
394
|
elm["s-sc"] = scopeId2;
|
|
405
395
|
elm.classList.add(scopeId2 + "-h");
|
|
406
396
|
}
|
|
407
397
|
endAttachStyles();
|
|
408
398
|
};
|
|
409
399
|
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
410
|
-
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags
|
|
400
|
+
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
411
401
|
if (oldValue !== newValue) {
|
|
412
402
|
let isProp = isMemberInElement(elm, memberName);
|
|
413
403
|
memberName.toLowerCase();
|
|
414
404
|
if (memberName === "class") {
|
|
415
405
|
const classList = elm.classList;
|
|
416
406
|
const oldClasses = parseClassList(oldValue);
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
421
|
-
}
|
|
407
|
+
const newClasses = parseClassList(newValue);
|
|
408
|
+
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
409
|
+
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
422
410
|
} else if (memberName === "key") ; else {
|
|
423
411
|
const isComplex = isComplexType(newValue);
|
|
424
412
|
if ((isProp || isComplex && newValue !== null) && !isSvg) {
|
|
@@ -434,7 +422,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
434
422
|
elm.setAttribute(memberName, n);
|
|
435
423
|
}
|
|
436
424
|
}
|
|
437
|
-
} else
|
|
425
|
+
} else {
|
|
438
426
|
elm[memberName] = newValue;
|
|
439
427
|
}
|
|
440
428
|
} catch (e) {
|
|
@@ -456,42 +444,22 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
456
444
|
}
|
|
457
445
|
};
|
|
458
446
|
var parseClassListRegex = /\s/;
|
|
459
|
-
var parseClassList = (value) =>
|
|
460
|
-
if (typeof value === "object" && value && "baseVal" in value) {
|
|
461
|
-
value = value.baseVal;
|
|
462
|
-
}
|
|
463
|
-
if (!value || typeof value !== "string") {
|
|
464
|
-
return [];
|
|
465
|
-
}
|
|
466
|
-
return value.split(parseClassListRegex);
|
|
467
|
-
};
|
|
447
|
+
var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
|
|
468
448
|
|
|
469
449
|
// src/runtime/vdom/update-element.ts
|
|
470
|
-
var updateElement = (oldVnode, newVnode, isSvgMode2
|
|
450
|
+
var updateElement = (oldVnode, newVnode, isSvgMode2) => {
|
|
471
451
|
const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
|
|
472
|
-
const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ ||
|
|
473
|
-
const newVnodeAttrs = newVnode.$attrs$ ||
|
|
452
|
+
const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
|
|
453
|
+
const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
|
|
474
454
|
{
|
|
475
455
|
for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
|
|
476
456
|
if (!(memberName in newVnodeAttrs)) {
|
|
477
|
-
setAccessor(
|
|
478
|
-
elm,
|
|
479
|
-
memberName,
|
|
480
|
-
oldVnodeAttrs[memberName],
|
|
481
|
-
void 0,
|
|
482
|
-
isSvgMode2,
|
|
483
|
-
newVnode.$flags$);
|
|
457
|
+
setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
|
|
484
458
|
}
|
|
485
459
|
}
|
|
486
460
|
}
|
|
487
461
|
for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
|
|
488
|
-
setAccessor(
|
|
489
|
-
elm,
|
|
490
|
-
memberName,
|
|
491
|
-
oldVnodeAttrs[memberName],
|
|
492
|
-
newVnodeAttrs[memberName],
|
|
493
|
-
isSvgMode2,
|
|
494
|
-
newVnode.$flags$);
|
|
462
|
+
setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
|
|
495
463
|
}
|
|
496
464
|
};
|
|
497
465
|
function sortedAttrNames(attrNames) {
|
|
@@ -503,10 +471,13 @@ function sortedAttrNames(attrNames) {
|
|
|
503
471
|
attrNames
|
|
504
472
|
);
|
|
505
473
|
}
|
|
474
|
+
|
|
475
|
+
// src/runtime/vdom/vdom-render.ts
|
|
476
|
+
var scopeId;
|
|
506
477
|
var hostTagName;
|
|
507
478
|
var useNativeShadowDom = false;
|
|
508
479
|
var isSvgMode = false;
|
|
509
|
-
var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
480
|
+
var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
510
481
|
const newVNode2 = newParentVNode.$children$[childIndex];
|
|
511
482
|
let i2 = 0;
|
|
512
483
|
let elm;
|
|
@@ -527,6 +498,11 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
527
498
|
{
|
|
528
499
|
updateElement(null, newVNode2, isSvgMode);
|
|
529
500
|
}
|
|
501
|
+
const rootNode = elm.getRootNode();
|
|
502
|
+
const isElementWithinShadowRoot = !rootNode.querySelector("body");
|
|
503
|
+
if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
504
|
+
elm.classList.add(elm["s-si"] = scopeId);
|
|
505
|
+
}
|
|
530
506
|
if (newVNode2.$children$) {
|
|
531
507
|
for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
|
|
532
508
|
childNode = createElm(oldParentVNode, newVNode2, i2);
|
|
@@ -662,9 +638,6 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
|
|
|
662
638
|
if (!isInitialRender) {
|
|
663
639
|
return leftVNode.$key$ === rightVNode.$key$;
|
|
664
640
|
}
|
|
665
|
-
if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
|
|
666
|
-
leftVNode.$key$ = rightVNode.$key$;
|
|
667
|
-
}
|
|
668
641
|
return true;
|
|
669
642
|
}
|
|
670
643
|
return false;
|
|
@@ -705,9 +678,8 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
705
678
|
}
|
|
706
679
|
};
|
|
707
680
|
var insertBefore = (parent, newNode, reference) => {
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
}
|
|
681
|
+
const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
|
|
682
|
+
return inserted;
|
|
711
683
|
};
|
|
712
684
|
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
713
685
|
const hostElm = hostRef.$hostElement$;
|
|
@@ -726,21 +698,17 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
726
698
|
rootVnode.$flags$ |= 4 /* isHost */;
|
|
727
699
|
hostRef.$vnode$ = rootVnode;
|
|
728
700
|
rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
|
|
729
|
-
|
|
701
|
+
{
|
|
702
|
+
scopeId = hostElm["s-sc"];
|
|
703
|
+
}
|
|
704
|
+
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
|
|
730
705
|
patch(oldVNode, rootVnode, isInitialLoad);
|
|
731
706
|
};
|
|
732
707
|
|
|
733
708
|
// src/runtime/update-component.ts
|
|
734
709
|
var attachToAncestor = (hostRef, ancestorComponent) => {
|
|
735
710
|
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
|
|
736
|
-
|
|
737
|
-
new Promise(
|
|
738
|
-
(r) => hostRef.$onRenderResolve$ = () => {
|
|
739
|
-
ancestorComponent["s-p"].splice(index - 1, 1);
|
|
740
|
-
r();
|
|
741
|
-
}
|
|
742
|
-
)
|
|
743
|
-
);
|
|
711
|
+
ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
|
|
744
712
|
}
|
|
745
713
|
};
|
|
746
714
|
var scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
@@ -769,12 +737,12 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
769
737
|
{
|
|
770
738
|
hostRef.$flags$ |= 256 /* isListenReady */;
|
|
771
739
|
if (hostRef.$queuedListeners$) {
|
|
772
|
-
hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event
|
|
740
|
+
hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
|
|
773
741
|
hostRef.$queuedListeners$ = void 0;
|
|
774
742
|
}
|
|
775
743
|
}
|
|
776
744
|
{
|
|
777
|
-
maybePromise = safeCall(instance, "componentWillLoad"
|
|
745
|
+
maybePromise = safeCall(instance, "componentWillLoad");
|
|
778
746
|
}
|
|
779
747
|
}
|
|
780
748
|
endSchedule();
|
|
@@ -843,7 +811,7 @@ var postUpdateComponent = (hostRef) => {
|
|
|
843
811
|
const instance = hostRef.$lazyInstance$ ;
|
|
844
812
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
845
813
|
{
|
|
846
|
-
safeCall(instance, "componentDidRender"
|
|
814
|
+
safeCall(instance, "componentDidRender");
|
|
847
815
|
}
|
|
848
816
|
if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
|
|
849
817
|
hostRef.$flags$ |= 64 /* hasLoadedComponent */;
|
|
@@ -872,14 +840,17 @@ var postUpdateComponent = (hostRef) => {
|
|
|
872
840
|
}
|
|
873
841
|
};
|
|
874
842
|
var appDidLoad = (who) => {
|
|
843
|
+
{
|
|
844
|
+
addHydratedFlag(doc.documentElement);
|
|
845
|
+
}
|
|
875
846
|
nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
|
|
876
847
|
};
|
|
877
|
-
var safeCall = (instance, method, arg
|
|
848
|
+
var safeCall = (instance, method, arg) => {
|
|
878
849
|
if (instance && instance[method]) {
|
|
879
850
|
try {
|
|
880
851
|
return instance[method](arg);
|
|
881
852
|
} catch (e) {
|
|
882
|
-
consoleError(e
|
|
853
|
+
consoleError(e);
|
|
883
854
|
}
|
|
884
855
|
}
|
|
885
856
|
return void 0;
|
|
@@ -922,68 +893,15 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
922
893
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
923
894
|
members.map(([memberName, [memberFlags]]) => {
|
|
924
895
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
925
|
-
const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
|
|
926
|
-
if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
|
|
927
|
-
if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
|
|
928
|
-
if (flags & 1 /* isElementConstructor */ || !origGetter) {
|
|
929
|
-
Object.defineProperty(prototype, memberName, {
|
|
930
|
-
get() {
|
|
931
|
-
{
|
|
932
|
-
if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
|
|
933
|
-
return getValue(this, memberName);
|
|
934
|
-
}
|
|
935
|
-
const ref = getHostRef(this);
|
|
936
|
-
const instance = ref ? ref.$lazyInstance$ : prototype;
|
|
937
|
-
if (!instance) return;
|
|
938
|
-
return instance[memberName];
|
|
939
|
-
}
|
|
940
|
-
},
|
|
941
|
-
configurable: true,
|
|
942
|
-
enumerable: true
|
|
943
|
-
});
|
|
944
|
-
}
|
|
945
896
|
Object.defineProperty(prototype, memberName, {
|
|
897
|
+
get() {
|
|
898
|
+
return getValue(this, memberName);
|
|
899
|
+
},
|
|
946
900
|
set(newValue) {
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
newValue = ref.$instanceValues$.get(memberName);
|
|
952
|
-
} else if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
953
|
-
ref.$instanceValues$.set(memberName, currentValue);
|
|
954
|
-
}
|
|
955
|
-
origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
|
|
956
|
-
newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
957
|
-
setValue(this, memberName, newValue, cmpMeta);
|
|
958
|
-
return;
|
|
959
|
-
}
|
|
960
|
-
{
|
|
961
|
-
if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
|
|
962
|
-
setValue(this, memberName, newValue, cmpMeta);
|
|
963
|
-
if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
|
|
964
|
-
ref.$onReadyPromise$.then(() => {
|
|
965
|
-
if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
|
|
966
|
-
ref.$lazyInstance$[memberName] = newValue;
|
|
967
|
-
}
|
|
968
|
-
});
|
|
969
|
-
}
|
|
970
|
-
return;
|
|
971
|
-
}
|
|
972
|
-
const setterSetVal = () => {
|
|
973
|
-
const currentValue = ref.$lazyInstance$[memberName];
|
|
974
|
-
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
975
|
-
ref.$instanceValues$.set(memberName, currentValue);
|
|
976
|
-
}
|
|
977
|
-
ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
|
|
978
|
-
setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
|
|
979
|
-
};
|
|
980
|
-
if (ref.$lazyInstance$) {
|
|
981
|
-
setterSetVal();
|
|
982
|
-
} else {
|
|
983
|
-
ref.$onReadyPromise$.then(() => setterSetVal());
|
|
984
|
-
}
|
|
985
|
-
}
|
|
986
|
-
}
|
|
901
|
+
setValue(this, memberName, newValue, cmpMeta);
|
|
902
|
+
},
|
|
903
|
+
configurable: true,
|
|
904
|
+
enumerable: true
|
|
987
905
|
});
|
|
988
906
|
}
|
|
989
907
|
});
|
|
@@ -993,7 +911,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
993
911
|
plt.jmp(() => {
|
|
994
912
|
var _a2;
|
|
995
913
|
const propName = attrNameToPropName.get(attrName);
|
|
996
|
-
if (this.hasOwnProperty(propName)
|
|
914
|
+
if (this.hasOwnProperty(propName)) {
|
|
997
915
|
newValue = this[propName];
|
|
998
916
|
delete this[propName];
|
|
999
917
|
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
|
|
@@ -1013,11 +931,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1013
931
|
}
|
|
1014
932
|
return;
|
|
1015
933
|
}
|
|
1016
|
-
|
|
1017
|
-
newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
|
|
1018
|
-
if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
1019
|
-
this[propName] = newValue;
|
|
1020
|
-
}
|
|
934
|
+
this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
|
|
1021
935
|
});
|
|
1022
936
|
};
|
|
1023
937
|
Cstr.observedAttributes = Array.from(
|
|
@@ -1042,7 +956,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1042
956
|
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
1043
957
|
const bundleId = cmpMeta.$lazyBundleId$;
|
|
1044
958
|
if (bundleId) {
|
|
1045
|
-
const CstrImport = loadModule(cmpMeta
|
|
959
|
+
const CstrImport = loadModule(cmpMeta);
|
|
1046
960
|
if (CstrImport && "then" in CstrImport) {
|
|
1047
961
|
const endLoad = uniqueTime();
|
|
1048
962
|
Cstr = await CstrImport;
|
|
@@ -1064,7 +978,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1064
978
|
try {
|
|
1065
979
|
new Cstr(hostRef);
|
|
1066
980
|
} catch (e) {
|
|
1067
|
-
consoleError(e
|
|
981
|
+
consoleError(e);
|
|
1068
982
|
}
|
|
1069
983
|
{
|
|
1070
984
|
hostRef.$flags$ &= ~8 /* isConstructingInstance */;
|
|
@@ -1096,7 +1010,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1096
1010
|
schedule();
|
|
1097
1011
|
}
|
|
1098
1012
|
};
|
|
1099
|
-
var fireConnectedCallback = (instance
|
|
1013
|
+
var fireConnectedCallback = (instance) => {
|
|
1100
1014
|
};
|
|
1101
1015
|
|
|
1102
1016
|
// src/runtime/connected-callback.ts
|
|
@@ -1137,7 +1051,7 @@ var connectedCallback = (elm) => {
|
|
|
1137
1051
|
endConnected();
|
|
1138
1052
|
}
|
|
1139
1053
|
};
|
|
1140
|
-
var disconnectInstance = (instance
|
|
1054
|
+
var disconnectInstance = (instance) => {
|
|
1141
1055
|
};
|
|
1142
1056
|
var disconnectedCallback = async (elm) => {
|
|
1143
1057
|
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
@@ -1152,12 +1066,6 @@ var disconnectedCallback = async (elm) => {
|
|
|
1152
1066
|
hostRef.$onReadyPromise$.then(() => disconnectInstance());
|
|
1153
1067
|
}
|
|
1154
1068
|
}
|
|
1155
|
-
if (rootAppliedStyles.has(elm)) {
|
|
1156
|
-
rootAppliedStyles.delete(elm);
|
|
1157
|
-
}
|
|
1158
|
-
if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
|
|
1159
|
-
rootAppliedStyles.delete(elm.shadowRoot);
|
|
1160
|
-
}
|
|
1161
1069
|
};
|
|
1162
1070
|
|
|
1163
1071
|
// src/runtime/bootstrap-lazy.ts
|
|
@@ -1235,17 +1143,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1235
1143
|
}
|
|
1236
1144
|
disconnectedCallback() {
|
|
1237
1145
|
plt.jmp(() => disconnectedCallback(this));
|
|
1238
|
-
plt.raf(() => {
|
|
1239
|
-
var _a3;
|
|
1240
|
-
const hostRef = getHostRef(this);
|
|
1241
|
-
const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
|
|
1242
|
-
if (i2 > -1) {
|
|
1243
|
-
deferredConnectedCallbacks.splice(i2, 1);
|
|
1244
|
-
}
|
|
1245
|
-
if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
|
|
1246
|
-
delete hostRef.$vnode$.$elm$;
|
|
1247
|
-
}
|
|
1248
|
-
});
|
|
1249
1146
|
}
|
|
1250
1147
|
componentOnReady() {
|
|
1251
1148
|
return getHostRef(this).$onReadyPromise$;
|
|
@@ -1309,7 +1206,7 @@ var hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
|
1309
1206
|
}
|
|
1310
1207
|
}
|
|
1311
1208
|
} catch (e) {
|
|
1312
|
-
consoleError(e
|
|
1209
|
+
consoleError(e);
|
|
1313
1210
|
}
|
|
1314
1211
|
};
|
|
1315
1212
|
var getHostListenerTarget = (elm, flags) => {
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { b as bootstrapLazy } from './index-db720582.js';
|
|
2
|
+
export { s as setNonce } from './index-db720582.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as i,g as s}from"./p-e83ebab2.js";const t={en:{prizes:"Prizes",noprizes:"No available prizes",place:"place"},"zh-hk":{prizes:"獎品",noprizes:"沒有可用的獎品",place:"place"},fr:{prizes:"Prix",noprizes:"Aucun prix disponible",place:"place"},ro:{prizes:"Premii",noprizes:"Nu sunt disponibile premii",place:"poziție"},tr:{prizes:"Ödüller",noprizes:"Geçerli ödül yok",place:"Sıra"},el:{prizes:"Έπαθλα",noprizes:"Μη διαθέσιμα έπαθλα",place:"θέση"},es:{prizes:"Premios",noprizes:"No hay premios disponibles",place:"posición"},hu:{prizes:"Nyeremények",noprizes:"Nincs elérhető nyeremény",place:"helyezés"},pt:{prizes:"Prêmios",noprizes:"Não há prêmios disponíveis",place:"place"},hr:{prizes:"Nagrade",noprizes:"Nema dostupnih nagrada",place:"mjesto"}},a=(e,i)=>{var s,a;return(null===(s=t[i])||void 0===s?void 0:s[e])||(null===(a=t.en)||void 0===a?void 0:a[e])},r=class{constructor(i){e(this,i),this.useGroup=!1,this.useEvent=!1,this.clientStyling="",this.clientStylingUrl="",this.limitStylingAppends=!1,this.prizes=[],this.prizeGroups=[],this.initialLoad=!1}infoCompletedHandler(e){e.detail&&(this.prizes=e.detail.prizes,this.formatGroup(),this.initialLoad=!0)}formatGroup(){this.prizes.forEach((e=>{let i=[];if(e.count>0)for(let s=0;s<e.count;s++)i.push({name:e.name,rank:e.rank+s});this.prizeGroups.push(i)}))}getTournamentInfo(){let e=new URL(this.endpoint+`/v1/tournaments/${this.tournamentId}`),i=new Headers;e.searchParams.append("expand","games"),e.searchParams.append("language",this.language),e.searchParams.append("fields","playerEnrolled,games(id,name,thumbnail)"),this.session&&i.append("X-SessionId",this.session),fetch(e.href,{method:"GET",headers:i}).then((e=>e.json())).then((e=>{this.prizes=e.item.prizes,this.useGroup&&this.formatGroup(),this.initialLoad=!0}))}componentWillLoad(){!this.useEvent&&this.rawPrizes&&(this.prizes=JSON.parse(this.rawPrizes),this.useGroup&&this.formatGroup(),this.initialLoad=!0),!this.useEvent&&this.endpoint&&this.tournamentId&&this.getTournamentInfo()}componentDidRender(){!this.limitStylingAppends&&this.host&&(this.clientStyling&&this.setClientStyling(),this.clientStylingUrl&&this.setClientStylingURL(),this.limitStylingAppends=!0)}setClientStyling(){const e=new CSSStyleSheet;e.replace(this.clientStyling),this.host.shadowRoot.adoptedStyleSheets=[...this.host.shadowRoot.adoptedStyleSheets,e]}setClientStylingURL(){let e=new URL(this.clientStylingUrl);fetch(e.href).then((e=>e.text())).then((e=>{const i=new CSSStyleSheet;i.replace(e),this.host.shadowRoot.adoptedStyleSheets=[...this.host.shadowRoot.adoptedStyleSheets,i]}))}render(){return i("div",{key:"6f6d6a40e0374ad146b0eda343d963679fbd11f0",class:"TournamentPrizes "+(this.useGroup?"":"PrizeView")},this.initialLoad&&!this.useGroup&&i("div",{key:"28edb876913c67479b4fb5c885244cea36a073ea",class:"PrizeTitle"},i("svg",{key:"6cd86bf5db8eacee01a9577458c136cbe78684bc",class:"PrizeIcon",xmlns:"http://www.w3.org/2000/svg",width:"30",height:"27.454",viewBox:"0 0 30 27.454"},i("path",{key:"744e27a1ee73240f5876abd14b2e912b8dbc979e",d:"M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z",transform:"translate(-5.999 -9.76)"})),i("div",{key:"ddd4dd055f8441b1b0355e95e88b43049a108b2c",class:"Title"},a("prizes",this.language))),this.initialLoad&&this.useGroup&&i("div",{key:"83b846fe441de36598d01742fd6730de4c5920bf",class:"GroupPrizeTitle"},i("svg",{key:"e6b379df8cc991173b588e8dd9408b0c6716de7a",class:"PrizeIcon",xmlns:"http://www.w3.org/2000/svg",width:"19",height:"16",viewBox:"0 0 19 16",fill:"none"},i("g",{key:"0332923cca76d7ccbe779cb367abb4e8952842b5","clip-path":"url(#clip0_2459_42455)"},i("path",{key:"607a3379976189ca332117ec968c34046b3dcb46",d:"M14.7476 2.84132V0.664551H4.03327V2.84132H0.818359V5.01946C0.818359 6.8229 2.2568 8.28496 4.0326 8.28496C4.36862 8.28496 4.69326 8.23192 4.99647 8.13399C5.76958 9.25604 6.94898 10.07 8.31782 10.3516V13.7266H7.24685C6.06276 13.7266 5.1029 14.701 5.1029 15.9026H13.6753C13.6753 14.7004 12.7168 13.7266 11.5327 13.7266H10.4611V10.3516C11.8293 10.07 13.0087 9.25672 13.7818 8.13399C14.0863 8.23124 14.4116 8.28496 14.7463 8.28496C16.5214 8.28496 17.9612 6.8229 17.9612 5.01946V2.84132H14.7476ZM4.03327 6.99222C2.9623 6.99222 2.0908 6.10751 2.0908 5.01946V3.93005H4.03327V5.01946C4.03327 5.70221 4.15844 6.3564 4.38401 6.9589C4.27089 6.9793 4.15175 6.99086 4.03327 6.99086V6.99222ZM11.0207 5.88989L12.0414 9.06223L9.38945 7.09355L6.7368 9.06223L7.75757 5.88989L5.09688 3.93481L8.3814 3.94229L9.38945 0.767235L10.3968 3.94229L13.6814 3.93481L11.0207 5.88989ZM16.6901 5.01946C16.6901 6.10683 15.8193 6.99222 14.7483 6.99222C14.6285 6.99222 14.512 6.9793 14.3982 6.95958C14.6245 6.3564 14.7483 5.70357 14.7483 5.02014V3.93073H16.6901V5.02014V5.01946Z",fill:"white"})),i("defs",{key:"66f11be400aac05c7f334a48b82cfb1aabdead8c"},i("clipPath",{key:"65e879523cff89288af691d5f705ef55996f3107",id:"clip0_2459_42455"},i("rect",{key:"382441f3ade90fa866096c5f25dfc3cb49d82132",width:"18.2857",height:"16",fill:"white",transform:"translate(0.5)"})))),i("div",{key:"8610b8361faa0d2316415e39a21162dfcdcaeccf",class:"Title"},a("prizes",this.language))),i("div",{key:"76d9452769046d3c9cd4d0dd7a65396c5083ebc6",class:"PrizeGroups"},1==this.useGroup&&this.prizeGroups&&this.prizeGroups.map(((e,s)=>i("div",{class:`PrizeGroup Group${s+1}`},e&&e.map(((e,s)=>i("div",{class:"PrizeRow"},i("div",{class:`PrizeItem Rank${s+1}`},i("span",{class:"PrizeRank"},e.rank," ",a("place",this.language)," "),i("span",{class:"PrizeName"},e.name)))))))),0==this.useGroup&&this.prizes&&this.prizes.map(((e,s)=>i("div",{class:`Prize Prize${s}`},i("p",{class:"PrizeText"},i("span",{class:"PrizeRank"},e.count>1?`${e.rank}~${e.rank+e.count-1}`:e.rank)," ",a("place",this.language),": ",e.name)))),!this.prizes&&i("p",{key:"2df9ce5a0f56928a550f0ebf3de962835df0d6f2"},a("noprizes",this.language))))}get host(){return s(this)}};r.style=":host{display:block}.PrizeGroups{color:var(--emw--color-white, #FFFFFF);display:flex;gap:20px;font-size:14px}.PrizeGroup{flex:1;background:var(--emw--tournament-color-bg, #153a5c)}.PrizeTitle{text-align:center;width:100%}.GroupPrizeTitle{width:100%;display:flex;padding:8px 6px;gap:8px;justify-content:center}.PrizeView{display:flex;gap:10px;font-size:12px}.PrizeView .PrizeTitle{display:inline-block;width:auto}.PrizeView .PrizeGroups{display:inline-flex}.Title{text-align:center;color:var(--emw--color-white, #FFFFFF)}.PrizeIcon path{fill:var(--emw--color-white, #FFFFFF)}.PrizeRow{padding:8px;border-bottom:1px solid rgba(206, 210, 214, 0.15)}.PrizeItem{display:flex;justify-content:space-between;padding:6px;font-size:12px;border-radius:2px}.Group1 .Rank1{background:#7e6c22}.Group1 .Rank2{background:#666}.Group1 .Rank3{background:#6a5446}.Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.Prize{flex-grow:1;color:var(--emw--color-gray-300, #58586B)}.Prize.Prize0 span{color:#FECF00}.Prize.Prize1 span{color:#D9B206}.Prize.Prize2 span{color:#9B8007}.Prize p{color:var(--emw--color-white, #FFFFFF)}";export{r as casino_tournament_prizes}
|