@adyen/bento-vue2 1.102.0 → 1.103.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (399) hide show
  1. package/dist/@types/index.d.ts +20 -3
  2. package/dist/accordion.js +1 -1
  3. package/dist/action-bar.js +1 -1
  4. package/dist/ai-tag.js +1 -1
  5. package/dist/alert.js +1 -1
  6. package/dist/anchor-scroller.js +1 -1
  7. package/dist/assets/accordion-item.css +1 -1
  8. package/dist/assets/action-bar.css +1 -1
  9. package/dist/assets/ai-button.css +1 -1
  10. package/dist/assets/anchor-scroller.css +1 -1
  11. package/dist/assets/base-modal.css +1 -1
  12. package/dist/assets/button-actions.css +1 -1
  13. package/dist/assets/button.css +1 -1
  14. package/dist/assets/card.css +1 -1
  15. package/dist/assets/checkbox-input.css +1 -1
  16. package/dist/assets/data-grid.css +1 -1
  17. package/dist/assets/dialog-page.css +1 -1
  18. package/dist/assets/dropdown.css +1 -1
  19. package/dist/assets/empty-state.css +1 -1
  20. package/dist/assets/file-uploader.css +1 -1
  21. package/dist/assets/filter-bar.css +1 -1
  22. package/dist/assets/index.css +1 -1
  23. package/dist/assets/input-field-password.css +1 -1
  24. package/dist/assets/inspector.css +1 -1
  25. package/dist/assets/modal-fullscreen.css +1 -1
  26. package/dist/assets/navigation-menu-group.css +1 -1
  27. package/dist/assets/pagination.css +1 -1
  28. package/dist/assets/radio-input.css +1 -1
  29. package/dist/assets/secondary-nav.css +1 -1
  30. package/dist/assets/selection-card-group.css +1 -1
  31. package/dist/assets/sidepanel.css +1 -1
  32. package/dist/assets/table-of-contents.css +1 -1
  33. package/dist/assets/typography.css +1 -1
  34. package/dist/avatar.js +1 -1
  35. package/dist/button.js +3 -3
  36. package/dist/card.js +1 -1
  37. package/dist/checkbox.js +2 -2
  38. package/dist/chip.js +1 -1
  39. package/dist/chunks/{accordion-item.C0va5Mbv.js → accordion-item.CrVVFIHa.js} +16 -49
  40. package/dist/chunks/{accordion-item.C0va5Mbv.js.map → accordion-item.CrVVFIHa.js.map} +1 -1
  41. package/dist/chunks/{action-bar.-kzjjAuX.js → action-bar.BC1fWyHX.js} +18 -150
  42. package/dist/chunks/{action-bar.-kzjjAuX.js.map → action-bar.BC1fWyHX.js.map} +1 -1
  43. package/dist/chunks/{ai-button.ChLXOu7p.js → ai-button.CP6Bu7PB.js} +3 -3
  44. package/dist/chunks/{ai-button.ChLXOu7p.js.map → ai-button.CP6Bu7PB.js.map} +1 -1
  45. package/dist/chunks/{ai-tag.DhBjifex.js → ai-tag.wYWc7yOx.js} +16 -49
  46. package/dist/chunks/{ai-tag.DhBjifex.js.map → ai-tag.wYWc7yOx.js.map} +1 -1
  47. package/dist/chunks/{alert.CDP-LTh5.js → alert.Dj57zB88.js} +15 -81
  48. package/dist/chunks/{alert.CDP-LTh5.js.map → alert.Dj57zB88.js.map} +1 -1
  49. package/dist/chunks/anchor-scroller.Bhgy748g.js +120 -0
  50. package/dist/chunks/anchor-scroller.Bhgy748g.js.map +1 -0
  51. package/dist/chunks/{avatar.rwWPYJnt.js → avatar.D__jLgjI.js} +2 -2
  52. package/dist/chunks/{avatar.rwWPYJnt.js.map → avatar.D__jLgjI.js.map} +1 -1
  53. package/dist/chunks/{base-button.BPRPrO0p.js → base-button.D5C9VIYP.js} +20 -23
  54. package/dist/chunks/{base-button.BPRPrO0p.js.map → base-button.D5C9VIYP.js.map} +1 -1
  55. package/dist/chunks/{base-modal.BagJ8weI.js → base-modal.DlD_Lj4Y.js} +100 -141
  56. package/dist/chunks/{base-modal.BagJ8weI.js.map → base-modal.DlD_Lj4Y.js.map} +1 -1
  57. package/dist/chunks/button-actions-with-menu.CTgggEw2.js +77 -0
  58. package/dist/chunks/{button-actions-with-menu.DNYoFmV4.js.map → button-actions-with-menu.CTgggEw2.js.map} +1 -1
  59. package/dist/chunks/{button-actions.Dpbx0xf3.js → button-actions.CxX7lK7z.js} +362 -442
  60. package/dist/chunks/{button-actions.Dpbx0xf3.js.map → button-actions.CxX7lK7z.js.map} +1 -1
  61. package/dist/chunks/{button.CKS_V3p5.js → button.C4kKejsg.js} +34 -37
  62. package/dist/chunks/{button.CKS_V3p5.js.map → button.C4kKejsg.js.map} +1 -1
  63. package/dist/chunks/calendar.BoFWdxN7.js +1143 -0
  64. package/dist/chunks/{calendar.CvHJ3Geq.js.map → calendar.BoFWdxN7.js.map} +1 -1
  65. package/dist/chunks/{card.DqMECGcj.js → card.B70qRHOi.js} +34 -70
  66. package/dist/chunks/{card.DqMECGcj.js.map → card.B70qRHOi.js.map} +1 -1
  67. package/dist/chunks/{checkbox-group.YnXz1Hl2.js → checkbox-group.D1zzKsdi.js} +6 -6
  68. package/dist/chunks/{checkbox-group.YnXz1Hl2.js.map → checkbox-group.D1zzKsdi.js.map} +1 -1
  69. package/dist/chunks/{checkbox-input.08E9BNeF.js → checkbox-input.kfxcyjfd.js} +28 -31
  70. package/dist/chunks/{checkbox-input.08E9BNeF.js.map → checkbox-input.kfxcyjfd.js.map} +1 -1
  71. package/dist/chunks/{checkbox.BUc2332d.js → checkbox.Ca0mu2lE.js} +58 -91
  72. package/dist/chunks/{checkbox.BUc2332d.js.map → checkbox.Ca0mu2lE.js.map} +1 -1
  73. package/dist/chunks/{chip.DHmRHsL2.js → chip.wgEnbEPw.js} +16 -38
  74. package/dist/chunks/{chip.DHmRHsL2.js.map → chip.wgEnbEPw.js.map} +1 -1
  75. package/dist/chunks/click-outside.B0whuTUU.js +20 -0
  76. package/dist/chunks/{click-outside.BG01Sm0A.js.map → click-outside.B0whuTUU.js.map} +1 -1
  77. package/dist/chunks/{code-snippet.Cha3wHUL.js → code-snippet.BglbQWRB.js} +19 -74
  78. package/dist/chunks/{code-snippet.Cha3wHUL.js.map → code-snippet.BglbQWRB.js.map} +1 -1
  79. package/dist/chunks/{codemirror.D2BAltnu.js → codemirror.Bzus_EPG.js} +15 -15
  80. package/dist/chunks/{codemirror.D2BAltnu.js.map → codemirror.Bzus_EPG.js.map} +1 -1
  81. package/dist/chunks/constructNow.DyOJDyZZ.js +8 -0
  82. package/dist/chunks/{constructNow.CK0ryPil.js.map → constructNow.DyOJDyZZ.js.map} +1 -1
  83. package/dist/chunks/{controls-group.BomXFNvi.js → controls-group.DPLAJjbv.js} +3 -3
  84. package/dist/chunks/{controls-group.BomXFNvi.js.map → controls-group.DPLAJjbv.js.map} +1 -1
  85. package/dist/chunks/{copy.BlyhTDSU.js → copy.CsKQJlen.js} +16 -60
  86. package/dist/chunks/{copy.BlyhTDSU.js.map → copy.CsKQJlen.js.map} +1 -1
  87. package/dist/chunks/{country.DySY9sbA.js → country.D8ncVjcm.js} +5 -5
  88. package/dist/chunks/{country.DySY9sbA.js.map → country.D8ncVjcm.js.map} +1 -1
  89. package/dist/chunks/country.types.BUW49nQx.js +27 -0
  90. package/dist/chunks/country.types.BUW49nQx.js.map +1 -0
  91. package/dist/chunks/currency.POwX-Trj.js +124 -0
  92. package/dist/chunks/{currency.Dvy9Qjjf.js.map → currency.POwX-Trj.js.map} +1 -1
  93. package/dist/chunks/dashboard-section.Bmu65OHg.js +98 -0
  94. package/dist/chunks/{dashboard-section.D2yqhERq.js.map → dashboard-section.Bmu65OHg.js.map} +1 -1
  95. package/dist/chunks/{dashed-underline.ByPcIHNe.js → dashed-underline.CbzCYKrk.js} +11 -12
  96. package/dist/chunks/{dashed-underline.ByPcIHNe.js.map → dashed-underline.CbzCYKrk.js.map} +1 -1
  97. package/dist/chunks/data-grid-template.BvBHJ0sH.js +102 -0
  98. package/dist/chunks/{data-grid-template.Ifn423Ot.js.map → data-grid-template.BvBHJ0sH.js.map} +1 -1
  99. package/dist/chunks/data-grid.DPh8BSnM.js +3266 -0
  100. package/dist/chunks/{data-grid.BDXQ_kKQ.js.map → data-grid.DPh8BSnM.js.map} +1 -1
  101. package/dist/chunks/date-picker.DutUBQbH.js +183 -0
  102. package/dist/chunks/{date-picker.CXZfCxwP.js.map → date-picker.DutUBQbH.js.map} +1 -1
  103. package/dist/chunks/date-range-picker.5bvgs49h.js +924 -0
  104. package/dist/chunks/{date-range-picker.BzVQsYk4.js.map → date-range-picker.5bvgs49h.js.map} +1 -1
  105. package/dist/chunks/date-time-picker.DUWWGlOX.js +127 -0
  106. package/dist/chunks/{date-time-picker.DaLATfJp.js.map → date-time-picker.DUWWGlOX.js.map} +1 -1
  107. package/dist/chunks/{date.C1HnIyOv.js → date.CPo8t1n9.js} +25 -25
  108. package/dist/chunks/{date.C1HnIyOv.js.map → date.CPo8t1n9.js.map} +1 -1
  109. package/dist/chunks/{de.pvjpUJ1o.js → de.ctR_lBqr.js} +18 -18
  110. package/dist/chunks/{de.pvjpUJ1o.js.map → de.ctR_lBqr.js.map} +1 -1
  111. package/dist/chunks/{dialog-page.B_LwIWgK.js → dialog-page.CPorblJc.js} +16 -38
  112. package/dist/chunks/{dialog-page.B_LwIWgK.js.map → dialog-page.CPorblJc.js.map} +1 -1
  113. package/dist/chunks/differenceInMonths.yz4Dfe-b.js +44 -0
  114. package/dist/chunks/{differenceInMonths.CpwVtHZX.js.map → differenceInMonths.yz4Dfe-b.js.map} +1 -1
  115. package/dist/chunks/{directive.BBWhsNtO.js → directive.D1-d-C2K.js} +2 -2
  116. package/dist/chunks/{directive.BBWhsNtO.js.map → directive.D1-d-C2K.js.map} +1 -1
  117. package/dist/chunks/{draggable-handle.kBP4prVO.js → draggable-handle.g2BFN3G1.js} +18 -114
  118. package/dist/chunks/{draggable-handle.kBP4prVO.js.map → draggable-handle.g2BFN3G1.js.map} +1 -1
  119. package/dist/chunks/draggable.iIsQLiOa.js +168 -0
  120. package/dist/chunks/{draggable.rTa1jcHI.js.map → draggable.iIsQLiOa.js.map} +1 -1
  121. package/dist/chunks/{drawer.DVJxDGw3.js → drawer.CnxX1zZ6.js} +14 -36
  122. package/dist/chunks/{drawer.DVJxDGw3.js.map → drawer.CnxX1zZ6.js.map} +1 -1
  123. package/dist/chunks/{dropdown-tag.CaLA2NLd.js → dropdown-tag.BFnfCah8.js} +77 -81
  124. package/dist/chunks/{dropdown-tag.CaLA2NLd.js.map → dropdown-tag.BFnfCah8.js.map} +1 -1
  125. package/dist/chunks/{dropdown.DIqgVVXB.js → dropdown.Ce2P9MZ-.js} +1131 -1466
  126. package/dist/chunks/{dropdown.DIqgVVXB.js.map → dropdown.Ce2P9MZ-.js.map} +1 -1
  127. package/dist/chunks/empty-state.fziM-yAC.js +102 -0
  128. package/dist/chunks/empty-state.fziM-yAC.js.map +1 -0
  129. package/dist/chunks/{en-GB.-Q7Oq-nY.js → en-GB.BsQNm5GT.js} +2 -2
  130. package/dist/chunks/{en-GB.-Q7Oq-nY.js.map → en-GB.BsQNm5GT.js.map} +1 -1
  131. package/dist/chunks/{en-US.BK5uiAND.js → en-US.BR6y7foR.js} +30 -30
  132. package/dist/chunks/{en-US.BK5uiAND.js.map → en-US.BR6y7foR.js.map} +1 -1
  133. package/dist/chunks/{error-message.Hqp_VvD3.js → error-message.BEHBfjmn.js} +14 -36
  134. package/dist/chunks/{error-message.Hqp_VvD3.js.map → error-message.BEHBfjmn.js.map} +1 -1
  135. package/dist/chunks/{es.2H4LvTyV.js → es.DxqH-QhP.js} +14 -14
  136. package/dist/chunks/{es.2H4LvTyV.js.map → es.DxqH-QhP.js.map} +1 -1
  137. package/dist/chunks/{field-label.DjJ7wdFi.js → field-label.CgdTst2l.js} +15 -37
  138. package/dist/chunks/{field-label.DjJ7wdFi.js.map → field-label.CgdTst2l.js.map} +1 -1
  139. package/dist/chunks/{file-uploader.2rIfQ2jb.js → file-uploader.BG89SLkG.js} +317 -630
  140. package/dist/chunks/{file-uploader.2rIfQ2jb.js.map → file-uploader.BG89SLkG.js.map} +1 -1
  141. package/dist/chunks/filter-bar.BMO8wTzb.js +3087 -0
  142. package/dist/chunks/{filter-bar.qlViDZPY.js.map → filter-bar.BMO8wTzb.js.map} +1 -1
  143. package/dist/chunks/fixed-scroller.oObE3f7m.js +117 -0
  144. package/dist/chunks/{fixed-scroller.04EUUgD_.js.map → fixed-scroller.oObE3f7m.js.map} +1 -1
  145. package/dist/chunks/{focus-trap.oRKjDFzf.js → focus-trap.l-wwtCHi.js} +69 -85
  146. package/dist/chunks/{focus-trap.oRKjDFzf.js.map → focus-trap.l-wwtCHi.js.map} +1 -1
  147. package/dist/chunks/{footer-actions.DXyJtVip.js → footer-actions.Dn9KYoqB.js} +4 -4
  148. package/dist/chunks/{footer-actions.DXyJtVip.js.map → footer-actions.Dn9KYoqB.js.map} +1 -1
  149. package/dist/chunks/{form-layout-group.DnjoLZZM.js → form-layout-group.C_0b8u-g.js} +2 -2
  150. package/dist/chunks/{form-layout-group.DnjoLZZM.js.map → form-layout-group.C_0b8u-g.js.map} +1 -1
  151. package/dist/chunks/{form-layout-title.Bt5bP9r3.js → form-layout-title.YhZCVtoc.js} +15 -37
  152. package/dist/chunks/{form-layout-title.Bt5bP9r3.js.map → form-layout-title.YhZCVtoc.js.map} +1 -1
  153. package/dist/chunks/{fr.Cu0IIfBP.js → fr.DJtn8ron.js} +16 -16
  154. package/dist/chunks/{fr.Cu0IIfBP.js.map → fr.DJtn8ron.js.map} +1 -1
  155. package/dist/chunks/{generate-uid.NJ8tVoha.js → generate-uid.DBWe4g6T.js} +15 -16
  156. package/dist/chunks/{generate-uid.NJ8tVoha.js.map → generate-uid.DBWe4g6T.js.map} +1 -1
  157. package/dist/chunks/get-slot-text.DM_NdrUC.js +6 -0
  158. package/dist/chunks/{get-slot-text.Bjb9dTSV.js.map → get-slot-text.DM_NdrUC.js.map} +1 -1
  159. package/dist/chunks/{grid-layout.1aIiz2N_.js → grid-layout.BeCrjPgT.js} +16 -17
  160. package/dist/chunks/{grid-layout.1aIiz2N_.js.map → grid-layout.BeCrjPgT.js.map} +1 -1
  161. package/dist/chunks/header-meta.mDdMmFUA.js +206 -0
  162. package/dist/chunks/{header-meta.CCQVPDU8.js.map → header-meta.mDdMmFUA.js.map} +1 -1
  163. package/dist/chunks/{header-with-views.CEU6WrV9.js → header-with-views.Dp6SyiPu.js} +791 -1270
  164. package/dist/chunks/{header-with-views.CEU6WrV9.js.map → header-with-views.Dp6SyiPu.js.map} +1 -1
  165. package/dist/chunks/{header.BoNOTATn.js → header.DUAxdw_d.js} +4 -4
  166. package/dist/chunks/{header.BoNOTATn.js.map → header.DUAxdw_d.js.map} +1 -1
  167. package/dist/chunks/{index.C7m7gI5w.js → index.CL3TXc0a.js} +154 -160
  168. package/dist/chunks/{index.C7m7gI5w.js.map → index.CL3TXc0a.js.map} +1 -1
  169. package/dist/chunks/{index.B6WW_F-J.js → index.CPOlyau9.js} +5 -5
  170. package/dist/chunks/index.CPOlyau9.js.map +1 -0
  171. package/dist/chunks/{info-icon.BnLYUTzI.js → info-icon.BRnbXunj.js} +3 -3
  172. package/dist/chunks/{info-icon.BnLYUTzI.js.map → info-icon.BRnbXunj.js.map} +1 -1
  173. package/dist/chunks/input-field-password.C9_o6Kg2.js +230 -0
  174. package/dist/chunks/input-field-password.C9_o6Kg2.js.map +1 -0
  175. package/dist/chunks/{input-field-phone-number.CPjH0EVF.js → input-field-phone-number.zRjd8HPi.js} +724 -756
  176. package/dist/chunks/{input-field-phone-number.CPjH0EVF.js.map → input-field-phone-number.zRjd8HPi.js.map} +1 -1
  177. package/dist/chunks/{input-field.BEV5lhwO.js → input-field.BTt1ORWU.js} +22 -58
  178. package/dist/chunks/{input-field.BEV5lhwO.js.map → input-field.BTt1ORWU.js.map} +1 -1
  179. package/dist/chunks/{input-time.En4O4DRD.js → input-time.BfJIDgaH.js} +15 -48
  180. package/dist/chunks/{input-time.En4O4DRD.js.map → input-time.BfJIDgaH.js.map} +1 -1
  181. package/dist/chunks/{inspector-page.OKPf0I4k.js → inspector-page.i8bVjo9U.js} +4 -4
  182. package/dist/chunks/{inspector-page.OKPf0I4k.js.map → inspector-page.i8bVjo9U.js.map} +1 -1
  183. package/dist/chunks/{inspector.DoQPHzCc.js → inspector.Aet0jTC2.js} +39 -106
  184. package/dist/chunks/{inspector.DoQPHzCc.js.map → inspector.Aet0jTC2.js.map} +1 -1
  185. package/dist/chunks/isSameWeek.CieN9XgL.js +14 -0
  186. package/dist/chunks/{isSameWeek.TrpUOIn5.js.map → isSameWeek.CieN9XgL.js.map} +1 -1
  187. package/dist/chunks/{it.B65snrJA.js → it.keS7oN5l.js} +8 -8
  188. package/dist/chunks/{it.B65snrJA.js.map → it.keS7oN5l.js.map} +1 -1
  189. package/dist/chunks/{ja.xGVfFSzL.js → ja.cLwacUE6.js} +27 -27
  190. package/dist/chunks/{ja.xGVfFSzL.js.map → ja.cLwacUE6.js.map} +1 -1
  191. package/dist/chunks/{layout-row.CPFK9Bg7.js → layout-row.HslYnPgn.js} +34 -35
  192. package/dist/chunks/{layout-row.CPFK9Bg7.js.map → layout-row.HslYnPgn.js.map} +1 -1
  193. package/dist/chunks/{link.Cejg8jB6.js → link.CscSbaXa.js} +15 -37
  194. package/dist/chunks/{link.Cejg8jB6.js.map → link.CscSbaXa.js.map} +1 -1
  195. package/dist/chunks/list-item.Cngxa9qN.js +166 -0
  196. package/dist/chunks/{list-item.BiJMHR7b.js.map → list-item.Cngxa9qN.js.map} +1 -1
  197. package/dist/chunks/{listbox-option-tag.DnvECZQC.js → listbox-option-tag.BaoiH-Ku.js} +3 -3
  198. package/dist/chunks/{listbox-option-tag.DnvECZQC.js.map → listbox-option-tag.BaoiH-Ku.js.map} +1 -1
  199. package/dist/chunks/{modal-fullscreen.Bn8MzG6Z.js → modal-fullscreen.Cg1Q6ERf.js} +64 -93
  200. package/dist/chunks/{modal-fullscreen.Bn8MzG6Z.js.map → modal-fullscreen.Cg1Q6ERf.js.map} +1 -1
  201. package/dist/chunks/{modal.CClQItuJ.js → modal.u-t1CvBr.js} +81 -105
  202. package/dist/chunks/{modal.CClQItuJ.js.map → modal.u-t1CvBr.js.map} +1 -1
  203. package/dist/chunks/{navigation-menu-group.p1-x06nS.js → navigation-menu-group.gNMP4tW4.js} +80 -129
  204. package/dist/chunks/{navigation-menu-group.p1-x06nS.js.map → navigation-menu-group.gNMP4tW4.js.map} +1 -1
  205. package/dist/chunks/{on-click-outside.Cy1eFULD.js → on-click-outside.BgIzQ2G1.js} +32 -33
  206. package/dist/chunks/{on-click-outside.Cy1eFULD.js.map → on-click-outside.BgIzQ2G1.js.map} +1 -1
  207. package/dist/chunks/{pagination.CZVdaeqE.js → pagination.D81XgMQ7.js} +73 -192
  208. package/dist/chunks/pagination.D81XgMQ7.js.map +1 -0
  209. package/dist/chunks/{payment-method.B3CkgsAY.js → payment-method.Clm5dEYh.js} +2 -2
  210. package/dist/chunks/{payment-method.B3CkgsAY.js.map → payment-method.Clm5dEYh.js.map} +1 -1
  211. package/dist/chunks/popover.types.H5Y0rC1r.js +6 -0
  212. package/dist/chunks/{popover.types.BfnJIpII.js.map → popover.types.H5Y0rC1r.js.map} +1 -1
  213. package/dist/chunks/{popper-container.Cb9wuFId.js → popper-container.D08eTt4B.js} +245 -252
  214. package/dist/chunks/{popper-container.Cb9wuFId.js.map → popper-container.D08eTt4B.js.map} +1 -1
  215. package/dist/chunks/{promo-banner.DZ0gerRx.js → promo-banner.BX47zMKh.js} +17 -39
  216. package/dist/chunks/{promo-banner.DZ0gerRx.js.map → promo-banner.BX47zMKh.js.map} +1 -1
  217. package/dist/chunks/{pt-BR.D9FuAQZm.js → pt-BR.ChPOra5s.js} +14 -14
  218. package/dist/chunks/{pt-BR.D9FuAQZm.js.map → pt-BR.ChPOra5s.js.map} +1 -1
  219. package/dist/chunks/{radio-group.DUW2dya4.js → radio-group.Dtx5hOkQ.js} +23 -23
  220. package/dist/chunks/{radio-group.DUW2dya4.js.map → radio-group.Dtx5hOkQ.js.map} +1 -1
  221. package/dist/chunks/{rich-text-editor.CuCPLzUh.js → rich-text-editor.CmVsFJjh.js} +1364 -1416
  222. package/dist/chunks/{rich-text-editor.CuCPLzUh.js.map → rich-text-editor.CmVsFJjh.js.map} +1 -1
  223. package/dist/chunks/scroll-to-section.DhW8SFy0.js +101 -0
  224. package/dist/chunks/scroll-to-section.DhW8SFy0.js.map +1 -0
  225. package/dist/chunks/{search-bar.8iDkgmjw.js → search-bar.CRfYCmkl.js} +15 -48
  226. package/dist/chunks/{search-bar.8iDkgmjw.js.map → search-bar.CRfYCmkl.js.map} +1 -1
  227. package/dist/chunks/secondary-nav.B1Tj7MAA.js +192 -0
  228. package/dist/chunks/{secondary-nav.CmvSHxvS.js.map → secondary-nav.B1Tj7MAA.js.map} +1 -1
  229. package/dist/chunks/{segmented-control.Bkp2Y95s.js → segmented-control.CBc-wx0m.js} +44 -48
  230. package/dist/chunks/{segmented-control.Bkp2Y95s.js.map → segmented-control.CBc-wx0m.js.map} +1 -1
  231. package/dist/chunks/{selection-card-group.EGigQJOW.js → selection-card-group.BaK3Rt4K.js} +91 -96
  232. package/dist/chunks/{selection-card-group.EGigQJOW.js.map → selection-card-group.BaK3Rt4K.js.map} +1 -1
  233. package/dist/chunks/set-time-in-date.BVfkl8K8.js +27 -0
  234. package/dist/chunks/{set-time-in-date.CU7HeZLY.js.map → set-time-in-date.BVfkl8K8.js.map} +1 -1
  235. package/dist/chunks/{sidepanel.yB7YuzVt.js → sidepanel.DeIREn9l.js} +55 -78
  236. package/dist/chunks/{sidepanel.yB7YuzVt.js.map → sidepanel.DeIREn9l.js.map} +1 -1
  237. package/dist/chunks/startOfWeek.muMEhS7U.js +9 -0
  238. package/dist/chunks/{startOfWeek.Br5KM4z_.js.map → startOfWeek.muMEhS7U.js.map} +1 -1
  239. package/dist/chunks/{status.CKb07vxI.js → status.DJ1Dfh5s.js} +2 -2
  240. package/dist/chunks/{status.CKb07vxI.js.map → status.DJ1Dfh5s.js.map} +1 -1
  241. package/dist/chunks/step.DfI11Din.js +221 -0
  242. package/dist/chunks/{step.CIfxl8Wm.js.map → step.DfI11Din.js.map} +1 -1
  243. package/dist/chunks/{structured-list-item.Cnv4Pw5n.js → structured-list-item._7YG2L3a.js} +18 -40
  244. package/dist/chunks/{structured-list-item.Cnv4Pw5n.js.map → structured-list-item._7YG2L3a.js.map} +1 -1
  245. package/dist/chunks/{summary-grid.types.BcIlkfVO.js → summary-grid.types.B_gUEQ0c.js} +45 -50
  246. package/dist/chunks/{summary-grid.types.BcIlkfVO.js.map → summary-grid.types.B_gUEQ0c.js.map} +1 -1
  247. package/dist/chunks/tab.DFk4K9cq.js +229 -0
  248. package/dist/chunks/{tab.N0xGWsfO.js.map → tab.DFk4K9cq.js.map} +1 -1
  249. package/dist/chunks/table-of-contents.CoEnQ9g7.js +104 -0
  250. package/dist/chunks/{table-of-contents.Cf-IrdZl.js.map → table-of-contents.CoEnQ9g7.js.map} +1 -1
  251. package/dist/chunks/{tag.BAyLm485.js → tag.BC7FFENr.js} +4 -4
  252. package/dist/chunks/{tag.BAyLm485.js.map → tag.BC7FFENr.js.map} +1 -1
  253. package/dist/chunks/textarea.Z-VYFZVq.js +176 -0
  254. package/dist/chunks/{textarea.BDRR1zE0.js.map → textarea.Z-VYFZVq.js.map} +1 -1
  255. package/dist/chunks/{timeline-item.QEEIwYMy.js → timeline-item.BGHi_lOY.js} +114 -193
  256. package/dist/chunks/{timeline-item.QEEIwYMy.js.map → timeline-item.BGHi_lOY.js.map} +1 -1
  257. package/dist/chunks/{toast.XPG0vaQB.js → toast.D-jat1Xw.js} +64 -86
  258. package/dist/chunks/{toast.XPG0vaQB.js.map → toast.D-jat1Xw.js.map} +1 -1
  259. package/dist/chunks/{toggle.Ca-MM3dt.js → toggle.BqHWIhqD.js} +4 -4
  260. package/dist/chunks/{toggle.Ca-MM3dt.js.map → toggle.BqHWIhqD.js.map} +1 -1
  261. package/dist/chunks/{tooltip.7ct8WxCl.js → tooltip.D_XsoD_u.js} +68 -70
  262. package/dist/chunks/{tooltip.7ct8WxCl.js.map → tooltip.D_XsoD_u.js.map} +1 -1
  263. package/dist/chunks/truncate.DmCXQmeb.js +8 -0
  264. package/dist/chunks/{truncate.BfIl_-71.js.map → truncate.DmCXQmeb.js.map} +1 -1
  265. package/dist/chunks/{tutorial.bROv3HSx.js → tutorial.BtxKW4ac.js} +80 -173
  266. package/dist/chunks/{tutorial.bROv3HSx.js.map → tutorial.BtxKW4ac.js.map} +1 -1
  267. package/dist/chunks/typography.D1OZJbEa.js +90 -0
  268. package/dist/chunks/typography.D1OZJbEa.js.map +1 -0
  269. package/dist/chunks/{use-bento-delayed-hover.Bz_8EabW.js → use-bento-delayed-hover.D6QjSugc.js} +2 -2
  270. package/dist/chunks/{use-bento-delayed-hover.Bz_8EabW.js.map → use-bento-delayed-hover.D6QjSugc.js.map} +1 -1
  271. package/dist/chunks/{use-bento-toast-controller.CB6Qbf3R.js → use-bento-toast-controller.A5xraVqa.js} +14 -15
  272. package/dist/chunks/{use-bento-toast-controller.CB6Qbf3R.js.map → use-bento-toast-controller.A5xraVqa.js.map} +1 -1
  273. package/dist/chunks/use-country-items.B1KhLbqM.js +30 -0
  274. package/dist/chunks/{use-country-items.CmCRY7QX.js.map → use-country-items.B1KhLbqM.js.map} +1 -1
  275. package/dist/chunks/use-country-phon-code.Cv5YgCOo.js +291 -0
  276. package/dist/chunks/use-country-phon-code.Cv5YgCOo.js.map +1 -0
  277. package/dist/chunks/use-date-input-formatter.DXwvH7B0.js +1629 -0
  278. package/dist/chunks/{use-date-input-formatter.DfQk8_Dw.js.map → use-date-input-formatter.DXwvH7B0.js.map} +1 -1
  279. package/dist/chunks/use-expandable-content-height.Bdd9hQwq.js +34 -0
  280. package/dist/chunks/{use-expandable-content-height.2WJLCL-R.js.map → use-expandable-content-height.Bdd9hQwq.js.map} +1 -1
  281. package/dist/chunks/utils.DWmc2mUI.js +19 -0
  282. package/dist/chunks/{utils.BzUwtTXc.js.map → utils.DWmc2mUI.js.map} +1 -1
  283. package/dist/chunks/{zh-CN.Be4pa3-g.js → zh-CN.ZG6obniO.js} +28 -28
  284. package/dist/chunks/{zh-CN.Be4pa3-g.js.map → zh-CN.ZG6obniO.js.map} +1 -1
  285. package/dist/click-outside.js +1 -1
  286. package/dist/code-snippet.js +1 -1
  287. package/dist/country.js +3 -3
  288. package/dist/currency.js +1 -1
  289. package/dist/dashboard-template.js +1 -1
  290. package/dist/dashed-underline.js +1 -1
  291. package/dist/data-grid-template.js +1 -1
  292. package/dist/data-grid.js +1 -1
  293. package/dist/date-picker.js +2 -2
  294. package/dist/date-range-picker.js +2 -2
  295. package/dist/date-time-picker.js +1 -1
  296. package/dist/date.js +1 -1
  297. package/dist/draggable.js +2 -2
  298. package/dist/drawer.js +1 -1
  299. package/dist/dropdown.js +2 -2
  300. package/dist/empty-state.js +1 -1
  301. package/dist/file-uploader.js +1 -1
  302. package/dist/filter-bar.js +1 -1
  303. package/dist/focus-trap.js +1 -1
  304. package/dist/form-layout.js +2 -2
  305. package/dist/header-with-views.js +1 -1
  306. package/dist/header.js +1 -1
  307. package/dist/index.js +144 -149
  308. package/dist/index.js.map +1 -1
  309. package/dist/info-icon.js +1 -1
  310. package/dist/input-field-password.js +1 -1
  311. package/dist/input-field-phone-number.js +1 -1
  312. package/dist/input-field.js +1 -1
  313. package/dist/input-time.js +1 -1
  314. package/dist/inspector.js +2 -2
  315. package/dist/internal.js +14 -14
  316. package/dist/layout.js +1 -1
  317. package/dist/link.js +1 -1
  318. package/dist/list.js +1 -1
  319. package/dist/menu.js +1 -1
  320. package/dist/modal-fullscreen.js +1 -1
  321. package/dist/modal.js +2 -2
  322. package/dist/navigation-menu.js +1 -1
  323. package/dist/pagination.js +1 -1
  324. package/dist/payment-method.js +1 -1
  325. package/dist/popover.js +2 -2
  326. package/dist/popper-container.js +1 -1
  327. package/dist/promo-banner.js +1 -1
  328. package/dist/radio-group.js +1 -1
  329. package/dist/rich-text-editor.js +1 -1
  330. package/dist/search-bar.js +2 -2
  331. package/dist/secondary-nav.js +1 -1
  332. package/dist/segmented-control.js +1 -1
  333. package/dist/selection-card.js +1 -1
  334. package/dist/sidepanel.js +1 -1
  335. package/dist/status.js +1 -1
  336. package/dist/stepper.js +1 -1
  337. package/dist/structured-list.js +1 -1
  338. package/dist/summary-grid.js +1 -1
  339. package/dist/table-of-contents.js +1 -1
  340. package/dist/tabs.js +1 -1
  341. package/dist/tag.js +1 -1
  342. package/dist/textarea.js +1 -1
  343. package/dist/timeline.js +1 -1
  344. package/dist/toast.js +1 -1
  345. package/dist/toggle.js +1 -1
  346. package/dist/tutorial.js +1 -1
  347. package/dist/typography.js +1 -1
  348. package/dist/use-form-v4.js +331 -341
  349. package/dist/use-form-v4.js.map +1 -1
  350. package/dist/web-types.json +32 -2
  351. package/package.json +11 -11
  352. package/dist/chunks/anchor-scroller.DgC74yeM.js +0 -141
  353. package/dist/chunks/anchor-scroller.DgC74yeM.js.map +0 -1
  354. package/dist/chunks/button-actions-with-menu.DNYoFmV4.js +0 -85
  355. package/dist/chunks/calendar.CvHJ3Geq.js +0 -1247
  356. package/dist/chunks/click-outside.BG01Sm0A.js +0 -23
  357. package/dist/chunks/constructNow.CK0ryPil.js +0 -8
  358. package/dist/chunks/country.types.8GCHsdGN.js +0 -2789
  359. package/dist/chunks/country.types.8GCHsdGN.js.map +0 -1
  360. package/dist/chunks/currency.Dvy9Qjjf.js +0 -126
  361. package/dist/chunks/dashboard-section.D2yqhERq.js +0 -102
  362. package/dist/chunks/data-grid-template.Ifn423Ot.js +0 -111
  363. package/dist/chunks/data-grid.BDXQ_kKQ.js +0 -4121
  364. package/dist/chunks/date-picker.CXZfCxwP.js +0 -252
  365. package/dist/chunks/date-range-picker.BzVQsYk4.js +0 -1295
  366. package/dist/chunks/date-time-picker.DaLATfJp.js +0 -202
  367. package/dist/chunks/differenceInMonths.CpwVtHZX.js +0 -44
  368. package/dist/chunks/draggable.rTa1jcHI.js +0 -196
  369. package/dist/chunks/empty-state.DSVU1vU8.js +0 -106
  370. package/dist/chunks/empty-state.DSVU1vU8.js.map +0 -1
  371. package/dist/chunks/filter-bar.qlViDZPY.js +0 -3754
  372. package/dist/chunks/fixed-scroller.04EUUgD_.js +0 -152
  373. package/dist/chunks/get-slot-text.Bjb9dTSV.js +0 -12
  374. package/dist/chunks/header-meta.CCQVPDU8.js +0 -250
  375. package/dist/chunks/index.B6WW_F-J.js.map +0 -1
  376. package/dist/chunks/input-field-password.Bri9q5EV.js +0 -395
  377. package/dist/chunks/input-field-password.Bri9q5EV.js.map +0 -1
  378. package/dist/chunks/isSameWeek.TrpUOIn5.js +0 -14
  379. package/dist/chunks/list-item.BiJMHR7b.js +0 -226
  380. package/dist/chunks/pagination.CZVdaeqE.js.map +0 -1
  381. package/dist/chunks/popover.types.BfnJIpII.js +0 -6
  382. package/dist/chunks/scroll-to-section.CC5g-HBX.js +0 -111
  383. package/dist/chunks/scroll-to-section.CC5g-HBX.js.map +0 -1
  384. package/dist/chunks/secondary-nav.CmvSHxvS.js +0 -266
  385. package/dist/chunks/set-time-in-date.CU7HeZLY.js +0 -27
  386. package/dist/chunks/startOfWeek.Br5KM4z_.js +0 -10
  387. package/dist/chunks/step.CIfxl8Wm.js +0 -253
  388. package/dist/chunks/tab.N0xGWsfO.js +0 -259
  389. package/dist/chunks/table-of-contents.Cf-IrdZl.js +0 -129
  390. package/dist/chunks/textarea.BDRR1zE0.js +0 -224
  391. package/dist/chunks/truncate.BfIl_-71.js +0 -8
  392. package/dist/chunks/typography.C8lPlsbD.js +0 -87
  393. package/dist/chunks/typography.C8lPlsbD.js.map +0 -1
  394. package/dist/chunks/use-country-items.CmCRY7QX.js +0 -30
  395. package/dist/chunks/use-country-phon-code.BWkb546s.js +0 -6641
  396. package/dist/chunks/use-country-phon-code.BWkb546s.js.map +0 -1
  397. package/dist/chunks/use-date-input-formatter.DfQk8_Dw.js +0 -1732
  398. package/dist/chunks/use-expandable-content-height.2WJLCL-R.js +0 -35
  399. package/dist/chunks/utils.BzUwtTXc.js +0 -21
