@everymatrix/lottery-game-page 1.55.0 → 1.56.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 +19183 -19410
  2. package/dist/cjs/{index-a240c449.js → index-c77bea42.js} +180 -76
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/lottery-game-page.cjs.js +3 -3
  5. package/dist/collection/collection-manifest.json +1 -1
  6. package/dist/collection/components/lottery-game-page/lottery-game-page.js +52 -32
  7. package/dist/esm/helper-accordion_14.entry.js +19183 -19410
  8. package/dist/esm/{index-ad071e63.js → index-13ed46b6.js} +180 -76
  9. package/dist/esm/loader.js +3 -3
  10. package/dist/esm/lottery-game-page.js +4 -4
  11. package/dist/lottery-game-page/lottery-game-page.esm.js +1 -1
  12. package/dist/lottery-game-page/p-07f9838b.js +2 -0
  13. package/dist/lottery-game-page/p-f348243b.entry.js +3901 -0
  14. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/lottery-game-page/.stencil/packages/stencil/lottery-game-page/stencil.config.d.ts +2 -0
  15. package/dist/types/Users/adrian.pripon/Documents/Work/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-5465eaee.entry.js +0 -4970
  18. package/dist/lottery-game-page/p-ed51a70f.js +0 -2
  19. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/lottery-game-page/.stencil/packages/stencil/lottery-game-page/stencil.config.d.ts +0 -2
  20. 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 +0 -2
  21. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/lottery-game-page/.stencil/tools/plugins/index.d.ts +0 -0
  22. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/lottery-game-page/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  23. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/lottery-game-page/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  24. /package/dist/types/Users/{maria.bumbar/Desktop → adrian.pripon/Documents/Work}/widgets-monorepo/packages/stencil/lottery-game-page/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -1,17 +1,21 @@
1
1
  const NAMESPACE = 'lottery-game-page';
2
- 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 };
2
+ const BUILD = /* lottery-game-page */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, 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 };
3
3
 
4
4
  /*
5
- Stencil Client Platform v4.22.3 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.26.0 | 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
12
14
  var hostRefs = /* @__PURE__ */ new WeakMap();
13
15
  var getHostRef = (ref) => hostRefs.get(ref);
14
- var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
16
+ var registerInstance = (lazyInstance, hostRef) => {
17
+ hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
18
+ };
15
19
  var registerHost = (hostElement, cmpMeta) => {
16
20
  const hostRef = {
17
21
  $flags$: 0,
@@ -24,7 +28,8 @@ var registerHost = (hostElement, cmpMeta) => {
24
28
  hostElement["s-p"] = [];
25
29
  hostElement["s-rc"] = [];
26
30
  }
27
- return hostRefs.set(hostElement, hostRef);
31
+ const ref = hostRefs.set(hostElement, hostRef);
32
+ return ref;
28
33
  };
29
34
  var isMemberInElement = (elm, memberName) => memberName in elm;
30
35
  var consoleError = (e, el) => (0, console.error)(e, el);
@@ -61,16 +66,22 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
61
66
  /* webpackExclude: /\.system\.entry\.js$/ */
62
67
  /* webpackMode: "lazy" */
63
68
  `./${bundleId}.entry.js${""}`
64
- ).then((importedModule) => {
65
- {
66
- cmpModules.set(bundleId, importedModule);
69
+ ).then(
70
+ (importedModule) => {
71
+ {
72
+ cmpModules.set(bundleId, importedModule);
73
+ }
74
+ return importedModule[exportName];
75
+ },
76
+ (e) => {
77
+ consoleError(e, hostRef.$hostElement$);
67
78
  }
68
- return importedModule[exportName];
69
- }, consoleError);
79
+ );
70
80
  };
71
81
 
72
82
  // src/client/client-style.ts
73
83
  var styles = /* @__PURE__ */ new Map();
84
+ var HYDRATED_STYLE_ID = "sty-id";
74
85
  var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
75
86
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
76
87
  var win = typeof window !== "undefined" ? window : {};
@@ -150,12 +161,6 @@ var getAssetPath = (path) => {
150
161
  const assetUrl = new URL(path, plt.$resourcesUrl$);
151
162
  return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;
152
163
  };
153
-
154
- // src/utils/constants.ts
155
- var EMPTY_OBJ = {};
156
-
157
- // src/utils/helpers.ts
158
- var isDef = (v) => v != null;
159
164
  var isComplexType = (o) => {
160
165
  o = typeof o;
161
166
  return o === "object" || o === "function";
@@ -359,7 +364,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
359
364
  }
