@everymatrix/lottery-game-page 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.
Files changed (24) hide show
  1. package/dist/cjs/helper-accordion_14.cjs.entry.js +22827 -22529
  2. package/dist/cjs/{index-33e3dbe2.js → index-a240c449.js} +76 -177
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/lottery-game-page.cjs.js +2 -2
  5. package/dist/collection/collection-manifest.json +1 -1
  6. package/dist/collection/components/lottery-game-page/lottery-game-page.js +32 -52
  7. package/dist/esm/helper-accordion_14.entry.js +22827 -22529
  8. package/dist/esm/{index-9faf3f55.js → index-ad071e63.js} +76 -177
  9. package/dist/esm/loader.js +2 -2
  10. package/dist/esm/lottery-game-page.js +3 -3
  11. package/dist/lottery-game-page/lottery-game-page.esm.js +1 -1
  12. package/dist/lottery-game-page/p-5465eaee.entry.js +4970 -0
  13. package/dist/lottery-game-page/p-ed51a70f.js +2 -0
  14. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/lottery-game-page/.stencil/packages/stencil/lottery-game-page/stencil.config.d.ts +2 -0
  15. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/lottery-game-page/.stencil/packages/stencil/lottery-game-page/stencil.config.dev.d.ts +2 -0
  16. package/package.json +1 -1
  17. package/dist/lottery-game-page/p-3f582acc.entry.js +0 -3901
  18. package/dist/lottery-game-page/p-bb75271a.js +0 -2
  19. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-game-page/.stencil/packages/stencil/lottery-game-page/stencil.config.d.ts +0 -2
  20. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/lottery-game-page/.stencil/packages/stencil/lottery-game-page/stencil.config.dev.d.ts +0 -2
  21. /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/lottery-game-page/.stencil/tools/plugins/index.d.ts +0 -0
  22. /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/lottery-game-page/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  23. /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/lottery-game-page/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  24. /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/lottery-game-page/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -21,23 +21,19 @@ function _interopNamespace(e) {
21
21
  }
22
22
 
23
23
  const NAMESPACE = 'lottery-game-page';
24
- const BUILD = /* lottery-game-page */ { 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: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: true, 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: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, 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: true, vdomText: true, vdomXlink: false, watchCallback: true };
24
+ const BUILD = /* lottery-game-page */ { 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: true, cmpWillUpdate: false, connectedCallback: true, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: true, 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: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, 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: true, vdomText: true, vdomXlink: false, watchCallback: true };
25
25
 
26
26
  /*
27
- Stencil Client Platform v4.26.0 | MIT Licensed | https://stenciljs.com
27
+ Stencil Client Platform v4.22.3 | 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/client/client-host-ref.ts
36
34
  var hostRefs = /* @__PURE__ */ new WeakMap();
37
35
  var getHostRef = (ref) => hostRefs.get(ref);
38
- var registerInstance = (lazyInstance, hostRef) => {
39
- hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
40
- };
36
+ var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
41
37
  var registerHost = (hostElement, cmpMeta) => {
42
38
  const hostRef = {
43
39
  $flags$: 0,
@@ -50,8 +46,7 @@ var registerHost = (hostElement, cmpMeta) => {
50
46
  hostElement["s-p"] = [];
51
47
  hostElement["s-rc"] = [];
52
48
  }
53
- const ref = hostRefs.set(hostElement, hostRef);
54
- return ref;
49
+ return hostRefs.set(hostElement, hostRef);
55
50
  };
56
51
  var isMemberInElement = (elm, memberName) => memberName in elm;
57
52
  var consoleError = (e, el) => (0, console.error)(e, el);
@@ -88,22 +83,16 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
88
83
  /* webpackExclude: /\.system\.entry\.js$/ */
89
84
  /* webpackMode: "lazy" */
90
85
  `./${bundleId}.entry.js${""}`
91
- )); }).then(
92
- (importedModule) => {
93
- {
94
- cmpModules.set(bundleId, importedModule);
95
- }
96
- return importedModule[exportName];
97
- },
98
- (e) => {
99
- consoleError(e, hostRef.$hostElement$);
86
+ )); }).then((importedModule) => {
87
+ {
88
+ cmpModules.set(bundleId, importedModule);
100
89
  }
101
- );
90
+ return importedModule[exportName];
91
+ }, consoleError);
102
92
  };
103
93
 
