@everymatrix/casino-engagement-suite-luckywheel 0.2.0 → 0.2.2

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.
Files changed (38) hide show
  1. package/dist/casino-engagement-suite-luckywheel/casino-engagement-suite-luckywheel.esm.js +1 -1
  2. package/dist/casino-engagement-suite-luckywheel/index.esm.js +1 -1
  3. package/dist/casino-engagement-suite-luckywheel/p-7d1170ae.js +2 -0
  4. package/dist/casino-engagement-suite-luckywheel/p-927567e0.js +15 -0
  5. package/dist/casino-engagement-suite-luckywheel/p-d8bd2f95.entry.js +1 -0
  6. package/dist/cjs/{casino-engagement-suite-luckywheel-cc8d37c2.js → casino-engagement-suite-luckywheel-9aaa09f9.js} +49 -80
  7. package/dist/cjs/casino-engagement-suite-luckywheel.cjs.entry.js +2 -2
  8. package/dist/cjs/casino-engagement-suite-luckywheel.cjs.js +2 -2
  9. package/dist/cjs/{index-b46604f4.js → index-6096cc4b.js} +70 -207
  10. package/dist/cjs/index.cjs.js +2 -2
  11. package/dist/cjs/loader.cjs.js +1 -1
  12. package/dist/collection/collection-manifest.json +2 -2
  13. package/dist/collection/components/casino-engagement-suite-luckywheel/casino-engagement-suite-luckywheel.js +37 -77
  14. package/dist/collection/utils/utils.js +11 -11
  15. package/dist/esm/{casino-engagement-suite-luckywheel-cf7e798a.js → casino-engagement-suite-luckywheel-88d531c4.js} +49 -80
  16. package/dist/esm/casino-engagement-suite-luckywheel.entry.js +2 -2
  17. package/dist/esm/casino-engagement-suite-luckywheel.js +3 -3
  18. package/dist/esm/{index-8ce51859.js → index-48c42d04.js} +70 -207
  19. package/dist/esm/index.js +2 -2
  20. package/dist/esm/loader.js +2 -2
  21. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel/.stencil/packages/stencil/casino-engagement-suite-luckywheel/stencil.config.d.ts +2 -0
  22. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel/.stencil/packages/stencil/casino-engagement-suite-luckywheel/stencil.config.dev.d.ts +2 -0
  23. package/dist/types/components/casino-engagement-suite-luckywheel/casino-engagement-suite-luckywheel.d.ts +0 -1
  24. package/dist/types/models/luckywheel.d.ts +24 -24
  25. package/dist/types/stencil-public-runtime.d.ts +0 -6
  26. package/dist/types/utils/types.d.ts +4 -4
  27. package/package.json +1 -1
  28. package/dist/casino-engagement-suite-luckywheel/p-2a6e103b.entry.js +0 -1
  29. package/dist/casino-engagement-suite-luckywheel/p-781c5f2a.js +0 -1
  30. package/dist/casino-engagement-suite-luckywheel/p-eaad80fd.js +0 -2
  31. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel/.stencil/packages/stencil/casino-engagement-suite-luckywheel/stencil.config.d.ts +0 -2
  32. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel/.stencil/packages/stencil/casino-engagement-suite-luckywheel/stencil.config.dev.d.ts +0 -2
  33. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel/.stencil/packages/stencil/casino-engagement-suite-luckywheel/storybook/main.d.ts +0 -0
  34. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel/.stencil/packages/stencil/casino-engagement-suite-luckywheel/storybook/preview.d.ts +0 -0
  35. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel/.stencil/tools/plugins/index.d.ts +0 -0
  36. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  37. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  38. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-engagement-suite-luckywheel/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -21,27 +21,19 @@ function _interopNamespace(e) {
21
21
  }
22
22
 
23
23
  const NAMESPACE = 'casino-engagement-suite-luckywheel';