360
365
  if (!appliedStyles.has(scopeId2)) {
361
366
  {
362
- styleElm = doc.createElement("style");
367
+ styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
363
368
  styleElm.innerHTML = style;
364
369
  const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
365
370
  if (nonce != null) {
@@ -369,7 +374,10 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
369
374
  if (styleContainerNode.nodeName === "HEAD") {
370
375
  const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
371
376
  const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
372
- styleContainerNode.insertBefore(styleElm, referenceNode2);
377
+ styleContainerNode.insertBefore(
378
+ styleElm,
379
+ (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
380
+ );
373
381
  } else if ("host" in styleContainerNode) {
374
382
  if (supportsConstructableStylesheets) {
375
383
  const stylesheet = new CSSStyleSheet();
@@ -387,7 +395,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
387
395
  styleContainerNode.append(styleElm);
388
396
  }
389
397
  }
390
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
398
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
391
399
  styleContainerNode.insertBefore(styleElm, null);
392
400
  }
393
401
  }
@@ -412,23 +420,25 @@ var attachStyles = (hostRef) => {
412
420
  const scopeId2 = addStyle(
413
421
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
414
422
  cmpMeta);
415
- if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
423
+ if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
416
424
  elm["s-sc"] = scopeId2;
417
425
  elm.classList.add(scopeId2 + "-h");
418
426
  }
419
427
  endAttachStyles();
420
428
  };
421
429
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
422
- var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
430
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
423
431
  if (oldValue !== newValue) {
424
432
  let isProp = isMemberInElement(elm, memberName);
425
433
  let ln = memberName.toLowerCase();
426
434
  if (memberName === "class") {
427
435
  const classList = elm.classList;
428
436
  const oldClasses = parseClassList(oldValue);
429
- const newClasses = parseClassList(newValue);
430
- classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
431
- classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
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
+ }
432
442
  } else if (memberName === "style") {
433
443
  {
434
444
  for (const prop in oldValue) {
@@ -487,7 +497,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
487
497
  elm.setAttribute(memberName, n);
488
498
  }
489
499
  }
490
- } else {
500
+ } else if (elm[memberName] !== newValue) {
491
501
  elm[memberName] = newValue;
492
502
  }
493
503
  } catch (e) {
@@ -509,24 +519,44 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
509
519
  }
510
520
  };
511
521
  var parseClassListRegex = /\s/;
512
- var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
522
+ var parseClassList = (value) => {
523
+ if (typeof value === "object" && value && "baseVal" in value) {
524
+ value = value.baseVal;
525
+ }
526
+ if (!value || typeof value !== "string") {
527
+ return [];
528
+ }
529
+ return value.split(parseClassListRegex);
530
+ };
513
531
  var CAPTURE_EVENT_SUFFIX = "Capture";
514
532
  var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
515
533
 
516
534
  // src/runtime/vdom/update-element.ts
517
- var updateElement = (oldVnode, newVnode, isSvgMode2) => {
535
+ var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
518
536
  const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
519
- const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
520
- const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
537
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
538
+ const newVnodeAttrs = newVnode.$attrs$ || {};
521
539
  {
522
540
  for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
523
541
  if (!(memberName in newVnodeAttrs)) {
524
- setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
542
+ setAccessor(
543
+ elm,
544
+ memberName,
545
+ oldVnodeAttrs[memberName],
546
+ void 0,
547
+ isSvgMode2,
548
+ newVnode.$flags$);
525
549
  }
526
550
  }
527
551
  }
528
552
  for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
529
- setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
553
+ setAccessor(
554
+ elm,
555
+ memberName,
556
+ oldVnodeAttrs[memberName],
557
+ newVnodeAttrs[memberName],
558
+ isSvgMode2,
559
+ newVnode.$flags$);
530
560
  }
531
561
  };
532
562
  function sortedAttrNames(attrNames) {
@@ -538,13 +568,10 @@ function sortedAttrNames(attrNames) {
538
568
  attrNames
539
569
  );
540
570
  }
541
-
542
- // src/runtime/vdom/vdom-render.ts
543
- var scopeId;
544
571
  var hostTagName;
545
572
  var useNativeShadowDom = false;
546
573
  var isSvgMode = false;
547
- var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
574
+ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
548
575
  const newVNode2 = newParentVNode.$children$[childIndex];
549
576
  let i2 = 0;
550
577
  let elm;
@@ -558,11 +585,6 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
558
585
  {
559
586
  updateElement(null, newVNode2, isSvgMode);
560
587
  }
561
- const rootNode = elm.getRootNode();
562
- const isElementWithinShadowRoot = !rootNode.querySelector("body");
563
- if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
564
- elm.classList.add(elm["s-si"] = scopeId);
565
- }
566
588
  if (newVNode2.$children$) {
567
589
  for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
568
590
  childNode = createElm(oldParentVNode, newVNode2, i2);
@@ -692,6 +714,9 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
692
714
  if (!isInitialRender) {
693
715
  return leftVNode.$key$ === rightVNode.$key$;
694
716
  }
717
+ if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
718
+ leftVNode.$key$ = rightVNode.$key$;
719
+ }
695
720
  return true;
696
721
  }
697
722
  return false;
@@ -732,8 +757,9 @@ var nullifyVNodeRefs = (vNode) => {
732
757
  }
733
758
  };
734
759
  var insertBefore = (parent, newNode, reference) => {
735
- const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
736
- return inserted;
760
+ {
761
+ return parent == null ? void 0 : parent.insertBefore(newNode, reference);
762
+ }
737
763
  };
738
764
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
739
765
  const hostElm = hostRef.$hostElement$;
@@ -758,17 +784,21 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
758
784
  rootVnode.$flags$ |= 4 /* isHost */;
759
785
  hostRef.$vnode$ = rootVnode;
760
786
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
761
- {
762
- scopeId = hostElm["s-sc"];
763
- }
764
- useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
787
+ useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
765
788
  patch(oldVNode, rootVnode, isInitialLoad);
