@everymatrix/player-account-controller-nd 1.99.58 → 1.99.59

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 (248) hide show
  1. package/components/{GeneralLogout-hzxcca4g.js → GeneralLogout-8wMTGRDy.js} +1 -1
  2. package/components/{GeneralLogout-DE1G5qne.cjs → GeneralLogout-B_Tr6McQ.cjs} +1 -1
  3. package/components/{GeneralLogout-DAcREKuX.js → GeneralLogout-Df2tEV_j.js} +1 -1
  4. package/components/{PlayerAccountBettingHistory-XkhknU8q.js → PlayerAccountBettingHistory-C1DpLVso.js} +1 -1
  5. package/components/{PlayerAccountBettingHistory-D1dYetLd.cjs → PlayerAccountBettingHistory-CEHzLPmX.cjs} +1 -1
  6. package/components/{PlayerAccountBettingHistory-CAy1vCGg.js → PlayerAccountBettingHistory-CWBfZhuO.js} +1 -1
  7. package/components/{PlayerAccountBiometrics-DJBary0q.js → PlayerAccountBiometrics-BrF2QlJ9.js} +2 -2
  8. package/components/{PlayerAccountBiometrics-CO93zEnR.js → PlayerAccountBiometrics-CatuEsZS.js} +2 -2
  9. package/components/{PlayerAccountBiometrics-BoEpHqqy.cjs → PlayerAccountBiometrics-Qkot14Nw.cjs} +1 -1
  10. package/components/{PlayerAccountBiometricsAction-C_jU-jZP.cjs → PlayerAccountBiometricsAction-CpV0a4zN.cjs} +1 -1
  11. package/components/{PlayerAccountBiometricsAction-BCVjGoBT.js → PlayerAccountBiometricsAction-PXIbQUKQ.js} +3 -5
  12. package/components/{PlayerAccountBiometricsAction-DZjOSonC.js → PlayerAccountBiometricsAction-yS5_Epi1.js} +3 -5
  13. package/components/{PlayerAccountClosureNd-CX4GufC3.cjs → PlayerAccountClosureNd--GHgFzVF.cjs} +1 -1
  14. package/components/{PlayerAccountClosureNd-BRIAFwYy.js → PlayerAccountClosureNd-BXRvTzVO.js} +2 -2
  15. package/components/{PlayerAccountClosureNd-Cf6kp8Na.js → PlayerAccountClosureNd-CBS8QECX.js} +2 -2
  16. package/components/{PlayerAccountControllerNd-DDqzFGRm.js → PlayerAccountControllerNd-BpyLuXtA.js} +113 -193
  17. package/components/{PlayerAccountControllerNd-D6zZL73A.js → PlayerAccountControllerNd-CoEaKJEO.js} +112 -192
  18. package/components/{PlayerAccountControllerNd-BSIEz5Rm.cjs → PlayerAccountControllerNd-DV54Hl05.cjs} +2 -2
  19. package/components/{PlayerAccountGamingLimits-CCr3u4pe.js → PlayerAccountGamingLimits-B6CJyCXE.js} +2 -2
  20. package/components/{PlayerAccountGamingLimits-e7fD3Bxq.js → PlayerAccountGamingLimits-BVyoTWZr.js} +2 -2
  21. package/components/{PlayerAccountGamingLimits-CCX33x-o.cjs → PlayerAccountGamingLimits-CHNQrQ6Z.cjs} +1 -1
  22. package/components/{PlayerAccountGamingLimitsConfirmationModal-D1SNvaxD.cjs → PlayerAccountGamingLimitsConfirmationModal-B-Pbd0f9.cjs} +1 -1
  23. package/components/{PlayerAccountGamingLimitsConfirmationModal-BH6Tba2q.js → PlayerAccountGamingLimitsConfirmationModal-CwK5s6-X.js} +1 -1
  24. package/components/{PlayerAccountGamingLimitsConfirmationModal-DIiS6l5I.js → PlayerAccountGamingLimitsConfirmationModal-Dqp0L0N-.js} +1 -1
  25. package/components/{PlayerAccountGamingLimitsGroupEdit-qKWvI2q6.js → PlayerAccountGamingLimitsGroupEdit-8vRP46ti.js} +8 -9
  26. package/components/{PlayerAccountGamingLimitsGroupEdit-C5fMFwVN.js → PlayerAccountGamingLimitsGroupEdit-CFaQW5Xw.js} +8 -9
  27. package/components/{PlayerAccountGamingLimitsGroupEdit-ywqXTXzi.cjs → PlayerAccountGamingLimitsGroupEdit-P7eVJD4o.cjs} +1 -1
  28. package/components/{PlayerAccountGamingLimitsHistory2Nd-DMjRNmzP.js → PlayerAccountGamingLimitsHistory2Nd-AwepMJyS.js} +2 -3
  29. package/components/{PlayerAccountGamingLimitsHistory2Nd-ChJ3Ab0E.cjs → PlayerAccountGamingLimitsHistory2Nd-BZZbRy1H.cjs} +1 -1
  30. package/components/{PlayerAccountGamingLimitsHistory2Nd-dwuJSphW.js → PlayerAccountGamingLimitsHistory2Nd-BfDvaj4E.js} +2 -3
  31. package/components/{PlayerAccountGamingLimitsInfoCard-3NfO092R.js → PlayerAccountGamingLimitsInfoCard-Cq1G2koe.js} +8 -12
  32. package/components/{PlayerAccountGamingLimitsInfoCard-9--NlOvC.cjs → PlayerAccountGamingLimitsInfoCard-ES6K2FOK.cjs} +1 -1
  33. package/components/{PlayerAccountGamingLimitsInfoCard-lHAWQT7p.js → PlayerAccountGamingLimitsInfoCard-IVhOyKZj.js} +8 -12
  34. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-DdWk1fdR.js → PlayerAccountGamingLimitsPage2Gm16Nd-CYxIxOg9.js} +32 -62
  35. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Dlb-5Vcj.js → PlayerAccountGamingLimitsPage2Gm16Nd-DuDWXcpD.js} +32 -62
  36. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-oV37_3_p.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-u5EAdak4.cjs} +1 -1
  37. package/components/{PlayerAccountGamingLimitsPopup-cgXDnT2G.js → PlayerAccountGamingLimitsPopup-Bx181x-m.js} +1 -1
  38. package/components/{PlayerAccountGamingLimitsPopup-COjds8OD.cjs → PlayerAccountGamingLimitsPopup-DiHAugt4.cjs} +1 -1
  39. package/components/{PlayerAccountGamingLimitsPopup-BjEyH__S.js → PlayerAccountGamingLimitsPopup-h3EBnoNt.js} +1 -1
  40. package/components/{PlayerAccountGamingLimitsWrapper2Nd-DGd21odS.js → PlayerAccountGamingLimitsWrapper2Nd-ByYbfRQi.js} +3 -3
  41. package/components/{PlayerAccountGamingLimitsWrapper2Nd-z1Wmbuq4.cjs → PlayerAccountGamingLimitsWrapper2Nd-ChustIby.cjs} +1 -1
  42. package/components/{PlayerAccountGamingLimitsWrapper2Nd-DCdd3vYk.js → PlayerAccountGamingLimitsWrapper2Nd-DWMV7anS.js} +3 -3
  43. package/components/{PlayerAccountGeneralConfirmationModal-BBYjzyYd.cjs → PlayerAccountGeneralConfirmationModal-Ccfy5jx9.cjs} +1 -1
  44. package/components/{PlayerAccountGeneralConfirmationModal-BgB3TB3Z.js → PlayerAccountGeneralConfirmationModal-CjzyuNjK.js} +1 -1
  45. package/components/{PlayerAccountGeneralConfirmationModal-C_hu4Oo-.js → PlayerAccountGeneralConfirmationModal-Dm3aP6fQ.js} +1 -1
  46. package/components/{PlayerAccountMenuNd-BkjFBJ94.cjs → PlayerAccountMenuNd-BFf_Ixaf.cjs} +1 -1
  47. package/components/{PlayerAccountMenuNd-DOWSOBNS.js → PlayerAccountMenuNd-DL1FWOfl.js} +3 -3
  48. package/components/{PlayerAccountMenuNd-BpFSNP_K.js → PlayerAccountMenuNd-KNvWHKmn.js} +3 -3
  49. package/components/{PlayerAccountModal-B0JRSvRH.cjs → PlayerAccountModal--QiSnBtU.cjs} +1 -1
  50. package/components/{PlayerAccountModal-DIk_55DN.js → PlayerAccountModal-D3qATKj_.js} +1 -1
  51. package/components/{PlayerAccountModal-Cbpt2l2m.js → PlayerAccountModal-he9-3Ol-.js} +1 -1
  52. package/components/{PlayerAccountNotifications-COi9jF2W.js → PlayerAccountNotifications-BcQ8FD-W.js} +4 -6
  53. package/components/{PlayerAccountNotifications-DeHuoBfU.cjs → PlayerAccountNotifications-DgJedpa5.cjs} +1 -1
  54. package/components/{PlayerAccountNotifications-BSWIN_g6.js → PlayerAccountNotifications-DukGyUEV.js} +4 -6
  55. package/components/{PlayerAccountProductRestriction-DXYWhNHH.js → PlayerAccountProductRestriction-B6O6nkZO.js} +7 -8
  56. package/components/{PlayerAccountProductRestriction-vMbM9MNm.js → PlayerAccountProductRestriction-DJ63eG4V.js} +7 -8
  57. package/components/{PlayerAccountProductRestriction-Cksx5toT.cjs → PlayerAccountProductRestriction-DLCUKXpq.cjs} +1 -1
  58. package/components/{PlayerAccountReviewFrequency-B_JEbZ4y.js → PlayerAccountReviewFrequency-B18AfnLo.js} +2 -2
  59. package/components/{PlayerAccountReviewFrequency-Cv2NA5bq.js → PlayerAccountReviewFrequency-CrVq3J9v.js} +2 -2
  60. package/components/{PlayerAccountReviewFrequency-Mhnjx9vQ.cjs → PlayerAccountReviewFrequency-pumQi-YF.cjs} +1 -1
  61. package/components/{PlayerAccountSelfExclusionNd-rVVmjj7C.cjs → PlayerAccountSelfExclusionNd-B2nwt48V.cjs} +1 -1
  62. package/components/{PlayerAccountSelfExclusionNd-C2ouNxtj.js → PlayerAccountSelfExclusionNd-CNgCn8AR.js} +25 -36
  63. package/components/{PlayerAccountSelfExclusionNd-B_RPUgf_.js → PlayerAccountSelfExclusionNd-Dm4TeIxj.js} +25 -36
  64. package/components/{PlayerAccountTimeout-CsGl9foN.cjs → PlayerAccountTimeout-BPaAKgDV.cjs} +1 -1
  65. package/components/{PlayerAccountTimeout-CdF679jb.js → PlayerAccountTimeout-BfQ_DNvm.js} +67 -121
  66. package/components/{PlayerAccountTimeout-BBul9svU.js → PlayerAccountTimeout-CehfycL4.js} +67 -121
  67. package/components/{PlayerAccountTransactionsHistory-BW-CSSlN.js → PlayerAccountTransactionsHistory-BOPm3c-l.js} +15 -25
  68. package/components/{PlayerAccountTransactionsHistory-U181A9Te.js → PlayerAccountTransactionsHistory-CjIjNZDr.js} +15 -25
  69. package/components/{PlayerAccountTransactionsHistory-CgtRAbkK.cjs → PlayerAccountTransactionsHistory-Vz1GbV6a.cjs} +1 -1
  70. package/components/{PlayerActiveBonuses-BPo4OyXA.cjs → PlayerActiveBonuses-BmLW2U7z.cjs} +1 -1
  71. package/components/{PlayerActiveBonuses-DWO_c6oE.js → PlayerActiveBonuses-DQEG7VVC.js} +2 -2
  72. package/components/{PlayerActiveBonuses-DeaT3RZQ.js → PlayerActiveBonuses-DjZI3Tsj.js} +2 -2
  73. package/components/{PlayerBonusCard-BTra1xmi.cjs → PlayerBonusCard-B_y306PB.cjs} +1 -1
  74. package/components/{PlayerBonusCard-CDcf8f1V.js → PlayerBonusCard-BkeNJuRG.js} +2 -2
  75. package/components/{PlayerBonusCard-B45NLNI4.js → PlayerBonusCard-q_atpoy1.js} +2 -2
  76. package/components/{PlayerBonusHistory-C3VrbKCo.js → PlayerBonusHistory-B8UyMG2i.js} +470 -822
  77. package/components/{PlayerBonusHistory-BcHojOjX.js → PlayerBonusHistory-Dfiz7Ufs.js} +470 -822
  78. package/components/{PlayerBonusHistory-mbc4-NJM.cjs → PlayerBonusHistory-Dy8GRg7K.cjs} +2 -2
  79. package/components/{PlayerChangePasswordNd-ZGaQjOxh.js → PlayerChangePasswordNd-B-ckQb5j.js} +5 -9
  80. package/components/{PlayerChangePasswordNd-StJSiXQi.js → PlayerChangePasswordNd-Q0-0LzFd.js} +5 -9
  81. package/components/{PlayerChangePasswordNd-DAKYArPi.cjs → PlayerChangePasswordNd-kfBqQcFU.cjs} +1 -1
  82. package/components/{PlayerDeposit-CULrlbaj.cjs → PlayerDeposit-CUNykiS2.cjs} +1 -1
  83. package/components/{PlayerDeposit-DcrT6NM5.js → PlayerDeposit-D9pnDQ72.js} +1 -1
  84. package/components/{PlayerDeposit-THdXz9PJ.js → PlayerDeposit-IWUtmkdA.js} +1 -1
  85. package/components/{PlayerGamingHistory-tOWY4wQc.js → PlayerGamingHistory-BwA7bue0.js} +3 -3
  86. package/components/{PlayerGamingHistory-Bi3vSyAP.cjs → PlayerGamingHistory-CAWcXMDM.cjs} +1 -1
  87. package/components/{PlayerGamingHistory-OjfxwzM3.js → PlayerGamingHistory-D2ygyFQj.js} +3 -3
  88. package/components/{PlayerPendingWithdrawals-HaGN7vcO.js → PlayerPendingWithdrawals-B1DtNkWj.js} +1 -1
  89. package/components/{PlayerPendingWithdrawals-BrRw6On8.cjs → PlayerPendingWithdrawals-CmaTv3Xo.cjs} +1 -1
  90. package/components/{PlayerPendingWithdrawals-DdJBITfy.js → PlayerPendingWithdrawals-NruoAjs2.js} +1 -1
  91. package/components/{PlayerProfileInfo-B2jofHHZ.cjs → PlayerProfileInfo-BN_nmL2_.cjs} +1 -1
  92. package/components/{PlayerProfileInfo-oXqyvS0n.js → PlayerProfileInfo-BlAtv9JQ.js} +13 -15
  93. package/components/{PlayerProfileInfo-Fks_j7dG.js → PlayerProfileInfo-C6mpr0NI.js} +13 -15
  94. package/components/{PlayerRealityCheck-CnmsSUD-.js → PlayerRealityCheck-BMEE0YuO.js} +2 -2
  95. package/components/{PlayerRealityCheck-Pof9wQKF.cjs → PlayerRealityCheck-C07ALoZc.cjs} +1 -1
  96. package/components/{PlayerRealityCheck-BYhGlTIr.js → PlayerRealityCheck-e4OXfVRc.js} +2 -2
  97. package/components/{PlayerTransactionHistory-D4PMj0yu.cjs → PlayerTransactionHistory-BGMhKZ1A.cjs} +1 -1
  98. package/components/{PlayerTransactionHistory-BdgwvkWD.js → PlayerTransactionHistory-CpG8GGZl.js} +1 -1
  99. package/components/{PlayerTransactionHistory-Bl2ynx42.js → PlayerTransactionHistory-Du0SUmkH.js} +1 -1
  100. package/components/{PlayerWithdrawal-pTo28WG0.js → PlayerWithdrawal-C5VtcCek.js} +1 -1
  101. package/components/{PlayerWithdrawal-D4j7gnQO.cjs → PlayerWithdrawal-DC7xcl_E.cjs} +1 -1
  102. package/components/{PlayerWithdrawal-DHfd9JO-.js → PlayerWithdrawal-DZrMEmpo.js} +1 -1
  103. package/components/{QrSessionGenerator-CMi9EJ3z.js → QrSessionGenerator-BWEmjjNF.js} +13 -25
  104. package/components/{QrSessionGenerator-zb4CoxMc.cjs → QrSessionGenerator-GLH14lh4.cjs} +1 -1
  105. package/components/{QrSessionGenerator-ByWQd2Ww.js → QrSessionGenerator-Vv6Go1KV.js} +13 -25
  106. package/es2015/player-account-controller-nd.cjs +1 -1
  107. package/es2015/player-account-controller-nd.js +1 -1
  108. package/esnext/player-account-controller-nd.js +1 -1
  109. package/lazy/{general-logout-CGZ9g6z0.js → general-logout-BRa7oFTH.js} +1 -1
  110. package/lazy/{general-logout-D5Mm_VU_.js → general-logout-CLYmbIxd.js} +1 -1
  111. package/lazy/{general-logout-Dl65wE-i.cjs → general-logout-YWvdiNnI.cjs} +1 -1
  112. package/lazy/{pam-change-password-YH41lYLQ.js → pam-change-password-CQt7gN7c.js} +22 -24
  113. package/lazy/{pam-change-password-Rbve9bg2.js → pam-change-password-DhlCSZKU.js} +22 -24
  114. package/lazy/{pam-change-password-BlRpneHq.cjs → pam-change-password-gS1FNvTB.cjs} +1 -1
  115. package/lazy/{player-account-betting-history-YegSobZE.cjs → player-account-betting-history-BU7En8At.cjs} +1 -1
  116. package/lazy/{player-account-betting-history-BtRNsGdH.js → player-account-betting-history-DarYTbFb.js} +1 -1
  117. package/lazy/{player-account-betting-history-D0D53Fp2.js → player-account-betting-history-kZZmwxEQ.js} +1 -1
  118. package/lazy/{player-account-biometrics-lVJOgS5W.js → player-account-biometrics-9Jp_DBRA.js} +1 -1
  119. package/lazy/{player-account-biometrics-Z_Uled3B.js → player-account-biometrics-BHuyyrb4.js} +1 -1
  120. package/lazy/{player-account-biometrics-ksd6XNnu.cjs → player-account-biometrics-C6UudRfc.cjs} +1 -1
  121. package/lazy/{player-account-biometrics-action-3j7grMAO.js → player-account-biometrics-action-9_34yNMa.js} +1 -1
  122. package/lazy/{player-account-biometrics-action-vKXS62Ob.js → player-account-biometrics-action-CHMqzmo6.js} +1 -1
  123. package/lazy/{player-account-biometrics-action-DZ89dBTy.cjs → player-account-biometrics-action-D5uhErfh.cjs} +1 -1
  124. package/lazy/{player-account-closure-nd-BL-w5-Zh.js → player-account-closure-nd-Bk3IGPQs.js} +1 -1
  125. package/lazy/{player-account-closure-nd-DqaPSBqI.cjs → player-account-closure-nd-C4ZcOm71.cjs} +1 -1
  126. package/lazy/{player-account-closure-nd-BrEfra5h.js → player-account-closure-nd-RKYEJxSX.js} +1 -1
  127. package/lazy/{player-account-gaming-limits-BUs2Xm1Y.cjs → player-account-gaming-limits-CvvZ8lBz.cjs} +1 -1
  128. package/lazy/{player-account-gaming-limits-CDK98q-T.js → player-account-gaming-limits-LSQdj5rC.js} +1 -1
  129. package/lazy/{player-account-gaming-limits-BqrEl_dr.js → player-account-gaming-limits-X-DXA1to.js} +1 -1
  130. package/lazy/{player-account-gaming-limits-confirmation-modal-BpQLh714.js → player-account-gaming-limits-confirmation-modal-C81iaJi7.js} +1 -1
  131. package/lazy/{player-account-gaming-limits-confirmation-modal-BRRIGM4D.js → player-account-gaming-limits-confirmation-modal-CQboPROf.js} +1 -1
  132. package/lazy/{player-account-gaming-limits-confirmation-modal-BvCuS-YC.cjs → player-account-gaming-limits-confirmation-modal-D-MdzvHG.cjs} +1 -1
  133. package/lazy/{player-account-gaming-limits-group-edit-CfUcK0T-.cjs → player-account-gaming-limits-group-edit-C2KG_WD3.cjs} +1 -1
  134. package/lazy/{player-account-gaming-limits-group-edit-Cxls2CRm.js → player-account-gaming-limits-group-edit-QPhaZZ4g.js} +1 -1
  135. package/lazy/{player-account-gaming-limits-group-edit-CTqHhP5e.js → player-account-gaming-limits-group-edit-XTdrALvy.js} +1 -1
  136. package/lazy/{player-account-gaming-limits-history-2-nd-BSe1kTbG.js → player-account-gaming-limits-history-2-nd-BwwKHGUP.js} +1 -1
  137. package/lazy/{player-account-gaming-limits-history-2-nd-BT5VG3PA.cjs → player-account-gaming-limits-history-2-nd-C8VqM5qX.cjs} +1 -1
  138. package/lazy/{player-account-gaming-limits-history-2-nd-8wq8ZksT.js → player-account-gaming-limits-history-2-nd-D55d3WUh.js} +1 -1
  139. package/lazy/{player-account-gaming-limits-info-card-BTY6_XTu.js → player-account-gaming-limits-info-card-BYvB6TfO.js} +1 -1
  140. package/lazy/{player-account-gaming-limits-info-card-DlELJghe.js → player-account-gaming-limits-info-card-DvizEm9E.js} +1 -1
  141. package/lazy/{player-account-gaming-limits-info-card-BFlK_Kyp.cjs → player-account-gaming-limits-info-card-EIbtUiFM.cjs} +1 -1
  142. package/lazy/{player-account-gaming-limits-page-2-gm16-nd-CS6n0CD7.cjs → player-account-gaming-limits-page-2-gm16-nd-Bdc9AF2V.cjs} +1 -1
  143. package/lazy/{player-account-gaming-limits-page-2-gm16-nd-C3vC8f91.js → player-account-gaming-limits-page-2-gm16-nd-DCs5ekLS.js} +1 -1
  144. package/lazy/{player-account-gaming-limits-page-2-gm16-nd-DL8mJnBd.js → player-account-gaming-limits-page-2-gm16-nd-jL3g5EM3.js} +1 -1
  145. package/lazy/{player-account-gaming-limits-popup-ChQMBIi4.js → player-account-gaming-limits-popup-C-FxPjHK.js} +1 -1
  146. package/lazy/{player-account-gaming-limits-popup-BZ0pgEQj.js → player-account-gaming-limits-popup-NmLrg23B.js} +1 -1
  147. package/lazy/{player-account-gaming-limits-popup-C9LHubZ5.cjs → player-account-gaming-limits-popup-q2ChaCJV.cjs} +1 -1
  148. package/lazy/{player-account-gaming-limits-wrapper-2-nd-DuDWa-EF.js → player-account-gaming-limits-wrapper-2-nd-B1CLqxg8.js} +1 -1
  149. package/lazy/{player-account-gaming-limits-wrapper-2-nd-BRqOnXTj.cjs → player-account-gaming-limits-wrapper-2-nd-Ct4Ot1zY.cjs} +1 -1
  150. package/lazy/{player-account-gaming-limits-wrapper-2-nd-BLRsq-6k.js → player-account-gaming-limits-wrapper-2-nd-N9xKrQL4.js} +1 -1
  151. package/lazy/{player-account-general-confirmation-modal--HCilWzL.js → player-account-general-confirmation-modal-C_falRjk.js} +1 -1
  152. package/lazy/{player-account-general-confirmation-modal-BVezEO85.cjs → player-account-general-confirmation-modal-PTOjbtqO.cjs} +1 -1
  153. package/lazy/{player-account-general-confirmation-modal-BVOLODHo.js → player-account-general-confirmation-modal-tWM1iF7D.js} +1 -1
  154. package/lazy/{player-account-menu-nd-DmQnVgLs.js → player-account-menu-nd-BUXebTFM.js} +1 -1
  155. package/lazy/{player-account-menu-nd-DEaKsJwE.js → player-account-menu-nd-ByiaAuBh.js} +1 -1
  156. package/lazy/{player-account-menu-nd-C84EOh2Z.cjs → player-account-menu-nd-D57UZIdB.cjs} +1 -1
  157. package/lazy/{player-account-modal-sq0boxfH.js → player-account-modal-C_OUrtid.js} +1 -1
  158. package/lazy/{player-account-modal-CyDkof9V.cjs → player-account-modal-Dhnkrozt.cjs} +1 -1
  159. package/lazy/{player-account-modal-_R3DlDyk.js → player-account-modal-DmNBMFMU.js} +1 -1
  160. package/lazy/{player-account-notifications-BxqcVI6r.js → player-account-notifications-BUT2JjWt.js} +1 -1
  161. package/lazy/{player-account-notifications-BJdZRhbt.cjs → player-account-notifications-PdMNdxWj.cjs} +1 -1
  162. package/lazy/{player-account-notifications-KO8aidPQ.js → player-account-notifications-fxN7fdL1.js} +1 -1
  163. package/lazy/{player-account-product-restriction-XzfoTiUL.js → player-account-product-restriction-DJQ6_-Qa.js} +1 -1
  164. package/lazy/{player-account-product-restriction-CdV4A_Q1.js → player-account-product-restriction-Dl4xRpdd.js} +1 -1
  165. package/lazy/{player-account-product-restriction-C2KIx4ug.cjs → player-account-product-restriction-RKQRrg0d.cjs} +1 -1
  166. package/lazy/{player-account-review-frequency-CAWm9ruH.js → player-account-review-frequency-C8e3Ofe6.js} +1 -1
  167. package/lazy/{player-account-review-frequency-CGZwajWN.cjs → player-account-review-frequency-CaFEVUiS.cjs} +1 -1
  168. package/lazy/{player-account-review-frequency-DCItKt4Y.js → player-account-review-frequency-Dbt7jaw2.js} +1 -1
  169. package/lazy/{player-account-self-exclusion-nd-BvqFyx7e.cjs → player-account-self-exclusion-nd-C3m55rUx.cjs} +1 -1
  170. package/lazy/{player-account-self-exclusion-nd-tTIK6ZX2.js → player-account-self-exclusion-nd-CMzyeF2O.js} +1 -1
  171. package/lazy/{player-account-self-exclusion-nd-4bApEK4f.js → player-account-self-exclusion-nd-igOQinVk.js} +1 -1
  172. package/lazy/{player-account-timeout-B5u3PFUS.js → player-account-timeout-B036_0d9.js} +1 -1
  173. package/lazy/{player-account-timeout-BUWAzN7Q.js → player-account-timeout-BEUUFWEp.js} +1 -1
  174. package/lazy/{player-account-timeout-DKXz2_XT.cjs → player-account-timeout-BMpiKef8.cjs} +1 -1
  175. package/lazy/{player-account-transactions-history-CoAqwzrw.js → player-account-transactions-history-BnoNxzuA.js} +1 -1
  176. package/lazy/{player-account-transactions-history-BeqShBGP.js → player-account-transactions-history-CyT_-CGQ.js} +1 -1
  177. package/lazy/{player-account-transactions-history-CAQw-19U.cjs → player-account-transactions-history-TfnyUsxn.cjs} +1 -1
  178. package/lazy/{player-active-bonuses-CJseEz5v.js → player-active-bonuses-C6aV91wc.js} +1 -1
  179. package/lazy/{player-active-bonuses-fvbFAgX-.cjs → player-active-bonuses-CsFNdeVv.cjs} +1 -1
  180. package/lazy/{player-active-bonuses-DbUl-0-V.js → player-active-bonuses-DqiT3imY.js} +1 -1
  181. package/lazy/{player-bonus-card-CsQaALnV.js → player-bonus-card-BkThed60.js} +1 -1
  182. package/lazy/{player-bonus-card-DJjpxQs0.js → player-bonus-card-CmK7JuVs.js} +1 -1
  183. package/lazy/{player-bonus-card-D5ePfc0C.cjs → player-bonus-card-DDxqinXp.cjs} +1 -1
  184. package/lazy/{player-bonus-history-CRDhOz9p.cjs → player-bonus-history-B90I1d8P.cjs} +1 -1
  185. package/lazy/{player-bonus-history-5YlWeuM4.js → player-bonus-history-BTmzGOZd.js} +1 -1
  186. package/lazy/{player-bonus-history-Xas_WVgS.js → player-bonus-history-BjewgN6o.js} +1 -1
  187. package/lazy/{player-change-password-nd-CSm1iznG.js → player-change-password-nd--Eu7RVPL.js} +1 -1
  188. package/lazy/{player-change-password-nd-lKKYchhB.js → player-change-password-nd-CYgC2SpI.js} +1 -1
  189. package/lazy/{player-change-password-nd-CCBotjF7.cjs → player-change-password-nd-CcOG3Nyt.cjs} +1 -1
  190. package/lazy/{player-deposit-B_amCwBL.js → player-deposit-CCOOcgA1.js} +1 -1
  191. package/lazy/{player-deposit-CZfZIxMw.cjs → player-deposit-CqMXvpaZ.cjs} +1 -1
  192. package/lazy/{player-deposit-BOBG0KMM.js → player-deposit-zE7TJYA1.js} +1 -1
  193. package/lazy/{player-gaming-history-BatyEh8b.cjs → player-gaming-history-CC0GsrpC.cjs} +1 -1
  194. package/lazy/{player-gaming-history-BC8w4m8I.js → player-gaming-history-CXi3vfwK.js} +1 -1
  195. package/lazy/{player-gaming-history-_nBx93s6.js → player-gaming-history-W5sKfQCt.js} +1 -1
  196. package/lazy/{player-kyc-verification-CzP6GbxM.js → player-kyc-verification-BCZaFaTM.js} +2 -3
  197. package/lazy/{player-kyc-verification-qxyiuQFV.js → player-kyc-verification-CCSlizSF.js} +2 -3
  198. package/lazy/{player-pending-withdrawals-f2rwNVEj.js → player-pending-withdrawals-BEyih5KL.js} +1 -1
  199. package/lazy/{player-pending-withdrawals-DV3MBtND.js → player-pending-withdrawals-C9x40s9Q.js} +1 -1
  200. package/lazy/{player-pending-withdrawals-CfAFtOlc.cjs → player-pending-withdrawals-CrKrRCCj.cjs} +1 -1
  201. package/lazy/{player-profile-info-DeHpz5pE.cjs → player-profile-info-CQYbmwAF.cjs} +1 -1
  202. package/lazy/{player-profile-info-DAZ7LlzK.js → player-profile-info-Ch4sM284.js} +1 -1
  203. package/lazy/{player-profile-info-CaxAMHDu.js → player-profile-info-DJFe5Jxb.js} +1 -1
  204. package/lazy/{player-reality-check-dyAKwU9X.js → player-reality-check-BTj6SqVv.js} +1 -1
  205. package/lazy/{player-reality-check-b5PNqNZV.js → player-reality-check-CBG_fMO9.js} +1 -1
  206. package/lazy/{player-reality-check-CtgZIvUM.cjs → player-reality-check-Cwcwss6e.cjs} +1 -1
  207. package/lazy/{player-transaction-history-BQ3UXBCh.cjs → player-transaction-history-BIvw4k1U.cjs} +1 -1
  208. package/lazy/{player-transaction-history-C2ANpFes.js → player-transaction-history-D1OE0Quq.js} +1 -1
  209. package/lazy/{player-transaction-history-Ff12cwAz.js → player-transaction-history-h8r2RnJt.js} +1 -1
  210. package/lazy/{player-withdrawal-CoifhnTL.js → player-withdrawal-Bqkfqbul.js} +1 -1
  211. package/lazy/{player-withdrawal-CczkqHIH.cjs → player-withdrawal-CXGIJvjX.cjs} +1 -1
  212. package/lazy/{player-withdrawal-B2w8jt3A.js → player-withdrawal-DO_9su_q.js} +1 -1
  213. package/lazy/{qr-session-generator-DY9m0dQQ.js → qr-session-generator-BER1sOvn.js} +1 -1
  214. package/lazy/{qr-session-generator-2LDpjyU7.cjs → qr-session-generator-C3ny9pzb.cjs} +1 -1
  215. package/lazy/{qr-session-generator-BmChnpgC.js → qr-session-generator-WfzXLYdK.js} +1 -1
  216. package/lazy/{ui-skeleton-D_9rhDxL.js → ui-skeleton-BY0RPGFe.js} +2 -3
  217. package/lazy/{ui-skeleton-BBQWByBl.js → ui-skeleton-X4nG3YRg.js} +2 -3
  218. package/lazy/{user-deposit-withdrawal-d9iF0j_x.js → user-deposit-withdrawal-CW2M1VxT.js} +22 -24
  219. package/lazy/{user-deposit-withdrawal-CoRVJsis.js → user-deposit-withdrawal-DSpPqpYe.js} +22 -24
  220. package/lazy/{user-transaction-history-Djawy1ZV.cjs → user-transaction-history-BotBOUvU.cjs} +1 -1
  221. package/lazy/{user-transaction-history-aIst3Kg0.js → user-transaction-history-CPk9X09g.js} +23 -25
  222. package/lazy/{user-transaction-history-BmB73QI_.js → user-transaction-history-CrRzN-Te.js} +23 -25
  223. package/package.json +1 -1
  224. package/stencil/{checkbox-group-input_16-Ct_58vrG.js → checkbox-group-input_16-41494D-0.js} +471 -823
  225. package/stencil/{checkbox-group-input_16-BNFLgAEe.js → checkbox-group-input_16-D6LWZJu6.js} +471 -823
  226. package/stencil/{checkbox-group-input_16-D2G5IVGH.cjs → checkbox-group-input_16-mmCvpN9q.cjs} +2 -2
  227. package/stencil/{pam-change-password-173e4b25-Cfp_QE3-.js → pam-change-password-173e4b25-BBLKAOOj.js} +4 -7
  228. package/stencil/{pam-change-password-173e4b25-D4_5ZrVs.js → pam-change-password-173e4b25-Cmr-X1N4.js} +4 -7
  229. package/stencil/{pam-change-password-173e4b25-CZfB3WXD.cjs → pam-change-password-173e4b25-D9eRF4Nt.cjs} +1 -1
  230. package/stencil/{pam-change-password-Cy5rTiCb.js → pam-change-password-CDrVbMgt.js} +2 -2
  231. package/stencil/{pam-change-password-CSlnUJXh.cjs → pam-change-password-D8zIOztx.cjs} +1 -1
  232. package/stencil/{pam-change-password-C2WYWYwE.js → pam-change-password-jQlm4Ntx.js} +2 -2
  233. package/stencil/{player-kyc-verification-D_rF_mQm.js → player-kyc-verification-B29q2vLG.js} +4 -7
  234. package/stencil/{player-kyc-verification-DxrMs1Nv.js → player-kyc-verification-k-PCXQJX.js} +4 -7
  235. package/stencil/{player-step-up-auth_2-D4i7tfhP.js → player-step-up-auth_2-C-cJSHQZ.js} +26 -51
  236. package/stencil/{player-step-up-auth_2-BdP6VjsY.js → player-step-up-auth_2-DfgrMpFE.js} +26 -51
  237. package/stencil/{ui-skeleton-fEyshHrf.js → ui-skeleton-CSmLZsc_.js} +2 -2
  238. package/stencil/{ui-skeleton-Dd7tqzYw.js → ui-skeleton-D0qfL-IU.js} +2 -2
  239. package/stencil/{ui-skeleton-ed169f8f-DMVI4VdD.js → ui-skeleton-ed169f8f-BYlKntRA.js} +1 -1
  240. package/stencil/{ui-skeleton-ed169f8f-W8BHwBHY.js → ui-skeleton-ed169f8f-Bpwbv5t6.js} +1 -1
  241. package/stencil/{user-deposit-withdrawal-CC2LR4wK.js → user-deposit-withdrawal-3gchXK1B.js} +2 -2
  242. package/stencil/{user-deposit-withdrawal-BrzuBosZ.js → user-deposit-withdrawal-AIGWdUm_.js} +2 -2
  243. package/stencil/{user-transaction-history-BOBJWKcb.cjs → user-transaction-history-C6AKFwdI.cjs} +1 -1
  244. package/stencil/{user-transaction-history-C20PiMa8.js → user-transaction-history-CYiC9O9-.js} +2 -2
  245. package/stencil/{user-transaction-history-C9LS9_nf.js → user-transaction-history-DU1vLXrT.js} +2 -2
  246. package/stencil/{user-transaction-history_2-DQiK7wWw.js → user-transaction-history_2-B4cqW1zN.js} +472 -827
  247. package/stencil/{user-transaction-history_2-TdcvgBHP.cjs → user-transaction-history_2-B_I6pgbz.cjs} +2 -2
  248. package/stencil/{user-transaction-history_2-DXgLBYyf.js → user-transaction-history_2-C0gXLzko.js} +472 -827