24
- const BUILD = /* casino-engagement-suite-luckywheel */ { 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, modernPropertyDecls: false, observeAttribute: true, profile: false, prop: true, propBoolean: false, propMutable: false, 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: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: false };
24
+ const BUILD = /* casino-engagement-suite-luckywheel */ { 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: false, propMutable: false, 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: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: false };
25
25
 
26
26
  /*
27
- Stencil Client Platform v4.26.0 | MIT Licensed | https://stenciljs.com
27
+ Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
28
28
  */
29
29
  var __defProp = Object.defineProperty;
30
30
  var __export = (target, all) => {
31
31
  for (var name in all)
32
32
  __defProp(target, name, { get: all[name], enumerable: true });
33
33
  };
34
-
35
- // src/utils/constants.ts
36
- var SVG_NS = "http://www.w3.org/2000/svg";
37
- var HTML_NS = "http://www.w3.org/1999/xhtml";
38
-
39
- // src/client/client-host-ref.ts
40
34
  var hostRefs = /* @__PURE__ */ new WeakMap();
41
35
  var getHostRef = (ref) => hostRefs.get(ref);
42
- var registerInstance = (lazyInstance, hostRef) => {
43
- hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
44
- };
36
+ var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
45
37
  var registerHost = (hostElement, cmpMeta) => {
46
38
  const hostRef = {
47
39
  $flags$: 0,
@@ -54,8 +46,7 @@ var registerHost = (hostElement, cmpMeta) => {
54
46
  hostElement["s-p"] = [];
55
47
  hostElement["s-rc"] = [];
56
48
  }
57
- const ref = hostRefs.set(hostElement, hostRef);
58
- return ref;
49
+ return hostRefs.set(hostElement, hostRef);
59
50
  };
60
51
  var isMemberInElement = (elm, memberName) => memberName in elm;
61
52
  var consoleError = (e, el) => (0, console.error)(e, el);
@@ -92,22 +83,16 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
92
83
  /* webpackExclude: /\.system\.entry\.js$/ */
93
84
  /* webpackMode: "lazy" */
94
85
  `./${bundleId}.entry.js${""}`
95
- )); }).then(
96
- (importedModule) => {
97
- {
98
- cmpModules.set(bundleId, importedModule);
99
- }
100
- return importedModule[exportName];
101
- },
102
- (e) => {
103
- consoleError(e, hostRef.$hostElement$);
86
+ )); }).then((importedModule) => {
87
+ {
88
+ cmpModules.set(bundleId, importedModule);
104
89
  }
105
- );
90
+ return importedModule[exportName];
91
+ }, consoleError);
106
92
  };
107
93
 
108
94
  // src/client/client-style.ts
109
95
  var styles = /* @__PURE__ */ new Map();
110
- var HYDRATED_STYLE_ID = "sty-id";
111
96
  var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
112
97
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
113
98
  var XLINK_NS = "http://www.w3.org/1999/xlink";
@@ -182,6 +167,14 @@ var flush = () => {
182
167
  };
183
168
  var nextTick = (cb) => promiseResolve().then(cb);
184
169
  var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
170
+
171
+ // src/utils/constants.ts
172
+ var EMPTY_OBJ = {};
173
+ var SVG_NS = "http://www.w3.org/2000/svg";
174
+ var HTML_NS = "http://www.w3.org/1999/xhtml";
175
+
176
+ // src/utils/helpers.ts
177
+ var isDef = (v) => v != null;
185
178
  var isComplexType = (o) => {
186
179
  o = typeof o;
187
180
  return o === "object" || o === "function";
@@ -364,40 +357,13 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
364
357
  }
