@everymatrix/casino-tournament-banner 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 (23) hide show
  1. package/dist/casino-tournament-banner/casino-tournament-banner.esm.js +1 -1
  2. package/dist/casino-tournament-banner/p-890a4a7f.js +2 -0
  3. package/dist/casino-tournament-banner/{p-84129bcd.entry.js → p-cf75bb37.entry.js} +3 -3
  4. package/dist/cjs/casino-tournament-banner.cjs.js +2 -2
  5. package/dist/cjs/casino-tournament-banner_2.cjs.entry.js +38 -37
  6. package/dist/cjs/{index-0b07ce8b.js → index-ceec4c54.js} +70 -173
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/collection/collection-manifest.json +1 -1
  9. package/dist/collection/components/casino-tournament-banner/casino-tournament-banner.js +26 -82
  10. package/dist/esm/casino-tournament-banner.js +3 -3
  11. package/dist/esm/casino-tournament-banner_2.entry.js +38 -37
  12. package/dist/esm/{index-35b94b68.js → index-4d03c228.js} +70 -173
  13. package/dist/esm/loader.js +2 -2
  14. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-tournament-banner/.stencil/packages/stencil/casino-tournament-banner/stencil.config.d.ts +2 -0
  15. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/casino-tournament-banner/.stencil/packages/stencil/casino-tournament-banner/stencil.config.dev.d.ts +2 -0
  16. package/package.json +1 -1
  17. package/dist/casino-tournament-banner/p-91da2a22.js +0 -2
  18. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/casino-tournament-banner/.stencil/packages/stencil/casino-tournament-banner/stencil.config.d.ts +0 -2
  19. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/casino-tournament-banner/.stencil/packages/stencil/casino-tournament-banner/stencil.config.dev.d.ts +0 -2
  20. /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-tournament-banner/.stencil/tools/plugins/index.d.ts +0 -0
  21. /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-tournament-banner/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  22. /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-tournament-banner/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  23. /package/dist/types/{builds/emfe-widgets → Users/maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/casino-tournament-banner/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -1,25 +1,17 @@
1
1
  const NAMESPACE = 'casino-tournament-banner';
2
- const BUILD = /* casino-tournament-banner */ { 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: true, 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: true, 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: false, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: true };
2
+ const BUILD = /* casino-tournament-banner */ { 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: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: false, propNumber: false, propString: true, reflect: 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: false, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: true };
3
3
 
4
4
  /*
5
- Stencil Client Platform v4.26.0 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.22.3 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  var __defProp = Object.defineProperty;
8
8
  var __export = (target, all) => {
9
9
  for (var name in all)
10
10
  __defProp(target, name, { get: all[name], enumerable: true });
11
11
  };
12
-
13
- // src/utils/constants.ts
14
- var SVG_NS = "http://www.w3.org/2000/svg";
15
- var HTML_NS = "http://www.w3.org/1999/xhtml";
16
-
17
- // src/client/client-host-ref.ts
18
12
  var hostRefs = /* @__PURE__ */ new WeakMap();
19
13
  var getHostRef = (ref) => hostRefs.get(ref);
20
- var registerInstance = (lazyInstance, hostRef) => {
21
- hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
22
- };
14
+ var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
23
15
  var registerHost = (hostElement, cmpMeta) => {
24
16
  const hostRef = {
25
17
  $flags$: 0,
@@ -32,8 +24,7 @@ var registerHost = (hostElement, cmpMeta) => {
32
24
  hostElement["s-p"] = [];
33
25
  hostElement["s-rc"] = [];
34
26
  }
35
- const ref = hostRefs.set(hostElement, hostRef);
36
- return ref;
27
+ return hostRefs.set(hostElement, hostRef);
37
28
  };
38
29
  var isMemberInElement = (elm, memberName) => memberName in elm;
39
30
  var consoleError = (e, el) => (0, console.error)(e, el);
@@ -70,22 +61,16 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
70
61
  /* webpackExclude: /\.system\.entry\.js$/ */
71
62
  /* webpackMode: "lazy" */
72
63
  `./${bundleId}.entry.js${""}`
73
- ).then(
74
- (importedModule) => {
75
- {
76
- cmpModules.set(bundleId, importedModule);
77
- }
78
- return importedModule[exportName];
79
- },
80
- (e) => {
81
- consoleError(e, hostRef.$hostElement$);
64
+ ).then((importedModule) => {
65
+ {
66
+ cmpModules.set(bundleId, importedModule);
82
67
  }
83
- );
68
+ return importedModule[exportName];
69
+ }, consoleError);
84
70
  };
85
71
 
86
72
  // src/client/client-style.ts
87
73
  var styles = /* @__PURE__ */ new Map();
88
- var HYDRATED_STYLE_ID = "sty-id";
89
74
  var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
90
75
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
91
76
  var win = typeof window !== "undefined" ? window : {};
@@ -159,6 +144,14 @@ var flush = () => {
159
144
  };