766
789
  };
767
790
 
768
791
  // src/runtime/update-component.ts
769
792
  var attachToAncestor = (hostRef, ancestorComponent) => {
770
793
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
771
- ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
794
+ const index = ancestorComponent["s-p"].push(
795
+ new Promise(
796
+ (r) => hostRef.$onRenderResolve$ = () => {
797
+ ancestorComponent["s-p"].splice(index - 1, 1);
798
+ r();
799
+ }
800
+ )
801
+ );
772
802
  }
773
803
  };
774
804
  var scheduleUpdate = (hostRef, isInitialLoad) => {
@@ -797,16 +827,16 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
797
827
  {
798
828
  hostRef.$flags$ |= 256 /* isListenReady */;
799
829
  if (hostRef.$queuedListeners$) {
800
- hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
830
+ hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event, elm));
801
831
  hostRef.$queuedListeners$ = void 0;
802
832
  }
803
833
  }
804
834
  {
805
- maybePromise = safeCall(instance, "componentWillLoad");
835
+ maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
806
836
  }
807
837
  }
808
838
  {
809
- maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender"));
839
+ maybePromise = enqueue(maybePromise, () => safeCall(instance, "componentWillRender", void 0, elm));
810
840
  }
811
841
  endSchedule();
812
842
  return enqueue(maybePromise, () => updateComponent(hostRef, instance, isInitialLoad));
@@ -874,13 +904,16 @@ var postUpdateComponent = (hostRef) => {
874
904
  const instance = hostRef.$lazyInstance$ ;
875
905
  const ancestorComponent = hostRef.$ancestorComponent$;
876
906
  {
877
- safeCall(instance, "componentDidRender");
907
+ safeCall(instance, "componentDidRender", void 0, elm);
878
908
  }
879
909
  if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
880
910
  hostRef.$flags$ |= 64 /* hasLoadedComponent */;
881
911
  {
882
912
  addHydratedFlag(elm);
883
913
  }
914
+ {
915
+ safeCall(instance, "componentDidLoad", void 0, elm);
916
+ }
884
917
  endPostUpdate();
885
918
  {
886
919
  hostRef.$onReadyResolve$(elm);
@@ -903,17 +936,14 @@ var postUpdateComponent = (hostRef) => {
903
936
  }
904
937
  };
905
938
  var appDidLoad = (who) => {
906
- {
907
- addHydratedFlag(doc.documentElement);
908
- }
909
939
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
910
940
  };
911
- var safeCall = (instance, method, arg) => {
941
+ var safeCall = (instance, method, arg, elm) => {
912
942
  if (instance && instance[method]) {
913
943
  try {
914
944
  return instance[method](arg);
915
945
  } catch (e) {
916
- consoleError(e);
946
+ consoleError(e, elm);
917
947
  }
918
948
  }
919
949
  return void 0;
@@ -972,15 +1002,68 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
972
1002
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
973
1003
  members.map(([memberName, [memberFlags]]) => {
974
1004
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
1005
+ const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
1006
+ if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
1007
+ if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
1008
+ if (flags & 1 /* isElementConstructor */ || !origGetter) {
1009
+ Object.defineProperty(prototype, memberName, {
1010
+ get() {
1011
+ {
1012
+ if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
1013
+ return getValue(this, memberName);
1014
+ }
1015
+ const ref = getHostRef(this);
1016
+ const instance = ref ? ref.$lazyInstance$ : prototype;
1017
+ if (!instance) return;
1018
+ return instance[memberName];
1019
+ }
1020
+ },
1021
+ configurable: true,
1022
+ enumerable: true
1023
+ });
1024
+ }
975
1025
  Object.defineProperty(prototype, memberName, {
976
- get() {
977
- return getValue(this, memberName);
978
- },
979
1026
  set(newValue) {
980
- setValue(this, memberName, newValue, cmpMeta);
981
- },
982
- configurable: true,
983
- enumerable: true
1027
+ const ref = getHostRef(this);
1028
+ if (origSetter) {
1029
+ const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1030
+ if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
1031
+ newValue = ref.$instanceValues$.get(memberName);
1032
+ } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
1033
+ ref.$instanceValues$.set(memberName, currentValue);
1034
+ }
1035
+ origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
1036
+ newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1037
+ setValue(this, memberName, newValue, cmpMeta);
1038
+ return;
1039
+ }
1040
+ {
1041
+ if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
1042
+ setValue(this, memberName, newValue, cmpMeta);
1043
+ if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
1044
+ ref.$onReadyPromise$.then(() => {
1045
+ if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
1046
+ ref.$lazyInstance$[memberName] = newValue;
1047
+ }
1048
+ });
1049
+ }
1050
+ return;
1051
+ }
1052
+ const setterSetVal = () => {
1053
+ const currentValue = ref.$lazyInstance$[memberName];
1054
+ if (!ref.$instanceValues$.get(memberName) && currentValue) {
1055
+ ref.$instanceValues$.set(memberName, currentValue);
1056
+ }
1057
+ ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
1058
+ setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
1059
+ };
1060
+ if (ref.$lazyInstance$) {
1061
+ setterSetVal();
1062
+ } else {
1063
+ ref.$onReadyPromise$.then(() => setterSetVal());
1064
+ }
1065
+ }
1066
+ }
984
1067
  });