365
358
  if (!appliedStyles.has(scopeId2)) {
366
359
  {
367
- styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
360
+ styleElm = doc.createElement("style");
368
361
  styleElm.innerHTML = style;
369
362
  const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
370
363
  if (nonce != null) {
371
364
  styleElm.setAttribute("nonce", nonce);
372
365
  }
373
- if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
374
- if (styleContainerNode.nodeName === "HEAD") {
375
- const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
376
- const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
377
- styleContainerNode.insertBefore(
378
- styleElm,
379
- (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
380
- );
381
- } else if ("host" in styleContainerNode) {
382
- if (supportsConstructableStylesheets) {
383
- const stylesheet = new CSSStyleSheet();
384
- stylesheet.replaceSync(style);
385
- styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
386
- } else {
387
- const existingStyleContainer = styleContainerNode.querySelector("style");
388
- if (existingStyleContainer) {
389
- existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
390
- } else {
391
- styleContainerNode.prepend(styleElm);
392
- }
393
- }
394
- } else {
395
- styleContainerNode.append(styleElm);
396
- }
397
- }
398
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
399
- styleContainerNode.insertBefore(styleElm, null);
400
- }
366
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
401
367
  }
402
368
  if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
403
369
  styleElm.innerHTML += SLOT_FB_CSS;
@@ -420,25 +386,23 @@ var attachStyles = (hostRef) => {
420
386
  const scopeId2 = addStyle(
421
387
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
422
388
  cmpMeta);
423
- if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
389
+ if (flags & 10 /* needsScopedEncapsulation */) {
424
390
  elm["s-sc"] = scopeId2;
425
391
  elm.classList.add(scopeId2 + "-h");
426
392
  }
427
393
  endAttachStyles();
428
394
  };
429
395
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
430
- var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
396
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
431
397
  if (oldValue !== newValue) {
432
398
  let isProp = isMemberInElement(elm, memberName);
433
399
  let ln = memberName.toLowerCase();
434
400
  if (memberName === "class") {
435
401
  const classList = elm.classList;
436
402
  const oldClasses = parseClassList(oldValue);
437
- let newClasses = parseClassList(newValue);
438
- {
439
- classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
440
- classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
441
- }
403
+ const newClasses = parseClassList(newValue);
404
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
405
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
442
406
  } else if (memberName === "style") {
443
407
  {
444
408
  for (const prop in oldValue) {
@@ -491,13 +455,9 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
491
455
  if (memberName === "list") {
492
456
  isProp = false;
493
457
  } else if (oldValue == null || elm[memberName] != n) {
494
- if (typeof elm.__lookupSetter__(memberName) === "function") {
495
- elm[memberName] = n;
496
- } else {
497
- elm.setAttribute(memberName, n);
498
- }
458
+ elm[memberName] = n;
499
459
  }
500
- } else if (elm[memberName] !== newValue) {
460
+ } else {
501
461
  elm[memberName] = newValue;
502
462
  }
503
463
  } catch (e) {
@@ -530,44 +490,24 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
530
490
  }
531
491
  };
532
492
  var parseClassListRegex = /\s/;
533
- var parseClassList = (value) => {
534
- if (typeof value === "object" && value && "baseVal" in value) {
535
- value = value.baseVal;
536
- }
537
- if (!value || typeof value !== "string") {
538
- return [];
539
- }
540
- return value.split(parseClassListRegex);
541
- };
493
+ var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
542
494
  var CAPTURE_EVENT_SUFFIX = "Capture";
543
495
  var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
544
496
 
545
497
  // src/runtime/vdom/update-element.ts
546
- var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
498
+ var updateElement = (oldVnode, newVnode, isSvgMode2) => {
547
499
  const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
548
- const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
549
- const newVnodeAttrs = newVnode.$attrs$ || {};
500
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
501
+ const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
550
502
  {
551
503
  for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
552
504
  if (!(memberName in newVnodeAttrs)) {
553
- setAccessor(
554
- elm,
555
- memberName,
556
- oldVnodeAttrs[memberName],
557
- void 0,
558
- isSvgMode2,
559
- newVnode.$flags$);
505
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
560
506
  }
561
507
  }
562
508
  }
563
509
  for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
564
- setAccessor(
565
- elm,
566
- memberName,
567
- oldVnodeAttrs[memberName],
568
- newVnodeAttrs[memberName],
569
- isSvgMode2,
570
- newVnode.$flags$);
510
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
571
511
  }
572
512
  };