160
145
  var nextTick = (cb) => promiseResolve().then(cb);
161
146
  var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
147
+
148
+ // src/utils/constants.ts
149
+ var EMPTY_OBJ = {};
150
+ var SVG_NS = "http://www.w3.org/2000/svg";
151
+ var HTML_NS = "http://www.w3.org/1999/xhtml";
152
+
153
+ // src/utils/helpers.ts
154
+ var isDef = (v) => v != null;
162
155
  var isComplexType = (o) => {
163
156
  o = typeof o;
164
157
  return o === "object" || o === "function";
@@ -359,7 +352,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
359
352
  }
360
353
  if (!appliedStyles.has(scopeId2)) {
361
354
  {
362
- styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
355
+ styleElm = doc.createElement("style");
363
356
  styleElm.innerHTML = style;
364
357
  const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
365
358
  if (nonce != null) {
@@ -369,10 +362,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
369
362
  if (styleContainerNode.nodeName === "HEAD") {
370
363
  const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
371
364
  const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
372
- styleContainerNode.insertBefore(
373
- styleElm,
374
- (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
375
- );
365
+ styleContainerNode.insertBefore(styleElm, referenceNode2);
376
366
  } else if ("host" in styleContainerNode) {
377
367
  if (supportsConstructableStylesheets) {
378
368
  const stylesheet = new CSSStyleSheet();
@@ -390,7 +380,7 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
390
380
  styleContainerNode.append(styleElm);
391
381
  }
392
382
  }
393
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
383
+ if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
394
384
  styleContainerNode.insertBefore(styleElm, null);
395
385
  }
396
386
  }
@@ -415,25 +405,23 @@ var attachStyles = (hostRef) => {
415
405
  const scopeId2 = addStyle(
416
406
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
417
407
  cmpMeta);
418
- if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
408
+ if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
419
409
  elm["s-sc"] = scopeId2;
420
410
  elm.classList.add(scopeId2 + "-h");
421
411
  }
422
412
  endAttachStyles();
423
413
  };
424
414
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
425
- var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
415
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
426
416
  if (oldValue !== newValue) {
427
417
  let isProp = isMemberInElement(elm, memberName);
428
418
  let ln = memberName.toLowerCase();
429
419
  if (memberName === "class") {
430
420
  const classList = elm.classList;
431
421
  const oldClasses = parseClassList(oldValue);
432
- let newClasses = parseClassList(newValue);
433
- {
434
- classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
435
- classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
436
- }
422
+ const newClasses = parseClassList(newValue);
423
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
424
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
437
425
  } else if (memberName === "key") ; else if ((!isProp ) && memberName[0] === "o" && memberName[1] === "n") {
438
426
  if (memberName[2] === "-") {
439
427
  memberName = memberName.slice(3);
@@ -467,7 +455,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
467
455
  elm.setAttribute(memberName, n);
468
456
  }
469
457
  }
470
- } else if (elm[memberName] !== newValue) {
458
+ } else {
471
459
  elm[memberName] = newValue;
472
460
  }
473
461
  } catch (e) {
@@ -489,44 +477,24 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
489
477
  }
490
478
  };
491
479
  var parseClassListRegex = /\s/;
492
- var parseClassList = (value) => {
493
- if (typeof value === "object" && value && "baseVal" in value) {
494
- value = value.baseVal;
495
- }
496
- if (!value || typeof value !== "string") {
497
- return [];
498
- }
499
- return value.split(parseClassListRegex);
500
- };
480
+ var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
501
481
  var CAPTURE_EVENT_SUFFIX = "Capture";
502
482
  var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
503
483
 
504
484
  // src/runtime/vdom/update-element.ts
505
- var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
485
+ var updateElement = (oldVnode, newVnode, isSvgMode2) => {
506
486
  const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
507
- const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
508
- const newVnodeAttrs = newVnode.$attrs$ || {};
487
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
488
+ const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
509
489
  {
510
490
  for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
511
491
  if (!(memberName in newVnodeAttrs)) {
512
- setAccessor(
513
- elm,
514
- memberName,
515
- oldVnodeAttrs[memberName],
516
- void 0,
517
- isSvgMode2,
518
- newVnode.$flags$);
492
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
519
493
  }
520
494
  }
521
495
  }
522
496
  for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
523
- setAccessor(
524
- elm,
525
- memberName,
526
- oldVnodeAttrs[memberName],
527
- newVnodeAttrs[memberName],
528
- isSvgMode2,
529
- newVnode.$flags$);
497
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
530
498
  }
531
499
  };
532
500
  function sortedAttrNames(attrNames) {
@@ -538,10 +506,13 @@ function sortedAttrNames(attrNames) {
538
506
  attrNames
539
507
  );
540
508
  }
509
+
510
+ // src/runtime/vdom/vdom-render.ts
511
+ var scopeId;
541
512
  var hostTagName;
