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