573
513
  function sortedAttrNames(attrNames) {
@@ -579,10 +519,13 @@ function sortedAttrNames(attrNames) {
579
519
  attrNames
580
520
  );
581
521
  }
522
+
523
+ // src/runtime/vdom/vdom-render.ts
524
+ var scopeId;
582
525
  var hostTagName;
583
526
  var useNativeShadowDom = false;
584
527
  var isSvgMode = false;
585
- var createElm = (oldParentVNode, newParentVNode, childIndex) => {
528
+ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
586
529
  const newVNode2 = newParentVNode.$children$[childIndex];
587
530
  let i2 = 0;
588
531
  let elm;
@@ -603,6 +546,9 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
603
546
  {
604
547
  updateElement(null, newVNode2, isSvgMode);
605
548
  }
549
+ if (isDef(scopeId) && elm["s-si"] !== scopeId) {
550
+ elm.classList.add(elm["s-si"] = scopeId);
551
+ }
606
552
  if (newVNode2.$children$) {
607
553
  for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
608
554
  childNode = createElm(oldParentVNode, newVNode2, i2);
@@ -739,9 +685,6 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
739
685
  if (!isInitialRender) {
740
686
  return leftVNode.$key$ === rightVNode.$key$;
741
687
  }
742
- if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
743
- leftVNode.$key$ = rightVNode.$key$;
744
- }
745
688
  return true;
746
689
  }
747
690
  return false;
@@ -768,10 +711,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
768
711
  elm.textContent = "";
769
712
  }
770
713
  addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
771
- } else if (
772
- // don't do this on initial render as it can cause non-hydrated content to be removed
773
- !isInitialRender && BUILD.updatable && oldChildren !== null
774
- ) {
714
+ } else if (oldChildren !== null) {
775
715
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
776
716
  }
777
717
  if (isSvgMode && tag === "svg") {
@@ -788,9 +728,8 @@ var nullifyVNodeRefs = (vNode) => {
788
728
  }
789
729
  };
790
730
  var insertBefore = (parent, newNode, reference) => {
791
- {
792
- return parent == null ? void 0 : parent.insertBefore(newNode, reference);
793
- }
731
+ const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
732
+ return inserted;
794
733
  };
795
734
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
796
735
  const hostElm = hostRef.$hostElement$;
@@ -815,21 +754,17 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
815
754
  rootVnode.$flags$ |= 4 /* isHost */;
816
755
  hostRef.$vnode$ = rootVnode;
817
756
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
818
- useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
757
+ {
758
+ scopeId = hostElm["s-sc"];
759
+ }
760
+ useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
819
761
  patch(oldVNode, rootVnode, isInitialLoad);
820
762
  };
821
763
 
822
764
  // src/runtime/update-component.ts
823
765
  var attachToAncestor = (hostRef, ancestorComponent) => {
824
766
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
825
- const index = ancestorComponent["s-p"].push(
826
- new Promise(
827
- (r) => hostRef.$onRenderResolve$ = () => {
828
- ancestorComponent["s-p"].splice(index - 1, 1);
829
- r();
830
- }
831
- )
832
- );
767
+ ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
833
768
  }
834
769
  };
835
770
  var scheduleUpdate = (hostRef, isInitialLoad) => {
@@ -858,12 +793,12 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
858
793
  {
859
794
  hostRef.$flags$ |= 256 /* isListenReady */;
860
795
  if (hostRef.$queuedListeners$) {
861
- hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event, elm));
796
+ hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
862
797
  hostRef.$queuedListeners$ = void 0;
863
798
  }
864
799
  }
865
800
  {
866
- maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
801
+ maybePromise = safeCall(instance, "componentWillLoad");
867
802
  }
868
803
  }
869
804
  endSchedule();
