@everymatrix/helper-filters 1.56.0 → 1.56.3

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-filters.cjs.js +2 -2
  2. package/dist/cjs/helper-filters_2.cjs.entry.js +192 -316
  3. package/dist/cjs/{index-f886624e.js → index-71fae404.js} +68 -203
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/collection/collection-manifest.json +2 -2
  6. package/dist/collection/components/helper-filters/helper-filters.js +16 -67
  7. package/dist/esm/helper-filters.js +3 -3
  8. package/dist/esm/helper-filters_2.entry.js +192 -316
  9. package/dist/esm/{index-db278f52.js → index-0fad714f.js} +68 -203
  10. package/dist/esm/loader.js +2 -2
  11. package/dist/helper-filters/helper-filters.esm.js +1 -1
  12. package/dist/helper-filters/{p-a7e051df.entry.js → p-185df28e.entry.js} +143 -145
  13. package/dist/helper-filters/p-a730a9fa.js +2 -0
  14. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/helper-filters/.stencil/packages/stencil/helper-filters/stencil.config.d.ts +2 -0
  15. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/helper-filters/.stencil/packages/stencil/helper-filters/stencil.config.dev.d.ts +2 -0
  16. package/dist/types/stencil-public-runtime.d.ts +0 -6
  17. package/package.json +1 -1
  18. package/dist/helper-filters/p-01cd08da.js +0 -2
  19. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/helper-filters/.stencil/packages/stencil/helper-filters/stencil.config.d.ts +0 -2
  20. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/helper-filters/.stencil/packages/stencil/helper-filters/stencil.config.dev.d.ts +0 -2
  21. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/helper-filters/.stencil/tools/plugins/index.d.ts +0 -0
  22. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/helper-filters/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  23. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/helper-filters/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  24. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/helper-filters/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -1,21 +1,17 @@
1
1
  const NAMESPACE = 'helper-filters';
2
- const BUILD = /* helper-filters */ { 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: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, 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: false, 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: false, vdomText: true, vdomXlink: false, watchCallback: false };
2
+ const BUILD = /* helper-filters */ { 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: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: false, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: 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: false, vdomText: true, vdomXlink: false, watchCallback: false };
3
3
 
4
4
  /*
5
- Stencil Client Platform v4.26.0 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  var __defProp = Object.defineProperty;
8
8
  var __export = (target, all) => {
9
9
  for (var name in all)
10
10
  __defProp(target, name, { get: all[name], enumerable: true });
11
11
  };
12
-
13
- // src/client/client-host-ref.ts
14
12
  var hostRefs = /* @__PURE__ */ new WeakMap();
15
13
  var getHostRef = (ref) => hostRefs.get(ref);
16
- var registerInstance = (lazyInstance, hostRef) => {
17
- hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
18
- };
14
+ var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
19
15
  var registerHost = (hostElement, cmpMeta) => {
20
16
  const hostRef = {
21
17
  $flags$: 0,
@@ -28,8 +24,7 @@ var registerHost = (hostElement, cmpMeta) => {
28
24
  hostElement["s-p"] = [];
29
25
  hostElement["s-rc"] = [];
30
26
  }
31
- const ref = hostRefs.set(hostElement, hostRef);
32
- return ref;
27
+ return hostRefs.set(hostElement, hostRef);
33
28
  };
34
29
  var isMemberInElement = (elm, memberName) => memberName in elm;
35
30
  var consoleError = (e, el) => (0, console.error)(e, el);
@@ -66,22 +61,16 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
66
61
  /* webpackExclude: /\.system\.entry\.js$/ */
67
62
  /* webpackMode: "lazy" */
68
63
  `./${bundleId}.entry.js${""}`
69
- ).then(
70
- (importedModule) => {
71
- {
72
- cmpModules.set(bundleId, importedModule);
73
- }
74
- return importedModule[exportName];
75
- },
76
- (e) => {
77
- consoleError(e, hostRef.$hostElement$);
64
+ ).then((importedModule) => {
65
+ {
66
+ cmpModules.set(bundleId, importedModule);
78
67
  }
79
- );
68
+ return importedModule[exportName];
69
+ }, consoleError);
80
70
  };
81
71
 
82
72
  // src/client/client-style.ts
83
73
  var styles = /* @__PURE__ */ new Map();