104
94
  // src/client/client-style.ts
105
95
  var styles = /* @__PURE__ */ new Map();
106
- var HYDRATED_STYLE_ID = "sty-id";
107
96
  var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
108
97
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
109
98
  var win = typeof window !== "undefined" ? window : {};
@@ -183,6 +172,12 @@ var getAssetPath = (path) => {
183
172
  const assetUrl = new URL(path, plt.$resourcesUrl$);
184
173
  return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
185
174
  };
175
+
176
+ // src/utils/constants.ts
177
+ var EMPTY_OBJ = {};
178
+
179
+ // src/utils/helpers.ts
180
+ var isDef = (v) => v != null;
186
181
  var isComplexType = (o) => {
187
182
  o = typeof o;
188
183
  return o === "object" || o === "function";
@@ -386,7 +381,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
386
381
  }
387
382
  if (!appliedStyles.has(scopeId2)) {
388
383
  {
389
- styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
384
+ styleElm = doc.createElement("style");
390
385
  styleElm.innerHTML = style;
391
386
  const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
392
387
  if (nonce != null) {
@@ -396,10 +391,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
396
391
  if (styleContainerNode.nodeName === "HEAD") {
397
392
  const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
398
393
  const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
399
- styleContainerNode.insertBefore(
400
- styleElm,
401
- (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
402
- );
394
+ styleContainerNode.insertBefore(styleElm, referenceNode2);
403
395
  } else if ("host" in styleContainerNode) {
404
396
  if (supportsConstructableStylesheets) {
405
397
  const stylesheet = new CSSStyleSheet();
@@ -417,7 +409,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
417
409
  styleContainerNode.append(styleElm);
418
410
  }
419
411
  }
420
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
412
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
421
413
  styleContainerNode.insertBefore(styleElm, null);
422
414
  }
423
415
  }
@@ -442,25 +434,23 @@ var attachStyles = (hostRef) => {
442
434
  const scopeId2 = addStyle(
443
435
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
444
436
  cmpMeta);
445
- if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
437
+ if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
446
438
  elm["s-sc"] = scopeId2;
447
439
  elm.classList.add(scopeId2 + "-h");
448
440
  }
449
441
  endAttachStyles();
450
442
  };
451
443
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
452
- var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
444
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
453
445
  if (oldValue !== newValue) {
454
446
  let isProp = isMemberInElement(elm, memberName);
455
447
  let ln = memberName.toLowerCase();
456
448
  if (memberName === "class") {
457
449
  const classList = elm.classList;
458
450
  const oldClasses = parseClassList(oldValue);
459
- let newClasses = parseClassList(newValue);
460
- {
461
- classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
462
- classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
463
- }
451
+ const newClasses = parseClassList(newValue);
452
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
453
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
464
454
  } else if (memberName === "style") {
465
455
  {
466
456
  for (const prop in oldValue) {
@@ -519,7 +509,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
519
509
  elm.setAttribute(memberName, n);
520
510
  }
521
511
  }
522
- } else if (elm[memberName] !== newValue) {
512
+ } else {
523
513
  elm[memberName] = newValue;
524
514
  }
525
515
  } catch (e) {
@@ -541,44 +531,24 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
541
531
  }
542
532
  };
543
533
  var parseClassListRegex = /\s/;
544
- var parseClassList = (value) => {
545
- if (typeof value === "object" && value && "baseVal" in value) {
546
- value = value.baseVal;
547
- }
548
- if (!value || typeof value !== "string") {
549
- return [];
550
- }
551
- return value.split(parseClassListRegex);
552
- };
534
+ var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
553
535
  var CAPTURE_EVENT_SUFFIX = "Capture";
554
536
  var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
555
537
 
556
538
  // src/runtime/vdom/update-element.ts
557
- var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
539
+ var updateElement = (oldVnode, newVnode, isSvgMode2) => {
558
540
  const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
559
- const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
560
- const newVnodeAttrs = newVnode.$attrs$ || {};
541
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
542
+ const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
561
543
  {
562
544
  for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
563
545
  if (!(memberName in newVnodeAttrs)) {
564
- setAccessor(
565
- elm,
566
- memberName,
567
- oldVnodeAttrs[memberName],
568
- void 0,
569
- isSvgMode2,
570
- newVnode.$flags$);
546
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
571
547
  }
572
548
  }
573
549
  }
574
550
  for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
