@everymatrix/player-account-controller-nd 1.65.1 → 1.65.3

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 (167) hide show
  1. package/components/{GeneralLogout-D_LZ6noj.js → GeneralLogout-BqarYaGX.js} +1439 -1474
  2. package/components/{GeneralLogout-PryurO1h.js → GeneralLogout-DpRb1GKt.js} +1458 -1493
  3. package/components/GeneralLogout-DweBl3EQ.cjs +21 -0
  4. package/components/{PlayerAccountBettingHistory-BzAXq1xX.js → PlayerAccountBettingHistory-CZ-2Eo65.js} +27 -27
  5. package/components/{PlayerAccountBettingHistory-CwTEYOIN.js → PlayerAccountBettingHistory-DRNj2_nh.js} +27 -27
  6. package/components/{PlayerAccountBettingHistory-BtDZukYI.cjs → PlayerAccountBettingHistory-DgHU9Jz9.cjs} +1 -1
  7. package/components/{PlayerAccountBiometrics-CtLvJg_Q.js → PlayerAccountBiometrics-CS2Ou41a.js} +22 -22
  8. package/components/{PlayerAccountBiometrics-DIkqSnzX.js → PlayerAccountBiometrics-Cp02JZ-p.js} +22 -22
  9. package/components/{PlayerAccountBiometrics-CEEVheLt.cjs → PlayerAccountBiometrics-DXk7ouzk.cjs} +1 -1
  10. package/components/{PlayerAccountClosureNd-DQAZanjf.js → PlayerAccountClosureNd-BDf6ZV_O.js} +50 -50
  11. package/components/{PlayerAccountClosureNd-Cn1XZe_j.cjs → PlayerAccountClosureNd-CEw0GMdr.cjs} +1 -1
  12. package/components/{PlayerAccountClosureNd-DrVdnKee.js → PlayerAccountClosureNd-DTSPR235.js} +50 -50
  13. package/components/{PlayerAccountControllerNd-DkFB8p5R.js → PlayerAccountControllerNd-BQ45aICW.js} +2107 -2096
  14. package/components/PlayerAccountControllerNd-C-wAC_7B.cjs +1 -0
  15. package/components/{PlayerAccountControllerNd-C_OCpw4E.js → PlayerAccountControllerNd-NrSVC8ZA.js} +2099 -2088
  16. package/components/{PlayerAccountGamingLimits-DZBzKFyv.cjs → PlayerAccountGamingLimits-C5-wP3x8.cjs} +1 -1
  17. package/components/{PlayerAccountGamingLimits-BwempsG_.js → PlayerAccountGamingLimits-DYeE-UoB.js} +19 -19
  18. package/components/{PlayerAccountGamingLimits-C5fcaaR5.js → PlayerAccountGamingLimits-Dj1vdgsP.js} +19 -19
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-BzaZH1VM.js → PlayerAccountGamingLimitsConfirmationModal-9Smxn0Eo.js} +53 -53
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-CxFJV4Qq.js → PlayerAccountGamingLimitsConfirmationModal-BKE3chFw.js} +53 -53
  21. package/components/PlayerAccountGamingLimitsConfirmationModal-DzBevsyQ.cjs +1 -0
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-DVvwhjK6.js → PlayerAccountGamingLimitsGroupEdit-CmrrVg_q.js} +415 -413
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-D0hqXEY4.js → PlayerAccountGamingLimitsGroupEdit-IS7pwiyD.js} +415 -413
  24. package/components/PlayerAccountGamingLimitsGroupEdit-JOrwbKuQ.cjs +1 -0
  25. package/components/{PlayerAccountGamingLimitsHistory2Nd-DrMT268T.js → PlayerAccountGamingLimitsHistory2Nd-B1bxRx8n.js} +192 -192
  26. package/components/{PlayerAccountGamingLimitsHistory2Nd-p3iqTl1u.js → PlayerAccountGamingLimitsHistory2Nd-BWUzYYof.js} +199 -199
  27. package/components/{PlayerAccountGamingLimitsHistory2Nd-juZ45FBC.cjs → PlayerAccountGamingLimitsHistory2Nd-CyUmcHfd.cjs} +1 -1
  28. package/components/{PlayerAccountGamingLimitsInfoCard-dUq3DIBx.js → PlayerAccountGamingLimitsInfoCard-Cu4_dbfd.js} +80 -80
  29. package/components/{PlayerAccountGamingLimitsInfoCard-DWbZBNtU.cjs → PlayerAccountGamingLimitsInfoCard-DxIPZWF4.cjs} +1 -1
  30. package/components/{PlayerAccountGamingLimitsInfoCard-BiYcxWjN.js → PlayerAccountGamingLimitsInfoCard-n38U4Bet.js} +80 -80
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-B3S3aE0o.js → PlayerAccountGamingLimitsPage2Gm16Nd-BPmAMSJz.js} +91 -91
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CWcAVks7.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-BUYiE8KZ.cjs} +2 -2
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-HpGAoH_E.js → PlayerAccountGamingLimitsPage2Gm16Nd-BYYk6WIK.js} +91 -91
  34. package/components/{PlayerAccountGamingLimitsPopup-B5CoTG_T.js → PlayerAccountGamingLimitsPopup-Chfup4AC.js} +28 -28
  35. package/components/{PlayerAccountGamingLimitsPopup-CzDFUbRs.js → PlayerAccountGamingLimitsPopup-D3tfs8br.js} +28 -28
  36. package/components/{PlayerAccountGamingLimitsPopup-CmNqLNxB.cjs → PlayerAccountGamingLimitsPopup-DkQcpWO7.cjs} +1 -1
  37. package/components/{PlayerAccountGamingLimitsWrapper2Nd-4ZYALP2a.js → PlayerAccountGamingLimitsWrapper2Nd-B2-GgwO6.js} +36 -36
  38. package/components/{PlayerAccountGamingLimitsWrapper2Nd-CErgPgvk.cjs → PlayerAccountGamingLimitsWrapper2Nd-BYj7hpNE.cjs} +1 -1
  39. package/components/{PlayerAccountGamingLimitsWrapper2Nd-fpNsXAyX.js → PlayerAccountGamingLimitsWrapper2Nd-CBjFWU6Y.js} +36 -36
  40. package/components/{PlayerAccountGeneralConfirmationModal-Byd2u6b9.js → PlayerAccountGeneralConfirmationModal-C9sZnKk-.js} +95 -95
  41. package/components/{PlayerAccountGeneralConfirmationModal-C4zwKDdb.js → PlayerAccountGeneralConfirmationModal-CzWW7TO1.js} +95 -95
  42. package/components/PlayerAccountGeneralConfirmationModal-dy9TCHFm.cjs +1 -0
  43. package/components/{PlayerAccountMenuNd-Cs9UjL2S.js → PlayerAccountMenuNd-B14HHDMC.js} +29 -29
  44. package/components/{PlayerAccountMenuNd-BFdU3ZXb.cjs → PlayerAccountMenuNd-BMezijtf.cjs} +1 -1
  45. package/components/{PlayerAccountMenuNd-Cx7Fxjin.js → PlayerAccountMenuNd-CGHNQ9Ia.js} +29 -29
  46. package/components/{PlayerAccountModal-DHs1T-B4.js → PlayerAccountModal-CNPgYrpB.js} +44 -44
  47. package/components/{PlayerAccountModal-iZqtQZF3.js → PlayerAccountModal-NKWbQg0Z.js} +44 -44
  48. package/components/{PlayerAccountModal-SsGlrcmj.cjs → PlayerAccountModal-lwDOdDa4.cjs} +1 -1
  49. package/components/{PlayerAccountNotifications-bjLmyXO3.js → PlayerAccountNotifications-BciDzDyI.js} +35 -35
  50. package/components/{PlayerAccountNotifications-ejASOsrU.cjs → PlayerAccountNotifications-CzMMRPni.cjs} +1 -1
  51. package/components/{PlayerAccountNotifications-BjAtYQls.js → PlayerAccountNotifications-Um7wlaR9.js} +120 -120
  52. package/components/{PlayerAccountSelfExclusionNd-Bp0d5NtF.js → PlayerAccountSelfExclusionNd-B_nRc8Sa.js} +311 -307
  53. package/components/{PlayerAccountSelfExclusionNd-CeQNwGUh.js → PlayerAccountSelfExclusionNd-Byg_2z0c.js} +310 -306
  54. package/components/{PlayerAccountSelfExclusionNd-SQnudIeJ.cjs → PlayerAccountSelfExclusionNd-CpT_ZFMN.cjs} +27 -27
  55. package/components/{PlayerAccountTimeout-CxUnQBuB.js → PlayerAccountTimeout-B4NvwUZo.js} +150 -150
  56. package/components/{PlayerAccountTimeout-WxW7Vcfz.js → PlayerAccountTimeout-CmRl0tEc.js} +150 -150
  57. package/components/{PlayerAccountTimeout-BJR8x6Ir.cjs → PlayerAccountTimeout-N0vyYDyZ.cjs} +1 -1
  58. package/components/{PlayerAccountTransactionsHistory-DV6Lliwo.cjs → PlayerAccountTransactionsHistory-CLtNxF1E.cjs} +1307 -217
  59. package/components/{PlayerAccountTransactionsHistory-BvJ2fnPY.js → PlayerAccountTransactionsHistory-DgRAaof5.js} +5552 -3254
  60. package/components/{PlayerAccountTransactionsHistory-weX9yWak.js → PlayerAccountTransactionsHistory-J86WA-wq.js} +5571 -3273
  61. package/components/{PlayerActiveBonuses-DbYy8R7L.js → PlayerActiveBonuses-BKHuSXjW.js} +54 -54
  62. package/components/{PlayerActiveBonuses-CVhSMdRf.cjs → PlayerActiveBonuses-C7G2b4x9.cjs} +1 -1
  63. package/components/{PlayerActiveBonuses-ednos3wt.js → PlayerActiveBonuses-ClF-vZCZ.js} +52 -52
  64. package/components/{PlayerBonusCard-C0Z6YeQL.js → PlayerBonusCard-DIuiutMI.js} +54 -54
  65. package/components/{PlayerBonusCard-CYnvLBMF.js → PlayerBonusCard-O-ukO4ru.js} +54 -54
  66. package/components/{PlayerBonusCard-BNNcjGWn.cjs → PlayerBonusCard-nwlvuWsq.cjs} +1 -1
  67. package/components/{PlayerBonusHistory-DinAEUrx.js → PlayerBonusHistory-C_nm1a_F.js} +30 -30
  68. package/components/{PlayerBonusHistory-DorlLTd1.cjs → PlayerBonusHistory-CxcDHDex.cjs} +1 -1
  69. package/components/{PlayerBonusHistory-CM-gMjlY.js → PlayerBonusHistory-TfBysWlo.js} +30 -30
  70. package/components/PlayerChangePasswordNd-CfG1zd-9.cjs +3 -0
  71. package/components/{PlayerChangePassword-BeIHgM2j.js → PlayerChangePasswordNd-DzfTEiBO.js} +148 -148
  72. package/components/{PlayerChangePassword-BcqVozRi.js → PlayerChangePasswordNd-R4s1Ic-G.js} +148 -148
  73. package/components/{PlayerDeposit-N7o3ip4d.js → PlayerDeposit-CwClAkf8.js} +29 -29
  74. package/components/{PlayerDeposit-Dzg8Ltb1.cjs → PlayerDeposit-DAFmH9HW.cjs} +1 -1
  75. package/components/{PlayerDeposit-CHnzNVZy.js → PlayerDeposit-odz0L-Xa.js} +29 -29
  76. package/components/{PlayerGamingHistory-D2D9wm2O.cjs → PlayerGamingHistory-BO-_vwOQ.cjs} +1 -1
  77. package/components/{PlayerGamingHistory-pa7KWkEL.js → PlayerGamingHistory-CCuaz9_n.js} +63 -63
  78. package/components/{PlayerGamingHistory-CbHSH7UQ.js → PlayerGamingHistory-D4ub-eTs.js} +63 -63
  79. package/components/{PlayerPendingWithdrawals-B2WyLuNV.js → PlayerPendingWithdrawals-DSZjjRc5.js} +26 -26
  80. package/components/{PlayerPendingWithdrawals-BMwtFNQT.cjs → PlayerPendingWithdrawals-DbuXpIXl.cjs} +1 -1
  81. package/components/{PlayerPendingWithdrawals-CRRuYNXr.js → PlayerPendingWithdrawals-WueprUX6.js} +26 -26
  82. package/components/PlayerProfileInfo-DFtxyN-C.cjs +4 -0
  83. package/components/PlayerProfileInfo-DmPxmtQq.js +2426 -0
  84. package/components/PlayerProfileInfo-i4qDDYbC.js +2463 -0
  85. package/components/{PlayerRealityCheck-RsT9a67Q.js → PlayerRealityCheck-BB6ql_la.js} +45 -45
  86. package/components/{PlayerRealityCheck-BrVF76qp.cjs → PlayerRealityCheck-CFJVJn17.cjs} +1 -1
  87. package/components/{PlayerRealityCheck-C7EUl18t.js → PlayerRealityCheck-Cvp1LCTw.js} +44 -44
  88. package/components/{PlayerTransactionHistory-BQlWb-B9.js → PlayerTransactionHistory-B-WizKVy.js} +19 -19
  89. package/components/{PlayerTransactionHistory-4VtQqLAc.cjs → PlayerTransactionHistory-BOtRm_b6.cjs} +1 -1
  90. package/components/{PlayerTransactionHistory-DyBRNwAw.js → PlayerTransactionHistory-OP187htZ.js} +19 -19
  91. package/components/{PlayerWithdrawal-C6_CSTeL.js → PlayerWithdrawal-5dv65FN3.js} +19 -19
  92. package/components/{PlayerWithdrawal-CgR0BwqA.js → PlayerWithdrawal-Cmns8eAn.js} +19 -19
  93. package/components/{PlayerWithdrawal-BMLgaRLc.cjs → PlayerWithdrawal-OBRjEIH9.cjs} +1 -1
  94. package/es2015/player-account-controller-nd.cjs +1 -1
  95. package/es2015/player-account-controller-nd.js +1 -1
  96. package/esnext/player-account-controller-nd.js +1 -1
  97. package/package.json +1 -1
  98. package/stencil/{checkbox-group-input_9-B_Jl5XYl.js → checkbox-group-input_9-BwrWZeLB.js} +92 -90
  99. package/stencil/checkbox-group-input_9-CImFZbCv.cjs +2 -0
  100. package/stencil/{checkbox-group-input_9-BubdPaeo.js → checkbox-group-input_9-DdpCHvWb.js} +92 -90
  101. package/stencil/{general-input-BRLohAp9.js → general-input-BDPI_fW2.js} +4998 -2742
  102. package/stencil/{general-input-CZRDVuGV.js → general-input-DpokfhP6.js} +5006 -2750
  103. package/stencil/{general-input-BjwgkYic.cjs → general-input-y1CIV_-r.cjs} +1306 -216
  104. package/stencil/{index-1ef3a64c-DsTe-fF4.js → index-1ef3a64c-B1Hda3TY.js} +185 -185
  105. package/stencil/index-1ef3a64c-CCWt3IAA.cjs +1 -0
  106. package/stencil/{index-1ef3a64c-BNosNJnU.js → index-1ef3a64c-Dd-0nq4l.js} +192 -192
  107. package/stencil/index-7c5e707a-8-4_dLFT.js +643 -0
  108. package/stencil/{index-7c5e707a-C9R6jYpt.js → index-7c5e707a-CuTkyLaW.js} +209 -209
  109. package/stencil/index-7c5e707a-nBsW029h.cjs +1 -0
  110. package/stencil/index-9c0f6c58-DbSOntvG.cjs +1 -0
  111. package/stencil/{index-9c0f6c58-BNoMpTuB.js → index-9c0f6c58-NlVKpLut.js} +180 -180
  112. package/stencil/{index-9c0f6c58-pr1WGVFu.js → index-9c0f6c58-RPoO1End.js} +176 -176
  113. package/stencil/{index-9cd44522-NqpP4xs6.js → index-9cd44522-Cto_o6sQ.js} +202 -202
  114. package/stencil/{index-9cd44522-CbUzJsuK.js → index-9cd44522-DrlRFYrB.js} +196 -196
  115. package/stencil/index-9cd44522-lYql7AfG.cjs +1 -0
  116. package/stencil/index-b2193545-BXNomIzV.js +519 -0
  117. package/stencil/index-b2193545-CYe2oVMy.js +503 -0
  118. package/stencil/index-b2193545-DxRobzZI.cjs +1 -0
  119. package/stencil/locale-CB060R77.cjs +1 -0
  120. package/stencil/{locale-ioQf6ZrW.js → locale-Cxpe53Ym.js} +9 -3
  121. package/stencil/{password-input_2-8BNshhaU.cjs → password-input_2-BFXxkcXV.cjs} +2 -2
  122. package/stencil/{password-input_2-DIwo3oT2.js → password-input_2-CqbOPSSZ.js} +26 -24
  123. package/stencil/{password-input_2-DhPkhv-D.js → password-input_2-DQst8UHp.js} +26 -24
  124. package/stencil/{player-change-password-gm2-5cb5c6c1-BsO6atoJ.js → player-change-password-gm2-5cb5c6c1-BhDKCfuN.js} +1 -1
  125. package/stencil/{player-change-password-gm2-5cb5c6c1-C0AlgHfx.js → player-change-password-gm2-5cb5c6c1-Ch9RyZ2b.js} +1 -1
  126. package/stencil/{player-change-password-gm2-5cb5c6c1-ij_CKxBn.cjs → player-change-password-gm2-5cb5c6c1-n4BjzEVs.cjs} +1 -1
  127. package/stencil/{player-change-password-gm2-ALHM57bi.js → player-change-password-gm2-Bg9HNK0A.js} +1 -1
  128. package/stencil/{player-change-password-gm2-bVKmVTiQ.js → player-change-password-gm2-CNOsEIfo.js} +1 -1
  129. package/stencil/{player-change-password-gm2-ZOlHswn0.cjs → player-change-password-gm2-COsfG6W5.cjs} +1 -1
  130. package/stencil/{player-kyc-verification-CUhrMPde.js → player-kyc-verification-Cxnz1raa.js} +79 -76
  131. package/stencil/{player-kyc-verification-DPUx1txP.js → player-kyc-verification-DA_O1Dqu.js} +36 -33
  132. package/stencil/player-kyc-verification-qKWuqiUm.cjs +180 -0
  133. package/stencil/{toggle-checkbox-input-LjmhdQte.js → toggle-checkbox-input-B4lb8oMh.js} +2 -2
  134. package/stencil/{toggle-checkbox-input-D3dpAI79.cjs → toggle-checkbox-input-BhQAILyC.cjs} +1 -1
  135. package/stencil/{toggle-checkbox-input-hUEi-Cj3.js → toggle-checkbox-input-rocW3Yvz.js} +2 -2
  136. package/stencil/{ui-skeleton-1cb75d00-CwDKR1VD.js → ui-skeleton-1cb75d00-CZJ4UoDJ.js} +1 -1
  137. package/stencil/{ui-skeleton-1cb75d00-BI5A-j0y.js → ui-skeleton-1cb75d00-D5Bub0nv.js} +1 -1
  138. package/stencil/{ui-skeleton-1cb75d00-Batko5iK.cjs → ui-skeleton-1cb75d00-dFWe5qbW.cjs} +1 -1
  139. package/stencil/{ui-skeleton-t0bb1jH7.cjs → ui-skeleton-BH5oLkn9.cjs} +1 -1
  140. package/stencil/{ui-skeleton-C974aG7g.js → ui-skeleton-CZ5yC1WO.js} +2 -2
  141. package/stencil/{ui-skeleton-DoX-UmRU.js → ui-skeleton-vLKdvRqw.js} +2 -2
  142. package/stencil/{user-deposit-withdrawal-Dzz_fEvK.js → user-deposit-withdrawal-BMWb-WJE.js} +45 -45
  143. package/stencil/{user-deposit-withdrawal-C7W58646.js → user-deposit-withdrawal-ByE9O4TW.js} +45 -45
  144. package/stencil/{user-deposit-withdrawal-Dfu_1g2v.cjs → user-deposit-withdrawal-DGTrOlxS.cjs} +2 -2
  145. package/stencil/{user-transaction-history-DhQ6RqNc.js → user-transaction-history-BU4-cXt6.js} +11 -11
  146. package/stencil/{user-transaction-history-BAK7MHHa.js → user-transaction-history-CXBKXul8.js} +14 -14
  147. package/stencil/{user-transaction-history-DiRXpfbN.cjs → user-transaction-history-DLLIZ5Ck.cjs} +1 -1
  148. package/components/GeneralLogout-Dzu2Sl-x.cjs +0 -21
  149. package/components/PlayerAccountControllerNd-CKctddtR.cjs +0 -1
  150. package/components/PlayerAccountGamingLimitsConfirmationModal-CVJUvbSC.cjs +0 -1
  151. package/components/PlayerAccountGamingLimitsGroupEdit-BvnqlbPp.cjs +0 -1
  152. package/components/PlayerAccountGeneralConfirmationModal-BiNxgQbD.cjs +0 -1
  153. package/components/PlayerChangePassword-LgjKzYU1.cjs +0 -3
  154. package/components/PlayerProfileInfo-8ER8t_W6.js +0 -2383
  155. package/components/PlayerProfileInfo-D5YZWH2T.cjs +0 -4
  156. package/components/PlayerProfileInfo-D6LqZyUL.js +0 -2419
  157. package/stencil/checkbox-group-input_9-BvAcuPzL.cjs +0 -2
  158. package/stencil/index-1ef3a64c-CFvPR_NP.cjs +0 -1
  159. package/stencil/index-7c5e707a-DvxqcEpc.js +0 -643
  160. package/stencil/index-7c5e707a-ESX_oqGB.cjs +0 -1
  161. package/stencil/index-9c0f6c58-DkHHwpww.cjs +0 -1
  162. package/stencil/index-9cd44522-WdjpTA2U.cjs +0 -1
  163. package/stencil/index-b2193545-CnMZ4-Ff.js +0 -519
  164. package/stencil/index-b2193545-Ct5AhxM8.cjs +0 -1
  165. package/stencil/index-b2193545-DePry399.js +0 -503
  166. package/stencil/locale-BB2iZ4t0.cjs +0 -1
  167. package/stencil/player-kyc-verification-DAy-szI5.cjs +0 -180
@@ -1,8 +1,8 @@
1
- "use strict";var wr=Object.defineProperty,Er=Object.defineProperties;var Sr=Object.getOwnPropertyDescriptors;var Ji=Object.getOwnPropertySymbols;var Cr=Object.prototype.hasOwnProperty,Ar=Object.prototype.propertyIsEnumerable;var Xi=(o,t,e)=>t in o?wr(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,_t=(o,t)=>{for(var e in t||(t={}))Cr.call(t,e)&&Xi(o,e,t[e]);if(Ji)for(var e of Ji(t))Ar.call(t,e)&&Xi(o,e,t[e]);return o},gt=(o,t)=>Er(o,Sr(t));var Ke=(o,t,e)=>new Promise((i,s)=>{var r=l=>{try{a(e.next(l))}catch(d){s(d)}},n=l=>{try{a(e.throw(l))}catch(d){s(d)}},a=l=>l.done?i(l.value):Promise.resolve(l.value).then(r,n);a((e=e.apply(o,t)).next())});const c=require("./GeneralLogout-Dzu2Sl-x.cjs");require("../stencil/ui-skeleton-t0bb1jH7.cjs");require("./PlayerAccountGamingLimitsGroupEdit-BvnqlbPp.cjs");/**
1
+ "use strict";var wr=Object.defineProperty,Er=Object.defineProperties;var Sr=Object.getOwnPropertyDescriptors;var Ji=Object.getOwnPropertySymbols;var Cr=Object.prototype.hasOwnProperty,Ar=Object.prototype.propertyIsEnumerable;var Xi=(o,t,e)=>t in o?wr(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,_t=(o,t)=>{for(var e in t||(t={}))Cr.call(t,e)&&Xi(o,e,t[e]);if(Ji)for(var e of Ji(t))Ar.call(t,e)&&Xi(o,e,t[e]);return o},gt=(o,t)=>Er(o,Sr(t));var Ke=(o,t,e)=>new Promise((i,s)=>{var r=l=>{try{a(e.next(l))}catch(d){s(d)}},n=l=>{try{a(e.throw(l))}catch(d){s(d)}},a=l=>l.done?i(l.value):Promise.resolve(l.value).then(r,n);a((e=e.apply(o,t)).next())});const c=require("./GeneralLogout-DweBl3EQ.cjs");require("../stencil/ui-skeleton-BH5oLkn9.cjs");require("./PlayerAccountGamingLimitsGroupEdit-JOrwbKuQ.cjs");/**
2
2
  * @license
3
3
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
4
4
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
5
- */function ge(o,t="24.5.12"){Object.defineProperty(o,"version",{get(){return t}});const e=customElements.get(o.is);if(!e)customElements.define(o.is,o);else{const i=e.version;i&&o.version&&i===o.version?console.warn(`The component ${o.is} has been loaded twice`):console.error(`Tried to define ${o.is} version ${o.version} when version ${e.version} is already in use. Something will probably break.`)}}/**
5
+ */function ge(o,t="24.5.11"){Object.defineProperty(o,"version",{get(){return t}});const e=customElements.get(o.is);if(!e)customElements.define(o.is,o);else{const i=e.version;i&&o.version&&i===o.version?console.warn(`The component ${o.is} has been loaded twice`):console.error(`Tried to define ${o.is} version ${o.version} when version ${e.version} is already in use. Something will probably break.`)}}/**
6
6
  * @license
7
7
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
8
8
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -20,7 +20,7 @@
20
20
  * SPDX-License-Identifier: BSD-3-Clause
21
21
  */const ot=globalThis,Ct=ot.trustedTypes,io=Ct?Ct.createPolicy("lit-html",{createHTML:o=>o}):void 0,Zo="$lit$",xe=`lit$${Math.random().toFixed(9).slice(2)}$`,Qo="?"+xe,Lr=`<${Qo}>`,Oe=document,rt=()=>Oe.createComment(""),nt=o=>o===null||typeof o!="object"&&typeof o!="function",Pi=Array.isArray,Fr=o=>Pi(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",Ht=`[
22
22
  \f\r]`,Ge=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,oo=/-->/g,so=/>/g,De=RegExp(`>|${Ht}(?:([^\\s"'>=/]+)(${Ht}*=${Ht}*(?:[^
23
- \f\r"'\`<>=]|("|')|))|$)`,"g"),ro=/'/g,no=/"/g,es=/^(?:script|style|textarea|title)$/i,Ye=Symbol.for("lit-noChange"),te=Symbol.for("lit-nothing"),ao=new WeakMap,ke=Oe.createTreeWalker(Oe,129);function ts(o,t){if(!Pi(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return io!==void 0?io.createHTML(t):t}const $r=(o,t)=>{const e=o.length-1,i=[];let s,r=t===2?"<svg>":t===3?"<math>":"",n=Ge;for(let a=0;a<e;a++){const l=o[a];let d,u,h=-1,p=0;for(;p<l.length&&(n.lastIndex=p,u=n.exec(l),u!==null);)p=n.lastIndex,n===Ge?u[1]==="!--"?n=oo:u[1]!==void 0?n=so:u[2]!==void 0?(es.test(u[2])&&(s=RegExp("</"+u[2],"g")),n=De):u[3]!==void 0&&(n=De):n===De?u[0]===">"?(n=s!=null?s:Ge,h=-1):u[1]===void 0?h=-2:(h=n.lastIndex-u[2].length,d=u[1],n=u[3]===void 0?De:u[3]==='"'?no:ro):n===no||n===ro?n=De:n===oo||n===so?n=Ge:(n=De,s=void 0);const f=n===De&&o[a+1].startsWith("/>")?" ":"";r+=n===Ge?l+Lr:h>=0?(i.push(d),l.slice(0,h)+Zo+l.slice(h)+xe+f):l+xe+(h===-2?a:f)}return[ts(o,r+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),i]};class at{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let r=0,n=0;const a=t.length-1,l=this.parts,[d,u]=$r(t,e);if(this.el=at.createElement(d,i),ke.currentNode=this.el.content,e===2||e===3){const h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(s=ke.nextNode())!==null&&l.length<a;){if(s.nodeType===1){if(s.hasAttributes())for(const h of s.getAttributeNames())if(h.endsWith(Zo)){const p=u[n++],f=s.getAttribute(h).split(xe),b=/([.?@])?(.*)/.exec(p);l.push({type:1,index:r,name:b[2],strings:f,ctor:b[1]==="."?Hr:b[1]==="?"?Br:b[1]==="@"?Yr:It}),s.removeAttribute(h)}else h.startsWith(xe)&&(l.push({type:6,index:r}),s.removeAttribute(h));if(es.test(s.tagName)){const h=s.textContent.split(xe),p=h.length-1;if(p>0){s.textContent=Ct?Ct.emptyScript:"";for(let f=0;f<p;f++)s.append(h[f],rt()),ke.nextNode(),l.push({type:2,index:++r});s.append(h[p],rt())}}}else if(s.nodeType===8)if(s.data===Qo)l.push({type:2,index:r});else{let h=-1;for(;(h=s.data.indexOf(xe,h+1))!==-1;)l.push({type:7,index:r}),h+=xe.length-1}r++}}static createElement(t,e){const i=Oe.createElement("template");return i.innerHTML=t,i}}function je(o,t,e=o,i){var n,a,l;if(t===Ye)return t;let s=i!==void 0?(n=e._$Co)==null?void 0:n[i]:e._$Cl;const r=nt(t)?void 0:t._$litDirective$;return(s==null?void 0:s.constructor)!==r&&((a=s==null?void 0:s._$AO)==null||a.call(s,!1),r===void 0?s=void 0:(s=new r(o),s._$AT(o,e,i)),i!==void 0?((l=e._$Co)!=null?l:e._$Co=[])[i]=s:e._$Cl=s),s!==void 0&&(t=je(o,s._$AS(o,t.values),s,i)),t}class Rr{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var d;const{el:{content:e},parts:i}=this._$AD,s=((d=t==null?void 0:t.creationScope)!=null?d:Oe).importNode(e,!0);ke.currentNode=s;let r=ke.nextNode(),n=0,a=0,l=i[0];for(;l!==void 0;){if(n===l.index){let u;l.type===2?u=new ft(r,r.nextSibling,this,t):l.type===1?u=new l.ctor(r,l.name,l.strings,this,t):l.type===6&&(u=new jr(r,this,t)),this._$AV.push(u),l=i[++a]}n!==(l==null?void 0:l.index)&&(r=ke.nextNode(),n++)}return ke.currentNode=Oe,s}p(t){let e=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class ft{get _$AU(){var t,e;return(e=(t=this._$AM)==null?void 0:t._$AU)!=null?e:this._$Cv}constructor(t,e,i,s){var r;this.type=2,this._$AH=te,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cv=(r=s==null?void 0:s.isConnected)!=null?r:!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=je(this,t,e),nt(t)?t===te||t==null||t===""?(this._$AH!==te&&this._$AR(),this._$AH=te):t!==this._$AH&&t!==Ye&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Fr(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==te&&nt(this._$AH)?this._$AA.nextSibling.data=t:this.T(Oe.createTextNode(t)),this._$AH=t}$(t){var r;const{values:e,_$litType$:i}=t,s=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=at.createElement(ts(i.h,i.h[0]),this.options)),i);if(((r=this._$AH)==null?void 0:r._$AD)===s)this._$AH.p(e);else{const n=new Rr(s,this),a=n.u(this.options);n.p(e),this.T(a),this._$AH=n}}_$AC(t){let e=ao.get(t.strings);return e===void 0&&ao.set(t.strings,e=new at(t)),e}k(t){Pi(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const r of t)s===e.length?e.push(i=new ft(this.O(rt()),this.O(rt()),this,this.options)):i=e[s],i._$AI(r),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){var i;for((i=this._$AP)==null?void 0:i.call(this,!1,!0,e);t&&t!==this._$AB;){const s=t.nextSibling;t.remove(),t=s}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class It{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,s,r){this.type=1,this._$AH=te,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=r,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=te}_$AI(t,e=this,i,s){const r=this.strings;let n=!1;if(r===void 0)t=je(this,t,e,0),n=!nt(t)||t!==this._$AH&&t!==Ye,n&&(this._$AH=t);else{const a=t;let l,d;for(t=r[0],l=0;l<r.length-1;l++)d=je(this,a[i+l],e,l),d===Ye&&(d=this._$AH[l]),n||(n=!nt(d)||d!==this._$AH[l]),d===te?t=te:t!==te&&(t+=(d!=null?d:"")+r[l+1]),this._$AH[l]=d}n&&!s&&this.j(t)}j(t){t===te?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t!=null?t:"")}}class Hr extends It{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===te?void 0:t}}class Br extends It{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==te)}}class Yr extends It{constructor(t,e,i,s,r){super(t,e,i,s,r),this.type=5}_$AI(t,e=this){var n;if((t=(n=je(this,t,e,0))!=null?n:te)===Ye)return;const i=this._$AH,s=t===te&&i!==te||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,r=t!==te&&(i===te||s);s&&this.element.removeEventListener(this.name,this,i),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;typeof this._$AH=="function"?this._$AH.call((i=(e=this.options)==null?void 0:e.host)!=null?i:this.element,t):this._$AH.handleEvent(t)}}class jr{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){je(this,t)}}const Bt=ot.litHtmlPolyfillSupport;var qo;Bt==null||Bt(at,ft),((qo=ot.litHtmlVersions)!=null?qo:ot.litHtmlVersions=[]).push("3.2.1");const Ur=(o,t,e)=>{var r,n;const i=(r=e==null?void 0:e.renderBefore)!=null?r:t;let s=i._$litPart$;if(s===void 0){const a=(n=e==null?void 0:e.renderBefore)!=null?n:null;i._$litPart$=s=new ft(t.insertBefore(rt(),a),a,void 0,e!=null?e:{})}return s._$AI(o),s};/**
23
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),ro=/'/g,no=/"/g,es=/^(?:script|style|textarea|title)$/i,Ye=Symbol.for("lit-noChange"),te=Symbol.for("lit-nothing"),ao=new WeakMap,ke=Oe.createTreeWalker(Oe,129);function ts(o,t){if(!Pi(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return io!==void 0?io.createHTML(t):t}const $r=(o,t)=>{const e=o.length-1,i=[];let s,r=t===2?"<svg>":t===3?"<math>":"",n=Ge;for(let a=0;a<e;a++){const l=o[a];let d,u,h=-1,p=0;for(;p<l.length&&(n.lastIndex=p,u=n.exec(l),u!==null);)p=n.lastIndex,n===Ge?u[1]==="!--"?n=oo:u[1]!==void 0?n=so:u[2]!==void 0?(es.test(u[2])&&(s=RegExp("</"+u[2],"g")),n=De):u[3]!==void 0&&(n=De):n===De?u[0]===">"?(n=s!=null?s:Ge,h=-1):u[1]===void 0?h=-2:(h=n.lastIndex-u[2].length,d=u[1],n=u[3]===void 0?De:u[3]==='"'?no:ro):n===no||n===ro?n=De:n===oo||n===so?n=Ge:(n=De,s=void 0);const f=n===De&&o[a+1].startsWith("/>")?" ":"";r+=n===Ge?l+Lr:h>=0?(i.push(d),l.slice(0,h)+Zo+l.slice(h)+xe+f):l+xe+(h===-2?a:f)}return[ts(o,r+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),i]};class at{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let r=0,n=0;const a=t.length-1,l=this.parts,[d,u]=$r(t,e);if(this.el=at.createElement(d,i),ke.currentNode=this.el.content,e===2||e===3){const h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(s=ke.nextNode())!==null&&l.length<a;){if(s.nodeType===1){if(s.hasAttributes())for(const h of s.getAttributeNames())if(h.endsWith(Zo)){const p=u[n++],f=s.getAttribute(h).split(xe),y=/([.?@])?(.*)/.exec(p);l.push({type:1,index:r,name:y[2],strings:f,ctor:y[1]==="."?Hr:y[1]==="?"?Br:y[1]==="@"?Yr:It}),s.removeAttribute(h)}else h.startsWith(xe)&&(l.push({type:6,index:r}),s.removeAttribute(h));if(es.test(s.tagName)){const h=s.textContent.split(xe),p=h.length-1;if(p>0){s.textContent=Ct?Ct.emptyScript:"";for(let f=0;f<p;f++)s.append(h[f],rt()),ke.nextNode(),l.push({type:2,index:++r});s.append(h[p],rt())}}}else if(s.nodeType===8)if(s.data===Qo)l.push({type:2,index:r});else{let h=-1;for(;(h=s.data.indexOf(xe,h+1))!==-1;)l.push({type:7,index:r}),h+=xe.length-1}r++}}static createElement(t,e){const i=Oe.createElement("template");return i.innerHTML=t,i}}function je(o,t,e=o,i){var n,a,l;if(t===Ye)return t;let s=i!==void 0?(n=e._$Co)==null?void 0:n[i]:e._$Cl;const r=nt(t)?void 0:t._$litDirective$;return(s==null?void 0:s.constructor)!==r&&((a=s==null?void 0:s._$AO)==null||a.call(s,!1),r===void 0?s=void 0:(s=new r(o),s._$AT(o,e,i)),i!==void 0?((l=e._$Co)!=null?l:e._$Co=[])[i]=s:e._$Cl=s),s!==void 0&&(t=je(o,s._$AS(o,t.values),s,i)),t}class Rr{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var d;const{el:{content:e},parts:i}=this._$AD,s=((d=t==null?void 0:t.creationScope)!=null?d:Oe).importNode(e,!0);ke.currentNode=s;let r=ke.nextNode(),n=0,a=0,l=i[0];for(;l!==void 0;){if(n===l.index){let u;l.type===2?u=new ft(r,r.nextSibling,this,t):l.type===1?u=new l.ctor(r,l.name,l.strings,this,t):l.type===6&&(u=new jr(r,this,t)),this._$AV.push(u),l=i[++a]}n!==(l==null?void 0:l.index)&&(r=ke.nextNode(),n++)}return ke.currentNode=Oe,s}p(t){let e=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}}class ft{get _$AU(){var t,e;return(e=(t=this._$AM)==null?void 0:t._$AU)!=null?e:this._$Cv}constructor(t,e,i,s){var r;this.type=2,this._$AH=te,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cv=(r=s==null?void 0:s.isConnected)!=null?r:!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return e!==void 0&&(t==null?void 0:t.nodeType)===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=je(this,t,e),nt(t)?t===te||t==null||t===""?(this._$AH!==te&&this._$AR(),this._$AH=te):t!==this._$AH&&t!==Ye&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Fr(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==te&&nt(this._$AH)?this._$AA.nextSibling.data=t:this.T(Oe.createTextNode(t)),this._$AH=t}$(t){var r;const{values:e,_$litType$:i}=t,s=typeof i=="number"?this._$AC(t):(i.el===void 0&&(i.el=at.createElement(ts(i.h,i.h[0]),this.options)),i);if(((r=this._$AH)==null?void 0:r._$AD)===s)this._$AH.p(e);else{const n=new Rr(s,this),a=n.u(this.options);n.p(e),this.T(a),this._$AH=n}}_$AC(t){let e=ao.get(t.strings);return e===void 0&&ao.set(t.strings,e=new at(t)),e}k(t){Pi(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let i,s=0;for(const r of t)s===e.length?e.push(i=new ft(this.O(rt()),this.O(rt()),this,this.options)):i=e[s],i._$AI(r),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){var i;for((i=this._$AP)==null?void 0:i.call(this,!1,!0,e);t&&t!==this._$AB;){const s=t.nextSibling;t.remove(),t=s}}setConnected(t){var e;this._$AM===void 0&&(this._$Cv=t,(e=this._$AP)==null||e.call(this,t))}}class It{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,s,r){this.type=1,this._$AH=te,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=r,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=te}_$AI(t,e=this,i,s){const r=this.strings;let n=!1;if(r===void 0)t=je(this,t,e,0),n=!nt(t)||t!==this._$AH&&t!==Ye,n&&(this._$AH=t);else{const a=t;let l,d;for(t=r[0],l=0;l<r.length-1;l++)d=je(this,a[i+l],e,l),d===Ye&&(d=this._$AH[l]),n||(n=!nt(d)||d!==this._$AH[l]),d===te?t=te:t!==te&&(t+=(d!=null?d:"")+r[l+1]),this._$AH[l]=d}n&&!s&&this.j(t)}j(t){t===te?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t!=null?t:"")}}class Hr extends It{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===te?void 0:t}}class Br extends It{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==te)}}class Yr extends It{constructor(t,e,i,s,r){super(t,e,i,s,r),this.type=5}_$AI(t,e=this){var n;if((t=(n=je(this,t,e,0))!=null?n:te)===Ye)return;const i=this._$AH,s=t===te&&i!==te||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,r=t!==te&&(i===te||s);s&&this.element.removeEventListener(this.name,this,i),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;typeof this._$AH=="function"?this._$AH.call((i=(e=this.options)==null?void 0:e.host)!=null?i:this.element,t):this._$AH.handleEvent(t)}}class jr{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){je(this,t)}}const Bt=ot.litHtmlPolyfillSupport;var qo;Bt==null||Bt(at,ft),((qo=ot.litHtmlVersions)!=null?qo:ot.litHtmlVersions=[]).push("3.2.1");const Ur=(o,t,e)=>{var r,n;const i=(r=e==null?void 0:e.renderBefore)!=null?r:t;let s=i._$litPart$;if(s===void 0){const a=(n=e==null?void 0:e.renderBefore)!=null?n:null;i._$litPart$=s=new ft(t.insertBefore(rt(),a),a,void 0,e!=null?e:{})}return s._$AI(o),s};/**
24
24
  * @license
25
25
  * Copyright 2017 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
@@ -1933,7 +1933,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1933
1933
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1934
1934
  Code distributed by Google as part of the polymer project is also
1935
1935
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1936
- */let _n=/(url\()([^)]*)(\))/g,gn=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/,vt,ue;function st(o,t){if(o&&gn.test(o)||o==="//")return o;if(vt===void 0){vt=!1;try{const e=new URL("b","http://a");e.pathname="c%20d",vt=e.href==="http://a/c%20d"}catch(e){}}if(t||(t=document.baseURI||window.location.href),vt)try{return new URL(o,t).href}catch(e){return o}return ue||(ue=document.implementation.createHTMLDocument("temp"),ue.base=ue.createElement("base"),ue.head.appendChild(ue.base),ue.anchor=ue.createElement("a"),ue.body.appendChild(ue.anchor)),ue.base.href=t,ue.anchor.href=o,ue.anchor.href||o}function Mi(o,t){return o.replace(_n,function(e,i,s,r){return i+"'"+st(s.replace(/["']/g,""),t)+"'"+r})}function Oi(o){return o.substring(0,o.lastIndexOf("/")+1)}/**
1936
+ */let _n=/(url\()([^)]*)(\))/g,gn=/(^\/[^\/])|(^#)|(^[\w-\d]*:)/,bt,ue;function st(o,t){if(o&&gn.test(o)||o==="//")return o;if(bt===void 0){bt=!1;try{const e=new URL("b","http://a");e.pathname="c%20d",bt=e.href==="http://a/c%20d"}catch(e){}}if(t||(t=document.baseURI||window.location.href),bt)try{return new URL(o,t).href}catch(e){return o}return ue||(ue=document.implementation.createHTMLDocument("temp"),ue.base=ue.createElement("base"),ue.head.appendChild(ue.base),ue.anchor=ue.createElement("a"),ue.body.appendChild(ue.anchor)),ue.base.href=t,ue.anchor.href=o,ue.anchor.href||o}function Mi(o,t){return o.replace(_n,function(e,i,s,r){return i+"'"+st(s.replace(/["']/g,""),t)+"'"+r})}function Oi(o){return o.substring(0,o.lastIndexOf("/")+1)}/**
1937
1937
  @license
1938
1938
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1939
1939
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1941,7 +1941,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1941
1941
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1942
1942
  Code distributed by Google as part of the polymer project is also
1943
1943
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1944
- */const fs=!window.ShadyDOM||!window.ShadyDOM.inUse;!window.ShadyCSS||window.ShadyCSS.nativeCss;const vn=fs&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{const o=new CSSStyleSheet;o.replaceSync("");const t=document.createElement("div");return t.attachShadow({mode:"open"}),t.shadowRoot.adoptedStyleSheets=[o],t.shadowRoot.adoptedStyleSheets[0]===o}catch(o){return!1}})();let bn=window.Polymer&&window.Polymer.rootPath||Oi(document.baseURI||window.location.href),Dt=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0;window.Polymer&&window.Polymer.setPassiveTouchGestures;let kt=window.Polymer&&window.Polymer.strictTemplatePolicy||!1,yn=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1,ms=window.Polymer&&window.Polymer.legacyOptimizations||!1,_s=window.Polymer&&window.Polymer.legacyWarnings||!1,xn=window.Polymer&&window.Polymer.syncInitialRender||!1,ni=window.Polymer&&window.Polymer.legacyUndefined||!1,wn=window.Polymer&&window.Polymer.orderedComputed||!1,lo=window.Polymer&&window.Polymer.removeNestedTemplates||!1,En=window.Polymer&&window.Polymer.fastDomIf||!1,co=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1;window.Polymer&&window.Polymer.legacyNoObservedAttributes;let Sn=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1;/**
1944
+ */const fs=!window.ShadyDOM||!window.ShadyDOM.inUse;!window.ShadyCSS||window.ShadyCSS.nativeCss;const bn=fs&&"adoptedStyleSheets"in Document.prototype&&"replaceSync"in CSSStyleSheet.prototype&&(()=>{try{const o=new CSSStyleSheet;o.replaceSync("");const t=document.createElement("div");return t.attachShadow({mode:"open"}),t.shadowRoot.adoptedStyleSheets=[o],t.shadowRoot.adoptedStyleSheets[0]===o}catch(o){return!1}})();let yn=window.Polymer&&window.Polymer.rootPath||Oi(document.baseURI||window.location.href),Dt=window.Polymer&&window.Polymer.sanitizeDOMValue||void 0;window.Polymer&&window.Polymer.setPassiveTouchGestures;let kt=window.Polymer&&window.Polymer.strictTemplatePolicy||!1,vn=window.Polymer&&window.Polymer.allowTemplateFromDomModule||!1,ms=window.Polymer&&window.Polymer.legacyOptimizations||!1,_s=window.Polymer&&window.Polymer.legacyWarnings||!1,xn=window.Polymer&&window.Polymer.syncInitialRender||!1,ni=window.Polymer&&window.Polymer.legacyUndefined||!1,wn=window.Polymer&&window.Polymer.orderedComputed||!1,lo=window.Polymer&&window.Polymer.removeNestedTemplates||!1,En=window.Polymer&&window.Polymer.fastDomIf||!1,co=window.Polymer&&window.Polymer.suppressTemplateNotifications||!1;window.Polymer&&window.Polymer.legacyNoObservedAttributes;let Sn=window.Polymer&&window.Polymer.useAdoptedStyleSheetsWithBuiltCSS||!1;/**
1945
1945
  @license
1946
1946
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1947
1947
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1965,7 +1965,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1965
1965
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1966
1966
  Code distributed by Google as part of the polymer project is also
1967
1967
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1968
- */const Dn="link[rel=import][type~=css]",kn="include",po="shady-unscoped";function vs(o){return lt.import(o)}function fo(o){let t=o.body?o.body:o;const e=Mi(t.textContent,o.baseURI),i=document.createElement("style");return i.textContent=e,i}function Pn(o){const t=o.trim().split(/\s+/),e=[];for(let i=0;i<t.length;i++)e.push(...Tn(t[i]));return e}function Tn(o){const t=vs(o);if(!t)return console.warn("Could not find style data in module named",o),[];if(t._styles===void 0){const e=[];e.push(...ys(t));const i=t.querySelector("template");i&&e.push(...bs(i,t.assetpath)),t._styles=e}return t._styles}function bs(o,t){if(!o._styles){const e=[],i=o.content.querySelectorAll("style");for(let s=0;s<i.length;s++){let r=i[s],n=r.getAttribute(kn);n&&e.push(...Pn(n).filter(function(a,l,d){return d.indexOf(a)===l})),t&&(r.textContent=Mi(r.textContent,t)),e.push(r)}o._styles=e}return o._styles}function Mn(o){let t=vs(o);return t?ys(t):[]}function ys(o){const t=[],e=o.querySelectorAll(Dn);for(let i=0;i<e.length;i++){let s=e[i];if(s.import){const r=s.import,n=s.hasAttribute(po);if(n&&!r._unscopedStyle){const a=fo(r);a.setAttribute(po,""),r._unscopedStyle=a}else r._style||(r._style=fo(r));t.push(n?r._unscopedStyle:r._style)}}return t}/**
1968
+ */const Dn="link[rel=import][type~=css]",kn="include",po="shady-unscoped";function bs(o){return lt.import(o)}function fo(o){let t=o.body?o.body:o;const e=Mi(t.textContent,o.baseURI),i=document.createElement("style");return i.textContent=e,i}function Pn(o){const t=o.trim().split(/\s+/),e=[];for(let i=0;i<t.length;i++)e.push(...Tn(t[i]));return e}function Tn(o){const t=bs(o);if(!t)return console.warn("Could not find style data in module named",o),[];if(t._styles===void 0){const e=[];e.push(...vs(t));const i=t.querySelector("template");i&&e.push(...ys(i,t.assetpath)),t._styles=e}return t._styles}function ys(o,t){if(!o._styles){const e=[],i=o.content.querySelectorAll("style");for(let s=0;s<i.length;s++){let r=i[s],n=r.getAttribute(kn);n&&e.push(...Pn(n).filter(function(a,l,d){return d.indexOf(a)===l})),t&&(r.textContent=Mi(r.textContent,t)),e.push(r)}o._styles=e}return o._styles}function Mn(o){let t=bs(o);return t?vs(t):[]}function vs(o){const t=[],e=o.querySelectorAll(Dn);for(let i=0;i<e.length;i++){let s=e[i];if(s.import){const r=s.import,n=s.hasAttribute(po);if(n&&!r._unscopedStyle){const a=fo(r);a.setAttribute(po,""),r._unscopedStyle=a}else r._style||(r._style=fo(r));t.push(n?r._unscopedStyle:r._style)}}return t}/**
1969
1969
  @license
1970
1970
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1971
1971
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -2013,7 +2013,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
2013
2013
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
2014
2014
  Code distributed by Google as part of the polymer project is also
2015
2015
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2016
- */const ks={};let bt=HTMLElement.prototype;for(;bt;){let o=Object.getOwnPropertyNames(bt);for(let t=0;t<o.length;t++)ks[o[t]]=!0;bt=Object.getPrototypeOf(bt)}const Hn=window.trustedTypes?o=>trustedTypes.isHTML(o)||trustedTypes.isScript(o)||trustedTypes.isScriptURL(o):()=>!1;function Bn(o,t){if(!ks[t]){let e=o[t];e!==void 0&&(o.__data?o._setPendingProperty(t,e):(o.__dataProto?o.hasOwnProperty(JSCompiler_renameProperty("__dataProto",o))||(o.__dataProto=Object.create(o.__dataProto)):o.__dataProto={},o.__dataProto[t]=e))}}const Yn=Q(o=>{const t=Ds(o);class e extends t{static createPropertiesForAttributes(){let s=this.observedAttributes;for(let r=0;r<s.length;r++)this.prototype._createPropertyAccessor(Es(s[r]))}static attributeNameForProperty(s){return Nt(s)}_initializeProperties(){this.__dataProto&&(this._initializeProtoProperties(this.__dataProto),this.__dataProto=null),super._initializeProperties()}_initializeProtoProperties(s){for(let r in s)this._setProperty(r,s[r])}_ensureAttribute(s,r){const n=this;n.hasAttribute(s)||this._valueToNodeAttribute(n,r,s)}_serializeValue(s){switch(typeof s){case"object":if(s instanceof Date)return s.toString();if(s){if(Hn(s))return s;try{return JSON.stringify(s)}catch(r){return""}}default:return super._serializeValue(s)}}_deserializeValue(s,r){let n;switch(r){case Object:try{n=JSON.parse(s)}catch(a){n=s}break;case Array:try{n=JSON.parse(s)}catch(a){n=null,console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${s}`)}break;case Date:n=isNaN(s)?String(s):Number(s),n=new Date(n);break;default:n=super._deserializeValue(s,r);break}return n}_definePropertyAccessor(s,r){Bn(this,s),super._definePropertyAccessor(s,r)}_hasAccessor(s){return this.__dataHasAccessor&&this.__dataHasAccessor[s]}_isPropertyPending(s){return!!(this.__dataPending&&s in this.__dataPending)}}return e});/**
2016
+ */const ks={};let yt=HTMLElement.prototype;for(;yt;){let o=Object.getOwnPropertyNames(yt);for(let t=0;t<o.length;t++)ks[o[t]]=!0;yt=Object.getPrototypeOf(yt)}const Hn=window.trustedTypes?o=>trustedTypes.isHTML(o)||trustedTypes.isScript(o)||trustedTypes.isScriptURL(o):()=>!1;function Bn(o,t){if(!ks[t]){let e=o[t];e!==void 0&&(o.__data?o._setPendingProperty(t,e):(o.__dataProto?o.hasOwnProperty(JSCompiler_renameProperty("__dataProto",o))||(o.__dataProto=Object.create(o.__dataProto)):o.__dataProto={},o.__dataProto[t]=e))}}const Yn=Q(o=>{const t=Ds(o);class e extends t{static createPropertiesForAttributes(){let s=this.observedAttributes;for(let r=0;r<s.length;r++)this.prototype._createPropertyAccessor(Es(s[r]))}static attributeNameForProperty(s){return Nt(s)}_initializeProperties(){this.__dataProto&&(this._initializeProtoProperties(this.__dataProto),this.__dataProto=null),super._initializeProperties()}_initializeProtoProperties(s){for(let r in s)this._setProperty(r,s[r])}_ensureAttribute(s,r){const n=this;n.hasAttribute(s)||this._valueToNodeAttribute(n,r,s)}_serializeValue(s){switch(typeof s){case"object":if(s instanceof Date)return s.toString();if(s){if(Hn(s))return s;try{return JSON.stringify(s)}catch(r){return""}}default:return super._serializeValue(s)}}_deserializeValue(s,r){let n;switch(r){case Object:try{n=JSON.parse(s)}catch(a){n=s}break;case Array:try{n=JSON.parse(s)}catch(a){n=null,console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${s}`)}break;case Date:n=isNaN(s)?String(s):Number(s),n=new Date(n);break;default:n=super._deserializeValue(s,r);break}return n}_definePropertyAccessor(s,r){Bn(this,s),super._definePropertyAccessor(s,r)}_hasAccessor(s){return this.__dataHasAccessor&&this.__dataHasAccessor[s]}_isPropertyPending(s){return!!(this.__dataPending&&s in this.__dataPending)}}return e});/**
2017
2017
  @license
2018
2018
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
2019
2019
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -2031,7 +2031,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2031
2031
  * be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
2032
2032
  * Google as part of the polymer project is also subject to an additional IP
2033
2033
  * rights grant found at http://polymer.github.io/PATENTS.txt
2034
- */let ut=0;const ht=[],F={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},Ts="__computeInfo",Qn=/[A-Z]/;function jt(o,t,e){let i=o[t];if(!i)i=o[t]={};else if(!o.hasOwnProperty(t)&&(i=o[t]=Object.create(o[t]),e))for(let s in i){let r=i[s],n=i[s]=Array(r.length);for(let a=0;a<r.length;a++)n[a]=r[a]}return i}function tt(o,t,e,i,s,r){if(t){let n=!1;const a=ut++;for(let l in e){let d=s?Ne(l):l,u=t[d];if(u)for(let h=0,p=u.length,f;h<p&&(f=u[h]);h++)(!f.info||f.info.lastRun!==a)&&(!s||Ni(l,f.trigger))&&(f.info&&(f.info.lastRun=a),f.fn(o,l,e,i,f.info,s,r),n=!0)}return n}return!1}function ea(o,t,e,i,s,r,n,a){let l=!1,d=n?Ne(i):i,u=t[d];if(u)for(let h=0,p=u.length,f;h<p&&(f=u[h]);h++)(!f.info||f.info.lastRun!==e)&&(!n||Ni(i,f.trigger))&&(f.info&&(f.info.lastRun=e),f.fn(o,i,s,r,f.info,n,a),l=!0);return l}function Ni(o,t){if(t){let e=t.name;return e==o||!!(t.structured&&xs(e,o))||!!(t.wildcard&&ct(e,o))}else return!0}function vo(o,t,e,i,s){let r=typeof s.method=="string"?o[s.method]:s.method,n=s.property;r?r.call(o,o.__data[n],i[n]):s.dynamicFn||console.warn("observer method `"+s.method+"` not defined")}function ta(o,t,e,i,s){let r=o[F.NOTIFY],n,a=ut++;for(let d in t)t[d]&&(r&&ea(o,r,a,d,e,i,s)||s&&ia(o,d,e))&&(n=!0);let l;n&&(l=o.__dataHost)&&l._invalidateProperties&&l._invalidateProperties()}function ia(o,t,e){let i=Ne(t);if(i!==t){let s=Nt(i)+"-changed";return Ms(o,s,e[t],t),!0}return!1}function Ms(o,t,e,i){let s={value:e,queueProperty:!0};i&&(s.path=i),oe(o).dispatchEvent(new CustomEvent(t,{detail:s}))}function oa(o,t,e,i,s,r){let a=(r?Ne(t):t)!=t?t:null,l=a?ce(o,a):o.__data[t];a&&l===void 0&&(l=e[t]),Ms(o,s.eventName,l,a)}function sa(o,t,e,i,s){let r,n=o.detail,a=n&&n.path;a?(i=dt(e,i,a),r=n&&n.value):r=o.currentTarget[e],r=s?!r:r,(!t[F.READ_ONLY]||!t[F.READ_ONLY][i])&&t._setPendingPropertyOrPath(i,r,!0,!!a)&&(!n||!n.queueProperty)&&t._invalidateProperties()}function ra(o,t,e,i,s){let r=o.__data[t];Dt&&(r=Dt(r,s.attrName,"attribute",o)),o._propertyToAttribute(t,s.attrName,r)}function na(o,t,e,i){let s=o[F.COMPUTE];if(s)if(wn){ut++;const r=la(o),n=[];for(let l in t)bo(l,s,n,r,i);let a;for(;a=n.shift();)Os(o,"",t,e,a)&&bo(a.methodInfo,s,n,r,i);Object.assign(e,o.__dataOld),Object.assign(t,o.__dataPending),o.__dataPending=null}else{let r=t;for(;tt(o,s,r,e,i);)Object.assign(e,o.__dataOld),Object.assign(t,o.__dataPending),r=o.__dataPending,o.__dataPending=null}}const aa=(o,t,e)=>{let i=0,s=t.length-1,r=-1;for(;i<=s;){const n=i+s>>1,a=e.get(t[n].methodInfo)-e.get(o.methodInfo);if(a<0)i=n+1;else if(a>0)s=n-1;else{r=n;break}}r<0&&(r=s+1),t.splice(r,0,o)},bo=(o,t,e,i,s)=>{const r=s?Ne(o):o,n=t[r];if(n)for(let a=0;a<n.length;a++){const l=n[a];l.info.lastRun!==ut&&(!s||Ni(o,l.trigger))&&(l.info.lastRun=ut,aa(l.info,e,i))}};function la(o){let t=o.constructor.__orderedComputedDeps;if(!t){t=new Map;const e=o[F.COMPUTE];let{counts:i,ready:s,total:r}=ca(o),n;for(;n=s.shift();){t.set(n,t.size);const a=e[n];a&&a.forEach(l=>{const d=l.info.methodInfo;--r,--i[d]===0&&s.push(d)})}r!==0&&console.warn(`Computed graph for ${o.localName} incomplete; circular?`),o.constructor.__orderedComputedDeps=t}return t}function ca(o){const t=o[Ts],e={},i=o[F.COMPUTE],s=[];let r=0;for(let n in t){const a=t[n];r+=e[n]=a.args.filter(l=>!l.literal).length+(a.dynamicFn?1:0)}for(let n in i)t[n]||s.push(n);return{counts:e,ready:s,total:r}}function Os(o,t,e,i,s){let r=ci(o,t,e,i,s);if(r===ht)return!1;let n=s.methodInfo;return o.__dataHasAccessor&&o.__dataHasAccessor[n]?o._setPendingProperty(n,r,!0):(o[n]=r,!1)}function da(o,t,e){let i=o.__dataLinkedPaths;if(i){let s;for(let r in i){let n=i[r];ct(r,t)?(s=dt(r,n,t),o._setPendingPropertyOrPath(s,e,!0,!0)):ct(n,t)&&(s=dt(n,r,t),o._setPendingPropertyOrPath(s,e,!0,!0))}}}function Ut(o,t,e,i,s,r,n){e.bindings=e.bindings||[];let a={kind:i,target:s,parts:r,literal:n,isCompound:r.length!==1};if(e.bindings.push(a),ma(a)){let{event:d,negate:u}=a.parts[0];a.listenerEvent=d||Nt(s)+"-changed",a.listenerNegate=u}let l=t.nodeInfoList.length;for(let d=0;d<a.parts.length;d++){let u=a.parts[d];u.compoundIndex=d,ua(o,t,a,u,l)}}function ua(o,t,e,i,s){if(!i.literal)if(e.kind==="attribute"&&e.target[0]==="-")console.warn("Cannot set attribute "+e.target+' because "-" is not a valid attribute starting character');else{let r=i.dependencies,n={index:s,binding:e,part:i,evaluator:o};for(let a=0;a<r.length;a++){let l=r[a];typeof l=="string"&&(l=Ns(l),l.wildcard=!0),o._addTemplatePropertyEffect(t,l.rootProperty,{fn:ha,info:n,trigger:l})}}}function ha(o,t,e,i,s,r,n){let a=n[s.index],l=s.binding,d=s.part;if(r&&d.source&&t.length>d.source.length&&l.kind=="property"&&!l.isCompound&&a.__isPropertyEffectsClient&&a.__dataHasAccessor&&a.__dataHasAccessor[l.target]){let u=e[t];t=dt(d.source,l.target,t),a._setPendingPropertyOrPath(t,u,!1,!0)&&o._enqueueClient(a)}else{let u=s.evaluator._evaluateBinding(o,d,t,e,i,r);u!==ht&&pa(o,a,l,d,u)}}function pa(o,t,e,i,s){if(s=fa(t,s,e,i),Dt&&(s=Dt(s,e.target,e.kind,t)),e.kind=="attribute")o._valueToNodeAttribute(t,s,e.target);else{let r=e.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[r]?(!t[F.READ_ONLY]||!t[F.READ_ONLY][r])&&t._setPendingProperty(r,s)&&o._enqueueClient(t):o._setUnmanagedPropertyToNode(t,r,s)}}function fa(o,t,e,i){if(e.isCompound){let s=o.__dataCompoundStorage[e.target];s[i.compoundIndex]=t,t=s.join("")}return e.kind!=="attribute"&&(e.target==="textContent"||e.target==="value"&&(o.localName==="input"||o.localName==="textarea"))&&(t=t==null?"":t),t}function ma(o){return!!o.target&&o.kind!="attribute"&&o.kind!="text"&&!o.isCompound&&o.parts[0].mode==="{"}function _a(o,t){let{nodeList:e,nodeInfoList:i}=t;if(i.length)for(let s=0;s<i.length;s++){let r=i[s],n=e[s],a=r.bindings;if(a)for(let l=0;l<a.length;l++){let d=a[l];ga(n,d),va(n,o,d)}n.__dataHost=o}}function ga(o,t){if(t.isCompound){let e=o.__dataCompoundStorage||(o.__dataCompoundStorage={}),i=t.parts,s=new Array(i.length);for(let n=0;n<i.length;n++)s[n]=i[n].literal;let r=t.target;e[r]=s,t.literal&&t.kind=="property"&&(r==="className"&&(o=oe(o)),o[r]=t.literal)}}function va(o,t,e){if(e.listenerEvent){let i=e.parts[0];o.addEventListener(e.listenerEvent,function(s){sa(s,t,e.target,i.source,i.negate)})}}function yo(o,t,e,i,s,r){r=t.static||r&&(typeof r!="object"||r[t.methodName]);let n={methodName:t.methodName,args:t.args,methodInfo:s,dynamicFn:r};for(let a=0,l;a<t.args.length&&(l=t.args[a]);a++)l.literal||o._addPropertyEffect(l.rootProperty,e,{fn:i,info:n,trigger:l});return r&&o._addPropertyEffect(t.methodName,e,{fn:i,info:n}),n}function ci(o,t,e,i,s){let r=o._methodHost||o,n=r[s.methodName];if(n){let a=o._marshalArgs(s.args,t,e);return a===ht?ht:n.apply(r,a)}else s.dynamicFn||console.warn("method `"+s.methodName+"` not defined")}const ba=[],Is="(?:[a-zA-Z_$][\\w.:$\\-*]*)",ya="(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)",xa="(?:'(?:[^'\\\\]|\\\\.)*')",wa='(?:"(?:[^"\\\\]|\\\\.)*")',Ea="(?:"+xa+"|"+wa+")",xo="(?:("+Is+"|"+ya+"|"+Ea+")\\s*)",Sa="(?:"+xo+"(?:,\\s*"+xo+")*)",Ca="(?:\\(\\s*(?:"+Sa+"?)\\)\\s*)",Aa="("+Is+"\\s*"+Ca+"?)",Da="(\\[\\[|{{)\\s*",ka="(?:]]|}})",Pa="(?:(!)\\s*)?",Ta=Da+Pa+Aa+ka,wo=new RegExp(Ta,"g");function Eo(o){let t="";for(let e=0;e<o.length;e++){let i=o[e].literal;t+=i||""}return t}function Vt(o){let t=o.match(/([^\s]+?)\(([\s\S]*)\)/);if(t){let i={methodName:t[1],static:!0,args:ba};if(t[2].trim()){let s=t[2].replace(/\\,/g,"&comma;").split(",");return Ma(s,i)}else return i}return null}function Ma(o,t){return t.args=o.map(function(e){let i=Ns(e);return i.literal||(t.static=!1),i},this),t}function Ns(o){let t=o.trim().replace(/&comma;/g,",").replace(/\\(.)/g,"$1"),e={name:t,value:"",literal:!1},i=t[0];switch(i==="-"&&(i=t[1]),i>="0"&&i<="9"&&(i="#"),i){case"'":case'"':e.value=t.slice(1,-1),e.literal=!0;break;case"#":e.value=Number(t),e.literal=!0;break}return e.literal||(e.rootProperty=Ne(t),e.structured=ai(t),e.structured&&(e.wildcard=t.slice(-2)==".*",e.wildcard&&(e.name=t.slice(0,-2)))),e}function So(o,t,e){let i=ce(o,e);return i===void 0&&(i=t[e]),i}function zs(o,t,e,i){const s={indexSplices:i};ni&&!o._overrideLegacyUndefined&&(t.splices=s),o.notifyPath(e+".splices",s),o.notifyPath(e+".length",t.length),ni&&!o._overrideLegacyUndefined&&(s.indexSplices=[])}function Je(o,t,e,i,s,r){zs(o,t,e,[{index:i,addedCount:s,removed:r,object:t,type:"splice"}])}function Oa(o){return o[0].toUpperCase()+o.substring(1)}const zi=Q(o=>{const t=Zn(Yn(o));class e extends t{constructor(){super(),this.__isPropertyEffectsClient=!0,this.__dataClientsReady,this.__dataPendingClients,this.__dataToNotify,this.__dataLinkedPaths,this.__dataHasPaths,this.__dataCompoundStorage,this.__dataHost,this.__dataTemp,this.__dataClientsInitialized,this.__data,this.__dataPending,this.__dataOld,this.__computeEffects,this.__computeInfo,this.__reflectEffects,this.__notifyEffects,this.__propagateEffects,this.__observeEffects,this.__readOnly,this.__templateInfo,this._overrideLegacyUndefined}get PROPERTY_EFFECT_TYPES(){return F}_initializeProperties(){super._initializeProperties(),this._registerHost(),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_registerHost(){if(Xe.length){let s=Xe[Xe.length-1];s._enqueueClient(this),this.__dataHost=s}}_initializeProtoProperties(s){this.__data=Object.create(s),this.__dataPending=Object.create(s),this.__dataOld={}}_initializeInstanceProperties(s){let r=this[F.READ_ONLY];for(let n in s)(!r||!r[n])&&(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[n]=this.__dataPending[n]=s[n])}_addPropertyEffect(s,r,n){this._createPropertyAccessor(s,r==F.READ_ONLY);let a=jt(this,r,!0)[s];a||(a=this[r][s]=[]),a.push(n)}_removePropertyEffect(s,r,n){let a=jt(this,r,!0)[s],l=a.indexOf(n);l>=0&&a.splice(l,1)}_hasPropertyEffect(s,r){let n=this[r];return!!(n&&n[s])}_hasReadOnlyEffect(s){return this._hasPropertyEffect(s,F.READ_ONLY)}_hasNotifyEffect(s){return this._hasPropertyEffect(s,F.NOTIFY)}_hasReflectEffect(s){return this._hasPropertyEffect(s,F.REFLECT)}_hasComputedEffect(s){return this._hasPropertyEffect(s,F.COMPUTE)}_setPendingPropertyOrPath(s,r,n,a){if(a||Ne(Array.isArray(s)?s[0]:s)!==s){if(!a){let l=ce(this,s);if(s=mo(this,s,r),!s||!super._shouldPropertyChange(s,r,l))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(s,r,n))return da(this,s,r),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[s])return this._setPendingProperty(s,r,n);this[s]=r}return!1}_setUnmanagedPropertyToNode(s,r,n){(n!==s[r]||typeof n=="object")&&(r==="className"&&(s=oe(s)),s[r]=n)}_setPendingProperty(s,r,n){let a=this.__dataHasPaths&&ai(s),l=a?this.__dataTemp:this.__data;return this._shouldPropertyChange(s,r,l[s])?(this.__dataPending||(this.__dataPending={},this.__dataOld={}),s in this.__dataOld||(this.__dataOld[s]=this.__data[s]),a?this.__dataTemp[s]=r:this.__data[s]=r,this.__dataPending[s]=r,(a||this[F.NOTIFY]&&this[F.NOTIFY][s])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[s]=n),!0):!1}_setProperty(s,r){this._setPendingProperty(s,r,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(s){this.__dataPendingClients=this.__dataPendingClients||[],s!==this&&this.__dataPendingClients.push(s)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let s=this.__dataPendingClients;if(s){this.__dataPendingClients=null;for(let r=0;r<s.length;r++){let n=s[r];n.__dataEnabled?n.__dataPending&&n._flushProperties():n._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(s,r){for(let n in s)(r||!this[F.READ_ONLY]||!this[F.READ_ONLY][n])&&this._setPendingPropertyOrPath(n,s[n],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(s,r,n){let a=this.__dataHasPaths;this.__dataHasPaths=!1;let l;na(this,r,n,a),l=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(r,n,a),this._flushClients(),tt(this,this[F.REFLECT],r,n,a),tt(this,this[F.OBSERVE],r,n,a),l&&ta(this,l,r,n,a),this.__dataCounter==1&&(this.__dataTemp={})}_propagatePropertyChanges(s,r,n){this[F.PROPAGATE]&&tt(this,this[F.PROPAGATE],s,r,n),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,s,r,n)}_runEffectsForTemplate(s,r,n,a){const l=(d,u)=>{tt(this,s.propertyEffects,d,n,u,s.nodeList);for(let h=s.firstChild;h;h=h.nextSibling)this._runEffectsForTemplate(h,d,n,u)};s.runEffects?s.runEffects(l,r,a):l(r,a)}linkPaths(s,r){s=et(s),r=et(r),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[s]=r}unlinkPaths(s){s=et(s),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[s]}notifySplices(s,r){let n={path:""},a=ce(this,s,n);zs(this,a,n.path,r)}get(s,r){return ce(r||this,s)}set(s,r,n){n?mo(n,s,r):(!this[F.READ_ONLY]||!this[F.READ_ONLY][s])&&this._setPendingPropertyOrPath(s,r,!0)&&this._invalidateProperties()}push(s,...r){let n={path:""},a=ce(this,s,n),l=a.length,d=a.push(...r);return r.length&&Je(this,a,n.path,l,r.length,[]),d}pop(s){let r={path:""},n=ce(this,s,r),a=!!n.length,l=n.pop();return a&&Je(this,n,r.path,n.length,0,[l]),l}splice(s,r,n,...a){let l={path:""},d=ce(this,s,l);r<0?r=d.length-Math.floor(-r):r&&(r=Math.floor(r));let u;return arguments.length===2?u=d.splice(r):u=d.splice(r,n,...a),(a.length||u.length)&&Je(this,d,l.path,r,a.length,u),u}shift(s){let r={path:""},n=ce(this,s,r),a=!!n.length,l=n.shift();return a&&Je(this,n,r.path,0,0,[l]),l}unshift(s,...r){let n={path:""},a=ce(this,s,n),l=a.unshift(...r);return r.length&&Je(this,a,n.path,0,r.length,[]),l}notifyPath(s,r){let n;if(arguments.length==1){let a={path:""};r=ce(this,s,a),n=a.path}else Array.isArray(s)?n=et(s):n=s;this._setPendingPropertyOrPath(n,r,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(s,r){this._addPropertyEffect(s,F.READ_ONLY),r&&(this["_set"+Oa(s)]=function(n){this._setProperty(s,n)})}_createPropertyObserver(s,r,n){let a={property:s,method:r,dynamicFn:!!n};this._addPropertyEffect(s,F.OBSERVE,{fn:vo,info:a,trigger:{name:s}}),n&&this._addPropertyEffect(r,F.OBSERVE,{fn:vo,info:a,trigger:{name:r}})}_createMethodObserver(s,r){let n=Vt(s);if(!n)throw new Error("Malformed observer expression '"+s+"'");yo(this,n,F.OBSERVE,ci,null,r)}_createNotifyingProperty(s){this._addPropertyEffect(s,F.NOTIFY,{fn:oa,info:{eventName:Nt(s)+"-changed",property:s}})}_createReflectedProperty(s){let r=this.constructor.attributeNameForProperty(s);r[0]==="-"?console.warn("Property "+s+" cannot be reflected to attribute "+r+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(s,F.REFLECT,{fn:ra,info:{attrName:r}})}_createComputedProperty(s,r,n){let a=Vt(r);if(!a)throw new Error("Malformed computed expression '"+r+"'");const l=yo(this,a,F.COMPUTE,Os,s,n);jt(this,Ts)[s]=l}_marshalArgs(s,r,n){const a=this.__data,l=[];for(let d=0,u=s.length;d<u;d++){let{name:h,structured:p,wildcard:f,value:b,literal:m}=s[d];if(!m)if(f){const y=ct(h,r),D=So(a,n,y?r:h);b={path:y?r:h,value:D,base:y?ce(a,h):D}}else b=p?So(a,n,h):a[h];if(ni&&!this._overrideLegacyUndefined&&b===void 0&&s.length>1)return ht;l[d]=b}return l}static addPropertyEffect(s,r,n){this.prototype._addPropertyEffect(s,r,n)}static createPropertyObserver(s,r,n){this.prototype._createPropertyObserver(s,r,n)}static createMethodObserver(s,r){this.prototype._createMethodObserver(s,r)}static createNotifyingProperty(s){this.prototype._createNotifyingProperty(s)}static createReadOnlyProperty(s,r){this.prototype._createReadOnlyProperty(s,r)}static createReflectedProperty(s){this.prototype._createReflectedProperty(s)}static createComputedProperty(s,r,n){this.prototype._createComputedProperty(s,r,n)}static bindTemplate(s){return this.prototype._bindTemplate(s)}_bindTemplate(s,r){let n=this.constructor._parseTemplate(s),a=this.__preBoundTemplateInfo==n;if(!a)for(let l in n.propertyEffects)this._createPropertyAccessor(l);if(r)if(n=Object.create(n),n.wasPreBound=a,!this.__templateInfo)this.__templateInfo=n;else{const l=s._parentTemplateInfo||this.__templateInfo,d=l.lastChild;n.parent=l,l.lastChild=n,n.previousSibling=d,d?d.nextSibling=n:l.firstChild=n}else this.__preBoundTemplateInfo=n;return n}static _addTemplatePropertyEffect(s,r,n){let a=s.hostProps=s.hostProps||{};a[r]=!0;let l=s.propertyEffects=s.propertyEffects||{};(l[r]=l[r]||[]).push(n)}_stampTemplate(s,r){r=r||this._bindTemplate(s,!0),Xe.push(this);let n=super._stampTemplate(s,r);if(Xe.pop(),r.nodeList=n.nodeList,!r.wasPreBound){let a=r.childNodes=[];for(let l=n.firstChild;l;l=l.nextSibling)a.push(l)}return n.templateInfo=r,_a(this,r),this.__dataClientsReady&&(this._runEffectsForTemplate(r,this.__data,null,!1),this._flushClients()),n}_removeBoundDom(s){const r=s.templateInfo,{previousSibling:n,nextSibling:a,parent:l}=r;n?n.nextSibling=a:l&&(l.firstChild=a),a?a.previousSibling=n:l&&(l.lastChild=n),r.nextSibling=r.previousSibling=null;let d=r.childNodes;for(let u=0;u<d.length;u++){let h=d[u];oe(oe(h).parentNode).removeChild(h)}}static _parseTemplateNode(s,r,n){let a=t._parseTemplateNode.call(this,s,r,n);if(s.nodeType===Node.TEXT_NODE){let l=this._parseBindings(s.textContent,r);l&&(s.textContent=Eo(l)||" ",Ut(this,r,n,"text","textContent",l),a=!0)}return a}static _parseTemplateNodeAttribute(s,r,n,a,l){let d=this._parseBindings(l,r);if(d){let u=a,h="property";Qn.test(a)?h="attribute":a[a.length-1]=="$"&&(a=a.slice(0,-1),h="attribute");let p=Eo(d);return p&&h=="attribute"&&(a=="class"&&s.hasAttribute("class")&&(p+=" "+s.getAttribute(a)),s.setAttribute(a,p)),h=="attribute"&&u=="disable-upgrade$"&&s.setAttribute(a,""),s.localName==="input"&&u==="value"&&s.setAttribute(u,""),s.removeAttribute(u),h==="property"&&(a=Es(a)),Ut(this,r,n,h,a,d,p),!0}else return t._parseTemplateNodeAttribute.call(this,s,r,n,a,l)}static _parseTemplateNestedTemplate(s,r,n){let a=t._parseTemplateNestedTemplate.call(this,s,r,n);const l=s.parentNode,d=n.templateInfo,u=l.localName==="dom-if",h=l.localName==="dom-repeat";lo&&(u||h)&&(l.removeChild(s),n=n.parentInfo,n.templateInfo=d,n.noted=!0,a=!1);let p=d.hostProps;if(En&&u)p&&(r.hostProps=Object.assign(r.hostProps||{},p),lo||(n.parentInfo.noted=!0));else{let f="{";for(let b in p){let m=[{mode:f,source:b,dependencies:[b],hostProp:!0}];Ut(this,r,n,"property","_host_"+b,m)}}return a}static _parseBindings(s,r){let n=[],a=0,l;for(;(l=wo.exec(s))!==null;){l.index>a&&n.push({literal:s.slice(a,l.index)});let d=l[1][0],u=!!l[2],h=l[3].trim(),p=!1,f="",b=-1;d=="{"&&(b=h.indexOf("::"))>0&&(f=h.substring(b+2),h=h.substring(0,b),p=!0);let m=Vt(h),y=[];if(m){let{args:D,methodName:A}=m;for(let M=0;M<D.length;M++){let N=D[M];N.literal||y.push(N)}let I=r.dynamicFns;(I&&I[A]||m.static)&&(y.push(A),m.dynamicFn=!0)}else y.push(h);n.push({source:h,mode:d,negate:u,customEvent:p,signature:m,dependencies:y,event:f}),a=wo.lastIndex}if(a&&a<s.length){let d=s.substring(a);d&&n.push({literal:d})}return n.length?n:null}static _evaluateBinding(s,r,n,a,l,d){let u;return r.signature?u=ci(s,n,a,l,r.signature):n!=r.source?u=ce(s,r.source):d&&ai(n)?u=ce(s,n):u=s.__data[n],r.negate&&(u=!u),u}}return e}),Xe=[];/**
2034
+ */let ut=0;const ht=[],F={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},Ts="__computeInfo",Qn=/[A-Z]/;function jt(o,t,e){let i=o[t];if(!i)i=o[t]={};else if(!o.hasOwnProperty(t)&&(i=o[t]=Object.create(o[t]),e))for(let s in i){let r=i[s],n=i[s]=Array(r.length);for(let a=0;a<r.length;a++)n[a]=r[a]}return i}function tt(o,t,e,i,s,r){if(t){let n=!1;const a=ut++;for(let l in e){let d=s?Ne(l):l,u=t[d];if(u)for(let h=0,p=u.length,f;h<p&&(f=u[h]);h++)(!f.info||f.info.lastRun!==a)&&(!s||Ni(l,f.trigger))&&(f.info&&(f.info.lastRun=a),f.fn(o,l,e,i,f.info,s,r),n=!0)}return n}return!1}function ea(o,t,e,i,s,r,n,a){let l=!1,d=n?Ne(i):i,u=t[d];if(u)for(let h=0,p=u.length,f;h<p&&(f=u[h]);h++)(!f.info||f.info.lastRun!==e)&&(!n||Ni(i,f.trigger))&&(f.info&&(f.info.lastRun=e),f.fn(o,i,s,r,f.info,n,a),l=!0);return l}function Ni(o,t){if(t){let e=t.name;return e==o||!!(t.structured&&xs(e,o))||!!(t.wildcard&&ct(e,o))}else return!0}function bo(o,t,e,i,s){let r=typeof s.method=="string"?o[s.method]:s.method,n=s.property;r?r.call(o,o.__data[n],i[n]):s.dynamicFn||console.warn("observer method `"+s.method+"` not defined")}function ta(o,t,e,i,s){let r=o[F.NOTIFY],n,a=ut++;for(let d in t)t[d]&&(r&&ea(o,r,a,d,e,i,s)||s&&ia(o,d,e))&&(n=!0);let l;n&&(l=o.__dataHost)&&l._invalidateProperties&&l._invalidateProperties()}function ia(o,t,e){let i=Ne(t);if(i!==t){let s=Nt(i)+"-changed";return Ms(o,s,e[t],t),!0}return!1}function Ms(o,t,e,i){let s={value:e,queueProperty:!0};i&&(s.path=i),oe(o).dispatchEvent(new CustomEvent(t,{detail:s}))}function oa(o,t,e,i,s,r){let a=(r?Ne(t):t)!=t?t:null,l=a?ce(o,a):o.__data[t];a&&l===void 0&&(l=e[t]),Ms(o,s.eventName,l,a)}function sa(o,t,e,i,s){let r,n=o.detail,a=n&&n.path;a?(i=dt(e,i,a),r=n&&n.value):r=o.currentTarget[e],r=s?!r:r,(!t[F.READ_ONLY]||!t[F.READ_ONLY][i])&&t._setPendingPropertyOrPath(i,r,!0,!!a)&&(!n||!n.queueProperty)&&t._invalidateProperties()}function ra(o,t,e,i,s){let r=o.__data[t];Dt&&(r=Dt(r,s.attrName,"attribute",o)),o._propertyToAttribute(t,s.attrName,r)}function na(o,t,e,i){let s=o[F.COMPUTE];if(s)if(wn){ut++;const r=la(o),n=[];for(let l in t)yo(l,s,n,r,i);let a;for(;a=n.shift();)Os(o,"",t,e,a)&&yo(a.methodInfo,s,n,r,i);Object.assign(e,o.__dataOld),Object.assign(t,o.__dataPending),o.__dataPending=null}else{let r=t;for(;tt(o,s,r,e,i);)Object.assign(e,o.__dataOld),Object.assign(t,o.__dataPending),r=o.__dataPending,o.__dataPending=null}}const aa=(o,t,e)=>{let i=0,s=t.length-1,r=-1;for(;i<=s;){const n=i+s>>1,a=e.get(t[n].methodInfo)-e.get(o.methodInfo);if(a<0)i=n+1;else if(a>0)s=n-1;else{r=n;break}}r<0&&(r=s+1),t.splice(r,0,o)},yo=(o,t,e,i,s)=>{const r=s?Ne(o):o,n=t[r];if(n)for(let a=0;a<n.length;a++){const l=n[a];l.info.lastRun!==ut&&(!s||Ni(o,l.trigger))&&(l.info.lastRun=ut,aa(l.info,e,i))}};function la(o){let t=o.constructor.__orderedComputedDeps;if(!t){t=new Map;const e=o[F.COMPUTE];let{counts:i,ready:s,total:r}=ca(o),n;for(;n=s.shift();){t.set(n,t.size);const a=e[n];a&&a.forEach(l=>{const d=l.info.methodInfo;--r,--i[d]===0&&s.push(d)})}r!==0&&console.warn(`Computed graph for ${o.localName} incomplete; circular?`),o.constructor.__orderedComputedDeps=t}return t}function ca(o){const t=o[Ts],e={},i=o[F.COMPUTE],s=[];let r=0;for(let n in t){const a=t[n];r+=e[n]=a.args.filter(l=>!l.literal).length+(a.dynamicFn?1:0)}for(let n in i)t[n]||s.push(n);return{counts:e,ready:s,total:r}}function Os(o,t,e,i,s){let r=ci(o,t,e,i,s);if(r===ht)return!1;let n=s.methodInfo;return o.__dataHasAccessor&&o.__dataHasAccessor[n]?o._setPendingProperty(n,r,!0):(o[n]=r,!1)}function da(o,t,e){let i=o.__dataLinkedPaths;if(i){let s;for(let r in i){let n=i[r];ct(r,t)?(s=dt(r,n,t),o._setPendingPropertyOrPath(s,e,!0,!0)):ct(n,t)&&(s=dt(n,r,t),o._setPendingPropertyOrPath(s,e,!0,!0))}}}function Ut(o,t,e,i,s,r,n){e.bindings=e.bindings||[];let a={kind:i,target:s,parts:r,literal:n,isCompound:r.length!==1};if(e.bindings.push(a),ma(a)){let{event:d,negate:u}=a.parts[0];a.listenerEvent=d||Nt(s)+"-changed",a.listenerNegate=u}let l=t.nodeInfoList.length;for(let d=0;d<a.parts.length;d++){let u=a.parts[d];u.compoundIndex=d,ua(o,t,a,u,l)}}function ua(o,t,e,i,s){if(!i.literal)if(e.kind==="attribute"&&e.target[0]==="-")console.warn("Cannot set attribute "+e.target+' because "-" is not a valid attribute starting character');else{let r=i.dependencies,n={index:s,binding:e,part:i,evaluator:o};for(let a=0;a<r.length;a++){let l=r[a];typeof l=="string"&&(l=Ns(l),l.wildcard=!0),o._addTemplatePropertyEffect(t,l.rootProperty,{fn:ha,info:n,trigger:l})}}}function ha(o,t,e,i,s,r,n){let a=n[s.index],l=s.binding,d=s.part;if(r&&d.source&&t.length>d.source.length&&l.kind=="property"&&!l.isCompound&&a.__isPropertyEffectsClient&&a.__dataHasAccessor&&a.__dataHasAccessor[l.target]){let u=e[t];t=dt(d.source,l.target,t),a._setPendingPropertyOrPath(t,u,!1,!0)&&o._enqueueClient(a)}else{let u=s.evaluator._evaluateBinding(o,d,t,e,i,r);u!==ht&&pa(o,a,l,d,u)}}function pa(o,t,e,i,s){if(s=fa(t,s,e,i),Dt&&(s=Dt(s,e.target,e.kind,t)),e.kind=="attribute")o._valueToNodeAttribute(t,s,e.target);else{let r=e.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[r]?(!t[F.READ_ONLY]||!t[F.READ_ONLY][r])&&t._setPendingProperty(r,s)&&o._enqueueClient(t):o._setUnmanagedPropertyToNode(t,r,s)}}function fa(o,t,e,i){if(e.isCompound){let s=o.__dataCompoundStorage[e.target];s[i.compoundIndex]=t,t=s.join("")}return e.kind!=="attribute"&&(e.target==="textContent"||e.target==="value"&&(o.localName==="input"||o.localName==="textarea"))&&(t=t==null?"":t),t}function ma(o){return!!o.target&&o.kind!="attribute"&&o.kind!="text"&&!o.isCompound&&o.parts[0].mode==="{"}function _a(o,t){let{nodeList:e,nodeInfoList:i}=t;if(i.length)for(let s=0;s<i.length;s++){let r=i[s],n=e[s],a=r.bindings;if(a)for(let l=0;l<a.length;l++){let d=a[l];ga(n,d),ba(n,o,d)}n.__dataHost=o}}function ga(o,t){if(t.isCompound){let e=o.__dataCompoundStorage||(o.__dataCompoundStorage={}),i=t.parts,s=new Array(i.length);for(let n=0;n<i.length;n++)s[n]=i[n].literal;let r=t.target;e[r]=s,t.literal&&t.kind=="property"&&(r==="className"&&(o=oe(o)),o[r]=t.literal)}}function ba(o,t,e){if(e.listenerEvent){let i=e.parts[0];o.addEventListener(e.listenerEvent,function(s){sa(s,t,e.target,i.source,i.negate)})}}function vo(o,t,e,i,s,r){r=t.static||r&&(typeof r!="object"||r[t.methodName]);let n={methodName:t.methodName,args:t.args,methodInfo:s,dynamicFn:r};for(let a=0,l;a<t.args.length&&(l=t.args[a]);a++)l.literal||o._addPropertyEffect(l.rootProperty,e,{fn:i,info:n,trigger:l});return r&&o._addPropertyEffect(t.methodName,e,{fn:i,info:n}),n}function ci(o,t,e,i,s){let r=o._methodHost||o,n=r[s.methodName];if(n){let a=o._marshalArgs(s.args,t,e);return a===ht?ht:n.apply(r,a)}else s.dynamicFn||console.warn("method `"+s.methodName+"` not defined")}const ya=[],Is="(?:[a-zA-Z_$][\\w.:$\\-*]*)",va="(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)",xa="(?:'(?:[^'\\\\]|\\\\.)*')",wa='(?:"(?:[^"\\\\]|\\\\.)*")',Ea="(?:"+xa+"|"+wa+")",xo="(?:("+Is+"|"+va+"|"+Ea+")\\s*)",Sa="(?:"+xo+"(?:,\\s*"+xo+")*)",Ca="(?:\\(\\s*(?:"+Sa+"?)\\)\\s*)",Aa="("+Is+"\\s*"+Ca+"?)",Da="(\\[\\[|{{)\\s*",ka="(?:]]|}})",Pa="(?:(!)\\s*)?",Ta=Da+Pa+Aa+ka,wo=new RegExp(Ta,"g");function Eo(o){let t="";for(let e=0;e<o.length;e++){let i=o[e].literal;t+=i||""}return t}function Vt(o){let t=o.match(/([^\s]+?)\(([\s\S]*)\)/);if(t){let i={methodName:t[1],static:!0,args:ya};if(t[2].trim()){let s=t[2].replace(/\\,/g,"&comma;").split(",");return Ma(s,i)}else return i}return null}function Ma(o,t){return t.args=o.map(function(e){let i=Ns(e);return i.literal||(t.static=!1),i},this),t}function Ns(o){let t=o.trim().replace(/&comma;/g,",").replace(/\\(.)/g,"$1"),e={name:t,value:"",literal:!1},i=t[0];switch(i==="-"&&(i=t[1]),i>="0"&&i<="9"&&(i="#"),i){case"'":case'"':e.value=t.slice(1,-1),e.literal=!0;break;case"#":e.value=Number(t),e.literal=!0;break}return e.literal||(e.rootProperty=Ne(t),e.structured=ai(t),e.structured&&(e.wildcard=t.slice(-2)==".*",e.wildcard&&(e.name=t.slice(0,-2)))),e}function So(o,t,e){let i=ce(o,e);return i===void 0&&(i=t[e]),i}function zs(o,t,e,i){const s={indexSplices:i};ni&&!o._overrideLegacyUndefined&&(t.splices=s),o.notifyPath(e+".splices",s),o.notifyPath(e+".length",t.length),ni&&!o._overrideLegacyUndefined&&(s.indexSplices=[])}function Je(o,t,e,i,s,r){zs(o,t,e,[{index:i,addedCount:s,removed:r,object:t,type:"splice"}])}function Oa(o){return o[0].toUpperCase()+o.substring(1)}const zi=Q(o=>{const t=Zn(Yn(o));class e extends t{constructor(){super(),this.__isPropertyEffectsClient=!0,this.__dataClientsReady,this.__dataPendingClients,this.__dataToNotify,this.__dataLinkedPaths,this.__dataHasPaths,this.__dataCompoundStorage,this.__dataHost,this.__dataTemp,this.__dataClientsInitialized,this.__data,this.__dataPending,this.__dataOld,this.__computeEffects,this.__computeInfo,this.__reflectEffects,this.__notifyEffects,this.__propagateEffects,this.__observeEffects,this.__readOnly,this.__templateInfo,this._overrideLegacyUndefined}get PROPERTY_EFFECT_TYPES(){return F}_initializeProperties(){super._initializeProperties(),this._registerHost(),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_registerHost(){if(Xe.length){let s=Xe[Xe.length-1];s._enqueueClient(this),this.__dataHost=s}}_initializeProtoProperties(s){this.__data=Object.create(s),this.__dataPending=Object.create(s),this.__dataOld={}}_initializeInstanceProperties(s){let r=this[F.READ_ONLY];for(let n in s)(!r||!r[n])&&(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[n]=this.__dataPending[n]=s[n])}_addPropertyEffect(s,r,n){this._createPropertyAccessor(s,r==F.READ_ONLY);let a=jt(this,r,!0)[s];a||(a=this[r][s]=[]),a.push(n)}_removePropertyEffect(s,r,n){let a=jt(this,r,!0)[s],l=a.indexOf(n);l>=0&&a.splice(l,1)}_hasPropertyEffect(s,r){let n=this[r];return!!(n&&n[s])}_hasReadOnlyEffect(s){return this._hasPropertyEffect(s,F.READ_ONLY)}_hasNotifyEffect(s){return this._hasPropertyEffect(s,F.NOTIFY)}_hasReflectEffect(s){return this._hasPropertyEffect(s,F.REFLECT)}_hasComputedEffect(s){return this._hasPropertyEffect(s,F.COMPUTE)}_setPendingPropertyOrPath(s,r,n,a){if(a||Ne(Array.isArray(s)?s[0]:s)!==s){if(!a){let l=ce(this,s);if(s=mo(this,s,r),!s||!super._shouldPropertyChange(s,r,l))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(s,r,n))return da(this,s,r),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[s])return this._setPendingProperty(s,r,n);this[s]=r}return!1}_setUnmanagedPropertyToNode(s,r,n){(n!==s[r]||typeof n=="object")&&(r==="className"&&(s=oe(s)),s[r]=n)}_setPendingProperty(s,r,n){let a=this.__dataHasPaths&&ai(s),l=a?this.__dataTemp:this.__data;return this._shouldPropertyChange(s,r,l[s])?(this.__dataPending||(this.__dataPending={},this.__dataOld={}),s in this.__dataOld||(this.__dataOld[s]=this.__data[s]),a?this.__dataTemp[s]=r:this.__data[s]=r,this.__dataPending[s]=r,(a||this[F.NOTIFY]&&this[F.NOTIFY][s])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[s]=n),!0):!1}_setProperty(s,r){this._setPendingProperty(s,r,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(s){this.__dataPendingClients=this.__dataPendingClients||[],s!==this&&this.__dataPendingClients.push(s)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let s=this.__dataPendingClients;if(s){this.__dataPendingClients=null;for(let r=0;r<s.length;r++){let n=s[r];n.__dataEnabled?n.__dataPending&&n._flushProperties():n._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(s,r){for(let n in s)(r||!this[F.READ_ONLY]||!this[F.READ_ONLY][n])&&this._setPendingPropertyOrPath(n,s[n],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(s,r,n){let a=this.__dataHasPaths;this.__dataHasPaths=!1;let l;na(this,r,n,a),l=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(r,n,a),this._flushClients(),tt(this,this[F.REFLECT],r,n,a),tt(this,this[F.OBSERVE],r,n,a),l&&ta(this,l,r,n,a),this.__dataCounter==1&&(this.__dataTemp={})}_propagatePropertyChanges(s,r,n){this[F.PROPAGATE]&&tt(this,this[F.PROPAGATE],s,r,n),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,s,r,n)}_runEffectsForTemplate(s,r,n,a){const l=(d,u)=>{tt(this,s.propertyEffects,d,n,u,s.nodeList);for(let h=s.firstChild;h;h=h.nextSibling)this._runEffectsForTemplate(h,d,n,u)};s.runEffects?s.runEffects(l,r,a):l(r,a)}linkPaths(s,r){s=et(s),r=et(r),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[s]=r}unlinkPaths(s){s=et(s),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[s]}notifySplices(s,r){let n={path:""},a=ce(this,s,n);zs(this,a,n.path,r)}get(s,r){return ce(r||this,s)}set(s,r,n){n?mo(n,s,r):(!this[F.READ_ONLY]||!this[F.READ_ONLY][s])&&this._setPendingPropertyOrPath(s,r,!0)&&this._invalidateProperties()}push(s,...r){let n={path:""},a=ce(this,s,n),l=a.length,d=a.push(...r);return r.length&&Je(this,a,n.path,l,r.length,[]),d}pop(s){let r={path:""},n=ce(this,s,r),a=!!n.length,l=n.pop();return a&&Je(this,n,r.path,n.length,0,[l]),l}splice(s,r,n,...a){let l={path:""},d=ce(this,s,l);r<0?r=d.length-Math.floor(-r):r&&(r=Math.floor(r));let u;return arguments.length===2?u=d.splice(r):u=d.splice(r,n,...a),(a.length||u.length)&&Je(this,d,l.path,r,a.length,u),u}shift(s){let r={path:""},n=ce(this,s,r),a=!!n.length,l=n.shift();return a&&Je(this,n,r.path,0,0,[l]),l}unshift(s,...r){let n={path:""},a=ce(this,s,n),l=a.unshift(...r);return r.length&&Je(this,a,n.path,0,r.length,[]),l}notifyPath(s,r){let n;if(arguments.length==1){let a={path:""};r=ce(this,s,a),n=a.path}else Array.isArray(s)?n=et(s):n=s;this._setPendingPropertyOrPath(n,r,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(s,r){this._addPropertyEffect(s,F.READ_ONLY),r&&(this["_set"+Oa(s)]=function(n){this._setProperty(s,n)})}_createPropertyObserver(s,r,n){let a={property:s,method:r,dynamicFn:!!n};this._addPropertyEffect(s,F.OBSERVE,{fn:bo,info:a,trigger:{name:s}}),n&&this._addPropertyEffect(r,F.OBSERVE,{fn:bo,info:a,trigger:{name:r}})}_createMethodObserver(s,r){let n=Vt(s);if(!n)throw new Error("Malformed observer expression '"+s+"'");vo(this,n,F.OBSERVE,ci,null,r)}_createNotifyingProperty(s){this._addPropertyEffect(s,F.NOTIFY,{fn:oa,info:{eventName:Nt(s)+"-changed",property:s}})}_createReflectedProperty(s){let r=this.constructor.attributeNameForProperty(s);r[0]==="-"?console.warn("Property "+s+" cannot be reflected to attribute "+r+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(s,F.REFLECT,{fn:ra,info:{attrName:r}})}_createComputedProperty(s,r,n){let a=Vt(r);if(!a)throw new Error("Malformed computed expression '"+r+"'");const l=vo(this,a,F.COMPUTE,Os,s,n);jt(this,Ts)[s]=l}_marshalArgs(s,r,n){const a=this.__data,l=[];for(let d=0,u=s.length;d<u;d++){let{name:h,structured:p,wildcard:f,value:y,literal:m}=s[d];if(!m)if(f){const v=ct(h,r),D=So(a,n,v?r:h);y={path:v?r:h,value:D,base:v?ce(a,h):D}}else y=p?So(a,n,h):a[h];if(ni&&!this._overrideLegacyUndefined&&y===void 0&&s.length>1)return ht;l[d]=y}return l}static addPropertyEffect(s,r,n){this.prototype._addPropertyEffect(s,r,n)}static createPropertyObserver(s,r,n){this.prototype._createPropertyObserver(s,r,n)}static createMethodObserver(s,r){this.prototype._createMethodObserver(s,r)}static createNotifyingProperty(s){this.prototype._createNotifyingProperty(s)}static createReadOnlyProperty(s,r){this.prototype._createReadOnlyProperty(s,r)}static createReflectedProperty(s){this.prototype._createReflectedProperty(s)}static createComputedProperty(s,r,n){this.prototype._createComputedProperty(s,r,n)}static bindTemplate(s){return this.prototype._bindTemplate(s)}_bindTemplate(s,r){let n=this.constructor._parseTemplate(s),a=this.__preBoundTemplateInfo==n;if(!a)for(let l in n.propertyEffects)this._createPropertyAccessor(l);if(r)if(n=Object.create(n),n.wasPreBound=a,!this.__templateInfo)this.__templateInfo=n;else{const l=s._parentTemplateInfo||this.__templateInfo,d=l.lastChild;n.parent=l,l.lastChild=n,n.previousSibling=d,d?d.nextSibling=n:l.firstChild=n}else this.__preBoundTemplateInfo=n;return n}static _addTemplatePropertyEffect(s,r,n){let a=s.hostProps=s.hostProps||{};a[r]=!0;let l=s.propertyEffects=s.propertyEffects||{};(l[r]=l[r]||[]).push(n)}_stampTemplate(s,r){r=r||this._bindTemplate(s,!0),Xe.push(this);let n=super._stampTemplate(s,r);if(Xe.pop(),r.nodeList=n.nodeList,!r.wasPreBound){let a=r.childNodes=[];for(let l=n.firstChild;l;l=l.nextSibling)a.push(l)}return n.templateInfo=r,_a(this,r),this.__dataClientsReady&&(this._runEffectsForTemplate(r,this.__data,null,!1),this._flushClients()),n}_removeBoundDom(s){const r=s.templateInfo,{previousSibling:n,nextSibling:a,parent:l}=r;n?n.nextSibling=a:l&&(l.firstChild=a),a?a.previousSibling=n:l&&(l.lastChild=n),r.nextSibling=r.previousSibling=null;let d=r.childNodes;for(let u=0;u<d.length;u++){let h=d[u];oe(oe(h).parentNode).removeChild(h)}}static _parseTemplateNode(s,r,n){let a=t._parseTemplateNode.call(this,s,r,n);if(s.nodeType===Node.TEXT_NODE){let l=this._parseBindings(s.textContent,r);l&&(s.textContent=Eo(l)||" ",Ut(this,r,n,"text","textContent",l),a=!0)}return a}static _parseTemplateNodeAttribute(s,r,n,a,l){let d=this._parseBindings(l,r);if(d){let u=a,h="property";Qn.test(a)?h="attribute":a[a.length-1]=="$"&&(a=a.slice(0,-1),h="attribute");let p=Eo(d);return p&&h=="attribute"&&(a=="class"&&s.hasAttribute("class")&&(p+=" "+s.getAttribute(a)),s.setAttribute(a,p)),h=="attribute"&&u=="disable-upgrade$"&&s.setAttribute(a,""),s.localName==="input"&&u==="value"&&s.setAttribute(u,""),s.removeAttribute(u),h==="property"&&(a=Es(a)),Ut(this,r,n,h,a,d,p),!0}else return t._parseTemplateNodeAttribute.call(this,s,r,n,a,l)}static _parseTemplateNestedTemplate(s,r,n){let a=t._parseTemplateNestedTemplate.call(this,s,r,n);const l=s.parentNode,d=n.templateInfo,u=l.localName==="dom-if",h=l.localName==="dom-repeat";lo&&(u||h)&&(l.removeChild(s),n=n.parentInfo,n.templateInfo=d,n.noted=!0,a=!1);let p=d.hostProps;if(En&&u)p&&(r.hostProps=Object.assign(r.hostProps||{},p),lo||(n.parentInfo.noted=!0));else{let f="{";for(let y in p){let m=[{mode:f,source:y,dependencies:[y],hostProp:!0}];Ut(this,r,n,"property","_host_"+y,m)}}return a}static _parseBindings(s,r){let n=[],a=0,l;for(;(l=wo.exec(s))!==null;){l.index>a&&n.push({literal:s.slice(a,l.index)});let d=l[1][0],u=!!l[2],h=l[3].trim(),p=!1,f="",y=-1;d=="{"&&(y=h.indexOf("::"))>0&&(f=h.substring(y+2),h=h.substring(0,y),p=!0);let m=Vt(h),v=[];if(m){let{args:D,methodName:A}=m;for(let M=0;M<D.length;M++){let N=D[M];N.literal||v.push(N)}let I=r.dynamicFns;(I&&I[A]||m.static)&&(v.push(A),m.dynamicFn=!0)}else v.push(h);n.push({source:h,mode:d,negate:u,customEvent:p,signature:m,dependencies:v,event:f}),a=wo.lastIndex}if(a&&a<s.length){let d=s.substring(a);d&&n.push({literal:d})}return n.length?n:null}static _evaluateBinding(s,r,n,a,l,d){let u;return r.signature?u=ci(s,n,a,l,r.signature):n!=r.source?u=ce(s,r.source):d&&ai(n)?u=ce(s,n):u=s.__data[n],r.negate&&(u=!u),u}}return e}),Xe=[];/**
2035
2035
  @license
2036
2036
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
2037
2037
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -2057,7 +2057,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2057
2057
  * be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
2058
2058
  * Google as part of the polymer project is also subject to an additional IP
2059
2059
  * rights grant found at http://polymer.github.io/PATENTS.txt
2060
- */const za="3.5.2",Co=window.ShadyCSS&&window.ShadyCSS.cssBuild,La=Q(o=>{const t=Na(zi(o));function e(l){if(!l.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",l))){l.__propertyDefaults=null;let d=l._properties;for(let u in d){let h=d[u];"value"in h&&(l.__propertyDefaults=l.__propertyDefaults||{},l.__propertyDefaults[u]=h)}}return l.__propertyDefaults}function i(l){return l.hasOwnProperty(JSCompiler_renameProperty("__ownObservers",l))||(l.__ownObservers=l.hasOwnProperty(JSCompiler_renameProperty("observers",l))?l.observers:null),l.__ownObservers}function s(l,d,u,h){u.computed&&(u.readOnly=!0),u.computed&&(l._hasReadOnlyEffect(d)?console.warn(`Cannot redefine computed property '${d}'.`):l._createComputedProperty(d,u.computed,h)),u.readOnly&&!l._hasReadOnlyEffect(d)?l._createReadOnlyProperty(d,!u.computed):u.readOnly===!1&&l._hasReadOnlyEffect(d)&&console.warn(`Cannot make readOnly property '${d}' non-readOnly.`),u.reflectToAttribute&&!l._hasReflectEffect(d)?l._createReflectedProperty(d):u.reflectToAttribute===!1&&l._hasReflectEffect(d)&&console.warn(`Cannot make reflected property '${d}' non-reflected.`),u.notify&&!l._hasNotifyEffect(d)?l._createNotifyingProperty(d):u.notify===!1&&l._hasNotifyEffect(d)&&console.warn(`Cannot make notify property '${d}' non-notify.`),u.observer&&l._createPropertyObserver(d,u.observer,h[u.observer]),l._addPropertyToAttributeMap(d)}function r(l,d,u,h){if(!Co){const p=d.content.querySelectorAll("style"),f=bs(d),b=Mn(u),m=d.content.firstElementChild;for(let D=0;D<b.length;D++){let A=b[D];A.textContent=l._processStyleText(A.textContent,h),d.content.insertBefore(A,m)}let y=0;for(let D=0;D<f.length;D++){let A=f[D],I=p[y];I!==A?(A=A.cloneNode(!0),I.parentNode.insertBefore(A,I)):y++,A.textContent=l._processStyleText(A.textContent,h)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(d,u),Sn&&Co&&vn){const p=d.content.querySelectorAll("style");if(p){let f="";Array.from(p).forEach(b=>{f+=b.textContent,b.parentNode.removeChild(b)}),l._styleSheet=new CSSStyleSheet,l._styleSheet.replaceSync(f)}}}function n(l){let d=null;if(l&&(!kt||yn)&&(d=lt.import(l,"template"),kt&&!d))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);return d}class a extends t{static get polymerElementVersion(){return za}static _finalizeClass(){t._finalizeClass.call(this);const d=i(this);d&&this.createObservers(d,this._properties),this._prepareTemplate()}static _prepareTemplate(){let d=this.template;d&&(typeof d=="string"?(console.error("template getter must return HTMLTemplateElement"),d=null):ms||(d=d.cloneNode(!0))),this.prototype._template=d}static createProperties(d){for(let u in d)s(this.prototype,u,d[u],d)}static createObservers(d,u){const h=this.prototype;for(let p=0;p<d.length;p++)h._createMethodObserver(d[p],u)}static get template(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_template",this))){let d=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:void 0;typeof d=="function"&&(d=d()),this._template=d!==void 0?d:this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&n(this.is)||Object.getPrototypeOf(this.prototype).constructor.template}return this._template}static set template(d){this._template=d}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const d=this.importMeta;if(d)this._importPath=Oi(d.url);else{const u=lt.import(this.is);this._importPath=u&&u.assetpath||Object.getPrototypeOf(this.prototype).constructor.importPath}}return this._importPath}constructor(){super(),this._template,this._importPath,this.rootPath,this.importPath,this.root,this.$}_initializeProperties(){this.constructor.finalize(),this.constructor._finalizeTemplate(this.localName),super._initializeProperties(),this.rootPath=bn,this.importPath=this.constructor.importPath;let d=e(this.constructor);if(d)for(let u in d){let h=d[u];if(this._canApplyPropertyDefault(u)){let p=typeof h.value=="function"?h.value.call(this):h.value;this._hasAccessor(u)?this._setPendingProperty(u,p,!0):this[u]=p}}}_canApplyPropertyDefault(d){return!this.hasOwnProperty(d)}static _processStyleText(d,u){return Mi(d,u)}static _finalizeTemplate(d){const u=this.prototype._template;if(u&&!u.__polymerFinalized){u.__polymerFinalized=!0;const h=this.importPath,p=h?st(h):"";r(this,u,d,p),this.prototype._bindTemplate(u)}}connectedCallback(){window.ShadyCSS&&this._template&&window.ShadyCSS.styleElement(this),super.connectedCallback()}ready(){this._template&&(this.root=this._stampTemplate(this._template),this.$=this.root.$),super.ready()}_readyClients(){this._template&&(this.root=this._attachDom(this.root)),super._readyClients()}_attachDom(d){const u=oe(this);if(u.attachShadow)return d?(u.shadowRoot||(u.attachShadow({mode:"open",shadyUpgradeFragment:d}),u.shadowRoot.appendChild(d),this.constructor._styleSheet&&(u.shadowRoot.adoptedStyleSheets=[this.constructor._styleSheet])),xn&&window.ShadyDOM&&window.ShadyDOM.flushInitial(u.shadowRoot),u.shadowRoot):null;throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.")}updateStyles(d){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,d)}resolveUrl(d,u){return!u&&this.importPath&&(u=st(this.importPath)),st(d,u)}static _parseTemplateContent(d,u,h){return u.dynamicFns=u.dynamicFns||this._properties,t._parseTemplateContent.call(this,d,u,h)}static _addTemplatePropertyEffect(d,u,h){return _s&&!(u in this._properties)&&!(h.info.part.signature&&h.info.part.signature.static)&&!h.info.part.hostProp&&!d.nestedTemplate&&console.warn(`Property '${u}' used in template but not declared in 'properties'; attribute will not be observed.`),t._addTemplatePropertyEffect.call(this,d,u,h)}}return a});/**
2060
+ */const za="3.5.2",Co=window.ShadyCSS&&window.ShadyCSS.cssBuild,La=Q(o=>{const t=Na(zi(o));function e(l){if(!l.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",l))){l.__propertyDefaults=null;let d=l._properties;for(let u in d){let h=d[u];"value"in h&&(l.__propertyDefaults=l.__propertyDefaults||{},l.__propertyDefaults[u]=h)}}return l.__propertyDefaults}function i(l){return l.hasOwnProperty(JSCompiler_renameProperty("__ownObservers",l))||(l.__ownObservers=l.hasOwnProperty(JSCompiler_renameProperty("observers",l))?l.observers:null),l.__ownObservers}function s(l,d,u,h){u.computed&&(u.readOnly=!0),u.computed&&(l._hasReadOnlyEffect(d)?console.warn(`Cannot redefine computed property '${d}'.`):l._createComputedProperty(d,u.computed,h)),u.readOnly&&!l._hasReadOnlyEffect(d)?l._createReadOnlyProperty(d,!u.computed):u.readOnly===!1&&l._hasReadOnlyEffect(d)&&console.warn(`Cannot make readOnly property '${d}' non-readOnly.`),u.reflectToAttribute&&!l._hasReflectEffect(d)?l._createReflectedProperty(d):u.reflectToAttribute===!1&&l._hasReflectEffect(d)&&console.warn(`Cannot make reflected property '${d}' non-reflected.`),u.notify&&!l._hasNotifyEffect(d)?l._createNotifyingProperty(d):u.notify===!1&&l._hasNotifyEffect(d)&&console.warn(`Cannot make notify property '${d}' non-notify.`),u.observer&&l._createPropertyObserver(d,u.observer,h[u.observer]),l._addPropertyToAttributeMap(d)}function r(l,d,u,h){if(!Co){const p=d.content.querySelectorAll("style"),f=ys(d),y=Mn(u),m=d.content.firstElementChild;for(let D=0;D<y.length;D++){let A=y[D];A.textContent=l._processStyleText(A.textContent,h),d.content.insertBefore(A,m)}let v=0;for(let D=0;D<f.length;D++){let A=f[D],I=p[v];I!==A?(A=A.cloneNode(!0),I.parentNode.insertBefore(A,I)):v++,A.textContent=l._processStyleText(A.textContent,h)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(d,u),Sn&&Co&&bn){const p=d.content.querySelectorAll("style");if(p){let f="";Array.from(p).forEach(y=>{f+=y.textContent,y.parentNode.removeChild(y)}),l._styleSheet=new CSSStyleSheet,l._styleSheet.replaceSync(f)}}}function n(l){let d=null;if(l&&(!kt||vn)&&(d=lt.import(l,"template"),kt&&!d))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);return d}class a extends t{static get polymerElementVersion(){return za}static _finalizeClass(){t._finalizeClass.call(this);const d=i(this);d&&this.createObservers(d,this._properties),this._prepareTemplate()}static _prepareTemplate(){let d=this.template;d&&(typeof d=="string"?(console.error("template getter must return HTMLTemplateElement"),d=null):ms||(d=d.cloneNode(!0))),this.prototype._template=d}static createProperties(d){for(let u in d)s(this.prototype,u,d[u],d)}static createObservers(d,u){const h=this.prototype;for(let p=0;p<d.length;p++)h._createMethodObserver(d[p],u)}static get template(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_template",this))){let d=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:void 0;typeof d=="function"&&(d=d()),this._template=d!==void 0?d:this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&n(this.is)||Object.getPrototypeOf(this.prototype).constructor.template}return this._template}static set template(d){this._template=d}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const d=this.importMeta;if(d)this._importPath=Oi(d.url);else{const u=lt.import(this.is);this._importPath=u&&u.assetpath||Object.getPrototypeOf(this.prototype).constructor.importPath}}return this._importPath}constructor(){super(),this._template,this._importPath,this.rootPath,this.importPath,this.root,this.$}_initializeProperties(){this.constructor.finalize(),this.constructor._finalizeTemplate(this.localName),super._initializeProperties(),this.rootPath=yn,this.importPath=this.constructor.importPath;let d=e(this.constructor);if(d)for(let u in d){let h=d[u];if(this._canApplyPropertyDefault(u)){let p=typeof h.value=="function"?h.value.call(this):h.value;this._hasAccessor(u)?this._setPendingProperty(u,p,!0):this[u]=p}}}_canApplyPropertyDefault(d){return!this.hasOwnProperty(d)}static _processStyleText(d,u){return Mi(d,u)}static _finalizeTemplate(d){const u=this.prototype._template;if(u&&!u.__polymerFinalized){u.__polymerFinalized=!0;const h=this.importPath,p=h?st(h):"";r(this,u,d,p),this.prototype._bindTemplate(u)}}connectedCallback(){window.ShadyCSS&&this._template&&window.ShadyCSS.styleElement(this),super.connectedCallback()}ready(){this._template&&(this.root=this._stampTemplate(this._template),this.$=this.root.$),super.ready()}_readyClients(){this._template&&(this.root=this._attachDom(this.root)),super._readyClients()}_attachDom(d){const u=oe(this);if(u.attachShadow)return d?(u.shadowRoot||(u.attachShadow({mode:"open",shadyUpgradeFragment:d}),u.shadowRoot.appendChild(d),this.constructor._styleSheet&&(u.shadowRoot.adoptedStyleSheets=[this.constructor._styleSheet])),xn&&window.ShadyDOM&&window.ShadyDOM.flushInitial(u.shadowRoot),u.shadowRoot):null;throw new Error("ShadowDOM not available. PolymerElement can create dom as children instead of in ShadowDOM by setting `this.root = this;` before `ready`.")}updateStyles(d){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,d)}resolveUrl(d,u){return!u&&this.importPath&&(u=st(this.importPath)),st(d,u)}static _parseTemplateContent(d,u,h){return u.dynamicFns=u.dynamicFns||this._properties,t._parseTemplateContent.call(this,d,u,h)}static _addTemplatePropertyEffect(d,u,h){return _s&&!(u in this._properties)&&!(h.info.part.signature&&h.info.part.signature.static)&&!h.info.part.hostProp&&!d.nestedTemplate&&console.warn(`Property '${u}' used in template but not declared in 'properties'; attribute will not be observed.`),t._addTemplatePropertyEffect.call(this,d,u,h)}}return a});/**
2061
2061
  @license
2062
2062
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
2063
2063
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -2077,7 +2077,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2077
2077
  * @license
2078
2078
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
2079
2079
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2080
- */const ve=[];function di(o,t,e=o.getAttribute("dir")){t?o.setAttribute("dir",t):e!=null&&o.removeAttribute("dir")}function ui(){return document.documentElement.getAttribute("dir")}function $a(){const o=ui();ve.forEach(t=>{di(t,o)})}const Ra=new MutationObserver($a);Ra.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});const zt=o=>class extends o{static get properties(){return{dir:{type:String,value:"",reflectToAttribute:!0,converter:{fromAttribute:e=>e||"",toAttribute:e=>e===""?null:e}}}}get __isRTL(){return this.getAttribute("dir")==="rtl"}connectedCallback(){super.connectedCallback(),(!this.hasAttribute("dir")||this.__restoreSubscription)&&(this.__subscribe(),di(this,ui(),null))}attributeChangedCallback(e,i,s){if(super.attributeChangedCallback(e,i,s),e!=="dir")return;const r=ui(),n=s===r&&ve.indexOf(this)===-1,a=!s&&i&&ve.indexOf(this)===-1;n||a?(this.__subscribe(),di(this,r,s)):s!==r&&i===r&&this.__unsubscribe()}disconnectedCallback(){super.disconnectedCallback(),this.__restoreSubscription=ve.includes(this),this.__unsubscribe()}_valueToNodeAttribute(e,i,s){s==="dir"&&i===""&&!e.hasAttribute("dir")||super._valueToNodeAttribute(e,i,s)}_attributeToProperty(e,i,s){e==="dir"&&!i?this.dir="":super._attributeToProperty(e,i,s)}__subscribe(){ve.includes(this)||ve.push(this)}__unsubscribe(){ve.includes(this)&&ve.splice(ve.indexOf(this),1)}};/**
2080
+ */const be=[];function di(o,t,e=o.getAttribute("dir")){t?o.setAttribute("dir",t):e!=null&&o.removeAttribute("dir")}function ui(){return document.documentElement.getAttribute("dir")}function $a(){const o=ui();be.forEach(t=>{di(t,o)})}const Ra=new MutationObserver($a);Ra.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});const zt=o=>class extends o{static get properties(){return{dir:{type:String,value:"",reflectToAttribute:!0,converter:{fromAttribute:e=>e||"",toAttribute:e=>e===""?null:e}}}}get __isRTL(){return this.getAttribute("dir")==="rtl"}connectedCallback(){super.connectedCallback(),(!this.hasAttribute("dir")||this.__restoreSubscription)&&(this.__subscribe(),di(this,ui(),null))}attributeChangedCallback(e,i,s){if(super.attributeChangedCallback(e,i,s),e!=="dir")return;const r=ui(),n=s===r&&be.indexOf(this)===-1,a=!s&&i&&be.indexOf(this)===-1;n||a?(this.__subscribe(),di(this,r,s)):s!==r&&i===r&&this.__unsubscribe()}disconnectedCallback(){super.disconnectedCallback(),this.__restoreSubscription=be.includes(this),this.__unsubscribe()}_valueToNodeAttribute(e,i,s){s==="dir"&&i===""&&!e.hasAttribute("dir")||super._valueToNodeAttribute(e,i,s)}_attributeToProperty(e,i,s){e==="dir"&&!i?this.dir="":super._attributeToProperty(e,i,s)}__subscribe(){be.includes(this)||be.push(this)}__unsubscribe(){be.includes(this)&&be.splice(be.indexOf(this),1)}};/**
2081
2081
  * @license
2082
2082
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
2083
2083
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -2241,7 +2241,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2241
2241
  * @license
2242
2242
  * Copyright (c) 2017 Anton Korzunov
2243
2243
  * SPDX-License-Identifier: MIT
2244
- */let Le=new WeakMap,yt=new WeakMap,xt={},Wt=0;const Do=o=>o&&o.nodeType===Node.ELEMENT_NODE,qt=(...o)=>{console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`)},sl=(o,t)=>Do(o)?t.map(e=>{if(!Do(e))return qt(e,"is not a valid element"),null;let i=e;for(;i&&i!==o;){if(o.contains(i))return e;i=i.getRootNode().host}return qt(e,"is not contained inside",o),null}).filter(e=>!!e):(qt(o,"is not a valid element"),[]),rl=(o,t,e,i)=>{const s=sl(t,Array.isArray(o)?o:[o]);xt[e]||(xt[e]=new WeakMap);const r=xt[e],n=[],a=new Set,l=new Set(s),d=h=>{if(!h||a.has(h))return;a.add(h);const p=h.assignedSlot;p&&d(p),d(h.parentNode||h.host)};s.forEach(d);const u=h=>{if(!h||l.has(h))return;const p=h.shadowRoot;(p?[...h.children,...p.children]:[...h.children]).forEach(b=>{if(!["template","script","style"].includes(b.localName))if(a.has(b))u(b);else{const m=b.getAttribute(i),y=m!==null&&m!=="false",D=(Le.get(b)||0)+1,A=(r.get(b)||0)+1;Le.set(b,D),r.set(b,A),n.push(b),D===1&&y&&yt.set(b,!0),A===1&&b.setAttribute(e,"true"),y||b.setAttribute(i,"true")}})};return u(t),a.clear(),Wt+=1,()=>{n.forEach(h=>{const p=Le.get(h)-1,f=r.get(h)-1;Le.set(h,p),r.set(h,f),p||(yt.has(h)?yt.delete(h):h.removeAttribute(i)),f||h.removeAttribute(e)}),Wt-=1,Wt||(Le=new WeakMap,Le=new WeakMap,yt=new WeakMap,xt={})}},Vs=(o,t=document.body,e="data-aria-hidden")=>{const i=Array.from(Array.isArray(o)?o:[o]);return t&&i.push(...Array.from(t.querySelectorAll("[aria-live]"))),rl(i,t,e,"aria-hidden")};/**
2244
+ */let Le=new WeakMap,vt=new WeakMap,xt={},Wt=0;const Do=o=>o&&o.nodeType===Node.ELEMENT_NODE,qt=(...o)=>{console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`)},sl=(o,t)=>Do(o)?t.map(e=>{if(!Do(e))return qt(e,"is not a valid element"),null;let i=e;for(;i&&i!==o;){if(o.contains(i))return e;i=i.getRootNode().host}return qt(e,"is not contained inside",o),null}).filter(e=>!!e):(qt(o,"is not a valid element"),[]),rl=(o,t,e,i)=>{const s=sl(t,Array.isArray(o)?o:[o]);xt[e]||(xt[e]=new WeakMap);const r=xt[e],n=[],a=new Set,l=new Set(s),d=h=>{if(!h||a.has(h))return;a.add(h);const p=h.assignedSlot;p&&d(p),d(h.parentNode||h.host)};s.forEach(d);const u=h=>{if(!h||l.has(h))return;const p=h.shadowRoot;(p?[...h.children,...p.children]:[...h.children]).forEach(y=>{if(!["template","script","style"].includes(y.localName))if(a.has(y))u(y);else{const m=y.getAttribute(i),v=m!==null&&m!=="false",D=(Le.get(y)||0)+1,A=(r.get(y)||0)+1;Le.set(y,D),r.set(y,A),n.push(y),D===1&&v&&vt.set(y,!0),A===1&&y.setAttribute(e,"true"),v||y.setAttribute(i,"true")}})};return u(t),a.clear(),Wt+=1,()=>{n.forEach(h=>{const p=Le.get(h)-1,f=r.get(h)-1;Le.set(h,p),r.set(h,f),p||(vt.has(h)?vt.delete(h):h.removeAttribute(i)),f||h.removeAttribute(e)}),Wt-=1,Wt||(Le=new WeakMap,Le=new WeakMap,vt=new WeakMap,xt={})}},Vs=(o,t=document.body,e="data-aria-hidden")=>{const i=Array.from(Array.isArray(o)?o:[o]);return t&&i.push(...Array.from(t.querySelectorAll("[aria-live]"))),rl(i,t,e,"aria-hidden")};/**
2245
2245
  * @license
2246
2246
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
2247
2247
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -2277,7 +2277,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2277
2277
  * @license
2278
2278
  * Copyright (c) 2024 Vaadin Ltd.
2279
2279
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2280
- */function _l(o,t){let e=null;const i=document.documentElement;function s(){e&&e.disconnect(),e=null}function r(n=!1,a=1){s();const{left:l,top:d,width:u,height:h}=o.getBoundingClientRect();if(n||t(),!u||!h)return;const p=Math.floor(d),f=Math.floor(i.clientWidth-(l+u)),b=Math.floor(i.clientHeight-(d+h)),m=Math.floor(l),D={rootMargin:`${-p}px ${-f}px ${-b}px ${-m}px`,threshold:Math.max(0,Math.min(1,a))||1};let A=!0;function I(M){let N=M[0].intersectionRatio;if(N!==a){if(!A)return r();N===0&&(N=1e-7),r(!1,N)}A=!1}e=new IntersectionObserver(I,D),e.observe(o)}return r(!0),s}/**
2280
+ */function _l(o,t){let e=null;const i=document.documentElement;function s(){e&&e.disconnect(),e=null}function r(n=!1,a=1){s();const{left:l,top:d,width:u,height:h}=o.getBoundingClientRect();if(n||t(),!u||!h)return;const p=Math.floor(d),f=Math.floor(i.clientWidth-(l+u)),y=Math.floor(i.clientHeight-(d+h)),m=Math.floor(l),D={rootMargin:`${-p}px ${-f}px ${-y}px ${-m}px`,threshold:Math.max(0,Math.min(1,a))||1};let A=!0;function I(M){let N=M[0].intersectionRatio;if(N!==a){if(!A)return r();N===0&&(N=1e-7),r(!1,N)}A=!1}e=new IntersectionObserver(I,D),e.observe(o)}return r(!0),s}/**
2281
2281
  * @license
2282
2282
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
2283
2283
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -2285,11 +2285,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2285
2285
  * @license
2286
2286
  * Copyright (c) 2015 - 2024 Vaadin Ltd.
2287
2287
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2288
- */const vl=o=>class extends gl(hl(o)){_shouldCloseOnOutsideClick(e){return!e.composedPath().includes(this.positionTarget)}_mouseDownListener(e){super._mouseDownListener(e),this._shouldCloseOnOutsideClick(e)&&!Rs(e.composedPath()[0])&&e.preventDefault()}};/**
2288
+ */const bl=o=>class extends gl(hl(o)){_shouldCloseOnOutsideClick(e){return!e.composedPath().includes(this.positionTarget)}_mouseDownListener(e){super._mouseDownListener(e),this._shouldCloseOnOutsideClick(e)&&!Rs(e.composedPath()[0])&&e.preventDefault()}};/**
2289
2289
  * @license
2290
2290
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
2291
2291
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2292
- */const bl=z`
2292
+ */const yl=z`
2293
2293
  [part='overlay'] {
2294
2294
  display: flex;
2295
2295
  flex: auto;
@@ -2308,14 +2308,14 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2308
2308
  * @license
2309
2309
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
2310
2310
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2311
- */J("vaadin-date-picker-overlay",[ja,bl],{moduleId:"vaadin-date-picker-overlay-styles"});class yl extends vl(zt(Ie(Se))){static get is(){return"vaadin-date-picker-overlay"}static get template(){return ze`
2311
+ */J("vaadin-date-picker-overlay",[ja,yl],{moduleId:"vaadin-date-picker-overlay-styles"});class vl extends bl(zt(Ie(Se))){static get is(){return"vaadin-date-picker-overlay"}static get template(){return ze`
2312
2312
  <div id="backdrop" part="backdrop" hidden$="[[!withBackdrop]]"></div>
2313
2313
  <div part="overlay" id="overlay">
2314
2314
  <div part="content" id="content">
2315
2315
  <slot></slot>
2316
2316
  </div>
2317
2317
  </div>
2318
- `}}ge(yl);const xl=/\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,St=window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients;function wl(){function o(){return!0}return Ks(o)}function El(){try{return Sl()?!0:Cl()?St?!Al():!wl():!1}catch(o){return!1}}function Sl(){return localStorage.getItem("vaadin.developmentmode.force")}function Cl(){return["localhost","127.0.0.1"].indexOf(window.location.hostname)>=0}function Al(){return!!(St&&Object.keys(St).map(t=>St[t]).filter(t=>t.productionMode).length>0)}function Ks(o,t){if(typeof o!="function")return;const e=xl.exec(o.toString());if(e)try{o=new Function(e[1])}catch(i){console.log("vaadin-development-mode-detector: uncommentAndRun() failed",i)}return o(t)}window.Vaadin=window.Vaadin||{};const Po=function(o,t){if(window.Vaadin.developmentMode)return Ks(o,t)};window.Vaadin.developmentMode===void 0&&(window.Vaadin.developmentMode=El());function Dl(){/*! vaadin-dev-mode:start
2318
+ `}}ge(vl);const xl=/\/\*[\*!]\s+vaadin-dev-mode:start([\s\S]*)vaadin-dev-mode:end\s+\*\*\//i,St=window.Vaadin&&window.Vaadin.Flow&&window.Vaadin.Flow.clients;function wl(){function o(){return!0}return Ks(o)}function El(){try{return Sl()?!0:Cl()?St?!Al():!wl():!1}catch(o){return!1}}function Sl(){return localStorage.getItem("vaadin.developmentmode.force")}function Cl(){return["localhost","127.0.0.1"].indexOf(window.location.hostname)>=0}function Al(){return!!(St&&Object.keys(St).map(t=>St[t]).filter(t=>t.productionMode).length>0)}function Ks(o,t){if(typeof o!="function")return;const e=xl.exec(o.toString());if(e)try{o=new Function(e[1])}catch(i){console.log("vaadin-development-mode-detector: uncommentAndRun() failed",i)}return o(t)}window.Vaadin=window.Vaadin||{};const Po=function(o,t){if(window.Vaadin.developmentMode)return Ks(o,t)};window.Vaadin.developmentMode===void 0&&(window.Vaadin.developmentMode=El());function Dl(){/*! vaadin-dev-mode:start
2319
2319
  (function () {
2320
2320
  'use strict';
2321
2321
 
@@ -2809,7 +2809,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
2809
2809
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
2810
2810
  Code distributed by Google as part of the polymer project is also
2811
2811
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2812
- */const vi=new Set;let Ue=class bi{static debounce(t,e,i){return t instanceof bi?t._cancelAsync():t=new bi,t.setConfig(e,i),t}constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(t,e){this._asyncModule=t,this._callback=e,this._timer=this._asyncModule.run(()=>{this._timer=null,vi.delete(this),this._callback()})}cancel(){this.isActive()&&(this._cancelAsync(),vi.delete(this))}_cancelAsync(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}flush(){this.isActive()&&(this.cancel(),this._callback())}isActive(){return this._timer!=null}};function Il(o){vi.add(o)}/**
2812
+ */const bi=new Set;let Ue=class yi{static debounce(t,e,i){return t instanceof yi?t._cancelAsync():t=new yi,t.setConfig(e,i),t}constructor(){this._asyncModule=null,this._callback=null,this._timer=null}setConfig(t,e){this._asyncModule=t,this._callback=e,this._timer=this._asyncModule.run(()=>{this._timer=null,bi.delete(this),this._callback()})}cancel(){this.isActive()&&(this._cancelAsync(),bi.delete(this))}_cancelAsync(){this.isActive()&&(this._asyncModule.cancel(this._timer),this._timer=null)}flush(){this.isActive()&&(this.cancel(),this._callback())}isActive(){return this._timer!=null}};function Il(o){bi.add(o)}/**
2813
2813
  * @license
2814
2814
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
2815
2815
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -2914,7 +2914,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
2914
2914
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
2915
2915
  Code distributed by Google as part of the polymer project is also
2916
2916
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2917
- */const $l=o=>o,Qs=typeof document.head.style.touchAction=="string",yi="__polymerGestures",Zt="__polymerGesturesHandled",xi="__polymerGesturesTouchAction",Oo=25,Io=5,Rl=2,Hl=["mousedown","mousemove","mouseup","click"],Bl=[0,1,4,2],Yl=function(){try{return new MouseEvent("test",{buttons:1}).buttons===1}catch(o){return!1}}();function Ri(o){return Hl.indexOf(o)>-1}let jl=!1;(function(){try{const o=Object.defineProperty({},"passive",{get(){jl=!0}});window.addEventListener("test",null,o),window.removeEventListener("test",null,o)}catch(o){}})();function Ul(o){Ri(o)}const Vl=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u),Wl={button:!0,command:!0,fieldset:!0,input:!0,keygen:!0,optgroup:!0,option:!0,select:!0,textarea:!0};function Me(o){const t=o.type;if(!Ri(t))return!1;if(t==="mousemove"){let i=o.buttons===void 0?1:o.buttons;return o instanceof window.MouseEvent&&!Yl&&(i=Bl[o.which]||0),!!(i&1)}return(o.button===void 0?0:o.button)===0}function ql(o){if(o.type==="click"){if(o.detail===0)return!0;const t=Ee(o);if(!t.nodeType||t.nodeType!==Node.ELEMENT_NODE)return!0;const e=t.getBoundingClientRect(),i=o.pageX,s=o.pageY;return!(i>=e.left&&i<=e.right&&s>=e.top&&s<=e.bottom)}return!1}const be={touch:{x:0,y:0,id:-1,scrollDecided:!1}};function Kl(o){let t="auto";const e=tr(o);for(let i=0,s;i<e.length;i++)if(s=e[i],s[xi]){t=s[xi];break}return t}function er(o,t,e){o.movefn=t,o.upfn=e,document.addEventListener("mousemove",t),document.addEventListener("mouseup",e)}function Be(o){document.removeEventListener("mousemove",o.movefn),document.removeEventListener("mouseup",o.upfn),o.movefn=null,o.upfn=null}const tr=window.ShadyDOM&&window.ShadyDOM.noPatch?window.ShadyDOM.composedPath:o=>o.composedPath&&o.composedPath()||[],Hi={},Te=[];function Gl(o,t){let e=document.elementFromPoint(o,t),i=e;for(;i&&i.shadowRoot&&!window.ShadyDOM;){const s=i;if(i=i.shadowRoot.elementFromPoint(o,t),s===i)break;i&&(e=i)}return e}function Ee(o){const t=tr(o);return t.length>0?t[0]:o.target}function Jl(o){const t=o.type,i=o.currentTarget[yi];if(!i)return;const s=i[t];if(!s)return;if(!o[Zt]&&(o[Zt]={},t.startsWith("touch"))){const n=o.changedTouches[0];if(t==="touchstart"&&o.touches.length===1&&(be.touch.id=n.identifier),be.touch.id!==n.identifier)return;Qs||(t==="touchstart"||t==="touchmove")&&Xl(o)}const r=o[Zt];if(!r.skip){for(let n=0,a;n<Te.length;n++)a=Te[n],s[a.name]&&!r[a.name]&&a.flow&&a.flow.start.indexOf(o.type)>-1&&a.reset&&a.reset();for(let n=0,a;n<Te.length;n++)a=Te[n],s[a.name]&&!r[a.name]&&(r[a.name]=!0,a[t](o))}}function Xl(o){const t=o.changedTouches[0],e=o.type;if(e==="touchstart")be.touch.x=t.clientX,be.touch.y=t.clientY,be.touch.scrollDecided=!1;else if(e==="touchmove"){if(be.touch.scrollDecided)return;be.touch.scrollDecided=!0;const i=Kl(o);let s=!1;const r=Math.abs(be.touch.x-t.clientX),n=Math.abs(be.touch.y-t.clientY);o.cancelable&&(i==="none"?s=!0:i==="pan-x"?s=n>r:i==="pan-y"&&(s=r>n)),s?o.preventDefault():Mt("track")}}function me(o,t,e){return Hi[t]?(Zl(o,t,e),!0):!1}function Zl(o,t,e){const i=Hi[t],s=i.deps,r=i.name;let n=o[yi];n||(o[yi]=n={});for(let a=0,l,d;a<s.length;a++)l=s[a],!(Vl&&Ri(l)&&l!=="click")&&(d=n[l],d||(n[l]=d={_count:0}),d._count===0&&o.addEventListener(l,Jl,Ul(l)),d[r]=(d[r]||0)+1,d._count=(d._count||0)+1);o.addEventListener(t,e),i.touchAction&&ir(o,i.touchAction)}function Bi(o){Te.push(o),o.emits.forEach(t=>{Hi[t]=o})}function Ql(o){for(let t=0,e;t<Te.length;t++){e=Te[t];for(let i=0,s;i<e.emits.length;i++)if(s=e.emits[i],s===o)return e}return null}function ir(o,t){Qs&&o instanceof HTMLElement&&Ol.run(()=>{o.style.touchAction=t}),o[xi]=t}function Yi(o,t,e){const i=new Event(t,{bubbles:!0,cancelable:!0,composed:!0});if(i.detail=e,$l(o).dispatchEvent(i),i.defaultPrevented){const s=e.preventer||e.sourceEvent;s&&s.preventDefault&&s.preventDefault()}}function Mt(o){const t=Ql(o);t.info&&(t.info.prevent=!0)}Bi({name:"downup",deps:["mousedown","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["down","up"],info:{movefn:null,upfn:null},reset(){Be(this.info)},mousedown(o){if(!Me(o))return;const t=Ee(o),e=this,i=r=>{Me(r)||(Ze("up",t,r),Be(e.info))},s=r=>{Me(r)&&Ze("up",t,r),Be(e.info)};er(this.info,i,s),Ze("down",t,o)},touchstart(o){Ze("down",Ee(o),o.changedTouches[0],o)},touchend(o){Ze("up",Ee(o),o.changedTouches[0],o)}});function Ze(o,t,e,i){t&&Yi(t,o,{x:e.clientX,y:e.clientY,sourceEvent:e,preventer:i,prevent(s){return Mt(s)}})}Bi({name:"track",touchAction:"none",deps:["mousedown","touchstart","touchmove","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["track"],info:{x:0,y:0,state:"start",started:!1,moves:[],addMove(o){this.moves.length>Rl&&this.moves.shift(),this.moves.push(o)},movefn:null,upfn:null,prevent:!1},reset(){this.info.state="start",this.info.started=!1,this.info.moves=[],this.info.x=0,this.info.y=0,this.info.prevent=!1,Be(this.info)},mousedown(o){if(!Me(o))return;const t=Ee(o),e=this,i=r=>{const n=r.clientX,a=r.clientY;No(e.info,n,a)&&(e.info.state=e.info.started?r.type==="mouseup"?"end":"track":"start",e.info.state==="start"&&Mt("tap"),e.info.addMove({x:n,y:a}),Me(r)||(e.info.state="end",Be(e.info)),t&&Qt(e.info,t,r),e.info.started=!0)},s=r=>{e.info.started&&i(r),Be(e.info)};er(this.info,i,s),this.info.x=o.clientX,this.info.y=o.clientY},touchstart(o){const t=o.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchmove(o){const t=Ee(o),e=o.changedTouches[0],i=e.clientX,s=e.clientY;No(this.info,i,s)&&(this.info.state==="start"&&Mt("tap"),this.info.addMove({x:i,y:s}),Qt(this.info,t,e),this.info.state="track",this.info.started=!0)},touchend(o){const t=Ee(o),e=o.changedTouches[0];this.info.started&&(this.info.state="end",this.info.addMove({x:e.clientX,y:e.clientY}),Qt(this.info,t,e))}});function No(o,t,e){if(o.prevent)return!1;if(o.started)return!0;const i=Math.abs(o.x-t),s=Math.abs(o.y-e);return i>=Io||s>=Io}function Qt(o,t,e){if(!t)return;const i=o.moves[o.moves.length-2],s=o.moves[o.moves.length-1],r=s.x-o.x,n=s.y-o.y;let a,l=0;i&&(a=s.x-i.x,l=s.y-i.y),Yi(t,"track",{state:o.state,x:e.clientX,y:e.clientY,dx:r,dy:n,ddx:a,ddy:l,sourceEvent:e,hover(){return Gl(e.clientX,e.clientY)}})}Bi({name:"tap",deps:["mousedown","click","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["click","touchend"]},emits:["tap"],info:{x:NaN,y:NaN,prevent:!1},reset(){this.info.x=NaN,this.info.y=NaN,this.info.prevent=!1},mousedown(o){Me(o)&&(this.info.x=o.clientX,this.info.y=o.clientY)},click(o){Me(o)&&zo(this.info,o)},touchstart(o){const t=o.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchend(o){zo(this.info,o.changedTouches[0],o)}});function zo(o,t,e){const i=Math.abs(t.clientX-o.x),s=Math.abs(t.clientY-o.y),r=Ee(e||t);!r||Wl[r.localName]&&r.hasAttribute("disabled")||(isNaN(i)||isNaN(s)||i<=Oo&&s<=Oo||ql(t))&&(o.prevent||Yi(r,"tap",{x:t.clientX,y:t.clientY,sourceEvent:t,preventer:e}))}/**
2917
+ */const $l=o=>o,Qs=typeof document.head.style.touchAction=="string",vi="__polymerGestures",Zt="__polymerGesturesHandled",xi="__polymerGesturesTouchAction",Oo=25,Io=5,Rl=2,Hl=["mousedown","mousemove","mouseup","click"],Bl=[0,1,4,2],Yl=function(){try{return new MouseEvent("test",{buttons:1}).buttons===1}catch(o){return!1}}();function Ri(o){return Hl.indexOf(o)>-1}let jl=!1;(function(){try{const o=Object.defineProperty({},"passive",{get(){jl=!0}});window.addEventListener("test",null,o),window.removeEventListener("test",null,o)}catch(o){}})();function Ul(o){Ri(o)}const Vl=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u),Wl={button:!0,command:!0,fieldset:!0,input:!0,keygen:!0,optgroup:!0,option:!0,select:!0,textarea:!0};function Me(o){const t=o.type;if(!Ri(t))return!1;if(t==="mousemove"){let i=o.buttons===void 0?1:o.buttons;return o instanceof window.MouseEvent&&!Yl&&(i=Bl[o.which]||0),!!(i&1)}return(o.button===void 0?0:o.button)===0}function ql(o){if(o.type==="click"){if(o.detail===0)return!0;const t=Ee(o);if(!t.nodeType||t.nodeType!==Node.ELEMENT_NODE)return!0;const e=t.getBoundingClientRect(),i=o.pageX,s=o.pageY;return!(i>=e.left&&i<=e.right&&s>=e.top&&s<=e.bottom)}return!1}const ye={mouse:{target:null,mouseIgnoreJob:null},touch:{x:0,y:0,id:-1,scrollDecided:!1}};function Kl(o){let t="auto";const e=tr(o);for(let i=0,s;i<e.length;i++)if(s=e[i],s[xi]){t=s[xi];break}return t}function er(o,t,e){o.movefn=t,o.upfn=e,document.addEventListener("mousemove",t),document.addEventListener("mouseup",e)}function Be(o){document.removeEventListener("mousemove",o.movefn),document.removeEventListener("mouseup",o.upfn),o.movefn=null,o.upfn=null}const tr=window.ShadyDOM&&window.ShadyDOM.noPatch?window.ShadyDOM.composedPath:o=>o.composedPath&&o.composedPath()||[],Hi={},Te=[];function Gl(o,t){let e=document.elementFromPoint(o,t),i=e;for(;i&&i.shadowRoot&&!window.ShadyDOM;){const s=i;if(i=i.shadowRoot.elementFromPoint(o,t),s===i)break;i&&(e=i)}return e}function Ee(o){const t=tr(o);return t.length>0?t[0]:o.target}function Jl(o){const t=o.type,i=o.currentTarget[vi];if(!i)return;const s=i[t];if(!s)return;if(!o[Zt]&&(o[Zt]={},t.startsWith("touch"))){const n=o.changedTouches[0];if(t==="touchstart"&&o.touches.length===1&&(ye.touch.id=n.identifier),ye.touch.id!==n.identifier)return;Qs||(t==="touchstart"||t==="touchmove")&&Xl(o)}const r=o[Zt];if(!r.skip){for(let n=0,a;n<Te.length;n++)a=Te[n],s[a.name]&&!r[a.name]&&a.flow&&a.flow.start.indexOf(o.type)>-1&&a.reset&&a.reset();for(let n=0,a;n<Te.length;n++)a=Te[n],s[a.name]&&!r[a.name]&&(r[a.name]=!0,a[t](o))}}function Xl(o){const t=o.changedTouches[0],e=o.type;if(e==="touchstart")ye.touch.x=t.clientX,ye.touch.y=t.clientY,ye.touch.scrollDecided=!1;else if(e==="touchmove"){if(ye.touch.scrollDecided)return;ye.touch.scrollDecided=!0;const i=Kl(o);let s=!1;const r=Math.abs(ye.touch.x-t.clientX),n=Math.abs(ye.touch.y-t.clientY);o.cancelable&&(i==="none"?s=!0:i==="pan-x"?s=n>r:i==="pan-y"&&(s=r>n)),s?o.preventDefault():Mt("track")}}function me(o,t,e){return Hi[t]?(Zl(o,t,e),!0):!1}function Zl(o,t,e){const i=Hi[t],s=i.deps,r=i.name;let n=o[vi];n||(o[vi]=n={});for(let a=0,l,d;a<s.length;a++)l=s[a],!(Vl&&Ri(l)&&l!=="click")&&(d=n[l],d||(n[l]=d={_count:0}),d._count===0&&o.addEventListener(l,Jl,Ul(l)),d[r]=(d[r]||0)+1,d._count=(d._count||0)+1);o.addEventListener(t,e),i.touchAction&&ir(o,i.touchAction)}function Bi(o){Te.push(o),o.emits.forEach(t=>{Hi[t]=o})}function Ql(o){for(let t=0,e;t<Te.length;t++){e=Te[t];for(let i=0,s;i<e.emits.length;i++)if(s=e.emits[i],s===o)return e}return null}function ir(o,t){Qs&&o instanceof HTMLElement&&Ol.run(()=>{o.style.touchAction=t}),o[xi]=t}function Yi(o,t,e){const i=new Event(t,{bubbles:!0,cancelable:!0,composed:!0});if(i.detail=e,$l(o).dispatchEvent(i),i.defaultPrevented){const s=e.preventer||e.sourceEvent;s&&s.preventDefault&&s.preventDefault()}}function Mt(o){const t=Ql(o);t.info&&(t.info.prevent=!0)}Bi({name:"downup",deps:["mousedown","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["down","up"],info:{movefn:null,upfn:null},reset(){Be(this.info)},mousedown(o){if(!Me(o))return;const t=Ee(o),e=this,i=r=>{Me(r)||(Ze("up",t,r),Be(e.info))},s=r=>{Me(r)&&Ze("up",t,r),Be(e.info)};er(this.info,i,s),Ze("down",t,o)},touchstart(o){Ze("down",Ee(o),o.changedTouches[0],o)},touchend(o){Ze("up",Ee(o),o.changedTouches[0],o)}});function Ze(o,t,e,i){t&&Yi(t,o,{x:e.clientX,y:e.clientY,sourceEvent:e,preventer:i,prevent(s){return Mt(s)}})}Bi({name:"track",touchAction:"none",deps:["mousedown","touchstart","touchmove","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["track"],info:{x:0,y:0,state:"start",started:!1,moves:[],addMove(o){this.moves.length>Rl&&this.moves.shift(),this.moves.push(o)},movefn:null,upfn:null,prevent:!1},reset(){this.info.state="start",this.info.started=!1,this.info.moves=[],this.info.x=0,this.info.y=0,this.info.prevent=!1,Be(this.info)},mousedown(o){if(!Me(o))return;const t=Ee(o),e=this,i=r=>{const n=r.clientX,a=r.clientY;No(e.info,n,a)&&(e.info.state=e.info.started?r.type==="mouseup"?"end":"track":"start",e.info.state==="start"&&Mt("tap"),e.info.addMove({x:n,y:a}),Me(r)||(e.info.state="end",Be(e.info)),t&&Qt(e.info,t,r),e.info.started=!0)},s=r=>{e.info.started&&i(r),Be(e.info)};er(this.info,i,s),this.info.x=o.clientX,this.info.y=o.clientY},touchstart(o){const t=o.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchmove(o){const t=Ee(o),e=o.changedTouches[0],i=e.clientX,s=e.clientY;No(this.info,i,s)&&(this.info.state==="start"&&Mt("tap"),this.info.addMove({x:i,y:s}),Qt(this.info,t,e),this.info.state="track",this.info.started=!0)},touchend(o){const t=Ee(o),e=o.changedTouches[0];this.info.started&&(this.info.state="end",this.info.addMove({x:e.clientX,y:e.clientY}),Qt(this.info,t,e))}});function No(o,t,e){if(o.prevent)return!1;if(o.started)return!0;const i=Math.abs(o.x-t),s=Math.abs(o.y-e);return i>=Io||s>=Io}function Qt(o,t,e){if(!t)return;const i=o.moves[o.moves.length-2],s=o.moves[o.moves.length-1],r=s.x-o.x,n=s.y-o.y;let a,l=0;i&&(a=s.x-i.x,l=s.y-i.y),Yi(t,"track",{state:o.state,x:e.clientX,y:e.clientY,dx:r,dy:n,ddx:a,ddy:l,sourceEvent:e,hover(){return Gl(e.clientX,e.clientY)}})}Bi({name:"tap",deps:["mousedown","click","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["click","touchend"]},emits:["tap"],info:{x:NaN,y:NaN,prevent:!1},reset(){this.info.x=NaN,this.info.y=NaN,this.info.prevent=!1},mousedown(o){Me(o)&&(this.info.x=o.clientX,this.info.y=o.clientY)},click(o){Me(o)&&zo(this.info,o)},touchstart(o){const t=o.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchend(o){zo(this.info,o.changedTouches[0],o)}});function zo(o,t,e){const i=Math.abs(t.clientX-o.x),s=Math.abs(t.clientY-o.y),r=Ee(e||t);!r||Wl[r.localName]&&r.hasAttribute("disabled")||(isNaN(i)||isNaN(s)||i<=Oo&&s<=Oo||ql(t))&&(o.prevent||Yi(r,"tap",{x:t.clientX,y:t.clientY,sourceEvent:t,preventer:e}))}/**
2918
2918
  * @license
2919
2919
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
2920
2920
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -2946,7 +2946,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2946
2946
  * @license
2947
2947
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
2948
2948
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2949
- */function oc(o){let t=o.getDay();t===0&&(t=7);const e=4-t,i=new Date(o.getTime()+e*24*3600*1e3),s=new Date(0,0);s.setFullYear(i.getFullYear());const r=i.getTime()-s.getTime(),n=Math.round(r/(24*3600*1e3));return Math.floor(n/7+1)}function wi(o){const t=new Date(o);return t.setHours(0,0,0,0),t}function ye(o,t,e=wi){return o instanceof Date&&t instanceof Date&&e(o).getTime()===e(t).getTime()}function Ui(o){return{day:o.getDate(),month:o.getMonth(),year:o.getFullYear()}}function Ve(o,t,e,i){let s=!1;if(typeof i=="function"&&o){const r=Ui(o);s=i(r)}return(!t||o>=t)&&(!e||o<=e)&&!s}function rr(o,t){return t.filter(e=>e!==void 0).reduce((e,i)=>{if(!i)return e;if(!e)return i;const s=Math.abs(o.getTime()-i.getTime()),r=Math.abs(e.getTime()-o.getTime());return s<r?i:e})}function nr(o){const t=new Date,e=new Date(t);return e.setDate(1),e.setMonth(parseInt(o)+t.getMonth()),e}function sc(o,t,e=0,i=1){if(t>99)throw new Error("The provided year cannot have more than 2 digits.");if(t<0)throw new Error("The provided year cannot be negative.");let s=t+Math.floor(o.getFullYear()/100)*100;return o<new Date(s-50,e,i)?s-=100:o>new Date(s+50,e,i)&&(s+=100),s}function Qe(o){const t=/^([-+]\d{1}|\d{2,4}|[-+]\d{6})-(\d{1,2})-(\d{1,2})$/u.exec(o);if(!t)return;const e=new Date(0,0);return e.setFullYear(parseInt(t[1],10)),e.setMonth(parseInt(t[2],10)-1),e.setDate(parseInt(t[3],10)),e}function rc(o){const t=(l,d="00")=>(d+l).substr((d+l).length-d.length);let e="",i="0000",s=o.year;s<0?(s=-s,e="-",i="000000"):o.year>=1e4&&(e="+",i="000000");const r=e+t(s,i),n=t(o.month+1),a=t(o.day);return[r,n,a].join("-")}function nc(o){return o instanceof Date?rc({year:o.getFullYear(),month:o.getMonth(),day:o.getDate()}):""}/**
2949
+ */function oc(o){let t=o.getDay();t===0&&(t=7);const e=4-t,i=new Date(o.getTime()+e*24*3600*1e3),s=new Date(0,0);s.setFullYear(i.getFullYear());const r=i.getTime()-s.getTime(),n=Math.round(r/(24*3600*1e3));return Math.floor(n/7+1)}function wi(o){const t=new Date(o);return t.setHours(0,0,0,0),t}function ve(o,t,e=wi){return o instanceof Date&&t instanceof Date&&e(o).getTime()===e(t).getTime()}function Ui(o){return{day:o.getDate(),month:o.getMonth(),year:o.getFullYear()}}function Ve(o,t,e,i){let s=!1;if(typeof i=="function"&&o){const r=Ui(o);s=i(r)}return(!t||o>=t)&&(!e||o<=e)&&!s}function rr(o,t){return t.filter(e=>e!==void 0).reduce((e,i)=>{if(!i)return e;if(!e)return i;const s=Math.abs(o.getTime()-i.getTime()),r=Math.abs(e.getTime()-o.getTime());return s<r?i:e})}function nr(o){const t=new Date,e=new Date(t);return e.setDate(1),e.setMonth(parseInt(o)+t.getMonth()),e}function sc(o,t,e=0,i=1){if(t>99)throw new Error("The provided year cannot have more than 2 digits.");if(t<0)throw new Error("The provided year cannot be negative.");let s=t+Math.floor(o.getFullYear()/100)*100;return o<new Date(s-50,e,i)?s-=100:o>new Date(s+50,e,i)&&(s+=100),s}function Qe(o){const t=/^([-+]\d{1}|\d{2,4}|[-+]\d{6})-(\d{1,2})-(\d{1,2})$/u.exec(o);if(!t)return;const e=new Date(0,0);return e.setFullYear(parseInt(t[1],10)),e.setMonth(parseInt(t[2],10)-1),e.setDate(parseInt(t[3],10)),e}function rc(o){const t=(l,d="00")=>(d+l).substr((d+l).length-d.length);let e="",i="0000",s=o.year;s<0?(s=-s,e="-",i="000000"):o.year>=1e4&&(e="+",i="000000");const r=e+t(s,i),n=t(o.month+1),a=t(o.day);return[r,n,a].join("-")}function nc(o){return o instanceof Date?rc({year:o.getFullYear(),month:o.getMonth(),day:o.getDate()}):""}/**
2950
2950
  @license
2951
2951
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
2952
2952
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -3103,7 +3103,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
3103
3103
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
3104
3104
  Code distributed by Google as part of the polymer project is also
3105
3105
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
3106
- */let Ei=null;function Si(){return Ei}Si.prototype=Object.create(HTMLTemplateElement.prototype,{constructor:{value:Si,writable:!0}});const ur=zi(Si),fc=qi(ur);function mc(o,t){Ei=o,Object.setPrototypeOf(o,t.prototype),new t,Ei=null}const _c=zi(class{});function gc(o,t){for(let e=0;e<t.length;e++){let i=t[e];if(!!o!=!!i.__hideTemplateChildren__)if(i.nodeType===Node.TEXT_NODE)o?(i.__polymerTextContent__=i.textContent,i.textContent=""):i.textContent=i.__polymerTextContent__;else if(i.localName==="slot")if(o)i.__polymerReplaced__=document.createComment("hidden-slot"),oe(oe(i).parentNode).replaceChild(i.__polymerReplaced__,i);else{const s=i.__polymerReplaced__;s&&oe(oe(s).parentNode).replaceChild(i,s)}else i.style&&(o?(i.__polymerDisplay__=i.style.display,i.style.display="none"):i.style.display=i.__polymerDisplay__);i.__hideTemplateChildren__=o,i._showHideChildren&&i._showHideChildren(o)}}class Ce extends _c{constructor(t){super(),this._configureProperties(t),this.root=this._stampTemplate(this.__dataHost);let e=[];this.children=e;for(let s=this.root.firstChild;s;s=s.nextSibling)e.push(s),s.__templatizeInstance=this;this.__templatizeOwner&&this.__templatizeOwner.__hideTemplateChildren__&&this._showHideChildren(!0);let i=this.__templatizeOptions;(t&&i.instanceProps||!i.instanceProps)&&this._enableProperties()}_configureProperties(t){if(this.__templatizeOptions.forwardHostProp)for(let i in this.__hostProps)this._setPendingProperty(i,this.__dataHost["_host_"+i]);for(let i in t)this._setPendingProperty(i,t[i])}forwardHostProp(t,e){this._setPendingPropertyOrPath(t,e,!1,!0)&&this.__dataHost._enqueueClient(this)}_addEventListenerToNode(t,e,i){if(this._methodHost&&this.__templatizeOptions.parentModel)this._methodHost._addEventListenerToNode(t,e,s=>{s.model=this,i(s)});else{let s=this.__dataHost.__dataHost;s&&s._addEventListenerToNode(t,e,i)}}_showHideChildren(t){gc(t,this.children)}_setUnmanagedPropertyToNode(t,e,i){t.__hideTemplateChildren__&&t.nodeType==Node.TEXT_NODE&&e=="textContent"?t.__polymerTextContent__=i:super._setUnmanagedPropertyToNode(t,e,i)}get parentModel(){let t=this.__parentModel;if(!t){let e;t=this;do t=t.__dataHost.__dataHost;while((e=t.__templatizeOptions)&&!e.parentModel);this.__parentModel=t}return t}dispatchEvent(t){return!0}}Ce.prototype.__dataHost;Ce.prototype.__templatizeOptions;Ce.prototype._methodHost;Ce.prototype.__templatizeOwner;Ce.prototype.__hostProps;const vc=qi(Ce);function Lo(o){let t=o.__dataHost;return t&&t._methodHost||t}function bc(o,t,e){let i=e.mutableData?vc:Ce;Ci.mixin&&(i=Ci.mixin(i));let s=class extends i{};return s.prototype.__templatizeOptions=e,s.prototype._bindTemplate(o),wc(s,o,t,e),s}function yc(o,t,e,i){let s=e.forwardHostProp;if(s&&t.hasHostProps){const r=o.localName=="template";let n=t.templatizeTemplateClass;if(!n){if(r){let l=e.mutableData?fc:ur;class d extends l{}n=t.templatizeTemplateClass=d}else{const l=o.constructor;class d extends l{}n=t.templatizeTemplateClass=d}let a=t.hostProps;for(let l in a)n.prototype._addPropertyEffect("_host_"+l,n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,{fn:xc(l,s)}),n.prototype._createNotifyingProperty("_host_"+l);_s&&i&&Cc(t,e,i)}if(o.__dataProto&&Object.assign(o.__data,o.__dataProto),r)mc(o,n),o.__dataTemp={},o.__dataPending=null,o.__dataOld=null,o._enableProperties();else{Object.setPrototypeOf(o,n.prototype);const a=t.hostProps;for(let l in a)if(l="_host_"+l,l in o){const d=o[l];delete o[l],o.__data[l]=d}}}}function xc(o,t){return function(i,s,r){t.call(i.__templatizeOwner,s.substring(6),r[s])}}function wc(o,t,e,i){let s=e.hostProps||{};for(let r in i.instanceProps){delete s[r];let n=i.notifyInstanceProp;n&&o.prototype._addPropertyEffect(r,o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,{fn:Ec(r,n)})}if(i.forwardHostProp&&t.__dataHost)for(let r in s)e.hasHostProps||(e.hasHostProps=!0),o.prototype._addPropertyEffect(r,o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,{fn:Sc()})}function Ec(o,t){return function(i,s,r){t.call(i.__templatizeOwner,i,s,r[s])}}function Sc(){return function(t,e,i){t.__dataHost._setPendingPropertyOrPath("_host_"+e,i[e],!0,!0)}}function Ci(o,t,e){if(kt&&!Lo(o))throw new Error("strictTemplatePolicy: template owner not trusted");if(e=e||{},o.__templatizeOwner)throw new Error("A <template> can only be templatized once");o.__templatizeOwner=t;let s=(t?t.constructor:Ce)._parseTemplate(o),r=s.templatizeInstanceClass;r||(r=bc(o,s,e),s.templatizeInstanceClass=r);const n=Lo(o);yc(o,s,e,n);let a=class extends r{};return a.prototype._methodHost=n,a.prototype.__dataHost=o,a.prototype.__templatizeOwner=t,a.prototype.__hostProps=s.hostProps,a=a,a}function Cc(o,t,e){const i=e.constructor._properties,{propertyEffects:s}=o,{instanceProps:r}=t;for(let n in s)if(!i[n]&&!(r&&r[n])){const a=s[n];for(let l=0;l<a.length;l++){const{part:d}=a[l].info;if(!(d.signature&&d.signature.static)){console.warn(`Property '${n}' used in template but not declared in 'properties'; attribute will not be observed.`);break}}}}function Ac(o,t){let e;for(;t;)if(e=t.__dataHost?t:t.__templatizeInstance)if(e.__dataHost!=o)t=e.__dataHost;else return e;else t=oe(t).parentNode;return null}/**
3106
+ */let Ei=null;function Si(){return Ei}Si.prototype=Object.create(HTMLTemplateElement.prototype,{constructor:{value:Si,writable:!0}});const ur=zi(Si),fc=qi(ur);function mc(o,t){Ei=o,Object.setPrototypeOf(o,t.prototype),new t,Ei=null}const _c=zi(class{});function gc(o,t){for(let e=0;e<t.length;e++){let i=t[e];if(!!o!=!!i.__hideTemplateChildren__)if(i.nodeType===Node.TEXT_NODE)o?(i.__polymerTextContent__=i.textContent,i.textContent=""):i.textContent=i.__polymerTextContent__;else if(i.localName==="slot")if(o)i.__polymerReplaced__=document.createComment("hidden-slot"),oe(oe(i).parentNode).replaceChild(i.__polymerReplaced__,i);else{const s=i.__polymerReplaced__;s&&oe(oe(s).parentNode).replaceChild(i,s)}else i.style&&(o?(i.__polymerDisplay__=i.style.display,i.style.display="none"):i.style.display=i.__polymerDisplay__);i.__hideTemplateChildren__=o,i._showHideChildren&&i._showHideChildren(o)}}class Ce extends _c{constructor(t){super(),this._configureProperties(t),this.root=this._stampTemplate(this.__dataHost);let e=[];this.children=e;for(let s=this.root.firstChild;s;s=s.nextSibling)e.push(s),s.__templatizeInstance=this;this.__templatizeOwner&&this.__templatizeOwner.__hideTemplateChildren__&&this._showHideChildren(!0);let i=this.__templatizeOptions;(t&&i.instanceProps||!i.instanceProps)&&this._enableProperties()}_configureProperties(t){if(this.__templatizeOptions.forwardHostProp)for(let i in this.__hostProps)this._setPendingProperty(i,this.__dataHost["_host_"+i]);for(let i in t)this._setPendingProperty(i,t[i])}forwardHostProp(t,e){this._setPendingPropertyOrPath(t,e,!1,!0)&&this.__dataHost._enqueueClient(this)}_addEventListenerToNode(t,e,i){if(this._methodHost&&this.__templatizeOptions.parentModel)this._methodHost._addEventListenerToNode(t,e,s=>{s.model=this,i(s)});else{let s=this.__dataHost.__dataHost;s&&s._addEventListenerToNode(t,e,i)}}_showHideChildren(t){gc(t,this.children)}_setUnmanagedPropertyToNode(t,e,i){t.__hideTemplateChildren__&&t.nodeType==Node.TEXT_NODE&&e=="textContent"?t.__polymerTextContent__=i:super._setUnmanagedPropertyToNode(t,e,i)}get parentModel(){let t=this.__parentModel;if(!t){let e;t=this;do t=t.__dataHost.__dataHost;while((e=t.__templatizeOptions)&&!e.parentModel);this.__parentModel=t}return t}dispatchEvent(t){return!0}}Ce.prototype.__dataHost;Ce.prototype.__templatizeOptions;Ce.prototype._methodHost;Ce.prototype.__templatizeOwner;Ce.prototype.__hostProps;const bc=qi(Ce);function Lo(o){let t=o.__dataHost;return t&&t._methodHost||t}function yc(o,t,e){let i=e.mutableData?bc:Ce;Ci.mixin&&(i=Ci.mixin(i));let s=class extends i{};return s.prototype.__templatizeOptions=e,s.prototype._bindTemplate(o),wc(s,o,t,e),s}function vc(o,t,e,i){let s=e.forwardHostProp;if(s&&t.hasHostProps){const r=o.localName=="template";let n=t.templatizeTemplateClass;if(!n){if(r){let l=e.mutableData?fc:ur;class d extends l{}n=t.templatizeTemplateClass=d}else{const l=o.constructor;class d extends l{}n=t.templatizeTemplateClass=d}let a=t.hostProps;for(let l in a)n.prototype._addPropertyEffect("_host_"+l,n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,{fn:xc(l,s)}),n.prototype._createNotifyingProperty("_host_"+l);_s&&i&&Cc(t,e,i)}if(o.__dataProto&&Object.assign(o.__data,o.__dataProto),r)mc(o,n),o.__dataTemp={},o.__dataPending=null,o.__dataOld=null,o._enableProperties();else{Object.setPrototypeOf(o,n.prototype);const a=t.hostProps;for(let l in a)if(l="_host_"+l,l in o){const d=o[l];delete o[l],o.__data[l]=d}}}}function xc(o,t){return function(i,s,r){t.call(i.__templatizeOwner,s.substring(6),r[s])}}function wc(o,t,e,i){let s=e.hostProps||{};for(let r in i.instanceProps){delete s[r];let n=i.notifyInstanceProp;n&&o.prototype._addPropertyEffect(r,o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,{fn:Ec(r,n)})}if(i.forwardHostProp&&t.__dataHost)for(let r in s)e.hasHostProps||(e.hasHostProps=!0),o.prototype._addPropertyEffect(r,o.prototype.PROPERTY_EFFECT_TYPES.NOTIFY,{fn:Sc()})}function Ec(o,t){return function(i,s,r){t.call(i.__templatizeOwner,i,s,r[s])}}function Sc(){return function(t,e,i){t.__dataHost._setPendingPropertyOrPath("_host_"+e,i[e],!0,!0)}}function Ci(o,t,e){if(kt&&!Lo(o))throw new Error("strictTemplatePolicy: template owner not trusted");if(e=e||{},o.__templatizeOwner)throw new Error("A <template> can only be templatized once");o.__templatizeOwner=t;let s=(t?t.constructor:Ce)._parseTemplate(o),r=s.templatizeInstanceClass;r||(r=yc(o,s,e),s.templatizeInstanceClass=r);const n=Lo(o);vc(o,s,e,n);let a=class extends r{};return a.prototype._methodHost=n,a.prototype.__dataHost=o,a.prototype.__templatizeOwner=t,a.prototype.__hostProps=s.hostProps,a=a,a}function Cc(o,t,e){const i=e.constructor._properties,{propertyEffects:s}=o,{instanceProps:r}=t;for(let n in s)if(!i[n]&&!(r&&r[n])){const a=s[n];for(let l=0;l<a.length;l++){const{part:d}=a[l].info;if(!(d.signature&&d.signature.static)){console.warn(`Property '${n}' used in template but not declared in 'properties'; attribute will not be observed.`);break}}}}function Ac(o,t){let e;for(;t;)if(e=t.__dataHost?t:t.__templatizeInstance)if(e.__dataHost!=o)t=e.__dataHost;else return e;else t=oe(t).parentNode;return null}/**
3107
3107
  @license
3108
3108
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
3109
3109
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -3123,7 +3123,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3123
3123
  * @license
3124
3124
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
3125
3125
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3126
- */const Pc=o=>class extends ji(o){static get properties(){return{month:{type:Object,value:new Date,sync:!0},selectedDate:{type:Object,notify:!0,sync:!0},focusedDate:{type:Object},showWeekNumbers:{type:Boolean,value:!1},i18n:{type:Object},ignoreTaps:{type:Boolean},minDate:{type:Date,value:null,sync:!0},maxDate:{type:Date,value:null,sync:!0},isDateDisabled:{type:Function,value:()=>!1},disabled:{type:Boolean,reflectToAttribute:!0},_days:{type:Array},_weeks:{type:Array},_notTapping:{type:Boolean}}}static get observers(){return["__focusedDateChanged(focusedDate, _days)"]}get focusableDateElement(){return[...this.shadowRoot.querySelectorAll("[part~=date]")].find(e=>ye(e.date,this.focusedDate))}ready(){super.ready(),me(this.$.monthGrid,"tap",this._handleTap.bind(this))}_isDisabled(e,i,s){const r=new Date(0,0);r.setFullYear(e.getFullYear()),r.setMonth(e.getMonth()),r.setDate(1);const n=new Date(0,0);return n.setFullYear(e.getFullYear()),n.setMonth(e.getMonth()+1),n.setDate(0),i&&s&&i.getMonth()===s.getMonth()&&i.getMonth()===e.getMonth()&&s.getDate()-i.getDate()>=0?!1:!Ve(r,i,s)&&!Ve(n,i,s)}_getTitle(e,i){if(!(e===void 0||i===void 0))return i.formatTitle(i.monthNames[e.getMonth()],e.getFullYear())}_onMonthGridTouchStart(){this._notTapping=!1,setTimeout(()=>{this._notTapping=!0},300)}_dateAdd(e,i){e.setDate(e.getDate()+i)}_applyFirstDayOfWeek(e,i){if(!(e===void 0||i===void 0))return e.slice(i).concat(e.slice(0,i))}_getWeekDayNames(e,i){if(e===void 0||i===void 0)return[];const{weekdays:s,weekdaysShort:r,firstDayOfWeek:n}=e,a=this._applyFirstDayOfWeek(r,n);return this._applyFirstDayOfWeek(s,n).map((d,u)=>({weekDay:d,weekDayShort:a[u]})).slice(0,7)}__focusedDateChanged(e,i){Array.isArray(i)&&i.some(s=>ye(s,e))?this.removeAttribute("aria-hidden"):this.setAttribute("aria-hidden","true")}_getDate(e){return e?e.getDate():""}_showWeekSeparator(e,i){return e&&i&&i.firstDayOfWeek===1}_isToday(e){return ye(new Date,e)}_getDays(e,i){if(e===void 0||i===void 0)return[];const s=new Date(0,0);for(s.setFullYear(e.getFullYear()),s.setMonth(e.getMonth()),s.setDate(1);s.getDay()!==i.firstDayOfWeek;)this._dateAdd(s,-1);const r=[],n=s.getMonth(),a=e.getMonth();for(;s.getMonth()===a||s.getMonth()===n;)r.push(s.getMonth()===a?new Date(s.getTime()):null),this._dateAdd(s,1);return r}_getWeeks(e){return e.reduce((i,s,r)=>(r%7===0&&i.push([]),i[i.length-1].push(s),i),[])}_handleTap(e){!this.ignoreTaps&&!this._notTapping&&e.target.date&&!e.target.hasAttribute("disabled")&&(this.selectedDate=e.target.date,this.dispatchEvent(new CustomEvent("date-tap",{detail:{date:e.target.date},bubbles:!0,composed:!0})))}_preventDefault(e){e.preventDefault()}__getWeekNumber(e){const i=e.reduce((s,r)=>!s&&r?r:s);return oc(i)}__getDayAriaLabel(e){if(!e)return"";let i=`${this._getDate(e)} ${this.i18n.monthNames[e.getMonth()]} ${e.getFullYear()}, ${this.i18n.weekdays[e.getDay()]}`;return this._isToday(e)&&(i+=`, ${this.i18n.today}`),i}};/**
3126
+ */const Pc=o=>class extends ji(o){static get properties(){return{month:{type:Object,value:new Date,sync:!0},selectedDate:{type:Object,notify:!0,sync:!0},focusedDate:{type:Object},showWeekNumbers:{type:Boolean,value:!1},i18n:{type:Object},ignoreTaps:{type:Boolean},minDate:{type:Date,value:null,sync:!0},maxDate:{type:Date,value:null,sync:!0},isDateDisabled:{type:Function,value:()=>!1},disabled:{type:Boolean,reflectToAttribute:!0},_days:{type:Array},_weeks:{type:Array},_notTapping:{type:Boolean}}}static get observers(){return["__focusedDateChanged(focusedDate, _days)"]}get focusableDateElement(){return[...this.shadowRoot.querySelectorAll("[part~=date]")].find(e=>ve(e.date,this.focusedDate))}ready(){super.ready(),me(this.$.monthGrid,"tap",this._handleTap.bind(this))}_isDisabled(e,i,s){const r=new Date(0,0);r.setFullYear(e.getFullYear()),r.setMonth(e.getMonth()),r.setDate(1);const n=new Date(0,0);return n.setFullYear(e.getFullYear()),n.setMonth(e.getMonth()+1),n.setDate(0),i&&s&&i.getMonth()===s.getMonth()&&i.getMonth()===e.getMonth()&&s.getDate()-i.getDate()>=0?!1:!Ve(r,i,s)&&!Ve(n,i,s)}_getTitle(e,i){if(!(e===void 0||i===void 0))return i.formatTitle(i.monthNames[e.getMonth()],e.getFullYear())}_onMonthGridTouchStart(){this._notTapping=!1,setTimeout(()=>{this._notTapping=!0},300)}_dateAdd(e,i){e.setDate(e.getDate()+i)}_applyFirstDayOfWeek(e,i){if(!(e===void 0||i===void 0))return e.slice(i).concat(e.slice(0,i))}_getWeekDayNames(e,i){if(e===void 0||i===void 0)return[];const{weekdays:s,weekdaysShort:r,firstDayOfWeek:n}=e,a=this._applyFirstDayOfWeek(r,n);return this._applyFirstDayOfWeek(s,n).map((d,u)=>({weekDay:d,weekDayShort:a[u]})).slice(0,7)}__focusedDateChanged(e,i){Array.isArray(i)&&i.some(s=>ve(s,e))?this.removeAttribute("aria-hidden"):this.setAttribute("aria-hidden","true")}_getDate(e){return e?e.getDate():""}_showWeekSeparator(e,i){return e&&i&&i.firstDayOfWeek===1}_isToday(e){return ve(new Date,e)}_getDays(e,i){if(e===void 0||i===void 0)return[];const s=new Date(0,0);for(s.setFullYear(e.getFullYear()),s.setMonth(e.getMonth()),s.setDate(1);s.getDay()!==i.firstDayOfWeek;)this._dateAdd(s,-1);const r=[],n=s.getMonth(),a=e.getMonth();for(;s.getMonth()===a||s.getMonth()===n;)r.push(s.getMonth()===a?new Date(s.getTime()):null),this._dateAdd(s,1);return r}_getWeeks(e){return e.reduce((i,s,r)=>(r%7===0&&i.push([]),i[i.length-1].push(s),i),[])}_handleTap(e){!this.ignoreTaps&&!this._notTapping&&e.target.date&&!e.target.hasAttribute("disabled")&&(this.selectedDate=e.target.date,this.dispatchEvent(new CustomEvent("date-tap",{detail:{date:e.target.date},bubbles:!0,composed:!0})))}_preventDefault(e){e.preventDefault()}__getWeekNumber(e){const i=e.reduce((s,r)=>!s&&r?r:s);return oc(i)}__getDayAriaLabel(e){if(!e)return"";let i=`${this._getDate(e)} ${this.i18n.monthNames[e.getMonth()]} ${e.getFullYear()}, ${this.i18n.weekdays[e.getDay()]}`;return this._isToday(e)&&(i+=`, ${this.i18n.today}`),i}};/**
3127
3127
  * @license
3128
3128
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
3129
3129
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -3229,7 +3229,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3229
3229
  </template>
3230
3230
  </tbody>
3231
3231
  </table>
3232
- `}static get is(){return"vaadin-month-calendar"}static get properties(){return{_days:{type:Array,computed:"_getDays(month, i18n, minDate, maxDate, isDateDisabled)"},_weeks:{type:Array,computed:"_getWeeks(_days)"},disabled:{type:Boolean,reflectToAttribute:!0,computed:"_isDisabled(month, minDate, maxDate)"}}}static get observers(){return["_showWeekNumbersChanged(showWeekNumbers, i18n)"]}_showWeekNumbersChanged(t,e){t&&e&&e.firstDayOfWeek===1?this.setAttribute("week-numbers",""):this.removeAttribute("week-numbers")}__getDatePart(t,e,i,s,r,n){const a=["date"],l=t>wi(new Date),d=t<wi(new Date);return this.__isDayDisabled(t,s,r,n)&&a.push("disabled"),this.__isDayFocused(t,e)&&a.push("focused"),this.__isDaySelected(t,i)&&a.push("selected"),this._isToday(t)&&a.push("today"),d&&a.push("past"),l&&a.push("future"),a.join(" ")}__isDayFocused(t,e){return ye(t,e)}__isDaySelected(t,e){return ye(t,e)}__getDayAriaSelected(t,e){if(this.__isDaySelected(t,e))return"true"}__isDayDisabled(t,e,i,s){return!Ve(t,e,i,s)}__getDayAriaDisabled(t,e,i,s){if(!(t===void 0||e===void 0&&i===void 0&&s===void 0)&&this.__isDayDisabled(t,e,i,s))return"true"}__getDayTabindex(t,e){return this.__isDayFocused(t,e)?"0":"-1"}}ge(Mc);/**
3232
+ `}static get is(){return"vaadin-month-calendar"}static get properties(){return{_days:{type:Array,computed:"_getDays(month, i18n, minDate, maxDate, isDateDisabled)"},_weeks:{type:Array,computed:"_getWeeks(_days)"},disabled:{type:Boolean,reflectToAttribute:!0,computed:"_isDisabled(month, minDate, maxDate)"}}}static get observers(){return["_showWeekNumbersChanged(showWeekNumbers, i18n)"]}_showWeekNumbersChanged(t,e){t&&e&&e.firstDayOfWeek===1?this.setAttribute("week-numbers",""):this.removeAttribute("week-numbers")}__getDatePart(t,e,i,s,r,n){const a=["date"],l=t>wi(new Date),d=t<wi(new Date);return this.__isDayDisabled(t,s,r,n)&&a.push("disabled"),this.__isDayFocused(t,e)&&a.push("focused"),this.__isDaySelected(t,i)&&a.push("selected"),this._isToday(t)&&a.push("today"),d&&a.push("past"),l&&a.push("future"),a.join(" ")}__isDayFocused(t,e){return ve(t,e)}__isDaySelected(t,e){return ve(t,e)}__getDayAriaSelected(t,e){if(this.__isDaySelected(t,e))return"true"}__isDayDisabled(t,e,i,s){return!Ve(t,e,i,s)}__getDayAriaDisabled(t,e,i,s){if(!(t===void 0||e===void 0&&i===void 0&&s===void 0)&&this.__isDayDisabled(t,e,i,s))return"true"}__getDayTabindex(t,e){return this.__isDayFocused(t,e)?"0":"-1"}}ge(Mc);/**
3233
3233
  * @license
3234
3234
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
3235
3235
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -3237,7 +3237,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3237
3237
  * @license
3238
3238
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
3239
3239
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3240
- */const Oc=o=>class extends o{static get properties(){return{scrollDuration:{type:Number,value:300},selectedDate:{type:Object,value:null,sync:!0},focusedDate:{type:Object,notify:!0,observer:"_focusedDateChanged",sync:!0},_focusedMonthDate:Number,initialPosition:{type:Object,observer:"_initialPositionChanged"},_originDate:{type:Object,value:new Date},_visibleMonthIndex:Number,_desktopMode:{type:Boolean,observer:"_desktopModeChanged"},_desktopMediaQuery:{type:String,value:"(min-width: 375px)"},_translateX:{observer:"_translateXChanged"},_yearScrollerWidth:{value:50},i18n:{type:Object},showWeekNumbers:{type:Boolean,value:!1},_ignoreTaps:Boolean,_notTapping:Boolean,minDate:{type:Object,sync:!0},maxDate:{type:Object,sync:!0},isDateDisabled:{type:Function},label:String,_cancelButton:{type:Object},_todayButton:{type:Object},calendars:{type:Array,value:()=>[]},years:{type:Array,value:()=>[]}}}static get observers(){return["__updateCalendars(calendars, i18n, minDate, maxDate, selectedDate, focusedDate, showWeekNumbers, _ignoreTaps, _theme, isDateDisabled)","__updateCancelButton(_cancelButton, i18n)","__updateTodayButton(_todayButton, i18n, minDate, maxDate, isDateDisabled)","__updateYears(years, selectedDate, _theme)"]}get __useSubMonthScrolling(){return this._monthScroller.clientHeight<this._monthScroller.itemHeight+this._monthScroller.bufferOffset}get focusableDateElement(){return this.calendars.map(e=>e.focusableDateElement).find(Boolean)}_addListeners(){ir(this.$.scrollers,"pan-y"),me(this.$.scrollers,"track",this._track.bind(this)),me(this.shadowRoot.querySelector('[part="clear-button"]'),"tap",this._clear.bind(this)),me(this.shadowRoot.querySelector('[part="toggle-button"]'),"tap",this._cancel.bind(this)),me(this.shadowRoot.querySelector('[part="years-toggle-button"]'),"tap",this._toggleYearScroller.bind(this))}_initControllers(){this.addController(new hr(this._desktopMediaQuery,e=>{this._desktopMode=e})),this.addController(new Pe(this,"today-button","vaadin-button",{observe:!1,initializer:e=>{e.setAttribute("theme","tertiary"),e.addEventListener("keydown",i=>this.__onTodayButtonKeyDown(i)),me(e,"tap",this._onTodayTap.bind(this)),this._todayButton=e}})),this.addController(new Pe(this,"cancel-button","vaadin-button",{observe:!1,initializer:e=>{e.setAttribute("theme","tertiary"),e.addEventListener("keydown",i=>this.__onCancelButtonKeyDown(i)),me(e,"tap",this._cancel.bind(this)),this._cancelButton=e}})),this.__initMonthScroller(),this.__initYearScroller()}reset(){this._closeYearScroller(),this._toggleAnimateClass(!0)}focusCancel(){this._cancelButton.focus()}scrollToDate(e,i){const s=this.__useSubMonthScrolling?this._calculateWeekScrollOffset(e):0;this._scrollToPosition(this._differenceInMonths(e,this._originDate)+s,i),this._monthScroller.forceUpdate()}__initMonthScroller(){this.addController(new Pe(this,"months","vaadin-date-picker-month-scroller",{observe:!1,initializer:e=>{e.addEventListener("custom-scroll",()=>{this._onMonthScroll()}),e.addEventListener("touchstart",()=>{this._onMonthScrollTouchStart()}),e.addEventListener("keydown",i=>{this.__onMonthCalendarKeyDown(i)}),e.addEventListener("init-done",()=>{const i=[...this.querySelectorAll("vaadin-month-calendar")];i.forEach(s=>{s.addEventListener("selected-date-changed",r=>{this.selectedDate=r.detail.value})}),this.calendars=i}),this._monthScroller=e}}))}__initYearScroller(){this.addController(new Pe(this,"years","vaadin-date-picker-year-scroller",{observe:!1,initializer:e=>{e.setAttribute("aria-hidden","true"),me(e,"tap",i=>{this._onYearTap(i)}),e.addEventListener("custom-scroll",()=>{this._onYearScroll()}),e.addEventListener("touchstart",()=>{this._onYearScrollTouchStart()}),e.addEventListener("init-done",()=>{this.years=[...this.querySelectorAll("vaadin-date-picker-year")]}),this._yearScroller=e}}))}__updateCancelButton(e,i){e&&(e.textContent=i&&i.cancel)}__updateTodayButton(e,i,s,r,n){e&&(e.textContent=i&&i.today,e.disabled=!this._isTodayAllowed(s,r,n))}__updateCalendars(e,i,s,r,n,a,l,d,u,h){e&&e.length&&e.forEach(p=>{p.i18n=i,p.minDate=s,p.maxDate=r,p.isDateDisabled=h,p.focusedDate=a,p.selectedDate=n,p.showWeekNumbers=l,p.ignoreTaps=d,u?p.setAttribute("theme",u):p.removeAttribute("theme")})}__updateYears(e,i,s){e&&e.length&&e.forEach(r=>{r.selectedDate=i,s?r.setAttribute("theme",s):r.removeAttribute("theme")})}_selectDate(e){return this._dateAllowed(e)?(this.selectedDate=e,this.dispatchEvent(new CustomEvent("date-selected",{detail:{date:e},bubbles:!0,composed:!0})),!0):!1}_desktopModeChanged(e){this.toggleAttribute("desktop",e)}_focusedDateChanged(e){this.revealDate(e)}revealDate(e,i=!0){if(!e)return;const s=this._differenceInMonths(e,this._originDate);if(this.__useSubMonthScrolling){const d=this._calculateWeekScrollOffset(e);this._scrollToPosition(s+d,i);return}const r=this._monthScroller.position>s,a=Math.max(this._monthScroller.itemHeight,this._monthScroller.clientHeight-this._monthScroller.bufferOffset*2)/this._monthScroller.itemHeight,l=this._monthScroller.position+a-1<s;r?this._scrollToPosition(s,i):l&&this._scrollToPosition(s-a+1,i)}_calculateWeekScrollOffset(e){const i=new Date(0,0);i.setFullYear(e.getFullYear()),i.setMonth(e.getMonth()),i.setDate(1);let s=0;for(;i.getDate()<e.getDate();)i.setDate(i.getDate()+1),i.getDay()===this.i18n.firstDayOfWeek&&(s+=1);return s/6}_initialPositionChanged(e){this._monthScroller&&this._yearScroller&&(this._monthScroller.active=!0,this._yearScroller.active=!0),this.scrollToDate(e)}_repositionYearScroller(){const e=this._monthScroller.position;this._visibleMonthIndex=Math.floor(e),this._yearScroller.position=(e+this._originDate.getMonth())/12}_repositionMonthScroller(){this._monthScroller.position=this._yearScroller.position*12-this._originDate.getMonth(),this._visibleMonthIndex=Math.floor(this._monthScroller.position)}_onMonthScroll(){this._repositionYearScroller(),this._doIgnoreTaps()}_onYearScroll(){this._repositionMonthScroller(),this._doIgnoreTaps()}_onYearScrollTouchStart(){this._notTapping=!1,setTimeout(()=>{this._notTapping=!0},300),this._repositionMonthScroller()}_onMonthScrollTouchStart(){this._repositionYearScroller()}_doIgnoreTaps(){this._ignoreTaps=!0,this._debouncer=Ue.debounce(this._debouncer,Tt.after(300),()=>{this._ignoreTaps=!1})}_formatDisplayed(e,i,s){return e&&i&&typeof i.formatDate=="function"?i.formatDate(Ui(e)):s}_onTodayTap(){const e=this._getTodayMidnight();Math.abs(this._monthScroller.position-this._differenceInMonths(e,this._originDate))<.001?(this._selectDate(e),this._close()):this._scrollToCurrentMonth()}_scrollToCurrentMonth(){this.focusedDate&&(this.focusedDate=new Date),this.scrollToDate(new Date,!0)}_onYearTap(e){if(!this._ignoreTaps&&!this._notTapping){const s=(e.detail.y-(this._yearScroller.getBoundingClientRect().top+this._yearScroller.clientHeight/2))/this._yearScroller.itemHeight;this._scrollToPosition(this._monthScroller.position+s*12,!0)}}_scrollToPosition(e,i){if(this._targetPosition!==void 0){this._targetPosition=e;return}if(!i){this._monthScroller.position=e,this._monthScroller.forceUpdate(),this._targetPosition=void 0,this._repositionYearScroller(),this.__tryFocusDate();return}this._targetPosition=e;let s;this._revealPromise=new Promise(d=>{s=d});const r=(d,u,h,p)=>(d/=p/2,d<1?h/2*d*d+u:(d-=1,-h/2*(d*(d-2)-1)+u));let n=0;const a=this._monthScroller.position,l=d=>{n||(n=d);const u=d-n;if(u<this.scrollDuration){const h=r(u,a,this._targetPosition-a,this.scrollDuration);this._monthScroller.position=h,window.requestAnimationFrame(l)}else this.dispatchEvent(new CustomEvent("scroll-animation-finished",{bubbles:!0,composed:!0,detail:{position:this._targetPosition,oldPosition:a}})),this._monthScroller.position=this._targetPosition,this._monthScroller.forceUpdate(),this._targetPosition=void 0,s(),this._revealPromise=void 0;setTimeout(this._repositionYearScroller.bind(this),1)};window.requestAnimationFrame(l)}_limit(e,i){return Math.min(i.max,Math.max(i.min,e))}_handleTrack(e){if(Math.abs(e.detail.dx)<10||Math.abs(e.detail.ddy)>10)return;Math.abs(e.detail.ddx)>this._yearScrollerWidth/3&&this._toggleAnimateClass(!0);const i=this._translateX+e.detail.ddx;this._translateX=this._limit(i,{min:0,max:this._yearScrollerWidth})}_track(e){if(!this._desktopMode)switch(e.detail.state){case"start":this._toggleAnimateClass(!1);break;case"track":this._handleTrack(e);break;case"end":this._toggleAnimateClass(!0),this._translateX>=this._yearScrollerWidth/2?this._closeYearScroller():this._openYearScroller();break}}_toggleAnimateClass(e){e?this.classList.add("animate"):this.classList.remove("animate")}_toggleYearScroller(){this._isYearScrollerVisible()?this._closeYearScroller():this._openYearScroller()}_openYearScroller(){this._translateX=0,this.setAttribute("years-visible","")}_closeYearScroller(){this.removeAttribute("years-visible"),this._translateX=this._yearScrollerWidth}_isYearScrollerVisible(){return this._translateX<this._yearScrollerWidth/2}_translateXChanged(e){this._desktopMode||(this._monthScroller.style.transform=`translateX(${e-this._yearScrollerWidth}px)`,this._yearScroller.style.transform=`translateX(${e}px)`)}_yearAfterXMonths(e){return nr(e).getFullYear()}_differenceInMonths(e,i){return(e.getFullYear()-i.getFullYear())*12-i.getMonth()+e.getMonth()}_clear(){this._selectDate("")}_close(){this.dispatchEvent(new CustomEvent("close",{bubbles:!0,composed:!0}))}_cancel(){this.focusedDate=this.selectedDate,this._close()}_preventDefault(e){e.preventDefault()}__toggleDate(e){ye(e,this.selectedDate)?(this._clear(),this.focusedDate=e):this._selectDate(e)}__onMonthCalendarKeyDown(e){let i=!1;switch(e.key){case"ArrowDown":this._moveFocusByDays(7),i=!0;break;case"ArrowUp":this._moveFocusByDays(-7),i=!0;break;case"ArrowRight":this._moveFocusByDays(this.__isRTL?-1:1),i=!0;break;case"ArrowLeft":this._moveFocusByDays(this.__isRTL?1:-1),i=!0;break;case"Enter":this._selectDate(this.focusedDate)&&(this._close(),i=!0);break;case" ":this.__toggleDate(this.focusedDate),i=!0;break;case"Home":this._moveFocusInsideMonth(this.focusedDate,"minDate"),i=!0;break;case"End":this._moveFocusInsideMonth(this.focusedDate,"maxDate"),i=!0;break;case"PageDown":this._moveFocusByMonths(e.shiftKey?12:1),i=!0;break;case"PageUp":this._moveFocusByMonths(e.shiftKey?-12:-1),i=!0;break;case"Tab":this._onTabKeyDown(e,"calendar");break}i&&(e.preventDefault(),e.stopPropagation())}_onTabKeyDown(e,i){switch(e.stopPropagation(),i){case"calendar":e.shiftKey&&(e.preventDefault(),this.hasAttribute("fullscreen")?this.focusCancel():this.__focusInput());break;case"today":e.shiftKey&&(e.preventDefault(),this.focusDateElement());break;case"cancel":e.shiftKey||(e.preventDefault(),this.hasAttribute("fullscreen")?this.focusDateElement():this.__focusInput());break}}__onTodayButtonKeyDown(e){e.key==="Tab"&&this._onTabKeyDown(e,"today")}__onCancelButtonKeyDown(e){e.key==="Tab"&&this._onTabKeyDown(e,"cancel")}__focusInput(){this.dispatchEvent(new CustomEvent("focus-input",{bubbles:!0,composed:!0}))}__tryFocusDate(){if(this.__pendingDateFocus){const i=this.focusableDateElement;i&&ye(i.date,this.__pendingDateFocus)&&(delete this.__pendingDateFocus,i.focus())}}focusDate(e,i){return Ke(this,null,function*(){const s=e||this.selectedDate||this.initialPosition||new Date;this.focusedDate=s,i||(this._focusedMonthDate=s.getDate()),yield this.focusDateElement(!1)})}focusDateElement(e=!0){return Ke(this,null,function*(){this.__pendingDateFocus=this.focusedDate,this.calendars.length||(yield new Promise(i=>{js(this,()=>{Vi(),i()})})),e&&this.revealDate(this.focusedDate),this._revealPromise&&(yield this._revealPromise),this.__tryFocusDate()})}_focusClosestDate(e){this.focusDate(rr(e,[this.minDate,this.maxDate]))}_focusAllowedDate(e,i,s){this._dateAllowed(e,void 0,void 0,()=>!1)?this.focusDate(e,s):this._dateAllowed(this.focusedDate)?i>0?this.focusDate(this.maxDate):this.focusDate(this.minDate):this._focusClosestDate(this.focusedDate)}_getDateDiff(e,i){const s=new Date(0,0);return s.setFullYear(this.focusedDate.getFullYear()),s.setMonth(this.focusedDate.getMonth()+e),i&&s.setDate(this.focusedDate.getDate()+i),s}_moveFocusByDays(e){const i=this._getDateDiff(0,e);this._focusAllowedDate(i,e,!1)}_moveFocusByMonths(e){const i=this._getDateDiff(e),s=i.getMonth();this._focusedMonthDate||(this._focusedMonthDate=this.focusedDate.getDate()),i.setDate(this._focusedMonthDate),i.getMonth()!==s&&i.setDate(0),this._focusAllowedDate(i,e,!0)}_moveFocusInsideMonth(e,i){const s=new Date(0,0);s.setFullYear(e.getFullYear()),i==="minDate"?(s.setMonth(e.getMonth()),s.setDate(1)):(s.setMonth(e.getMonth()+1),s.setDate(0)),this._dateAllowed(s)?this.focusDate(s):this._dateAllowed(e)?this.focusDate(this[i]):this._focusClosestDate(e)}_dateAllowed(e,i=this.minDate,s=this.maxDate,r=this.isDateDisabled){return Ve(e,i,s,r)}_isTodayAllowed(e,i,s){return this._dateAllowed(this._getTodayMidnight(),e,i,s)}_getTodayMidnight(){const e=new Date,i=new Date(0,0);return i.setFullYear(e.getFullYear()),i.setMonth(e.getMonth()),i.setDate(e.getDate()),i}};/**
3240
+ */const Oc=o=>class extends o{static get properties(){return{scrollDuration:{type:Number,value:300},selectedDate:{type:Object,value:null,sync:!0},focusedDate:{type:Object,notify:!0,observer:"_focusedDateChanged",sync:!0},_focusedMonthDate:Number,initialPosition:{type:Object,observer:"_initialPositionChanged"},_originDate:{type:Object,value:new Date},_visibleMonthIndex:Number,_desktopMode:{type:Boolean,observer:"_desktopModeChanged"},_desktopMediaQuery:{type:String,value:"(min-width: 375px)"},_translateX:{observer:"_translateXChanged"},_yearScrollerWidth:{value:50},i18n:{type:Object},showWeekNumbers:{type:Boolean,value:!1},_ignoreTaps:Boolean,_notTapping:Boolean,minDate:{type:Object,sync:!0},maxDate:{type:Object,sync:!0},isDateDisabled:{type:Function},label:String,_cancelButton:{type:Object},_todayButton:{type:Object},calendars:{type:Array,value:()=>[]},years:{type:Array,value:()=>[]}}}static get observers(){return["__updateCalendars(calendars, i18n, minDate, maxDate, selectedDate, focusedDate, showWeekNumbers, _ignoreTaps, _theme, isDateDisabled)","__updateCancelButton(_cancelButton, i18n)","__updateTodayButton(_todayButton, i18n, minDate, maxDate, isDateDisabled)","__updateYears(years, selectedDate, _theme)"]}get __useSubMonthScrolling(){return this._monthScroller.clientHeight<this._monthScroller.itemHeight+this._monthScroller.bufferOffset}get focusableDateElement(){return this.calendars.map(e=>e.focusableDateElement).find(Boolean)}_addListeners(){ir(this.$.scrollers,"pan-y"),me(this.$.scrollers,"track",this._track.bind(this)),me(this.shadowRoot.querySelector('[part="clear-button"]'),"tap",this._clear.bind(this)),me(this.shadowRoot.querySelector('[part="toggle-button"]'),"tap",this._cancel.bind(this)),me(this.shadowRoot.querySelector('[part="years-toggle-button"]'),"tap",this._toggleYearScroller.bind(this))}_initControllers(){this.addController(new hr(this._desktopMediaQuery,e=>{this._desktopMode=e})),this.addController(new Pe(this,"today-button","vaadin-button",{observe:!1,initializer:e=>{e.setAttribute("theme","tertiary"),e.addEventListener("keydown",i=>this.__onTodayButtonKeyDown(i)),me(e,"tap",this._onTodayTap.bind(this)),this._todayButton=e}})),this.addController(new Pe(this,"cancel-button","vaadin-button",{observe:!1,initializer:e=>{e.setAttribute("theme","tertiary"),e.addEventListener("keydown",i=>this.__onCancelButtonKeyDown(i)),me(e,"tap",this._cancel.bind(this)),this._cancelButton=e}})),this.__initMonthScroller(),this.__initYearScroller()}reset(){this._closeYearScroller(),this._toggleAnimateClass(!0)}focusCancel(){this._cancelButton.focus()}scrollToDate(e,i){const s=this.__useSubMonthScrolling?this._calculateWeekScrollOffset(e):0;this._scrollToPosition(this._differenceInMonths(e,this._originDate)+s,i),this._monthScroller.forceUpdate()}__initMonthScroller(){this.addController(new Pe(this,"months","vaadin-date-picker-month-scroller",{observe:!1,initializer:e=>{e.addEventListener("custom-scroll",()=>{this._onMonthScroll()}),e.addEventListener("touchstart",()=>{this._onMonthScrollTouchStart()}),e.addEventListener("keydown",i=>{this.__onMonthCalendarKeyDown(i)}),e.addEventListener("init-done",()=>{const i=[...this.querySelectorAll("vaadin-month-calendar")];i.forEach(s=>{s.addEventListener("selected-date-changed",r=>{this.selectedDate=r.detail.value})}),this.calendars=i}),this._monthScroller=e}}))}__initYearScroller(){this.addController(new Pe(this,"years","vaadin-date-picker-year-scroller",{observe:!1,initializer:e=>{e.setAttribute("aria-hidden","true"),me(e,"tap",i=>{this._onYearTap(i)}),e.addEventListener("custom-scroll",()=>{this._onYearScroll()}),e.addEventListener("touchstart",()=>{this._onYearScrollTouchStart()}),e.addEventListener("init-done",()=>{this.years=[...this.querySelectorAll("vaadin-date-picker-year")]}),this._yearScroller=e}}))}__updateCancelButton(e,i){e&&(e.textContent=i&&i.cancel)}__updateTodayButton(e,i,s,r,n){e&&(e.textContent=i&&i.today,e.disabled=!this._isTodayAllowed(s,r,n))}__updateCalendars(e,i,s,r,n,a,l,d,u,h){e&&e.length&&e.forEach(p=>{p.i18n=i,p.minDate=s,p.maxDate=r,p.isDateDisabled=h,p.focusedDate=a,p.selectedDate=n,p.showWeekNumbers=l,p.ignoreTaps=d,u?p.setAttribute("theme",u):p.removeAttribute("theme")})}__updateYears(e,i,s){e&&e.length&&e.forEach(r=>{r.selectedDate=i,s?r.setAttribute("theme",s):r.removeAttribute("theme")})}_selectDate(e){return this._dateAllowed(e)?(this.selectedDate=e,this.dispatchEvent(new CustomEvent("date-selected",{detail:{date:e},bubbles:!0,composed:!0})),!0):!1}_desktopModeChanged(e){this.toggleAttribute("desktop",e)}_focusedDateChanged(e){this.revealDate(e)}revealDate(e,i=!0){if(!e)return;const s=this._differenceInMonths(e,this._originDate);if(this.__useSubMonthScrolling){const d=this._calculateWeekScrollOffset(e);this._scrollToPosition(s+d,i);return}const r=this._monthScroller.position>s,a=Math.max(this._monthScroller.itemHeight,this._monthScroller.clientHeight-this._monthScroller.bufferOffset*2)/this._monthScroller.itemHeight,l=this._monthScroller.position+a-1<s;r?this._scrollToPosition(s,i):l&&this._scrollToPosition(s-a+1,i)}_calculateWeekScrollOffset(e){const i=new Date(0,0);i.setFullYear(e.getFullYear()),i.setMonth(e.getMonth()),i.setDate(1);let s=0;for(;i.getDate()<e.getDate();)i.setDate(i.getDate()+1),i.getDay()===this.i18n.firstDayOfWeek&&(s+=1);return s/6}_initialPositionChanged(e){this._monthScroller&&this._yearScroller&&(this._monthScroller.active=!0,this._yearScroller.active=!0),this.scrollToDate(e)}_repositionYearScroller(){const e=this._monthScroller.position;this._visibleMonthIndex=Math.floor(e),this._yearScroller.position=(e+this._originDate.getMonth())/12}_repositionMonthScroller(){this._monthScroller.position=this._yearScroller.position*12-this._originDate.getMonth(),this._visibleMonthIndex=Math.floor(this._monthScroller.position)}_onMonthScroll(){this._repositionYearScroller(),this._doIgnoreTaps()}_onYearScroll(){this._repositionMonthScroller(),this._doIgnoreTaps()}_onYearScrollTouchStart(){this._notTapping=!1,setTimeout(()=>{this._notTapping=!0},300),this._repositionMonthScroller()}_onMonthScrollTouchStart(){this._repositionYearScroller()}_doIgnoreTaps(){this._ignoreTaps=!0,this._debouncer=Ue.debounce(this._debouncer,Tt.after(300),()=>{this._ignoreTaps=!1})}_formatDisplayed(e,i,s){return e&&i&&typeof i.formatDate=="function"?i.formatDate(Ui(e)):s}_onTodayTap(){const e=this._getTodayMidnight();Math.abs(this._monthScroller.position-this._differenceInMonths(e,this._originDate))<.001?(this._selectDate(e),this._close()):this._scrollToCurrentMonth()}_scrollToCurrentMonth(){this.focusedDate&&(this.focusedDate=new Date),this.scrollToDate(new Date,!0)}_onYearTap(e){if(!this._ignoreTaps&&!this._notTapping){const s=(e.detail.y-(this._yearScroller.getBoundingClientRect().top+this._yearScroller.clientHeight/2))/this._yearScroller.itemHeight;this._scrollToPosition(this._monthScroller.position+s*12,!0)}}_scrollToPosition(e,i){if(this._targetPosition!==void 0){this._targetPosition=e;return}if(!i){this._monthScroller.position=e,this._monthScroller.forceUpdate(),this._targetPosition=void 0,this._repositionYearScroller(),this.__tryFocusDate();return}this._targetPosition=e;let s;this._revealPromise=new Promise(d=>{s=d});const r=(d,u,h,p)=>(d/=p/2,d<1?h/2*d*d+u:(d-=1,-h/2*(d*(d-2)-1)+u));let n=0;const a=this._monthScroller.position,l=d=>{n||(n=d);const u=d-n;if(u<this.scrollDuration){const h=r(u,a,this._targetPosition-a,this.scrollDuration);this._monthScroller.position=h,window.requestAnimationFrame(l)}else this.dispatchEvent(new CustomEvent("scroll-animation-finished",{bubbles:!0,composed:!0,detail:{position:this._targetPosition,oldPosition:a}})),this._monthScroller.position=this._targetPosition,this._monthScroller.forceUpdate(),this._targetPosition=void 0,s(),this._revealPromise=void 0;setTimeout(this._repositionYearScroller.bind(this),1)};window.requestAnimationFrame(l)}_limit(e,i){return Math.min(i.max,Math.max(i.min,e))}_handleTrack(e){if(Math.abs(e.detail.dx)<10||Math.abs(e.detail.ddy)>10)return;Math.abs(e.detail.ddx)>this._yearScrollerWidth/3&&this._toggleAnimateClass(!0);const i=this._translateX+e.detail.ddx;this._translateX=this._limit(i,{min:0,max:this._yearScrollerWidth})}_track(e){if(!this._desktopMode)switch(e.detail.state){case"start":this._toggleAnimateClass(!1);break;case"track":this._handleTrack(e);break;case"end":this._toggleAnimateClass(!0),this._translateX>=this._yearScrollerWidth/2?this._closeYearScroller():this._openYearScroller();break}}_toggleAnimateClass(e){e?this.classList.add("animate"):this.classList.remove("animate")}_toggleYearScroller(){this._isYearScrollerVisible()?this._closeYearScroller():this._openYearScroller()}_openYearScroller(){this._translateX=0,this.setAttribute("years-visible","")}_closeYearScroller(){this.removeAttribute("years-visible"),this._translateX=this._yearScrollerWidth}_isYearScrollerVisible(){return this._translateX<this._yearScrollerWidth/2}_translateXChanged(e){this._desktopMode||(this._monthScroller.style.transform=`translateX(${e-this._yearScrollerWidth}px)`,this._yearScroller.style.transform=`translateX(${e}px)`)}_yearAfterXMonths(e){return nr(e).getFullYear()}_differenceInMonths(e,i){return(e.getFullYear()-i.getFullYear())*12-i.getMonth()+e.getMonth()}_clear(){this._selectDate("")}_close(){this.dispatchEvent(new CustomEvent("close",{bubbles:!0,composed:!0}))}_cancel(){this.focusedDate=this.selectedDate,this._close()}_preventDefault(e){e.preventDefault()}__toggleDate(e){ve(e,this.selectedDate)?(this._clear(),this.focusedDate=e):this._selectDate(e)}__onMonthCalendarKeyDown(e){let i=!1;switch(e.key){case"ArrowDown":this._moveFocusByDays(7),i=!0;break;case"ArrowUp":this._moveFocusByDays(-7),i=!0;break;case"ArrowRight":this._moveFocusByDays(this.__isRTL?-1:1),i=!0;break;case"ArrowLeft":this._moveFocusByDays(this.__isRTL?1:-1),i=!0;break;case"Enter":this._selectDate(this.focusedDate)&&(this._close(),i=!0);break;case" ":this.__toggleDate(this.focusedDate),i=!0;break;case"Home":this._moveFocusInsideMonth(this.focusedDate,"minDate"),i=!0;break;case"End":this._moveFocusInsideMonth(this.focusedDate,"maxDate"),i=!0;break;case"PageDown":this._moveFocusByMonths(e.shiftKey?12:1),i=!0;break;case"PageUp":this._moveFocusByMonths(e.shiftKey?-12:-1),i=!0;break;case"Tab":this._onTabKeyDown(e,"calendar");break}i&&(e.preventDefault(),e.stopPropagation())}_onTabKeyDown(e,i){switch(e.stopPropagation(),i){case"calendar":e.shiftKey&&(e.preventDefault(),this.hasAttribute("fullscreen")?this.focusCancel():this.__focusInput());break;case"today":e.shiftKey&&(e.preventDefault(),this.focusDateElement());break;case"cancel":e.shiftKey||(e.preventDefault(),this.hasAttribute("fullscreen")?this.focusDateElement():this.__focusInput());break}}__onTodayButtonKeyDown(e){e.key==="Tab"&&this._onTabKeyDown(e,"today")}__onCancelButtonKeyDown(e){e.key==="Tab"&&this._onTabKeyDown(e,"cancel")}__focusInput(){this.dispatchEvent(new CustomEvent("focus-input",{bubbles:!0,composed:!0}))}__tryFocusDate(){if(this.__pendingDateFocus){const i=this.focusableDateElement;i&&ve(i.date,this.__pendingDateFocus)&&(delete this.__pendingDateFocus,i.focus())}}focusDate(e,i){return Ke(this,null,function*(){const s=e||this.selectedDate||this.initialPosition||new Date;this.focusedDate=s,i||(this._focusedMonthDate=s.getDate()),yield this.focusDateElement(!1)})}focusDateElement(e=!0){return Ke(this,null,function*(){this.__pendingDateFocus=this.focusedDate,this.calendars.length||(yield new Promise(i=>{js(this,()=>{Vi(),i()})})),e&&this.revealDate(this.focusedDate),this._revealPromise&&(yield this._revealPromise),this.__tryFocusDate()})}_focusClosestDate(e){this.focusDate(rr(e,[this.minDate,this.maxDate]))}_focusAllowedDate(e,i,s){this._dateAllowed(e,void 0,void 0,()=>!1)?this.focusDate(e,s):this._dateAllowed(this.focusedDate)?i>0?this.focusDate(this.maxDate):this.focusDate(this.minDate):this._focusClosestDate(this.focusedDate)}_getDateDiff(e,i){const s=new Date(0,0);return s.setFullYear(this.focusedDate.getFullYear()),s.setMonth(this.focusedDate.getMonth()+e),i&&s.setDate(this.focusedDate.getDate()+i),s}_moveFocusByDays(e){const i=this._getDateDiff(0,e);this._focusAllowedDate(i,e,!1)}_moveFocusByMonths(e){const i=this._getDateDiff(e),s=i.getMonth();this._focusedMonthDate||(this._focusedMonthDate=this.focusedDate.getDate()),i.setDate(this._focusedMonthDate),i.getMonth()!==s&&i.setDate(0),this._focusAllowedDate(i,e,!0)}_moveFocusInsideMonth(e,i){const s=new Date(0,0);s.setFullYear(e.getFullYear()),i==="minDate"?(s.setMonth(e.getMonth()),s.setDate(1)):(s.setMonth(e.getMonth()+1),s.setDate(0)),this._dateAllowed(s)?this.focusDate(s):this._dateAllowed(e)?this.focusDate(this[i]):this._focusClosestDate(e)}_dateAllowed(e,i=this.minDate,s=this.maxDate,r=this.isDateDisabled){return Ve(e,i,s,r)}_isTodayAllowed(e,i,s){return this._dateAllowed(this._getTodayMidnight(),e,i,s)}_getTodayMidnight(){const e=new Date,i=new Date(0,0);return i.setFullYear(e.getFullYear()),i.setMonth(e.getMonth()),i.setDate(e.getDate()),i}};/**
3241
3241
  * @license
3242
3242
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
3243
3243
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -3389,11 +3389,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3389
3389
  * @license
3390
3390
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
3391
3391
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3392
- */const vr=Q(o=>class extends Kc(gr(fr(o))){static get constraints(){return["required"]}static get delegateAttrs(){return[...super.delegateAttrs,"required"]}ready(){super.ready(),this._createConstraintsObserver()}checkValidity(){return this.inputElement&&this._hasValidConstraints(this.constructor.constraints.map(e=>this[e]))?this.inputElement.checkValidity():!this.invalid}_hasValidConstraints(e){return e.some(i=>this.__isValidConstraint(i))}_createConstraintsObserver(){this._createMethodObserver(`_constraintsChanged(stateTarget, ${this.constructor.constraints.join(", ")})`)}_constraintsChanged(e,...i){if(!e)return;const s=this._hasValidConstraints(i),r=this.__previousHasConstraints&&!s;(this._hasValue||this.invalid)&&s?this.validate():r&&this._setInvalid(!1),this.__previousHasConstraints=s}_onChange(e){e.stopPropagation(),this.validate(),this.dispatchEvent(new CustomEvent("change",{detail:{sourceEvent:e},bubbles:e.bubbles,cancelable:e.cancelable}))}__isValidConstraint(e){return!!e||e===0}});/**
3392
+ */const br=Q(o=>class extends Kc(gr(fr(o))){static get constraints(){return["required"]}static get delegateAttrs(){return[...super.delegateAttrs,"required"]}ready(){super.ready(),this._createConstraintsObserver()}checkValidity(){return this.inputElement&&this._hasValidConstraints(this.constructor.constraints.map(e=>this[e]))?this.inputElement.checkValidity():!this.invalid}_hasValidConstraints(e){return e.some(i=>this.__isValidConstraint(i))}_createConstraintsObserver(){this._createMethodObserver(`_constraintsChanged(stateTarget, ${this.constructor.constraints.join(", ")})`)}_constraintsChanged(e,...i){if(!e)return;const s=this._hasValidConstraints(i),r=this.__previousHasConstraints&&!s;(this._hasValue||this.invalid)&&s?this.validate():r&&this._setInvalid(!1),this.__previousHasConstraints=s}_onChange(e){e.stopPropagation(),this.validate(),this.dispatchEvent(new CustomEvent("change",{detail:{sourceEvent:e},bubbles:e.bubbles,cancelable:e.cancelable}))}__isValidConstraint(e){return!!e||e===0}});/**
3393
3393
  * @license
3394
3394
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
3395
3395
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3396
- */const Gc=o=>class extends Fc(pr(vr(qc($c($t(o)))))){static get properties(){return{allowedCharPattern:{type:String,observer:"_allowedCharPatternChanged"},autoselect:{type:Boolean,value:!1},name:{type:String,reflectToAttribute:!0},placeholder:{type:String,reflectToAttribute:!0},readonly:{type:Boolean,value:!1,reflectToAttribute:!0},title:{type:String,reflectToAttribute:!0}}}static get delegateAttrs(){return[...super.delegateAttrs,"name","type","placeholder","readonly","invalid","title"]}constructor(){super(),this._boundOnPaste=this._onPaste.bind(this),this._boundOnDrop=this._onDrop.bind(this),this._boundOnBeforeInput=this._onBeforeInput.bind(this)}get slotStyles(){return[`
3396
+ */const Gc=o=>class extends Fc(pr(br(qc($c($t(o)))))){static get properties(){return{allowedCharPattern:{type:String,observer:"_allowedCharPatternChanged"},autoselect:{type:Boolean,value:!1},name:{type:String,reflectToAttribute:!0},placeholder:{type:String,reflectToAttribute:!0},readonly:{type:Boolean,value:!1,reflectToAttribute:!0},title:{type:String,reflectToAttribute:!0}}}static get delegateAttrs(){return[...super.delegateAttrs,"name","type","placeholder","readonly","invalid","title"]}constructor(){super(),this._boundOnPaste=this._onPaste.bind(this),this._boundOnDrop=this._onDrop.bind(this),this._boundOnBeforeInput=this._onBeforeInput.bind(this)}get slotStyles(){return[`
3397
3397
  :is(input[slot='input'], textarea[slot='textarea'])::placeholder {
3398
3398
  font: inherit;
3399
3399
  color: inherit;
@@ -3489,7 +3489,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3489
3489
  * @license
3490
3490
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
3491
3491
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3492
- */const sd=o=>class extends id(qe(pr(vr($t(o))))){static get properties(){return{_selectedDate:{type:Object,sync:!0},_focusedDate:{type:Object,sync:!0},value:{type:String,notify:!0,value:"",sync:!0},initialPosition:String,opened:{type:Boolean,reflectToAttribute:!0,notify:!0,observer:"_openedChanged",sync:!0},autoOpenDisabled:Boolean,showWeekNumbers:{type:Boolean,value:!1,sync:!0},_fullscreen:{type:Boolean,value:!1,sync:!0},_fullscreenMediaQuery:{value:"(max-width: 450px), (max-height: 450px)"},i18n:{type:Object,sync:!0,value:()=>({monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],firstDayOfWeek:0,today:"Today",cancel:"Cancel",referenceDate:"",formatDate(e){const i=String(e.year).replace(/\d+/u,s=>"0000".substr(s.length)+s);return[e.month+1,e.day,i].join("/")},parseDate(e){const i=e.split("/"),s=new Date;let r,n=s.getMonth(),a=s.getFullYear();if(i.length===3){if(n=parseInt(i[0])-1,r=parseInt(i[1]),a=parseInt(i[2]),i[2].length<3&&a>=0){const l=this.referenceDate?Qe(this.referenceDate):new Date;a=sc(l,a,n,r)}}else i.length===2?(n=parseInt(i[0])-1,r=parseInt(i[1])):i.length===1&&(r=parseInt(i[0]));if(r!==void 0)return{day:r,month:n,year:a}},formatTitle:(e,i)=>`${e} ${i}`})},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:Us},_focusOverlayOnOpen:Boolean,_overlayContent:{type:Object,sync:!0},_hasInputValue:{type:Boolean}}}static get observers(){return["_selectedDateChanged(_selectedDate, i18n)","_focusedDateChanged(_focusedDate, i18n)","__updateOverlayContent(_overlayContent, i18n, label, _minDate, _maxDate, _focusedDate, _selectedDate, showWeekNumbers, isDateDisabled)","__updateOverlayContentTheme(_overlayContent, _theme)","__updateOverlayContentFullScreen(_overlayContent, _fullscreen)"]}static get constraints(){return[...super.constraints,"min","max"]}constructor(){super(),this._boundOnClick=this._onClick.bind(this),this._boundOnScroll=this._onScroll.bind(this),this._boundOverlayRenderer=this._overlayRenderer.bind(this)}get _inputElementValue(){return super._inputElementValue}set _inputElementValue(e){super._inputElementValue=e,this._hasInputValue=!1}get clearElement(){return null}get _nativeInput(){return this.inputElement?this.inputElement.focusElement||this.inputElement:null}get __unparsableValue(){return!this._inputElementValue||this.__parseDate(this._inputElementValue)?"":this._inputElementValue}_onFocus(e){super._onFocus(e),this._noInput&&!Fi()&&e.target.blur()}_onBlur(e){super._onBlur(e),this.opened||(this.__commitParsedOrFocusedDate(),document.hasFocus()&&this.validate())}ready(){super.ready(),this.addEventListener("click",this._boundOnClick),this.addController(new hr(this._fullscreenMediaQuery,i=>{this._fullscreen=i})),this.addController(new od(this));const e=this.$.overlay;this._overlayElement=e,e.renderer=this._boundOverlayRenderer,this.addEventListener("mousedown",()=>this.__bringToFront()),this.addEventListener("touchstart",()=>this.__bringToFront())}disconnectedCallback(){super.disconnectedCallback(),this.opened=!1}open(){!this.disabled&&!this.readonly&&(this.opened=!0)}close(){this.$.overlay.close()}_overlayRenderer(e){if(e.firstChild)return;const i=document.createElement("vaadin-date-picker-overlay-content");e.appendChild(i),this._overlayContent=i,i.addEventListener("close",()=>{this._close()}),i.addEventListener("focus-input",this._focusAndSelect.bind(this)),i.addEventListener("date-tap",s=>{this.__commitDate(s.detail.date),this._close()}),i.addEventListener("date-selected",s=>{this.__commitDate(s.detail.date)}),i.addEventListener("focusin",()=>{this._keyboardActive&&this._setFocused(!0)}),i.addEventListener("focusout",s=>{this._shouldRemoveFocus(s)&&this._setFocused(!1)}),i.addEventListener("focused-date-changed",s=>{this._focusedDate=s.detail.value}),i.addEventListener("click",s=>s.stopPropagation())}__parseDate(e){if(!this.i18n.parseDate)return;let i=this.i18n.parseDate(e);if(i&&(i=Qe(`${i.year}-${i.month+1}-${i.day}`)),i&&!isNaN(i.getTime()))return i}__formatDate(e){if(this.i18n.formatDate)return this.i18n.formatDate(Ui(e))}checkValidity(){const e=this._inputElementValue,i=!e||!!this._selectedDate&&e===this.__formatDate(this._selectedDate),s=!this._selectedDate||Ve(this._selectedDate,this._minDate,this._maxDate,this.isDateDisabled);let r=!0;return this.inputElement&&(this.inputElement.checkValidity?r=this.inputElement.checkValidity():this.inputElement.validate&&(r=this.inputElement.validate())),i&&s&&r}_shouldSetFocus(e){return!this._shouldKeepFocusRing}_shouldRemoveFocus(e){const{relatedTarget:i}=e;return this.opened&&i!==null&&i!==document.body&&!this.contains(i)&&!this._overlayContent.contains(i)?!0:!this.opened}_setFocused(e){super._setFocused(e),this._shouldKeepFocusRing=e&&this._keyboardActive}__commitValueChange(){const e=this.__unparsableValue;this.__committedValue!==this.value?(this.validate(),this.dispatchEvent(new CustomEvent("change",{bubbles:!0}))):this.__committedUnparsableValue!==e&&(this.validate(),this.dispatchEvent(new CustomEvent("unparsable-change"))),this.__committedValue=this.value,this.__committedUnparsableValue=e}__commitDate(e){this.__keepCommittedValue=!0,this._selectedDate=e,this.__keepCommittedValue=!1,this.__commitValueChange()}_close(){this._focus(),this.close()}__bringToFront(){requestAnimationFrame(()=>{this.$.overlay.bringToFront()})}_isNoInput(e,i,s,r,n,a){return!e||i&&(!a||n)||s&&n||!r.parseDate}_formatISO(e){return nc(e)}_inputElementChanged(e){super._inputElementChanged(e),e&&(e.autocomplete="off",e.setAttribute("role","combobox"),e.setAttribute("aria-haspopup","dialog"),e.setAttribute("aria-expanded",!!this.opened),this._applyInputValue(this._selectedDate))}_openedChanged(e){this.inputElement&&this.inputElement.setAttribute("aria-expanded",e)}_selectedDateChanged(e,i){e===void 0||i===void 0||(this.__keepInputValue||this._applyInputValue(e),this.value=this._formatISO(e),this._ignoreFocusedDateChange=!0,this._focusedDate=e,this._ignoreFocusedDateChange=!1)}_focusedDateChanged(e,i){e===void 0||i===void 0||!this._ignoreFocusedDateChange&&!this._noInput&&this._applyInputValue(e)}_valueChanged(e,i){const s=Qe(e);if(e&&!s){this.value=i;return}e?ye(this._selectedDate,s)||(this._selectedDate=s,i!==void 0&&this.validate()):this._selectedDate=null,this.__keepCommittedValue||(this.__committedValue=this.value,this.__committedUnparsableValue=""),this._toggleHasValue(this._hasValue)}__updateOverlayContent(e,i,s,r,n,a,l,d,u){e&&(e.i18n=i,e.label=s,e.minDate=r,e.maxDate=n,e.focusedDate=a,e.selectedDate=l,e.showWeekNumbers=d,e.isDateDisabled=u)}__updateOverlayContentTheme(e,i){e&&(i?e.setAttribute("theme",i):e.removeAttribute("theme"))}__updateOverlayContentFullScreen(e,i){e&&e.toggleAttribute("fullscreen",i)}_onOverlayEscapePress(){this._focusedDate=this._selectedDate,this._closedByEscape=!0,this._close(),this._closedByEscape=!1}_onOverlayOpened(){const e=this._overlayContent;e.reset();const i=this._getInitialPosition();e.initialPosition=i;const s=e.focusedDate||i;e.scrollToDate(s),this._ignoreFocusedDateChange=!0,e.focusedDate=s,this._ignoreFocusedDateChange=!1,window.addEventListener("scroll",this._boundOnScroll,!0),this._focusOverlayOnOpen?(e.focusDateElement(),this._focusOverlayOnOpen=!1):this._focus();const r=this._nativeInput;this._noInput&&r&&(r.blur(),this._overlayContent.focusDateElement());const n=this._noInput?e:[r,e];this.__showOthers=Vs(n)}_getInitialPosition(){const e=Qe(this.initialPosition),i=this._selectedDate||this._overlayContent.initialPosition||e||new Date;return e||Ve(i,this._minDate,this._maxDate,this.isDateDisabled)?i:this._minDate||this._maxDate?rr(i,[this._minDate,this._maxDate]):new Date}__commitParsedOrFocusedDate(){if(this._ignoreFocusedDateChange=!0,this.i18n.parseDate){const e=this._inputElementValue||"",i=this.__parseDate(e);i?this.__commitDate(i):(this.__keepInputValue=!0,this.__commitDate(null),this.__keepInputValue=!1)}else this._focusedDate&&this.__commitDate(this._focusedDate);this._ignoreFocusedDateChange=!1}_onOverlayClosed(){this.__showOthers&&(this.__showOthers(),this.__showOthers=null),window.removeEventListener("scroll",this._boundOnScroll,!0),this._closedByEscape&&this._applyInputValue(this._selectedDate),this.__commitParsedOrFocusedDate(),this._nativeInput&&this._nativeInput.selectionStart&&(this._nativeInput.selectionStart=this._nativeInput.selectionEnd),!this.value&&!this._keyboardActive&&this.validate()}_onScroll(e){(e.target===window||!this._overlayContent.contains(e.target))&&this._overlayContent._repositionYearScroller()}_focus(){this._noInput||this.inputElement.focus()}_focusAndSelect(){this._focus(),this._setSelectionRange(0,this._inputElementValue.length)}_applyInputValue(e){this._inputElementValue=e?this.__formatDate(e):""}_setSelectionRange(e,i){this._nativeInput&&this._nativeInput.setSelectionRange&&this._nativeInput.setSelectionRange(e,i)}_onChange(e){e.stopPropagation()}_onClick(e){this._isClearButton(e)||this._onHostClick(e)}_onHostClick(e){(!this.autoOpenDisabled||this._noInput)&&(e.preventDefault(),this.open())}_onClearButtonClick(e){e.preventDefault(),this.__commitDate(null)}_onKeyDown(e){switch(super._onKeyDown(e),this._noInput&&[9].indexOf(e.keyCode)===-1&&e.preventDefault(),e.key){case"ArrowDown":case"ArrowUp":e.preventDefault(),this.opened?this._overlayContent.focusDateElement():(this._focusOverlayOnOpen=!0,this.open());break;case"Tab":this.opened&&(e.preventDefault(),e.stopPropagation(),this._setSelectionRange(0,0),e.shiftKey?this._overlayContent.focusCancel():this._overlayContent.focusDateElement());break}}_onEnter(e){this.opened?this.close():this.__commitParsedOrFocusedDate()}_onEscape(e){if(!this.opened){if(this.clearButtonVisible&&this.value&&!this.readonly){e.stopPropagation(),this._onClearButtonClick(e);return}this.inputElement.value===""?this.__commitDate(null):this._applyInputValue(this._selectedDate)}}_isClearButton(e){return e.composedPath()[0]===this.clearElement}_onInput(){if(!this.opened&&this._inputElementValue&&!this.autoOpenDisabled&&this.open(),this._inputElementValue){const e=this.__parseDate(this._inputElementValue);e&&(this._ignoreFocusedDateChange=!0,ye(e,this._focusedDate)||(this._focusedDate=e),this._ignoreFocusedDateChange=!1)}}__computeMinOrMaxDate(e){return Qe(e)}};/**
3492
+ */const sd=o=>class extends id(qe(pr(br($t(o))))){static get properties(){return{_selectedDate:{type:Object,sync:!0},_focusedDate:{type:Object,sync:!0},value:{type:String,notify:!0,value:"",sync:!0},initialPosition:String,opened:{type:Boolean,reflectToAttribute:!0,notify:!0,observer:"_openedChanged",sync:!0},autoOpenDisabled:Boolean,showWeekNumbers:{type:Boolean,value:!1,sync:!0},_fullscreen:{type:Boolean,value:!1,sync:!0},_fullscreenMediaQuery:{value:"(max-width: 450px), (max-height: 450px)"},i18n:{type:Object,sync:!0,value:()=>({monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],firstDayOfWeek:0,today:"Today",cancel:"Cancel",referenceDate:"",formatDate(e){const i=String(e.year).replace(/\d+/u,s=>"0000".substr(s.length)+s);return[e.month+1,e.day,i].join("/")},parseDate(e){const i=e.split("/"),s=new Date;let r,n=s.getMonth(),a=s.getFullYear();if(i.length===3){if(n=parseInt(i[0])-1,r=parseInt(i[1]),a=parseInt(i[2]),i[2].length<3&&a>=0){const l=this.referenceDate?Qe(this.referenceDate):new Date;a=sc(l,a,n,r)}}else i.length===2?(n=parseInt(i[0])-1,r=parseInt(i[1])):i.length===1&&(r=parseInt(i[0]));if(r!==void 0)return{day:r,month:n,year:a}},formatTitle:(e,i)=>`${e} ${i}`})},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:Us},_focusOverlayOnOpen:Boolean,_overlayContent:{type:Object,sync:!0},_hasInputValue:{type:Boolean}}}static get observers(){return["_selectedDateChanged(_selectedDate, i18n)","_focusedDateChanged(_focusedDate, i18n)","__updateOverlayContent(_overlayContent, i18n, label, _minDate, _maxDate, _focusedDate, _selectedDate, showWeekNumbers, isDateDisabled)","__updateOverlayContentTheme(_overlayContent, _theme)","__updateOverlayContentFullScreen(_overlayContent, _fullscreen)"]}static get constraints(){return[...super.constraints,"min","max"]}constructor(){super(),this._boundOnClick=this._onClick.bind(this),this._boundOnScroll=this._onScroll.bind(this),this._boundOverlayRenderer=this._overlayRenderer.bind(this)}get _inputElementValue(){return super._inputElementValue}set _inputElementValue(e){super._inputElementValue=e,this._hasInputValue=!1}get clearElement(){return null}get _nativeInput(){return this.inputElement?this.inputElement.focusElement||this.inputElement:null}get __unparsableValue(){return!this._inputElementValue||this.__parseDate(this._inputElementValue)?"":this._inputElementValue}_onFocus(e){super._onFocus(e),this._noInput&&!Fi()&&e.target.blur()}_onBlur(e){super._onBlur(e),this.opened||(this.__commitParsedOrFocusedDate(),document.hasFocus()&&this.validate())}ready(){super.ready(),this.addEventListener("click",this._boundOnClick),this.addController(new hr(this._fullscreenMediaQuery,i=>{this._fullscreen=i})),this.addController(new od(this));const e=this.$.overlay;this._overlayElement=e,e.renderer=this._boundOverlayRenderer,this.addEventListener("mousedown",()=>this.__bringToFront()),this.addEventListener("touchstart",()=>this.__bringToFront())}disconnectedCallback(){super.disconnectedCallback(),this.opened=!1}open(){!this.disabled&&!this.readonly&&(this.opened=!0)}close(){this.$.overlay.close()}_overlayRenderer(e){if(e.firstChild)return;const i=document.createElement("vaadin-date-picker-overlay-content");e.appendChild(i),this._overlayContent=i,i.addEventListener("close",()=>{this._close()}),i.addEventListener("focus-input",this._focusAndSelect.bind(this)),i.addEventListener("date-tap",s=>{this.__commitDate(s.detail.date),this._close()}),i.addEventListener("date-selected",s=>{this.__commitDate(s.detail.date)}),i.addEventListener("focusin",()=>{this._keyboardActive&&this._setFocused(!0)}),i.addEventListener("focusout",s=>{this._shouldRemoveFocus(s)&&this._setFocused(!1)}),i.addEventListener("focused-date-changed",s=>{this._focusedDate=s.detail.value}),i.addEventListener("click",s=>s.stopPropagation())}__parseDate(e){if(!this.i18n.parseDate)return;let i=this.i18n.parseDate(e);if(i&&(i=Qe(`${i.year}-${i.month+1}-${i.day}`)),i&&!isNaN(i.getTime()))return i}__formatDate(e){if(this.i18n.formatDate)return this.i18n.formatDate(Ui(e))}checkValidity(){const e=this._inputElementValue,i=!e||!!this._selectedDate&&e===this.__formatDate(this._selectedDate),s=!this._selectedDate||Ve(this._selectedDate,this._minDate,this._maxDate,this.isDateDisabled);let r=!0;return this.inputElement&&(this.inputElement.checkValidity?r=this.inputElement.checkValidity():this.inputElement.validate&&(r=this.inputElement.validate())),i&&s&&r}_shouldSetFocus(e){return!this._shouldKeepFocusRing}_shouldRemoveFocus(e){const{relatedTarget:i}=e;return this.opened&&i!==null&&i!==document.body&&!this.contains(i)&&!this._overlayContent.contains(i)?!0:!this.opened}_setFocused(e){super._setFocused(e),this._shouldKeepFocusRing=e&&this._keyboardActive}__commitValueChange(){const e=this.__unparsableValue;this.__committedValue!==this.value?(this.validate(),this.dispatchEvent(new CustomEvent("change",{bubbles:!0}))):this.__committedUnparsableValue!==e&&(this.validate(),this.dispatchEvent(new CustomEvent("unparsable-change"))),this.__committedValue=this.value,this.__committedUnparsableValue=e}__commitDate(e){this.__keepCommittedValue=!0,this._selectedDate=e,this.__keepCommittedValue=!1,this.__commitValueChange()}_close(){this._focus(),this.close()}__bringToFront(){requestAnimationFrame(()=>{this.$.overlay.bringToFront()})}_isNoInput(e,i,s,r,n,a){return!e||i&&(!a||n)||s&&n||!r.parseDate}_formatISO(e){return nc(e)}_inputElementChanged(e){super._inputElementChanged(e),e&&(e.autocomplete="off",e.setAttribute("role","combobox"),e.setAttribute("aria-haspopup","dialog"),e.setAttribute("aria-expanded",!!this.opened),this._applyInputValue(this._selectedDate))}_openedChanged(e){this.inputElement&&this.inputElement.setAttribute("aria-expanded",e)}_selectedDateChanged(e,i){e===void 0||i===void 0||(this.__keepInputValue||this._applyInputValue(e),this.value=this._formatISO(e),this._ignoreFocusedDateChange=!0,this._focusedDate=e,this._ignoreFocusedDateChange=!1)}_focusedDateChanged(e,i){e===void 0||i===void 0||!this._ignoreFocusedDateChange&&!this._noInput&&this._applyInputValue(e)}_valueChanged(e,i){const s=Qe(e);if(e&&!s){this.value=i;return}e?ve(this._selectedDate,s)||(this._selectedDate=s,i!==void 0&&this.validate()):this._selectedDate=null,this.__keepCommittedValue||(this.__committedValue=this.value,this.__committedUnparsableValue=""),this._toggleHasValue(this._hasValue)}__updateOverlayContent(e,i,s,r,n,a,l,d,u){e&&(e.i18n=i,e.label=s,e.minDate=r,e.maxDate=n,e.focusedDate=a,e.selectedDate=l,e.showWeekNumbers=d,e.isDateDisabled=u)}__updateOverlayContentTheme(e,i){e&&(i?e.setAttribute("theme",i):e.removeAttribute("theme"))}__updateOverlayContentFullScreen(e,i){e&&e.toggleAttribute("fullscreen",i)}_onOverlayEscapePress(){this._focusedDate=this._selectedDate,this._closedByEscape=!0,this._close(),this._closedByEscape=!1}_onOverlayOpened(){const e=this._overlayContent;e.reset();const i=this._getInitialPosition();e.initialPosition=i;const s=e.focusedDate||i;e.scrollToDate(s),this._ignoreFocusedDateChange=!0,e.focusedDate=s,this._ignoreFocusedDateChange=!1,window.addEventListener("scroll",this._boundOnScroll,!0),this._focusOverlayOnOpen?(e.focusDateElement(),this._focusOverlayOnOpen=!1):this._focus();const r=this._nativeInput;this._noInput&&r&&(r.blur(),this._overlayContent.focusDateElement());const n=this._noInput?e:[r,e];this.__showOthers=Vs(n)}_getInitialPosition(){const e=Qe(this.initialPosition),i=this._selectedDate||this._overlayContent.initialPosition||e||new Date;return e||Ve(i,this._minDate,this._maxDate,this.isDateDisabled)?i:this._minDate||this._maxDate?rr(i,[this._minDate,this._maxDate]):new Date}__commitParsedOrFocusedDate(){if(this._ignoreFocusedDateChange=!0,this.i18n.parseDate){const e=this._inputElementValue||"",i=this.__parseDate(e);i?this.__commitDate(i):(this.__keepInputValue=!0,this.__commitDate(null),this.__keepInputValue=!1)}else this._focusedDate&&this.__commitDate(this._focusedDate);this._ignoreFocusedDateChange=!1}_onOverlayClosed(){this.__showOthers&&(this.__showOthers(),this.__showOthers=null),window.removeEventListener("scroll",this._boundOnScroll,!0),this._closedByEscape&&this._applyInputValue(this._selectedDate),this.__commitParsedOrFocusedDate(),this._nativeInput&&this._nativeInput.selectionStart&&(this._nativeInput.selectionStart=this._nativeInput.selectionEnd),!this.value&&!this._keyboardActive&&this.validate()}_onScroll(e){(e.target===window||!this._overlayContent.contains(e.target))&&this._overlayContent._repositionYearScroller()}_focus(){this._noInput||this.inputElement.focus()}_focusAndSelect(){this._focus(),this._setSelectionRange(0,this._inputElementValue.length)}_applyInputValue(e){this._inputElementValue=e?this.__formatDate(e):""}_setSelectionRange(e,i){this._nativeInput&&this._nativeInput.setSelectionRange&&this._nativeInput.setSelectionRange(e,i)}_onChange(e){e.stopPropagation()}_onClick(e){this._isClearButton(e)||this._onHostClick(e)}_onHostClick(e){(!this.autoOpenDisabled||this._noInput)&&(e.preventDefault(),this.open())}_onClearButtonClick(e){e.preventDefault(),this.__commitDate(null)}_onKeyDown(e){switch(super._onKeyDown(e),this._noInput&&[9].indexOf(e.keyCode)===-1&&e.preventDefault(),e.key){case"ArrowDown":case"ArrowUp":e.preventDefault(),this.opened?this._overlayContent.focusDateElement():(this._focusOverlayOnOpen=!0,this.open());break;case"Tab":this.opened&&(e.preventDefault(),e.stopPropagation(),this._setSelectionRange(0,0),e.shiftKey?this._overlayContent.focusCancel():this._overlayContent.focusDateElement());break}}_onEnter(e){this.opened?this.close():this.__commitParsedOrFocusedDate()}_onEscape(e){if(!this.opened){if(this.clearButtonVisible&&this.value&&!this.readonly){e.stopPropagation(),this._onClearButtonClick(e);return}this.inputElement.value===""?this.__commitDate(null):this._applyInputValue(this._selectedDate)}}_isClearButton(e){return e.composedPath()[0]===this.clearElement}_onInput(){if(!this.opened&&this._inputElementValue&&!this.autoOpenDisabled&&this.open(),this._inputElementValue){const e=this.__parseDate(this._inputElementValue);e&&(this._ignoreFocusedDateChange=!0,ve(e,this._focusedDate)||(this._focusedDate=e),this._ignoreFocusedDateChange=!1)}}__computeMinOrMaxDate(e){return Qe(e)}};/**
3493
3493
  * @license
3494
3494
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
3495
3495
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -3552,4 +3552,4 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3552
3552
  ></vaadin-date-picker-overlay>
3553
3553
 
3554
3554
  <slot name="tooltip"></slot>
3555
- `}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new Jc(this,e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e},{uniqueIdPrefix:"search-input"})),this.addController(new Xc(this.inputElement,this._labelController)),this._tooltipController=new Zs(this),this.addController(this._tooltipController),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this._tooltipController.setShouldShow(e=>!e.opened),this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown",e=>e.preventDefault()),this.$.overlay.addEventListener("vaadin-overlay-close",this._onVaadinOverlayClose.bind(this))}_onVaadinOverlayClose(t){t.detail.sourceEvent&&t.detail.sourceEvent.composedPath().includes(this)&&t.preventDefault()}_toggle(t){t.stopPropagation(),this.$.overlay.opened?this.close():this.open()}_openedChanged(t){super._openedChanged(t),this.$.overlay.positionTarget=this.shadowRoot.querySelector('[part="input-field"]'),this.$.overlay.noVerticalOverlap=!0}}ge(nd);if(typeof window!="undefined"){let o=function(t){return function(...e){try{return t.apply(this,e)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=o(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGeneralConfirmationModal-BiNxgQbD.cjs")).then(({default:t})=>{!customElements.get("player-account-general-confirmation-modal")&&customElements.define("player-account-general-confirmation-modal",t.element)})}var br={exports:{}};(function(o,t){(function(e,i){o.exports=i()})(c.commonjsGlobal,function(){var e=1e3,i=6e4,s=36e5,r="millisecond",n="second",a="minute",l="hour",d="day",u="week",h="month",p="quarter",f="year",b="date",m="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,D=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,A={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(E){var v=["th","st","nd","rd"],_=E%100;return"["+E+(v[(_-20)%10]||v[_]||v[0])+"]"}},I=function(E,v,_){var x=String(E);return!x||x.length>=v?E:""+Array(v+1-x.length).join(_)+E},M={s:I,z:function(E){var v=-E.utcOffset(),_=Math.abs(v),x=Math.floor(_/60),g=_%60;return(v<=0?"+":"-")+I(x,2,"0")+":"+I(g,2,"0")},m:function E(v,_){if(v.date()<_.date())return-E(_,v);var x=12*(_.year()-v.year())+(_.month()-v.month()),g=v.clone().add(x,h),S=_-g<0,C=v.clone().add(x+(S?-1:1),h);return+(-(x+(_-g)/(S?g-C:C-g))||0)},a:function(E){return E<0?Math.ceil(E)||0:Math.floor(E)},p:function(E){return{M:h,y:f,w:u,d,D:b,h:l,m:a,s:n,ms:r,Q:p}[E]||String(E||"").toLowerCase().replace(/s$/,"")},u:function(E){return E===void 0}},N="en",W={};W[N]=A;var X="$isDayjsObject",U=function(E){return E instanceof V||!(!E||!E[X])},q=function E(v,_,x){var g;if(!v)return N;if(typeof v=="string"){var S=v.toLowerCase();W[S]&&(g=S),_&&(W[S]=_,g=S);var C=v.split("-");if(!g&&C.length>1)return E(C[0])}else{var O=v.name;W[O]=v,g=O}return!x&&g&&(N=g),g||!x&&N},P=function(E,v){if(U(E))return E.clone();var _=typeof v=="object"?v:{};return _.date=E,_.args=arguments,new V(_)},T=M;T.l=q,T.i=U,T.w=function(E,v){return P(E,{locale:v.$L,utc:v.$u,x:v.$x,$offset:v.$offset})};var V=function(){function E(_){this.$L=q(_.locale,null,!0),this.parse(_),this.$x=this.$x||_.x||{},this[X]=!0}var v=E.prototype;return v.parse=function(_){this.$d=function(x){var g=x.date,S=x.utc;if(g===null)return new Date(NaN);if(T.u(g))return new Date;if(g instanceof Date)return new Date(g);if(typeof g=="string"&&!/Z$/i.test(g)){var C=g.match(y);if(C){var O=C[2]-1||0,$=(C[7]||"0").substring(0,3);return S?new Date(Date.UTC(C[1],O,C[3]||1,C[4]||0,C[5]||0,C[6]||0,$)):new Date(C[1],O,C[3]||1,C[4]||0,C[5]||0,C[6]||0,$)}}return new Date(g)}(_),this.init()},v.init=function(){var _=this.$d;this.$y=_.getFullYear(),this.$M=_.getMonth(),this.$D=_.getDate(),this.$W=_.getDay(),this.$H=_.getHours(),this.$m=_.getMinutes(),this.$s=_.getSeconds(),this.$ms=_.getMilliseconds()},v.$utils=function(){return T},v.isValid=function(){return this.$d.toString()!==m},v.isSame=function(_,x){var g=P(_);return this.startOf(x)<=g&&g<=this.endOf(x)},v.isAfter=function(_,x){return P(_)<this.startOf(x)},v.isBefore=function(_,x){return this.endOf(x)<P(_)},v.$g=function(_,x,g){return T.u(_)?this[x]:this.set(g,_)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(_,x){var g=this,S=!!T.u(x)||x,C=T.p(_),O=function(K,R){var L=T.w(g.$u?Date.UTC(g.$y,R,K):new Date(g.$y,R,K),g);return S?L:L.endOf(d)},$=function(K,R){return T.w(g.toDate()[K].apply(g.toDate("s"),(S?[0,0,0,0]:[23,59,59,999]).slice(R)),g)},H=this.$W,Y=this.$M,G=this.$D,ne="set"+(this.$u?"UTC":"");switch(C){case f:return S?O(1,0):O(31,11);case h:return S?O(1,Y):O(0,Y+1);case u:var ie=this.$locale().weekStart||0,se=(H<ie?H+7:H)-ie;return O(S?G-se:G+(6-se),Y);case d:case b:return $(ne+"Hours",0);case l:return $(ne+"Minutes",1);case a:return $(ne+"Seconds",2);case n:return $(ne+"Milliseconds",3);default:return this.clone()}},v.endOf=function(_){return this.startOf(_,!1)},v.$set=function(_,x){var g,S=T.p(_),C="set"+(this.$u?"UTC":""),O=(g={},g[d]=C+"Date",g[b]=C+"Date",g[h]=C+"Month",g[f]=C+"FullYear",g[l]=C+"Hours",g[a]=C+"Minutes",g[n]=C+"Seconds",g[r]=C+"Milliseconds",g)[S],$=S===d?this.$D+(x-this.$W):x;if(S===h||S===f){var H=this.clone().set(b,1);H.$d[O]($),H.init(),this.$d=H.set(b,Math.min(this.$D,H.daysInMonth())).$d}else O&&this.$d[O]($);return this.init(),this},v.set=function(_,x){return this.clone().$set(_,x)},v.get=function(_){return this[T.p(_)]()},v.add=function(_,x){var g,S=this;_=Number(_);var C=T.p(x),O=function(Y){var G=P(S);return T.w(G.date(G.date()+Math.round(Y*_)),S)};if(C===h)return this.set(h,this.$M+_);if(C===f)return this.set(f,this.$y+_);if(C===d)return O(1);if(C===u)return O(7);var $=(g={},g[a]=i,g[l]=s,g[n]=e,g)[C]||1,H=this.$d.getTime()+_*$;return T.w(H,this)},v.subtract=function(_,x){return this.add(-1*_,x)},v.format=function(_){var x=this,g=this.$locale();if(!this.isValid())return g.invalidDate||m;var S=_||"YYYY-MM-DDTHH:mm:ssZ",C=T.z(this),O=this.$H,$=this.$m,H=this.$M,Y=g.weekdays,G=g.months,ne=g.meridiem,ie=function(R,L,B,de){return R&&(R[L]||R(x,S))||B[L].slice(0,de)},se=function(R){return T.s(O%12||12,R,"0")},K=ne||function(R,L,B){var de=R<12?"AM":"PM";return B?de.toLowerCase():de};return S.replace(D,function(R,L){return L||function(B){switch(B){case"YY":return String(x.$y).slice(-2);case"YYYY":return T.s(x.$y,4,"0");case"M":return H+1;case"MM":return T.s(H+1,2,"0");case"MMM":return ie(g.monthsShort,H,G,3);case"MMMM":return ie(G,H);case"D":return x.$D;case"DD":return T.s(x.$D,2,"0");case"d":return String(x.$W);case"dd":return ie(g.weekdaysMin,x.$W,Y,2);case"ddd":return ie(g.weekdaysShort,x.$W,Y,3);case"dddd":return Y[x.$W];case"H":return String(O);case"HH":return T.s(O,2,"0");case"h":return se(1);case"hh":return se(2);case"a":return K(O,$,!0);case"A":return K(O,$,!1);case"m":return String($);case"mm":return T.s($,2,"0");case"s":return String(x.$s);case"ss":return T.s(x.$s,2,"0");case"SSS":return T.s(x.$ms,3,"0");case"Z":return C}return null}(R)||C.replace(":","")})},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(_,x,g){var S,C=this,O=T.p(x),$=P(_),H=($.utcOffset()-this.utcOffset())*i,Y=this-$,G=function(){return T.m(C,$)};switch(O){case f:S=G()/12;break;case h:S=G();break;case p:S=G()/3;break;case u:S=(Y-H)/6048e5;break;case d:S=(Y-H)/864e5;break;case l:S=Y/s;break;case a:S=Y/i;break;case n:S=Y/e;break;default:S=Y}return g?S:T.a(S)},v.daysInMonth=function(){return this.endOf(h).$D},v.$locale=function(){return W[this.$L]},v.locale=function(_,x){if(!_)return this.$L;var g=this.clone(),S=q(_,x,!0);return S&&(g.$L=S),g},v.clone=function(){return T.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},E}(),ee=V.prototype;return P.prototype=ee,[["$ms",r],["$s",n],["$m",a],["$H",l],["$W",d],["$M",h],["$y",f],["$D",b]].forEach(function(E){ee[E[1]]=function(v){return this.$g(v,E[0],E[1])}}),P.extend=function(E,v){return E.$i||(E(v,V,P),E.$i=!0),P},P.locale=q,P.isDayjs=U,P.unix=function(E){return P(1e3*E)},P.en=W[N],P.Ls=W,P.p={},P})})(br);var ad=br.exports;const _e=c.getDefaultExportFromCjs(ad);var yr={exports:{}};(function(o,t){(function(e,i){o.exports=i()})(c.commonjsGlobal,function(){var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},i=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,s=/\d\d/,r=/\d\d?/,n=/\d*[^-_:/,()\s\d]+/,a={},l=function(m){return(m=+m)+(m>68?1900:2e3)},d=function(m){return function(y){this[m]=+y}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(m){(this.zone||(this.zone={})).offset=function(y){if(!y||y==="Z")return 0;var D=y.match(/([+-]|\d\d)/g),A=60*D[1]+(+D[2]||0);return A===0?0:D[0]==="+"?-A:A}(m)}],h=function(m){var y=a[m];return y&&(y.indexOf?y:y.s.concat(y.f))},p=function(m,y){var D,A=a.meridiem;if(A){for(var I=1;I<=24;I+=1)if(m.indexOf(A(I,0,y))>-1){D=I>12;break}}else D=m===(y?"pm":"PM");return D},f={A:[n,function(m){this.afternoon=p(m,!1)}],a:[n,function(m){this.afternoon=p(m,!0)}],S:[/\d/,function(m){this.milliseconds=100*+m}],SS:[s,function(m){this.milliseconds=10*+m}],SSS:[/\d{3}/,function(m){this.milliseconds=+m}],s:[r,d("seconds")],ss:[r,d("seconds")],m:[r,d("minutes")],mm:[r,d("minutes")],H:[r,d("hours")],h:[r,d("hours")],HH:[r,d("hours")],hh:[r,d("hours")],D:[r,d("day")],DD:[s,d("day")],Do:[n,function(m){var y=a.ordinal,D=m.match(/\d+/);if(this.day=D[0],y)for(var A=1;A<=31;A+=1)y(A).replace(/\[|\]/g,"")===m&&(this.day=A)}],M:[r,d("month")],MM:[s,d("month")],MMM:[n,function(m){var y=h("months"),D=(h("monthsShort")||y.map(function(A){return A.slice(0,3)})).indexOf(m)+1;if(D<1)throw new Error;this.month=D%12||D}],MMMM:[n,function(m){var y=h("months").indexOf(m)+1;if(y<1)throw new Error;this.month=y%12||y}],Y:[/[+-]?\d+/,d("year")],YY:[s,function(m){this.year=l(m)}],YYYY:[/\d{4}/,d("year")],Z:u,ZZ:u};function b(m){var y,D;y=m,D=a&&a.formats;for(var A=(m=y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(q,P,T){var V=T&&T.toUpperCase();return P||D[T]||e[T]||D[V].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(ee,E,v){return E||v.slice(1)})})).match(i),I=A.length,M=0;M<I;M+=1){var N=A[M],W=f[N],X=W&&W[0],U=W&&W[1];A[M]=U?{regex:X,parser:U}:N.replace(/^\[|\]$/g,"")}return function(q){for(var P={},T=0,V=0;T<I;T+=1){var ee=A[T];if(typeof ee=="string")V+=ee.length;else{var E=ee.regex,v=ee.parser,_=q.slice(V),x=E.exec(_)[0];v.call(P,x),q=q.replace(x,"")}}return function(g){var S=g.afternoon;if(S!==void 0){var C=g.hours;S?C<12&&(g.hours+=12):C===12&&(g.hours=0),delete g.afternoon}}(P),P}}return function(m,y,D){D.p.customParseFormat=!0,m&&m.parseTwoDigitYear&&(l=m.parseTwoDigitYear);var A=y.prototype,I=A.parse;A.parse=function(M){var N=M.date,W=M.utc,X=M.args;this.$u=W;var U=X[1];if(typeof U=="string"){var q=X[2]===!0,P=X[3]===!0,T=q||P,V=X[2];P&&(V=X[2]),a=this.$locale(),!q&&V&&(a=D.Ls[V]),this.$d=function(_,x,g){try{if(["x","X"].indexOf(x)>-1)return new Date((x==="X"?1e3:1)*_);var S=b(x)(_),C=S.year,O=S.month,$=S.day,H=S.hours,Y=S.minutes,G=S.seconds,ne=S.milliseconds,ie=S.zone,se=new Date,K=$||(C||O?1:se.getDate()),R=C||se.getFullYear(),L=0;C&&!O||(L=O>0?O-1:se.getMonth());var B=H||0,de=Y||0,pe=G||0,re=ne||0;return ie?new Date(Date.UTC(R,L,K,B,de,pe,re+60*ie.offset*1e3)):g?new Date(Date.UTC(R,L,K,B,de,pe,re)):new Date(R,L,K,B,de,pe,re)}catch(fe){return new Date("")}}(N,U,W),this.init(),V&&V!==!0&&(this.$L=this.locale(V).$L),T&&N!=this.format(U)&&(this.$d=new Date("")),a={}}else if(U instanceof Array)for(var ee=U.length,E=1;E<=ee;E+=1){X[1]=U[E-1];var v=D.apply(this,X);if(v.isValid()){this.$d=v.$d,this.$L=v.$L,this.init();break}E===ee&&(this.$d=new Date(""))}else I.call(this,M)}}})})(yr);var ld=yr.exports;const cd=c.getDefaultExportFromCjs(ld);function Ro(o,t){c.addMessages(o,t)}function dd(o){c.$locale.set(o)}const Ho={en:{titleSelfExclusion:"Self-Exclusion",selfExclusionText:"<p>While self-excluded, access to your account will be entirely restricted.</br>Self-exclusion can only be lifted after the period that you selected has passed by communicating with Customer Support, which will be subject to review and a cooling-off period. </br> Alternatively, you can choose to take a 'time out' (a break of up to 6 weeks) from our services via the '<a href='{baseurl}/{lang}/account/timeout'>Time out</a>' option. </br> If you would prefer just to close your account, '<a href='{baseurl}/{lang}/account/account-closure'>Account Closure</a>' you can choose to do so via the option.</br> We'd recommend you also read our '<a href='{baseurl}/{lang}/page/responsible-gambling'>Responsible Gambling</a>' help pages for further advice should you need it.",selfExclusionEmailText:"E-mail:",duration:"Duration:",dateInstructions:"In order to manually input date use the following format:",forever:"Forever",save:"Save",noPeriodSelected:"Please select a self exclusion period",selectAPeriod:"Select a period",temporarySelfExclusion:"Your self-exclusion period will last until the {date} 23:59.",permanentSelfExclusion:"Your self-exclusion period will be permanent.",SelfExclusionFor30Days:"30 Days",SelfExclusionFor6Months:"6 Months",SelfExclusionFor1Year:"1 Year",SelfExclusionFor5Years:"5 Years",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Until",confirmationModalTitle:"Confirmation",selfExclusionSuccess:"Self exclusion active",confirmationModalTextPeriod:"Are you sure you want to self-exclude for {period}?",confirmationModalTextUntil:"Are you sure you want to self-exclude until {date}?",errorSelfExclusionCall:"There was a problem while making the self exclusion request.",generalError:"There was an error while fetching the self exclusion.",InvalidSession:"The session is exipired."},"en-us":{titleSelfExclusion:"Self-Exclusion",selfExclusionText:"<p>While self-excluded, access to your account will be entirely restricted.</br>Self-exclusion can only be lifted after the period that you selected has passed by communicating with Customer Support, which will be subject to review and a cooling-off period. </br> Alternatively, you can choose to take a 'time out' (a break of up to 6 weeks) from our services via the '<a href='{baseurl}/{lang}/account/timeout'>Time out</a>' option. </br> If you would prefer just to close your account, '<a href='{baseurl}/{lang}/account/account-closure'>Account Closure</a>' you can choose to do so via the option.</br> We'd recommend you also read our '<a href='{baseurl}/{lang}/page/responsible-gambling'>Responsible Gambling</a>' help pages for further advice should you need it.",selfExclusionEmailText:"E-mail:",duration:"Duration:",dateInstructions:"In order to manually input date use the following format:",forever:"Forever",save:"Save",noPeriodSelected:"Please select a self exclusion period",selectAPeriod:"Select a period",temporarySelfExclusion:"Your self-exclusion period will last until the {date} 23:59.",permanentSelfExclusion:"Your self-exclusion period will be permanent.",SelfExclusionFor30Days:"30 Days",SelfExclusionFor6Months:"6 Months",SelfExclusionFor1Year:"1 Year",SelfExclusionFor5Years:"5 Years",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Until",confirmationModalTitle:"Confirmation",selfExclusionSuccess:"Self exclusion active",confirmationModalTextPeriod:"Are you sure you want to self-exclude for {period}?",confirmationModalTextUntil:"Are you sure you want to self-exclude until {date}?",errorSelfExclusionCall:"There was a problem while making the self exclusion request.",generalError:"There was an error while fetching the self exclusion.",InvalidSession:"The session is exipired."},"zh-hk":{titleSelfExclusion:"自我排除",selfExclusionText:"<p>在自我排除期間,您的帳戶將完全受到限制。</br> 自我排除僅可在您選擇的期間結束後,通過與客戶支援聯繫進行解除,並將接受審查和冷靜期。</br> 或者,您可以選擇通過'<a href='{baseurl}/{lang}/account/timeout'>暫停</a>'選項從我們的服務中暫停(最多6週)。</br> 如果您更願意關閉帳戶,可以通過'<a href='{baseurl}/{lang}/account/account-closure'>關閉帳戶</a>'選項進行關閉。</br> 我們建議您閱讀我們的'<a href='{baseurl}/{lang}/page/responsible-gambling'>負責任博彩</a>'幫助頁面以獲取進一步的建議。</p>",selfExclusionEmailText:"電子郵件:",duration:"時長:",dateInstructions:"如需手動輸入日期,請使用以下格式:",forever:"永久",save:"保存",noPeriodSelected:"請選擇自我排除時段",selectAPeriod:"選擇一個時段",temporarySelfExclusion:"您的自我排除期將持續到 {date} 23:59。",permanentSelfExclusion:"您的自我排除期將是永久性的。",SelfExclusionFor30Days:"30天",SelfExclusionFor6Months:"6個月",SelfExclusionFor1Year:"1年",SelfExclusionFor5Years:"5年",SelfExclusionPermanent:"永久",SelfExclusionUntilSelectedDate:"直到",selfExclusionSuccess:"自我排斥活躍",confirmationModalTitle:"確認",confirmationModalTextPeriod:"您確定要自我排除 {period} 嗎?",confirmationModalTextUntil:"您確定要自我排除直到 {date} 嗎?",generalError:"提取自我排除时发生错误。",errorSelfExclusionCall:"发出自我排除请求时出现问题。",InvalidSession:"会话已过期。"},fr:{titleSelfExclusion:"Auto-Exclusion",selfExclusionText:"<p>Pendant la période d'auto-exclusion, l'accès à votre compte sera entièrement restreint.</br> L'auto-exclusion ne peut être levée qu'après la période que vous avez sélectionnée et en contactant le Service Client, sous réserve d'une révision et d'une période de réflexion.</br> Alternativement, vous pouvez choisir de prendre un '<a href='{baseurl}/{lang}/account/timeout'>temps de pause</a>' (jusqu'à 6 semaines) via l'option correspondante.</br> Si vous préférez simplement fermer votre compte, vous pouvez le faire via l'option '<a href='{baseurl}/{lang}/account/account-closure'>Fermeture de compte</a>'.</br> Nous vous recommandons également de consulter nos pages d'aide '<a href='{baseurl}/{lang}/page/responsible-gambling'>Jeu Responsable</a>' pour des conseils supplémentaires si nécessaire.</p>",selfExclusionEmailText:"E-mail :",duration:"Durée :",dateInstructions:"Pour saisir une date manuellement, utilisez le format suivant :",forever:"Pour toujours",save:"Enregistrer",noPeriodSelected:"Veuillez sélectionner une période d'auto-exclusion",selectAPeriod:"Sélectionnez une période",temporarySelfExclusion:"Votre période d'auto-exclusion durera jusqu'au {date} 23:59.",permanentSelfExclusion:"Votre période d'auto-exclusion sera permanente.",SelfExclusionFor30Days:"30 Jours",SelfExclusionFor6Months:"6 Mois",SelfExclusionFor1Year:"1 An",SelfExclusionFor5Years:"5 Ans",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Jusqu'à",selfExclusionSuccess:"Auto exclusion active",confirmationModalTitle:"Confirmation",confirmationModalTextPeriod:"Êtes-vous sûr de vouloir vous auto-exclure pour {period} ?",confirmationModalTextUntil:"Êtes-vous sûr de vouloir vous auto-exclure jusqu'au {date} ?",generalError:"Une erreur s'est produite lors de la récupération de l'auto-exclusion.",errorSelfExclusionCall:"Un problème est survenu lors de la demande d'auto-exclusion.",InvalidSession:"La session a expiré."},ro:{titleSelfExclusion:"Auto-Excludere",selfExclusionText:"<p>În timpul perioadei de autoexcludere, accesul la contul dvs. va fi complet restricționat.</br> Autoexcluderea poate fi ridicată numai după ce perioada selectată de dvs. a expirat, contactând Suportul Clienți, și va fi supusă unei revizuiri și unei perioade de reflecție.</br> Alternativ, puteți alege să luați o '<a href='{baseurl}/{lang}/account/timeout'>pauză</a>' (o întrerupere de până la 6 săptămâni) prin opțiunea corespunzătoare.</br> Dacă preferați să vă închideți contul, puteți face acest lucru prin opțiunea '<a href='{baseurl}/{lang}/account/account-closure'>Închidere cont</a>'.</br> Vă recomandăm, de asemenea, să consultați paginile noastre de ajutor '<a href='{baseurl}/{lang}/page/responsible-gambling'>Joc Responsabil</a>' pentru sfaturi suplimentare, dacă este necesar.</p>",selfExclusionEmailText:"E-mail:",duration:"Durată:",dateInstructions:"Pentru a introduce manual o dată, utilizați următorul format:",forever:"Pentru totdeauna",save:"Salvează",noPeriodSelected:"Vă rugăm să selectați o perioadă de auto-excludere",selectAPeriod:"Selectați o perioadă",temporarySelfExclusion:"Perioada dvs. de auto-excludere va dura până la {date} 23:59.",permanentSelfExclusion:"Perioada dvs. de auto-excludere va fi permanentă.",SelfExclusionFor30Days:"30 de Zile",SelfExclusionFor6Months:"6 Luni",SelfExclusionFor1Year:"1 An",SelfExclusionFor5Years:"5 Ani",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Până la",selfExclusionSuccess:"Auto-excludere activa",confirmationModalTitle:"Confirmare",confirmationModalTextPeriod:"Sunteți sigur că doriți să vă auto-excludeți pentru {period}?",confirmationModalTextUntil:"Sunteți sigur că doriți să vă auto-excludeți până la {date}?",generalError:"A apărut o eroare la preluarea auto-excluderii.",errorSelfExclusionCall:"A apărut o problemă la efectuarea cererii de auto-excludere.",InvalidSession:"Sesiunea a expirat."},es:{titleSelfExclusion:"Autoexclusión",selfExclusionText:"<p>Mientras esté autoexcluido, el acceso a su cuenta estará completamente restringido.</br> La autoexclusión solo se puede levantar después de que haya pasado el período seleccionado, comunicándose con Atención al Cliente, sujeto a una revisión y un período de enfriamiento.</br> Alternativamente, puede optar por tomarse un '<a href='{baseurl}/{lang}/account/timeout'>descanso</a>' (un descanso de hasta 6 semanas) a través de la opción correspondiente.</br> Si prefiere cerrar su cuenta, puede hacerlo a través de la opción '<a href='{baseurl}/{lang}/account/account-closure'>Cierre de Cuenta</a>'.</br> También le recomendamos que lea nuestras páginas de ayuda sobre '<a href='{baseurl}/{lang}/page/responsible-gambling'>Juego Responsable</a>' para obtener más consejos si los necesita.</p>",selfExclusionEmailText:"Correo electrónico:",duration:"Duración:",dateInstructions:"Para ingresar manualmente la fecha, utilice el siguiente formato:",forever:"Para siempre",save:"Guardar",noPeriodSelected:"Por favor, seleccione un período de autoexclusión",selectAPeriod:"Seleccione un período",temporarySelfExclusion:"Su período de autoexclusión durará hasta el {date} a las 23:59.",permanentSelfExclusion:"Su período de autoexclusión será permanente.",SelfExclusionFor30Days:"30 Días",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor1Year:"1 Año",SelfExclusionFor5Years:"5 Años",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Hasta",selfExclusionSuccess:"Auto Exclusión activa.",confirmationModalTitle:"Confirmación",confirmationModalTextPeriod:"¿Estás seguro de que deseas autoexcluirte por {period}?",confirmationModalTextUntil:"¿Estás seguro de que deseas autoexcluirte hasta {date}?",generalError:"Hubo un error al obtener la autoexclusión.",errorSelfExclusionCall:"Hubo un problema al hacer la solicitud de autoexclusión.",InvalidSession:"La sesión ha expirado."},pt:{titleSelfExclusion:"Autoexclusão",selfExclusionText:"<p>Durante o período de autoexclusão, o acesso à sua conta estará totalmente restrito.</br> A autoexclusão só pode ser levantada após o término do período selecionado, entrando em contato com o Suporte ao Cliente, sujeito a uma revisão e a um período de reflexão.</br> Alternativamente, você pode optar por fazer uma '<a href='{baseurl}/{lang}/account/timeout'>pausa</a>' (um intervalo de até 6 semanas) através da opção correspondente.</br> Se preferir encerrar a sua conta, pode fazê-lo através da opção '<a href='{baseurl}/{lang}/account/account-closure'>Encerramento de Conta</a>'.</br> Recomendamos também que leia as nossas páginas de ajuda sobre '<a href='{baseurl}/{lang}/page/responsible-gambling'>Jogo Responsável</a>' para obter mais conselhos, caso necessite.</p>",selfExclusionEmailText:"E-mail:",duration:"Duração:",dateInstructions:"Para introduzir manualmente a data, utilize o seguinte formato:",forever:"Para sempre",save:"Guardar",noPeriodSelected:"Por favor, selecione um período de autoexclusão",selectAPeriod:"Selecione um período",temporarySelfExclusion:"O seu período de autoexclusão durará até às {date} 23:59.",permanentSelfExclusion:"O seu período de autoexclusão será permanente.",SelfExclusionFor30Days:"30 Dias",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor1Year:"1 Ano",SelfExclusionFor5Years:"5 Anos",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Até",selfExclusionSuccess:"Autoexclusão ativa",confirmationModalTitle:"Confirmação",confirmationModalTextPeriod:"Tem a certeza de que deseja autoexcluir-se por {period}?",confirmationModalTextUntil:"Tem a certeza de que deseja autoexcluir-se até {date}?",generalError:"Ocorreu um erro ao buscar a autoexclusão.",errorSelfExclusionCall:"Ocorreu um problema ao fazer a solicitação de autoexclusão.",InvalidSession:"A sessão expirou."},hr:{titleSelfExclusion:"Samoisključenje",selfExclusionText:"<p>Tijekom razdoblja samoisključenja, pristup vašem računu bit će potpuno ograničen.</br> Samoisključenje se može ukinuti tek nakon što istekne razdoblje koje ste odabrali, uz kontaktiranje Korisničke podrške, uz reviziju i razdoblje hlađenja.</br> Alternativno, možete odabrati '<a href='{baseurl}/{lang}/account/timeout'>stanku</a>' (pauzu do 6 tjedana) putem odgovarajuće opcije.</br> Ako radije želite zatvoriti svoj račun, to možete učiniti putem opcije '<a href='{baseurl}/{lang}/account/account-closure'>Zatvaranje računa</a>'.</br> Također vam preporučujemo da pročitate naše stranice s pomoći o '<a href='{baseurl}/{lang}/page/responsible-gambling'>Odgovorno kockanje</a>' za dodatne savjete, ako su vam potrebni.</p>",selfExclusionEmailText:"E-mail:",duration:"Trajanje:",dateInstructions:"Za ručni unos datuma koristite sljedeći format:",forever:"Zauvijek",save:"Spremi",noPeriodSelected:"Molimo odaberite razdoblje samoisključenja",selectAPeriod:"Odaberite razdoblje",temporarySelfExclusion:"Vaše razdoblje samoisključenja trajat će do {date} 23:59.",permanentSelfExclusion:"Vaše razdoblje samoisključenja bit će trajno.",SelfExclusionFor30Days:"30 Dana",SelfExclusionFor6Months:"6 Mjeseci",SelfExclusionFor1Year:"1 Godina",SelfExclusionFor5Years:"5 Godina",SelfExclusionPermanent:"Trajno",SelfExclusionUntilSelectedDate:"Do",selfExclusionSuccess:"Aktivno samoisključivanje",confirmationModalTitle:"Potvrda",confirmationModalTextPeriod:"Jeste li sigurni da se želite samoisključiti na {period}?",confirmationModalTextUntil:"Jeste li sigurni da se želite samoisključiti do {date}?",generalError:"Došlo je do pogreške prilikom dohvaćanja samoisključenja.",errorSelfExclusionCall:"Došlo je do problema prilikom slanja zahtjeva za samoisključenje.",InvalidSession:"Sesija je istekla."},"pt-br":{titleSelfExclusion:"Autoexclusão",selfExclusionText:"<p>Durante o período de autoexclusão, o acesso à sua conta será completamente restrito.</br> A autoexclusão só pode ser removida após o término do período selecionado, entrando em contato com o Suporte ao Cliente, sujeito a revisão e a um período de reflexão.</br> Alternativamente, você pode optar por fazer um '<a href='{baseurl}/{lang}/account/timeout'>intervalo</a>' (uma pausa de até 6 semanas) através da opção correspondente.</br> Se preferir encerrar sua conta, você pode fazer isso através da opção '<a href='{baseurl}/{lang}/account/account-closure'>Encerramento de Conta</a>'.</br> Recomendamos também que leia nossas páginas de ajuda sobre '<a href='{baseurl}/{lang}/page/responsible-gambling'>Jogo Responsável</a>' para obter mais conselhos, caso necessite.</p>",selfExclusionEmailText:"E-mail:",duration:"Duração:",dateInstructions:"Para inserir manualmente a data, use o seguinte formato:",forever:"Para sempre",save:"Salvar",noPeriodSelected:"Por favor, selecione um período de autoexclusão",selectAPeriod:"Selecione um período",temporarySelfExclusion:"Seu período de autoexclusão durará até {date} às 23:59.",permanentSelfExclusion:"Seu período de autoexclusão será permanente.",SelfExclusionFor30Days:"30 Dias",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor1Year:"1 Ano",SelfExclusionFor5Years:"5 Anos",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Até",selfExclusionSuccess:"Autoexclusão ativa",confirmationModalTitle:"Confirmação",confirmationModalTextPeriod:"Você tem certeza de que deseja se autoexcluir por {period}?",confirmationModalTextUntil:"Você tem certeza de que deseja se autoexcluir até {date}?",generalError:"Houve um erro ao buscar a autoexclusão.",errorSelfExclusionCall:"Houve um problema ao fazer a solicitação de autoexclusão.",InvalidSession:"A sessão expirou."},"es-mx":{titleSelfExclusion:"Autoexclusión",selfExclusionText:"<p>Mientras esté autoexcluido, el acceso a su cuenta estará completamente restringido.</br> La autoexclusión solo puede levantarse después de que haya pasado el período que seleccionó, comunicándose con el Servicio al Cliente, sujeto a una revisión y un período de enfriamiento.</br> Alternativamente, puede elegir tomarse un '<a href='{baseurl}/{lang}/account/timeout'>descanso</a>' (una pausa de hasta 6 semanas) a través de la opción correspondiente.</br> Si prefiere cerrar su cuenta, puede hacerlo mediante la opción '<a href='{baseurl}/{lang}/account/account-closure'>Cierre de Cuenta</a>'.</br> También le recomendamos leer nuestras páginas de ayuda sobre '<a href='{baseurl}/{lang}/page/responsible-gambling'>Juego Responsable</a>' para obtener más consejos si lo necesita.</p>",selfExclusionEmailText:"Correo electrónico:",duration:"Duración:",dateInstructions:"Para ingresar manualmente la fecha, utilice el siguiente formato:",forever:"Para siempre",save:"Guardar",noPeriodSelected:"Por favor, seleccione un período de autoexclusión",selectAPeriod:"Seleccione un período",temporarySelfExclusion:"Su período de autoexclusión durará hasta el {date} a las 23:59.",permanentSelfExclusion:"Su período de autoexclusión será permanente.",SelfExclusionFor30Days:"30 Días",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor1Year:"1 Año",SelfExclusionFor5Years:"5 Años",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Hasta",selfExclusionSuccess:"Auto-exclusión activa",confirmationModalTitle:"Confirmación",confirmationModalTextPeriod:"¿Estás seguro de que deseas autoexcluirte por {period}?",confirmationModalTextUntil:"¿Estás seguro de que deseas autoexcluirte hasta {date}?",generalError:"Hubo un error al obtener la autoexclusión.",errorSelfExclusionCall:"Hubo un problema al hacer la solicitud de autoexclusión.",InvalidSession:"La sesión ha expirado."},tr:{titleSelfExclusion:"Kendi Kendini Hariç Tutma",selfExclusionText:"<p>Kendinizi dışlama süresince hesabınıza erişiminiz tamamen kısıtlanacaktır.</br> Kendinizi dışlama, yalnızca seçtiğiniz süre sona erdikten sonra, Müşteri Hizmetleri ile iletişime geçerek kaldırılabilir ve inceleme ile bir düşünme süresine tabi olacaktır.</br> Alternatif olarak, '<a href='{baseurl}/{lang}/account/timeout'>Mola</a>' seçeneğiyle hizmetlerimizden (6 haftaya kadar bir ara) faydalanmayı tercih edebilirsiniz.</br> Hesabınızı kapatmayı tercih ederseniz, bunu '<a href='{baseurl}/{lang}/account/account-closure'>Hesap Kapatma</a>' seçeneği aracılığıyla yapabilirsiniz.</br> Ayrıca, gerektiğinde daha fazla tavsiye almak için '<a href='{baseurl}/{lang}/page/responsible-gambling'>Sorumlu Oyun</a>' yardım sayfalarımızı okumanızı öneririz.</p>",selfExclusionEmailText:"E-posta:",duration:"Süre:",dateInstructions:"Tarihi manuel olarak girmek için şu formatı kullanın:",forever:"Sonsuza kadar",save:"Kaydet",noPeriodSelected:"Lütfen bir kendi kendini hariç tutma süresi seçin",selectAPeriod:"Bir süre seçin",temporarySelfExclusion:"Kendi kendini hariç tutma süreniz {date} saat 23:59'a kadar sürecektir.",permanentSelfExclusion:"Kendi kendini hariç tutma süreniz kalıcı olacaktır.",SelfExclusionFor30Days:"30 Gün",SelfExclusionFor6Months:"6 Ay",SelfExclusionFor1Year:"1 Yıl",SelfExclusionFor5Years:"5 Yıl",SelfExclusionPermanent:"Kalıcı",SelfExclusionUntilSelectedDate:"Tarihe kadar",selfExclusionSuccess:"Kendini dışlama etkin",confirmationModalTitle:"Onay",confirmationModalTextPeriod:"{period} için kendinizi hariç tutmak istediğinizden emin misiniz?",confirmationModalTextUntil:"{date} tarihine kadar kendinizi hariç tutmak istediğinizden emin misiniz?",generalError:"Kendi kendini dışlama alınırken bir hata oluştu.",errorSelfExclusionCall:"Kendi kendini dışlama isteği yapılırken bir sorun oluştu.",InvalidSession:"Oturum süresi doldu."}};function ud(o){c.append_styles(o,"svelte-h1xl9a",'a{cursor:pointer;text-decoration:underline;font-weight:600}.PlayerSelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.PlayerSelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerSelfExclusionTitleNone{display:none}.SelfExclusionContainer{border-radius:var(--emw--border-radius-medium, 10px);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));container-type:inline-size}.SelfExclusionContainer .SelfExclusionWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;border-radius:var(--emw--border-radius-medium, 10px);max-width:100%;min-height:500px;opacity:1;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.SelfExclusionContainer .SelfExclusionWrapper.SelfExclusionWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.SelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-bold, 700)}.SelfExclusionTitle.SelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px)}.SelfExclusionNotification{color:var(--emw--color-gray-300, #58586B);line-height:24px}.SelfExclusionNotification.SelfExclusionDescriptionMobile{font-size:var(--emw--font-size-x-small, 12px);line-height:19px}.SelfExclusionNotification .SelfExclusionDescriptionText p{font-size:16px}.SelfExclusionNotification .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px;min-height:180px}.SelfExclusionDescription p{font-size:16px}.SelfExclusionDescription a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}@container (max-width: 768px){.SelfExclusionDescription{font-size:var(--emw--font-size-x-small, 12px);line-height:19px;min-height:230px}}.SelfExclusionConfigWrapper{width:50%;position:relative;margin-bottom:var(--emw--spacing-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-radius:var(--emw--border-radius-medium, 10px);cursor:pointer}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px)}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:15px;height:15px;fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transform:rotateZ(-90deg);transition:all 0.5s ease-in-out}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel p{margin:0;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon.active{transform:rotateZ(0deg)}.SelfExclusionConfigWrapper .SelfExclusionDropDown{max-height:0px;overflow:hidden;box-sizing:border-box;transition:all 0.5s ease-in-out;opacity:0;color:var(--emw--color-gray-300, #58586B);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:0px 0px var(--emw--border-radius-medium, 10px) var(--emw--border-radius-medium, 10px)}.SelfExclusionConfigWrapper .SelfExclusionDropDown div{padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px);font-size:var(--emw--font-size-x-small, 12px);border-top:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transition:all 0.5s ease-in-out;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionDropDown div:hover{color:var(--emw--color-white, #FFFFFF);background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionConfigWrapper .SelfExclusionDropDown.active{max-height:300px;opacity:1}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile{width:100%;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:10px;height:10px}.SelfExclusionDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.SelfExclusionDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions strong{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDateWrapper input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:var(--emw--size-standard, 16px);line-height:18px}.SelfExclusionDateWrapper.SelfExclusionDateWrapperMobile{width:100%}.SelfExclusionRadioWrapper{display:block;position:relative;padding:4px 0 0 0;margin-bottom:16px;font-size:var(--emw--size-standard, 16px);user-select:none;line-height:18px}.SelfExclusionRadioWrapper label{font-size:var(--emw--size-standard, 16px);cursor:pointer;padding-left:35px}.SelfExclusionRadioWrapper input{font-family:inherit;position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SelfExclusionRadioWrapper .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.SelfExclusionRadioWrapper input:checked~.Checkmark{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionRadioWrapper .Checkmark:after{content:"";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.SelfExclusionRadioWrapper input:checked~.Checkmark:after{display:block}.SelfExclusionRadioWrapper.SelfExclusionRadioWrapperMobile label{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionActionButtons{margin-top:40px;width:50%}.SelfExclusionActionButtons .SelfExclusionSave{font-family:var(--emw--button-typography);border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emw--color-primary, #23B04E);border-radius:var(--emw--border-radius-medium, 10px);padding:20px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF);cursor:pointer;border:none}.SelfExclusionActionButtons .SelfExclusionSave:hover{filter:brightness(0.9)}.SelfExclusionActionButtons .SelfExclusionSave:disabled{opacity:0.5;cursor:default}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile{width:100%;grid-template-columns:1fr 1fr}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile .SelfExclusionSave{height:40px;font-size:var(--emw--font-size-small, 14px);padding:20px 0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function Bo(o,t,e){const i=o.slice();return i[55]=t[e],i}function hd(o){let t,e,i,s,r=o[21]("titleSelfExclusion")+"",n,a,l,d,u=o[21]("selfExclusionText",{values:{operatorname:o[1],baseurl:o[3],lang:o[0]}})+"",h,p,f=o[21]("selfExclusionEmailText")+"",b,m,y,D,A,I,M,N,W,X=o[21](`${o[14]}`)+"",U,q,P,T,V,ee,E,v,_,x,g,S,C,O=o[21]("save")+"",$,H,Y,G,ne,ie,se,K=o[22]&&fd(o),R=c.ensure_array_like(o[10]),L=[];for(let k=0;k<R.length;k+=1)L[k]=Yo(Bo(o,R,k));let B=o[17]&&jo(o);function de(k,j){return k[16]?gd:k[18]?md:_d}let pe=de(o),re=pe(o),fe=o[23]&&vd(o);return{c(){t=c.element("div"),e=c.element("form"),K&&K.c(),i=c.space(),s=c.element("h2"),n=c.text(r),a=c.space(),l=c.element("div"),d=c.element("p"),h=c.space(),p=c.element("p"),b=c.text(f),m=c.space(),y=c.element("a"),D=c.text(o[2]),I=c.space(),M=c.element("div"),N=c.element("div"),W=c.element("p"),U=c.text(X),q=c.space(),P=c.svg_element("svg"),T=c.svg_element("g"),V=c.svg_element("path"),ee=c.space(),E=c.element("div");for(let k=0;k<L.length;k+=1)L[k].c();v=c.space(),B&&B.c(),_=c.space(),x=c.element("div"),re.c(),g=c.space(),S=c.element("div"),C=c.element("button"),$=c.text(O),G=c.space(),fe&&fe.c(),ne=c.empty(),c.attr(s,"class","PlayerSelfExclusionTitle "+(o[22]?"PlayerSelfExclusionTitleNone":"")),c.attr(d,"class","SelfExclusionDescriptionText"),c.attr(y,"href",A="mailto:"+o[2]),c.attr(p,"class","SelfExclusionDescriptionText"),c.attr(l,"class","SelfExclusionDescription "+(o[22]?"SelfExclusionDescriptionMobile":"")),c.attr(V,"d","M 90 24.25 c 0 -0.896 -0.342 -1.792 -1.025 -2.475 c -1.366 -1.367 -3.583 -1.367 -4.949 0 L 45 60.8 L 5.975 21.775 c -1.367 -1.367 -3.583 -1.367 -4.95 0 c -1.366 1.367 -1.366 3.583 0 4.95 l 41.5 41.5 c 1.366 1.367 3.583 1.367 4.949 0 l 41.5 -41.5 C 89.658 26.042 90 25.146 90 24.25 z"),c.attr(V,"stroke-linecap","round"),c.attr(P,"xmlns","http://www.w3.org/2000/svg"),c.attr(P,"xmlns:xlink","http://www.w3.org/1999/xlink"),c.attr(P,"version","1.1"),c.attr(P,"viewBox","0 0 100 100"),c.attr(P,"xml:space","preserve"),c.attr(P,"class","SelfExclusionConfigIcon"),c.toggle_class(P,"active",o[19]),c.attr(N,"class","SelfExclusionConfigLabel"),c.attr(E,"class","SelfExclusionDropDown"),c.toggle_class(E,"active",o[19]),c.attr(M,"class","SelfExclusionConfigWrapper "+(o[22]?"SelfExclusionConfigWrapperMobile":"")),c.toggle_class(M,"active",o[19]),c.attr(x,"class","SelfExclusionNotification "+(o[22]?"SelfExclusionDescriptionMobile":"")),c.attr(C,"class",H="SelfExclusionSave "+(o[18]?"active":"")),C.disabled=Y=!o[18],c.attr(S,"class","SelfExclusionActionButtons "+(o[22]?"SelfExclusionActionButtonsMobile":"")),c.attr(e,"class","SelfExclusionWrapper "+(o[22]?"SelfExclusionWrapperMobile":"")),c.attr(t,"class","SelfExclusionContainer")},m(k,j){c.insert(k,t,j),c.append(t,e),K&&K.m(e,null),c.append(e,i),c.append(e,s),c.append(s,n),c.append(e,a),c.append(e,l),c.append(l,d),d.innerHTML=u,c.append(l,h),c.append(l,p),c.append(p,b),c.append(p,m),c.append(p,y),c.append(y,D),c.append(e,I),c.append(e,M),c.append(M,N),c.append(N,W),c.append(W,U),c.append(N,q),c.append(N,P),c.append(P,T),c.append(T,V),c.append(M,ee),c.append(M,E);for(let Z=0;Z<L.length;Z+=1)L[Z]&&L[Z].m(E,null);c.append(e,v),B&&B.m(e,null),c.append(e,_),c.append(e,x),re.m(x,null),c.append(e,g),c.append(e,S),c.append(S,C),c.append(C,$),c.insert(k,G,j),fe&&fe.m(k,j),c.insert(k,ne,j),ie||(se=[c.listen(N,"click",o[36]),c.listen(C,"click",o[39])],ie=!0)},p(k,j){if(k[22]&&K.p(k,j),j[0]&2097152&&r!==(r=k[21]("titleSelfExclusion")+"")&&c.set_data(n,r),j[0]&2097163&&u!==(u=k[21]("selfExclusionText",{values:{operatorname:k[1],baseurl:k[3],lang:k[0]}})+"")&&(d.innerHTML=u),j[0]&2097152&&f!==(f=k[21]("selfExclusionEmailText")+"")&&c.set_data(b,f),j[0]&4&&c.set_data(D,k[2]),j[0]&4&&A!==(A="mailto:"+k[2])&&c.attr(y,"href",A),j[0]&2113536&&X!==(X=k[21](`${k[14]}`)+"")&&c.set_data(U,X),j[0]&524288&&c.toggle_class(P,"active",k[19]),j[0]&35652608){R=c.ensure_array_like(k[10]);let Z;for(Z=0;Z<R.length;Z+=1){const mt=Bo(k,R,Z);L[Z]?L[Z].p(mt,j):(L[Z]=Yo(mt),L[Z].c(),L[Z].m(E,null))}for(;Z<L.length;Z+=1)L[Z].d(1);L.length=R.length}j[0]&524288&&c.toggle_class(E,"active",k[19]),j[0]&524288&&c.toggle_class(M,"active",k[19]),k[17]?B?B.p(k,j):(B=jo(k),B.c(),B.m(e,_)):B&&(B.d(1),B=null),pe===(pe=de(k))&&re?re.p(k,j):(re.d(1),re=pe(k),re&&(re.c(),re.m(x,null))),j[0]&2097152&&O!==(O=k[21]("save")+"")&&c.set_data($,O),j[0]&262144&&H!==(H="SelfExclusionSave "+(k[18]?"active":""))&&c.attr(C,"class",H),j[0]&262144&&Y!==(Y=!k[18])&&(C.disabled=Y),k[23]&&fe.p(k,j)},d(k){k&&(c.detach(t),c.detach(G),c.detach(ne)),K&&K.d(),c.destroy_each(L,k),B&&B.d(),re.d(),fe&&fe.d(k),ie=!1,c.run_all(se)}}}function pd(o){let t,e,i,s,r,n,a,l,d,u,h,p,f,b,m,y,D,A,I,M,N;function W(q,P){return q[22]?yd:bd}let U=W(o)(o);return{c(){t=c.element("div"),e=c.element("div"),U.c(),i=c.space(),s=c.element("div"),r=c.element("ui-skeleton"),n=c.space(),a=c.element("div"),l=c.space(),d=c.element("ui-skeleton"),u=c.space(),h=c.element("div"),p=c.space(),f=c.element("div"),b=c.element("ui-skeleton"),m=c.space(),y=c.element("div"),D=c.space(),A=c.element("ui-skeleton"),I=c.space(),M=c.element("div"),N=c.element("ui-skeleton"),c.set_custom_element_data(r,"structure","text"),c.set_custom_element_data(r,"height",o[22]?"15px":"20px"),c.set_custom_element_data(r,"rows",o[22]?"12":"5"),c.set_custom_element_data(r,"width",o[22]?"100%":"60%"),c.set_style(a,"height",o[22]?"10px":"20px"),c.set_custom_element_data(d,"structure","text"),c.set_custom_element_data(d,"height",o[22]?"15px":"20px"),c.set_custom_element_data(d,"width","30%"),c.set_style(h,"height","10px"),c.attr(s,"class","SelfExclusionDescription"),c.set_custom_element_data(b,"structure","rectangle"),c.set_custom_element_data(b,"width",o[22]?"100%":"50%"),c.set_custom_element_data(b,"height",o[22]?"30px":"44px"),c.set_style(y,"height",o[22]?"15px":"20px"),c.set_custom_element_data(A,"structure","text"),c.set_custom_element_data(A,"height",o[22]?"15px":"20px"),c.set_custom_element_data(A,"width","30%"),c.attr(f,"class","SelfExclusionConfig"),c.set_custom_element_data(N,"structure","rectangle"),c.set_custom_element_data(N,"width","100%"),c.set_custom_element_data(N,"height",o[22]?"35px":"50px"),c.attr(M,"class","SelfExclusionActionButtons "+(o[22]?"SelfExclusionActionButtonsMobile":"")),c.attr(e,"class","SelfExclusionWrapper "+(o[22]?"SelfExclusionWrapperMobile":"")),c.attr(t,"class","SelfExclusionContainer")},m(q,P){c.insert(q,t,P),c.append(t,e),U.m(e,null),c.append(e,i),c.append(e,s),c.append(s,r),c.append(s,n),c.append(s,a),c.append(s,l),c.append(s,d),c.append(s,u),c.append(s,h),c.append(e,p),c.append(e,f),c.append(f,b),c.append(f,m),c.append(f,y),c.append(f,D),c.append(f,A),c.append(e,I),c.append(e,M),c.append(M,N)},p:c.noop,d(q){q&&c.detach(t),U.d()}}}function fd(o){let t,e,i,s,r,n,a,l,d,u,h=o[21]("titleSelfExclusion")+"",p,f,b;return{c(){t=c.element("div"),e=c.svg_element("svg"),i=c.svg_element("defs"),s=c.svg_element("style"),r=c.text(".aaa{fill:var(--emw--color-primary, #22B04E);}"),n=c.svg_element("g"),a=c.svg_element("g"),l=c.svg_element("path"),d=c.space(),u=c.element("h2"),p=c.text(h),c.attr(l,"class","aaa"),c.attr(l,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),c.attr(l,"transform","translate(15 15) rotate(180)"),c.attr(a,"transform","translate(20 158)"),c.attr(n,"transform","translate(-20 -158)"),c.attr(e,"xmlns","http://www.w3.org/2000/svg"),c.attr(e,"width","15"),c.attr(e,"height","15"),c.attr(e,"viewBox","0 0 15 15"),c.attr(u,"class","PlayerSelfExclusionTitleMobile"),c.attr(t,"class","MenuReturnButton")},m(m,y){c.insert(m,t,y),c.append(t,e),c.append(e,i),c.append(i,s),c.append(s,r),c.append(e,n),c.append(n,a),c.append(a,l),c.append(t,d),c.append(t,u),c.append(u,p),f||(b=c.listen(t,"click",o[35]),f=!0)},p(m,y){y[0]&2097152&&h!==(h=m[21]("titleSelfExclusion")+"")&&c.set_data(p,h)},d(m){m&&c.detach(t),f=!1,b()}}}function Yo(o){let t,e=o[21](`${o[55].key}`)+"",i,s,r;function n(){return o[37](o[55])}return{c(){t=c.element("div"),i=c.text(e)},m(a,l){c.insert(a,t,l),c.append(t,i),s||(r=c.listen(t,"click",n),s=!0)},p(a,l){o=a,l[0]&2098176&&e!==(e=o[21](`${o[55].key}`)+"")&&c.set_data(i,e)},d(a){a&&c.detach(t),s=!1,r()}}}function jo(o){let t,e,i=o[21]("duration")+"",s,r,n,a=o[21]("dateInstructions")+"",l,d,u,h,p,f,b;return{c(){t=c.element("div"),e=c.element("label"),s=c.text(i),r=c.space(),n=c.element("span"),l=c.text(a),d=c.space(),u=c.element("strong"),h=c.text(o[7]),p=c.element("strong"),f=c.space(),b=c.element("vaadin-date-picker"),c.attr(e,"for","SelfExclusionDate"),c.attr(n,"class","SelfExclusionDateInstructions"),c.set_custom_element_data(b,"min",o[11]),c.set_custom_element_data(b,"max",o[12]),c.set_custom_element_data(b,"value",o[13]),c.attr(t,"class","SelfExclusionDateWrapper "+(o[22]?"SelfExclusionDateWrapperMobile":""))},m(m,y){c.insert(m,t,y),c.append(t,e),c.append(e,s),c.append(t,r),c.append(t,n),c.append(n,l),c.append(n,d),c.append(n,u),c.append(u,h),c.append(u,p),c.append(t,f),c.append(t,b),o[38](b)},p(m,y){y[0]&2097152&&i!==(i=m[21]("duration")+"")&&c.set_data(s,i),y[0]&2097152&&a!==(a=m[21]("dateInstructions")+"")&&c.set_data(l,a),y[0]&128&&c.set_data(h,m[7]),y[0]&2048&&c.set_custom_element_data(b,"min",m[11]),y[0]&4096&&c.set_custom_element_data(b,"max",m[12]),y[0]&8192&&c.set_custom_element_data(b,"value",m[13])},d(m){m&&c.detach(t),o[38](null)}}}function md(o){let t,e,i=o[21]("temporarySelfExclusion",{values:{date:_e(o[13]).format(o[7])}})+"",s;return{c(){t=c.element("p"),e=c.element("strong"),s=c.text(i),c.attr(t,"class","SelfExclusionDescriptionText")},m(r,n){c.insert(r,t,n),c.append(t,e),c.append(e,s)},p(r,n){n[0]&2105472&&i!==(i=r[21]("temporarySelfExclusion",{values:{date:_e(r[13]).format(r[7])}})+"")&&c.set_data(s,i)},d(r){r&&c.detach(t)}}}function _d(o){let t,e,i=o[21]("noPeriodSelected")+"",s;return{c(){t=c.element("p"),e=c.element("strong"),s=c.text(i),c.attr(t,"class","SelfExclusionDescriptionText")},m(r,n){c.insert(r,t,n),c.append(t,e),c.append(e,s)},p(r,n){n[0]&2097152&&i!==(i=r[21]("noPeriodSelected")+"")&&c.set_data(s,i)},d(r){r&&c.detach(t)}}}function gd(o){let t,e,i=o[21]("permanentSelfExclusion")+"",s;return{c(){t=c.element("p"),e=c.element("strong"),s=c.text(i),c.attr(t,"class","SelfExclusionDescriptionText")},m(r,n){c.insert(r,t,n),c.append(t,e),c.append(e,s)},p(r,n){n[0]&2097152&&i!==(i=r[21]("permanentSelfExclusion")+"")&&c.set_data(s,i)},d(r){r&&c.detach(t)}}}function vd(o){let t,e,i;return{c(){t=c.element("player-account-modal"),e=c.element("player-account-general-confirmation-modal"),c.set_custom_element_data(e,"modaltitle",i=o[21]("confirmationModalTitle")),c.set_custom_element_data(e,"modaltext",o[15]),c.set_custom_element_data(e,"hascancelbutton",!1),c.set_custom_element_data(e,"modalconfirmevent",{type:"setSelfExclusion"}),c.set_custom_element_data(e,"mbsource",o[6]),c.set_custom_element_data(e,"lang",o[0]),c.set_custom_element_data(t,"clientstyling",o[4]),c.set_custom_element_data(t,"clientstylingurl",o[5]),c.set_custom_element_data(t,"mbsource",o[6]),c.set_custom_element_data(t,"showmodaleventname","ShowSelfExclusionConfirmationModal")},m(s,r){c.insert(s,t,r),c.append(t,e)},p(s,r){r[0]&2097152&&i!==(i=s[21]("confirmationModalTitle"))&&c.set_custom_element_data(e,"modaltitle",i),r[0]&32768&&c.set_custom_element_data(e,"modaltext",s[15]),r[0]&64&&c.set_custom_element_data(e,"mbsource",s[6]),r[0]&1&&c.set_custom_element_data(e,"lang",s[0]),r[0]&16&&c.set_custom_element_data(t,"clientstyling",s[4]),r[0]&32&&c.set_custom_element_data(t,"clientstylingurl",s[5]),r[0]&64&&c.set_custom_element_data(t,"mbsource",s[6])},d(s){s&&c.detach(t)}}}function bd(o){let t;return{c(){t=c.element("ui-skeleton"),c.set_custom_element_data(t,"structure","title"),c.set_custom_element_data(t,"width","100px"),c.set_custom_element_data(t,"margin-top","20px"),c.set_custom_element_data(t,"margin-bottom","20px")},m(e,i){c.insert(e,t,i)},d(e){e&&c.detach(t)}}}function yd(o){let t;return{c(){t=c.element("div"),t.innerHTML='<ui-skeleton structure="title" width="20px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton> <ui-skeleton structure="title" width="100px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton>',c.attr(t,"class","MenuReturnButton")},m(e,i){c.insert(e,t,i)},d(e){e&&c.detach(t)}}}function xd(o){let t;function e(r,n){return r[20]?pd:hd}let i=e(o),s=i(o);return{c(){t=c.element("div"),s.c()},m(r,n){c.insert(r,t,n),s.m(t,null),o[40](t)},p(r,n){i===(i=e(r))&&s?s.p(r,n):(s.d(1),s=i(r),s&&(s.c(),s.m(t,null)))},i:c.noop,o:c.noop,d(r){r&&c.detach(t),s.d(),o[40](null)}}}function wd(o,t,e){let i;c.component_subscribe(o,c.$format,w=>e(21,i=w)),_e.extend(cd);let{endpoint:s="",session:r="",userid:n="",lang:a="en",gmversion:l="",operator:d="Everymatrix",supportemail:u="",baseurl:h="",clientstyling:p="",clientstylingurl:f="",mbsource:b,translationurl:m="",hasconfirmationmodal:y="false",dateformat:D="DD/MM/YYYY",sendnotificationemail:A="false"}=t,I,M,N=[],W={},X=window.navigator.userAgent,U,q,P="",T="",V="selectAPeriod",ee="",E="",v=c.getDevice(X)!=="PC",_=!1,x=!1,g=!1,S=!1,C=y==="true",O=!0;const $=()=>{fetch(m).then(ae=>ae.json()).then(ae=>{Object.keys(ae).forEach(le=>{Ro(le,ae[le])})}).catch(ae=>{console.log(ae)})};Object.keys(Ho).forEach(w=>{Ro(w,Ho[w])});const H=()=>{let w=new URL(`${s}/v1/player/selfExclusionSettings`);fetch(w,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(le=>G(le)).then(le=>{e(10,N=le.periods)}).catch(le=>{console.log(le)}).finally(()=>{e(20,O=!1)})},Y=w=>{w.data.type==="setSelfExclusion"&&R()},G=w=>Ke(this,null,function*(){if(w.status>=300)W=yield w.json(),E=W.thirdPartyResponse.errorCode,console.error(i(E||"generalError")),window.postMessage({type:"WidgetNotification",data:{type:"error",message:i(E||"generalError")}},window.location.href);else return w.json()}),ne=()=>{e(19,S=!S)},ie=w=>{switch(T=w.text,e(14,V=w.key),e(18,g=!0),e(19,S=!1),e(16,_=!1),e(17,x=!1),T){case"Until":e(17,x=!0),e(11,U=_e().add(6,"M").format("YYYY-MM-DD")),e(12,q=_e().add(5,"y").format("YYYY-MM-DD")),e(13,P=U);break;case"Permanent":e(16,_=!_);break;default:const[ae,le]=T.split(" "),Ae=le.includes("Day")?"days":le.includes("Month")?"months":le.includes("Year")?"years":null;if(!Ae)return;e(13,P=_e().add(Number(ae),Ae).format("YYYY-MM-DD"));break}C&&se()},se=()=>{if(!C||!T||!P){e(15,ee="");return}e(15,ee=x?i("confirmationModalTextUntil",{values:{date:_e(P).format(D)}}):i("confirmationModalTextPeriod",{values:{period:i(T)}}))},K=w=>{w.preventDefault(),C?(se(),window.postMessage({type:"ShowSelfExclusionConfirmationModal"},window.location.href)):R()},R=()=>{e(20,O=!0);const w=new URL(`/v2/player/${n}/limits${l==="gm16"?"/session":""}`,s),le={method:"PUT",headers:{"X-SessionID":r,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({selfExclusion:{period:V,expiryDate:P,selfExclusionReason:"UserRequest",sendNotificationEmail:A==="true"}})};fetch(w.href,le).then(Ae=>G(Ae)).then(Ae=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:i("selfExclusionSuccess")}},window.location.href),window.postMessage({type:"LogoutSuccessfull"},window.location.href)}).catch(Ae=>{console.error(i("errorSelfExclusionCall"),Ae),window.postMessage({type:"WidgetNotification",data:{type:"error",message:i("errorSelfExclusionCall")}},window.location.href)}).finally(()=>{e(20,O=!1)})},L=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:v},window.location.href)},B=w=>{e(13,P=w.target.value)},de=()=>{M.addEventListener("change",B,!1),e(9,M.i18n=gt(_t({},M.i18n),{formatDate:w=>_e(new Date(w.year,w.month,w.day)).format(D),parseDate:w=>{const ae=_e(w,D);return{year:ae.year(),month:ae.month(),day:ae.date()}}}),M)};c.onMount(()=>(window.addEventListener("message",Y,!1),()=>{M.removeEventListener("change",B),window.removeEventListener("message",Y)}));const pe=()=>{dd(a)},re=()=>L(),fe=()=>ne(),k=w=>ie(w);function j(w){c.binding_callbacks[w?"unshift":"push"](()=>{M=w,e(9,M)})}const Z=w=>K(w);function mt(w){c.binding_callbacks[w?"unshift":"push"](()=>{I=w,e(8,I)})}return o.$$set=w=>{"endpoint"in w&&e(28,s=w.endpoint),"session"in w&&e(29,r=w.session),"userid"in w&&e(30,n=w.userid),"lang"in w&&e(0,a=w.lang),"gmversion"in w&&e(31,l=w.gmversion),"operator"in w&&e(1,d=w.operator),"supportemail"in w&&e(2,u=w.supportemail),"baseurl"in w&&e(3,h=w.baseurl),"clientstyling"in w&&e(4,p=w.clientstyling),"clientstylingurl"in w&&e(5,f=w.clientstylingurl),"mbsource"in w&&e(6,b=w.mbsource),"translationurl"in w&&e(32,m=w.translationurl),"hasconfirmationmodal"in w&&e(33,y=w.hasconfirmationmodal),"dateformat"in w&&e(7,D=w.dateformat),"sendnotificationemail"in w&&e(34,A=w.sendnotificationemail)},o.$$.update=()=>{o.$$.dirty[0]&1&&a&&pe(),o.$$.dirty[0]&1879048192|o.$$.dirty[1]&1&&s&&r&&n&&l&&H(),o.$$.dirty[0]&512&&M&&de(),o.$$.dirty[0]&272&&p&&I&&c.setClientStyling(I,p),o.$$.dirty[0]&288&&f&&I&&c.setClientStylingURL(I,f),o.$$.dirty[0]&320&&b&&I&&c.setStreamStyling(I,`${b}.Style`),o.$$.dirty[1]&2&&m&&$()},C&&se(),[a,d,u,h,p,f,b,D,I,M,N,U,q,P,V,ee,_,x,g,S,O,i,v,C,ne,ie,K,L,s,r,n,l,m,y,A,re,fe,k,j,Z,mt]}class xr extends c.SvelteComponent{constructor(t){super(),c.init(this,t,wd,xd,c.safe_not_equal,{endpoint:28,session:29,userid:30,lang:0,gmversion:31,operator:1,supportemail:2,baseurl:3,clientstyling:4,clientstylingurl:5,mbsource:6,translationurl:32,hasconfirmationmodal:33,dateformat:7,sendnotificationemail:34},ud,[-1,-1])}get endpoint(){return this.$$.ctx[28]}set endpoint(t){this.$$set({endpoint:t}),c.flush()}get session(){return this.$$.ctx[29]}set session(t){this.$$set({session:t}),c.flush()}get userid(){return this.$$.ctx[30]}set userid(t){this.$$set({userid:t}),c.flush()}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),c.flush()}get gmversion(){return this.$$.ctx[31]}set gmversion(t){this.$$set({gmversion:t}),c.flush()}get operator(){return this.$$.ctx[1]}set operator(t){this.$$set({operator:t}),c.flush()}get supportemail(){return this.$$.ctx[2]}set supportemail(t){this.$$set({supportemail:t}),c.flush()}get baseurl(){return this.$$.ctx[3]}set baseurl(t){this.$$set({baseurl:t}),c.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(t){this.$$set({clientstyling:t}),c.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),c.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(t){this.$$set({mbsource:t}),c.flush()}get translationurl(){return this.$$.ctx[32]}set translationurl(t){this.$$set({translationurl:t}),c.flush()}get hasconfirmationmodal(){return this.$$.ctx[33]}set hasconfirmationmodal(t){this.$$set({hasconfirmationmodal:t}),c.flush()}get dateformat(){return this.$$.ctx[7]}set dateformat(t){this.$$set({dateformat:t}),c.flush()}get sendnotificationemail(){return this.$$.ctx[34]}set sendnotificationemail(t){this.$$set({sendnotificationemail:t}),c.flush()}}c.create_custom_element(xr,{endpoint:{},session:{},userid:{},lang:{},gmversion:{},operator:{},supportemail:{},baseurl:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},hasconfirmationmodal:{},dateformat:{},sendnotificationemail:{}},[],[],!0);const Ed=Object.freeze(Object.defineProperty({__proto__:null,default:xr},Symbol.toStringTag,{value:"Module"}));exports.PlayerAccountSelfExclusionNd_ce=Ed;exports.dayjs=_e;
3555
+ `}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new Jc(this,e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e},{uniqueIdPrefix:"search-input"})),this.addController(new Xc(this.inputElement,this._labelController)),this._tooltipController=new Zs(this),this.addController(this._tooltipController),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this._tooltipController.setShouldShow(e=>!e.opened),this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown",e=>e.preventDefault()),this.$.overlay.addEventListener("vaadin-overlay-close",this._onVaadinOverlayClose.bind(this))}_onVaadinOverlayClose(t){t.detail.sourceEvent&&t.detail.sourceEvent.composedPath().includes(this)&&t.preventDefault()}_toggle(t){t.stopPropagation(),this.$.overlay.opened?this.close():this.open()}_openedChanged(t){super._openedChanged(t),this.$.overlay.positionTarget=this.shadowRoot.querySelector('[part="input-field"]'),this.$.overlay.noVerticalOverlap=!0}}ge(nd);if(typeof window!="undefined"){let o=function(t){return function(...e){try{return t.apply(this,e)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=o(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGeneralConfirmationModal-dy9TCHFm.cjs")).then(({default:t})=>{!customElements.get("player-account-general-confirmation-modal")&&customElements.define("player-account-general-confirmation-modal",t.element)})}var yr={exports:{}};(function(o,t){(function(e,i){o.exports=i()})(c.commonjsGlobal,function(){var e=1e3,i=6e4,s=36e5,r="millisecond",n="second",a="minute",l="hour",d="day",u="week",h="month",p="quarter",f="year",y="date",m="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,D=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,A={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(E){var b=["th","st","nd","rd"],_=E%100;return"["+E+(b[(_-20)%10]||b[_]||b[0])+"]"}},I=function(E,b,_){var x=String(E);return!x||x.length>=b?E:""+Array(b+1-x.length).join(_)+E},M={s:I,z:function(E){var b=-E.utcOffset(),_=Math.abs(b),x=Math.floor(_/60),g=_%60;return(b<=0?"+":"-")+I(x,2,"0")+":"+I(g,2,"0")},m:function E(b,_){if(b.date()<_.date())return-E(_,b);var x=12*(_.year()-b.year())+(_.month()-b.month()),g=b.clone().add(x,h),S=_-g<0,C=b.clone().add(x+(S?-1:1),h);return+(-(x+(_-g)/(S?g-C:C-g))||0)},a:function(E){return E<0?Math.ceil(E)||0:Math.floor(E)},p:function(E){return{M:h,y:f,w:u,d,D:y,h:l,m:a,s:n,ms:r,Q:p}[E]||String(E||"").toLowerCase().replace(/s$/,"")},u:function(E){return E===void 0}},N="en",W={};W[N]=A;var X="$isDayjsObject",U=function(E){return E instanceof V||!(!E||!E[X])},q=function E(b,_,x){var g;if(!b)return N;if(typeof b=="string"){var S=b.toLowerCase();W[S]&&(g=S),_&&(W[S]=_,g=S);var C=b.split("-");if(!g&&C.length>1)return E(C[0])}else{var O=b.name;W[O]=b,g=O}return!x&&g&&(N=g),g||!x&&N},P=function(E,b){if(U(E))return E.clone();var _=typeof b=="object"?b:{};return _.date=E,_.args=arguments,new V(_)},T=M;T.l=q,T.i=U,T.w=function(E,b){return P(E,{locale:b.$L,utc:b.$u,x:b.$x,$offset:b.$offset})};var V=function(){function E(_){this.$L=q(_.locale,null,!0),this.parse(_),this.$x=this.$x||_.x||{},this[X]=!0}var b=E.prototype;return b.parse=function(_){this.$d=function(x){var g=x.date,S=x.utc;if(g===null)return new Date(NaN);if(T.u(g))return new Date;if(g instanceof Date)return new Date(g);if(typeof g=="string"&&!/Z$/i.test(g)){var C=g.match(v);if(C){var O=C[2]-1||0,$=(C[7]||"0").substring(0,3);return S?new Date(Date.UTC(C[1],O,C[3]||1,C[4]||0,C[5]||0,C[6]||0,$)):new Date(C[1],O,C[3]||1,C[4]||0,C[5]||0,C[6]||0,$)}}return new Date(g)}(_),this.init()},b.init=function(){var _=this.$d;this.$y=_.getFullYear(),this.$M=_.getMonth(),this.$D=_.getDate(),this.$W=_.getDay(),this.$H=_.getHours(),this.$m=_.getMinutes(),this.$s=_.getSeconds(),this.$ms=_.getMilliseconds()},b.$utils=function(){return T},b.isValid=function(){return this.$d.toString()!==m},b.isSame=function(_,x){var g=P(_);return this.startOf(x)<=g&&g<=this.endOf(x)},b.isAfter=function(_,x){return P(_)<this.startOf(x)},b.isBefore=function(_,x){return this.endOf(x)<P(_)},b.$g=function(_,x,g){return T.u(_)?this[x]:this.set(g,_)},b.unix=function(){return Math.floor(this.valueOf()/1e3)},b.valueOf=function(){return this.$d.getTime()},b.startOf=function(_,x){var g=this,S=!!T.u(x)||x,C=T.p(_),O=function(K,R){var L=T.w(g.$u?Date.UTC(g.$y,R,K):new Date(g.$y,R,K),g);return S?L:L.endOf(d)},$=function(K,R){return T.w(g.toDate()[K].apply(g.toDate("s"),(S?[0,0,0,0]:[23,59,59,999]).slice(R)),g)},H=this.$W,Y=this.$M,G=this.$D,ne="set"+(this.$u?"UTC":"");switch(C){case f:return S?O(1,0):O(31,11);case h:return S?O(1,Y):O(0,Y+1);case u:var ie=this.$locale().weekStart||0,se=(H<ie?H+7:H)-ie;return O(S?G-se:G+(6-se),Y);case d:case y:return $(ne+"Hours",0);case l:return $(ne+"Minutes",1);case a:return $(ne+"Seconds",2);case n:return $(ne+"Milliseconds",3);default:return this.clone()}},b.endOf=function(_){return this.startOf(_,!1)},b.$set=function(_,x){var g,S=T.p(_),C="set"+(this.$u?"UTC":""),O=(g={},g[d]=C+"Date",g[y]=C+"Date",g[h]=C+"Month",g[f]=C+"FullYear",g[l]=C+"Hours",g[a]=C+"Minutes",g[n]=C+"Seconds",g[r]=C+"Milliseconds",g)[S],$=S===d?this.$D+(x-this.$W):x;if(S===h||S===f){var H=this.clone().set(y,1);H.$d[O]($),H.init(),this.$d=H.set(y,Math.min(this.$D,H.daysInMonth())).$d}else O&&this.$d[O]($);return this.init(),this},b.set=function(_,x){return this.clone().$set(_,x)},b.get=function(_){return this[T.p(_)]()},b.add=function(_,x){var g,S=this;_=Number(_);var C=T.p(x),O=function(Y){var G=P(S);return T.w(G.date(G.date()+Math.round(Y*_)),S)};if(C===h)return this.set(h,this.$M+_);if(C===f)return this.set(f,this.$y+_);if(C===d)return O(1);if(C===u)return O(7);var $=(g={},g[a]=i,g[l]=s,g[n]=e,g)[C]||1,H=this.$d.getTime()+_*$;return T.w(H,this)},b.subtract=function(_,x){return this.add(-1*_,x)},b.format=function(_){var x=this,g=this.$locale();if(!this.isValid())return g.invalidDate||m;var S=_||"YYYY-MM-DDTHH:mm:ssZ",C=T.z(this),O=this.$H,$=this.$m,H=this.$M,Y=g.weekdays,G=g.months,ne=g.meridiem,ie=function(R,L,B,de){return R&&(R[L]||R(x,S))||B[L].slice(0,de)},se=function(R){return T.s(O%12||12,R,"0")},K=ne||function(R,L,B){var de=R<12?"AM":"PM";return B?de.toLowerCase():de};return S.replace(D,function(R,L){return L||function(B){switch(B){case"YY":return String(x.$y).slice(-2);case"YYYY":return T.s(x.$y,4,"0");case"M":return H+1;case"MM":return T.s(H+1,2,"0");case"MMM":return ie(g.monthsShort,H,G,3);case"MMMM":return ie(G,H);case"D":return x.$D;case"DD":return T.s(x.$D,2,"0");case"d":return String(x.$W);case"dd":return ie(g.weekdaysMin,x.$W,Y,2);case"ddd":return ie(g.weekdaysShort,x.$W,Y,3);case"dddd":return Y[x.$W];case"H":return String(O);case"HH":return T.s(O,2,"0");case"h":return se(1);case"hh":return se(2);case"a":return K(O,$,!0);case"A":return K(O,$,!1);case"m":return String($);case"mm":return T.s($,2,"0");case"s":return String(x.$s);case"ss":return T.s(x.$s,2,"0");case"SSS":return T.s(x.$ms,3,"0");case"Z":return C}return null}(R)||C.replace(":","")})},b.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},b.diff=function(_,x,g){var S,C=this,O=T.p(x),$=P(_),H=($.utcOffset()-this.utcOffset())*i,Y=this-$,G=function(){return T.m(C,$)};switch(O){case f:S=G()/12;break;case h:S=G();break;case p:S=G()/3;break;case u:S=(Y-H)/6048e5;break;case d:S=(Y-H)/864e5;break;case l:S=Y/s;break;case a:S=Y/i;break;case n:S=Y/e;break;default:S=Y}return g?S:T.a(S)},b.daysInMonth=function(){return this.endOf(h).$D},b.$locale=function(){return W[this.$L]},b.locale=function(_,x){if(!_)return this.$L;var g=this.clone(),S=q(_,x,!0);return S&&(g.$L=S),g},b.clone=function(){return T.w(this.$d,this)},b.toDate=function(){return new Date(this.valueOf())},b.toJSON=function(){return this.isValid()?this.toISOString():null},b.toISOString=function(){return this.$d.toISOString()},b.toString=function(){return this.$d.toUTCString()},E}(),ee=V.prototype;return P.prototype=ee,[["$ms",r],["$s",n],["$m",a],["$H",l],["$W",d],["$M",h],["$y",f],["$D",y]].forEach(function(E){ee[E[1]]=function(b){return this.$g(b,E[0],E[1])}}),P.extend=function(E,b){return E.$i||(E(b,V,P),E.$i=!0),P},P.locale=q,P.isDayjs=U,P.unix=function(E){return P(1e3*E)},P.en=W[N],P.Ls=W,P.p={},P})})(yr);var ad=yr.exports;const _e=c.getDefaultExportFromCjs(ad);var vr={exports:{}};(function(o,t){(function(e,i){o.exports=i()})(c.commonjsGlobal,function(){var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},i=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,s=/\d\d/,r=/\d\d?/,n=/\d*[^-_:/,()\s\d]+/,a={},l=function(m){return(m=+m)+(m>68?1900:2e3)},d=function(m){return function(v){this[m]=+v}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(m){(this.zone||(this.zone={})).offset=function(v){if(!v||v==="Z")return 0;var D=v.match(/([+-]|\d\d)/g),A=60*D[1]+(+D[2]||0);return A===0?0:D[0]==="+"?-A:A}(m)}],h=function(m){var v=a[m];return v&&(v.indexOf?v:v.s.concat(v.f))},p=function(m,v){var D,A=a.meridiem;if(A){for(var I=1;I<=24;I+=1)if(m.indexOf(A(I,0,v))>-1){D=I>12;break}}else D=m===(v?"pm":"PM");return D},f={A:[n,function(m){this.afternoon=p(m,!1)}],a:[n,function(m){this.afternoon=p(m,!0)}],S:[/\d/,function(m){this.milliseconds=100*+m}],SS:[s,function(m){this.milliseconds=10*+m}],SSS:[/\d{3}/,function(m){this.milliseconds=+m}],s:[r,d("seconds")],ss:[r,d("seconds")],m:[r,d("minutes")],mm:[r,d("minutes")],H:[r,d("hours")],h:[r,d("hours")],HH:[r,d("hours")],hh:[r,d("hours")],D:[r,d("day")],DD:[s,d("day")],Do:[n,function(m){var v=a.ordinal,D=m.match(/\d+/);if(this.day=D[0],v)for(var A=1;A<=31;A+=1)v(A).replace(/\[|\]/g,"")===m&&(this.day=A)}],M:[r,d("month")],MM:[s,d("month")],MMM:[n,function(m){var v=h("months"),D=(h("monthsShort")||v.map(function(A){return A.slice(0,3)})).indexOf(m)+1;if(D<1)throw new Error;this.month=D%12||D}],MMMM:[n,function(m){var v=h("months").indexOf(m)+1;if(v<1)throw new Error;this.month=v%12||v}],Y:[/[+-]?\d+/,d("year")],YY:[s,function(m){this.year=l(m)}],YYYY:[/\d{4}/,d("year")],Z:u,ZZ:u};function y(m){var v,D;v=m,D=a&&a.formats;for(var A=(m=v.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(q,P,T){var V=T&&T.toUpperCase();return P||D[T]||e[T]||D[V].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(ee,E,b){return E||b.slice(1)})})).match(i),I=A.length,M=0;M<I;M+=1){var N=A[M],W=f[N],X=W&&W[0],U=W&&W[1];A[M]=U?{regex:X,parser:U}:N.replace(/^\[|\]$/g,"")}return function(q){for(var P={},T=0,V=0;T<I;T+=1){var ee=A[T];if(typeof ee=="string")V+=ee.length;else{var E=ee.regex,b=ee.parser,_=q.slice(V),x=E.exec(_)[0];b.call(P,x),q=q.replace(x,"")}}return function(g){var S=g.afternoon;if(S!==void 0){var C=g.hours;S?C<12&&(g.hours+=12):C===12&&(g.hours=0),delete g.afternoon}}(P),P}}return function(m,v,D){D.p.customParseFormat=!0,m&&m.parseTwoDigitYear&&(l=m.parseTwoDigitYear);var A=v.prototype,I=A.parse;A.parse=function(M){var N=M.date,W=M.utc,X=M.args;this.$u=W;var U=X[1];if(typeof U=="string"){var q=X[2]===!0,P=X[3]===!0,T=q||P,V=X[2];P&&(V=X[2]),a=this.$locale(),!q&&V&&(a=D.Ls[V]),this.$d=function(_,x,g){try{if(["x","X"].indexOf(x)>-1)return new Date((x==="X"?1e3:1)*_);var S=y(x)(_),C=S.year,O=S.month,$=S.day,H=S.hours,Y=S.minutes,G=S.seconds,ne=S.milliseconds,ie=S.zone,se=new Date,K=$||(C||O?1:se.getDate()),R=C||se.getFullYear(),L=0;C&&!O||(L=O>0?O-1:se.getMonth());var B=H||0,de=Y||0,pe=G||0,re=ne||0;return ie?new Date(Date.UTC(R,L,K,B,de,pe,re+60*ie.offset*1e3)):g?new Date(Date.UTC(R,L,K,B,de,pe,re)):new Date(R,L,K,B,de,pe,re)}catch(fe){return new Date("")}}(N,U,W),this.init(),V&&V!==!0&&(this.$L=this.locale(V).$L),T&&N!=this.format(U)&&(this.$d=new Date("")),a={}}else if(U instanceof Array)for(var ee=U.length,E=1;E<=ee;E+=1){X[1]=U[E-1];var b=D.apply(this,X);if(b.isValid()){this.$d=b.$d,this.$L=b.$L,this.init();break}E===ee&&(this.$d=new Date(""))}else I.call(this,M)}}})})(vr);var ld=vr.exports;const cd=c.getDefaultExportFromCjs(ld);function Ro(o,t){c.addMessages(o,t)}function dd(o){c.$locale.set(o)}const Ho={en:{titleSelfExclusion:"Self-Exclusion",selfExclusionText:"<p>While self-excluded, access to your account will be entirely restricted.</br>Self-exclusion can only be lifted after the period that you selected has passed by communicating with Customer Support, which will be subject to review and a cooling-off period. </br> Alternatively, you can choose to take a 'time out' (a break of up to 6 weeks) from our services via the '<a href='{baseurl}/{lang}/account/timeout'>Time out</a>' option. </br> If you would prefer just to close your account, '<a href='{baseurl}/{lang}/account/account-closure'>Account Closure</a>' you can choose to do so via the option.</br> We'd recommend you also read our '<a href='{baseurl}/{lang}/page/responsible-gambling'>Responsible Gambling</a>' help pages for further advice should you need it.",selfExclusionEmailText:"E-mail:",duration:"Duration:",dateInstructions:"In order to manually input date use the following format:",forever:"Forever",save:"Save",noPeriodSelected:"Please select a self exclusion period",selectAPeriod:"Select a period",temporarySelfExclusion:"Your self-exclusion period will last until the {date} 23:59.",permanentSelfExclusion:"Your self-exclusion period will be permanent.",SelfExclusionFor30Days:"30 Days",SelfExclusionFor6Months:"6 Months",SelfExclusionFor1Year:"1 Year",SelfExclusionFor5Years:"5 Years",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Until",confirmationModalTitle:"Confirmation",selfExclusionSuccess:"Self exclusion active",confirmationModalTextPeriod:"Are you sure you want to self-exclude for {period}?",confirmationModalTextUntil:"Are you sure you want to self-exclude until {date}?",errorSelfExclusionCall:"There was a problem while making the self exclusion request.",generalError:"There was an error while fetching the self exclusion.",InvalidSession:"The session is exipired."},"en-us":{titleSelfExclusion:"Self-Exclusion",selfExclusionText:"<p>While self-excluded, access to your account will be entirely restricted.</br>Self-exclusion can only be lifted after the period that you selected has passed by communicating with Customer Support, which will be subject to review and a cooling-off period. </br> Alternatively, you can choose to take a 'time out' (a break of up to 6 weeks) from our services via the '<a href='{baseurl}/{lang}/account/timeout'>Time out</a>' option. </br> If you would prefer just to close your account, '<a href='{baseurl}/{lang}/account/account-closure'>Account Closure</a>' you can choose to do so via the option.</br> We'd recommend you also read our '<a href='{baseurl}/{lang}/page/responsible-gambling'>Responsible Gambling</a>' help pages for further advice should you need it.",selfExclusionEmailText:"E-mail:",duration:"Duration:",dateInstructions:"In order to manually input date use the following format:",forever:"Forever",save:"Save",noPeriodSelected:"Please select a self exclusion period",selectAPeriod:"Select a period",temporarySelfExclusion:"Your self-exclusion period will last until the {date} 23:59.",permanentSelfExclusion:"Your self-exclusion period will be permanent.",SelfExclusionFor30Days:"30 Days",SelfExclusionFor6Months:"6 Months",SelfExclusionFor1Year:"1 Year",SelfExclusionFor5Years:"5 Years",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Until",confirmationModalTitle:"Confirmation",selfExclusionSuccess:"Self exclusion active",confirmationModalTextPeriod:"Are you sure you want to self-exclude for {period}?",confirmationModalTextUntil:"Are you sure you want to self-exclude until {date}?",errorSelfExclusionCall:"There was a problem while making the self exclusion request.",generalError:"There was an error while fetching the self exclusion.",InvalidSession:"The session is exipired."},"zh-hk":{titleSelfExclusion:"自我排除",selfExclusionText:"<p>在自我排除期間,您的帳戶將完全受到限制。</br> 自我排除僅可在您選擇的期間結束後,通過與客戶支援聯繫進行解除,並將接受審查和冷靜期。</br> 或者,您可以選擇通過'<a href='{baseurl}/{lang}/account/timeout'>暫停</a>'選項從我們的服務中暫停(最多6週)。</br> 如果您更願意關閉帳戶,可以通過'<a href='{baseurl}/{lang}/account/account-closure'>關閉帳戶</a>'選項進行關閉。</br> 我們建議您閱讀我們的'<a href='{baseurl}/{lang}/page/responsible-gambling'>負責任博彩</a>'幫助頁面以獲取進一步的建議。</p>",selfExclusionEmailText:"電子郵件:",duration:"時長:",dateInstructions:"如需手動輸入日期,請使用以下格式:",forever:"永久",save:"保存",noPeriodSelected:"請選擇自我排除時段",selectAPeriod:"選擇一個時段",temporarySelfExclusion:"您的自我排除期將持續到 {date} 23:59。",permanentSelfExclusion:"您的自我排除期將是永久性的。",SelfExclusionFor30Days:"30天",SelfExclusionFor6Months:"6個月",SelfExclusionFor1Year:"1年",SelfExclusionFor5Years:"5年",SelfExclusionPermanent:"永久",SelfExclusionUntilSelectedDate:"直到",selfExclusionSuccess:"自我排斥活躍",confirmationModalTitle:"確認",confirmationModalTextPeriod:"您確定要自我排除 {period} 嗎?",confirmationModalTextUntil:"您確定要自我排除直到 {date} 嗎?",generalError:"提取自我排除时发生错误。",errorSelfExclusionCall:"发出自我排除请求时出现问题。",InvalidSession:"会话已过期。"},fr:{titleSelfExclusion:"Auto-Exclusion",selfExclusionText:"<p>Pendant la période d'auto-exclusion, l'accès à votre compte sera entièrement restreint.</br> L'auto-exclusion ne peut être levée qu'après la période que vous avez sélectionnée et en contactant le Service Client, sous réserve d'une révision et d'une période de réflexion.</br> Alternativement, vous pouvez choisir de prendre un '<a href='{baseurl}/{lang}/account/timeout'>temps de pause</a>' (jusqu'à 6 semaines) via l'option correspondante.</br> Si vous préférez simplement fermer votre compte, vous pouvez le faire via l'option '<a href='{baseurl}/{lang}/account/account-closure'>Fermeture de compte</a>'.</br> Nous vous recommandons également de consulter nos pages d'aide '<a href='{baseurl}/{lang}/page/responsible-gambling'>Jeu Responsable</a>' pour des conseils supplémentaires si nécessaire.</p>",selfExclusionEmailText:"E-mail :",duration:"Durée :",dateInstructions:"Pour saisir une date manuellement, utilisez le format suivant :",forever:"Pour toujours",save:"Enregistrer",noPeriodSelected:"Veuillez sélectionner une période d'auto-exclusion",selectAPeriod:"Sélectionnez une période",temporarySelfExclusion:"Votre période d'auto-exclusion durera jusqu'au {date} 23:59.",permanentSelfExclusion:"Votre période d'auto-exclusion sera permanente.",SelfExclusionFor30Days:"30 Jours",SelfExclusionFor6Months:"6 Mois",SelfExclusionFor1Year:"1 An",SelfExclusionFor5Years:"5 Ans",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Jusqu'à",selfExclusionSuccess:"Auto exclusion active",confirmationModalTitle:"Confirmation",confirmationModalTextPeriod:"Êtes-vous sûr de vouloir vous auto-exclure pour {period} ?",confirmationModalTextUntil:"Êtes-vous sûr de vouloir vous auto-exclure jusqu'au {date} ?",generalError:"Une erreur s'est produite lors de la récupération de l'auto-exclusion.",errorSelfExclusionCall:"Un problème est survenu lors de la demande d'auto-exclusion.",InvalidSession:"La session a expiré."},ro:{titleSelfExclusion:"Auto-Excludere",selfExclusionText:"<p>În timpul perioadei de autoexcludere, accesul la contul dvs. va fi complet restricționat.</br> Autoexcluderea poate fi ridicată numai după ce perioada selectată de dvs. a expirat, contactând Suportul Clienți, și va fi supusă unei revizuiri și unei perioade de reflecție.</br> Alternativ, puteți alege să luați o '<a href='{baseurl}/{lang}/account/timeout'>pauză</a>' (o întrerupere de până la 6 săptămâni) prin opțiunea corespunzătoare.</br> Dacă preferați să vă închideți contul, puteți face acest lucru prin opțiunea '<a href='{baseurl}/{lang}/account/account-closure'>Închidere cont</a>'.</br> Vă recomandăm, de asemenea, să consultați paginile noastre de ajutor '<a href='{baseurl}/{lang}/page/responsible-gambling'>Joc Responsabil</a>' pentru sfaturi suplimentare, dacă este necesar.</p>",selfExclusionEmailText:"E-mail:",duration:"Durată:",dateInstructions:"Pentru a introduce manual o dată, utilizați următorul format:",forever:"Pentru totdeauna",save:"Salvează",noPeriodSelected:"Vă rugăm să selectați o perioadă de auto-excludere",selectAPeriod:"Selectați o perioadă",temporarySelfExclusion:"Perioada dvs. de auto-excludere va dura până la {date} 23:59.",permanentSelfExclusion:"Perioada dvs. de auto-excludere va fi permanentă.",SelfExclusionFor30Days:"30 de Zile",SelfExclusionFor6Months:"6 Luni",SelfExclusionFor1Year:"1 An",SelfExclusionFor5Years:"5 Ani",SelfExclusionPermanent:"Permanent",SelfExclusionUntilSelectedDate:"Până la",selfExclusionSuccess:"Auto-excludere activa",confirmationModalTitle:"Confirmare",confirmationModalTextPeriod:"Sunteți sigur că doriți să vă auto-excludeți pentru {period}?",confirmationModalTextUntil:"Sunteți sigur că doriți să vă auto-excludeți până la {date}?",generalError:"A apărut o eroare la preluarea auto-excluderii.",errorSelfExclusionCall:"A apărut o problemă la efectuarea cererii de auto-excludere.",InvalidSession:"Sesiunea a expirat."},es:{titleSelfExclusion:"Autoexclusión",selfExclusionText:"<p>Mientras esté autoexcluido, el acceso a su cuenta estará completamente restringido.</br> La autoexclusión solo se puede levantar después de que haya pasado el período seleccionado, comunicándose con Atención al Cliente, sujeto a una revisión y un período de enfriamiento.</br> Alternativamente, puede optar por tomarse un '<a href='{baseurl}/{lang}/account/timeout'>descanso</a>' (un descanso de hasta 6 semanas) a través de la opción correspondiente.</br> Si prefiere cerrar su cuenta, puede hacerlo a través de la opción '<a href='{baseurl}/{lang}/account/account-closure'>Cierre de Cuenta</a>'.</br> También le recomendamos que lea nuestras páginas de ayuda sobre '<a href='{baseurl}/{lang}/page/responsible-gambling'>Juego Responsable</a>' para obtener más consejos si los necesita.</p>",selfExclusionEmailText:"Correo electrónico:",duration:"Duración:",dateInstructions:"Para ingresar manualmente la fecha, utilice el siguiente formato:",forever:"Para siempre",save:"Guardar",noPeriodSelected:"Por favor, seleccione un período de autoexclusión",selectAPeriod:"Seleccione un período",temporarySelfExclusion:"Su período de autoexclusión durará hasta el {date} a las 23:59.",permanentSelfExclusion:"Su período de autoexclusión será permanente.",SelfExclusionFor30Days:"30 Días",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor1Year:"1 Año",SelfExclusionFor5Years:"5 Años",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Hasta",selfExclusionSuccess:"Auto Exclusión activa.",confirmationModalTitle:"Confirmación",confirmationModalTextPeriod:"¿Estás seguro de que deseas autoexcluirte por {period}?",confirmationModalTextUntil:"¿Estás seguro de que deseas autoexcluirte hasta {date}?",generalError:"Hubo un error al obtener la autoexclusión.",errorSelfExclusionCall:"Hubo un problema al hacer la solicitud de autoexclusión.",InvalidSession:"La sesión ha expirado."},pt:{titleSelfExclusion:"Autoexclusão",selfExclusionText:"<p>Durante o período de autoexclusão, o acesso à sua conta estará totalmente restrito.</br> A autoexclusão só pode ser levantada após o término do período selecionado, entrando em contato com o Suporte ao Cliente, sujeito a uma revisão e a um período de reflexão.</br> Alternativamente, você pode optar por fazer uma '<a href='{baseurl}/{lang}/account/timeout'>pausa</a>' (um intervalo de até 6 semanas) através da opção correspondente.</br> Se preferir encerrar a sua conta, pode fazê-lo através da opção '<a href='{baseurl}/{lang}/account/account-closure'>Encerramento de Conta</a>'.</br> Recomendamos também que leia as nossas páginas de ajuda sobre '<a href='{baseurl}/{lang}/page/responsible-gambling'>Jogo Responsável</a>' para obter mais conselhos, caso necessite.</p>",selfExclusionEmailText:"E-mail:",duration:"Duração:",dateInstructions:"Para introduzir manualmente a data, utilize o seguinte formato:",forever:"Para sempre",save:"Guardar",noPeriodSelected:"Por favor, selecione um período de autoexclusão",selectAPeriod:"Selecione um período",temporarySelfExclusion:"O seu período de autoexclusão durará até às {date} 23:59.",permanentSelfExclusion:"O seu período de autoexclusão será permanente.",SelfExclusionFor30Days:"30 Dias",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor1Year:"1 Ano",SelfExclusionFor5Years:"5 Anos",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Até",selfExclusionSuccess:"Autoexclusão ativa",confirmationModalTitle:"Confirmação",confirmationModalTextPeriod:"Tem a certeza de que deseja autoexcluir-se por {period}?",confirmationModalTextUntil:"Tem a certeza de que deseja autoexcluir-se até {date}?",generalError:"Ocorreu um erro ao buscar a autoexclusão.",errorSelfExclusionCall:"Ocorreu um problema ao fazer a solicitação de autoexclusão.",InvalidSession:"A sessão expirou."},hr:{titleSelfExclusion:"Samoisključenje",selfExclusionText:"<p>Tijekom razdoblja samoisključenja, pristup vašem računu bit će potpuno ograničen.</br> Samoisključenje se može ukinuti tek nakon što istekne razdoblje koje ste odabrali, uz kontaktiranje Korisničke podrške, uz reviziju i razdoblje hlađenja.</br> Alternativno, možete odabrati '<a href='{baseurl}/{lang}/account/timeout'>stanku</a>' (pauzu do 6 tjedana) putem odgovarajuće opcije.</br> Ako radije želite zatvoriti svoj račun, to možete učiniti putem opcije '<a href='{baseurl}/{lang}/account/account-closure'>Zatvaranje računa</a>'.</br> Također vam preporučujemo da pročitate naše stranice s pomoći o '<a href='{baseurl}/{lang}/page/responsible-gambling'>Odgovorno kockanje</a>' za dodatne savjete, ako su vam potrebni.</p>",selfExclusionEmailText:"E-mail:",duration:"Trajanje:",dateInstructions:"Za ručni unos datuma koristite sljedeći format:",forever:"Zauvijek",save:"Spremi",noPeriodSelected:"Molimo odaberite razdoblje samoisključenja",selectAPeriod:"Odaberite razdoblje",temporarySelfExclusion:"Vaše razdoblje samoisključenja trajat će do {date} 23:59.",permanentSelfExclusion:"Vaše razdoblje samoisključenja bit će trajno.",SelfExclusionFor30Days:"30 Dana",SelfExclusionFor6Months:"6 Mjeseci",SelfExclusionFor1Year:"1 Godina",SelfExclusionFor5Years:"5 Godina",SelfExclusionPermanent:"Trajno",SelfExclusionUntilSelectedDate:"Do",selfExclusionSuccess:"Aktivno samoisključivanje",confirmationModalTitle:"Potvrda",confirmationModalTextPeriod:"Jeste li sigurni da se želite samoisključiti na {period}?",confirmationModalTextUntil:"Jeste li sigurni da se želite samoisključiti do {date}?",generalError:"Došlo je do pogreške prilikom dohvaćanja samoisključenja.",errorSelfExclusionCall:"Došlo je do problema prilikom slanja zahtjeva za samoisključenje.",InvalidSession:"Sesija je istekla."},"pt-br":{titleSelfExclusion:"Autoexclusão",selfExclusionText:"<p>Durante o período de autoexclusão, o acesso à sua conta será completamente restrito.</br> A autoexclusão só pode ser removida após o término do período selecionado, entrando em contato com o Suporte ao Cliente, sujeito a revisão e a um período de reflexão.</br> Alternativamente, você pode optar por fazer um '<a href='{baseurl}/{lang}/account/timeout'>intervalo</a>' (uma pausa de até 6 semanas) através da opção correspondente.</br> Se preferir encerrar sua conta, você pode fazer isso através da opção '<a href='{baseurl}/{lang}/account/account-closure'>Encerramento de Conta</a>'.</br> Recomendamos também que leia nossas páginas de ajuda sobre '<a href='{baseurl}/{lang}/page/responsible-gambling'>Jogo Responsável</a>' para obter mais conselhos, caso necessite.</p>",selfExclusionEmailText:"E-mail:",duration:"Duração:",dateInstructions:"Para inserir manualmente a data, use o seguinte formato:",forever:"Para sempre",save:"Salvar",noPeriodSelected:"Por favor, selecione um período de autoexclusão",selectAPeriod:"Selecione um período",temporarySelfExclusion:"Seu período de autoexclusão durará até {date} às 23:59.",permanentSelfExclusion:"Seu período de autoexclusão será permanente.",SelfExclusionFor30Days:"30 Dias",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor1Year:"1 Ano",SelfExclusionFor5Years:"5 Anos",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Até",selfExclusionSuccess:"Autoexclusão ativa",confirmationModalTitle:"Confirmação",confirmationModalTextPeriod:"Você tem certeza de que deseja se autoexcluir por {period}?",confirmationModalTextUntil:"Você tem certeza de que deseja se autoexcluir até {date}?",generalError:"Houve um erro ao buscar a autoexclusão.",errorSelfExclusionCall:"Houve um problema ao fazer a solicitação de autoexclusão.",InvalidSession:"A sessão expirou."},"es-mx":{titleSelfExclusion:"Autoexclusión",selfExclusionText:"<p>Mientras esté autoexcluido, el acceso a su cuenta estará completamente restringido.</br> La autoexclusión solo puede levantarse después de que haya pasado el período que seleccionó, comunicándose con el Servicio al Cliente, sujeto a una revisión y un período de enfriamiento.</br> Alternativamente, puede elegir tomarse un '<a href='{baseurl}/{lang}/account/timeout'>descanso</a>' (una pausa de hasta 6 semanas) a través de la opción correspondiente.</br> Si prefiere cerrar su cuenta, puede hacerlo mediante la opción '<a href='{baseurl}/{lang}/account/account-closure'>Cierre de Cuenta</a>'.</br> También le recomendamos leer nuestras páginas de ayuda sobre '<a href='{baseurl}/{lang}/page/responsible-gambling'>Juego Responsable</a>' para obtener más consejos si lo necesita.</p>",selfExclusionEmailText:"Correo electrónico:",duration:"Duración:",dateInstructions:"Para ingresar manualmente la fecha, utilice el siguiente formato:",forever:"Para siempre",save:"Guardar",noPeriodSelected:"Por favor, seleccione un período de autoexclusión",selectAPeriod:"Seleccione un período",temporarySelfExclusion:"Su período de autoexclusión durará hasta el {date} a las 23:59.",permanentSelfExclusion:"Su período de autoexclusión será permanente.",SelfExclusionFor30Days:"30 Días",SelfExclusionFor6Months:"6 Meses",SelfExclusionFor1Year:"1 Año",SelfExclusionFor5Years:"5 Años",SelfExclusionPermanent:"Permanente",SelfExclusionUntilSelectedDate:"Hasta",selfExclusionSuccess:"Auto-exclusión activa",confirmationModalTitle:"Confirmación",confirmationModalTextPeriod:"¿Estás seguro de que deseas autoexcluirte por {period}?",confirmationModalTextUntil:"¿Estás seguro de que deseas autoexcluirte hasta {date}?",generalError:"Hubo un error al obtener la autoexclusión.",errorSelfExclusionCall:"Hubo un problema al hacer la solicitud de autoexclusión.",InvalidSession:"La sesión ha expirado."},tr:{titleSelfExclusion:"Kendi Kendini Hariç Tutma",selfExclusionText:"<p>Kendinizi dışlama süresince hesabınıza erişiminiz tamamen kısıtlanacaktır.</br> Kendinizi dışlama, yalnızca seçtiğiniz süre sona erdikten sonra, Müşteri Hizmetleri ile iletişime geçerek kaldırılabilir ve inceleme ile bir düşünme süresine tabi olacaktır.</br> Alternatif olarak, '<a href='{baseurl}/{lang}/account/timeout'>Mola</a>' seçeneğiyle hizmetlerimizden (6 haftaya kadar bir ara) faydalanmayı tercih edebilirsiniz.</br> Hesabınızı kapatmayı tercih ederseniz, bunu '<a href='{baseurl}/{lang}/account/account-closure'>Hesap Kapatma</a>' seçeneği aracılığıyla yapabilirsiniz.</br> Ayrıca, gerektiğinde daha fazla tavsiye almak için '<a href='{baseurl}/{lang}/page/responsible-gambling'>Sorumlu Oyun</a>' yardım sayfalarımızı okumanızı öneririz.</p>",selfExclusionEmailText:"E-posta:",duration:"Süre:",dateInstructions:"Tarihi manuel olarak girmek için şu formatı kullanın:",forever:"Sonsuza kadar",save:"Kaydet",noPeriodSelected:"Lütfen bir kendi kendini hariç tutma süresi seçin",selectAPeriod:"Bir süre seçin",temporarySelfExclusion:"Kendi kendini hariç tutma süreniz {date} saat 23:59'a kadar sürecektir.",permanentSelfExclusion:"Kendi kendini hariç tutma süreniz kalıcı olacaktır.",SelfExclusionFor30Days:"30 Gün",SelfExclusionFor6Months:"6 Ay",SelfExclusionFor1Year:"1 Yıl",SelfExclusionFor5Years:"5 Yıl",SelfExclusionPermanent:"Kalıcı",SelfExclusionUntilSelectedDate:"Tarihe kadar",selfExclusionSuccess:"Kendini dışlama etkin",confirmationModalTitle:"Onay",confirmationModalTextPeriod:"{period} için kendinizi hariç tutmak istediğinizden emin misiniz?",confirmationModalTextUntil:"{date} tarihine kadar kendinizi hariç tutmak istediğinizden emin misiniz?",generalError:"Kendi kendini dışlama alınırken bir hata oluştu.",errorSelfExclusionCall:"Kendi kendini dışlama isteği yapılırken bir sorun oluştu.",InvalidSession:"Oturum süresi doldu."}};function ud(o){c.append_styles(o,"svelte-h1xl9a",'a{cursor:pointer;text-decoration:underline;font-weight:600}.PlayerSelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.PlayerSelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerSelfExclusionTitleNone{display:none}.SelfExclusionContainer{border-radius:var(--emw--border-radius-medium, 10px);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));container-type:inline-size}.SelfExclusionContainer .SelfExclusionWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;border-radius:var(--emw--border-radius-medium, 10px);max-width:100%;min-height:500px;opacity:1;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.SelfExclusionContainer .SelfExclusionWrapper.SelfExclusionWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.SelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-bold, 700)}.SelfExclusionTitle.SelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px)}.SelfExclusionNotification{color:var(--emw--color-gray-300, #58586B);line-height:24px}.SelfExclusionNotification.SelfExclusionDescriptionMobile{font-size:var(--emw--font-size-x-small, 12px);line-height:19px}.SelfExclusionNotification .SelfExclusionDescriptionText p{font-size:16px}.SelfExclusionNotification .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px;min-height:180px}.SelfExclusionDescription p{font-size:16px}.SelfExclusionDescription a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}@container (max-width: 768px){.SelfExclusionDescription{font-size:var(--emw--font-size-x-small, 12px);line-height:19px;min-height:230px}}.SelfExclusionConfigWrapper{width:50%;position:relative;margin-bottom:var(--emw--spacing-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-radius:var(--emw--border-radius-medium, 10px);cursor:pointer}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px)}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:15px;height:15px;fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transform:rotateZ(-90deg);transition:all 0.5s ease-in-out}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel p{margin:0;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon.active{transform:rotateZ(0deg)}.SelfExclusionConfigWrapper .SelfExclusionDropDown{max-height:0px;overflow:hidden;box-sizing:border-box;transition:all 0.5s ease-in-out;opacity:0;color:var(--emw--color-gray-300, #58586B);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:0px 0px var(--emw--border-radius-medium, 10px) var(--emw--border-radius-medium, 10px)}.SelfExclusionConfigWrapper .SelfExclusionDropDown div{padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px);font-size:var(--emw--font-size-x-small, 12px);border-top:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));transition:all 0.5s ease-in-out;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionDropDown div:hover{color:var(--emw--color-white, #FFFFFF);background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionConfigWrapper .SelfExclusionDropDown.active{max-height:300px;opacity:1}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile{width:100%;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:10px;height:10px}.SelfExclusionDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.SelfExclusionDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions strong{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDateWrapper input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:var(--emw--size-standard, 16px);line-height:18px}.SelfExclusionDateWrapper.SelfExclusionDateWrapperMobile{width:100%}.SelfExclusionRadioWrapper{display:block;position:relative;padding:4px 0 0 0;margin-bottom:16px;font-size:var(--emw--size-standard, 16px);user-select:none;line-height:18px}.SelfExclusionRadioWrapper label{font-size:var(--emw--size-standard, 16px);cursor:pointer;padding-left:35px}.SelfExclusionRadioWrapper input{font-family:inherit;position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SelfExclusionRadioWrapper .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.SelfExclusionRadioWrapper input:checked~.Checkmark{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionRadioWrapper .Checkmark:after{content:"";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.SelfExclusionRadioWrapper input:checked~.Checkmark:after{display:block}.SelfExclusionRadioWrapper.SelfExclusionRadioWrapperMobile label{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionActionButtons{margin-top:40px;width:50%}.SelfExclusionActionButtons .SelfExclusionSave{font-family:var(--emw--button-typography);border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emw--color-primary, #23B04E);border-radius:var(--emw--border-radius-medium, 10px);padding:20px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF);cursor:pointer;border:none}.SelfExclusionActionButtons .SelfExclusionSave:hover{filter:brightness(0.9)}.SelfExclusionActionButtons .SelfExclusionSave:disabled{opacity:0.5;cursor:default}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile{width:100%;grid-template-columns:1fr 1fr}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile .SelfExclusionSave{height:40px;font-size:var(--emw--font-size-small, 14px);padding:20px 0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function Bo(o,t,e){const i=o.slice();return i[55]=t[e],i}function hd(o){let t,e,i,s,r=o[21]("titleSelfExclusion")+"",n,a,l,d,u=o[21]("selfExclusionText",{values:{operatorname:o[1],baseurl:o[3],lang:o[0]}})+"",h,p,f=o[21]("selfExclusionEmailText")+"",y,m,v,D,A,I,M,N,W,X=o[21](`${o[14]}`)+"",U,q,P,T,V,ee,E,b,_,x,g,S,C,O=o[21]("save")+"",$,H,Y,G,ne,ie,se,K=o[22]&&fd(o),R=c.ensure_array_like(o[10]),L=[];for(let k=0;k<R.length;k+=1)L[k]=Yo(Bo(o,R,k));let B=o[17]&&jo(o);function de(k,j){return k[16]?gd:k[18]?md:_d}let pe=de(o),re=pe(o),fe=o[23]&&bd(o);return{c(){t=c.element("div"),e=c.element("form"),K&&K.c(),i=c.space(),s=c.element("h2"),n=c.text(r),a=c.space(),l=c.element("div"),d=c.element("p"),h=c.space(),p=c.element("p"),y=c.text(f),m=c.space(),v=c.element("a"),D=c.text(o[2]),I=c.space(),M=c.element("div"),N=c.element("div"),W=c.element("p"),U=c.text(X),q=c.space(),P=c.svg_element("svg"),T=c.svg_element("g"),V=c.svg_element("path"),ee=c.space(),E=c.element("div");for(let k=0;k<L.length;k+=1)L[k].c();b=c.space(),B&&B.c(),_=c.space(),x=c.element("div"),re.c(),g=c.space(),S=c.element("div"),C=c.element("button"),$=c.text(O),G=c.space(),fe&&fe.c(),ne=c.empty(),c.attr(s,"class","PlayerSelfExclusionTitle "+(o[22]?"PlayerSelfExclusionTitleNone":"")),c.attr(d,"class","SelfExclusionDescriptionText"),c.attr(v,"href",A="mailto:"+o[2]),c.attr(p,"class","SelfExclusionDescriptionText"),c.attr(l,"class","SelfExclusionDescription "+(o[22]?"SelfExclusionDescriptionMobile":"")),c.attr(V,"d","M 90 24.25 c 0 -0.896 -0.342 -1.792 -1.025 -2.475 c -1.366 -1.367 -3.583 -1.367 -4.949 0 L 45 60.8 L 5.975 21.775 c -1.367 -1.367 -3.583 -1.367 -4.95 0 c -1.366 1.367 -1.366 3.583 0 4.95 l 41.5 41.5 c 1.366 1.367 3.583 1.367 4.949 0 l 41.5 -41.5 C 89.658 26.042 90 25.146 90 24.25 z"),c.attr(V,"stroke-linecap","round"),c.attr(P,"xmlns","http://www.w3.org/2000/svg"),c.attr(P,"xmlns:xlink","http://www.w3.org/1999/xlink"),c.attr(P,"version","1.1"),c.attr(P,"viewBox","0 0 100 100"),c.attr(P,"xml:space","preserve"),c.attr(P,"class","SelfExclusionConfigIcon"),c.toggle_class(P,"active",o[19]),c.attr(N,"class","SelfExclusionConfigLabel"),c.attr(E,"class","SelfExclusionDropDown"),c.toggle_class(E,"active",o[19]),c.attr(M,"class","SelfExclusionConfigWrapper "+(o[22]?"SelfExclusionConfigWrapperMobile":"")),c.toggle_class(M,"active",o[19]),c.attr(x,"class","SelfExclusionNotification "+(o[22]?"SelfExclusionDescriptionMobile":"")),c.attr(C,"class",H="SelfExclusionSave "+(o[18]?"active":"")),C.disabled=Y=!o[18],c.attr(S,"class","SelfExclusionActionButtons "+(o[22]?"SelfExclusionActionButtonsMobile":"")),c.attr(e,"class","SelfExclusionWrapper "+(o[22]?"SelfExclusionWrapperMobile":"")),c.attr(t,"class","SelfExclusionContainer")},m(k,j){c.insert(k,t,j),c.append(t,e),K&&K.m(e,null),c.append(e,i),c.append(e,s),c.append(s,n),c.append(e,a),c.append(e,l),c.append(l,d),d.innerHTML=u,c.append(l,h),c.append(l,p),c.append(p,y),c.append(p,m),c.append(p,v),c.append(v,D),c.append(e,I),c.append(e,M),c.append(M,N),c.append(N,W),c.append(W,U),c.append(N,q),c.append(N,P),c.append(P,T),c.append(T,V),c.append(M,ee),c.append(M,E);for(let Z=0;Z<L.length;Z+=1)L[Z]&&L[Z].m(E,null);c.append(e,b),B&&B.m(e,null),c.append(e,_),c.append(e,x),re.m(x,null),c.append(e,g),c.append(e,S),c.append(S,C),c.append(C,$),c.insert(k,G,j),fe&&fe.m(k,j),c.insert(k,ne,j),ie||(se=[c.listen(N,"click",o[36]),c.listen(C,"click",o[39])],ie=!0)},p(k,j){if(k[22]&&K.p(k,j),j[0]&2097152&&r!==(r=k[21]("titleSelfExclusion")+"")&&c.set_data(n,r),j[0]&2097163&&u!==(u=k[21]("selfExclusionText",{values:{operatorname:k[1],baseurl:k[3],lang:k[0]}})+"")&&(d.innerHTML=u),j[0]&2097152&&f!==(f=k[21]("selfExclusionEmailText")+"")&&c.set_data(y,f),j[0]&4&&c.set_data(D,k[2]),j[0]&4&&A!==(A="mailto:"+k[2])&&c.attr(v,"href",A),j[0]&2113536&&X!==(X=k[21](`${k[14]}`)+"")&&c.set_data(U,X),j[0]&524288&&c.toggle_class(P,"active",k[19]),j[0]&35652608){R=c.ensure_array_like(k[10]);let Z;for(Z=0;Z<R.length;Z+=1){const mt=Bo(k,R,Z);L[Z]?L[Z].p(mt,j):(L[Z]=Yo(mt),L[Z].c(),L[Z].m(E,null))}for(;Z<L.length;Z+=1)L[Z].d(1);L.length=R.length}j[0]&524288&&c.toggle_class(E,"active",k[19]),j[0]&524288&&c.toggle_class(M,"active",k[19]),k[17]?B?B.p(k,j):(B=jo(k),B.c(),B.m(e,_)):B&&(B.d(1),B=null),pe===(pe=de(k))&&re?re.p(k,j):(re.d(1),re=pe(k),re&&(re.c(),re.m(x,null))),j[0]&2097152&&O!==(O=k[21]("save")+"")&&c.set_data($,O),j[0]&262144&&H!==(H="SelfExclusionSave "+(k[18]?"active":""))&&c.attr(C,"class",H),j[0]&262144&&Y!==(Y=!k[18])&&(C.disabled=Y),k[23]&&fe.p(k,j)},d(k){k&&(c.detach(t),c.detach(G),c.detach(ne)),K&&K.d(),c.destroy_each(L,k),B&&B.d(),re.d(),fe&&fe.d(k),ie=!1,c.run_all(se)}}}function pd(o){let t,e,i,s,r,n,a,l,d,u,h,p,f,y,m,v,D,A,I,M,N;function W(q,P){return q[22]?vd:yd}let U=W(o)(o);return{c(){t=c.element("div"),e=c.element("div"),U.c(),i=c.space(),s=c.element("div"),r=c.element("ui-skeleton"),n=c.space(),a=c.element("div"),l=c.space(),d=c.element("ui-skeleton"),u=c.space(),h=c.element("div"),p=c.space(),f=c.element("div"),y=c.element("ui-skeleton"),m=c.space(),v=c.element("div"),D=c.space(),A=c.element("ui-skeleton"),I=c.space(),M=c.element("div"),N=c.element("ui-skeleton"),c.set_custom_element_data(r,"structure","text"),c.set_custom_element_data(r,"height",o[22]?"15px":"20px"),c.set_custom_element_data(r,"rows",o[22]?"12":"5"),c.set_custom_element_data(r,"width",o[22]?"100%":"60%"),c.set_style(a,"height",o[22]?"10px":"20px"),c.set_custom_element_data(d,"structure","text"),c.set_custom_element_data(d,"height",o[22]?"15px":"20px"),c.set_custom_element_data(d,"width","30%"),c.set_style(h,"height","10px"),c.attr(s,"class","SelfExclusionDescription"),c.set_custom_element_data(y,"structure","rectangle"),c.set_custom_element_data(y,"width",o[22]?"100%":"50%"),c.set_custom_element_data(y,"height",o[22]?"30px":"44px"),c.set_style(v,"height",o[22]?"15px":"20px"),c.set_custom_element_data(A,"structure","text"),c.set_custom_element_data(A,"height",o[22]?"15px":"20px"),c.set_custom_element_data(A,"width","30%"),c.attr(f,"class","SelfExclusionConfig"),c.set_custom_element_data(N,"structure","rectangle"),c.set_custom_element_data(N,"width","100%"),c.set_custom_element_data(N,"height",o[22]?"35px":"50px"),c.attr(M,"class","SelfExclusionActionButtons "+(o[22]?"SelfExclusionActionButtonsMobile":"")),c.attr(e,"class","SelfExclusionWrapper "+(o[22]?"SelfExclusionWrapperMobile":"")),c.attr(t,"class","SelfExclusionContainer")},m(q,P){c.insert(q,t,P),c.append(t,e),U.m(e,null),c.append(e,i),c.append(e,s),c.append(s,r),c.append(s,n),c.append(s,a),c.append(s,l),c.append(s,d),c.append(s,u),c.append(s,h),c.append(e,p),c.append(e,f),c.append(f,y),c.append(f,m),c.append(f,v),c.append(f,D),c.append(f,A),c.append(e,I),c.append(e,M),c.append(M,N)},p:c.noop,d(q){q&&c.detach(t),U.d()}}}function fd(o){let t,e,i,s,r,n,a,l,d,u,h=o[21]("titleSelfExclusion")+"",p,f,y;return{c(){t=c.element("div"),e=c.svg_element("svg"),i=c.svg_element("defs"),s=c.svg_element("style"),r=c.text(".aaa{fill:var(--emw--color-primary, #22B04E);}"),n=c.svg_element("g"),a=c.svg_element("g"),l=c.svg_element("path"),d=c.space(),u=c.element("h2"),p=c.text(h),c.attr(l,"class","aaa"),c.attr(l,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),c.attr(l,"transform","translate(15 15) rotate(180)"),c.attr(a,"transform","translate(20 158)"),c.attr(n,"transform","translate(-20 -158)"),c.attr(e,"xmlns","http://www.w3.org/2000/svg"),c.attr(e,"width","15"),c.attr(e,"height","15"),c.attr(e,"viewBox","0 0 15 15"),c.attr(u,"class","PlayerSelfExclusionTitleMobile"),c.attr(t,"class","MenuReturnButton")},m(m,v){c.insert(m,t,v),c.append(t,e),c.append(e,i),c.append(i,s),c.append(s,r),c.append(e,n),c.append(n,a),c.append(a,l),c.append(t,d),c.append(t,u),c.append(u,p),f||(y=c.listen(t,"click",o[35]),f=!0)},p(m,v){v[0]&2097152&&h!==(h=m[21]("titleSelfExclusion")+"")&&c.set_data(p,h)},d(m){m&&c.detach(t),f=!1,y()}}}function Yo(o){let t,e=o[21](`${o[55].key}`)+"",i,s,r;function n(){return o[37](o[55])}return{c(){t=c.element("div"),i=c.text(e)},m(a,l){c.insert(a,t,l),c.append(t,i),s||(r=c.listen(t,"click",n),s=!0)},p(a,l){o=a,l[0]&2098176&&e!==(e=o[21](`${o[55].key}`)+"")&&c.set_data(i,e)},d(a){a&&c.detach(t),s=!1,r()}}}function jo(o){let t,e,i=o[21]("duration")+"",s,r,n,a=o[21]("dateInstructions")+"",l,d,u,h,p,f,y;return{c(){t=c.element("div"),e=c.element("label"),s=c.text(i),r=c.space(),n=c.element("span"),l=c.text(a),d=c.space(),u=c.element("strong"),h=c.text(o[7]),p=c.element("strong"),f=c.space(),y=c.element("vaadin-date-picker"),c.attr(e,"for","SelfExclusionDate"),c.attr(n,"class","SelfExclusionDateInstructions"),c.set_custom_element_data(y,"min",o[11]),c.set_custom_element_data(y,"max",o[12]),c.set_custom_element_data(y,"value",o[13]),c.attr(t,"class","SelfExclusionDateWrapper "+(o[22]?"SelfExclusionDateWrapperMobile":""))},m(m,v){c.insert(m,t,v),c.append(t,e),c.append(e,s),c.append(t,r),c.append(t,n),c.append(n,l),c.append(n,d),c.append(n,u),c.append(u,h),c.append(u,p),c.append(t,f),c.append(t,y),o[38](y)},p(m,v){v[0]&2097152&&i!==(i=m[21]("duration")+"")&&c.set_data(s,i),v[0]&2097152&&a!==(a=m[21]("dateInstructions")+"")&&c.set_data(l,a),v[0]&128&&c.set_data(h,m[7]),v[0]&2048&&c.set_custom_element_data(y,"min",m[11]),v[0]&4096&&c.set_custom_element_data(y,"max",m[12]),v[0]&8192&&c.set_custom_element_data(y,"value",m[13])},d(m){m&&c.detach(t),o[38](null)}}}function md(o){let t,e,i=o[21]("temporarySelfExclusion",{values:{date:_e(o[13]).format(o[7])}})+"",s;return{c(){t=c.element("p"),e=c.element("strong"),s=c.text(i),c.attr(t,"class","SelfExclusionDescriptionText")},m(r,n){c.insert(r,t,n),c.append(t,e),c.append(e,s)},p(r,n){n[0]&2105472&&i!==(i=r[21]("temporarySelfExclusion",{values:{date:_e(r[13]).format(r[7])}})+"")&&c.set_data(s,i)},d(r){r&&c.detach(t)}}}function _d(o){let t,e,i=o[21]("noPeriodSelected")+"",s;return{c(){t=c.element("p"),e=c.element("strong"),s=c.text(i),c.attr(t,"class","SelfExclusionDescriptionText")},m(r,n){c.insert(r,t,n),c.append(t,e),c.append(e,s)},p(r,n){n[0]&2097152&&i!==(i=r[21]("noPeriodSelected")+"")&&c.set_data(s,i)},d(r){r&&c.detach(t)}}}function gd(o){let t,e,i=o[21]("permanentSelfExclusion")+"",s;return{c(){t=c.element("p"),e=c.element("strong"),s=c.text(i),c.attr(t,"class","SelfExclusionDescriptionText")},m(r,n){c.insert(r,t,n),c.append(t,e),c.append(e,s)},p(r,n){n[0]&2097152&&i!==(i=r[21]("permanentSelfExclusion")+"")&&c.set_data(s,i)},d(r){r&&c.detach(t)}}}function bd(o){let t,e,i;return{c(){t=c.element("player-account-modal"),e=c.element("player-account-general-confirmation-modal"),c.set_custom_element_data(e,"modaltitle",i=o[21]("confirmationModalTitle")),c.set_custom_element_data(e,"modaltext",o[15]),c.set_custom_element_data(e,"hascancelbutton",!1),c.set_custom_element_data(e,"modalconfirmevent",{type:"setSelfExclusion"}),c.set_custom_element_data(e,"mbsource",o[6]),c.set_custom_element_data(e,"lang",o[0]),c.set_custom_element_data(t,"clientstyling",o[4]),c.set_custom_element_data(t,"clientstylingurl",o[5]),c.set_custom_element_data(t,"mbsource",o[6]),c.set_custom_element_data(t,"showmodaleventname","ShowSelfExclusionConfirmationModal")},m(s,r){c.insert(s,t,r),c.append(t,e)},p(s,r){r[0]&2097152&&i!==(i=s[21]("confirmationModalTitle"))&&c.set_custom_element_data(e,"modaltitle",i),r[0]&32768&&c.set_custom_element_data(e,"modaltext",s[15]),r[0]&64&&c.set_custom_element_data(e,"mbsource",s[6]),r[0]&1&&c.set_custom_element_data(e,"lang",s[0]),r[0]&16&&c.set_custom_element_data(t,"clientstyling",s[4]),r[0]&32&&c.set_custom_element_data(t,"clientstylingurl",s[5]),r[0]&64&&c.set_custom_element_data(t,"mbsource",s[6])},d(s){s&&c.detach(t)}}}function yd(o){let t;return{c(){t=c.element("ui-skeleton"),c.set_custom_element_data(t,"structure","title"),c.set_custom_element_data(t,"width","100px"),c.set_custom_element_data(t,"margin-top","20px"),c.set_custom_element_data(t,"margin-bottom","20px")},m(e,i){c.insert(e,t,i)},d(e){e&&c.detach(t)}}}function vd(o){let t;return{c(){t=c.element("div"),t.innerHTML='<ui-skeleton structure="title" width="20px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton> <ui-skeleton structure="title" width="100px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton>',c.attr(t,"class","MenuReturnButton")},m(e,i){c.insert(e,t,i)},d(e){e&&c.detach(t)}}}function xd(o){let t;function e(r,n){return r[20]?pd:hd}let i=e(o),s=i(o);return{c(){t=c.element("div"),s.c()},m(r,n){c.insert(r,t,n),s.m(t,null),o[40](t)},p(r,n){i===(i=e(r))&&s?s.p(r,n):(s.d(1),s=i(r),s&&(s.c(),s.m(t,null)))},i:c.noop,o:c.noop,d(r){r&&c.detach(t),s.d(),o[40](null)}}}function wd(o,t,e){let i;c.component_subscribe(o,c.$format,w=>e(21,i=w)),_e.extend(cd);let{endpoint:s="",session:r="",userid:n="",lang:a="en",gmversion:l="",operator:d="Everymatrix",supportemail:u="",baseurl:h="",clientstyling:p="",clientstylingurl:f="",mbsource:y,translationurl:m="",hasconfirmationmodal:v="false",dateformat:D="DD/MM/YYYY",sendnotificationemail:A="false"}=t,I,M,N=[],W={},X=window.navigator.userAgent,U,q,P="",T="",V="selectAPeriod",ee="",E="",b=c.getDevice(X)!=="PC",_=!1,x=!1,g=!1,S=!1,C=v==="true",O=!0;const $=()=>{fetch(m).then(ae=>ae.json()).then(ae=>{Object.keys(ae).forEach(le=>{Ro(le,ae[le])})}).catch(ae=>{console.log(ae)})};Object.keys(Ho).forEach(w=>{Ro(w,Ho[w])});const H=()=>{let w=new URL(`${s}/v1/player/selfExclusionSettings`);fetch(w,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(le=>G(le)).then(le=>{e(10,N=le.periods)}).catch(le=>{console.log(le)}).finally(()=>{e(20,O=!1)})},Y=w=>{w.data.type==="setSelfExclusion"&&R()},G=w=>Ke(this,null,function*(){if(w.status>=300)W=yield w.json(),E=W.thirdPartyResponse.errorCode,console.error(i(E||"generalError")),window.postMessage({type:"WidgetNotification",data:{type:"error",message:i(E||"generalError")}},window.location.href);else return w.json()}),ne=()=>{e(19,S=!S)},ie=w=>{switch(T=w.text,e(14,V=w.key),e(18,g=!0),e(19,S=!1),e(16,_=!1),e(17,x=!1),T){case"Until":e(17,x=!0),e(11,U=_e().add(6,"M").format("YYYY-MM-DD")),e(12,q=_e().add(5,"y").format("YYYY-MM-DD")),e(13,P=U);break;case"Permanent":e(16,_=!_);break;default:const[ae,le]=T.split(" "),Ae=le.includes("Day")?"days":le.includes("Month")?"months":le.includes("Year")?"years":null;if(!Ae)return;e(13,P=_e().add(Number(ae),Ae).format("YYYY-MM-DD"));break}C&&se()},se=()=>{if(!C||!T||!P){e(15,ee="");return}e(15,ee=x?i("confirmationModalTextUntil",{values:{date:_e(P).format(D)}}):i("confirmationModalTextPeriod",{values:{period:i(T)}}))},K=w=>{w.preventDefault(),C?(se(),window.postMessage({type:"ShowSelfExclusionConfirmationModal"},window.location.href)):R()},R=()=>{e(20,O=!0);const w=new URL(`/v2/player/${n}/limits${l==="gm16"?"/session":""}`,s),le={method:"PUT",headers:{"X-SessionID":r,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({selfExclusion:{period:V,expiryDate:P,selfExclusionReason:"UserRequest",sendNotificationEmail:A==="true"}})};fetch(w.href,le).then(Ae=>G(Ae)).then(Ae=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:i("selfExclusionSuccess")}},window.location.href),window.postMessage({type:"LogoutSuccessfull"},window.location.href)}).catch(Ae=>{console.error(i("errorSelfExclusionCall"),Ae),window.postMessage({type:"WidgetNotification",data:{type:"error",message:i("errorSelfExclusionCall")}},window.location.href)}).finally(()=>{e(20,O=!1)})},L=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:b},window.location.href)},B=w=>{e(13,P=w.target.value)},de=()=>{M.addEventListener("change",B,!1),e(9,M.i18n=gt(_t({},M.i18n),{formatDate:w=>_e(new Date(w.year,w.month,w.day)).format(D),parseDate:w=>{const ae=_e(w,D);return{year:ae.year(),month:ae.month(),day:ae.date()}}}),M)};c.onMount(()=>(window.addEventListener("message",Y,!1),()=>{M.removeEventListener("change",B),window.removeEventListener("message",Y)}));const pe=()=>{dd(a)},re=()=>L(),fe=()=>ne(),k=w=>ie(w);function j(w){c.binding_callbacks[w?"unshift":"push"](()=>{M=w,e(9,M)})}const Z=w=>K(w);function mt(w){c.binding_callbacks[w?"unshift":"push"](()=>{I=w,e(8,I)})}return o.$$set=w=>{"endpoint"in w&&e(28,s=w.endpoint),"session"in w&&e(29,r=w.session),"userid"in w&&e(30,n=w.userid),"lang"in w&&e(0,a=w.lang),"gmversion"in w&&e(31,l=w.gmversion),"operator"in w&&e(1,d=w.operator),"supportemail"in w&&e(2,u=w.supportemail),"baseurl"in w&&e(3,h=w.baseurl),"clientstyling"in w&&e(4,p=w.clientstyling),"clientstylingurl"in w&&e(5,f=w.clientstylingurl),"mbsource"in w&&e(6,y=w.mbsource),"translationurl"in w&&e(32,m=w.translationurl),"hasconfirmationmodal"in w&&e(33,v=w.hasconfirmationmodal),"dateformat"in w&&e(7,D=w.dateformat),"sendnotificationemail"in w&&e(34,A=w.sendnotificationemail)},o.$$.update=()=>{o.$$.dirty[0]&1&&a&&pe(),o.$$.dirty[0]&1879048192|o.$$.dirty[1]&1&&s&&r&&n&&l&&H(),o.$$.dirty[0]&512&&M&&de(),o.$$.dirty[0]&272&&p&&I&&c.setClientStyling(I,p),o.$$.dirty[0]&288&&f&&I&&c.setClientStylingURL(I,f),o.$$.dirty[0]&320&&y&&I&&c.setStreamStyling(I,`${y}.Style`),o.$$.dirty[1]&2&&m&&$()},C&&se(),[a,d,u,h,p,f,y,D,I,M,N,U,q,P,V,ee,_,x,g,S,O,i,b,C,ne,ie,K,L,s,r,n,l,m,v,A,re,fe,k,j,Z,mt]}class xr extends c.SvelteComponent{constructor(t){super(),c.init(this,t,wd,xd,c.safe_not_equal,{endpoint:28,session:29,userid:30,lang:0,gmversion:31,operator:1,supportemail:2,baseurl:3,clientstyling:4,clientstylingurl:5,mbsource:6,translationurl:32,hasconfirmationmodal:33,dateformat:7,sendnotificationemail:34},ud,[-1,-1])}get endpoint(){return this.$$.ctx[28]}set endpoint(t){this.$$set({endpoint:t}),c.flush()}get session(){return this.$$.ctx[29]}set session(t){this.$$set({session:t}),c.flush()}get userid(){return this.$$.ctx[30]}set userid(t){this.$$set({userid:t}),c.flush()}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),c.flush()}get gmversion(){return this.$$.ctx[31]}set gmversion(t){this.$$set({gmversion:t}),c.flush()}get operator(){return this.$$.ctx[1]}set operator(t){this.$$set({operator:t}),c.flush()}get supportemail(){return this.$$.ctx[2]}set supportemail(t){this.$$set({supportemail:t}),c.flush()}get baseurl(){return this.$$.ctx[3]}set baseurl(t){this.$$set({baseurl:t}),c.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(t){this.$$set({clientstyling:t}),c.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),c.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(t){this.$$set({mbsource:t}),c.flush()}get translationurl(){return this.$$.ctx[32]}set translationurl(t){this.$$set({translationurl:t}),c.flush()}get hasconfirmationmodal(){return this.$$.ctx[33]}set hasconfirmationmodal(t){this.$$set({hasconfirmationmodal:t}),c.flush()}get dateformat(){return this.$$.ctx[7]}set dateformat(t){this.$$set({dateformat:t}),c.flush()}get sendnotificationemail(){return this.$$.ctx[34]}set sendnotificationemail(t){this.$$set({sendnotificationemail:t}),c.flush()}}c.create_custom_element(xr,{endpoint:{},session:{},userid:{},lang:{},gmversion:{},operator:{},supportemail:{},baseurl:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},hasconfirmationmodal:{},dateformat:{},sendnotificationemail:{}},[],[],!0);const Ed=Object.freeze(Object.defineProperty({__proto__:null,default:xr},Symbol.toStringTag,{value:"Module"}));exports.PlayerAccountSelfExclusionNd_ce=Ed;exports.dayjs=_e;