@@ -1,4 +1,4 @@
1
- import { r as ya, g as po, h as m, H as Is, a as Ss, c as Ds } from "../lazy/user-transaction-history-BmB73QI_.js";
1
+ import { r as ya, g as po, h as m, H as Is, a as Ss, c as Ds } from "../lazy/user-transaction-history-CrRzN-Te.js";
2
2
  const Os = {
3
3
  en: {
4
4
  deposit: "Deposit",
@@ -1196,11 +1196,9 @@ function gl(i, e) {
1196
1196
  function bl(i) {
1197
1197
  return function(e) {
1198
1198
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = e.match(i.matchPattern);
1199
- if (!r)
1200
- return null;
1199
+ if (!r) return null;
1201
1200
  var o = r[0], a = e.match(i.parsePattern);
1202
- if (!a)
1203
- return null;
1201
+ if (!a) return null;
1204
1202
  var n = i.valueCallback ? i.valueCallback(a[0]) : a[0];
1205
1203
  n = t.valueCallback ? t.valueCallback(n) : n;
1206
1204
  var s = e.slice(o.length);
@@ -1454,8 +1452,7 @@ function vo(i, e) {
1454
1452
  }
1455
1453
  }
1456
1454
  function go(i, e) {
1457
- if (!i || !e)
1458
- return;
1455
+ if (!i || !e) return;
1459
1456
  const t = new URL(e);
1460
1457
  fetch(t.href).then((r) => r.text()).then((r) => {
1461
1458
  const o = document.createElement("style");
@@ -1465,8 +1462,7 @@ function go(i, e) {
1465
1462
  });
1466
1463
  }
1467
1464
  function Wl(i, e, t, r = !1) {
1468
- if (!window.emMessageBus)
1469
- return;
1465
+ if (!window.emMessageBus) return;
1470
1466
  if (!("adoptedStyleSheets" in Document.prototype) || !r)
1471
1467
  return t = ql(i, e), t;
1472
1468
  window[Ve] || (window[Ve] = {}), t = Yl(i, e);
@@ -1487,8 +1483,7 @@ function ql(i, e) {
1487
1483
  }
1488
1484
  function Yl(i, e) {
1489
1485
  return window.emMessageBus.subscribe(e, (t) => {
1490
- if (!i)
1491
- return;
1486
+ if (!i) return;
1492
1487
  const r = i.getRootNode(), o = window[Ve];
1493
1488
  let a = o[e] && o[e].sheet;
1494
1489
  a ? o[e].refCount = o[e].refCount + 1 : (a = new CSSStyleSheet(), a.replaceSync(t), o[e] = {
@@ -1501,14 +1496,12 @@ function Yl(i, e) {
1501
1496
  }
1502
1497
  function bo(i, e) {
1503
1498
  (e == null || e > i.length) && (e = i.length);
1504
- for (var t = 0, r = Array(e); t < e; t++)
1505
- r[t] = i[t];
1499
+ for (var t = 0, r = Array(e); t < e; t++) r[t] = i[t];
1506
1500
  return r;
1507
1501
  }
1508
1502
  function jl(i, e) {
1509
1503
  if (i) {
1510
- if (typeof i == "string")
1511
- return bo(i, e);
1504
+ if (typeof i == "string") return bo(i, e);
1512
1505
  var t = {}.toString.call(i).slice(8, -1);
1513
1506
  return t === "Object" && i.constructor && (t = i.constructor.name), t === "Map" || t === "Set" ? Array.from(i) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? bo(i, e) : void 0;
1514
1507
  }
@@ -1555,8 +1548,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1555
1548
  try {
1556
1549
  n || t.return == null || t.return();
1557
1550
  } finally {
1558
- if (s)
1559
- throw a;
1551
+ if (s) throw a;
1560
1552
  }
1561
1553
  }
1562
1554
  };
@@ -1569,8 +1561,7 @@ function Gl(i, e) {
1569
1561
  return i;
1570
1562
  }
1571
1563
  function v(i) {
1572
- if (i === void 0)
1573
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1564
+ if (i === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1574
1565
  return i;
1575
1566
  }
1576
1567
  function Yr(i, e) {
@@ -1579,8 +1570,7 @@ function Yr(i, e) {
1579
1570
  }, Yr(i, e);
1580
1571
  }
1581
1572
  function E(i, e) {
1582
- if (typeof e != "function" && e !== null)
1583
- throw new TypeError("Super expression must either be null or a function");
1573
+ if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function");
1584
1574
  i.prototype = Object.create(e && e.prototype, {
1585
1575
  constructor: {
1586
1576
  value: i,
@@ -1607,10 +1597,8 @@ function Oa() {
1607
1597
  })();
1608
1598
  }
1609
1599
  function Kl(i, e) {
1610
- if (e && (_e(e) == "object" || typeof e == "function"))
1611
- return e;
1612
- if (e !== void 0)
1613
- throw new TypeError("Derived constructors may only return object or undefined");
1600
+ if (e && (_e(e) == "object" || typeof e == "function")) return e;
1601
+ if (e !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
1614
1602
  return v(i);
1615
1603
  }
1616
1604
  function T(i) {
@@ -1620,23 +1608,19 @@ function T(i) {
1620
1608
  if (e) {
1621
1609
  var o = Jt(this).constructor;
1622
1610
  t = Reflect.construct(r, arguments, o);
1623
- } else
1624
- t = r.apply(this, arguments);
1611
+ } else t = r.apply(this, arguments);
1625
1612
  return Kl(this, t);
1626
1613
  };
1627
1614
  }
1628
1615
  function w(i, e) {
1629
- if (!(i instanceof e))
1630
- throw new TypeError("Cannot call a class as a function");
1616
+ if (!(i instanceof e)) throw new TypeError("Cannot call a class as a function");
1631
1617
  }
1632
1618
  function Xl(i, e) {
1633
- if (_e(i) != "object" || !i)
1634
- return i;
1619
+ if (_e(i) != "object" || !i) return i;
1635
1620
  var t;
1636
1621
  if (typeof Symbol < "u" && (t = i[Symbol.toPrimitive]) !== void 0) {
1637
1622
  var r = t.call(i, e);
1638
- if (_e(r) != "object")
1639
- return r;
1623
+ if (_e(r) != "object") return r;
1640
1624
  throw new TypeError("@@toPrimitive must return a primitive value.");
1641
1625
  }
1642
1626
  return (e === "string" ? String : Number)(i);
@@ -3352,8 +3336,7 @@ function Ba(i, e, t, r) {
3352
3336
  };
3353
3337
  for (ee.s(); !(ke = ee.n()).done; ) {
3354
3338
  var ao = As();
3355
- if (_e(ao) === "object")
3356
- return ao.v;
3339
+ if (_e(ao) === "object") return ao.v;
3357
3340
  }
3358
3341
  } catch (q) {
3359
3342
  ee.e(q);
@@ -3528,13 +3511,10 @@ const Xd = ':host{--activeButtonBackground:#7ec51e;--activeButtonFont:#002149;--
3528
3511
  };
3529
3512
  Jd.style = Qd;
3530
3513
  var Zd = Object.defineProperty, ec = Object.defineProperties, tc = Object.getOwnPropertyDescriptors, wo = Object.getOwnPropertySymbols, rc = Object.prototype.hasOwnProperty, ic = Object.prototype.propertyIsEnumerable, jr = (i, e, t) => e in i ? Zd(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, er = (i, e) => {
3531
- for (var t in e || (e = {}))
3532
- rc.call(e, t) && jr(i, t, e[t]);
3533
- if (wo)
3534
- for (var t of wo(e))
3535
- ic.call(e, t) && jr(i, t, e[t]);
3514
+ for (var t in e || (e = {})) rc.call(e, t) && jr(i, t, e[t]);
3515
+ if (wo) for (var t of wo(e)) ic.call(e, t) && jr(i, t, e[t]);
3536
3516
  return i;
3537
- }, Va = (i, e) => ec(i, tc(e)), X = (i, e, t) => (jr(i, typeof e != "symbol" ? e + "" : e, t), t), tr = (i, e, t) => new Promise((r, o) => {
3517
+ }, Va = (i, e) => ec(i, tc(e)), X = (i, e, t) => jr(i, typeof e != "symbol" ? e + "" : e, t), tr = (i, e, t) => new Promise((r, o) => {
3538
3518
  var a = (l) => {
3539
3519
  try {
3540
3520
  s(t.next(l));
@@ -3560,8 +3540,7 @@ function y(i, e = "24.5.10") {
3560
3540
  return e;
3561
3541
  } });
3562
3542
  const t = customElements.get(i.is);
3563
- if (!t)
3564
- customElements.define(i.is, i);
3543
+ if (!t) customElements.define(i.is, i);
3565
3544
  else {
3566
3545
  const r = t.version;
3567
3546
  r && i.version && r === i.version ? console.warn(`The component ${i.is} has been loaded twice`) : console.error(`Tried to define ${i.is} version ${i.version} when version ${t.version} is already in use. Something will probably break.`);
@@ -3586,8 +3565,7 @@ y(oc);
3586
3565
  const Gt = globalThis, wi = Gt.ShadowRoot && (Gt.ShadyCSS === void 0 || Gt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, xi = Symbol(), xo = /* @__PURE__ */ new WeakMap();
3587
3566
  let Ci = class {
3588
3567
  constructor(i, e, t) {
3589
- if (this._$cssResult$ = !0, t !== xi)
3590
- throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
3568
+ if (this._$cssResult$ = !0, t !== xi) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
3591
3569
  this.cssText = i, this.t = e;
3592
3570
  }
3593
3571
  get styleSheet() {
@@ -3605,25 +3583,20 @@ let Ci = class {
3605
3583
  };
3606
3584
  const ac = (i) => new Ci(typeof i == "string" ? i : i + "", void 0, xi), f = (i, ...e) => {
3607
3585
  const t = i.length === 1 ? i[0] : e.reduce((r, o, a) => r + ((n) => {
3608
- if (n._$cssResult$ === !0)
3609
- return n.cssText;
3610
- if (typeof n == "number")
3611
- return n;
3586
+ if (n._$cssResult$ === !0) return n.cssText;
3587
+ if (typeof n == "number") return n;
3612
3588
  throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
3613
3589
  })(o) + i[a + 1], i[0]);
3614
3590
  return new Ci(t, i, xi);
3615
3591
  }, Ra = (i, e) => {
3616
- if (wi)
3617
- i.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
3618
- else
3619
- for (const t of e) {
3620
- const r = document.createElement("style"), o = Gt.litNonce;
3621
- o !== void 0 && r.setAttribute("nonce", o), r.textContent = t.cssText, i.appendChild(r);
3622
- }
3592
+ if (wi) i.adoptedStyleSheets = e.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
3593
+ else for (const t of e) {
3594
+ const r = document.createElement("style"), o = Gt.litNonce;
3595
+ o !== void 0 && r.setAttribute("nonce", o), r.textContent = t.cssText, i.appendChild(r);
3596
+ }
3623
3597
  }, Co = wi ? (i) => i : (i) => i instanceof CSSStyleSheet ? ((e) => {
3624
3598
  let t = "";
3625
- for (const r of e.cssRules)
3626
- t += r.cssText;
3599
+ for (const r of e.cssRules) t += r.cssText;
3627
3600
  return ac(t);
3628
3601
  })(i) : i;
3629
3602
  /**
@@ -3692,25 +3665,20 @@ let Re = class extends HTMLElement {
3692
3665
  return (e = this.elementProperties.get(i)) != null ? e : To;
3693
3666
  }
3694
3667
  static _$Ei() {
3695
- if (this.hasOwnProperty(ft("elementProperties")))
3696
- return;
3668
+ if (this.hasOwnProperty(ft("elementProperties"))) return;
3697
3669
  const i = hc(this);
3698
3670
  i.finalize(), i.l !== void 0 && (this.l = [...i.l]), this.elementProperties = new Map(i.elementProperties);
3699
3671
  }
3700
3672
  static finalize() {
3701
- if (this.hasOwnProperty(ft("finalized")))
3702
- return;
3673
+ if (this.hasOwnProperty(ft("finalized"))) return;
3703
3674
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(ft("properties"))) {
3704
3675
  const e = this.properties, t = [...dc(e), ...cc(e)];
3705
- for (const r of t)
3706
- this.createProperty(r, e[r]);
3676
+ for (const r of t) this.createProperty(r, e[r]);
3707
3677
  }
3708
3678
  const i = this[Symbol.metadata];
3709
3679
  if (i !== null) {
3710
3680
  const e = litPropertyMetadata.get(i);
3711
- if (e !== void 0)
3712
- for (const [t, r] of e)
3713
- this.elementProperties.set(t, r);
3681
+ if (e !== void 0) for (const [t, r] of e) this.elementProperties.set(t, r);
3714
3682
  }
3715
3683
  this._$Eh = /* @__PURE__ */ new Map();
3716
3684
  for (const [e, t] of this.elementProperties) {
@@ -3723,10 +3691,8 @@ let Re = class extends HTMLElement {
3723
3691
  const e = [];
3724
3692
  if (Array.isArray(i)) {
3725
3693
  const t = new Set(i.flat(1 / 0).reverse());
3726
- for (const r of t)
3727
- e.unshift(Co(r));
3728
- } else
3729
- i !== void 0 && e.push(Co(i));
3694
+ for (const r of t) e.unshift(Co(r));
3695
+ } else i !== void 0 && e.push(Co(i));
3730
3696
  return e;
3731
3697
  }
3732
3698
  static _$Eu(i, e) {
@@ -3750,8 +3716,7 @@ let Re = class extends HTMLElement {
3750
3716
  }
3751
3717
  _$E_() {
3752
3718
  const i = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
3753
- for (const t of e.keys())
3754
- this.hasOwnProperty(t) && (i.set(t, this[t]), delete this[t]);
3719
+ for (const t of e.keys()) this.hasOwnProperty(t) && (i.set(t, this[t]), delete this[t]);
3755
3720
  i.size > 0 && (this._$Ep = i);
3756
3721
  }
3757
3722
  createRenderRoot() {
@@ -3800,8 +3765,7 @@ let Re = class extends HTMLElement {
3800
3765
  var a, n;
3801
3766
  if (i !== void 0) {
3802
3767
  const s = this.constructor;
3803
- if (r === !1 && (o = this[i]), t != null || (t = s.getPropertyOptions(i)), !(((a = t.hasChanged) != null ? a : $a)(o, e) || t.useDefault && t.reflect && o === ((n = this._$Ej) == null ? void 0 : n.get(i)) && !this.hasAttribute(s._$Eu(i, t))))
3804
- return;
3768
+ if (r === !1 && (o = this[i]), t != null || (t = s.getPropertyOptions(i)), !(((a = t.hasChanged) != null ? a : $a)(o, e) || t.useDefault && t.reflect && o === ((n = this._$Ej) == null ? void 0 : n.get(i)) && !this.hasAttribute(s._$Eu(i, t)))) return;
3805
3769
  this.C(i, e, t);
3806
3770
  }
3807
3771
  this.isUpdatePending === !1 && (this._$ES = this._$EP());
@@ -3827,20 +3791,17 @@ let Re = class extends HTMLElement {
3827
3791
  }
3828
3792
  performUpdate() {
3829
3793
  var i;
3830
- if (!this.isUpdatePending)
3831
- return;
3794
+ if (!this.isUpdatePending) return;
3832
3795
  if (!this.hasUpdated) {
3833
3796
  if (this.renderRoot != null || (this.renderRoot = this.createRenderRoot()), this._$Ep) {
3834
- for (const [o, a] of this._$Ep)
3835
- this[o] = a;
3797
+ for (const [o, a] of this._$Ep) this[o] = a;
3836
3798
  this._$Ep = void 0;
3837
3799
  }
3838
3800
  const r = this.constructor.elementProperties;
3839
- if (r.size > 0)
3840
- for (const [o, a] of r) {
3841
- const { wrapped: n } = a, s = this[o];
3842
- n !== !0 || this._$AL.has(o) || s === void 0 || this.C(o, void 0, a, s);
3843
- }
3801
+ if (r.size > 0) for (const [o, a] of r) {
3802
+ const { wrapped: n } = a, s = this[o];
3803
+ n !== !0 || this._$AL.has(o) || s === void 0 || this.C(o, void 0, a, s);
3804
+ }
3844
3805
  }
3845
3806
  let e = !1;
3846
3807
  const t = this._$AL;
@@ -3894,8 +3855,7 @@ const rr = globalThis, Po = (i) => i, ir = rr.trustedTypes, Io = ir ? ir.createP
3894
3855
  \f\r]`, st = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, So = /-->/g, Do = />/g, Ee = RegExp(`>|${Sr}(?:([^\\s"'>=/]+)(${Sr}*=${Sr}*(?:[^
3895
3856
  \f\r"'\`<>=]|("|')|))|$)`, "g"), Oo = /'/g, Mo = /"/g, Wa = /^(?:script|style|textarea|title)$/i, Ge = Symbol.for("lit-noChange"), Y = Symbol.for("lit-nothing"), zo = /* @__PURE__ */ new WeakMap(), Ae = Oe.createTreeWalker(Oe, 129);
3896
3857
  function qa(i, e) {
3897
- if (!ki(i) || !i.hasOwnProperty("raw"))
3898
- throw Error("invalid template strings array");
3858
+ if (!ki(i) || !i.hasOwnProperty("raw")) throw Error("invalid template strings array");
3899
3859
  return Io !== void 0 ? Io.createHTML(e) : e;
3900
3860
  }
3901
3861
  const fc = (i, e) => {
@@ -3904,8 +3864,7 @@ const fc = (i, e) => {
3904
3864
  for (let s = 0; s < t; s++) {
3905
3865
  const l = i[s];
3906
3866
  let d, c, h = -1, u = 0;
3907
- for (; u < l.length && (n.lastIndex = u, c = n.exec(l), c !== null); )
3908
- u = n.lastIndex, n === st ? c[1] === "!--" ? n = So : c[1] !== void 0 ? n = Do : c[2] !== void 0 ? (Wa.test(c[2]) && (o = RegExp("</" + c[2], "g")), n = Ee) : c[3] !== void 0 && (n = Ee) : n === Ee ? c[0] === ">" ? (n = o ?? st, h = -1) : c[1] === void 0 ? h = -2 : (h = n.lastIndex - c[2].length, d = c[1], n = c[3] === void 0 ? Ee : c[3] === '"' ? Mo : Oo) : n === Mo || n === Oo ? n = Ee : n === So || n === Do ? n = st : (n = Ee, o = void 0);
3867
+ for (; u < l.length && (n.lastIndex = u, c = n.exec(l), c !== null); ) u = n.lastIndex, n === st ? c[1] === "!--" ? n = So : c[1] !== void 0 ? n = Do : c[2] !== void 0 ? (Wa.test(c[2]) && (o = RegExp("</" + c[2], "g")), n = Ee) : c[3] !== void 0 && (n = Ee) : n === Ee ? c[0] === ">" ? (n = o ?? st, h = -1) : c[1] === void 0 ? h = -2 : (h = n.lastIndex - c[2].length, d = c[1], n = c[3] === void 0 ? Ee : c[3] === '"' ? Mo : Oo) : n === Mo || n === Oo ? n = Ee : n === So || n === Do ? n = st : (n = Ee, o = void 0);
3909
3868
  const p = n === Ee && i[s + 1].startsWith("/>") ? " " : "";
3910
3869
  a += n === st ? l + pc : h >= 0 ? (r.push(d), l.slice(0, h) + Ha + l.slice(h) + ye + p) : l + ye + (h === -2 ? s : p);
3911
3870
  }
@@ -3923,30 +3882,23 @@ class bt {
3923
3882
  }
3924
3883
  for (; (o = Ae.nextNode()) !== null && l.length < s; ) {
3925
3884
  if (o.nodeType === 1) {
3926
- if (o.hasAttributes())
3927
- for (const h of o.getAttributeNames())
3928
- if (h.endsWith(Ha)) {
3929
- const u = c[n++], p = o.getAttribute(h).split(ye), b = /([.?@])?(.*)/.exec(u);
3930
- l.push({ type: 1, index: a, name: b[2], strings: p, ctor: b[1] === "." ? vc : b[1] === "?" ? gc : b[1] === "@" ? bc : pr }), o.removeAttribute(h);
3931
- } else
3932
- h.startsWith(ye) && (l.push({ type: 6, index: a }), o.removeAttribute(h));
3885
+ if (o.hasAttributes()) for (const h of o.getAttributeNames()) if (h.endsWith(Ha)) {
3886
+ const u = c[n++], p = o.getAttribute(h).split(ye), b = /([.?@])?(.*)/.exec(u);
3887
+ l.push({ type: 1, index: a, name: b[2], strings: p, ctor: b[1] === "." ? vc : b[1] === "?" ? gc : b[1] === "@" ? bc : pr }), o.removeAttribute(h);
3888
+ } else h.startsWith(ye) && (l.push({ type: 6, index: a }), o.removeAttribute(h));
3933
3889
  if (Wa.test(o.tagName)) {
3934
3890
  const h = o.textContent.split(ye), u = h.length - 1;
3935
3891
  if (u > 0) {
3936
3892
  o.textContent = ir ? ir.emptyScript : "";
3937
- for (let p = 0; p < u; p++)
3938
- o.append(h[p], vt()), Ae.nextNode(), l.push({ type: 2, index: ++a });
3893
+ for (let p = 0; p < u; p++) o.append(h[p], vt()), Ae.nextNode(), l.push({ type: 2, index: ++a });
3939
3894
  o.append(h[u], vt());
3940
3895
  }
3941
3896
  }
3942
- } else if (o.nodeType === 8)
3943
- if (o.data === Ua)
3944
- l.push({ type: 2, index: a });
3945
- else {
3946
- let h = -1;
3947
- for (; (h = o.data.indexOf(ye, h + 1)) !== -1; )
3948
- l.push({ type: 7, index: a }), h += ye.length - 1;
3949
- }
3897
+ } else if (o.nodeType === 8) if (o.data === Ua) l.push({ type: 2, index: a });
3898
+ else {
3899
+ let h = -1;
3900
+ for (; (h = o.data.indexOf(ye, h + 1)) !== -1; ) l.push({ type: 7, index: a }), h += ye.length - 1;
3901
+ }
3950
3902
  a++;
3951
3903
  }
3952
3904
  }
@@ -3957,8 +3909,7 @@ class bt {
3957
3909
  }
3958
3910
  function Ke(i, e, t = i, r) {
3959
3911
  var o, a, n;
3960
- if (e === Ge)
3961
- return e;
3912
+ if (e === Ge) return e;
3962
3913
  let s = r !== void 0 ? (o = t._$Co) == null ? void 0 : o[r] : t._$Cl;
3963
3914
  const l = gt(e) ? void 0 : e._$litDirective$;
3964
3915
  return s?.constructor !== l && ((a = s?._$AO) == null || a.call(s, !1), l === void 0 ? s = void 0 : (s = new l(i), s._$AT(i, t, r)), r !== void 0 ? ((n = t._$Co) != null ? n : t._$Co = [])[r] = s : t._$Cl = s), s !== void 0 && (e = Ke(i, s._$AS(i, e.values), s, r)), e;
@@ -3989,8 +3940,7 @@ class _c {
3989
3940
  }
3990
3941
  p(e) {
3991
3942
  let t = 0;
3992
- for (const r of this._$AV)
3993
- r !== void 0 && (r.strings !== void 0 ? (r._$AI(e, r, t), t += r.strings.length - 2) : r._$AI(e[t])), t++;
3943
+ for (const r of this._$AV) r !== void 0 && (r.strings !== void 0 ? (r._$AI(e, r, t), t += r.strings.length - 2) : r._$AI(e[t])), t++;
3994
3944
  }
3995
3945
  }
3996
3946
  class It {
@@ -4028,8 +3978,7 @@ class It {
4028
3978
  $(e) {
4029
3979
  var t;
4030
3980
  const { values: r, _$litType$: o } = e, a = typeof o == "number" ? this._$AC(e) : (o.el === void 0 && (o.el = bt.createElement(qa(o.h, o.h[0]), this.options)), o);
4031
- if (((t = this._$AH) == null ? void 0 : t._$AD) === a)
4032
- this._$AH.p(r);
3981
+ if (((t = this._$AH) == null ? void 0 : t._$AD) === a) this._$AH.p(r);
4033
3982
  else {
4034
3983
  const n = new _c(a, this), s = n.u(this.options);
4035
3984
  n.p(r), this.T(s), this._$AH = n;
@@ -4043,8 +3992,7 @@ class It {
4043
3992
  ki(this._$AH) || (this._$AH = [], this._$AR());
4044
3993
  const t = this._$AH;
4045
3994
  let r, o = 0;
4046
- for (const a of e)
4047
- o === t.length ? t.push(r = new It(this.O(vt()), this.O(vt()), this, this.options)) : r = t[o], r._$AI(a), o++;
3995
+ for (const a of e) o === t.length ? t.push(r = new It(this.O(vt()), this.O(vt()), this, this.options)) : r = t[o], r._$AI(a), o++;
4048
3996
  o < t.length && (this._$AR(r && r._$AB.nextSibling, o), t.length = o);
4049
3997
  }
4050
3998
  _$AR(e = this._$AA.nextSibling, t) {
@@ -4072,13 +4020,11 @@ class pr {
4072
4020
  _$AI(e, t = this, r, o) {
4073
4021
  const a = this.strings;
4074
4022
  let n = !1;
4075
- if (a === void 0)
4076
- e = Ke(this, e, t, 0), n = !gt(e) || e !== this._$AH && e !== Ge, n && (this._$AH = e);
4023
+ if (a === void 0) e = Ke(this, e, t, 0), n = !gt(e) || e !== this._$AH && e !== Ge, n && (this._$AH = e);
4077
4024
  else {
4078
4025
  const s = e;
4079
4026
  let l, d;
4080
- for (e = a[0], l = 0; l < a.length - 1; l++)
4081
- d = Ke(this, s[r + l], t, l), d === Ge && (d = this._$AH[l]), n || (n = !gt(d) || d !== this._$AH[l]), d === Y ? e = Y : e !== Y && (e += (d ?? "") + a[l + 1]), this._$AH[l] = d;
4027
+ for (e = a[0], l = 0; l < a.length - 1; l++) d = Ke(this, s[r + l], t, l), d === Ge && (d = this._$AH[l]), n || (n = !gt(d) || d !== this._$AH[l]), d === Y ? e = Y : e !== Y && (e += (d ?? "") + a[l + 1]), this._$AH[l] = d;
4082
4028
  }
4083
4029
  n && !o && this.j(e);
4084
4030
  }
@@ -4108,8 +4054,7 @@ class bc extends pr {
4108
4054
  }
4109
4055
  _$AI(e, t = this) {
4110
4056
  var r;
4111
- if ((e = (r = Ke(this, e, t, 0)) != null ? r : Y) === Ge)
4112
- return;
4057
+ if ((e = (r = Ke(this, e, t, 0)) != null ? r : Y) === Ge) return;
4113
4058
  const o = this._$AH, a = e === Y && o !== Y || e.capture !== o.capture || e.once !== o.once || e.passive !== o.passive, n = e !== Y && (o === Y || a);
4114
4059
  a && this.element.removeEventListener(this.name, this, o), n && this.element.addEventListener(this.name, this, e), this._$AH = e;
4115
4060
  }
@@ -4223,11 +4168,9 @@ function Cc(i, e) {
4223
4168
  t.id = or, t.textContent = Xa(i), e.content.appendChild(t);
4224
4169
  }
4225
4170
  function kc(i) {
4226
- if (!i.shadowRoot)
4227
- return;
4171
+ if (!i.shadowRoot) return;
4228
4172
  const e = i.constructor;
4229
- if (i instanceof $e)
4230
- [...i.shadowRoot.querySelectorAll("style")].forEach((t) => t.remove()), Ra(i.shadowRoot, e.elementStyles);
4173
+ if (i instanceof $e) [...i.shadowRoot.querySelectorAll("style")].forEach((t) => t.remove()), Ra(i.shadowRoot, e.elementStyles);
4231
4174
  else {
4232
4175
  const t = i.shadowRoot.getElementById(or), r = e.prototype._template;
4233
4176
  t.textContent = r.content.getElementById(or).textContent;
@@ -4240,8 +4183,7 @@ function Ec(i) {
4240
4183
  });
4241
4184
  }
4242
4185
  function Qa(i) {
4243
- if (i.prototype instanceof $e)
4244
- i.elementStyles = i.finalizeStyles(i.styles);
4186
+ if (i.prototype instanceof $e) i.elementStyles = i.finalizeStyles(i.styles);
4245
4187
  else {
4246
4188
  const e = i.prototype._template;
4247
4189
  e.content.getElementById(or).textContent = Xa(i.getStylesForThis());
@@ -4286,8 +4228,7 @@ const z = (i) => class extends mr(i) {
4286
4228
  super(), Kr.add(new WeakRef(this));
4287
4229
  }
4288
4230
  static finalize() {
4289
- if (super.finalize(), this.is && Ei.add(this.is), this.elementStyles)
4290
- return;
4231
+ if (super.finalize(), this.is && Ei.add(this.is), this.elementStyles) return;
4291
4232
  const e = this.prototype._template;
4292
4233
  !e || Ga(this) || Cc(this.getStylesForThis(), e);
4293
4234
  }
@@ -5194,8 +5135,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
5194
5135
  */
5195
5136
  let Bc = /(url\()([^)]*)(\))/g, Vc = /(^\/[^\/])|(^#)|(^[\w-\d]*:)/, Rt, te;
5196
5137
  function _t(i, e) {
5197
- if (i && Vc.test(i) || i === "//")
5198
- return i;
5138
+ if (i && Vc.test(i) || i === "//") return i;
5199
5139
  if (Rt === void 0) {
5200
5140
  Rt = !1;
5201
5141
  try {
@@ -5204,12 +5144,11 @@ function _t(i, e) {
5204
5144
  } catch {
5205
5145
  }
5206
5146
  }
5207
- if (e || (e = document.baseURI || window.location.href), Rt)
5208
- try {
5209
- return new URL(i, e).href;
5210
- } catch {
5211
- return i;
5212
- }
5147
+ if (e || (e = document.baseURI || window.location.href), Rt) try {
5148
+ return new URL(i, e).href;
5149
+ } catch {
5150
+ return i;
5151
+ }
5213
5152
  return te || (te = document.implementation.createHTMLDocument("temp"), te.base = te.createElement("base"), te.head.appendChild(te.base), te.anchor = te.createElement("a"), te.body.appendChild(te.anchor)), te.base.href = e, te.anchor.href = i, te.anchor.href || i;
5214
5153
  }
5215
5154
  function Ti(i, e) {
@@ -5256,8 +5195,7 @@ const H = function(i) {
5256
5195
  let t = jc++;
5257
5196
  function r(o) {
5258
5197
  let a = o.__mixinSet;
5259
- if (a && a[t])
5260
- return o;
5198
+ if (a && a[t]) return o;
5261
5199
  let n = e, s = n.get(o);
5262
5200
  if (!s) {
5263
5201
  s = i(o), n.set(o, s);
@@ -5310,8 +5248,7 @@ class wt extends HTMLElement {
5310
5248
  }
5311
5249
  register(e) {
5312
5250
  if (e = e || this.id, e) {
5313
- if (nr && Uo(e) !== void 0)
5314
- throw Ho(e, null), new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);
5251
+ if (nr && Uo(e) !== void 0) throw Ho(e, null), new Error(`strictTemplatePolicy: dom-module ${e} re-registered`);
5315
5252
  this.id = e, Ho(e, this), Gc(this);
5316
5253
  }
5317
5254
  }
@@ -5338,14 +5275,12 @@ function qo(i) {
5338
5275
  }
5339
5276
  function Qc(i) {
5340
5277
  const e = i.trim().split(/\s+/), t = [];
5341
- for (let r = 0; r < e.length; r++)
5342
- t.push(...Jc(e[r]));
5278
+ for (let r = 0; r < e.length; r++) t.push(...Jc(e[r]));
5343
5279
  return t;
5344
5280
  }
5345
5281
  function Jc(i) {
5346
5282
  const e = on(i);
5347
- if (!e)
5348
- return console.warn("Could not find style data in module named", i), [];
5283
+ if (!e) return console.warn("Could not find style data in module named", i), [];
5349
5284
  if (e._styles === void 0) {
5350
5285
  const t = [];
5351
5286
  t.push(...nn(e));
@@ -5380,8 +5315,7 @@ function nn(i) {
5380
5315
  if (n && !a._unscopedStyle) {
5381
5316
  const s = qo(a);
5382
5317
  s.setAttribute(Wo, ""), a._unscopedStyle = s;
5383
- } else
5384
- a._style || (a._style = qo(a));
5318
+ } else a._style || (a._style = qo(a));
5385
5319
  e.push(n ? a._unscopedStyle : a._style);
5386
5320
  }
5387
5321
  }
@@ -5430,12 +5364,10 @@ function ut(i) {
5430
5364
  let e = [];
5431
5365
  for (let t = 0; t < i.length; t++) {
5432
5366
  let r = i[t].toString().split(".");
5433
- for (let o = 0; o < r.length; o++)
5434
- e.push(r[o]);
5367
+ for (let o = 0; o < r.length; o++) e.push(r[o]);
5435
5368
  }
5436
5369
  return e.join(".");
5437
- } else
5438
- return i;
5370
+ } else return i;
5439
5371
  }
5440
5372
  function ln(i) {
5441
5373
  return Array.isArray(i) ? ut(i).split(".") : i.toString().split(".");
@@ -5443,8 +5375,7 @@ function ln(i) {
5443
5375
  function Z(i, e, t) {
5444
5376
  let r = i, o = ln(e);
5445
5377
  for (let a = 0; a < o.length; a++) {
5446
- if (!r)
5447
- return;
5378
+ if (!r) return;
5448
5379
  let n = o[a];
5449
5380
  r = r[n];
5450
5381
  }
@@ -5455,12 +5386,10 @@ function Yo(i, e, t) {
5455
5386
  if (o.length > 1) {
5456
5387
  for (let n = 0; n < o.length - 1; n++) {
5457
5388
  let s = o[n];
5458
- if (r = r[s], !r)
5459
- return;
5389
+ if (r = r[s], !r) return;
5460
5390
  }
5461
5391
  r[a] = t;
5462
- } else
5463
- r[e] = t;
5392
+ } else r[e] = t;
5464
5393
  return o.join(".");
5465
5394
  }
5466
5395
  /**
@@ -5495,14 +5424,13 @@ function ah() {
5495
5424
  const i = He.length;
5496
5425
  for (let e = 0; e < i; e++) {
5497
5426
  let t = He[e];
5498
- if (t)
5499
- try {
5500
- t();
5501
- } catch (r) {
5502
- setTimeout(() => {
5503
- throw r;
5504
- });
5505
- }
5427
+ if (t) try {
5428
+ t();
5429
+ } catch (r) {
5430
+ setTimeout(() => {
5431
+ throw r;
5432
+ });
5433
+ }
5506
5434
  }
5507
5435
  He.splice(0, i), cn += i;
5508
5436
  }
@@ -5521,8 +5449,7 @@ const nh = { after(i) {
5521
5449
  }, cancel(i) {
5522
5450
  const e = i - cn;
5523
5451
  if (e >= 0) {
5524
- if (!He[e])
5525
- throw new Error("invalid async handle: " + i);
5452
+ if (!He[e]) throw new Error("invalid async handle: " + i);
5526
5453
  He[e] = null;
5527
5454
  }
5528
5455
  } };
@@ -5539,8 +5466,7 @@ const sh = un, pn = H((i) => {
5539
5466
  class e extends i {
5540
5467
  static createProperties(r) {
5541
5468
  const o = this.prototype;
5542
- for (let a in r)
5543
- a in o || o._createPropertyAccessor(a);
5469
+ for (let a in r) a in o || o._createPropertyAccessor(a);
5544
5470
  }
5545
5471
  static attributeNameForProperty(r) {
5546
5472
  return r.toLowerCase();
@@ -5570,8 +5496,7 @@ const sh = un, pn = H((i) => {
5570
5496
  this.__dataReady = !0, this._flushProperties();
5571
5497
  }
5572
5498
  _initializeProperties() {
5573
- for (let r in this.__dataHasAccessor)
5574
- this.hasOwnProperty(r) && (this.__dataInstanceProps = this.__dataInstanceProps || {}, this.__dataInstanceProps[r] = this[r], delete this[r]);
5499
+ for (let r in this.__dataHasAccessor) this.hasOwnProperty(r) && (this.__dataInstanceProps = this.__dataInstanceProps || {}, this.__dataInstanceProps[r] = this[r], delete this[r]);
5575
5500
  }
5576
5501
  _initializeInstanceProperties(r) {
5577
5502
  Object.assign(this, r);
@@ -5660,8 +5585,7 @@ const mn = {};
5660
5585
  let $t = HTMLElement.prototype;
5661
5586
  for (; $t; ) {
5662
5587
  let i = Object.getOwnPropertyNames($t);
5663
- for (let e = 0; e < i.length; e++)
5664
- mn[i[e]] = !0;
5588
+ for (let e = 0; e < i.length; e++) mn[i[e]] = !0;
5665
5589
  $t = Object.getPrototypeOf($t);
5666
5590
  }
5667
5591
  const lh = window.trustedTypes ? (i) => trustedTypes.isHTML(i) || trustedTypes.isScript(i) || trustedTypes.isScriptURL(i) : () => !1;
@@ -5676,8 +5600,7 @@ const ch = H((i) => {
5676
5600
  class t extends e {
5677
5601
  static createPropertiesForAttributes() {
5678
5602
  let o = this.observedAttributes;
5679
- for (let a = 0; a < o.length; a++)
5680
- this.prototype._createPropertyAccessor(dn(o[a]));
5603
+ for (let a = 0; a < o.length; a++) this.prototype._createPropertyAccessor(dn(o[a]));
5681
5604
  }
5682
5605
  static attributeNameForProperty(o) {
5683
5606
  return fr(o);
@@ -5686,8 +5609,7 @@ const ch = H((i) => {
5686
5609
  this.__dataProto && (this._initializeProtoProperties(this.__dataProto), this.__dataProto = null), super._initializeProperties();
5687
5610
  }
5688
5611
  _initializeProtoProperties(o) {
5689
- for (let a in o)
5690
- this._setProperty(a, o[a]);
5612
+ for (let a in o) this._setProperty(a, o[a]);
5691
5613
  }
5692
5614
  _ensureAttribute(o, a) {
5693
5615
  const n = this;
@@ -5696,11 +5618,9 @@ const ch = H((i) => {
5696
5618
  _serializeValue(o) {
5697
5619
  switch (typeof o) {
5698
5620
  case "object":
5699
- if (o instanceof Date)
5700
- return o.toString();
5621
+ if (o instanceof Date) return o.toString();
5701
5622
  if (o) {
5702
- if (lh(o))
5703
- return o;
5623
+ if (lh(o)) return o;
5704
5624
  try {
5705
5625
  return JSON.stringify(o);
5706
5626
  } catch {
@@ -5796,19 +5716,14 @@ function fh(i) {
5796
5716
  function fn(i, e) {
5797
5717
  let t = e.parentInfo && fn(i, e.parentInfo);
5798
5718
  if (t) {
5799
- for (let r = t.firstChild, o = 0; r; r = r.nextSibling)
5800
- if (e.parentIndex === o++)
5801
- return r;
5802
- } else
5803
- return i;
5719
+ for (let r = t.firstChild, o = 0; r; r = r.nextSibling) if (e.parentIndex === o++) return r;
5720
+ } else return i;
5804
5721
  }
5805
5722
  function _h(i, e, t, r) {
5806
5723
  r.id && (e[r.id] = t);
5807
5724
  }
5808
5725
  function vh(i, e, t) {
5809
- if (t.events && t.events.length)
5810
- for (let r = 0, o = t.events, a; r < o.length && (a = o[r]); r++)
5811
- i._addMethodEventListenerToNode(e, a.name, a.value, i);
5726
+ if (t.events && t.events.length) for (let r = 0, o = t.events, a; r < o.length && (a = o[r]); r++) i._addMethodEventListenerToNode(e, a.name, a.value, i);
5812
5727
  }
5813
5728
  function gh(i, e, t, r) {
5814
5729
  t.templateInfo && (e._templateInfo = t.templateInfo, e._parentTemplateInfo = r);
@@ -5835,20 +5750,18 @@ const yh = H((i) => {
5835
5750
  return s.localName == "template" && !s.hasAttribute("preserve-content") ? n = this._parseTemplateNestedTemplate(s, o, a) || n : s.localName === "slot" && (o.hasInsertionPoint = !0), ph(s), s.firstChild && this._parseTemplateChildNodes(s, o, a), s.hasAttributes && s.hasAttributes() && (n = this._parseTemplateNodeAttributes(s, o, a) || n), n || a.noted;
5836
5751
  }
5837
5752
  static _parseTemplateChildNodes(r, o, a) {
5838
- if (!(r.localName === "script" || r.localName === "style"))
5839
- for (let n = r.firstChild, s = 0, l; n; n = l) {
5840
- if (n.localName == "template" && (n = fh(n)), l = n.nextSibling, n.nodeType === Node.TEXT_NODE) {
5841
- let c = l;
5842
- for (; c && c.nodeType === Node.TEXT_NODE; )
5843
- n.textContent += c.textContent, l = c.nextSibling, r.removeChild(c), c = l;
5844
- if (o.stripWhiteSpace && !n.textContent.trim()) {
5845
- r.removeChild(n);
5846
- continue;
5847
- }
5753
+ if (!(r.localName === "script" || r.localName === "style")) for (let n = r.firstChild, s = 0, l; n; n = l) {
5754
+ if (n.localName == "template" && (n = fh(n)), l = n.nextSibling, n.nodeType === Node.TEXT_NODE) {
5755
+ let c = l;
5756
+ for (; c && c.nodeType === Node.TEXT_NODE; ) n.textContent += c.textContent, l = c.nextSibling, r.removeChild(c), c = l;
5757
+ if (o.stripWhiteSpace && !n.textContent.trim()) {
5758
+ r.removeChild(n);
5759
+ continue;
5848
5760
  }
5849
- let d = { parentIndex: s, parentInfo: a };
5850
- this._parseTemplateNode(n, o, d) && (d.infoIndex = o.nodeInfoList.push(d) - 1), n.parentNode && s++;
5851
5761
  }
5762
+ let d = { parentIndex: s, parentInfo: a };
5763
+ this._parseTemplateNode(n, o, d) && (d.infoIndex = o.nodeInfoList.push(d) - 1), n.parentNode && s++;
5764
+ }
5852
5765
  }
5853
5766
  static _parseTemplateNestedTemplate(r, o, a) {
5854
5767
  let n = r, s = this._parseTemplate(n, o);
@@ -5856,8 +5769,7 @@ const yh = H((i) => {
5856
5769
  }
5857
5770
  static _parseTemplateNodeAttributes(r, o, a) {
5858
5771
  let n = !1, s = Array.from(r.attributes);
5859
- for (let l = s.length - 1, d; d = s[l]; l--)
5860
- n = this._parseTemplateNodeAttribute(r, o, a, d.name, d.value) || n;
5772
+ for (let l = s.length - 1, d; d = s[l]; l--) n = this._parseTemplateNodeAttribute(r, o, a, d.name, d.value) || n;
5861
5773
  return n;
5862
5774
  }
5863
5775
  static _parseTemplateNodeAttribute(r, o, a, n, s) {
@@ -5908,14 +5820,11 @@ let kt = 0;
5908
5820
  const Et = [], P = { COMPUTE: "__computeEffects", REFLECT: "__reflectEffects", NOTIFY: "__notifyEffects", PROPAGATE: "__propagateEffects", OBSERVE: "__observeEffects", READ_ONLY: "__readOnly" }, _n = "__computeInfo", wh = /[A-Z]/;
5909
5821
  function Dr(i, e, t) {
5910
5822
  let r = i[e];
5911
- if (!r)
5912
- r = i[e] = {};
5913
- else if (!i.hasOwnProperty(e) && (r = i[e] = Object.create(i[e]), t))
5914
- for (let o in r) {
5915
- let a = r[o], n = r[o] = Array(a.length);
5916
- for (let s = 0; s < a.length; s++)
5917
- n[s] = a[s];
5918
- }
5823
+ if (!r) r = i[e] = {};
5824
+ else if (!i.hasOwnProperty(e) && (r = i[e] = Object.create(i[e]), t)) for (let o in r) {
5825
+ let a = r[o], n = r[o] = Array(a.length);
5826
+ for (let s = 0; s < a.length; s++) n[s] = a[s];
5827
+ }
5919
5828
  return r;
5920
5829
  }
5921
5830
  function pt(i, e, t, r, o, a) {
@@ -5924,9 +5833,7 @@ function pt(i, e, t, r, o, a) {
5924
5833
  const s = kt++;
5925
5834
  for (let l in t) {
5926
5835
  let d = o ? Me(l) : l, c = e[d];
5927
- if (c)
5928
- for (let h = 0, u = c.length, p; h < u && (p = c[h]); h++)
5929
- (!p.info || p.info.lastRun !== s) && (!o || Ii(l, p.trigger)) && (p.info && (p.info.lastRun = s), p.fn(i, l, t, r, p.info, o, a), n = !0);
5836
+ if (c) for (let h = 0, u = c.length, p; h < u && (p = c[h]); h++) (!p.info || p.info.lastRun !== s) && (!o || Ii(l, p.trigger)) && (p.info && (p.info.lastRun = s), p.fn(i, l, t, r, p.info, o, a), n = !0);
5930
5837
  }
5931
5838
  return n;
5932
5839
  }
@@ -5934,17 +5841,14 @@ function pt(i, e, t, r, o, a) {
5934
5841
  }
5935
5842
  function xh(i, e, t, r, o, a, n, s) {
5936
5843
  let l = !1, d = n ? Me(r) : r, c = e[d];
5937
- if (c)
5938
- for (let h = 0, u = c.length, p; h < u && (p = c[h]); h++)
5939
- (!p.info || p.info.lastRun !== t) && (!n || Ii(r, p.trigger)) && (p.info && (p.info.lastRun = t), p.fn(i, r, o, a, p.info, n, s), l = !0);
5844
+ if (c) for (let h = 0, u = c.length, p; h < u && (p = c[h]); h++) (!p.info || p.info.lastRun !== t) && (!n || Ii(r, p.trigger)) && (p.info && (p.info.lastRun = t), p.fn(i, r, o, a, p.info, n, s), l = !0);
5940
5845
  return l;
5941
5846
  }
5942
5847
  function Ii(i, e) {
5943
5848
  if (e) {
5944
5849
  let t = e.name;
5945
5850
  return t == i || !!(e.structured && sn(t, i)) || !!(e.wildcard && xt(t, i));
5946
- } else
5947
- return !0;
5851
+ } else return !0;
5948
5852
  }
5949
5853
  function Ko(i, e, t, r, o) {
5950
5854
  let a = typeof o.method == "string" ? i[o.method] : o.method, n = o.property;
@@ -5952,8 +5856,7 @@ function Ko(i, e, t, r, o) {
5952
5856
  }
5953
5857
  function Ch(i, e, t, r, o) {
5954
5858
  let a = i[P.NOTIFY], n, s = kt++;
5955
- for (let d in e)
5956
- e[d] && (a && xh(i, a, s, d, t, r, o) || o && kh(i, d, t)) && (n = !0);
5859
+ for (let d in e) e[d] && (a && xh(i, a, s, d, t, r, o) || o && kh(i, d, t)) && (n = !0);
5957
5860
  let l;
5958
5861
  n && (l = i.__dataHost) && l._invalidateProperties && l._invalidateProperties();
5959
5862
  }
@@ -5983,30 +5886,24 @@ function Ah(i, e, t, r, o) {
5983
5886
  }
5984
5887
  function Ph(i, e, t, r) {
5985
5888
  let o = i[P.COMPUTE];
5986
- if (o)
5987
- if (Wc) {
5988
- kt++;
5989
- const a = Sh(i), n = [];
5990
- for (let l in e)
5991
- Xo(l, o, n, a, r);
5992
- let s;
5993
- for (; s = n.shift(); )
5994
- gn(i, "", e, t, s) && Xo(s.methodInfo, o, n, a, r);
5995
- Object.assign(t, i.__dataOld), Object.assign(e, i.__dataPending), i.__dataPending = null;
5996
- } else {
5997
- let a = e;
5998
- for (; pt(i, o, a, t, r); )
5999
- Object.assign(t, i.__dataOld), Object.assign(e, i.__dataPending), a = i.__dataPending, i.__dataPending = null;
6000
- }
5889
+ if (o) if (Wc) {
5890
+ kt++;
5891
+ const a = Sh(i), n = [];
5892
+ for (let l in e) Xo(l, o, n, a, r);
5893
+ let s;
5894
+ for (; s = n.shift(); ) gn(i, "", e, t, s) && Xo(s.methodInfo, o, n, a, r);
5895
+ Object.assign(t, i.__dataOld), Object.assign(e, i.__dataPending), i.__dataPending = null;
5896
+ } else {
5897
+ let a = e;
5898
+ for (; pt(i, o, a, t, r); ) Object.assign(t, i.__dataOld), Object.assign(e, i.__dataPending), a = i.__dataPending, i.__dataPending = null;
5899
+ }
6001
5900
  }
6002
5901
  const Ih = (i, e, t) => {
6003
5902
  let r = 0, o = e.length - 1, a = -1;
6004
5903
  for (; r <= o; ) {
6005
5904
  const n = r + o >> 1, s = t.get(e[n].methodInfo) - t.get(i.methodInfo);
6006
- if (s < 0)
6007
- r = n + 1;
6008
- else if (s > 0)
6009
- o = n - 1;
5905
+ if (s < 0) r = n + 1;
5906
+ else if (s > 0) o = n - 1;
6010
5907
  else {
6011
5908
  a = n;
6012
5909
  break;
@@ -6015,11 +5912,10 @@ const Ih = (i, e, t) => {
6015
5912
  a < 0 && (a = o + 1), e.splice(a, 0, i);
6016
5913
  }, Xo = (i, e, t, r, o) => {
6017
5914
  const a = o ? Me(i) : i, n = e[a];
6018
- if (n)
6019
- for (let s = 0; s < n.length; s++) {
6020
- const l = n[s];
6021
- l.info.lastRun !== kt && (!o || Ii(i, l.trigger)) && (l.info.lastRun = kt, Ih(l.info, t, r));
6022
- }
5915
+ if (n) for (let s = 0; s < n.length; s++) {
5916
+ const l = n[s];
5917
+ l.info.lastRun !== kt && (!o || Ii(i, l.trigger)) && (l.info.lastRun = kt, Ih(l.info, t, r));
5918
+ }
6023
5919
  };
6024
5920
  function Sh(i) {
6025
5921
  let e = i.constructor.__orderedComputedDeps;
@@ -6046,14 +5942,12 @@ function Dh(i) {
6046
5942
  const s = e[n];
6047
5943
  a += t[n] = s.args.filter((l) => !l.literal).length + (s.dynamicFn ? 1 : 0);
6048
5944
  }
6049
- for (let n in r)
6050
- e[n] || o.push(n);
5945
+ for (let n in r) e[n] || o.push(n);
6051
5946
  return { counts: t, ready: o, total: a };
6052
5947
  }
6053
5948
  function gn(i, e, t, r, o) {
6054
5949
  let a = ei(i, e, t, r, o);
6055
- if (a === Et)
6056
- return !1;
5950
+ if (a === Et) return !1;
6057
5951
  let n = o.methodInfo;
6058
5952
  return i.__dataHasAccessor && i.__dataHasAccessor[n] ? i._setPendingProperty(n, a, !0) : (i[n] = a, !1);
6059
5953
  }
@@ -6081,16 +5975,14 @@ function Or(i, e, t, r, o, a, n) {
6081
5975
  }
6082
5976
  }
6083
5977
  function Mh(i, e, t, r, o) {
6084
- if (!r.literal)
6085
- if (t.kind === "attribute" && t.target[0] === "-")
6086
- console.warn("Cannot set attribute " + t.target + ' because "-" is not a valid attribute starting character');
6087
- else {
6088
- let a = r.dependencies, n = { index: o, binding: t, part: r, evaluator: i };
6089
- for (let s = 0; s < a.length; s++) {
6090
- let l = a[s];
6091
- typeof l == "string" && (l = yn(l), l.wildcard = !0), i._addTemplatePropertyEffect(e, l.rootProperty, { fn: zh, info: n, trigger: l });
6092
- }
5978
+ if (!r.literal) if (t.kind === "attribute" && t.target[0] === "-") console.warn("Cannot set attribute " + t.target + ' because "-" is not a valid attribute starting character');
5979
+ else {
5980
+ let a = r.dependencies, n = { index: o, binding: t, part: r, evaluator: i };
5981
+ for (let s = 0; s < a.length; s++) {
5982
+ let l = a[s];
5983
+ typeof l == "string" && (l = yn(l), l.wildcard = !0), i._addTemplatePropertyEffect(e, l.rootProperty, { fn: zh, info: n, trigger: l });
6093
5984
  }
5985
+ }
6094
5986
  }
6095
5987
  function zh(i, e, t, r, o, a, n) {
6096
5988
  let s = n[o.index], l = o.binding, d = o.part;
@@ -6103,8 +5995,7 @@ function zh(i, e, t, r, o, a, n) {
6103
5995
  }
6104
5996
  }
6105
5997
  function Nh(i, e, t, r, o) {
6106
- if (o = Lh(e, o, t, r), ar && (o = ar(o, t.target, t.kind, e)), t.kind == "attribute")
6107
- i._valueToNodeAttribute(e, o, t.target);
5998
+ if (o = Lh(e, o, t, r), ar && (o = ar(o, t.target, t.kind, e)), t.kind == "attribute") i._valueToNodeAttribute(e, o, t.target);
6108
5999
  else {
6109
6000
  let a = t.target;
6110
6001
  e.__isPropertyEffectsClient && e.__dataHasAccessor && e.__dataHasAccessor[a] ? (!e[P.READ_ONLY] || !e[P.READ_ONLY][a]) && e._setPendingProperty(a, o) && i._enqueueClient(e) : i._setUnmanagedPropertyToNode(e, a, o);
@@ -6122,22 +6013,19 @@ function Fh(i) {
6122
6013
  }
6123
6014
  function Bh(i, e) {
6124
6015
  let { nodeList: t, nodeInfoList: r } = e;
6125
- if (r.length)
6126
- for (let o = 0; o < r.length; o++) {
6127
- let a = r[o], n = t[o], s = a.bindings;
6128
- if (s)
6129
- for (let l = 0; l < s.length; l++) {
6130
- let d = s[l];
6131
- Vh(n, d), Rh(n, i, d);
6132
- }
6133
- n.__dataHost = i;
6016
+ if (r.length) for (let o = 0; o < r.length; o++) {
6017
+ let a = r[o], n = t[o], s = a.bindings;
6018
+ if (s) for (let l = 0; l < s.length; l++) {
6019
+ let d = s[l];
6020
+ Vh(n, d), Rh(n, i, d);
6134
6021
  }
6022
+ n.__dataHost = i;
6023
+ }
6135
6024
  }
6136
6025
  function Vh(i, e) {
6137
6026
  if (e.isCompound) {
6138
6027
  let t = i.__dataCompoundStorage || (i.__dataCompoundStorage = {}), r = e.parts, o = new Array(r.length);
6139
- for (let n = 0; n < r.length; n++)
6140
- o[n] = r[n].literal;
6028
+ for (let n = 0; n < r.length; n++) o[n] = r[n].literal;
6141
6029
  let a = e.target;
6142
6030
  t[a] = o, e.literal && e.kind == "property" && (a === "className" && (i = G(i)), i[a] = e.literal);
6143
6031
  }
@@ -6153,8 +6041,7 @@ function Rh(i, e, t) {
6153
6041
  function Qo(i, e, t, r, o, a) {
6154
6042
  a = e.static || a && (typeof a != "object" || a[e.methodName]);
6155
6043
  let n = { methodName: e.methodName, args: e.args, methodInfo: o, dynamicFn: a };
6156
- for (let s = 0, l; s < e.args.length && (l = e.args[s]); s++)
6157
- l.literal || i._addPropertyEffect(l.rootProperty, t, { fn: r, info: n, trigger: l });
6044
+ for (let s = 0, l; s < e.args.length && (l = e.args[s]); s++) l.literal || i._addPropertyEffect(l.rootProperty, t, { fn: r, info: n, trigger: l });
6158
6045
  return a && i._addPropertyEffect(e.methodName, t, { fn: r, info: n }), n;
6159
6046
  }
6160
6047
  function ei(i, e, t, r, o) {
@@ -6162,8 +6049,7 @@ function ei(i, e, t, r, o) {
6162
6049
  if (n) {
6163
6050
  let s = i._marshalArgs(o.args, e, t);
6164
6051
  return s === Et ? Et : n.apply(a, s);
6165
- } else
6166
- o.dynamicFn || console.warn("method `" + o.methodName + "` not defined");
6052
+ } else o.dynamicFn || console.warn("method `" + o.methodName + "` not defined");
6167
6053
  }
6168
6054
  const $h = [], bn = "(?:[a-zA-Z_$][\\w.:$\\-*]*)", Hh = "(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)", Uh = "(?:'(?:[^'\\\\]|\\\\.)*')", Wh = '(?:"(?:[^"\\\\]|\\\\.)*")', qh = "(?:" + Uh + "|" + Wh + ")", Jo = "(?:(" + bn + "|" + Hh + "|" + qh + ")\\s*)", Yh = "(?:" + Jo + "(?:,\\s*" + Jo + ")*)", jh = "(?:\\(\\s*(?:" + Yh + "?)\\)\\s*)", Gh = "(" + bn + "\\s*" + jh + "?)", Kh = "(\\[\\[|{{)\\s*", Xh = "(?:]]|}})", Qh = "(?:(!)\\s*)?", Jh = Kh + Qh + Gh + Xh, Zo = new RegExp(Jh, "g");
6169
6055
  function ea(i) {
@@ -6181,8 +6067,7 @@ function Mr(i) {
6181
6067
  if (e[2].trim()) {
6182
6068
  let r = e[2].replace(/\\,/g, "&comma;").split(",");
6183
6069
  return Zh(r, t);
6184
- } else
6185
- return t;
6070
+ } else return t;
6186
6071
  }
6187
6072
  return null;
6188
6073
  }
@@ -6242,8 +6127,7 @@ const Si = H((i) => {
6242
6127
  }
6243
6128
  _initializeInstanceProperties(o) {
6244
6129
  let a = this[P.READ_ONLY];
6245
- for (let n in o)
6246
- (!a || !a[n]) && (this.__dataPending = this.__dataPending || {}, this.__dataOld = this.__dataOld || {}, this.__data[n] = this.__dataPending[n] = o[n]);
6130
+ for (let n in o) (!a || !a[n]) && (this.__dataPending = this.__dataPending || {}, this.__dataOld = this.__dataOld || {}, this.__data[n] = this.__dataPending[n] = o[n]);
6247
6131
  }
6248
6132
  _addPropertyEffect(o, a, n) {
6249
6133
  this._createPropertyAccessor(o, a == P.READ_ONLY);
@@ -6274,14 +6158,11 @@ const Si = H((i) => {
6274
6158
  if (s || Me(Array.isArray(o) ? o[0] : o) !== o) {
6275
6159
  if (!s) {
6276
6160
  let l = Z(this, o);
6277
- if (o = Yo(this, o, a), !o || !super._shouldPropertyChange(o, a, l))
6278
- return !1;
6161
+ if (o = Yo(this, o, a), !o || !super._shouldPropertyChange(o, a, l)) return !1;
6279
6162
  }
6280
- if (this.__dataHasPaths = !0, this._setPendingProperty(o, a, n))
6281
- return Oh(this, o, a), !0;
6163
+ if (this.__dataHasPaths = !0, this._setPendingProperty(o, a, n)) return Oh(this, o, a), !0;
6282
6164
  } else {
6283
- if (this.__dataHasAccessor && this.__dataHasAccessor[o])
6284
- return this._setPendingProperty(o, a, n);
6165
+ if (this.__dataHasAccessor && this.__dataHasAccessor[o]) return this._setPendingProperty(o, a, n);
6285
6166
  this[o] = a;
6286
6167
  }
6287
6168
  return !1;
@@ -6319,8 +6200,7 @@ const Si = H((i) => {
6319
6200
  this.__enableOrFlushClients();
6320
6201
  }
6321
6202
  setProperties(o, a) {
6322
- for (let n in o)
6323
- (a || !this[P.READ_ONLY] || !this[P.READ_ONLY][n]) && this._setPendingPropertyOrPath(n, o[n], !0);
6203
+ for (let n in o) (a || !this[P.READ_ONLY] || !this[P.READ_ONLY][n]) && this._setPendingPropertyOrPath(n, o[n], !0);
6324
6204
  this._invalidateProperties();
6325
6205
  }
6326
6206
  ready() {
@@ -6338,8 +6218,7 @@ const Si = H((i) => {
6338
6218
  _runEffectsForTemplate(o, a, n, s) {
6339
6219
  const l = (d, c) => {
6340
6220
  pt(this, o.propertyEffects, d, n, c, o.nodeList);
6341
- for (let h = o.firstChild; h; h = h.nextSibling)
6342
- this._runEffectsForTemplate(h, d, n, c);
6221
+ for (let h = o.firstChild; h; h = h.nextSibling) this._runEffectsForTemplate(h, d, n, c);
6343
6222
  };
6344
6223
  o.runEffects ? o.runEffects(l, a, s) : l(a, s);
6345
6224
  }
@@ -6386,8 +6265,7 @@ const Si = H((i) => {
6386
6265
  if (arguments.length == 1) {
6387
6266
  let s = { path: "" };
6388
6267
  a = Z(this, o, s), n = s.path;
6389
- } else
6390
- Array.isArray(o) ? n = ut(o) : n = o;
6268
+ } else Array.isArray(o) ? n = ut(o) : n = o;
6391
6269
  this._setPendingPropertyOrPath(n, a, !0, !0) && this._invalidateProperties();
6392
6270
  }
6393
6271
  _createReadOnlyProperty(o, a) {
@@ -6401,8 +6279,7 @@ const Si = H((i) => {
6401
6279
  }
6402
6280
  _createMethodObserver(o, a) {
6403
6281
  let n = Mr(o);
6404
- if (!n)
6405
- throw new Error("Malformed observer expression '" + o + "'");
6282
+ if (!n) throw new Error("Malformed observer expression '" + o + "'");
6406
6283
  Qo(this, n, P.OBSERVE, ei, null, a);
6407
6284
  }
6408
6285
  _createNotifyingProperty(o) {
@@ -6414,8 +6291,7 @@ const Si = H((i) => {
6414
6291
  }
6415
6292
  _createComputedProperty(o, a, n) {
6416
6293
  let s = Mr(a);
6417
- if (!s)
6418
- throw new Error("Malformed computed expression '" + a + "'");
6294
+ if (!s) throw new Error("Malformed computed expression '" + a + "'");
6419
6295
  const l = Qo(this, s, P.COMPUTE, gn, o, n);
6420
6296
  Dr(this, _n)[o] = l;
6421
6297
  }
@@ -6423,14 +6299,11 @@ const Si = H((i) => {
6423
6299
  const s = this.__data, l = [];
6424
6300
  for (let d = 0, c = o.length; d < c; d++) {
6425
6301
  let { name: h, structured: u, wildcard: p, value: b, literal: N } = o[d];
6426
- if (!N)
6427
- if (p) {
6428
- const D = xt(h, a), O = ta(s, n, D ? a : h);
6429
- b = { path: D ? a : h, value: O, base: D ? Z(s, h) : O };
6430
- } else
6431
- b = u ? ta(s, n, h) : s[h];
6432
- if (Qr && !this._overrideLegacyUndefined && b === void 0 && o.length > 1)
6433
- return Et;
6302
+ if (!N) if (p) {
6303
+ const D = xt(h, a), O = ta(s, n, D ? a : h);
6304
+ b = { path: D ? a : h, value: O, base: D ? Z(s, h) : O };
6305
+ } else b = u ? ta(s, n, h) : s[h];
6306
+ if (Qr && !this._overrideLegacyUndefined && b === void 0 && o.length > 1) return Et;
6434
6307
  l[d] = b;
6435
6308
  }
6436
6309
  return l;
@@ -6461,18 +6334,13 @@ const Si = H((i) => {
6461
6334
  }
6462
6335
  _bindTemplate(o, a) {
6463
6336
  let n = this.constructor._parseTemplate(o), s = this.__preBoundTemplateInfo == n;
6464
- if (!s)
6465
- for (let l in n.propertyEffects)
6466
- this._createPropertyAccessor(l);
6467
- if (a)
6468
- if (n = Object.create(n), n.wasPreBound = s, !this.__templateInfo)
6469
- this.__templateInfo = n;
6470
- else {
6471
- const l = o._parentTemplateInfo || this.__templateInfo, d = l.lastChild;
6472
- n.parent = l, l.lastChild = n, n.previousSibling = d, d ? d.nextSibling = n : l.firstChild = n;
6473
- }
6474
- else
6475
- this.__preBoundTemplateInfo = n;
6337
+ if (!s) for (let l in n.propertyEffects) this._createPropertyAccessor(l);
6338
+ if (a) if (n = Object.create(n), n.wasPreBound = s, !this.__templateInfo) this.__templateInfo = n;
6339
+ else {
6340
+ const l = o._parentTemplateInfo || this.__templateInfo, d = l.lastChild;
6341
+ n.parent = l, l.lastChild = n, n.previousSibling = d, d ? d.nextSibling = n : l.firstChild = n;
6342
+ }
6343
+ else this.__preBoundTemplateInfo = n;
6476
6344
  return n;
6477
6345
  }
6478
6346
  static _addTemplatePropertyEffect(o, a, n) {
@@ -6486,8 +6354,7 @@ const Si = H((i) => {
6486
6354
  let n = super._stampTemplate(o, a);
6487
6355
  if (dt.pop(), a.nodeList = n.nodeList, !a.wasPreBound) {
6488
6356
  let s = a.childNodes = [];
6489
- for (let l = n.firstChild; l; l = l.nextSibling)
6490
- s.push(l);
6357
+ for (let l = n.firstChild; l; l = l.nextSibling) s.push(l);
6491
6358
  }
6492
6359
  return n.templateInfo = a, Bh(this, a), this.__dataClientsReady && (this._runEffectsForTemplate(a, this.__data, null, !1), this._flushClients()), n;
6493
6360
  }
@@ -6515,16 +6382,14 @@ const Si = H((i) => {
6515
6382
  wh.test(s) ? h = "attribute" : s[s.length - 1] == "$" && (s = s.slice(0, -1), h = "attribute");
6516
6383
  let u = ea(d);
6517
6384
  return u && h == "attribute" && (s == "class" && o.hasAttribute("class") && (u += " " + o.getAttribute(s)), o.setAttribute(s, u)), h == "attribute" && c == "disable-upgrade$" && o.setAttribute(s, ""), o.localName === "input" && c === "value" && o.setAttribute(c, ""), o.removeAttribute(c), h === "property" && (s = dn(s)), Or(this, a, n, h, s, d, u), !0;
6518
- } else
6519
- return e._parseTemplateNodeAttribute.call(this, o, a, n, s, l);
6385
+ } else return e._parseTemplateNodeAttribute.call(this, o, a, n, s, l);
6520
6386
  }
6521
6387
  static _parseTemplateNestedTemplate(o, a, n) {
6522
6388
  let s = e._parseTemplateNestedTemplate.call(this, o, a, n);
6523
6389
  const l = o.parentNode, d = n.templateInfo, c = l.localName === "dom-if", h = l.localName === "dom-repeat";
6524
6390
  Ro && (c || h) && (l.removeChild(o), n = n.parentInfo, n.templateInfo = d, n.noted = !0, s = !1);
6525
6391
  let u = d.hostProps;
6526
- if (qc && c)
6527
- u && (a.hostProps = Object.assign(a.hostProps || {}, u), Ro || (n.parentInfo.noted = !0));
6392
+ if (qc && c) u && (a.hostProps = Object.assign(a.hostProps || {}, u), Ro || (n.parentInfo.noted = !0));
6528
6393
  else {
6529
6394
  let p = "{";
6530
6395
  for (let b in u) {
@@ -6549,8 +6414,7 @@ const Si = H((i) => {
6549
6414
  }
6550
6415
  let U = a.dynamicFns;
6551
6416
  (U && U[A] || N.static) && (D.push(A), N.dynamicFn = !0);
6552
- } else
6553
- D.push(h);
6417
+ } else D.push(h);
6554
6418
  n.push({ source: h, mode: d, negate: c, customEvent: u, signature: N, dependencies: D, event: p }), s = Zo.lastIndex;
6555
6419
  }
6556
6420
  if (s && s < o.length) {
@@ -6705,8 +6569,7 @@ const iu = "3.5.2", ra = window.ShadyCSS && window.ShadyCSS.cssBuild, ou = H((i)
6705
6569
  }
6706
6570
  function n(l) {
6707
6571
  let d = null;
6708
- if (l && (!nr || Hc) && (d = wt.import(l, "template"), nr && !d))
6709
- throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
6572
+ if (l && (!nr || Hc) && (d = wt.import(l, "template"), nr && !d)) throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);
6710
6573
  return d;
6711
6574
  }
6712
6575
  class s extends e {
@@ -6723,13 +6586,11 @@ const iu = "3.5.2", ra = window.ShadyCSS && window.ShadyCSS.cssBuild, ou = H((i)
6723
6586
  d && (typeof d == "string" ? (console.error("template getter must return HTMLTemplateElement"), d = null) : en || (d = d.cloneNode(!0))), this.prototype._template = d;
6724
6587
  }
6725
6588
  static createProperties(d) {
6726
- for (let c in d)
6727
- o(this.prototype, c, d[c], d);
6589
+ for (let c in d) o(this.prototype, c, d[c], d);
6728
6590
  }
6729
6591
  static createObservers(d, c) {
6730
6592
  const h = this.prototype;
6731
- for (let u = 0; u < d.length; u++)
6732
- h._createMethodObserver(d[u], c);
6593
+ for (let u = 0; u < d.length; u++) h._createMethodObserver(d[u], c);
6733
6594
  }
6734
6595
  static get template() {
6735
6596
  if (!this.hasOwnProperty(JSCompiler_renameProperty("_template", this))) {
@@ -6744,8 +6605,7 @@ const iu = "3.5.2", ra = window.ShadyCSS && window.ShadyCSS.cssBuild, ou = H((i)
6744
6605
  static get importPath() {
6745
6606
  if (!this.hasOwnProperty(JSCompiler_renameProperty("_importPath", this))) {
6746
6607
  const d = this.importMeta;
6747
- if (d)
6748
- this._importPath = Ai(d.url);
6608
+ if (d) this._importPath = Ai(d.url);
6749
6609
  else {
6750
6610
  const c = wt.import(this.is);
6751
6611
  this._importPath = c && c.assetpath || Object.getPrototypeOf(this.prototype).constructor.importPath;
@@ -6759,14 +6619,13 @@ const iu = "3.5.2", ra = window.ShadyCSS && window.ShadyCSS.cssBuild, ou = H((i)
6759
6619
  _initializeProperties() {
6760
6620
  this.constructor.finalize(), this.constructor._finalizeTemplate(this.localName), super._initializeProperties(), this.rootPath = $c, this.importPath = this.constructor.importPath;
6761
6621
  let d = t(this.constructor);
6762
- if (d)
6763
- for (let c in d) {
6764
- let h = d[c];
6765
- if (this._canApplyPropertyDefault(c)) {
6766
- let u = typeof h.value == "function" ? h.value.call(this) : h.value;
6767
- this._hasAccessor(c) ? this._setPendingProperty(c, u, !0) : this[c] = u;
6768
- }
6622
+ if (d) for (let c in d) {
6623
+ let h = d[c];
6624
+ if (this._canApplyPropertyDefault(c)) {
6625
+ let u = typeof h.value == "function" ? h.value.call(this) : h.value;
6626
+ this._hasAccessor(c) ? this._setPendingProperty(c, u, !0) : this[c] = u;
6769
6627
  }
6628
+ }
6770
6629
  }
6771
6630
  _canApplyPropertyDefault(d) {
6772
6631
  return !this.hasOwnProperty(d);
@@ -6793,8 +6652,7 @@ const iu = "3.5.2", ra = window.ShadyCSS && window.ShadyCSS.cssBuild, ou = H((i)
6793
6652
  }
6794
6653
  _attachDom(d) {
6795
6654
  const c = G(this);
6796
- if (c.attachShadow)
6797
- return d ? (c.shadowRoot || (c.attachShadow({ mode: "open", shadyUpgradeFragment: d }), c.shadowRoot.appendChild(d), this.constructor._styleSheet && (c.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), Uc && window.ShadyDOM && window.ShadyDOM.flushInitial(c.shadowRoot), c.shadowRoot) : null;
6655
+ if (c.attachShadow) return d ? (c.shadowRoot || (c.attachShadow({ mode: "open", shadyUpgradeFragment: d }), c.shadowRoot.appendChild(d), this.constructor._styleSheet && (c.shadowRoot.adoptedStyleSheets = [this.constructor._styleSheet])), Uc && window.ShadyDOM && window.ShadyDOM.flushInitial(c.shadowRoot), c.shadowRoot) : null;
6798
6656
  throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.");
6799
6657
  }
6800
6658
  updateStyles(d) {
@@ -6833,15 +6691,12 @@ class xn {
6833
6691
  }
6834
6692
  }
6835
6693
  function Cn(i) {
6836
- if (i instanceof xn)
6837
- return i.value;
6694
+ if (i instanceof xn) return i.value;
6838
6695
  throw new Error(`non-literal value passed to Polymer's htmlLiteral function: ${i}`);
6839
6696
  }
6840
6697
  function au(i) {
6841
- if (i instanceof HTMLTemplateElement)
6842
- return i.innerHTML;
6843
- if (i instanceof xn)
6844
- return Cn(i);
6698
+ if (i instanceof HTMLTemplateElement) return i.innerHTML;
6699
+ if (i instanceof xn) return Cn(i);
6845
6700
  throw new Error(`non-template value passed to Polymer's html function: ${i}`);
6846
6701
  }
6847
6702
  const C = function(i, ...e) {
@@ -6850,8 +6705,7 @@ const C = function(i, ...e) {
6850
6705
  let r = e.reduce((o, a, n) => o + au(a) + i[n + 1], i[0]);
6851
6706
  return ia && (r = ia.createHTML(r)), t.innerHTML = r, t;
6852
6707
  }, kn = (i, e) => {
6853
- if (!Array.isArray(i) || !Array.isArray(i.raw) || e.length !== i.length - 1)
6854
- throw new TypeError("Invalid call to the html template tag");
6708
+ if (!Array.isArray(i) || !Array.isArray(i.raw) || e.length !== i.length - 1) throw new TypeError("Invalid call to the html template tag");
6855
6709
  };
6856
6710
  /**
6857
6711
  @license
@@ -6886,21 +6740,18 @@ function hu() {
6886
6740
  return !!(Kt && Object.keys(Kt).map((i) => Kt[i]).filter((i) => i.productionMode).length > 0);
6887
6741
  }
6888
6742
  function En(i, e) {
6889
- if (typeof i != "function")
6890
- return;
6743
+ if (typeof i != "function") return;
6891
6744
  const t = nu.exec(i.toString());
6892
- if (t)
6893
- try {
6894
- i = new Function(t[1]);
6895
- } catch (r) {
6896
- console.log("vaadin-development-mode-detector: uncommentAndRun() failed", r);
6897
- }
6745
+ if (t) try {
6746
+ i = new Function(t[1]);
6747
+ } catch (r) {
6748
+ console.log("vaadin-development-mode-detector: uncommentAndRun() failed", r);
6749
+ }
6898
6750
  return i(e);
6899
6751
  }
6900
6752
  window.Vaadin = window.Vaadin || {};
6901
6753
  const oa = function(i, e) {
6902
- if (window.Vaadin.developmentMode)
6903
- return En(i, e);
6754
+ if (window.Vaadin.developmentMode) return En(i, e);
6904
6755
  };
6905
6756
  window.Vaadin.developmentMode === void 0 && (window.Vaadin.developmentMode = lu());
6906
6757
  function uu() {
@@ -7385,8 +7236,7 @@ function uu() {
7385
7236
  vaadin-dev-mode:end **/
7386
7237
  }
7387
7238
  const pu = function() {
7388
- if (typeof oa == "function")
7389
- return oa(uu);
7239
+ if (typeof oa == "function") return oa(uu);
7390
7240
  };
7391
7241
  /**
7392
7242
  * @license
@@ -7405,14 +7255,13 @@ function mu() {
7405
7255
  const i = Ue.length;
7406
7256
  for (let e = 0; e < i; e++) {
7407
7257
  const t = Ue[e];
7408
- if (t)
7409
- try {
7410
- t();
7411
- } catch (r) {
7412
- setTimeout(() => {
7413
- throw r;
7414
- });
7415
- }
7258
+ if (t) try {
7259
+ t();
7260
+ } catch (r) {
7261
+ setTimeout(() => {
7262
+ throw r;
7263
+ });
7264
+ }
7416
7265
  }
7417
7266
  Ue.splice(0, i), Tn += i;
7418
7267
  }
@@ -7441,8 +7290,7 @@ const we = { after(i) {
7441
7290
  }, cancel(i) {
7442
7291
  const e = i - Tn;
7443
7292
  if (e >= 0) {
7444
- if (!Ue[e])
7445
- throw new Error(`invalid async handle: ${i}`);
7293
+ if (!Ue[e]) throw new Error(`invalid async handle: ${i}`);
7446
7294
  Ue[e] = null;
7447
7295
  }
7448
7296
  } };
@@ -7533,8 +7381,7 @@ const ie = (i) => class extends i {
7533
7381
  super.connectedCallback(), (!this.hasAttribute("dir") || this.__restoreSubscription) && (this.__subscribe(), ii(this, oi(), null));
7534
7382
  }
7535
7383
  attributeChangedCallback(e, t, r) {
7536
- if (super.attributeChangedCallback(e, t, r), e !== "dir")
7537
- return;
7384
+ if (super.attributeChangedCallback(e, t, r), e !== "dir") return;
7538
7385
  const o = oi(), a = r === o && ue.indexOf(this) === -1, n = !r && t && ue.indexOf(this) === -1;
7539
7386
  a || n ? (this.__subscribe(), ii(this, o, r)) : r !== o && t === o && this.__unsubscribe();
7540
7387
  }
@@ -7698,10 +7545,9 @@ class J extends EventTarget {
7698
7545
  if (e.length === 0) {
7699
7546
  const t = this.attachDefaultNode();
7700
7547
  t && (this.nodes = [t], this.initNode(t));
7701
- } else
7702
- this.nodes = e, e.forEach((t) => {
7703
- this.initAddedNode(t);
7704
- });
7548
+ } else this.nodes = e, e.forEach((t) => {
7549
+ this.initAddedNode(t);
7550
+ });
7705
7551
  }
7706
7552
  attachDefaultNode() {
7707
7553
  const { host: e, slotName: t, tagName: r } = this;
@@ -7822,8 +7668,7 @@ function On(i) {
7822
7668
  const Au = navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u), Pu = { button: !0, command: !0, fieldset: !0, input: !0, keygen: !0, optgroup: !0, option: !0, select: !0, textarea: !0 };
7823
7669
  function Se(i) {
7824
7670
  const e = i.type;
7825
- if (!On(e))
7826
- return !1;
7671
+ if (!On(e)) return !1;
7827
7672
  if (e === "mousemove") {
7828
7673
  let t = i.buttons === void 0 ? 1 : i.buttons;
7829
7674
  return i instanceof window.MouseEvent && !Tu && (t = Eu[i.which] || 0), !!(t & 1);
@@ -7832,11 +7677,9 @@ function Se(i) {
7832
7677
  }
7833
7678
  function Iu(i) {
7834
7679
  if (i.type === "click") {
7835
- if (i.detail === 0)
7836
- return !0;
7680
+ if (i.detail === 0) return !0;
7837
7681
  const e = xe(i);
7838
- if (!e.nodeType || e.nodeType !== Node.ELEMENT_NODE)
7839
- return !0;
7682
+ if (!e.nodeType || e.nodeType !== Node.ELEMENT_NODE) return !0;
7840
7683
  const t = e.getBoundingClientRect(), r = i.pageX, o = i.pageY;
7841
7684
  return !(r >= t.left && r <= t.right && o >= t.top && o <= t.bottom);
7842
7685
  }
@@ -7846,11 +7689,10 @@ const pe = { touch: { x: 0, y: 0, id: -1, scrollDecided: !1 } };
7846
7689
  function Su(i) {
7847
7690
  let e = "auto";
7848
7691
  const t = zn(i);
7849
- for (let r = 0, o; r < t.length; r++)
7850
- if (o = t[r], o[ni]) {
7851
- e = o[ni];
7852
- break;
7853
- }
7692
+ for (let r = 0, o; r < t.length; r++) if (o = t[r], o[ni]) {
7693
+ e = o[ni];
7694
+ break;
7695
+ }
7854
7696
  return e;
7855
7697
  }
7856
7698
  function Mn(i, e, t) {
@@ -7864,8 +7706,7 @@ function Du(i, e) {
7864
7706
  let t = document.elementFromPoint(i, e), r = t;
7865
7707
  for (; r && r.shadowRoot && !window.ShadyDOM; ) {
7866
7708
  const o = r;
7867
- if (r = r.shadowRoot.elementFromPoint(i, e), o === r)
7868
- break;
7709
+ if (r = r.shadowRoot.elementFromPoint(i, e), o === r) break;
7869
7710
  r && (t = r);
7870
7711
  }
7871
7712
  return t;
@@ -7876,32 +7717,25 @@ function xe(i) {
7876
7717
  }
7877
7718
  function Ou(i) {
7878
7719
  const e = i.type, t = i.currentTarget[ai];
7879
- if (!t)
7880
- return;
7720
+ if (!t) return;
7881
7721
  const r = t[e];
7882
- if (!r)
7883
- return;
7722
+ if (!r) return;
7884
7723
  if (!i[Nr] && (i[Nr] = {}, e.startsWith("touch"))) {
7885
7724
  const a = i.changedTouches[0];
7886
- if (e === "touchstart" && i.touches.length === 1 && (pe.touch.id = a.identifier), pe.touch.id !== a.identifier)
7887
- return;
7725
+ if (e === "touchstart" && i.touches.length === 1 && (pe.touch.id = a.identifier), pe.touch.id !== a.identifier) return;
7888
7726
  Dn || (e === "touchstart" || e === "touchmove") && Mu(i);
7889
7727
  }
7890
7728
  const o = i[Nr];
7891
7729
  if (!o.skip) {
7892
- for (let a = 0, n; a < Pe.length; a++)
7893
- n = Pe[a], r[n.name] && !o[n.name] && n.flow && n.flow.start.indexOf(i.type) > -1 && n.reset && n.reset();
7894
- for (let a = 0, n; a < Pe.length; a++)
7895
- n = Pe[a], r[n.name] && !o[n.name] && (o[n.name] = !0, n[e](i));
7730
+ for (let a = 0, n; a < Pe.length; a++) n = Pe[a], r[n.name] && !o[n.name] && n.flow && n.flow.start.indexOf(i.type) > -1 && n.reset && n.reset();
7731
+ for (let a = 0, n; a < Pe.length; a++) n = Pe[a], r[n.name] && !o[n.name] && (o[n.name] = !0, n[e](i));
7896
7732
  }
7897
7733
  }
7898
7734
  function Mu(i) {
7899
7735
  const e = i.changedTouches[0], t = i.type;
7900
- if (t === "touchstart")
7901
- pe.touch.x = e.clientX, pe.touch.y = e.clientY, pe.touch.scrollDecided = !1;
7736
+ if (t === "touchstart") pe.touch.x = e.clientX, pe.touch.y = e.clientY, pe.touch.scrollDecided = !1;
7902
7737
  else if (t === "touchmove") {
7903
- if (pe.touch.scrollDecided)
7904
- return;
7738
+ if (pe.touch.scrollDecided) return;
7905
7739
  pe.touch.scrollDecided = !0;
7906
7740
  const r = Su(i);
7907
7741
  let o = !1;
@@ -7916,8 +7750,7 @@ function zu(i, e, t) {
7916
7750
  const r = Mi[e], o = r.deps, a = r.name;
7917
7751
  let n = i[ai];
7918
7752
  n || (i[ai] = n = {});
7919
- for (let s = 0, l, d; s < o.length; s++)
7920
- l = o[s], !(Au && On(l) && l !== "click") && (d = n[l], d || (n[l] = d = { _count: 0 }), d._count === 0 && i.addEventListener(l, Ou, void 0), d[a] = (d[a] || 0) + 1, d._count = (d._count || 0) + 1);
7753
+ for (let s = 0, l, d; s < o.length; s++) l = o[s], !(Au && On(l) && l !== "click") && (d = n[l], d || (n[l] = d = { _count: 0 }), d._count === 0 && i.addEventListener(l, Ou, void 0), d[a] = (d[a] || 0) + 1, d._count = (d._count || 0) + 1);
7921
7754
  i.addEventListener(e, t), r.touchAction && Nn(i, r.touchAction);
7922
7755
  }
7923
7756
  function zi(i) {
@@ -7928,9 +7761,7 @@ function zi(i) {
7928
7761
  function Nu(i) {
7929
7762
  for (let e = 0, t; e < Pe.length; e++) {
7930
7763
  t = Pe[e];
7931
- for (let r = 0, o; r < t.emits.length; r++)
7932
- if (o = t.emits[r], o === i)
7933
- return t;
7764
+ for (let r = 0, o; r < t.emits.length; r++) if (o = t.emits[r], o === i) return t;
7934
7765
  }
7935
7766
  return null;
7936
7767
  }
@@ -7953,8 +7784,7 @@ function dr(i) {
7953
7784
  zi({ name: "downup", deps: ["mousedown", "touchstart", "touchend"], flow: { start: ["mousedown", "touchstart"], end: ["mouseup", "touchend"] }, emits: ["down", "up"], info: { movefn: null, upfn: null }, reset() {
7954
7785
  We(this.info);
7955
7786
  }, mousedown(i) {
7956
- if (!Se(i))
7957
- return;
7787
+ if (!Se(i)) return;
7958
7788
  const e = xe(i), t = this, r = (a) => {
7959
7789
  Se(a) || (ct("up", e, a), We(t.info));
7960
7790
  }, o = (a) => {
@@ -7976,8 +7806,7 @@ zi({ name: "track", touchAction: "none", deps: ["mousedown", "touchstart", "touc
7976
7806
  }, movefn: null, upfn: null, prevent: !1 }, reset() {
7977
7807
  this.info.state = "start", this.info.started = !1, this.info.moves = [], this.info.x = 0, this.info.y = 0, this.info.prevent = !1, We(this.info);
7978
7808
  }, mousedown(i) {
7979
- if (!Se(i))
7980
- return;
7809
+ if (!Se(i)) return;
7981
7810
  const e = xe(i), t = this, r = (a) => {
7982
7811
  const n = a.clientX, s = a.clientY;
7983
7812
  da(t.info, n, s) && (t.info.state = t.info.started ? a.type === "mouseup" ? "end" : "track" : "start", t.info.state === "start" && dr("tap"), t.info.addMove({ x: n, y: s }), Se(a) || (t.info.state = "end", We(t.info)), e && Lr(t.info, e, a), t.info.started = !0);
@@ -7996,16 +7825,13 @@ zi({ name: "track", touchAction: "none", deps: ["mousedown", "touchstart", "touc
7996
7825
  this.info.started && (this.info.state = "end", this.info.addMove({ x: t.clientX, y: t.clientY }), Lr(this.info, e, t));
7997
7826
  } });
7998
7827
  function da(i, e, t) {
7999
- if (i.prevent)
8000
- return !1;
8001
- if (i.started)
8002
- return !0;
7828
+ if (i.prevent) return !1;
7829
+ if (i.started) return !0;
8003
7830
  const r = Math.abs(i.x - e), o = Math.abs(i.y - t);
8004
7831
  return r >= la || o >= la;
8005
7832
  }
8006
7833
  function Lr(i, e, t) {
8007
- if (!e)
8008
- return;
7834
+ if (!e) return;
8009
7835
  const r = i.moves[i.moves.length - 2], o = i.moves[i.moves.length - 1], a = o.x - i.x, n = o.y - i.y;
8010
7836
  let s, l = 0;
8011
7837
  r && (s = o.x - r.x, l = o.y - r.y), Ni(e, "track", { state: i.state, x: t.clientX, y: t.clientY, dx: a, dy: n, ddx: s, ddy: l, sourceEvent: t, hover() {
@@ -8122,8 +7948,7 @@ window.addEventListener("mousedown", () => {
8122
7948
  }, { capture: !0 });
8123
7949
  function si() {
8124
7950
  let i = document.activeElement || document.body;
8125
- for (; i.shadowRoot && i.shadowRoot.activeElement; )
8126
- i = i.shadowRoot.activeElement;
7951
+ for (; i.shadowRoot && i.shadowRoot.activeElement; ) i = i.shadowRoot.activeElement;
8127
7952
  return i;
8128
7953
  }
8129
7954
  function vr() {
@@ -8131,8 +7956,7 @@ function vr() {
8131
7956
  }
8132
7957
  function Ln(i) {
8133
7958
  const e = i.style;
8134
- if (e.visibility === "hidden" || e.display === "none")
8135
- return !0;
7959
+ if (e.visibility === "hidden" || e.display === "none") return !0;
8136
7960
  const t = window.getComputedStyle(i);
8137
7961
  return t.visibility === "hidden" || t.display === "none";
8138
7962
  }
@@ -8142,14 +7966,12 @@ function Lu(i, e) {
8142
7966
  }
8143
7967
  function Fu(i, e) {
8144
7968
  const t = [];
8145
- for (; i.length > 0 && e.length > 0; )
8146
- Lu(i[0], e[0]) ? t.push(e.shift()) : t.push(i.shift());
7969
+ for (; i.length > 0 && e.length > 0; ) Lu(i[0], e[0]) ? t.push(e.shift()) : t.push(i.shift());
8147
7970
  return t.concat(i, e);
8148
7971
  }
8149
7972
  function li(i) {
8150
7973
  const e = i.length;
8151
- if (e < 2)
8152
- return i;
7974
+ if (e < 2) return i;
8153
7975
  const t = Math.ceil(e / 2), r = li(i.slice(0, t)), o = li(i.slice(t));
8154
7976
  return Fu(r, o);
8155
7977
  }
@@ -8163,14 +7985,12 @@ function Vi(i) {
8163
7985
  return i.getRootNode().activeElement === i;
8164
7986
  }
8165
7987
  function Bu(i) {
8166
- if (!Bi(i))
8167
- return -1;
7988
+ if (!Bi(i)) return -1;
8168
7989
  const e = i.getAttribute("tabindex") || 0;
8169
7990
  return Number(e);
8170
7991
  }
8171
7992
  function Fn(i, e) {
8172
- if (i.nodeType !== Node.ELEMENT_NODE || Ln(i))
8173
- return !1;
7993
+ if (i.nodeType !== Node.ELEMENT_NODE || Ln(i)) return !1;
8174
7994
  const t = i, r = Bu(t);
8175
7995
  let o = r > 0;
8176
7996
  r >= 0 && e.push(t);
@@ -8434,23 +8254,19 @@ function Vn(i, e) {
8434
8254
  i && i.removeAttribute(e);
8435
8255
  }
8436
8256
  function Rn(i, e) {
8437
- if (!i || !e)
8438
- return;
8257
+ if (!i || !e) return;
8439
8258
  const t = $i(e);
8440
- if (t.has(i))
8441
- return;
8259
+ if (t.has(i)) return;
8442
8260
  const r = Di(i.getAttribute(e));
8443
8261
  t.set(i, new Set(r));
8444
8262
  }
8445
8263
  function $u(i, e) {
8446
- if (!i || !e)
8447
- return;
8264
+ if (!i || !e) return;
8448
8265
  const t = $i(e), r = t.get(i);
8449
8266
  !r || r.size === 0 ? i.removeAttribute(e) : Sn(i, e, _r(r)), t.delete(i);
8450
8267
  }
8451
8268
  function qe(i, e, t = { newId: null, oldId: null, fromUser: !1 }) {
8452
- if (!i || !e)
8453
- return;
8269
+ if (!i || !e) return;
8454
8270
  const { newId: r, oldId: o, fromUser: a } = t, n = $i(e), s = n.get(i);
8455
8271
  if (!a && s) {
8456
8272
  o && s.delete(o), r && s.add(r);
@@ -8793,8 +8609,7 @@ const br = (i) => class extends Ui(Yu(he(i))) {
8793
8609
  if (e) {
8794
8610
  const t = this._errorNode;
8795
8611
  this._fieldAriaController.setErrorId(t && t.id);
8796
- } else
8797
- this._fieldAriaController.setErrorId(null);
8612
+ } else this._fieldAriaController.setErrorId(null);
8798
8613
  });
8799
8614
  }
8800
8615
  };
@@ -9261,8 +9076,7 @@ const Qu = (i) => class extends br(Ne(Ze(i))) {
9261
9076
  if (t && t.isConnected) {
9262
9077
  const r = this.__checkboxes.map((o) => o.inputElement);
9263
9078
  this._tooltipController.setAriaTarget(r);
9264
- } else
9265
- this._tooltipController.setAriaTarget([]);
9079
+ } else this._tooltipController.setAriaTarget([]);
9266
9080
  });
9267
9081
  }
9268
9082
  get __checkboxes() {
@@ -10786,12 +10600,10 @@ function sp() {
10786
10600
  });
10787
10601
  }
10788
10602
  function lp(i) {
10789
- for (; i.length; )
10790
- Yn(i.shift());
10603
+ for (; i.length; ) Yn(i.shift());
10791
10604
  }
10792
10605
  function dp(i) {
10793
- for (let e = 0, t = i.length; e < t; e++)
10794
- Yn(i.shift());
10606
+ for (let e = 0, t = i.length; e < t; e++) Yn(i.shift());
10795
10607
  }
10796
10608
  function Yn(i) {
10797
10609
  const e = i[0], t = i[1], r = i[2];
@@ -10831,12 +10643,10 @@ let Be = /* @__PURE__ */ new WeakMap(), Ut = /* @__PURE__ */ new WeakMap(), Wt =
10831
10643
  const ha = (i) => i && i.nodeType === Node.ELEMENT_NODE, Vr = (...i) => {
10832
10644
  console.error(`Error: ${i.join(" ")}. Skip setting aria-hidden.`);
10833
10645
  }, mp = (i, e) => ha(i) ? e.map((t) => {
10834
- if (!ha(t))
10835
- return Vr(t, "is not a valid element"), null;
10646
+ if (!ha(t)) return Vr(t, "is not a valid element"), null;
10836
10647
  let r = t;
10837
10648
  for (; r && r !== i; ) {
10838
- if (i.contains(r))
10839
- return t;
10649
+ if (i.contains(r)) return t;
10840
10650
  r = r.getRootNode().host;
10841
10651
  }
10842
10652
  return Vr(t, "is not contained inside", i), null;
@@ -10844,25 +10654,21 @@ const ha = (i) => i && i.nodeType === Node.ELEMENT_NODE, Vr = (...i) => {
10844
10654
  const o = mp(e, Array.isArray(i) ? i : [i]);
10845
10655
  Wt[t] || (Wt[t] = /* @__PURE__ */ new WeakMap());
10846
10656
  const a = Wt[t], n = [], s = /* @__PURE__ */ new Set(), l = new Set(o), d = (h) => {
10847
- if (!h || s.has(h))
10848
- return;
10657
+ if (!h || s.has(h)) return;
10849
10658
  s.add(h);
10850
10659
  const u = h.assignedSlot;
10851
10660
  u && d(u), d(h.parentNode || h.host);
10852
10661
  };
10853
10662
  o.forEach(d);
10854
10663
  const c = (h) => {
10855
- if (!h || l.has(h))
10856
- return;
10664
+ if (!h || l.has(h)) return;
10857
10665
  const u = h.shadowRoot;
10858
10666
  (u ? [...h.children, ...u.children] : [...h.children]).forEach((p) => {
10859
- if (!["template", "script", "style"].includes(p.localName))
10860
- if (s.has(p))
10861
- c(p);
10862
- else {
10863
- const b = p.getAttribute(r), N = b !== null && b !== "false", D = (Be.get(p) || 0) + 1, O = (a.get(p) || 0) + 1;
10864
- Be.set(p, D), a.set(p, O), n.push(p), D === 1 && N && Ut.set(p, !0), O === 1 && p.setAttribute(t, "true"), N || p.setAttribute(r, "true");
10865
- }
10667
+ if (!["template", "script", "style"].includes(p.localName)) if (s.has(p)) c(p);
10668
+ else {
10669
+ const b = p.getAttribute(r), N = b !== null && b !== "false", D = (Be.get(p) || 0) + 1, O = (a.get(p) || 0) + 1;
10670
+ Be.set(p, D), a.set(p, O), n.push(p), D === 1 && N && Ut.set(p, !0), O === 1 && p.setAttribute(t, "true"), N || p.setAttribute(r, "true");
10671
+ }
10866
10672
  });
10867
10673
  };
10868
10674
  return c(e), s.clear(), Br += 1, () => {
@@ -10903,8 +10709,7 @@ class vp {
10903
10709
  }
10904
10710
  restoreFocus(e) {
10905
10711
  const t = this.focusNode;
10906
- if (!t)
10907
- return;
10712
+ if (!t) return;
10908
10713
  const r = e ? e.preventScroll : !1;
10909
10714
  si() === document.body ? setTimeout(() => t.focus({ preventScroll: r })) : t.focus({ preventScroll: r }), this.focusNode = null;
10910
10715
  }
@@ -10933,8 +10738,7 @@ class gp {
10933
10738
  document.removeEventListener("keydown", this.__onKeyDown);
10934
10739
  }
10935
10740
  trapFocus(e) {
10936
- if (this.__trapNode = e, this.__focusableElements.length === 0)
10937
- throw this.__trapNode = null, new Error("The trap node should have at least one focusable descendant or be focusable itself.");
10741
+ if (this.__trapNode = e, this.__focusableElements.length === 0) throw this.__trapNode = null, new Error("The trap node should have at least one focusable descendant or be focusable itself.");
10938
10742
  Rr.push(this), this.__focusedElementIndex === -1 && this.__focusableElements[0].focus();
10939
10743
  }
10940
10744
  releaseFocus() {
@@ -10984,12 +10788,10 @@ const bp = (i) => class extends he(i) {
10984
10788
  return e === document.body || this._deepContains(e);
10985
10789
  }
10986
10790
  _deepContains(e) {
10987
- if (this.contains(e))
10988
- return !0;
10791
+ if (this.contains(e)) return !0;
10989
10792
  let t = e;
10990
10793
  const r = e.ownerDocument;
10991
- for (; t && t !== r && t !== this; )
10992
- t = t.parentNode || t.host;
10794
+ for (; t && t !== r && t !== this; ) t = t.parentNode || t.host;
10993
10795
  return t === this;
10994
10796
  }
10995
10797
  };
@@ -11019,8 +10821,7 @@ const Gn = () => Array.from(document.body.children).filter((i) => i instanceof H
11019
10821
  this._previousDocumentPointerEvents !== void 0 && (document.body.style.pointerEvents = this._previousDocumentPointerEvents, delete this._previousDocumentPointerEvents);
11020
10822
  const e = pi();
11021
10823
  let t;
11022
- for (; (t = e.pop()) && !(t !== this && (t.$.overlay.style.removeProperty("pointer-events"), !t.modeless)); )
11023
- ;
10824
+ for (; (t = e.pop()) && !(t !== this && (t.$.overlay.style.removeProperty("pointer-events"), !t.modeless)); ) ;
11024
10825
  }
11025
10826
  };
11026
10827
  /**
@@ -11059,8 +10860,7 @@ const Nt = (i) => class extends bp(Kn(i)) {
11059
10860
  this.dispatchEvent(t), t.defaultPrevented || (this.opened = !1);
11060
10861
  }
11061
10862
  _detectIosNavbar() {
11062
- if (!this.opened)
11063
- return;
10863
+ if (!this.opened) return;
11064
10864
  const e = window.innerHeight, t = window.innerWidth > e, r = document.documentElement.clientHeight;
11065
10865
  t && r > e ? this.style.setProperty("--vaadin-overlay-viewport-bottom", `${r - e}px`) : this.style.setProperty("--vaadin-overlay-viewport-bottom", "0");
11066
10866
  }
@@ -11141,8 +10941,7 @@ const Nt = (i) => class extends bp(Kn(i)) {
11141
10941
  this._mouseDownInside = !1, this._mouseUpInside = !1;
11142
10942
  return;
11143
10943
  }
11144
- if (!this._shouldCloseOnOutsideClick(e))
11145
- return;
10944
+ if (!this._shouldCloseOnOutsideClick(e)) return;
11146
10945
  const t = new CustomEvent("vaadin-overlay-outside-click", { bubbles: !0, cancelable: !0, detail: { sourceEvent: e } });
11147
10946
  this.dispatchEvent(t), this.opened && !t.defaultPrevented && this.close(e);
11148
10947
  }
@@ -11167,15 +10966,13 @@ function wp(i, e) {
11167
10966
  function a(n = !1, s = 1) {
11168
10967
  o();
11169
10968
  const { left: l, top: d, width: c, height: h } = i.getBoundingClientRect();
11170
- if (n || e(), !c || !h)
11171
- return;
10969
+ if (n || e(), !c || !h) return;
11172
10970
  const u = Math.floor(d), p = Math.floor(r.clientWidth - (l + c)), b = Math.floor(r.clientHeight - (d + h)), N = Math.floor(l), D = { rootMargin: `${-u}px ${-p}px ${-b}px ${-N}px`, threshold: Math.max(0, Math.min(1, s)) || 1 };
11173
10971
  let O = !0;
11174
10972
  function A(U) {
11175
10973
  let W = U[0].intersectionRatio;
11176
10974
  if (W !== s) {
11177
- if (!O)
11178
- return a();
10975
+ if (!O) return a();
11179
10976
  W === 0 && (W = 1e-7), a(!1, W);
11180
10977
  }
11181
10978
  O = !1;
@@ -11238,8 +11035,7 @@ const $r = { start: "top", end: "bottom" }, Hr = { start: "left", end: "right" }
11238
11035
  e.target instanceof Node && this.contains(e.target) || this._updatePosition();
11239
11036
  }
11240
11037
  _updatePosition() {
11241
- if (!this.positionTarget || !this.opened || !this.__margins)
11242
- return;
11038
+ if (!this.positionTarget || !this.opened || !this.__margins) return;
11243
11039
  const e = this.positionTarget.getBoundingClientRect();
11244
11040
  if (e.width === 0 && e.height === 0 && this.opened) {
11245
11041
  this.opened = !1;
@@ -11500,10 +11296,8 @@ function Xe(i, e, t, r) {
11500
11296
  }
11501
11297
  function Qn(i, e) {
11502
11298
  return e.filter((t) => t !== void 0).reduce((t, r) => {
11503
- if (!r)
11504
- return t;
11505
- if (!t)
11506
- return r;
11299
+ if (!r) return t;
11300
+ if (!t) return r;
11507
11301
  const o = Math.abs(i.getTime() - r.getTime()), a = Math.abs(t.getTime() - i.getTime());
11508
11302
  return o < a ? r : t;
11509
11303
  });
@@ -11513,17 +11307,14 @@ function Jn(i) {
11513
11307
  return t.setDate(1), t.setMonth(parseInt(i) + e.getMonth()), t;
11514
11308
  }
11515
11309
  function Pp(i, e, t = 0, r = 1) {
11516
- if (e > 99)
11517
- throw new Error("The provided year cannot have more than 2 digits.");
11518
- if (e < 0)
11519
- throw new Error("The provided year cannot be negative.");
11310
+ if (e > 99) throw new Error("The provided year cannot have more than 2 digits.");
11311
+ if (e < 0) throw new Error("The provided year cannot be negative.");
11520
11312
  let o = e + Math.floor(i.getFullYear() / 100) * 100;
11521
11313
  return i < new Date(o - 50, t, r) ? o -= 100 : i > new Date(o + 50, t, r) && (o += 100), o;
11522
11314
  }
11523
11315
  function ht(i) {
11524
11316
  const e = /^([-+]\d{1}|\d{2,4}|[-+]\d{6})-(\d{1,2})-(\d{1,2})$/u.exec(i);
11525
- if (!e)
11526
- return;
11317
+ if (!e) return;
11527
11318
  const t = new Date(0, 0);
11528
11319
  return t.setFullYear(parseInt(e[1], 10)), t.setMonth(parseInt(e[2], 10) - 1), t.setDate(parseInt(e[3], 10)), t;
11529
11320
  }
@@ -11715,8 +11506,7 @@ class es extends HTMLElement {
11715
11506
  this._buffers[t].translateY = this._buffers[t ? 0 : 1].translateY + this._bufferHeight * (t ? -1 : 1), this._buffers[t].style.transform = `translate3d(0, ${this._buffers[t].translateY}px, 0)`, this._buffers[t].updated = !1, this._buffers.reverse();
11716
11507
  }
11717
11508
  _scroll() {
11718
- if (this._scrollDisabled)
11719
- return;
11509
+ if (this._scrollDisabled) return;
11720
11510
  const e = this.$.scroller.scrollTop;
11721
11511
  (e < this._bufferHeight || e > this._initialScroll * 2 - this._bufferHeight) && (this._initialIndex = ~~this.position, this._reset());
11722
11512
  const t = this.itemHeight + this.bufferOffset, r = e > this._buffers[1].translateY + t, o = e < this._buffers[0].translateY + t;
@@ -11746,8 +11536,7 @@ class es extends HTMLElement {
11746
11536
  });
11747
11537
  }
11748
11538
  _ensureStampedInstance(e) {
11749
- if (e.firstElementChild)
11750
- return;
11539
+ if (e.firstElementChild) return;
11751
11540
  const t = e.instance;
11752
11541
  e.instance = this._createElement(), e.appendChild(e.instance), Object.keys(t).forEach((r) => {
11753
11542
  e.instance[r] = t[r];
@@ -11961,18 +11750,13 @@ const Rp = Si(class {
11961
11750
  function $p(i, e) {
11962
11751
  for (let t = 0; t < e.length; t++) {
11963
11752
  let r = e[t];
11964
- if (!!i != !!r.__hideTemplateChildren__)
11965
- if (r.nodeType === Node.TEXT_NODE)
11966
- i ? (r.__polymerTextContent__ = r.textContent, r.textContent = "") : r.textContent = r.__polymerTextContent__;
11967
- else if (r.localName === "slot")
11968
- if (i)
11969
- r.__polymerReplaced__ = document.createComment("hidden-slot"), G(G(r).parentNode).replaceChild(r.__polymerReplaced__, r);
11970
- else {
11971
- const o = r.__polymerReplaced__;
11972
- o && G(G(o).parentNode).replaceChild(r, o);
11973
- }
11974
- else
11975
- r.style && (i ? (r.__polymerDisplay__ = r.style.display, r.style.display = "none") : r.style.display = r.__polymerDisplay__);
11753
+ if (!!i != !!r.__hideTemplateChildren__) if (r.nodeType === Node.TEXT_NODE) i ? (r.__polymerTextContent__ = r.textContent, r.textContent = "") : r.textContent = r.__polymerTextContent__;
11754
+ else if (r.localName === "slot") if (i) r.__polymerReplaced__ = document.createComment("hidden-slot"), G(G(r).parentNode).replaceChild(r.__polymerReplaced__, r);
11755
+ else {
11756
+ const o = r.__polymerReplaced__;
11757
+ o && G(G(o).parentNode).replaceChild(r, o);
11758
+ }
11759
+ else r.style && (i ? (r.__polymerDisplay__ = r.style.display, r.style.display = "none") : r.style.display = r.__polymerDisplay__);
11976
11760
  r.__hideTemplateChildren__ = i, r._showHideChildren && r._showHideChildren(i);
11977
11761
  }
11978
11762
  }
@@ -11981,27 +11765,22 @@ class to extends Rp {
11981
11765
  super(), this._configureProperties(e), this.root = this._stampTemplate(this.__dataHost);
11982
11766
  let t = [];
11983
11767
  this.children = t;
11984
- for (let o = this.root.firstChild; o; o = o.nextSibling)
11985
- t.push(o), o.__templatizeInstance = this;
11768
+ for (let o = this.root.firstChild; o; o = o.nextSibling) t.push(o), o.__templatizeInstance = this;
11986
11769
  this.__templatizeOwner && this.__templatizeOwner.__hideTemplateChildren__ && this._showHideChildren(!0);
11987
11770
  let r = this.__templatizeOptions;
11988
11771
  (e && r.instanceProps || !r.instanceProps) && this._enableProperties();
11989
11772
  }
11990
11773
  _configureProperties(e) {
11991
- if (this.__templatizeOptions.forwardHostProp)
11992
- for (let t in this.__hostProps)
11993
- this._setPendingProperty(t, this.__dataHost["_host_" + t]);
11994
- for (let t in e)
11995
- this._setPendingProperty(t, e[t]);
11774
+ if (this.__templatizeOptions.forwardHostProp) for (let t in this.__hostProps) this._setPendingProperty(t, this.__dataHost["_host_" + t]);
11775
+ for (let t in e) this._setPendingProperty(t, e[t]);
11996
11776
  }
11997
11777
  forwardHostProp(e, t) {
11998
11778
  this._setPendingPropertyOrPath(e, t, !1, !0) && this.__dataHost._enqueueClient(this);
11999
11779
  }
12000
11780
  _addEventListenerToNode(e, t, r) {
12001
- if (this._methodHost && this.__templatizeOptions.parentModel)
12002
- this._methodHost._addEventListenerToNode(e, t, (o) => {
12003
- o.model = this, r(o);
12004
- });
11781
+ if (this._methodHost && this.__templatizeOptions.parentModel) this._methodHost._addEventListenerToNode(e, t, (o) => {
11782
+ o.model = this, r(o);
11783
+ });
12005
11784
  else {
12006
11785
  let o = this.__dataHost.__dataHost;
12007
11786
  o && o._addEventListenerToNode(e, t, r);
@@ -12059,20 +11838,17 @@ function Wp(i, e, t, r) {
12059
11838
  n = e.templatizeTemplateClass = d;
12060
11839
  }
12061
11840
  let s = e.hostProps;
12062
- for (let l in s)
12063
- n.prototype._addPropertyEffect("_host_" + l, n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE, { fn: qp(l, o) }), n.prototype._createNotifyingProperty("_host_" + l);
11841
+ for (let l in s) n.prototype._addPropertyEffect("_host_" + l, n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE, { fn: qp(l, o) }), n.prototype._createNotifyingProperty("_host_" + l);
12064
11842
  tn && r && Kp(e, t, r);
12065
11843
  }
12066
- if (i.__dataProto && Object.assign(i.__data, i.__dataProto), a)
12067
- Vp(i, n), i.__dataTemp = {}, i.__dataPending = null, i.__dataOld = null, i._enableProperties();
11844
+ if (i.__dataProto && Object.assign(i.__data, i.__dataProto), a) Vp(i, n), i.__dataTemp = {}, i.__dataPending = null, i.__dataOld = null, i._enableProperties();
12068
11845
  else {
12069
11846
  Object.setPrototypeOf(i, n.prototype);
12070
11847
  const s = e.hostProps;
12071
- for (let l in s)
12072
- if (l = "_host_" + l, l in i) {
12073
- const d = i[l];
12074
- delete i[l], i.__data[l] = d;
12075
- }
11848
+ for (let l in s) if (l = "_host_" + l, l in i) {
11849
+ const d = i[l];
11850
+ delete i[l], i.__data[l] = d;
11851
+ }
12076
11852
  }
12077
11853
  }
12078
11854
  }
@@ -12088,9 +11864,7 @@ function Yp(i, e, t, r) {
12088
11864
  let n = r.notifyInstanceProp;
12089
11865
  n && i.prototype._addPropertyEffect(a, i.prototype.PROPERTY_EFFECT_TYPES.NOTIFY, { fn: jp(a, n) });
12090
11866
  }
12091
- if (r.forwardHostProp && e.__dataHost)
12092
- for (let a in o)
12093
- t.hasHostProps || (t.hasHostProps = !0), i.prototype._addPropertyEffect(a, i.prototype.PROPERTY_EFFECT_TYPES.NOTIFY, { fn: Gp() });
11867
+ if (r.forwardHostProp && e.__dataHost) for (let a in o) t.hasHostProps || (t.hasHostProps = !0), i.prototype._addPropertyEffect(a, i.prototype.PROPERTY_EFFECT_TYPES.NOTIFY, { fn: Gp() });
12094
11868
  }
12095
11869
  function jp(i, e) {
12096
11870
  return function(t, r, o) {
@@ -12103,10 +11877,8 @@ function Gp() {
12103
11877
  };
12104
11878
  }
12105
11879
  function vi(i, e, t) {
12106
- if (nr && !pa(i))
12107
- throw new Error("strictTemplatePolicy: template owner not trusted");
12108
- if (t = t || {}, i.__templatizeOwner)
12109
- throw new Error("A <template> can only be templatized once");
11880
+ if (nr && !pa(i)) throw new Error("strictTemplatePolicy: template owner not trusted");
11881
+ if (t = t || {}, i.__templatizeOwner) throw new Error("A <template> can only be templatized once");
12110
11882
  i.__templatizeOwner = e;
12111
11883
  let r = (e ? e.constructor : to)._parseTemplate(i), o = r.templatizeInstanceClass;
12112
11884
  o || (o = Up(i, r, t), r.templatizeInstanceClass = o);
@@ -12118,28 +11890,22 @@ function vi(i, e, t) {
12118
11890
  }
12119
11891
  function Kp(i, e, t) {
12120
11892
  const r = t.constructor._properties, { propertyEffects: o } = i, { instanceProps: a } = e;
12121
- for (let n in o)
12122
- if (!r[n] && !(a && a[n])) {
12123
- const s = o[n];
12124
- for (let l = 0; l < s.length; l++) {
12125
- const { part: d } = s[l].info;
12126
- if (!(d.signature && d.signature.static)) {
12127
- console.warn(`Property '${n}' used in template but not declared in 'properties'; attribute will not be observed.`);
12128
- break;
12129
- }
11893
+ for (let n in o) if (!r[n] && !(a && a[n])) {
11894
+ const s = o[n];
11895
+ for (let l = 0; l < s.length; l++) {
11896
+ const { part: d } = s[l].info;
11897
+ if (!(d.signature && d.signature.static)) {
11898
+ console.warn(`Property '${n}' used in template but not declared in 'properties'; attribute will not be observed.`);
11899
+ break;
12130
11900
  }
12131
11901
  }
11902
+ }
12132
11903
  }
12133
11904
  function Xp(i, e) {
12134
11905
  let t;
12135
- for (; e; )
12136
- if (t = e.__dataHost ? e : e.__templatizeInstance)
12137
- if (t.__dataHost != i)
12138
- e = t.__dataHost;
12139
- else
12140
- return t;
12141
- else
12142
- e = G(e).parentNode;
11906
+ for (; e; ) if (t = e.__dataHost ? e : e.__templatizeInstance) if (t.__dataHost != i) e = t.__dataHost;
11907
+ else return t;
11908
+ else e = G(e).parentNode;
12143
11909
  return null;
12144
11910
  }
12145
11911
  /**
@@ -12191,16 +11957,14 @@ class fa extends Jp {
12191
11957
  }
12192
11958
  disconnectedCallback() {
12193
11959
  super.disconnectedCallback(), this.__isDetached = !0;
12194
- for (let e = 0; e < this.__instances.length; e++)
12195
- this.__detachInstance(e);
11960
+ for (let e = 0; e < this.__instances.length; e++) this.__detachInstance(e);
12196
11961
  this.__chunkingId && cancelAnimationFrame(this.__chunkingId);
12197
11962
  }
12198
11963
  connectedCallback() {
12199
11964
  if (super.connectedCallback(), Qp() || (this.style.display = "none"), this.__isDetached) {
12200
11965
  this.__isDetached = !1;
12201
11966
  let e = G(G(this).parentNode);
12202
- for (let t = 0; t < this.__instances.length; t++)
12203
- this.__attachInstance(t, e);
11967
+ for (let t = 0; t < this.__instances.length; t++) this.__attachInstance(t, e);
12204
11968
  this.__chunkingId && this.__render();
12205
11969
  }
12206
11970
  }
@@ -12210,18 +11974,15 @@ class fa extends Jp {
12210
11974
  let t = this.template = e._templateInfo ? e : this.querySelector("template");
12211
11975
  if (!t) {
12212
11976
  let o = new MutationObserver(() => {
12213
- if (this.querySelector("template"))
12214
- o.disconnect(), this.__render();
12215
- else
12216
- throw new Error("dom-repeat requires a <template> child");
11977
+ if (this.querySelector("template")) o.disconnect(), this.__render();
11978
+ else throw new Error("dom-repeat requires a <template> child");
12217
11979
  });
12218
11980
  return o.observe(this, { childList: !0 }), !1;
12219
11981
  }
12220
11982
  let r = {};
12221
11983
  r[this.as] = !0, r[this.indexAs] = !0, r[this.itemsIndexAs] = !0, this.__ctor = vi(t, this, { mutableData: this.mutableData, parentModel: !0, instanceProps: r, forwardHostProp: function(o, a) {
12222
11984
  let n = this.__instances;
12223
- for (let s = 0, l; s < n.length && (l = n[s]); s++)
12224
- l.forwardHostProp(o, a);
11985
+ for (let s = 0, l; s < n.length && (l = n[s]); s++) l.forwardHostProp(o, a);
12225
11986
  }, notifyInstanceProp: function(o, a, n) {
12226
11987
  if (eh(this.as, a)) {
12227
11988
  let s = o[this.itemsIndexAs];
@@ -12259,12 +12020,10 @@ class fa extends Jp {
12259
12020
  }
12260
12021
  __handleObservedPaths(e) {
12261
12022
  if (this.__sortFn || this.__filterFn) {
12262
- if (!e)
12263
- this.__debounceRender(this.__render, this.delay);
12023
+ if (!e) this.__debounceRender(this.__render, this.delay);
12264
12024
  else if (this.__observePaths) {
12265
12025
  let t = this.__observePaths;
12266
- for (let r = 0; r < t.length; r++)
12267
- e.indexOf(t[r]) === 0 && this.__debounceRender(this.__render, this.delay);
12026
+ for (let r = 0; r < t.length; r++) e.indexOf(t[r]) === 0 && this.__debounceRender(this.__render, this.delay);
12268
12027
  }
12269
12028
  }
12270
12029
  }
@@ -12278,8 +12037,7 @@ class fa extends Jp {
12278
12037
  this.__debounceRender(this.__render), Ji();
12279
12038
  }
12280
12039
  __render() {
12281
- if (!this.__ensureTemplatized())
12282
- return;
12040
+ if (!this.__ensureTemplatized()) return;
12283
12041
  let e = this.items || [];
12284
12042
  const t = this.__sortAndFilterItems(e), r = this.__calculateLimit(t.length);
12285
12043
  this.__updateInstances(e, r, t), this.initialCount && (this.__shouldMeasureChunk || this.__shouldContinueChunking) && (cancelAnimationFrame(this.__chunkingId), this.__chunkingId = requestAnimationFrame(() => {
@@ -12288,8 +12046,7 @@ class fa extends Jp {
12288
12046
  }
12289
12047
  __sortAndFilterItems(e) {
12290
12048
  let t = new Array(e.length);
12291
- for (let r = 0; r < e.length; r++)
12292
- t[r] = r;
12049
+ for (let r = 0; r < e.length; r++) t[r] = r;
12293
12050
  return this.__filterFn && (t = t.filter((r, o, a) => this.__filterFn(e[r], o, a))), this.__sortFn && t.sort((r, o) => this.__sortFn(e[r], e[o])), t;
12294
12051
  }
12295
12052
  __calculateLimit(e) {
@@ -12315,8 +12072,7 @@ class fa extends Jp {
12315
12072
  let n = this.__instances[a], s = r[a], l = e[s];
12316
12073
  o[s] = a, n ? (n._setPendingProperty(this.as, l), n._setPendingProperty(this.indexAs, a), n._setPendingProperty(this.itemsIndexAs, s), n._flushProperties()) : this.__insertInstance(l, a, s);
12317
12074
  }
12318
- for (let n = this.__instances.length - 1; n >= a; n--)
12319
- this.__detachAndRemoveInstance(n);
12075
+ for (let n = this.__instances.length - 1; n >= a; n--) this.__detachAndRemoveInstance(n);
12320
12076
  }
12321
12077
  __detachInstance(e) {
12322
12078
  let t = this.__instances[e];
@@ -12344,8 +12100,7 @@ class fa extends Jp {
12344
12100
  return G(G(this).parentNode).insertBefore(o.root, n), this.__instances[t] = o, o;
12345
12101
  }
12346
12102
  _showHideChildren(e) {
12347
- for (let t = 0; t < this.__instances.length; t++)
12348
- this.__instances[t]._showHideChildren(e);
12103
+ for (let t = 0; t < this.__instances.length; t++) this.__instances[t]._showHideChildren(e);
12349
12104
  }
12350
12105
  __handleItemPath(e, t) {
12351
12106
  let r = e.slice(6), o = r.indexOf("."), a = o < 0 ? r : r.substring(0, o);
@@ -12398,8 +12153,7 @@ const Zp = (i) => class extends Ne(i) {
12398
12153
  return a.setFullYear(e.getFullYear()), a.setMonth(e.getMonth() + 1), a.setDate(0), t && r && t.getMonth() === r.getMonth() && t.getMonth() === e.getMonth() && r.getDate() - t.getDate() >= 0 ? !1 : !Xe(o, t, r) && !Xe(a, t, r);
12399
12154
  }
12400
12155
  _getTitle(e, t) {
12401
- if (!(e === void 0 || t === void 0))
12402
- return t.formatTitle(t.monthNames[e.getMonth()], e.getFullYear());
12156
+ if (!(e === void 0 || t === void 0)) return t.formatTitle(t.monthNames[e.getMonth()], e.getFullYear());
12403
12157
  }
12404
12158
  _onMonthGridTouchStart() {
12405
12159
  this._notTapping = !1, setTimeout(() => {
@@ -12410,12 +12164,10 @@ const Zp = (i) => class extends Ne(i) {
12410
12164
  e.setDate(e.getDate() + t);
12411
12165
  }
12412
12166
  _applyFirstDayOfWeek(e, t) {
12413
- if (!(e === void 0 || t === void 0))
12414
- return e.slice(t).concat(e.slice(0, t));
12167
+ if (!(e === void 0 || t === void 0)) return e.slice(t).concat(e.slice(0, t));
12415
12168
  }
12416
12169
  _getWeekDayNames(e, t) {
12417
- if (e === void 0 || t === void 0)
12418
- return [];
12170
+ if (e === void 0 || t === void 0) return [];
12419
12171
  const { weekdays: r, weekdaysShort: o, firstDayOfWeek: a } = e, n = this._applyFirstDayOfWeek(o, a);
12420
12172
  return this._applyFirstDayOfWeek(r, a).map((s, l) => ({ weekDay: s, weekDayShort: n[l] })).slice(0, 7);
12421
12173
  }
@@ -12432,14 +12184,11 @@ const Zp = (i) => class extends Ne(i) {
12432
12184
  return fe(/* @__PURE__ */ new Date(), e);
12433
12185
  }
12434
12186
  _getDays(e, t) {
12435
- if (e === void 0 || t === void 0)
12436
- return [];
12187
+ if (e === void 0 || t === void 0) return [];
12437
12188
  const r = new Date(0, 0);
12438
- for (r.setFullYear(e.getFullYear()), r.setMonth(e.getMonth()), r.setDate(1); r.getDay() !== t.firstDayOfWeek; )
12439
- this._dateAdd(r, -1);
12189
+ for (r.setFullYear(e.getFullYear()), r.setMonth(e.getMonth()), r.setDate(1); r.getDay() !== t.firstDayOfWeek; ) this._dateAdd(r, -1);
12440
12190
  const o = [], a = r.getMonth(), n = e.getMonth();
12441
- for (; r.getMonth() === n || r.getMonth() === a; )
12442
- o.push(r.getMonth() === n ? new Date(r.getTime()) : null), this._dateAdd(r, 1);
12191
+ for (; r.getMonth() === n || r.getMonth() === a; ) o.push(r.getMonth() === n ? new Date(r.getTime()) : null), this._dateAdd(r, 1);
12443
12192
  return o;
12444
12193
  }
12445
12194
  _getWeeks(e) {
@@ -12456,8 +12205,7 @@ const Zp = (i) => class extends Ne(i) {
12456
12205
  return Ap(t);
12457
12206
  }
12458
12207
  __getDayAriaLabel(e) {
12459
- if (!e)
12460
- return "";
12208
+ if (!e) return "";
12461
12209
  let t = `${this._getDate(e)} ${this.i18n.monthNames[e.getMonth()]} ${e.getFullYear()}, ${this.i18n.weekdays[e.getDay()]}`;
12462
12210
  return this._isToday(e) && (t += `, ${this.i18n.today}`), t;
12463
12211
  }
@@ -12599,15 +12347,13 @@ class tm extends Zp(z(k)) {
12599
12347
  return fe(e, t);
12600
12348
  }
12601
12349
  __getDayAriaSelected(e, t) {
12602
- if (this.__isDaySelected(e, t))
12603
- return "true";
12350
+ if (this.__isDaySelected(e, t)) return "true";
12604
12351
  }
12605
12352
  __isDayDisabled(e, t, r, o) {
12606
12353
  return !Xe(e, t, r, o);
12607
12354
  }
12608
12355
  __getDayAriaDisabled(e, t, r, o) {
12609
- if (!(e === void 0 || t === void 0 && r === void 0 && o === void 0) && this.__isDayDisabled(e, t, r, o))
12610
- return "true";
12356
+ if (!(e === void 0 || t === void 0 && r === void 0 && o === void 0) && this.__isDayDisabled(e, t, r, o)) return "true";
12611
12357
  }
12612
12358
  __getDayTabindex(e, t) {
12613
12359
  return this.__isDayFocused(e, t) ? "0" : "-1";
@@ -12736,8 +12482,7 @@ const rm = (i) => class extends i {
12736
12482
  this.revealDate(e);
12737
12483
  }
12738
12484
  revealDate(e, t = !0) {
12739
- if (!e)
12740
- return;
12485
+ if (!e) return;
12741
12486
  const r = this._differenceInMonths(e, this._originDate);
12742
12487
  if (this.__useSubMonthScrolling) {
12743
12488
  const s = this._calculateWeekScrollOffset(e);
@@ -12751,8 +12496,7 @@ const rm = (i) => class extends i {
12751
12496
  const t = new Date(0, 0);
12752
12497
  t.setFullYear(e.getFullYear()), t.setMonth(e.getMonth()), t.setDate(1);
12753
12498
  let r = 0;
12754
- for (; t.getDate() < e.getDate(); )
12755
- t.setDate(t.getDate() + 1), t.getDay() === this.i18n.firstDayOfWeek && (r += 1);
12499
+ for (; t.getDate() < e.getDate(); ) t.setDate(t.getDate() + 1), t.getDay() === this.i18n.firstDayOfWeek && (r += 1);
12756
12500
  return r / 6;
12757
12501
  }
12758
12502
  _initialPositionChanged(e) {
@@ -12822,8 +12566,7 @@ const rm = (i) => class extends i {
12822
12566
  if (d < this.scrollDuration) {
12823
12567
  const c = o(d, n, this._targetPosition - n, this.scrollDuration);
12824
12568
  this._monthScroller.position = c, window.requestAnimationFrame(s);
12825
- } else
12826
- this.dispatchEvent(new CustomEvent("scroll-animation-finished", { bubbles: !0, composed: !0, detail: { position: this._targetPosition, oldPosition: n } })), this._monthScroller.position = this._targetPosition, this._monthScroller.forceUpdate(), this._targetPosition = void 0, r(), this._revealPromise = void 0;
12569
+ } else this.dispatchEvent(new CustomEvent("scroll-animation-finished", { bubbles: !0, composed: !0, detail: { position: this._targetPosition, oldPosition: n } })), this._monthScroller.position = this._targetPosition, this._monthScroller.forceUpdate(), this._targetPosition = void 0, r(), this._revealPromise = void 0;
12827
12570
  setTimeout(this._repositionYearScroller.bind(this), 1);
12828
12571
  };
12829
12572
  window.requestAnimationFrame(s);
@@ -12832,25 +12575,23 @@ const rm = (i) => class extends i {
12832
12575
  return Math.min(t.max, Math.max(t.min, e));
12833
12576
  }
12834
12577
  _handleTrack(e) {
12835
- if (Math.abs(e.detail.dx) < 10 || Math.abs(e.detail.ddy) > 10)
12836
- return;
12578
+ if (Math.abs(e.detail.dx) < 10 || Math.abs(e.detail.ddy) > 10) return;
12837
12579
  Math.abs(e.detail.ddx) > this._yearScrollerWidth / 3 && this._toggleAnimateClass(!0);
12838
12580
  const t = this._translateX + e.detail.ddx;
12839
12581
  this._translateX = this._limit(t, { min: 0, max: this._yearScrollerWidth });
12840
12582
  }
12841
12583
  _track(e) {
12842
- if (!this._desktopMode)
12843
- switch (e.detail.state) {
12844
- case "start":
12845
- this._toggleAnimateClass(!1);
12846
- break;
12847
- case "track":
12848
- this._handleTrack(e);
12849
- break;
12850
- case "end":
12851
- this._toggleAnimateClass(!0), this._translateX >= this._yearScrollerWidth / 2 ? this._closeYearScroller() : this._openYearScroller();
12852
- break;
12853
- }
12584
+ if (!this._desktopMode) switch (e.detail.state) {
12585
+ case "start":
12586
+ this._toggleAnimateClass(!1);
12587
+ break;
12588
+ case "track":
12589
+ this._handleTrack(e);
12590
+ break;
12591
+ case "end":
12592
+ this._toggleAnimateClass(!0), this._translateX >= this._yearScrollerWidth / 2 ? this._closeYearScroller() : this._openYearScroller();
12593
+ break;
12594
+ }
12854
12595
  }
12855
12596
  _toggleAnimateClass(e) {
12856
12597
  e ? this.classList.add("animate") : this.classList.remove("animate");
@@ -13190,8 +12931,7 @@ const io = H((i) => class extends Ri(Ui(Dt(i))) {
13190
12931
  this._createMethodObserver(`_constraintsChanged(stateTarget, ${this.constructor.constraints.join(", ")})`);
13191
12932
  }
13192
12933
  _constraintsChanged(e, ...t) {
13193
- if (!e)
13194
- return;
12934
+ if (!e) return;
13195
12935
  const r = this._hasValidConstraints(t), o = this.__previousHasConstraints && !r;
13196
12936
  (this._hasValue || this.invalid) && r ? this.validate() : o && this._setInvalid(!1), this.__previousHasConstraints = r;
13197
12937
  }
@@ -13264,12 +13004,11 @@ const xr = (i) => class extends os(gr(io(br(sm(ze(i)))))) {
13264
13004
  this.allowedCharPattern && e.data && !this.__allowedTextRegExp.test(e.data) && (e.preventDefault(), this._markInputPrevented());
13265
13005
  }
13266
13006
  _allowedCharPatternChanged(e) {
13267
- if (e)
13268
- try {
13269
- this.__allowedCharRegExp = new RegExp(`^${e}$`, "u"), this.__allowedTextRegExp = new RegExp(`^${e}*$`, "u");
13270
- } catch (t) {
13271
- console.error(t);
13272
- }
13007
+ if (e) try {
13008
+ this.__allowedCharRegExp = new RegExp(`^${e}$`, "u"), this.__allowedTextRegExp = new RegExp(`^${e}*$`, "u");
13009
+ } catch (t) {
13010
+ console.error(t);
13011
+ }
13273
13012
  }
13274
13013
  };
13275
13014
  /**
@@ -13364,8 +13103,7 @@ const Lt = (i) => class extends i {
13364
13103
  return ["__updateOverlayClassNames(overlayClass, _overlayElement)"];
13365
13104
  }
13366
13105
  __updateOverlayClassNames(e, t) {
13367
- if (!t || e === void 0)
13368
- return;
13106
+ if (!t || e === void 0) return;
13369
13107
  const { classList: r } = t;
13370
13108
  if (this.__initialClasses || (this.__initialClasses = new Set(r)), Array.isArray(this.__previousClasses)) {
13371
13109
  const a = this.__previousClasses.filter((n) => !this.__initialClasses.has(n));
@@ -13408,10 +13146,8 @@ const dm = (i) => class extends Lt(he(gr(io(ze(i))))) {
13408
13146
  const s = this.referenceDate ? ht(this.referenceDate) : /* @__PURE__ */ new Date();
13409
13147
  n = Pp(s, n, a, o);
13410
13148
  }
13411
- } else
13412
- t.length === 2 ? (a = parseInt(t[0]) - 1, o = parseInt(t[1])) : t.length === 1 && (o = parseInt(t[0]));
13413
- if (o !== void 0)
13414
- return { day: o, month: a, year: n };
13149
+ } else t.length === 2 ? (a = parseInt(t[0]) - 1, o = parseInt(t[1])) : t.length === 1 && (o = parseInt(t[0]));
13150
+ if (o !== void 0) return { day: o, month: a, year: n };
13415
13151
  }, formatTitle: (e, t) => `${e} ${t}` }) }, min: { type: String, sync: !0 }, max: { type: String, sync: !0 }, isDateDisabled: { type: Function }, _minDate: { type: Date, computed: "__computeMinOrMaxDate(min)", sync: !0 }, _maxDate: { type: Date, computed: "__computeMinOrMaxDate(max)", sync: !0 }, _noInput: { type: Boolean, computed: "_isNoInput(inputElement, _fullscreen, _ios, i18n, opened, autoOpenDisabled)" }, _ios: { type: Boolean, value: Gi }, _focusOverlayOnOpen: Boolean, _overlayContent: { type: Object, sync: !0 }, _hasInputValue: { type: Boolean } };
13416
13152
  }
13417
13153
  static get observers() {
@@ -13461,8 +13197,7 @@ const dm = (i) => class extends Lt(he(gr(io(ze(i))))) {
13461
13197
  this.$.overlay.close();
13462
13198
  }
13463
13199
  _overlayRenderer(e) {
13464
- if (e.firstChild)
13465
- return;
13200
+ if (e.firstChild) return;
13466
13201
  const t = document.createElement("vaadin-date-picker-overlay-content");
13467
13202
  e.appendChild(t), this._overlayContent = t, t.addEventListener("close", () => {
13468
13203
  this._close();
@@ -13479,15 +13214,12 @@ const dm = (i) => class extends Lt(he(gr(io(ze(i))))) {
13479
13214
  }), t.addEventListener("click", (r) => r.stopPropagation());
13480
13215
  }
13481
13216
  __parseDate(e) {
13482
- if (!this.i18n.parseDate)
13483
- return;
13217
+ if (!this.i18n.parseDate) return;
13484
13218
  let t = this.i18n.parseDate(e);
13485
- if (t && (t = ht(`${t.year}-${t.month + 1}-${t.day}`)), t && !isNaN(t.getTime()))
13486
- return t;
13219
+ if (t && (t = ht(`${t.year}-${t.month + 1}-${t.day}`)), t && !isNaN(t.getTime())) return t;
13487
13220
  }
13488
13221
  __formatDate(e) {
13489
- if (this.i18n.formatDate)
13490
- return this.i18n.formatDate(Qi(e));
13222
+ if (this.i18n.formatDate) return this.i18n.formatDate(Qi(e));
13491
13223
  }
13492
13224
  checkValidity() {
13493
13225
  const e = this._inputElementValue, t = !e || !!this._selectedDate && e === this.__formatDate(this._selectedDate), r = !this._selectedDate || Xe(this._selectedDate, this._minDate, this._maxDate, this.isDateDisabled);
@@ -13577,8 +13309,7 @@ const dm = (i) => class extends Lt(he(gr(io(ze(i))))) {
13577
13309
  if (this._ignoreFocusedDateChange = !0, this.i18n.parseDate) {
13578
13310
  const e = this._inputElementValue || "", t = this.__parseDate(e);
13579
13311
  t ? this.__commitDate(t) : (this.__keepInputValue = !0, this.__commitDate(null), this.__keepInputValue = !1);
13580
- } else
13581
- this._focusedDate && this.__commitDate(this._focusedDate);
13312
+ } else this._focusedDate && this.__commitDate(this._focusedDate);
13582
13313
  this._ignoreFocusedDateChange = !1;
13583
13314
  }
13584
13315
  _onOverlayClosed() {
@@ -13955,8 +13686,7 @@ const vm = (i) => class extends os(Ze(Ne(Dt(i)))) {
13955
13686
  return !(e.relatedTarget === this._revealNode || e.relatedTarget === this.inputElement && e.target === this._revealNode);
13956
13687
  }
13957
13688
  _setFocused(e) {
13958
- if (super._setFocused(e), !e)
13959
- this._setPasswordVisible(!1), this.__lastChange !== this.inputElement.value && (this.__lastChange = this.inputElement.value, this.dispatchEvent(new CustomEvent("change", { bubbles: !0 })));
13689
+ if (super._setFocused(e), !e) this._setPasswordVisible(!1), this.__lastChange !== this.inputElement.value && (this.__lastChange = this.inputElement.value, this.dispatchEvent(new CustomEvent("change", { bubbles: !0 })));
13960
13690
  else {
13961
13691
  const t = this.getRootNode().activeElement === this._revealNode;
13962
13692
  this.toggleAttribute("focus-ring", this._keyboardActive && !t);
@@ -14231,8 +13961,7 @@ const ps = (i) => class extends i {
14231
13961
  e && this.setAttribute("dir", e);
14232
13962
  }
14233
13963
  requestContentUpdate() {
14234
- if (!this.renderer || this.hidden)
14235
- return;
13964
+ if (!this.renderer || this.hidden) return;
14236
13965
  const e = { index: this.index, item: this.item, focused: this.focused, selected: this.selected };
14237
13966
  this.renderer(this, this._owner, e);
14238
13967
  }
@@ -14390,8 +14119,7 @@ const _a = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), km
14390
14119
  if (i == null) {
14391
14120
  let e = this._physicalTop + this._scrollOffset;
14392
14121
  i = this._iterateItems((t, r) => {
14393
- if (e += this._getPhysicalSizeIncrement(t), e > this._scrollPosition)
14394
- return r;
14122
+ if (e += this._getPhysicalSizeIncrement(t), e > this._scrollPosition) return r;
14395
14123
  }) || 0, this._firstVisibleIndexVal = i;
14396
14124
  }
14397
14125
  return i;
@@ -14423,24 +14151,20 @@ const _a = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), km
14423
14151
  const o = [], a = this._hiddenContentSize * this._ratio, n = this._virtualStart, s = this._virtualEnd, l = this._physicalCount;
14424
14152
  let d = this._physicalTop + this._scrollOffset;
14425
14153
  const c = this._physicalBottom + this._scrollOffset, h = this._scrollPosition, u = this._scrollBottom;
14426
- for (i ? (e = this._physicalStart, t = h - d) : (e = this._physicalEnd, t = c - u); r = this._getPhysicalSizeIncrement(e), t -= r, !(o.length >= l || t <= a); )
14427
- if (i) {
14428
- if (s + o.length + 1 >= this._virtualCount || d + r >= h - this._scrollOffset)
14429
- break;
14430
- o.push(e), d += r, e = (e + 1) % l;
14431
- } else {
14432
- if (n - o.length <= 0 || d + this._physicalSize - r <= u)
14433
- break;
14434
- o.push(e), d -= r, e = e === 0 ? l - 1 : e - 1;
14435
- }
14154
+ for (i ? (e = this._physicalStart, t = h - d) : (e = this._physicalEnd, t = c - u); r = this._getPhysicalSizeIncrement(e), t -= r, !(o.length >= l || t <= a); ) if (i) {
14155
+ if (s + o.length + 1 >= this._virtualCount || d + r >= h - this._scrollOffset) break;
14156
+ o.push(e), d += r, e = (e + 1) % l;
14157
+ } else {
14158
+ if (n - o.length <= 0 || d + this._physicalSize - r <= u) break;
14159
+ o.push(e), d -= r, e = e === 0 ? l - 1 : e - 1;
14160
+ }
14436
14161
  return { indexes: o, physicalTop: d - this._scrollOffset };
14437
14162
  }, _update(i, e) {
14438
14163
  if (!(i && i.length === 0 || this._physicalCount === 0)) {
14439
- if (this._assignModels(i), this._updateMetrics(i), e)
14440
- for (; e.length; ) {
14441
- const t = e.pop();
14442
- this._physicalTop -= this._getPhysicalSizeIncrement(t);
14443
- }
14164
+ if (this._assignModels(i), this._updateMetrics(i), e) for (; e.length; ) {
14165
+ const t = e.pop();
14166
+ this._physicalTop -= this._getPhysicalSizeIncrement(t);
14167
+ }
14444
14168
  this._positionItems(), this._updateScrollerSize();
14445
14169
  }
14446
14170
  }, _isClientFull() {
@@ -14452,34 +14176,25 @@ const _a = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), km
14452
14176
  if (e > 0) {
14453
14177
  const r = window.performance.now();
14454
14178
  [].push.apply(this._physicalItems, this._createPool(e));
14455
- for (let o = 0; o < e; o++)
14456
- this._physicalSizes.push(0);
14179
+ for (let o = 0; o < e; o++) this._physicalSizes.push(0);
14457
14180
  this._physicalCount += e, this._physicalStart > this._physicalEnd && this._isIndexRendered(this._focusedVirtualIndex) && this._getPhysicalIndex(this._focusedVirtualIndex) < this._physicalEnd && (this._physicalStart += e), this._update(), this._templateCost = (window.performance.now() - r) / e, t = Math.round(this._physicalCount * 0.5);
14458
14181
  }
14459
14182
  this._virtualEnd >= this._virtualCount - 1 || t === 0 || (this._isClientFull() ? this._physicalSize < this._optPhysicalSize && this._debounce("_increasePoolIfNeeded", this._increasePoolIfNeeded.bind(this, this._clamp(Math.round(50 / this._templateCost), 1, t)), An) : this._debounce("_increasePoolIfNeeded", this._increasePoolIfNeeded.bind(this, t), lr));
14460
14183
  }
14461
14184
  }, _render() {
14462
- if (!(!this.isAttached || !this._isVisible))
14463
- if (this._physicalCount !== 0) {
14464
- const i = this._getReusables(!0);
14465
- this._physicalTop = i.physicalTop, this._virtualStart += i.indexes.length, this._physicalStart += i.indexes.length, this._update(i.indexes), this._update(), this._increasePoolIfNeeded(0);
14466
- } else
14467
- this._virtualCount > 0 && (this.updateViewportBoundaries(), this._increasePoolIfNeeded(va));
14185
+ if (!(!this.isAttached || !this._isVisible)) if (this._physicalCount !== 0) {
14186
+ const i = this._getReusables(!0);
14187
+ this._physicalTop = i.physicalTop, this._virtualStart += i.indexes.length, this._physicalStart += i.indexes.length, this._update(i.indexes), this._update(), this._increasePoolIfNeeded(0);
14188
+ } else this._virtualCount > 0 && (this.updateViewportBoundaries(), this._increasePoolIfNeeded(va));
14468
14189
  }, _itemsChanged(i) {
14469
14190
  i.path === "items" && (this._virtualStart = 0, this._physicalTop = 0, this._virtualCount = this.items ? this.items.length : 0, this._physicalIndexForKey = {}, this._firstVisibleIndexVal = null, this._lastVisibleIndexVal = null, this._physicalItems || (this._physicalItems = []), this._physicalSizes || (this._physicalSizes = []), this._physicalStart = 0, this._scrollTop > this._scrollOffset && this._resetScrollPosition(0), this._debounce("_render", this._render, Tt));
14470
14191
  }, _iterateItems(i, e) {
14471
14192
  let t, r, o, a;
14472
14193
  if (arguments.length === 2 && e) {
14473
- for (a = 0; a < e.length; a++)
14474
- if (t = e[a], r = this._computeVidx(t), (o = i.call(this, t, r)) != null)
14475
- return o;
14194
+ for (a = 0; a < e.length; a++) if (t = e[a], r = this._computeVidx(t), (o = i.call(this, t, r)) != null) return o;
14476
14195
  } else {
14477
- for (t = this._physicalStart, r = this._virtualStart; t < this._physicalCount; t++, r++)
14478
- if ((o = i.call(this, t, r)) != null)
14479
- return o;
14480
- for (t = 0; t < this._physicalStart; t++, r++)
14481
- if ((o = i.call(this, t, r)) != null)
14482
- return o;
14196
+ for (t = this._physicalStart, r = this._virtualStart; t < this._physicalCount; t++, r++) if ((o = i.call(this, t, r)) != null) return o;
14197
+ for (t = 0; t < this._physicalStart; t++, r++) if ((o = i.call(this, t, r)) != null) return o;
14483
14198
  }
14484
14199
  }, _computeVidx(i) {
14485
14200
  return i >= this._physicalStart ? this._virtualStart + (i - this._physicalStart) : this._virtualStart + (this._physicalCount - this._physicalStart) + i;
@@ -14504,13 +14219,11 @@ const _a = navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u), km
14504
14219
  const e = this._physicalBottom + Math.max(this._virtualCount - this._physicalCount - this._virtualStart, 0) * this._physicalAverage;
14505
14220
  this._estScrollHeight = e, (i || this._scrollHeight === 0 || this._scrollPosition >= e - this._physicalSize || Math.abs(e - this._scrollHeight) >= this._viewportHeight) && (this.$.items.style.height = `${e}px`, this._scrollHeight = e);
14506
14221
  }, scrollToIndex(i) {
14507
- if (typeof i != "number" || i < 0 || i > this.items.length - 1 || (mt(), this._physicalCount === 0))
14508
- return;
14222
+ if (typeof i != "number" || i < 0 || i > this.items.length - 1 || (mt(), this._physicalCount === 0)) return;
14509
14223
  i = this._clamp(i, 0, this._virtualCount - 1), (!this._isIndexRendered(i) || i >= this._maxVirtualStart) && (this._virtualStart = i - 1), this._assignModels(), this._updateMetrics(), this._physicalTop = this._virtualStart * this._physicalAverage;
14510
14224
  let e = this._physicalStart, t = this._virtualStart, r = 0;
14511
14225
  const o = this._hiddenContentSize;
14512
- for (; t < i && r <= o; )
14513
- r += this._getPhysicalSizeIncrement(e), e = (e + 1) % this._physicalCount, t += 1;
14226
+ for (; t < i && r <= o; ) r += this._getPhysicalSizeIncrement(e), e = (e + 1) % this._physicalCount, t += 1;
14514
14227
  this._updateScrollerSize(!0), this._positionItems(), this._resetScrollPosition(this._physicalTop + this._scrollOffset + r), this._increasePoolIfNeeded(0), this._firstVisibleIndexVal = null, this._lastVisibleIndexVal = null;
14515
14228
  }, _resetAverage() {
14516
14229
  this._physicalAverage = 0, this._physicalAverageCount = 0;
@@ -14562,8 +14275,7 @@ class fs {
14562
14275
  return this.__getVisibleElements().some((e) => e.__virtualizerPlaceholder);
14563
14276
  }
14564
14277
  scrollToIndex(e) {
14565
- if (typeof e != "number" || isNaN(e) || this.size === 0 || !this.scrollTarget.offsetHeight)
14566
- return;
14278
+ if (typeof e != "number" || isNaN(e) || this.size === 0 || !this.scrollTarget.offsetHeight) return;
14567
14279
  delete this.__pendingScrollToIndex, this._physicalCount <= 3 && this.flush(), e = this._clamp(e, 0, this.size - 1);
14568
14280
  const t = this.__getVisibleElements().length;
14569
14281
  let r = Math.floor(e / this.size * this._virtualCount);
@@ -14588,8 +14300,7 @@ class fs {
14588
14300
  }
14589
14301
  __getBorderBoxHeight(e) {
14590
14302
  const t = getComputedStyle(e), r = parseFloat(t.height) || 0;
14591
- if (t.boxSizing === "border-box")
14592
- return r;
14303
+ if (t.boxSizing === "border-box") return r;
14593
14304
  const o = parseFloat(t.paddingBottom) || 0, a = parseFloat(t.paddingTop) || 0, n = parseFloat(t.borderBottomWidth) || 0, s = parseFloat(t.borderTopWidth) || 0;
14594
14305
  return r + o + a + n + s;
14595
14306
  }
@@ -14599,8 +14310,7 @@ class fs {
14599
14310
  __afterElementsUpdated(e) {
14600
14311
  e.forEach((t) => {
14601
14312
  const r = t.offsetHeight;
14602
- if (r === 0)
14603
- t.style.paddingTop = `${this.__placeholderHeight}px`, t.style.opacity = "0", t.__virtualizerPlaceholder = !0, this.__placeholderClearDebouncer = re.debounce(this.__placeholderClearDebouncer, Tt, () => this._resizeHandler());
14313
+ if (r === 0) t.style.paddingTop = `${this.__placeholderHeight}px`, t.style.opacity = "0", t.__virtualizerPlaceholder = !0, this.__placeholderClearDebouncer = re.debounce(this.__placeholderClearDebouncer, Tt, () => this._resizeHandler());
14604
14314
  else {
14605
14315
  this.__elementHeightQueue.push(r), this.__elementHeightQueue.shift();
14606
14316
  const o = this.__elementHeightQueue.filter((a) => a !== void 0);
@@ -14616,8 +14326,7 @@ class fs {
14616
14326
  return this.__size;
14617
14327
  }
14618
14328
  set size(e) {
14619
- if (e === this.size)
14620
- return;
14329
+ if (e === this.size) return;
14621
14330
  this.__fixInvalidItemPositioningDebouncer && this.__fixInvalidItemPositioningDebouncer.cancel(), this._debouncers && this._debouncers._increasePoolIfNeeded && this._debouncers._increasePoolIfNeeded.cancel(), this.__preventElementUpdates = !0;
14622
14331
  let t, r;
14623
14332
  if (e > 0 && (t = this.adjustedFirstVisibleIndex, r = this.__getIndexScrollOffset(t)), this.__size = e, this._itemsChanged({ path: "items" }), mt(), e > 0) {
@@ -14681,19 +14390,16 @@ class fs {
14681
14390
  return t.indexOf(e) === 0 && e.__virtualIndex > 0;
14682
14391
  }
14683
14392
  __onElementFocused(e) {
14684
- if (!this.reorderElements)
14685
- return;
14393
+ if (!this.reorderElements) return;
14686
14394
  const t = e.detail.element;
14687
- if (!t)
14688
- return;
14395
+ if (!t) return;
14689
14396
  const r = this.__getVisibleElements();
14690
14397
  (this.__previousFocusableSiblingMissing(t, r) || this.__nextFocusableSiblingMissing(t, r)) && this.flush();
14691
14398
  const o = this.__getVisibleElements();
14692
14399
  this.__nextFocusableSiblingMissing(t, o) ? (this._scrollTop += Math.ceil(t.getBoundingClientRect().bottom) - Math.floor(this.scrollTarget.getBoundingClientRect().bottom - 1), this.flush()) : this.__previousFocusableSiblingMissing(t, o) && (this._scrollTop -= Math.ceil(this.scrollTarget.getBoundingClientRect().top + 1) - Math.floor(t.getBoundingClientRect().top), this.flush());
14693
14400
  }
14694
14401
  _scrollHandler() {
14695
- if (this.scrollTarget.offsetHeight === 0)
14696
- return;
14402
+ if (this.scrollTarget.offsetHeight === 0) return;
14697
14403
  this._adjustVirtualIndexOffset(this._scrollTop - (this.__previousScrollTop || 0));
14698
14404
  const e = this.scrollTarget.scrollTop - this._scrollPosition;
14699
14405
  if (super._scrollHandler(), this._physicalCount !== 0) {
@@ -14703,8 +14409,7 @@ class fs {
14703
14409
  e && (this.__fixInvalidItemPositioningDebouncer = re.debounce(this.__fixInvalidItemPositioningDebouncer, we.after(this.timeouts.FIX_INVALID_ITEM_POSITIONING), () => this.__fixInvalidItemPositioning())), this.reorderElements && (this.__scrollReorderDebouncer = re.debounce(this.__scrollReorderDebouncer, we.after(this.timeouts.SCROLL_REORDER), () => this.__reorderElements())), this.__previousScrollTop = this._scrollTop, this._scrollTop === 0 && this.firstVisibleIndex !== 0 && Math.abs(e) > 0 && this.scrollToIndex(0);
14704
14410
  }
14705
14411
  __fixInvalidItemPositioning() {
14706
- if (!this.scrollTarget.isConnected)
14707
- return;
14412
+ if (!this.scrollTarget.isConnected) return;
14708
14413
  const e = this._physicalTop > this._scrollTop, t = this._physicalBottom < this._scrollBottom, r = this.adjustedFirstVisibleIndex === 0, o = this.adjustedLastVisibleIndex === this.size - 1;
14709
14414
  if (e && !r || t && !o) {
14710
14415
  const a = t, n = this._ratio;
@@ -14712,8 +14417,7 @@ class fs {
14712
14417
  }
14713
14418
  }
14714
14419
  __onWheel(e) {
14715
- if (e.ctrlKey || this._hasScrolledAncestor(e.target, e.deltaX, e.deltaY))
14716
- return;
14420
+ if (e.ctrlKey || this._hasScrolledAncestor(e.target, e.deltaX, e.deltaY)) return;
14717
14421
  let t = e.deltaY;
14718
14422
  if (e.deltaMode === WheelEvent.DOM_DELTA_LINE ? t *= this._scrollLineHeight : e.deltaMode === WheelEvent.DOM_DELTA_PAGE && (t *= this._scrollPageHeight), this._deltaYAcc || (this._deltaYAcc = 0), this._wheelAnimationFrame) {
14719
14423
  this._deltaYAcc += t, e.preventDefault();
@@ -14728,12 +14432,9 @@ class fs {
14728
14432
  })) : this._hasResidualMomentum && r <= this._previousMomentum || this._ignoreNewWheel ? e.preventDefault() : r > this._previousMomentum && (this._hasResidualMomentum = !1), this._previousMomentum = r;
14729
14433
  }
14730
14434
  _hasScrolledAncestor(e, t, r) {
14731
- if (e === this.scrollTarget || e === this.scrollTarget.getRootNode().host)
14732
- return !1;
14733
- if (this._canScroll(e, t, r) && ["auto", "scroll"].indexOf(getComputedStyle(e).overflow) !== -1)
14734
- return !0;
14735
- if (e !== this && e.parentElement)
14736
- return this._hasScrolledAncestor(e.parentElement, t, r);
14435
+ if (e === this.scrollTarget || e === this.scrollTarget.getRootNode().host) return !1;
14436
+ if (this._canScroll(e, t, r) && ["auto", "scroll"].indexOf(getComputedStyle(e).overflow) !== -1) return !0;
14437
+ if (e !== this && e.parentElement) return this._hasScrolledAncestor(e.parentElement, t, r);
14737
14438
  }
14738
14439
  _canScroll(e, t, r) {
14739
14440
  return r > 0 && e.scrollTop < e.scrollHeight - e.offsetHeight || r < 0 && e.scrollTop > 0 || t > 0 && e.scrollLeft < e.scrollWidth - e.offsetWidth || t < 0 && e.scrollLeft > 0;
@@ -14742,16 +14443,14 @@ class fs {
14742
14443
  if (this._physicalCount > 2 && e) {
14743
14444
  const t = Math.ceil(this._optPhysicalSize / this._physicalAverage) - this._physicalCount;
14744
14445
  super._increasePoolIfNeeded(Math.max(e, Math.min(100, t)));
14745
- } else
14746
- super._increasePoolIfNeeded(e);
14446
+ } else super._increasePoolIfNeeded(e);
14747
14447
  }
14748
14448
  get _optPhysicalSize() {
14749
14449
  const e = super._optPhysicalSize;
14750
14450
  return e <= 0 || this.__hasPlaceholders() ? e : e + this.__getItemHeightBuffer();
14751
14451
  }
14752
14452
  __getItemHeightBuffer() {
14753
- if (this._physicalCount === 0)
14754
- return 0;
14453
+ if (this._physicalCount === 0) return 0;
14755
14454
  const e = Math.ceil(this._viewportHeight * (this._maxPages - 1) / 2), t = Math.max(...this._physicalSizes);
14756
14455
  return t > Math.min(...this._physicalSizes) ? Math.max(0, t - e) : 0;
14757
14456
  }
@@ -14771,15 +14470,10 @@ class fs {
14771
14470
  }
14772
14471
  this.__pendingReorder = !1;
14773
14472
  const e = this._virtualStart + (this._vidxOffset || 0), t = this.__getVisibleElements(), r = this.__getFocusedElement(t) || t[0];
14774
- if (!r)
14775
- return;
14473
+ if (!r) return;
14776
14474
  const o = r.__virtualIndex - e, a = t.indexOf(r) - o;
14777
- if (a > 0)
14778
- for (let n = 0; n < a; n++)
14779
- this.elementsContainer.appendChild(t[n]);
14780
- else if (a < 0)
14781
- for (let n = t.length + a; n < t.length; n++)
14782
- this.elementsContainer.insertBefore(t[n], t[0]);
14475
+ if (a > 0) for (let n = 0; n < a; n++) this.elementsContainer.appendChild(t[n]);
14476
+ else if (a < 0) for (let n = t.length + a; n < t.length; n++) this.elementsContainer.insertBefore(t[n], t[0]);
14783
14477
  if (pp) {
14784
14478
  const { transform: n } = this.scrollTarget.style;
14785
14479
  this.scrollTarget.style.transform = "translateZ(0)", setTimeout(() => {
@@ -14789,10 +14483,8 @@ class fs {
14789
14483
  }
14790
14484
  _adjustVirtualIndexOffset(e) {
14791
14485
  const t = this._maxVirtualIndexOffset;
14792
- if (this._virtualCount >= this.size)
14793
- this._vidxOffset = 0;
14794
- else if (this.__skipNextVirtualIndexAdjust)
14795
- this.__skipNextVirtualIndexAdjust = !1;
14486
+ if (this._virtualCount >= this.size) this._vidxOffset = 0;
14487
+ else if (this.__skipNextVirtualIndexAdjust) this.__skipNextVirtualIndexAdjust = !1;
14796
14488
  else if (Math.abs(e) > 1e4) {
14797
14489
  const r = this._scrollTop / (this.scrollTarget.scrollHeight - this.scrollTarget.clientHeight);
14798
14490
  this._vidxOffset = Math.round(r * t);
@@ -14865,14 +14557,12 @@ const _s = (i) => class extends i {
14865
14557
  this.__virtualizer && (this.items && (this.__virtualizer.size = this.items.length), this.opened && this.__virtualizer.update());
14866
14558
  }
14867
14559
  scrollIntoView(e) {
14868
- if (!this.__virtualizer || !(this.opened && e >= 0))
14869
- return;
14560
+ if (!this.__virtualizer || !(this.opened && e >= 0)) return;
14870
14561
  const t = this._visibleItemsCount();
14871
14562
  let r = e;
14872
14563
  e > this.__virtualizer.lastVisibleIndex - 1 ? (this.__virtualizer.scrollToIndex(e), r = e - t + 1) : e > this.__virtualizer.firstVisibleIndex && (r = this.__virtualizer.firstVisibleIndex), this.__virtualizer.scrollToIndex(Math.max(0, r));
14873
14564
  const o = [...this.children].find((l) => !l.hidden && l.index === this.__virtualizer.lastVisibleIndex);
14874
- if (!o || e !== o.index)
14875
- return;
14565
+ if (!o || e !== o.index) return;
14876
14566
  const a = o.getBoundingClientRect(), n = this.getBoundingClientRect(), s = a.bottom - n.bottom + this._viewportTotalPaddingBottom;
14877
14567
  s > 0 && (this.scrollTop += s);
14878
14568
  }
@@ -14997,10 +14687,8 @@ function ur(i, e, t = 0) {
14997
14687
  let r = e;
14998
14688
  for (const o of i.subCaches) {
14999
14689
  const a = o.parentCacheIndex;
15000
- if (r <= a)
15001
- break;
15002
- if (r <= a + o.flatSize)
15003
- return ur(o, r - a - 1, t + 1);
14690
+ if (r <= a) break;
14691
+ if (r <= a + o.flatSize) return ur(o, r - a - 1, t + 1);
15004
14692
  r -= o.flatSize;
15005
14693
  }
15006
14694
  return { cache: i, item: i.items[r], index: r, page: Math.floor(r / i.pageSize), level: t };
@@ -15008,13 +14696,11 @@ function ur(i, e, t = 0) {
15008
14696
  function vs({ getItemId: i }, e, t, r = 0, o = 0) {
15009
14697
  for (let a = 0; a < e.items.length; a++) {
15010
14698
  const n = e.items[a];
15011
- if (n && i(n) === i(t))
15012
- return { cache: e, level: r, item: n, index: a, page: Math.floor(a / e.pageSize), subCache: e.getSubCache(a), flatIndex: o + e.getFlatIndex(a) };
14699
+ if (n && i(n) === i(t)) return { cache: e, level: r, item: n, index: a, page: Math.floor(a / e.pageSize), subCache: e.getSubCache(a), flatIndex: o + e.getFlatIndex(a) };
15013
14700
  }
15014
14701
  for (const a of e.subCaches) {
15015
14702
  const n = o + e.getFlatIndex(a.parentCacheIndex), s = vs({ getItemId: i }, a, t, r + 1, n + 1);
15016
- if (s)
15017
- return s;
14703
+ if (s) return s;
15018
14704
  }
15019
14705
  }
15020
14706
  function gs(i, [e, ...t], r = 0) {
@@ -15054,8 +14740,7 @@ class oo {
15054
14740
  if (this.__size !== e) {
15055
14741
  if (this.__size = e, this.context.placeholder !== void 0) {
15056
14742
  this.items.length = e || 0;
15057
- for (let r = 0; r < e; r++)
15058
- (t = this.items)[r] || (t[r] = this.context.placeholder);
14743
+ for (let r = 0; r < e; r++) (t = this.items)[r] || (t[r] = this.context.placeholder);
15059
14744
  }
15060
14745
  Object.keys(this.pendingRequests).forEach((r) => {
15061
14746
  parseInt(r) * this.pageSize >= this.size && delete this.pendingRequests[r];
@@ -15175,8 +14860,7 @@ class Sm extends EventTarget {
15175
14860
  return new oo(this.__cacheContext, this.pageSize, e);
15176
14861
  }
15177
14862
  __loadCachePage(e, t) {
15178
- if (!this.dataProvider || e.pendingRequests[t])
15179
- return;
14863
+ if (!this.dataProvider || e.pendingRequests[t]) return;
15180
14864
  let r = { page: t, pageSize: this.pageSize, parentItem: e.parentItem };
15181
14865
  this.dataProviderParams && (r = er(er({}, r), this.dataProviderParams()));
15182
14866
  const o = (a, n) => {
@@ -15205,8 +14889,7 @@ const bs = (i) => class extends i {
15205
14889
  }
15206
14890
  ready() {
15207
14891
  super.ready(), this._scroller.addEventListener("index-requested", (e) => {
15208
- if (!this._shouldFetchData())
15209
- return;
14892
+ if (!this._shouldFetchData()) return;
15210
14893
  const t = e.detail.index;
15211
14894
  t !== void 0 && this.__dataProviderController.ensureFlatIndexLoaded(t);
15212
14895
  }), this.__dataProviderInitialized = !0, this.dataProvider && this.__synchronizeControllerState();
@@ -15251,8 +14934,7 @@ const bs = (i) => class extends i {
15251
14934
  }
15252
14935
  }
15253
14936
  _pageSizeChanged(e, t) {
15254
- if (Math.floor(e) !== e || e < 1)
15255
- throw this.pageSize = t, new Error("`pageSize` value must be an integer > 0");
14937
+ if (Math.floor(e) !== e || e < 1) throw this.pageSize = t, new Error("`pageSize` value must be an integer > 0");
15256
14938
  this.__dataProviderController.setPageSize(e), this.clearCache();
15257
14939
  }
15258
14940
  _dataProviderChanged(e, t) {
@@ -15261,8 +14943,7 @@ const bs = (i) => class extends i {
15261
14943
  }), this.__dataProviderController.setDataProvider(e), this.clearCache();
15262
14944
  }
15263
14945
  _ensureItemsOrDataProvider(e) {
15264
- if (this.items !== void 0 && this.dataProvider !== void 0)
15265
- throw e(), new Error("Using `items` and `dataProvider` together is not supported");
14946
+ if (this.items !== void 0 && this.dataProvider !== void 0) throw e(), new Error("Using `items` and `dataProvider` together is not supported");
15266
14947
  }
15267
14948
  _warnDataProviderValue(e, t) {
15268
14949
  if (e && t !== "" && (this.selectedItem === void 0 || this.selectedItem === null)) {
@@ -15359,11 +15040,10 @@ const ys = (i) => class extends Lt(he(Ui(Ne(ze(Dt(Ze(i))))))) {
15359
15040
  }, r.requestContentUpdate(), this._scroller = t;
15360
15041
  }
15361
15042
  _updateScroller(e, t, r, o, a, n, s, l, d, c) {
15362
- if (e && (r && (e.style.maxHeight = getComputedStyle(this).getPropertyValue(`--${this._tagNamePrefix}-overlay-max-height`) || "65vh"), e.setProperties({ items: r ? t : [], opened: r, loading: o, selectedItem: a, itemIdPath: n, focusedIndex: s, renderer: l, theme: d, itemClassNameGenerator: c }), e.performUpdate && !e.hasUpdated))
15363
- try {
15364
- e.performUpdate();
15365
- } catch {
15366
- }
15043
+ if (e && (r && (e.style.maxHeight = getComputedStyle(this).getPropertyValue(`--${this._tagNamePrefix}-overlay-max-height`) || "65vh"), e.setProperties({ items: r ? t : [], opened: r, loading: o, selectedItem: a, itemIdPath: n, focusedIndex: s, renderer: l, theme: d, itemClassNameGenerator: c }), e.performUpdate && !e.hasUpdated)) try {
15044
+ e.performUpdate();
15045
+ } catch {
15046
+ }
15367
15047
  }
15368
15048
  _openedOrItemsChanged(e, t, r, o) {
15369
15049
  this._overlayOpened = e && (o || r || !!(t && t.length));
@@ -15379,14 +15059,12 @@ const ys = (i) => class extends Lt(he(Ui(Ne(ze(Dt(Ze(i))))))) {
15379
15059
  }
15380
15060
  _updateActiveDescendant(e) {
15381
15061
  const t = this._nativeInput;
15382
- if (!t)
15383
- return;
15062
+ if (!t) return;
15384
15063
  const r = this._getItemElements().find((o) => o.index === e);
15385
15064
  r ? t.setAttribute("aria-activedescendant", r.id) : t.removeAttribute("aria-activedescendant");
15386
15065
  }
15387
15066
  _openedChanged(e, t) {
15388
- if (t === void 0)
15389
- return;
15067
+ if (t === void 0) return;
15390
15068
  e ? !this._isInputFocused() && !ui && this.inputElement && this.inputElement.focus() : this._onClosed();
15391
15069
  const r = this._nativeInput;
15392
15070
  r && (r.setAttribute("aria-expanded", !!e), e ? r.setAttribute("aria-controls", this._scroller.id) : r.removeAttribute("aria-controls"));
@@ -15427,20 +15105,17 @@ const ys = (i) => class extends Lt(he(Ui(Ne(ze(Dt(Ze(i))))))) {
15427
15105
  if (this.opened) {
15428
15106
  const e = this._dropdownItems;
15429
15107
  e && (this._focusedIndex = Math.min(e.length - 1, this._focusedIndex + 1), this._prefillFocusedItemLabel());
15430
- } else
15431
- this.open();
15108
+ } else this.open();
15432
15109
  }
15433
15110
  _onArrowUp() {
15434
15111
  if (this.opened) {
15435
- if (this._focusedIndex > -1)
15436
- this._focusedIndex = Math.max(0, this._focusedIndex - 1);
15112
+ if (this._focusedIndex > -1) this._focusedIndex = Math.max(0, this._focusedIndex - 1);
15437
15113
  else {
15438
15114
  const e = this._dropdownItems;
15439
15115
  e && (this._focusedIndex = e.length - 1);
15440
15116
  }
15441
15117
  this._prefillFocusedItemLabel();
15442
- } else
15443
- this.open();
15118
+ } else this.open();
15444
15119
  }
15445
15120
  _prefillFocusedItemLabel() {
15446
15121
  if (this._focusedIndex > -1) {
@@ -15501,8 +15176,7 @@ const ys = (i) => class extends Lt(he(Ui(Ne(ze(Dt(Ze(i))))))) {
15501
15176
  if (this._focusedIndex > -1) {
15502
15177
  const e = this._dropdownItems[this._focusedIndex];
15503
15178
  this.selectedItem !== e && (this.selectedItem = e), this._inputElementValue = this._getItemLabel(this.selectedItem), this._focusedIndex = -1;
15504
- } else if (this._inputElementValue === "" || this._inputElementValue === void 0)
15505
- this.selectedItem = null, this.allowCustomValue && (this.value = "");
15179
+ } else if (this._inputElementValue === "" || this._inputElementValue === void 0) this.selectedItem = null, this.allowCustomValue && (this.value = "");
15506
15180
  else {
15507
15181
  const e = [this.selectedItem, ...this._dropdownItems || []], t = e[this.__getItemIndexByLabel(e, this._inputElementValue)];
15508
15182
  if (this.allowCustomValue && !t) {
@@ -15510,8 +15184,7 @@ const ys = (i) => class extends Lt(he(Ui(Ne(ze(Dt(Ze(i))))))) {
15510
15184
  this._lastCustomValue = r;
15511
15185
  const o = new CustomEvent("custom-value-set", { detail: r, composed: !0, cancelable: !0, bubbles: !0 });
15512
15186
  this.dispatchEvent(o), o.defaultPrevented || (this.value = r);
15513
- } else
15514
- !this.allowCustomValue && !this.opened && t ? this.value = this._getItemValue(t) : this._revertInputValueToValue();
15187
+ } else !this.allowCustomValue && !this.opened && t ? this.value = this._getItemValue(t) : this._revertInputValueToValue();
15515
15188
  }
15516
15189
  this._detectAndDispatchChange(), this._clearSelectionRange(), this._clearFilter();
15517
15190
  }
@@ -15535,12 +15208,10 @@ const ys = (i) => class extends Lt(he(Ui(Ne(ze(Dt(Ze(i))))))) {
15535
15208
  this.allowCustomValue && !this.selectedItem ? this._inputElementValue = this.value : this._inputElementValue = this._getItemLabel(this.selectedItem);
15536
15209
  }
15537
15210
  _selectedItemChanged(e) {
15538
- if (e == null)
15539
- this.filteredItems && (this.allowCustomValue || (this.value = ""), this._toggleHasValue(this._hasValue), this._inputElementValue = this.value);
15211
+ if (e == null) this.filteredItems && (this.allowCustomValue || (this.value = ""), this._toggleHasValue(this._hasValue), this._inputElementValue = this.value);
15540
15212
  else {
15541
15213
  const t = this._getItemValue(e);
15542
- if (this.value !== t && (this.value = t, this.value !== t))
15543
- return;
15214
+ if (this.value !== t && (this.value = t, this.value !== t)) return;
15544
15215
  this._toggleHasValue(!0), this._inputElementValue = this._getItemLabel(e);
15545
15216
  }
15546
15217
  }
@@ -16137,8 +15808,7 @@ class $m extends bs(ys(z(k))) {
16137
15808
  }
16138
15809
  _onEnter(e) {
16139
15810
  if (this.opened) {
16140
- if (e.preventDefault(), e.stopPropagation(), this.readonly)
16141
- this.close();
15811
+ if (e.preventDefault(), e.stopPropagation(), this.readonly) this.close();
16142
15812
  else if (this._hasValidInputValue()) {
16143
15813
  const t = this._dropdownItems[this._focusedIndex];
16144
15814
  this._commitValue(), this._focusedIndex = this._dropdownItems.indexOf(t);
@@ -16447,8 +16117,7 @@ class Um extends ws(xr(z(oe(k)))) {
16447
16117
  if (this._toggleHasValue(this._hasValue), this._hasValue) {
16448
16118
  const t = this._mergeItemLabels(e);
16449
16119
  this.__tmpA11yPlaceholder === void 0 && (this.__savedPlaceholder = this.placeholder), this.__tmpA11yPlaceholder = t, this.placeholder = t;
16450
- } else
16451
- this.__tmpA11yPlaceholder !== void 0 && (delete this.__tmpA11yPlaceholder, this.placeholder = this.__savedPlaceholder);
16120
+ } else this.__tmpA11yPlaceholder !== void 0 && (delete this.__tmpA11yPlaceholder, this.placeholder = this.__savedPlaceholder);
16452
16121
  this.__updateChips(), this.requestContentUpdate(), this.opened && this.$.comboBox.$.overlay._updateOverlayWidth();
16453
16122
  }
16454
16123
  _getItemLabel(e) {
@@ -16459,9 +16128,7 @@ class Um extends ws(xr(z(oe(k)))) {
16459
16128
  }
16460
16129
  _findIndex(e, t, r) {
16461
16130
  if (r && e) {
16462
- for (let o = 0; o < t.length; o++)
16463
- if (t[o] && t[o][r] === e[r])
16464
- return o;
16131
+ for (let o = 0; o < t.length; o++) if (t[o] && t[o][r] === e[r]) return o;
16465
16132
  return -1;
16466
16133
  }
16467
16134
  return t.indexOf(e);
@@ -16489,8 +16156,7 @@ class Um extends ws(xr(z(oe(k)))) {
16489
16156
  return;
16490
16157
  }
16491
16158
  t.splice(r, 1);
16492
- } else
16493
- t.push(e), a = !0;
16159
+ } else t.push(e), a = !0;
16494
16160
  this.__updateSelection(t), this.__clearInternalValue(), this.__announceItem(o, a, t.length);
16495
16161
  }
16496
16162
  __updateSelection(e) {
@@ -16514,8 +16180,7 @@ class Um extends ws(xr(z(oe(k)))) {
16514
16180
  return e.setAttribute("count", t), e.setAttribute("hidden", ""), e.style.visibility = "", o;
16515
16181
  }
16516
16182
  __updateChips() {
16517
- if (!this._inputField || !this.inputElement)
16518
- return;
16183
+ if (!this._inputField || !this.inputElement) return;
16519
16184
  this._chips.forEach((n) => {
16520
16185
  n.remove();
16521
16186
  });
@@ -16534,8 +16199,7 @@ class Um extends ws(xr(z(oe(k)))) {
16534
16199
  for (; n.length > 1; ) {
16535
16200
  n.pop().remove(), s.unshift(e.pop());
16536
16201
  const d = s.length > 0 ? r + this.__getOverflowWidth() : r;
16537
- if (this._inputField.$.wrapper.clientWidth - this.$.chips.clientWidth >= d)
16538
- break;
16202
+ if (this._inputField.$.wrapper.clientWidth - this.$.chips.clientWidth >= d) break;
16539
16203
  }
16540
16204
  n.length === 1 && (n[0].style.maxWidth = `${Math.max(a, o)}px`);
16541
16205
  }
@@ -16544,13 +16208,11 @@ class Um extends ws(xr(z(oe(k)))) {
16544
16208
  }
16545
16209
  for (let n = e.length - 1, s = null; n >= 0; n--) {
16546
16210
  const l = this.__createChip(e[n]);
16547
- if (this.insertBefore(l, s), !this.autoExpandVertically && this.$.chips.clientWidth > o)
16548
- if (s === null)
16549
- l.style.maxWidth = `${Math.max(a, o)}px`;
16550
- else {
16551
- l.remove();
16552
- break;
16553
- }
16211
+ if (this.insertBefore(l, s), !this.autoExpandVertically && this.$.chips.clientWidth > o) if (s === null) l.style.maxWidth = `${Math.max(a, o)}px`;
16212
+ else {
16213
+ l.remove();
16214
+ break;
16215
+ }
16554
16216
  e.pop(), s = l;
16555
16217
  }
16556
16218
  this._overflowItems = e;
@@ -16576,41 +16238,37 @@ class Um extends ws(xr(z(oe(k)))) {
16576
16238
  _onKeyDown(e) {
16577
16239
  super._onKeyDown(e);
16578
16240
  const t = this._chips;
16579
- if (!this.readonly && t.length > 0)
16580
- switch (e.key) {
16581
- case "Backspace":
16582
- this._onBackSpace(t);
16583
- break;
16584
- case "ArrowLeft":
16585
- this._onArrowLeft(t, e);
16586
- break;
16587
- case "ArrowRight":
16588
- this._onArrowRight(t, e);
16589
- break;
16590
- default:
16591
- this._focusedChipIndex = -1;
16592
- break;
16593
- }
16241
+ if (!this.readonly && t.length > 0) switch (e.key) {
16242
+ case "Backspace":
16243
+ this._onBackSpace(t);
16244
+ break;
16245
+ case "ArrowLeft":
16246
+ this._onArrowLeft(t, e);
16247
+ break;
16248
+ case "ArrowRight":
16249
+ this._onArrowRight(t, e);
16250
+ break;
16251
+ default:
16252
+ this._focusedChipIndex = -1;
16253
+ break;
16254
+ }
16594
16255
  }
16595
16256
  _onArrowLeft(e, t) {
16596
- if (this.inputElement.selectionStart !== 0)
16597
- return;
16257
+ if (this.inputElement.selectionStart !== 0) return;
16598
16258
  const r = this._focusedChipIndex;
16599
16259
  r !== -1 && t.preventDefault();
16600
16260
  let o;
16601
16261
  this.__isRTL ? r === e.length - 1 ? o = -1 : r > -1 && (o = r + 1) : r === -1 ? o = e.length - 1 : r > 0 && (o = r - 1), o !== void 0 && (this._focusedChipIndex = o);
16602
16262
  }
16603
16263
  _onArrowRight(e, t) {
16604
- if (this.inputElement.selectionStart !== 0)
16605
- return;
16264
+ if (this.inputElement.selectionStart !== 0) return;
16606
16265
  const r = this._focusedChipIndex;
16607
16266
  r !== -1 && t.preventDefault();
16608
16267
  let o;
16609
16268
  this.__isRTL ? r === -1 ? o = e.length - 1 : r > 0 && (o = r - 1) : r === e.length - 1 ? o = -1 : r > -1 && (o = r + 1), o !== void 0 && (this._focusedChipIndex = o);
16610
16269
  }
16611
16270
  _onBackSpace(e) {
16612
- if (this.inputElement.selectionStart !== 0)
16613
- return;
16271
+ if (this.inputElement.selectionStart !== 0) return;
16614
16272
  const t = this._focusedChipIndex;
16615
16273
  t === -1 ? this._focusedChipIndex = e.length - 1 : (this.__removeItem(e[t].item), this._focusedChipIndex = -1);
16616
16274
  }
@@ -17045,8 +16703,7 @@ class me extends Lt(mr(oe(k))) {
17045
16703
  this.renderer && this.renderer(this._card, this);
17046
16704
  }
17047
16705
  _rendererChanged(e, t, r) {
17048
- if (!r)
17049
- return;
16706
+ if (!r) return;
17050
16707
  const o = this._oldRenderer !== e;
17051
16708
  this._oldRenderer = e, o && (r.innerHTML = "", delete r._$litPart$), t && (this._didAnimateNotificationAppend || this._animatedAppendNotificationCard(), this.requestContentUpdate());
17052
16709
  }
@@ -17328,8 +16985,7 @@ const Qm = (i) => class extends ze(i) {
17328
16985
  return Array.from(this.children);
17329
16986
  }
17330
16987
  _onKeyDown(e) {
17331
- if (super._onKeyDown(e), e.metaKey || e.ctrlKey)
17332
- return;
16988
+ if (super._onKeyDown(e), e.metaKey || e.ctrlKey) return;
17333
16989
  const { key: t } = e, r = this._getItems() || [], o = r.indexOf(this.focused);
17334
16990
  let a, n;
17335
16991
  const s = !this._vertical && this.getAttribute("dir") === "rtl" ? -1 : 1;
@@ -17354,8 +17010,7 @@ const Qm = (i) => class extends ze(i) {
17354
17010
  for (let s = 0; typeof n == "number" && s < a; s += 1, n += r || 1) {
17355
17011
  n < 0 ? n = a - 1 : n >= a && (n = 0);
17356
17012
  const l = e[n];
17357
- if (!l.hasAttribute("disabled") && this.__isMatchingItem(l, o))
17358
- return n;
17013
+ if (!l.hasAttribute("disabled") && this.__isMatchingItem(l, o)) return n;
17359
17014
  }
17360
17015
  return -1;
17361
17016
  }
@@ -17414,8 +17069,7 @@ const Es = (i) => class extends Qm(i) {
17414
17069
  return e.filter((t) => t._hasVaadinItemMixin);
17415
17070
  }
17416
17071
  _onClick(e) {
17417
- if (e.metaKey || e.shiftKey || e.ctrlKey || e.defaultPrevented)
17418
- return;
17072
+ if (e.metaKey || e.shiftKey || e.ctrlKey || e.defaultPrevented) return;
17419
17073
  const t = this._filterItems(e.composedPath())[0];
17420
17074
  let r;
17421
17075
  t && !t.disabled && (r = this.items.indexOf(t)) >= 0 && (this.selected = r);
@@ -17431,8 +17085,7 @@ const Es = (i) => class extends Qm(i) {
17431
17085
  return e.textContent.replace(/[^\p{L}\p{Nd}]/gu, "").toLowerCase().startsWith(this._searchBuf);
17432
17086
  }
17433
17087
  _onKeyDown(e) {
17434
- if (e.metaKey || e.ctrlKey)
17435
- return;
17088
+ if (e.metaKey || e.ctrlKey) return;
17436
17089
  const t = e.key, r = this.items.indexOf(this.focused);
17437
17090
  if (/[\p{L}\p{Nd}]/u.test(t) && t.length === 1) {
17438
17091
  const o = this._searchKey(r, t);
@@ -17458,15 +17111,13 @@ const Es = (i) => class extends Qm(i) {
17458
17111
  }
17459
17112
  _scrollToItem(e) {
17460
17113
  const t = this.items[e];
17461
- if (!t)
17462
- return;
17114
+ if (!t) return;
17463
17115
  const r = this._vertical ? ["top", "bottom"] : this._isRTL ? ["right", "left"] : ["left", "right"], o = this._scrollerElement.getBoundingClientRect(), a = (this.items[e + 1] || t).getBoundingClientRect(), n = (this.items[e - 1] || t).getBoundingClientRect();
17464
17116
  let s = 0;
17465
17117
  !this._isRTL && a[r[1]] >= o[r[1]] || this._isRTL && a[r[1]] <= o[r[1]] ? s = a[r[1]] - o[r[1]] : (!this._isRTL && n[r[0]] <= o[r[0]] || this._isRTL && n[r[0]] >= o[r[0]]) && (s = n[r[0]] - o[r[0]]), this._scroll(s);
17466
17118
  }
17467
17119
  _scroll(e) {
17468
- if (this._vertical)
17469
- this._scrollerElement.scrollTop += e;
17120
+ if (this._vertical) this._scrollerElement.scrollTop += e;
17470
17121
  else {
17471
17122
  const t = this.getAttribute("dir") || "ltr", r = ks(this._scrollerElement, t) + e;
17472
17123
  Xm(this._scrollerElement, t, r);
@@ -17743,8 +17394,7 @@ const sf = (i) => class extends Lt(gr(Ri(ze(br(i))))) {
17743
17394
  }
17744
17395
  _onKeyDown(e) {
17745
17396
  if (e.target === this.focusElement && !this.readonly && !this.disabled && !this.opened) {
17746
- if (/^(Enter|SpaceBar|\s|ArrowDown|Down|ArrowUp|Up)$/u.test(e.key))
17747
- e.preventDefault(), this.opened = !0;
17397
+ if (/^(Enter|SpaceBar|\s|ArrowDown|Down|ArrowUp|Up)$/u.test(e.key)) e.preventDefault(), this.opened = !0;
17748
17398
  else if (/[\p{L}\p{Nd}]/u.test(e.key) && e.key.length === 1) {
17749
17399
  const t = this._menuElement.selected, r = t !== void 0 ? t : -1, o = this._menuElement._searchKey(r, e.key);
17750
17400
  o >= 0 && (this.__dispatchChangePending = !0, this._updateAriaLive(!0), this._menuElement.selected = o);
@@ -17764,8 +17414,7 @@ const sf = (i) => class extends Lt(gr(Ri(ze(br(i))))) {
17764
17414
  this._updateAriaLive(!1), t.style.setProperty("--vaadin-select-text-field-width", `${r.offsetWidth}px`);
17765
17415
  const o = this.hasAttribute("focus-ring");
17766
17416
  this._openedWithFocusRing = o, o && this.removeAttribute("focus-ring");
17767
- } else
17768
- this.__oldOpened && (this._openedWithFocusRing && this.setAttribute("focus-ring", ""), !this.__dispatchChangePending && !this._keyboardActive && this.validate());
17417
+ } else this.__oldOpened && (this._openedWithFocusRing && this.setAttribute("focus-ring", ""), !this.__dispatchChangePending && !this._keyboardActive && this.validate());
17769
17418
  this.__oldOpened = e;
17770
17419
  }
17771
17420
  }
@@ -17803,12 +17452,10 @@ const sf = (i) => class extends Lt(gr(Ri(ze(br(i))))) {
17803
17452
  }
17804
17453
  __updateValueButton() {
17805
17454
  const e = this.focusElement;
17806
- if (!e)
17807
- return;
17455
+ if (!e) return;
17808
17456
  e.innerHTML = "";
17809
17457
  const t = this._items[this._menuElement.selected];
17810
- if (e.removeAttribute("placeholder"), this._hasContent(t))
17811
- this.__attachSelectedItem(t);
17458
+ if (e.removeAttribute("placeholder"), this._hasContent(t)) this.__attachSelectedItem(t);
17812
17459
  else if (this.placeholder) {
17813
17460
  const o = this.__createItemElement({ label: this.placeholder });
17814
17461
  this.__appendValueItemElement(o, e), e.setAttribute("placeholder", "");
@@ -17818,8 +17465,7 @@ const sf = (i) => class extends Lt(gr(Ri(ze(br(i))))) {
17818
17465
  qe(e, "aria-labelledby", r), (this.accessibleName || this.accessibleNameRef) && this._setCustomAriaLabelledBy(this.accessibleNameRef || this._srLabelController.defaultId);
17819
17466
  }
17820
17467
  _hasContent(e) {
17821
- if (!e)
17822
- return !1;
17468
+ if (!e) return !1;
17823
17469
  const t = !!(e.hasAttribute("label") ? e.getAttribute("label") : e.textContent.trim()), r = e.childElementCount > 0;
17824
17470
  return t || r;
17825
17471
  }
@@ -19142,8 +18788,7 @@ const yf = (i) => class extends ws(Es(i)) {
19142
18788
  this.__direction * n < 1 && (n = this.__direction * (this._scrollOffset - a)), this._scroll(n);
19143
18789
  }
19144
18790
  _isItemVisible(e, t, r, o) {
19145
- if (this._vertical)
19146
- throw new Error("Visibility check is only supported for horizontal tabs.");
18791
+ if (this._vertical) throw new Error("Visibility check is only supported for horizontal tabs.");
19147
18792
  const a = this.__isRTL ? r : t, n = this.__isRTL ? t : r, s = o.right - a, l = o.left + n, d = e.getBoundingClientRect();
19148
18793
  return s > Math.floor(d.left) && l < Math.ceil(d.right);
19149
18794
  }