@everymatrix/user-deposit-withdrawal 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 (25) hide show
  1. package/dist/cjs/{index-8df72484.js → index-ef2818c5.js} +71 -208
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/user-deposit-withdrawal.cjs.entry.js +23 -23
  4. package/dist/cjs/user-deposit-withdrawal.cjs.js +2 -2
  5. package/dist/collection/collection-manifest.json +2 -2
  6. package/dist/collection/components/user-deposit-withdrawal/user-deposit-withdrawal.js +23 -69
  7. package/dist/esm/{index-c7e52808.js → index-1ef3a64c.js} +71 -208
  8. package/dist/esm/loader.js +2 -2
  9. package/dist/esm/user-deposit-withdrawal.entry.js +23 -23
  10. package/dist/esm/user-deposit-withdrawal.js +3 -3
  11. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/user-deposit-withdrawal/.stencil/packages/stencil/user-deposit-withdrawal/stencil.config.d.ts +2 -0
  12. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/user-deposit-withdrawal/.stencil/packages/stencil/user-deposit-withdrawal/stencil.config.dev.d.ts +2 -0
  13. package/dist/types/stencil-public-runtime.d.ts +0 -6
  14. package/dist/user-deposit-withdrawal/p-28da125c.js +2 -0
  15. package/dist/user-deposit-withdrawal/p-cfe9e501.entry.js +1 -0
  16. package/dist/user-deposit-withdrawal/user-deposit-withdrawal.esm.js +1 -1
  17. package/package.json +1 -1
  18. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/user-deposit-withdrawal/.stencil/packages/stencil/user-deposit-withdrawal/stencil.config.d.ts +0 -2
  19. package/dist/types/Users/adrian.pripon/Documents/Work/widgets-monorepo/packages/stencil/user-deposit-withdrawal/.stencil/packages/stencil/user-deposit-withdrawal/stencil.config.dev.d.ts +0 -2
  20. package/dist/user-deposit-withdrawal/p-0522d925.entry.js +0 -1
  21. package/dist/user-deposit-withdrawal/p-2ae4c897.js +0 -2
  22. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/user-deposit-withdrawal/.stencil/tools/plugins/index.d.ts +0 -0
  23. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/user-deposit-withdrawal/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  24. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/user-deposit-withdrawal/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  25. /package/dist/types/Users/{adrian.pripon/Documents/Work → maria.bumbar/Desktop}/widgets-monorepo/packages/stencil/user-deposit-withdrawal/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -21,27 +21,19 @@ function _interopNamespace(e) {
21
21
  }
22
22
 
23
23
  const NAMESPACE = 'user-deposit-withdrawal';
24
- const BUILD = /* user-deposit-withdrawal */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, 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: false, propNumber: false, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: true };
24
+ const BUILD = /* user-deposit-withdrawal */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, 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: false, propNumber: false, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: false, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: false, watchCallback: true };
25
25
 
26
26
  /*
27
- Stencil Client Platform v4.26.0 | MIT Licensed | https://stenciljs.com
27
+ Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
28
28
  */
29
29
  var __defProp = Object.defineProperty;
30
30
  var __export = (target, all) => {
31
31
  for (var name in all)
32
32
  __defProp(target, name, { get: all[name], enumerable: true });
33
33
  };
34
-
35
- // src/utils/constants.ts
36
- var SVG_NS = "http://www.w3.org/2000/svg";
37
- var HTML_NS = "http://www.w3.org/1999/xhtml";
38
-
39
- // src/client/client-host-ref.ts
40
34
  var hostRefs = /* @__PURE__ */ new WeakMap();
41
35
  var getHostRef = (ref) => hostRefs.get(ref);