542
513
  var useNativeShadowDom = false;
543
514
  var isSvgMode = false;
544
- var createElm = (oldParentVNode, newParentVNode, childIndex) => {
515
+ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
545
516
  const newVNode2 = newParentVNode.$children$[childIndex];
546
517
  let i2 = 0;
547
518
  let elm;
@@ -562,6 +533,11 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
562
533
  {
563
534
  updateElement(null, newVNode2, isSvgMode);
564
535
  }
536
+ const rootNode = elm.getRootNode();
537
+ const isElementWithinShadowRoot = !rootNode.querySelector("body");
538
+ if (!isElementWithinShadowRoot && BUILD.scoped && isDef(scopeId) && elm["s-si"] !== scopeId) {
539
+ elm.classList.add(elm["s-si"] = scopeId);
540
+ }
565
541
  if (newVNode2.$children$) {
566
542
  for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
567
543
  childNode = createElm(oldParentVNode, newVNode2, i2);
@@ -697,9 +673,6 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
697
673
  if (!isInitialRender) {
698
674
  return leftVNode.$key$ === rightVNode.$key$;
699
675
  }
700
- if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
701
- leftVNode.$key$ = rightVNode.$key$;
702
- }
703
676
  return true;
704
677
  }
705
678
  return false;
@@ -740,9 +713,8 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
740
713
  }
741
714
  };
742
715
  var insertBefore = (parent, newNode, reference) => {
743
- {
744
- return parent == null ? void 0 : parent.insertBefore(newNode, reference);
745
- }
716
+ const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
717
+ return inserted;
746
718
  };
747
719
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
748
720
  const hostElm = hostRef.$hostElement$;
@@ -767,21 +739,17 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
767
739
  rootVnode.$flags$ |= 4 /* isHost */;
768
740
  hostRef.$vnode$ = rootVnode;
769
741
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
770
- useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
742
+ {
743
+ scopeId = hostElm["s-sc"];
744
+ }
745
+ useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
771
746
  patch(oldVNode, rootVnode, isInitialLoad);
772
747
  };
773
748
 
774
749
  // src/runtime/update-component.ts
775
750
  var attachToAncestor = (hostRef, ancestorComponent) => {
776
751
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
777
- const index = ancestorComponent["s-p"].push(
778
- new Promise(
779
- (r) => hostRef.$onRenderResolve$ = () => {
780
- ancestorComponent["s-p"].splice(index - 1, 1);
781
- r();
782
- }
783
- )
784
- );
752
+ ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
785
753
  }
786
754
  };
787
755
  var scheduleUpdate = (hostRef, isInitialLoad) => {
@@ -810,12 +778,12 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
810
778
  {
811
779
  hostRef.$flags$ |= 256 /* isListenReady */;
812
780
  if (hostRef.$queuedListeners$) {
813
- hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event, elm));
781
+ hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
814
782
  hostRef.$queuedListeners$ = void 0;
815
783
  }
816
784
  }
817
785
  {
818
- maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
786
+ maybePromise = safeCall(instance, "componentWillLoad");
819
787
  }
820
788
  }
821
789
  endSchedule();
@@ -884,7 +852,7 @@ var postUpdateComponent = (hostRef) => {
884
852
  const instance = hostRef.$lazyInstance$ ;
885
853
  const ancestorComponent = hostRef.$ancestorComponent$;
886
854
  {
887
- safeCall(instance, "componentDidRender", void 0, elm);
855
+ safeCall(instance, "componentDidRender");
888
856
  }
889
857
  if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
890
858
  hostRef.$flags$ |= 64 /* hasLoadedComponent */;
@@ -913,14 +881,17 @@ var postUpdateComponent = (hostRef) => {
913
881
  }
914
882
  };
915
883
  var appDidLoad = (who) => {
884
+ {
885
+ addHydratedFlag(doc.documentElement);
886
+ }
916
887
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
917
888
  };