575
- setAccessor(
576
- elm,
577
- memberName,
578
- oldVnodeAttrs[memberName],
579
- newVnodeAttrs[memberName],
580
- isSvgMode2,
581
- newVnode.$flags$);
551
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
582
552
  }
583
553
  };
584
554
  function sortedAttrNames(attrNames) {
@@ -590,10 +560,13 @@ function sortedAttrNames(attrNames) {
590
560
  attrNames
591
561
  );
592
562
  }
563
+
564
+ // src/runtime/vdom/vdom-render.ts
565
+ var scopeId;
593
566
  var hostTagName;
594
567
  var useNativeShadowDom = false;
595
568
  var isSvgMode = false;
596
- var createElm = (oldParentVNode, newParentVNode, childIndex) => {
569
+ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
597
570
  const newVNode2 = newParentVNode.$children$[childIndex];
598
571
  let i2 = 0;
599
572
  let elm;
@@ -607,6 +580,11 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
607
580
  {
608
581
  updateElement(null, newVNode2, isSvgMode);
609
582
  }
583
+ const rootNode = elm.getRootNode();
584
+ const isElementWithinShadowRoot = !rootNode.querySelector("body");
585
+ if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
586
+ elm.classList.add(elm["s-si"] = scopeId);
587
+ }
610
588
  if (newVNode2.$children$) {
611
589
  for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
612
590
  childNode = createElm(oldParentVNode, newVNode2, i2);
@@ -736,9 +714,6 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
736
714
  if (!isInitialRender) {
737
715
  return leftVNode.$key$ === rightVNode.$key$;
738
716
  }
739
- if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
740
- leftVNode.$key$ = rightVNode.$key$;
741
- }
742
717
  return true;
743
718
  }
744
719
  return false;
@@ -779,9 +754,8 @@ var nullifyVNodeRefs = (vNode) => {
779
754
  }
780
755
  };
781
756
  var insertBefore = (parent, newNode, reference) => {
782
- {
783
- return parent == null ? void 0 : parent.insertBefore(newNode, reference);
784
- }
757
+ const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
758
+ return inserted;
785
759
  };
786
760
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
787
761
  const hostElm = hostRef.$hostElement$;
@@ -806,21 +780,17 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
806
780
  rootVnode.$flags$ |= 4 /* isHost */;
807
781
  hostRef.$vnode$ = rootVnode;
808
782
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
809
- useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
783
+ {
784
+ scopeId = hostElm["s-sc"];
785
+ }
786
+ useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
810
787
  patch(oldVNode, rootVnode, isInitialLoad);
811
788
  };
812
789
 
813
790
  // src/runtime/update-component.ts
814
791
  var attachToAncestor = (hostRef, ancestorComponent) => {
815
792
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
816
- const index = ancestorComponent["s-p"].push(
817
- new Promise(
818
- (r) => hostRef.$onRenderResolve$ = () => {
819
- ancestorComponent["s-p"].splice(index - 1, 1);
820
- r();
821
- }
822
- )
823
- );
793
+ ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
824
794
  }
825
795
  };
826
796
  var scheduleUpdate = (hostRef, isInitialLoad) => {
@@ -849,16 +819,16 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
849
819
  {
850
820
  hostRef.$flags$ |= 256 /* isListenReady */;
851
821
  if (hostRef.$queuedListeners$) {
852
- hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event, elm));
822
+ hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
853
823
  hostRef.$queuedListeners$ = void 0;
854
824
  }
855
825
  }
856
826
  {
857
- maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
827
+ maybePromise = safeCall(instance, "componentWillLoad");
858
828
  }
859
829
  }
860
830
  {
861
- maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender", void 0, elm));
831
+ maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender"));
862
832
  }
863
833
  endSchedule();
864
834
  return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
@@ -926,7 +896,7 @@ var postUpdateComponent = (hostRef) => {
926
896
  const instance = hostRef.$lazyInstance$ ;
927
897
  const ancestorComponent = hostRef.$ancestorComponent$;
928
898
  {
929
- safeCall(instance, "componentDidRender", void 0, elm);
899
+ safeCall(instance, "componentDidRender");
930
900
  }
931
901
  if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
932
902
  hostRef.$flags$ |= 64 /* hasLoadedComponent */;
@@ -955,14 +925,17 @@ var postUpdateComponent = (hostRef) => {
955
925
  }
956
926
  };