42
- var registerInstance = (lazyInstance, hostRef) => {
43
- hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
44
- };
36
+ var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
45
37
  var registerHost = (hostElement, cmpMeta) => {
46
38
  const hostRef = {
47
39
  $flags$: 0,
@@ -54,8 +46,7 @@ var registerHost = (hostElement, cmpMeta) => {
54
46
  hostElement["s-p"] = [];
55
47
  hostElement["s-rc"] = [];
56
48
  }
57
- const ref = hostRefs.set(hostElement, hostRef);
58
- return ref;
49
+ return hostRefs.set(hostElement, hostRef);
59
50
  };
60
51
  var isMemberInElement = (elm, memberName) => memberName in elm;
61
52
  var consoleError = (e, el) => (0, console.error)(e, el);
@@ -92,22 +83,16 @@ var loadModule = (cmpMeta, hostRef, hmrVersionId) => {
92
83
  /* webpackExclude: /\.system\.entry\.js$/ */
93
84
  /* webpackMode: "lazy" */
94
85
  `./${bundleId}.entry.js${""}`
95
- )); }).then(
96
- (importedModule) => {
97
- {
98
- cmpModules.set(bundleId, importedModule);
99
- }
100
- return importedModule[exportName];
101
- },
102
- (e) => {
103
- consoleError(e, hostRef.$hostElement$);
86
+ )); }).then((importedModule) => {
87
+ {
88
+ cmpModules.set(bundleId, importedModule);
104
89
  }
105
- );
90
+ return importedModule[exportName];
91
+ }, consoleError);
106
92
  };
107
93
 
108
94
  // src/client/client-style.ts
109
95
  var styles = /* @__PURE__ */ new Map();
110
- var HYDRATED_STYLE_ID = "sty-id";
111
96
  var HYDRATED_CSS = "{visibility:hidden}.hydrated{visibility:inherit}";
112
97
  var SLOT_FB_CSS = "slot-fb{display:contents}slot-fb[hidden]{display:none}";
113
98
  var win = typeof window !== "undefined" ? window : {};
@@ -165,6 +150,14 @@ var flush = () => {
165
150
  };
166
151
  var nextTick = (cb) => promiseResolve().then(cb);
167
152
  var writeTask = /* @__PURE__ */ queueTask(queueDomWrites, true);
153
+
154
+ // src/utils/constants.ts
155
+ var EMPTY_OBJ = {};
156
+ var SVG_NS = "http://www.w3.org/2000/svg";
157
+ var HTML_NS = "http://www.w3.org/1999/xhtml";
158
+
159
+ // src/utils/helpers.ts
160
+ var isDef = (v) => v != null;
168
161
  var isComplexType = (o) => {
169
162
  o = typeof o;
170
163
  return o === "object" || o === "function";
@@ -349,40 +342,13 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
349
342
  }
350
343
  if (!appliedStyles.has(scopeId2)) {
351
344
  {
352
- styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || doc.createElement("style");
345
+ styleElm = doc.createElement("style");
353
346
  styleElm.innerHTML = style;
354
347
  const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
355
348
  if (nonce != null) {
356
349
  styleElm.setAttribute("nonce", nonce);
357
350
  }
358
- if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
359
- if (styleContainerNode.nodeName === "HEAD") {
360
- const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
361
- const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
362
- styleContainerNode.insertBefore(
363
- styleElm,
364
- (referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
365
- );
366
- } else if ("host" in styleContainerNode) {
367
- if (supportsConstructableStylesheets) {
368
- const stylesheet = new CSSStyleSheet();
369
- stylesheet.replaceSync(style);
370
- styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
371
- } else {
372
- const existingStyleContainer = styleContainerNode.querySelector("style");
373
- if (existingStyleContainer) {
374
- existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
375
- } else {
376
- styleContainerNode.prepend(styleElm);
377
- }
378
- }
379
- } else {
380
- styleContainerNode.append(styleElm);
381
- }
382
- }
383
- if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
384
- styleContainerNode.insertBefore(styleElm, null);
385
- }
351
+ styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector("link"));
386
352
  }
387
353
  if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
388
354
  styleElm.innerHTML += SLOT_FB_CSS;