@@ -932,7 +867,7 @@ var postUpdateComponent = (hostRef) => {
932
867
  const instance = hostRef.$lazyInstance$ ;
933
868
  const ancestorComponent = hostRef.$ancestorComponent$;
934
869
  {
935
- safeCall(instance, "componentDidRender", void 0, elm);
870
+ safeCall(instance, "componentDidRender");
936
871
  }
937
872
  if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
938
873
  hostRef.$flags$ |= 64 /* hasLoadedComponent */;
@@ -961,14 +896,17 @@ var postUpdateComponent = (hostRef) => {
961
896
  }
962
897
  };
963
898
  var appDidLoad = (who) => {
899
+ {
900
+ addHydratedFlag(doc.documentElement);
901
+ }
964
902
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
965
903
  };
966
- var safeCall = (instance, method, arg, elm) => {
904
+ var safeCall = (instance, method, arg) => {
967
905
  if (instance && instance[method]) {
968
906
  try {
969
907
  return instance[method](arg);
970
908
  } catch (e) {
971
- consoleError(e, elm);
909
+ consoleError(e);
972
910
  }
973
911
  }
974
912
  return void 0;
@@ -1011,68 +949,15 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1011
949
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
1012
950
  members.map(([memberName, [memberFlags]]) => {
1013
951
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
1014
- const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
1015
- if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
1016
- if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
1017
- if (flags & 1 /* isElementConstructor */ || !origGetter) {
1018
- Object.defineProperty(prototype, memberName, {
1019
- get() {
1020
- {
1021
- if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
1022
- return getValue(this, memberName);
1023
- }
1024
- const ref = getHostRef(this);
1025
- const instance = ref ? ref.$lazyInstance$ : prototype;
1026
- if (!instance) return;
1027
- return instance[memberName];
1028
- }
1029
- },
1030
- configurable: true,
1031
- enumerable: true
1032
- });
1033
- }
1034
952
  Object.defineProperty(prototype, memberName, {
953
+ get() {
954
+ return getValue(this, memberName);
955
+ },
1035
956
  set(newValue) {
1036
- const ref = getHostRef(this);
1037
- if (origSetter) {
1038
- const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1039
- if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
1040
- newValue = ref.$instanceValues$.get(memberName);
1041
- } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
1042
- ref.$instanceValues$.set(memberName, currentValue);
1043
- }
1044
- origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
1045
- newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1046
- setValue(this, memberName, newValue, cmpMeta);
1047
- return;
1048
- }
1049
- {
1050
- if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
1051
- setValue(this, memberName, newValue, cmpMeta);
1052
- if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
1053
- ref.$onReadyPromise$.then(() => {
1054
- if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
1055
- ref.$lazyInstance$[memberName] = newValue;
1056
- }
1057
- });
1058
- }
1059
- return;
1060
- }
1061
- const setterSetVal = () => {
1062
- const currentValue = ref.$lazyInstance$[memberName];
1063
- if (!ref.$instanceValues$.get(memberName) && currentValue) {
1064
- ref.$instanceValues$.set(memberName, currentValue);
1065
- }
1066
- ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
1067
- setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
1068
- };
1069
- if (ref.$lazyInstance$) {
1070
- setterSetVal();
1071
- } else {
1072
- ref.$onReadyPromise$.then(() => setterSetVal());
1073
- }
1074
- }
1075
- }
957
+ setValue(this, memberName, newValue, cmpMeta);
958
+ },
959
+ configurable: true,
960
+ enumerable: true
1076
961
  });
1077
962
  }
1078
963
  });
@@ -1082,11 +967,10 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1082
967
  plt.jmp(() => {
1083
968
  var _a2;
1084
969
  const propName = attrNameToPropName.get(attrName);
1085
- if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
970
+ if (this.hasOwnProperty(propName)) {
1086
971
  newValue = this[propName];
1087
972
  delete this[propName];
1088
- } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1089
- this[propName] == newValue) {
973
+ } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
1090
974
  return;
1091
975
  } else if (propName == null) {
1092
976
  const hostRef = getHostRef(this);
@@ -1102,11 +986,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1102
986
  }
1103
987
  return;
1104
988
  }
1105
- const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
1106
- newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1107
- if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
1108
- this[propName] = newValue;
1109
- }
989
+ this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1110
990
  });
