@everymatrix/casino-engagement-suite-bar 1.54.11 → 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-engagement-suite-bar/casino-engagement-suite-bar.esm.js +1 -1
- package/dist/casino-engagement-suite-bar/p-a7ca9798.entry.js +1 -0
- package/dist/casino-engagement-suite-bar/p-d14341cc.js +2 -0
- package/dist/cjs/casino-engagement-suite-bar.cjs.entry.js +19 -43
- package/dist/cjs/casino-engagement-suite-bar.cjs.js +2 -2
- package/dist/cjs/{index-74d721d6.js → index-e5bc7c81.js} +67 -168
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/casino-engagement-suite-bar/casino-engagement-suite-bar.js +19 -73
- package/dist/esm/casino-engagement-suite-bar.entry.js +19 -43
- package/dist/esm/casino-engagement-suite-bar.js +3 -3
- package/dist/esm/{index-466e12d6.js → index-fa9a5454.js} +67 -168
- package/dist/esm/loader.js +2 -2
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-engagement-suite-bar/.stencil/packages/stencil/casino-engagement-suite-bar/stencil.config.d.ts +2 -0
- package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-engagement-suite-bar/.stencil/packages/stencil/casino-engagement-suite-bar/stencil.config.dev.d.ts +2 -0
- package/package.json +1 -1
- package/dist/casino-engagement-suite-bar/p-3ed6d677.entry.js +0 -1
- package/dist/casino-engagement-suite-bar/p-e3eeee5f.js +0 -2
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/casino-engagement-suite-bar/.stencil/packages/stencil/casino-engagement-suite-bar/stencil.config.d.ts +0 -2
- package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/casino-engagement-suite-bar/.stencil/packages/stencil/casino-engagement-suite-bar/stencil.config.dev.d.ts +0 -2
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-bar/.stencil/tools/plugins/index.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-bar/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-bar/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
- /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-bar/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
const NAMESPACE = 'casino-engagement-suite-bar';
|
|
2
|
-
const BUILD = /* casino-engagement-suite-bar */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: false, 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-engagement-suite-bar */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: false, cmpDidRender: true, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: false, 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: true, propNumber: false, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: false, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, 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/client/client-host-ref.ts
|
|
14
12
|
var hostRefs = /* @__PURE__ */ new WeakMap();
|
|
15
13
|
var getHostRef = (ref) => hostRefs.get(ref);
|
|
16
|
-
var registerInstance = (lazyInstance, hostRef) =>
|
|
17
|
-
hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
|
|
18
|
-
};
|
|
14
|
+
var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
|
|
19
15
|
var registerHost = (hostElement, cmpMeta) => {
|
|
20
16
|
const hostRef = {
|
|
21
17
|
$flags$: 0,
|
|
@@ -28,8 +24,7 @@ var registerHost = (hostElement, cmpMeta) => {
|
|
|
28
24
|
hostElement["s-p"] = [];
|
|
29
25
|
hostElement["s-rc"] = [];
|
|
30
26
|
}
|
|
31
|
-
|
|
32
|
-
return ref;
|
|
27
|
+
return hostRefs.set(hostElement, hostRef);
|
|
33
28
|
};
|
|
34
29
|
var isMemberInElement = (elm, memberName) => memberName in elm;
|
|
35
30
|
var consoleError = (e, el) => (0, console.error)(e, el);
|
|
@@ -66,22 +61,16 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
66
61
|
/* webpackExclude: /\.system\.entry\.js$/ */
|
|
67
62
|
/* webpackMode: "lazy" */
|
|
68
63
|
`./${bundleId}.entry.js${""}`
|
|
69
|
-
).then(
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
cmpModules.set(bundleId, importedModule);
|
|
73
|
-
}
|
|
74
|
-
return importedModule[exportName];
|
|
75
|
-
},
|
|
76
|
-
(e) => {
|
|
77
|
-
consoleError(e, hostRef.$hostElement$);
|
|
64
|
+
).then((importedModule) => {
|
|
65
|
+
{
|
|
66
|
+
cmpModules.set(bundleId, importedModule);
|
|
78
67
|
}
|
|
79
|
-
|
|
68
|
+
return importedModule[exportName];
|
|
69
|
+
}, consoleError);
|
|
80
70
|
};
|
|
81
71
|
|
|
82
72
|
// src/client/client-style.ts
|
|
83
73
|
var styles = /* @__PURE__ */ new Map();
|
|
84
|
-
var HYDRATED_STYLE_ID = "sty-id";
|
|
85
74
|
var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
|
|
86
75
|
var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
|
|
87
76
|
var win = typeof window !== "undefined" ? window : {};
|
|
@@ -155,6 +144,12 @@ var flush = () => {
|
|
|
155
144
|
};
|
|
156
145
|
var nextTick = (cb) => promiseResolve().then(cb);
|
|
157
146
|
var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
|
|
147
|
+
|
|
148
|
+
// src/utils/constants.ts
|
|
149
|
+
var EMPTY_OBJ = {};
|
|
150
|
+
|
|
151
|
+
// src/utils/helpers.ts
|
|
152
|
+
var isDef = (v) => v != null;
|
|
158
153
|
var isComplexType = (o) => {
|
|
159
154
|
o = typeof o;
|
|
160
155
|
return o === "object" || o === "function";
|
|
@@ -339,7 +334,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
339
334
|
}
|
|
340
335
|
if (!appliedStyles.has(scopeId2)) {
|
|
341
336
|
{
|
|
342
|
-
styleElm =
|
|
337
|
+
styleElm = doc.createElement("style");
|
|
343
338
|
styleElm.innerHTML = style;
|
|
344
339
|
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
|
|
345
340
|
if (nonce != null) {
|
|
@@ -349,10 +344,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
349
344
|
if (styleContainerNode.nodeName === "HEAD") {
|
|
350
345
|
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
351
346
|
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
352
|
-
styleContainerNode.insertBefore(
|
|
353
|
-
styleElm,
|
|
354
|
-
(referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
|
|
355
|
-
);
|
|
347
|
+
styleContainerNode.insertBefore(styleElm, referenceNode2);
|
|
356
348
|
} else if ("host" in styleContainerNode) {
|
|
357
349
|
if (supportsConstructableStylesheets) {
|
|
358
350
|
const stylesheet = new CSSStyleSheet();
|
|
@@ -370,7 +362,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
|
370
362
|
styleContainerNode.append(styleElm);
|
|
371
363
|
}
|
|
372
364
|
}
|
|
373
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
365
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
|
|
374
366
|
styleContainerNode.insertBefore(styleElm, null);
|
|
375
367
|
}
|
|
376
368
|
}
|
|
@@ -395,25 +387,23 @@ var attachStyles = (hostRef) => {
|
|
|
395
387
|
const scopeId2 = addStyle(
|
|
396
388
|
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
397
389
|
cmpMeta);
|
|
398
|
-
if (
|
|
390
|
+
if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
|
|
399
391
|
elm["s-sc"] = scopeId2;
|
|
400
392
|
elm.classList.add(scopeId2 + "-h");
|
|
401
393
|
}
|
|
402
394
|
endAttachStyles();
|
|
403
395
|
};
|
|
404
396
|
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
405
|
-
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags
|
|
397
|
+
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
406
398
|
if (oldValue !== newValue) {
|
|
407
399
|
let isProp = isMemberInElement(elm, memberName);
|
|
408
400
|
let ln = memberName.toLowerCase();
|
|
409
401
|
if (memberName === "class") {
|
|
410
402
|
const classList = elm.classList;
|
|
411
403
|
const oldClasses = parseClassList(oldValue);
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
416
|
-
}
|
|
404
|
+
const newClasses = parseClassList(newValue);
|
|
405
|
+
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
406
|
+
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
417
407
|
} else if (memberName === "key") ; else if (memberName === "ref") {
|
|
418
408
|
if (newValue) {
|
|
419
409
|
newValue(elm);
|
|
@@ -451,7 +441,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
451
441
|
elm.setAttribute(memberName, n);
|
|
452
442
|
}
|
|
453
443
|
}
|
|
454
|
-
} else
|
|
444
|
+
} else {
|
|
455
445
|
elm[memberName] = newValue;
|
|
456
446
|
}
|
|
457
447
|
} catch (e) {
|
|
@@ -473,44 +463,24 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
473
463
|
}
|
|
474
464
|
};
|
|
475
465
|
var parseClassListRegex = /\s/;
|
|
476
|
-
var parseClassList = (value) =>
|
|
477
|
-
if (typeof value === "object" && value && "baseVal" in value) {
|
|
478
|
-
value = value.baseVal;
|
|
479
|
-
}
|
|
480
|
-
if (!value || typeof value !== "string") {
|
|
481
|
-
return [];
|
|
482
|
-
}
|
|
483
|
-
return value.split(parseClassListRegex);
|
|
484
|
-
};
|
|
466
|
+
var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
|
|
485
467
|
var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
486
468
|
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
|
487
469
|
|
|
488
470
|
// src/runtime/vdom/update-element.ts
|
|
489
|
-
var updateElement = (oldVnode, newVnode, isSvgMode2
|
|
471
|
+
var updateElement = (oldVnode, newVnode, isSvgMode2) => {
|
|
490
472
|
const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
|
|
491
|
-
const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ ||
|
|
492
|
-
const newVnodeAttrs = newVnode.$attrs$ ||
|
|
473
|
+
const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
|
|
474
|
+
const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
|
|
493
475
|
{
|
|
494
476
|
for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
|
|
495
477
|
if (!(memberName in newVnodeAttrs)) {
|
|
496
|
-
setAccessor(
|
|
497
|
-
elm,
|
|
498
|
-
memberName,
|
|
499
|
-
oldVnodeAttrs[memberName],
|
|
500
|
-
void 0,
|
|
501
|
-
isSvgMode2,
|
|
502
|
-
newVnode.$flags$);
|
|
478
|
+
setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
|
|
503
479
|
}
|
|
504
480
|
}
|
|
505
481
|
}
|
|
506
482
|
for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
|
|
507
|
-
setAccessor(
|
|
508
|
-
elm,
|
|
509
|
-
memberName,
|
|
510
|
-
oldVnodeAttrs[memberName],
|
|
511
|
-
newVnodeAttrs[memberName],
|
|
512
|
-
isSvgMode2,
|
|
513
|
-
newVnode.$flags$);
|
|
483
|
+
setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
|
|
514
484
|
}
|
|
515
485
|
};
|
|
516
486
|
function sortedAttrNames(attrNames) {
|
|
@@ -522,10 +492,13 @@ function sortedAttrNames(attrNames) {
|
|
|
522
492
|
attrNames
|
|
523
493
|
);
|
|
524
494
|
}
|
|
495
|
+
|
|
496
|
+
// src/runtime/vdom/vdom-render.ts
|
|
497
|
+
var scopeId;
|
|
525
498
|
var hostTagName;
|
|
526
499
|
var useNativeShadowDom = false;
|
|
527
500
|
var isSvgMode = false;
|
|
528
|
-
var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
501
|
+
var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
529
502
|
const newVNode2 = newParentVNode.$children$[childIndex];
|
|
530
503
|
let i2 = 0;
|
|
531
504
|
let elm;
|
|
@@ -539,6 +512,11 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
|
|
|
539
512
|
{
|
|
540
513
|
updateElement(null, newVNode2, isSvgMode);
|
|
541
514
|
}
|
|
515
|
+
const rootNode = elm.getRootNode();
|
|
516
|
+
const isElementWithinShadowRoot = !rootNode.querySelector("body");
|
|
517
|
+
if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
|
|
518
|
+
elm.classList.add(elm["s-si"] = scopeId);
|
|
519
|
+
}
|
|
542
520
|
if (newVNode2.$children$) {
|
|
543
521
|
for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
|
|
544
522
|
childNode = createElm(oldParentVNode, newVNode2, i2);
|
|
@@ -668,9 +646,6 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
|
|
|
668
646
|
if (!isInitialRender) {
|
|
669
647
|
return leftVNode.$key$ === rightVNode.$key$;
|
|
670
648
|
}
|
|
671
|
-
if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
|
|
672
|
-
leftVNode.$key$ = rightVNode.$key$;
|
|
673
|
-
}
|
|
674
649
|
return true;
|
|
675
650
|
}
|
|
676
651
|
return false;
|
|
@@ -710,9 +685,8 @@ var nullifyVNodeRefs = (vNode) => {
|
|
|
710
685
|
}
|
|
711
686
|
};
|
|
712
687
|
var insertBefore = (parent, newNode, reference) => {
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
}
|
|
688
|
+
const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
|
|
689
|
+
return inserted;
|
|
716
690
|
};
|
|
717
691
|
var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
718
692
|
const hostElm = hostRef.$hostElement$;
|
|
@@ -737,21 +711,17 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
|
737
711
|
rootVnode.$flags$ |= 4 /* isHost */;
|
|
738
712
|
hostRef.$vnode$ = rootVnode;
|
|
739
713
|
rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
|
|
740
|
-
|
|
714
|
+
{
|
|
715
|
+
scopeId = hostElm["s-sc"];
|
|
716
|
+
}
|
|
717
|
+
useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
|
|
741
718
|
patch(oldVNode, rootVnode, isInitialLoad);
|
|
742
719
|
};
|
|
743
720
|
|
|
744
721
|
// src/runtime/update-component.ts
|
|
745
722
|
var attachToAncestor = (hostRef, ancestorComponent) => {
|
|
746
723
|
if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
|
|
747
|
-
|
|
748
|
-
new Promise(
|
|
749
|
-
(r) => hostRef.$onRenderResolve$ = () => {
|
|
750
|
-
ancestorComponent["s-p"].splice(index - 1, 1);
|
|
751
|
-
r();
|
|
752
|
-
}
|
|
753
|
-
)
|
|
754
|
-
);
|
|
724
|
+
ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
|
|
755
725
|
}
|
|
756
726
|
};
|
|
757
727
|
var scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
@@ -780,7 +750,7 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
780
750
|
{
|
|
781
751
|
hostRef.$flags$ |= 256 /* isListenReady */;
|
|
782
752
|
if (hostRef.$queuedListeners$) {
|
|
783
|
-
hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event
|
|
753
|
+
hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
|
|
784
754
|
hostRef.$queuedListeners$ = void 0;
|
|
785
755
|
}
|
|
786
756
|
}
|
|
@@ -851,7 +821,7 @@ var postUpdateComponent = (hostRef) => {
|
|
|
851
821
|
const instance = hostRef.$lazyInstance$ ;
|
|
852
822
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
853
823
|
{
|
|
854
|
-
safeCall(instance, "componentDidRender"
|
|
824
|
+
safeCall(instance, "componentDidRender");
|
|
855
825
|
}
|
|
856
826
|
if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
|
|
857
827
|
hostRef.$flags$ |= 64 /* hasLoadedComponent */;
|
|
@@ -880,14 +850,17 @@ var postUpdateComponent = (hostRef) => {
|
|
|
880
850
|
}
|
|
881
851
|
};
|
|
882
852
|
var appDidLoad = (who) => {
|
|
853
|
+
{
|
|
854
|
+
addHydratedFlag(doc.documentElement);
|
|
855
|
+
}
|
|
883
856
|
nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
|
|
884
857
|
};
|
|
885
|
-
var safeCall = (instance, method, arg
|
|
858
|
+
var safeCall = (instance, method, arg) => {
|
|
886
859
|
if (instance && instance[method]) {
|
|
887
860
|
try {
|
|
888
861
|
return instance[method](arg);
|
|
889
862
|
} catch (e) {
|
|
890
|
-
consoleError(e
|
|
863
|
+
consoleError(e);
|
|
891
864
|
}
|
|
892
865
|
}
|
|
893
866
|
return void 0;
|
|
@@ -930,68 +903,15 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
930
903
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
931
904
|
members.map(([memberName, [memberFlags]]) => {
|
|
932
905
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
933
|
-
const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
|
|
934
|
-
if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
|
|
935
|
-
if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
|
|
936
|
-
if (flags & 1 /* isElementConstructor */ || !origGetter) {
|
|
937
|
-
Object.defineProperty(prototype, memberName, {
|
|
938
|
-
get() {
|
|
939
|
-
{
|
|
940
|
-
if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
|
|
941
|
-
return getValue(this, memberName);
|
|
942
|
-
}
|
|
943
|
-
const ref = getHostRef(this);
|
|
944
|
-
const instance = ref ? ref.$lazyInstance$ : prototype;
|
|
945
|
-
if (!instance) return;
|
|
946
|
-
return instance[memberName];
|
|
947
|
-
}
|
|
948
|
-
},
|
|
949
|
-
configurable: true,
|
|
950
|
-
enumerable: true
|
|
951
|
-
});
|
|
952
|
-
}
|
|
953
906
|
Object.defineProperty(prototype, memberName, {
|
|
907
|
+
get() {
|
|
908
|
+
return getValue(this, memberName);
|
|
909
|
+
},
|
|
954
910
|
set(newValue) {
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
newValue = ref.$instanceValues$.get(memberName);
|
|
960
|
-
} else if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
961
|
-
ref.$instanceValues$.set(memberName, currentValue);
|
|
962
|
-
}
|
|
963
|
-
origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
|
|
964
|
-
newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
965
|
-
setValue(this, memberName, newValue, cmpMeta);
|
|
966
|
-
return;
|
|
967
|
-
}
|
|
968
|
-
{
|
|
969
|
-
if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
|
|
970
|
-
setValue(this, memberName, newValue, cmpMeta);
|
|
971
|
-
if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
|
|
972
|
-
ref.$onReadyPromise$.then(() => {
|
|
973
|
-
if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
|
|
974
|
-
ref.$lazyInstance$[memberName] = newValue;
|
|
975
|
-
}
|
|
976
|
-
});
|
|
977
|
-
}
|
|
978
|
-
return;
|
|
979
|
-
}
|
|
980
|
-
const setterSetVal = () => {
|
|
981
|
-
const currentValue = ref.$lazyInstance$[memberName];
|
|
982
|
-
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
983
|
-
ref.$instanceValues$.set(memberName, currentValue);
|
|
984
|
-
}
|
|
985
|
-
ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
|
|
986
|
-
setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
|
|
987
|
-
};
|
|
988
|
-
if (ref.$lazyInstance$) {
|
|
989
|
-
setterSetVal();
|
|
990
|
-
} else {
|
|
991
|
-
ref.$onReadyPromise$.then(() => setterSetVal());
|
|
992
|
-
}
|
|
993
|
-
}
|
|
994
|
-
}
|
|
911
|
+
setValue(this, memberName, newValue, cmpMeta);
|
|
912
|
+
},
|
|
913
|
+
configurable: true,
|
|
914
|
+
enumerable: true
|
|
995
915
|
});
|
|
996
916
|
}
|
|
997
917
|
});
|
|
@@ -1001,7 +921,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1001
921
|
plt.jmp(() => {
|
|
1002
922
|
var _a2;
|
|
1003
923
|
const propName = attrNameToPropName.get(attrName);
|
|
1004
|
-
if (this.hasOwnProperty(propName)
|
|
924
|
+
if (this.hasOwnProperty(propName)) {
|
|
1005
925
|
newValue = this[propName];
|
|
1006
926
|
delete this[propName];
|
|
1007
927
|
} else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
|
|
@@ -1021,11 +941,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1021
941
|
}
|
|
1022
942
|
return;
|
|
1023
943
|
}
|
|
1024
|
-
|
|
1025
|
-
newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
|
|
1026
|
-
if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
1027
|
-
this[propName] = newValue;
|
|
1028
|
-
}
|
|
944
|
+
this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
|
|
1029
945
|
});
|
|
1030
946
|
};
|
|
1031
947
|
Cstr.observedAttributes = Array.from(
|
|
@@ -1054,7 +970,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1054
970
|
hostRef.$flags$ |= 32 /* hasInitializedComponent */;
|
|
1055
971
|
const bundleId = cmpMeta.$lazyBundleId$;
|
|
1056
972
|
if (bundleId) {
|
|
1057
|
-
const CstrImport = loadModule(cmpMeta
|
|
973
|
+
const CstrImport = loadModule(cmpMeta);
|
|
1058
974
|
if (CstrImport && "then" in CstrImport) {
|
|
1059
975
|
const endLoad = uniqueTime();
|
|
1060
976
|
Cstr = await CstrImport;
|
|
@@ -1076,7 +992,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1076
992
|
try {
|
|
1077
993
|
new Cstr(hostRef);
|
|
1078
994
|
} catch (e) {
|
|
1079
|
-
consoleError(e
|
|
995
|
+
consoleError(e);
|
|
1080
996
|
}
|
|
1081
997
|
{
|
|
1082
998
|
hostRef.$flags$ &= ~8 /* isConstructingInstance */;
|
|
@@ -1108,7 +1024,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1108
1024
|
schedule();
|
|
1109
1025
|
}
|
|
1110
1026
|
};
|
|
1111
|
-
var fireConnectedCallback = (instance
|
|
1027
|
+
var fireConnectedCallback = (instance) => {
|
|
1112
1028
|
};
|
|
1113
1029
|
|
|
1114
1030
|
// src/runtime/connected-callback.ts
|
|
@@ -1149,7 +1065,7 @@ var connectedCallback = (elm) => {
|
|
|
1149
1065
|
endConnected();
|
|
1150
1066
|
}
|
|
1151
1067
|
};
|
|
1152
|
-
var disconnectInstance = (instance
|
|
1068
|
+
var disconnectInstance = (instance) => {
|
|
1153
1069
|
};
|
|
1154
1070
|
var disconnectedCallback = async (elm) => {
|
|
1155
1071
|
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
@@ -1164,12 +1080,6 @@ var disconnectedCallback = async (elm) => {
|
|
|
1164
1080
|
hostRef.$onReadyPromise$.then(() => disconnectInstance());
|
|
1165
1081
|
}
|
|
1166
1082
|
}
|
|
1167
|
-
if (rootAppliedStyles.has(elm)) {
|
|
1168
|
-
rootAppliedStyles.delete(elm);
|
|
1169
|
-
}
|
|
1170
|
-
if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
|
|
1171
|
-
rootAppliedStyles.delete(elm.shadowRoot);
|
|
1172
|
-
}
|
|
1173
1083
|
};
|
|
1174
1084
|
|
|
1175
1085
|
// src/runtime/bootstrap-lazy.ts
|
|
@@ -1250,17 +1160,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1250
1160
|
}
|
|
1251
1161
|
disconnectedCallback() {
|
|
1252
1162
|
plt.jmp(() => disconnectedCallback(this));
|
|
1253
|
-
plt.raf(() => {
|
|
1254
|
-
var _a3;
|
|
1255
|
-
const hostRef = getHostRef(this);
|
|
1256
|
-
const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
|
|
1257
|
-
if (i2 > -1) {
|
|
1258
|
-
deferredConnectedCallbacks.splice(i2, 1);
|
|
1259
|
-
}
|
|
1260
|
-
if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
|
|
1261
|
-
delete hostRef.$vnode$.$elm$;
|
|
1262
|
-
}
|
|
1263
|
-
});
|
|
1264
1163
|
}
|
|
1265
1164
|
componentOnReady() {
|
|
1266
1165
|
return getHostRef(this).$onReadyPromise$;
|
|
@@ -1324,7 +1223,7 @@ var hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
|
1324
1223
|
}
|
|
1325
1224
|
}
|
|
1326
1225
|
} catch (e) {
|
|
1327
|
-
consoleError(e
|
|
1226
|
+
consoleError(e);
|
|
1328
1227
|
}
|
|
1329
1228
|
};
|
|
1330
1229
|
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-fa9a5454.js';
|
|
2
|
+
export { s as setNonce } from './index-fa9a5454.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 a}from"./p-e3eeee5f.js";"function"==typeof SuppressedError&&SuppressedError;const t={labels:[],rank:"-"},n=["en"],i={en:{new:"new",win:"win"}},r=(e,a)=>{const t=a;return i[void 0!==t&&n.includes(t)?t:"en"][e]},s=class{constructor(a){e(this,a),this.highlightChallenge=!1,this.clientStyling="",this.clientStylingUrl="",this.orientation="Landscape",this.device="Mobile",this.isChallengeLabel=!1,this.isForfeitedChallengeLabel=!1,this.isSpinForfeitedLabel=!1,this.language="en",this.jackpots=[],this.remainingLuckywheels="1",this.limitStylingAppends=!1,this.activeJackpot="",this.leaderboardState=t,this.handleTileClick=e=>{const a=e.target.getAttribute("data-app");window.postMessage({type:`Bar${a}Click`}),this.activeWidget=a,"Jackpots"===a&&(this.activeJackpot=e.target.getAttribute("data-type"))},this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.engagementSuiteBar.prepend(e)},this.setClientStylingURL=()=>{let e=new URL(this.clientStylingUrl),a=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{a.innerHTML=e,setTimeout((()=>{this.engagementSuiteBar.prepend(a)}),1)})).catch((e=>{console.log("Error ",e)}))}}handleEvent(e){const a=null==e?void 0:e.data,{type:n}=a,i=function(e,a){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&a.indexOf(n)<0&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)a.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(t[n[i]]=e[n[i]])}return t}(a,["type"]);switch(n){case"UpdateLeaderboardState":Object.keys(t).map((e=>{i[e]&&(this.leaderboardState=Object.assign(Object.assign({},this.leaderboardState),{[e]:i[e]}))}));break;case"LeaderboardLiveEvent":["TournamentUpdate","PlayerLeaderBoardUpdate"].includes(i.messageType)&&!this.leaderboardState.labels.includes("new")&&(this.leaderboardState=Object.assign(Object.assign({},this.leaderboardState),{labels:[...this.leaderboardState.labels,"new"]}))}}componentDidRender(){!this.limitStylingAppends&&this.engagementSuiteBar&&(this.clientStyling&&this.setClientStyling(),this.clientStylingUrl&&this.setClientStylingURL(),this.limitStylingAppends=!0)}getChallengeTile(){return a("button",{class:"Tile Reward Challenges "+("Challenges"===this.activeWidget||this.highlightChallenge?"Active":""),"data-app":"Challenges",onClick:this.handleTileClick},a("div",{class:"RewardIcon"}),a("span",null,this.challengePercent),a("div",{class:"ChallengeLabel "+(this.isChallengeLabel&&!this.isForfeitedChallengeLabel?"ShowChallengeLabel":"")},a("span",null,r("new",this.language))),a("div",{class:"ForfeitLabel "+(this.isForfeitedChallengeLabel?"ShowForfeitChallengeLabel":"")}))}getFreeSpinsTile(){return a("button",{class:"Tile Reward FreeSpins "+("FreeSpins"===this.activeWidget?"Active":""),"data-app":"FreeSpins",onClick:this.handleTileClick},a("div",{class:"RewardIcon"}),a("span",null,this.remainingFreeSpins),a("div",{class:"ForfeitLabel "+(this.isSpinForfeitedLabel?"ShowForfeitLabel":"")},a("span",null)))}getLuckyWheelTile(){return a("button",{class:"Tile Reward Luckywheel "+("LuckyWheels"===this.activeWidget?"Active":""),"data-app":"LuckyWheels",onClick:this.handleTileClick},a("div",{class:"RewardIcon"}),a("span",null,this.remainingLuckywheels))}getJackpotClasses(e){return{Tile:!0,Jackpot:!0,Enabled:e.Enabled,Active:"Jackpots"===this.activeWidget&&this.activeJackpot===e.Type,[e.Type.charAt(0).toUpperCase()+e.Type.slice(1)]:!0}}getJackpotsTemplate(){return this.jackpots.map((e=>{const t=function(e,a,t=99999999){return e=Math.min(e,t),`${a} ${new Intl.NumberFormat("en",{minimumFractionDigits:2,maximumFractionDigits:2}).format(e)}`}(e.Balance,e.Currency);return a("div",{class:this.getJackpotClasses(e),"data-app":"Jackpots","data-type":e.Type,onClick:this.handleTileClick},a("div",{class:"JackpotType"},e.Type),a("span",{class:"JackpotBalance"},t))}))}getLeaderboardsTile(){return a("button",{class:"Tile Reward Leaderboard "+("Leaderboards"===this.activeWidget?"Active":""),"data-app":"Leaderboards",onClick:this.handleTileClick},a("div",{class:"RewardIcon"}),a("span",null,this.leaderboardState.rank),a("div",{class:"LeaderboardLabels"},this.leaderboardState.labels.map((e=>a("div",{class:"LeaderboardLabel"},a("span",null,r(e,this.language)))))))}displayTilesInOneRow(){return this.jackpots.length+[this.leaderboards,this.challengePercent,this.remainingFreeSpins].filter((e=>!!e)).length<4}getTilesTemplate(){return this.displayTilesInOneRow()?a("div",{class:"EngagementSuiteContainer"},!!this.jackpots.length&&this.getJackpotsTemplate(),this.leaderboards&&this.getLeaderboardsTile(),this.remainingLuckywheels&&this.getLuckyWheelTile(),this.challengePercent&&this.getChallengeTile(),this.remainingFreeSpins&&this.getFreeSpinsTile()):a("div",{class:"EngagementSuiteContainer"},a("div",{class:"Jackpots"},!!this.jackpots.length&&this.getJackpotsTemplate()),a("div",{class:"Rewards"},this.leaderboards&&this.getLeaderboardsTile(),this.remainingLuckywheels&&this.getLuckyWheelTile(),this.challengePercent&&this.getChallengeTile(),this.remainingFreeSpins&&this.getFreeSpinsTile()))}render(){return a("div",{key:"d932ee7e636f06b0c50841a4737cb6572c1500aa",class:`CasinoEngagementSuiteBar ${this.orientation} ${this.device}`,ref:e=>this.engagementSuiteBar=e},this.getTilesTemplate())}};s.style=':host{display:block}*{box-sizing:border-box}button{touch-action:manipulation}.CasinoEngagementSuiteBar{height:100vh;background-color:var(--emw--color-background, #1E1638);color:var(--emw--color-typography, #FFF);display:flex;justify-content:center;position:relative;z-index:1}.CasinoEngagementSuiteBar .EngagementSuiteContainer{display:flex;align-items:center;gap:4px;scrollbar-gutter:stable;overflow-x:auto;padding:7px 9px 0;width:100%}.CasinoEngagementSuiteBar .EngagementSuiteContainer::-webkit-scrollbar{width:3px;background:none}.CasinoEngagementSuiteBar .EngagementSuiteContainer::-webkit-scrollbar-thumb{border-radius:var(--emw--border-radius-small, 4px);background:var(--emw--color-gray-transparency-30, rgba(255, 255, 255, 0.3))}.CasinoEngagementSuiteBar .EngagementSuiteContainer .Tile{cursor:pointer;background-color:var(--emw--color-background-secondary, #251D3E);border-radius:var(--emw--border-radius-small, 4px);display:flex;flex-direction:row;align-items:center;justify-content:center;position:relative;font-weight:var(--emw--font-weight-semibold, 600);font-size:var(--emw--font-size-x-small, 12px);font-family:var(--emw--font-family-secondary, "Montserrat", sans-serif);color:var(--emw--color-typography, #FFF)}.CasinoEngagementSuiteBar .EngagementSuiteContainer .Tile.Active::before{background:linear-gradient(143.2deg, #FF9401 -0.41%, #FFD32D 45.61%, #2D2545 82.77%)}.CasinoEngagementSuiteBar .EngagementSuiteContainer .Tile::before{content:"";position:absolute;inset:0;border-radius:var(--emw--border-radius-small, 4px);padding:1px;background:linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 100%);-webkit-mask:linear-gradient(#FFF 0 0) content-box, linear-gradient(#FFF 0 0);-webkit-mask-composite:xor;mask-composite:exclude}.CasinoEngagementSuiteBar .EngagementSuiteContainer .Jackpots,.CasinoEngagementSuiteBar .EngagementSuiteContainer .Rewards{display:flex;gap:4px;width:100%}.CasinoEngagementSuiteBar .EngagementSuiteContainer .Jackpot{padding:14px 4px;flex-direction:column}.CasinoEngagementSuiteBar .EngagementSuiteContainer .Jackpot .JackpotType{display:none}.CasinoEngagementSuiteBar .EngagementSuiteContainer .Jackpot .JackpotBalance{font-weight:var(--emw--font-weight-semibold, 600);line-height:12px;font-size:var(--emw--font-size-x-small, 12px);color:var(--emw--color-typography, #fff)}.CasinoEngagementSuiteBar .EngagementSuiteContainer .Jackpot.Enabled.Mega .JackpotBalance{background:var(--emw--engagement-suite-gradient-golden, linear-gradient(180deg, #FFB801 15.86%, #FEF746 31.36%, #FBFFE0 36.86%, #FFFA60 47.86%, #FF9400 87.36%));-webkit-text-fill-color:transparent;-webkit-background-clip:text}.CasinoEngagementSuiteBar .EngagementSuiteContainer .Jackpot.Enabled.Major .JackpotBalance{background:var(--emw--engagement-suite-gradient-silver, linear-gradient(180deg, #A19FA0 5.36%, #E1DBDB 28.86%, #FEFFFF 36.86%, #E1DBDB 44.36%, #5E5B5F 91.86%));-webkit-text-fill-color:transparent;-webkit-background-clip:text}.CasinoEngagementSuiteBar .EngagementSuiteContainer .Jackpot.Enabled.Minor .JackpotBalance{background:var(--emw--engagement-suite-gradient-bronze, linear-gradient(180deg, #A0522C 5.36%, #FFAB8C 28.86%, #FFEEDF 36.86%, #FFAB8C 44.36%, #6A3A21 91.86%));-webkit-text-fill-color:transparent;-webkit-background-clip:text}.CasinoEngagementSuiteBar .EngagementSuiteContainer .Jackpot.Enabled .JackpotBalance{font-weight:var(--emw--font-weight-extra-bold, 800)}.CasinoEngagementSuiteBar .EngagementSuiteContainer .Reward{justify-content:space-between;padding:8px;border:none}.CasinoEngagementSuiteBar .EngagementSuiteContainer .RewardIcon{width:24px;height:24px;background-size:100%;background-position:center}.Tile.Leaderboard .RewardIcon{background:center/contain url("https://static.everymatrix.com/gic/img/engagement-suite/bar/leaderboard.svg")}.Tile.Leaderboard.Active .RewardIcon{background-image:url("https://static.everymatrix.com/gic/img/engagement-suite/bar/leaderboard-pressed.svg")}.Tile.Challenges .RewardIcon{background:center/contain url("https://static.everymatrix.com/gic/img/engagement-suite/bar/challenge.svg")}.Tile.Challenges.Active .RewardIcon{background-image:url("https://static.everymatrix.com/gic/img/engagement-suite/bar/challenge-pressed.svg")}.Tile.Luckywheel .RewardIcon{background:center/contain url("https://static.everymatrix.com/gic/img/engagement-suite/bar/luckywheel.svg")}.Tile.Luckywheel.Active .RewardIcon{background-image:url("https://static.everymatrix.com/gic/img/engagement-suite/bar/luckywheel-pressed.svg")}.Tile.FreeSpins .RewardIcon{background:center/contain url("https://static.everymatrix.com/gic/img/engagement-suite/bar/freespins.svg")}.Tile.FreeSpins.Active .RewardIcon{background-image:url("https://static.everymatrix.com/gic/img/engagement-suite/bar/freespins-pressed.svg")}.ChallengeLabel{min-width:23px;height:11px;background:var(--emw--engagement-suite-gradient-golden, linear-gradient(180deg, #FFB801 15.86%, #FEF746 31.36%, #FBFFE0 36.86%, #FFFA60 47.86%, #FF9400 87.36%));border-radius:var(--emw--border-radius-x-small, 2px);display:none;position:absolute;top:-4px;right:4px;padding:0 2px;align-items:center;justify-content:center}.ChallengeLabel span{display:inline-block;text-transform:uppercase;font-size:7px;line-height:7px;font-weight:var(--emw--font-weight-bold, 700);font-family:var(--emw--font-family-secondary, "Montserrat", sans-serif);color:var(--emw--color-background, #1E1638)}.ForfeitLabel{width:12px;height:12px;background:var(--emw--engagement-suite-gradient-golden, linear-gradient(180deg, #FFB801 15.86%, #FEF746 31.36%, #FBFFE0 36.86%, #FFFA60 47.86%, #FF9400 87.36%));border-radius:50%;display:none;position:absolute;top:-6px;right:8px}.ShowChallengeLabel{display:inline-flex}.ShowForfeitLabel,.ShowForfeitChallengeLabel{display:inline-flex}.LeaderboardLabels{position:absolute;top:-4px;right:4px;display:flex;gap:4px}.LeaderboardLabel{min-width:23px;height:11px;background:var(--emw--engagement-suite-gradient-golden, linear-gradient(180deg, #FFB801 15.86%, #FEF746 31.36%, #FBFFE0 36.86%, #FFFA60 47.86%, #FF9400 87.36%));border-radius:var(--emw--border-radius-x-small, 2px);display:inline-flex;padding:0 2px;align-items:center;justify-content:center}.LeaderboardLabel span{display:inline-block;text-transform:uppercase;font-size:7px;line-height:7px;font-weight:var(--emw--font-weight-bold, 700);font-family:var(--emw--font-family-secondary, "Montserrat", sans-serif);color:var(--emw--color-background, #1E1638)}.Landscape.CasinoEngagementSuiteBar{width:152px;padding-top:10px;box-shadow:0 4px 4px 0 rgba(0, 0, 0, 0.2509803922), 8px 0 10px 0 rgba(0, 0, 0, 0.3019607843)}.Landscape.CasinoEngagementSuiteBar .EngagementSuiteContainer{flex-direction:column}.Landscape.CasinoEngagementSuiteBar .EngagementSuiteContainer .Jackpots,.Landscape.CasinoEngagementSuiteBar .EngagementSuiteContainer .Rewards{width:120px}.Landscape.CasinoEngagementSuiteBar .EngagementSuiteContainer .Tile{width:120px;height:40px}.Landscape.CasinoEngagementSuiteBar .EngagementSuiteContainer .Jackpots,.Landscape.CasinoEngagementSuiteBar .EngagementSuiteContainer .Rewards{flex-direction:column}.Portrait.CasinoEngagementSuiteBar{border-radius:0 0 var(--emw--border-radius-medium, 4px) var(--emw--border-radius-medium, 4px);height:auto;padding:3px 10px 10px;box-shadow:0 4px 4px 0 rgba(0, 0, 0, 0.2509803922), 8px 0 10px 0 rgba(0, 0, 0, 0.3019607843)}.Portrait.CasinoEngagementSuiteBar .EngagementSuiteContainer{padding:7px 0 0;gap:8px;flex-wrap:wrap}.Portrait.CasinoEngagementSuiteBar .EngagementSuiteContainer .Rewards,.Portrait.CasinoEngagementSuiteBar .EngagementSuiteContainer .Jackpots{gap:8px}.Portrait.CasinoEngagementSuiteBar .EngagementSuiteContainer .Tile{flex:1 1 0px;height:32px}.Portrait.CasinoEngagementSuiteBar .EngagementSuiteContainer .Jackpot{min-width:30%;padding:10px 4px}.Portrait.CasinoEngagementSuiteBar .EngagementSuiteContainer .Reward{min-width:20%;padding:4px 8px}.CasinoEngagementSuiteBar.Desktop.Landscape{width:252px}.CasinoEngagementSuiteBar.Desktop.Landscape .Jackpots,.CasinoEngagementSuiteBar.Desktop.Landscape .Rewards,.CasinoEngagementSuiteBar.Desktop.Landscape .EngagementSuiteContainer{gap:12px}.CasinoEngagementSuiteBar.Desktop.Landscape .Reward{padding:8px 20px;height:64px;font-size:var(--emw--font-size-medium, 16px)}.CasinoEngagementSuiteBar.Desktop.Landscape .Reward .RewardIcon{width:48px;height:48px}.CasinoEngagementSuiteBar.Desktop.Landscape .Rewards,.CasinoEngagementSuiteBar.Desktop.Landscape .Jackpots,.CasinoEngagementSuiteBar.Desktop.Landscape .Tile{width:212px}.CasinoEngagementSuiteBar.Desktop.Landscape .Jackpot{padding-top:35px;min-height:133px;background:center/contain url("https://static.everymatrix.com/gic/img/engagement-suite/bar/jackpot-bg-stars.svg"), var(--emw--color-background-secondary, #251D3E)}.CasinoEngagementSuiteBar.Desktop.Landscape .Jackpot .JackpotType{display:block;font-weight:var(--emw--font-weight-extra-bold, 800);margin-bottom:12px;text-transform:uppercase}.CasinoEngagementSuiteBar.Desktop.Landscape .Jackpot .JackpotType,.CasinoEngagementSuiteBar.Desktop.Landscape .Jackpot .JackpotBalance{font-size:var(--emw--size-large, 24px);line-height:24px}';export{s as casino_engagement_suite_bar}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),o=(e,n)=>{t.set(n.t=e,n)},l=(e,t)=>t in e,s=(e,t)=>(0,console.error)(e,t),i=new Map,r=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="undefined"!=typeof window?window:{},a=u.document||{head:{}},f={o:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,o)=>e.addEventListener(t,n,o),rel:(e,t,n,o)=>e.removeEventListener(t,n,o),ce:(e,t)=>new CustomEvent(e,t)},h=e=>Promise.resolve(e),d=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),p=!1,m=[],y=[],v=(e,t)=>n=>{e.push(n),p||(p=!0,t&&4&f.o?w(b):f.raf(b))},$=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){s(e)}e.length=0},b=()=>{$(m),$(y),(p=m.length>0)&&f.raf(b)},w=e=>h().then(e),S=v(y,!0),g=e=>"object"==(e=typeof e)||"function"===e;function j(e){var t,n,o;return null!=(o=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})({},{err:()=>k,map:()=>E,ok:()=>O,unwrap:()=>M,unwrapErr:()=>x});var O=e=>({isOk:!0,isErr:!1,value:e}),k=e=>({isOk:!1,isErr:!0,value:e});function E(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>O(e))):O(n)}if(e.isErr)return k(e.value);throw"should never get here"}var C,M=e=>{if(e.isOk)return e.value;throw e.value},x=e=>{if(e.isErr)return e.value;throw e.value},P=(e,t,...n)=>{let o=null,l=null,s=!1,i=!1;const r=[],c=t=>{for(let n=0;n<t.length;n++)o=t[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((s="function"!=typeof e&&!g(o))&&(o+=""),s&&i?r[r.length-1].i+=o:r.push(s?R(null,o):o),i=s)};if(c(n),t){t.key&&(l=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const u=R(e,null);return u.u=t,r.length>0&&(u.h=r),u.p=l,u},R=(e,t)=>({o:0,m:e,i:t,v:null,h:null,u:null,p:null}),A={},N=(e,t)=>null==e||g(e)?e:4&t?"false"!==e&&(""===e||!!e):1&t?e+"":e,T=new WeakMap,D=e=>"sc-"+e.$,H=(e,t,n,o,s,i)=>{if(n!==o){let r=l(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,l=F(n);let s=F(o);t.remove(...l.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!l.includes(e))))}else if("key"===t);else if("ref"===t)o&&o(e);else if(r||"o"!==t[0]||"n"!==t[1]){const l=g(o);if((r||l&&null!==o)&&!s)try{if(e.tagName.includes("-"))e[t]!==o&&(e[t]=o);else{const l=null==o?"":o;"list"===t?r=!1:null!=n&&e[t]==l||("function"==typeof e.__lookupSetter__(t)?e[t]=l:e.setAttribute(t,l))}}catch(e){}null==o||!1===o?!1===o&&""!==e.getAttribute(t)||e.removeAttribute(t):(!r||4&i||s)&&!l&&e.setAttribute(t,o=!0===o?"":o)}else if(t="-"===t[2]?t.slice(3):l(u,c)?c.slice(2):c[2]+t.slice(3),n||o){const l=t.endsWith(L);t=t.replace(V,""),n&&f.rel(e,t,n,l),o&&f.ael(e,t,o,l)}}},U=/\s/,F=e=>("object"==typeof e&&e&&"baseVal"in e&&(e=e.baseVal),e&&"string"==typeof e?e.split(U):[]),L="Capture",V=RegExp(L+"$"),W=(e,t,n)=>{const o=11===t.v.nodeType&&t.v.host?t.v.host:t.v,l=e&&e.u||{},s=t.u||{};for(const e of q(Object.keys(l)))e in s||H(o,e,l[e],void 0,n,t.o);for(const e of q(Object.keys(s)))H(o,e,l[e],s[e],n,t.o)};function q(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var G=!1,_=(e,t,n)=>{const o=t.h[n];let l,s,i=0;if(null!==o.i)l=o.v=a.createTextNode(o.i);else if(l=o.v=a.createElement(o.m),W(null,o,G),o.h)for(i=0;i<o.h.length;++i)s=_(e,o,i),s&&l.appendChild(s);return l["s-hn"]=C,l},z=(e,t,n,o,l,s)=>{let i,r=e;for(r.shadowRoot&&r.tagName===C&&(r=r.shadowRoot);l<=s;++l)o[l]&&(i=_(null,n,l),i&&(o[l].v=i,Q(r,i,t)))},B=(e,t,n)=>{for(let o=t;o<=n;++o){const t=e[o];if(t){const e=t.v;K(t),e&&e.remove()}}},I=(e,t,n=!1)=>e.m===t.m&&(n?(n&&!e.p&&t.p&&(e.p=t.p),!0):e.p===t.p),J=(e,t,n=!1)=>{const o=t.v=e.v,l=e.h,s=t.h,i=t.i;null===i?(W(e,t,G),null!==l&&null!==s?((e,t,n,o,l=!1)=>{let s,i,r=0,c=0,u=0,a=0,f=t.length-1,h=t[0],d=t[f],p=o.length-1,m=o[0],y=o[p];for(;r<=f&&c<=p;)if(null==h)h=t[++r];else if(null==d)d=t[--f];else if(null==m)m=o[++c];else if(null==y)y=o[--p];else if(I(h,m,l))J(h,m,l),h=t[++r],m=o[++c];else if(I(d,y,l))J(d,y,l),d=t[--f],y=o[--p];else if(I(h,y,l))J(h,y,l),Q(e,h.v,d.v.nextSibling),h=t[++r],y=o[--p];else if(I(d,m,l))J(d,m,l),Q(e,d.v,h.v),d=t[--f],m=o[++c];else{for(u=-1,a=r;a<=f;++a)if(t[a]&&null!==t[a].p&&t[a].p===m.p){u=a;break}u>=0?(i=t[u],i.m!==m.m?s=_(t&&t[c],n,u):(J(i,m,l),t[u]=void 0,s=i.v),m=o[++c]):(s=_(t&&t[c],n,c),m=o[++c]),s&&Q(h.v.parentNode,s,h.v)}r>f?z(e,null==o[p+1]?null:o[p+1].v,n,o,c,p):c>p&&B(t,r,f)})(o,l,t,s,n):null!==s?(null!==e.i&&(o.textContent=""),z(o,null,t,s,0,s.length-1)):!n&&null!==l&&B(l,0,l.length-1)):e.i!==i&&(o.data=i)},K=e=>{e.u&&e.u.ref&&e.u.ref(null),e.h&&e.h.map(K)},Q=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),X=(e,t)=>{if(t&&!e.S&&t["s-p"]){const n=t["s-p"].push(new Promise((o=>e.S=()=>{t["s-p"].splice(n-1,1),o()})))}},Y=(e,t)=>{if(e.o|=16,!(4&e.o))return X(e,e.j),S((()=>Z(e,t)));e.o|=512},Z=(e,t)=>{const n=e.$hostElement$,o=e.t;if(!o)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);return t&&(e.o|=256,e.O&&(e.O.map((([e,t])=>ie(o,e,t,n))),e.O=void 0)),ee(void 0,(()=>ne(e,o,t)))},ee=(e,t)=>te(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),te=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,ne=async(e,t,n)=>{var o;const l=e.$hostElement$,s=l["s-rc"];n&&(e=>{const t=e.k,n=e.$hostElement$,o=t.o,l=((e,t)=>{var n;const o=D(t),l=r.get(o);if(e=11===e.nodeType?e:a,l)if("string"==typeof l){let s,i=T.get(e=e.head||e);if(i||T.set(e,i=new Set),!i.has(o)){{s=document.querySelector(`[sty-id="${o}"]`)||a.createElement("style"),s.innerHTML=l;const i=null!=(n=f.C)?n:j(a);if(null!=i&&s.setAttribute("nonce",i),!(1&t.o))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,(null==n?void 0:n.parentNode)===e?n:null)}else if("host"in e)if(d){const t=new CSSStyleSheet;t.replaceSync(l),e.adoptedStyleSheets=[t,...e.adoptedStyleSheets]}else{const t=e.querySelector("style");t?t.innerHTML=l+t.innerHTML:e.prepend(s)}else e.append(s);1&t.o&&e.insertBefore(s,null)}4&t.o&&(s.innerHTML+=c),i&&i.add(o)}}else e.adoptedStyleSheets.includes(l)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);(10&o&&2&o||128&o)&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(e);oe(e,t,l,n),s&&(s.map((e=>e())),l["s-rc"]=void 0);{const t=null!=(o=l["s-p"])?o:[],n=()=>le(e);0===t.length?n():(Promise.all(t).then(n),e.o|=4,t.length=0)}},oe=(e,t,n,o)=>{try{t=t.render(),e.o&=-17,e.o|=2,((e,t,n=!1)=>{const o=e.$hostElement$,l=e.k,s=e.M||R(null,null),i=(e=>e&&e.m===A)(t)?t:P(null,null,t);if(C=o.tagName,l.P&&(i.u=i.u||{},l.P.map((([e,t])=>i.u[t]=o[e]))),n&&i.u)for(const e of Object.keys(i.u))o.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(i.u[e]=o[e]);i.m=null,i.o|=4,e.M=i,i.v=s.v=o.shadowRoot||o,J(s,i,n)})(e,t,o)}catch(t){s(t,e.$hostElement$)}return null},le=e=>{const t=e.$hostElement$,n=e.j;ie(e.t,"componentDidRender",void 0,t),64&e.o||(e.o|=64,re(t),e.R(t),n||se()),e.S&&(e.S(),e.S=void 0),512&e.o&&w((()=>Y(e,!1))),e.o&=-517},se=()=>{w((()=>(e=>{const t=f.ce("appload",{detail:{namespace:"casino-engagement-suite-bar"}});return e.dispatchEvent(t),t})(u)))},ie=(e,t,n,o)=>{if(e&&e[t])try{return e[t](n)}catch(e){s(e,o)}},re=e=>e.classList.add("hydrated"),ce=(e,t,o,l)=>{const s=n(e);if(!s)throw Error(`Couldn't find host element for "${l.$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=s.A.get(t),r=s.o,c=s.t;o=N(o,l.N[t][0]),8&r&&void 0!==i||o===i||Number.isNaN(i)&&Number.isNaN(o)||(s.A.set(t,o),c&&2==(18&r)&&Y(s,!1))},ue=(e,t,o)=>{var l,s;const i=e.prototype;if(t.N){const r=Object.entries(null!=(l=t.N)?l:{});if(r.map((([e,[l]])=>{if(31&l||2&o&&32&l){const{get:s,set:r}=Object.getOwnPropertyDescriptor(i,e)||{};s&&(t.N[e][0]|=2048),r&&(t.N[e][0]|=4096),(1&o||!s)&&Object.defineProperty(i,e,{get(){{if(!(2048&t.N[e][0]))return((e,t)=>n(this).A.get(t))(0,e);const o=n(this),l=o?o.t:i;if(!l)return;return l[e]}},configurable:!0,enumerable:!0}),Object.defineProperty(i,e,{set(s){const i=n(this);if(r){const n=32&l?this[e]:i.$hostElement$[e];return void 0===n&&i.A.get(e)?s=i.A.get(e):!i.A.get(e)&&n&&i.A.set(e,n),r.call(this,N(s,l)),void ce(this,e,s=32&l?this[e]:i.$hostElement$[e],t)}{if(!(1&o&&4096&t.N[e][0]))return ce(this,e,s,t),void(1&o&&!i.t&&i.T.then((()=>{4096&t.N[e][0]&&i.t[e]!==i.A.get(e)&&(i.t[e]=s)})));const n=()=>{const n=i.t[e];!i.A.get(e)&&n&&i.A.set(e,n),i.t[e]=N(s,l),ce(this,e,i.t[e],t)};i.t?n():i.T.then((()=>n()))}}})}})),1&o){const o=new Map;i.attributeChangedCallback=function(e,l,s){f.jmp((()=>{var r;const c=o.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const o=n(this),i=null==o?void 0:o.o;if(i&&!(8&i)&&128&i&&s!==l){const n=o.t,i=null==(r=t.D)?void 0:r[e];null==i||i.forEach((t=>{null!=n[t]&&n[t].call(n,s,l,e)}))}return}}const u=Object.getOwnPropertyDescriptor(i,c);(s=(null!==s||"boolean"!=typeof this[c])&&s)===this[c]||u.get&&!u.set||(this[c]=s)}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=t.D)?s:{}),...r.filter((([e,t])=>15&t[0])).map((([e,n])=>{var l;const s=n[1]||e;return o.set(s,e),512&n[0]&&(null==(l=t.P)||l.push([e,s])),s}))]))}}return e},ae=(e,o={})=>{var l;const h=[],p=o.exclude||[],m=u.customElements,y=a.head,v=y.querySelector("meta[charset]"),$=a.createElement("style"),b=[];let w,S=!0;Object.assign(f,o),f.l=new URL(o.resourcesUrl||"./",a.baseURI).href;let g=!1;if(e.map((e=>{e[1].map((o=>{const l={o:o[0],$:o[1],N:o[2],H:o[3]};4&l.o&&(g=!0),l.N=o[2],l.H=o[3],l.P=[];const c=l.$,u=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const o={o:0,$hostElement$:e,k:n,A:new Map};o.T=new Promise((e=>o.R=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,o)})(e=this,l),1&l.o)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${l.$}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){const e=n(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,fe(this,e,l.H)),w&&(clearTimeout(w),w=null),S?b.push(this):f.jmp((()=>(e=>{if(!(1&f.o)){const t=n(e),o=t.k,l=()=>{};if(1&t.o)fe(e,t,o.H),(null==t?void 0:t.t)||(null==t?void 0:t.T)&&t.T.then((()=>{}));else{t.o|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){X(t,t.j=n);break}}o.N&&Object.entries(o.N).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let o;if(!(32&t.o)){if(t.o|=32,n.U){const l=((e,t)=>{const n=e.$.replace(/-/g,"_"),o=e.U;if(!o)return;const l=i.get(o);return l?l[n]:import(`./${o}.entry.js`).then((e=>(i.set(o,e),e[n])),(e=>{s(e,t.$hostElement$)}))
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,t);if(l&&"then"in l){const e=()=>{};o=await l,e()}else o=l;if(!o)throw Error(`Constructor for "${n.$}#${t.F}" was not found`);o.isProxied||(ue(o,n,2),o.isProxied=!0);const r=()=>{};t.o|=8;try{new o(t)}catch(t){s(t,e)}t.o&=-9,r()}else o=e.constructor,customElements.whenDefined(e.localName).then((()=>t.o|=128));if(o&&o.style){let e;"string"==typeof o.style&&(e=o.style);const t=D(n);if(!r.has(t)){const o=()=>{};((e,t,n)=>{let o=r.get(e);d&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=t:o.replaceSync(t)):o=t,r.set(e,o)})(t,e,!!(1&n.o)),o()}}}const l=t.j,c=()=>Y(t,!0);l&&l["s-rc"]?l["s-rc"].push(c):c()})(e,t,o)}l()}})(this)))}disconnectedCallback(){f.jmp((()=>(async e=>{if(!(1&f.o)){const t=n(e);t.L&&(t.L.map((e=>e())),t.L=void 0),(null==t?void 0:t.t)||(null==t?void 0:t.T)&&t.T.then((()=>{}))}T.has(e)&&T.delete(e),e.shadowRoot&&T.has(e.shadowRoot)&&T.delete(e.shadowRoot)})(this))),f.raf((()=>{var e;const t=n(this),o=b.findIndex((e=>e===this));o>-1&&b.splice(o,1),(null==(e=null==t?void 0:t.M)?void 0:e.v)instanceof Node&&!t.M.v.isConnected&&delete t.M.v}))}componentOnReady(){return n(this).T}};l.U=e[0],p.includes(c)||m.get(c)||(h.push(c),m.define(c,ue(u,l,1)))}))})),h.length>0&&(g&&($.textContent+=c),$.textContent+=h.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",$.innerHTML.length)){$.setAttribute("data-styles","");const e=null!=(l=f.C)?l:j(a);null!=e&&$.setAttribute("nonce",e),y.insertBefore($,v?v.nextSibling:y.firstChild)}S=!1,b.length?b.map((e=>e.connectedCallback())):f.jmp((()=>w=setTimeout(se,30)))},fe=(e,t,n)=>{n&&n.map((([n,o,l])=>{const s=de(e,n),i=he(t,l),r=pe(n);f.ael(s,o,i,r),(t.L=t.L||[]).push((()=>f.rel(s,o,i,r)))}))},he=(e,t)=>n=>{var o;try{256&e.o?null==(o=e.t)||o[t](n):(e.O=e.O||[]).push([t,n])}catch(t){s(t,e.$hostElement$)}},de=(e,t)=>8&t?u:e,pe=e=>({passive:!!(1&e),capture:!!(2&e)}),me=e=>f.C=e;export{ae as b,P as h,h as p,o as r,me as s}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|