@everymatrix/player-account-controller 1.53.0 → 1.53.10

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 (93) hide show
  1. package/components/{GeneralLogout-DMvKimEo.js → GeneralLogout-Ddt-oH9k.js} +1597 -1648
  2. package/components/{PlayerAccountBettingHistory-YNLbWHxl.js → PlayerAccountBettingHistory-C7xwYi03.js} +34 -35
  3. package/components/{PlayerAccountBiometrics-CXLK5_xT.js → PlayerAccountBiometrics-D7WS5cnI.js} +1 -1
  4. package/components/{PlayerAccountClosure-BkKcpa4J.js → PlayerAccountClosure-yRlo8hXR.js} +1 -1
  5. package/components/{PlayerAccountController-C7j8sMbf.js → PlayerAccountController-BZYAo3oo.js} +1108 -848
  6. package/components/{PlayerAccountGamingLimits-B2-Mgazd.js → PlayerAccountGamingLimits-CTBhVGgC.js} +3 -3
  7. package/components/{PlayerAccountGamingLimitsConfirmationModal-CNTlXu7V.js → PlayerAccountGamingLimitsConfirmationModal-CuQvNzww.js} +38 -38
  8. package/components/{PlayerAccountGamingLimitsGroupEdit-CDY-ylK7.js → PlayerAccountGamingLimitsGroupEdit-Du2YQlDU.js} +16 -16
  9. package/components/{PlayerAccountGamingLimitsHistory2-DF8kvIf6.js → PlayerAccountGamingLimitsHistory2-CXKA0L0d.js} +121 -132
  10. package/components/{PlayerAccountGamingLimitsInfoCard-D3sJXuZa.js → PlayerAccountGamingLimitsInfoCard-CWTybgoQ.js} +4 -4
  11. package/components/{PlayerAccountGamingLimitsPage2Gm16-Dz6knJ_h.js → PlayerAccountGamingLimitsPage2Gm16-CXjNcIFP.js} +737 -768
  12. package/components/{PlayerAccountGamingLimitsPopup-Bt4YlCWi.js → PlayerAccountGamingLimitsPopup-CJu5RRl6.js} +1 -1
  13. package/components/{PlayerAccountGamingLimitsWrapper2-RnvNKSgN.js → PlayerAccountGamingLimitsWrapper2-BdpxEDlV.js} +75 -81
  14. package/components/{PlayerAccountGeneralConfirmationModal-SjPp-PVG.js → PlayerAccountGeneralConfirmationModal-DG0N686t.js} +42 -42
  15. package/components/{PlayerAccountMenu-5esyJ_VN.js → PlayerAccountMenu-CZBa8_5G.js} +66 -67
  16. package/components/{PlayerAccountModal-BnWL5726.js → PlayerAccountModal-BmKjtXKT.js} +1 -1
  17. package/components/{PlayerAccountNotifications-B02Ownhe.js → PlayerAccountNotifications-B4Ht-hHj.js} +1 -1
  18. package/components/{PlayerAccountSelfExclusion-D6Kby-08.js → PlayerAccountSelfExclusion-DxGHXTb8.js} +5365 -4258
  19. package/components/{PlayerAccountTimeout-tPNVqlAT.js → PlayerAccountTimeout-DOSjICsY.js} +4 -4
  20. package/components/{PlayerActiveBonuses-8P2H7i55.js → PlayerActiveBonuses-DMAG7NUP.js} +119 -120
  21. package/components/PlayerBonusCard-Dss1REmn.js +701 -0
  22. package/components/{PlayerBonusHistory-DlgbJE4B.js → PlayerBonusHistory-BxBiQwQf.js} +53 -53
  23. package/components/{PlayerChangePassword-N_UEFJNT.js → PlayerChangePassword-DnCj-wcc.js} +1 -1
  24. package/components/{PlayerDeposit-B75tYEgl.js → PlayerDeposit-CHIQ8EaC.js} +1 -1
  25. package/components/{PlayerGamingHistory-Bq_uxcwt.js → PlayerGamingHistory-BtQ73TId.js} +375 -388
  26. package/components/{PlayerPendingWithdrawals-BSTgce9H.js → PlayerPendingWithdrawals-BbTa7_8U.js} +1 -1
  27. package/components/{PlayerProfileInfo-yn20xol3.js → PlayerProfileInfo-CvAqD3Dk.js} +532 -549
  28. package/components/{PlayerRealityCheck-A_mZq3YZ.js → PlayerRealityCheck-3d-B64ie.js} +175 -191
  29. package/components/{PlayerTransactionHistory-DllIB_qE.js → PlayerTransactionHistory-BYJNabMB.js} +1 -1
  30. package/components/{PlayerWithdrawal-t5mlX5CD.js → PlayerWithdrawal-DDWroufG.js} +1 -1
  31. package/esnext/player-account-controller.js +14 -0
  32. package/package.json +8 -33
  33. package/stencil/active-mixin-59dfae2a-BphP4pp5.js +9700 -0
  34. package/stencil/{app-globals-0f993ce5-aPSxk6sG.js → app-globals-0f993ce5-C0vi_PY4.js} +5 -3
  35. package/stencil/checkbox-group-input_9-CMFoK7_E.js +15610 -0
  36. package/stencil/general-input-DnFPstQP.js +48 -0
  37. package/stencil/index-062e829b-DAFsZs6D.js +686 -0
  38. package/stencil/index-33f005e1-fFxPaeNy.js +632 -0
  39. package/stencil/index-9b3245b3-rzHgwqlB.js +625 -0
  40. package/stencil/index-fc58390d-BSwfXuUs.js +691 -0
  41. package/stencil/locale-BG_TzyDt.js +141 -0
  42. package/stencil/password-input_2-Bb9Q6Fe0.js +2359 -0
  43. package/stencil/player-change-password-gm2-98dcb7bc-gLcZhl3S.js +253 -0
  44. package/stencil/player-change-password-gm2-DR3e2gh5.js +7 -0
  45. package/stencil/{player-kyc-verification-BwGXWzTR.js → player-kyc-verification-BQZdJFEJ.js} +62 -84
  46. package/stencil/toggle-checkbox-input-CCLW6-uK.js +46 -0
  47. package/stencil/tooltipIcon-ee9760a8-BCCb4EU-.js +4 -0
  48. package/stencil/user-deposit-withdrawal-CmF0LoNb.js +646 -0
  49. package/stencil/{user-transaction-history-DcAGbFDl.js → user-transaction-history-BgV-k2Cl.js} +109 -135
  50. package/components/GeneralLogout-BW6b3iuS.cjs +0 -8
  51. package/components/PlayerAccountBettingHistory-BsFzBNDY.cjs +0 -1
  52. package/components/PlayerAccountBiometrics-BrlNlZ5N.cjs +0 -1
  53. package/components/PlayerAccountClosure-DfJc6Ip_.cjs +0 -1
  54. package/components/PlayerAccountController-BPRNlP7_.cjs +0 -1
  55. package/components/PlayerAccountGamingLimits-BPQrptbd.cjs +0 -1
  56. package/components/PlayerAccountGamingLimitsConfirmationModal-IgBYV9F2.cjs +0 -1
  57. package/components/PlayerAccountGamingLimitsGroupEdit-DrkoLne8.cjs +0 -10
  58. package/components/PlayerAccountGamingLimitsHistory2-B_7Y0DgS.cjs +0 -1
  59. package/components/PlayerAccountGamingLimitsInfoCard-BOls7ahz.cjs +0 -1
  60. package/components/PlayerAccountGamingLimitsPage2Gm16-BiFzgvUx.cjs +0 -21
  61. package/components/PlayerAccountGamingLimitsPopup-ChBLdQR7.cjs +0 -1
  62. package/components/PlayerAccountGamingLimitsWrapper2-Dg6CwNyN.cjs +0 -1
  63. package/components/PlayerAccountGeneralConfirmationModal-BpTCzpiW.cjs +0 -1
  64. package/components/PlayerAccountMenu-C704oUrC.cjs +0 -1
  65. package/components/PlayerAccountModal-C7aZZlBw.cjs +0 -1
  66. package/components/PlayerAccountNotifications-DkgHtUGj.cjs +0 -1
  67. package/components/PlayerAccountSelfExclusion-BS89T7sZ.cjs +0 -4171
  68. package/components/PlayerAccountTimeout-DMbUPtRy.cjs +0 -1
  69. package/components/PlayerActiveBonuses-Dv3Y8Vnb.cjs +0 -1
  70. package/components/PlayerBonusCard-CuFt3zXW.js +0 -722
  71. package/components/PlayerBonusCard-DGPJpICk.cjs +0 -1
  72. package/components/PlayerBonusHistory-BzkqMmdU.cjs +0 -1
  73. package/components/PlayerChangePassword-CzR4Xz0H.cjs +0 -3
  74. package/components/PlayerDeposit-3qNMb75V.cjs +0 -1
  75. package/components/PlayerGamingHistory-BkSvSbS4.cjs +0 -1
  76. package/components/PlayerPendingWithdrawals-BG3I8ifu.cjs +0 -1
  77. package/components/PlayerProfileInfo-BX32t6wz.cjs +0 -1
  78. package/components/PlayerRealityCheck-C26ZBWae.cjs +0 -1
  79. package/components/PlayerTransactionHistory-CJqhYnbs.cjs +0 -1
  80. package/components/PlayerWithdrawal-GDc_7hZX.cjs +0 -1
  81. package/es2015/player-account-controller.cjs +0 -1
  82. package/es2015/player-account-controller.js +0 -16
  83. package/stencil/app-globals-0f993ce5-CKh2cbmz.cjs +0 -1
  84. package/stencil/index-0437c9c0-06LlHN6E.cjs +0 -1
  85. package/stencil/index-0437c9c0-1mLvhyVA.js +0 -592
  86. package/stencil/index-657e7a14-Dopxomhu.cjs +0 -1
  87. package/stencil/index-657e7a14-P-JSyx_m.js +0 -588
  88. package/stencil/index-e8249896-BNsgFr_R.cjs +0 -1
  89. package/stencil/index-e8249896-CIP0iOYr.js +0 -658
  90. package/stencil/player-kyc-verification-B9QbNY0o.cjs +0 -180
  91. package/stencil/user-deposit-withdrawal-C5Lmtrkj.cjs +0 -59
  92. package/stencil/user-deposit-withdrawal-D5CgtcqD.js +0 -651
  93. package/stencil/user-transaction-history-AoseShHM.cjs +0 -1