957
927
  var appDidLoad = (who) => {
928
+ {
929
+ addHydratedFlag(doc.documentElement);
930
+ }
958
931
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
959
932
  };
960
- var safeCall = (instance, method, arg, elm) => {
933
+ var safeCall = (instance, method, arg) => {
961
934
  if (instance && instance[method]) {
962
935
  try {
963
936
  return instance[method](arg);
964
937
  } catch (e) {
965
- consoleError(e, elm);
938
+ consoleError(e);
966
939
  }
967
940
  }
968
941
  return void 0;
@@ -1021,68 +994,15 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1021
994
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
1022
995
  members.map(([memberName, [memberFlags]]) => {
1023
996
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
1024
- const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
1025
- if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
1026
- if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
1027
- if (flags & 1 /* isElementConstructor */ || !origGetter) {
1028
- Object.defineProperty(prototype, memberName, {
1029
- get() {
1030
- {
1031
- if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
1032
- return getValue(this, memberName);
1033
- }
1034
- const ref = getHostRef(this);
1035
- const instance = ref ? ref.$lazyInstance$ : prototype;
1036
- if (!instance) return;
1037
- return instance[memberName];
1038
- }
1039
- },
1040
- configurable: true,
1041
- enumerable: true
1042
- });
1043
- }
1044
997
  Object.defineProperty(prototype, memberName, {
998
+ get() {
999
+ return getValue(this, memberName);
1000
+ },
1045
1001
  set(newValue) {
1046
- const ref = getHostRef(this);
1047
- if (origSetter) {
1048
- const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1049
- if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
1050
- newValue = ref.$instanceValues$.get(memberName);
1051
- } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
1052
- ref.$instanceValues$.set(memberName, currentValue);
1053
- }
1054
- origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
1055
- newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1056
- setValue(this, memberName, newValue, cmpMeta);
1057
- return;
1058
- }
1059
- {
1060
- if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
1061
- setValue(this, memberName, newValue, cmpMeta);
1062
- if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
1063
- ref.$onReadyPromise$.then(() => {
1064
- if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
1065
- ref.$lazyInstance$[memberName] = newValue;
1066
- }
1067
- });
1068
- }
1069
- return;
1070
- }
1071
- const setterSetVal = () => {
1072
- const currentValue = ref.$lazyInstance$[memberName];
1073
- if (!ref.$instanceValues$.get(memberName) && currentValue) {
1074
- ref.$instanceValues$.set(memberName, currentValue);
1075
- }
1076
- ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
1077
- setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
1078
- };
1079
- if (ref.$lazyInstance$) {
1080
- setterSetVal();
1081
- } else {
1082
- ref.$onReadyPromise$.then(() => setterSetVal());
1083
- }
1084
- }
1085
- }
1002
+ setValue(this, memberName, newValue, cmpMeta);
1003
+ },
1004
+ configurable: true,
1005
+ enumerable: true
1086
1006
  });
1087
1007
  }
1088
1008
  });
@@ -1092,7 +1012,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1092
1012
  plt.jmp(() => {
1093
1013
  var _a2;
1094
1014
  const propName = attrNameToPropName.get(attrName);
1095
- if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
1015
+ if (this.hasOwnProperty(propName)) {
1096
1016
  newValue = this[propName];
1097
1017
  delete this[propName];
1098
1018
  } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
@@ -1112,11 +1032,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1112
1032
  }
1113
1033
  return;
1114
1034
  }
1115
- const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
1116
- newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1117
- if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
1118
- this[propName] = newValue;
1119
- }
1035
+ this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1120
1036
  });
1121
1037
  };
