@everymatrix/player-account-controller 1.54.11 → 1.55.0

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 (161) hide show
  1. package/components/GeneralLogout-BW6b3iuS.cjs +8 -0
  2. package/components/{GeneralLogout-BO_iHKNr.js → GeneralLogout-DMvKimEo.js} +735 -713
  3. package/components/{GeneralLogout-CwSCMNgW.js → GeneralLogout-GS7gE3LI.js} +610 -588
  4. package/components/{PlayerAccountBettingHistory-Cb8OMNy9.cjs → PlayerAccountBettingHistory-BsFzBNDY.cjs} +1 -1
  5. package/components/{PlayerAccountBettingHistory-BoeZFFFu.js → PlayerAccountBettingHistory-DUgPRDra.js} +24 -24
  6. package/components/{PlayerAccountBettingHistory-C6G8D9gE.js → PlayerAccountBettingHistory-YNLbWHxl.js} +24 -24
  7. package/components/{PlayerAccountBiometrics-DbzqR4YB.cjs → PlayerAccountBiometrics-BrlNlZ5N.cjs} +1 -1
  8. package/components/{PlayerAccountBiometrics-TQaVyCUp.js → PlayerAccountBiometrics-CARn4eVu.js} +26 -26
  9. package/components/{PlayerAccountBiometrics-C6n6AU67.js → PlayerAccountBiometrics-CXLK5_xT.js} +26 -26
  10. package/components/{PlayerAccountClosure-mb6TcNFj.js → PlayerAccountClosure-BQsYcTs7.js} +13 -13
  11. package/components/{PlayerAccountClosure-RO3lnj8F.js → PlayerAccountClosure-BkKcpa4J.js} +13 -13
  12. package/components/{PlayerAccountClosure-CoKkAlIq.cjs → PlayerAccountClosure-DfJc6Ip_.cjs} +1 -1
  13. package/components/{PlayerAccountController-DYgabEdS.js → PlayerAccountController-5iMZlx1a.js} +128 -128
  14. package/components/{PlayerAccountController-BuXBBarM.cjs → PlayerAccountController-7FPLehfk.cjs} +1 -1
  15. package/components/{PlayerAccountController-B1T1aFdb.js → PlayerAccountController-BhRqOpNe.js} +126 -126
  16. package/components/{PlayerAccountGamingLimits-Bc6vqzq1.js → PlayerAccountGamingLimits-B2-Mgazd.js} +19 -19
  17. package/components/{PlayerAccountGamingLimits-DbX9_Kpb.cjs → PlayerAccountGamingLimits-BPQrptbd.cjs} +1 -1
  18. package/components/{PlayerAccountGamingLimits-DiyC185P.js → PlayerAccountGamingLimits-DwpArRnO.js} +19 -19
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-BnOXTUlS.js → PlayerAccountGamingLimitsConfirmationModal-CNTlXu7V.js} +30 -30
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-x0MkZXMQ.js → PlayerAccountGamingLimitsConfirmationModal-DefxnTKN.js} +30 -30
  21. package/components/{PlayerAccountGamingLimitsConfirmationModal-CnGLRHzu.cjs → PlayerAccountGamingLimitsConfirmationModal-IgBYV9F2.cjs} +1 -1
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-dprcKEZC.js → PlayerAccountGamingLimitsGroupEdit-CDY-ylK7.js} +51 -51
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-Crmi-e6x.js → PlayerAccountGamingLimitsGroupEdit-Cj7PXLH2.js} +51 -51
  24. package/components/{PlayerAccountGamingLimitsGroupEdit-DYe0OoaG.cjs → PlayerAccountGamingLimitsGroupEdit-DrkoLne8.cjs} +2 -2
  25. package/components/{PlayerAccountGamingLimitsHistory2-DiAUM6kQ.js → PlayerAccountGamingLimitsHistory2-2NpX8p0k.js} +44 -44
  26. package/components/{PlayerAccountGamingLimitsHistory2-CS4fpWhH.cjs → PlayerAccountGamingLimitsHistory2-B_7Y0DgS.cjs} +1 -1
  27. package/components/{PlayerAccountGamingLimitsHistory2-Dt9CSOvf.js → PlayerAccountGamingLimitsHistory2-DF8kvIf6.js} +46 -46
  28. package/components/{PlayerAccountGamingLimitsInfoCard-DFsD9RSx.cjs → PlayerAccountGamingLimitsInfoCard-BOls7ahz.cjs} +1 -1
  29. package/components/{PlayerAccountGamingLimitsInfoCard-D9MKGXei.js → PlayerAccountGamingLimitsInfoCard-CNvQOw3A.js} +95 -95
  30. package/components/{PlayerAccountGamingLimitsInfoCard-Bd4vV7fT.js → PlayerAccountGamingLimitsInfoCard-D3sJXuZa.js} +95 -95
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16-8-RWZDSp.cjs → PlayerAccountGamingLimitsPage2Gm16-BiFzgvUx.cjs} +1 -1
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16-C9VhT1ek.js → PlayerAccountGamingLimitsPage2Gm16-C7_DGAt1.js} +72 -72
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16-WSk66pxJ.js → PlayerAccountGamingLimitsPage2Gm16-Dz6knJ_h.js} +122 -122
  34. package/components/{PlayerAccountGamingLimitsPopup-C2R4OzUK.js → PlayerAccountGamingLimitsPopup-BlCz3nIH.js} +17 -17
  35. package/components/{PlayerAccountGamingLimitsPopup-DLqNpo7V.js → PlayerAccountGamingLimitsPopup-Bt4YlCWi.js} +17 -17
  36. package/components/{PlayerAccountGamingLimitsPopup-zTXU7ohP.cjs → PlayerAccountGamingLimitsPopup-ChBLdQR7.cjs} +1 -1
  37. package/components/{PlayerAccountGamingLimitsWrapper2-D3NmPjvT.js → PlayerAccountGamingLimitsWrapper2-D3tW5CCc.js} +8 -8
  38. package/components/{PlayerAccountGamingLimitsWrapper2-CXP2X7Lk.cjs → PlayerAccountGamingLimitsWrapper2-Dg6CwNyN.cjs} +1 -1
  39. package/components/{PlayerAccountGamingLimitsWrapper2-Cr1xbzbX.js → PlayerAccountGamingLimitsWrapper2-RnvNKSgN.js} +8 -8
  40. package/components/{PlayerAccountGeneralConfirmationModal-CnGS36kY.cjs → PlayerAccountGeneralConfirmationModal-BpTCzpiW.cjs} +1 -1
  41. package/components/{PlayerAccountGeneralConfirmationModal-BrcO0n_o.js → PlayerAccountGeneralConfirmationModal-D3u9X3Q6.js} +39 -39
  42. package/components/{PlayerAccountGeneralConfirmationModal-DHuSzGQn.js → PlayerAccountGeneralConfirmationModal-SjPp-PVG.js} +39 -39
  43. package/components/{PlayerAccountMenu-VCDFEkVV.js → PlayerAccountMenu-5esyJ_VN.js} +20 -20
  44. package/components/{PlayerAccountMenu-kULPvwXH.cjs → PlayerAccountMenu-C704oUrC.cjs} +1 -1
  45. package/components/{PlayerAccountMenu-Bnj75Pyr.js → PlayerAccountMenu-DgptA72k.js} +17 -17
  46. package/components/{PlayerAccountModal-BGNjm-FU.js → PlayerAccountModal-BnWL5726.js} +28 -28
  47. package/components/{PlayerAccountModal-DLxnK5Aq.cjs → PlayerAccountModal-C7aZZlBw.cjs} +1 -1
  48. package/components/{PlayerAccountModal-d2eY7pgp.js → PlayerAccountModal-CbLpkfXY.js} +28 -28
  49. package/components/{PlayerAccountNotifications-BkPn9o0x.js → PlayerAccountNotifications-B02Ownhe.js} +16 -16
  50. package/components/{PlayerAccountNotifications-DwHaboef.js → PlayerAccountNotifications-C-lyz5dM.js} +16 -16
  51. package/components/{PlayerAccountNotifications-DLpnh54-.cjs → PlayerAccountNotifications-DkgHtUGj.cjs} +1 -1
  52. package/components/PlayerAccountSelfExclusion-BS89T7sZ.cjs +4171 -0
  53. package/components/{PlayerAccountSelfExclusion-Dsc1c5ET.js → PlayerAccountSelfExclusion-BkK_LRpi.js} +9840 -9439
  54. package/components/{PlayerAccountSelfExclusion-C-Gq5xhb.js → PlayerAccountSelfExclusion-D6Kby-08.js} +9320 -8965
  55. package/components/{PlayerAccountTimeout-DX8TE-kL.cjs → PlayerAccountTimeout-DMbUPtRy.cjs} +1 -1
  56. package/components/{PlayerAccountTimeout-DPGSPm6O.js → PlayerAccountTimeout-DWNG3Mes.js} +25 -25
  57. package/components/{PlayerAccountTimeout-BrX6tkl3.js → PlayerAccountTimeout-tPNVqlAT.js} +25 -25
  58. package/components/PlayerActiveBonuses-B9jz3QD8.cjs +1 -0
  59. package/components/{PlayerActiveBonuses-DZ1TuekM.js → PlayerActiveBonuses-SCbHFBuw.js} +392 -443
  60. package/components/{PlayerActiveBonuses-WBu-rYFj.js → PlayerActiveBonuses-dRIcHoZG.js} +415 -466
  61. package/components/{PlayerBonusCard-BtSC36hN.js → PlayerBonusCard-8uOU9OLG.js} +50 -50
  62. package/components/{PlayerBonusCard-DqHyFS9o.cjs → PlayerBonusCard-BC8FfHZz.cjs} +1 -1
  63. package/components/{PlayerBonusCard-Ci1k7NFv.js → PlayerBonusCard-Cppd6wFF.js} +50 -50
  64. package/components/{PlayerBonusHistory-C7m0o7Yl.js → PlayerBonusHistory-44sPM1i7.js} +30 -30
  65. package/components/{PlayerBonusHistory-D-qDx10G.cjs → PlayerBonusHistory-D2YSJiqi.cjs} +1 -1
  66. package/components/{PlayerBonusHistory-DDNLaEBO.js → PlayerBonusHistory-DWvXjCPO.js} +30 -30
  67. package/components/{PlayerChangePassword-B4VW3taV.cjs → PlayerChangePassword-CzR4Xz0H.cjs} +1 -1
  68. package/components/{PlayerChangePassword-Bhfh3D2M.js → PlayerChangePassword-N_UEFJNT.js} +103 -103
  69. package/components/{PlayerChangePassword-Dk7vlEEM.js → PlayerChangePassword-OM9U8MSx.js} +103 -103
  70. package/components/PlayerDeposit-CwMvcnsj.js +414 -0
  71. package/components/PlayerDeposit-D_78W5GC.cjs +1 -0
  72. package/components/PlayerDeposit-Q2N0Y2_v.js +414 -0
  73. package/components/{PlayerGamingHistory-CaYFZtwD.js → PlayerGamingHistory-BLQD-WyT.js} +54 -54
  74. package/components/{PlayerGamingHistory-CcFH-mIk.cjs → PlayerGamingHistory-DRkPp9aG.cjs} +1 -1
  75. package/components/{PlayerGamingHistory-BPF2pyCO.js → PlayerGamingHistory-XiAb60Gu.js} +59 -59
  76. package/components/{PlayerPendingWithdrawals-BvhoX5n1.cjs → PlayerPendingWithdrawals-BG3I8ifu.cjs} +1 -1
  77. package/components/{PlayerPendingWithdrawals-DQ_Nh38H.js → PlayerPendingWithdrawals-BSTgce9H.js} +33 -33
  78. package/components/{PlayerPendingWithdrawals-DabTg_Hg.js → PlayerPendingWithdrawals-BsCRRPqb.js} +33 -33
  79. package/components/{PlayerProfileInfo-B6I2vv_G.js → PlayerProfileInfo-C7zRlD3p.js} +163 -159
  80. package/components/{PlayerProfileInfo-Bx9bKldG.cjs → PlayerProfileInfo-CGsJydqv.cjs} +1 -1
  81. package/components/{PlayerProfileInfo-Baoz1CHE.js → PlayerProfileInfo-zmbAMe_l.js} +154 -150
  82. package/components/{PlayerRealityCheck-6ZyJUl5U.js → PlayerRealityCheck-A_mZq3YZ.js} +27 -27
  83. package/components/{PlayerRealityCheck-DMI_8YfG.cjs → PlayerRealityCheck-C26ZBWae.cjs} +1 -1
  84. package/components/{PlayerRealityCheck-CzPyJQgR.js → PlayerRealityCheck-D7u9BzPV.js} +26 -26
  85. package/components/{PlayerTransactionHistory-Dj8ABxFp.cjs → PlayerTransactionHistory-CJqhYnbs.cjs} +1 -1
  86. package/components/{PlayerTransactionHistory-CSK3J3Na.js → PlayerTransactionHistory-DllIB_qE.js} +23 -23
  87. package/components/{PlayerTransactionHistory-DmTfwUdw.js → PlayerTransactionHistory-DsRmd4u6.js} +23 -23
  88. package/components/{PlayerWithdrawal-BrqShTsy.js → PlayerWithdrawal-CGSnHppy.js} +20 -20
  89. package/components/{PlayerWithdrawal-BwymNFiL.cjs → PlayerWithdrawal-GDc_7hZX.cjs} +1 -1
  90. package/components/{PlayerWithdrawal-ct79yXDc.js → PlayerWithdrawal-t5mlX5CD.js} +20 -20
  91. package/es2015/player-account-controller.cjs +1 -1
  92. package/es2015/player-account-controller.js +1 -1
  93. package/esnext/player-account-controller.js +1 -1
  94. package/package.json +1 -1
  95. package/stencil/{checkbox-group-input_9-9b62GyCW.js → checkbox-group-input_9-Cny9rOs9.js} +2490 -3376
  96. package/stencil/{checkbox-group-input_9-BDryW6Wx.js → checkbox-group-input_9-DZvX2H_r.js} +2434 -3306
  97. package/stencil/checkbox-group-input_9-FLO2Qa5Y.cjs +2104 -0
  98. package/stencil/{general-input-BXIgsD0E.js → general-input-Yj_LRx0v.js} +6 -6
  99. package/stencil/{general-input-CwyM4h8z.js → general-input-d5RULL12.js} +6 -6
  100. package/stencil/general-input-igTYIJ6W.cjs +1 -0
  101. package/stencil/index-0437c9c0-BwGFk0Yq.js +565 -0
  102. package/stencil/index-0437c9c0-C_oD9Yfn.js +592 -0
  103. package/stencil/index-0437c9c0-oCxuDVFQ.cjs +1 -0
  104. package/stencil/index-657e7a14-B7-RqEpB.js +572 -0
  105. package/stencil/index-657e7a14-CrrA_w_5.cjs +1 -0
  106. package/stencil/index-657e7a14-DW4SbCqy.js +588 -0
  107. package/stencil/index-72d2f0c7--qtpsDOz.js +642 -0
  108. package/stencil/index-72d2f0c7-DldCMjBJ.cjs +1 -0
  109. package/stencil/index-72d2f0c7-DyMEJXra.js +626 -0
  110. package/stencil/index-e8249896-BjtvOmsZ.cjs +1 -0
  111. package/stencil/index-e8249896-CM_igLvD.js +658 -0
  112. package/stencil/index-e8249896-DW1YiUqn.js +631 -0
  113. package/stencil/password-input_2-CHOu4hgw.js +1420 -0
  114. package/stencil/password-input_2-DQAgV1SZ.cjs +896 -0
  115. package/stencil/password-input_2-DaiHlKbQ.js +1420 -0
  116. package/stencil/{player-change-password-gm2-2de114b8-j-W8UbVm.cjs → player-change-password-gm2-780eb445-CdItmoKI.cjs} +1 -1
  117. package/stencil/{player-change-password-gm2-2de114b8-BXdScOXy.js → player-change-password-gm2-780eb445-Cg8Z75Vz.js} +3 -3
  118. package/stencil/{player-change-password-gm2-2de114b8-D375sYxZ.js → player-change-password-gm2-780eb445-DEjz9Jjk.js} +3 -3
  119. package/stencil/{player-change-password-gm2-DLw7pfT_.cjs → player-change-password-gm2-BR82_Y4L.cjs} +1 -1
  120. package/stencil/{player-change-password-gm2-BDCYchnQ.js → player-change-password-gm2-DlMNv4hv.js} +1 -1
  121. package/stencil/{player-change-password-gm2-CQtvRl58.js → player-change-password-gm2-FHUeecdE.js} +1 -1
  122. package/stencil/{player-kyc-verification-KcMUMtzd.js → player-kyc-verification-CZy8RShe.js} +43 -43
  123. package/stencil/{player-kyc-verification-BZX3owFI.js → player-kyc-verification-DuUII5AF.js} +39 -39
  124. package/stencil/{player-kyc-verification-CnOn9bB_.cjs → player-kyc-verification-DxpMnJ6t.cjs} +2 -2
  125. package/stencil/{toggle-checkbox-input-BqotLJuA.js → toggle-checkbox-input-Co64_7cm.js} +7 -7
  126. package/stencil/{toggle-checkbox-input-DFpk-vL2.js → toggle-checkbox-input-ErX2Ngat.js} +7 -7
  127. package/stencil/toggle-checkbox-input-a_0w-Y0n.cjs +1 -0
  128. package/stencil/{user-deposit-withdrawal-BZXlCCQr.cjs → user-deposit-withdrawal-Cum51n64.cjs} +2 -2
  129. package/stencil/{user-deposit-withdrawal-6RE0dcHP.js → user-deposit-withdrawal-DRo4MaOR.js} +24 -24
  130. package/stencil/{user-deposit-withdrawal-D7AuBXPO.js → user-deposit-withdrawal-DsEm--6b.js} +24 -24
  131. package/stencil/{user-transaction-history-DW482EoT.js → user-transaction-history-BpBJPUwq.js} +10 -10
  132. package/stencil/{user-transaction-history-CLdEzp7O.cjs → user-transaction-history-C3_7vgUY.cjs} +1 -1
  133. package/stencil/{user-transaction-history-CtDvqHoF.js → user-transaction-history-ClGHRdoQ.js} +7 -7
  134. package/stencil/vaadin-button-6001b2a6-C6xw53k5.cjs +3018 -0
  135. package/stencil/{vaadin-button-mixin-b8087c3c-DMeIIR12.js → vaadin-button-6001b2a6-CZwj1qjO.js} +5818 -5228
  136. package/stencil/{vaadin-button-mixin-b8087c3c-DTenw4S9.js → vaadin-button-6001b2a6-Dqz5Vp8D.js} +3935 -3299
  137. package/components/GeneralLogout-CMYMtWfC.cjs +0 -8
  138. package/components/PlayerAccountSelfExclusion-Dlkeebgy.cjs +0 -3557
  139. package/components/PlayerActiveBonuses-T1itpvjq.cjs +0 -1
  140. package/components/PlayerDeposit-B04mpHHT.js +0 -395
  141. package/components/PlayerDeposit-CH0pw_GN.cjs +0 -1
  142. package/components/PlayerDeposit-DJXOEJyq.js +0 -395
  143. package/stencil/checkbox-group-input_9-B0JD93gn.cjs +0 -2045
  144. package/stencil/general-input-BL1L8PI-.cjs +0 -1
  145. package/stencil/index-0a27499c-BaAMIKJI.js +0 -724
  146. package/stencil/index-0a27499c-DaAhyku1.js +0 -697
  147. package/stencil/index-0a27499c-vG7Av-0V.cjs +0 -1
  148. package/stencil/index-1d58b17d-BREebYgt.js +0 -658
  149. package/stencil/index-1d58b17d-CY3tvLdR.js +0 -631
  150. package/stencil/index-1d58b17d-oagDV-gC.cjs +0 -1
  151. package/stencil/index-45f4006f-CL2s7me-.cjs +0 -1
  152. package/stencil/index-45f4006f-D9GyS-vs.js +0 -638
  153. package/stencil/index-45f4006f-DKAxZFDZ.js +0 -654
  154. package/stencil/index-92b64862-Bnmv00O2.js +0 -708
  155. package/stencil/index-92b64862-CK1ANWGa.cjs +0 -1
  156. package/stencil/index-92b64862-CO3_TP5h.js +0 -692
  157. package/stencil/password-input_2-B5ePukhS.js +0 -569
  158. package/stencil/password-input_2-D3ziy4Iu.cjs +0 -105
  159. package/stencil/password-input_2-ZN0C3aqj.js +0 -569
  160. package/stencil/toggle-checkbox-input-n5b3s-CU.cjs +0 -1
  161. package/stencil/vaadin-button-mixin-b8087c3c-BzMgQwsM.cjs +0 -2385