84
- var HYDRATED_STYLE_ID = "sty-id";
85
74
  var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
86
75
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
87
76
  var win = typeof window !== "undefined" ? window : {};
@@ -155,6 +144,12 @@ var flush = () => {
155
144
  };
156
145
  var nextTick = (cb) => promiseResolve().then(cb);
157
146
  var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
147
+
148
+ // src/utils/constants.ts
149
+ var EMPTY_OBJ = {};
150
+
151
+ // src/utils/helpers.ts
152
+ var isDef = (v) => v != null;
158
153
  var isComplexType = (o) => {
159
154
  o = typeof o;
160
155
  return o === "object" || o === "function";
@@ -355,40 +350,13 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
355
350
  }
356
351
  if (!appliedStyles.has(scopeId2)) {
357
352
  {
358
- styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
353
+ styleElm = doc.createElement("style");
359
354
  styleElm.innerHTML = style;
360
355
  const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
361
356
  if (nonce != null) {
362
357
  styleElm.setAttribute("nonce", nonce);
363
358
  }
364
- if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
365
- if (styleContainerNode.nodeName === "HEAD") {
366
- const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
367
- const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
368
- styleContainerNode.insertBefore(
369
- styleElm,
370
- (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
371
- );
372
- } else if ("host" in styleContainerNode) {
373
- if (supportsConstructableStylesheets) {
374
- const stylesheet = new CSSStyleSheet();
375
- stylesheet.replaceSync(style);
376
- styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
377
- } else {
378
- const existingStyleContainer = styleContainerNode.querySelector("style");
379
- if (existingStyleContainer) {
380
- existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
381
- } else {
382
- styleContainerNode.prepend(styleElm);
383
- }
384
- }
385
- } else {
386
- styleContainerNode.append(styleElm);
387
- }
388
- }
389
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
390
- styleContainerNode.insertBefore(styleElm, null);
391
- }
359
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
392
360
  }
393
361
  if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
394
362
  styleElm.innerHTML += SLOT_FB_CSS;
@@ -411,25 +379,23 @@ var attachStyles = (hostRef) => {
411
379
  const scopeId2 = addStyle(
412
380
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
413
381
  cmpMeta);
414
- if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
382
+ if (flags & 10 /* needsScopedEncapsulation */) {
415
383
  elm["s-sc"] = scopeId2;
416
384
  elm.classList.add(scopeId2 + "-h");
417
385
  }
418
386
  endAttachStyles();
419
387
  };
420
388
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
421
- var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
389
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
422
390
  if (oldValue !== newValue) {
423
391
  let isProp = isMemberInElement(elm, memberName);
424
392
  let ln = memberName.toLowerCase();
425
393
  if (memberName === "class") {
426
394
  const classList = elm.classList;
427
395
  const oldClasses = parseClassList(oldValue);
428
- let newClasses = parseClassList(newValue);
429
- {
430
- classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
431
- classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
432
- }
396
+ const newClasses = parseClassList(newValue);
397
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
398
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
433
399
  } else if (memberName === "key") ; else if (memberName === "ref") {
434
400
  if (newValue) {
435
401
  newValue(elm);
@@ -461,13 +427,9 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
461
427
  if (memberName === "list") {
462
428
  isProp = false;
463
429
  } else if (oldValue == null || elm[memberName] != n) {
464
- if (typeof elm.__lookupSetter__(memberName) === "function") {
465
- elm[memberName] = n;
466
- } else {
467
- elm.setAttribute(memberName, n);
468
- }
430
+ elm[memberName] = n;
469
431
  }
470
- } else if (elm[memberName] !== newValue) {
432
+ } else {
471
433
  elm[memberName] = newValue;
472
434
  }
473
435
  } catch (e) {
@@ -489,44 +451,24 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
489
451
  }
490
452
  };
491
453
  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
- };
454
+ var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
501
455
  var CAPTURE_EVENT_SUFFIX = "Capture";
502
456
  var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
503
457
 
504
458
  // src/runtime/vdom/update-element.ts
505
- var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
459
+ var updateElement = (oldVnode, newVnode, isSvgMode2) => {
506
460
  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$ || {};
461
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
462
+ const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
509
463
  {
510
464
  for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
511
465
  if (!(memberName in newVnodeAttrs)) {
512
- setAccessor(
513
- elm,
514
- memberName,
515
- oldVnodeAttrs[memberName],
516
- void 0,
517
- isSvgMode2,
518
- newVnode.$flags$);
466
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
519
467
  }
520
468
  }
521
469
  }