@@ -405,25 +371,23 @@ var attachStyles = (hostRef) => {
405
371
  const scopeId2 = addStyle(
406
372
  elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
407
373
  cmpMeta);
408
- if ((flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */ || flags & 128 /* shadowNeedsScopedCss */)) {
374
+ if (flags & 10 /* needsScopedEncapsulation */) {
409
375
  elm["s-sc"] = scopeId2;
410
376
  elm.classList.add(scopeId2 + "-h");
411
377
  }
412
378
  endAttachStyles();
413
379
  };
414
380
  var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
415
- var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
381
+ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
416
382
  if (oldValue !== newValue) {
417
383
  let isProp = isMemberInElement(elm, memberName);
418
384
  let ln = memberName.toLowerCase();
419
385
  if (memberName === "class") {
420
386
  const classList = elm.classList;
421
387
  const oldClasses = parseClassList(oldValue);
422
- let newClasses = parseClassList(newValue);
423
- {
424
- classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
425
- classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
426
- }
388
+ const newClasses = parseClassList(newValue);
389
+ classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
390
+ classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
427
391
  } else if (memberName === "style") {
428
392
  {
429
393
  for (const prop in oldValue) {
@@ -476,13 +440,9 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
476
440
  if (memberName === "list") {
477
441
  isProp = false;
478
442
  } else if (oldValue == null || elm[memberName] != n) {
479
- if (typeof elm.__lookupSetter__(memberName) === "function") {
480
- elm[memberName] = n;
481
- } else {
482
- elm.setAttribute(memberName, n);
483
- }
443
+ elm[memberName] = n;
484
444
  }
485
- } else if (elm[memberName] !== newValue) {
445
+ } else {
486
446
  elm[memberName] = newValue;
487
447
  }
488
448
  } catch (e) {
@@ -504,44 +464,24 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
504
464
  }
505
465
  };
506
466
  var parseClassListRegex = /\s/;
507
- var parseClassList = (value) => {
508
- if (typeof value === "object" && value && "baseVal" in value) {
509
- value = value.baseVal;
510
- }
511
- if (!value || typeof value !== "string") {
512
- return [];
513
- }
514
- return value.split(parseClassListRegex);
515
- };
467
+ var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
516
468
  var CAPTURE_EVENT_SUFFIX = "Capture";
517
469
  var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
518
470
 
519
471
  // src/runtime/vdom/update-element.ts
520
- var updateElement = (oldVnode, newVnode, isSvgMode2, isInitialRender) => {
472
+ var updateElement = (oldVnode, newVnode, isSvgMode2) => {
521
473
  const elm = newVnode.$elm$.nodeType === 11 /* DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;
522
- const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || {};
523
- const newVnodeAttrs = newVnode.$attrs$ || {};
474
+ const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;
475
+ const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;
524
476
  {
525
477
  for (const memberName of sortedAttrNames(Object.keys(oldVnodeAttrs))) {
526
478
  if (!(memberName in newVnodeAttrs)) {
527
- setAccessor(
528
- elm,
529
- memberName,
530
- oldVnodeAttrs[memberName],
531
- void 0,
532
- isSvgMode2,
533
- newVnode.$flags$);
479
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], void 0, isSvgMode2, newVnode.$flags$);
534
480
  }
535
481
  }
536
482
  }
537
483
  for (const memberName of sortedAttrNames(Object.keys(newVnodeAttrs))) {
538
- setAccessor(
539
- elm,
540
- memberName,
541
- oldVnodeAttrs[memberName],
542
- newVnodeAttrs[memberName],
543
- isSvgMode2,
544
- newVnode.$flags$);
484
+ setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode2, newVnode.$flags$);
545
485
  }
546
486
  };
547
487
  function sortedAttrNames(attrNames) {
@@ -553,10 +493,13 @@ function sortedAttrNames(attrNames) {
553
493
  attrNames
554
494
  );
555
495
  }
496
+
497
+ // src/runtime/vdom/vdom-render.ts
498
+ var scopeId;
556
499
  var hostTagName;
557
500
  var useNativeShadowDom = false;
558
501
  var isSvgMode = false;
559
- var createElm = (oldParentVNode, newParentVNode, childIndex) => {
502
+ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
560
503
  const newVNode2 = newParentVNode.$children$[childIndex];
561
504
  let i2 = 0;
562
505
  let elm;
@@ -577,6 +520,9 @@ var createElm = (oldParentVNode, newParentVNode, childIndex) => {
577
520
  {
578
521
  updateElement(null, newVNode2, isSvgMode);
579
522
  }
523
+ if (isDef(scopeId) && elm["s-si"] !== scopeId) {
524
+ elm.classList.add(elm["s-si"] = scopeId);
525
+ }
580
526
  if (newVNode2.$children$) {
581
527
  for (i2 = 0; i2 < newVNode2.$children$.length; ++i2) {
582
528
  childNode = createElm(oldParentVNode, newVNode2, i2);
@@ -713,9 +659,6 @@ var isSameVnode = (leftVNode, rightVNode, isInitialRender = false) => {
713
659
  if (!isInitialRender) {
714
660
  return leftVNode.$key$ === rightVNode.$key$;
715
661
  }
716
- if (isInitialRender && !leftVNode.$key$ && rightVNode.$key$) {
717
- leftVNode.$key$ = rightVNode.$key$;
718
- }
719
662
  return true;
720
663
  }
721
664
  return false;
@@ -742,10 +685,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
742
685
  elm.textContent = "";
743
686
  }
744
687
  addVnodes(elm, null, newVNode2, newChildren, 0, newChildren.length - 1);
745
- } else if (
746
- // don't do this on initial render as it can cause non-hydrated content to be removed
747
- !isInitialRender && BUILD.updatable && oldChildren !== null
748
- ) {
688
+ } else if (oldChildren !== null) {
749
689
  removeVnodes(oldChildren, 0, oldChildren.length - 1);
750
690
  }
751
691
  if (isSvgMode && tag === "svg") {
@@ -762,9 +702,8 @@ var nullifyVNodeRefs = (vNode) => {
762
702
  }
763
703
  };
764
704
  var insertBefore = (parent, newNode, reference) => {
765
- {
766
- return parent == null ? void 0 : parent.insertBefore(newNode, reference);
767
- }
705
+ const inserted = parent == null ? void 0 : parent.insertBefore(newNode, reference);
706
+ return inserted;
768
707
  };
769
708
  var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
770
709
  const hostElm = hostRef.$hostElement$;
@@ -789,21 +728,17 @@ var renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
789
728
  rootVnode.$flags$ |= 4 /* isHost */;
790
729
  hostRef.$vnode$ = rootVnode;
791
730
  rootVnode.$elm$ = oldVNode.$elm$ = hostElm.shadowRoot || hostElm ;
792
- useNativeShadowDom = !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */);
731
+ {
732
+ scopeId = hostElm["s-sc"];
733
+ }
734
+ useNativeShadowDom = (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) !== 0;
793
735
  patch(oldVNode, rootVnode, isInitialLoad);
794
736
  };
795
737
 
796
738
  // src/runtime/update-component.ts
797
739
  var attachToAncestor = (hostRef, ancestorComponent) => {
798
740
  if (ancestorComponent && !hostRef.$onRenderResolve$ && ancestorComponent["s-p"]) {
799
- const index = ancestorComponent["s-p"].push(
800
- new Promise(
801
- (r) => hostRef.$onRenderResolve$ = () => {
802
- ancestorComponent["s-p"].splice(index - 1, 1);
803
- r();
804
- }
805
- )
806
- );
741
+ ancestorComponent["s-p"].push(new Promise((r) => hostRef.$onRenderResolve$ = r));
807
742
  }
808
743
  };
809
744
  var scheduleUpdate = (hostRef, isInitialLoad) => {
@@ -830,7 +765,7 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
830
765
  let maybePromise;
831
766
  if (isInitialLoad) {
832
767
  {
833
- maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
768
+ maybePromise = safeCall(instance, "componentWillLoad");
834
769
  }
835
770
  }
836
771
  endSchedule();
@@ -904,7 +839,7 @@ var postUpdateComponent = (hostRef) => {
904
839
  addHydratedFlag(elm);
905
840
  }
906
841
  {
907
- safeCall(instance, "componentDidLoad", void 0, elm);
842
+ safeCall(instance, "componentDidLoad");
908
843
  }
909
844
  endPostUpdate();
910
845
  {
@@ -928,14 +863,17 @@ var postUpdateComponent = (hostRef) => {
928
863
  }
929
864
  };
930
865
  var appDidLoad = (who) => {
866
+ {
867
+ addHydratedFlag(doc.documentElement);
868
+ }
931
869
  nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
932
870
  };
933
- var safeCall = (instance, method, arg, elm) => {
871
+ var safeCall = (instance, method, arg) => {
934
872
  if (instance && instance[method]) {
935
873
  try {
936
874
  return instance[method](arg);
937
875
  } catch (e) {
938
- consoleError(e, elm);
876
+ consoleError(e);
939
877
  }
940
878
  }
941
879
  return void 0;
@@ -994,68 +932,15 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
994
932
  const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
995
933
  members.map(([memberName, [memberFlags]]) => {
996
934
  if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
997
- const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(prototype, memberName) || {};
998
- if (origGetter) cmpMeta.$members$[memberName][0] |= 2048 /* Getter */;
999
- if (origSetter) cmpMeta.$members$[memberName][0] |= 4096 /* Setter */;
1000
- if (flags & 1 /* isElementConstructor */ || !origGetter) {
1001
- Object.defineProperty(prototype, memberName, {
1002
- get() {
1003
- {
1004
- if ((cmpMeta.$members$[memberName][0] & 2048 /* Getter */) === 0) {
1005
- return getValue(this, memberName);
1006
- }
1007
- const ref = getHostRef(this);
1008
- const instance = ref ? ref.$lazyInstance$ : prototype;
1009
- if (!instance) return;
1010
- return instance[memberName];
1011
- }
1012
- },
1013
- configurable: true,
1014
- enumerable: true
1015
- });
1016
- }
1017
935
  Object.defineProperty(prototype, memberName, {
936
+ get() {
937
+ return getValue(this, memberName);
938
+ },
1018
939
  set(newValue) {
1019
- const ref = getHostRef(this);
1020
- if (origSetter) {
1021
- const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1022
- if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
1023
- newValue = ref.$instanceValues$.get(memberName);
1024
- } else if (!ref.$instanceValues$.get(memberName) && currentValue) {
1025
- ref.$instanceValues$.set(memberName, currentValue);
1026
- }
1027
- origSetter.apply(this, [parsePropertyValue(newValue, memberFlags)]);
1028
- newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1029
- setValue(this, memberName, newValue, cmpMeta);
1030
- return;
1031
- }
1032
- {
1033
- if ((flags & 1 /* isElementConstructor */) === 0 || (cmpMeta.$members$[memberName][0] & 4096 /* Setter */) === 0) {
1034
- setValue(this, memberName, newValue, cmpMeta);
1035
- if (flags & 1 /* isElementConstructor */ && !ref.$lazyInstance$) {
1036
- ref.$onReadyPromise$.then(() => {
1037
- if (cmpMeta.$members$[memberName][0] & 4096 /* Setter */ && ref.$lazyInstance$[memberName] !== ref.$instanceValues$.get(memberName)) {
1038
- ref.$lazyInstance$[memberName] = newValue;
1039
- }
1040
- });
1041
- }
1042
- return;
1043
- }
1044
- const setterSetVal = () => {
1045
- const currentValue = ref.$lazyInstance$[memberName];
1046
- if (!ref.$instanceValues$.get(memberName) && currentValue) {
1047
- ref.$instanceValues$.set(memberName, currentValue);
1048
- }
1049
- ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, memberFlags);
1050
- setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
1051
- };
1052
- if (ref.$lazyInstance$) {
1053
- setterSetVal();
1054
- } else {
1055
- ref.$onReadyPromise$.then(() => setterSetVal());
1056
- }
1057
- }
1058
- }
940
+ setValue(this, memberName, newValue, cmpMeta);
941
+ },
942
+ configurable: true,
943
+ enumerable: true
1059
944
  });
1060
945
  }
1061
946
  });
@@ -1065,11 +950,10 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1065
950
  plt.jmp(() => {
1066
951
  var _a2;
1067
952
  const propName = attrNameToPropName.get(attrName);
1068
- if (this.hasOwnProperty(propName) && BUILD.lazyLoad) {
953
+ if (this.hasOwnProperty(propName)) {
1069
954
  newValue = this[propName];
1070
955
  delete this[propName];
1071
- } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && // cast type to number to avoid TS compiler issues
1072
- this[propName] == newValue) {
956
+ } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === "number" && this[propName] == newValue) {
1073
957
  return;
1074
958
  } else if (propName == null) {
1075
959
  const hostRef = getHostRef(this);
@@ -1085,11 +969,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1085
969
  }
1086
970
  return;
1087
971
  }
1088
- const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
1089
- newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1090
- if (newValue !== this[propName] && (!propDesc.get || !!propDesc.set)) {
1091
- this[propName] = newValue;
1092
- }
972
+ this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
1093
973
  });