@@ -1,708 +0,0 @@
1
- var O = (e, t, n) => new Promise((s, r) => {
2
- var $ = (a) => {
3
- try {
4
- l(n.next(a));
5
- } catch (o) {
6
- r(o);
7
- }
8
- }, i = (a) => {
9
- try {
10
- l(n.throw(a));
11
- } catch (o) {
12
- r(o);
13
- }
14
- }, l = (a) => a.done ? s(a.value) : Promise.resolve(a.value).then($, i);
15
- l((n = n.apply(e, t)).next());
16
- });
17
- const Le = "player-change-password-gm2", m = (
18
- /* player-change-password-gm2 */
19
- { hydratedSelectorName: "hydrated", lazyLoad: !0, updatable: !0 }
20
- );
21
- var we = Object.defineProperty, xe = (e, t) => {
22
- for (var n in t)
23
- we(e, n, { get: t[n], enumerable: !0 });
24
- }, _e = "http://www.w3.org/2000/svg", Te = "http://www.w3.org/1999/xhtml", X = /* @__PURE__ */ new WeakMap(), w = (e) => X.get(e), ut = (e, t) => {
25
- X.set(t.$lazyInstance$ = e, t);
26
- }, Pe = (e, t) => {
27
- const n = {
28
- $flags$: 0,
29
- $hostElement$: e,
30
- $cmpMeta$: t,
31
- $instanceValues$: /* @__PURE__ */ new Map()
32
- };
33
- return n.$onReadyPromise$ = new Promise((r) => n.$onReadyResolve$ = r), e["s-p"] = [], e["s-rc"] = [], X.set(e, n);
34
- }, M = (e, t) => t in e, L = (e, t) => (0, console.error)(e, t), U = /* @__PURE__ */ new Map(), be = (e, t, n) => {
35
- const s = e.$tagName$.replace(/-/g, "_"), r = e.$lazyBundleId$;
36
- if (!r)
37
- return;
38
- const $ = U.get(r);
39
- if ($)
40
- return $[s];
41
- {
42
- const i = (l) => (U.set(r, l), l[s]);
43
- switch (r) {
44
- case "password-input_2":
45
- return import(
46
- /* webpackMode: "lazy" */
47
- "./password-input_2-ZN0C3aqj.js"
48
- ).then(i, L);
49
- case "checkbox-group-input_9":
50
- return import(
51
- /* webpackMode: "lazy" */
52
- "./checkbox-group-input_9-9b62GyCW.js"
53
- ).then(i, L);
54
- case "general-input":
55
- return import(
56
- /* webpackMode: "lazy" */
57
- "./general-input-BXIgsD0E.js"
58
- ).then(i, L);
59
- case "toggle-checkbox-input":
60
- return import(
61
- /* webpackMode: "lazy" */
62
- "./toggle-checkbox-input-DFpk-vL2.js"
63
- ).then(i, L);
64
- }
65
- }
66
- return import(
67
- /* @vite-ignore */
68
- /* webpackInclude: /\.entry\.js$/ */
69
- /* webpackExclude: /\.system\.entry\.js$/ */
70
- /* webpackMode: "lazy" */
71
- `./${r}.entry.js`
72
- ).then(
73
- (i) => (U.set(r, i), i[s]),
74
- (i) => {
75
- L(i, t.$hostElement$);
76
- }
77
- );
78
- }, z = /* @__PURE__ */ new Map(), Ie = "sty-id", Oe = "{visibility:hidden}.hydrated{visibility:inherit}", re = "slot-fb{display:contents}slot-fb[hidden]{display:none}", q = typeof window != "undefined" ? window : {}, E = q.document || { head: {} }, h = {
79
- $flags$: 0,
80
- $resourcesUrl$: "",
81
- jmp: (e) => e(),
82
- raf: (e) => requestAnimationFrame(e),
83
- ael: (e, t, n, s) => e.addEventListener(t, n, s),
84
- rel: (e, t, n, s) => e.removeEventListener(t, n, s),
85
- ce: (e, t) => new CustomEvent(e, t)
86
- }, je = /* @__PURE__ */ (() => {
87
- let e = !1;
88
- try {
89
- E.addEventListener(
90
- "e",
91
- null,
92
- Object.defineProperty({}, "passive", {
93
- get() {
94
- e = !0;
95
- }
96
- })
97
- );
98
- } catch (t) {
99
- }
100
- return e;
101
- })(), Ae = (e) => Promise.resolve(e), le = /* @__PURE__ */ (() => {
102
- try {
103
- return new CSSStyleSheet(), typeof new CSSStyleSheet().replaceSync == "function";
104
- } catch (e) {
105
- }
106
- return !1;
107
- })(), D = !1, V = [], ie = [], ze = (e, t) => (n) => {
108
- e.push(n), D || (D = !0, h.$flags$ & 4 ? F(C) : h.raf(C));
109
- }, N = (e) => {
110
- for (let t = 0; t < e.length; t++)
111
- try {
112
- e[t](performance.now());
113
- } catch (n) {
114
- L(n);
115
- }
116
- e.length = 0;
117
- }, C = () => {
118
- N(V), N(ie), (D = V.length > 0) && h.raf(C);
119
- }, F = (e) => Ae().then(e), He = /* @__PURE__ */ ze(ie), J = (e) => (e = typeof e, e === "object" || e === "function");
120
- function $e(e) {
121
- var t, n, s;
122
- 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;
123
- }
124
- var qe = {};
125
- xe(qe, {
126
- err: () => ae,
127
- map: () => Ue,
128
- ok: () => W,
129
- unwrap: () => Be,
130
- unwrapErr: () => De
131
- });
132
- var W = (e) => ({
133
- isOk: !0,
134
- isErr: !1,
135
- value: e
136
- }), ae = (e) => ({
137
- isOk: !1,
138
- isErr: !0,
139
- value: e
140
- });
141
- function Ue(e, t) {
142
- if (e.isOk) {
143
- const n = t(e.value);
144
- return n instanceof Promise ? n.then((s) => W(s)) : W(n);
145
- }
146
- if (e.isErr) {
147
- const n = e.value;
148
- return ae(n);
149
- }
150
- throw "should never get here";
151
- }
152
- var Be = (e) => {
153
- if (e.isOk)
154
- return e.value;
155
- throw e.value;
156
- }, De = (e) => {
157
- if (e.isErr)
158
- return e.value;
159
- throw e.value;
160
- }, x = (e, t = "") => () => {
161
- }, Ce = (e, t) => () => {
162
- }, We = (e, t, ...n) => {
163
- let s = null, r = null, $ = !1, i = !1;
164
- const l = [], a = (c) => {
165
- for (let u = 0; u < c.length; u++)
166
- s = c[u], Array.isArray(s) ? a(s) : s != null && typeof s != "boolean" && (($ = typeof e != "function" && !J(s)) && (s = String(s)), $ && i ? l[l.length - 1].$text$ += s : l.push($ ? G(null, s) : s), i = $);
167
- };
168
- if (a(n), t) {
169
- t.key && (r = t.key);
170
- {
171
- const c = t.className || t.class;
172
- c && (t.class = typeof c != "object" ? c : Object.keys(c).filter((u) => c[u]).join(" "));
173
- }
174
- }
175
- const o = G(e, null);
176
- return o.$attrs$ = t, l.length > 0 && (o.$children$ = l), o.$key$ = r, o;
177
- }, G = (e, t) => {
178
- const n = {
179
- $flags$: 0,
180
- $tag$: e,
181
- $text$: t,
182
- $elm$: null,
183
- $children$: null
184
- };
185
- return n.$attrs$ = null, n.$key$ = null, n;
186
- }, Ge = {}, Re = (e) => e && e.$tag$ === Ge, R = (e, t) => e != null && !J(e) ? t & 4 ? e === "false" ? !1 : e === "" || !!e : t & 1 ? String(e) : e : e, Ye = (e) => w(e).$hostElement$, dt = (e, t, n) => {
187
- const s = Ye(e);
188
- return {
189
- emit: (r) => oe(s, t, {
190
- bubbles: !0,
191
- composed: !0,
192
- cancelable: !0,
193
- detail: r
194
- })
195
- };
196
- }, oe = (e, t, n) => {
197
- const s = h.ce(t, n);
198
- return e.dispatchEvent(s), s;
199
- }, P = /* @__PURE__ */ new WeakMap(), me = (e, t, n) => {
200
- let s = z.get(e);
201
- le && n ? (s = s || new CSSStyleSheet(), typeof s == "string" ? s = t : s.replaceSync(t)) : s = t, z.set(e, s);
202
- }, Xe = (e, t, n) => {
203
- var s;
204
- const r = ce(t), $ = z.get(r);
205
- if (e = e.nodeType === 11 ? e : E, $)
206
- if (typeof $ == "string") {
207
- e = e.head || e;
208
- let i = P.get(e), l;
209
- if (i || P.set(e, i = /* @__PURE__ */ new Set()), !i.has(r)) {
210
- {
211
- l = document.querySelector(`[${Ie}="${r}"]`) || E.createElement("style"), l.innerHTML = $;
212
- const a = (s = h.$nonce$) != null ? s : $e(E);
213
- if (a != null && l.setAttribute("nonce", a), !(t.$flags$ & 1))
214
- if (e.nodeName === "HEAD") {
215
- const o = e.querySelectorAll("link[rel=preconnect]"), c = o.length > 0 ? o[o.length - 1].nextSibling : e.querySelector("style");
216
- e.insertBefore(
217
- l,
218
- (c == null ? void 0 : c.parentNode) === e ? c : null
219
- );
220
- } else if ("host" in e)
221
- if (le) {
222
- const o = new CSSStyleSheet();
223
- o.replaceSync($), e.adoptedStyleSheets = [o, ...e.adoptedStyleSheets];
224
- } else {
225
- const o = e.querySelector("style");
226
- o ? o.innerHTML = $ + o.innerHTML : e.prepend(l);
227
- }
228
- else
229
- e.append(l);
230
- t.$flags$ & 1 && e.insertBefore(l, null);
231
- }
232
- t.$flags$ & 4 && (l.innerHTML += re), i && i.add(r);
233
- }
234
- } else e.adoptedStyleSheets.includes($) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, $]);
235
- return r;
236
- }, Fe = (e) => {
237
- const t = e.$cmpMeta$, n = e.$hostElement$, s = t.$flags$, r = x("attachStyles", t.$tagName$), $ = Xe(
238
- n.shadowRoot ? n.shadowRoot : n.getRootNode(),
239
- t
240
- );
241
- (s & 10 && s & 2 || s & 128) && (n["s-sc"] = $, n.classList.add($ + "-h")), r();
242
- }, ce = (e, t) => "sc-" + e.$tagName$, ee = (e, t, n, s, r, $, i) => {
243
- if (n !== s) {
244
- let l = M(e, t), a = t.toLowerCase();
245
- if (t === "class") {
246
- const o = e.classList, c = te(n);
247
- let u = te(s);
248
- o.remove(...c.filter((f) => f && !u.includes(f))), o.add(...u.filter((f) => f && !c.includes(f)));
249
- } else if (t !== "key") if (t === "ref")
250
- s && s(e);
251
- else if (!l && t[0] === "o" && t[1] === "n") {
252
- if (t[2] === "-" ? t = t.slice(3) : M(q, a) ? t = a.slice(2) : t = a[2] + t.slice(3), n || s) {
253
- const o = t.endsWith(fe);
254
- t = t.replace(Ke, ""), n && h.rel(e, t, n, o), s && h.ael(e, t, s, o);
255
- }
256
- } else {
257
- const o = J(s);
258
- if ((l || o && s !== null) && !r)
259
- try {
260
- if (e.tagName.includes("-"))
261
- e[t] !== s && (e[t] = s);
262
- else {
263
- const c = s == null ? "" : s;
264
- t === "list" ? l = !1 : (n == null || e[t] != c) && (typeof e.__lookupSetter__(t) == "function" ? e[t] = c : e.setAttribute(t, c));
265
- }
266
- } catch (c) {
267
- }
268
- s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || $ & 4 || r) && !o && (s = s === !0 ? "" : s, e.setAttribute(t, s));
269
- }
270
- }
271
- }, Je = /\s/, te = (e) => (typeof e == "object" && e && "baseVal" in e && (e = e.baseVal), !e || typeof e != "string" ? [] : e.split(Je)), fe = "Capture", Ke = new RegExp(fe + "$"), ue = (e, t, n, s) => {
272
- const r = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, $ = e && e.$attrs$ || {}, i = t.$attrs$ || {};
273
- for (const l of se(Object.keys($)))
274
- l in i || ee(
275
- r,
276
- l,
277
- $[l],
278
- void 0,
279
- n,
280
- t.$flags$
281
- );
282
- for (const l of se(Object.keys(i)))
283
- ee(
284
- r,
285
- l,
286
- $[l],
287
- i[l],
288
- n,
289
- t.$flags$
290
- );
291
- };
292
- function se(e) {
293
- return e.includes("ref") ? (
294
- // we need to sort these to ensure that `'ref'` is the last attr
295
- [...e.filter((t) => t !== "ref"), "ref"]
296
- ) : (
297
- // no need to sort, return the original array
298
- e
299
- );
300
- }
301
- var K, y = !1, H = (e, t, n) => {
302
- const s = t.$children$[n];
303
- let r = 0, $, i;
304
- if (s.$text$ !== null)
305
- $ = s.$elm$ = E.createTextNode(s.$text$);
306
- else {
307
- if (y || (y = s.$tag$ === "svg"), $ = s.$elm$ = E.createElementNS(
308
- y ? _e : Te,
309
- s.$tag$
310
- ), y && s.$tag$ === "foreignObject" && (y = !1), ue(null, s, y), s.$children$)
311
- for (r = 0; r < s.$children$.length; ++r)
312
- i = H(e, s, r), i && $.appendChild(i);
313
- s.$tag$ === "svg" ? y = !1 : $.tagName === "foreignObject" && (y = !0);
314
- }
315
- return $["s-hn"] = K, $;
316
- }, de = (e, t, n, s, r, $) => {
317
- let i = e, l;
318
- for (i.shadowRoot && i.tagName === K && (i = i.shadowRoot); r <= $; ++r)
319
- s[r] && (l = H(null, n, r), l && (s[r].$elm$ = l, A(i, l, t)));
320
- }, pe = (e, t, n) => {
321
- for (let s = t; s <= n; ++s) {
322
- const r = e[s];
323
- if (r) {
324
- const $ = r.$elm$;
325
- he(r), $ && $.remove();
326
- }
327
- }
328
- }, Qe = (e, t, n, s, r = !1) => {
329
- let $ = 0, i = 0, l = 0, a = 0, o = t.length - 1, c = t[0], u = t[o], f = s.length - 1, d = s[0], p = s[f], v, k;
330
- for (; $ <= o && i <= f; )
331
- if (c == null)
332
- c = t[++$];
333
- else if (u == null)
334
- u = t[--o];
335
- else if (d == null)
336
- d = s[++i];
337
- else if (p == null)
338
- p = s[--f];
339
- else if (j(c, d, r))
340
- T(c, d, r), c = t[++$], d = s[++i];
341
- else if (j(u, p, r))
342
- T(u, p, r), u = t[--o], p = s[--f];
343
- else if (j(c, p, r))
344
- T(c, p, r), A(e, c.$elm$, u.$elm$.nextSibling), c = t[++$], p = s[--f];
345
- else if (j(u, d, r))
346
- T(u, d, r), A(e, u.$elm$, c.$elm$), u = t[--o], d = s[++i];
347
- else {
348
- for (l = -1, a = $; a <= o; ++a)
349
- if (t[a] && t[a].$key$ !== null && t[a].$key$ === d.$key$) {
350
- l = a;
351
- break;
352
- }
353
- l >= 0 ? (k = t[l], k.$tag$ !== d.$tag$ ? v = H(t && t[i], n, l) : (T(k, d, r), t[l] = void 0, v = k.$elm$), d = s[++i]) : (v = H(t && t[i], n, i), d = s[++i]), v && A(c.$elm$.parentNode, v, c.$elm$);
354
- }
355
- $ > o ? de(
356
- e,
357
- s[f + 1] == null ? null : s[f + 1].$elm$,
358
- n,
359
- s,
360
- i,
361
- f
362
- ) : i > f && pe(t, $, o);
363
- }, j = (e, t, n = !1) => e.$tag$ === t.$tag$ ? n ? (n && !e.$key$ && t.$key$ && (e.$key$ = t.$key$), !0) : e.$key$ === t.$key$ : !1, T = (e, t, n = !1) => {
364
- const s = t.$elm$ = e.$elm$, r = e.$children$, $ = t.$children$, i = t.$tag$, l = t.$text$;
365
- l === null ? (y = i === "svg" ? !0 : i === "foreignObject" ? !1 : y, ue(e, t, y), r !== null && $ !== null ? Qe(s, r, t, $, n) : $ !== null ? (e.$text$ !== null && (s.textContent = ""), de(s, null, t, $, 0, $.length - 1)) : (
366
- // don't do this on initial render as it can cause non-hydrated content to be removed
367
- !n && m.updatable && r !== null && pe(r, 0, r.length - 1)
368
- ), y && i === "svg" && (y = !1)) : e.$text$ !== l && (s.data = l);
369
- }, he = (e) => {
370
- e.$attrs$ && e.$attrs$.ref && e.$attrs$.ref(null), e.$children$ && e.$children$.map(he);
371
- }, A = (e, t, n) => e == null ? void 0 : e.insertBefore(t, n), Ze = (e, t, n = !1) => {
372
- const s = e.$hostElement$, r = e.$cmpMeta$, $ = e.$vnode$ || G(null, null), i = Re(t) ? t : We(null, null, t);
373
- if (K = s.tagName, r.$attrsToReflect$ && (i.$attrs$ = i.$attrs$ || {}, r.$attrsToReflect$.map(
374
- ([l, a]) => i.$attrs$[a] = s[l]
375
- )), n && i.$attrs$)
376
- for (const l of Object.keys(i.$attrs$))
377
- s.hasAttribute(l) && !["key", "ref", "style", "class"].includes(l) && (i.$attrs$[l] = s[l]);
378
- i.$tag$ = null, i.$flags$ |= 4, e.$vnode$ = i, i.$elm$ = $.$elm$ = s.shadowRoot || s, r.$flags$ & 1 && r.$flags$ & 128, T($, i, n);
379
- }, ve = (e, t) => {
380
- if (t && !e.$onRenderResolve$ && t["s-p"]) {
381
- const n = t["s-p"].push(
382
- new Promise(
383
- (s) => e.$onRenderResolve$ = () => {
384
- t["s-p"].splice(n - 1, 1), s();
385
- }
386
- )
387
- );
388
- }
389
- }, Q = (e, t) => {
390
- if (e.$flags$ |= 16, e.$flags$ & 4) {
391
- e.$flags$ |= 512;
392
- return;
393
- }
394
- return ve(e, e.$ancestorComponent$), He(() => Me(e, t));
395
- }, Me = (e, t) => {
396
- const n = e.$hostElement$, s = x("scheduleUpdate", e.$cmpMeta$.$tagName$), r = e.$lazyInstance$;
397
- if (!r)
398
- throw new Error(
399
- `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`
400
- );
401
- let $;
402
- return t && (e.$flags$ |= 256, e.$queuedListeners$ && (e.$queuedListeners$.map(([i, l]) => b(r, i, l, n)), e.$queuedListeners$ = void 0), $ = b(r, "componentWillLoad", void 0, n)), s(), Ve($, () => et(e, r, t));
403
- }, Ve = (e, t) => Ne(e) ? e.then(t).catch((n) => {
404
- console.error(n), t();
405
- }) : t(), Ne = (e) => e instanceof Promise || e && e.then && typeof e.then == "function", et = (e, t, n) => O(void 0, null, function* () {
406
- var s;
407
- const r = e.$hostElement$, $ = x("update", e.$cmpMeta$.$tagName$), i = r["s-rc"];
408
- n && Fe(e);
409
- const l = x("render", e.$cmpMeta$.$tagName$);
410
- tt(e, t, r, n), i && (i.map((a) => a()), r["s-rc"] = void 0), l(), $();
411
- {
412
- const a = (s = r["s-p"]) != null ? s : [], o = () => st(e);
413
- a.length === 0 ? o() : (Promise.all(a).then(o), e.$flags$ |= 4, a.length = 0);
414
- }
415
- }), tt = (e, t, n, s) => {
416
- try {
417
- t = t.render(), e.$flags$ &= -17, e.$flags$ |= 2, Ze(e, t, s);
418
- } catch (r) {
419
- L(r, e.$hostElement$);
420
- }
421
- return null;
422
- }, st = (e) => {
423
- const t = e.$cmpMeta$.$tagName$, n = e.$hostElement$, s = x("postUpdate", t), r = e.$lazyInstance$, $ = e.$ancestorComponent$;
424
- b(r, "componentDidRender", void 0, n), e.$flags$ & 64 ? s() : (e.$flags$ |= 64, nt(n), b(r, "componentDidLoad", void 0, n), s(), e.$onReadyResolve$(n), $ || ge()), e.$onRenderResolve$ && (e.$onRenderResolve$(), e.$onRenderResolve$ = void 0), e.$flags$ & 512 && F(() => Q(e, !1)), e.$flags$ &= -517;
425
- }, ge = (e) => {
426
- F(() => oe(q, "appload", { detail: { namespace: Le } }));
427
- }, b = (e, t, n, s) => {
428
- if (e && e[t])
429
- try {
430
- return e[t](n);
431
- } catch (r) {
432
- L(r, s);
433
- }
434
- }, nt = (e) => {
435
- var t;
436
- return e.classList.add((t = m.hydratedSelectorName) != null ? t : "hydrated");
437
- }, rt = (e, t) => w(e).$instanceValues$.get(t), B = (e, t, n, s) => {
438
- const r = w(e);
439
- if (!r)
440
- throw new Error(
441
- `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).`
442
- );
443
- const $ = r.$hostElement$, i = r.$instanceValues$.get(t), l = r.$flags$, a = r.$lazyInstance$;
444
- n = R(n, s.$members$[t][0]);
445
- const o = Number.isNaN(i) && Number.isNaN(n), c = n !== i && !o;
446
- if ((!(l & 8) || i === void 0) && c && (r.$instanceValues$.set(t, n), a)) {
447
- if (s.$watchers$ && l & 128) {
448
- const u = s.$watchers$[t];
449
- u && u.map((f) => {
450
- try {
451
- a[f](n, i, t);
452
- } catch (d) {
453
- L(d, $);
454
- }
455
- });
456
- }
457
- (l & 18) === 2 && Q(r, !1);
458
- }
459
- }, ye = (e, t, n) => {
460
- var s, r;
461
- const $ = e.prototype;
462
- if (t.$members$ || t.$watchers$ || e.watchers) {
463
- e.watchers && !t.$watchers$ && (t.$watchers$ = e.watchers);
464
- const i = Object.entries((s = t.$members$) != null ? s : {});
465
- if (i.map(([l, [a]]) => {
466
- if (a & 31 || n & 2 && a & 32) {
467
- const { get: o, set: c } = Object.getOwnPropertyDescriptor($, l) || {};
468
- o && (t.$members$[l][0] |= 2048), c && (t.$members$[l][0] |= 4096), (n & 1 || !o) && Object.defineProperty($, l, {
469
- get() {
470
- {
471
- if (!(t.$members$[l][0] & 2048))
472
- return rt(this, l);
473
- const u = w(this), f = u ? u.$lazyInstance$ : $;
474
- return f ? f[l] : void 0;
475
- }
476
- },
477
- configurable: !0,
478
- enumerable: !0
479
- }), Object.defineProperty($, l, {
480
- set(u) {
481
- const f = w(this);
482
- if (c) {
483
- const d = a & 32 ? this[l] : f.$hostElement$[l];
484
- typeof d == "undefined" && f.$instanceValues$.get(l) ? u = f.$instanceValues$.get(l) : !f.$instanceValues$.get(l) && d && f.$instanceValues$.set(l, d), c.apply(this, [R(u, a)]), u = a & 32 ? this[l] : f.$hostElement$[l], B(this, l, u, t);
485
- return;
486
- }
487
- {
488
- if (!(n & 1) || !(t.$members$[l][0] & 4096)) {
489
- B(this, l, u, t), n & 1 && !f.$lazyInstance$ && f.$onReadyPromise$.then(() => {
490
- t.$members$[l][0] & 4096 && f.$lazyInstance$[l] !== f.$instanceValues$.get(l) && (f.$lazyInstance$[l] = u);
491
- });
492
- return;
493
- }
494
- const d = () => {
495
- const p = f.$lazyInstance$[l];
496
- !f.$instanceValues$.get(l) && p && f.$instanceValues$.set(l, p), f.$lazyInstance$[l] = R(u, a), B(this, l, f.$lazyInstance$[l], t);
497
- };
498
- f.$lazyInstance$ ? d() : f.$onReadyPromise$.then(() => d());
499
- }
500
- }
501
- });
502
- }
503
- }), n & 1) {
504
- const l = /* @__PURE__ */ new Map();
505
- $.attributeChangedCallback = function(a, o, c) {
506
- h.jmp(() => {
507
- var u;
508
- const f = l.get(a);
509
- if (this.hasOwnProperty(f) && m.lazyLoad)
510
- c = this[f], delete this[f];
511
- else {
512
- if ($.hasOwnProperty(f) && typeof this[f] == "number" && // cast type to number to avoid TS compiler issues
513
- this[f] == c)
514
- return;
515
- if (f == null) {
516
- const p = w(this), v = p == null ? void 0 : p.$flags$;
517
- if (v && !(v & 8) && v & 128 && c !== o) {
518
- const k = p.$lazyInstance$, g = (u = t.$watchers$) == null ? void 0 : u[a];
519
- g == null || g.forEach((_) => {
520
- k[_] != null && k[_].call(k, c, o, a);
521
- });
522
- }
523
- return;
524
- }
525
- }
526
- const d = Object.getOwnPropertyDescriptor($, f);
527
- c = c === null && typeof this[f] == "boolean" ? !1 : c, c !== this[f] && (!d.get || d.set) && (this[f] = c);
528
- });
529
- }, e.observedAttributes = Array.from(
530
- /* @__PURE__ */ new Set([
531
- ...Object.keys((r = t.$watchers$) != null ? r : {}),
532
- ...i.filter(
533
- ([a, o]) => o[0] & 15
534
- /* HasAttribute */
535
- ).map(([a, o]) => {
536
- var c;
537
- const u = o[1] || a;
538
- return l.set(u, a), o[0] & 512 && ((c = t.$attrsToReflect$) == null || c.push([a, u])), u;
539
- })
540
- ])
541
- );
542
- }
543
- }
544
- return e;
545
- }, lt = (e, t, n, s) => O(void 0, null, function* () {
546
- let r;
547
- if (!(t.$flags$ & 32)) {
548
- if (t.$flags$ |= 32, n.$lazyBundleId$) {
549
- const a = be(n, t);
550
- if (a && "then" in a) {
551
- const c = Ce();
552
- r = yield a, c();
553
- } else
554
- r = a;
555
- if (!r)
556
- throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);
557
- r.isProxied || (n.$watchers$ = r.watchers, ye(
558
- r,
559
- n,
560
- 2
561
- /* proxyState */
562
- ), r.isProxied = !0);
563
- const o = x("createInstance", n.$tagName$);
564
- t.$flags$ |= 8;
565
- try {
566
- new r(t);
567
- } catch (c) {
568
- L(c, e);
569
- }
570
- t.$flags$ &= -9, t.$flags$ |= 128, o(), Y(t.$lazyInstance$, e);
571
- } else {
572
- r = e.constructor;
573
- const a = e.localName;
574
- customElements.whenDefined(a).then(
575
- () => t.$flags$ |= 128
576
- /* isWatchReady */
577
- );
578
- }
579
- if (r && r.style) {
580
- let a;
581
- typeof r.style == "string" && (a = r.style);
582
- const o = ce(n);
583
- if (!z.has(o)) {
584
- const c = x("registerStyles", n.$tagName$);
585
- me(o, a, !!(n.$flags$ & 1)), c();
586
- }
587
- }
588
- }
589
- const $ = t.$ancestorComponent$, i = () => Q(t, !0);
590
- $ && $["s-rc"] ? $["s-rc"].push(i) : i();
591
- }), Y = (e, t) => {
592
- b(e, "connectedCallback", void 0, t);
593
- }, it = (e) => {
594
- if (!(h.$flags$ & 1)) {
595
- const t = w(e), n = t.$cmpMeta$, s = x("connectedCallback", n.$tagName$);
596
- if (t.$flags$ & 1)
597
- Se(e, t, n.$listeners$), t != null && t.$lazyInstance$ ? Y(t.$lazyInstance$, e) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => Y(t.$lazyInstance$, e));
598
- else {
599
- t.$flags$ |= 1;
600
- {
601
- let r = e;
602
- for (; r = r.parentNode || r.host; )
603
- if (r["s-p"]) {
604
- ve(t, t.$ancestorComponent$ = r);
605
- break;
606
- }
607
- }
608
- n.$members$ && Object.entries(n.$members$).map(([r, [$]]) => {
609
- if ($ & 31 && e.hasOwnProperty(r)) {
610
- const i = e[r];
611
- delete e[r], e[r] = i;
612
- }
613
- }), lt(e, t, n);
614
- }
615
- s();
616
- }
617
- }, ne = (e, t) => {
618
- b(e, "disconnectedCallback", void 0, t || e);
619
- }, $t = (e) => O(void 0, null, function* () {
620
- if (!(h.$flags$ & 1)) {
621
- const t = w(e);
622
- t.$rmListeners$ && (t.$rmListeners$.map((n) => n()), t.$rmListeners$ = void 0), t != null && t.$lazyInstance$ ? ne(t.$lazyInstance$, e) : t != null && t.$onReadyPromise$ && t.$onReadyPromise$.then(() => ne(t.$lazyInstance$, e));
623
- }
624
- P.has(e) && P.delete(e), e.shadowRoot && P.has(e.shadowRoot) && P.delete(e.shadowRoot);
625
- }), pt = (e, t = {}) => {
626
- var n;
627
- const s = x(), r = [], $ = t.exclude || [], i = q.customElements, l = E.head, a = /* @__PURE__ */ l.querySelector("meta[charset]"), o = /* @__PURE__ */ E.createElement("style"), c = [];
628
- let u, f = !0;
629
- Object.assign(h, t), h.$resourcesUrl$ = new URL(t.resourcesUrl || "./", E.baseURI).href;
630
- let d = !1;
631
- if (e.map((p) => {
632
- p[1].map((v) => {
633
- var k;
634
- const g = {
635
- $flags$: v[0],
636
- $tagName$: v[1],
637
- $members$: v[2],
638
- $listeners$: v[3]
639
- };
640
- g.$flags$ & 4 && (d = !0), g.$members$ = v[2], g.$listeners$ = v[3], g.$attrsToReflect$ = [], g.$watchers$ = (k = v[4]) != null ? k : {};
641
- const _ = g.$tagName$, Ee = class extends HTMLElement {
642
- // StencilLazyHost
643
- constructor(S) {
644
- if (super(S), this.hasRegisteredEventListeners = !1, S = this, Pe(S, g), g.$flags$ & 1) {
645
- if (!S.shadowRoot)
646
- S.attachShadow({ mode: "open" });
647
- else if (S.shadowRoot.mode !== "open")
648
- throw new Error(
649
- `Unable to re-use existing shadow root for ${g.$tagName$}! Mode is set to ${S.shadowRoot.mode} but Stencil only supports open shadow roots.`
650
- );
651
- }
652
- }
653
- connectedCallback() {
654
- const S = w(this);
655
- this.hasRegisteredEventListeners || (this.hasRegisteredEventListeners = !0, Se(this, S, g.$listeners$)), u && (clearTimeout(u), u = null), f ? c.push(this) : h.jmp(() => it(this));
656
- }
657
- disconnectedCallback() {
658
- h.jmp(() => $t(this)), h.raf(() => {
659
- var S;
660
- const I = w(this), Z = c.findIndex((ke) => ke === this);
661
- Z > -1 && c.splice(Z, 1), ((S = I == null ? void 0 : I.$vnode$) == null ? void 0 : S.$elm$) instanceof Node && !I.$vnode$.$elm$.isConnected && delete I.$vnode$.$elm$;
662
- });
663
- }
664
- componentOnReady() {
665
- return w(this).$onReadyPromise$;
666
- }
667
- };
668
- g.$lazyBundleId$ = p[0], !$.includes(_) && !i.get(_) && (r.push(_), i.define(
669
- _,
670
- ye(
671
- Ee,
672
- g,
673
- 1
674
- /* isElementConstructor */
675
- )
676
- ));
677
- });
678
- }), r.length > 0 && (d && (o.textContent += re), o.textContent += r.sort() + Oe, o.innerHTML.length)) {
679
- o.setAttribute("data-styles", "");
680
- const p = (n = h.$nonce$) != null ? n : $e(E);
681
- p != null && o.setAttribute("nonce", p), l.insertBefore(o, a ? a.nextSibling : l.firstChild);
682
- }
683
- f = !1, c.length ? c.map((p) => p.connectedCallback()) : h.jmp(() => u = setTimeout(ge, 30)), s();
684
- }, Se = (e, t, n, s) => {
685
- n && n.map(([r, $, i]) => {
686
- const l = ot(e, r), a = at(t, i), o = ct(r);
687
- h.ael(l, $, a, o), (t.$rmListeners$ = t.$rmListeners$ || []).push(() => h.rel(l, $, a, o));
688
- });
689
- }, at = (e, t) => (n) => {
690
- var s;
691
- try {
692
- e.$flags$ & 256 ? (s = e.$lazyInstance$) == null || s[t](n) : (e.$queuedListeners$ = e.$queuedListeners$ || []).push([t, n]);
693
- } catch (r) {
694
- L(r, e.$hostElement$);
695
- }
696
- }, ot = (e, t) => t & 4 ? E : t & 16 ? E.body : e, ct = (e) => je ? {
697
- passive: (e & 1) !== 0,
698
- capture: (e & 2) !== 0
699
- } : (e & 2) !== 0;
700
- export {
701
- Ge as H,
702
- pt as b,
703
- dt as c,
704
- Ye as g,
705
- We as h,
706
- Ae as p,
707
- ut as r
708
- };