@@ -0,0 +1,686 @@
1
+ const Ee = "player-change-password-gm2", W = (
2
+ /* player-change-password-gm2 */
3
+ { allRenderFn: !0, appendChildSlotFix: !1, asyncLoading: !0, asyncQueue: !1, attachStyles: !0, cloneNodeFix: !1, cmpDidLoad: !0, cmpDidRender: !0, cmpDidUnload: !1, cmpDidUpdate: !1, cmpShouldUpdate: !1, cmpWillLoad: !0, cmpWillRender: !1, cmpWillUpdate: !1, connectedCallback: !0, constructableCSS: !0, cssAnnotations: !0, devTools: !1, disconnectedCallback: !0, element: !1, event: !0, experimentalScopedSlotChanges: !1, experimentalSlotFixes: !1, formAssociated: !1, hasRenderFn: !0, hostListener: !0, hostListenerTarget: !0, hostListenerTargetBody: !0, hostListenerTargetDocument: !0, hostListenerTargetParent: !1, hostListenerTargetWindow: !1, hotModuleReplacement: !1, hydrateClientSide: !1, hydrateServerSide: !1, hydratedAttribute: !1, hydratedClass: !0, hydratedSelectorName: "hydrated", initializeNextTick: !1, invisiblePrehydration: !0, isDebug: !1, isDev: !1, isTesting: !1, lazyLoad: !0, lifecycle: !0, lifecycleDOMEvents: !1, member: !0, method: !1, mode: !1, modernPropertyDecls: !1, observeAttribute: !0, profile: !1, prop: !0, propBoolean: !0, propMutable: !1, propNumber: !1, propString: !0, reflect: !0, scoped: !1, scopedSlotTextContentFix: !1, scriptDataOpts: !1, shadowDelegatesFocus: !1, shadowDom: !0, slot: !1, slotChildNodesFix: !1, slotRelocation: !1, state: !0, style: !0, svg: !0, taskQueue: !0, transformTagName: !1, updatable: !0, vdomAttribute: !0, vdomClass: !0, vdomFunctional: !1, vdomKey: !0, vdomListener: !0, vdomPropOrAttr: !0, vdomRef: !0, vdomRender: !0, vdomStyle: !1, vdomText: !0, vdomXlink: !1, watchCallback: !0 }
4
+ );
5
+ var ke = Object.defineProperty, Le = (e, t) => {
6
+ for (var n in t)
7
+ ke(e, n, { get: t[n], enumerable: !0 });
8
+ }, xe = "http://www.w3.org/2000/svg", we = "http://www.w3.org/1999/xhtml", G = /* @__PURE__ */ new WeakMap(), x = (e) => G.get(e), $t = (e, t) => {
9
+ G.set(t.$lazyInstance$ = e, t);
10
+ }, Te = (e, t) => {
11
+ const n = {
12
+ $flags$: 0,
13
+ $hostElement$: e,
14
+ $cmpMeta$: t,
15
+ $instanceValues$: /* @__PURE__ */ new Map()
16
+ };
17
+ return n.$onReadyPromise$ = new Promise((r) => n.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], G.set(e, n);
18
+ }, M = (e, t) => t in e, L = (e, t) => (0, console.error)(e, t), D = /* @__PURE__ */ new Map(), be = (e, t, n) => {
19
+ const s = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
20
+ if (!r)
21
+ return;
22
+ const i = D.get(r);
23
+ if (i)
24
+ return i[s];
25
+ {
26
+ const a = (l) => (D.set(r, l), l[s]);
27
+ switch (r) {
28
+ case "password-input_2":
29
+ return import(
30
+ /* webpackMode: "lazy" */
31
+ "./password-input_2-Bb9Q6Fe0.js"
32
+ ).then(a, L);
33
+ case "checkbox-group-input_9":
34
+ return import(
35
+ /* webpackMode: "lazy" */
36
+ "./checkbox-group-input_9-CMFoK7_E.js"
37
+ ).then(a, L);
38
+ case "general-input":
39
+ return import(
40
+ /* webpackMode: "lazy" */
41
+ "./general-input-DnFPstQP.js"
42
+ ).then(a, L);
43
+ case "toggle-checkbox-input":
44
+ return import(
45
+ /* webpackMode: "lazy" */
46
+ "./toggle-checkbox-input-CCLW6-uK.js"
47
+ ).then(a, L);
48
+ }
49
+ }
50
+ return import(
51
+ /* @vite-ignore */
52
+ /* webpackInclude: /\.entry\.js$/ */
53
+ /* webpackExclude: /\.system\.entry\.js$/ */
54
+ /* webpackMode: "lazy" */
55
+ `./${r}.entry.js`
56
+ ).then(
57
+ (a) => (D.set(r, a), a[s]),
58
+ (a) => {
59
+ L(a, t.$hostElement$);
60
+ }
61
+ );
62
+ }, j = /* @__PURE__ */ new Map(), Pe = "sty-id", me = "{visibility:hidden}.hydrated{visibility:inherit}", se = "slot-fb{display:contents}slot-fb[hidden]{display:none}", z = typeof window < "u" ? window : {}, S = z.document || { head: {} }, h = {
63
+ $flags$: 0,
64
+ $resourcesUrl$: "",
65
+ jmp: (e) => e(),
66
+ raf: (e) => requestAnimationFrame(e),
67
+ ael: (e, t, n, s) => e.addEventListener(t, n, s),
68
+ rel: (e, t, n, s) => e.removeEventListener(t, n, s),
69
+ ce: (e, t) => new CustomEvent(e, t)
70
+ }, _e = /* @__PURE__ */ (() => {
71
+ let e = !1;
72
+ try {
73
+ S.addEventListener(
74
+ "e",
75
+ null,
76
+ Object.defineProperty({}, "passive", {
77
+ get() {
78
+ e = !0;
79
+ }
80
+ })
81
+ );
82
+ } catch {
83
+ }
84
+ return e;
85
+ })(), Ae = (e) => Promise.resolve(e), ne = /* @__PURE__ */ (() => {
86
+ try {
87
+ return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
88
+ } catch {
89
+ }
90
+ return !1;
91
+ })(), U = !1, J = [], re = [], Oe = (e, t) => (n) => {
92
+ e.push(n), U || (U = !0, h.$flags$ & 4 ? X(q) : h.raf(q));
93
+ }, Z = (e) => {
94
+ for (let t = 0; t < e.length; t++)
95
+ try {
96
+ e[t](performance.now());
97
+ } catch (n) {
98
+ L(n);
99
+ }
100
+ e.length = 0;
101
+ }, q = () => {
102
+ Z(J), Z(re), (U = J.length > 0) && h.raf(q);
103
+ }, X = (e) => Ae().then(e), je = /* @__PURE__ */ Oe(re), Y = (e) => (e = typeof e, e === "object" || e === "function");
104
+ function le(e) {
105
+ var t, n, s;
106
+ return (s = (n = (t = e.head) == null ? void 0 : t.querySelector('meta[name="csp-nonce"]')) == null ? void 0 : n.getAttribute("content")) != null ? s : void 0;
107
+ }
108
+ var Ie = {};
109
+ Le(Ie, {
110
+ err: () => ae,
111
+ map: () => ze,
112
+ ok: () => C,
113
+ unwrap: () => De,
114
+ unwrapErr: () => He
115
+ });
116
+ var C = (e) => ({
117
+ isOk: !0,
118
+ isErr: !1,
119
+ value: e
120
+ }), ae = (e) => ({
121
+ isOk: !1,
122
+ isErr: !0,
123
+ value: e
124
+ });
125
+ function ze(e, t) {
126
+ if (e.isOk) {
127
+ const n = t(e.value);
128
+ return n instanceof Promise ? n.then((s) => C(s)) : C(n);
129
+ }
130
+ if (e.isErr) {
131
+ const n = e.value;
132
+ return ae(n);
133
+ }
134
+ throw "should never get here";
135
+ }
136
+ var De = (e) => {
137
+ if (e.isOk)
138
+ return e.value;
139
+ throw e.value;
140
+ }, He = (e) => {
141
+ if (e.isErr)
142
+ return e.value;
143
+ throw e.value;
144
+ }, w = (e, t = "") => () => {
145
+ }, Ue = (e, t) => () => {
146
+ }, qe = (e, t, ...n) => {
147
+ let s = null, r = null, i = !1, a = !1;
148
+ const l = [], c = (o) => {
149
+ for (let u = 0; u < o.length; u++)
150
+ s = o[u], Array.isArray(s) ? c(s) : s != null && typeof s != "boolean" && ((i = typeof e != "function" && !Y(s)) && (s = String(s)), i && a ? l[l.length - 1].$text$ += s : l.push(i ? B(null, s) : s), a = i);
151
+ };
152
+ if (c(n), t) {
153
+ t.key && (r = t.key);
154
+ {
155
+ const o = t.className || t.class;
156
+ o && (t.class = typeof o != "object" ? o : Object.keys(o).filter((u) => o[u]).join(" "));
157
+ }
158
+ }
159
+ const $ = B(e, null);
160
+ return $.$attrs$ = t, l.length > 0 && ($.$children$ = l), $.$key$ = r, $;
161
+ }, B = (e, t) => {
162
+ const n = {
163
+ $flags$: 0,
164
+ $tag$: e,
165
+ $text$: t,
166
+ $elm$: null,
167
+ $children$: null
168
+ };
169
+ return n.$attrs$ = null, n.$key$ = null, n;
170
+ }, Ce = {}, Be = (e) => e && e.$tag$ === Ce, R = (e, t) => e != null && !Y(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 1 ? String(e) : e : e, Re = (e) => x(e).$hostElement$, ot = (e, t, n) => {
171
+ const s = Re(e);
172
+ return {
173
+ emit: (r) => ie(s, t, {
174
+ bubbles: !0,
175
+ composed: !0,
176
+ cancelable: !0,
177
+ detail: r
178
+ })
179
+ };
180
+ }, ie = (e, t, n) => {
181
+ const s = h.ce(t, n);
182
+ return e.dispatchEvent(s), s;
183
+ }, P = /* @__PURE__ */ new WeakMap(), Fe = (e, t, n) => {
184
+ let s = j.get(e);
185
+ ne && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, j.set(e, s);
186
+ }, We = (e, t, n) => {
187
+ var s;
188
+ const r = $e(t), i = j.get(r);
189
+ if (e = e.nodeType === 11 ? e : S, i)
190
+ if (typeof i == "string") {
191
+ e = e.head || e;
192
+ let a = P.get(e), l;
193
+ if (a || P.set(e, a = /* @__PURE__ */ new Set()), !a.has(r)) {
194
+ {
195
+ l = document.querySelector(`[${Pe}="${r}"]`) || S.createElement("style"), l.innerHTML = i;
196
+ const c = (s = h.$nonce$) != null ? s : le(S);
197
+ if (c != null && l.setAttribute("nonce", c), !(t.$flags$ & 1))
198
+ if (e.nodeName === "HEAD") {
199
+ const $ = e.querySelectorAll("link[rel=preconnect]"), o = $.length > 0 ? $[$.length - 1].nextSibling : e.querySelector("style");
200
+ e.insertBefore(
201
+ l,
202
+ o?.parentNode === e ? o : null
203
+ );
204
+ } else if ("host" in e)
205
+ if (ne) {
206
+ const $ = new CSSStyleSheet();
207
+ $.replaceSync(i), e.adoptedStyleSheets = [$, ...e.adoptedStyleSheets];
208
+ } else {
209
+ const $ = e.querySelector("style");
210
+ $ ? $.innerHTML = i + $.innerHTML : e.prepend(l);
211
+ }
212
+ else
213
+ e.append(l);
214
+ t.$flags$ & 1 && e.nodeName !== "HEAD" && e.insertBefore(l, null);
215
+ }
216
+ t.$flags$ & 4 && (l.innerHTML += se), a && a.add(r);
217
+ }
218
+ } else e.adoptedStyleSheets.includes(i) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, i]);
219
+ return r;
220
+ }, Ge = (e) => {
221
+ const t = e.$cmpMeta$, n = e.$hostElement$, s = t.$flags$, r = w("attachStyles", t.$tagName$), i = We(
222
+ n.shadowRoot ? n.shadowRoot : n.getRootNode(),
223
+ t
224
+ );
225
+ s & 10 && s & 2 && (n["s-sc"] = i, n.classList.add(i + "-h")), r();
226
+ }, $e = (e, t) => "sc-" + e.$tagName$, V = (e, t, n, s, r, i, a) => {
227
+ if (n !== s) {
228
+ let l = M(e, t), c = t.toLowerCase();
229
+ if (t === "class") {
230
+ const $ = e.classList, o = N(n);
231
+ let u = N(s);
232
+ $.remove(...o.filter((f) => f && !u.includes(f))), $.add(...u.filter((f) => f && !o.includes(f)));
233
+ } else if (t !== "key") if (t === "ref")
234
+ s && s(e);
235
+ else if (!l && t[0] === "o" && t[1] === "n") {
236
+ if (t[2] === "-" ? t = t.slice(3) : M(z, c) ? t = c.slice(2) : t = c[2] + t.slice(3), n || s) {
237
+ const $ = t.endsWith(oe);
238
+ t = t.replace(Ye, ""), n && h.rel(e, t, n, $), s && h.ael(e, t, s, $);
239
+ }
240
+ } else {
241
+ const $ = Y(s);
242
+ if ((l || $ && s !== null) && !r)
243
+ try {
244
+ if (e.tagName.includes("-"))
245
+ e[t] !== s && (e[t] = s);
246
+ else {
247
+ const o = s ?? "";
248
+ t === "list" ? l = !1 : (n == null || e[t] != o) && (typeof e.__lookupSetter__(t) == "function" ? e[t] = o : e.setAttribute(t, o));
249
+ }
250
+ } catch {
251
+ }
252
+ s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || i & 4 || r) && !$ && (s = s === !0 ? "" : s, e.setAttribute(t, s));
253
+ }
254
+ }
255
+ }, Xe = /\s/, N = (e) => (typeof e == "object" && e && "baseVal" in e && (e = e.baseVal), !e || typeof e != "string" ? [] : e.split(Xe)), oe = "Capture", Ye = new RegExp(oe + "$"), ce = (e, t, n, s) => {
256
+ const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, i = e && e.$attrs$ || {}, a = t.$attrs$ || {};
257
+ for (const l of ee(Object.keys(i)))
258
+ l in a || V(
259
+ r,
260
+ l,
261
+ i[l],
262
+ void 0,
263
+ n,
264
+ t.$flags$
265
+ );
266
+ for (const l of ee(Object.keys(a)))
267
+ V(
268
+ r,
269
+ l,
270
+ i[l],
271
+ a[l],
272
+ n,
273
+ t.$flags$
274
+ );
275
+ };
276
+ function ee(e) {
277
+ return e.includes("ref") ? (
278
+ // we need to sort these to ensure that `'ref'` is the last attr
279
+ [...e.filter((t) => t !== "ref"), "ref"]
280
+ ) : (
281
+ // no need to sort, return the original array
282
+ e
283
+ );
284
+ }
285
+ var Q, v = !1, I = (e, t, n) => {
286
+ const s = t.$children$[n];
287
+ let r = 0, i, a;
288
+ if (s.$text$ !== null)
289
+ i = s.$elm$ = S.createTextNode(s.$text$);
290
+ else {
291
+ if (v || (v = s.$tag$ === "svg"), i = s.$elm$ = S.createElementNS(
292
+ v ? xe : we,
293
+ s.$tag$
294
+ ), v && s.$tag$ === "foreignObject" && (v = !1), ce(null, s, v), s.$children$)
295
+ for (r = 0; r < s.$children$.length; ++r)
296
+ a = I(e, s, r), a && i.appendChild(a);
297
+ s.$tag$ === "svg" ? v = !1 : i.tagName === "foreignObject" && (v = !0);
298
+ }
299
+ return i["s-hn"] = Q, i;
300
+ }, fe = (e, t, n, s, r, i) => {
301
+ let a = e, l;
302
+ for (a.shadowRoot && a.tagName === Q && (a = a.shadowRoot); r <= i; ++r)
303
+ s[r] && (l = I(null, n, r), l && (s[r].$elm$ = l, O(a, l, t)));
304
+ }, ue = (e, t, n) => {
305
+ for (let s = t; s <= n; ++s) {
306
+ const r = e[s];
307
+ if (r) {
308
+ const i = r.$elm$;
309
+ de(r), i && i.remove();
310
+ }
311
+ }
312
+ }, Qe = (e, t, n, s, r = !1) => {
313
+ let i = 0, a = 0, l = 0, c = 0, $ = t.length - 1, o = t[0], u = t[$], f = s.length - 1, d = s[0], p = s[f], g, k;
314
+ for (; i <= $ && a <= f; )
315
+ if (o == null)
316
+ o = t[++i];
317
+ else if (u == null)
318
+ u = t[--$];
319
+ else if (d == null)
320
+ d = s[++a];
321
+ else if (p == null)
322
+ p = s[--f];
323
+ else if (A(o, d, r))
324
+ b(o, d, r), o = t[++i], d = s[++a];
325
+ else if (A(u, p, r))
326
+ b(u, p, r), u = t[--$], p = s[--f];
327
+ else if (A(o, p, r))
328
+ b(o, p, r), O(e, o.$elm$, u.$elm$.nextSibling), o = t[++i], p = s[--f];
329
+ else if (A(u, d, r))
330
+ b(u, d, r), O(e, u.$elm$, o.$elm$), u = t[--$], d = s[++a];
331
+ else {
332
+ for (l = -1, c = i; c <= $; ++c)
333
+ if (t[c] && t[c].$key$ !== null && t[c].$key$ === d.$key$) {
334
+ l = c;
335
+ break;
336
+ }
337
+ l >= 0 ? (k = t[l], k.$tag$ !== d.$tag$ ? g = I(t && t[a], n, l) : (b(k, d, r), t[l] = void 0, g = k.$elm$), d = s[++a]) : (g = I(t && t[a], n, a), d = s[++a]), g && O(o.$elm$.parentNode, g, o.$elm$);
338
+ }
339
+ i > $ ? fe(
340
+ e,
341
+ s[f + 1] == null ? null : s[f + 1].$elm$,
342
+ n,
343
+ s,
344
+ a,
345
+ f
346
+ ) : a > f && ue(t, i, $);
347
+ }, A = (e, t, n = !1) => e.$tag$ === t.$tag$ ? n ? (n && !e.$key$ && t.$key$ && (e.$key$ = t.$key$), !0) : e.$key$ === t.$key$ : !1, b = (e, t, n = !1) => {
348
+ const s = t.$elm$ = e.$elm$, r = e.$children$, i = t.$children$, a = t.$tag$, l = t.$text$;
349
+ l === null ? (v = a === "svg" ? !0 : a === "foreignObject" ? !1 : v, ce(e, t, v), r !== null && i !== null ? Qe(s, r, t, i, n) : i !== null ? (e.$text$ !== null && (s.textContent = ""), fe(s, null, t, i, 0, i.length - 1)) : (
350
+ // don't do this on initial render as it can cause non-hydrated content to be removed
351
+ !n && W.updatable && r !== null && ue(r, 0, r.length - 1)
352
+ ), v && a === "svg" && (v = !1)) : e.$text$ !== l && (s.data = l);
353
+ }, de = (e) => {
354
+ e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(de);
355
+ }, O = (e, t, n) => e?.insertBefore(t, n), Ke = (e, t, n = !1) => {
356
+ const s = e.$hostElement$, r = e.$cmpMeta$, i = e.$vnode$ || B(null, null), a = Be(t) ? t : qe(null, null, t);
357
+ if (Q = s.tagName, r.$attrsToReflect$ && (a.$attrs$ = a.$attrs$ || {}, r.$attrsToReflect$.map(
358
+ ([l, c]) => a.$attrs$[c] = s[l]
359
+ )), n && a.$attrs$)
360
+ for (const l of Object.keys(a.$attrs$))
361
+ s.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (a.$attrs$[l] = s[l]);
362
+ a.$tag$ = null, a.$flags$ |= 4, e.$vnode$ = a, a.$elm$ = i.$elm$ = s.shadowRoot || s, r.$flags$ & 1, b(i, a, n);
363
+ }, pe = (e, t) => {
364
+ if (t && !e.$onRenderResolve$ && t["s-p"]) {
365
+ const n = t["s-p"].push(
366
+ new Promise(
367
+ (s) => e.$onRenderResolve$ = () => {
368
+ t["s-p"].splice(n - 1, 1), s();
369
+ }
370
+ )
371
+ );
372
+ }
373
+ }, K = (e, t) => {
374
+ if (e.$flags$ |= 16, e.$flags$ & 4) {
375
+ e.$flags$ |= 512;
376
+ return;
377
+ }
378
+ return pe(e, e.$ancestorComponent$), je(() => Me(e, t));
379
+ }, Me = (e, t) => {
380
+ const n = e.$hostElement$, s = w("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
381
+ if (!r)
382
+ throw new Error(
383
+ `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`
384
+ );
385
+ let i;
386
+ return t && (e.$flags$ |= 256, e.$queuedListeners$ && (e.$queuedListeners$.map(([a, l]) => m(r, a, l, n)), e.$queuedListeners$ = void 0), i = m(r, "componentWillLoad", void 0, n)), s(), Je(i, () => Ve(e, r, t));
387
+ }, Je = (e, t) => Ze(e) ? e.then(t).catch((n) => {
388
+ console.error(n), t();
389
+ }) : t(), Ze = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", Ve = async (e, t, n) => {
390
+ var s;
391
+ const r = e.$hostElement$, i = w("update", e.$cmpMeta$.$tagName$), a = r["s-rc"];
392
+ n && Ge(e);
393
+ const l = w("render", e.$cmpMeta$.$tagName$);
394
+ Ne(e, t, r, n), a && (a.map((c) => c()), r["s-rc"] = void 0), l(), i();
395
+ {
396
+ const c = (s = r["s-p"]) != null ? s : [], $ = () => et(e);
397
+ c.length === 0 ? $() : (Promise.all(c).then($), e.$flags$ |= 4, c.length = 0);
398
+ }
399
+ }, Ne = (e, t, n, s) => {
400
+ try {
401
+ t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Ke(e, t, s);
402
+ } catch (r) {
403
+ L(r, e.$hostElement$);
404
+ }
405
+ return null;
406
+ }, et = (e) => {
407
+ const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, s = w("postUpdate", t), r = e.$lazyInstance$, i = e.$ancestorComponent$;
408
+ m(r, "componentDidRender", void 0, n), e.$flags$ & 64 ? s() : (e.$flags$ |= 64, ge(n), m(r, "componentDidLoad", void 0, n), s(), e.$onReadyResolve$(n), i || he()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && X(() => K(e, !1)), e.$flags$ &= -517;
409
+ }, he = (e) => {
410
+ ge(S.documentElement), X(() => ie(z, "appload", { detail: { namespace: Ee } }));
411
+ }, m = (e, t, n, s) => {
412
+ if (e && e[t])
413
+ try {
414
+ return e[t](n);
415
+ } catch (r) {
416
+ L(r, s);
417
+ }
418
+ }, ge = (e) => {
419
+ var t;
420
+ return e.classList.add((t = W.hydratedSelectorName) != null ? t : "hydrated");
421
+ }, tt = (e, t) => x(e).$instanceValues$.get(t), H = (e, t, n, s) => {
422
+ const r = x(e);
423
+ if (!r)
424
+ throw new Error(
425
+ `Couldn't find host element for "${s.$tagName$}" 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).`
426
+ );
427
+ const i = r.$hostElement$, a = r.$instanceValues$.get(t), l = r.$flags$, c = r.$lazyInstance$;
428
+ n = R(n, s.$members$[t][0]);
429
+ const $ = Number.isNaN(a) && Number.isNaN(n), o = n !== a && !$;
430
+ if ((!(l & 8) || a === void 0) && o && (r.$instanceValues$.set(t, n), c)) {
431
+ if (s.$watchers$ && l & 128) {
432
+ const u = s.$watchers$[t];
433
+ u && u.map((f) => {
434
+ try {
435
+ c[f](n, a, t);
436
+ } catch (d) {
437
+ L(d, i);
438
+ }
439
+ });
440
+ }
441
+ (l & 18) === 2 && K(r, !1);
442
+ }
443
+ }, ye = (e, t, n) => {
444
+ var s, r;
445
+ const i = e.prototype;
446
+ if (t.$members$ || t.$watchers$ || e.watchers) {
447
+ e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
448
+ const a = Object.entries((s = t.$members$) != null ? s : {});
449
+ if (a.map(([l, [c]]) => {
450
+ if (c & 31 || n & 2 && c & 32) {
451
+ const { get: $, set: o } = Object.getOwnPropertyDescriptor(i, l) || {};
452
+ $ && (t.$members$[l][0] |= 2048), o && (t.$members$[l][0] |= 4096), (n & 1 || !$) && Object.defineProperty(i, l, {
453
+ get() {
454
+ {
455
+ if (!(t.$members$[l][0] & 2048))
456
+ return tt(this, l);
457
+ const u = x(this), f = u ? u.$lazyInstance$ : i;
458
+ return f ? f[l] : void 0;
459
+ }
460
+ },
461
+ configurable: !0,
462
+ enumerable: !0
463
+ }), Object.defineProperty(i, l, {
464
+ set(u) {
465
+ const f = x(this);
466
+ if (o) {
467
+ const d = c & 32 ? this[l] : f.$hostElement$[l];
468
+ typeof d > "u" && f.$instanceValues$.get(l) ? u = f.$instanceValues$.get(l) : !f.$instanceValues$.get(l) && d && f.$instanceValues$.set(l, d), o.apply(this, [R(u, c)]), u = c & 32 ? this[l] : f.$hostElement$[l], H(this, l, u, t);
469
+ return;
470
+ }
471
+ {
472
+ if (!(n & 1) || !(t.$members$[l][0] & 4096)) {
473
+ H(this, l, u, t), n & 1 && !f.$lazyInstance$ && f.$onReadyPromise$.then(() => {
474
+ t.$members$[l][0] & 4096 && f.$lazyInstance$[l] !== f.$instanceValues$.get(l) && (f.$lazyInstance$[l] = u);
475
+ });
476
+ return;
477
+ }
478
+ const d = () => {
479
+ const p = f.$lazyInstance$[l];
480
+ !f.$instanceValues$.get(l) && p && f.$instanceValues$.set(l, p), f.$lazyInstance$[l] = R(u, c), H(this, l, f.$lazyInstance$[l], t);
481
+ };
482
+ f.$lazyInstance$ ? d() : f.$onReadyPromise$.then(() => d());
483
+ }
484
+ }
485
+ });
486
+ }
487
+ }), n & 1) {
488
+ const l = /* @__PURE__ */ new Map();
489
+ i.attributeChangedCallback = function(c, $, o) {
490
+ h.jmp(() => {
491
+ var u;
492
+ const f = l.get(c);
493
+ if (this.hasOwnProperty(f) && W.lazyLoad)
494
+ o = this[f], delete this[f];
495
+ else {
496
+ if (i.hasOwnProperty(f) && typeof this[f] == "number" && // cast type to number to avoid TS compiler issues
497
+ this[f] == o)
498
+ return;
499
+ if (f == null) {
500
+ const p = x(this), g = p?.$flags$;
501
+ if (g && !(g & 8) && g & 128 && o !== $) {
502
+ const k = p.$lazyInstance$, y = (u = t.$watchers$) == null ? void 0 : u[c];
503
+ y?.forEach((T) => {
504
+ k[T] != null && k[T].call(k, o, $, c);
505
+ });
506
+ }
507
+ return;
508
+ }
509
+ }
510
+ const d = Object.getOwnPropertyDescriptor(i, f);
511
+ o = o === null && typeof this[f] == "boolean" ? !1 : o, o !== this[f] && (!d.get || d.set) && (this[f] = o);
512
+ });
513
+ }, e.observedAttributes = Array.from(
514
+ /* @__PURE__ */ new Set([
515
+ ...Object.keys((r = t.$watchers$) != null ? r : {}),
516
+ ...a.filter(
517
+ ([c, $]) => $[0] & 15
518
+ /* HasAttribute */
519
+ ).map(([c, $]) => {
520
+ var o;
521
+ const u = $[1] || c;
522
+ return l.set(u, c), $[0] & 512 && ((o = t.$attrsToReflect$) == null || o.push([c, u])), u;
523
+ })
524
+ ])
525
+ );
526
+ }
527
+ }
528
+ return e;
529
+ }, st = async (e, t, n, s) => {
530
+ let r;
531
+ if (!(t.$flags$ & 32)) {
532
+ t.$flags$ |= 32;
533
+ {
534
+ const l = be(n, t);
535
+ if (l && "then" in l) {
536
+ const $ = Ue();
537
+ r = await l, $();
538
+ } else
539
+ r = l;
540
+ if (!r)
541
+ throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
542
+ r.isProxied || (n.$watchers$ = r.watchers, ye(
543
+ r,
544
+ n,
545
+ 2
546
+ /* proxyState */
547
+ ), r.isProxied = !0);
548
+ const c = w("createInstance", n.$tagName$);
549
+ t.$flags$ |= 8;
550
+ try {
551
+ new r(t);
552
+ } catch ($) {
553
+ L($, e);
554
+ }
555
+ t.$flags$ &= -9, t.$flags$ |= 128, c(), F(t.$lazyInstance$, e);
556
+ }
557
+ if (r && r.style) {
558
+ let l;
559
+ typeof r.style == "string" && (l = r.style);
560
+ const c = $e(n);
561
+ if (!j.has(c)) {
562
+ const $ = w("registerStyles", n.$tagName$);
563
+ Fe(c, l, !!(n.$flags$ & 1)), $();
564
+ }
565
+ }
566
+ }
567
+ const i = t.$ancestorComponent$, a = () => K(t, !0);
568
+ i && i["s-rc"] ? i["s-rc"].push(a) : a();
569
+ }, F = (e, t) => {
570
+ m(e, "connectedCallback", void 0, t);
571
+ }, nt = (e) => {
572
+ if (!(h.$flags$ & 1)) {
573
+ const t = x(e), n = t.$cmpMeta$, s = w("connectedCallback", n.$tagName$);
574
+ if (t.$flags$ & 1)
575
+ ve(e, t, n.$listeners$), t?.$lazyInstance$ ? F(t.$lazyInstance$, e) : t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => F(t.$lazyInstance$, e));
576
+ else {
577
+ t.$flags$ |= 1;
578
+ {
579
+ let r = e;
580
+ for (; r = r.parentNode || r.host; )
581
+ if (r["s-p"]) {
582
+ pe(t, t.$ancestorComponent$ = r);
583
+ break;
584
+ }
585
+ }
586
+ n.$members$ && Object.entries(n.$members$).map(([r, [i]]) => {
587
+ if (i & 31 && e.hasOwnProperty(r)) {
588
+ const a = e[r];
589
+ delete e[r], e[r] = a;
590
+ }
591
+ }), st(e, t, n);
592
+ }
593
+ s();
594
+ }
595
+ }, te = (e, t) => {
596
+ m(e, "disconnectedCallback", void 0, t || e);
597
+ }, rt = async (e) => {
598
+ if (!(h.$flags$ & 1)) {
599
+ const t = x(e);
600
+ t.$rmListeners$ && (t.$rmListeners$.map((n) => n()), t.$rmListeners$ = void 0), t?.$lazyInstance$ ? te(t.$lazyInstance$, e) : t?.$onReadyPromise$ && t.$onReadyPromise$.then(() => te(t.$lazyInstance$, e));
601
+ }
602
+ P.has(e) && P.delete(e), e.shadowRoot && P.has(e.shadowRoot) && P.delete(e.shadowRoot);
603
+ }, ct = (e, t = {}) => {
604
+ var n;
605
+ const s = w(), r = [], i = t.exclude || [], a = z.customElements, l = S.head, c = /* @__PURE__ */ l.querySelector("meta[charset]"), $ = /* @__PURE__ */ S.createElement("style"), o = [];
606
+ let u, f = !0;
607
+ Object.assign(h, t), h.$resourcesUrl$ = new URL(t.resourcesUrl || "./", S.baseURI).href;
608
+ let d = !1;
609
+ if (e.map((p) => {
610
+ p[1].map((g) => {
611
+ var k;
612
+ const y = {
613
+ $flags$: g[0],
614
+ $tagName$: g[1],
615
+ $members$: g[2],
616
+ $listeners$: g[3]
617
+ };
618
+ y.$flags$ & 4 && (d = !0), y.$members$ = g[2], y.$listeners$ = g[3], y.$attrsToReflect$ = [], y.$watchers$ = (k = g[4]) != null ? k : {};
619
+ const T = y.$tagName$, Se = class extends HTMLElement {
620
+ // StencilLazyHost
621
+ constructor(E) {
622
+ if (super(E), this.hasRegisteredEventListeners = !1, E = this, Te(E, y), y.$flags$ & 1) {
623
+ if (!E.shadowRoot)
624
+ E.attachShadow({ mode: "open" });
625
+ else if (E.shadowRoot.mode !== "open")
626
+ throw new Error(
627
+ `Unable to re-use existing shadow root for ${y.$tagName$}! Mode is set to ${E.shadowRoot.mode} but Stencil only supports open shadow roots.`
628
+ );
629
+ }
630
+ }
631
+ connectedCallback() {
632
+ const E = x(this);
633
+ this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0, ve(this, E, y.$listeners$)), u && (clearTimeout(u), u = null), f ? o.push(this) : h.jmp(() => nt(this));
634
+ }
635
+ disconnectedCallback() {
636
+ h.jmp(() => rt(this)), h.raf(() => {
637
+ var E;
638
+ const _ = x(this);
639
+ ((E = _?.$vnode$) == null ? void 0 : E.$elm$) instanceof Node && !_.$vnode$.$elm$.isConnected && delete _.$vnode$.$elm$;
640
+ });
641
+ }
642
+ componentOnReady() {
643
+ return x(this).$onReadyPromise$;
644
+ }
645
+ };
646
+ y.$lazyBundleId$ = p[0], !i.includes(T) && !a.get(T) && (r.push(T), a.define(
647
+ T,
648
+ ye(
649
+ Se,
650
+ y,
651
+ 1
652
+ /* isElementConstructor */
653
+ )
654
+ ));
655
+ });
656
+ }), r.length > 0 && (d && ($.textContent += se), $.textContent += r.sort() + me, $.innerHTML.length)) {
657
+ $.setAttribute("data-styles", "");
658
+ const p = (n = h.$nonce$) != null ? n : le(S);
659
+ p != null && $.setAttribute("nonce", p), l.insertBefore($, c ? c.nextSibling : l.firstChild);
660
+ }
661
+ f = !1, o.length ? o.map((p) => p.connectedCallback()) : h.jmp(() => u = setTimeout(he, 30)), s();
662
+ }, ve = (e, t, n, s) => {
663
+ n && n.map(([r, i, a]) => {
664
+ const l = at(e, r), c = lt(t, a), $ = it(r);
665
+ h.ael(l, i, c, $), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => h.rel(l, i, c, $));
666
+ });
667
+ }, lt = (e, t) => (n) => {
668
+ var s;
669
+ try {
670
+ e.$flags$ & 256 ? (s = e.$lazyInstance$) == null || s[t](n) : (e.$queuedListeners$ = e.$queuedListeners$ || []).push([t, n]);
671
+ } catch (r) {
672
+ L(r, e.$hostElement$);
673
+ }
674
+ }, at = (e, t) => t & 4 ? S : t & 16 ? S.body : e, it = (e) => _e ? {
675
+ passive: (e & 1) !== 0,
676
+ capture: (e & 2) !== 0
677
+ } : (e & 2) !== 0;
678
+ export {
679
+ Ce as H,
680
+ ct as b,
681
+ ot as c,
682
+ Re as g,
683
+ qe as h,
684
+ Ae as p,
685
+ $t as r
686
+ };