1094
974
  };
1095
975
  Cstr.observedAttributes = Array.from(
@@ -1118,7 +998,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1118
998
  hostRef.$flags$ |= 32 /* hasInitializedComponent */;
1119
999
  const bundleId = cmpMeta.$lazyBundleId$;
1120
1000
  if (bundleId) {
1121
- const CstrImport = loadModule(cmpMeta, hostRef);
1001
+ const CstrImport = loadModule(cmpMeta);
1122
1002
  if (CstrImport && "then" in CstrImport) {
1123
1003
  const endLoad = uniqueTime();
1124
1004
  Cstr = await CstrImport;
@@ -1143,7 +1023,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1143
1023
  try {
1144
1024
  new Cstr(hostRef);
1145
1025
  } catch (e) {
1146
- consoleError(e, elm);
1026
+ consoleError(e);
1147
1027
  }
1148
1028
  {
1149
1029
  hostRef.$flags$ &= ~8 /* isConstructingInstance */;
@@ -1178,7 +1058,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
1178
1058
  schedule();
1179
1059
  }
1180
1060
  };
1181
- var fireConnectedCallback = (instance, elm) => {
1061
+ var fireConnectedCallback = (instance) => {
1182
1062
  };
1183
1063
 
1184
1064
  // src/runtime/connected-callback.ts
@@ -1218,26 +1098,20 @@ var connectedCallback = (elm) => {
1218
1098
  endConnected();
1219
1099
  }
1220
1100
  };
1221
- var disconnectInstance = (instance, elm) => {
1101
+ var disconnectInstance = (instance) => {
1222
1102
  {
1223
- safeCall(instance, "disconnectedCallback", void 0, elm || instance);
1103
+ safeCall(instance, "disconnectedCallback");
1224
1104
  }
1225
1105
  };
1226
1106
  var disconnectedCallback = async (elm) => {
1227
1107
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1228
1108
  const hostRef = getHostRef(elm);
1229
1109
  if (hostRef == null ? void 0 : hostRef.$lazyInstance$) {
1230
- disconnectInstance(hostRef.$lazyInstance$, elm);
1110
+ disconnectInstance(hostRef.$lazyInstance$);
1231
1111
  } else if (hostRef == null ? void 0 : hostRef.$onReadyPromise$) {
1232
- hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$, elm));
1112
+ hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$));
1233
1113
  }