522
470
  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$);
471
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
530
472
  }
531
473
  };
532
474
  function sortedAttrNames(attrNames) {
@@ -538,10 +480,13 @@ function sortedAttrNames(attrNames) {
538
480
  attrNames
539
481
  );
540
482
  }
483
+
484
+ // src/runtime/vdom/vdom-render.ts
485
+ var scopeId;
541
486
  var hostTagName;
542
487
  var useNativeShadowDom = false;
543
488
  var isSvgMode = false;
544
- var createElm = (oldParentVNode, newParentVNode, childIndex) => {
489
+ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
545
490
  const newVNode2 = newParentVNode.$children$[childIndex];
546
491
  let i2 = 0;
547
492
  let elm;
@@ -555,6 +500,9 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
555
500
  {
556
501
  updateElement(null, newVNode2, isSvgMode);
557
502
  }
503
+ if (isDef(scopeId) && elm["s-si"] !== scopeId) {
504
+ elm.classList.add(elm["s-si"] = scopeId);
505
+ }
558
506
  if (newVNode2.$children$) {
559
507
  for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
560
508
  childNode = createElm(oldParentVNode, newVNode2, i2);
@@ -684,9 +632,6 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
684
632
  if (!isInitialRender) {
685
633
  return leftVNode.$key$ === rightVNode.$key$;
686
634
  }
687
- if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
688
- leftVNode.$key$ = rightVNode.$key$;
689
- }
690
635
  return true;
691
636
  }
692
637
  return false;
@@ -710,10 +655,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
710
655
  elm.textContent = "";
711
656
  }
712
657
  addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
713
- } else if (
714
- // don't do this on initial render as it can cause non-hydrated content to be removed
715
- !isInitialRender && BUILD.updatable && oldChildren !== null
716
- ) {
658
+ } else if (oldChildren !== null) {
717
659
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
718
660
  }
719
661
  } else if (oldVNode.$text$ !== text) {
@@ -727,9 +669,8 @@ var nullifyVNodeRefs = (vNode) => {
727
669
  }
728
670
  };
729
671
  var insertBefore = (parent, newNode, reference) => {
730
- {
731
- return parent == null ? void 0 : parent.insertBefore(newNode, reference);
732
- }
672
+ const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
673
+ return inserted;
733
674
  };
734
675
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
735
676
  const hostElm = hostRef.$hostElement$;
@@ -754,21 +695,17 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
754
695
  rootVnode.$flags$ |= 4 /* isHost */;
755
696
  hostRef.$vnode$ = rootVnode;
756
697
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
757
- useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
698
+ {
699
+ scopeId = hostElm["s-sc"];
700
+ }
701
+ useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
758
702
  patch(oldVNode, rootVnode, isInitialLoad);
759
703
  };
760
704
 
761
705
  // src/runtime/update-component.ts
762
706
  var attachToAncestor = (hostRef, ancestorComponent) => {
763
707
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
764
- const index = ancestorComponent["s-p"].push(
765
- new Promise(
766
- (r) => hostRef.$onRenderResolve$ = () => {
767
- ancestorComponent["s-p"].splice(index - 1, 1);
768
- r();
769
- }
770
- )
771
- );
708
+ ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
772
709
  }
773
710
  };
774
711
  var scheduleUpdate = (hostRef, isInitialLoad) => {
@@ -797,12 +734,12 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
797
734
  {
798
735
  hostRef.$flags$ |= 256 /* isListenReady */;
799
736
  if (hostRef.$queuedListeners$) {
800
- hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event, elm));
737
+ hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event));
801
738
  hostRef.$queuedListeners$ = void 0;
802
739
  }
803
740
  }
804
741
  {
805
- maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
742
+ maybePromise = safeCall(instance, "componentWillLoad");
806
743
  }
807
744
  }
808
745
  endSchedule();
