@everymatrix/player-account-controller 1.54.8 → 1.54.9

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 (145) hide show
  1. package/components/{GeneralLogout-CoXr5Hra.js → GeneralLogout-BO_iHKNr.js} +1006 -1006
  2. package/components/GeneralLogout-CMYMtWfC.cjs +8 -0
  3. package/components/{GeneralLogout-ChXyfO7j.js → GeneralLogout-CwSCMNgW.js} +995 -995
  4. package/components/{PlayerAccountBettingHistory-CElNilNd.js → PlayerAccountBettingHistory-BoeZFFFu.js} +1 -1
  5. package/components/{PlayerAccountBettingHistory-C4SfQEr4.js → PlayerAccountBettingHistory-C6G8D9gE.js} +1 -1
  6. package/components/{PlayerAccountBettingHistory-CSI5k3hd.cjs → PlayerAccountBettingHistory-Cb8OMNy9.cjs} +1 -1
  7. package/components/{PlayerAccountBiometrics-orQ-qG9h.js → PlayerAccountBiometrics-C6n6AU67.js} +1 -1
  8. package/components/{PlayerAccountBiometrics-BS3jkUXn.cjs → PlayerAccountBiometrics-DbzqR4YB.cjs} +1 -1
  9. package/components/{PlayerAccountBiometrics-D9kYcZXR.js → PlayerAccountBiometrics-TQaVyCUp.js} +1 -1
  10. package/components/{PlayerAccountClosure-DdfqiT7d.cjs → PlayerAccountClosure-CoKkAlIq.cjs} +1 -1
  11. package/components/{PlayerAccountClosure-CHUq23nB.js → PlayerAccountClosure-RO3lnj8F.js} +1 -1
  12. package/components/{PlayerAccountClosure-CWd3utu_.js → PlayerAccountClosure-mb6TcNFj.js} +1 -1
  13. package/components/{PlayerAccountController-DEXL47fX.js → PlayerAccountController-BCZ47Hhw.js} +24 -24
  14. package/components/{PlayerAccountController-DX3vsM6e.cjs → PlayerAccountController-DFUInkX9.cjs} +1 -1
  15. package/components/{PlayerAccountController-BclvS237.js → PlayerAccountController-fdJzwXMu.js} +24 -24
  16. package/components/{PlayerAccountGamingLimits-Db6qUAS-.js → PlayerAccountGamingLimits-Bc6vqzq1.js} +2 -2
  17. package/components/{PlayerAccountGamingLimits-CKnItii4.cjs → PlayerAccountGamingLimits-DbX9_Kpb.cjs} +1 -1
  18. package/components/{PlayerAccountGamingLimits-DXQNmZKD.js → PlayerAccountGamingLimits-DiyC185P.js} +2 -2
  19. package/components/{PlayerAccountGamingLimitsConfirmationModal-i09zMH6w.js → PlayerAccountGamingLimitsConfirmationModal-BnOXTUlS.js} +1 -1
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-jZS53-sU.cjs → PlayerAccountGamingLimitsConfirmationModal-CnGLRHzu.cjs} +1 -1
  21. package/components/{PlayerAccountGamingLimitsConfirmationModal-l4fu3WOl.js → PlayerAccountGamingLimitsConfirmationModal-x0MkZXMQ.js} +1 -1
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-BIt0U7Ia.js → PlayerAccountGamingLimitsGroupEdit-Crmi-e6x.js} +4 -4
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-DZlV6G_9.cjs → PlayerAccountGamingLimitsGroupEdit-DYe0OoaG.cjs} +4 -4
  24. package/components/{PlayerAccountGamingLimitsGroupEdit-CsnzS7iF.js → PlayerAccountGamingLimitsGroupEdit-dprcKEZC.js} +4 -4
  25. package/components/{PlayerAccountGamingLimitsHistory2-CrW3EIzV.cjs → PlayerAccountGamingLimitsHistory2-CS4fpWhH.cjs} +1 -1
  26. package/components/{PlayerAccountGamingLimitsHistory2-D04L-msb.js → PlayerAccountGamingLimitsHistory2-DiAUM6kQ.js} +1 -1
  27. package/components/{PlayerAccountGamingLimitsHistory2-DA5YY1gv.js → PlayerAccountGamingLimitsHistory2-Dt9CSOvf.js} +1 -1
  28. package/components/{PlayerAccountGamingLimitsInfoCard-B4t7J9Ea.js → PlayerAccountGamingLimitsInfoCard-Bd4vV7fT.js} +3 -3
  29. package/components/{PlayerAccountGamingLimitsInfoCard-B2YB4bdP.js → PlayerAccountGamingLimitsInfoCard-D9MKGXei.js} +3 -3
  30. package/components/{PlayerAccountGamingLimitsInfoCard-CaJYYEdy.cjs → PlayerAccountGamingLimitsInfoCard-DFsD9RSx.cjs} +1 -1
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16-B1GlGvDK.cjs → PlayerAccountGamingLimitsPage2Gm16-8-RWZDSp.cjs} +1 -1
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16-D8OKZxQt.js → PlayerAccountGamingLimitsPage2Gm16-C9VhT1ek.js} +1 -1
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16-CbtwzTC5.js → PlayerAccountGamingLimitsPage2Gm16-WSk66pxJ.js} +1 -1
  34. package/components/{PlayerAccountGamingLimitsPopup-B7ZXSiK5.js → PlayerAccountGamingLimitsPopup-C2R4OzUK.js} +1 -1
  35. package/components/{PlayerAccountGamingLimitsPopup-DxXAP_Yw.js → PlayerAccountGamingLimitsPopup-DLqNpo7V.js} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPopup-C9KoZcRj.cjs → PlayerAccountGamingLimitsPopup-zTXU7ohP.cjs} +1 -1
  37. package/components/{PlayerAccountGamingLimitsWrapper2-Dll6Amu9.cjs → PlayerAccountGamingLimitsWrapper2-CXP2X7Lk.cjs} +1 -1
  38. package/components/{PlayerAccountGamingLimitsWrapper2-eSNYZCaw.js → PlayerAccountGamingLimitsWrapper2-Cr1xbzbX.js} +3 -3
  39. package/components/{PlayerAccountGamingLimitsWrapper2-BoFnZpPK.js → PlayerAccountGamingLimitsWrapper2-D3NmPjvT.js} +3 -3
  40. package/components/{PlayerAccountGeneralConfirmationModal-DLBQH_sl.js → PlayerAccountGeneralConfirmationModal-BrcO0n_o.js} +1 -1
  41. package/components/{PlayerAccountGeneralConfirmationModal-B-p3sJZ3.cjs → PlayerAccountGeneralConfirmationModal-CnGS36kY.cjs} +1 -1
  42. package/components/{PlayerAccountGeneralConfirmationModal-DhTWcbuE.js → PlayerAccountGeneralConfirmationModal-DHuSzGQn.js} +1 -1
  43. package/components/{PlayerAccountMenu-BxjdHhZ_.js → PlayerAccountMenu-Bnj75Pyr.js} +2 -2
  44. package/components/{PlayerAccountMenu-BGRoL3Yz.js → PlayerAccountMenu-VCDFEkVV.js} +2 -2
  45. package/components/{PlayerAccountMenu-Csb1tUf_.cjs → PlayerAccountMenu-kULPvwXH.cjs} +1 -1
  46. package/components/{PlayerAccountModal-C4nIa5u0.js → PlayerAccountModal-BGNjm-FU.js} +1 -1
  47. package/components/{PlayerAccountModal-DabmJiP4.cjs → PlayerAccountModal-DLxnK5Aq.cjs} +1 -1
  48. package/components/{PlayerAccountModal-D29fr970.js → PlayerAccountModal-d2eY7pgp.js} +1 -1
  49. package/components/{PlayerAccountNotifications-C3rPIsKp.js → PlayerAccountNotifications-BkPn9o0x.js} +1 -1
  50. package/components/{PlayerAccountNotifications-O92_s-dm.cjs → PlayerAccountNotifications-DLpnh54-.cjs} +1 -1
  51. package/components/{PlayerAccountNotifications-4sGKSJWy.js → PlayerAccountNotifications-DwHaboef.js} +1 -1
  52. package/components/{PlayerAccountSelfExclusion-CpKuxBrZ.js → PlayerAccountSelfExclusion-C-Gq5xhb.js} +2 -2
  53. package/components/{PlayerAccountSelfExclusion-BkBWGAy2.cjs → PlayerAccountSelfExclusion-Dlkeebgy.cjs} +74 -74
  54. package/components/{PlayerAccountSelfExclusion-U9dfheYH.js → PlayerAccountSelfExclusion-Dsc1c5ET.js} +2 -2
  55. package/components/{PlayerAccountTimeout-c2osWNku.js → PlayerAccountTimeout-BrX6tkl3.js} +3 -3
  56. package/components/{PlayerAccountTimeout-DIRXKowJ.js → PlayerAccountTimeout-DPGSPm6O.js} +3 -3
  57. package/components/{PlayerAccountTimeout-CucYpS_w.cjs → PlayerAccountTimeout-DX8TE-kL.cjs} +1 -1
  58. package/components/{PlayerActiveBonuses-B2QAPJxC.js → PlayerActiveBonuses-DZ1TuekM.js} +2 -2
  59. package/components/{PlayerActiveBonuses-cecVnp46.cjs → PlayerActiveBonuses-T1itpvjq.cjs} +1 -1
  60. package/components/{PlayerActiveBonuses-DDcAwy_n.js → PlayerActiveBonuses-WBu-rYFj.js} +2 -2
  61. package/components/{PlayerBonusCard-TYI-WkBy.js → PlayerBonusCard-BtSC36hN.js} +2 -2
  62. package/components/{PlayerBonusCard-BQU7JBPr.js → PlayerBonusCard-Ci1k7NFv.js} +2 -2
  63. package/components/{PlayerBonusCard-C9Xdv-lu.cjs → PlayerBonusCard-DqHyFS9o.cjs} +1 -1
  64. package/components/{PlayerBonusHistory-Boz8c3tb.js → PlayerBonusHistory-C7m0o7Yl.js} +4 -4
  65. package/components/{PlayerBonusHistory-CMPf8GQz.cjs → PlayerBonusHistory-D-qDx10G.cjs} +1 -1
  66. package/components/{PlayerBonusHistory-cNqY_wfD.js → PlayerBonusHistory-DDNLaEBO.js} +4 -4
  67. package/components/{PlayerChangePassword-X_GfgxAV.cjs → PlayerChangePassword-B4VW3taV.cjs} +1 -1
  68. package/components/{PlayerChangePassword-BGxYGFs-.js → PlayerChangePassword-Bhfh3D2M.js} +1 -1
  69. package/components/{PlayerChangePassword-Dl3Pgpul.js → PlayerChangePassword-Dk7vlEEM.js} +1 -1
  70. package/components/{PlayerDeposit-BzSW3HMj.js → PlayerDeposit-B04mpHHT.js} +1 -1
  71. package/components/{PlayerDeposit-CqpNLpaq.cjs → PlayerDeposit-CH0pw_GN.cjs} +1 -1
  72. package/components/{PlayerDeposit-kjy658sM.js → PlayerDeposit-DJXOEJyq.js} +1 -1
  73. package/components/{PlayerGamingHistory-BW5rigFC.js → PlayerGamingHistory-BPF2pyCO.js} +4 -4
  74. package/components/{PlayerGamingHistory-DIgLxCfL.js → PlayerGamingHistory-CaYFZtwD.js} +4 -4
  75. package/components/{PlayerGamingHistory-B6KJDVn0.cjs → PlayerGamingHistory-CcFH-mIk.cjs} +1 -1
  76. package/components/{PlayerPendingWithdrawals--W6Dfn3K.cjs → PlayerPendingWithdrawals-BvhoX5n1.cjs} +1 -1
  77. package/components/{PlayerPendingWithdrawals-pV1C12y5.js → PlayerPendingWithdrawals-DQ_Nh38H.js} +1 -1
  78. package/components/{PlayerPendingWithdrawals-BzOmRYiC.js → PlayerPendingWithdrawals-DabTg_Hg.js} +1 -1
  79. package/components/{PlayerProfileInfo-DkVAYiPX.js → PlayerProfileInfo-B6I2vv_G.js} +1 -1
  80. package/components/{PlayerProfileInfo-CTgSfW-l.js → PlayerProfileInfo-Baoz1CHE.js} +1 -1
  81. package/components/{PlayerProfileInfo-BTgis7wR.cjs → PlayerProfileInfo-Bx9bKldG.cjs} +1 -1
  82. package/components/{PlayerRealityCheck-DT3kOky2.js → PlayerRealityCheck-6ZyJUl5U.js} +1 -1
  83. package/components/{PlayerRealityCheck-BdZDs3Tl.js → PlayerRealityCheck-CzPyJQgR.js} +1 -1
  84. package/components/{PlayerRealityCheck-BcsDhvm0.cjs → PlayerRealityCheck-DMI_8YfG.cjs} +1 -1
  85. package/components/{PlayerTransactionHistory-BQIA4QRw.js → PlayerTransactionHistory-CSK3J3Na.js} +1 -1
  86. package/components/{PlayerTransactionHistory-BL92RRLF.cjs → PlayerTransactionHistory-Dj8ABxFp.cjs} +1 -1
  87. package/components/{PlayerTransactionHistory-Yhwt7kUa.js → PlayerTransactionHistory-DmTfwUdw.js} +1 -1
  88. package/components/{PlayerWithdrawal-Cgv9nZE8.js → PlayerWithdrawal-BrqShTsy.js} +1 -1
  89. package/components/{PlayerWithdrawal-KgqM9wo-.cjs → PlayerWithdrawal-BwymNFiL.cjs} +1 -1
  90. package/components/{PlayerWithdrawal-uB46JhmK.js → PlayerWithdrawal-ct79yXDc.js} +1 -1
  91. package/es2015/player-account-controller.cjs +1 -1
  92. package/es2015/player-account-controller.js +1 -1
  93. package/esnext/player-account-controller.js +1 -1
  94. package/package.json +1 -1
  95. package/stencil/{checkbox-group-input_9-AKw0biZc.cjs → checkbox-group-input_9-BxYTYqyZ.cjs} +54 -54
  96. package/stencil/{checkbox-group-input_9-CbFpcwPG.js → checkbox-group-input_9-DMCM0Ot9.js} +1078 -1078
  97. package/stencil/{checkbox-group-input_9-BewIfW-f.js → checkbox-group-input_9-eiZXHwL7.js} +1066 -1066
  98. package/stencil/{general-input-DI0pw0ot.cjs → general-input-9vH7cGdq.cjs} +1 -1
  99. package/stencil/{general-input-BEcUF0Mm.js → general-input-C04anjSK.js} +1 -1
  100. package/stencil/{general-input-DKyA-W8i.js → general-input-Db3QZ1lv.js} +1 -1
  101. package/stencil/index-581287aa-BMuzpW0_.js +654 -0
  102. package/stencil/index-581287aa-BRm8u9EK.js +638 -0
  103. package/stencil/index-581287aa-BUKzmJR2.cjs +1 -0
  104. package/stencil/{index-8b4525de-C2xAv-3x.js → index-8b4525de-0casbHVH.js} +195 -195
  105. package/stencil/index-8b4525de-B_v1jFF2.cjs +1 -0
  106. package/stencil/{index-8b4525de-DeHXGvRF.js → index-8b4525de-D9uWlISq.js} +187 -187
  107. package/stencil/{index-a76d30c7-PfqrSVyu.js → index-a76d30c7-CekgkUUl.js} +242 -242
  108. package/stencil/index-a76d30c7-DVN_7nn8.cjs +1 -0
  109. package/stencil/{index-a76d30c7-CQrAWNu0.js → index-a76d30c7-ygjfYtLQ.js} +253 -253
  110. package/stencil/index-c0196f50-BL6gbODX.js +697 -0
  111. package/stencil/index-c0196f50-BZyDc-Pc.js +724 -0
  112. package/stencil/index-c0196f50-Y0yj-_--.cjs +1 -0
  113. package/stencil/{password-input_2-D97O8QAr.cjs → password-input_2-BTYd1HGu.cjs} +7 -7
  114. package/stencil/{password-input_2-eDchPH-o.js → password-input_2-DREOzg1t.js} +16 -16
  115. package/stencil/{password-input_2-vTvSUJey.js → password-input_2-DjkmqVwW.js} +16 -16
  116. package/stencil/{player-change-password-gm2-DSTqyOhE.js → player-change-password-gm2-B7kNTG02.js} +1 -1
  117. package/stencil/{player-change-password-gm2-Dw3D3ckz.cjs → player-change-password-gm2-CgHGqfZG.cjs} +1 -1
  118. package/stencil/{player-change-password-gm2-D4jpQFwb.js → player-change-password-gm2-DKlvutrh.js} +1 -1
  119. package/stencil/{player-change-password-gm2-e732ee8e-BjoYj-89.js → player-change-password-gm2-e732ee8e-Bg170B9b.js} +1 -1
  120. package/stencil/{player-change-password-gm2-e732ee8e-BqRUxIre.cjs → player-change-password-gm2-e732ee8e-DCoOPZ6G.cjs} +1 -1
  121. package/stencil/{player-change-password-gm2-e732ee8e-Df6ljnLL.js → player-change-password-gm2-e732ee8e-DvN-DboQ.js} +1 -1
  122. package/stencil/{player-kyc-verification-B2FHAsrR.cjs → player-kyc-verification-BTIQthzt.cjs} +2 -2
  123. package/stencil/{player-kyc-verification-CVqP43FY.js → player-kyc-verification-DI7sYKPk.js} +41 -41
  124. package/stencil/{player-kyc-verification-D6Au6XVN.js → player-kyc-verification-Dbte11_F.js} +37 -37
  125. package/stencil/{toggle-checkbox-input-BckTBwKu.js → toggle-checkbox-input-BajAuk6U.js} +1 -1
  126. package/stencil/{toggle-checkbox-input-kw5Y1n3x.cjs → toggle-checkbox-input-DQUhi-QW.cjs} +1 -1
  127. package/stencil/{toggle-checkbox-input-D8fVk4wA.js → toggle-checkbox-input-_Xn6sTQv.js} +1 -1
  128. package/stencil/{user-deposit-withdrawal-CrMPR6xn.js → user-deposit-withdrawal-8FQMWgCu.js} +100 -100
  129. package/stencil/{user-deposit-withdrawal-BpAi0dc-.js → user-deposit-withdrawal-CC1sjvAW.js} +105 -105
  130. package/stencil/{user-deposit-withdrawal-DrKFN7wp.cjs → user-deposit-withdrawal-UlJpeECb.cjs} +2 -2
  131. package/stencil/{user-transaction-history-D8ebS-DZ.js → user-transaction-history-7TG3a3Xc.js} +65 -65
  132. package/stencil/{user-transaction-history-CBxwJE34.cjs → user-transaction-history-BC7fM8-f.cjs} +1 -1
  133. package/stencil/{user-transaction-history-BgYG3IxS.js → user-transaction-history-Q6HxupD6.js} +60 -60
  134. package/stencil/{vaadin-button-mixin-d131076c-zI_s2YZ5.cjs → vaadin-button-mixin-b8087c3c-BzMgQwsM.cjs} +1 -1
  135. package/stencil/{vaadin-button-mixin-d131076c-brSraXp5.js → vaadin-button-mixin-b8087c3c-DMeIIR12.js} +1 -1
  136. package/stencil/{vaadin-button-mixin-d131076c-C559kyH3.js → vaadin-button-mixin-b8087c3c-DTenw4S9.js} +1 -1
  137. package/components/GeneralLogout-JiIri-az.cjs +0 -8
  138. package/stencil/index-581287aa-CC7128Vz.js +0 -654
  139. package/stencil/index-581287aa-D5QW29QV.cjs +0 -1
  140. package/stencil/index-581287aa-D8NTWa_9.js +0 -638
  141. package/stencil/index-8b4525de-BFiXEsaX.cjs +0 -1
  142. package/stencil/index-a76d30c7-CFX9mSqu.cjs +0 -1
  143. package/stencil/index-c0196f50-3kAjMpUS.cjs +0 -1
  144. package/stencil/index-c0196f50-BjscP7kj.js +0 -697
  145. package/stencil/index-c0196f50-aE1zPmtS.js +0 -724
@@ -1,8 +1,8 @@
1
- "use strict";var br=Object.defineProperty,yr=Object.defineProperties;var vr=Object.getOwnPropertyDescriptors;var Wi=Object.getOwnPropertySymbols;var xr=Object.prototype.hasOwnProperty,wr=Object.prototype.propertyIsEnumerable;var qi=(o,t,e)=>t in o?br(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,dt=(o,t)=>{for(var e in t||(t={}))xr.call(t,e)&&qi(o,e,t[e]);if(Wi)for(var e of Wi(t))wr.call(t,e)&&qi(o,e,t[e]);return o},It=(o,t)=>yr(o,vr(t));var ct=(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-JiIri-az.cjs");/**
1
+ "use strict";var br=Object.defineProperty,yr=Object.defineProperties;var vr=Object.getOwnPropertyDescriptors;var Wi=Object.getOwnPropertySymbols;var xr=Object.prototype.hasOwnProperty,wr=Object.prototype.propertyIsEnumerable;var qi=(o,t,e)=>t in o?br(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,ct=(o,t)=>{for(var e in t||(t={}))xr.call(t,e)&&qi(o,e,t[e]);if(Wi)for(var e of Wi(t))wr.call(t,e)&&qi(o,e,t[e]);return o},It=(o,t)=>yr(o,vr(t));var dt=(o,t,e)=>new Promise((i,s)=>{var r=l=>{try{a(e.next(l))}catch(c){s(c)}},n=l=>{try{a(e.throw(l))}catch(c){s(c)}},a=l=>l.done?i(l.value):Promise.resolve(l.value).then(r,n);a((e=e.apply(o,t)).next())});const d=require("./GeneralLogout-CMYMtWfC.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
- */window.Vaadin||(window.Vaadin={});var Ho;(Ho=window.Vaadin).featureFlags||(Ho.featureFlags={});function Er(o){return o.replace(/-[a-z]/gu,t=>t[1].toUpperCase())}const pe={};function he(o,t="24.6.3"){if(Object.defineProperty(o,"version",{get(){return t}}),o.experimental){const i=typeof o.experimental=="string"?o.experimental:`${Er(o.is.split("-").slice(1).join("-"))}Component`;if(!window.Vaadin.featureFlags[i]&&!pe[i]){pe[i]=new Set,pe[i].add(o),Object.defineProperty(window.Vaadin.featureFlags,i,{get(){return pe[i].size===0},set(s){s&&pe[i].size>0&&(pe[i].forEach(r=>{customElements.define(r.is,r)}),pe[i].clear())}});return}else if(pe[i]){pe[i].add(o);return}}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
+ */window.Vaadin||(window.Vaadin={});var Ho;(Ho=window.Vaadin).featureFlags||(Ho.featureFlags={});function Er(o){return o.replace(/-[a-z]/gu,t=>t[1].toUpperCase())}const pe={};function he(o,t="24.6.4"){if(Object.defineProperty(o,"version",{get(){return t}}),o.experimental){const i=typeof o.experimental=="string"?o.experimental:`${Er(o.is.split("-").slice(1).join("-"))}Component`;if(!window.Vaadin.featureFlags[i]&&!pe[i]){pe[i]=new Set,pe[i].add(o),Object.defineProperty(window.Vaadin.featureFlags,i,{get(){return pe[i].size===0},set(s){s&&pe[i].size>0&&(pe[i].forEach(r=>{customElements.define(r.is,r)}),pe[i].clear())}});return}else if(pe[i]){pe[i].add(o);return}}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/
@@ -14,13 +14,13 @@
14
14
  * @license
15
15
  * Copyright 2017 Google LLC
16
16
  * SPDX-License-Identifier: BSD-3-Clause
17
- */const{is:Cr,defineProperty:Dr,getOwnPropertyDescriptor:Pr,getOwnPropertyNames:kr,getOwnPropertySymbols:Tr,getPrototypeOf:Mr}=Object,ge=globalThis,Xi=ge.trustedTypes,Or=Xi?Xi.emptyScript:"",Nt=ge.reactiveElementPolyfillSupport,Xe=(o,t)=>o,Qt={toAttribute(o,t){switch(t){case Boolean:o=o?Or:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch(i){e=null}}return e}},Go=(o,t)=>!Cr(o,t),Ji={attribute:!0,type:String,converter:Qt,reflect:!1,hasChanged:Go};var Bo,Vo;(Bo=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(Vo=ge.litPropertyMetadata)!=null||(ge.litPropertyMetadata=new WeakMap);class Oe extends HTMLElement{static addInitializer(t){var e;this._$Ei(),((e=this.l)!=null?e:this.l=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Ji){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const i=Symbol(),s=this.getPropertyDescriptor(t,i,e);s!==void 0&&Dr(this.prototype,t,s)}}static getPropertyDescriptor(t,e,i){var n;const{get:s,set:r}=(n=Pr(this.prototype,t))!=null?n:{get(){return this[e]},set(a){this[e]=a}};return{get(){return s==null?void 0:s.call(this)},set(a){const l=s==null?void 0:s.call(this);r.call(this,a),this.requestUpdate(t,l,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){var e;return(e=this.elementProperties.get(t))!=null?e:Ji}static _$Ei(){if(this.hasOwnProperty(Xe("elementProperties")))return;const t=Mr(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Xe("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Xe("properties"))){const e=this.properties,i=[...kr(e),...Tr(e)];for(const s of i)this.createProperty(s,e[s])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[i,s]of e)this.elementProperties.set(i,s)}this._$Eh=new Map;for(const[e,i]of this.elementProperties){const s=this._$Eu(e,i);s!==void 0&&this._$Eh.set(s,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const s of i)e.unshift(Ki(s))}else t!==void 0&&e.push(Ki(t));return e}static _$Eu(t,e){const i=e.attribute;return i===!1?void 0:typeof i=="string"?i:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e,i;((e=this._$EO)!=null?e:this._$EO=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&((i=t.hostConnected)==null||i.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const i of e.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){var e;const t=(e=this.shadowRoot)!=null?e:this.attachShadow(this.constructor.shadowRootOptions);return qo(t,this.constructor.elementStyles),t}connectedCallback(){var t,e;(t=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$EO)==null||e.forEach(i=>{var s;return(s=i.hostConnected)==null?void 0:s.call(i)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var i;return(i=e.hostDisconnected)==null?void 0:i.call(e)})}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EC(t,e){var r;const i=this.constructor.elementProperties.get(t),s=this.constructor._$Eu(t,i);if(s!==void 0&&i.reflect===!0){const n=(((r=i.converter)==null?void 0:r.toAttribute)!==void 0?i.converter:Qt).toAttribute(e,i.type);this._$Em=t,n==null?this.removeAttribute(s):this.setAttribute(s,n),this._$Em=null}}_$AK(t,e){var r;const i=this.constructor,s=i._$Eh.get(t);if(s!==void 0&&this._$Em!==s){const n=i.getPropertyOptions(s),a=typeof n.converter=="function"?{fromAttribute:n.converter}:((r=n.converter)==null?void 0:r.fromAttribute)!==void 0?n.converter:Qt;this._$Em=s,this[s]=a.fromAttribute(e,n.type),this._$Em=null}}requestUpdate(t,e,i){var s;if(t!==void 0){if(i!=null||(i=this.constructor.getPropertyOptions(t)),!((s=i.hasChanged)!=null?s:Go)(this[t],e))return;this.P(t,e,i)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,i){var s;this._$AL.has(t)||this._$AL.set(t,e),i.reflect===!0&&this._$Em!==t&&((s=this._$Ej)!=null?s:this._$Ej=new Set).add(t)}_$ET(){return ct(this,null,function*(){this.isUpdatePending=!0;try{yield this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&(yield t),!this.isUpdatePending})}scheduleUpdate(){return this.performUpdate()}performUpdate(){var i,s;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((i=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[n,a]of this._$Ep)this[n]=a;this._$Ep=void 0}const r=this.constructor.elementProperties;if(r.size>0)for(const[n,a]of r)a.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.P(n,this[n],a)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(s=this._$EO)==null||s.forEach(r=>{var n;return(n=r.hostUpdate)==null?void 0:n.call(r)}),this.update(e)):this._$EU()}catch(r){throw t=!1,this._$EU(),r}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(i=>{var s;return(s=i.hostUpdated)==null?void 0:s.call(i)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(t){}firstUpdated(t){}}var jo;Oe.elementStyles=[],Oe.shadowRootOptions={mode:"open"},Oe[Xe("elementProperties")]=new Map,Oe[Xe("finalized")]=new Map,Nt==null||Nt({ReactiveElement:Oe}),((jo=ge.reactiveElementVersions)!=null?jo:ge.reactiveElementVersions=[]).push("2.0.4");/**
17
+ */const{is:Cr,defineProperty:Dr,getOwnPropertyDescriptor:Pr,getOwnPropertyNames:kr,getOwnPropertySymbols:Tr,getPrototypeOf:Mr}=Object,ge=globalThis,Xi=ge.trustedTypes,Or=Xi?Xi.emptyScript:"",Nt=ge.reactiveElementPolyfillSupport,Xe=(o,t)=>o,Qt={toAttribute(o,t){switch(t){case Boolean:o=o?Or:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch(i){e=null}}return e}},Go=(o,t)=>!Cr(o,t),Ji={attribute:!0,type:String,converter:Qt,reflect:!1,hasChanged:Go};var Bo,Vo;(Bo=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(Vo=ge.litPropertyMetadata)!=null||(ge.litPropertyMetadata=new WeakMap);class Oe extends HTMLElement{static addInitializer(t){var e;this._$Ei(),((e=this.l)!=null?e:this.l=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Ji){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const i=Symbol(),s=this.getPropertyDescriptor(t,i,e);s!==void 0&&Dr(this.prototype,t,s)}}static getPropertyDescriptor(t,e,i){var n;const{get:s,set:r}=(n=Pr(this.prototype,t))!=null?n:{get(){return this[e]},set(a){this[e]=a}};return{get(){return s==null?void 0:s.call(this)},set(a){const l=s==null?void 0:s.call(this);r.call(this,a),this.requestUpdate(t,l,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){var e;return(e=this.elementProperties.get(t))!=null?e:Ji}static _$Ei(){if(this.hasOwnProperty(Xe("elementProperties")))return;const t=Mr(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Xe("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Xe("properties"))){const e=this.properties,i=[...kr(e),...Tr(e)];for(const s of i)this.createProperty(s,e[s])}const t=this[Symbol.metadata];if(t!==null){const e=litPropertyMetadata.get(t);if(e!==void 0)for(const[i,s]of e)this.elementProperties.set(i,s)}this._$Eh=new Map;for(const[e,i]of this.elementProperties){const s=this._$Eu(e,i);s!==void 0&&this._$Eh.set(s,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const i=new Set(t.flat(1/0).reverse());for(const s of i)e.unshift(Ki(s))}else t!==void 0&&e.push(Ki(t));return e}static _$Eu(t,e){const i=e.attribute;return i===!1?void 0:typeof i=="string"?i:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var t;this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),(t=this.constructor.l)==null||t.forEach(e=>e(this))}addController(t){var e,i;((e=this._$EO)!=null?e:this._$EO=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&((i=t.hostConnected)==null||i.call(t))}removeController(t){var e;(e=this._$EO)==null||e.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const i of e.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t)}createRenderRoot(){var e;const t=(e=this.shadowRoot)!=null?e:this.attachShadow(this.constructor.shadowRootOptions);return qo(t,this.constructor.elementStyles),t}connectedCallback(){var t,e;(t=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$EO)==null||e.forEach(i=>{var s;return(s=i.hostConnected)==null?void 0:s.call(i)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$EO)==null||t.forEach(e=>{var i;return(i=e.hostDisconnected)==null?void 0:i.call(e)})}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EC(t,e){var r;const i=this.constructor.elementProperties.get(t),s=this.constructor._$Eu(t,i);if(s!==void 0&&i.reflect===!0){const n=(((r=i.converter)==null?void 0:r.toAttribute)!==void 0?i.converter:Qt).toAttribute(e,i.type);this._$Em=t,n==null?this.removeAttribute(s):this.setAttribute(s,n),this._$Em=null}}_$AK(t,e){var r;const i=this.constructor,s=i._$Eh.get(t);if(s!==void 0&&this._$Em!==s){const n=i.getPropertyOptions(s),a=typeof n.converter=="function"?{fromAttribute:n.converter}:((r=n.converter)==null?void 0:r.fromAttribute)!==void 0?n.converter:Qt;this._$Em=s,this[s]=a.fromAttribute(e,n.type),this._$Em=null}}requestUpdate(t,e,i){var s;if(t!==void 0){if(i!=null||(i=this.constructor.getPropertyOptions(t)),!((s=i.hasChanged)!=null?s:Go)(this[t],e))return;this.P(t,e,i)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,i){var s;this._$AL.has(t)||this._$AL.set(t,e),i.reflect===!0&&this._$Em!==t&&((s=this._$Ej)!=null?s:this._$Ej=new Set).add(t)}_$ET(){return dt(this,null,function*(){this.isUpdatePending=!0;try{yield this._$ES}catch(e){Promise.reject(e)}const t=this.scheduleUpdate();return t!=null&&(yield t),!this.isUpdatePending})}scheduleUpdate(){return this.performUpdate()}performUpdate(){var i,s;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((i=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[n,a]of this._$Ep)this[n]=a;this._$Ep=void 0}const r=this.constructor.elementProperties;if(r.size>0)for(const[n,a]of r)a.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.P(n,this[n],a)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),(s=this._$EO)==null||s.forEach(r=>{var n;return(n=r.hostUpdate)==null?void 0:n.call(r)}),this.update(e)):this._$EU()}catch(r){throw t=!1,this._$EU(),r}t&&this._$AE(e)}willUpdate(t){}_$AE(t){var e;(e=this._$EO)==null||e.forEach(i=>{var s;return(s=i.hostUpdated)==null?void 0:s.call(i)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&(this._$Ej=this._$Ej.forEach(e=>this._$EC(e,this[e]))),this._$EU()}updated(t){}firstUpdated(t){}}var jo;Oe.elementStyles=[],Oe.shadowRootOptions={mode:"open"},Oe[Xe("elementProperties")]=new Map,Oe[Xe("finalized")]=new Map,Nt==null||Nt({ReactiveElement:Oe}),((jo=ge.reactiveElementVersions)!=null?jo:ge.reactiveElementVersions=[]).push("2.0.4");/**
18
18
  * @license
19
19
  * Copyright 2017 Google LLC
20
20
  * SPDX-License-Identifier: BSD-3-Clause
21
21
  */const Je=globalThis,yt=Je.trustedTypes,Qi=yt?yt.createPolicy("lit-html",{createHTML:o=>o}):void 0,Ko="$lit$",_e=`lit$${Math.random().toFixed(9).slice(2)}$`,Xo="?"+_e,Ir=`<${Xo}>`,De=document,Ze=()=>De.createComment(""),et=o=>o===null||typeof o!="object"&&typeof o!="function",Si=Array.isArray,Nr=o=>Si(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",zt=`[
22
22
  \f\r]`,je=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Zi=/-->/g,eo=/>/g,we=RegExp(`>|${zt}(?:([^\\s"'>=/]+)(${zt}*=${zt}*(?:[^
23
- \f\r"'\`<>=]|("|')|))|$)`,"g"),to=/'/g,io=/"/g,Jo=/^(?:script|style|textarea|title)$/i,Le=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),oo=new WeakMap,Ee=De.createTreeWalker(De,129);function Qo(o,t){if(!Si(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Qi!==void 0?Qi.createHTML(t):t}const zr=(o,t)=>{const e=o.length-1,i=[];let s,r=t===2?"<svg>":t===3?"<math>":"",n=je;for(let a=0;a<e;a++){const l=o[a];let d,u,h=-1,f=0;for(;f<l.length&&(n.lastIndex=f,u=n.exec(l),u!==null);)f=n.lastIndex,n===je?u[1]==="!--"?n=Zi:u[1]!==void 0?n=eo:u[2]!==void 0?(Jo.test(u[2])&&(s=RegExp("</"+u[2],"g")),n=we):u[3]!==void 0&&(n=we):n===we?u[0]===">"?(n=s!=null?s:je,h=-1):u[1]===void 0?h=-2:(h=n.lastIndex-u[2].length,d=u[1],n=u[3]===void 0?we:u[3]==='"'?io:to):n===io||n===to?n=we:n===Zi||n===eo?n=je:(n=we,s=void 0);const p=n===we&&o[a+1].startsWith("/>")?" ":"";r+=n===je?l+Ir:h>=0?(i.push(d),l.slice(0,h)+Ko+l.slice(h)+_e+p):l+_e+(h===-2?a:p)}return[Qo(o,r+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),i]};class tt{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]=zr(t,e);if(this.el=tt.createElement(d,i),Ee.currentNode=this.el.content,e===2||e===3){const h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(s=Ee.nextNode())!==null&&l.length<a;){if(s.nodeType===1){if(s.hasAttributes())for(const h of s.getAttributeNames())if(h.endsWith(Ko)){const f=u[n++],p=s.getAttribute(h).split(_e),b=/([.?@])?(.*)/.exec(f);l.push({type:1,index:r,name:b[2],strings:p,ctor:b[1]==="."?Lr:b[1]==="?"?$r:b[1]==="@"?Rr:Dt}),s.removeAttribute(h)}else h.startsWith(_e)&&(l.push({type:6,index:r}),s.removeAttribute(h));if(Jo.test(s.tagName)){const h=s.textContent.split(_e),f=h.length-1;if(f>0){s.textContent=yt?yt.emptyScript:"";for(let p=0;p<f;p++)s.append(h[p],Ze()),Ee.nextNode(),l.push({type:2,index:++r});s.append(h[f],Ze())}}}else if(s.nodeType===8)if(s.data===Xo)l.push({type:2,index:r});else{let h=-1;for(;(h=s.data.indexOf(_e,h+1))!==-1;)l.push({type:7,index:r}),h+=_e.length-1}r++}}static createElement(t,e){const i=De.createElement("template");return i.innerHTML=t,i}}function $e(o,t,e=o,i){var n,a,l;if(t===Le)return t;let s=i!==void 0?(n=e._$Co)==null?void 0:n[i]:e._$Cl;const r=et(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=$e(o,s._$AS(o,t.values),s,i)),t}class Fr{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:De).importNode(e,!0);Ee.currentNode=s;let r=Ee.nextNode(),n=0,a=0,l=i[0];for(;l!==void 0;){if(n===l.index){let u;l.type===2?u=new lt(r,r.nextSibling,this,t):l.type===1?u=new l.ctor(r,l.name,l.strings,this,t):l.type===6&&(u=new Hr(r,this,t)),this._$AV.push(u),l=i[++a]}n!==(l==null?void 0:l.index)&&(r=Ee.nextNode(),n++)}return Ee.currentNode=De,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 lt{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=q,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=$e(this,t,e),et(t)?t===q||t==null||t===""?(this._$AH!==q&&this._$AR(),this._$AH=q):t!==this._$AH&&t!==Le&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Nr(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!==q&&et(this._$AH)?this._$AA.nextSibling.data=t:this.T(De.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=tt.createElement(Qo(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 Fr(s,this),a=n.u(this.options);n.p(e),this.T(a),this._$AH=n}}_$AC(t){let e=oo.get(t.strings);return e===void 0&&oo.set(t.strings,e=new tt(t)),e}k(t){Si(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 lt(this.O(Ze()),this.O(Ze()),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 Dt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,s,r){this.type=1,this._$AH=q,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=q}_$AI(t,e=this,i,s){const r=this.strings;let n=!1;if(r===void 0)t=$e(this,t,e,0),n=!et(t)||t!==this._$AH&&t!==Le,n&&(this._$AH=t);else{const a=t;let l,d;for(t=r[0],l=0;l<r.length-1;l++)d=$e(this,a[i+l],e,l),d===Le&&(d=this._$AH[l]),n||(n=!et(d)||d!==this._$AH[l]),d===q?t=q:t!==q&&(t+=(d!=null?d:"")+r[l+1]),this._$AH[l]=d}n&&!s&&this.j(t)}j(t){t===q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t!=null?t:"")}}class Lr extends Dt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===q?void 0:t}}class $r extends Dt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==q)}}class Rr extends Dt{constructor(t,e,i,s,r){super(t,e,i,s,r),this.type=5}_$AI(t,e=this){var n;if((t=(n=$e(this,t,e,0))!=null?n:q)===Le)return;const i=this._$AH,s=t===q&&i!==q||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,r=t!==q&&(i===q||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 Hr{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){$e(this,t)}}const Ft=Je.litHtmlPolyfillSupport;var Yo;Ft==null||Ft(tt,lt),((Yo=Je.litHtmlVersions)!=null?Yo:Je.litHtmlVersions=[]).push("3.2.1");const Br=(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 lt(t.insertBefore(Ze(),a),a,void 0,e!=null?e:{})}return s._$AI(o),s};/**
23
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),to=/'/g,io=/"/g,Jo=/^(?:script|style|textarea|title)$/i,Le=Symbol.for("lit-noChange"),q=Symbol.for("lit-nothing"),oo=new WeakMap,Ee=De.createTreeWalker(De,129);function Qo(o,t){if(!Si(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Qi!==void 0?Qi.createHTML(t):t}const zr=(o,t)=>{const e=o.length-1,i=[];let s,r=t===2?"<svg>":t===3?"<math>":"",n=je;for(let a=0;a<e;a++){const l=o[a];let c,u,h=-1,f=0;for(;f<l.length&&(n.lastIndex=f,u=n.exec(l),u!==null);)f=n.lastIndex,n===je?u[1]==="!--"?n=Zi:u[1]!==void 0?n=eo:u[2]!==void 0?(Jo.test(u[2])&&(s=RegExp("</"+u[2],"g")),n=we):u[3]!==void 0&&(n=we):n===we?u[0]===">"?(n=s!=null?s:je,h=-1):u[1]===void 0?h=-2:(h=n.lastIndex-u[2].length,c=u[1],n=u[3]===void 0?we:u[3]==='"'?io:to):n===io||n===to?n=we:n===Zi||n===eo?n=je:(n=we,s=void 0);const p=n===we&&o[a+1].startsWith("/>")?" ":"";r+=n===je?l+Ir:h>=0?(i.push(c),l.slice(0,h)+Ko+l.slice(h)+_e+p):l+_e+(h===-2?a:p)}return[Qo(o,r+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),i]};class tt{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let r=0,n=0;const a=t.length-1,l=this.parts,[c,u]=zr(t,e);if(this.el=tt.createElement(c,i),Ee.currentNode=this.el.content,e===2||e===3){const h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(s=Ee.nextNode())!==null&&l.length<a;){if(s.nodeType===1){if(s.hasAttributes())for(const h of s.getAttributeNames())if(h.endsWith(Ko)){const f=u[n++],p=s.getAttribute(h).split(_e),b=/([.?@])?(.*)/.exec(f);l.push({type:1,index:r,name:b[2],strings:p,ctor:b[1]==="."?Lr:b[1]==="?"?$r:b[1]==="@"?Rr:Dt}),s.removeAttribute(h)}else h.startsWith(_e)&&(l.push({type:6,index:r}),s.removeAttribute(h));if(Jo.test(s.tagName)){const h=s.textContent.split(_e),f=h.length-1;if(f>0){s.textContent=yt?yt.emptyScript:"";for(let p=0;p<f;p++)s.append(h[p],Ze()),Ee.nextNode(),l.push({type:2,index:++r});s.append(h[f],Ze())}}}else if(s.nodeType===8)if(s.data===Xo)l.push({type:2,index:r});else{let h=-1;for(;(h=s.data.indexOf(_e,h+1))!==-1;)l.push({type:7,index:r}),h+=_e.length-1}r++}}static createElement(t,e){const i=De.createElement("template");return i.innerHTML=t,i}}function $e(o,t,e=o,i){var n,a,l;if(t===Le)return t;let s=i!==void 0?(n=e._$Co)==null?void 0:n[i]:e._$Cl;const r=et(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=$e(o,s._$AS(o,t.values),s,i)),t}class Fr{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 c;const{el:{content:e},parts:i}=this._$AD,s=((c=t==null?void 0:t.creationScope)!=null?c:De).importNode(e,!0);Ee.currentNode=s;let r=Ee.nextNode(),n=0,a=0,l=i[0];for(;l!==void 0;){if(n===l.index){let u;l.type===2?u=new lt(r,r.nextSibling,this,t):l.type===1?u=new l.ctor(r,l.name,l.strings,this,t):l.type===6&&(u=new Hr(r,this,t)),this._$AV.push(u),l=i[++a]}n!==(l==null?void 0:l.index)&&(r=Ee.nextNode(),n++)}return Ee.currentNode=De,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 lt{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=q,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=$e(this,t,e),et(t)?t===q||t==null||t===""?(this._$AH!==q&&this._$AR(),this._$AH=q):t!==this._$AH&&t!==Le&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Nr(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!==q&&et(this._$AH)?this._$AA.nextSibling.data=t:this.T(De.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=tt.createElement(Qo(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 Fr(s,this),a=n.u(this.options);n.p(e),this.T(a),this._$AH=n}}_$AC(t){let e=oo.get(t.strings);return e===void 0&&oo.set(t.strings,e=new tt(t)),e}k(t){Si(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 lt(this.O(Ze()),this.O(Ze()),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 Dt{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,i,s,r){this.type=1,this._$AH=q,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=q}_$AI(t,e=this,i,s){const r=this.strings;let n=!1;if(r===void 0)t=$e(this,t,e,0),n=!et(t)||t!==this._$AH&&t!==Le,n&&(this._$AH=t);else{const a=t;let l,c;for(t=r[0],l=0;l<r.length-1;l++)c=$e(this,a[i+l],e,l),c===Le&&(c=this._$AH[l]),n||(n=!et(c)||c!==this._$AH[l]),c===q?t=q:t!==q&&(t+=(c!=null?c:"")+r[l+1]),this._$AH[l]=c}n&&!s&&this.j(t)}j(t){t===q?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t!=null?t:"")}}class Lr extends Dt{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===q?void 0:t}}class $r extends Dt{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==q)}}class Rr extends Dt{constructor(t,e,i,s,r){super(t,e,i,s,r),this.type=5}_$AI(t,e=this){var n;if((t=(n=$e(this,t,e,0))!=null?n:q)===Le)return;const i=this._$AH,s=t===q&&i!==q||t.capture!==i.capture||t.once!==i.once||t.passive!==i.passive,r=t!==q&&(i===q||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 Hr{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){$e(this,t)}}const Ft=Je.litHtmlPolyfillSupport;var Yo;Ft==null||Ft(tt,lt),((Yo=Je.litHtmlVersions)!=null?Yo:Je.litHtmlVersions=[]).push("3.2.1");const Br=(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 lt(t.insertBefore(Ze(),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
@@ -33,7 +33,7 @@
33
33
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
34
34
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
35
35
  */const Zo=[],Zt=new Set,Ai=new Set;function es(o){return o&&Object.prototype.hasOwnProperty.call(o,"__themes")}function jr(o){return es(customElements.get(o))}function Yr(o=[]){return[o].flat(1/0).filter(t=>t instanceof Ei?!0:(console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."),!1))}function ts(o,t){return(o||"").split(" ").some(e=>new RegExp(`^${e.split("*").join(".*")}$`,"u").test(t))}function is(o){return o.map(t=>t.cssText).join(`
36
- `)}const vt="vaadin-themable-mixin-style";function Ur(o,t){const e=document.createElement("style");e.id=vt,e.textContent=is(o),t.content.appendChild(e)}function Wr(o){if(!o.shadowRoot)return;const t=o.constructor;if(o instanceof Ie)[...o.shadowRoot.querySelectorAll("style")].forEach(e=>e.remove()),qo(o.shadowRoot,t.elementStyles);else{const e=o.shadowRoot.getElementById(vt),i=t.prototype._template;e.textContent=i.content.getElementById(vt).textContent}}function qr(o){Zt.forEach(t=>{const e=t.deref();e instanceof o?Wr(e):e||Zt.delete(t)})}function os(o){if(o.prototype instanceof Ie)o.elementStyles=o.finalizeStyles(o.styles);else{const t=o.prototype._template;t.content.getElementById(vt).textContent=is(o.getStylesForThis())}Ai.forEach(t=>{const e=customElements.get(t);e!==o&&e.prototype instanceof o&&os(e)})}function Gr(o,t){const e=o.__themes;return!e||!t?!1:e.some(i=>i.styles.some(s=>t.some(r=>r.cssText===s.cssText)))}function U(o,t,e={}){t=Yr(t),window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.registerStyles(o,t,e):Zo.push({themeFor:o,styles:t,include:e.include,moduleId:e.moduleId}),o&&Ai.forEach(i=>{if(ts(o,i)&&jr(i)){const s=customElements.get(i);Gr(s,t)?console.warn(`Registering styles that already exist for ${i}`):(!window.Vaadin||!window.Vaadin.suppressPostFinalizeStylesWarning)&&console.warn(`The custom element definition for "${i}" was finalized before a style module was registered. Ideally, import component specific style modules before importing the corresponding custom element. This warning can be suppressed by setting "window.Vaadin.suppressPostFinalizeStylesWarning = true".`),os(s),qr(s)}})}function ei(){return window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.getAllThemes():Zo}function Kr(o=""){let t=0;return o.startsWith("lumo-")||o.startsWith("material-")?t=1:o.startsWith("vaadin-")&&(t=2),t}function ss(o){const t=[];return o.include&&[].concat(o.include).forEach(e=>{const i=ei().find(s=>s.moduleId===e);i?t.push(...ss(i),...i.styles):console.warn(`Included moduleId ${e} not found in style registry`)},o.styles),t}function Xr(o){const t=`${o}-default-theme`,e=ei().filter(i=>i.moduleId!==t&&ts(i.themeFor,o)).map(i=>It(dt({},i),{styles:[...ss(i),...i.styles],includePriority:Kr(i.moduleId)})).sort((i,s)=>s.includePriority-i.includePriority);return e.length>0?e:ei().filter(i=>i.moduleId===t)}const Pe=o=>class extends Vr(o){constructor(){super(),Zt.add(new WeakRef(this))}static finalize(){if(super.finalize(),this.is&&Ai.add(this.is),this.elementStyles)return;const e=this.prototype._template;!e||es(this)||Ur(this.getStylesForThis(),e)}static finalizeStyles(e){const i=this.getStylesForThis();return e?[...[e].flat(1/0),...i]:i}static getStylesForThis(){const e=o.__themes||[],i=Object.getPrototypeOf(this.prototype),s=(i?i.constructor.__themes:[])||[];this.__themes=[...e,...s,...Xr(this.is)];const r=this.__themes.flatMap(n=>n.styles);return r.filter((n,a)=>a===r.lastIndexOf(n))}};/**
36
+ `)}const vt="vaadin-themable-mixin-style";function Ur(o,t){const e=document.createElement("style");e.id=vt,e.textContent=is(o),t.content.appendChild(e)}function Wr(o){if(!o.shadowRoot)return;const t=o.constructor;if(o instanceof Ie)[...o.shadowRoot.querySelectorAll("style")].forEach(e=>e.remove()),qo(o.shadowRoot,t.elementStyles);else{const e=o.shadowRoot.getElementById(vt),i=t.prototype._template;e.textContent=i.content.getElementById(vt).textContent}}function qr(o){Zt.forEach(t=>{const e=t.deref();e instanceof o?Wr(e):e||Zt.delete(t)})}function os(o){if(o.prototype instanceof Ie)o.elementStyles=o.finalizeStyles(o.styles);else{const t=o.prototype._template;t.content.getElementById(vt).textContent=is(o.getStylesForThis())}Ai.forEach(t=>{const e=customElements.get(t);e!==o&&e.prototype instanceof o&&os(e)})}function Gr(o,t){const e=o.__themes;return!e||!t?!1:e.some(i=>i.styles.some(s=>t.some(r=>r.cssText===s.cssText)))}function U(o,t,e={}){t=Yr(t),window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.registerStyles(o,t,e):Zo.push({themeFor:o,styles:t,include:e.include,moduleId:e.moduleId}),o&&Ai.forEach(i=>{if(ts(o,i)&&jr(i)){const s=customElements.get(i);Gr(s,t)?console.warn(`Registering styles that already exist for ${i}`):(!window.Vaadin||!window.Vaadin.suppressPostFinalizeStylesWarning)&&console.warn(`The custom element definition for "${i}" was finalized before a style module was registered. Ideally, import component specific style modules before importing the corresponding custom element. This warning can be suppressed by setting "window.Vaadin.suppressPostFinalizeStylesWarning = true".`),os(s),qr(s)}})}function ei(){return window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.getAllThemes():Zo}function Kr(o=""){let t=0;return o.startsWith("lumo-")||o.startsWith("material-")?t=1:o.startsWith("vaadin-")&&(t=2),t}function ss(o){const t=[];return o.include&&[].concat(o.include).forEach(e=>{const i=ei().find(s=>s.moduleId===e);i?t.push(...ss(i),...i.styles):console.warn(`Included moduleId ${e} not found in style registry`)},o.styles),t}function Xr(o){const t=`${o}-default-theme`,e=ei().filter(i=>i.moduleId!==t&&ts(i.themeFor,o)).map(i=>It(ct({},i),{styles:[...ss(i),...i.styles],includePriority:Kr(i.moduleId)})).sort((i,s)=>s.includePriority-i.includePriority);return e.length>0?e:ei().filter(i=>i.moduleId===t)}const Pe=o=>class extends Vr(o){constructor(){super(),Zt.add(new WeakRef(this))}static finalize(){if(super.finalize(),this.is&&Ai.add(this.is),this.elementStyles)return;const e=this.prototype._template;!e||es(this)||Ur(this.getStylesForThis(),e)}static finalizeStyles(e){const i=this.getStylesForThis();return e?[...[e].flat(1/0),...i]:i}static getStylesForThis(){const e=o.__themes||[],i=Object.getPrototypeOf(this.prototype),s=(i?i.constructor.__themes:[])||[];this.__themes=[...e,...s,...Xr(this.is)];const r=this.__themes.flatMap(n=>n.styles);return r.filter((n,a)=>a===r.lastIndexOf(n))}};/**
37
37
  * @license
38
38
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
39
39
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -1500,7 +1500,7 @@
1500
1500
  * @license
1501
1501
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
1502
1502
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1503
- */const dn=P`
1503
+ */const cn=P`
1504
1504
  @font-face {
1505
1505
  font-family: 'lumo-icons';
1506
1506
  src: url(data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABHAAAsAAAAAI6AAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADsAAABUIIslek9TLzIAAAFEAAAAQwAAAFZAIUuNY21hcAAAAYgAAAD+AAADymne8hxnbHlmAAACiAAAC+gAABioIzlOlWhlYWQAAA5wAAAAMAAAADZa/6SsaGhlYQAADqAAAAAdAAAAJAbpA4BobXR4AAAOwAAAABAAAAC0q+AAAGxvY2EAAA7QAAAAXAAAAFyF7o1GbWF4cAAADywAAAAfAAAAIAFMAXBuYW1lAAAPTAAAATEAAAIuUUJZCHBvc3QAABCAAAABPQAAAgfdkltveJxjYGRgYOBiMGCwY2BycfMJYeDLSSzJY5BiYGGAAJA8MpsxJzM9kYEDxgPKsYBpDiBmg4gCACY7BUgAeJxjYGS+xDiBgZWBgamKaQ8DA0MPhGZ8wGDIyAQUZWBlZsAKAtJcUxgcXjG+0mEO+p/FEMUcxDANKMwIkgMABvgMMAB4nO3SV26EMABF0UsZpjG9d6Y3FpgF5StLYxMTP16WEUvHV1gGIQzQAJKgDFKIfojQ+A6rUb2e0KnXU77qPanWq/LzCXOkOVyn9RyHvWl4YkaTFu1wX5ecHn0GDBkxZsKUGXMWLFmxZsOWHXsOFBw5cebClRt3Hjx58dZ7RRn/I9cUF39Xpb691acRG2piOtUqNZ1P1TCdeJUZatNQW4baNtSO6U+ouoaam96u6hlq31AHhjo01JGhjg11YqhTQ50Z6txQF4a6NNSVoa4NdWOoW0PdGereUA+GWhjq0VBPhno21IuhXg31Zqh3Q30Y6tNQX4b6NtTSKH8BOIRpQQAAeJy1WH1sW9UVv+fG9vPz+7Bf/N6zHcd2/J04jbP6s0lap4kDpB9JWzUUCqxNgaHxpTI6hNhUNLVr17HSISb2D2iAJrWb6FTWahNQdQxRvmHamAR0qibE1E18CG3QaVNFvJ17n+3YIf1AiMQ679x77j3v3HPPPed3H7ER/OsYpw8TmQRIiuQJ8RZK+WjO1B3xaCzla21orY10a+OQ6aHTHtP0zB31mBs1GZ6RNU2uXc7oPL+xdRS9R9X1oK4fVfijdsBqvqF6vd1eLzPrYrYZ57WteF7bPDIc5+ZcJnta+S9i2Vfhs4MaMwZNQmO0Vv7gF/MZcNsCcJp4sJFSwYyAmRuFCmTBDRBUkwGqnlViyjmVBpLqaXhNpt0J5V1JOqMkuqn8WkMHvZX+iOlImiqkBiFVYDrCqINulmkwKb8ry2fkZBBn7FcTlk4ZdfpRZ9MOesLSAakKt0N3g4p2jAL8eIEOOqom/U0lgQRXUl8LtXM7HFkojUIpF0ErVBhcZC1vtyjtpsqr83a8RVcSH+ool8LgcIMjNohmVCACuDs506BdO6WIQeXjUsh1XKZGRNpp9piv3+Givoh00OU6KEV81HUHTLtN093Q+YGlE3wLHWRtMNy9XWqdLm2HKbaNsGzhu+41eswFOjE6WKSk2/1Wpt+qHeM6phbohmVmj3GvpdcVkiy9zbXfzHVqKuDB0IR2P6ZpF+D7dy6YC/9svGmBE5hKB9+X2+hh4iYRMkhGyTqyFc9APmeGQHf043tWQKHkizmwaY5AroTNVJzJDc2SFzUu92kOLsdmKu77vByb8/IjtxmhkMFISRBFISO4XMLJlj4XgGuRXtaHw2FLyHifdSOpisIhJjgkiPBAyJh7lfXTkhEadwk1mUngrOC6MazX7mASeEAPV1FyjEumBOaEDu4DP/ogRDKkiLEV1woVyMeLLKJCEM+FwdCwL4XLcRgdbfkhbzS8BNvXDKzNQiAWgOzagTXF1Eyq+Ci6/TPm/JrNY/59p1epKN4jQFGe0fx+LTMwNVCrAU2VSqnaKYzIiGmWe2Rvp9KDJhncrjLaFce8VCUbyQ1kB9lNfkJ+To6R58mfyd/Ip9ABXohDHqqwEW7A2Mij1ehntLu+h8xMtocjUJcYwoLdtYafv/1Vjy8vjLaLtBfOt3/B931Rexa24e5zstgnyqvZHs69zuhq3vFgRpQVJyN7FuE++RLSeW4xMi+t6Zeo5sIK6S5dlGVRD2hWnGoB3j7OV3lesvNLic8tOnLRSRfRdOna63VJp/1WbYs5dFZjy1AqpGICQEWKmNI+CZNoVTJ7pNop+IZkRrBHgnEmqr3TrEsfw1Gi8LqE+S1aV0SNNwXVVVvuUoU3ld6TLwmditIpvKTU50zSzWwO1h0rL8awnulwTXMYrGDT4aQ1fb4GPkyv5vMEh5Vec6yw0AMXnfcx1l/rfVZaKLDi0W4j/HfeyGZuHOf1IUGW1udizU2leXY0OmLpVDpVKJfKpZzPRKHgEBzpXAUKWYipoIeBdl3JfLZVBizEqWun1i4ZGFiyduq3DebayXsmJ+95gBG4+Urm1a2SdpKV57lP2wZyZqI+FAlfUtO+NCmgdWhMOS1gDY+jHWnBhwjBQLMEXxmLbx6t9JXTWDLtsSxgisfErqvQMbbBoywZmeyLeWe8OWNydFDxzMx4lMGRtX0xN3YFJkeW+O0bascGNwwObtjCCOzrzAVWjSwN2K9cpyn9o5cZOXMmkAuM85EbNHnJyHhfLLCnPhxJYw9eoIMkyC3l+4ZuY5ig7lW2oYUynDgg+Xrk+++Xe3zSgRYetnyuy+KbfjiB+GAAtZ8HHXmtijZfFFgrujhmOs2qkXvuSV6WqA1WLYqhPHOfsa26rklKFqbAGL2dOIlGurB6LWFVFd/KoBBaYTFYVBs93hZRFlrG5Ex4NVFIJguJVvqnBW2kNNvFGx90YUcSEvyZSMDeZjc0xYlEYy8+hHcWx9YrZOaPPyCGepP5Q34aXnGBr8d1QhSf4yjtiebZqNJfEYl4SY6dDRb8WSguLZW9ZQtBpoW4hX0QMyB2KmsYcOh8HMQxBn288oZ6BXV0GOq/ClKsC6T8g9X3OFKZNkJrYkOx2lEk+KNDy953+wGHXuGGzhGZ+uLK8FVrQkbtKBv+9EztU2sgTCNpvXMdJjqJ4tkdw+x00dPKkZ1QR254x7GQoFmvfakSnL3gCc5nREly2mN2pyTLMacMipNT7YInGU7JzlN2p9N+yinXTirOKEvPUafSWMNDmCf9pIQYaG19DSxKGqvAQ+xg60iabEm5MheUU2n+HxO4TDDbjnw6xxK8QzfhbHXq8pWVqanKysun9s6ztdt7sivGqruqYyuyPS6Hw9XehGt6q+l0dT0jvaFMZjiTuTHo7+vdtHJTb58/2ML+IxHt9/n9vv5owiWKrrbWD+sakKxhKoYzxF5f7y9INxki42QNuYrVFDPfvqxyY83xWNMV+ZxPSMWb62W+wPSCJwkDDl1WZOGW84nAEo4A7HjB/uWmOdayRFnKjazi668u/ajJlUd87aPk048Crlu4j1Oh9gxdL3Z1inNPIt2xvKNlsU4hn54Z5Y6YbTDu9hHOvkcFAb35fU6hNovKOrtQmcvbNV9/Ntfv5xf4atDWOOTX6CSHZ08xujhPs51+f9zvf1YLIGoPPKvxVh0TSLAXzzUBFiXs7GJVB7vH5/PAXznd4+vx4a95h3qI/oYIpIdMkA1kC7kVLS3GhWI5bwj1fIaVKG/Ei5gXWOjhtcJbzFthaMQrwIcIRj0ppvO6yV95icu9j/YPDNySWp7w+kOr95R1RfGpfVlDVhS/2geJ5Umv2mn0rkxBvzvgdisndJXaVF1X5z5jdHGe2n/QnYo8+b2uaMivhowgjYcLnVqnrEpQezsieyVZ6ooETbdJO6ip+cORLpes6BL82/qg8VHbo45B/vch/YQeJX28QvEANR3sQhxh+TcMCEd4l8BKF7uID7KM05tRYlIHHXY63YIi2fXQyj5XSBbcMeewKLpttkJ2Syz33YJfDdJdSYkqHbYb3VHRJgTV8c0TAy67YHeK7htwOKWax5co7Do8Pfh1tKdx1g5j9o6TZeQyMo27FuW3vbYsbY/Op3AG06DMKionRlpgHzCEeMmLU5opRrCyS670RzppZeW5p/iT3jL3lB4O63QS6dzzh8SAtOqwGJK3bv+lGJTWbr++471wsVKMRJCEK5H+cLg/Qp+IDsdqs7HhKD7hMXyyrD/Li8RjRqimHhI7HP2vSDZn9brplySb0L9dgpURSwmSiBFhilrwB8OA9gZ29NkRO/669parW9e7XZDxwvgRu+SE7zgl+xG5p/HtRqJ3cdwSZwsbwTA1WT3jEdyPN0sWxvDGy+xovIzHosnwc9LePf9tywun0fMkWaFYZbB4oovRq8VyKYUBkMVXqVhBHSylQ0wanvla3+rQ1XbR8ZzstYOo2Mf7vjk8ftcGDWxdSdXx0cAVveHg1TZFtEOn8ntBBFs11V++vuLUQ5qz+U6d/oUjpGIdNjOQhJXNqn5YCS1Yy5PofLGEs6Js2yOKe2yyOLxtaGjbt7cNIURCEDdWfaQ6lurtRYbePCuItv1iUNxvE4Vdw2zQ0LZhdv2fxjHp5uAmdlBpopHXoJGU8e6BRc0yi+PztkaHTRRrW1m2hcfFLlEUzzD+DGczjEVCg9jEQZhFcdAL2DjD+DPiSWQzjM2I89g5RXdxfECS+CIWy1hTGmFs6EIbkv/pbtkfU3aPrZ+4c2Lizn07qufym/L5TTdtyuU2/We3HPeDsjtb3bGPSSfW31aX3LQpX/d9sL7fWYpRJPBbCJavYjrFjj0rT2GWCZjf6Ytffr8beXl/HYeyGwJiIK8FLDHbfo65xGz7YCSRqCQSkbbHI5eUU5X4sjj+zrU9aHnRlEnrd7YGptd0x2Jf/RbH9PAiovadckSnEsJ661OgPFuH9B4O6e202vIN0h9xHXSJh1wRP5Vqv1uI6Wn9Gxmrwzqrii1gqhEscJanuAlGas+s2/uzvetgS72NpHZ6aHbZstmh/wPq1seEeJxjYGRgYADi31ySEvH8Nl8ZuJlfAEUYalQ3NCLo/6+ZpzLdAnI5GJhAogAiBgraeJxjYGRgYA76nwUkXzAAAfNUBkYGVKALAFb4A3EAAAB4nGNgYGBgfjG0MAAMzihlAAAAAABOAJoA6AEKASwBTgFwAZoBxAHuAhoCnALoBJoEvATWBPIFDgUqBXoF0AX+BkQGlga4BwgHagfiCGoIpAi8CVAJmAoQCiwKVgqQCtYLGAtOC4gL6AwuDFR4nGNgZGBg0GVMYRBlAAEmIOYCQgaG/2A+AwAYygG+AHicbZE9TsMwGIbf9A/RSggEYmHxAgtq+jN2ZGj3Dt3T1GlTOXHkuBW9AyfgEByCgTNwCA7BW/NJlVBtyd/jx+8XKwmAa3whwnFE6Ib1OBq44O6Pm6Qb4Rb5QbiNHh6FO/RD4S6eMRHu4RaaT4halzR3eBVu4Apvwk36d+EW+UO4jXt8Cnfov4W7WOBHuIen6MXsCtvPU1vWc73emcSdxIkW2tW5LdUoHp7kTJfaJV6v1PKg6v167H2mMmcLNbWl18ZYVTm71amPN95Xk8EgEx+ntoDBDgUs+siRspaoMef7rukNEriziXNuwS7Hmoe9wggxv+e55IzJMqQTeNYV00scuNbY8+YxrUfGfcaMZb/CNPQe04bT0lThbEuT0sfYhK6K/23Amf3Lx+H24hcj4GScAAAAeJxtjuduwzAMhH2NnTqOk+6993TfSZFY24giGZTVon36eiRFf5SAiO/A05HBWtBXEvxfGdYwQIgIQ6wjxggJxkgxwRQb2MQWtrGDXexhHwc4xBGOcYJTnOEcF7jEFa5xg1vc4R4PeMQTnvGCV2R4C1Khy9xkkkxNnPRC03s97pHLvKgTYXJNmbKfZom9o8POEffsq0Qw28+ltcPe2uHS2rGvRjPBmSwE1+GMtI6l0GSU4JEsSM4XgudpQx9sTRf3K9rAyUr0962UryKprZwPpM0jyda5uP2qrVBjxSLPCmGUplixrdpBSKqsI2oO4gF9Udq8TJVOzDSpcEHGR4vSeJdaVsSkMl26OqoKa6jttQ0rLb6a5l3YjO2QqV01YXLlNy2XDR0JlkXojbJTb/5GDX3V+kPviIPgB9AUks0AAAA=)
@@ -1555,7 +1555,7 @@
1555
1555
  --lumo-icons-upload: '\\ea2b';
1556
1556
  --lumo-icons-user: '\\ea2c';
1557
1557
  }
1558
- `;Be("font-icons",dn);/**
1558
+ `;Be("font-icons",cn);/**
1559
1559
  * @license
1560
1560
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
1561
1561
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -1590,7 +1590,7 @@
1590
1590
  * @license
1591
1591
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
1592
1592
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1593
- */const cn=P`
1593
+ */const dn=P`
1594
1594
  :host {
1595
1595
  --_helper-spacing: var(--vaadin-input-field-helper-spacing, 0.4em);
1596
1596
  }
@@ -1650,7 +1650,7 @@
1650
1650
  * @license
1651
1651
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
1652
1652
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1653
- */const ds=P`
1653
+ */const cs=P`
1654
1654
  [part='label'] {
1655
1655
  align-self: flex-start;
1656
1656
  color: var(--vaadin-input-field-label-color, var(--lumo-secondary-text-color));
@@ -1762,7 +1762,7 @@
1762
1762
  margin-left: 0;
1763
1763
  margin-right: calc(var(--lumo-border-radius-m) / 4);
1764
1764
  }
1765
- `;U("",ds,{moduleId:"lumo-required-field"});/**
1765
+ `;U("",cs,{moduleId:"lumo-required-field"});/**
1766
1766
  * @license
1767
1767
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
1768
1768
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -1897,7 +1897,7 @@
1897
1897
  [part='clear-button']::before {
1898
1898
  content: var(--lumo-icons-cross);
1899
1899
  }
1900
- `,cs=[ds,ls,cn,un];U("",cs,{moduleId:"lumo-input-field-shared-styles"});const hn=P`
1900
+ `,ds=[cs,ls,dn,un];U("",ds,{moduleId:"lumo-input-field-shared-styles"});const hn=P`
1901
1901
  [part='toggle-button']::before {
1902
1902
  content: var(--lumo-icons-calendar);
1903
1903
  }
@@ -1919,7 +1919,7 @@
1919
1919
  :host([dir='rtl']) [part='input-field'] ::slotted(input:placeholder-shown) {
1920
1920
  --_lumo-text-field-overflow-mask-image: none;
1921
1921
  }
1922
- `;U("vaadin-date-picker",[cs,hn],{moduleId:"lumo-date-picker"});/**
1922
+ `;U("vaadin-date-picker",[ds,hn],{moduleId:"lumo-date-picker"});/**
1923
1923
  @license
1924
1924
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1925
1925
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -1967,7 +1967,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1967
1967
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1968
1968
  Code distributed by Google as part of the polymer project is also
1969
1969
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1970
- */const Sn="link[rel=import][type~=css]",An="include",lo="shady-unscoped";function ms(o){return it.import(o)}function co(o){let t=o.body?o.body:o;const e=Ci(t.textContent,o.baseURI),i=document.createElement("style");return i.textContent=e,i}function Cn(o){const t=o.trim().split(/\s+/),e=[];for(let i=0;i<t.length;i++)e.push(...Dn(t[i]));return e}function Dn(o){const t=ms(o);if(!t)return console.warn("Could not find style data in module named",o),[];if(t._styles===void 0){const e=[];e.push(...gs(t));const i=t.querySelector("template");i&&e.push(..._s(i,t.assetpath)),t._styles=e}return t._styles}function _s(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(An);n&&e.push(...Cn(n).filter(function(a,l,d){return d.indexOf(a)===l})),t&&(r.textContent=Ci(r.textContent,t)),e.push(r)}o._styles=e}return o._styles}function Pn(o){let t=ms(o);return t?gs(t):[]}function gs(o){const t=[],e=o.querySelectorAll(Sn);for(let i=0;i<e.length;i++){let s=e[i];if(s.import){const r=s.import,n=s.hasAttribute(lo);if(n&&!r._unscopedStyle){const a=co(r);a.setAttribute(lo,""),r._unscopedStyle=a}else r._style||(r._style=co(r));t.push(n?r._unscopedStyle:r._style)}}return t}/**
1970
+ */const Sn="link[rel=import][type~=css]",An="include",lo="shady-unscoped";function ms(o){return it.import(o)}function co(o){let t=o.body?o.body:o;const e=Ci(t.textContent,o.baseURI),i=document.createElement("style");return i.textContent=e,i}function Cn(o){const t=o.trim().split(/\s+/),e=[];for(let i=0;i<t.length;i++)e.push(...Dn(t[i]));return e}function Dn(o){const t=ms(o);if(!t)return console.warn("Could not find style data in module named",o),[];if(t._styles===void 0){const e=[];e.push(...gs(t));const i=t.querySelector("template");i&&e.push(..._s(i,t.assetpath)),t._styles=e}return t._styles}function _s(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(An);n&&e.push(...Cn(n).filter(function(a,l,c){return c.indexOf(a)===l})),t&&(r.textContent=Ci(r.textContent,t)),e.push(r)}o._styles=e}return o._styles}function Pn(o){let t=ms(o);return t?gs(t):[]}function gs(o){const t=[],e=o.querySelectorAll(Sn);for(let i=0;i<e.length;i++){let s=e[i];if(s.import){const r=s.import,n=s.hasAttribute(lo);if(n&&!r._unscopedStyle){const a=co(r);a.setAttribute(lo,""),r._unscopedStyle=a}else r._style||(r._style=co(r));t.push(n?r._unscopedStyle:r._style)}}return t}/**
1971
1971
  @license
1972
1972
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
1973
1973
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -2023,7 +2023,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
2023
2023
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
2024
2024
  Code distributed by Google as part of the polymer project is also
2025
2025
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2026
- */const Hn={"dom-if":!0,"dom-repeat":!0};let ho=!1,po=!1;function Bn(){if(!ho){ho=!0;const o=document.createElement("textarea");o.placeholder="a",po=o.placeholder===o.textContent}return po}function Vn(o){Bn()&&o.localName==="textarea"&&o.placeholder&&o.placeholder===o.textContent&&(o.textContent=null)}const jn=(()=>{const o=window.trustedTypes&&window.trustedTypes.createPolicy("polymer-template-event-attribute-policy",{createScript:t=>t});return(t,e,i)=>{const s=e.getAttribute(i);if(o&&i.startsWith("on-")){t.setAttribute(i,o.createScript(s,i));return}t.setAttribute(i,s)}})();function Yn(o){let t=o.getAttribute("is");if(t&&Hn[t]){let e=o;for(e.removeAttribute("is"),o=e.ownerDocument.createElement(t),e.parentNode.replaceChild(o,e),o.appendChild(e);e.attributes.length;){const{name:i}=e.attributes[0];jn(o,e,i),e.removeAttribute(i)}}return o}function Cs(o,t){let e=t.parentInfo&&Cs(o,t.parentInfo);if(e){for(let i=e.firstChild,s=0;i;i=i.nextSibling)if(t.parentIndex===s++)return i}else return o}function Un(o,t,e,i){i.id&&(t[i.id]=e)}function Wn(o,t,e){if(e.events&&e.events.length)for(let i=0,s=e.events,r;i<s.length&&(r=s[i]);i++)o._addMethodEventListenerToNode(t,r.name,r.value,o)}function qn(o,t,e,i){e.templateInfo&&(t._templateInfo=e.templateInfo,t._parentTemplateInfo=i)}function Gn(o,t,e){return o=o._methodHost||o,function(s){o[e]?o[e](s,s.detail):console.warn("listener method `"+e+"` not defined")}}const Kn=W(o=>{class t extends o{static _parseTemplate(i,s){if(!i._templateInfo){let r=i._templateInfo={};r.nodeInfoList=[],r.nestedTemplate=!!s,r.stripWhiteSpace=s&&s.stripWhiteSpace||i.hasAttribute&&i.hasAttribute("strip-whitespace"),this._parseTemplateContent(i,r,{parent:null})}return i._templateInfo}static _parseTemplateContent(i,s,r){return this._parseTemplateNode(i.content,s,r)}static _parseTemplateNode(i,s,r){let n=!1,a=i;return a.localName=="template"&&!a.hasAttribute("preserve-content")?n=this._parseTemplateNestedTemplate(a,s,r)||n:a.localName==="slot"&&(s.hasInsertionPoint=!0),Vn(a),a.firstChild&&this._parseTemplateChildNodes(a,s,r),a.hasAttributes&&a.hasAttributes()&&(n=this._parseTemplateNodeAttributes(a,s,r)||n),n||r.noted}static _parseTemplateChildNodes(i,s,r){if(!(i.localName==="script"||i.localName==="style"))for(let n=i.firstChild,a=0,l;n;n=l){if(n.localName=="template"&&(n=Yn(n)),l=n.nextSibling,n.nodeType===Node.TEXT_NODE){let u=l;for(;u&&u.nodeType===Node.TEXT_NODE;)n.textContent+=u.textContent,l=u.nextSibling,i.removeChild(u),u=l;if(s.stripWhiteSpace&&!n.textContent.trim()){i.removeChild(n);continue}}let d={parentIndex:a,parentInfo:r};this._parseTemplateNode(n,s,d)&&(d.infoIndex=s.nodeInfoList.push(d)-1),n.parentNode&&a++}}static _parseTemplateNestedTemplate(i,s,r){let n=i,a=this._parseTemplate(n,s);return(a.content=n.content.ownerDocument.createDocumentFragment()).appendChild(n.content),r.templateInfo=a,!0}static _parseTemplateNodeAttributes(i,s,r){let n=!1,a=Array.from(i.attributes);for(let l=a.length-1,d;d=a[l];l--)n=this._parseTemplateNodeAttribute(i,s,r,d.name,d.value)||n;return n}static _parseTemplateNodeAttribute(i,s,r,n,a){return n.slice(0,3)==="on-"?(i.removeAttribute(n),r.events=r.events||[],r.events.push({name:n.slice(3),value:a}),!0):n==="id"?(r.id=a,!0):!1}static _contentForTemplate(i){let s=i._templateInfo;return s&&s.content||i.content}_stampTemplate(i,s){i&&!i.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(i),s=s||this.constructor._parseTemplate(i);let r=s.nodeInfoList,n=s.content||i.content,a=document.importNode(n,!0);a.__noInsertionPoint=!s.hasInsertionPoint;let l=a.nodeList=new Array(r.length);a.$={};for(let d=0,u=r.length,h;d<u&&(h=r[d]);d++){let f=l[d]=Cs(a,h);Un(this,a.$,f,h),qn(this,f,h,s),Wn(this,f,h)}return a=a,a}_addMethodEventListenerToNode(i,s,r,n){n=n||i;let a=Gn(n,s,r);return this._addEventListenerToNode(i,s,a),a}_addEventListenerToNode(i,s,r){i.addEventListener(s,r)}_removeEventListenerFromNode(i,s,r){i.removeEventListener(s,r)}}return t});/**
2026
+ */const Hn={"dom-if":!0,"dom-repeat":!0};let ho=!1,po=!1;function Bn(){if(!ho){ho=!0;const o=document.createElement("textarea");o.placeholder="a",po=o.placeholder===o.textContent}return po}function Vn(o){Bn()&&o.localName==="textarea"&&o.placeholder&&o.placeholder===o.textContent&&(o.textContent=null)}const jn=(()=>{const o=window.trustedTypes&&window.trustedTypes.createPolicy("polymer-template-event-attribute-policy",{createScript:t=>t});return(t,e,i)=>{const s=e.getAttribute(i);if(o&&i.startsWith("on-")){t.setAttribute(i,o.createScript(s,i));return}t.setAttribute(i,s)}})();function Yn(o){let t=o.getAttribute("is");if(t&&Hn[t]){let e=o;for(e.removeAttribute("is"),o=e.ownerDocument.createElement(t),e.parentNode.replaceChild(o,e),o.appendChild(e);e.attributes.length;){const{name:i}=e.attributes[0];jn(o,e,i),e.removeAttribute(i)}}return o}function Cs(o,t){let e=t.parentInfo&&Cs(o,t.parentInfo);if(e){for(let i=e.firstChild,s=0;i;i=i.nextSibling)if(t.parentIndex===s++)return i}else return o}function Un(o,t,e,i){i.id&&(t[i.id]=e)}function Wn(o,t,e){if(e.events&&e.events.length)for(let i=0,s=e.events,r;i<s.length&&(r=s[i]);i++)o._addMethodEventListenerToNode(t,r.name,r.value,o)}function qn(o,t,e,i){e.templateInfo&&(t._templateInfo=e.templateInfo,t._parentTemplateInfo=i)}function Gn(o,t,e){return o=o._methodHost||o,function(s){o[e]?o[e](s,s.detail):console.warn("listener method `"+e+"` not defined")}}const Kn=W(o=>{class t extends o{static _parseTemplate(i,s){if(!i._templateInfo){let r=i._templateInfo={};r.nodeInfoList=[],r.nestedTemplate=!!s,r.stripWhiteSpace=s&&s.stripWhiteSpace||i.hasAttribute&&i.hasAttribute("strip-whitespace"),this._parseTemplateContent(i,r,{parent:null})}return i._templateInfo}static _parseTemplateContent(i,s,r){return this._parseTemplateNode(i.content,s,r)}static _parseTemplateNode(i,s,r){let n=!1,a=i;return a.localName=="template"&&!a.hasAttribute("preserve-content")?n=this._parseTemplateNestedTemplate(a,s,r)||n:a.localName==="slot"&&(s.hasInsertionPoint=!0),Vn(a),a.firstChild&&this._parseTemplateChildNodes(a,s,r),a.hasAttributes&&a.hasAttributes()&&(n=this._parseTemplateNodeAttributes(a,s,r)||n),n||r.noted}static _parseTemplateChildNodes(i,s,r){if(!(i.localName==="script"||i.localName==="style"))for(let n=i.firstChild,a=0,l;n;n=l){if(n.localName=="template"&&(n=Yn(n)),l=n.nextSibling,n.nodeType===Node.TEXT_NODE){let u=l;for(;u&&u.nodeType===Node.TEXT_NODE;)n.textContent+=u.textContent,l=u.nextSibling,i.removeChild(u),u=l;if(s.stripWhiteSpace&&!n.textContent.trim()){i.removeChild(n);continue}}let c={parentIndex:a,parentInfo:r};this._parseTemplateNode(n,s,c)&&(c.infoIndex=s.nodeInfoList.push(c)-1),n.parentNode&&a++}}static _parseTemplateNestedTemplate(i,s,r){let n=i,a=this._parseTemplate(n,s);return(a.content=n.content.ownerDocument.createDocumentFragment()).appendChild(n.content),r.templateInfo=a,!0}static _parseTemplateNodeAttributes(i,s,r){let n=!1,a=Array.from(i.attributes);for(let l=a.length-1,c;c=a[l];l--)n=this._parseTemplateNodeAttribute(i,s,r,c.name,c.value)||n;return n}static _parseTemplateNodeAttribute(i,s,r,n,a){return n.slice(0,3)==="on-"?(i.removeAttribute(n),r.events=r.events||[],r.events.push({name:n.slice(3),value:a}),!0):n==="id"?(r.id=a,!0):!1}static _contentForTemplate(i){let s=i._templateInfo;return s&&s.content||i.content}_stampTemplate(i,s){i&&!i.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(i),s=s||this.constructor._parseTemplate(i);let r=s.nodeInfoList,n=s.content||i.content,a=document.importNode(n,!0);a.__noInsertionPoint=!s.hasInsertionPoint;let l=a.nodeList=new Array(r.length);a.$={};for(let c=0,u=r.length,h;c<u&&(h=r[c]);c++){let f=l[c]=Cs(a,h);Un(this,a.$,f,h),qn(this,f,h,s),Wn(this,f,h)}return a=a,a}_addMethodEventListenerToNode(i,s,r,n){n=n||i;let a=Gn(n,s,r);return this._addEventListenerToNode(i,s,a),a}_addEventListenerToNode(i,s,r){i.addEventListener(s,r)}_removeEventListenerFromNode(i,s,r){i.removeEventListener(s,r)}}return t});/**
2027
2027
  * @fileoverview
2028
2028
  * @suppress {checkPrototypalTypes}
2029
2029
  * @license Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
@@ -2033,7 +2033,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2033
2033
  * be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
2034
2034
  * Google as part of the polymer project is also subject to an additional IP
2035
2035
  * rights grant found at http://polymer.github.io/PATENTS.txt
2036
- */let rt=0;const nt=[],T={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},Ds="__computeInfo",Xn=/[A-Z]/;function $t(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 Ge(o,t,e,i,s,r){if(t){let n=!1;const a=rt++;for(let l in e){let d=s?ke(l):l,u=t[d];if(u)for(let h=0,f=u.length,p;h<f&&(p=u[h]);h++)(!p.info||p.info.lastRun!==a)&&(!s||ki(l,p.trigger))&&(p.info&&(p.info.lastRun=a),p.fn(o,l,e,i,p.info,s,r),n=!0)}return n}return!1}function Jn(o,t,e,i,s,r,n,a){let l=!1,d=n?ke(i):i,u=t[d];if(u)for(let h=0,f=u.length,p;h<f&&(p=u[h]);h++)(!p.info||p.info.lastRun!==e)&&(!n||ki(i,p.trigger))&&(p.info&&(p.info.lastRun=e),p.fn(o,i,s,r,p.info,n,a),l=!0);return l}function ki(o,t){if(t){let e=t.name;return e==o||!!(t.structured&&bs(e,o))||!!(t.wildcard&&ot(e,o))}else return!0}function fo(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 Qn(o,t,e,i,s){let r=o[T.NOTIFY],n,a=rt++;for(let d in t)t[d]&&(r&&Jn(o,r,a,d,e,i,s)||s&&Zn(o,d,e))&&(n=!0);let l;n&&(l=o.__dataHost)&&l._invalidateProperties&&l._invalidateProperties()}function Zn(o,t,e){let i=ke(t);if(i!==t){let s=Pt(i)+"-changed";return Ps(o,s,e[t],t),!0}return!1}function Ps(o,t,e,i){let s={value:e,queueProperty:!0};i&&(s.path=i),X(o).dispatchEvent(new CustomEvent(t,{detail:s}))}function ea(o,t,e,i,s,r){let a=(r?ke(t):t)!=t?t:null,l=a?te(o,a):o.__data[t];a&&l===void 0&&(l=e[t]),Ps(o,s.eventName,l,a)}function ta(o,t,e,i,s){let r,n=o.detail,a=n&&n.path;a?(i=st(e,i,a),r=n&&n.value):r=o.currentTarget[e],r=s?!r:r,(!t[T.READ_ONLY]||!t[T.READ_ONLY][i])&&t._setPendingPropertyOrPath(i,r,!0,!!a)&&(!n||!n.queueProperty)&&t._invalidateProperties()}function ia(o,t,e,i,s){let r=o.__data[t];xt&&(r=xt(r,s.attrName,"attribute",o)),o._propertyToAttribute(t,s.attrName,r)}function oa(o,t,e,i){let s=o[T.COMPUTE];if(s)if(yn){rt++;const r=ra(o),n=[];for(let l in t)mo(l,s,n,r,i);let a;for(;a=n.shift();)ks(o,"",t,e,a)&&mo(a.methodInfo,s,n,r,i);Object.assign(e,o.__dataOld),Object.assign(t,o.__dataPending),o.__dataPending=null}else{let r=t;for(;Ge(o,s,r,e,i);)Object.assign(e,o.__dataOld),Object.assign(t,o.__dataPending),r=o.__dataPending,o.__dataPending=null}}const sa=(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)},mo=(o,t,e,i,s)=>{const r=s?ke(o):o,n=t[r];if(n)for(let a=0;a<n.length;a++){const l=n[a];l.info.lastRun!==rt&&(!s||ki(o,l.trigger))&&(l.info.lastRun=rt,sa(l.info,e,i))}};function ra(o){let t=o.constructor.__orderedComputedDeps;if(!t){t=new Map;const e=o[T.COMPUTE];let{counts:i,ready:s,total:r}=na(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 na(o){const t=o[Ds],e={},i=o[T.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 ks(o,t,e,i,s){let r=si(o,t,e,i,s);if(r===nt)return!1;let n=s.methodInfo;return o.__dataHasAccessor&&o.__dataHasAccessor[n]?o._setPendingProperty(n,r,!0):(o[n]=r,!1)}function aa(o,t,e){let i=o.__dataLinkedPaths;if(i){let s;for(let r in i){let n=i[r];ot(r,t)?(s=st(r,n,t),o._setPendingPropertyOrPath(s,e,!0,!0)):ot(n,t)&&(s=st(n,r,t),o._setPendingPropertyOrPath(s,e,!0,!0))}}}function Rt(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),ha(a)){let{event:d,negate:u}=a.parts[0];a.listenerEvent=d||Pt(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,la(o,t,a,u,l)}}function la(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=Ms(l),l.wildcard=!0),o._addTemplatePropertyEffect(t,l.rootProperty,{fn:da,info:n,trigger:l})}}}function da(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=st(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!==nt&&ca(o,a,l,d,u)}}function ca(o,t,e,i,s){if(s=ua(t,s,e,i),xt&&(s=xt(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[T.READ_ONLY]||!t[T.READ_ONLY][r])&&t._setPendingProperty(r,s)&&o._enqueueClient(t):o._setUnmanagedPropertyToNode(t,r,s)}}function ua(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 ha(o){return!!o.target&&o.kind!="attribute"&&o.kind!="text"&&!o.isCompound&&o.parts[0].mode==="{"}function pa(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];fa(n,d),ma(n,o,d)}n.__dataHost=o}}function fa(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=X(o)),o[r]=t.literal)}}function ma(o,t,e){if(e.listenerEvent){let i=e.parts[0];o.addEventListener(e.listenerEvent,function(s){ta(s,t,e.target,i.source,i.negate)})}}function _o(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 si(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===nt?nt:n.apply(r,a)}else s.dynamicFn||console.warn("method `"+s.methodName+"` not defined")}const _a=[],Ts="(?:[a-zA-Z_$][\\w.:$\\-*]*)",ga="(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)",ba="(?:'(?:[^'\\\\]|\\\\.)*')",ya='(?:"(?:[^"\\\\]|\\\\.)*")',va="(?:"+ba+"|"+ya+")",go="(?:("+Ts+"|"+ga+"|"+va+")\\s*)",xa="(?:"+go+"(?:,\\s*"+go+")*)",wa="(?:\\(\\s*(?:"+xa+"?)\\)\\s*)",Ea="("+Ts+"\\s*"+wa+"?)",Sa="(\\[\\[|{{)\\s*",Aa="(?:]]|}})",Ca="(?:(!)\\s*)?",Da=Sa+Ca+Ea+Aa,bo=new RegExp(Da,"g");function yo(o){let t="";for(let e=0;e<o.length;e++){let i=o[e].literal;t+=i||""}return t}function Ht(o){let t=o.match(/([^\s]+?)\(([\s\S]*)\)/);if(t){let i={methodName:t[1],static:!0,args:_a};if(t[2].trim()){let s=t[2].replace(/\\,/g,"&comma;").split(",");return Pa(s,i)}else return i}return null}function Pa(o,t){return t.args=o.map(function(e){let i=Ms(e);return i.literal||(t.static=!1),i},this),t}function Ms(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=ke(t),e.structured=ii(t),e.structured&&(e.wildcard=t.slice(-2)==".*",e.wildcard&&(e.name=t.slice(0,-2)))),e}function vo(o,t,e){let i=te(o,e);return i===void 0&&(i=t[e]),i}function Os(o,t,e,i){const s={indexSplices:i};ti&&!o._overrideLegacyUndefined&&(t.splices=s),o.notifyPath(e+".splices",s),o.notifyPath(e+".length",t.length),ti&&!o._overrideLegacyUndefined&&(s.indexSplices=[])}function Ye(o,t,e,i,s,r){Os(o,t,e,[{index:i,addedCount:s,removed:r,object:t,type:"splice"}])}function ka(o){return o[0].toUpperCase()+o.substring(1)}const Ti=W(o=>{const t=Kn(Rn(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 T}_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(Ue.length){let s=Ue[Ue.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[T.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==T.READ_ONLY);let a=$t(this,r,!0)[s];a||(a=this[r][s]=[]),a.push(n)}_removePropertyEffect(s,r,n){let a=$t(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,T.READ_ONLY)}_hasNotifyEffect(s){return this._hasPropertyEffect(s,T.NOTIFY)}_hasReflectEffect(s){return this._hasPropertyEffect(s,T.REFLECT)}_hasComputedEffect(s){return this._hasPropertyEffect(s,T.COMPUTE)}_setPendingPropertyOrPath(s,r,n,a){if(a||ke(Array.isArray(s)?s[0]:s)!==s){if(!a){let l=te(this,s);if(s=uo(this,s,r),!s||!super._shouldPropertyChange(s,r,l))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(s,r,n))return aa(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=X(s)),s[r]=n)}_setPendingProperty(s,r,n){let a=this.__dataHasPaths&&ii(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[T.NOTIFY]&&this[T.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[T.READ_ONLY]||!this[T.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;oa(this,r,n,a),l=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(r,n,a),this._flushClients(),Ge(this,this[T.REFLECT],r,n,a),Ge(this,this[T.OBSERVE],r,n,a),l&&Qn(this,l,r,n,a),this.__dataCounter==1&&(this.__dataTemp={})}_propagatePropertyChanges(s,r,n){this[T.PROPAGATE]&&Ge(this,this[T.PROPAGATE],s,r,n),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,s,r,n)}_runEffectsForTemplate(s,r,n,a){const l=(d,u)=>{Ge(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=qe(s),r=qe(r),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[s]=r}unlinkPaths(s){s=qe(s),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[s]}notifySplices(s,r){let n={path:""},a=te(this,s,n);Os(this,a,n.path,r)}get(s,r){return te(r||this,s)}set(s,r,n){n?uo(n,s,r):(!this[T.READ_ONLY]||!this[T.READ_ONLY][s])&&this._setPendingPropertyOrPath(s,r,!0)&&this._invalidateProperties()}push(s,...r){let n={path:""},a=te(this,s,n),l=a.length,d=a.push(...r);return r.length&&Ye(this,a,n.path,l,r.length,[]),d}pop(s){let r={path:""},n=te(this,s,r),a=!!n.length,l=n.pop();return a&&Ye(this,n,r.path,n.length,0,[l]),l}splice(s,r,n,...a){let l={path:""},d=te(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)&&Ye(this,d,l.path,r,a.length,u),u}shift(s){let r={path:""},n=te(this,s,r),a=!!n.length,l=n.shift();return a&&Ye(this,n,r.path,0,0,[l]),l}unshift(s,...r){let n={path:""},a=te(this,s,n),l=a.unshift(...r);return r.length&&Ye(this,a,n.path,0,r.length,[]),l}notifyPath(s,r){let n;if(arguments.length==1){let a={path:""};r=te(this,s,a),n=a.path}else Array.isArray(s)?n=qe(s):n=s;this._setPendingPropertyOrPath(n,r,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(s,r){this._addPropertyEffect(s,T.READ_ONLY),r&&(this["_set"+ka(s)]=function(n){this._setProperty(s,n)})}_createPropertyObserver(s,r,n){let a={property:s,method:r,dynamicFn:!!n};this._addPropertyEffect(s,T.OBSERVE,{fn:fo,info:a,trigger:{name:s}}),n&&this._addPropertyEffect(r,T.OBSERVE,{fn:fo,info:a,trigger:{name:r}})}_createMethodObserver(s,r){let n=Ht(s);if(!n)throw new Error("Malformed observer expression '"+s+"'");_o(this,n,T.OBSERVE,si,null,r)}_createNotifyingProperty(s){this._addPropertyEffect(s,T.NOTIFY,{fn:ea,info:{eventName:Pt(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,T.REFLECT,{fn:ia,info:{attrName:r}})}_createComputedProperty(s,r,n){let a=Ht(r);if(!a)throw new Error("Malformed computed expression '"+r+"'");const l=_o(this,a,T.COMPUTE,ks,s,n);$t(this,Ds)[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:f,wildcard:p,value:b,literal:M}=s[d];if(!M)if(p){const O=ot(h,r),N=vo(a,n,O?r:h);b={path:O?r:h,value:N,base:O?te(a,h):N}}else b=f?vo(a,n,h):a[h];if(ti&&!this._overrideLegacyUndefined&&b===void 0&&s.length>1)return nt;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),Ue.push(this);let n=super._stampTemplate(s,r);if(Ue.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,pa(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];X(X(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=yo(l)||" ",Rt(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";Xn.test(a)?h="attribute":a[a.length-1]=="$"&&(a=a.slice(0,-1),h="attribute");let f=yo(d);return f&&h=="attribute"&&(a=="class"&&s.hasAttribute("class")&&(f+=" "+s.getAttribute(a)),s.setAttribute(a,f)),h=="attribute"&&u=="disable-upgrade$"&&s.setAttribute(a,""),s.localName==="input"&&u==="value"&&s.setAttribute(u,""),s.removeAttribute(u),h==="property"&&(a=vs(a)),Rt(this,r,n,h,a,d,f),!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";so&&(u||h)&&(l.removeChild(s),n=n.parentInfo,n.templateInfo=d,n.noted=!0,a=!1);let f=d.hostProps;if(vn&&u)f&&(r.hostProps=Object.assign(r.hostProps||{},f),so||(n.parentInfo.noted=!0));else{let p="{";for(let b in f){let M=[{mode:p,source:b,dependencies:[b],hostProp:!0}];Rt(this,r,n,"property","_host_"+b,M)}}return a}static _parseBindings(s,r){let n=[],a=0,l;for(;(l=bo.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(),f=!1,p="",b=-1;d=="{"&&(b=h.indexOf("::"))>0&&(p=h.substring(b+2),h=h.substring(0,b),f=!0);let M=Ht(h),O=[];if(M){let{args:N,methodName:I}=M;for(let j=0;j<N.length;j++){let L=N[j];L.literal||O.push(L)}let B=r.dynamicFns;(B&&B[I]||M.static)&&(O.push(I),M.dynamicFn=!0)}else O.push(h);n.push({source:h,mode:d,negate:u,customEvent:f,signature:M,dependencies:O,event:p}),a=bo.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=si(s,n,a,l,r.signature):n!=r.source?u=te(s,r.source):d&&ii(n)?u=te(s,n):u=s.__data[n],r.negate&&(u=!u),u}}return e}),Ue=[];/**
2036
+ */let rt=0;const nt=[],T={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},Ds="__computeInfo",Xn=/[A-Z]/;function $t(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 Ge(o,t,e,i,s,r){if(t){let n=!1;const a=rt++;for(let l in e){let c=s?ke(l):l,u=t[c];if(u)for(let h=0,f=u.length,p;h<f&&(p=u[h]);h++)(!p.info||p.info.lastRun!==a)&&(!s||ki(l,p.trigger))&&(p.info&&(p.info.lastRun=a),p.fn(o,l,e,i,p.info,s,r),n=!0)}return n}return!1}function Jn(o,t,e,i,s,r,n,a){let l=!1,c=n?ke(i):i,u=t[c];if(u)for(let h=0,f=u.length,p;h<f&&(p=u[h]);h++)(!p.info||p.info.lastRun!==e)&&(!n||ki(i,p.trigger))&&(p.info&&(p.info.lastRun=e),p.fn(o,i,s,r,p.info,n,a),l=!0);return l}function ki(o,t){if(t){let e=t.name;return e==o||!!(t.structured&&bs(e,o))||!!(t.wildcard&&ot(e,o))}else return!0}function fo(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 Qn(o,t,e,i,s){let r=o[T.NOTIFY],n,a=rt++;for(let c in t)t[c]&&(r&&Jn(o,r,a,c,e,i,s)||s&&Zn(o,c,e))&&(n=!0);let l;n&&(l=o.__dataHost)&&l._invalidateProperties&&l._invalidateProperties()}function Zn(o,t,e){let i=ke(t);if(i!==t){let s=Pt(i)+"-changed";return Ps(o,s,e[t],t),!0}return!1}function Ps(o,t,e,i){let s={value:e,queueProperty:!0};i&&(s.path=i),X(o).dispatchEvent(new CustomEvent(t,{detail:s}))}function ea(o,t,e,i,s,r){let a=(r?ke(t):t)!=t?t:null,l=a?te(o,a):o.__data[t];a&&l===void 0&&(l=e[t]),Ps(o,s.eventName,l,a)}function ta(o,t,e,i,s){let r,n=o.detail,a=n&&n.path;a?(i=st(e,i,a),r=n&&n.value):r=o.currentTarget[e],r=s?!r:r,(!t[T.READ_ONLY]||!t[T.READ_ONLY][i])&&t._setPendingPropertyOrPath(i,r,!0,!!a)&&(!n||!n.queueProperty)&&t._invalidateProperties()}function ia(o,t,e,i,s){let r=o.__data[t];xt&&(r=xt(r,s.attrName,"attribute",o)),o._propertyToAttribute(t,s.attrName,r)}function oa(o,t,e,i){let s=o[T.COMPUTE];if(s)if(yn){rt++;const r=ra(o),n=[];for(let l in t)mo(l,s,n,r,i);let a;for(;a=n.shift();)ks(o,"",t,e,a)&&mo(a.methodInfo,s,n,r,i);Object.assign(e,o.__dataOld),Object.assign(t,o.__dataPending),o.__dataPending=null}else{let r=t;for(;Ge(o,s,r,e,i);)Object.assign(e,o.__dataOld),Object.assign(t,o.__dataPending),r=o.__dataPending,o.__dataPending=null}}const sa=(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)},mo=(o,t,e,i,s)=>{const r=s?ke(o):o,n=t[r];if(n)for(let a=0;a<n.length;a++){const l=n[a];l.info.lastRun!==rt&&(!s||ki(o,l.trigger))&&(l.info.lastRun=rt,sa(l.info,e,i))}};function ra(o){let t=o.constructor.__orderedComputedDeps;if(!t){t=new Map;const e=o[T.COMPUTE];let{counts:i,ready:s,total:r}=na(o),n;for(;n=s.shift();){t.set(n,t.size);const a=e[n];a&&a.forEach(l=>{const c=l.info.methodInfo;--r,--i[c]===0&&s.push(c)})}r!==0&&console.warn(`Computed graph for ${o.localName} incomplete; circular?`),o.constructor.__orderedComputedDeps=t}return t}function na(o){const t=o[Ds],e={},i=o[T.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 ks(o,t,e,i,s){let r=si(o,t,e,i,s);if(r===nt)return!1;let n=s.methodInfo;return o.__dataHasAccessor&&o.__dataHasAccessor[n]?o._setPendingProperty(n,r,!0):(o[n]=r,!1)}function aa(o,t,e){let i=o.__dataLinkedPaths;if(i){let s;for(let r in i){let n=i[r];ot(r,t)?(s=st(r,n,t),o._setPendingPropertyOrPath(s,e,!0,!0)):ot(n,t)&&(s=st(n,r,t),o._setPendingPropertyOrPath(s,e,!0,!0))}}}function Rt(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),ha(a)){let{event:c,negate:u}=a.parts[0];a.listenerEvent=c||Pt(s)+"-changed",a.listenerNegate=u}let l=t.nodeInfoList.length;for(let c=0;c<a.parts.length;c++){let u=a.parts[c];u.compoundIndex=c,la(o,t,a,u,l)}}function la(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=Ms(l),l.wildcard=!0),o._addTemplatePropertyEffect(t,l.rootProperty,{fn:ca,info:n,trigger:l})}}}function ca(o,t,e,i,s,r,n){let a=n[s.index],l=s.binding,c=s.part;if(r&&c.source&&t.length>c.source.length&&l.kind=="property"&&!l.isCompound&&a.__isPropertyEffectsClient&&a.__dataHasAccessor&&a.__dataHasAccessor[l.target]){let u=e[t];t=st(c.source,l.target,t),a._setPendingPropertyOrPath(t,u,!1,!0)&&o._enqueueClient(a)}else{let u=s.evaluator._evaluateBinding(o,c,t,e,i,r);u!==nt&&da(o,a,l,c,u)}}function da(o,t,e,i,s){if(s=ua(t,s,e,i),xt&&(s=xt(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[T.READ_ONLY]||!t[T.READ_ONLY][r])&&t._setPendingProperty(r,s)&&o._enqueueClient(t):o._setUnmanagedPropertyToNode(t,r,s)}}function ua(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 ha(o){return!!o.target&&o.kind!="attribute"&&o.kind!="text"&&!o.isCompound&&o.parts[0].mode==="{"}function pa(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 c=a[l];fa(n,c),ma(n,o,c)}n.__dataHost=o}}function fa(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=X(o)),o[r]=t.literal)}}function ma(o,t,e){if(e.listenerEvent){let i=e.parts[0];o.addEventListener(e.listenerEvent,function(s){ta(s,t,e.target,i.source,i.negate)})}}function _o(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 si(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===nt?nt:n.apply(r,a)}else s.dynamicFn||console.warn("method `"+s.methodName+"` not defined")}const _a=[],Ts="(?:[a-zA-Z_$][\\w.:$\\-*]*)",ga="(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)",ba="(?:'(?:[^'\\\\]|\\\\.)*')",ya='(?:"(?:[^"\\\\]|\\\\.)*")',va="(?:"+ba+"|"+ya+")",go="(?:("+Ts+"|"+ga+"|"+va+")\\s*)",xa="(?:"+go+"(?:,\\s*"+go+")*)",wa="(?:\\(\\s*(?:"+xa+"?)\\)\\s*)",Ea="("+Ts+"\\s*"+wa+"?)",Sa="(\\[\\[|{{)\\s*",Aa="(?:]]|}})",Ca="(?:(!)\\s*)?",Da=Sa+Ca+Ea+Aa,bo=new RegExp(Da,"g");function yo(o){let t="";for(let e=0;e<o.length;e++){let i=o[e].literal;t+=i||""}return t}function Ht(o){let t=o.match(/([^\s]+?)\(([\s\S]*)\)/);if(t){let i={methodName:t[1],static:!0,args:_a};if(t[2].trim()){let s=t[2].replace(/\\,/g,"&comma;").split(",");return Pa(s,i)}else return i}return null}function Pa(o,t){return t.args=o.map(function(e){let i=Ms(e);return i.literal||(t.static=!1),i},this),t}function Ms(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=ke(t),e.structured=ii(t),e.structured&&(e.wildcard=t.slice(-2)==".*",e.wildcard&&(e.name=t.slice(0,-2)))),e}function vo(o,t,e){let i=te(o,e);return i===void 0&&(i=t[e]),i}function Os(o,t,e,i){const s={indexSplices:i};ti&&!o._overrideLegacyUndefined&&(t.splices=s),o.notifyPath(e+".splices",s),o.notifyPath(e+".length",t.length),ti&&!o._overrideLegacyUndefined&&(s.indexSplices=[])}function Ye(o,t,e,i,s,r){Os(o,t,e,[{index:i,addedCount:s,removed:r,object:t,type:"splice"}])}function ka(o){return o[0].toUpperCase()+o.substring(1)}const Ti=W(o=>{const t=Kn(Rn(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 T}_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(Ue.length){let s=Ue[Ue.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[T.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==T.READ_ONLY);let a=$t(this,r,!0)[s];a||(a=this[r][s]=[]),a.push(n)}_removePropertyEffect(s,r,n){let a=$t(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,T.READ_ONLY)}_hasNotifyEffect(s){return this._hasPropertyEffect(s,T.NOTIFY)}_hasReflectEffect(s){return this._hasPropertyEffect(s,T.REFLECT)}_hasComputedEffect(s){return this._hasPropertyEffect(s,T.COMPUTE)}_setPendingPropertyOrPath(s,r,n,a){if(a||ke(Array.isArray(s)?s[0]:s)!==s){if(!a){let l=te(this,s);if(s=uo(this,s,r),!s||!super._shouldPropertyChange(s,r,l))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(s,r,n))return aa(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=X(s)),s[r]=n)}_setPendingProperty(s,r,n){let a=this.__dataHasPaths&&ii(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[T.NOTIFY]&&this[T.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[T.READ_ONLY]||!this[T.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;oa(this,r,n,a),l=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(r,n,a),this._flushClients(),Ge(this,this[T.REFLECT],r,n,a),Ge(this,this[T.OBSERVE],r,n,a),l&&Qn(this,l,r,n,a),this.__dataCounter==1&&(this.__dataTemp={})}_propagatePropertyChanges(s,r,n){this[T.PROPAGATE]&&Ge(this,this[T.PROPAGATE],s,r,n),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,s,r,n)}_runEffectsForTemplate(s,r,n,a){const l=(c,u)=>{Ge(this,s.propertyEffects,c,n,u,s.nodeList);for(let h=s.firstChild;h;h=h.nextSibling)this._runEffectsForTemplate(h,c,n,u)};s.runEffects?s.runEffects(l,r,a):l(r,a)}linkPaths(s,r){s=qe(s),r=qe(r),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[s]=r}unlinkPaths(s){s=qe(s),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[s]}notifySplices(s,r){let n={path:""},a=te(this,s,n);Os(this,a,n.path,r)}get(s,r){return te(r||this,s)}set(s,r,n){n?uo(n,s,r):(!this[T.READ_ONLY]||!this[T.READ_ONLY][s])&&this._setPendingPropertyOrPath(s,r,!0)&&this._invalidateProperties()}push(s,...r){let n={path:""},a=te(this,s,n),l=a.length,c=a.push(...r);return r.length&&Ye(this,a,n.path,l,r.length,[]),c}pop(s){let r={path:""},n=te(this,s,r),a=!!n.length,l=n.pop();return a&&Ye(this,n,r.path,n.length,0,[l]),l}splice(s,r,n,...a){let l={path:""},c=te(this,s,l);r<0?r=c.length-Math.floor(-r):r&&(r=Math.floor(r));let u;return arguments.length===2?u=c.splice(r):u=c.splice(r,n,...a),(a.length||u.length)&&Ye(this,c,l.path,r,a.length,u),u}shift(s){let r={path:""},n=te(this,s,r),a=!!n.length,l=n.shift();return a&&Ye(this,n,r.path,0,0,[l]),l}unshift(s,...r){let n={path:""},a=te(this,s,n),l=a.unshift(...r);return r.length&&Ye(this,a,n.path,0,r.length,[]),l}notifyPath(s,r){let n;if(arguments.length==1){let a={path:""};r=te(this,s,a),n=a.path}else Array.isArray(s)?n=qe(s):n=s;this._setPendingPropertyOrPath(n,r,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(s,r){this._addPropertyEffect(s,T.READ_ONLY),r&&(this["_set"+ka(s)]=function(n){this._setProperty(s,n)})}_createPropertyObserver(s,r,n){let a={property:s,method:r,dynamicFn:!!n};this._addPropertyEffect(s,T.OBSERVE,{fn:fo,info:a,trigger:{name:s}}),n&&this._addPropertyEffect(r,T.OBSERVE,{fn:fo,info:a,trigger:{name:r}})}_createMethodObserver(s,r){let n=Ht(s);if(!n)throw new Error("Malformed observer expression '"+s+"'");_o(this,n,T.OBSERVE,si,null,r)}_createNotifyingProperty(s){this._addPropertyEffect(s,T.NOTIFY,{fn:ea,info:{eventName:Pt(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,T.REFLECT,{fn:ia,info:{attrName:r}})}_createComputedProperty(s,r,n){let a=Ht(r);if(!a)throw new Error("Malformed computed expression '"+r+"'");const l=_o(this,a,T.COMPUTE,ks,s,n);$t(this,Ds)[s]=l}_marshalArgs(s,r,n){const a=this.__data,l=[];for(let c=0,u=s.length;c<u;c++){let{name:h,structured:f,wildcard:p,value:b,literal:M}=s[c];if(!M)if(p){const O=ot(h,r),N=vo(a,n,O?r:h);b={path:O?r:h,value:N,base:O?te(a,h):N}}else b=f?vo(a,n,h):a[h];if(ti&&!this._overrideLegacyUndefined&&b===void 0&&s.length>1)return nt;l[c]=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,c=l.lastChild;n.parent=l,l.lastChild=n,n.previousSibling=c,c?c.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),Ue.push(this);let n=super._stampTemplate(s,r);if(Ue.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,pa(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 c=r.childNodes;for(let u=0;u<c.length;u++){let h=c[u];X(X(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=yo(l)||" ",Rt(this,r,n,"text","textContent",l),a=!0)}return a}static _parseTemplateNodeAttribute(s,r,n,a,l){let c=this._parseBindings(l,r);if(c){let u=a,h="property";Xn.test(a)?h="attribute":a[a.length-1]=="$"&&(a=a.slice(0,-1),h="attribute");let f=yo(c);return f&&h=="attribute"&&(a=="class"&&s.hasAttribute("class")&&(f+=" "+s.getAttribute(a)),s.setAttribute(a,f)),h=="attribute"&&u=="disable-upgrade$"&&s.setAttribute(a,""),s.localName==="input"&&u==="value"&&s.setAttribute(u,""),s.removeAttribute(u),h==="property"&&(a=vs(a)),Rt(this,r,n,h,a,c,f),!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,c=n.templateInfo,u=l.localName==="dom-if",h=l.localName==="dom-repeat";so&&(u||h)&&(l.removeChild(s),n=n.parentInfo,n.templateInfo=c,n.noted=!0,a=!1);let f=c.hostProps;if(vn&&u)f&&(r.hostProps=Object.assign(r.hostProps||{},f),so||(n.parentInfo.noted=!0));else{let p="{";for(let b in f){let M=[{mode:p,source:b,dependencies:[b],hostProp:!0}];Rt(this,r,n,"property","_host_"+b,M)}}return a}static _parseBindings(s,r){let n=[],a=0,l;for(;(l=bo.exec(s))!==null;){l.index>a&&n.push({literal:s.slice(a,l.index)});let c=l[1][0],u=!!l[2],h=l[3].trim(),f=!1,p="",b=-1;c=="{"&&(b=h.indexOf("::"))>0&&(p=h.substring(b+2),h=h.substring(0,b),f=!0);let M=Ht(h),O=[];if(M){let{args:N,methodName:I}=M;for(let j=0;j<N.length;j++){let L=N[j];L.literal||O.push(L)}let B=r.dynamicFns;(B&&B[I]||M.static)&&(O.push(I),M.dynamicFn=!0)}else O.push(h);n.push({source:h,mode:c,negate:u,customEvent:f,signature:M,dependencies:O,event:p}),a=bo.lastIndex}if(a&&a<s.length){let c=s.substring(a);c&&n.push({literal:c})}return n.length?n:null}static _evaluateBinding(s,r,n,a,l,c){let u;return r.signature?u=si(s,n,a,l,r.signature):n!=r.source?u=te(s,r.source):c&&ii(n)?u=te(s,n):u=s.__data[n],r.negate&&(u=!u),u}}return e}),Ue=[];/**
2037
2037
  @license
2038
2038
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
2039
2039
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -2059,7 +2059,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2059
2059
  * be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
2060
2060
  * Google as part of the polymer project is also subject to an additional IP
2061
2061
  * rights grant found at http://polymer.github.io/PATENTS.txt
2062
- */const Oa="3.5.2",xo=window.ShadyCSS&&window.ShadyCSS.cssBuild,Ia=W(o=>{const t=Ma(Ti(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(!xo){const f=d.content.querySelectorAll("style"),p=_s(d),b=Pn(u),M=d.content.firstElementChild;for(let N=0;N<b.length;N++){let I=b[N];I.textContent=l._processStyleText(I.textContent,h),d.content.insertBefore(I,M)}let O=0;for(let N=0;N<p.length;N++){let I=p[N],B=f[O];B!==I?(I=I.cloneNode(!0),B.parentNode.insertBefore(I,B)):O++,I.textContent=l._processStyleText(I.textContent,h)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(d,u),xn&&xo&&mn){const f=d.content.querySelectorAll("style");if(f){let p="";Array.from(f).forEach(b=>{p+=b.textContent,b.parentNode.removeChild(b)}),l._styleSheet=new CSSStyleSheet,l._styleSheet.replaceSync(p)}}}function n(l){let d=null;if(l&&(!wt||gn)&&(d=it.import(l,"template"),wt&&!d))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);return d}class a extends t{static get polymerElementVersion(){return Oa}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):hs||(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 f=0;f<d.length;f++)h._createMethodObserver(d[f],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=Di(d.url);else{const u=it.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=_n,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 f=typeof h.value=="function"?h.value.call(this):h.value;this._hasAccessor(u)?this._setPendingProperty(u,f,!0):this[u]=f}}}_canApplyPropertyDefault(d){return!this.hasOwnProperty(d)}static _processStyleText(d,u){return Ci(d,u)}static _finalizeTemplate(d){const u=this.prototype._template;if(u&&!u.__polymerFinalized){u.__polymerFinalized=!0;const h=this.importPath,f=h?Qe(h):"";r(this,u,d,f),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=X(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])),bn&&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=Qe(this.importPath)),Qe(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 ps&&!(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});/**
2062
+ */const Oa="3.5.2",xo=window.ShadyCSS&&window.ShadyCSS.cssBuild,Ia=W(o=>{const t=Ma(Ti(o));function e(l){if(!l.hasOwnProperty(JSCompiler_renameProperty("__propertyDefaults",l))){l.__propertyDefaults=null;let c=l._properties;for(let u in c){let h=c[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,c,u,h){u.computed&&(u.readOnly=!0),u.computed&&(l._hasReadOnlyEffect(c)?console.warn(`Cannot redefine computed property '${c}'.`):l._createComputedProperty(c,u.computed,h)),u.readOnly&&!l._hasReadOnlyEffect(c)?l._createReadOnlyProperty(c,!u.computed):u.readOnly===!1&&l._hasReadOnlyEffect(c)&&console.warn(`Cannot make readOnly property '${c}' non-readOnly.`),u.reflectToAttribute&&!l._hasReflectEffect(c)?l._createReflectedProperty(c):u.reflectToAttribute===!1&&l._hasReflectEffect(c)&&console.warn(`Cannot make reflected property '${c}' non-reflected.`),u.notify&&!l._hasNotifyEffect(c)?l._createNotifyingProperty(c):u.notify===!1&&l._hasNotifyEffect(c)&&console.warn(`Cannot make notify property '${c}' non-notify.`),u.observer&&l._createPropertyObserver(c,u.observer,h[u.observer]),l._addPropertyToAttributeMap(c)}function r(l,c,u,h){if(!xo){const f=c.content.querySelectorAll("style"),p=_s(c),b=Pn(u),M=c.content.firstElementChild;for(let N=0;N<b.length;N++){let I=b[N];I.textContent=l._processStyleText(I.textContent,h),c.content.insertBefore(I,M)}let O=0;for(let N=0;N<p.length;N++){let I=p[N],B=f[O];B!==I?(I=I.cloneNode(!0),B.parentNode.insertBefore(I,B)):O++,I.textContent=l._processStyleText(I.textContent,h)}}if(window.ShadyCSS&&window.ShadyCSS.prepareTemplate(c,u),xn&&xo&&mn){const f=c.content.querySelectorAll("style");if(f){let p="";Array.from(f).forEach(b=>{p+=b.textContent,b.parentNode.removeChild(b)}),l._styleSheet=new CSSStyleSheet,l._styleSheet.replaceSync(p)}}}function n(l){let c=null;if(l&&(!wt||gn)&&(c=it.import(l,"template"),wt&&!c))throw new Error(`strictTemplatePolicy: expecting dom-module or null template for ${l}`);return c}class a extends t{static get polymerElementVersion(){return Oa}static _finalizeClass(){t._finalizeClass.call(this);const c=i(this);c&&this.createObservers(c,this._properties),this._prepareTemplate()}static _prepareTemplate(){let c=this.template;c&&(typeof c=="string"?(console.error("template getter must return HTMLTemplateElement"),c=null):hs||(c=c.cloneNode(!0))),this.prototype._template=c}static createProperties(c){for(let u in c)s(this.prototype,u,c[u],c)}static createObservers(c,u){const h=this.prototype;for(let f=0;f<c.length;f++)h._createMethodObserver(c[f],u)}static get template(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_template",this))){let c=this.prototype.hasOwnProperty(JSCompiler_renameProperty("_template",this.prototype))?this.prototype._template:void 0;typeof c=="function"&&(c=c()),this._template=c!==void 0?c:this.hasOwnProperty(JSCompiler_renameProperty("is",this))&&n(this.is)||Object.getPrototypeOf(this.prototype).constructor.template}return this._template}static set template(c){this._template=c}static get importPath(){if(!this.hasOwnProperty(JSCompiler_renameProperty("_importPath",this))){const c=this.importMeta;if(c)this._importPath=Di(c.url);else{const u=it.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=_n,this.importPath=this.constructor.importPath;let c=e(this.constructor);if(c)for(let u in c){let h=c[u];if(this._canApplyPropertyDefault(u)){let f=typeof h.value=="function"?h.value.call(this):h.value;this._hasAccessor(u)?this._setPendingProperty(u,f,!0):this[u]=f}}}_canApplyPropertyDefault(c){return!this.hasOwnProperty(c)}static _processStyleText(c,u){return Ci(c,u)}static _finalizeTemplate(c){const u=this.prototype._template;if(u&&!u.__polymerFinalized){u.__polymerFinalized=!0;const h=this.importPath,f=h?Qe(h):"";r(this,u,c,f),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(c){const u=X(this);if(u.attachShadow)return c?(u.shadowRoot||(u.attachShadow({mode:"open",shadyUpgradeFragment:c}),u.shadowRoot.appendChild(c),this.constructor._styleSheet&&(u.shadowRoot.adoptedStyleSheets=[this.constructor._styleSheet])),bn&&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(c){window.ShadyCSS&&window.ShadyCSS.styleSubtree(this,c)}resolveUrl(c,u){return!u&&this.importPath&&(u=Qe(this.importPath)),Qe(c,u)}static _parseTemplateContent(c,u,h){return u.dynamicFns=u.dynamicFns||this._properties,t._parseTemplateContent.call(this,c,u,h)}static _addTemplatePropertyEffect(c,u,h){return ps&&!(u in this._properties)&&!(h.info.part.signature&&h.info.part.signature.static)&&!h.info.part.hostProp&&!c.nestedTemplate&&console.warn(`Property '${u}' used in template but not declared in 'properties'; attribute will not be observed.`),t._addTemplatePropertyEffect.call(this,c,u,h)}}return a});/**
2063
2063
  @license
2064
2064
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
2065
2065
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -2235,15 +2235,15 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
2235
2235
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
2236
2236
  Code distributed by Google as part of the polymer project is also
2237
2237
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2238
- */let di=!1,qa=[],$s=[];function Ga(){di=!0,requestAnimationFrame(function(){di=!1,Ka(qa),setTimeout(function(){Xa($s)})})}function Ka(o){for(;o.length;)Rs(o.shift())}function Xa(o){for(let t=0,e=o.length;t<e;t++)Rs(o.shift())}function Rs(o){const t=o[0],e=o[1],i=o[2];try{e.apply(t,i)}catch(s){setTimeout(()=>{throw s})}}function Hs(o,t,e){di||Ga(),$s.push([o,t,e])}/**
2238
+ */let ci=!1,qa=[],$s=[];function Ga(){ci=!0,requestAnimationFrame(function(){ci=!1,Ka(qa),setTimeout(function(){Xa($s)})})}function Ka(o){for(;o.length;)Rs(o.shift())}function Xa(o){for(let t=0,e=o.length;t<e;t++)Rs(o.shift())}function Rs(o){const t=o[0],e=o[1],i=o[2];try{e.apply(t,i)}catch(s){setTimeout(()=>{throw s})}}function Hs(o,t,e){ci||Ga(),$s.push([o,t,e])}/**
2239
2239
  * @license
2240
2240
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
2241
2241
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2242
- */const Tt=o=>o.test(navigator.userAgent),ci=o=>o.test(navigator.platform),Ja=o=>o.test(navigator.vendor);Tt(/Android/u);Tt(/Chrome/u)&&Ja(/Google Inc/u);Tt(/Firefox/u);const Qa=ci(/^iPad/u)||ci(/^Mac/u)&&navigator.maxTouchPoints>1,Za=ci(/^iPhone/u),Bs=Za||Qa;Tt(/^((?!chrome|android).)*safari/iu);const el=(()=>{try{return document.createEvent("TouchEvent"),!0}catch(o){return!1}})();/**
2242
+ */const Tt=o=>o.test(navigator.userAgent),di=o=>o.test(navigator.platform),Ja=o=>o.test(navigator.vendor);Tt(/Android/u);Tt(/Chrome/u)&&Ja(/Google Inc/u);Tt(/Firefox/u);const Qa=di(/^iPad/u)||di(/^Mac/u)&&navigator.maxTouchPoints>1,Za=di(/^iPhone/u),Bs=Za||Qa;Tt(/^((?!chrome|android).)*safari/iu);const el=(()=>{try{return document.createEvent("TouchEvent"),!0}catch(o){return!1}})();/**
2243
2243
  * @license
2244
2244
  * Copyright (c) 2017 Anton Korzunov
2245
2245
  * SPDX-License-Identifier: MIT
2246
- */let Me=new WeakMap,pt=new WeakMap,ft={},Bt=0;const Eo=o=>o&&o.nodeType===Node.ELEMENT_NODE,Vt=(...o)=>{console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`)},tl=(o,t)=>Eo(o)?t.map(e=>{if(!Eo(e))return Vt(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 Vt(e,"is not contained inside",o),null}).filter(e=>!!e):(Vt(o,"is not a valid element"),[]),il=(o,t,e,i)=>{const s=tl(t,Array.isArray(o)?o:[o]);ft[e]||(ft[e]=new WeakMap);const r=ft[e],n=[],a=new Set,l=new Set(s),d=h=>{if(!h||a.has(h))return;a.add(h);const f=h.assignedSlot;f&&d(f),d(h.parentNode||h.host)};s.forEach(d);const u=h=>{if(!h||l.has(h))return;const f=h.shadowRoot;(f?[...h.children,...f.children]:[...h.children]).forEach(b=>{if(!["template","script","style"].includes(b.localName))if(a.has(b))u(b);else{const M=b.getAttribute(i),O=M!==null&&M!=="false",N=(Me.get(b)||0)+1,I=(r.get(b)||0)+1;Me.set(b,N),r.set(b,I),n.push(b),N===1&&O&&pt.set(b,!0),I===1&&b.setAttribute(e,"true"),O||b.setAttribute(i,"true")}})};return u(t),a.clear(),Bt+=1,()=>{n.forEach(h=>{const f=Me.get(h)-1,p=r.get(h)-1;Me.set(h,f),r.set(h,p),f||(pt.has(h)?pt.delete(h):h.removeAttribute(i)),p||h.removeAttribute(e)}),Bt-=1,Bt||(Me=new WeakMap,Me=new WeakMap,pt=new WeakMap,ft={})}},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]"))),il(i,t,e,"aria-hidden")};/**
2246
+ */let Me=new WeakMap,pt=new WeakMap,ft={},Bt=0;const Eo=o=>o&&o.nodeType===Node.ELEMENT_NODE,Vt=(...o)=>{console.error(`Error: ${o.join(" ")}. Skip setting aria-hidden.`)},tl=(o,t)=>Eo(o)?t.map(e=>{if(!Eo(e))return Vt(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 Vt(e,"is not contained inside",o),null}).filter(e=>!!e):(Vt(o,"is not a valid element"),[]),il=(o,t,e,i)=>{const s=tl(t,Array.isArray(o)?o:[o]);ft[e]||(ft[e]=new WeakMap);const r=ft[e],n=[],a=new Set,l=new Set(s),c=h=>{if(!h||a.has(h))return;a.add(h);const f=h.assignedSlot;f&&c(f),c(h.parentNode||h.host)};s.forEach(c);const u=h=>{if(!h||l.has(h))return;const f=h.shadowRoot;(f?[...h.children,...f.children]:[...h.children]).forEach(b=>{if(!["template","script","style"].includes(b.localName))if(a.has(b))u(b);else{const M=b.getAttribute(i),O=M!==null&&M!=="false",N=(Me.get(b)||0)+1,I=(r.get(b)||0)+1;Me.set(b,N),r.set(b,I),n.push(b),N===1&&O&&pt.set(b,!0),I===1&&b.setAttribute(e,"true"),O||b.setAttribute(i,"true")}})};return u(t),a.clear(),Bt+=1,()=>{n.forEach(h=>{const f=Me.get(h)-1,p=r.get(h)-1;Me.set(h,f),r.set(h,p),f||(pt.has(h)?pt.delete(h):h.removeAttribute(i)),p||h.removeAttribute(e)}),Bt-=1,Bt||(Me=new WeakMap,Me=new WeakMap,pt=new WeakMap,ft={})}},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]"))),il(i,t,e,"aria-hidden")};/**
2247
2247
  * @license
2248
2248
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
2249
2249
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -2271,23 +2271,23 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2271
2271
  * @license
2272
2272
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
2273
2273
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2274
- */const dl=o=>class extends nl(ll(o)){static get properties(){return{opened:{type:Boolean,notify:!0,observer:"_openedChanged",reflectToAttribute:!0,sync:!0},owner:{type:Object,sync:!0},model:{type:Object,sync:!0},renderer:{type:Object,sync:!0},modeless:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"_modelessChanged",sync:!0},hidden:{type:Boolean,reflectToAttribute:!0,observer:"_hiddenChanged",sync:!0},withBackdrop:{type:Boolean,value:!1,reflectToAttribute:!0,sync:!0}}}static get observers(){return["_rendererOrDataChanged(renderer, owner, model, opened)"]}constructor(){super(),this._boundMouseDownListener=this._mouseDownListener.bind(this),this._boundMouseUpListener=this._mouseUpListener.bind(this),this._boundOutsideClickListener=this._outsideClickListener.bind(this),this._boundKeydownListener=this._keydownListener.bind(this),Bs&&(this._boundIosResizeListener=()=>this._detectIosNavbar())}ready(){super.ready(),this.addEventListener("click",()=>{}),this.$.backdrop.addEventListener("click",()=>{}),this.addEventListener("mouseup",()=>{document.activeElement===document.body&&this.$.overlay.getAttribute("tabindex")==="0"&&this.$.overlay.focus()})}connectedCallback(){super.connectedCallback(),this._boundIosResizeListener&&(this._detectIosNavbar(),window.addEventListener("resize",this._boundIosResizeListener))}disconnectedCallback(){super.disconnectedCallback(),this._boundIosResizeListener&&window.removeEventListener("resize",this._boundIosResizeListener)}requestContentUpdate(){this.renderer&&this.renderer.call(this.owner,this,this.owner,this.model)}close(e){const i=new CustomEvent("vaadin-overlay-close",{bubbles:!0,cancelable:!0,detail:{sourceEvent:e}});this.dispatchEvent(i),i.defaultPrevented||(this.opened=!1)}_detectIosNavbar(){if(!this.opened)return;const e=window.innerHeight,s=window.innerWidth>e,r=document.documentElement.clientHeight;s&&r>e?this.style.setProperty("--vaadin-overlay-viewport-bottom",`${r-e}px`):this.style.setProperty("--vaadin-overlay-viewport-bottom","0")}_addGlobalListeners(){document.addEventListener("mousedown",this._boundMouseDownListener),document.addEventListener("mouseup",this._boundMouseUpListener),document.documentElement.addEventListener("click",this._boundOutsideClickListener,!0)}_removeGlobalListeners(){document.removeEventListener("mousedown",this._boundMouseDownListener),document.removeEventListener("mouseup",this._boundMouseUpListener),document.documentElement.removeEventListener("click",this._boundOutsideClickListener,!0)}_rendererOrDataChanged(e,i,s,r){const n=this._oldOwner!==i||this._oldModel!==s;this._oldModel=s,this._oldOwner=i;const a=this._oldRenderer!==e,l=this._oldRenderer!==void 0;this._oldRenderer=e;const d=this._oldOpened!==r;this._oldOpened=r,a&&l&&(this.innerHTML="",delete this._$litPart$),r&&e&&(a||d||n)&&this.requestContentUpdate()}_modelessChanged(e){e?(this._removeGlobalListeners(),this._exitModalState()):this.opened&&(this._addGlobalListeners(),this._enterModalState())}_openedChanged(e,i){e?(this._saveFocus(),this._animatedOpening(),Hs(this,()=>{this._trapFocus();const s=new CustomEvent("vaadin-overlay-open",{bubbles:!0});this.dispatchEvent(s)}),document.addEventListener("keydown",this._boundKeydownListener),this.modeless||this._addGlobalListeners()):i&&(this._resetFocus(),this._animatedClosing(),document.removeEventListener("keydown",this._boundKeydownListener),this.modeless||this._removeGlobalListeners())}_hiddenChanged(e){e&&this.hasAttribute("closing")&&this._flushAnimation("closing")}_shouldAnimate(){const e=getComputedStyle(this),i=e.getPropertyValue("animation-name");return!(e.getPropertyValue("display")==="none")&&i&&i!=="none"}_enqueueAnimation(e,i){const s=`__${e}Handler`,r=n=>{n&&n.target!==this||(i(),this.removeEventListener("animationend",r),delete this[s])};this[s]=r,this.addEventListener("animationend",r)}_flushAnimation(e){const i=`__${e}Handler`;typeof this[i]=="function"&&this[i]()}_animatedOpening(){this.parentNode===document.body&&this.hasAttribute("closing")&&this._flushAnimation("closing"),this._attachOverlay(),this.modeless||this._enterModalState(),this.setAttribute("opening",""),this._shouldAnimate()?this._enqueueAnimation("opening",()=>{this._finishOpening()}):this._finishOpening()}_attachOverlay(){this._placeholder=document.createComment("vaadin-overlay-placeholder"),this.parentNode.insertBefore(this._placeholder,this),document.body.appendChild(this),this.bringToFront()}_finishOpening(){this.removeAttribute("opening")}_finishClosing(){this._detachOverlay(),this.$.overlay.style.removeProperty("pointer-events"),this.removeAttribute("closing"),this.dispatchEvent(new CustomEvent("vaadin-overlay-closed"))}_animatedClosing(){this.hasAttribute("opening")&&this._flushAnimation("opening"),this._placeholder&&(this._exitModalState(),this.setAttribute("closing",""),this.dispatchEvent(new CustomEvent("vaadin-overlay-closing")),this._shouldAnimate()?this._enqueueAnimation("closing",()=>{this._finishClosing()}):this._finishClosing())}_detachOverlay(){this._placeholder.parentNode.insertBefore(this,this._placeholder),this._placeholder.parentNode.removeChild(this._placeholder)}_mouseDownListener(e){this._mouseDownInside=e.composedPath().indexOf(this.$.overlay)>=0}_mouseUpListener(e){this._mouseUpInside=e.composedPath().indexOf(this.$.overlay)>=0}_shouldCloseOnOutsideClick(e){return this._last}_outsideClickListener(e){if(e.composedPath().includes(this.$.overlay)||this._mouseDownInside||this._mouseUpInside){this._mouseDownInside=!1,this._mouseUpInside=!1;return}if(!this._shouldCloseOnOutsideClick(e))return;const i=new CustomEvent("vaadin-overlay-outside-click",{bubbles:!0,cancelable:!0,detail:{sourceEvent:e}});this.dispatchEvent(i),this.opened&&!i.defaultPrevented&&this.close(e)}_keydownListener(e){if(this._last&&!(this.modeless&&!e.composedPath().includes(this.$.overlay))&&e.key==="Escape"){const i=new CustomEvent("vaadin-overlay-escape-press",{bubbles:!0,cancelable:!0,detail:{sourceEvent:e}});this.dispatchEvent(i),this.opened&&!i.defaultPrevented&&this.close(e)}}};/**
2274
+ */const cl=o=>class extends nl(ll(o)){static get properties(){return{opened:{type:Boolean,notify:!0,observer:"_openedChanged",reflectToAttribute:!0,sync:!0},owner:{type:Object,sync:!0},model:{type:Object,sync:!0},renderer:{type:Object,sync:!0},modeless:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"_modelessChanged",sync:!0},hidden:{type:Boolean,reflectToAttribute:!0,observer:"_hiddenChanged",sync:!0},withBackdrop:{type:Boolean,value:!1,reflectToAttribute:!0,sync:!0}}}static get observers(){return["_rendererOrDataChanged(renderer, owner, model, opened)"]}constructor(){super(),this._boundMouseDownListener=this._mouseDownListener.bind(this),this._boundMouseUpListener=this._mouseUpListener.bind(this),this._boundOutsideClickListener=this._outsideClickListener.bind(this),this._boundKeydownListener=this._keydownListener.bind(this),Bs&&(this._boundIosResizeListener=()=>this._detectIosNavbar())}ready(){super.ready(),this.addEventListener("click",()=>{}),this.$.backdrop.addEventListener("click",()=>{}),this.addEventListener("mouseup",()=>{document.activeElement===document.body&&this.$.overlay.getAttribute("tabindex")==="0"&&this.$.overlay.focus()})}connectedCallback(){super.connectedCallback(),this._boundIosResizeListener&&(this._detectIosNavbar(),window.addEventListener("resize",this._boundIosResizeListener))}disconnectedCallback(){super.disconnectedCallback(),this._boundIosResizeListener&&window.removeEventListener("resize",this._boundIosResizeListener)}requestContentUpdate(){this.renderer&&this.renderer.call(this.owner,this,this.owner,this.model)}close(e){const i=new CustomEvent("vaadin-overlay-close",{bubbles:!0,cancelable:!0,detail:{sourceEvent:e}});this.dispatchEvent(i),i.defaultPrevented||(this.opened=!1)}_detectIosNavbar(){if(!this.opened)return;const e=window.innerHeight,s=window.innerWidth>e,r=document.documentElement.clientHeight;s&&r>e?this.style.setProperty("--vaadin-overlay-viewport-bottom",`${r-e}px`):this.style.setProperty("--vaadin-overlay-viewport-bottom","0")}_addGlobalListeners(){document.addEventListener("mousedown",this._boundMouseDownListener),document.addEventListener("mouseup",this._boundMouseUpListener),document.documentElement.addEventListener("click",this._boundOutsideClickListener,!0)}_removeGlobalListeners(){document.removeEventListener("mousedown",this._boundMouseDownListener),document.removeEventListener("mouseup",this._boundMouseUpListener),document.documentElement.removeEventListener("click",this._boundOutsideClickListener,!0)}_rendererOrDataChanged(e,i,s,r){const n=this._oldOwner!==i||this._oldModel!==s;this._oldModel=s,this._oldOwner=i;const a=this._oldRenderer!==e,l=this._oldRenderer!==void 0;this._oldRenderer=e;const c=this._oldOpened!==r;this._oldOpened=r,a&&l&&(this.innerHTML="",delete this._$litPart$),r&&e&&(a||c||n)&&this.requestContentUpdate()}_modelessChanged(e){e?(this._removeGlobalListeners(),this._exitModalState()):this.opened&&(this._addGlobalListeners(),this._enterModalState())}_openedChanged(e,i){e?(this._saveFocus(),this._animatedOpening(),Hs(this,()=>{this._trapFocus();const s=new CustomEvent("vaadin-overlay-open",{bubbles:!0});this.dispatchEvent(s)}),document.addEventListener("keydown",this._boundKeydownListener),this.modeless||this._addGlobalListeners()):i&&(this._resetFocus(),this._animatedClosing(),document.removeEventListener("keydown",this._boundKeydownListener),this.modeless||this._removeGlobalListeners())}_hiddenChanged(e){e&&this.hasAttribute("closing")&&this._flushAnimation("closing")}_shouldAnimate(){const e=getComputedStyle(this),i=e.getPropertyValue("animation-name");return!(e.getPropertyValue("display")==="none")&&i&&i!=="none"}_enqueueAnimation(e,i){const s=`__${e}Handler`,r=n=>{n&&n.target!==this||(i(),this.removeEventListener("animationend",r),delete this[s])};this[s]=r,this.addEventListener("animationend",r)}_flushAnimation(e){const i=`__${e}Handler`;typeof this[i]=="function"&&this[i]()}_animatedOpening(){this.parentNode===document.body&&this.hasAttribute("closing")&&this._flushAnimation("closing"),this._attachOverlay(),this.modeless||this._enterModalState(),this.setAttribute("opening",""),this._shouldAnimate()?this._enqueueAnimation("opening",()=>{this._finishOpening()}):this._finishOpening()}_attachOverlay(){this._placeholder=document.createComment("vaadin-overlay-placeholder"),this.parentNode.insertBefore(this._placeholder,this),document.body.appendChild(this),this.bringToFront()}_finishOpening(){this.removeAttribute("opening")}_finishClosing(){this._detachOverlay(),this.$.overlay.style.removeProperty("pointer-events"),this.removeAttribute("closing"),this.dispatchEvent(new CustomEvent("vaadin-overlay-closed"))}_animatedClosing(){this.hasAttribute("opening")&&this._flushAnimation("opening"),this._placeholder&&(this._exitModalState(),this.setAttribute("closing",""),this.dispatchEvent(new CustomEvent("vaadin-overlay-closing")),this._shouldAnimate()?this._enqueueAnimation("closing",()=>{this._finishClosing()}):this._finishClosing())}_detachOverlay(){this._placeholder.parentNode.insertBefore(this,this._placeholder),this._placeholder.parentNode.removeChild(this._placeholder)}_mouseDownListener(e){this._mouseDownInside=e.composedPath().indexOf(this.$.overlay)>=0}_mouseUpListener(e){this._mouseUpInside=e.composedPath().indexOf(this.$.overlay)>=0}_shouldCloseOnOutsideClick(e){return this._last}_outsideClickListener(e){if(e.composedPath().includes(this.$.overlay)||this._mouseDownInside||this._mouseUpInside){this._mouseDownInside=!1,this._mouseUpInside=!1;return}if(!this._shouldCloseOnOutsideClick(e))return;const i=new CustomEvent("vaadin-overlay-outside-click",{bubbles:!0,cancelable:!0,detail:{sourceEvent:e}});this.dispatchEvent(i),this.opened&&!i.defaultPrevented&&this.close(e)}_keydownListener(e){if(this._last&&!(this.modeless&&!e.composedPath().includes(this.$.overlay))&&e.key==="Escape"){const i=new CustomEvent("vaadin-overlay-escape-press",{bubbles:!0,cancelable:!0,detail:{sourceEvent:e}});this.dispatchEvent(i),this.opened&&!i.defaultPrevented&&this.close(e)}}};/**
2275
2275
  * @license
2276
2276
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
2277
2277
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2278
- */function cl(o){const t=[];for(;o;){if(o.nodeType===Node.DOCUMENT_NODE){t.push(o);break}if(o.nodeType===Node.DOCUMENT_FRAGMENT_NODE){t.push(o),o=o.host;continue}if(o.assignedSlot){o=o.assignedSlot;continue}o=o.parentNode}return t}function Ii(o){return o?new Set(o.split(" ")):new Set}function Mt(o){return o?[...o].join(" "):""}function Ys(o,t,e){const i=Ii(o.getAttribute(t));i.add(e),o.setAttribute(t,Mt(i))}function ul(o,t,e){const i=Ii(o.getAttribute(t));if(i.delete(e),i.size===0){o.removeAttribute(t);return}o.setAttribute(t,Mt(i))}function hl(o){return o.nodeType===Node.TEXT_NODE&&o.textContent.trim()===""}/**
2278
+ */function dl(o){const t=[];for(;o;){if(o.nodeType===Node.DOCUMENT_NODE){t.push(o);break}if(o.nodeType===Node.DOCUMENT_FRAGMENT_NODE){t.push(o),o=o.host;continue}if(o.assignedSlot){o=o.assignedSlot;continue}o=o.parentNode}return t}function Ii(o){return o?new Set(o.split(" ")):new Set}function Mt(o){return o?[...o].join(" "):""}function Ys(o,t,e){const i=Ii(o.getAttribute(t));i.add(e),o.setAttribute(t,Mt(i))}function ul(o,t,e){const i=Ii(o.getAttribute(t));if(i.delete(e),i.size===0){o.removeAttribute(t);return}o.setAttribute(t,Mt(i))}function hl(o){return o.nodeType===Node.TEXT_NODE&&o.textContent.trim()===""}/**
2279
2279
  * @license
2280
2280
  * Copyright (c) 2024 Vaadin Ltd.
2281
2281
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2282
- */function pl(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 f=Math.floor(d),p=Math.floor(i.clientWidth-(l+u)),b=Math.floor(i.clientHeight-(d+h)),M=Math.floor(l),N={rootMargin:`${-f}px ${-p}px ${-b}px ${-M}px`,threshold:Math.max(0,Math.min(1,a))||1};let I=!0;function B(j){let L=j[0].intersectionRatio;if(L!==a){if(!I)return r();L===0&&(L=1e-7),r(!1,L)}I=!1}e=new IntersectionObserver(B,N),e.observe(o)}return r(!0),s}/**
2282
+ */function pl(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:c,width:u,height:h}=o.getBoundingClientRect();if(n||t(),!u||!h)return;const f=Math.floor(c),p=Math.floor(i.clientWidth-(l+u)),b=Math.floor(i.clientHeight-(c+h)),M=Math.floor(l),N={rootMargin:`${-f}px ${-p}px ${-b}px ${-M}px`,threshold:Math.max(0,Math.min(1,a))||1};let I=!0;function B(j){let L=j[0].intersectionRatio;if(L!==a){if(!I)return r();L===0&&(L=1e-7),r(!1,L)}I=!1}e=new IntersectionObserver(B,N),e.observe(o)}return r(!0),s}/**
2283
2283
  * @license
2284
2284
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
2285
2285
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2286
- */const Yt={start:"top",end:"bottom"},Ut={start:"left",end:"right"},So=new ResizeObserver(o=>{setTimeout(()=>{o.forEach(t=>{t.target.__overlay&&t.target.__overlay._updatePosition()})})}),fl=o=>class extends o{static get properties(){return{positionTarget:{type:Object,value:null,sync:!0},horizontalAlign:{type:String,value:"start",sync:!0},verticalAlign:{type:String,value:"top",sync:!0},noHorizontalOverlap:{type:Boolean,value:!1,sync:!0},noVerticalOverlap:{type:Boolean,value:!1,sync:!0},requiredVerticalSpace:{type:Number,value:0,sync:!0}}}static get observers(){return["__positionSettingsChanged(horizontalAlign, verticalAlign, noHorizontalOverlap, noVerticalOverlap, requiredVerticalSpace)","__overlayOpenedChanged(opened, positionTarget)"]}constructor(){super(),this.__onScroll=this.__onScroll.bind(this),this._updatePosition=this._updatePosition.bind(this)}connectedCallback(){super.connectedCallback(),this.opened&&this.__addUpdatePositionEventListeners()}disconnectedCallback(){super.disconnectedCallback(),this.__removeUpdatePositionEventListeners()}__addUpdatePositionEventListeners(){window.visualViewport.addEventListener("resize",this._updatePosition),window.visualViewport.addEventListener("scroll",this.__onScroll,!0),this.__positionTargetAncestorRootNodes=cl(this.positionTarget),this.__positionTargetAncestorRootNodes.forEach(e=>{e.addEventListener("scroll",this.__onScroll,!0)}),this.positionTarget&&(this.__observePositionTargetMove=pl(this.positionTarget,()=>{this._updatePosition()}))}__removeUpdatePositionEventListeners(){window.visualViewport.removeEventListener("resize",this._updatePosition),window.visualViewport.removeEventListener("scroll",this.__onScroll,!0),this.__positionTargetAncestorRootNodes&&(this.__positionTargetAncestorRootNodes.forEach(e=>{e.removeEventListener("scroll",this.__onScroll,!0)}),this.__positionTargetAncestorRootNodes=null),this.__observePositionTargetMove&&(this.__observePositionTargetMove(),this.__observePositionTargetMove=null)}__overlayOpenedChanged(e,i){if(this.__removeUpdatePositionEventListeners(),i&&(i.__overlay=null,So.unobserve(i),e&&(this.__addUpdatePositionEventListeners(),i.__overlay=this,So.observe(i))),e){const s=getComputedStyle(this);this.__margins||(this.__margins={},["top","bottom","left","right"].forEach(r=>{this.__margins[r]=parseInt(s[r],10)})),this._updatePosition(),requestAnimationFrame(()=>this._updatePosition())}}__positionSettingsChanged(){this._updatePosition()}__onScroll(e){e.target instanceof Node&&this.contains(e.target)||this._updatePosition()}_updatePosition(){if(!this.positionTarget||!this.opened||!this.__margins)return;const e=this.positionTarget.getBoundingClientRect();if(e.width===0&&e.height===0&&this.opened){this.opened=!1;return}const i=this.__shouldAlignStartVertically(e);this.style.justifyContent=i?"flex-start":"flex-end";const s=this.__isRTL,r=this.__shouldAlignStartHorizontally(e,s),n=!s&&r||s&&!r;this.style.alignItems=n?"flex-start":"flex-end";const a=this.getBoundingClientRect(),l=this.__calculatePositionInOneDimension(e,a,this.noVerticalOverlap,Yt,this,i),d=this.__calculatePositionInOneDimension(e,a,this.noHorizontalOverlap,Ut,this,r);Object.assign(this.style,l,d),this.toggleAttribute("bottom-aligned",!i),this.toggleAttribute("top-aligned",i),this.toggleAttribute("end-aligned",!n),this.toggleAttribute("start-aligned",n)}__shouldAlignStartHorizontally(e,i){const s=Math.max(this.__oldContentWidth||0,this.$.overlay.offsetWidth);this.__oldContentWidth=this.$.overlay.offsetWidth;const r=Math.min(window.innerWidth,document.documentElement.clientWidth),n=!i&&this.horizontalAlign==="start"||i&&this.horizontalAlign==="end";return this.__shouldAlignStart(e,s,r,this.__margins,n,this.noHorizontalOverlap,Ut)}__shouldAlignStartVertically(e){const i=this.requiredVerticalSpace||Math.max(this.__oldContentHeight||0,this.$.overlay.offsetHeight);this.__oldContentHeight=this.$.overlay.offsetHeight;const s=Math.min(window.innerHeight,document.documentElement.clientHeight),r=this.verticalAlign==="top";return this.__shouldAlignStart(e,i,s,this.__margins,r,this.noVerticalOverlap,Yt)}__shouldAlignStart(e,i,s,r,n,a,l){const d=s-e[a?l.end:l.start]-r[l.end],u=e[a?l.start:l.end]-r[l.start],h=n?d:u,p=h>(n?u:d)||h>i;return n===p}__adjustBottomProperty(e,i,s){let r;if(e===i.end){if(i.end===Yt.end){const n=Math.min(window.innerHeight,document.documentElement.clientHeight);if(s>n&&this.__oldViewportHeight){const a=this.__oldViewportHeight-n;r=s-a}this.__oldViewportHeight=n}if(i.end===Ut.end){const n=Math.min(window.innerWidth,document.documentElement.clientWidth);if(s>n&&this.__oldViewportWidth){const a=this.__oldViewportWidth-n;r=s-a}this.__oldViewportWidth=n}}return r}__calculatePositionInOneDimension(e,i,s,r,n,a){const l=a?r.start:r.end,d=a?r.end:r.start,u=parseFloat(n.style[l]||getComputedStyle(n)[l]),h=this.__adjustBottomProperty(l,r,u),f=i[a?r.start:r.end]-e[s===a?r.end:r.start],p=h?`${h}px`:`${u+f*(a?-1:1)}px`;return{[l]:p,[d]:""}}};/**
2286
+ */const Yt={start:"top",end:"bottom"},Ut={start:"left",end:"right"},So=new ResizeObserver(o=>{setTimeout(()=>{o.forEach(t=>{t.target.__overlay&&t.target.__overlay._updatePosition()})})}),fl=o=>class extends o{static get properties(){return{positionTarget:{type:Object,value:null,sync:!0},horizontalAlign:{type:String,value:"start",sync:!0},verticalAlign:{type:String,value:"top",sync:!0},noHorizontalOverlap:{type:Boolean,value:!1,sync:!0},noVerticalOverlap:{type:Boolean,value:!1,sync:!0},requiredVerticalSpace:{type:Number,value:0,sync:!0}}}static get observers(){return["__positionSettingsChanged(horizontalAlign, verticalAlign, noHorizontalOverlap, noVerticalOverlap, requiredVerticalSpace)","__overlayOpenedChanged(opened, positionTarget)"]}constructor(){super(),this.__onScroll=this.__onScroll.bind(this),this._updatePosition=this._updatePosition.bind(this)}connectedCallback(){super.connectedCallback(),this.opened&&this.__addUpdatePositionEventListeners()}disconnectedCallback(){super.disconnectedCallback(),this.__removeUpdatePositionEventListeners()}__addUpdatePositionEventListeners(){window.visualViewport.addEventListener("resize",this._updatePosition),window.visualViewport.addEventListener("scroll",this.__onScroll,!0),this.__positionTargetAncestorRootNodes=dl(this.positionTarget),this.__positionTargetAncestorRootNodes.forEach(e=>{e.addEventListener("scroll",this.__onScroll,!0)}),this.positionTarget&&(this.__observePositionTargetMove=pl(this.positionTarget,()=>{this._updatePosition()}))}__removeUpdatePositionEventListeners(){window.visualViewport.removeEventListener("resize",this._updatePosition),window.visualViewport.removeEventListener("scroll",this.__onScroll,!0),this.__positionTargetAncestorRootNodes&&(this.__positionTargetAncestorRootNodes.forEach(e=>{e.removeEventListener("scroll",this.__onScroll,!0)}),this.__positionTargetAncestorRootNodes=null),this.__observePositionTargetMove&&(this.__observePositionTargetMove(),this.__observePositionTargetMove=null)}__overlayOpenedChanged(e,i){if(this.__removeUpdatePositionEventListeners(),i&&(i.__overlay=null,So.unobserve(i),e&&(this.__addUpdatePositionEventListeners(),i.__overlay=this,So.observe(i))),e){const s=getComputedStyle(this);this.__margins||(this.__margins={},["top","bottom","left","right"].forEach(r=>{this.__margins[r]=parseInt(s[r],10)})),this._updatePosition(),requestAnimationFrame(()=>this._updatePosition())}}__positionSettingsChanged(){this._updatePosition()}__onScroll(e){e.target instanceof Node&&this.contains(e.target)||this._updatePosition()}_updatePosition(){if(!this.positionTarget||!this.opened||!this.__margins)return;const e=this.positionTarget.getBoundingClientRect();if(e.width===0&&e.height===0&&this.opened){this.opened=!1;return}const i=this.__shouldAlignStartVertically(e);this.style.justifyContent=i?"flex-start":"flex-end";const s=this.__isRTL,r=this.__shouldAlignStartHorizontally(e,s),n=!s&&r||s&&!r;this.style.alignItems=n?"flex-start":"flex-end";const a=this.getBoundingClientRect(),l=this.__calculatePositionInOneDimension(e,a,this.noVerticalOverlap,Yt,this,i),c=this.__calculatePositionInOneDimension(e,a,this.noHorizontalOverlap,Ut,this,r);Object.assign(this.style,l,c),this.toggleAttribute("bottom-aligned",!i),this.toggleAttribute("top-aligned",i),this.toggleAttribute("end-aligned",!n),this.toggleAttribute("start-aligned",n)}__shouldAlignStartHorizontally(e,i){const s=Math.max(this.__oldContentWidth||0,this.$.overlay.offsetWidth);this.__oldContentWidth=this.$.overlay.offsetWidth;const r=Math.min(window.innerWidth,document.documentElement.clientWidth),n=!i&&this.horizontalAlign==="start"||i&&this.horizontalAlign==="end";return this.__shouldAlignStart(e,s,r,this.__margins,n,this.noHorizontalOverlap,Ut)}__shouldAlignStartVertically(e){const i=this.requiredVerticalSpace||Math.max(this.__oldContentHeight||0,this.$.overlay.offsetHeight);this.__oldContentHeight=this.$.overlay.offsetHeight;const s=Math.min(window.innerHeight,document.documentElement.clientHeight),r=this.verticalAlign==="top";return this.__shouldAlignStart(e,i,s,this.__margins,r,this.noVerticalOverlap,Yt)}__shouldAlignStart(e,i,s,r,n,a,l){const c=s-e[a?l.end:l.start]-r[l.end],u=e[a?l.start:l.end]-r[l.start],h=n?c:u,p=h>(n?u:c)||h>i;return n===p}__adjustBottomProperty(e,i,s){let r;if(e===i.end){if(i.end===Yt.end){const n=Math.min(window.innerHeight,document.documentElement.clientHeight);if(s>n&&this.__oldViewportHeight){const a=this.__oldViewportHeight-n;r=s-a}this.__oldViewportHeight=n}if(i.end===Ut.end){const n=Math.min(window.innerWidth,document.documentElement.clientWidth);if(s>n&&this.__oldViewportWidth){const a=this.__oldViewportWidth-n;r=s-a}this.__oldViewportWidth=n}}return r}__calculatePositionInOneDimension(e,i,s,r,n,a){const l=a?r.start:r.end,c=a?r.end:r.start,u=parseFloat(n.style[l]||getComputedStyle(n)[l]),h=this.__adjustBottomProperty(l,r,u),f=i[a?r.start:r.end]-e[s===a?r.end:r.start],p=h?`${h}px`:`${u+f*(a?-1:1)}px`;return{[l]:p,[c]:""}}};/**
2287
2287
  * @license
2288
2288
  * Copyright (c) 2015 - 2024 Vaadin Ltd.
2289
2289
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2290
- */const ml=o=>class extends fl(dl(o)){_shouldCloseOnOutsideClick(e){return!e.composedPath().includes(this.positionTarget)}_mouseDownListener(e){super._mouseDownListener(e),this._shouldCloseOnOutsideClick(e)&&!Fs(e.composedPath()[0])&&e.preventDefault()}};/**
2290
+ */const ml=o=>class extends fl(cl(o)){_shouldCloseOnOutsideClick(e){return!e.composedPath().includes(this.positionTarget)}_mouseDownListener(e){super._mouseDownListener(e),this._shouldCloseOnOutsideClick(e)&&!Fs(e.composedPath()[0])&&e.preventDefault()}};/**
2291
2291
  * @license
2292
2292
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
2293
2293
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -2827,7 +2827,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2827
2827
  * @license
2828
2828
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
2829
2829
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2830
- */class Se extends EventTarget{static generateId(t,e="default"){return`${e}-${t.localName}-${Gs()}`}constructor(t,e,i,s={}){super();const{initializer:r,multiple:n,observe:a,useUniqueId:l,uniqueIdPrefix:d}=s;this.host=t,this.slotName=e,this.tagName=i,this.observe=typeof a=="boolean"?a:!0,this.multiple=typeof n=="boolean"?n:!1,this.slotInitializer=r,n&&(this.nodes=[]),l&&(this.defaultId=this.constructor.generateId(t,d||e))}hostConnected(){this.initialized||(this.multiple?this.initMultiple():this.initSingle(),this.observe&&this.observeSlot(),this.initialized=!0)}initSingle(){let t=this.getSlotChild();t?(this.node=t,this.initAddedNode(t)):(t=this.attachDefaultNode(),this.initNode(t))}initMultiple(){const t=this.getSlotChildren();if(t.length===0){const e=this.attachDefaultNode();e&&(this.nodes=[e],this.initNode(e))}else this.nodes=t,t.forEach(e=>{this.initAddedNode(e)})}attachDefaultNode(){const{host:t,slotName:e,tagName:i}=this;let s=this.defaultNode;return!s&&i&&(s=document.createElement(i),s instanceof Element&&(e!==""&&s.setAttribute("slot",e),this.defaultNode=s)),s&&(this.node=s,t.appendChild(s)),s}getSlotChildren(){const{slotName:t}=this;return Array.from(this.host.childNodes).filter(e=>e.nodeType===Node.ELEMENT_NODE&&e.slot===t||e.nodeType===Node.TEXT_NODE&&e.textContent.trim()&&t==="")}getSlotChild(){return this.getSlotChildren()[0]}initNode(t){const{slotInitializer:e}=this;e&&e(t,this.host)}initCustomNode(t){}teardownNode(t){}initAddedNode(t){t!==this.defaultNode&&(this.initCustomNode(t),this.initNode(t))}observeSlot(){const{slotName:t}=this,e=t===""?"slot:not([name])":`slot[name=${t}]`,i=this.host.shadowRoot.querySelector(e);this.__slotObserver=new Ml(i,({addedNodes:s,removedNodes:r})=>{const n=this.multiple?this.nodes:[this.node],a=s.filter(l=>!hl(l)&&!n.includes(l));r.length&&(this.nodes=n.filter(l=>!r.includes(l)),r.forEach(l=>{this.teardownNode(l)})),a&&a.length>0&&(this.multiple?(this.defaultNode&&this.defaultNode.remove(),this.nodes=[...n,...a].filter(l=>l!==this.defaultNode),a.forEach(l=>{this.initAddedNode(l)})):(this.node&&this.node.remove(),this.node=a[0],this.initAddedNode(this.node)))})}}/**
2830
+ */class Se extends EventTarget{static generateId(t,e="default"){return`${e}-${t.localName}-${Gs()}`}constructor(t,e,i,s={}){super();const{initializer:r,multiple:n,observe:a,useUniqueId:l,uniqueIdPrefix:c}=s;this.host=t,this.slotName=e,this.tagName=i,this.observe=typeof a=="boolean"?a:!0,this.multiple=typeof n=="boolean"?n:!1,this.slotInitializer=r,n&&(this.nodes=[]),l&&(this.defaultId=this.constructor.generateId(t,c||e))}hostConnected(){this.initialized||(this.multiple?this.initMultiple():this.initSingle(),this.observe&&this.observeSlot(),this.initialized=!0)}initSingle(){let t=this.getSlotChild();t?(this.node=t,this.initAddedNode(t)):(t=this.attachDefaultNode(),this.initNode(t))}initMultiple(){const t=this.getSlotChildren();if(t.length===0){const e=this.attachDefaultNode();e&&(this.nodes=[e],this.initNode(e))}else this.nodes=t,t.forEach(e=>{this.initAddedNode(e)})}attachDefaultNode(){const{host:t,slotName:e,tagName:i}=this;let s=this.defaultNode;return!s&&i&&(s=document.createElement(i),s instanceof Element&&(e!==""&&s.setAttribute("slot",e),this.defaultNode=s)),s&&(this.node=s,t.appendChild(s)),s}getSlotChildren(){const{slotName:t}=this;return Array.from(this.host.childNodes).filter(e=>e.nodeType===Node.ELEMENT_NODE&&e.slot===t||e.nodeType===Node.TEXT_NODE&&e.textContent.trim()&&t==="")}getSlotChild(){return this.getSlotChildren()[0]}initNode(t){const{slotInitializer:e}=this;e&&e(t,this.host)}initCustomNode(t){}teardownNode(t){}initAddedNode(t){t!==this.defaultNode&&(this.initCustomNode(t),this.initNode(t))}observeSlot(){const{slotName:t}=this,e=t===""?"slot:not([name])":`slot[name=${t}]`,i=this.host.shadowRoot.querySelector(e);this.__slotObserver=new Ml(i,({addedNodes:s,removedNodes:r})=>{const n=this.multiple?this.nodes:[this.node],a=s.filter(l=>!hl(l)&&!n.includes(l));r.length&&(this.nodes=n.filter(l=>!r.includes(l)),r.forEach(l=>{this.teardownNode(l)})),a&&a.length>0&&(this.multiple?(this.defaultNode&&this.defaultNode.remove(),this.nodes=[...n,...a].filter(l=>l!==this.defaultNode),a.forEach(l=>{this.initAddedNode(l)})):(this.node&&this.node.remove(),this.node=a[0],this.initAddedNode(this.node)))})}}/**
2831
2831
  * @license
2832
2832
  * Copyright (c) 2022 - 2024 Vaadin Ltd.
2833
2833
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -2916,7 +2916,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
2916
2916
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
2917
2917
  Code distributed by Google as part of the polymer project is also
2918
2918
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2919
- */const zl=o=>o,Xs=typeof document.head.style.touchAction=="string",mi="__polymerGestures",qt="__polymerGesturesHandled",_i="__polymerGesturesTouchAction",Po=25,ko=5,Fl=2,Ll=["mousedown","mousemove","mouseup","click"],$l=[0,1,4,2],Rl=function(){try{return new MouseEvent("test",{buttons:1}).buttons===1}catch(o){return!1}}();function Ni(o){return Ll.indexOf(o)>-1}let Hl=!1;(function(){try{const o=Object.defineProperty({},"passive",{get(){Hl=!0}});window.addEventListener("test",null,o),window.removeEventListener("test",null,o)}catch(o){}})();function Bl(o){Ni(o)}const Vl=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u),jl={button:!0,command:!0,fieldset:!0,input:!0,keygen:!0,optgroup:!0,option:!0,select:!0,textarea:!0};function Ce(o){const t=o.type;if(!Ni(t))return!1;if(t==="mousemove"){let i=o.buttons===void 0?1:o.buttons;return o instanceof window.MouseEvent&&!Rl&&(i=$l[o.which]||0),!!(i&1)}return(o.button===void 0?0:o.button)===0}function Yl(o){if(o.type==="click"){if(o.detail===0)return!0;const t=be(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 me={touch:{x:0,y:0,id:-1,scrollDecided:!1}};function Ul(o){let t="auto";const e=Qs(o);for(let i=0,s;i<e.length;i++)if(s=e[i],s[_i]){t=s[_i];break}return t}function Js(o,t,e){o.movefn=t,o.upfn=e,document.addEventListener("mousemove",t),document.addEventListener("mouseup",e)}function Fe(o){document.removeEventListener("mousemove",o.movefn),document.removeEventListener("mouseup",o.upfn),o.movefn=null,o.upfn=null}const Qs=window.ShadyDOM&&window.ShadyDOM.noPatch?window.ShadyDOM.composedPath:o=>o.composedPath&&o.composedPath()||[],zi={},Ae=[];function Wl(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 be(o){const t=Qs(o);return t.length>0?t[0]:o.target}function ql(o){const t=o.type,i=o.currentTarget[mi];if(!i)return;const s=i[t];if(!s)return;if(!o[qt]&&(o[qt]={},t.startsWith("touch"))){const n=o.changedTouches[0];if(t==="touchstart"&&o.touches.length===1&&(me.touch.id=n.identifier),me.touch.id!==n.identifier)return;Xs||(t==="touchstart"||t==="touchmove")&&Gl(o)}const r=o[qt];if(!r.skip){for(let n=0,a;n<Ae.length;n++)a=Ae[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<Ae.length;n++)a=Ae[n],s[a.name]&&!r[a.name]&&(r[a.name]=!0,a[t](o))}}function Gl(o){const t=o.changedTouches[0],e=o.type;if(e==="touchstart")me.touch.x=t.clientX,me.touch.y=t.clientY,me.touch.scrollDecided=!1;else if(e==="touchmove"){if(me.touch.scrollDecided)return;me.touch.scrollDecided=!0;const i=Ul(o);let s=!1;const r=Math.abs(me.touch.x-t.clientX),n=Math.abs(me.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():At("track")}}function ue(o,t,e){return zi[t]?(Kl(o,t,e),!0):!1}function Kl(o,t,e){const i=zi[t],s=i.deps,r=i.name;let n=o[mi];n||(o[mi]=n={});for(let a=0,l,d;a<s.length;a++)l=s[a],!(Vl&&Ni(l)&&l!=="click")&&(d=n[l],d||(n[l]=d={_count:0}),d._count===0&&o.addEventListener(l,ql,Bl(l)),d[r]=(d[r]||0)+1,d._count=(d._count||0)+1);o.addEventListener(t,e),i.touchAction&&Zs(o,i.touchAction)}function Fi(o){Ae.push(o),o.emits.forEach(t=>{zi[t]=o})}function Xl(o){for(let t=0,e;t<Ae.length;t++){e=Ae[t];for(let i=0,s;i<e.emits.length;i++)if(s=e.emits[i],s===o)return e}return null}function Zs(o,t){Xs&&o instanceof HTMLElement&&kl.run(()=>{o.style.touchAction=t}),o[_i]=t}function Li(o,t,e){const i=new Event(t,{bubbles:!0,cancelable:!0,composed:!0});if(i.detail=e,zl(o).dispatchEvent(i),i.defaultPrevented){const s=e.preventer||e.sourceEvent;s&&s.preventDefault&&s.preventDefault()}}function At(o){const t=Xl(o);t.info&&(t.info.prevent=!0)}Fi({name:"downup",deps:["mousedown","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["down","up"],info:{movefn:null,upfn:null},reset(){Fe(this.info)},mousedown(o){if(!Ce(o))return;const t=be(o),e=this,i=r=>{Ce(r)||(We("up",t,r),Fe(e.info))},s=r=>{Ce(r)&&We("up",t,r),Fe(e.info)};Js(this.info,i,s),We("down",t,o)},touchstart(o){We("down",be(o),o.changedTouches[0],o)},touchend(o){We("up",be(o),o.changedTouches[0],o)}});function We(o,t,e,i){t&&Li(t,o,{x:e.clientX,y:e.clientY,sourceEvent:e,preventer:i,prevent(s){return At(s)}})}Fi({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>Fl&&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,Fe(this.info)},mousedown(o){if(!Ce(o))return;const t=be(o),e=this,i=r=>{const n=r.clientX,a=r.clientY;To(e.info,n,a)&&(e.info.state=e.info.started?r.type==="mouseup"?"end":"track":"start",e.info.state==="start"&&At("tap"),e.info.addMove({x:n,y:a}),Ce(r)||(e.info.state="end",Fe(e.info)),t&&Gt(e.info,t,r),e.info.started=!0)},s=r=>{e.info.started&&i(r),Fe(e.info)};Js(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=be(o),e=o.changedTouches[0],i=e.clientX,s=e.clientY;To(this.info,i,s)&&(this.info.state==="start"&&At("tap"),this.info.addMove({x:i,y:s}),Gt(this.info,t,e),this.info.state="track",this.info.started=!0)},touchend(o){const t=be(o),e=o.changedTouches[0];this.info.started&&(this.info.state="end",this.info.addMove({x:e.clientX,y:e.clientY}),Gt(this.info,t,e))}});function To(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>=ko||s>=ko}function Gt(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),Li(t,"track",{state:o.state,x:e.clientX,y:e.clientY,dx:r,dy:n,ddx:a,ddy:l,sourceEvent:e,hover(){return Wl(e.clientX,e.clientY)}})}Fi({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){Ce(o)&&(this.info.x=o.clientX,this.info.y=o.clientY)},click(o){Ce(o)&&Mo(this.info,o)},touchstart(o){const t=o.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchend(o){Mo(this.info,o.changedTouches[0],o)}});function Mo(o,t,e){const i=Math.abs(t.clientX-o.x),s=Math.abs(t.clientY-o.y),r=be(e||t);!r||jl[r.localName]&&r.hasAttribute("disabled")||(isNaN(i)||isNaN(s)||i<=Po&&s<=Po||Yl(t))&&(o.prevent||Li(r,"tap",{x:t.clientX,y:t.clientY,sourceEvent:t,preventer:e}))}/**
2919
+ */const zl=o=>o,Xs=typeof document.head.style.touchAction=="string",mi="__polymerGestures",qt="__polymerGesturesHandled",_i="__polymerGesturesTouchAction",Po=25,ko=5,Fl=2,Ll=["mousedown","mousemove","mouseup","click"],$l=[0,1,4,2],Rl=function(){try{return new MouseEvent("test",{buttons:1}).buttons===1}catch(o){return!1}}();function Ni(o){return Ll.indexOf(o)>-1}let Hl=!1;(function(){try{const o=Object.defineProperty({},"passive",{get(){Hl=!0}});window.addEventListener("test",null,o),window.removeEventListener("test",null,o)}catch(o){}})();function Bl(o){Ni(o)}const Vl=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u),jl={button:!0,command:!0,fieldset:!0,input:!0,keygen:!0,optgroup:!0,option:!0,select:!0,textarea:!0};function Ce(o){const t=o.type;if(!Ni(t))return!1;if(t==="mousemove"){let i=o.buttons===void 0?1:o.buttons;return o instanceof window.MouseEvent&&!Rl&&(i=$l[o.which]||0),!!(i&1)}return(o.button===void 0?0:o.button)===0}function Yl(o){if(o.type==="click"){if(o.detail===0)return!0;const t=be(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 me={touch:{x:0,y:0,id:-1,scrollDecided:!1}};function Ul(o){let t="auto";const e=Qs(o);for(let i=0,s;i<e.length;i++)if(s=e[i],s[_i]){t=s[_i];break}return t}function Js(o,t,e){o.movefn=t,o.upfn=e,document.addEventListener("mousemove",t),document.addEventListener("mouseup",e)}function Fe(o){document.removeEventListener("mousemove",o.movefn),document.removeEventListener("mouseup",o.upfn),o.movefn=null,o.upfn=null}const Qs=window.ShadyDOM&&window.ShadyDOM.noPatch?window.ShadyDOM.composedPath:o=>o.composedPath&&o.composedPath()||[],zi={},Ae=[];function Wl(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 be(o){const t=Qs(o);return t.length>0?t[0]:o.target}function ql(o){const t=o.type,i=o.currentTarget[mi];if(!i)return;const s=i[t];if(!s)return;if(!o[qt]&&(o[qt]={},t.startsWith("touch"))){const n=o.changedTouches[0];if(t==="touchstart"&&o.touches.length===1&&(me.touch.id=n.identifier),me.touch.id!==n.identifier)return;Xs||(t==="touchstart"||t==="touchmove")&&Gl(o)}const r=o[qt];if(!r.skip){for(let n=0,a;n<Ae.length;n++)a=Ae[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<Ae.length;n++)a=Ae[n],s[a.name]&&!r[a.name]&&(r[a.name]=!0,a[t](o))}}function Gl(o){const t=o.changedTouches[0],e=o.type;if(e==="touchstart")me.touch.x=t.clientX,me.touch.y=t.clientY,me.touch.scrollDecided=!1;else if(e==="touchmove"){if(me.touch.scrollDecided)return;me.touch.scrollDecided=!0;const i=Ul(o);let s=!1;const r=Math.abs(me.touch.x-t.clientX),n=Math.abs(me.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():At("track")}}function ue(o,t,e){return zi[t]?(Kl(o,t,e),!0):!1}function Kl(o,t,e){const i=zi[t],s=i.deps,r=i.name;let n=o[mi];n||(o[mi]=n={});for(let a=0,l,c;a<s.length;a++)l=s[a],!(Vl&&Ni(l)&&l!=="click")&&(c=n[l],c||(n[l]=c={_count:0}),c._count===0&&o.addEventListener(l,ql,Bl(l)),c[r]=(c[r]||0)+1,c._count=(c._count||0)+1);o.addEventListener(t,e),i.touchAction&&Zs(o,i.touchAction)}function Fi(o){Ae.push(o),o.emits.forEach(t=>{zi[t]=o})}function Xl(o){for(let t=0,e;t<Ae.length;t++){e=Ae[t];for(let i=0,s;i<e.emits.length;i++)if(s=e.emits[i],s===o)return e}return null}function Zs(o,t){Xs&&o instanceof HTMLElement&&kl.run(()=>{o.style.touchAction=t}),o[_i]=t}function Li(o,t,e){const i=new Event(t,{bubbles:!0,cancelable:!0,composed:!0});if(i.detail=e,zl(o).dispatchEvent(i),i.defaultPrevented){const s=e.preventer||e.sourceEvent;s&&s.preventDefault&&s.preventDefault()}}function At(o){const t=Xl(o);t.info&&(t.info.prevent=!0)}Fi({name:"downup",deps:["mousedown","touchstart","touchend"],flow:{start:["mousedown","touchstart"],end:["mouseup","touchend"]},emits:["down","up"],info:{movefn:null,upfn:null},reset(){Fe(this.info)},mousedown(o){if(!Ce(o))return;const t=be(o),e=this,i=r=>{Ce(r)||(We("up",t,r),Fe(e.info))},s=r=>{Ce(r)&&We("up",t,r),Fe(e.info)};Js(this.info,i,s),We("down",t,o)},touchstart(o){We("down",be(o),o.changedTouches[0],o)},touchend(o){We("up",be(o),o.changedTouches[0],o)}});function We(o,t,e,i){t&&Li(t,o,{x:e.clientX,y:e.clientY,sourceEvent:e,preventer:i,prevent(s){return At(s)}})}Fi({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>Fl&&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,Fe(this.info)},mousedown(o){if(!Ce(o))return;const t=be(o),e=this,i=r=>{const n=r.clientX,a=r.clientY;To(e.info,n,a)&&(e.info.state=e.info.started?r.type==="mouseup"?"end":"track":"start",e.info.state==="start"&&At("tap"),e.info.addMove({x:n,y:a}),Ce(r)||(e.info.state="end",Fe(e.info)),t&&Gt(e.info,t,r),e.info.started=!0)},s=r=>{e.info.started&&i(r),Fe(e.info)};Js(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=be(o),e=o.changedTouches[0],i=e.clientX,s=e.clientY;To(this.info,i,s)&&(this.info.state==="start"&&At("tap"),this.info.addMove({x:i,y:s}),Gt(this.info,t,e),this.info.state="track",this.info.started=!0)},touchend(o){const t=be(o),e=o.changedTouches[0];this.info.started&&(this.info.state="end",this.info.addMove({x:e.clientX,y:e.clientY}),Gt(this.info,t,e))}});function To(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>=ko||s>=ko}function Gt(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),Li(t,"track",{state:o.state,x:e.clientX,y:e.clientY,dx:r,dy:n,ddx:a,ddy:l,sourceEvent:e,hover(){return Wl(e.clientX,e.clientY)}})}Fi({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){Ce(o)&&(this.info.x=o.clientX,this.info.y=o.clientY)},click(o){Ce(o)&&Mo(this.info,o)},touchstart(o){const t=o.changedTouches[0];this.info.x=t.clientX,this.info.y=t.clientY},touchend(o){Mo(this.info,o.changedTouches[0],o)}});function Mo(o,t,e){const i=Math.abs(t.clientX-o.x),s=Math.abs(t.clientY-o.y),r=be(e||t);!r||jl[r.localName]&&r.hasAttribute("disabled")||(isNaN(i)||isNaN(s)||i<=Po&&s<=Po||Yl(t))&&(o.prevent||Li(r,"tap",{x:t.clientX,y:t.clientY,sourceEvent:t,preventer:e}))}/**
2920
2920
  * @license
2921
2921
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
2922
2922
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -2948,7 +2948,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
2948
2948
  * @license
2949
2949
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
2950
2950
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
2951
- */function ed(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 gi(o){const t=new Date(o);return t.setHours(0,0,0,0),t}function ae(o,t,e=gi){return o instanceof Date&&t instanceof Date&&e(o).getTime()===e(t).getTime()}function Ri(o){return{day:o.getDate(),month:o.getMonth(),year:o.getFullYear()}}function He(o,t,e,i){let s=!1;if(typeof i=="function"&&o){const r=Ri(o);s=i(r)}return(!t||o>=t)&&(!e||o<=e)&&!s}function ir(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 or(o){const t=new Date,e=new Date(t);return e.setDate(1),e.setMonth(parseInt(o)+t.getMonth()),e}function td(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 Ke(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 id(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 od(o){return o instanceof Date?id({year:o.getFullYear(),month:o.getMonth(),day:o.getDate()}):""}/**
2951
+ */function ec(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 gi(o){const t=new Date(o);return t.setHours(0,0,0,0),t}function ae(o,t,e=gi){return o instanceof Date&&t instanceof Date&&e(o).getTime()===e(t).getTime()}function Ri(o){return{day:o.getDate(),month:o.getMonth(),year:o.getFullYear()}}function He(o,t,e,i){let s=!1;if(typeof i=="function"&&o){const r=Ri(o);s=i(r)}return(!t||o>=t)&&(!e||o<=e)&&!s}function ir(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 or(o){const t=new Date,e=new Date(t);return e.setDate(1),e.setMonth(parseInt(o)+t.getMonth()),e}function tc(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 Ke(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 ic(o){const t=(l,c="00")=>(c+l).substr((c+l).length-c.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 oc(o){return o instanceof Date?ic({year:o.getFullYear(),month:o.getMonth(),day:o.getDate()}):""}/**
2952
2952
  @license
2953
2953
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
2954
2954
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -2956,7 +2956,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
2956
2956
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
2957
2957
  Code distributed by Google as part of the polymer project is also
2958
2958
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2959
- */class Ct{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,at.delete(this),this._callback()})}cancel(){this.isActive()&&(this._cancelAsync(),at.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}static debounce(t,e,i){return t instanceof Ct?t._cancelAsync():t=new Ct,t.setConfig(e,i),t}}let at=new Set;const sd=function(o){at.add(o)},rd=function(){const o=!!at.size;return at.forEach(t=>{try{t.flush()}catch(e){setTimeout(()=>{throw e})}}),o};/**
2959
+ */class Ct{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,at.delete(this),this._callback()})}cancel(){this.isActive()&&(this._cancelAsync(),at.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}static debounce(t,e,i){return t instanceof Ct?t._cancelAsync():t=new Ct,t.setConfig(e,i),t}}let at=new Set;const sc=function(o){at.add(o)},rc=function(){const o=!!at.size;return at.forEach(t=>{try{t.flush()}catch(e){setTimeout(()=>{throw e})}}),o};/**
2960
2960
  @license
2961
2961
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
2962
2962
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -2964,7 +2964,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
2964
2964
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
2965
2965
  Code distributed by Google as part of the polymer project is also
2966
2966
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
2967
- */const Hi=function(){let o,t;do o=window.ShadyDOM&&ShadyDOM.flush(),window.ShadyCSS&&window.ShadyCSS.ScopingShim&&window.ShadyCSS.ScopingShim.flush(),t=rd();while(o||t)};/**
2967
+ */const Hi=function(){let o,t;do o=window.ShadyDOM&&ShadyDOM.flush(),window.ShadyCSS&&window.ShadyCSS.ScopingShim&&window.ShadyCSS.ScopingShim.flush(),t=rc();while(o||t)};/**
2968
2968
  * @license
2969
2969
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
2970
2970
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -3034,7 +3034,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3034
3034
  height: 100%;
3035
3035
  }
3036
3036
  </style>
3037
- `;class nd extends rr{static get is(){return"vaadin-date-picker-month-scroller"}constructor(){super(),this.bufferSize=3,this.shadowRoot.appendChild(nr.content.cloneNode(!0))}_createElement(){return document.createElement("vaadin-month-calendar")}_updateElement(t,e){t.month=or(e)}}he(nd);/**
3037
+ `;class nc extends rr{static get is(){return"vaadin-date-picker-month-scroller"}constructor(){super(),this.bufferSize=3,this.shadowRoot.appendChild(nr.content.cloneNode(!0))}_createElement(){return document.createElement("vaadin-month-calendar")}_updateElement(t,e){t.month=or(e)}}he(nc);/**
3038
3038
  * @license
3039
3039
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
3040
3040
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -3072,15 +3072,15 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3072
3072
  border-left-color: #000;
3073
3073
  }
3074
3074
  </style>
3075
- `;class ad extends rr{static get is(){return"vaadin-date-picker-year-scroller"}constructor(){super(),this.bufferSize=12,this.shadowRoot.appendChild(ar.content.cloneNode(!0))}_createElement(){return document.createElement("vaadin-date-picker-year")}_updateElement(t,e){t.year=this._yearAfterXYears(e)}_yearAfterXYears(t){const e=new Date,i=new Date(e);return i.setFullYear(parseInt(t)+e.getFullYear()),i.getFullYear()}}he(ad);/**
3075
+ `;class ac extends rr{static get is(){return"vaadin-date-picker-year-scroller"}constructor(){super(),this.bufferSize=12,this.shadowRoot.appendChild(ar.content.cloneNode(!0))}_createElement(){return document.createElement("vaadin-date-picker-year")}_updateElement(t,e){t.year=this._yearAfterXYears(e)}_yearAfterXYears(t){const e=new Date,i=new Date(e);return i.setFullYear(parseInt(t)+e.getFullYear()),i.getFullYear()}}he(ac);/**
3076
3076
  * @license
3077
3077
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
3078
3078
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3079
- */const ld=o=>class extends o{static get properties(){return{year:{type:String,sync:!0},selectedDate:{type:Object,sync:!0}}}static get observers(){return["__updateSelected(year, selectedDate)"]}__updateSelected(e,i){this.toggleAttribute("selected",i&&i.getFullYear()===e),this.toggleAttribute("current",e===new Date().getFullYear())}};/**
3079
+ */const lc=o=>class extends o{static get properties(){return{year:{type:String,sync:!0},selectedDate:{type:Object,sync:!0}}}static get observers(){return["__updateSelected(year, selectedDate)"]}__updateSelected(e,i){this.toggleAttribute("selected",i&&i.getFullYear()===e),this.toggleAttribute("current",e===new Date().getFullYear())}};/**
3080
3080
  * @license
3081
3081
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
3082
3082
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3083
- */class dd extends Pe(ld(ye)){static get is(){return"vaadin-date-picker-year"}static get template(){return Te`
3083
+ */class cc extends Pe(lc(ye)){static get is(){return"vaadin-date-picker-year"}static get template(){return Te`
3084
3084
  <style>
3085
3085
  :host {
3086
3086
  display: block;
@@ -3089,7 +3089,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3089
3089
  </style>
3090
3090
  <div part="year-number">[[year]]</div>
3091
3091
  <div part="year-separator" aria-hidden="true"></div>
3092
- `}}he(dd);/**
3092
+ `}}he(cc);/**
3093
3093
  @license
3094
3094
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
3095
3095
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -3097,7 +3097,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
3097
3097
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
3098
3098
  Code distributed by Google as part of the polymer project is also
3099
3099
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
3100
- */function Bi(o,t,e,i,s){let r;s&&(r=typeof e=="object"&&e!==null,r&&(i=o.__dataTemp[t]));let n=i!==e&&(i===i||e===e);return r&&n&&(o.__dataTemp[t]=e),n}const Vi=W(o=>{class t extends o{_shouldPropertyChange(i,s,r){return Bi(this,i,s,r,!0)}}return t}),cd=W(o=>{class t extends o{static get properties(){return{mutableData:Boolean}}_shouldPropertyChange(i,s,r){return Bi(this,i,s,r,this.mutableData)}}return t});Vi._mutablePropertyChange=Bi;/**
3100
+ */function Bi(o,t,e,i,s){let r;s&&(r=typeof e=="object"&&e!==null,r&&(i=o.__dataTemp[t]));let n=i!==e&&(i===i||e===e);return r&&n&&(o.__dataTemp[t]=e),n}const Vi=W(o=>{class t extends o{_shouldPropertyChange(i,s,r){return Bi(this,i,s,r,!0)}}return t}),dc=W(o=>{class t extends o{static get properties(){return{mutableData:Boolean}}_shouldPropertyChange(i,s,r){return Bi(this,i,s,r,this.mutableData)}}return t});Vi._mutablePropertyChange=Bi;/**
3101
3101
  @license
3102
3102
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
3103
3103
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -3105,7 +3105,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
3105
3105
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
3106
3106
  Code distributed by Google as part of the polymer project is also
3107
3107
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
3108
- */let bi=null;function yi(){return bi}yi.prototype=Object.create(HTMLTemplateElement.prototype,{constructor:{value:yi,writable:!0}});const lr=Ti(yi),ud=Vi(lr);function hd(o,t){bi=o,Object.setPrototypeOf(o,t.prototype),new t,bi=null}const pd=Ti(class{});function fd(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"),X(X(i).parentNode).replaceChild(i.__polymerReplaced__,i);else{const s=i.__polymerReplaced__;s&&X(X(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 ve extends pd{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){fd(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}}ve.prototype.__dataHost;ve.prototype.__templatizeOptions;ve.prototype._methodHost;ve.prototype.__templatizeOwner;ve.prototype.__hostProps;const md=Vi(ve);function Oo(o){let t=o.__dataHost;return t&&t._methodHost||t}function _d(o,t,e){let i=e.mutableData?md:ve;vi.mixin&&(i=vi.mixin(i));let s=class extends i{};return s.prototype.__templatizeOptions=e,s.prototype._bindTemplate(o),yd(s,o,t,e),s}function gd(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?ud:lr;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:bd(l,s)}),n.prototype._createNotifyingProperty("_host_"+l);ps&&i&&wd(t,e,i)}if(o.__dataProto&&Object.assign(o.__data,o.__dataProto),r)hd(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 bd(o,t){return function(i,s,r){t.call(i.__templatizeOwner,s.substring(6),r[s])}}function yd(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:vd(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:xd()})}function vd(o,t){return function(i,s,r){t.call(i.__templatizeOwner,i,s,r[s])}}function xd(){return function(t,e,i){t.__dataHost._setPendingPropertyOrPath("_host_"+e,i[e],!0,!0)}}function vi(o,t,e){if(wt&&!Oo(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:ve)._parseTemplate(o),r=s.templatizeInstanceClass;r||(r=_d(o,s,e),s.templatizeInstanceClass=r);const n=Oo(o);gd(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 wd(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 Ed(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=X(t).parentNode;return null}/**
3108
+ */let bi=null;function yi(){return bi}yi.prototype=Object.create(HTMLTemplateElement.prototype,{constructor:{value:yi,writable:!0}});const lr=Ti(yi),uc=Vi(lr);function hc(o,t){bi=o,Object.setPrototypeOf(o,t.prototype),new t,bi=null}const pc=Ti(class{});function fc(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"),X(X(i).parentNode).replaceChild(i.__polymerReplaced__,i);else{const s=i.__polymerReplaced__;s&&X(X(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 ve extends pc{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){fc(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}}ve.prototype.__dataHost;ve.prototype.__templatizeOptions;ve.prototype._methodHost;ve.prototype.__templatizeOwner;ve.prototype.__hostProps;const mc=Vi(ve);function Oo(o){let t=o.__dataHost;return t&&t._methodHost||t}function _c(o,t,e){let i=e.mutableData?mc:ve;vi.mixin&&(i=vi.mixin(i));let s=class extends i{};return s.prototype.__templatizeOptions=e,s.prototype._bindTemplate(o),yc(s,o,t,e),s}function gc(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?uc:lr;class c extends l{}n=t.templatizeTemplateClass=c}else{const l=o.constructor;class c extends l{}n=t.templatizeTemplateClass=c}let a=t.hostProps;for(let l in a)n.prototype._addPropertyEffect("_host_"+l,n.prototype.PROPERTY_EFFECT_TYPES.PROPAGATE,{fn:bc(l,s)}),n.prototype._createNotifyingProperty("_host_"+l);ps&&i&&wc(t,e,i)}if(o.__dataProto&&Object.assign(o.__data,o.__dataProto),r)hc(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 c=o[l];delete o[l],o.__data[l]=c}}}}function bc(o,t){return function(i,s,r){t.call(i.__templatizeOwner,s.substring(6),r[s])}}function yc(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:vc(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:xc()})}function vc(o,t){return function(i,s,r){t.call(i.__templatizeOwner,i,s,r[s])}}function xc(){return function(t,e,i){t.__dataHost._setPendingPropertyOrPath("_host_"+e,i[e],!0,!0)}}function vi(o,t,e){if(wt&&!Oo(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:ve)._parseTemplate(o),r=s.templatizeInstanceClass;r||(r=_c(o,s,e),s.templatizeInstanceClass=r);const n=Oo(o);gc(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 wc(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:c}=a[l].info;if(!(c.signature&&c.signature.static)){console.warn(`Property '${n}' used in template but not declared in 'properties'; attribute will not be observed.`);break}}}}function Ec(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=X(t).parentNode;return null}/**
3109
3109
  @license
3110
3110
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
3111
3111
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -3113,7 +3113,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
3113
3113
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
3114
3114
  Code distributed by Google as part of the polymer project is also
3115
3115
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
3116
- */let Io=!1;function Sd(){if(hs&&!us){if(!Io){Io=!0;const o=document.createElement("style");o.textContent="dom-bind,dom-if,dom-repeat{display:none;}",document.head.appendChild(o)}return!0}return!1}/**
3116
+ */let Io=!1;function Sc(){if(hs&&!us){if(!Io){Io=!0;const o=document.createElement("style");o.textContent="dom-bind,dom-if,dom-repeat{display:none;}",document.head.appendChild(o)}return!0}return!1}/**
3117
3117
  @license
3118
3118
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
3119
3119
  This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
@@ -3121,15 +3121,15 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
3121
3121
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
3122
3122
  Code distributed by Google as part of the polymer project is also
3123
3123
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
3124
- */const Ad=cd(ye);class No extends Ad{static get is(){return"dom-repeat"}static get template(){return null}static get properties(){return{items:{type:Array},as:{type:String,value:"item"},indexAs:{type:String,value:"index"},itemsIndexAs:{type:String,value:"itemsIndex"},sort:{type:Function,observer:"__sortChanged"},filter:{type:Function,observer:"__filterChanged"},observe:{type:String,observer:"__observeChanged"},delay:Number,renderedItemCount:{type:Number,notify:!ro,readOnly:!0},initialCount:{type:Number},targetFramerate:{type:Number,value:20},_targetFrameTime:{type:Number,computed:"__computeFrameTime(targetFramerate)"},notifyDomChange:{type:Boolean},reuseChunkedInstances:{type:Boolean}}}static get observers(){return["__itemsChanged(items.*)"]}constructor(){super(),this.__instances=[],this.__renderDebouncer=null,this.__itemsIdxToInstIdx={},this.__chunkCount=null,this.__renderStartTime=null,this.__itemsArrayChanged=!1,this.__shouldMeasureChunk=!1,this.__shouldContinueChunking=!1,this.__chunkingId=0,this.__sortFn=null,this.__filterFn=null,this.__observePaths=null,this.__ctor=null,this.__isDetached=!0,this.template=null,this._templateInfo}disconnectedCallback(){super.disconnectedCallback(),this.__isDetached=!0;for(let t=0;t<this.__instances.length;t++)this.__detachInstance(t);this.__chunkingId&&cancelAnimationFrame(this.__chunkingId)}connectedCallback(){if(super.connectedCallback(),Sd()||(this.style.display="none"),this.__isDetached){this.__isDetached=!1;let t=X(X(this).parentNode);for(let e=0;e<this.__instances.length;e++)this.__attachInstance(e,t);this.__chunkingId&&this.__render()}}__ensureTemplatized(){if(!this.__ctor){const t=this;let e=this.template=t._templateInfo?t:this.querySelector("template");if(!e){let s=new MutationObserver(()=>{if(this.querySelector("template"))s.disconnect(),this.__render();else throw new Error("dom-repeat requires a <template> child")});return s.observe(this,{childList:!0}),!1}let i={};i[this.as]=!0,i[this.indexAs]=!0,i[this.itemsIndexAs]=!0,this.__ctor=vi(e,this,{mutableData:this.mutableData,parentModel:!0,instanceProps:i,forwardHostProp:function(s,r){let n=this.__instances;for(let a=0,l;a<n.length&&(l=n[a]);a++)l.forwardHostProp(s,r)},notifyInstanceProp:function(s,r,n){if(kn(this.as,r)){let a=s[this.itemsIndexAs];r==this.as&&(this.items[a]=n);let l=st(this.as,`${JSCompiler_renameProperty("items",this)}.${a}`,r);this.notifyPath(l,n)}}})}return!0}__getMethodHost(){return this.__dataHost._methodHost||this.__dataHost}__functionFromPropertyValue(t){if(typeof t=="string"){let e=t,i=this.__getMethodHost();return function(){return i[e].apply(i,arguments)}}return t}__sortChanged(t){this.__sortFn=this.__functionFromPropertyValue(t),this.items&&this.__debounceRender(this.__render)}__filterChanged(t){this.__filterFn=this.__functionFromPropertyValue(t),this.items&&this.__debounceRender(this.__render)}__computeFrameTime(t){return Math.ceil(1e3/t)}__observeChanged(){this.__observePaths=this.observe&&this.observe.replace(".*",".").split(" ")}__handleObservedPaths(t){if(this.__sortFn||this.__filterFn){if(!t)this.__debounceRender(this.__render,this.delay);else if(this.__observePaths){let e=this.__observePaths;for(let i=0;i<e.length;i++)t.indexOf(e[i])===0&&this.__debounceRender(this.__render,this.delay)}}}__itemsChanged(t){this.items&&!Array.isArray(this.items)&&console.warn("dom-repeat expected array for `items`, found",this.items),this.__handleItemPath(t.path,t.value)||(t.path==="items"&&(this.__itemsArrayChanged=!0),this.__debounceRender(this.__render))}__debounceRender(t,e=0){this.__renderDebouncer=Ct.debounce(this.__renderDebouncer,e>0?zn.after(e):Es,t.bind(this)),sd(this.__renderDebouncer)}render(){this.__debounceRender(this.__render),Hi()}__render(){if(!this.__ensureTemplatized())return;let t=this.items||[];const e=this.__sortAndFilterItems(t),i=this.__calculateLimit(e.length);this.__updateInstances(t,i,e),this.initialCount&&(this.__shouldMeasureChunk||this.__shouldContinueChunking)&&(cancelAnimationFrame(this.__chunkingId),this.__chunkingId=requestAnimationFrame(()=>{this.__chunkingId=null,this.__continueChunking()})),this._setRenderedItemCount(this.__instances.length),(!ro||this.notifyDomChange)&&this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0}))}__sortAndFilterItems(t){let e=new Array(t.length);for(let i=0;i<t.length;i++)e[i]=i;return this.__filterFn&&(e=e.filter((i,s,r)=>this.__filterFn(t[i],s,r))),this.__sortFn&&e.sort((i,s)=>this.__sortFn(t[i],t[s])),e}__calculateLimit(t){let e=t;const i=this.__instances.length;if(this.initialCount){let s;!this.__chunkCount||this.__itemsArrayChanged&&!this.reuseChunkedInstances?(e=Math.min(t,this.initialCount),s=Math.max(e-i,0),this.__chunkCount=s||1):(s=Math.min(Math.max(t-i,0),this.__chunkCount),e=Math.min(i+s,t)),this.__shouldMeasureChunk=s===this.__chunkCount,this.__shouldContinueChunking=e<t,this.__renderStartTime=performance.now()}return this.__itemsArrayChanged=!1,e}__continueChunking(){if(this.__shouldMeasureChunk){const t=performance.now()-this.__renderStartTime,e=this._targetFrameTime/t;this.__chunkCount=Math.round(this.__chunkCount*e)||1}this.__shouldContinueChunking&&this.__debounceRender(this.__render)}__updateInstances(t,e,i){const s=this.__itemsIdxToInstIdx={};let r;for(r=0;r<e;r++){let n=this.__instances[r],a=i[r],l=t[a];s[a]=r,n?(n._setPendingProperty(this.as,l),n._setPendingProperty(this.indexAs,r),n._setPendingProperty(this.itemsIndexAs,a),n._flushProperties()):this.__insertInstance(l,r,a)}for(let n=this.__instances.length-1;n>=r;n--)this.__detachAndRemoveInstance(n)}__detachInstance(t){let e=this.__instances[t];const i=X(e.root);for(let s=0;s<e.children.length;s++){let r=e.children[s];i.appendChild(r)}return e}__attachInstance(t,e){let i=this.__instances[t];e.insertBefore(i.root,this)}__detachAndRemoveInstance(t){this.__detachInstance(t),this.__instances.splice(t,1)}__stampInstance(t,e,i){let s={};return s[this.as]=t,s[this.indexAs]=e,s[this.itemsIndexAs]=i,new this.__ctor(s)}__insertInstance(t,e,i){const s=this.__stampInstance(t,e,i);let r=this.__instances[e+1],n=r?r.children[0]:this;return X(X(this).parentNode).insertBefore(s.root,n),this.__instances[e]=s,s}_showHideChildren(t){for(let e=0;e<this.__instances.length;e++)this.__instances[e]._showHideChildren(t)}__handleItemPath(t,e){let i=t.slice(6),s=i.indexOf("."),r=s<0?i:i.substring(0,s);if(r==parseInt(r,10)){let n=s<0?"":i.substring(s+1);this.__handleObservedPaths(n);let a=this.__itemsIdxToInstIdx[r],l=this.__instances[a];if(l){let d=this.as+(n?"."+n:"");l._setPendingPropertyOrPath(d,e,!1,!0),l._flushProperties()}return!0}}itemForElement(t){let e=this.modelForElement(t);return e&&e[this.as]}indexForElement(t){let e=this.modelForElement(t);return e&&e[this.indexAs]}modelForElement(t){return Ed(this.template,t)}}customElements.define(No.is,No);/**
3124
+ */const Ac=dc(ye);class No extends Ac{static get is(){return"dom-repeat"}static get template(){return null}static get properties(){return{items:{type:Array},as:{type:String,value:"item"},indexAs:{type:String,value:"index"},itemsIndexAs:{type:String,value:"itemsIndex"},sort:{type:Function,observer:"__sortChanged"},filter:{type:Function,observer:"__filterChanged"},observe:{type:String,observer:"__observeChanged"},delay:Number,renderedItemCount:{type:Number,notify:!ro,readOnly:!0},initialCount:{type:Number},targetFramerate:{type:Number,value:20},_targetFrameTime:{type:Number,computed:"__computeFrameTime(targetFramerate)"},notifyDomChange:{type:Boolean},reuseChunkedInstances:{type:Boolean}}}static get observers(){return["__itemsChanged(items.*)"]}constructor(){super(),this.__instances=[],this.__renderDebouncer=null,this.__itemsIdxToInstIdx={},this.__chunkCount=null,this.__renderStartTime=null,this.__itemsArrayChanged=!1,this.__shouldMeasureChunk=!1,this.__shouldContinueChunking=!1,this.__chunkingId=0,this.__sortFn=null,this.__filterFn=null,this.__observePaths=null,this.__ctor=null,this.__isDetached=!0,this.template=null,this._templateInfo}disconnectedCallback(){super.disconnectedCallback(),this.__isDetached=!0;for(let t=0;t<this.__instances.length;t++)this.__detachInstance(t);this.__chunkingId&&cancelAnimationFrame(this.__chunkingId)}connectedCallback(){if(super.connectedCallback(),Sc()||(this.style.display="none"),this.__isDetached){this.__isDetached=!1;let t=X(X(this).parentNode);for(let e=0;e<this.__instances.length;e++)this.__attachInstance(e,t);this.__chunkingId&&this.__render()}}__ensureTemplatized(){if(!this.__ctor){const t=this;let e=this.template=t._templateInfo?t:this.querySelector("template");if(!e){let s=new MutationObserver(()=>{if(this.querySelector("template"))s.disconnect(),this.__render();else throw new Error("dom-repeat requires a <template> child")});return s.observe(this,{childList:!0}),!1}let i={};i[this.as]=!0,i[this.indexAs]=!0,i[this.itemsIndexAs]=!0,this.__ctor=vi(e,this,{mutableData:this.mutableData,parentModel:!0,instanceProps:i,forwardHostProp:function(s,r){let n=this.__instances;for(let a=0,l;a<n.length&&(l=n[a]);a++)l.forwardHostProp(s,r)},notifyInstanceProp:function(s,r,n){if(kn(this.as,r)){let a=s[this.itemsIndexAs];r==this.as&&(this.items[a]=n);let l=st(this.as,`${JSCompiler_renameProperty("items",this)}.${a}`,r);this.notifyPath(l,n)}}})}return!0}__getMethodHost(){return this.__dataHost._methodHost||this.__dataHost}__functionFromPropertyValue(t){if(typeof t=="string"){let e=t,i=this.__getMethodHost();return function(){return i[e].apply(i,arguments)}}return t}__sortChanged(t){this.__sortFn=this.__functionFromPropertyValue(t),this.items&&this.__debounceRender(this.__render)}__filterChanged(t){this.__filterFn=this.__functionFromPropertyValue(t),this.items&&this.__debounceRender(this.__render)}__computeFrameTime(t){return Math.ceil(1e3/t)}__observeChanged(){this.__observePaths=this.observe&&this.observe.replace(".*",".").split(" ")}__handleObservedPaths(t){if(this.__sortFn||this.__filterFn){if(!t)this.__debounceRender(this.__render,this.delay);else if(this.__observePaths){let e=this.__observePaths;for(let i=0;i<e.length;i++)t.indexOf(e[i])===0&&this.__debounceRender(this.__render,this.delay)}}}__itemsChanged(t){this.items&&!Array.isArray(this.items)&&console.warn("dom-repeat expected array for `items`, found",this.items),this.__handleItemPath(t.path,t.value)||(t.path==="items"&&(this.__itemsArrayChanged=!0),this.__debounceRender(this.__render))}__debounceRender(t,e=0){this.__renderDebouncer=Ct.debounce(this.__renderDebouncer,e>0?zn.after(e):Es,t.bind(this)),sc(this.__renderDebouncer)}render(){this.__debounceRender(this.__render),Hi()}__render(){if(!this.__ensureTemplatized())return;let t=this.items||[];const e=this.__sortAndFilterItems(t),i=this.__calculateLimit(e.length);this.__updateInstances(t,i,e),this.initialCount&&(this.__shouldMeasureChunk||this.__shouldContinueChunking)&&(cancelAnimationFrame(this.__chunkingId),this.__chunkingId=requestAnimationFrame(()=>{this.__chunkingId=null,this.__continueChunking()})),this._setRenderedItemCount(this.__instances.length),(!ro||this.notifyDomChange)&&this.dispatchEvent(new CustomEvent("dom-change",{bubbles:!0,composed:!0}))}__sortAndFilterItems(t){let e=new Array(t.length);for(let i=0;i<t.length;i++)e[i]=i;return this.__filterFn&&(e=e.filter((i,s,r)=>this.__filterFn(t[i],s,r))),this.__sortFn&&e.sort((i,s)=>this.__sortFn(t[i],t[s])),e}__calculateLimit(t){let e=t;const i=this.__instances.length;if(this.initialCount){let s;!this.__chunkCount||this.__itemsArrayChanged&&!this.reuseChunkedInstances?(e=Math.min(t,this.initialCount),s=Math.max(e-i,0),this.__chunkCount=s||1):(s=Math.min(Math.max(t-i,0),this.__chunkCount),e=Math.min(i+s,t)),this.__shouldMeasureChunk=s===this.__chunkCount,this.__shouldContinueChunking=e<t,this.__renderStartTime=performance.now()}return this.__itemsArrayChanged=!1,e}__continueChunking(){if(this.__shouldMeasureChunk){const t=performance.now()-this.__renderStartTime,e=this._targetFrameTime/t;this.__chunkCount=Math.round(this.__chunkCount*e)||1}this.__shouldContinueChunking&&this.__debounceRender(this.__render)}__updateInstances(t,e,i){const s=this.__itemsIdxToInstIdx={};let r;for(r=0;r<e;r++){let n=this.__instances[r],a=i[r],l=t[a];s[a]=r,n?(n._setPendingProperty(this.as,l),n._setPendingProperty(this.indexAs,r),n._setPendingProperty(this.itemsIndexAs,a),n._flushProperties()):this.__insertInstance(l,r,a)}for(let n=this.__instances.length-1;n>=r;n--)this.__detachAndRemoveInstance(n)}__detachInstance(t){let e=this.__instances[t];const i=X(e.root);for(let s=0;s<e.children.length;s++){let r=e.children[s];i.appendChild(r)}return e}__attachInstance(t,e){let i=this.__instances[t];e.insertBefore(i.root,this)}__detachAndRemoveInstance(t){this.__detachInstance(t),this.__instances.splice(t,1)}__stampInstance(t,e,i){let s={};return s[this.as]=t,s[this.indexAs]=e,s[this.itemsIndexAs]=i,new this.__ctor(s)}__insertInstance(t,e,i){const s=this.__stampInstance(t,e,i);let r=this.__instances[e+1],n=r?r.children[0]:this;return X(X(this).parentNode).insertBefore(s.root,n),this.__instances[e]=s,s}_showHideChildren(t){for(let e=0;e<this.__instances.length;e++)this.__instances[e]._showHideChildren(t)}__handleItemPath(t,e){let i=t.slice(6),s=i.indexOf("."),r=s<0?i:i.substring(0,s);if(r==parseInt(r,10)){let n=s<0?"":i.substring(s+1);this.__handleObservedPaths(n);let a=this.__itemsIdxToInstIdx[r],l=this.__instances[a];if(l){let c=this.as+(n?"."+n:"");l._setPendingPropertyOrPath(c,e,!1,!0),l._flushProperties()}return!0}}itemForElement(t){let e=this.modelForElement(t);return e&&e[this.as]}indexForElement(t){let e=this.modelForElement(t);return e&&e[this.indexAs]}modelForElement(t){return Ec(this.template,t)}}customElements.define(No.is,No);/**
3125
3125
  * @license
3126
3126
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
3127
3127
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3128
- */const Cd=o=>class extends $i(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},enteredDate:{type:Date},disabled:{type:Boolean,reflectToAttribute:!0},_days:{type:Array},_weeks:{type:Array},_notTapping:{type:Boolean},__hasFocus:{type:Boolean}}}static get observers(){return["__focusedDateChanged(focusedDate, _days)"]}get focusableDateElement(){return[...this.shadowRoot.querySelectorAll("[part~=date]")].find(e=>ae(e.date,this.focusedDate))}ready(){super.ready(),ue(this.$.monthGrid,"tap",this._handleTap.bind(this))}_setFocused(e){super._setFocused(e),this.__hasFocus=e}_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:!He(r,i,s)&&!He(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=>ae(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 ae(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 ed(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}};/**
3128
+ */const Cc=o=>class extends $i(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},enteredDate:{type:Date},disabled:{type:Boolean,reflectToAttribute:!0},_days:{type:Array},_weeks:{type:Array},_notTapping:{type:Boolean},__hasFocus:{type:Boolean}}}static get observers(){return["__focusedDateChanged(focusedDate, _days)"]}get focusableDateElement(){return[...this.shadowRoot.querySelectorAll("[part~=date]")].find(e=>ae(e.date,this.focusedDate))}ready(){super.ready(),ue(this.$.monthGrid,"tap",this._handleTap.bind(this))}_setFocused(e){super._setFocused(e),this.__hasFocus=e}_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:!He(r,i,s)&&!He(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((c,u)=>({weekDay:c,weekDayShort:a[u]})).slice(0,7)}__focusedDateChanged(e,i){Array.isArray(i)&&i.some(s=>ae(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 ae(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 ec(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}};/**
3129
3129
  * @license
3130
3130
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
3131
3131
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3132
- */const Dd=P`
3132
+ */const Dc=P`
3133
3133
  :host {
3134
3134
  display: block;
3135
3135
  }
@@ -3189,7 +3189,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3189
3189
  * @license
3190
3190
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
3191
3191
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3192
- */U("vaadin-month-calendar",Dd,{moduleId:"vaadin-month-calendar-styles"});class Pd extends Cd(Pe(ye)){static get template(){return Te`
3192
+ */U("vaadin-month-calendar",Dc,{moduleId:"vaadin-month-calendar-styles"});class Pc extends Cc(Pe(ye)){static get template(){return Te`
3193
3193
  <div part="month-header" id="month-header" aria-hidden="true">[[_getTitle(month, i18n)]]</div>
3194
3194
  <table
3195
3195
  id="monthGrid"
@@ -3231,19 +3231,19 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3231
3231
  </template>
3232
3232
  </tbody>
3233
3233
  </table>
3234
- `}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,a,l){const d=["date"],u=t>gi(new Date),h=t<gi(new Date);return this.__isDayDisabled(t,s,r,n)&&d.push("disabled"),ae(t,e)&&(l||ae(t,a))&&d.push("focused"),this.__isDaySelected(t,i)&&d.push("selected"),this._isToday(t)&&d.push("today"),h&&d.push("past"),u&&d.push("future"),d.join(" ")}__isDaySelected(t,e){return ae(t,e)}__getDayAriaSelected(t,e){if(this.__isDaySelected(t,e))return"true"}__isDayDisabled(t,e,i,s){return!He(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 ae(t,e)?"0":"-1"}}he(Pd);/**
3234
+ `}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,a,l){const c=["date"],u=t>gi(new Date),h=t<gi(new Date);return this.__isDayDisabled(t,s,r,n)&&c.push("disabled"),ae(t,e)&&(l||ae(t,a))&&c.push("focused"),this.__isDaySelected(t,i)&&c.push("selected"),this._isToday(t)&&c.push("today"),h&&c.push("past"),u&&c.push("future"),c.join(" ")}__isDaySelected(t,e){return ae(t,e)}__getDayAriaSelected(t,e){if(this.__isDaySelected(t,e))return"true"}__isDayDisabled(t,e,i,s){return!He(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 ae(t,e)?"0":"-1"}}he(Pc);/**
3235
3235
  * @license
3236
3236
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
3237
3237
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3238
- */class dr{constructor(t,e){this.query=t,this.callback=e,this._boundQueryHandler=this._queryHandler.bind(this)}hostConnected(){this._removeListener(),this._mediaQuery=window.matchMedia(this.query),this._addListener(),this._queryHandler(this._mediaQuery)}hostDisconnected(){this._removeListener()}_addListener(){this._mediaQuery&&this._mediaQuery.addListener(this._boundQueryHandler)}_removeListener(){this._mediaQuery&&this._mediaQuery.removeListener(this._boundQueryHandler),this._mediaQuery=null}_queryHandler(t){typeof this.callback=="function"&&this.callback(t.matches)}}/**
3238
+ */class cr{constructor(t,e){this.query=t,this.callback=e,this._boundQueryHandler=this._queryHandler.bind(this)}hostConnected(){this._removeListener(),this._mediaQuery=window.matchMedia(this.query),this._addListener(),this._queryHandler(this._mediaQuery)}hostDisconnected(){this._removeListener()}_addListener(){this._mediaQuery&&this._mediaQuery.addListener(this._boundQueryHandler)}_removeListener(){this._mediaQuery&&this._mediaQuery.removeListener(this._boundQueryHandler),this._mediaQuery=null}_queryHandler(t){typeof this.callback=="function"&&this.callback(t.matches)}}/**
3239
3239
  * @license
3240
3240
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
3241
3241
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3242
- */const kd=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",sync:!0},_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},enteredDate:{type:Date,sync:!0},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, enteredDate)","__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(){Zs(this.$.scrollers,"pan-y"),ue(this.$.scrollers,"track",this._track.bind(this)),ue(this.shadowRoot.querySelector('[part="clear-button"]'),"tap",this._clear.bind(this)),ue(this.shadowRoot.querySelector('[part="toggle-button"]'),"tap",this._cancel.bind(this)),ue(this.shadowRoot.querySelector('[part="years-toggle-button"]'),"tap",this._toggleYearScroller.bind(this))}_initControllers(){this.addController(new dr(this._desktopMediaQuery,e=>{this._desktopMode=e})),this.addController(new Se(this,"today-button","vaadin-button",{observe:!1,initializer:e=>{e.setAttribute("theme","tertiary"),e.addEventListener("keydown",i=>this.__onTodayButtonKeyDown(i)),ue(e,"tap",this._onTodayTap.bind(this)),this._todayButton=e}})),this.addController(new Se(this,"cancel-button","vaadin-button",{observe:!1,initializer:e=>{e.setAttribute("theme","tertiary"),e.addEventListener("keydown",i=>this.__onCancelButtonKeyDown(i)),ue(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 Se(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 Se(this,"years","vaadin-date-picker-year-scroller",{observe:!1,initializer:e=>{e.setAttribute("aria-hidden","true"),ue(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,f){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,p.enteredDate=f,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=Re.debounce(this._debouncer,St.after(300),()=>{this._ignoreTaps=!1})}_formatDisplayed(e,i,s){return e&&i&&typeof i.formatDate=="function"?i.formatDate(Ri(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,f)=>(d/=f/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 or(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){ae(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&&ae(i.date,this.__pendingDateFocus)&&(delete this.__pendingDateFocus,i.focus())}}focusDate(e,i){return ct(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 ct(this,null,function*(){this.__pendingDateFocus=this.focusedDate,this.calendars.length||(yield new Promise(i=>{Hs(this,()=>{Hi(),i()})})),e&&this.revealDate(this.focusedDate),this._revealPromise&&(yield this._revealPromise),this.__tryFocusDate()})}_focusClosestDate(e){this.focusDate(ir(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 He(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}};/**
3242
+ */const kc=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",sync:!0},_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},enteredDate:{type:Date,sync:!0},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, enteredDate)","__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(){Zs(this.$.scrollers,"pan-y"),ue(this.$.scrollers,"track",this._track.bind(this)),ue(this.shadowRoot.querySelector('[part="clear-button"]'),"tap",this._clear.bind(this)),ue(this.shadowRoot.querySelector('[part="toggle-button"]'),"tap",this._cancel.bind(this)),ue(this.shadowRoot.querySelector('[part="years-toggle-button"]'),"tap",this._toggleYearScroller.bind(this))}_initControllers(){this.addController(new cr(this._desktopMediaQuery,e=>{this._desktopMode=e})),this.addController(new Se(this,"today-button","vaadin-button",{observe:!1,initializer:e=>{e.setAttribute("theme","tertiary"),e.addEventListener("keydown",i=>this.__onTodayButtonKeyDown(i)),ue(e,"tap",this._onTodayTap.bind(this)),this._todayButton=e}})),this.addController(new Se(this,"cancel-button","vaadin-button",{observe:!1,initializer:e=>{e.setAttribute("theme","tertiary"),e.addEventListener("keydown",i=>this.__onCancelButtonKeyDown(i)),ue(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 Se(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 Se(this,"years","vaadin-date-picker-year-scroller",{observe:!1,initializer:e=>{e.setAttribute("aria-hidden","true"),ue(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,c,u,h,f){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=c,p.enteredDate=f,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 c=this._calculateWeekScrollOffset(e);this._scrollToPosition(s+c,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=Re.debounce(this._debouncer,St.after(300),()=>{this._ignoreTaps=!1})}_formatDisplayed(e,i,s){return e&&i&&typeof i.formatDate=="function"?i.formatDate(Ri(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(c=>{s=c});const r=(c,u,h,f)=>(c/=f/2,c<1?h/2*c*c+u:(c-=1,-h/2*(c*(c-2)-1)+u));let n=0;const a=this._monthScroller.position,l=c=>{n||(n=c);const u=c-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 or(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){ae(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&&ae(i.date,this.__pendingDateFocus)&&(delete this.__pendingDateFocus,i.focus())}}focusDate(e,i){return dt(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 dt(this,null,function*(){this.__pendingDateFocus=this.focusedDate,this.calendars.length||(yield new Promise(i=>{Hs(this,()=>{Hi(),i()})})),e&&this.revealDate(this.focusedDate),this._revealPromise&&(yield this._revealPromise),this.__tryFocusDate()})}_focusClosestDate(e){this.focusDate(ir(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 He(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}};/**
3243
3243
  * @license
3244
3244
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
3245
3245
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3246
- */const Td=P`
3246
+ */const Tc=P`
3247
3247
  :host {
3248
3248
  display: flex;
3249
3249
  flex-direction: column;
@@ -3307,7 +3307,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3307
3307
  * @license
3308
3308
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
3309
3309
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3310
- */U("vaadin-date-picker-overlay-content",Td,{moduleId:"vaadin-date-picker-overlay-content-styles"});class Md extends kd(Ve(Pe(kt(ye)))){static get template(){return Te`
3310
+ */U("vaadin-date-picker-overlay-content",Tc,{moduleId:"vaadin-date-picker-overlay-content-styles"});class Mc extends kc(Ve(Pe(kt(ye)))){static get template(){return Te`
3311
3311
  <div part="overlay-header" on-touchend="_preventDefault" aria-hidden="true">
3312
3312
  <div part="label">[[_formatDisplayed(selectedDate, i18n, label)]]</div>
3313
3313
  <div part="clear-button" hidden$="[[!selectedDate]]"></div>
@@ -3327,15 +3327,15 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3327
3327
  <slot name="today-button"></slot>
3328
3328
  <slot name="cancel-button"></slot>
3329
3329
  </div>
3330
- `}static get is(){return"vaadin-date-picker-overlay-content"}ready(){super.ready(),this.setAttribute("role","dialog"),this._addListeners(),this._initControllers()}}he(Md);/**
3330
+ `}static get is(){return"vaadin-date-picker-overlay-content"}ready(){super.ready(),this.setAttribute("role","dialog"),this._addListeners(),this._initControllers()}}he(Mc);/**
3331
3331
  * @license
3332
3332
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
3333
3333
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3334
- */const cr=W(o=>class extends $i(tr(o)){static get properties(){return{autofocus:{type:Boolean},focusElement:{type:Object,readOnly:!0,observer:"_focusElementChanged"},_lastTabIndex:{value:0}}}constructor(){super(),this._boundOnBlur=this._onBlur.bind(this),this._boundOnFocus=this._onFocus.bind(this)}ready(){super.ready(),this.autofocus&&!this.disabled&&requestAnimationFrame(()=>{this.focus(),this.setAttribute("focus-ring","")})}focus(){this.focusElement&&!this.disabled&&this.focusElement.focus()}blur(){this.focusElement&&this.focusElement.blur()}click(){this.focusElement&&!this.disabled&&this.focusElement.click()}_focusElementChanged(e,i){e?(e.disabled=this.disabled,this._addFocusListeners(e),this.__forwardTabIndex(this.tabindex)):i&&this._removeFocusListeners(i)}_addFocusListeners(e){e.addEventListener("blur",this._boundOnBlur),e.addEventListener("focus",this._boundOnFocus)}_removeFocusListeners(e){e.removeEventListener("blur",this._boundOnBlur),e.removeEventListener("focus",this._boundOnFocus)}_onFocus(e){e.stopPropagation(),this.dispatchEvent(new Event("focus"))}_onBlur(e){e.stopPropagation(),this.dispatchEvent(new Event("blur"))}_shouldSetFocus(e){return e.target===this.focusElement}_shouldRemoveFocus(e){return e.target===this.focusElement}_disabledChanged(e,i){super._disabledChanged(e,i),this.focusElement&&(this.focusElement.disabled=e),e&&this.blur()}_tabindexChanged(e){this.__forwardTabIndex(e)}__forwardTabIndex(e){e!==void 0&&this.focusElement&&(this.focusElement.tabIndex=e,e!==-1&&(this.tabindex=void 0)),this.disabled&&e&&(e!==-1&&(this._lastTabIndex=e),this.tabindex=void 0)}});/**
3334
+ */const dr=W(o=>class extends $i(tr(o)){static get properties(){return{autofocus:{type:Boolean},focusElement:{type:Object,readOnly:!0,observer:"_focusElementChanged"},_lastTabIndex:{value:0}}}constructor(){super(),this._boundOnBlur=this._onBlur.bind(this),this._boundOnFocus=this._onFocus.bind(this)}ready(){super.ready(),this.autofocus&&!this.disabled&&requestAnimationFrame(()=>{this.focus(),this.setAttribute("focus-ring","")})}focus(){this.focusElement&&!this.disabled&&this.focusElement.focus()}blur(){this.focusElement&&this.focusElement.blur()}click(){this.focusElement&&!this.disabled&&this.focusElement.click()}_focusElementChanged(e,i){e?(e.disabled=this.disabled,this._addFocusListeners(e),this.__forwardTabIndex(this.tabindex)):i&&this._removeFocusListeners(i)}_addFocusListeners(e){e.addEventListener("blur",this._boundOnBlur),e.addEventListener("focus",this._boundOnFocus)}_removeFocusListeners(e){e.removeEventListener("blur",this._boundOnBlur),e.removeEventListener("focus",this._boundOnFocus)}_onFocus(e){e.stopPropagation(),this.dispatchEvent(new Event("focus"))}_onBlur(e){e.stopPropagation(),this.dispatchEvent(new Event("blur"))}_shouldSetFocus(e){return e.target===this.focusElement}_shouldRemoveFocus(e){return e.target===this.focusElement}_disabledChanged(e,i){super._disabledChanged(e,i),this.focusElement&&(this.focusElement.disabled=e),e&&this.blur()}_tabindexChanged(e){this.__forwardTabIndex(e)}__forwardTabIndex(e){e!==void 0&&this.focusElement&&(this.focusElement.tabIndex=e,e!==-1&&(this.tabindex=void 0)),this.disabled&&e&&(e!==-1&&(this._lastTabIndex=e),this.tabindex=void 0)}});/**
3335
3335
  * @license
3336
3336
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
3337
3337
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3338
- */const Kt=new WeakMap;function Od(o){return Kt.has(o)||Kt.set(o,new Set),Kt.get(o)}function Id(o,t){const e=document.createElement("style");e.textContent=o,t===document?document.head.appendChild(e):t.insertBefore(e,t.firstChild)}const Nd=W(o=>class extends o{get slotStyles(){return{}}connectedCallback(){super.connectedCallback(),this.__applySlotStyles()}__applySlotStyles(){const e=this.getRootNode(),i=Od(e);this.slotStyles.forEach(s=>{i.has(s)||(Id(s,e),i.add(s))})}});/**
3338
+ */const Kt=new WeakMap;function Oc(o){return Kt.has(o)||Kt.set(o,new Set),Kt.get(o)}function Ic(o,t){const e=document.createElement("style");e.textContent=o,t===document?document.head.appendChild(e):t.insertBefore(e,t.firstChild)}const Nc=W(o=>class extends o{get slotStyles(){return{}}connectedCallback(){super.connectedCallback(),this.__applySlotStyles()}__applySlotStyles(){const e=this.getRootNode(),i=Oc(e);this.slotStyles.forEach(s=>{i.has(s)||(Ic(s,e),i.add(s))})}});/**
3339
3339
  * @license
3340
3340
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
3341
3341
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -3343,39 +3343,39 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3343
3343
  * @license
3344
3344
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
3345
3345
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3346
- */const zd=o=>class extends ur(Ot(o)){static get properties(){return{clearButtonVisible:{type:Boolean,reflectToAttribute:!0,value:!1}}}get clearElement(){return console.warn(`Please implement the 'clearElement' property in <${this.localName}>`),null}ready(){super.ready(),this.clearElement&&(this.clearElement.addEventListener("mousedown",e=>this._onClearButtonMouseDown(e)),this.clearElement.addEventListener("click",e=>this._onClearButtonClick(e)))}_onClearButtonClick(e){e.preventDefault(),this._onClearAction()}_onClearButtonMouseDown(e){e.preventDefault(),el||this.inputElement.focus()}_onEscape(e){super._onEscape(e),this.clearButtonVisible&&this.value&&!this.readonly&&(e.stopPropagation(),this._onClearAction())}_onClearAction(){this._inputElementValue="",this.inputElement.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),this.inputElement.dispatchEvent(new Event("change",{bubbles:!0}))}};/**
3346
+ */const zc=o=>class extends ur(Ot(o)){static get properties(){return{clearButtonVisible:{type:Boolean,reflectToAttribute:!0,value:!1}}}get clearElement(){return console.warn(`Please implement the 'clearElement' property in <${this.localName}>`),null}ready(){super.ready(),this.clearElement&&(this.clearElement.addEventListener("mousedown",e=>this._onClearButtonMouseDown(e)),this.clearElement.addEventListener("click",e=>this._onClearButtonClick(e)))}_onClearButtonClick(e){e.preventDefault(),this._onClearAction()}_onClearButtonMouseDown(e){e.preventDefault(),el||this.inputElement.focus()}_onEscape(e){super._onEscape(e),this.clearButtonVisible&&this.value&&!this.readonly&&(e.stopPropagation(),this._onClearAction())}_onClearAction(){this._inputElementValue="",this.inputElement.dispatchEvent(new Event("input",{bubbles:!0,composed:!0})),this.inputElement.dispatchEvent(new Event("change",{bubbles:!0}))}};/**
3347
3347
  * @license
3348
3348
  * Copyright (c) 2023 - 2024 Vaadin Ltd.
3349
3349
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3350
- */const Xt=new Map;function ji(o){return Xt.has(o)||Xt.set(o,new WeakMap),Xt.get(o)}function hr(o,t){o&&o.removeAttribute(t)}function pr(o,t){if(!o||!t)return;const e=ji(t);if(e.has(o))return;const i=Ii(o.getAttribute(t));e.set(o,new Set(i))}function Fd(o,t){if(!o)return;const e=ji(t),i=e.get(o);!i||i.size===0?o.removeAttribute(t):Ys(o,t,Mt(i)),e.delete(o)}function Jt(o,t,e={newId:null,oldId:null,fromUser:!1}){if(!o||!t)return;const{newId:i,oldId:s,fromUser:r}=e,n=ji(t),a=n.get(o);if(!r&&a){s&&a.delete(s),i&&a.add(i);return}r&&(a?i||n.delete(o):pr(o,t),hr(o,t)),ul(o,t,s);const l=i||Mt(a);l&&Ys(o,t,l)}function Ld(o,t){pr(o,t),hr(o,t)}/**
3350
+ */const Xt=new Map;function ji(o){return Xt.has(o)||Xt.set(o,new WeakMap),Xt.get(o)}function hr(o,t){o&&o.removeAttribute(t)}function pr(o,t){if(!o||!t)return;const e=ji(t);if(e.has(o))return;const i=Ii(o.getAttribute(t));e.set(o,new Set(i))}function Fc(o,t){if(!o)return;const e=ji(t),i=e.get(o);!i||i.size===0?o.removeAttribute(t):Ys(o,t,Mt(i)),e.delete(o)}function Jt(o,t,e={newId:null,oldId:null,fromUser:!1}){if(!o||!t)return;const{newId:i,oldId:s,fromUser:r}=e,n=ji(t),a=n.get(o);if(!r&&a){s&&a.delete(s),i&&a.add(i);return}r&&(a?i||n.delete(o):pr(o,t),hr(o,t)),ul(o,t,s);const l=i||Mt(a);l&&Ys(o,t,l)}function Lc(o,t){pr(o,t),hr(o,t)}/**
3351
3351
  * @license
3352
3352
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
3353
3353
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3354
- */class $d{constructor(t){this.host=t,this.__required=!1}setTarget(t){this.__target=t,this.__setAriaRequiredAttribute(this.__required),this.__setLabelIdToAriaAttribute(this.__labelId,this.__labelId),this.__labelIdFromUser!=null&&this.__setLabelIdToAriaAttribute(this.__labelIdFromUser,this.__labelIdFromUser,!0),this.__setErrorIdToAriaAttribute(this.__errorId),this.__setHelperIdToAriaAttribute(this.__helperId),this.setAriaLabel(this.__label)}setRequired(t){this.__setAriaRequiredAttribute(t),this.__required=t}setAriaLabel(t){this.__setAriaLabelToAttribute(t),this.__label=t}setLabelId(t,e=!1){const i=e?this.__labelIdFromUser:this.__labelId;this.__setLabelIdToAriaAttribute(t,i,e),e?this.__labelIdFromUser=t:this.__labelId=t}setErrorId(t){this.__setErrorIdToAriaAttribute(t,this.__errorId),this.__errorId=t}setHelperId(t){this.__setHelperIdToAriaAttribute(t,this.__helperId),this.__helperId=t}__setAriaLabelToAttribute(t){this.__target&&(t?(Ld(this.__target,"aria-labelledby"),this.__target.setAttribute("aria-label",t)):this.__label&&(Fd(this.__target,"aria-labelledby"),this.__target.removeAttribute("aria-label")))}__setLabelIdToAriaAttribute(t,e,i){Jt(this.__target,"aria-labelledby",{newId:t,oldId:e,fromUser:i})}__setErrorIdToAriaAttribute(t,e){Jt(this.__target,"aria-describedby",{newId:t,oldId:e,fromUser:!1})}__setHelperIdToAriaAttribute(t,e){Jt(this.__target,"aria-describedby",{newId:t,oldId:e,fromUser:!1})}__setAriaRequiredAttribute(t){this.__target&&(["input","textarea"].includes(this.__target.localName)||(t?this.__target.setAttribute("aria-required","true"):this.__target.removeAttribute("aria-required")))}}/**
3354
+ */class $c{constructor(t){this.host=t,this.__required=!1}setTarget(t){this.__target=t,this.__setAriaRequiredAttribute(this.__required),this.__setLabelIdToAriaAttribute(this.__labelId,this.__labelId),this.__labelIdFromUser!=null&&this.__setLabelIdToAriaAttribute(this.__labelIdFromUser,this.__labelIdFromUser,!0),this.__setErrorIdToAriaAttribute(this.__errorId),this.__setHelperIdToAriaAttribute(this.__helperId),this.setAriaLabel(this.__label)}setRequired(t){this.__setAriaRequiredAttribute(t),this.__required=t}setAriaLabel(t){this.__setAriaLabelToAttribute(t),this.__label=t}setLabelId(t,e=!1){const i=e?this.__labelIdFromUser:this.__labelId;this.__setLabelIdToAriaAttribute(t,i,e),e?this.__labelIdFromUser=t:this.__labelId=t}setErrorId(t){this.__setErrorIdToAriaAttribute(t,this.__errorId),this.__errorId=t}setHelperId(t){this.__setHelperIdToAriaAttribute(t,this.__helperId),this.__helperId=t}__setAriaLabelToAttribute(t){this.__target&&(t?(Lc(this.__target,"aria-labelledby"),this.__target.setAttribute("aria-label",t)):this.__label&&(Fc(this.__target,"aria-labelledby"),this.__target.removeAttribute("aria-label")))}__setLabelIdToAriaAttribute(t,e,i){Jt(this.__target,"aria-labelledby",{newId:t,oldId:e,fromUser:i})}__setErrorIdToAriaAttribute(t,e){Jt(this.__target,"aria-describedby",{newId:t,oldId:e,fromUser:!1})}__setHelperIdToAriaAttribute(t,e){Jt(this.__target,"aria-describedby",{newId:t,oldId:e,fromUser:!1})}__setAriaRequiredAttribute(t){this.__target&&(["input","textarea"].includes(this.__target.localName)||(t?this.__target.setAttribute("aria-required","true"):this.__target.removeAttribute("aria-required")))}}/**
3355
3355
  * @license
3356
3356
  * Copyright (c) 2022 - 2024 Vaadin Ltd.
3357
3357
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3358
- */const le=document.createElement("div");le.style.position="fixed";le.style.clip="rect(0px, 0px, 0px, 0px)";le.setAttribute("aria-live","polite");document.body.appendChild(le);let mt;function Rd(o,t={}){const e=t.mode||"polite",i=t.timeout===void 0?150:t.timeout;e==="alert"?(le.removeAttribute("aria-live"),le.removeAttribute("role"),mt=Re.debounce(mt,Dl,()=>{le.setAttribute("role","alert")})):(mt&&mt.cancel(),le.removeAttribute("role"),le.setAttribute("aria-live",e)),le.textContent="",setTimeout(()=>{le.textContent=o},i)}/**
3358
+ */const le=document.createElement("div");le.style.position="fixed";le.style.clip="rect(0px, 0px, 0px, 0px)";le.setAttribute("aria-live","polite");document.body.appendChild(le);let mt;function Rc(o,t={}){const e=t.mode||"polite",i=t.timeout===void 0?150:t.timeout;e==="alert"?(le.removeAttribute("aria-live"),le.removeAttribute("role"),mt=Re.debounce(mt,Dl,()=>{le.setAttribute("role","alert")})):(mt&&mt.cancel(),le.removeAttribute("role"),le.setAttribute("aria-live",e)),le.textContent="",setTimeout(()=>{le.textContent=o},i)}/**
3359
3359
  * @license
3360
3360
  * Copyright (c) 2022 - 2024 Vaadin Ltd.
3361
3361
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3362
- */class Yi extends Se{constructor(t,e,i,s={}){super(t,e,i,It(dt({},s),{useUniqueId:!0}))}initCustomNode(t){this.__updateNodeId(t),this.__notifyChange(t)}teardownNode(t){const e=this.getSlotChild();e&&e!==this.defaultNode?this.__notifyChange(e):(this.restoreDefaultNode(),this.updateDefaultNode(this.node))}attachDefaultNode(){const t=super.attachDefaultNode();return t&&this.__updateNodeId(t),t}restoreDefaultNode(){}updateDefaultNode(t){this.__notifyChange(t)}observeNode(t){this.__nodeObserver&&this.__nodeObserver.disconnect(),this.__nodeObserver=new MutationObserver(e=>{e.forEach(i=>{const s=i.target,r=s===this.node;i.type==="attributes"?r&&this.__updateNodeId(s):(r||s.parentElement===this.node)&&this.__notifyChange(this.node)})}),this.__nodeObserver.observe(t,{attributes:!0,attributeFilter:["id"],childList:!0,subtree:!0,characterData:!0})}__hasContent(t){return t?t.nodeType===Node.ELEMENT_NODE&&(customElements.get(t.localName)||t.children.length>0)||t.textContent&&t.textContent.trim()!=="":!1}__notifyChange(t){this.dispatchEvent(new CustomEvent("slot-content-changed",{detail:{hasContent:this.__hasContent(t),node:t}}))}__updateNodeId(t){const e=!this.nodes||t===this.nodes[0];t.nodeType===Node.ELEMENT_NODE&&(!this.multiple||e)&&!t.id&&(t.id=this.defaultId)}}/**
3362
+ */class Yi extends Se{constructor(t,e,i,s={}){super(t,e,i,It(ct({},s),{useUniqueId:!0}))}initCustomNode(t){this.__updateNodeId(t),this.__notifyChange(t)}teardownNode(t){const e=this.getSlotChild();e&&e!==this.defaultNode?this.__notifyChange(e):(this.restoreDefaultNode(),this.updateDefaultNode(this.node))}attachDefaultNode(){const t=super.attachDefaultNode();return t&&this.__updateNodeId(t),t}restoreDefaultNode(){}updateDefaultNode(t){this.__notifyChange(t)}observeNode(t){this.__nodeObserver&&this.__nodeObserver.disconnect(),this.__nodeObserver=new MutationObserver(e=>{e.forEach(i=>{const s=i.target,r=s===this.node;i.type==="attributes"?r&&this.__updateNodeId(s):(r||s.parentElement===this.node)&&this.__notifyChange(this.node)})}),this.__nodeObserver.observe(t,{attributes:!0,attributeFilter:["id"],childList:!0,subtree:!0,characterData:!0})}__hasContent(t){return t?t.nodeType===Node.ELEMENT_NODE&&(customElements.get(t.localName)||t.children.length>0)||t.textContent&&t.textContent.trim()!=="":!1}__notifyChange(t){this.dispatchEvent(new CustomEvent("slot-content-changed",{detail:{hasContent:this.__hasContent(t),node:t}}))}__updateNodeId(t){const e=!this.nodes||t===this.nodes[0];t.nodeType===Node.ELEMENT_NODE&&(!this.multiple||e)&&!t.id&&(t.id=this.defaultId)}}/**
3363
3363
  * @license
3364
3364
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
3365
3365
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3366
- */class Hd extends Yi{constructor(t){super(t,"error-message","div")}setErrorMessage(t){this.errorMessage=t,this.updateDefaultNode(this.node)}setInvalid(t){this.invalid=t,this.updateDefaultNode(this.node)}initAddedNode(t){t!==this.defaultNode&&this.initCustomNode(t)}initNode(t){this.updateDefaultNode(t)}initCustomNode(t){t.textContent&&!this.errorMessage&&(this.errorMessage=t.textContent.trim()),super.initCustomNode(t)}restoreDefaultNode(){this.attachDefaultNode()}updateDefaultNode(t){const{errorMessage:e,invalid:i}=this,s=!!(i&&e&&e.trim()!=="");t&&(t.textContent=s?e:"",t.hidden=!s,s&&Rd(e,{mode:"assertive"})),super.updateDefaultNode(t)}}/**
3366
+ */class Hc extends Yi{constructor(t){super(t,"error-message","div")}setErrorMessage(t){this.errorMessage=t,this.updateDefaultNode(this.node)}setInvalid(t){this.invalid=t,this.updateDefaultNode(this.node)}initAddedNode(t){t!==this.defaultNode&&this.initCustomNode(t)}initNode(t){this.updateDefaultNode(t)}initCustomNode(t){t.textContent&&!this.errorMessage&&(this.errorMessage=t.textContent.trim()),super.initCustomNode(t)}restoreDefaultNode(){this.attachDefaultNode()}updateDefaultNode(t){const{errorMessage:e,invalid:i}=this,s=!!(i&&e&&e.trim()!=="");t&&(t.textContent=s?e:"",t.hidden=!s,s&&Rc(e,{mode:"assertive"})),super.updateDefaultNode(t)}}/**
3367
3367
  * @license
3368
3368
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
3369
3369
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3370
- */class Bd extends Yi{constructor(t){super(t,"helper",null)}setHelperText(t){this.helperText=t,this.getSlotChild()||this.restoreDefaultNode(),this.node===this.defaultNode&&this.updateDefaultNode(this.node)}restoreDefaultNode(){const{helperText:t}=this;if(t&&t.trim()!==""){this.tagName="div";const e=this.attachDefaultNode();this.observeNode(e)}}updateDefaultNode(t){t&&(t.textContent=this.helperText),super.updateDefaultNode(t)}initCustomNode(t){super.initCustomNode(t),this.observeNode(t)}}/**
3370
+ */class Bc extends Yi{constructor(t){super(t,"helper",null)}setHelperText(t){this.helperText=t,this.getSlotChild()||this.restoreDefaultNode(),this.node===this.defaultNode&&this.updateDefaultNode(this.node)}restoreDefaultNode(){const{helperText:t}=this;if(t&&t.trim()!==""){this.tagName="div";const e=this.attachDefaultNode();this.observeNode(e)}}updateDefaultNode(t){t&&(t.textContent=this.helperText),super.updateDefaultNode(t)}initCustomNode(t){super.initCustomNode(t),this.observeNode(t)}}/**
3371
3371
  * @license
3372
3372
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
3373
3373
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3374
- */class Vd extends Yi{constructor(t){super(t,"label","label")}setLabel(t){this.label=t,this.getSlotChild()||this.restoreDefaultNode(),this.node===this.defaultNode&&this.updateDefaultNode(this.node)}restoreDefaultNode(){const{label:t}=this;if(t&&t.trim()!==""){const e=this.attachDefaultNode();this.observeNode(e)}}updateDefaultNode(t){t&&(t.textContent=this.label),super.updateDefaultNode(t)}initCustomNode(t){super.initCustomNode(t),this.observeNode(t)}}/**
3374
+ */class Vc extends Yi{constructor(t){super(t,"label","label")}setLabel(t){this.label=t,this.getSlotChild()||this.restoreDefaultNode(),this.node===this.defaultNode&&this.updateDefaultNode(this.node)}restoreDefaultNode(){const{label:t}=this;if(t&&t.trim()!==""){const e=this.attachDefaultNode();this.observeNode(e)}}updateDefaultNode(t){t&&(t.textContent=this.label),super.updateDefaultNode(t)}initCustomNode(t){super.initCustomNode(t),this.observeNode(t)}}/**
3375
3375
  * @license
3376
3376
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
3377
3377
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3378
- */const jd=W(o=>class extends Ve(o){static get properties(){return{label:{type:String,observer:"_labelChanged"}}}constructor(){super(),this._labelController=new Vd(this),this._labelController.addEventListener("slot-content-changed",e=>{this.toggleAttribute("has-label",e.detail.hasContent)})}get _labelId(){const e=this._labelNode;return e&&e.id}get _labelNode(){return this._labelController.node}ready(){super.ready(),this.addController(this._labelController)}_labelChanged(e){this._labelController.setLabel(e)}});/**
3378
+ */const jc=W(o=>class extends Ve(o){static get properties(){return{label:{type:String,observer:"_labelChanged"}}}constructor(){super(),this._labelController=new Vc(this),this._labelController.addEventListener("slot-content-changed",e=>{this.toggleAttribute("has-label",e.detail.hasContent)})}get _labelId(){const e=this._labelNode;return e&&e.id}get _labelNode(){return this._labelController.node}ready(){super.ready(),this.addController(this._labelController)}_labelChanged(e){this._labelController.setLabel(e)}});/**
3379
3379
  * @license
3380
3380
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
3381
3381
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
@@ -3383,19 +3383,19 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3383
3383
  * @license
3384
3384
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
3385
3385
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3386
- */const Yd=o=>class extends fr(jd(Ve(o))){static get properties(){return{ariaTarget:{type:Object,observer:"_ariaTargetChanged"},errorMessage:{type:String,observer:"_errorMessageChanged"},helperText:{type:String,observer:"_helperTextChanged"},accessibleName:{type:String,observer:"_accessibleNameChanged"},accessibleNameRef:{type:String,observer:"_accessibleNameRefChanged"}}}static get observers(){return["_invalidChanged(invalid)","_requiredChanged(required)"]}constructor(){super(),this._fieldAriaController=new $d(this),this._helperController=new Bd(this),this._errorController=new Hd(this),this._errorController.addEventListener("slot-content-changed",e=>{this.toggleAttribute("has-error-message",e.detail.hasContent)}),this._labelController.addEventListener("slot-content-changed",e=>{const{hasContent:i,node:s}=e.detail;this.__labelChanged(i,s)}),this._helperController.addEventListener("slot-content-changed",e=>{const{hasContent:i,node:s}=e.detail;this.toggleAttribute("has-helper",i),this.__helperChanged(i,s)})}get _errorNode(){return this._errorController.node}get _helperNode(){return this._helperController.node}ready(){super.ready(),this.addController(this._fieldAriaController),this.addController(this._helperController),this.addController(this._errorController)}__helperChanged(e,i){e?this._fieldAriaController.setHelperId(i.id):this._fieldAriaController.setHelperId(null)}_accessibleNameChanged(e){this._fieldAriaController.setAriaLabel(e)}_accessibleNameRefChanged(e){this._fieldAriaController.setLabelId(e,!0)}__labelChanged(e,i){e?this._fieldAriaController.setLabelId(i.id):this._fieldAriaController.setLabelId(null)}_errorMessageChanged(e){this._errorController.setErrorMessage(e)}_helperTextChanged(e){this._helperController.setHelperText(e)}_ariaTargetChanged(e){e&&this._fieldAriaController.setTarget(e)}_requiredChanged(e){this._fieldAriaController.setRequired(e)}_invalidChanged(e){this._errorController.setInvalid(e),setTimeout(()=>{if(e){const i=this._errorNode;this._fieldAriaController.setErrorId(i&&i.id)}else this._fieldAriaController.setErrorId(null)})}};/**
3386
+ */const Yc=o=>class extends fr(jc(Ve(o))){static get properties(){return{ariaTarget:{type:Object,observer:"_ariaTargetChanged"},errorMessage:{type:String,observer:"_errorMessageChanged"},helperText:{type:String,observer:"_helperTextChanged"},accessibleName:{type:String,observer:"_accessibleNameChanged"},accessibleNameRef:{type:String,observer:"_accessibleNameRefChanged"}}}static get observers(){return["_invalidChanged(invalid)","_requiredChanged(required)"]}constructor(){super(),this._fieldAriaController=new $c(this),this._helperController=new Bc(this),this._errorController=new Hc(this),this._errorController.addEventListener("slot-content-changed",e=>{this.toggleAttribute("has-error-message",e.detail.hasContent)}),this._labelController.addEventListener("slot-content-changed",e=>{const{hasContent:i,node:s}=e.detail;this.__labelChanged(i,s)}),this._helperController.addEventListener("slot-content-changed",e=>{const{hasContent:i,node:s}=e.detail;this.toggleAttribute("has-helper",i),this.__helperChanged(i,s)})}get _errorNode(){return this._errorController.node}get _helperNode(){return this._helperController.node}ready(){super.ready(),this.addController(this._fieldAriaController),this.addController(this._helperController),this.addController(this._errorController)}__helperChanged(e,i){e?this._fieldAriaController.setHelperId(i.id):this._fieldAriaController.setHelperId(null)}_accessibleNameChanged(e){this._fieldAriaController.setAriaLabel(e)}_accessibleNameRefChanged(e){this._fieldAriaController.setLabelId(e,!0)}__labelChanged(e,i){e?this._fieldAriaController.setLabelId(i.id):this._fieldAriaController.setLabelId(null)}_errorMessageChanged(e){this._errorController.setErrorMessage(e)}_helperTextChanged(e){this._helperController.setHelperText(e)}_ariaTargetChanged(e){e&&this._fieldAriaController.setTarget(e)}_requiredChanged(e){this._fieldAriaController.setRequired(e)}_invalidChanged(e){this._errorController.setInvalid(e),setTimeout(()=>{if(e){const i=this._errorNode;this._fieldAriaController.setErrorId(i&&i.id)}else this._fieldAriaController.setErrorId(null)})}};/**
3387
3387
  * @license
3388
3388
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
3389
3389
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3390
- */const Ud=W(o=>class extends o{static get properties(){return{stateTarget:{type:Object,observer:"_stateTargetChanged"}}}static get delegateAttrs(){return[]}static get delegateProps(){return[]}ready(){super.ready(),this._createDelegateAttrsObserver(),this._createDelegatePropsObserver()}_stateTargetChanged(e){e&&(this._ensureAttrsDelegated(),this._ensurePropsDelegated())}_createDelegateAttrsObserver(){this._createMethodObserver(`_delegateAttrsChanged(${this.constructor.delegateAttrs.join(", ")})`)}_createDelegatePropsObserver(){this._createMethodObserver(`_delegatePropsChanged(${this.constructor.delegateProps.join(", ")})`)}_ensureAttrsDelegated(){this.constructor.delegateAttrs.forEach(e=>{this._delegateAttribute(e,this[e])})}_ensurePropsDelegated(){this.constructor.delegateProps.forEach(e=>{this._delegateProperty(e,this[e])})}_delegateAttrsChanged(...e){this.constructor.delegateAttrs.forEach((i,s)=>{this._delegateAttribute(i,e[s])})}_delegatePropsChanged(...e){this.constructor.delegateProps.forEach((i,s)=>{this._delegateProperty(i,e[s])})}_delegateAttribute(e,i){this.stateTarget&&(e==="invalid"&&this._delegateAttribute("aria-invalid",i?"true":!1),typeof i=="boolean"?this.stateTarget.toggleAttribute(e,i):i?this.stateTarget.setAttribute(e,i):this.stateTarget.removeAttribute(e))}_delegateProperty(e,i){this.stateTarget&&(this.stateTarget[e]=i)}});/**
3390
+ */const Uc=W(o=>class extends o{static get properties(){return{stateTarget:{type:Object,observer:"_stateTargetChanged"}}}static get delegateAttrs(){return[]}static get delegateProps(){return[]}ready(){super.ready(),this._createDelegateAttrsObserver(),this._createDelegatePropsObserver()}_stateTargetChanged(e){e&&(this._ensureAttrsDelegated(),this._ensurePropsDelegated())}_createDelegateAttrsObserver(){this._createMethodObserver(`_delegateAttrsChanged(${this.constructor.delegateAttrs.join(", ")})`)}_createDelegatePropsObserver(){this._createMethodObserver(`_delegatePropsChanged(${this.constructor.delegateProps.join(", ")})`)}_ensureAttrsDelegated(){this.constructor.delegateAttrs.forEach(e=>{this._delegateAttribute(e,this[e])})}_ensurePropsDelegated(){this.constructor.delegateProps.forEach(e=>{this._delegateProperty(e,this[e])})}_delegateAttrsChanged(...e){this.constructor.delegateAttrs.forEach((i,s)=>{this._delegateAttribute(i,e[s])})}_delegatePropsChanged(...e){this.constructor.delegateProps.forEach((i,s)=>{this._delegateProperty(i,e[s])})}_delegateAttribute(e,i){this.stateTarget&&(e==="invalid"&&this._delegateAttribute("aria-invalid",i?"true":!1),typeof i=="boolean"?this.stateTarget.toggleAttribute(e,i):i?this.stateTarget.setAttribute(e,i):this.stateTarget.removeAttribute(e))}_delegateProperty(e,i){this.stateTarget&&(this.stateTarget[e]=i)}});/**
3391
3391
  * @license
3392
3392
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
3393
3393
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3394
- */const mr=W(o=>class extends Ud(fr(ur(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._requestValidation():r&&!this.manualValidation&&this._setInvalid(!1),this.__previousHasConstraints=s}_onChange(e){e.stopPropagation(),this._requestValidation(),this.dispatchEvent(new CustomEvent("change",{detail:{sourceEvent:e},bubbles:e.bubbles,cancelable:e.cancelable}))}__isValidConstraint(e){return!!e||e===0}});/**
3394
+ */const mr=W(o=>class extends Uc(fr(ur(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._requestValidation():r&&!this.manualValidation&&this._setInvalid(!1),this.__previousHasConstraints=s}_onChange(e){e.stopPropagation(),this._requestValidation(),this.dispatchEvent(new CustomEvent("change",{detail:{sourceEvent:e},bubbles:e.bubbles,cancelable:e.cancelable}))}__isValidConstraint(e){return!!e||e===0}});/**
3395
3395
  * @license
3396
3396
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
3397
3397
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3398
- */const Wd=o=>class extends Nd(cr(mr(Yd(zd(Ot(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[`
3398
+ */const Wc=o=>class extends Nc(dr(mr(Yc(zc(Ot(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[`
3399
3399
  :is(input[slot='input'], textarea[slot='textarea'])::placeholder {
3400
3400
  font: inherit;
3401
3401
  color: inherit;
@@ -3404,15 +3404,15 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3404
3404
  * @license
3405
3405
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
3406
3406
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3407
- */class qd extends Se{constructor(t,e,i={}){const{uniqueIdPrefix:s}=i;super(t,"input","input",{initializer:(r,n)=>{n.value&&(r.value=n.value),n.type&&r.setAttribute("type",n.type),r.id=this.defaultId,typeof e=="function"&&e(r)},useUniqueId:!0,uniqueIdPrefix:s})}}/**
3407
+ */class qc extends Se{constructor(t,e,i={}){const{uniqueIdPrefix:s}=i;super(t,"input","input",{initializer:(r,n)=>{n.value&&(r.value=n.value),n.type&&r.setAttribute("type",n.type),r.id=this.defaultId,typeof e=="function"&&e(r)},useUniqueId:!0,uniqueIdPrefix:s})}}/**
3408
3408
  * @license
3409
3409
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
3410
3410
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3411
- */class Gd{constructor(t,e){this.input=t,this.__preventDuplicateLabelClick=this.__preventDuplicateLabelClick.bind(this),e.addEventListener("slot-content-changed",i=>{this.__initLabel(i.detail.node)}),this.__initLabel(e.node)}__initLabel(t){t&&(t.addEventListener("click",this.__preventDuplicateLabelClick),this.input&&t.setAttribute("for",this.input.id))}__preventDuplicateLabelClick(){const t=e=>{e.stopImmediatePropagation(),this.input.removeEventListener("click",t)};this.input.addEventListener("click",t)}}/**
3411
+ */class Gc{constructor(t,e){this.input=t,this.__preventDuplicateLabelClick=this.__preventDuplicateLabelClick.bind(this),e.addEventListener("slot-content-changed",i=>{this.__initLabel(i.detail.node)}),this.__initLabel(e.node)}__initLabel(t){t&&(t.addEventListener("click",this.__preventDuplicateLabelClick),this.input&&t.setAttribute("for",this.input.id))}__preventDuplicateLabelClick(){const t=e=>{e.stopImmediatePropagation(),this.input.removeEventListener("click",t)};this.input.addEventListener("click",t)}}/**
3412
3412
  * @license
3413
3413
  * Copyright (c) 2021 - 2024 Vaadin Ltd..
3414
3414
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3415
- */const Kd=P`
3415
+ */const Kc=P`
3416
3416
  [part='clear-button'] {
3417
3417
  display: none;
3418
3418
  cursor: default;
@@ -3429,7 +3429,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3429
3429
  * @license
3430
3430
  * Copyright (c) 2021 - 2024 Vaadin Ltd..
3431
3431
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3432
- */const Xd=P`
3432
+ */const Xc=P`
3433
3433
  :host {
3434
3434
  display: inline-flex;
3435
3435
  outline: none;
@@ -3467,7 +3467,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3467
3467
  * @license
3468
3468
  * Copyright (c) 2021 - 2024 Vaadin Ltd..
3469
3469
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3470
- */const Jd=P`
3470
+ */const Jc=P`
3471
3471
  [class$='container'] {
3472
3472
  display: flex;
3473
3473
  flex-direction: column;
@@ -3479,23 +3479,23 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3479
3479
  * @license
3480
3480
  * Copyright (c) 2021 - 2024 Vaadin Ltd..
3481
3481
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3482
- */const Qd=[Xd,Jd,Kd];/**
3482
+ */const Qc=[Xc,Jc,Kc];/**
3483
3483
  * @license
3484
3484
  * Copyright (c) 2023 - 2024 Vaadin Ltd.
3485
3485
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3486
- */const Zd=o=>class extends o{static get properties(){return{overlayClass:{type:String},_overlayElement:{type:Object}}}static get observers(){return["__updateOverlayClassNames(overlayClass, _overlayElement)"]}__updateOverlayClassNames(e,i){if(!i||e===void 0)return;const{classList:s}=i;if(this.__initialClasses||(this.__initialClasses=new Set(s)),Array.isArray(this.__previousClasses)){const n=this.__previousClasses.filter(a=>!this.__initialClasses.has(a));n.length>0&&s.remove(...n)}const r=typeof e=="string"?e.split(" ").filter(Boolean):[];r.length>0&&s.add(...r),this.__previousClasses=r}};/**
3486
+ */const Zc=o=>class extends o{static get properties(){return{overlayClass:{type:String},_overlayElement:{type:Object}}}static get observers(){return["__updateOverlayClassNames(overlayClass, _overlayElement)"]}__updateOverlayClassNames(e,i){if(!i||e===void 0)return;const{classList:s}=i;if(this.__initialClasses||(this.__initialClasses=new Set(s)),Array.isArray(this.__previousClasses)){const n=this.__previousClasses.filter(a=>!this.__initialClasses.has(a));n.length>0&&s.remove(...n)}const r=typeof e=="string"?e.split(" ").filter(Boolean):[];r.length>0&&s.add(...r),this.__previousClasses=r}};/**
3487
3487
  * @license
3488
3488
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
3489
3489
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3490
- */class ec{constructor(t){this.host=t,t.addEventListener("opened-changed",()=>{t.opened||this.__setVirtualKeyboardEnabled(!1)}),t.addEventListener("blur",()=>this.__setVirtualKeyboardEnabled(!0)),t.addEventListener("touchstart",()=>this.__setVirtualKeyboardEnabled(!0))}__setVirtualKeyboardEnabled(t){this.host.inputElement&&(this.host.inputElement.inputMode=t?"":"none")}}/**
3490
+ */class ed{constructor(t){this.host=t,t.addEventListener("opened-changed",()=>{t.opened||this.__setVirtualKeyboardEnabled(!1)}),t.addEventListener("blur",()=>this.__setVirtualKeyboardEnabled(!0)),t.addEventListener("touchstart",()=>this.__setVirtualKeyboardEnabled(!0))}__setVirtualKeyboardEnabled(t){this.host.inputElement&&(this.host.inputElement.inputMode=t?"":"none")}}/**
3491
3491
  * @license
3492
3492
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
3493
3493
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3494
- */const tc=Object.freeze({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(o){const t=String(o.year).replace(/\d+/u,e=>"0000".substr(e.length)+e);return[o.month+1,o.day,t].join("/")},parseDate(o){const t=o.split("/"),e=new Date;let i,s=e.getMonth(),r=e.getFullYear();if(t.length===3){if(s=parseInt(t[0])-1,i=parseInt(t[1]),r=parseInt(t[2]),t[2].length<3&&r>=0){const n=this.referenceDate?Ke(this.referenceDate):new Date;r=td(n,r,s,i)}}else t.length===2?(s=parseInt(t[0])-1,i=parseInt(t[1])):t.length===1&&(i=parseInt(t[0]));if(i!==void 0)return{day:i,month:s,year:r}},formatTitle:(o,t)=>`${o} ${t}`}),ic=o=>class extends Zd(Ve(cr(mr(Ot(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:{type:Boolean,sync:!0},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:()=>dt({},tc)},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:Bs},_focusOverlayOnOpen:Boolean,_overlayContent:{type:Object,sync:!0},__enteredDate:{type:Date,sync:!0}}}static get observers(){return["_selectedDateChanged(_selectedDate, i18n)","_focusedDateChanged(_focusedDate, i18n)","__updateOverlayContent(_overlayContent, i18n, label, _minDate, _maxDate, _focusedDate, _selectedDate, showWeekNumbers, isDateDisabled, __enteredDate)","__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;const i=this.__parseDate(e);this.__setEnteredDate(i)}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&&!Oi()&&e.target.blur()}_onBlur(e){super._onBlur(e),this.opened||(this.__commitParsedOrFocusedDate(),document.hasFocus()&&this._requestValidation())}ready(){super.ready(),this.addEventListener("click",this._boundOnClick),this.addController(new dr(this._fullscreenMediaQuery,i=>{this._fullscreen=i})),this.addController(new ec(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=Ke(`${i.year}-${i.month+1}-${i.day}`)),i&&!isNaN(i.getTime()))return i}__formatDate(e){if(this.i18n.formatDate)return this.i18n.formatDate(Ri(e))}checkValidity(){const e=this._inputElementValue,i=!e||!!this._selectedDate&&e===this.__formatDate(this._selectedDate),s=!this._selectedDate||He(this._selectedDate,this._minDate,this._maxDate,this.isDateDisabled);let r=!0;return this.inputElement&&this.inputElement.checkValidity&&(r=this.inputElement.checkValidity()),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._requestValidation(),this.dispatchEvent(new CustomEvent("change",{bubbles:!0}))):this.__committedUnparsableValue!==e&&(this._requestValidation(),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 od(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=Ke(e);if(e&&!s){this.value=i;return}e?ae(this._selectedDate,s)||(this._selectedDate=s,i!==void 0&&this._requestValidation()):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,h){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,e.enteredDate=h)}__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=Ke(this.initialPosition),i=this._selectedDate||this._overlayContent.initialPosition||e||new Date;return e||He(i,this._minDate,this._maxDate,this.isDateDisabled)?i:this._minDate||this._maxDate?ir(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._requestValidation()}_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(){!this.opened&&this._inputElementValue&&!this.autoOpenDisabled&&this.open();const e=this.__parseDate(this._inputElementValue||"");e&&(this._ignoreFocusedDateChange=!0,ae(e,this._focusedDate)||(this._focusedDate=e),this._ignoreFocusedDateChange=!1),this.__setEnteredDate(e)}__setEnteredDate(e){e?ae(this.__enteredDate,e)||(this.__enteredDate=e):this.__enteredDate!=null&&(this.__enteredDate=null)}__computeMinOrMaxDate(e){return Ke(e)}};/**
3494
+ */const td=Object.freeze({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(o){const t=String(o.year).replace(/\d+/u,e=>"0000".substr(e.length)+e);return[o.month+1,o.day,t].join("/")},parseDate(o){const t=o.split("/"),e=new Date;let i,s=e.getMonth(),r=e.getFullYear();if(t.length===3){if(s=parseInt(t[0])-1,i=parseInt(t[1]),r=parseInt(t[2]),t[2].length<3&&r>=0){const n=this.referenceDate?Ke(this.referenceDate):new Date;r=tc(n,r,s,i)}}else t.length===2?(s=parseInt(t[0])-1,i=parseInt(t[1])):t.length===1&&(i=parseInt(t[0]));if(i!==void 0)return{day:i,month:s,year:r}},formatTitle:(o,t)=>`${o} ${t}`}),id=o=>class extends Zc(Ve(dr(mr(Ot(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:{type:Boolean,sync:!0},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:()=>ct({},td)},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:Bs},_focusOverlayOnOpen:Boolean,_overlayContent:{type:Object,sync:!0},__enteredDate:{type:Date,sync:!0}}}static get observers(){return["_selectedDateChanged(_selectedDate, i18n)","_focusedDateChanged(_focusedDate, i18n)","__updateOverlayContent(_overlayContent, i18n, label, _minDate, _maxDate, _focusedDate, _selectedDate, showWeekNumbers, isDateDisabled, __enteredDate)","__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;const i=this.__parseDate(e);this.__setEnteredDate(i)}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&&!Oi()&&e.target.blur()}_onBlur(e){super._onBlur(e),this.opened||(this.__commitParsedOrFocusedDate(),document.hasFocus()&&this._requestValidation())}ready(){super.ready(),this.addEventListener("click",this._boundOnClick),this.addController(new cr(this._fullscreenMediaQuery,i=>{this._fullscreen=i})),this.addController(new ed(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=Ke(`${i.year}-${i.month+1}-${i.day}`)),i&&!isNaN(i.getTime()))return i}__formatDate(e){if(this.i18n.formatDate)return this.i18n.formatDate(Ri(e))}checkValidity(){const e=this._inputElementValue,i=!e||!!this._selectedDate&&e===this.__formatDate(this._selectedDate),s=!this._selectedDate||He(this._selectedDate,this._minDate,this._maxDate,this.isDateDisabled);let r=!0;return this.inputElement&&this.inputElement.checkValidity&&(r=this.inputElement.checkValidity()),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._requestValidation(),this.dispatchEvent(new CustomEvent("change",{bubbles:!0}))):this.__committedUnparsableValue!==e&&(this._requestValidation(),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 oc(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=Ke(e);if(e&&!s){this.value=i;return}e?ae(this._selectedDate,s)||(this._selectedDate=s,i!==void 0&&this._requestValidation()):this._selectedDate=null,this.__keepCommittedValue||(this.__committedValue=this.value,this.__committedUnparsableValue=""),this._toggleHasValue(this._hasValue)}__updateOverlayContent(e,i,s,r,n,a,l,c,u,h){e&&(e.i18n=i,e.label=s,e.minDate=r,e.maxDate=n,e.focusedDate=a,e.selectedDate=l,e.showWeekNumbers=c,e.isDateDisabled=u,e.enteredDate=h)}__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=Ke(this.initialPosition),i=this._selectedDate||this._overlayContent.initialPosition||e||new Date;return e||He(i,this._minDate,this._maxDate,this.isDateDisabled)?i:this._minDate||this._maxDate?ir(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._requestValidation()}_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(){!this.opened&&this._inputElementValue&&!this.autoOpenDisabled&&this.open();const e=this.__parseDate(this._inputElementValue||"");e&&(this._ignoreFocusedDateChange=!0,ae(e,this._focusedDate)||(this._focusedDate=e),this._ignoreFocusedDateChange=!1),this.__setEnteredDate(e)}__setEnteredDate(e){e?ae(this.__enteredDate,e)||(this.__enteredDate=e):this.__enteredDate!=null&&(this.__enteredDate=null)}__computeMinOrMaxDate(e){return Ke(e)}};/**
3495
3495
  * @license
3496
3496
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
3497
3497
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3498
- */const oc=P`
3498
+ */const od=P`
3499
3499
  :host([opened]) {
3500
3500
  pointer-events: auto;
3501
3501
  }
@@ -3512,7 +3512,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3512
3512
  * @license
3513
3513
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
3514
3514
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3515
- */U("vaadin-date-picker",[Qd,oc],{moduleId:"vaadin-date-picker-styles"});class sc extends ic(Wd(Pe(qs(ye)))){static get is(){return"vaadin-date-picker"}static get template(){return Te`
3515
+ */U("vaadin-date-picker",[Qc,od],{moduleId:"vaadin-date-picker-styles"});class sd extends id(Wc(Pe(qs(ye)))){static get is(){return"vaadin-date-picker"}static get template(){return Te`
3516
3516
  <div class="vaadin-date-picker-container">
3517
3517
  <div part="label">
3518
3518
  <slot name="label"></slot>
@@ -3554,4 +3554,4 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
3554
3554
  ></vaadin-date-picker-overlay>
3555
3555
 
3556
3556
  <slot name="tooltip"></slot>
3557
- `}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new qd(this,e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e},{uniqueIdPrefix:"search-input"})),this.addController(new Gd(this.inputElement,this._labelController)),this._tooltipController=new Ks(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}}he(sc);var _r={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",f="quarter",p="year",b="date",M="Invalid Date",O=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,N=/\[([^\]]+)]|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,I={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(x){var g=["th","st","nd","rd"],m=x%100;return"["+x+(g[(m-20)%10]||g[m]||g[0])+"]"}},B=function(x,g,m){var y=String(x);return!y||y.length>=g?x:""+Array(g+1-y.length).join(m)+x},j={s:B,z:function(x){var g=-x.utcOffset(),m=Math.abs(g),y=Math.floor(m/60),_=m%60;return(g<=0?"+":"-")+B(y,2,"0")+":"+B(_,2,"0")},m:function x(g,m){if(g.date()<m.date())return-x(m,g);var y=12*(m.year()-g.year())+(m.month()-g.month()),_=g.clone().add(y,h),E=m-_<0,w=g.clone().add(y+(E?-1:1),h);return+(-(y+(m-_)/(E?_-w:w-_))||0)},a:function(x){return x<0?Math.ceil(x)||0:Math.floor(x)},p:function(x){return{M:h,y:p,w:u,d,D:b,h:l,m:a,s:n,ms:r,Q:f}[x]||String(x||"").toLowerCase().replace(/s$/,"")},u:function(x){return x===void 0}},L="en",Q={};Q[L]=I;var de="$isDayjsObject",oe=function(x){return x instanceof Z||!(!x||!x[de])},se=function x(g,m,y){var _;if(!g)return L;if(typeof g=="string"){var E=g.toLowerCase();Q[E]&&(_=E),m&&(Q[E]=m,_=E);var w=g.split("-");if(!_&&w.length>1)return x(w[0])}else{var C=g.name;Q[C]=g,_=C}return!y&&_&&(L=_),_||!y&&L},D=function(x,g){if(oe(x))return x.clone();var m=typeof g=="object"?g:{};return m.date=x,m.args=arguments,new Z(m)},A=j;A.l=se,A.i=oe,A.w=function(x,g){return D(x,{locale:g.$L,utc:g.$u,x:g.$x,$offset:g.$offset})};var Z=function(){function x(m){this.$L=se(m.locale,null,!0),this.parse(m),this.$x=this.$x||m.x||{},this[de]=!0}var g=x.prototype;return g.parse=function(m){this.$d=function(y){var _=y.date,E=y.utc;if(_===null)return new Date(NaN);if(A.u(_))return new Date;if(_ instanceof Date)return new Date(_);if(typeof _=="string"&&!/Z$/i.test(_)){var w=_.match(O);if(w){var C=w[2]-1||0,z=(w[7]||"0").substring(0,3);return E?new Date(Date.UTC(w[1],C,w[3]||1,w[4]||0,w[5]||0,w[6]||0,z)):new Date(w[1],C,w[3]||1,w[4]||0,w[5]||0,w[6]||0,z)}}return new Date(_)}(m),this.init()},g.init=function(){var m=this.$d;this.$y=m.getFullYear(),this.$M=m.getMonth(),this.$D=m.getDate(),this.$W=m.getDay(),this.$H=m.getHours(),this.$m=m.getMinutes(),this.$s=m.getSeconds(),this.$ms=m.getMilliseconds()},g.$utils=function(){return A},g.isValid=function(){return this.$d.toString()!==M},g.isSame=function(m,y){var _=D(m);return this.startOf(y)<=_&&_<=this.endOf(y)},g.isAfter=function(m,y){return D(m)<this.startOf(y)},g.isBefore=function(m,y){return this.endOf(y)<D(m)},g.$g=function(m,y,_){return A.u(m)?this[y]:this.set(_,m)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(m,y){var _=this,E=!!A.u(y)||y,w=A.p(m),C=function(J,k){var R=A.w(_.$u?Date.UTC(_.$y,k,J):new Date(_.$y,k,J),_);return E?R:R.endOf(d)},z=function(J,k){return A.w(_.toDate()[J].apply(_.toDate("s"),(E?[0,0,0,0]:[23,59,59,999]).slice(k)),_)},$=this.$W,H=this.$M,G=this.$D,re="set"+(this.$u?"UTC":"");switch(w){case p:return E?C(1,0):C(31,11);case h:return E?C(1,H):C(0,H+1);case u:var ne=this.$locale().weekStart||0,ee=($<ne?$+7:$)-ne;return C(E?G-ee:G+(6-ee),H);case d:case b:return z(re+"Hours",0);case l:return z(re+"Minutes",1);case a:return z(re+"Seconds",2);case n:return z(re+"Milliseconds",3);default:return this.clone()}},g.endOf=function(m){return this.startOf(m,!1)},g.$set=function(m,y){var _,E=A.p(m),w="set"+(this.$u?"UTC":""),C=(_={},_[d]=w+"Date",_[b]=w+"Date",_[h]=w+"Month",_[p]=w+"FullYear",_[l]=w+"Hours",_[a]=w+"Minutes",_[n]=w+"Seconds",_[r]=w+"Milliseconds",_)[E],z=E===d?this.$D+(y-this.$W):y;if(E===h||E===p){var $=this.clone().set(b,1);$.$d[C](z),$.init(),this.$d=$.set(b,Math.min(this.$D,$.daysInMonth())).$d}else C&&this.$d[C](z);return this.init(),this},g.set=function(m,y){return this.clone().$set(m,y)},g.get=function(m){return this[A.p(m)]()},g.add=function(m,y){var _,E=this;m=Number(m);var w=A.p(y),C=function(H){var G=D(E);return A.w(G.date(G.date()+Math.round(H*m)),E)};if(w===h)return this.set(h,this.$M+m);if(w===p)return this.set(p,this.$y+m);if(w===d)return C(1);if(w===u)return C(7);var z=(_={},_[a]=i,_[l]=s,_[n]=e,_)[w]||1,$=this.$d.getTime()+m*z;return A.w($,this)},g.subtract=function(m,y){return this.add(-1*m,y)},g.format=function(m){var y=this,_=this.$locale();if(!this.isValid())return _.invalidDate||M;var E=m||"YYYY-MM-DDTHH:mm:ssZ",w=A.z(this),C=this.$H,z=this.$m,$=this.$M,H=_.weekdays,G=_.months,re=_.meridiem,ne=function(k,R,v,V){return k&&(k[R]||k(y,E))||v[R].slice(0,V)},ee=function(k){return A.s(C%12||12,k,"0")},J=re||function(k,R,v){var V=k<12?"AM":"PM";return v?V.toLowerCase():V};return E.replace(N,function(k,R){return R||function(v){switch(v){case"YY":return String(y.$y).slice(-2);case"YYYY":return A.s(y.$y,4,"0");case"M":return $+1;case"MM":return A.s($+1,2,"0");case"MMM":return ne(_.monthsShort,$,G,3);case"MMMM":return ne(G,$);case"D":return y.$D;case"DD":return A.s(y.$D,2,"0");case"d":return String(y.$W);case"dd":return ne(_.weekdaysMin,y.$W,H,2);case"ddd":return ne(_.weekdaysShort,y.$W,H,3);case"dddd":return H[y.$W];case"H":return String(C);case"HH":return A.s(C,2,"0");case"h":return ee(1);case"hh":return ee(2);case"a":return J(C,z,!0);case"A":return J(C,z,!1);case"m":return String(z);case"mm":return A.s(z,2,"0");case"s":return String(y.$s);case"ss":return A.s(y.$s,2,"0");case"SSS":return A.s(y.$ms,3,"0");case"Z":return w}return null}(k)||w.replace(":","")})},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(m,y,_){var E,w=this,C=A.p(y),z=D(m),$=(z.utcOffset()-this.utcOffset())*i,H=this-z,G=function(){return A.m(w,z)};switch(C){case p:E=G()/12;break;case h:E=G();break;case f:E=G()/3;break;case u:E=(H-$)/6048e5;break;case d:E=(H-$)/864e5;break;case l:E=H/s;break;case a:E=H/i;break;case n:E=H/e;break;default:E=H}return _?E:A.a(E)},g.daysInMonth=function(){return this.endOf(h).$D},g.$locale=function(){return Q[this.$L]},g.locale=function(m,y){if(!m)return this.$L;var _=this.clone(),E=se(m,y,!0);return E&&(_.$L=E),_},g.clone=function(){return A.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},x}(),xe=Z.prototype;return D.prototype=xe,[["$ms",r],["$s",n],["$m",a],["$H",l],["$W",d],["$M",h],["$y",p],["$D",b]].forEach(function(x){xe[x[1]]=function(g){return this.$g(g,x[0],x[1])}}),D.extend=function(x,g){return x.$i||(x(g,Z,D),x.$i=!0),D},D.locale=se,D.isDayjs=oe,D.unix=function(x){return D(1e3*x)},D.en=Q[L],D.Ls=Q,D.p={},D})})(_r);var rc=_r.exports;const bt=c.getDefaultExportFromCjs(rc);function zo(o,t){c.addMessages(o,t)}function nc(o){c.$locale.set(o)}const Fo={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",confirmationModalTextPeriod:"Are you sure you want to self-exclude for {period}?",confirmationModalTextUntil:"Are you sure you want to self-exclude until {date}?"},"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:"直到",confirmationModalTitle:"確認",confirmationModalTextPeriod:"您確定要自我排除 {period} 嗎?",confirmationModalTextUntil:"您確定要自我排除直到 {date} 嗎?"},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'à",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} ?"},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",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}?"},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",confirmationModalTitle:"Confirmación",confirmationModalTextPeriod:"¿Estás seguro de que deseas autoexcluirte por {period}?",confirmationModalTextUntil:"¿Estás seguro de que deseas autoexcluirte hasta {date}?"},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é",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}?"},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",confirmationModalTitle:"Potvrda",confirmationModalTextPeriod:"Jeste li sigurni da se želite samoisključiti na {period}?",confirmationModalTextUntil:"Jeste li sigurni da se želite samoisključiti do {date}?"},"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é",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}?"},"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",confirmationModalTitle:"Confirmación",confirmationModalTextPeriod:"¿Estás seguro de que deseas autoexcluirte por {period}?",confirmationModalTextUntil:"¿Estás seguro de que deseas autoexcluirte hasta {date}?"},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",confirmationModalTitle:"Onay",confirmationModalTextPeriod:"{period} için kendinizi hariç tutmak istediğinizden emin misiniz?",confirmationModalTextUntil:"{date} tarihine kadar kendinizi hariç tutmak istediğinizden emin misiniz?"}};function ac(o){c.append_styles(o,"svelte-1pt7zoa",'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}.SelfExclusionWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;border-radius:20px;max-width:760px}.SelfExclusionWrapper.SelfExclusionWrapperMobile{padding:20px 15px;max-width:unset}.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)}.SelfExclusionDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.SelfExclusionDescription.SelfExclusionDescriptionMobile{font-size:var(--emw--font-size-x-small, 12px);line-height:19px}.SelfExclusionDescription .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionConfigWrapper{width:50%;height:100%;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, 20px);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, 20px) var(--emw--border-radius-medium, 20px)}.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-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-gray-150, #828282) 80%, black 20%), var(--emw--color-gray-150, #828282), color-mix(in srgb, var(--emw--color-gray-150, #828282) 80%, white 30%));border:2px solid var(--emw--color-black, #000000);border-radius:50px;padding:30px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF)}.SelfExclusionActionButtons .SelfExclusionSave.active{cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924)}.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}')}function Lo(o,t,e){const i=o.slice();return i[47]=t[e],i}function lc(o){let t,e,i,s,r,n,a,l,d,u,h=o[18]("titleSelfExclusion")+"",f,p,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"),f=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,O){c.insert(M,t,O),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,f),p||(b=c.listen(t,"click",o[28]),p=!0)},p(M,O){O[0]&262144&&h!==(h=M[18]("titleSelfExclusion")+"")&&c.set_data(f,h)},d(M){M&&c.detach(t),p=!1,b()}}}function $o(o){let t,e=o[18](`${o[47].key}`)+"",i,s,r;function n(){return o[30](o[47])}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]&262400&&e!==(e=o[18](`${o[47].key}`)+"")&&c.set_data(i,e)},d(a){a&&c.detach(t),s=!1,r()}}}function Ro(o){let t,e,i=o[18]("duration")+"",s,r,n,a=o[18]("dateInstructions")+"",l,d,u,h,f;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"),u.innerHTML="MM/DD/YYYY<strong></strong>",h=c.space(),f=c.element("vaadin-date-picker"),c.attr(e,"for","SelfExclusionDate"),c.attr(n,"class","SelfExclusionDateInstructions"),c.set_custom_element_data(f,"min",o[9]),c.set_custom_element_data(f,"max",o[10]),c.set_custom_element_data(f,"value",o[9]),c.attr(t,"class","SelfExclusionDateWrapper "+(o[19]?"SelfExclusionDateWrapperMobile":""))},m(p,b){c.insert(p,t,b),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(t,h),c.append(t,f),o[31](f)},p(p,b){b[0]&262144&&i!==(i=p[18]("duration")+"")&&c.set_data(s,i),b[0]&262144&&a!==(a=p[18]("dateInstructions")+"")&&c.set_data(l,a),b[0]&512&&c.set_custom_element_data(f,"min",p[9]),b[0]&1024&&c.set_custom_element_data(f,"max",p[10]),b[0]&512&&c.set_custom_element_data(f,"value",p[9])},d(p){p&&c.detach(t),o[31](null)}}}function dc(o){let t,e,i=o[18]("temporarySelfExclusion",{values:{date:o[11]}})+"",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]&264192&&i!==(i=r[18]("temporarySelfExclusion",{values:{date:r[11]}})+"")&&c.set_data(s,i)},d(r){r&&c.detach(t)}}}function cc(o){let t,e,i=o[18]("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]&262144&&i!==(i=r[18]("noPeriodSelected")+"")&&c.set_data(s,i)},d(r){r&&c.detach(t)}}}function uc(o){let t,e,i=o[18]("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]&262144&&i!==(i=r[18]("permanentSelfExclusion")+"")&&c.set_data(s,i)},d(r){r&&c.detach(t)}}}function hc(o){let t,e,i,s;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[18]("confirmationModalTitle")),c.set_custom_element_data(e,"modaltext",o[13]),c.set_custom_element_data(e,"hascancelbutton",!1),c.set_custom_element_data(e,"modalconfirmevent",s={type:"SetSelfExclusion",selfExclusionPeriod:o[12],selfExclusionExpiryDate:o[11]}),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,"showmodaleventname","ShowSelfExclusionConfirmationModal")},m(r,n){c.insert(r,t,n),c.append(t,e)},p(r,n){n[0]&262144&&i!==(i=r[18]("confirmationModalTitle"))&&c.set_custom_element_data(e,"modaltitle",i),n[0]&8192&&c.set_custom_element_data(e,"modaltext",r[13]),n[0]&6144&&s!==(s={type:"SetSelfExclusion",selfExclusionPeriod:r[12],selfExclusionExpiryDate:r[11]})&&c.set_custom_element_data(e,"modalconfirmevent",s),n[0]&1&&c.set_custom_element_data(e,"lang",r[0]),n[0]&16&&c.set_custom_element_data(t,"clientstyling",r[4]),n[0]&32&&c.set_custom_element_data(t,"clientstylingurl",r[5])},d(r){r&&c.detach(t)}}}function pc(o){let t,e,i,s,r=o[18]("titleSelfExclusion")+"",n,a,l,d,u=o[18]("selfExclusionText",{values:{operatorname:o[1],baseurl:o[3],lang:o[0]}})+"",h,f,p=o[18]("selfExclusionEmailText")+"",b,M,O,N,I,B,j,L,Q,de=o[18](`${o[12]}`)+"",oe,se,D,A,Z,xe,x,g,m,y,_,E,w,C=o[18]("save")+"",z,$,H,G,re,ne,ee=o[19]&&lc(o),J=c.ensure_array_like(o[8]),k=[];for(let S=0;S<J.length;S+=1)k[S]=$o(Lo(o,J,S));let R=o[15]&&Ro(o);function v(S,Y){return S[14]?uc:S[16]?dc:cc}let V=v(o),F=V(o),ce=o[20]&&hc(o);return{c(){t=c.element("div"),e=c.element("form"),ee&&ee.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(),f=c.element("p"),b=c.text(p),M=c.space(),O=c.element("a"),N=c.text(o[2]),B=c.space(),j=c.element("div"),L=c.element("div"),Q=c.element("p"),oe=c.text(de),se=c.space(),D=c.svg_element("svg"),A=c.svg_element("g"),Z=c.svg_element("path"),xe=c.space(),x=c.element("div");for(let S=0;S<k.length;S+=1)k[S].c();g=c.space(),R&&R.c(),m=c.space(),y=c.element("div"),F.c(),_=c.space(),E=c.element("div"),w=c.element("button"),z=c.text(C),G=c.space(),ce&&ce.c(),c.attr(s,"class","PlayerSelfExclusionTitle "+(o[19]?"PlayerSelfExclusionTitleNone":"")),c.attr(d,"class","SelfExclusionDescriptionText"),c.attr(O,"href",I="mailto:"+o[2]),c.attr(f,"class","SelfExclusionDescriptionText"),c.attr(l,"class","SelfExclusionDescription "+(o[19]?"SelfExclusionDescriptionMobile":"")),c.attr(Z,"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(Z,"stroke-linecap","round"),c.attr(D,"xmlns","http://www.w3.org/2000/svg"),c.attr(D,"xmlns:xlink","http://www.w3.org/1999/xlink"),c.attr(D,"version","1.1"),c.attr(D,"viewBox","0 0 100 100"),c.attr(D,"xml:space","preserve"),c.attr(D,"class","SelfExclusionConfigIcon"),c.toggle_class(D,"active",o[17]),c.attr(L,"class","SelfExclusionConfigLabel"),c.attr(x,"class","SelfExclusionDropDown"),c.toggle_class(x,"active",o[17]),c.attr(j,"class","SelfExclusionConfigWrapper "+(o[19]?"SelfExclusionConfigWrapperMobile":"")),c.toggle_class(j,"active",o[17]),c.attr(y,"class","SelfExclusionDescription "+(o[19]?"SelfExclusionDescriptionMobile":"")),c.attr(w,"class",$="SelfExclusionSave "+(o[16]?"active":"")),w.disabled=H=!o[16],c.attr(E,"class","SelfExclusionActionButtons "+(o[19]?"SelfExclusionActionButtonsMobile":"")),c.attr(e,"class","SelfExclusionWrapper "+(o[19]?"SelfExclusionWrapperMobile":""))},m(S,Y){c.insert(S,t,Y),c.append(t,e),ee&&ee.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,f),c.append(f,b),c.append(f,M),c.append(f,O),c.append(O,N),c.append(e,B),c.append(e,j),c.append(j,L),c.append(L,Q),c.append(Q,oe),c.append(L,se),c.append(L,D),c.append(D,A),c.append(A,Z),c.append(j,xe),c.append(j,x);for(let K=0;K<k.length;K+=1)k[K]&&k[K].m(x,null);c.append(e,g),R&&R.m(e,null),c.append(e,m),c.append(e,y),F.m(y,null),c.append(e,_),c.append(e,E),c.append(E,w),c.append(w,z),c.append(t,G),ce&&ce.m(t,null),o[33](t),re||(ne=[c.listen(L,"click",o[29]),c.listen(w,"click",o[32])],re=!0)},p(S,Y){if(S[19]&&ee.p(S,Y),Y[0]&262144&&r!==(r=S[18]("titleSelfExclusion")+"")&&c.set_data(n,r),Y[0]&262155&&u!==(u=S[18]("selfExclusionText",{values:{operatorname:S[1],baseurl:S[3],lang:S[0]}})+"")&&(d.innerHTML=u),Y[0]&262144&&p!==(p=S[18]("selfExclusionEmailText")+"")&&c.set_data(b,p),Y[0]&4&&c.set_data(N,S[2]),Y[0]&4&&I!==(I="mailto:"+S[2])&&c.attr(O,"href",I),Y[0]&266240&&de!==(de=S[18](`${S[12]}`)+"")&&c.set_data(oe,de),Y[0]&131072&&c.toggle_class(D,"active",S[17]),Y[0]&4456704){J=c.ensure_array_like(S[8]);let K;for(K=0;K<J.length;K+=1){const Ui=Lo(S,J,K);k[K]?k[K].p(Ui,Y):(k[K]=$o(Ui),k[K].c(),k[K].m(x,null))}for(;K<k.length;K+=1)k[K].d(1);k.length=J.length}Y[0]&131072&&c.toggle_class(x,"active",S[17]),Y[0]&131072&&c.toggle_class(j,"active",S[17]),S[15]?R?R.p(S,Y):(R=Ro(S),R.c(),R.m(e,m)):R&&(R.d(1),R=null),V===(V=v(S))&&F?F.p(S,Y):(F.d(1),F=V(S),F&&(F.c(),F.m(y,null))),Y[0]&262144&&C!==(C=S[18]("save")+"")&&c.set_data(z,C),Y[0]&65536&&$!==($="SelfExclusionSave "+(S[16]?"active":""))&&c.attr(w,"class",$),Y[0]&65536&&H!==(H=!S[16])&&(w.disabled=H),S[20]&&ce.p(S,Y)},i:c.noop,o:c.noop,d(S){S&&c.detach(t),ee&&ee.d(),c.destroy_each(k,S),R&&R.d(),F.d(),ce&&ce.d(),o[33](null),re=!1,c.run_all(ne)}}}function fc(o,t,e){let i;c.component_subscribe(o,c.$format,v=>e(18,i=v));let{endpoint:s="",lang:r="en",operator:n="Everymatrix",supportemail:a="",baseurl:l="",clientstyling:d="",clientstylingurl:u="",translationurl:h="",hasconfirmationmodal:f="false"}=t,p,b,M=[],O=window.navigator.userAgent,N,I,B="",j="",L="selectAPeriod",Q="",de=c.getDevice(O)!=="PC",oe=!1,se=!1,D=!1,A=!1,Z=f==="true";const xe=()=>{fetch(h).then(V=>V.json()).then(V=>{Object.keys(V).forEach(F=>{zo(F,V[F])})}).catch(V=>{console.log(V)})};Object.keys(Fo).forEach(v=>{zo(v,Fo[v])});const x=()=>{let v=new URL(`${s}/v1/player/selfExclusionSettings`);fetch(v,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(F=>g(F)).then(F=>{e(8,M=F.periods)}).catch(F=>{console.log(F)})},g=v=>{if(v.status>=300)throw new Error("There was an error fetching the config");return v.json()},m=()=>{e(17,A=!A)},y=v=>{switch(j=v.text,e(12,L=v.key),e(16,D=!0),e(17,A=!1),e(14,oe=!1),e(15,se=!1),j){case"Until":e(15,se=!0),e(9,N=bt().add(6,"months").format("YYYY-MM-DD")),e(10,I=bt().add(5,"years").format("YYYY-MM-DD")),e(11,B=N);break;case"Permanent":e(14,oe=!oe);break;default:const[V,F]=j.split(" "),ce=F.includes("Day")?"days":F.includes("Month")?"months":F.includes("Year")?"years":null;if(!ce)return;e(11,B=bt().add(Number(V),ce).format("YYYY-MM-DD"));break}Z&&_()},_=()=>{if(!Z){e(13,Q="");return}e(13,Q=se?i("confirmationModalTextUntil",{values:{date:B}}):i("confirmationModalTextPeriod",{values:{period:i(j)}}))},E=v=>{v.preventDefault(),Z?window.postMessage({type:"ShowSelfExclusionConfirmationModal"},window.location.href):window.postMessage({type:"SetSelfExclusion",selfExclusionPeriod:L,selfExclusionExpiryDate:B},window.location.href)},w=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:de},window.location.href)},C=v=>{e(11,B=v.target.value)},z=()=>{b.addEventListener("change",C,!1)},$=()=>{let v=document.createElement("style");v.innerHTML=d,p.appendChild(v)},H=()=>{let v=new URL(u),V=document.createElement("style");fetch(v.href).then(F=>F.text()).then(F=>{V.innerHTML=F,setTimeout(()=>{p.appendChild(V)},1)})};c.onMount(()=>()=>{b.removeEventListener("change",C)});const G=()=>{nc(r)},re=()=>w(),ne=()=>m(),ee=v=>y(v);function J(v){c.binding_callbacks[v?"unshift":"push"](()=>{b=v,e(7,b)})}const k=v=>E(v);function R(v){c.binding_callbacks[v?"unshift":"push"](()=>{p=v,e(6,p)})}return o.$$set=v=>{"endpoint"in v&&e(25,s=v.endpoint),"lang"in v&&e(0,r=v.lang),"operator"in v&&e(1,n=v.operator),"supportemail"in v&&e(2,a=v.supportemail),"baseurl"in v&&e(3,l=v.baseurl),"clientstyling"in v&&e(4,d=v.clientstyling),"clientstylingurl"in v&&e(5,u=v.clientstylingurl),"translationurl"in v&&e(26,h=v.translationurl),"hasconfirmationmodal"in v&&e(27,f=v.hasconfirmationmodal)},o.$$.update=()=>{o.$$.dirty[0]&128&&b&&z(),o.$$.dirty[0]&33554432&&s&&x(),o.$$.dirty[0]&1&&r&&G(),o.$$.dirty[0]&96&&u&&p&&H(),o.$$.dirty[0]&80&&d&&p&&$(),o.$$.dirty[0]&67108864&&h&&xe()},Z&&_(),[r,n,a,l,d,u,p,b,M,N,I,B,L,Q,oe,se,D,A,i,de,Z,m,y,E,w,s,h,f,re,ne,ee,J,k,R]}class gr extends c.SvelteComponent{constructor(t){super(),c.init(this,t,fc,pc,c.safe_not_equal,{endpoint:25,lang:0,operator:1,supportemail:2,baseurl:3,clientstyling:4,clientstylingurl:5,translationurl:26,hasconfirmationmodal:27},ac,[-1,-1])}get endpoint(){return this.$$.ctx[25]}set endpoint(t){this.$$set({endpoint:t}),c.flush()}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang: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 translationurl(){return this.$$.ctx[26]}set translationurl(t){this.$$set({translationurl:t}),c.flush()}get hasconfirmationmodal(){return this.$$.ctx[27]}set hasconfirmationmodal(t){this.$$set({hasconfirmationmodal:t}),c.flush()}}c.create_custom_element(gr,{endpoint:{},lang:{},operator:{},supportemail:{},baseurl:{},clientstyling:{},clientstylingurl:{},translationurl:{},hasconfirmationmodal:{}},[],[],!0);const mc=Object.freeze(Object.defineProperty({__proto__:null,default:gr},Symbol.toStringTag,{value:"Module"}));exports.PlayerAccountSelfExclusion_ce=mc;exports.dayjs=bt;
3557
+ `}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new qc(this,e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e},{uniqueIdPrefix:"search-input"})),this.addController(new Gc(this.inputElement,this._labelController)),this._tooltipController=new Ks(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}}he(sd);var _r={exports:{}};(function(o,t){(function(e,i){o.exports=i()})(d.commonjsGlobal,function(){var e=1e3,i=6e4,s=36e5,r="millisecond",n="second",a="minute",l="hour",c="day",u="week",h="month",f="quarter",p="year",b="date",M="Invalid Date",O=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,N=/\[([^\]]+)]|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,I={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(x){var g=["th","st","nd","rd"],m=x%100;return"["+x+(g[(m-20)%10]||g[m]||g[0])+"]"}},B=function(x,g,m){var y=String(x);return!y||y.length>=g?x:""+Array(g+1-y.length).join(m)+x},j={s:B,z:function(x){var g=-x.utcOffset(),m=Math.abs(g),y=Math.floor(m/60),_=m%60;return(g<=0?"+":"-")+B(y,2,"0")+":"+B(_,2,"0")},m:function x(g,m){if(g.date()<m.date())return-x(m,g);var y=12*(m.year()-g.year())+(m.month()-g.month()),_=g.clone().add(y,h),E=m-_<0,w=g.clone().add(y+(E?-1:1),h);return+(-(y+(m-_)/(E?_-w:w-_))||0)},a:function(x){return x<0?Math.ceil(x)||0:Math.floor(x)},p:function(x){return{M:h,y:p,w:u,d:c,D:b,h:l,m:a,s:n,ms:r,Q:f}[x]||String(x||"").toLowerCase().replace(/s$/,"")},u:function(x){return x===void 0}},L="en",Q={};Q[L]=I;var ce="$isDayjsObject",oe=function(x){return x instanceof Z||!(!x||!x[ce])},se=function x(g,m,y){var _;if(!g)return L;if(typeof g=="string"){var E=g.toLowerCase();Q[E]&&(_=E),m&&(Q[E]=m,_=E);var w=g.split("-");if(!_&&w.length>1)return x(w[0])}else{var C=g.name;Q[C]=g,_=C}return!y&&_&&(L=_),_||!y&&L},D=function(x,g){if(oe(x))return x.clone();var m=typeof g=="object"?g:{};return m.date=x,m.args=arguments,new Z(m)},A=j;A.l=se,A.i=oe,A.w=function(x,g){return D(x,{locale:g.$L,utc:g.$u,x:g.$x,$offset:g.$offset})};var Z=function(){function x(m){this.$L=se(m.locale,null,!0),this.parse(m),this.$x=this.$x||m.x||{},this[ce]=!0}var g=x.prototype;return g.parse=function(m){this.$d=function(y){var _=y.date,E=y.utc;if(_===null)return new Date(NaN);if(A.u(_))return new Date;if(_ instanceof Date)return new Date(_);if(typeof _=="string"&&!/Z$/i.test(_)){var w=_.match(O);if(w){var C=w[2]-1||0,z=(w[7]||"0").substring(0,3);return E?new Date(Date.UTC(w[1],C,w[3]||1,w[4]||0,w[5]||0,w[6]||0,z)):new Date(w[1],C,w[3]||1,w[4]||0,w[5]||0,w[6]||0,z)}}return new Date(_)}(m),this.init()},g.init=function(){var m=this.$d;this.$y=m.getFullYear(),this.$M=m.getMonth(),this.$D=m.getDate(),this.$W=m.getDay(),this.$H=m.getHours(),this.$m=m.getMinutes(),this.$s=m.getSeconds(),this.$ms=m.getMilliseconds()},g.$utils=function(){return A},g.isValid=function(){return this.$d.toString()!==M},g.isSame=function(m,y){var _=D(m);return this.startOf(y)<=_&&_<=this.endOf(y)},g.isAfter=function(m,y){return D(m)<this.startOf(y)},g.isBefore=function(m,y){return this.endOf(y)<D(m)},g.$g=function(m,y,_){return A.u(m)?this[y]:this.set(_,m)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(m,y){var _=this,E=!!A.u(y)||y,w=A.p(m),C=function(J,k){var R=A.w(_.$u?Date.UTC(_.$y,k,J):new Date(_.$y,k,J),_);return E?R:R.endOf(c)},z=function(J,k){return A.w(_.toDate()[J].apply(_.toDate("s"),(E?[0,0,0,0]:[23,59,59,999]).slice(k)),_)},$=this.$W,H=this.$M,G=this.$D,re="set"+(this.$u?"UTC":"");switch(w){case p:return E?C(1,0):C(31,11);case h:return E?C(1,H):C(0,H+1);case u:var ne=this.$locale().weekStart||0,ee=($<ne?$+7:$)-ne;return C(E?G-ee:G+(6-ee),H);case c:case b:return z(re+"Hours",0);case l:return z(re+"Minutes",1);case a:return z(re+"Seconds",2);case n:return z(re+"Milliseconds",3);default:return this.clone()}},g.endOf=function(m){return this.startOf(m,!1)},g.$set=function(m,y){var _,E=A.p(m),w="set"+(this.$u?"UTC":""),C=(_={},_[c]=w+"Date",_[b]=w+"Date",_[h]=w+"Month",_[p]=w+"FullYear",_[l]=w+"Hours",_[a]=w+"Minutes",_[n]=w+"Seconds",_[r]=w+"Milliseconds",_)[E],z=E===c?this.$D+(y-this.$W):y;if(E===h||E===p){var $=this.clone().set(b,1);$.$d[C](z),$.init(),this.$d=$.set(b,Math.min(this.$D,$.daysInMonth())).$d}else C&&this.$d[C](z);return this.init(),this},g.set=function(m,y){return this.clone().$set(m,y)},g.get=function(m){return this[A.p(m)]()},g.add=function(m,y){var _,E=this;m=Number(m);var w=A.p(y),C=function(H){var G=D(E);return A.w(G.date(G.date()+Math.round(H*m)),E)};if(w===h)return this.set(h,this.$M+m);if(w===p)return this.set(p,this.$y+m);if(w===c)return C(1);if(w===u)return C(7);var z=(_={},_[a]=i,_[l]=s,_[n]=e,_)[w]||1,$=this.$d.getTime()+m*z;return A.w($,this)},g.subtract=function(m,y){return this.add(-1*m,y)},g.format=function(m){var y=this,_=this.$locale();if(!this.isValid())return _.invalidDate||M;var E=m||"YYYY-MM-DDTHH:mm:ssZ",w=A.z(this),C=this.$H,z=this.$m,$=this.$M,H=_.weekdays,G=_.months,re=_.meridiem,ne=function(k,R,v,V){return k&&(k[R]||k(y,E))||v[R].slice(0,V)},ee=function(k){return A.s(C%12||12,k,"0")},J=re||function(k,R,v){var V=k<12?"AM":"PM";return v?V.toLowerCase():V};return E.replace(N,function(k,R){return R||function(v){switch(v){case"YY":return String(y.$y).slice(-2);case"YYYY":return A.s(y.$y,4,"0");case"M":return $+1;case"MM":return A.s($+1,2,"0");case"MMM":return ne(_.monthsShort,$,G,3);case"MMMM":return ne(G,$);case"D":return y.$D;case"DD":return A.s(y.$D,2,"0");case"d":return String(y.$W);case"dd":return ne(_.weekdaysMin,y.$W,H,2);case"ddd":return ne(_.weekdaysShort,y.$W,H,3);case"dddd":return H[y.$W];case"H":return String(C);case"HH":return A.s(C,2,"0");case"h":return ee(1);case"hh":return ee(2);case"a":return J(C,z,!0);case"A":return J(C,z,!1);case"m":return String(z);case"mm":return A.s(z,2,"0");case"s":return String(y.$s);case"ss":return A.s(y.$s,2,"0");case"SSS":return A.s(y.$ms,3,"0");case"Z":return w}return null}(k)||w.replace(":","")})},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(m,y,_){var E,w=this,C=A.p(y),z=D(m),$=(z.utcOffset()-this.utcOffset())*i,H=this-z,G=function(){return A.m(w,z)};switch(C){case p:E=G()/12;break;case h:E=G();break;case f:E=G()/3;break;case u:E=(H-$)/6048e5;break;case c:E=(H-$)/864e5;break;case l:E=H/s;break;case a:E=H/i;break;case n:E=H/e;break;default:E=H}return _?E:A.a(E)},g.daysInMonth=function(){return this.endOf(h).$D},g.$locale=function(){return Q[this.$L]},g.locale=function(m,y){if(!m)return this.$L;var _=this.clone(),E=se(m,y,!0);return E&&(_.$L=E),_},g.clone=function(){return A.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},x}(),xe=Z.prototype;return D.prototype=xe,[["$ms",r],["$s",n],["$m",a],["$H",l],["$W",c],["$M",h],["$y",p],["$D",b]].forEach(function(x){xe[x[1]]=function(g){return this.$g(g,x[0],x[1])}}),D.extend=function(x,g){return x.$i||(x(g,Z,D),x.$i=!0),D},D.locale=se,D.isDayjs=oe,D.unix=function(x){return D(1e3*x)},D.en=Q[L],D.Ls=Q,D.p={},D})})(_r);var rd=_r.exports;const bt=d.getDefaultExportFromCjs(rd);function zo(o,t){d.addMessages(o,t)}function nd(o){d.$locale.set(o)}const Fo={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",confirmationModalTextPeriod:"Are you sure you want to self-exclude for {period}?",confirmationModalTextUntil:"Are you sure you want to self-exclude until {date}?"},"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:"直到",confirmationModalTitle:"確認",confirmationModalTextPeriod:"您確定要自我排除 {period} 嗎?",confirmationModalTextUntil:"您確定要自我排除直到 {date} 嗎?"},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'à",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} ?"},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",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}?"},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",confirmationModalTitle:"Confirmación",confirmationModalTextPeriod:"¿Estás seguro de que deseas autoexcluirte por {period}?",confirmationModalTextUntil:"¿Estás seguro de que deseas autoexcluirte hasta {date}?"},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é",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}?"},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",confirmationModalTitle:"Potvrda",confirmationModalTextPeriod:"Jeste li sigurni da se želite samoisključiti na {period}?",confirmationModalTextUntil:"Jeste li sigurni da se želite samoisključiti do {date}?"},"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é",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}?"},"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",confirmationModalTitle:"Confirmación",confirmationModalTextPeriod:"¿Estás seguro de que deseas autoexcluirte por {period}?",confirmationModalTextUntil:"¿Estás seguro de que deseas autoexcluirte hasta {date}?"},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",confirmationModalTitle:"Onay",confirmationModalTextPeriod:"{period} için kendinizi hariç tutmak istediğinizden emin misiniz?",confirmationModalTextUntil:"{date} tarihine kadar kendinizi hariç tutmak istediğinizden emin misiniz?"}};function ad(o){d.append_styles(o,"svelte-1pt7zoa",'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}.SelfExclusionWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;border-radius:20px;max-width:760px}.SelfExclusionWrapper.SelfExclusionWrapperMobile{padding:20px 15px;max-width:unset}.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)}.SelfExclusionDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px}.SelfExclusionDescription.SelfExclusionDescriptionMobile{font-size:var(--emw--font-size-x-small, 12px);line-height:19px}.SelfExclusionDescription .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionConfigWrapper{width:50%;height:100%;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, 20px);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, 20px) var(--emw--border-radius-medium, 20px)}.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-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-gray-150, #828282) 80%, black 20%), var(--emw--color-gray-150, #828282), color-mix(in srgb, var(--emw--color-gray-150, #828282) 80%, white 30%));border:2px solid var(--emw--color-black, #000000);border-radius:50px;padding:30px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF)}.SelfExclusionActionButtons .SelfExclusionSave.active{cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924)}.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}')}function Lo(o,t,e){const i=o.slice();return i[47]=t[e],i}function ld(o){let t,e,i,s,r,n,a,l,c,u,h=o[18]("titleSelfExclusion")+"",f,p,b;return{c(){t=d.element("div"),e=d.svg_element("svg"),i=d.svg_element("defs"),s=d.svg_element("style"),r=d.text(".aaa{fill:var(--emw--color-primary, #22B04E);}"),n=d.svg_element("g"),a=d.svg_element("g"),l=d.svg_element("path"),c=d.space(),u=d.element("h2"),f=d.text(h),d.attr(l,"class","aaa"),d.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"),d.attr(l,"transform","translate(15 15) rotate(180)"),d.attr(a,"transform","translate(20 158)"),d.attr(n,"transform","translate(-20 -158)"),d.attr(e,"xmlns","http://www.w3.org/2000/svg"),d.attr(e,"width","15"),d.attr(e,"height","15"),d.attr(e,"viewBox","0 0 15 15"),d.attr(u,"class","PlayerSelfExclusionTitleMobile"),d.attr(t,"class","MenuReturnButton")},m(M,O){d.insert(M,t,O),d.append(t,e),d.append(e,i),d.append(i,s),d.append(s,r),d.append(e,n),d.append(n,a),d.append(a,l),d.append(t,c),d.append(t,u),d.append(u,f),p||(b=d.listen(t,"click",o[28]),p=!0)},p(M,O){O[0]&262144&&h!==(h=M[18]("titleSelfExclusion")+"")&&d.set_data(f,h)},d(M){M&&d.detach(t),p=!1,b()}}}function $o(o){let t,e=o[18](`${o[47].key}`)+"",i,s,r;function n(){return o[30](o[47])}return{c(){t=d.element("div"),i=d.text(e)},m(a,l){d.insert(a,t,l),d.append(t,i),s||(r=d.listen(t,"click",n),s=!0)},p(a,l){o=a,l[0]&262400&&e!==(e=o[18](`${o[47].key}`)+"")&&d.set_data(i,e)},d(a){a&&d.detach(t),s=!1,r()}}}function Ro(o){let t,e,i=o[18]("duration")+"",s,r,n,a=o[18]("dateInstructions")+"",l,c,u,h,f;return{c(){t=d.element("div"),e=d.element("label"),s=d.text(i),r=d.space(),n=d.element("span"),l=d.text(a),c=d.space(),u=d.element("strong"),u.innerHTML="MM/DD/YYYY<strong></strong>",h=d.space(),f=d.element("vaadin-date-picker"),d.attr(e,"for","SelfExclusionDate"),d.attr(n,"class","SelfExclusionDateInstructions"),d.set_custom_element_data(f,"min",o[9]),d.set_custom_element_data(f,"max",o[10]),d.set_custom_element_data(f,"value",o[9]),d.attr(t,"class","SelfExclusionDateWrapper "+(o[19]?"SelfExclusionDateWrapperMobile":""))},m(p,b){d.insert(p,t,b),d.append(t,e),d.append(e,s),d.append(t,r),d.append(t,n),d.append(n,l),d.append(n,c),d.append(n,u),d.append(t,h),d.append(t,f),o[31](f)},p(p,b){b[0]&262144&&i!==(i=p[18]("duration")+"")&&d.set_data(s,i),b[0]&262144&&a!==(a=p[18]("dateInstructions")+"")&&d.set_data(l,a),b[0]&512&&d.set_custom_element_data(f,"min",p[9]),b[0]&1024&&d.set_custom_element_data(f,"max",p[10]),b[0]&512&&d.set_custom_element_data(f,"value",p[9])},d(p){p&&d.detach(t),o[31](null)}}}function cd(o){let t,e,i=o[18]("temporarySelfExclusion",{values:{date:o[11]}})+"",s;return{c(){t=d.element("p"),e=d.element("strong"),s=d.text(i),d.attr(t,"class","SelfExclusionDescriptionText")},m(r,n){d.insert(r,t,n),d.append(t,e),d.append(e,s)},p(r,n){n[0]&264192&&i!==(i=r[18]("temporarySelfExclusion",{values:{date:r[11]}})+"")&&d.set_data(s,i)},d(r){r&&d.detach(t)}}}function dd(o){let t,e,i=o[18]("noPeriodSelected")+"",s;return{c(){t=d.element("p"),e=d.element("strong"),s=d.text(i),d.attr(t,"class","SelfExclusionDescriptionText")},m(r,n){d.insert(r,t,n),d.append(t,e),d.append(e,s)},p(r,n){n[0]&262144&&i!==(i=r[18]("noPeriodSelected")+"")&&d.set_data(s,i)},d(r){r&&d.detach(t)}}}function ud(o){let t,e,i=o[18]("permanentSelfExclusion")+"",s;return{c(){t=d.element("p"),e=d.element("strong"),s=d.text(i),d.attr(t,"class","SelfExclusionDescriptionText")},m(r,n){d.insert(r,t,n),d.append(t,e),d.append(e,s)},p(r,n){n[0]&262144&&i!==(i=r[18]("permanentSelfExclusion")+"")&&d.set_data(s,i)},d(r){r&&d.detach(t)}}}function hd(o){let t,e,i,s;return{c(){t=d.element("player-account-modal"),e=d.element("player-account-general-confirmation-modal"),d.set_custom_element_data(e,"modaltitle",i=o[18]("confirmationModalTitle")),d.set_custom_element_data(e,"modaltext",o[13]),d.set_custom_element_data(e,"hascancelbutton",!1),d.set_custom_element_data(e,"modalconfirmevent",s={type:"SetSelfExclusion",selfExclusionPeriod:o[12],selfExclusionExpiryDate:o[11]}),d.set_custom_element_data(e,"lang",o[0]),d.set_custom_element_data(t,"clientstyling",o[4]),d.set_custom_element_data(t,"clientstylingurl",o[5]),d.set_custom_element_data(t,"showmodaleventname","ShowSelfExclusionConfirmationModal")},m(r,n){d.insert(r,t,n),d.append(t,e)},p(r,n){n[0]&262144&&i!==(i=r[18]("confirmationModalTitle"))&&d.set_custom_element_data(e,"modaltitle",i),n[0]&8192&&d.set_custom_element_data(e,"modaltext",r[13]),n[0]&6144&&s!==(s={type:"SetSelfExclusion",selfExclusionPeriod:r[12],selfExclusionExpiryDate:r[11]})&&d.set_custom_element_data(e,"modalconfirmevent",s),n[0]&1&&d.set_custom_element_data(e,"lang",r[0]),n[0]&16&&d.set_custom_element_data(t,"clientstyling",r[4]),n[0]&32&&d.set_custom_element_data(t,"clientstylingurl",r[5])},d(r){r&&d.detach(t)}}}function pd(o){let t,e,i,s,r=o[18]("titleSelfExclusion")+"",n,a,l,c,u=o[18]("selfExclusionText",{values:{operatorname:o[1],baseurl:o[3],lang:o[0]}})+"",h,f,p=o[18]("selfExclusionEmailText")+"",b,M,O,N,I,B,j,L,Q,ce=o[18](`${o[12]}`)+"",oe,se,D,A,Z,xe,x,g,m,y,_,E,w,C=o[18]("save")+"",z,$,H,G,re,ne,ee=o[19]&&ld(o),J=d.ensure_array_like(o[8]),k=[];for(let S=0;S<J.length;S+=1)k[S]=$o(Lo(o,J,S));let R=o[15]&&Ro(o);function v(S,Y){return S[14]?ud:S[16]?cd:dd}let V=v(o),F=V(o),de=o[20]&&hd(o);return{c(){t=d.element("div"),e=d.element("form"),ee&&ee.c(),i=d.space(),s=d.element("h2"),n=d.text(r),a=d.space(),l=d.element("div"),c=d.element("p"),h=d.space(),f=d.element("p"),b=d.text(p),M=d.space(),O=d.element("a"),N=d.text(o[2]),B=d.space(),j=d.element("div"),L=d.element("div"),Q=d.element("p"),oe=d.text(ce),se=d.space(),D=d.svg_element("svg"),A=d.svg_element("g"),Z=d.svg_element("path"),xe=d.space(),x=d.element("div");for(let S=0;S<k.length;S+=1)k[S].c();g=d.space(),R&&R.c(),m=d.space(),y=d.element("div"),F.c(),_=d.space(),E=d.element("div"),w=d.element("button"),z=d.text(C),G=d.space(),de&&de.c(),d.attr(s,"class","PlayerSelfExclusionTitle "+(o[19]?"PlayerSelfExclusionTitleNone":"")),d.attr(c,"class","SelfExclusionDescriptionText"),d.attr(O,"href",I="mailto:"+o[2]),d.attr(f,"class","SelfExclusionDescriptionText"),d.attr(l,"class","SelfExclusionDescription "+(o[19]?"SelfExclusionDescriptionMobile":"")),d.attr(Z,"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"),d.attr(Z,"stroke-linecap","round"),d.attr(D,"xmlns","http://www.w3.org/2000/svg"),d.attr(D,"xmlns:xlink","http://www.w3.org/1999/xlink"),d.attr(D,"version","1.1"),d.attr(D,"viewBox","0 0 100 100"),d.attr(D,"xml:space","preserve"),d.attr(D,"class","SelfExclusionConfigIcon"),d.toggle_class(D,"active",o[17]),d.attr(L,"class","SelfExclusionConfigLabel"),d.attr(x,"class","SelfExclusionDropDown"),d.toggle_class(x,"active",o[17]),d.attr(j,"class","SelfExclusionConfigWrapper "+(o[19]?"SelfExclusionConfigWrapperMobile":"")),d.toggle_class(j,"active",o[17]),d.attr(y,"class","SelfExclusionDescription "+(o[19]?"SelfExclusionDescriptionMobile":"")),d.attr(w,"class",$="SelfExclusionSave "+(o[16]?"active":"")),w.disabled=H=!o[16],d.attr(E,"class","SelfExclusionActionButtons "+(o[19]?"SelfExclusionActionButtonsMobile":"")),d.attr(e,"class","SelfExclusionWrapper "+(o[19]?"SelfExclusionWrapperMobile":""))},m(S,Y){d.insert(S,t,Y),d.append(t,e),ee&&ee.m(e,null),d.append(e,i),d.append(e,s),d.append(s,n),d.append(e,a),d.append(e,l),d.append(l,c),c.innerHTML=u,d.append(l,h),d.append(l,f),d.append(f,b),d.append(f,M),d.append(f,O),d.append(O,N),d.append(e,B),d.append(e,j),d.append(j,L),d.append(L,Q),d.append(Q,oe),d.append(L,se),d.append(L,D),d.append(D,A),d.append(A,Z),d.append(j,xe),d.append(j,x);for(let K=0;K<k.length;K+=1)k[K]&&k[K].m(x,null);d.append(e,g),R&&R.m(e,null),d.append(e,m),d.append(e,y),F.m(y,null),d.append(e,_),d.append(e,E),d.append(E,w),d.append(w,z),d.append(t,G),de&&de.m(t,null),o[33](t),re||(ne=[d.listen(L,"click",o[29]),d.listen(w,"click",o[32])],re=!0)},p(S,Y){if(S[19]&&ee.p(S,Y),Y[0]&262144&&r!==(r=S[18]("titleSelfExclusion")+"")&&d.set_data(n,r),Y[0]&262155&&u!==(u=S[18]("selfExclusionText",{values:{operatorname:S[1],baseurl:S[3],lang:S[0]}})+"")&&(c.innerHTML=u),Y[0]&262144&&p!==(p=S[18]("selfExclusionEmailText")+"")&&d.set_data(b,p),Y[0]&4&&d.set_data(N,S[2]),Y[0]&4&&I!==(I="mailto:"+S[2])&&d.attr(O,"href",I),Y[0]&266240&&ce!==(ce=S[18](`${S[12]}`)+"")&&d.set_data(oe,ce),Y[0]&131072&&d.toggle_class(D,"active",S[17]),Y[0]&4456704){J=d.ensure_array_like(S[8]);let K;for(K=0;K<J.length;K+=1){const Ui=Lo(S,J,K);k[K]?k[K].p(Ui,Y):(k[K]=$o(Ui),k[K].c(),k[K].m(x,null))}for(;K<k.length;K+=1)k[K].d(1);k.length=J.length}Y[0]&131072&&d.toggle_class(x,"active",S[17]),Y[0]&131072&&d.toggle_class(j,"active",S[17]),S[15]?R?R.p(S,Y):(R=Ro(S),R.c(),R.m(e,m)):R&&(R.d(1),R=null),V===(V=v(S))&&F?F.p(S,Y):(F.d(1),F=V(S),F&&(F.c(),F.m(y,null))),Y[0]&262144&&C!==(C=S[18]("save")+"")&&d.set_data(z,C),Y[0]&65536&&$!==($="SelfExclusionSave "+(S[16]?"active":""))&&d.attr(w,"class",$),Y[0]&65536&&H!==(H=!S[16])&&(w.disabled=H),S[20]&&de.p(S,Y)},i:d.noop,o:d.noop,d(S){S&&d.detach(t),ee&&ee.d(),d.destroy_each(k,S),R&&R.d(),F.d(),de&&de.d(),o[33](null),re=!1,d.run_all(ne)}}}function fd(o,t,e){let i;d.component_subscribe(o,d.$format,v=>e(18,i=v));let{endpoint:s="",lang:r="en",operator:n="Everymatrix",supportemail:a="",baseurl:l="",clientstyling:c="",clientstylingurl:u="",translationurl:h="",hasconfirmationmodal:f="false"}=t,p,b,M=[],O=window.navigator.userAgent,N,I,B="",j="",L="selectAPeriod",Q="",ce=d.getDevice(O)!=="PC",oe=!1,se=!1,D=!1,A=!1,Z=f==="true";const xe=()=>{fetch(h).then(V=>V.json()).then(V=>{Object.keys(V).forEach(F=>{zo(F,V[F])})}).catch(V=>{console.log(V)})};Object.keys(Fo).forEach(v=>{zo(v,Fo[v])});const x=()=>{let v=new URL(`${s}/v1/player/selfExclusionSettings`);fetch(v,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(F=>g(F)).then(F=>{e(8,M=F.periods)}).catch(F=>{console.log(F)})},g=v=>{if(v.status>=300)throw new Error("There was an error fetching the config");return v.json()},m=()=>{e(17,A=!A)},y=v=>{switch(j=v.text,e(12,L=v.key),e(16,D=!0),e(17,A=!1),e(14,oe=!1),e(15,se=!1),j){case"Until":e(15,se=!0),e(9,N=bt().add(6,"months").format("YYYY-MM-DD")),e(10,I=bt().add(5,"years").format("YYYY-MM-DD")),e(11,B=N);break;case"Permanent":e(14,oe=!oe);break;default:const[V,F]=j.split(" "),de=F.includes("Day")?"days":F.includes("Month")?"months":F.includes("Year")?"years":null;if(!de)return;e(11,B=bt().add(Number(V),de).format("YYYY-MM-DD"));break}Z&&_()},_=()=>{if(!Z){e(13,Q="");return}e(13,Q=se?i("confirmationModalTextUntil",{values:{date:B}}):i("confirmationModalTextPeriod",{values:{period:i(j)}}))},E=v=>{v.preventDefault(),Z?window.postMessage({type:"ShowSelfExclusionConfirmationModal"},window.location.href):window.postMessage({type:"SetSelfExclusion",selfExclusionPeriod:L,selfExclusionExpiryDate:B},window.location.href)},w=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:ce},window.location.href)},C=v=>{e(11,B=v.target.value)},z=()=>{b.addEventListener("change",C,!1)},$=()=>{let v=document.createElement("style");v.innerHTML=c,p.appendChild(v)},H=()=>{let v=new URL(u),V=document.createElement("style");fetch(v.href).then(F=>F.text()).then(F=>{V.innerHTML=F,setTimeout(()=>{p.appendChild(V)},1)})};d.onMount(()=>()=>{b.removeEventListener("change",C)});const G=()=>{nd(r)},re=()=>w(),ne=()=>m(),ee=v=>y(v);function J(v){d.binding_callbacks[v?"unshift":"push"](()=>{b=v,e(7,b)})}const k=v=>E(v);function R(v){d.binding_callbacks[v?"unshift":"push"](()=>{p=v,e(6,p)})}return o.$$set=v=>{"endpoint"in v&&e(25,s=v.endpoint),"lang"in v&&e(0,r=v.lang),"operator"in v&&e(1,n=v.operator),"supportemail"in v&&e(2,a=v.supportemail),"baseurl"in v&&e(3,l=v.baseurl),"clientstyling"in v&&e(4,c=v.clientstyling),"clientstylingurl"in v&&e(5,u=v.clientstylingurl),"translationurl"in v&&e(26,h=v.translationurl),"hasconfirmationmodal"in v&&e(27,f=v.hasconfirmationmodal)},o.$$.update=()=>{o.$$.dirty[0]&128&&b&&z(),o.$$.dirty[0]&33554432&&s&&x(),o.$$.dirty[0]&1&&r&&G(),o.$$.dirty[0]&96&&u&&p&&H(),o.$$.dirty[0]&80&&c&&p&&$(),o.$$.dirty[0]&67108864&&h&&xe()},Z&&_(),[r,n,a,l,c,u,p,b,M,N,I,B,L,Q,oe,se,D,A,i,ce,Z,m,y,E,w,s,h,f,re,ne,ee,J,k,R]}class gr extends d.SvelteComponent{constructor(t){super(),d.init(this,t,fd,pd,d.safe_not_equal,{endpoint:25,lang:0,operator:1,supportemail:2,baseurl:3,clientstyling:4,clientstylingurl:5,translationurl:26,hasconfirmationmodal:27},ad,[-1,-1])}get endpoint(){return this.$$.ctx[25]}set endpoint(t){this.$$set({endpoint:t}),d.flush()}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),d.flush()}get operator(){return this.$$.ctx[1]}set operator(t){this.$$set({operator:t}),d.flush()}get supportemail(){return this.$$.ctx[2]}set supportemail(t){this.$$set({supportemail:t}),d.flush()}get baseurl(){return this.$$.ctx[3]}set baseurl(t){this.$$set({baseurl:t}),d.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(t){this.$$set({clientstyling:t}),d.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),d.flush()}get translationurl(){return this.$$.ctx[26]}set translationurl(t){this.$$set({translationurl:t}),d.flush()}get hasconfirmationmodal(){return this.$$.ctx[27]}set hasconfirmationmodal(t){this.$$set({hasconfirmationmodal:t}),d.flush()}}d.create_custom_element(gr,{endpoint:{},lang:{},operator:{},supportemail:{},baseurl:{},clientstyling:{},clientstylingurl:{},translationurl:{},hasconfirmationmodal:{}},[],[],!0);const md=Object.freeze(Object.defineProperty({__proto__:null,default:gr},Symbol.toStringTag,{value:"Module"}));exports.PlayerAccountSelfExclusion_ce=md;exports.dayjs=bt;