1234
1114
  }
1235
- if (rootAppliedStyles.has(elm)) {
1236
- rootAppliedStyles.delete(elm);
1237
- }
1238
- if (elm.shadowRoot && rootAppliedStyles.has(elm.shadowRoot)) {
1239
- rootAppliedStyles.delete(elm.shadowRoot);
1240
- }
1241
1115
  };
1242
1116
 
1243
1117
  // src/runtime/bootstrap-lazy.ts
@@ -1318,17 +1192,6 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1318
1192
  }
1319
1193
  disconnectedCallback() {
1320
1194
  plt.jmp(() => disconnectedCallback(this));
1321
- plt.raf(() => {
1322
- var _a3;
1323
- const hostRef = getHostRef(this);
1324
- const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
1325
- if (i2 > -1) {
1326
- deferredConnectedCallbacks.splice(i2, 1);
1327
- }
1328
- if (((_a3 = hostRef == null ? void 0 : hostRef.$vnode$) == null ? void 0 : _a3.$elm$) instanceof Node && !hostRef.$vnode$.$elm$.isConnected) {
1329
- delete hostRef.$vnode$.$elm$;
1330
- }
1331
- });
1332
1195
  }
1333
1196
  componentOnReady() {
1334
1197
  return getHostRef(this).$onReadyPromise$;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-8df72484.js');
5
+ const index = require('./index-ef2818c5.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-8df72484.js');
5
+ const index = require('./index-ef2818c5.js');
6
6
 
7
7
  const DEFAULT_LANGUAGE = 'en';
8
8
  const SUPPORTED_LANGUAGES = ['ro', 'en', 'fr', 'hr', 'en-us', 'es-mx', 'pt-br', 'es', 'de', 'pt', 'tr'];
@@ -222,35 +222,35 @@ const emptyFunction = () => { };
222
222
  const UserDepositWithdrawal = class {
223
223
  constructor(hostRef) {
224
224
  index.registerInstance(this, hostRef);
225
- /**
226
- * Client custom styling via inline style
227
- */
225
+ this.bindedHandler = this.handleMessage.bind(this);
226
+ this.userAgent = window.navigator.userAgent;
227
+ this.isMobile = isMobile(this.userAgent);
228
+ this.errorCodes = ["21123", "21122"];
229
+ this.mbSource = undefined;
228
230
  this.clientStyling = '';
229
- /**
230
- * Client custom styling via url
231
- */
232
231
  this.clientStylingUrl = '';
233
- /**
234
- * Translations via URL
235
- */
236
232
  this.translationUrl = '';
237
- /*
238
- * Operator selected currency
239
- */
233
+ this.endpoint = undefined;
234
+ this.type = undefined;
235
+ this.channel = undefined;
236
+ this.language = undefined;
237
+ this.productType = undefined;
238
+ this.userId = undefined;
239
+ this.session = undefined;
240
+ this.successUrl = undefined;
241
+ this.cancelUrl = undefined;
242
+ this.failUrl = undefined;
243
+ this.sportsUrl = undefined;
244
+ this.casinoUrl = undefined;
245
+ this.contactUrl = undefined;
246
+ this.depositUrl = undefined;
240
247
  this.currency = '';
241
- /*
242
- * Display bonus dropdown
243
- */
244
248
  this.showBonusSelectionInput = 'true';
245
- /*
246
- * State of deposit - short cashier enabled or not
247
- */
248
249
  this.isShortCashier = false;
250
+ this.homeUrl = undefined;
249
251
  this.beforeRedirect = emptyFunction;
250
- this.bindedHandler = this.handleMessage.bind(this);
251
- this.userAgent = window.navigator.userAgent;
252
- this.isMobile = isMobile(this.userAgent);
253
- this.errorCodes = ["21123", "21122"];
252
+ this.dynamicHeight = undefined;
253
+ this.cashierInfoUrl = undefined;
254
254
  }
255
255
  get typeParameter() {
256
256
  if (this.type === 'deposit') {
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-8df72484.js');
5
+ const index = require('./index-ef2818c5.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
9
- Stencil Client Patch Browser v4.26.0 | MIT Licensed | https://stenciljs.com
9
+ Stencil Client Patch Browser v4.19.2 | MIT Licensed | https://stenciljs.com
10
10
  */
11
11
  var patchBrowser = () => {
12
12
  const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('user-deposit-withdrawal.cjs.js', document.baseURI).href));
@@ -4,8 +4,8 @@
4
4
  ],
5
5
  "compiler": {
6
6
  "name": "@stencil/core",
7
- "version": "4.26.0",
8
- "typescriptVersion": "5.5.4"
7
+ "version": "4.19.2",
8
+ "typescriptVersion": "5.4.5"
9
9
  },
10
10
  "collections": [],
11
11
  "bundles": []