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