1122
1038
  Cstr.observedAttributes = Array.from(
@@ -1145,7 +1061,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1145
1061
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1146
1062
  const bundleId = cmpMeta.$lazyBundleId$;
1147
1063
  if (bundleId) {
1148
- const CstrImport = loadModule(cmpMeta, hostRef);
1064
+ const CstrImport = loadModule(cmpMeta);
1149
1065
  if (CstrImport && "then" in CstrImport) {
1150
1066
  const endLoad = uniqueTime();
1151
1067
  Cstr = await CstrImport;
@@ -1170,7 +1086,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1170
1086
  try {
1171
1087
  new Cstr(hostRef);
1172
1088
  } catch (e) {
1173
- consoleError(e, elm);
1089
+ consoleError(e);
1174
1090
  }
1175
1091
  {
1176
1092
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
@@ -1179,7 +1095,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1179
1095
  hostRef.$flags$ |= 128 /* isWatchReady */;
1180
1096
  }
1181
1097
  endNewInstance();
1182
- fireConnectedCallback(hostRef.$lazyInstance$, elm);
1098
+ fireConnectedCallback(hostRef.$lazyInstance$);
1183
1099
  } else {
1184
1100
  Cstr = elm.constructor;
1185
1101
  const cmpTag = elm.localName;
@@ -1206,9 +1122,9 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1206
1122
  schedule();
1207
1123
  }
1208
1124
  };
1209
- var fireConnectedCallback = (instance, elm) => {
1125
+ var fireConnectedCallback = (instance) => {
1210
1126
  {
1211
- safeCall(instance, "connectedCallback", void 0, elm);
1127
+ safeCall(instance, "connectedCallback");
1212
1128
  }
1213
1129
  };
1214
1130
 
@@ -1244,17 +1160,17 @@ var connectedCallback = (elm) => {
1244
1160
  } else {
1245
1161
  addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
1246
1162
  if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1247
- fireConnectedCallback(hostRef.$lazyInstance$, elm);
1163
+ fireConnectedCallback(hostRef.$lazyInstance$);
1248
1164
  } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1249
- hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
1165
+ hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$));
1250
1166
  }
1251
1167
  }
1252
1168
  endConnected();
1253
1169
  }
1254
1170
  };
1255
- var disconnectInstance = (instance, elm) => {
1171
+ var disconnectInstance = (instance) => {
1256
1172
  {
1257
- safeCall(instance, "disconnectedCallback", void 0, elm || instance);
1173
+ safeCall(instance, "disconnectedCallback");
1258
1174
  }
1259
1175
  };
1260
1176
  var disconnectedCallback = async (elm) => {
@@ -1267,17 +1183,11 @@ var disconnectedCallback = async (elm) => {
1267
1183
  }
1268
1184
  }
1269
1185
  if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1270
- disconnectInstance(hostRef.$lazyInstance$, elm);
1186
+ disconnectInstance(hostRef.$lazyInstance$);
1271
1187
  } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1272
- hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$, elm));
1188
+ hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$));
1273
1189
  }
1274
1190
  }
1275
- if (rootAppliedStyles.has(elm)) {
1276
- rootAppliedStyles.delete(elm);
1277
- }
1278
- if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1279
- rootAppliedStyles.delete(elm.shadowRoot);
1280
- }
1281
1191
  };
1282
1192
 
1283
1193
  // src/runtime/bootstrap-lazy.ts
@@ -1362,17 +1272,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1362
1272
  }
1363
1273
  disconnectedCallback() {
1364
1274
  plt.jmp(() => disconnectedCallback(this));
1365
- plt.raf(() => {
1366
- var _a3;
1367
- const hostRef = getHostRef(this);
1368
- const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
1369
- if (i2 > -1) {
1370
- deferredConnectedCallbacks.splice(i2, 1);
1371
- }
1372
- if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
1373
- delete hostRef.$vnode$.$elm$;
1374
- }
1375
- });
1376
1275
  }
1377
1276
  componentOnReady() {
1378
1277
  return getHostRef(this).$onReadyPromise$;
@@ -1436,7 +1335,7 @@ var hostListenerProxy = (hostRef, methodName) => (ev) => {
1436
1335
  }
1437
1336
  }
1438
1337
  } catch (e) {
1439
- consoleError(e, hostRef.$hostElement$);
1338
+ consoleError(e);
1440
1339
  }
1441
1340
  };
1442
1341
  var getHostListenerTarget = (elm, flags) => {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-33e3dbe2.js');
5
+ const index = require('./index-a240c449.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-33e3dbe2.js');
5
+ const index = require('./index-a240c449.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
9
- Stencil Client Patch Browser v4.26.0 | MIT Licensed | https://stenciljs.com
9
+ Stencil Client Patch Browser v4.22.3 | MIT Licensed | https://stenciljs.com
10
10
  */
11
11
  var patchBrowser = () => {
12
12
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('lottery-game-page.cjs.js', document.baseURI).href));
@@ -4,7 +4,7 @@
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "4.26.0",
7
+ "version": "4.22.3",
8
8
  "typescriptVersion": "5.5.4"
9
9
  },
10
10
  "collections": [