1111
991
  };
1112
992
  Cstr.observedAttributes = Array.from(
@@ -1135,7 +1015,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1135
1015
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1136
1016
  const bundleId = cmpMeta.$lazyBundleId$;
1137
1017
  if (bundleId) {
1138
- const CstrImport = loadModule(cmpMeta, hostRef);
1018
+ const CstrImport = loadModule(cmpMeta);
1139
1019
  if (CstrImport && "then" in CstrImport) {
1140
1020
  const endLoad = uniqueTime();
1141
1021
  Cstr = await CstrImport;
@@ -1157,7 +1037,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1157
1037
  try {
1158
1038
  new Cstr(hostRef);
1159
1039
  } catch (e) {
1160
- consoleError(e, elm);
1040
+ consoleError(e);
1161
1041
  }
1162
1042
  {
1163
1043
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
@@ -1189,7 +1069,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1189
1069
  schedule();
1190
1070
  }
1191
1071
  };
1192
- var fireConnectedCallback = (instance, elm) => {
1072
+ var fireConnectedCallback = (instance) => {
1193
1073
  };
1194
1074
 
1195
1075
  // src/runtime/connected-callback.ts
@@ -1230,7 +1110,7 @@ var connectedCallback = (elm) => {
1230
1110
  endConnected();
1231
1111
  }
1232
1112
  };
1233
- var disconnectInstance = (instance, elm) => {
1113
+ var disconnectInstance = (instance) => {
1234
1114
  };
1235
1115
  var disconnectedCallback = async (elm) => {
1236
1116
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
@@ -1245,12 +1125,6 @@ var disconnectedCallback = async (elm) => {
1245
1125
  hostRef.$onReadyPromise$.then(() => disconnectInstance());
1246
1126
  }
1247
1127
  }
1248
- if (rootAppliedStyles.has(elm)) {
1249
- rootAppliedStyles.delete(elm);
1250
- }
1251
- if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1252
- rootAppliedStyles.delete(elm.shadowRoot);
1253
- }
1254
1128
  };
1255
1129
 
1256
1130
  // src/runtime/bootstrap-lazy.ts
@@ -1331,17 +1205,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1331
1205
  }
1332
1206
  disconnectedCallback() {
1333
1207
  plt.jmp(() => disconnectedCallback(this));
1334
- plt.raf(() => {
1335
- var _a3;
1336
- const hostRef = getHostRef(this);
1337
- const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
1338
- if (i2 > -1) {
1339
- deferredConnectedCallbacks.splice(i2, 1);
1340
- }
1341
- if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
1342
- delete hostRef.$vnode$.$elm$;
1343
- }
1344
- });
1345
1208
  }
1346
1209
  componentOnReady() {
1347
1210
  return getHostRef(this).$onReadyPromise$;
@@ -1405,7 +1268,7 @@ var hostListenerProxy = (hostRef, methodName) => (ev) => {
1405
1268
  }
1406
1269
  }
1407
1270
  } catch (e) {
1408
- consoleError(e, hostRef.$hostElement$);
1271
+ consoleError(e);
1409
1272
  }
1410
1273
  };
1411
1274
  var getHostListenerTarget = (elm, flags) => {
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const casinoEngagementSuiteLuckywheel = require('./casino-engagement-suite-luckywheel-cc8d37c2.js');
6
- require('./index-b46604f4.js');
5
+ const casinoEngagementSuiteLuckywheel = require('./casino-engagement-suite-luckywheel-9aaa09f9.js');
6
+ require('./index-6096cc4b.js');
7
7
 
8
8
 
9
9
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-b46604f4.js');
5
+ const index = require('./index-6096cc4b.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
@@ -4,8 +4,8 @@
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "4.26.0",
8
- "typescriptVersion": "5.5.4"
7
+ "version": "4.19.2",
8
+ "typescriptVersion": "5.4.5"
9
9
  },
10
10
  "collections": [],
11
11
  "bundles": []