985
1068
  }
986
1069
  });
@@ -990,7 +1073,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
990
1073
  plt.jmp(() => {
991
1074
  var _a2;
992
1075
  const propName = attrNameToPropName.get(attrName);
993
- if (this.hasOwnProperty(propName)) {
1076
+ if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
994
1077
  newValue = this[propName];
995
1078
  delete this[propName];
996
1079
  } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
@@ -1010,7 +1093,11 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1010
1093
  }
1011
1094
  return;
1012
1095
  }
1013
- this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1096
+ const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
1097
+ newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1098
+ if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
1099
+ this[propName] = newValue;
1100
+ }
1014
1101
  });
1015
1102
  };
1016
1103
  Cstr.observedAttributes = Array.from(
@@ -1039,7 +1126,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1039
1126
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1040
1127
  const bundleId = cmpMeta.$lazyBundleId$;
1041
1128
  if (bundleId) {
1042
- const CstrImport = loadModule(cmpMeta);
1129
+ const CstrImport = loadModule(cmpMeta, hostRef);
1043
1130
  if (CstrImport && "then" in CstrImport) {
1044
1131
  const endLoad = uniqueTime();
1045
1132
  Cstr = await CstrImport;
@@ -1064,7 +1151,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1064
1151
  try {
1065
1152
  new Cstr(hostRef);
1066
1153
  } catch (e) {
1067
- consoleError(e);
1154
+ consoleError(e, elm);
1068
1155
  }
1069
1156
  {
1070
1157
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
@@ -1073,7 +1160,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1073
1160
  hostRef.$flags$ |= 128 /* isWatchReady */;
1074
1161
  }
1075
1162
  endNewInstance();
1076
- fireConnectedCallback(hostRef.$lazyInstance$);
1163
+ fireConnectedCallback(hostRef.$lazyInstance$, elm);
1077
1164
  } else {
1078
1165
  Cstr = elm.constructor;
1079
1166
  const cmpTag = elm.localName;
@@ -1100,9 +1187,9 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1100
1187
  schedule();
1101
1188
  }
1102
1189
  };
1103
- var fireConnectedCallback = (instance) => {
1190
+ var fireConnectedCallback = (instance, elm) => {
1104
1191
  {
1105
- safeCall(instance, "connectedCallback");
1192
+ safeCall(instance, "connectedCallback", void 0, elm);
1106
1193
  }
1107
1194
  };
1108
1195
 
@@ -1138,17 +1225,17 @@ var connectedCallback = (elm) => {
1138
1225
  } else {
1139
1226
  addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
1140
1227
  if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1141
- fireConnectedCallback(hostRef.$lazyInstance$);
1228
+ fireConnectedCallback(hostRef.$lazyInstance$, elm);
1142
1229
  } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1143
- hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$));
1230
+ hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$, elm));
1144
1231
  }
1145
1232
  }
1146
1233
  endConnected();
1147
1234
  }
1148
1235
  };
1149
- var disconnectInstance = (instance) => {
1236
+ var disconnectInstance = (instance, elm) => {
1150
1237
  {
1151
- safeCall(instance, "disconnectedCallback");
1238
+ safeCall(instance, "disconnectedCallback", void 0, elm || instance);
1152
1239
  }
1153
1240
  };
1154
1241
  var disconnectedCallback = async (elm) => {
@@ -1161,11 +1248,17 @@ var disconnectedCallback = async (elm) => {
1161
1248
  }
1162
1249
  }
1163
1250
  if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1164
- disconnectInstance(hostRef.$lazyInstance$);
1251
+ disconnectInstance(hostRef.$lazyInstance$, elm);
1165
1252
  } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1166
- hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$));
1253
+ hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$, elm));
1167
1254
  }
1168
1255
  }
1256
+ if (rootAppliedStyles.has(elm)) {
1257
+ rootAppliedStyles.delete(elm);
1258
+ }
1259
+ if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1260
+ rootAppliedStyles.delete(elm.shadowRoot);
1261
+ }
1169
1262
  };
1170
1263
 
1171
1264
  // src/runtime/bootstrap-lazy.ts
@@ -1250,6 +1343,17 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1250
1343
  }
1251
1344
  disconnectedCallback() {
1252
1345
  plt.jmp(() => disconnectedCallback(this));
1346
+ plt.raf(() => {
1347
+ var _a3;
1348
+ const hostRef = getHostRef(this);
1349
+ const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
1350
+ if (i2 > -1) {
1351
+ deferredConnectedCallbacks.splice(i2, 1);
1352
+ }
1353
+ if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
1354
+ delete hostRef.$vnode$.$elm$;
1355
+ }
1356
+ });
1253
1357
  }
1254
1358
  componentOnReady() {
1255
1359
  return getHostRef(this).$onReadyPromise$;
@@ -1313,7 +1417,7 @@ var hostListenerProxy = (hostRef, methodName) => (ev) => {
1313
1417
  }
1314
1418
  }
1315
1419
  } catch (e) {
1316
- consoleError(e);
1420
+ consoleError(e, hostRef.$hostElement$);
1317
1421
  }