918
- var safeCall = (instance, method, arg, elm) => {
889
+ var safeCall = (instance, method, arg) => {
919
890
  if (instance && instance[method]) {
920
891
  try {
921
892
  return instance[method](arg);
922
893
  } catch (e) {
923
- consoleError(e, elm);
894
+ consoleError(e);
924
895
  }
925
896
  }
926
897
  return void 0;
@@ -979,68 +950,15 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
979
950
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
980
951
  members.map(([memberName, [memberFlags]]) => {
981
952
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
982
- const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
983
- if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
984
- if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
985
- if (flags & 1 /* isElementConstructor */ || !origGetter) {
986
- Object.defineProperty(prototype, memberName, {
987
- get() {
988
- {
989
- if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
990
- return getValue(this, memberName);
991
- }
992
- const ref = getHostRef(this);
993
- const instance = ref ? ref.$lazyInstance$ : prototype;
994
- if (!instance) return;
995
- return instance[memberName];
996
- }
997
- },
998
- configurable: true,
999
- enumerable: true
1000
- });
1001
- }
1002
953
  Object.defineProperty(prototype, memberName, {
954
+ get() {
955
+ return getValue(this, memberName);
956
+ },
1003
957
  set(newValue) {
1004
- const ref = getHostRef(this);
1005
- if (origSetter) {
1006
- const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1007
- if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
1008
- newValue = ref.$instanceValues$.get(memberName);
1009
- } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
1010
- ref.$instanceValues$.set(memberName, currentValue);
1011
- }
1012
- origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
1013
- newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1014
- setValue(this, memberName, newValue, cmpMeta);
1015
- return;
1016
- }
1017
- {
1018
- if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
1019
- setValue(this, memberName, newValue, cmpMeta);
1020
- if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
1021
- ref.$onReadyPromise$.then(() => {
1022
- if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
1023
- ref.$lazyInstance$[memberName] = newValue;
1024
- }
1025
- });
1026
- }
1027
- return;
1028
- }
1029
- const setterSetVal = () => {
1030
- const currentValue = ref.$lazyInstance$[memberName];
1031
- if (!ref.$instanceValues$.get(memberName) && currentValue) {
1032
- ref.$instanceValues$.set(memberName, currentValue);
1033
- }
1034
- ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
1035
- setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
1036
- };
1037
- if (ref.$lazyInstance$) {
1038
- setterSetVal();
1039
- } else {
1040
- ref.$onReadyPromise$.then(() => setterSetVal());
1041
- }
1042
- }
1043
- }
958
+ setValue(this, memberName, newValue, cmpMeta);
959
+ },
960
+ configurable: true,
961
+ enumerable: true
1044
962
  });
1045
963
  }
1046
964
  });
@@ -1050,7 +968,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1050
968
  plt.jmp(() => {
1051
969
  var _a2;
1052
970
  const propName = attrNameToPropName.get(attrName);
1053
- if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
971
+ if (this.hasOwnProperty(propName)) {
1054
972
  newValue = this[propName];
1055
973
  delete this[propName];
1056
974
  } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
@@ -1070,11 +988,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1070
988
  }
1071
989
  return;
1072
990
  }
1073
- const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
1074
- newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1075
- if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
1076
- this[propName] = newValue;
1077
- }
991
+ this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1078
992
  });
1079
993
  };
1080
994
  Cstr.observedAttributes = Array.from(
@@ -1103,7 +1017,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1103
1017
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1104
1018
  const bundleId = cmpMeta.$lazyBundleId$;
1105
1019
  if (bundleId) {
1106
- const CstrImport = loadModule(cmpMeta, hostRef);
1020
+ const CstrImport = loadModule(cmpMeta);
1107
1021
  if (CstrImport && "then" in CstrImport) {
1108
1022
  const endLoad = uniqueTime();
1109
1023
  Cstr = await CstrImport;
@@ -1128,7 +1042,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1128
1042
  try {
1129
1043
  new Cstr(hostRef);
1130
1044
  } catch (e) {
1131
- consoleError(e, elm);
1045
+ consoleError(e);
1132
1046
  }
1133
1047
  {
1134
1048
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
@@ -1163,7 +1077,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1163
1077
  schedule();
1164
1078
  }
1165
1079
  };
1166
- var fireConnectedCallback = (instance, elm) => {
1080
+ var fireConnectedCallback = (instance) => {
1167
1081
  };
1168
1082
 
1169
1083
  // src/runtime/connected-callback.ts
@@ -1204,7 +1118,7 @@ var connectedCallback = (elm) => {
1204
1118
  endConnected();
1205
1119
  }
1206
1120
  };
1207
- var disconnectInstance = (instance, elm) => {
1121
+ var disconnectInstance = (instance) => {
1208
1122
  };
1209
1123
  var disconnectedCallback = async (elm) => {
1210
1124
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
@@ -1219,12 +1133,6 @@ var disconnectedCallback = async (elm) => {
1219
1133
  hostRef.$onReadyPromise$.then(() => disconnectInstance());
1220
1134
  }
1221
1135
  }
1222
- if (rootAppliedStyles.has(elm)) {
1223
- rootAppliedStyles.delete(elm);
1224
- }
1225
- if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1226
- rootAppliedStyles.delete(elm.shadowRoot);
1227
- }
1228
1136
  };
1229
1137
 
1230
1138
  // src/runtime/bootstrap-lazy.ts
@@ -1309,17 +1217,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1309
1217
  }
1310
1218
  disconnectedCallback() {
1311
1219
  plt.jmp(() => disconnectedCallback(this));
1312
- plt.raf(() => {
1313
- var _a3;
1314
- const hostRef = getHostRef(this);
1315
- const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
1316
- if (i2 > -1) {
1317
- deferredConnectedCallbacks.splice(i2, 1);
1318
- }
1319
- if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
1320
- delete hostRef.$vnode$.$elm$;
1321
- }
1322
- });
1323
1220
  }