@@ -0,0 +1,1629 @@
1
+ import { C as U, y as I, l as J } from "./calendar.BoFWdxN7.js";
2
+ import { computed as C } from "vue";
3
+ import { t as x, c as p, s as L, g as E, u as S, r as ee, v as te, k as Q, j as re } from "./en-US.BR6y7foR.js";
4
+ import { s as T } from "./startOfWeek.muMEhS7U.js";
5
+ const A = U.MONDAY, se = A, kt = (s) => ({
6
+ resolvedFirstDayOfWeek: C(() => s.value ?? se ?? A)
7
+ });
8
+ function k(s, e) {
9
+ return T(s, { ...e, weekStartsOn: 1 });
10
+ }
11
+ function ne(s, e) {
12
+ const t = x(s, e?.in), r = t.getFullYear(), n = p(t, 0);
13
+ n.setFullYear(r + 1, 0, 4), n.setHours(0, 0, 0, 0);
14
+ const a = k(n), o = p(t, 0);
15
+ o.setFullYear(r, 0, 4), o.setHours(0, 0, 0, 0);
16
+ const u = k(o);
17
+ return t.getTime() >= a.getTime() ? r + 1 : t.getTime() >= u.getTime() ? r : r - 1;
18
+ }
19
+ function ae(s, e) {
20
+ const t = ne(s, e), r = p(s, 0);
21
+ return r.setFullYear(t, 0, 4), r.setHours(0, 0, 0, 0), k(r);
22
+ }
23
+ function oe(s, e) {
24
+ const t = x(s, e?.in), r = +k(t) - +ae(t);
25
+ return Math.round(r / L) + 1;
26
+ }
27
+ function B(s, e) {
28
+ const t = x(s, e?.in), r = t.getFullYear(), n = E(), a = e?.firstWeekContainsDate ?? e?.locale?.options?.firstWeekContainsDate ?? n.firstWeekContainsDate ?? n.locale?.options?.firstWeekContainsDate ?? 1, o = p(e?.in || s, 0);
29
+ o.setFullYear(r + 1, 0, a), o.setHours(0, 0, 0, 0);
30
+ const u = T(o, e), y = p(e?.in || s, 0);
31
+ y.setFullYear(r, 0, a), y.setHours(0, 0, 0, 0);
32
+ const m = T(y, e);
33
+ return +t >= +u ? r + 1 : +t >= +m ? r : r - 1;
34
+ }
35
+ function ie(s, e) {
36
+ const t = E(), r = e?.firstWeekContainsDate ?? e?.locale?.options?.firstWeekContainsDate ?? t.firstWeekContainsDate ?? t.locale?.options?.firstWeekContainsDate ?? 1, n = B(s, e), a = p(e?.in || s, 0);
37
+ return a.setFullYear(n, 0, r), a.setHours(0, 0, 0, 0), T(a, e);
38
+ }
39
+ function ce(s, e) {
40
+ const t = x(s, e?.in), r = +T(t, e) - +ie(t, e);
41
+ return Math.round(r / L) + 1;
42
+ }
43
+ const $ = (s, e) => {
44
+ switch (s) {
45
+ case "P":
46
+ return e.date({ width: "short" });
47
+ case "PP":
48
+ return e.date({ width: "medium" });
49
+ case "PPP":
50
+ return e.date({ width: "long" });
51
+ default:
52
+ return e.date({ width: "full" });
53
+ }
54
+ }, G = (s, e) => {
55
+ switch (s) {
56
+ case "p":
57
+ return e.time({ width: "short" });
58
+ case "pp":
59
+ return e.time({ width: "medium" });
60
+ case "ppp":
61
+ return e.time({ width: "long" });
62
+ default:
63
+ return e.time({ width: "full" });
64
+ }
65
+ }, ue = (s, e) => {
66
+ const t = s.match(/(P+)(p+)?/) || [], r = t[1], n = t[2];
67
+ if (!n)
68
+ return $(s, e);
69
+ let a;
70
+ switch (r) {
71
+ case "P":
72
+ a = e.dateTime({ width: "short" });
73
+ break;
74
+ case "PP":
75
+ a = e.dateTime({ width: "medium" });
76
+ break;
77
+ case "PPP":
78
+ a = e.dateTime({ width: "long" });
79
+ break;
80
+ default:
81
+ a = e.dateTime({ width: "full" });
82
+ break;
83
+ }
84
+ return a.replace("{{date}}", $(r, e)).replace("{{time}}", G(n, e));
85
+ }, R = {
86
+ p: G,
87
+ P: ue
88
+ }, le = /^D+$/, de = /^Y+$/, fe = ["D", "DD", "YY", "YYYY"];
89
+ function we(s) {
90
+ return le.test(s);
91
+ }
92
+ function he(s) {
93
+ return de.test(s);
94
+ }
95
+ function v(s, e, t) {
96
+ const r = ye(s, e, t);
97
+ if (console.warn(r), fe.includes(s)) throw new RangeError(r);
98
+ }
99
+ function ye(s, e, t) {
100
+ const r = s[0] === "Y" ? "years" : "days of the month";
101
+ return `Use \`${s.toLowerCase()}\` instead of \`${s}\` (in \`${e}\`) for formatting ${r} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
102
+ }
103
+ function pe() {
104
+ return Object.assign({}, E());
105
+ }
106
+ function me(s, e) {
107
+ const t = x(s, e?.in).getDay();
108
+ return t === 0 ? 7 : t;
109
+ }
110
+ function xe(s, e) {
111
+ const t = be(e) ? new e(0) : p(e, 0);
112
+ return t.setFullYear(s.getFullYear(), s.getMonth(), s.getDate()), t.setHours(
113
+ s.getHours(),
114
+ s.getMinutes(),
115
+ s.getSeconds(),
116
+ s.getMilliseconds()
117
+ ), t;
118
+ }
119
+ function be(s) {
120
+ return typeof s == "function" && s.prototype?.constructor === s;
121
+ }
122
+ const De = 10;
123
+ class X {
124
+ subPriority = 0;
125
+ validate(e, t) {
126
+ return !0;
127
+ }
128
+ }
129
+ class Ye extends X {
130
+ constructor(e, t, r, n, a) {
131
+ super(), this.value = e, this.validateValue = t, this.setValue = r, this.priority = n, a && (this.subPriority = a);
132
+ }
133
+ validate(e, t) {
134
+ return this.validateValue(e, this.value, t);
135
+ }
136
+ set(e, t, r) {
137
+ return this.setValue(e, t, this.value, r);
138
+ }
139
+ }
140
+ class Te extends X {
141
+ priority = De;
142
+ subPriority = -1;
143
+ constructor(e, t) {
144
+ super(), this.context = e || ((r) => p(t, r));
145
+ }
146
+ set(e, t) {
147
+ return t.timestampIsSet ? e : p(e, xe(e, this.context));
148
+ }
149
+ }
150
+ class c {
151
+ run(e, t, r, n) {
152
+ const a = this.parse(e, t, r, n);
153
+ return a ? {
154
+ setter: new Ye(
155
+ a.value,
156
+ this.validate,
157
+ this.set,
158
+ this.priority,
159
+ this.subPriority
160
+ ),
161
+ rest: a.rest
162
+ } : null;
163
+ }
164
+ validate(e, t, r) {
165
+ return !0;
166
+ }
167
+ }
168
+ class ge extends c {
169
+ priority = 140;
170
+ parse(e, t, r) {
171
+ switch (t) {
172
+ // AD, BC
173
+ case "G":
174
+ case "GG":
175
+ case "GGG":
176
+ return r.era(e, { width: "abbreviated" }) || r.era(e, { width: "narrow" });
177
+ // A, B
178
+ case "GGGGG":
179
+ return r.era(e, { width: "narrow" });
180
+ default:
181
+ return r.era(e, { width: "wide" }) || r.era(e, { width: "abbreviated" }) || r.era(e, { width: "narrow" });
182
+ }
183
+ }
184
+ set(e, t, r) {
185
+ return t.era = r, e.setFullYear(r, 0, 1), e.setHours(0, 0, 0, 0), e;
186
+ }
187
+ incompatibleTokens = ["R", "u", "t", "T"];
188
+ }
189
+ const w = {
190
+ month: /^(1[0-2]|0?\d)/,
191
+ // 0 to 12
192
+ date: /^(3[0-1]|[0-2]?\d)/,
193
+ // 0 to 31
194
+ dayOfYear: /^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,
195
+ // 0 to 366
196
+ week: /^(5[0-3]|[0-4]?\d)/,
197
+ // 0 to 53
198
+ hour23h: /^(2[0-3]|[0-1]?\d)/,
199
+ // 0 to 23
200
+ hour24h: /^(2[0-4]|[0-1]?\d)/,
201
+ // 0 to 24
202
+ hour11h: /^(1[0-1]|0?\d)/,
203
+ // 0 to 11
204
+ hour12h: /^(1[0-2]|0?\d)/,
205
+ // 0 to 12
206
+ minute: /^[0-5]?\d/,
207
+ // 0 to 59
208
+ second: /^[0-5]?\d/,
209
+ // 0 to 59
210
+ singleDigit: /^\d/,
211
+ // 0 to 9
212
+ twoDigits: /^\d{1,2}/,
213
+ // 0 to 99
214
+ threeDigits: /^\d{1,3}/,
215
+ // 0 to 999
216
+ fourDigits: /^\d{1,4}/,
217
+ // 0 to 9999
218
+ anyDigitsSigned: /^-?\d+/,
219
+ singleDigitSigned: /^-?\d/,
220
+ // 0 to 9, -0 to -9
221
+ twoDigitsSigned: /^-?\d{1,2}/,
222
+ // 0 to 99, -0 to -99
223
+ threeDigitsSigned: /^-?\d{1,3}/,
224
+ // 0 to 999, -0 to -999
225
+ fourDigitsSigned: /^-?\d{1,4}/
226
+ // 0 to 9999, -0 to -9999
227
+ }, D = {
228
+ basicOptionalMinutes: /^([+-])(\d{2})(\d{2})?|Z/,
229
+ basic: /^([+-])(\d{2})(\d{2})|Z/,
230
+ basicOptionalSeconds: /^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,
231
+ extended: /^([+-])(\d{2}):(\d{2})|Z/,
232
+ extendedOptionalSeconds: /^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/
233
+ };
234
+ function h(s, e) {
235
+ return s && {
236
+ value: e(s.value),
237
+ rest: s.rest
238
+ };
239
+ }
240
+ function l(s, e) {
241
+ const t = e.match(s);
242
+ return t ? {
243
+ value: parseInt(t[0], 10),
244
+ rest: e.slice(t[0].length)
245
+ } : null;
246
+ }
247
+ function Y(s, e) {
248
+ const t = e.match(s);
249
+ if (!t)
250
+ return null;
251
+ if (t[0] === "Z")
252
+ return {
253
+ value: 0,
254
+ rest: e.slice(1)
255
+ };
256
+ const r = t[1] === "+" ? 1 : -1, n = t[2] ? parseInt(t[2], 10) : 0, a = t[3] ? parseInt(t[3], 10) : 0, o = t[5] ? parseInt(t[5], 10) : 0;
257
+ return {
258
+ value: r * (n * S + a * ee + o * te),
259
+ rest: e.slice(t[0].length)
260
+ };
261
+ }
262
+ function K(s) {
263
+ return l(w.anyDigitsSigned, s);
264
+ }
265
+ function f(s, e) {
266
+ switch (s) {
267
+ case 1:
268
+ return l(w.singleDigit, e);
269
+ case 2:
270
+ return l(w.twoDigits, e);
271
+ case 3:
272
+ return l(w.threeDigits, e);
273
+ case 4:
274
+ return l(w.fourDigits, e);
275
+ default:
276
+ return l(new RegExp("^\\d{1," + s + "}"), e);
277
+ }
278
+ }
279
+ function P(s, e) {
280
+ switch (s) {
281
+ case 1:
282
+ return l(w.singleDigitSigned, e);
283
+ case 2:
284
+ return l(w.twoDigitsSigned, e);
285
+ case 3:
286
+ return l(w.threeDigitsSigned, e);
287
+ case 4:
288
+ return l(w.fourDigitsSigned, e);
289
+ default:
290
+ return l(new RegExp("^-?\\d{1," + s + "}"), e);
291
+ }
292
+ }
293
+ function H(s) {
294
+ switch (s) {
295
+ case "morning":
296
+ return 4;
297
+ case "evening":
298
+ return 17;
299
+ case "pm":
300
+ case "noon":
301
+ case "afternoon":
302
+ return 12;
303
+ default:
304
+ return 0;
305
+ }
306
+ }
307
+ function z(s, e) {
308
+ const t = e > 0, r = t ? e : 1 - e;
309
+ let n;
310
+ if (r <= 50)
311
+ n = s || 100;
312
+ else {
313
+ const a = r + 50, o = Math.trunc(a / 100) * 100, u = s >= a % 100;
314
+ n = s + o - (u ? 100 : 0);
315
+ }
316
+ return t ? n : 1 - n;
317
+ }
318
+ function V(s) {
319
+ return s % 400 === 0 || s % 4 === 0 && s % 100 !== 0;
320
+ }
321
+ class Me extends c {
322
+ priority = 130;
323
+ incompatibleTokens = ["Y", "R", "u", "w", "I", "i", "e", "c", "t", "T"];
324
+ parse(e, t, r) {
325
+ const n = (a) => ({
326
+ year: a,
327
+ isTwoDigitYear: t === "yy"
328
+ });
329
+ switch (t) {
330
+ case "y":
331
+ return h(f(4, e), n);
332
+ case "yo":
333
+ return h(
334
+ r.ordinalNumber(e, {
335
+ unit: "year"
336
+ }),
337
+ n
338
+ );
339
+ default:
340
+ return h(f(t.length, e), n);
341
+ }
342
+ }
343
+ validate(e, t) {
344
+ return t.isTwoDigitYear || t.year > 0;
345
+ }
346
+ set(e, t, r) {
347
+ const n = e.getFullYear();
348
+ if (r.isTwoDigitYear) {
349
+ const o = z(
350
+ r.year,
351
+ n
352
+ );
353
+ return e.setFullYear(o, 0, 1), e.setHours(0, 0, 0, 0), e;
354
+ }
355
+ const a = !("era" in t) || t.era === 1 ? r.year : 1 - r.year;
356
+ return e.setFullYear(a, 0, 1), e.setHours(0, 0, 0, 0), e;
357
+ }
358
+ }
359
+ class ke extends c {
360
+ priority = 130;
361
+ parse(e, t, r) {
362
+ const n = (a) => ({
363
+ year: a,
364
+ isTwoDigitYear: t === "YY"
365
+ });
366
+ switch (t) {
367
+ case "Y":
368
+ return h(f(4, e), n);
369
+ case "Yo":
370
+ return h(
371
+ r.ordinalNumber(e, {
372
+ unit: "year"
373
+ }),
374
+ n
375
+ );
376
+ default:
377
+ return h(f(t.length, e), n);
378
+ }
379
+ }
380
+ validate(e, t) {
381
+ return t.isTwoDigitYear || t.year > 0;
382
+ }
383
+ set(e, t, r, n) {
384
+ const a = B(e, n);
385
+ if (r.isTwoDigitYear) {
386
+ const u = z(
387
+ r.year,
388
+ a
389
+ );
390
+ return e.setFullYear(
391
+ u,
392
+ 0,
393
+ n.firstWeekContainsDate
394
+ ), e.setHours(0, 0, 0, 0), T(e, n);
395
+ }
396
+ const o = !("era" in t) || t.era === 1 ? r.year : 1 - r.year;
397
+ return e.setFullYear(o, 0, n.firstWeekContainsDate), e.setHours(0, 0, 0, 0), T(e, n);
398
+ }
399
+ incompatibleTokens = [
400
+ "y",
401
+ "R",
402
+ "u",
403
+ "Q",
404
+ "q",
405
+ "M",
406
+ "L",
407
+ "I",
408
+ "d",
409
+ "D",
410
+ "i",
411
+ "t",
412
+ "T"
413
+ ];
414
+ }
415
+ class Pe extends c {
416
+ priority = 130;
417
+ parse(e, t) {
418
+ return P(t === "R" ? 4 : t.length, e);
419
+ }
420
+ set(e, t, r) {
421
+ const n = p(e, 0);
422
+ return n.setFullYear(r, 0, 4), n.setHours(0, 0, 0, 0), k(n);
423
+ }
424
+ incompatibleTokens = [
425
+ "G",
426
+ "y",
427
+ "Y",
428
+ "u",
429
+ "Q",
430
+ "q",
431
+ "M",
432
+ "L",
433
+ "w",
434
+ "d",
435
+ "D",
436
+ "e",
437
+ "c",
438
+ "t",
439
+ "T"
440
+ ];
441
+ }
442
+ class _e extends c {
443
+ priority = 130;
444
+ parse(e, t) {
445
+ return P(t === "u" ? 4 : t.length, e);
446
+ }
447
+ set(e, t, r) {
448
+ return e.setFullYear(r, 0, 1), e.setHours(0, 0, 0, 0), e;
449
+ }
450
+ incompatibleTokens = ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"];
451
+ }
452
+ class Oe extends c {
453
+ priority = 120;
454
+ parse(e, t, r) {
455
+ switch (t) {
456
+ // 1, 2, 3, 4
457
+ case "Q":
458
+ case "QQ":
459
+ return f(t.length, e);
460
+ // 1st, 2nd, 3rd, 4th
461
+ case "Qo":
462
+ return r.ordinalNumber(e, { unit: "quarter" });
463
+ // Q1, Q2, Q3, Q4
464
+ case "QQQ":
465
+ return r.quarter(e, {
466
+ width: "abbreviated",
467
+ context: "formatting"
468
+ }) || r.quarter(e, {
469
+ width: "narrow",
470
+ context: "formatting"
471
+ });
472
+ // 1, 2, 3, 4 (narrow quarter; could be not numerical)
473
+ case "QQQQQ":
474
+ return r.quarter(e, {
475
+ width: "narrow",
476
+ context: "formatting"
477
+ });
478
+ default:
479
+ return r.quarter(e, {
480
+ width: "wide",
481
+ context: "formatting"
482
+ }) || r.quarter(e, {
483
+ width: "abbreviated",
484
+ context: "formatting"
485
+ }) || r.quarter(e, {
486
+ width: "narrow",
487
+ context: "formatting"
488
+ });
489
+ }
490
+ }
491
+ validate(e, t) {
492
+ return t >= 1 && t <= 4;
493
+ }
494
+ set(e, t, r) {
495
+ return e.setMonth((r - 1) * 3, 1), e.setHours(0, 0, 0, 0), e;
496
+ }
497
+ incompatibleTokens = [
498
+ "Y",
499
+ "R",
500
+ "q",
501
+ "M",
502
+ "L",
503
+ "w",
504
+ "I",
505
+ "d",
506
+ "D",
507
+ "i",
508
+ "e",
509
+ "c",
510
+ "t",
511
+ "T"
512
+ ];
513
+ }
514
+ class Ie extends c {
515
+ priority = 120;
516
+ parse(e, t, r) {
517
+ switch (t) {
518
+ // 1, 2, 3, 4
519
+ case "q":
520
+ case "qq":
521
+ return f(t.length, e);
522
+ // 1st, 2nd, 3rd, 4th
523
+ case "qo":
524
+ return r.ordinalNumber(e, { unit: "quarter" });
525
+ // Q1, Q2, Q3, Q4
526
+ case "qqq":
527
+ return r.quarter(e, {
528
+ width: "abbreviated",
529
+ context: "standalone"
530
+ }) || r.quarter(e, {
531
+ width: "narrow",
532
+ context: "standalone"
533
+ });
534
+ // 1, 2, 3, 4 (narrow quarter; could be not numerical)
535
+ case "qqqqq":
536
+ return r.quarter(e, {
537
+ width: "narrow",
538
+ context: "standalone"
539
+ });
540
+ default:
541
+ return r.quarter(e, {
542
+ width: "wide",
543
+ context: "standalone"
544
+ }) || r.quarter(e, {
545
+ width: "abbreviated",
546
+ context: "standalone"
547
+ }) || r.quarter(e, {
548
+ width: "narrow",
549
+ context: "standalone"
550
+ });
551
+ }
552
+ }
553
+ validate(e, t) {
554
+ return t >= 1 && t <= 4;
555
+ }
556
+ set(e, t, r) {
557
+ return e.setMonth((r - 1) * 3, 1), e.setHours(0, 0, 0, 0), e;
558
+ }
559
+ incompatibleTokens = [
560
+ "Y",
561
+ "R",
562
+ "Q",
563
+ "M",
564
+ "L",
565
+ "w",
566
+ "I",
567
+ "d",
568
+ "D",
569
+ "i",
570
+ "e",
571
+ "c",
572
+ "t",
573
+ "T"
574
+ ];
575
+ }
576
+ class Ee extends c {
577
+ incompatibleTokens = [
578
+ "Y",
579
+ "R",
580
+ "q",
581
+ "Q",
582
+ "L",
583
+ "w",
584
+ "I",
585
+ "D",
586
+ "i",
587
+ "e",
588
+ "c",
589
+ "t",
590
+ "T"
591
+ ];
592
+ priority = 110;
593
+ parse(e, t, r) {
594
+ const n = (a) => a - 1;
595
+ switch (t) {
596
+ // 1, 2, ..., 12
597
+ case "M":
598
+ return h(
599
+ l(w.month, e),
600
+ n
601
+ );
602
+ // 01, 02, ..., 12
603
+ case "MM":
604
+ return h(f(2, e), n);
605
+ // 1st, 2nd, ..., 12th
606
+ case "Mo":
607
+ return h(
608
+ r.ordinalNumber(e, {
609
+ unit: "month"
610
+ }),
611
+ n
612
+ );
613
+ // Jan, Feb, ..., Dec
614
+ case "MMM":
615
+ return r.month(e, {
616
+ width: "abbreviated",
617
+ context: "formatting"
618
+ }) || r.month(e, { width: "narrow", context: "formatting" });
619
+ // J, F, ..., D
620
+ case "MMMMM":
621
+ return r.month(e, {
622
+ width: "narrow",
623
+ context: "formatting"
624
+ });
625
+ default:
626
+ return r.month(e, { width: "wide", context: "formatting" }) || r.month(e, {
627
+ width: "abbreviated",
628
+ context: "formatting"
629
+ }) || r.month(e, { width: "narrow", context: "formatting" });
630
+ }
631
+ }
632
+ validate(e, t) {
633
+ return t >= 0 && t <= 11;
634
+ }
635
+ set(e, t, r) {
636
+ return e.setMonth(r, 1), e.setHours(0, 0, 0, 0), e;
637
+ }
638
+ }
639
+ class He extends c {
640
+ priority = 110;
641
+ parse(e, t, r) {
642
+ const n = (a) => a - 1;
643
+ switch (t) {
644
+ // 1, 2, ..., 12
645
+ case "L":
646
+ return h(
647
+ l(w.month, e),
648
+ n
649
+ );
650
+ // 01, 02, ..., 12
651
+ case "LL":
652
+ return h(f(2, e), n);
653
+ // 1st, 2nd, ..., 12th
654
+ case "Lo":
655
+ return h(
656
+ r.ordinalNumber(e, {
657
+ unit: "month"
658
+ }),
659
+ n
660
+ );
661
+ // Jan, Feb, ..., Dec
662
+ case "LLL":
663
+ return r.month(e, {
664
+ width: "abbreviated",
665
+ context: "standalone"
666
+ }) || r.month(e, { width: "narrow", context: "standalone" });
667
+ // J, F, ..., D
668
+ case "LLLLL":
669
+ return r.month(e, {
670
+ width: "narrow",
671
+ context: "standalone"
672
+ });
673
+ default:
674
+ return r.month(e, { width: "wide", context: "standalone" }) || r.month(e, {
675
+ width: "abbreviated",
676
+ context: "standalone"
677
+ }) || r.month(e, { width: "narrow", context: "standalone" });
678
+ }
679
+ }
680
+ validate(e, t) {
681
+ return t >= 0 && t <= 11;
682
+ }
683
+ set(e, t, r) {
684
+ return e.setMonth(r, 1), e.setHours(0, 0, 0, 0), e;
685
+ }
686
+ incompatibleTokens = [
687
+ "Y",
688
+ "R",
689
+ "q",
690
+ "Q",
691
+ "M",
692
+ "w",
693
+ "I",
694
+ "D",
695
+ "i",
696
+ "e",
697
+ "c",
698
+ "t",
699
+ "T"
700
+ ];
701
+ }
702
+ function Fe(s, e, t) {
703
+ const r = x(s, t?.in), n = ce(r, t) - e;
704
+ return r.setDate(r.getDate() - n * 7), x(r, t?.in);
705
+ }
706
+ class We extends c {
707
+ priority = 100;
708
+ parse(e, t, r) {
709
+ switch (t) {
710
+ case "w":
711
+ return l(w.week, e);
712
+ case "wo":
713
+ return r.ordinalNumber(e, { unit: "week" });
714
+ default:
715
+ return f(t.length, e);
716
+ }
717
+ }
718
+ validate(e, t) {
719
+ return t >= 1 && t <= 53;
720
+ }
721
+ set(e, t, r, n) {
722
+ return T(Fe(e, r, n), n);
723
+ }
724
+ incompatibleTokens = [
725
+ "y",
726
+ "R",
727
+ "u",
728
+ "q",
729
+ "Q",
730
+ "M",
731
+ "L",
732
+ "I",
733
+ "d",
734
+ "D",
735
+ "i",
736
+ "t",
737
+ "T"
738
+ ];
739
+ }
740
+ function qe(s, e, t) {
741
+ const r = x(s, t?.in), n = oe(r, t) - e;
742
+ return r.setDate(r.getDate() - n * 7), r;
743
+ }
744
+ class Ne extends c {
745
+ priority = 100;
746
+ parse(e, t, r) {
747
+ switch (t) {
748
+ case "I":
749
+ return l(w.week, e);
750
+ case "Io":
751
+ return r.ordinalNumber(e, { unit: "week" });
752
+ default:
753
+ return f(t.length, e);
754
+ }
755
+ }
756
+ validate(e, t) {
757
+ return t >= 1 && t <= 53;
758
+ }
759
+ set(e, t, r) {
760
+ return k(qe(e, r));
761
+ }
762
+ incompatibleTokens = [
763
+ "y",
764
+ "Y",
765
+ "u",
766
+ "q",
767
+ "Q",
768
+ "M",
769
+ "L",
770
+ "w",
771
+ "d",
772
+ "D",
773
+ "e",
774
+ "c",
775
+ "t",
776
+ "T"
777
+ ];
778
+ }
779
+ const $e = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Re = [
780
+ 31,
781
+ 29,
782
+ 31,
783
+ 30,
784
+ 31,
785
+ 30,
786
+ 31,
787
+ 31,
788
+ 30,
789
+ 31,
790
+ 30,
791
+ 31
792
+ ];
793
+ class ve extends c {
794
+ priority = 90;
795
+ subPriority = 1;
796
+ parse(e, t, r) {
797
+ switch (t) {
798
+ case "d":
799
+ return l(w.date, e);
800
+ case "do":
801
+ return r.ordinalNumber(e, { unit: "date" });
802
+ default:
803
+ return f(t.length, e);
804
+ }
805
+ }
806
+ validate(e, t) {
807
+ const r = e.getFullYear(), n = V(r), a = e.getMonth();
808
+ return n ? t >= 1 && t <= Re[a] : t >= 1 && t <= $e[a];
809
+ }
810
+ set(e, t, r) {
811
+ return e.setDate(r), e.setHours(0, 0, 0, 0), e;
812
+ }
813
+ incompatibleTokens = [
814
+ "Y",
815
+ "R",
816
+ "q",
817
+ "Q",
818
+ "w",
819
+ "I",
820
+ "D",
821
+ "i",
822
+ "e",
823
+ "c",
824
+ "t",
825
+ "T"
826
+ ];
827
+ }
828
+ class Ce extends c {
829
+ priority = 90;
830
+ subpriority = 1;
831
+ parse(e, t, r) {
832
+ switch (t) {
833
+ case "D":
834
+ case "DD":
835
+ return l(w.dayOfYear, e);
836
+ case "Do":
837
+ return r.ordinalNumber(e, { unit: "date" });
838
+ default:
839
+ return f(t.length, e);
840
+ }
841
+ }
842
+ validate(e, t) {
843
+ const r = e.getFullYear();
844
+ return V(r) ? t >= 1 && t <= 366 : t >= 1 && t <= 365;
845
+ }
846
+ set(e, t, r) {
847
+ return e.setMonth(0, r), e.setHours(0, 0, 0, 0), e;
848
+ }
849
+ incompatibleTokens = [
850
+ "Y",
851
+ "R",
852
+ "q",
853
+ "Q",
854
+ "M",
855
+ "L",
856
+ "w",
857
+ "I",
858
+ "d",
859
+ "E",
860
+ "i",
861
+ "e",
862
+ "c",
863
+ "t",
864
+ "T"
865
+ ];
866
+ }
867
+ class Le extends c {
868
+ priority = 90;
869
+ parse(e, t, r) {
870
+ switch (t) {
871
+ // Tue
872
+ case "E":
873
+ case "EE":
874
+ case "EEE":
875
+ return r.day(e, {
876
+ width: "abbreviated",
877
+ context: "formatting"
878
+ }) || r.day(e, { width: "short", context: "formatting" }) || r.day(e, { width: "narrow", context: "formatting" });
879
+ // T
880
+ case "EEEEE":
881
+ return r.day(e, {
882
+ width: "narrow",
883
+ context: "formatting"
884
+ });
885
+ // Tu
886
+ case "EEEEEE":
887
+ return r.day(e, { width: "short", context: "formatting" }) || r.day(e, { width: "narrow", context: "formatting" });
888
+ default:
889
+ return r.day(e, { width: "wide", context: "formatting" }) || r.day(e, {
890
+ width: "abbreviated",
891
+ context: "formatting"
892
+ }) || r.day(e, { width: "short", context: "formatting" }) || r.day(e, { width: "narrow", context: "formatting" });
893
+ }
894
+ }
895
+ validate(e, t) {
896
+ return t >= 0 && t <= 6;
897
+ }
898
+ set(e, t, r, n) {
899
+ return e = I(e, r, n), e.setHours(0, 0, 0, 0), e;
900
+ }
901
+ incompatibleTokens = ["D", "i", "e", "c", "t", "T"];
902
+ }
903
+ class Qe extends c {
904
+ priority = 90;
905
+ parse(e, t, r, n) {
906
+ const a = (o) => {
907
+ const u = Math.floor((o - 1) / 7) * 7;
908
+ return (o + n.weekStartsOn + 6) % 7 + u;
909
+ };
910
+ switch (t) {
911
+ // 3
912
+ case "e":
913
+ case "ee":
914
+ return h(f(t.length, e), a);
915
+ // 3rd
916
+ case "eo":
917
+ return h(
918
+ r.ordinalNumber(e, {
919
+ unit: "day"
920
+ }),
921
+ a
922
+ );
923
+ // Tue
924
+ case "eee":
925
+ return r.day(e, {
926
+ width: "abbreviated",
927
+ context: "formatting"
928
+ }) || r.day(e, { width: "short", context: "formatting" }) || r.day(e, { width: "narrow", context: "formatting" });
929
+ // T
930
+ case "eeeee":
931
+ return r.day(e, {
932
+ width: "narrow",
933
+ context: "formatting"
934
+ });
935
+ // Tu
936
+ case "eeeeee":
937
+ return r.day(e, { width: "short", context: "formatting" }) || r.day(e, { width: "narrow", context: "formatting" });
938
+ default:
939
+ return r.day(e, { width: "wide", context: "formatting" }) || r.day(e, {
940
+ width: "abbreviated",
941
+ context: "formatting"
942
+ }) || r.day(e, { width: "short", context: "formatting" }) || r.day(e, { width: "narrow", context: "formatting" });
943
+ }
944
+ }
945
+ validate(e, t) {
946
+ return t >= 0 && t <= 6;
947
+ }
948
+ set(e, t, r, n) {
949
+ return e = I(e, r, n), e.setHours(0, 0, 0, 0), e;
950
+ }
951
+ incompatibleTokens = [
952
+ "y",
953
+ "R",
954
+ "u",
955
+ "q",
956
+ "Q",
957
+ "M",
958
+ "L",
959
+ "I",
960
+ "d",
961
+ "D",
962
+ "E",
963
+ "i",
964
+ "c",
965
+ "t",
966
+ "T"
967
+ ];
968
+ }
969
+ class Ae extends c {
970
+ priority = 90;
971
+ parse(e, t, r, n) {
972
+ const a = (o) => {
973
+ const u = Math.floor((o - 1) / 7) * 7;
974
+ return (o + n.weekStartsOn + 6) % 7 + u;
975
+ };
976
+ switch (t) {
977
+ // 3
978
+ case "c":
979
+ case "cc":
980
+ return h(f(t.length, e), a);
981
+ // 3rd
982
+ case "co":
983
+ return h(
984
+ r.ordinalNumber(e, {
985
+ unit: "day"
986
+ }),
987
+ a
988
+ );
989
+ // Tue
990
+ case "ccc":
991
+ return r.day(e, {
992
+ width: "abbreviated",
993
+ context: "standalone"
994
+ }) || r.day(e, { width: "short", context: "standalone" }) || r.day(e, { width: "narrow", context: "standalone" });
995
+ // T
996
+ case "ccccc":
997
+ return r.day(e, {
998
+ width: "narrow",
999
+ context: "standalone"
1000
+ });
1001
+ // Tu
1002
+ case "cccccc":
1003
+ return r.day(e, { width: "short", context: "standalone" }) || r.day(e, { width: "narrow", context: "standalone" });
1004
+ default:
1005
+ return r.day(e, { width: "wide", context: "standalone" }) || r.day(e, {
1006
+ width: "abbreviated",
1007
+ context: "standalone"
1008
+ }) || r.day(e, { width: "short", context: "standalone" }) || r.day(e, { width: "narrow", context: "standalone" });
1009
+ }
1010
+ }
1011
+ validate(e, t) {
1012
+ return t >= 0 && t <= 6;
1013
+ }
1014
+ set(e, t, r, n) {
1015
+ return e = I(e, r, n), e.setHours(0, 0, 0, 0), e;
1016
+ }
1017
+ incompatibleTokens = [
1018
+ "y",
1019
+ "R",
1020
+ "u",
1021
+ "q",
1022
+ "Q",
1023
+ "M",
1024
+ "L",
1025
+ "I",
1026
+ "d",
1027
+ "D",
1028
+ "E",
1029
+ "i",
1030
+ "e",
1031
+ "t",
1032
+ "T"
1033
+ ];
1034
+ }
1035
+ function Be(s, e, t) {
1036
+ const r = x(s, t?.in), n = me(r, t), a = e - n;
1037
+ return J(r, a, t);
1038
+ }
1039
+ class Ge extends c {
1040
+ priority = 90;
1041
+ parse(e, t, r) {
1042
+ const n = (a) => a === 0 ? 7 : a;
1043
+ switch (t) {
1044
+ // 2
1045
+ case "i":
1046
+ case "ii":
1047
+ return f(t.length, e);
1048
+ // 2nd
1049
+ case "io":
1050
+ return r.ordinalNumber(e, { unit: "day" });
1051
+ // Tue
1052
+ case "iii":
1053
+ return h(
1054
+ r.day(e, {
1055
+ width: "abbreviated",
1056
+ context: "formatting"
1057
+ }) || r.day(e, {
1058
+ width: "short",
1059
+ context: "formatting"
1060
+ }) || r.day(e, {
1061
+ width: "narrow",
1062
+ context: "formatting"
1063
+ }),
1064
+ n
1065
+ );
1066
+ // T
1067
+ case "iiiii":
1068
+ return h(
1069
+ r.day(e, {
1070
+ width: "narrow",
1071
+ context: "formatting"
1072
+ }),
1073
+ n
1074
+ );
1075
+ // Tu
1076
+ case "iiiiii":
1077
+ return h(
1078
+ r.day(e, {
1079
+ width: "short",
1080
+ context: "formatting"
1081
+ }) || r.day(e, {
1082
+ width: "narrow",
1083
+ context: "formatting"
1084
+ }),
1085
+ n
1086
+ );
1087
+ default:
1088
+ return h(
1089
+ r.day(e, {
1090
+ width: "wide",
1091
+ context: "formatting"
1092
+ }) || r.day(e, {
1093
+ width: "abbreviated",
1094
+ context: "formatting"
1095
+ }) || r.day(e, {
1096
+ width: "short",
1097
+ context: "formatting"
1098
+ }) || r.day(e, {
1099
+ width: "narrow",
1100
+ context: "formatting"
1101
+ }),
1102
+ n
1103
+ );
1104
+ }
1105
+ }
1106
+ validate(e, t) {
1107
+ return t >= 1 && t <= 7;
1108
+ }
1109
+ set(e, t, r) {
1110
+ return e = Be(e, r), e.setHours(0, 0, 0, 0), e;
1111
+ }
1112
+ incompatibleTokens = [
1113
+ "y",
1114
+ "Y",
1115
+ "u",
1116
+ "q",
1117
+ "Q",
1118
+ "M",
1119
+ "L",
1120
+ "w",
1121
+ "d",
1122
+ "D",
1123
+ "E",
1124
+ "e",
1125
+ "c",
1126
+ "t",
1127
+ "T"
1128
+ ];
1129
+ }
1130
+ class Xe extends c {
1131
+ priority = 80;
1132
+ parse(e, t, r) {
1133
+ switch (t) {
1134
+ case "a":
1135
+ case "aa":
1136
+ case "aaa":
1137
+ return r.dayPeriod(e, {
1138
+ width: "abbreviated",
1139
+ context: "formatting"
1140
+ }) || r.dayPeriod(e, {
1141
+ width: "narrow",
1142
+ context: "formatting"
1143
+ });
1144
+ case "aaaaa":
1145
+ return r.dayPeriod(e, {
1146
+ width: "narrow",
1147
+ context: "formatting"
1148
+ });
1149
+ default:
1150
+ return r.dayPeriod(e, {
1151
+ width: "wide",
1152
+ context: "formatting"
1153
+ }) || r.dayPeriod(e, {
1154
+ width: "abbreviated",
1155
+ context: "formatting"
1156
+ }) || r.dayPeriod(e, {
1157
+ width: "narrow",
1158
+ context: "formatting"
1159
+ });
1160
+ }
1161
+ }
1162
+ set(e, t, r) {
1163
+ return e.setHours(H(r), 0, 0, 0), e;
1164
+ }
1165
+ incompatibleTokens = ["b", "B", "H", "k", "t", "T"];
1166
+ }
1167
+ class Ke extends c {
1168
+ priority = 80;
1169
+ parse(e, t, r) {
1170
+ switch (t) {
1171
+ case "b":
1172
+ case "bb":
1173
+ case "bbb":
1174
+ return r.dayPeriod(e, {
1175
+ width: "abbreviated",
1176
+ context: "formatting"
1177
+ }) || r.dayPeriod(e, {
1178
+ width: "narrow",
1179
+ context: "formatting"
1180
+ });
1181
+ case "bbbbb":
1182
+ return r.dayPeriod(e, {
1183
+ width: "narrow",
1184
+ context: "formatting"
1185
+ });
1186
+ default:
1187
+ return r.dayPeriod(e, {
1188
+ width: "wide",
1189
+ context: "formatting"
1190
+ }) || r.dayPeriod(e, {
1191
+ width: "abbreviated",
1192
+ context: "formatting"
1193
+ }) || r.dayPeriod(e, {
1194
+ width: "narrow",
1195
+ context: "formatting"
1196
+ });
1197
+ }
1198
+ }
1199
+ set(e, t, r) {
1200
+ return e.setHours(H(r), 0, 0, 0), e;
1201
+ }
1202
+ incompatibleTokens = ["a", "B", "H", "k", "t", "T"];
1203
+ }
1204
+ class ze extends c {
1205
+ priority = 80;
1206
+ parse(e, t, r) {
1207
+ switch (t) {
1208
+ case "B":
1209
+ case "BB":
1210
+ case "BBB":
1211
+ return r.dayPeriod(e, {
1212
+ width: "abbreviated",
1213
+ context: "formatting"
1214
+ }) || r.dayPeriod(e, {
1215
+ width: "narrow",
1216
+ context: "formatting"
1217
+ });
1218
+ case "BBBBB":
1219
+ return r.dayPeriod(e, {
1220
+ width: "narrow",
1221
+ context: "formatting"
1222
+ });
1223
+ default:
1224
+ return r.dayPeriod(e, {
1225
+ width: "wide",
1226
+ context: "formatting"
1227
+ }) || r.dayPeriod(e, {
1228
+ width: "abbreviated",
1229
+ context: "formatting"
1230
+ }) || r.dayPeriod(e, {
1231
+ width: "narrow",
1232
+ context: "formatting"
1233
+ });
1234
+ }
1235
+ }
1236
+ set(e, t, r) {
1237
+ return e.setHours(H(r), 0, 0, 0), e;
1238
+ }
1239
+ incompatibleTokens = ["a", "b", "t", "T"];
1240
+ }
1241
+ class Ve extends c {
1242
+ priority = 70;
1243
+ parse(e, t, r) {
1244
+ switch (t) {
1245
+ case "h":
1246
+ return l(w.hour12h, e);
1247
+ case "ho":
1248
+ return r.ordinalNumber(e, { unit: "hour" });
1249
+ default:
1250
+ return f(t.length, e);
1251
+ }
1252
+ }
1253
+ validate(e, t) {
1254
+ return t >= 1 && t <= 12;
1255
+ }
1256
+ set(e, t, r) {
1257
+ const n = e.getHours() >= 12;
1258
+ return n && r < 12 ? e.setHours(r + 12, 0, 0, 0) : !n && r === 12 ? e.setHours(0, 0, 0, 0) : e.setHours(r, 0, 0, 0), e;
1259
+ }
1260
+ incompatibleTokens = ["H", "K", "k", "t", "T"];
1261
+ }
1262
+ class Ze extends c {
1263
+ priority = 70;
1264
+ parse(e, t, r) {
1265
+ switch (t) {
1266
+ case "H":
1267
+ return l(w.hour23h, e);
1268
+ case "Ho":
1269
+ return r.ordinalNumber(e, { unit: "hour" });
1270
+ default:
1271
+ return f(t.length, e);
1272
+ }
1273
+ }
1274
+ validate(e, t) {
1275
+ return t >= 0 && t <= 23;
1276
+ }
1277
+ set(e, t, r) {
1278
+ return e.setHours(r, 0, 0, 0), e;
1279
+ }
1280
+ incompatibleTokens = ["a", "b", "h", "K", "k", "t", "T"];
1281
+ }
1282
+ class je extends c {
1283
+ priority = 70;
1284
+ parse(e, t, r) {
1285
+ switch (t) {
1286
+ case "K":
1287
+ return l(w.hour11h, e);
1288
+ case "Ko":
1289
+ return r.ordinalNumber(e, { unit: "hour" });
1290
+ default:
1291
+ return f(t.length, e);
1292
+ }
1293
+ }
1294
+ validate(e, t) {
1295
+ return t >= 0 && t <= 11;
1296
+ }
1297
+ set(e, t, r) {
1298
+ return e.getHours() >= 12 && r < 12 ? e.setHours(r + 12, 0, 0, 0) : e.setHours(r, 0, 0, 0), e;
1299
+ }
1300
+ incompatibleTokens = ["h", "H", "k", "t", "T"];
1301
+ }
1302
+ class Ue extends c {
1303
+ priority = 70;
1304
+ parse(e, t, r) {
1305
+ switch (t) {
1306
+ case "k":
1307
+ return l(w.hour24h, e);
1308
+ case "ko":
1309
+ return r.ordinalNumber(e, { unit: "hour" });
1310
+ default:
1311
+ return f(t.length, e);
1312
+ }
1313
+ }
1314
+ validate(e, t) {
1315
+ return t >= 1 && t <= 24;
1316
+ }
1317
+ set(e, t, r) {
1318
+ const n = r <= 24 ? r % 24 : r;
1319
+ return e.setHours(n, 0, 0, 0), e;
1320
+ }
1321
+ incompatibleTokens = ["a", "b", "h", "H", "K", "t", "T"];
1322
+ }
1323
+ class Je extends c {
1324
+ priority = 60;
1325
+ parse(e, t, r) {
1326
+ switch (t) {
1327
+ case "m":
1328
+ return l(w.minute, e);
1329
+ case "mo":
1330
+ return r.ordinalNumber(e, { unit: "minute" });
1331
+ default:
1332
+ return f(t.length, e);
1333
+ }
1334
+ }
1335
+ validate(e, t) {
1336
+ return t >= 0 && t <= 59;
1337
+ }
1338
+ set(e, t, r) {
1339
+ return e.setMinutes(r, 0, 0), e;
1340
+ }
1341
+ incompatibleTokens = ["t", "T"];
1342
+ }
1343
+ class Se extends c {
1344
+ priority = 50;
1345
+ parse(e, t, r) {
1346
+ switch (t) {
1347
+ case "s":
1348
+ return l(w.second, e);
1349
+ case "so":
1350
+ return r.ordinalNumber(e, { unit: "second" });
1351
+ default:
1352
+ return f(t.length, e);
1353
+ }
1354
+ }
1355
+ validate(e, t) {
1356
+ return t >= 0 && t <= 59;
1357
+ }
1358
+ set(e, t, r) {
1359
+ return e.setSeconds(r, 0), e;
1360
+ }
1361
+ incompatibleTokens = ["t", "T"];
1362
+ }
1363
+ class et extends c {
1364
+ priority = 30;
1365
+ parse(e, t) {
1366
+ const r = (n) => Math.trunc(n * Math.pow(10, -t.length + 3));
1367
+ return h(f(t.length, e), r);
1368
+ }
1369
+ set(e, t, r) {
1370
+ return e.setMilliseconds(r), e;
1371
+ }
1372
+ incompatibleTokens = ["t", "T"];
1373
+ }
1374
+ class tt extends c {
1375
+ priority = 10;
1376
+ parse(e, t) {
1377
+ switch (t) {
1378
+ case "X":
1379
+ return Y(
1380
+ D.basicOptionalMinutes,
1381
+ e
1382
+ );
1383
+ case "XX":
1384
+ return Y(D.basic, e);
1385
+ case "XXXX":
1386
+ return Y(
1387
+ D.basicOptionalSeconds,
1388
+ e
1389
+ );
1390
+ case "XXXXX":
1391
+ return Y(
1392
+ D.extendedOptionalSeconds,
1393
+ e
1394
+ );
1395
+ default:
1396
+ return Y(D.extended, e);
1397
+ }
1398
+ }
1399
+ set(e, t, r) {
1400
+ return t.timestampIsSet ? e : p(
1401
+ e,
1402
+ e.getTime() - Q(e) - r
1403
+ );
1404
+ }
1405
+ incompatibleTokens = ["t", "T", "x"];
1406
+ }
1407
+ class rt extends c {
1408
+ priority = 10;
1409
+ parse(e, t) {
1410
+ switch (t) {
1411
+ case "x":
1412
+ return Y(
1413
+ D.basicOptionalMinutes,
1414
+ e
1415
+ );
1416
+ case "xx":
1417
+ return Y(D.basic, e);
1418
+ case "xxxx":
1419
+ return Y(
1420
+ D.basicOptionalSeconds,
1421
+ e
1422
+ );
1423
+ case "xxxxx":
1424
+ return Y(
1425
+ D.extendedOptionalSeconds,
1426
+ e
1427
+ );
1428
+ default:
1429
+ return Y(D.extended, e);
1430
+ }
1431
+ }
1432
+ set(e, t, r) {
1433
+ return t.timestampIsSet ? e : p(
1434
+ e,
1435
+ e.getTime() - Q(e) - r
1436
+ );
1437
+ }
1438
+ incompatibleTokens = ["t", "T", "X"];
1439
+ }
1440
+ class st extends c {
1441
+ priority = 40;
1442
+ parse(e) {
1443
+ return K(e);
1444
+ }
1445
+ set(e, t, r) {
1446
+ return [p(e, r * 1e3), { timestampIsSet: !0 }];
1447
+ }
1448
+ incompatibleTokens = "*";
1449
+ }
1450
+ class nt extends c {
1451
+ priority = 20;
1452
+ parse(e) {
1453
+ return K(e);
1454
+ }
1455
+ set(e, t, r) {
1456
+ return [p(e, r), { timestampIsSet: !0 }];
1457
+ }
1458
+ incompatibleTokens = "*";
1459
+ }
1460
+ const at = {
1461
+ G: new ge(),
1462
+ y: new Me(),
1463
+ Y: new ke(),
1464
+ R: new Pe(),
1465
+ u: new _e(),
1466
+ Q: new Oe(),
1467
+ q: new Ie(),
1468
+ M: new Ee(),
1469
+ L: new He(),
1470
+ w: new We(),
1471
+ I: new Ne(),
1472
+ d: new ve(),
1473
+ D: new Ce(),
1474
+ E: new Le(),
1475
+ e: new Qe(),
1476
+ c: new Ae(),
1477
+ i: new Ge(),
1478
+ a: new Xe(),
1479
+ b: new Ke(),
1480
+ B: new ze(),
1481
+ h: new Ve(),
1482
+ H: new Ze(),
1483
+ K: new je(),
1484
+ k: new Ue(),
1485
+ m: new Je(),
1486
+ s: new Se(),
1487
+ S: new et(),
1488
+ X: new tt(),
1489
+ x: new rt(),
1490
+ t: new st(),
1491
+ T: new nt()
1492
+ }, ot = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, it = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, ct = /^'([^]*?)'?$/, ut = /''/g, lt = /\S/, dt = /[a-zA-Z]/;
1493
+ function ft(s, e, t, r) {
1494
+ const n = () => p(t, NaN), a = pe(), o = a.locale ?? re, u = a.firstWeekContainsDate ?? a.locale?.options?.firstWeekContainsDate ?? 1, y = a.weekStartsOn ?? a.locale?.options?.weekStartsOn ?? 0;
1495
+ if (!e)
1496
+ return s ? n() : x(t, r?.in);
1497
+ const m = {
1498
+ firstWeekContainsDate: u,
1499
+ weekStartsOn: y,
1500
+ locale: o
1501
+ }, g = [new Te(r?.in, t)], Z = e.match(it).map((i) => {
1502
+ const d = i[0];
1503
+ if (d in R) {
1504
+ const b = R[d];
1505
+ return b(i, o.formatLong);
1506
+ }
1507
+ return i;
1508
+ }).join("").match(ot), _ = [];
1509
+ for (let i of Z) {
1510
+ he(i) && v(i, e, s), we(i) && v(i, e, s);
1511
+ const d = i[0], b = at[d];
1512
+ if (b) {
1513
+ const { incompatibleTokens: W } = b;
1514
+ if (Array.isArray(W)) {
1515
+ const q = _.find(
1516
+ (N) => W.includes(N.token) || N.token === d
1517
+ );
1518
+ if (q)
1519
+ throw new RangeError(
1520
+ `The format string mustn't contain \`${q.fullToken}\` and \`${i}\` at the same time`
1521
+ );
1522
+ } else if (b.incompatibleTokens === "*" && _.length > 0)
1523
+ throw new RangeError(
1524
+ `The format string mustn't contain \`${i}\` and any other token at the same time`
1525
+ );
1526
+ _.push({ token: d, fullToken: i });
1527
+ const O = b.run(
1528
+ s,
1529
+ i,
1530
+ o.match,
1531
+ m
1532
+ );
1533
+ if (!O)
1534
+ return n();
1535
+ g.push(O.setter), s = O.rest;
1536
+ } else {
1537
+ if (d.match(dt))
1538
+ throw new RangeError(
1539
+ "Format string contains an unescaped latin alphabet character `" + d + "`"
1540
+ );
1541
+ if (i === "''" ? i = "'" : d === "'" && (i = wt(i)), s.indexOf(i) === 0)
1542
+ s = s.slice(i.length);
1543
+ else
1544
+ return n();
1545
+ }
1546
+ }
1547
+ if (s.length > 0 && lt.test(s))
1548
+ return n();
1549
+ const j = g.map((i) => i.priority).sort((i, d) => d - i).filter((i, d, b) => b.indexOf(i) === d).map(
1550
+ (i) => g.filter((d) => d.priority === i).sort((d, b) => b.subPriority - d.subPriority)
1551
+ ).map((i) => i[0]);
1552
+ let M = x(t, r?.in);
1553
+ if (isNaN(+M)) return n();
1554
+ const F = {};
1555
+ for (const i of j) {
1556
+ if (!i.validate(M, m))
1557
+ return n();
1558
+ const d = i.set(M, F, m);
1559
+ Array.isArray(d) ? (M = d[0], Object.assign(F, d[1])) : M = d;
1560
+ }
1561
+ return M;
1562
+ }
1563
+ function wt(s) {
1564
+ return s.match(ct)[1].replace(ut, "'");
1565
+ }
1566
+ const ht = "YYYY-MM-DD", yt = {
1567
+ "YYYY-MM-DD": /^\d{4}-(0?[1-9]|1[012])-(0?[1-9]|[12][0-9]|3[01])$/,
1568
+ "DD-MM-YYYY": /^(0?[1-9]|[12][0-9]|3[01])-(0?[1-9]|1[012])-\d{4}$/,
1569
+ "MM-DD-YYYY": /^(0?[1-9]|1[012])-(0?[1-9]|[12][0-9]|3[01])-\d{4}$/
1570
+ }, pt = {
1571
+ "YYYY-MM-DD": "yyyy-MM-dd",
1572
+ "DD-MM-YYYY": "dd-MM-yyyy",
1573
+ "MM-DD-YYYY": "MM-dd-yyyy"
1574
+ }, mt = /[\d]/, xt = /[A-Za-z]{2,}/, bt = (s, e) => {
1575
+ const { selectionStart: t } = s.target, r = mt.test(s.key) || xt.test(s.key), n = e === "YYYY-MM-DD" ? t === 4 || t === 7 : t === 2 || t === 5, a = s.key === "-" && n, { ctrlKey: o, shiftKey: u, altKey: y, metaKey: m } = s;
1576
+ !o && !u && !y && !m && !r && !a && s.preventDefault();
1577
+ }, Dt = (s, e) => {
1578
+ if (!s)
1579
+ return s;
1580
+ let t = s;
1581
+ const r = t.slice(-1), n = t.length > 1 ? t.slice(-2, -1) : "";
1582
+ if (e === "YYYY-MM-DD") {
1583
+ const a = t.length === 6, o = t.length === 9;
1584
+ (a && parseInt(r, 10) > 1 && n === "-" || o && parseInt(r, 10) > 3 && n === "-") && (t = `${t.slice(0, t.length - 1)}0${r}`), (/^\d{4}$/.test(t) || /^\d{4}-\d{2}$/.test(t)) && (t += "-");
1585
+ } else if (e === "DD-MM-YYYY") {
1586
+ const a = t.length === 1, o = t.length === 4;
1587
+ a && parseInt(r, 10) > 3 ? t = `0${r}` : o && parseInt(r, 10) > 1 && n === "-" && (t = `${t.slice(0, t.length - 1)}0${r}`), (/^\d{2}$/.test(t) || /^\d{2}-\d{2}$/.test(t)) && (t += "-");
1588
+ } else if (e === "MM-DD-YYYY") {
1589
+ const a = t.length === 1, o = t.length === 4;
1590
+ a && parseInt(r, 10) > 1 ? t = `0${r}` : o && parseInt(r, 10) > 3 && n === "-" && (t = `${t.slice(0, t.length - 1)}0${r}`), (/^\d{2}$/.test(t) || /^\d{2}-\d{2}$/.test(t)) && (t += "-");
1591
+ }
1592
+ return t;
1593
+ }, Pt = (s = ht) => {
1594
+ const e = C(() => s), t = (u) => yt[e.value].test(u), r = (u) => {
1595
+ if (!u)
1596
+ return /* @__PURE__ */ new Date(NaN);
1597
+ const y = ft(u, pt[e.value], /* @__PURE__ */ new Date());
1598
+ return new Date(y.getFullYear(), y.getMonth(), y.getDate());
1599
+ }, n = (u) => {
1600
+ if (!u)
1601
+ return "";
1602
+ const y = u.getFullYear(), m = (u.getMonth() + 1).toString().padStart(2, "0"), g = u.getDate().toString().padStart(2, "0");
1603
+ return e.value === "DD-MM-YYYY" ? `${g}-${m}-${y}` : e.value === "MM-DD-YYYY" ? `${m}-${g}-${y}` : `${y}-${m}-${g}`;
1604
+ };
1605
+ return {
1606
+ dateFormat: e,
1607
+ isFormatValid: t,
1608
+ parseDate: r,
1609
+ formatDate: n,
1610
+ dateToInputDateString: n,
1611
+ autoFormat: (u) => Dt(u, e.value),
1612
+ onKeyDown: (u) => {
1613
+ bt(u, e.value);
1614
+ }
1615
+ };
1616
+ };
1617
+ export {
1618
+ kt as a,
1619
+ ce as b,
1620
+ ne as c,
1621
+ B as d,
1622
+ we as e,
1623
+ oe as g,
1624
+ he as i,
1625
+ R as l,
1626
+ Pt as u,
1627
+ v as w
1628
+ };
1629
+ //# sourceMappingURL=use-date-input-formatter.DXwvH7B0.js.map