1318
1422
  };
1319
1423
  var getHostListenerTarget = (elm, flags) => {
@@ -1,11 +1,11 @@
1
- import { b as bootstrapLazy } from './index-ad071e63.js';
2
- export { s as setNonce } from './index-ad071e63.js';
1
+ import { b as bootstrapLazy } from './index-13ed46b6.js';
2
+ export { s as setNonce } from './index-13ed46b6.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
6
6
  if (typeof window === 'undefined') return undefined;
7
7
  await globalScripts();
8
- return bootstrapLazy([["helper-accordion_14",[[1,"lottery-game-page",{"endpoint":[513],"endpointTicket":[513,"endpoint-ticket"],"gameId":[513,"game-id"],"playerId":[514,"player-id"],"sessionId":[513,"session-id"],"language":[513],"backgroundUrl":[513,"background-url"],"clientStyling":[513,"client-styling"],"clientStylingurl":[513,"client-stylingurl"],"translationUrl":[513,"translation-url"],"clientStylingUrlContent":[32],"tickets":[32],"mainTickets":[32],"secondaryTickets":[32],"tabIndex":[32],"hasErrors":[32],"totalAmount":[32],"successVisible":[32],"daysRemaining":[32],"hoursRemaining":[32],"minutesRemaining":[32],"secondsRemaining":[32],"nextDate":[32],"isLoggedIn":[32],"loginModalVisible":[32],"limitStylingAppends":[32],"isLoading":[32],"showSubmitError":[32],"submitError":[32],"showApiError":[32],"apiError":[32],"translationData":[32]},[[0,"ticketCompleted","gridFilledHandler"],[0,"gridDirty","gridDirtyHandler"],[0,"modalCloseEvent","modalCloseEvent"],[0,"stakeChange","stakeChangeHandler"],[0,"multiplierChange","multiplierChangeHandler"],[0,"drawMultiplierChange","drawMultiplierChangeHandler"],[0,"lineMultiplierChange","lineMultiplierChangeHandler"],[0,"betTypeChange","betTypeChangeHandler"]],{"translationUrl":["handleNewTranslations"]}],[1,"lottery-draw-results-history",{"endpoint":[513],"gameId":[513,"game-id"],"language":[513],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"translationUrl":[520,"translation-url"],"drawData":[32],"winningDataSetsData":[32],"dateFiltersFrom":[32],"dateFiltersTo":[32],"isLoading":[32],"noResults":[32],"limitStylingAppends":[32],"activeIndex":[32],"totalResults":[32],"limit":[32],"offset":[32]},[[0,"filterSelection","filtersHandler"],[0,"filterSelectionReset","clearFiltersHandler"],[0,"hpPageChange","hpPageChange"]]],[1,"lottery-ticket-controller",{"endpoint":[513],"ticketId":[514,"ticket-id"],"ticketDescription":[513,"ticket-description"],"gameId":[513,"game-id"],"postMessage":[516,"post-message"],"eventName":[513,"event-name"],"collapsed":[516],"numberOfGrids":[514,"number-of-grids"],"last":[516],"language":[513],"autoPick":[516,"auto-pick"],"resetButton":[516,"reset-button"],"totalControllers":[514,"total-controllers"],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"translationUrl":[520,"translation-url"],"limitStylingAppends":[32]},[[0,"helperAccordionAction","helperAccordionActionHandler"]]],[1,"lottery-game-details",{"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"lowNumber":[514,"low-number"],"highNumber":[514,"high-number"],"minimumAllowed":[514,"minimum-allowed"],"maxinumAllowed":[514,"maxinum-allowed"],"language":[513],"translationUrl":[520,"translation-url"],"limitStylingAppends":[32]}],[1,"lottery-draw-results",{"endpoint":[513],"gameId":[513,"game-id"],"language":[513],"playerId":[513,"player-id"],"drawMode":[516,"draw-mode"],"drawId":[513,"draw-id"],"gameName":[513,"game-name"],"ticketDate":[513,"ticket-date"],"ticketStatus":[513,"ticket-status"],"ticketId":[513,"ticket-id"],"ticketAmount":[513,"ticket-amount"],"ticketCurrency":[513,"ticket-currency"],"ticketMultiplier":[516,"ticket-multiplier"],"ticketMultiplierNum":[514,"ticket-multiplier-num"],"ticketDrawCount":[514,"ticket-draw-count"],"ticketNumbers":[513,"ticket-numbers"],"sessionId":[513,"session-id"],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"ticketDrawData":[513,"ticket-draw-data"],"tabValue":[513,"tab-value"],"translationUrl":[520,"translation-url"],"multiplier":[32],"isLoading":[32],"hasErrors":[32],"errorText":[32],"ticketData":[32],"ticketDataLoaded":[32],"ticketDraws":[32],"toggleDrawer":[32],"limitStylingAppends":[32],"drawData":[32]}],[1,"lottery-ticket",{"endpoint":[513],"gameId":[513,"game-id"],"numberOfGrids":[514,"number-of-grids"],"multipleDraws":[516,"multiple-draws"],"ticketId":[514,"ticket-id"],"resetButton":[516,"reset-button"],"autoPick":[516,"auto-pick"],"language":[513],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"translationUrl":[520,"translation-url"],"isLoading":[32],"hasErrors":[32],"ticketDone":[32],"isCustomSelect":[32],"amountInfo":[32],"limitStylingAppends":[32],"stakeMultiplier":[32],"lineMultiplier":[32],"isCustomSelectStake":[32],"isCustomSelectDraw":[32],"isCustomSelectLine":[32],"drawMultiplier":[32],"secondarySelectionAllowed":[32],"partialQuickpickAvailable":[32],"boardsAllowed":[32],"tabIndex":[32],"groupType":[32],"playType":[32],"selectedPlayTypeId":[32],"maximumAllowed":[32],"numberRange":[32],"secondaryNumberRange":[32],"secondaryMaximumAllowed":[32],"minimumAllowed":[32],"secondaryMinimumAllowed":[32]},[[8,"click","checkForClickOutside"],[0,"gridFilled","gridFilledHandler"],[0,"gridClearAllEvent","handleGridClearAllEvent"]],{"lineMultiplier":["handleLineMultiplierChange"],"tabIndex":["handleTabIndexChange"]}],[1,"helper-filters",{"showFilterId":[516,"show-filter-id"],"activateTicketSearch":[516,"activate-ticket-search"],"gameId":[513,"game-id"],"playerId":[513,"player-id"],"session":[513],"postMessage":[516,"post-message"],"language":[513],"quickFiltersActive":[516,"quick-filters-active"],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"translationUrl":[520,"translation-url"],"showFilterModal":[32],"showClearButton":[32],"filterData":[32],"filterDataReset":[32],"limitStylingAppends":[32]},[[0,"modalCloseEvent","modalCloseEvent"]]],[1,"helper-tabs",{"disabled":[516],"label":[513],"selected":[516],"cmsEndpoint":[513,"cms-endpoint"],"selectedIndex":[1538,"selected-index"],"tabs":[16],"clientStyling":[513,"client-styling"],"clientStylingurl":[513,"client-stylingurl"],"clientStylingUrlContent":[513,"client-styling-url-content"],"lowNumber":[514,"low-number"],"highNumber":[514,"high-number"],"minimumAllowed":[514,"minimum-allowed"],"maxinumAllowed":[514,"maxinum-allowed"],"language":[513],"translationUrl":[520,"translation-url"],"limitStylingAppends":[32]}],[1,"lottery-pagination",{"nextPage":[1540,"next-page"],"prevPage":[1540,"prev-page"],"offset":[1538],"limit":[1538],"total":[1538],"language":[1537],"clientStyling":[1537,"client-styling"],"clientStylingUrlContent":[1537,"client-styling-url-content"],"arrowsActive":[1540,"arrows-active"],"secondaryArrowsActive":[1540,"secondary-arrows-active"],"numberedNavActive":[1540,"numbered-nav-active"],"isReset":[1540,"is-reset"],"translationUrl":[520,"translation-url"],"offsetInt":[32],"lastPage":[32],"previousPage":[32],"limitInt":[32],"totalInt":[32],"pagesArray":[32],"endInt":[32],"limitStylingAppends":[32]}],[1,"helper-accordion",{"ticketHistoryFlag":[516,"ticket-history-flag"],"headerTitle":[513,"header-title"],"headerSubtitle":[513,"header-subtitle"],"description":[513],"footer":[516],"deleteTab":[516,"delete-tab"],"postMessage":[516,"post-message"],"eventName":[513,"event-name"],"collapsed":[516],"language":[513],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"translationUrl":[520,"translation-url"],"showContent":[32],"limitStylingAppends":[32]}],[1,"helper-modal",{"titleModal":[513,"title-modal"],"visible":[1540],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"limitStylingAppends":[32]}],[1,"helper-tab",{"selectedIndex":[514,"selected-index"],"cmsEndpoint":[513,"cms-endpoint"],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"lowNumber":[514,"low-number"],"highNumber":[514,"high-number"],"minimumAllowed":[514,"minimum-allowed"],"maxinumAllowed":[514,"maxinum-allowed"],"language":[513],"translationUrl":[520,"translation-url"],"tabContent":[32],"limitStylingAppends":[32]}],[1,"lottery-grid",{"ticketId":[514,"ticket-id"],"totalNumbers":[514,"total-numbers"],"gameId":[513,"game-id"],"maximumAllowed":[514,"maximum-allowed"],"minimumAllowed":[514,"minimum-allowed"],"numberRange":[513,"number-range"],"selectable":[516],"selectedNumbers":[513,"selected-numbers"],"secondaryNumbers":[513,"secondary-numbers"],"displaySelected":[516,"display-selected"],"language":[513],"gridIndex":[514,"grid-index"],"gridType":[513,"grid-type"],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"highNumber":[514,"high-number"],"lowNumber":[514,"low-number"],"selectionType":[513,"selection-type"],"partialQuickpickAvailable":[516,"partial-quickpick-available"],"numbers":[32],"bonusNumbers":[32],"limitStylingAppends":[32]},[[0,"lotteryBulletSelection","lotteryBulletSelectionHandler"],[4,"resetSelection","resetSelectionHandler"],[4,"autoSelection","autoSelectionHandler"]]],[1,"lottery-bullet",{"value":[513],"selectable":[516],"isSelected":[516,"is-selected"],"isBonus":[516,"is-bonus"],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"limitStylingAppends":[32]}]]]], options);
8
+ return bootstrapLazy([["helper-accordion_14",[[1,"lottery-game-page",{"endpoint":[513],"endpointTicket":[513,"endpoint-ticket"],"gameId":[513,"game-id"],"playerId":[514,"player-id"],"sessionId":[513,"session-id"],"language":[513],"backgroundUrl":[513,"background-url"],"clientStyling":[513,"client-styling"],"clientStylingurl":[513,"client-stylingurl"],"translationUrl":[513,"translation-url"],"clientStylingUrlContent":[32],"tickets":[32],"mainTickets":[32],"secondaryTickets":[32],"tabIndex":[32],"hasErrors":[32],"totalAmount":[32],"successVisible":[32],"daysRemaining":[32],"hoursRemaining":[32],"minutesRemaining":[32],"secondsRemaining":[32],"nextDate":[32],"isLoggedIn":[32],"loginModalVisible":[32],"limitStylingAppends":[32],"isLoading":[32],"showSubmitError":[32],"submitError":[32],"showApiError":[32],"apiError":[32],"translationData":[32]},[[0,"ticketCompleted","gridFilledHandler"],[0,"gridDirty","gridDirtyHandler"],[0,"modalCloseEvent","modalCloseEvent"],[0,"stakeChange","stakeChangeHandler"],[0,"multiplierChange","multiplierChangeHandler"],[0,"drawMultiplierChange","drawMultiplierChangeHandler"],[0,"lineMultiplierChange","lineMultiplierChangeHandler"],[0,"betTypeChange","betTypeChangeHandler"]],{"translationUrl":["handleNewTranslations"]}],[1,"lottery-draw-results-history",{"endpoint":[513],"gameId":[513,"game-id"],"language":[513],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"translationUrl":[520,"translation-url"],"drawData":[32],"winningDataSetsData":[32],"dateFiltersFrom":[32],"dateFiltersTo":[32],"isLoading":[32],"noResults":[32],"limitStylingAppends":[32],"activeIndex":[32],"totalResults":[32],"limit":[32],"offset":[32]},[[0,"filterSelection","filtersHandler"],[0,"filterSelectionReset","clearFiltersHandler"],[0,"hpPageChange","hpPageChange"]]],[1,"lottery-ticket-controller",{"endpoint":[513],"ticketId":[514,"ticket-id"],"ticketDescription":[513,"ticket-description"],"gameId":[513,"game-id"],"postMessage":[516,"post-message"],"eventName":[513,"event-name"],"collapsed":[516],"numberOfGrids":[514,"number-of-grids"],"last":[516],"language":[513],"autoPick":[516,"auto-pick"],"resetButton":[516,"reset-button"],"totalControllers":[514,"total-controllers"],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"translationUrl":[520,"translation-url"],"limitStylingAppends":[32]},[[0,"helperAccordionAction","helperAccordionActionHandler"]]],[1,"lottery-game-details",{"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"lowNumber":[514,"low-number"],"highNumber":[514,"high-number"],"minimumAllowed":[514,"minimum-allowed"],"maxinumAllowed":[514,"maxinum-allowed"],"language":[513],"translationUrl":[520,"translation-url"],"limitStylingAppends":[32]}],[1,"lottery-draw-results",{"endpoint":[513],"gameId":[513,"game-id"],"language":[513],"playerId":[513,"player-id"],"drawMode":[516,"draw-mode"],"drawId":[513,"draw-id"],"gameName":[513,"game-name"],"ticketDate":[513,"ticket-date"],"ticketStatus":[513,"ticket-status"],"ticketId":[513,"ticket-id"],"ticketAmount":[513,"ticket-amount"],"ticketCurrency":[513,"ticket-currency"],"ticketMultiplier":[516,"ticket-multiplier"],"ticketMultiplierNum":[514,"ticket-multiplier-num"],"ticketDrawCount":[514,"ticket-draw-count"],"ticketNumbers":[513,"ticket-numbers"],"sessionId":[513,"session-id"],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"ticketDrawData":[513,"ticket-draw-data"],"tabValue":[513,"tab-value"],"translationUrl":[520,"translation-url"],"multiplier":[32],"isLoading":[32],"hasErrors":[32],"errorText":[32],"ticketData":[32],"ticketDataLoaded":[32],"ticketDraws":[32],"toggleDrawer":[32],"limitStylingAppends":[32],"drawData":[32]}],[1,"lottery-ticket",{"endpoint":[513],"gameId":[513,"game-id"],"numberOfGrids":[514,"number-of-grids"],"multipleDraws":[516,"multiple-draws"],"ticketId":[514,"ticket-id"],"resetButton":[516,"reset-button"],"autoPick":[516,"auto-pick"],"language":[513],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"translationUrl":[520,"translation-url"],"isLoading":[32],"hasErrors":[32],"ticketDone":[32],"isCustomSelect":[32],"amountInfo":[32],"limitStylingAppends":[32],"stakeMultiplier":[32],"lineMultiplier":[32],"isCustomSelectStake":[32],"isCustomSelectDraw":[32],"isCustomSelectLine":[32],"drawMultiplier":[32],"secondarySelectionAllowed":[32],"partialQuickpickAvailable":[32],"boardsAllowed":[32],"tabIndex":[32],"groupType":[32],"playType":[32],"selectedPlayTypeId":[32],"maximumAllowed":[32],"numberRange":[32],"secondaryNumberRange":[32],"secondaryMaximumAllowed":[32],"minimumAllowed":[32],"secondaryMinimumAllowed":[32]},[[8,"click","checkForClickOutside"],[0,"gridFilled","gridFilledHandler"],[0,"gridClearAllEvent","handleGridClearAllEvent"]],{"lineMultiplier":["handleLineMultiplierChange"],"tabIndex":["handleTabIndexChange"]}],[1,"helper-filters",{"showFilterId":[516,"show-filter-id"],"activateTicketSearch":[516,"activate-ticket-search"],"gameId":[513,"game-id"],"playerId":[513,"player-id"],"session":[513],"postMessage":[516,"post-message"],"language":[513],"quickFiltersActive":[516,"quick-filters-active"],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"translationUrl":[520,"translation-url"],"showFilterModal":[32],"showClearButton":[32],"filterData":[32],"filterDataReset":[32],"limitStylingAppends":[32]},[[0,"modalCloseEvent","modalCloseEvent"]]],[1,"helper-tabs",{"disabled":[516],"label":[513],"selected":[516],"cmsEndpoint":[513,"cms-endpoint"],"selectedIndex":[1538,"selected-index"],"tabs":[16],"clientStyling":[513,"client-styling"],"mbSource":[1,"mb-source"],"clientStylingurl":[513,"client-stylingurl"],"clientStylingUrl":[513,"client-styling-url"],"lowNumber":[514,"low-number"],"highNumber":[514,"high-number"],"minimumAllowed":[514,"minimum-allowed"],"maxinumAllowed":[514,"maxinum-allowed"],"language":[513],"translationUrl":[520,"translation-url"]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingChangeURL"]}],[1,"lottery-pagination",{"nextPage":[1540,"next-page"],"prevPage":[1540,"prev-page"],"offset":[1538],"limit":[1538],"total":[1538],"language":[1537],"clientStyling":[1537,"client-styling"],"clientStylingUrlContent":[1537,"client-styling-url-content"],"arrowsActive":[1540,"arrows-active"],"secondaryArrowsActive":[1540,"secondary-arrows-active"],"numberedNavActive":[1540,"numbered-nav-active"],"isReset":[1540,"is-reset"],"translationUrl":[520,"translation-url"],"offsetInt":[32],"lastPage":[32],"previousPage":[32],"limitInt":[32],"totalInt":[32],"pagesArray":[32],"endInt":[32],"limitStylingAppends":[32]}],[1,"helper-accordion",{"ticketHistoryFlag":[516,"ticket-history-flag"],"headerTitle":[513,"header-title"],"headerSubtitle":[513,"header-subtitle"],"description":[513],"footer":[516],"deleteTab":[516,"delete-tab"],"postMessage":[516,"post-message"],"eventName":[513,"event-name"],"collapsed":[516],"language":[513],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"translationUrl":[520,"translation-url"],"showContent":[32],"limitStylingAppends":[32]}],[1,"helper-modal",{"titleModal":[513,"title-modal"],"visible":[1540],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"limitStylingAppends":[32]}],[1,"helper-tab",{"selectedIndex":[514,"selected-index"],"cmsEndpoint":[513,"cms-endpoint"],"mbSource":[1,"mb-source"],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"lowNumber":[514,"low-number"],"highNumber":[514,"high-number"],"minimumAllowed":[514,"minimum-allowed"],"maxinumAllowed":[514,"maxinum-allowed"],"language":[513],"translationUrl":[520,"translation-url"],"tabContent":[32]},null,{"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingChangeURL"]}],[1,"lottery-grid",{"ticketId":[514,"ticket-id"],"totalNumbers":[514,"total-numbers"],"gameId":[513,"game-id"],"maximumAllowed":[514,"maximum-allowed"],"minimumAllowed":[514,"minimum-allowed"],"numberRange":[513,"number-range"],"selectable":[516],"selectedNumbers":[513,"selected-numbers"],"secondaryNumbers":[513,"secondary-numbers"],"displaySelected":[516,"display-selected"],"language":[513],"gridIndex":[514,"grid-index"],"gridType":[513,"grid-type"],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"highNumber":[514,"high-number"],"lowNumber":[514,"low-number"],"selectionType":[513,"selection-type"],"partialQuickpickAvailable":[516,"partial-quickpick-available"],"numbers":[32],"bonusNumbers":[32],"limitStylingAppends":[32]},[[0,"lotteryBulletSelection","lotteryBulletSelectionHandler"],[4,"resetSelection","resetSelectionHandler"],[4,"autoSelection","autoSelectionHandler"]]],[1,"lottery-bullet",{"value":[513],"selectable":[516],"isSelected":[516,"is-selected"],"isBonus":[516,"is-bonus"],"clientStyling":[513,"client-styling"],"clientStylingUrlContent":[513,"client-styling-url-content"],"limitStylingAppends":[32]}]]]], options);
9
9
  };
10
10
 
11
11
  export { defineCustomElements };