@@ -871,7 +808,7 @@ var postUpdateComponent = (hostRef) => {
871
808
  const instance = hostRef.$lazyInstance$ ;
872
809
  const ancestorComponent = hostRef.$ancestorComponent$;
873
810
  {
874
- safeCall(instance, "componentDidRender", void 0, elm);
811
+ safeCall(instance, "componentDidRender");
875
812
  }
876
813
  if (!(hostRef.$flags$ & 64 /* hasLoadedComponent */)) {
877
814
  hostRef.$flags$ |= 64 /* hasLoadedComponent */;
@@ -900,14 +837,17 @@ var postUpdateComponent = (hostRef) => {
900
837
  }
901
838
  };
902
839
  var appDidLoad = (who) => {
840
+ {
841
+ addHydratedFlag(doc.documentElement);
842
+ }
903
843
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
904
844
  };
905
- var safeCall = (instance, method, arg, elm) => {
845
+ var safeCall = (instance, method, arg) => {
906
846
  if (instance && instance[method]) {
907
847
  try {
908
848
  return instance[method](arg);
909
849
  } catch (e) {
910
- consoleError(e, elm);
850
+ consoleError(e);
911
851
  }
912
852
  }
913
853
  return void 0;
@@ -950,68 +890,15 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
950
890
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
951
891
  members.map(([memberName, [memberFlags]]) => {
952
892
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
953
- const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
954
- if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
955
- if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
956
- if (flags & 1 /* isElementConstructor */ || !origGetter) {
957
- Object.defineProperty(prototype, memberName, {
958
- get() {
959
- {
960
- if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
961
- return getValue(this, memberName);
962
- }
963
- const ref = getHostRef(this);
964
- const instance = ref ? ref.$lazyInstance$ : prototype;
965
- if (!instance) return;
966
- return instance[memberName];
967
- }
968
- },
969
- configurable: true,
970
- enumerable: true
971
- });
972
- }
973
893
  Object.defineProperty(prototype, memberName, {
894
+ get() {
895
+ return getValue(this, memberName);
896
+ },
974
897
  set(newValue) {
975
- const ref = getHostRef(this);
976
- if (origSetter) {
977
- const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
978
- if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
979
- newValue = ref.$instanceValues$.get(memberName);
980
- } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
981
- ref.$instanceValues$.set(memberName, currentValue);
982
- }
983
- origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
984
- newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
985
- setValue(this, memberName, newValue, cmpMeta);
986
- return;
987
- }
988
- {
989
- if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
990
- setValue(this, memberName, newValue, cmpMeta);
991
- if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
992
- ref.$onReadyPromise$.then(() => {
993
- if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
994
- ref.$lazyInstance$[memberName] = newValue;
995
- }
996
- });
997
- }
998
- return;
999
- }
1000
- const setterSetVal = () => {
1001
- const currentValue = ref.$lazyInstance$[memberName];
1002
- if (!ref.$instanceValues$.get(memberName) && currentValue) {
1003
- ref.$instanceValues$.set(memberName, currentValue);
1004
- }
1005
- ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
1006
- setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
1007
- };
1008
- if (ref.$lazyInstance$) {
1009
- setterSetVal();
1010
- } else {
1011
- ref.$onReadyPromise$.then(() => setterSetVal());
1012
- }
1013
- }
1014
- }
898
+ setValue(this, memberName, newValue, cmpMeta);
899
+ },
900
+ configurable: true,
901
+ enumerable: true
1015
902
  });
1016
903
  }
1017
904
  });
@@ -1021,11 +908,10 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1021
908
  plt.jmp(() => {
1022
909
  var _a2;
1023
910
  const propName = attrNameToPropName.get(attrName);
1024
- if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
911
+ if (this.hasOwnProperty(propName)) {
1025
912
  newValue = this[propName];
1026
913
  delete this[propName];
1027
- } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1028
- this[propName] == newValue) {
914
+ } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
1029
915
  return;
1030
916
  } else if (propName == null) {
1031
917
  const hostRef = getHostRef(this);
@@ -1041,11 +927,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1041
927
  }
1042
928
  return;
1043
929
  }
1044
- const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
1045
- newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1046
- if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
1047
- this[propName] = newValue;
1048
- }
930
+ this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1049
931
  });
1050
932
  };