1324
1221
  componentOnReady() {
1325
1222
  return getHostRef(this).$onReadyPromise$;
@@ -1383,7 +1280,7 @@ var hostListenerProxy = (hostRef, methodName) => (ev) => {
1383
1280
  }
1384
1281
  }
1385
1282
  } catch (e) {
1386
- consoleError(e, hostRef.$hostElement$);
1283
+ consoleError(e);
1387
1284
  }
1388
1285
  };
1389
1286
  var getHostListenerTarget = (elm, flags) => {
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-35b94b68.js';
2
- export { s as setNonce } from './index-35b94b68.js';
1
+ import { b as bootstrapLazy } from './index-4d03c228.js';
2
+ export { s as setNonce } from './index-4d03c228.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
@@ -0,0 +1,2 @@
1
+ import { Config } from '../../../../../../../../../../../stencil-public-runtime';
2
+ export declare const config: Config;
@@ -0,0 +1,2 @@
1
+ import { Config } from '../../../../../../../../../../../stencil-public-runtime';
2
+ export declare const config: Config;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-tournament-banner",
3
- "version": "1.54.11",
3
+ "version": "1.55.0",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.js",
6
6
  "es2015": "./dist/esm/index.mjs",
@@ -1,2 +0,0 @@
1
- var t=Object.defineProperty,e=new WeakMap,n=t=>e.get(t),o=(t,n)=>{e.set(n.t=t,n)},l=(t,e)=>e in t,s=(t,e)=>(0,console.error)(t,e),i=new Map,r=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="undefined"!=typeof window?window:{},a=u.document||{head:{}},f={o:0,l:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},h=t=>Promise.resolve(t),d=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),p=!1,m=[],v=[],y=(t,e)=>n=>{t.push(n),p||(p=!0,e&&4&f.o?$(w):f.raf(w))},b=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){s(t)}t.length=0},w=()=>{b(m),b(v),(p=m.length>0)&&f.raf(w)},$=t=>h().then(t),g=y(v,!0),S=t=>"object"==(t=typeof t)||"function"===t;function j(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((e,n)=>{for(var o in n)t(e,o,{get:n[o],enumerable:!0})})({},{err:()=>k,map:()=>E,ok:()=>O,unwrap:()=>M,unwrapErr:()=>x});var O=t=>({isOk:!0,isErr:!1,value:t}),k=t=>({isOk:!1,isErr:!0,value:t});function E(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>O(t))):O(n)}if(t.isErr)return k(t.value);throw"should never get here"}var C,M=t=>{if(t.isOk)return t.value;throw t.value},x=t=>{if(t.isErr)return t.value;throw t.value},P=(t,e,...n)=>{let o=null,l=null,s=!1,i=!1;const r=[],c=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?c(o):null!=o&&"boolean"!=typeof o&&((s="function"!=typeof t&&!S(o))&&(o+=""),s&&i?r[r.length-1].i+=o:r.push(s?R(null,o):o),i=s)};if(c(n),e){e.key&&(l=e.key);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}const u=R(t,null);return u.u=e,r.length>0&&(u.h=r),u.p=l,u},R=(t,e)=>({o:0,m:t,i:e,v:null,h:null,u:null,p:null}),A={},N=(t,e)=>null==t||S(t)?t:4&e?"false"!==t&&(""===t||!!t):1&e?t+"":t,T=t=>n(t).$hostElement$,D=(t,e,n)=>{const o=T(t);return{emit:t=>H(o,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t})}},H=(t,e,n)=>{const o=f.ce(e,n);return t.dispatchEvent(o),o},L=new WeakMap,U=t=>"sc-"+t.$,W=(t,e,n,o,s,i)=>{if(n!==o){let r=l(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,l=V(n);let s=V(o);e.remove(...l.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!l.includes(t))))}else if("key"===e);else if(r||"o"!==e[0]||"n"!==e[1]){const l=S(o);if((r||l&&null!==o)&&!s)try{if(t.tagName.includes("-"))t[e]!==o&&(t[e]=o);else{const l=null==o?"":o;"list"===e?r=!1:null!=n&&t[e]==l||("function"==typeof t.__lookupSetter__(e)?t[e]=l:t.setAttribute(e,l))}}catch(t){}null==o||!1===o?!1===o&&""!==t.getAttribute(e)||t.removeAttribute(e):(!r||4&i||s)&&!l&&t.setAttribute(e,o=!0===o?"":o)}else if(e="-"===e[2]?e.slice(3):l(u,c)?c.slice(2):c[2]+e.slice(3),n||o){const l=e.endsWith(q);e=e.replace(G,""),n&&f.rel(t,e,n,l),o&&f.ael(t,e,o,l)}}},F=/\s/,V=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(F):[]),q="Capture",G=RegExp(q+"$"),_=(t,e,n)=>{const o=11===e.v.nodeType&&e.v.host?e.v.host:e.v,l=t&&t.u||{},s=e.u||{};for(const t of z(Object.keys(l)))t in s||W(o,t,l[t],void 0,n,e.o);for(const t of z(Object.keys(s)))W(o,t,l[t],s[t],n,e.o)};function z(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var B=!1,I=(t,e,n)=>{const o=e.h[n];let l,s,i=0;if(null!==o.i)l=o.v=a.createTextNode(o.i);else{if(B||(B="svg"===o.m),l=o.v=a.createElementNS(B?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o.m),B&&"foreignObject"===o.m&&(B=!1),_(null,o,B),o.h)for(i=0;i<o.h.length;++i)s=I(t,o,i),s&&l.appendChild(s);"svg"===o.m?B=!1:"foreignObject"===l.tagName&&(B=!0)}return l["s-hn"]=C,l},J=(t,e,n,o,l,s)=>{let i,r=t;for(r.shadowRoot&&r.tagName===C&&(r=r.shadowRoot);l<=s;++l)o[l]&&(i=I(null,n,l),i&&(o[l].v=i,Y(r,i,e)))},K=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.v;t&&t.remove()}}},Q=(t,e,n=!1)=>t.m===e.m&&(n?(n&&!t.p&&e.p&&(t.p=e.p),!0):t.p===e.p),X=(t,e,n=!1)=>{const o=e.v=t.v,l=t.h,s=e.h,i=e.m,r=e.i;null===r?(_(t,e,B="svg"===i||"foreignObject"!==i&&B),null!==l&&null!==s?((t,e,n,o,l=!1)=>{let s,i,r=0,c=0,u=0,a=0,f=e.length-1,h=e[0],d=e[f],p=o.length-1,m=o[0],v=o[p];for(;r<=f&&c<=p;)if(null==h)h=e[++r];else if(null==d)d=e[--f];else if(null==m)m=o[++c];else if(null==v)v=o[--p];else if(Q(h,m,l))X(h,m,l),h=e[++r],m=o[++c];else if(Q(d,v,l))X(d,v,l),d=e[--f],v=o[--p];else if(Q(h,v,l))X(h,v,l),Y(t,h.v,d.v.nextSibling),h=e[++r],v=o[--p];else if(Q(d,m,l))X(d,m,l),Y(t,d.v,h.v),d=e[--f],m=o[++c];else{for(u=-1,a=r;a<=f;++a)if(e[a]&&null!==e[a].p&&e[a].p===m.p){u=a;break}u>=0?(i=e[u],i.m!==m.m?s=I(e&&e[c],n,u):(X(i,m,l),e[u]=void 0,s=i.v),m=o[++c]):(s=I(e&&e[c],n,c),m=o[++c]),s&&Y(h.v.parentNode,s,h.v)}r>f?J(t,null==o[p+1]?null:o[p+1].v,n,o,c,p):c>p&&K(e,r,f)})(o,l,e,s,n):null!==s?(null!==t.i&&(o.textContent=""),J(o,null,e,s,0,s.length-1)):!n&&null!==l&&K(l,0,l.length-1),B&&"svg"===i&&(B=!1)):t.i!==r&&(o.data=r)},Y=(t,e,n)=>null==t?void 0:t.insertBefore(e,n),Z=(t,e)=>{if(e&&!t.S&&e["s-p"]){const n=e["s-p"].push(new Promise((o=>t.S=()=>{e["s-p"].splice(n-1,1),o()})))}},tt=(t,e)=>{if(t.o|=16,!(4&t.o))return Z(t,t.j),g((()=>et(t,e)));t.o|=512},et=(t,e)=>{const n=t.$hostElement$,o=t.t;if(!o)throw Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return e&&(t.o|=256,t.O&&(t.O.map((([t,e])=>ct(o,t,e,n))),t.O=void 0),l=ct(o,"componentWillLoad",void 0,n)),nt(l,(()=>lt(t,o,e)))},nt=(t,e)=>ot(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),ot=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,lt=async(t,e,n)=>{var o;const l=t.$hostElement$,s=l["s-rc"];n&&(t=>{const e=t.k,n=t.$hostElement$,o=e.o,l=((t,e)=>{var n;const o=U(e),l=r.get(o);if(t=11===t.nodeType?t:a,l)if("string"==typeof l){let s,i=L.get(t=t.head||t);if(i||L.set(t,i=new Set),!i.has(o)){{s=document.querySelector(`[sty-id="${o}"]`)||a.createElement("style"),s.innerHTML=l;const i=null!=(n=f.C)?n:j(a);if(null!=i&&s.setAttribute("nonce",i),!(1&e.o))if("HEAD"===t.nodeName){const e=t.querySelectorAll("link[rel=preconnect]"),n=e.length>0?e[e.length-1].nextSibling:t.querySelector("style");t.insertBefore(s,(null==n?void 0:n.parentNode)===t?n:null)}else if("host"in t)if(d){const e=new CSSStyleSheet;e.replaceSync(l),t.adoptedStyleSheets=[e,...t.adoptedStyleSheets]}else{const e=t.querySelector("style");e?e.innerHTML=l+e.innerHTML:t.prepend(s)}else t.append(s);1&e.o&&t.insertBefore(s,null)}4&e.o&&(s.innerHTML+=c),i&&i.add(o)}}else t.adoptedStyleSheets.includes(l)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);(10&o&&2&o||128&o)&&(n["s-sc"]=l,n.classList.add(l+"-h"))})(t);st(t,e,l,n),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>it(t);0===e.length?n():(Promise.all(e).then(n),t.o|=4,e.length=0)}},st=(t,e,n,o)=>{try{e=e.render(),t.o&=-17,t.o|=2,((t,e,n=!1)=>{const o=t.$hostElement$,l=t.k,s=t.M||R(null,null),i=(t=>t&&t.m===A)(e)?e:P(null,null,e);if(C=o.tagName,l.P&&(i.u=i.u||{},l.P.map((([t,e])=>i.u[e]=o[t]))),n&&i.u)for(const t of Object.keys(i.u))o.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(i.u[t]=o[t]);i.m=null,i.o|=4,t.M=i,i.v=s.v=o.shadowRoot||o,X(s,i,n)})(t,e,o)}catch(e){s(e,t.$hostElement$)}return null},it=t=>{const e=t.$hostElement$,n=t.j;ct(t.t,"componentDidRender",void 0,e),64&t.o||(t.o|=64,ut(e),t.R(e),n||rt()),t.S&&(t.S(),t.S=void 0),512&t.o&&$((()=>tt(t,!1))),t.o&=-517},rt=()=>{$((()=>H(u,"appload",{detail:{namespace:"casino-tournament-banner"}})))},ct=(t,e,n,o)=>{if(t&&t[e])try{return t[e](n)}catch(t){s(t,o)}},ut=t=>t.classList.add("hydrated"),at=(t,e,o,l)=>{const i=n(t);if(!i)throw Error(`Couldn't find host element for "${l.$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const r=i.$hostElement$,c=i.A.get(e),u=i.o,a=i.t;if(o=N(o,l.N[e][0]),(!(8&u)||void 0===c)&&o!==c&&(!Number.isNaN(c)||!Number.isNaN(o))&&(i.A.set(e,o),a)){if(l.T&&128&u){const t=l.T[e];t&&t.map((t=>{try{a[t](o,c,e)}catch(t){s(t,r)}}))}2==(18&u)&&tt(i,!1)}},ft=(t,e,o)=>{var l,s;const i=t.prototype;if(e.N||e.T||t.watchers){t.watchers&&!e.T&&(e.T=t.watchers);const r=Object.entries(null!=(l=e.N)?l:{});if(r.map((([t,[l]])=>{if(31&l||2&o&&32&l){const{get:s,set:r}=Object.getOwnPropertyDescriptor(i,t)||{};s&&(e.N[t][0]|=2048),r&&(e.N[t][0]|=4096),(1&o||!s)&&Object.defineProperty(i,t,{get(){{if(!(2048&e.N[t][0]))return((t,e)=>n(this).A.get(e))(0,t);const o=n(this),l=o?o.t:i;if(!l)return;return l[t]}},configurable:!0,enumerable:!0}),Object.defineProperty(i,t,{set(s){const i=n(this);if(r){const n=32&l?this[t]:i.$hostElement$[t];return void 0===n&&i.A.get(t)?s=i.A.get(t):!i.A.get(t)&&n&&i.A.set(t,n),r.call(this,N(s,l)),void at(this,t,s=32&l?this[t]:i.$hostElement$[t],e)}{if(!(1&o&&4096&e.N[t][0]))return at(this,t,s,e),void(1&o&&!i.t&&i.D.then((()=>{4096&e.N[t][0]&&i.t[t]!==i.A.get(t)&&(i.t[t]=s)})));const n=()=>{const n=i.t[t];!i.A.get(t)&&n&&i.A.set(t,n),i.t[t]=N(s,l),at(this,t,i.t[t],e)};i.t?n():i.D.then((()=>n()))}}})}})),1&o){const o=new Map;i.attributeChangedCallback=function(t,l,s){f.jmp((()=>{var r;const c=o.get(t);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const o=n(this),i=null==o?void 0:o.o;if(i&&!(8&i)&&128&i&&s!==l){const n=o.t,i=null==(r=e.T)?void 0:r[t];null==i||i.forEach((e=>{null!=n[e]&&n[e].call(n,s,l,t)}))}return}}const u=Object.getOwnPropertyDescriptor(i,c);(s=(null!==s||"boolean"!=typeof this[c])&&s)===this[c]||u.get&&!u.set||(this[c]=s)}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=e.T)?s:{}),...r.filter((([t,e])=>15&e[0])).map((([t,n])=>{var l;const s=n[1]||t;return o.set(s,t),512&n[0]&&(null==(l=e.P)||l.push([t,s])),s}))]))}}return t},ht=(t,o={})=>{var l;const h=[],p=o.exclude||[],m=u.customElements,v=a.head,y=v.querySelector("meta[charset]"),b=a.createElement("style"),w=[];let $,g=!0;Object.assign(f,o),f.l=new URL(o.resourcesUrl||"./",a.baseURI).href;let S=!1;if(t.map((t=>{t[1].map((o=>{var l;const c={o:o[0],$:o[1],N:o[2],H:o[3]};4&c.o&&(S=!0),c.N=o[2],c.H=o[3],c.P=[],c.T=null!=(l=o[4])?l:{};const u=c.$,a=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,n)=>{const o={o:0,$hostElement$:t,k:n,A:new Map};o.D=new Promise((t=>o.R=t)),t["s-p"]=[],t["s-rc"]=[],e.set(t,o)})(t=this,c),1&c.o)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.$}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else t.attachShadow({mode:"open"})}connectedCallback(){const t=n(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,dt(this,t,c.H)),$&&(clearTimeout($),$=null),g?w.push(this):f.jmp((()=>(t=>{if(!(1&f.o)){const e=n(t),o=e.k,l=()=>{};if(1&e.o)dt(t,e,o.H),(null==e?void 0:e.t)||(null==e?void 0:e.D)&&e.D.then((()=>{}));else{e.o|=1;{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){Z(e,e.j=n);break}}o.N&&Object.entries(o.N).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let o;if(!(32&e.o)){if(e.o|=32,n.L){const l=((t,e)=>{const n=t.$.replace(/-/g,"_"),o=t.L;if(!o)return;const l=i.get(o);return l?l[n]:import(`./${o}.entry.js`).then((t=>(i.set(o,t),t[n])),(t=>{s(t,e.$hostElement$)}))
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n,e);if(l&&"then"in l){const t=()=>{};o=await l,t()}else o=l;if(!o)throw Error(`Constructor for "${n.$}#${e.U}" was not found`);o.isProxied||(n.T=o.watchers,ft(o,n,2),o.isProxied=!0);const r=()=>{};e.o|=8;try{new o(e)}catch(e){s(e,t)}e.o&=-9,e.o|=128,r()}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>e.o|=128));if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const e=U(n);if(!r.has(e)){const o=()=>{};((t,e,n)=>{let o=r.get(t);d&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,r.set(t,o)})(e,t,!!(1&n.o)),o()}}}const l=e.j,c=()=>tt(e,!0);l&&l["s-rc"]?l["s-rc"].push(c):c()})(t,e,o)}l()}})(this)))}disconnectedCallback(){f.jmp((()=>(async t=>{if(!(1&f.o)){const e=n(t);e.W&&(e.W.map((t=>t())),e.W=void 0),(null==e?void 0:e.t)||(null==e?void 0:e.D)&&e.D.then((()=>{}))}L.has(t)&&L.delete(t),t.shadowRoot&&L.has(t.shadowRoot)&&L.delete(t.shadowRoot)})(this))),f.raf((()=>{var t;const e=n(this),o=w.findIndex((t=>t===this));o>-1&&w.splice(o,1),(null==(t=null==e?void 0:e.M)?void 0:t.v)instanceof Node&&!e.M.v.isConnected&&delete e.M.v}))}componentOnReady(){return n(this).D}};c.L=t[0],p.includes(u)||m.get(u)||(h.push(u),m.define(u,ft(a,c,1)))}))})),h.length>0&&(S&&(b.textContent+=c),b.textContent+=h.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",b.innerHTML.length)){b.setAttribute("data-styles","");const t=null!=(l=f.C)?l:j(a);null!=t&&b.setAttribute("nonce",t),v.insertBefore(b,y?y.nextSibling:v.firstChild)}g=!1,w.length?w.map((t=>t.connectedCallback())):f.jmp((()=>$=setTimeout(rt,30)))},dt=(t,e,n)=>{n&&n.map((([n,o,l])=>{const s=mt(t,n),i=pt(e,l),r=vt(n);f.ael(s,o,i,r),(e.W=e.W||[]).push((()=>f.rel(s,o,i,r)))}))},pt=(t,e)=>n=>{var o;try{256&t.o?null==(o=t.t)||o[e](n):(t.O=t.O||[]).push([e,n])}catch(e){s(e,t.$hostElement$)}},mt=(t,e)=>8&e?u:t,vt=t=>({passive:!!(1&t),capture:!!(2&t)}),yt=t=>f.C=t;export{ht as b,D as c,T as g,P as h,h as p,o as r,yt as s}
@@ -1,2 +0,0 @@
1
- import { Config } from '../../../../../../../../../../stencil-public-runtime';
2
- export declare const config: Config;
@@ -1,2 +0,0 @@
1
- import { Config } from '../../../../../../../../../../stencil-public-runtime';
2
- export declare const config: Config;