1051
933
  Cstr.observedAttributes = Array.from(
@@ -1074,7 +956,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1074
956
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1075
957
  const bundleId = cmpMeta.$lazyBundleId$;
1076
958
  if (bundleId) {
1077
- const CstrImport = loadModule(cmpMeta, hostRef);
959
+ const CstrImport = loadModule(cmpMeta);
1078
960
  if (CstrImport && "then" in CstrImport) {
1079
961
  const endLoad = uniqueTime();
1080
962
  Cstr = await CstrImport;
@@ -1096,7 +978,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1096
978
  try {
1097
979
  new Cstr(hostRef);
1098
980
  } catch (e) {
1099
- consoleError(e, elm);
981
+ consoleError(e);
1100
982
  }
1101
983
  {
1102
984
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
@@ -1128,7 +1010,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1128
1010
  schedule();
1129
1011
  }
1130
1012
  };
1131
- var fireConnectedCallback = (instance, elm) => {
1013
+ var fireConnectedCallback = (instance) => {
1132
1014
  };
1133
1015
 
1134
1016
  // src/runtime/connected-callback.ts
@@ -1169,7 +1051,7 @@ var connectedCallback = (elm) => {
1169
1051
  endConnected();
1170
1052
  }
1171
1053
  };
1172
- var disconnectInstance = (instance, elm) => {
1054
+ var disconnectInstance = (instance) => {
1173
1055
  };
1174
1056
  var disconnectedCallback = async (elm) => {
1175
1057
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
@@ -1184,12 +1066,6 @@ var disconnectedCallback = async (elm) => {
1184
1066
  hostRef.$onReadyPromise$.then(() => disconnectInstance());
1185
1067
  }
1186
1068
  }
1187
- if (rootAppliedStyles.has(elm)) {
1188
- rootAppliedStyles.delete(elm);
1189
- }
1190
- if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1191
- rootAppliedStyles.delete(elm.shadowRoot);
1192
- }
1193
1069
  };
1194
1070
 
1195
1071
  // src/runtime/bootstrap-lazy.ts
@@ -1270,17 +1146,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1270
1146
  }
1271
1147
  disconnectedCallback() {
1272
1148
  plt.jmp(() => disconnectedCallback(this));
1273
- plt.raf(() => {
1274
- var _a3;
1275
- const hostRef = getHostRef(this);
1276
- const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
1277
- if (i2 > -1) {
1278
- deferredConnectedCallbacks.splice(i2, 1);
1279
- }
1280
- if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
1281
- delete hostRef.$vnode$.$elm$;
1282
- }
1283
- });
1284
1149
  }
1285
1150
  componentOnReady() {
1286
1151
  return getHostRef(this).$onReadyPromise$;
@@ -1344,7 +1209,7 @@ var hostListenerProxy = (hostRef, methodName) => (ev) => {
1344
1209
  }
1345
1210
  }
1346
1211
  } catch (e) {
1347
- consoleError(e, hostRef.$hostElement$);
1212
+ consoleError(e);
1348
1213
  }
1349
1214
  };
1350
1215
  var hostListenerOpts = (flags) => supportsListenerOptions ? {
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-db278f52.js';
2
- export { s as setNonce } from './index-db278f52.js';
1
+ import { b as bootstrapLazy } from './index-0fad714f.js';
2
+ export { s as setNonce } from './index-0fad714f.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
@@ -1 +1 @@
1
- import{p as t,b as e}from"./p-01cd08da.js";export{s as setNonce}from"./p-01cd08da.js";import{g as l}from"./p-e1255160.js";(()=>{const e=import.meta.url,l={};return""!==e&&(l.resourcesUrl=new URL(".",e).href),t(l)})().then((async t=>(await l(),e([["p-a7e051df",[[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-modal",{titleModal:[513,"title-modal"],visible:[1540],clientStyling:[513,"client-styling"],clientStylingUrlContent:[513,"client-styling-url-content"],limitStylingAppends:[32]}]]]],t))));
1
+ import{p as t,b as e}from"./p-a730a9fa.js";export{s as setNonce}from"./p-a730a9fa.js";import{g as l}from"./p-e1255160.js";(()=>{const e=import.meta.url,l={};return""!==e&&(l.resourcesUrl=new URL(".",e).href),t(l)})().then((async t=>(await l(),e([["p-185df28e",[[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-modal",{titleModal:[513,"title-modal"],visible:[1540],clientStyling:[513,"client-styling"],clientStylingUrlContent:[513,"client-styling-url-content"],limitStylingAppends:[32]}]]]],t))));