konsolpro-custom-ui 0.0.327

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 (369) hide show
  1. package/README.md +146 -0
  2. package/dist/chunks/accept-icon-X_bMUe5T.js +17 -0
  3. package/dist/chunks/account-balance-icon-CKxx1j3X.js +17 -0
  4. package/dist/chunks/add-circle-icon-D3XpY2oT.js +17 -0
  5. package/dist/chunks/add-icon-CZXR66VL.js +17 -0
  6. package/dist/chunks/alfa-icon-Cx0WqCux.js +17 -0
  7. package/dist/chunks/android-icon-6SCGu50U.js +17 -0
  8. package/dist/chunks/apple-icon-yya6O1xg.js +17 -0
  9. package/dist/chunks/arrow-back-icon-C_VwBDNK.js +17 -0
  10. package/dist/chunks/arrow-back-ios-icon-CB5K_mmJ.js +17 -0
  11. package/dist/chunks/arrow-down-icon-DFvg75P7.js +17 -0
  12. package/dist/chunks/arrow-forward-icon-BI4dm_L2.js +17 -0
  13. package/dist/chunks/arrow-left-icon-8yWT42A8.js +17 -0
  14. package/dist/chunks/arrow-right-icon-Bnx7GHux.js +17 -0
  15. package/dist/chunks/arrow-up-icon-DU7VVzN8.js +17 -0
  16. package/dist/chunks/attach-file-icon-OrT7tthI.js +17 -0
  17. package/dist/chunks/autorenew-icon-B0bI6Xt-.js +17 -0
  18. package/dist/chunks/baltiyskiy-icon-CXAJY9LH.js +17 -0
  19. package/dist/chunks/bill-error-icon-q8_KROAY.js +17 -0
  20. package/dist/chunks/bill-icon-Cw2GE_VB.js +17 -0
  21. package/dist/chunks/bill-in-progress-icon-BTsO5Mh5.js +17 -0
  22. package/dist/chunks/bill-warning-icon-3Y-dONd_.js +17 -0
  23. package/dist/chunks/bills-error-icon-CcDGUJrx.js +17 -0
  24. package/dist/chunks/bills-icon-BU_adAs0.js +17 -0
  25. package/dist/chunks/bills-in-progress-icon-RVEtPz7l.js +17 -0
  26. package/dist/chunks/bills-warning-icon-CNgWvumi.js +17 -0
  27. package/dist/chunks/block-icon-DGlp9c33.js +17 -0
  28. package/dist/chunks/bolt-fill-icon-DZjyKq8N.js +17 -0
  29. package/dist/chunks/bolt-icon-CJsvLlL-.js +17 -0
  30. package/dist/chunks/book-icon-BdaCKIQB.js +17 -0
  31. package/dist/chunks/business-center-icon-C5X-e-6I.js +17 -0
  32. package/dist/chunks/calendar-icon-B1cogiSd.js +17 -0
  33. package/dist/chunks/call-icon-DslHaQOP.js +17 -0
  34. package/dist/chunks/cancel-fill-DPYenlCk.js +17 -0
  35. package/dist/chunks/check-circle-fill-ne1MhahL.js +17 -0
  36. package/dist/chunks/check-circle-icon-BWhJprgU.js +17 -0
  37. package/dist/chunks/close-icon-CtbXesC0.js +17 -0
  38. package/dist/chunks/clsx-OuTLNxxd.js +16 -0
  39. package/dist/chunks/combobox-primitive-context-B_ldR_VA.js +4030 -0
  40. package/dist/chunks/cookie-DJ-U7h-A.js +17 -0
  41. package/dist/chunks/copy-icon-BWyncDVB.js +17 -0
  42. package/dist/chunks/credit-card-icon-DS1ckDU7.js +17 -0
  43. package/dist/chunks/delete-icon-Bk1ZmhBo.js +17 -0
  44. package/dist/chunks/document-icon-DcmQhRhY.js +17 -0
  45. package/dist/chunks/done-icon-BZEAL7mI.js +17 -0
  46. package/dist/chunks/download-icon-BvWPcT7W.js +17 -0
  47. package/dist/chunks/edit-icon-_3venQRC.js +17 -0
  48. package/dist/chunks/embla-carousel-react.esm-ZaRSnfTq.js +1252 -0
  49. package/dist/chunks/error-fill-icon--8j3Zcfq.js +17 -0
  50. package/dist/chunks/error-icon-BJWk5B-s.js +17 -0
  51. package/dist/chunks/error-icon-CgJ3zr06.js +17 -0
  52. package/dist/chunks/europa-icon-DbElF2Uc.js +17 -0
  53. package/dist/chunks/failed-icon-YP2jq4UN.js +17 -0
  54. package/dist/chunks/file-error-icon-630wBy1K.js +17 -0
  55. package/dist/chunks/file-success-icon-BTk5SYAM.js +17 -0
  56. package/dist/chunks/filter-icon-D_3_SQsN.js +17 -0
  57. package/dist/chunks/flag-icon-DmWEp4ya.js +17 -0
  58. package/dist/chunks/format-DoKcg9cH.js +1223 -0
  59. package/dist/chunks/full-screen-exit-icon-BHwq-9P-.js +17 -0
  60. package/dist/chunks/full-screen-icon-Dpl__xtk.js +17 -0
  61. package/dist/chunks/gazprom-icon-CRfKLTvP.js +17 -0
  62. package/dist/chunks/group-icon-BfSRHuvp.js +17 -0
  63. package/dist/chunks/help-icon-BMdlItds.js +17 -0
  64. package/dist/chunks/home-icon-Dc6LzbVw.js +17 -0
  65. package/dist/chunks/home-icon-Mag5Wxqq.js +17 -0
  66. package/dist/chunks/index-1Er1dKQf.js +13 -0
  67. package/dist/chunks/index-BJD1rYeT.js +57 -0
  68. package/dist/chunks/index-BO6p208a.js +48 -0
  69. package/dist/chunks/index-BZPx6jYI.js +8 -0
  70. package/dist/chunks/index-BxWD79NI.js +517 -0
  71. package/dist/chunks/index-ByaXH_ih.js +10 -0
  72. package/dist/chunks/index-CHDs-SiB.js +27 -0
  73. package/dist/chunks/index-CN5JEZ5H.js +79 -0
  74. package/dist/chunks/index-Ctjv6tIJ.js +1381 -0
  75. package/dist/chunks/index-DLcqcWxM.js +29 -0
  76. package/dist/chunks/index-DLeNytVF.js +9 -0
  77. package/dist/chunks/index-DYfkNB0n.js +54 -0
  78. package/dist/chunks/index-DuekHEmj.js +6 -0
  79. package/dist/chunks/index-DwYXX2sM.js +13 -0
  80. package/dist/chunks/index-E4d_Gd-w.js +91 -0
  81. package/dist/chunks/index-I8P2QgPV.js +258 -0
  82. package/dist/chunks/index-NPrw3_0K.js +14 -0
  83. package/dist/chunks/index-PsqJG3fE.js +75 -0
  84. package/dist/chunks/info-fill-icon-BzE09Xg8.js +17 -0
  85. package/dist/chunks/info-icon-BcUNe5kE.js +17 -0
  86. package/dist/chunks/inventory-icon-CFV8amBs.js +17 -0
  87. package/dist/chunks/link-icon-BUAymb0P.js +17 -0
  88. package/dist/chunks/list-icon-ChePCGxK.js +17 -0
  89. package/dist/chunks/location-icon-Bf9Wbg65.js +17 -0
  90. package/dist/chunks/logout-icon-DN86wp7N.js +17 -0
  91. package/dist/chunks/mail-icon-DCZPsZFE.js +17 -0
  92. package/dist/chunks/manage-accounts-icon-BkyuUTj3.js +17 -0
  93. package/dist/chunks/menu-icon-DWObHD95.js +17 -0
  94. package/dist/chunks/mkb-icon-CEkVt-7P.js +17 -0
  95. package/dist/chunks/more-horiz-icon-CSK7Ackl.js +17 -0
  96. package/dist/chunks/more-vert-icon-NA1tYTse.js +17 -0
  97. package/dist/chunks/mts-icon-Bq4YDYEy.js +17 -0
  98. package/dist/chunks/normal-icon-CYvIFN5j.js +17 -0
  99. package/dist/chunks/north-east-icon-Dh7-1BBW.js +17 -0
  100. package/dist/chunks/open-in-full-icon-DzhRd5Mx.js +17 -0
  101. package/dist/chunks/open-in-new-icon-A7MgnnyP.js +17 -0
  102. package/dist/chunks/otkritie-icon-yGwVocEY.js +17 -0
  103. package/dist/chunks/otp-icon-BQQXMe3b.js +17 -0
  104. package/dist/chunks/outgoing-main-icon-BAH2vddG.js +17 -0
  105. package/dist/chunks/page-info-icon-BiVNFu71.js +17 -0
  106. package/dist/chunks/passport-main-DNL65kJJ.js +17 -0
  107. package/dist/chunks/passport-registration-BGywpRar.js +17 -0
  108. package/dist/chunks/passport-selfie-Dsqd0uOf.js +17 -0
  109. package/dist/chunks/payment-icon-C-B7L4WP.js +17 -0
  110. package/dist/chunks/person-add-C-3pZhgM.js +17 -0
  111. package/dist/chunks/person-icon-Bo5NxPRQ.js +17 -0
  112. package/dist/chunks/person-search-icon-CwVm_XAL.js +17 -0
  113. package/dist/chunks/pincode-icon-BA-e4pBH.js +17 -0
  114. package/dist/chunks/play-icon-Bnj3hsIf.js +17 -0
  115. package/dist/chunks/popover-kFSgc5Lv.js +748 -0
  116. package/dist/chunks/progress-activity-icon-YbJGzvxH.js +17 -0
  117. package/dist/chunks/psb-icon-CxKzLVG5.js +17 -0
  118. package/dist/chunks/qiwi-icon-B795Q_fW.js +17 -0
  119. package/dist/chunks/raiffeisen-icon-CgcBX8eY.js +17 -0
  120. package/dist/chunks/refresh-icon-ac1oOwX8.js +17 -0
  121. package/dist/chunks/remove-icon-CTuoG0Vq.js +17 -0
  122. package/dist/chunks/ru-CUCVR8Pn.js +661 -0
  123. package/dist/chunks/russian-standart-icon-CI8j1Do6.js +17 -0
  124. package/dist/chunks/saint-petersburg-icon-DbffjI2W.js +17 -0
  125. package/dist/chunks/save-icon-DnF5revo.js +17 -0
  126. package/dist/chunks/sber-icon-b7d9_o7J.js +17 -0
  127. package/dist/chunks/sberid-icon-DgQtjRjD.js +17 -0
  128. package/dist/chunks/scenario-icon-BcnFsqUA.js +17 -0
  129. package/dist/chunks/scroll-area-TRRhxrjX.js +629 -0
  130. package/dist/chunks/search-icon-CortrXrC.js +17 -0
  131. package/dist/chunks/segment-icon-Bzm7cziF.js +17 -0
  132. package/dist/chunks/send-icon-BTztERTu.js +17 -0
  133. package/dist/chunks/settings-icon-D_wgjUsM.js +17 -0
  134. package/dist/chunks/shield-icon-BwpxkU5E.js +17 -0
  135. package/dist/chunks/signed-icon-DTQlKmWU.js +17 -0
  136. package/dist/chunks/skb-icon-BgDQolTL.js +17 -0
  137. package/dist/chunks/sms-icon-4p-ON5VX.js +17 -0
  138. package/dist/chunks/support-icon-CBHKGKq8.js +17 -0
  139. package/dist/chunks/tbank-icon-ByKW0pBb.js +17 -0
  140. package/dist/chunks/telegramm-icon-C2ZR2jdg.js +17 -0
  141. package/dist/chunks/thumbs-up-icon-BArjyDfk.js +17 -0
  142. package/dist/chunks/time-icon-DsWMo47L.js +17 -0
  143. package/dist/chunks/tinkoffid-icon-C6lsspZk.js +19 -0
  144. package/dist/chunks/tochka-icon-CoQ_r9Lz.js +17 -0
  145. package/dist/chunks/tooltip-BxRtZLBR.js +836 -0
  146. package/dist/chunks/trending-down-icon-DlHKI37F.js +17 -0
  147. package/dist/chunks/trending-up-icon-IEwGHi9c.js +17 -0
  148. package/dist/chunks/trust-icon-DcfUVGZ_.js +17 -0
  149. package/dist/chunks/tslib.es6-fInlAbov.js +27 -0
  150. package/dist/chunks/unfold-icon-S3J7xXHf.js +17 -0
  151. package/dist/chunks/uni-icon-gK006vr0.js +17 -0
  152. package/dist/chunks/upload-icon-CwzthQEL.js +17 -0
  153. package/dist/chunks/uploader-BN38rjbw.js +28387 -0
  154. package/dist/chunks/uralsib-icon-C-ZbdvlL.js +17 -0
  155. package/dist/chunks/uralskiy-icon-Djqv-ZYN.js +17 -0
  156. package/dist/chunks/utils-TbLXCoKm.js +2752 -0
  157. package/dist/chunks/visibility-off-icon-BA_I97Vw.js +17 -0
  158. package/dist/chunks/visibility-on-icon-C9VmKsvX.js +17 -0
  159. package/dist/chunks/vozrozhdenie-icon-CCMRNn95.js +17 -0
  160. package/dist/chunks/vtb-icon-BtfO1_Gx.js +17 -0
  161. package/dist/chunks/waiting-icon-lpQJA4wB.js +17 -0
  162. package/dist/chunks/wallet-icon-D0r9bDRg.js +17 -0
  163. package/dist/chunks/warning-icon-BmlgMY27.js +17 -0
  164. package/dist/chunks/work-icon-D7I-74Mk.js +17 -0
  165. package/dist/chunks/yandex-icon-CepqpI49.js +17 -0
  166. package/dist/chunks/zoom-in-icon-ZWEJANob.js +17 -0
  167. package/dist/chunks/zoom-out-icon-CeFz3G6V.js +17 -0
  168. package/dist/fonts/CoFoSansMono-Regular.otf +0 -0
  169. package/dist/fonts/Graphik-Bold.otf +0 -0
  170. package/dist/fonts/Graphik-Medium.otf +0 -0
  171. package/dist/fonts/Graphik-Regular.otf +0 -0
  172. package/dist/lib/icon/icon.js +38 -0
  173. package/dist/lib/icon/icons.js +353 -0
  174. package/dist/lib/icon/index.js +4 -0
  175. package/dist/lib/icon-banks/icon-banks.js +21 -0
  176. package/dist/lib/icon-banks/icons-banks.js +106 -0
  177. package/dist/lib/icon-banks/index.js +4 -0
  178. package/dist/lib/icon-documents/icon-document.js +26 -0
  179. package/dist/lib/icon-documents/icons-document.js +57 -0
  180. package/dist/lib/icon-documents/index.js +4 -0
  181. package/dist/lib/index.js +192 -0
  182. package/dist/lib/ui/accordion.js +474 -0
  183. package/dist/lib/ui/alert.js +8 -0
  184. package/dist/lib/ui/autocomplete.js +110 -0
  185. package/dist/lib/ui/avatar.js +333 -0
  186. package/dist/lib/ui/button.js +37 -0
  187. package/dist/lib/ui/calendar.js +121 -0
  188. package/dist/lib/ui/card.js +121 -0
  189. package/dist/lib/ui/carousel.js +55 -0
  190. package/dist/lib/ui/checkbox.js +363 -0
  191. package/dist/lib/ui/combobox-base/combobox-base.js +16 -0
  192. package/dist/lib/ui/combobox-base/index.js +4 -0
  193. package/dist/lib/ui/combobox-primitive/combobox-primitive-context.js +7 -0
  194. package/dist/lib/ui/combobox-primitive/components/Item.js +9 -0
  195. package/dist/lib/ui/combobox-primitive/components/combobox-actions.js +35 -0
  196. package/dist/lib/ui/combobox-primitive/components/combobox-container.js +59 -0
  197. package/dist/lib/ui/combobox-primitive/components/combobox-input.js +52 -0
  198. package/dist/lib/ui/combobox-primitive/components/combobox-item-renderer.js +101 -0
  199. package/dist/lib/ui/combobox-primitive/components/combobox-menu.js +56 -0
  200. package/dist/lib/ui/combobox-primitive/components/index.js +18 -0
  201. package/dist/lib/ui/combobox-primitive/components/item-view.js +53 -0
  202. package/dist/lib/ui/combobox-primitive/components/list.js +9 -0
  203. package/dist/lib/ui/combobox-primitive/constants.js +129 -0
  204. package/dist/lib/ui/combobox-primitive/hooks.js +31 -0
  205. package/dist/lib/ui/combobox-primitive/index.js +21 -0
  206. package/dist/lib/ui/combobox-primitive/types.js +1 -0
  207. package/dist/lib/ui/combobox-primitive/utils.js +60 -0
  208. package/dist/lib/ui/combobox.js +9 -0
  209. package/dist/lib/ui/command.js +1016 -0
  210. package/dist/lib/ui/customizable-carousel.js +431 -0
  211. package/dist/lib/ui/date-picker.js +288 -0
  212. package/dist/lib/ui/date-range-picker/constants.js +25 -0
  213. package/dist/lib/ui/date-range-picker/locales.js +116 -0
  214. package/dist/lib/ui/date-range-picker.js +392 -0
  215. package/dist/lib/ui/dialog/dialog-base/dialog-base.js +9 -0
  216. package/dist/lib/ui/dialog/dialog-base/index.js +6 -0
  217. package/dist/lib/ui/dialog/dialog-base/use-base-dialog.js +57 -0
  218. package/dist/lib/ui/dialog/dialog-primitive/dialog-primitive.js +17 -0
  219. package/dist/lib/ui/dialog/dialog-primitive/index.js +4 -0
  220. package/dist/lib/ui/dialog/index.js +7 -0
  221. package/dist/lib/ui/dialog/utils.js +32 -0
  222. package/dist/lib/ui/divider.js +8 -0
  223. package/dist/lib/ui/dropdown.js +13 -0
  224. package/dist/lib/ui/input-number/index.js +4 -0
  225. package/dist/lib/ui/input-number/input-number.js +6 -0
  226. package/dist/lib/ui/input.js +12 -0
  227. package/dist/lib/ui/link.js +167 -0
  228. package/dist/lib/ui/masked-input.js +6 -0
  229. package/dist/lib/ui/modal.js +41 -0
  230. package/dist/lib/ui/otp-input.js +8 -0
  231. package/dist/lib/ui/phone-input/constants.js +21 -0
  232. package/dist/lib/ui/phone-input/locales/ru.json.js +277 -0
  233. package/dist/lib/ui/phone-input/locales/tg.json.js +263 -0
  234. package/dist/lib/ui/phone-input/locales/uz.json.js +263 -0
  235. package/dist/lib/ui/phone-input/phone-input-utils.js +15 -0
  236. package/dist/lib/ui/phone-input/phone-input.js +20 -0
  237. package/dist/lib/ui/phone-input/phone-mask.js +261 -0
  238. package/dist/lib/ui/popover.js +10 -0
  239. package/dist/lib/ui/progress.js +140 -0
  240. package/dist/lib/ui/radio.js +10 -0
  241. package/dist/lib/ui/schedule-calendar/calendar-day-card.js +37 -0
  242. package/dist/lib/ui/schedule-calendar/constants.js +6 -0
  243. package/dist/lib/ui/schedule-calendar/embla-calendar-card.js +46 -0
  244. package/dist/lib/ui/schedule-calendar/embla-calendar-strip.js +52 -0
  245. package/dist/lib/ui/schedule-calendar/index.js +27 -0
  246. package/dist/lib/ui/schedule-calendar/schedule-calendar-strip.js +163 -0
  247. package/dist/lib/ui/schedule-calendar/schedule-header.js +66 -0
  248. package/dist/lib/ui/schedule-calendar/use-schedule-calendar.js +44 -0
  249. package/dist/lib/ui/schedule-calendar/use-schedule-sync.js +45 -0
  250. package/dist/lib/ui/schedule-calendar/utils.js +49 -0
  251. package/dist/lib/ui/scroll-area.js +7 -0
  252. package/dist/lib/ui/segments.js +376 -0
  253. package/dist/lib/ui/select.js +18 -0
  254. package/dist/lib/ui/spinner.js +57 -0
  255. package/dist/lib/ui/stepper.js +70 -0
  256. package/dist/lib/ui/switch.js +281 -0
  257. package/dist/lib/ui/tabs.js +301 -0
  258. package/dist/lib/ui/tag.js +113 -0
  259. package/dist/lib/ui/textarea.js +8 -0
  260. package/dist/lib/ui/time-picker.js +130 -0
  261. package/dist/lib/ui/time-range-picker.js +198 -0
  262. package/dist/lib/ui/timeline.js +36 -0
  263. package/dist/lib/ui/toaster.js +1002 -0
  264. package/dist/lib/ui/tooltip.js +10 -0
  265. package/dist/lib/ui/typography.js +36 -0
  266. package/dist/lib/ui/uploader.js +10 -0
  267. package/dist/styles/konsolpro-custom-ui.css +1 -0
  268. package/dist/styles/variables.css +279 -0
  269. package/dist/types/components/icon/icon.d.ts +10 -0
  270. package/dist/types/components/icon/icons.d.ts +105 -0
  271. package/dist/types/components/icon/index.d.ts +3 -0
  272. package/dist/types/components/icon-banks/icon-banks.d.ts +7 -0
  273. package/dist/types/components/icon-banks/icons-banks.d.ts +28 -0
  274. package/dist/types/components/icon-banks/index.d.ts +3 -0
  275. package/dist/types/components/icon-documents/icon-document.d.ts +9 -0
  276. package/dist/types/components/icon-documents/icons-document.d.ts +13 -0
  277. package/dist/types/components/icon-documents/index.d.ts +3 -0
  278. package/dist/types/components/index.d.ts +49 -0
  279. package/dist/types/components/ui/accordion.d.ts +13 -0
  280. package/dist/types/components/ui/alert.d.ts +16 -0
  281. package/dist/types/components/ui/autocomplete.d.ts +23 -0
  282. package/dist/types/components/ui/avatar.d.ts +27 -0
  283. package/dist/types/components/ui/button.d.ts +35 -0
  284. package/dist/types/components/ui/calendar.d.ts +4 -0
  285. package/dist/types/components/ui/card.d.ts +38 -0
  286. package/dist/types/components/ui/carousel.d.ts +11 -0
  287. package/dist/types/components/ui/checkbox.d.ts +26 -0
  288. package/dist/types/components/ui/combobox-base/combobox-base.d.ts +10 -0
  289. package/dist/types/components/ui/combobox-base/index.d.ts +1 -0
  290. package/dist/types/components/ui/combobox-primitive/combobox-primitive-context.d.ts +54 -0
  291. package/dist/types/components/ui/combobox-primitive/components/Item.d.ts +3 -0
  292. package/dist/types/components/ui/combobox-primitive/components/combobox-actions.d.ts +5 -0
  293. package/dist/types/components/ui/combobox-primitive/components/combobox-container.d.ts +5 -0
  294. package/dist/types/components/ui/combobox-primitive/components/combobox-input.d.ts +5 -0
  295. package/dist/types/components/ui/combobox-primitive/components/combobox-item-renderer.d.ts +10 -0
  296. package/dist/types/components/ui/combobox-primitive/components/combobox-menu.d.ts +6 -0
  297. package/dist/types/components/ui/combobox-primitive/components/index.d.ts +8 -0
  298. package/dist/types/components/ui/combobox-primitive/components/item-view.d.ts +3 -0
  299. package/dist/types/components/ui/combobox-primitive/components/list.d.ts +3 -0
  300. package/dist/types/components/ui/combobox-primitive/constants.d.ts +47 -0
  301. package/dist/types/components/ui/combobox-primitive/hooks.d.ts +8 -0
  302. package/dist/types/components/ui/combobox-primitive/index.d.ts +3 -0
  303. package/dist/types/components/ui/combobox-primitive/types.d.ts +62 -0
  304. package/dist/types/components/ui/combobox-primitive/utils.d.ts +25 -0
  305. package/dist/types/components/ui/combobox.d.ts +34 -0
  306. package/dist/types/components/ui/command.d.ts +78 -0
  307. package/dist/types/components/ui/customizable-carousel.d.ts +148 -0
  308. package/dist/types/components/ui/date-picker.d.ts +37 -0
  309. package/dist/types/components/ui/date-range-picker/constants.d.ts +22 -0
  310. package/dist/types/components/ui/date-range-picker/locales.d.ts +3 -0
  311. package/dist/types/components/ui/date-range-picker.d.ts +46 -0
  312. package/dist/types/components/ui/dialog/dialog-base/dialog-base.d.ts +41 -0
  313. package/dist/types/components/ui/dialog/dialog-base/index.d.ts +3 -0
  314. package/dist/types/components/ui/dialog/dialog-base/use-base-dialog.d.ts +35 -0
  315. package/dist/types/components/ui/dialog/dialog-primitive/dialog-primitive.d.ts +36 -0
  316. package/dist/types/components/ui/dialog/dialog-primitive/index.d.ts +2 -0
  317. package/dist/types/components/ui/dialog/index.d.ts +2 -0
  318. package/dist/types/components/ui/dialog/utils.d.ts +6 -0
  319. package/dist/types/components/ui/divider.d.ts +6 -0
  320. package/dist/types/components/ui/dropdown.d.ts +53 -0
  321. package/dist/types/components/ui/input-number/index.d.ts +2 -0
  322. package/dist/types/components/ui/input-number/input-number.d.ts +43 -0
  323. package/dist/types/components/ui/input.d.ts +58 -0
  324. package/dist/types/components/ui/link.d.ts +28 -0
  325. package/dist/types/components/ui/masked-input.d.ts +12 -0
  326. package/dist/types/components/ui/modal.d.ts +26 -0
  327. package/dist/types/components/ui/otp-input.d.ts +49 -0
  328. package/dist/types/components/ui/phone-input/constants.d.ts +18 -0
  329. package/dist/types/components/ui/phone-input/locales/ru.json.d.ts +252 -0
  330. package/dist/types/components/ui/phone-input/locales/tg.json.d.ts +261 -0
  331. package/dist/types/components/ui/phone-input/locales/uz.json.d.ts +261 -0
  332. package/dist/types/components/ui/phone-input/phone-input-utils.d.ts +2 -0
  333. package/dist/types/components/ui/phone-input/phone-input.d.ts +24 -0
  334. package/dist/types/components/ui/phone-input/phone-mask.d.ts +233 -0
  335. package/dist/types/components/ui/popover.d.ts +7 -0
  336. package/dist/types/components/ui/progress.d.ts +4 -0
  337. package/dist/types/components/ui/radio.d.ts +37 -0
  338. package/dist/types/components/ui/schedule-calendar/calendar-day-card.d.ts +9 -0
  339. package/dist/types/components/ui/schedule-calendar/constants.d.ts +3 -0
  340. package/dist/types/components/ui/schedule-calendar/embla-calendar-card.d.ts +9 -0
  341. package/dist/types/components/ui/schedule-calendar/embla-calendar-strip.d.ts +14 -0
  342. package/dist/types/components/ui/schedule-calendar/index.d.ts +16 -0
  343. package/dist/types/components/ui/schedule-calendar/schedule-calendar-strip.d.ts +36 -0
  344. package/dist/types/components/ui/schedule-calendar/schedule-header.d.ts +26 -0
  345. package/dist/types/components/ui/schedule-calendar/use-schedule-calendar.d.ts +27 -0
  346. package/dist/types/components/ui/schedule-calendar/use-schedule-sync.d.ts +39 -0
  347. package/dist/types/components/ui/schedule-calendar/utils.d.ts +12 -0
  348. package/dist/types/components/ui/scroll-area.d.ts +9 -0
  349. package/dist/types/components/ui/segments.d.ts +44 -0
  350. package/dist/types/components/ui/select.d.ts +95 -0
  351. package/dist/types/components/ui/spinner.d.ts +12 -0
  352. package/dist/types/components/ui/stepper.d.ts +11 -0
  353. package/dist/types/components/ui/switch.d.ts +24 -0
  354. package/dist/types/components/ui/tabs.d.ts +25 -0
  355. package/dist/types/components/ui/tag.d.ts +28 -0
  356. package/dist/types/components/ui/textarea.d.ts +17 -0
  357. package/dist/types/components/ui/time-picker.d.ts +15 -0
  358. package/dist/types/components/ui/time-range-picker.d.ts +26 -0
  359. package/dist/types/components/ui/timeline.d.ts +17 -0
  360. package/dist/types/components/ui/toaster.d.ts +45 -0
  361. package/dist/types/components/ui/tooltip.d.ts +8 -0
  362. package/dist/types/components/ui/typography.d.ts +25 -0
  363. package/dist/types/components/ui/uploader.d.ts +52 -0
  364. package/dist/types/index.d.ts +1 -0
  365. package/dist/types/lib/utils.d.ts +14 -0
  366. package/dist/types/main.d.ts +0 -0
  367. package/dist/types/utils/use-device-detector.d.ts +1 -0
  368. package/dist/vite.svg +1 -0
  369. package/package.json +171 -0
@@ -0,0 +1,1223 @@
1
+ var re = Object.defineProperty, ae = Object.defineProperties;
2
+ var ie = Object.getOwnPropertyDescriptors;
3
+ var A = Object.getOwnPropertySymbols;
4
+ var se = Object.prototype.hasOwnProperty, oe = Object.prototype.propertyIsEnumerable;
5
+ var R = (n, e, t) => e in n ? re(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t, I = (n, e) => {
6
+ for (var t in e || (e = {}))
7
+ se.call(e, t) && R(n, t, e[t]);
8
+ if (A)
9
+ for (var t of A(e))
10
+ oe.call(e, t) && R(n, t, e[t]);
11
+ return n;
12
+ }, V = (n, e) => ae(n, ie(e));
13
+ import { t as f, c as M, s as T, n as ue, m as ce, b as F, a as v, d as Y, e as de, f as p, g as q } from "./ru-CUCVR8Pn.js";
14
+ function mt(n, e, t) {
15
+ const r = f(n, t == null ? void 0 : t.in);
16
+ if (isNaN(e)) return M((t == null ? void 0 : t.in) || n, NaN);
17
+ if (!e)
18
+ return r;
19
+ const a = r.getDate(), i = M((t == null ? void 0 : t.in) || n, r.getTime());
20
+ i.setMonth(r.getMonth() + e + 1, 0);
21
+ const o = i.getDate();
22
+ return a >= o ? i : (r.setFullYear(
23
+ i.getFullYear(),
24
+ i.getMonth(),
25
+ a
26
+ ), r);
27
+ }
28
+ function S(n, e) {
29
+ return T(n, V(I({}, e), { weekStartsOn: 1 }));
30
+ }
31
+ function ee(n, e) {
32
+ const t = f(n, e == null ? void 0 : e.in), r = t.getFullYear(), a = M(t, 0);
33
+ a.setFullYear(r + 1, 0, 4), a.setHours(0, 0, 0, 0);
34
+ const i = S(a), o = M(t, 0);
35
+ o.setFullYear(r, 0, 4), o.setHours(0, 0, 0, 0);
36
+ const d = S(o);
37
+ return t.getTime() >= i.getTime() ? r + 1 : t.getTime() >= d.getTime() ? r : r - 1;
38
+ }
39
+ function J(n) {
40
+ const e = f(n), t = new Date(
41
+ Date.UTC(
42
+ e.getFullYear(),
43
+ e.getMonth(),
44
+ e.getDate(),
45
+ e.getHours(),
46
+ e.getMinutes(),
47
+ e.getSeconds(),
48
+ e.getMilliseconds()
49
+ )
50
+ );
51
+ return t.setUTCFullYear(e.getFullYear()), +n - +t;
52
+ }
53
+ function $(n, e) {
54
+ const t = f(n, e == null ? void 0 : e.in);
55
+ return t.setHours(0, 0, 0, 0), t;
56
+ }
57
+ function he(n, e, t) {
58
+ const [r, a] = ue(
59
+ t == null ? void 0 : t.in,
60
+ n,
61
+ e
62
+ ), i = $(r), o = $(a), d = +i - J(i), h = +o - J(o);
63
+ return Math.round((d - h) / ce);
64
+ }
65
+ function fe(n, e) {
66
+ const t = ee(n, e), r = M(n, 0);
67
+ return r.setFullYear(t, 0, 4), r.setHours(0, 0, 0, 0), S(r);
68
+ }
69
+ function me(n) {
70
+ return n instanceof Date || typeof n == "object" && Object.prototype.toString.call(n) === "[object Date]";
71
+ }
72
+ function le(n) {
73
+ return !(!me(n) && typeof n != "number" || isNaN(+f(n)));
74
+ }
75
+ function ge(n, e) {
76
+ const t = f(n, e == null ? void 0 : e.in);
77
+ return t.setFullYear(t.getFullYear(), 0, 1), t.setHours(0, 0, 0, 0), t;
78
+ }
79
+ const we = {
80
+ lessThanXSeconds: {
81
+ one: "less than a second",
82
+ other: "less than {{count}} seconds"
83
+ },
84
+ xSeconds: {
85
+ one: "1 second",
86
+ other: "{{count}} seconds"
87
+ },
88
+ halfAMinute: "half a minute",
89
+ lessThanXMinutes: {
90
+ one: "less than a minute",
91
+ other: "less than {{count}} minutes"
92
+ },
93
+ xMinutes: {
94
+ one: "1 minute",
95
+ other: "{{count}} minutes"
96
+ },
97
+ aboutXHours: {
98
+ one: "about 1 hour",
99
+ other: "about {{count}} hours"
100
+ },
101
+ xHours: {
102
+ one: "1 hour",
103
+ other: "{{count}} hours"
104
+ },
105
+ xDays: {
106
+ one: "1 day",
107
+ other: "{{count}} days"
108
+ },
109
+ aboutXWeeks: {
110
+ one: "about 1 week",
111
+ other: "about {{count}} weeks"
112
+ },
113
+ xWeeks: {
114
+ one: "1 week",
115
+ other: "{{count}} weeks"
116
+ },
117
+ aboutXMonths: {
118
+ one: "about 1 month",
119
+ other: "about {{count}} months"
120
+ },
121
+ xMonths: {
122
+ one: "1 month",
123
+ other: "{{count}} months"
124
+ },
125
+ aboutXYears: {
126
+ one: "about 1 year",
127
+ other: "about {{count}} years"
128
+ },
129
+ xYears: {
130
+ one: "1 year",
131
+ other: "{{count}} years"
132
+ },
133
+ overXYears: {
134
+ one: "over 1 year",
135
+ other: "over {{count}} years"
136
+ },
137
+ almostXYears: {
138
+ one: "almost 1 year",
139
+ other: "almost {{count}} years"
140
+ }
141
+ }, ye = (n, e, t) => {
142
+ let r;
143
+ const a = we[n];
144
+ return typeof a == "string" ? r = a : e === 1 ? r = a.one : r = a.other.replace("{{count}}", e.toString()), t != null && t.addSuffix ? t.comparison && t.comparison > 0 ? "in " + r : r + " ago" : r;
145
+ }, be = {
146
+ full: "EEEE, MMMM do, y",
147
+ long: "MMMM do, y",
148
+ medium: "MMM d, y",
149
+ short: "MM/dd/yyyy"
150
+ }, Me = {
151
+ full: "h:mm:ss a zzzz",
152
+ long: "h:mm:ss a z",
153
+ medium: "h:mm:ss a",
154
+ short: "h:mm a"
155
+ }, Oe = {
156
+ full: "{{date}} 'at' {{time}}",
157
+ long: "{{date}} 'at' {{time}}",
158
+ medium: "{{date}}, {{time}}",
159
+ short: "{{date}}, {{time}}"
160
+ }, Pe = {
161
+ date: F({
162
+ formats: be,
163
+ defaultWidth: "full"
164
+ }),
165
+ time: F({
166
+ formats: Me,
167
+ defaultWidth: "full"
168
+ }),
169
+ dateTime: F({
170
+ formats: Oe,
171
+ defaultWidth: "full"
172
+ })
173
+ }, xe = {
174
+ lastWeek: "'last' eeee 'at' p",
175
+ yesterday: "'yesterday at' p",
176
+ today: "'today at' p",
177
+ tomorrow: "'tomorrow at' p",
178
+ nextWeek: "eeee 'at' p",
179
+ other: "P"
180
+ }, De = (n, e, t, r) => xe[n], ke = {
181
+ narrow: ["B", "A"],
182
+ abbreviated: ["BC", "AD"],
183
+ wide: ["Before Christ", "Anno Domini"]
184
+ }, We = {
185
+ narrow: ["1", "2", "3", "4"],
186
+ abbreviated: ["Q1", "Q2", "Q3", "Q4"],
187
+ wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
188
+ }, ve = {
189
+ narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
190
+ abbreviated: [
191
+ "Jan",
192
+ "Feb",
193
+ "Mar",
194
+ "Apr",
195
+ "May",
196
+ "Jun",
197
+ "Jul",
198
+ "Aug",
199
+ "Sep",
200
+ "Oct",
201
+ "Nov",
202
+ "Dec"
203
+ ],
204
+ wide: [
205
+ "January",
206
+ "February",
207
+ "March",
208
+ "April",
209
+ "May",
210
+ "June",
211
+ "July",
212
+ "August",
213
+ "September",
214
+ "October",
215
+ "November",
216
+ "December"
217
+ ]
218
+ }, Ye = {
219
+ narrow: ["S", "M", "T", "W", "T", "F", "S"],
220
+ short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
221
+ abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
222
+ wide: [
223
+ "Sunday",
224
+ "Monday",
225
+ "Tuesday",
226
+ "Wednesday",
227
+ "Thursday",
228
+ "Friday",
229
+ "Saturday"
230
+ ]
231
+ }, Te = {
232
+ narrow: {
233
+ am: "a",
234
+ pm: "p",
235
+ midnight: "mi",
236
+ noon: "n",
237
+ morning: "morning",
238
+ afternoon: "afternoon",
239
+ evening: "evening",
240
+ night: "night"
241
+ },
242
+ abbreviated: {
243
+ am: "AM",
244
+ pm: "PM",
245
+ midnight: "midnight",
246
+ noon: "noon",
247
+ morning: "morning",
248
+ afternoon: "afternoon",
249
+ evening: "evening",
250
+ night: "night"
251
+ },
252
+ wide: {
253
+ am: "a.m.",
254
+ pm: "p.m.",
255
+ midnight: "midnight",
256
+ noon: "noon",
257
+ morning: "morning",
258
+ afternoon: "afternoon",
259
+ evening: "evening",
260
+ night: "night"
261
+ }
262
+ }, Se = {
263
+ narrow: {
264
+ am: "a",
265
+ pm: "p",
266
+ midnight: "mi",
267
+ noon: "n",
268
+ morning: "in the morning",
269
+ afternoon: "in the afternoon",
270
+ evening: "in the evening",
271
+ night: "at night"
272
+ },
273
+ abbreviated: {
274
+ am: "AM",
275
+ pm: "PM",
276
+ midnight: "midnight",
277
+ noon: "noon",
278
+ morning: "in the morning",
279
+ afternoon: "in the afternoon",
280
+ evening: "in the evening",
281
+ night: "at night"
282
+ },
283
+ wide: {
284
+ am: "a.m.",
285
+ pm: "p.m.",
286
+ midnight: "midnight",
287
+ noon: "noon",
288
+ morning: "in the morning",
289
+ afternoon: "in the afternoon",
290
+ evening: "in the evening",
291
+ night: "at night"
292
+ }
293
+ }, Ee = (n, e) => {
294
+ const t = Number(n), r = t % 100;
295
+ if (r > 20 || r < 10)
296
+ switch (r % 10) {
297
+ case 1:
298
+ return t + "st";
299
+ case 2:
300
+ return t + "nd";
301
+ case 3:
302
+ return t + "rd";
303
+ }
304
+ return t + "th";
305
+ }, Fe = {
306
+ ordinalNumber: Ee,
307
+ era: v({
308
+ values: ke,
309
+ defaultWidth: "wide"
310
+ }),
311
+ quarter: v({
312
+ values: We,
313
+ defaultWidth: "wide",
314
+ argumentCallback: (n) => n - 1
315
+ }),
316
+ month: v({
317
+ values: ve,
318
+ defaultWidth: "wide"
319
+ }),
320
+ day: v({
321
+ values: Ye,
322
+ defaultWidth: "wide"
323
+ }),
324
+ dayPeriod: v({
325
+ values: Te,
326
+ defaultWidth: "wide",
327
+ formattingValues: Se,
328
+ defaultFormattingWidth: "wide"
329
+ })
330
+ }, qe = /^(\d+)(th|st|nd|rd)?/i, Ne = /\d+/i, Ce = {
331
+ narrow: /^(b|a)/i,
332
+ abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
333
+ wide: /^(before christ|before common era|anno domini|common era)/i
334
+ }, He = {
335
+ any: [/^b/i, /^(a|c)/i]
336
+ }, Qe = {
337
+ narrow: /^[1234]/i,
338
+ abbreviated: /^q[1234]/i,
339
+ wide: /^[1234](th|st|nd|rd)? quarter/i
340
+ }, Xe = {
341
+ any: [/1/i, /2/i, /3/i, /4/i]
342
+ }, _e = {
343
+ narrow: /^[jfmasond]/i,
344
+ abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
345
+ wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
346
+ }, Le = {
347
+ narrow: [
348
+ /^j/i,
349
+ /^f/i,
350
+ /^m/i,
351
+ /^a/i,
352
+ /^m/i,
353
+ /^j/i,
354
+ /^j/i,
355
+ /^a/i,
356
+ /^s/i,
357
+ /^o/i,
358
+ /^n/i,
359
+ /^d/i
360
+ ],
361
+ any: [
362
+ /^ja/i,
363
+ /^f/i,
364
+ /^mar/i,
365
+ /^ap/i,
366
+ /^may/i,
367
+ /^jun/i,
368
+ /^jul/i,
369
+ /^au/i,
370
+ /^s/i,
371
+ /^o/i,
372
+ /^n/i,
373
+ /^d/i
374
+ ]
375
+ }, je = {
376
+ narrow: /^[smtwf]/i,
377
+ short: /^(su|mo|tu|we|th|fr|sa)/i,
378
+ abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
379
+ wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
380
+ }, Ge = {
381
+ narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
382
+ any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
383
+ }, Be = {
384
+ narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
385
+ any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
386
+ }, Ae = {
387
+ any: {
388
+ am: /^a/i,
389
+ pm: /^p/i,
390
+ midnight: /^mi/i,
391
+ noon: /^no/i,
392
+ morning: /morning/i,
393
+ afternoon: /afternoon/i,
394
+ evening: /evening/i,
395
+ night: /night/i
396
+ }
397
+ }, Re = {
398
+ ordinalNumber: de({
399
+ matchPattern: qe,
400
+ parsePattern: Ne,
401
+ valueCallback: (n) => parseInt(n, 10)
402
+ }),
403
+ era: Y({
404
+ matchPatterns: Ce,
405
+ defaultMatchWidth: "wide",
406
+ parsePatterns: He,
407
+ defaultParseWidth: "any"
408
+ }),
409
+ quarter: Y({
410
+ matchPatterns: Qe,
411
+ defaultMatchWidth: "wide",
412
+ parsePatterns: Xe,
413
+ defaultParseWidth: "any",
414
+ valueCallback: (n) => n + 1
415
+ }),
416
+ month: Y({
417
+ matchPatterns: _e,
418
+ defaultMatchWidth: "wide",
419
+ parsePatterns: Le,
420
+ defaultParseWidth: "any"
421
+ }),
422
+ day: Y({
423
+ matchPatterns: je,
424
+ defaultMatchWidth: "wide",
425
+ parsePatterns: Ge,
426
+ defaultParseWidth: "any"
427
+ }),
428
+ dayPeriod: Y({
429
+ matchPatterns: Be,
430
+ defaultMatchWidth: "any",
431
+ parsePatterns: Ae,
432
+ defaultParseWidth: "any"
433
+ })
434
+ }, Ie = {
435
+ code: "en-US",
436
+ formatDistance: ye,
437
+ formatLong: Pe,
438
+ formatRelative: De,
439
+ localize: Fe,
440
+ match: Re,
441
+ options: {
442
+ weekStartsOn: 0,
443
+ firstWeekContainsDate: 1
444
+ }
445
+ };
446
+ function Ve(n, e) {
447
+ const t = f(n, e == null ? void 0 : e.in);
448
+ return he(t, ge(t)) + 1;
449
+ }
450
+ function Je(n, e) {
451
+ const t = f(n, e == null ? void 0 : e.in), r = +S(t) - +fe(t);
452
+ return Math.round(r / p) + 1;
453
+ }
454
+ function te(n, e) {
455
+ var m, l, g, w, y, D, k, W;
456
+ const t = f(n, e == null ? void 0 : e.in), r = t.getFullYear(), a = q(), i = (W = (k = (w = (g = e == null ? void 0 : e.firstWeekContainsDate) != null ? g : (l = (m = e == null ? void 0 : e.locale) == null ? void 0 : m.options) == null ? void 0 : l.firstWeekContainsDate) != null ? w : a.firstWeekContainsDate) != null ? k : (D = (y = a.locale) == null ? void 0 : y.options) == null ? void 0 : D.firstWeekContainsDate) != null ? W : 1, o = M((e == null ? void 0 : e.in) || n, 0);
457
+ o.setFullYear(r + 1, 0, i), o.setHours(0, 0, 0, 0);
458
+ const d = T(o, e), h = M((e == null ? void 0 : e.in) || n, 0);
459
+ h.setFullYear(r, 0, i), h.setHours(0, 0, 0, 0);
460
+ const P = T(h, e);
461
+ return +t >= +d ? r + 1 : +t >= +P ? r : r - 1;
462
+ }
463
+ function $e(n, e) {
464
+ var d, h, P, m, l, g, w, y;
465
+ const t = q(), r = (y = (w = (m = (P = e == null ? void 0 : e.firstWeekContainsDate) != null ? P : (h = (d = e == null ? void 0 : e.locale) == null ? void 0 : d.options) == null ? void 0 : h.firstWeekContainsDate) != null ? m : t.firstWeekContainsDate) != null ? w : (g = (l = t.locale) == null ? void 0 : l.options) == null ? void 0 : g.firstWeekContainsDate) != null ? y : 1, a = te(n, e), i = M((e == null ? void 0 : e.in) || n, 0);
466
+ return i.setFullYear(a, 0, r), i.setHours(0, 0, 0, 0), T(i, e);
467
+ }
468
+ function Ue(n, e) {
469
+ const t = f(n, e == null ? void 0 : e.in), r = +T(t, e) - +$e(t, e);
470
+ return Math.round(r / p) + 1;
471
+ }
472
+ function s(n, e) {
473
+ const t = n < 0 ? "-" : "", r = Math.abs(n).toString().padStart(e, "0");
474
+ return t + r;
475
+ }
476
+ const b = {
477
+ // Year
478
+ y(n, e) {
479
+ const t = n.getFullYear(), r = t > 0 ? t : 1 - t;
480
+ return s(e === "yy" ? r % 100 : r, e.length);
481
+ },
482
+ // Month
483
+ M(n, e) {
484
+ const t = n.getMonth();
485
+ return e === "M" ? String(t + 1) : s(t + 1, 2);
486
+ },
487
+ // Day of the month
488
+ d(n, e) {
489
+ return s(n.getDate(), e.length);
490
+ },
491
+ // AM or PM
492
+ a(n, e) {
493
+ const t = n.getHours() / 12 >= 1 ? "pm" : "am";
494
+ switch (e) {
495
+ case "a":
496
+ case "aa":
497
+ return t.toUpperCase();
498
+ case "aaa":
499
+ return t;
500
+ case "aaaaa":
501
+ return t[0];
502
+ case "aaaa":
503
+ default:
504
+ return t === "am" ? "a.m." : "p.m.";
505
+ }
506
+ },
507
+ // Hour [1-12]
508
+ h(n, e) {
509
+ return s(n.getHours() % 12 || 12, e.length);
510
+ },
511
+ // Hour [0-23]
512
+ H(n, e) {
513
+ return s(n.getHours(), e.length);
514
+ },
515
+ // Minute
516
+ m(n, e) {
517
+ return s(n.getMinutes(), e.length);
518
+ },
519
+ // Second
520
+ s(n, e) {
521
+ return s(n.getSeconds(), e.length);
522
+ },
523
+ // Fraction of second
524
+ S(n, e) {
525
+ const t = e.length, r = n.getMilliseconds(), a = Math.trunc(
526
+ r * Math.pow(10, t - 3)
527
+ );
528
+ return s(a, e.length);
529
+ }
530
+ }, x = {
531
+ midnight: "midnight",
532
+ noon: "noon",
533
+ morning: "morning",
534
+ afternoon: "afternoon",
535
+ evening: "evening",
536
+ night: "night"
537
+ }, U = {
538
+ // Era
539
+ G: function(n, e, t) {
540
+ const r = n.getFullYear() > 0 ? 1 : 0;
541
+ switch (e) {
542
+ // AD, BC
543
+ case "G":
544
+ case "GG":
545
+ case "GGG":
546
+ return t.era(r, { width: "abbreviated" });
547
+ // A, B
548
+ case "GGGGG":
549
+ return t.era(r, { width: "narrow" });
550
+ // Anno Domini, Before Christ
551
+ case "GGGG":
552
+ default:
553
+ return t.era(r, { width: "wide" });
554
+ }
555
+ },
556
+ // Year
557
+ y: function(n, e, t) {
558
+ if (e === "yo") {
559
+ const r = n.getFullYear(), a = r > 0 ? r : 1 - r;
560
+ return t.ordinalNumber(a, { unit: "year" });
561
+ }
562
+ return b.y(n, e);
563
+ },
564
+ // Local week-numbering year
565
+ Y: function(n, e, t, r) {
566
+ const a = te(n, r), i = a > 0 ? a : 1 - a;
567
+ if (e === "YY") {
568
+ const o = i % 100;
569
+ return s(o, 2);
570
+ }
571
+ return e === "Yo" ? t.ordinalNumber(i, { unit: "year" }) : s(i, e.length);
572
+ },
573
+ // ISO week-numbering year
574
+ R: function(n, e) {
575
+ const t = ee(n);
576
+ return s(t, e.length);
577
+ },
578
+ // Extended year. This is a single number designating the year of this calendar system.
579
+ // The main difference between `y` and `u` localizers are B.C. years:
580
+ // | Year | `y` | `u` |
581
+ // |------|-----|-----|
582
+ // | AC 1 | 1 | 1 |
583
+ // | BC 1 | 1 | 0 |
584
+ // | BC 2 | 2 | -1 |
585
+ // Also `yy` always returns the last two digits of a year,
586
+ // while `uu` pads single digit years to 2 characters and returns other years unchanged.
587
+ u: function(n, e) {
588
+ const t = n.getFullYear();
589
+ return s(t, e.length);
590
+ },
591
+ // Quarter
592
+ Q: function(n, e, t) {
593
+ const r = Math.ceil((n.getMonth() + 1) / 3);
594
+ switch (e) {
595
+ // 1, 2, 3, 4
596
+ case "Q":
597
+ return String(r);
598
+ // 01, 02, 03, 04
599
+ case "QQ":
600
+ return s(r, 2);
601
+ // 1st, 2nd, 3rd, 4th
602
+ case "Qo":
603
+ return t.ordinalNumber(r, { unit: "quarter" });
604
+ // Q1, Q2, Q3, Q4
605
+ case "QQQ":
606
+ return t.quarter(r, {
607
+ width: "abbreviated",
608
+ context: "formatting"
609
+ });
610
+ // 1, 2, 3, 4 (narrow quarter; could be not numerical)
611
+ case "QQQQQ":
612
+ return t.quarter(r, {
613
+ width: "narrow",
614
+ context: "formatting"
615
+ });
616
+ // 1st quarter, 2nd quarter, ...
617
+ case "QQQQ":
618
+ default:
619
+ return t.quarter(r, {
620
+ width: "wide",
621
+ context: "formatting"
622
+ });
623
+ }
624
+ },
625
+ // Stand-alone quarter
626
+ q: function(n, e, t) {
627
+ const r = Math.ceil((n.getMonth() + 1) / 3);
628
+ switch (e) {
629
+ // 1, 2, 3, 4
630
+ case "q":
631
+ return String(r);
632
+ // 01, 02, 03, 04
633
+ case "qq":
634
+ return s(r, 2);
635
+ // 1st, 2nd, 3rd, 4th
636
+ case "qo":
637
+ return t.ordinalNumber(r, { unit: "quarter" });
638
+ // Q1, Q2, Q3, Q4
639
+ case "qqq":
640
+ return t.quarter(r, {
641
+ width: "abbreviated",
642
+ context: "standalone"
643
+ });
644
+ // 1, 2, 3, 4 (narrow quarter; could be not numerical)
645
+ case "qqqqq":
646
+ return t.quarter(r, {
647
+ width: "narrow",
648
+ context: "standalone"
649
+ });
650
+ // 1st quarter, 2nd quarter, ...
651
+ case "qqqq":
652
+ default:
653
+ return t.quarter(r, {
654
+ width: "wide",
655
+ context: "standalone"
656
+ });
657
+ }
658
+ },
659
+ // Month
660
+ M: function(n, e, t) {
661
+ const r = n.getMonth();
662
+ switch (e) {
663
+ case "M":
664
+ case "MM":
665
+ return b.M(n, e);
666
+ // 1st, 2nd, ..., 12th
667
+ case "Mo":
668
+ return t.ordinalNumber(r + 1, { unit: "month" });
669
+ // Jan, Feb, ..., Dec
670
+ case "MMM":
671
+ return t.month(r, {
672
+ width: "abbreviated",
673
+ context: "formatting"
674
+ });
675
+ // J, F, ..., D
676
+ case "MMMMM":
677
+ return t.month(r, {
678
+ width: "narrow",
679
+ context: "formatting"
680
+ });
681
+ // January, February, ..., December
682
+ case "MMMM":
683
+ default:
684
+ return t.month(r, { width: "wide", context: "formatting" });
685
+ }
686
+ },
687
+ // Stand-alone month
688
+ L: function(n, e, t) {
689
+ const r = n.getMonth();
690
+ switch (e) {
691
+ // 1, 2, ..., 12
692
+ case "L":
693
+ return String(r + 1);
694
+ // 01, 02, ..., 12
695
+ case "LL":
696
+ return s(r + 1, 2);
697
+ // 1st, 2nd, ..., 12th
698
+ case "Lo":
699
+ return t.ordinalNumber(r + 1, { unit: "month" });
700
+ // Jan, Feb, ..., Dec
701
+ case "LLL":
702
+ return t.month(r, {
703
+ width: "abbreviated",
704
+ context: "standalone"
705
+ });
706
+ // J, F, ..., D
707
+ case "LLLLL":
708
+ return t.month(r, {
709
+ width: "narrow",
710
+ context: "standalone"
711
+ });
712
+ // January, February, ..., December
713
+ case "LLLL":
714
+ default:
715
+ return t.month(r, { width: "wide", context: "standalone" });
716
+ }
717
+ },
718
+ // Local week of year
719
+ w: function(n, e, t, r) {
720
+ const a = Ue(n, r);
721
+ return e === "wo" ? t.ordinalNumber(a, { unit: "week" }) : s(a, e.length);
722
+ },
723
+ // ISO week of year
724
+ I: function(n, e, t) {
725
+ const r = Je(n);
726
+ return e === "Io" ? t.ordinalNumber(r, { unit: "week" }) : s(r, e.length);
727
+ },
728
+ // Day of the month
729
+ d: function(n, e, t) {
730
+ return e === "do" ? t.ordinalNumber(n.getDate(), { unit: "date" }) : b.d(n, e);
731
+ },
732
+ // Day of year
733
+ D: function(n, e, t) {
734
+ const r = Ve(n);
735
+ return e === "Do" ? t.ordinalNumber(r, { unit: "dayOfYear" }) : s(r, e.length);
736
+ },
737
+ // Day of week
738
+ E: function(n, e, t) {
739
+ const r = n.getDay();
740
+ switch (e) {
741
+ // Tue
742
+ case "E":
743
+ case "EE":
744
+ case "EEE":
745
+ return t.day(r, {
746
+ width: "abbreviated",
747
+ context: "formatting"
748
+ });
749
+ // T
750
+ case "EEEEE":
751
+ return t.day(r, {
752
+ width: "narrow",
753
+ context: "formatting"
754
+ });
755
+ // Tu
756
+ case "EEEEEE":
757
+ return t.day(r, {
758
+ width: "short",
759
+ context: "formatting"
760
+ });
761
+ // Tuesday
762
+ case "EEEE":
763
+ default:
764
+ return t.day(r, {
765
+ width: "wide",
766
+ context: "formatting"
767
+ });
768
+ }
769
+ },
770
+ // Local day of week
771
+ e: function(n, e, t, r) {
772
+ const a = n.getDay(), i = (a - r.weekStartsOn + 8) % 7 || 7;
773
+ switch (e) {
774
+ // Numerical value (Nth day of week with current locale or weekStartsOn)
775
+ case "e":
776
+ return String(i);
777
+ // Padded numerical value
778
+ case "ee":
779
+ return s(i, 2);
780
+ // 1st, 2nd, ..., 7th
781
+ case "eo":
782
+ return t.ordinalNumber(i, { unit: "day" });
783
+ case "eee":
784
+ return t.day(a, {
785
+ width: "abbreviated",
786
+ context: "formatting"
787
+ });
788
+ // T
789
+ case "eeeee":
790
+ return t.day(a, {
791
+ width: "narrow",
792
+ context: "formatting"
793
+ });
794
+ // Tu
795
+ case "eeeeee":
796
+ return t.day(a, {
797
+ width: "short",
798
+ context: "formatting"
799
+ });
800
+ // Tuesday
801
+ case "eeee":
802
+ default:
803
+ return t.day(a, {
804
+ width: "wide",
805
+ context: "formatting"
806
+ });
807
+ }
808
+ },
809
+ // Stand-alone local day of week
810
+ c: function(n, e, t, r) {
811
+ const a = n.getDay(), i = (a - r.weekStartsOn + 8) % 7 || 7;
812
+ switch (e) {
813
+ // Numerical value (same as in `e`)
814
+ case "c":
815
+ return String(i);
816
+ // Padded numerical value
817
+ case "cc":
818
+ return s(i, e.length);
819
+ // 1st, 2nd, ..., 7th
820
+ case "co":
821
+ return t.ordinalNumber(i, { unit: "day" });
822
+ case "ccc":
823
+ return t.day(a, {
824
+ width: "abbreviated",
825
+ context: "standalone"
826
+ });
827
+ // T
828
+ case "ccccc":
829
+ return t.day(a, {
830
+ width: "narrow",
831
+ context: "standalone"
832
+ });
833
+ // Tu
834
+ case "cccccc":
835
+ return t.day(a, {
836
+ width: "short",
837
+ context: "standalone"
838
+ });
839
+ // Tuesday
840
+ case "cccc":
841
+ default:
842
+ return t.day(a, {
843
+ width: "wide",
844
+ context: "standalone"
845
+ });
846
+ }
847
+ },
848
+ // ISO day of week
849
+ i: function(n, e, t) {
850
+ const r = n.getDay(), a = r === 0 ? 7 : r;
851
+ switch (e) {
852
+ // 2
853
+ case "i":
854
+ return String(a);
855
+ // 02
856
+ case "ii":
857
+ return s(a, e.length);
858
+ // 2nd
859
+ case "io":
860
+ return t.ordinalNumber(a, { unit: "day" });
861
+ // Tue
862
+ case "iii":
863
+ return t.day(r, {
864
+ width: "abbreviated",
865
+ context: "formatting"
866
+ });
867
+ // T
868
+ case "iiiii":
869
+ return t.day(r, {
870
+ width: "narrow",
871
+ context: "formatting"
872
+ });
873
+ // Tu
874
+ case "iiiiii":
875
+ return t.day(r, {
876
+ width: "short",
877
+ context: "formatting"
878
+ });
879
+ // Tuesday
880
+ case "iiii":
881
+ default:
882
+ return t.day(r, {
883
+ width: "wide",
884
+ context: "formatting"
885
+ });
886
+ }
887
+ },
888
+ // AM or PM
889
+ a: function(n, e, t) {
890
+ const a = n.getHours() / 12 >= 1 ? "pm" : "am";
891
+ switch (e) {
892
+ case "a":
893
+ case "aa":
894
+ return t.dayPeriod(a, {
895
+ width: "abbreviated",
896
+ context: "formatting"
897
+ });
898
+ case "aaa":
899
+ return t.dayPeriod(a, {
900
+ width: "abbreviated",
901
+ context: "formatting"
902
+ }).toLowerCase();
903
+ case "aaaaa":
904
+ return t.dayPeriod(a, {
905
+ width: "narrow",
906
+ context: "formatting"
907
+ });
908
+ case "aaaa":
909
+ default:
910
+ return t.dayPeriod(a, {
911
+ width: "wide",
912
+ context: "formatting"
913
+ });
914
+ }
915
+ },
916
+ // AM, PM, midnight, noon
917
+ b: function(n, e, t) {
918
+ const r = n.getHours();
919
+ let a;
920
+ switch (r === 12 ? a = x.noon : r === 0 ? a = x.midnight : a = r / 12 >= 1 ? "pm" : "am", e) {
921
+ case "b":
922
+ case "bb":
923
+ return t.dayPeriod(a, {
924
+ width: "abbreviated",
925
+ context: "formatting"
926
+ });
927
+ case "bbb":
928
+ return t.dayPeriod(a, {
929
+ width: "abbreviated",
930
+ context: "formatting"
931
+ }).toLowerCase();
932
+ case "bbbbb":
933
+ return t.dayPeriod(a, {
934
+ width: "narrow",
935
+ context: "formatting"
936
+ });
937
+ case "bbbb":
938
+ default:
939
+ return t.dayPeriod(a, {
940
+ width: "wide",
941
+ context: "formatting"
942
+ });
943
+ }
944
+ },
945
+ // in the morning, in the afternoon, in the evening, at night
946
+ B: function(n, e, t) {
947
+ const r = n.getHours();
948
+ let a;
949
+ switch (r >= 17 ? a = x.evening : r >= 12 ? a = x.afternoon : r >= 4 ? a = x.morning : a = x.night, e) {
950
+ case "B":
951
+ case "BB":
952
+ case "BBB":
953
+ return t.dayPeriod(a, {
954
+ width: "abbreviated",
955
+ context: "formatting"
956
+ });
957
+ case "BBBBB":
958
+ return t.dayPeriod(a, {
959
+ width: "narrow",
960
+ context: "formatting"
961
+ });
962
+ case "BBBB":
963
+ default:
964
+ return t.dayPeriod(a, {
965
+ width: "wide",
966
+ context: "formatting"
967
+ });
968
+ }
969
+ },
970
+ // Hour [1-12]
971
+ h: function(n, e, t) {
972
+ if (e === "ho") {
973
+ let r = n.getHours() % 12;
974
+ return r === 0 && (r = 12), t.ordinalNumber(r, { unit: "hour" });
975
+ }
976
+ return b.h(n, e);
977
+ },
978
+ // Hour [0-23]
979
+ H: function(n, e, t) {
980
+ return e === "Ho" ? t.ordinalNumber(n.getHours(), { unit: "hour" }) : b.H(n, e);
981
+ },
982
+ // Hour [0-11]
983
+ K: function(n, e, t) {
984
+ const r = n.getHours() % 12;
985
+ return e === "Ko" ? t.ordinalNumber(r, { unit: "hour" }) : s(r, e.length);
986
+ },
987
+ // Hour [1-24]
988
+ k: function(n, e, t) {
989
+ let r = n.getHours();
990
+ return r === 0 && (r = 24), e === "ko" ? t.ordinalNumber(r, { unit: "hour" }) : s(r, e.length);
991
+ },
992
+ // Minute
993
+ m: function(n, e, t) {
994
+ return e === "mo" ? t.ordinalNumber(n.getMinutes(), { unit: "minute" }) : b.m(n, e);
995
+ },
996
+ // Second
997
+ s: function(n, e, t) {
998
+ return e === "so" ? t.ordinalNumber(n.getSeconds(), { unit: "second" }) : b.s(n, e);
999
+ },
1000
+ // Fraction of second
1001
+ S: function(n, e) {
1002
+ return b.S(n, e);
1003
+ },
1004
+ // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
1005
+ X: function(n, e, t) {
1006
+ const r = n.getTimezoneOffset();
1007
+ if (r === 0)
1008
+ return "Z";
1009
+ switch (e) {
1010
+ // Hours and optional minutes
1011
+ case "X":
1012
+ return K(r);
1013
+ // Hours, minutes and optional seconds without `:` delimiter
1014
+ // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1015
+ // so this token always has the same output as `XX`
1016
+ case "XXXX":
1017
+ case "XX":
1018
+ return O(r);
1019
+ // Hours, minutes and optional seconds with `:` delimiter
1020
+ // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1021
+ // so this token always has the same output as `XXX`
1022
+ case "XXXXX":
1023
+ case "XXX":
1024
+ // Hours and minutes with `:` delimiter
1025
+ default:
1026
+ return O(r, ":");
1027
+ }
1028
+ },
1029
+ // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
1030
+ x: function(n, e, t) {
1031
+ const r = n.getTimezoneOffset();
1032
+ switch (e) {
1033
+ // Hours and optional minutes
1034
+ case "x":
1035
+ return K(r);
1036
+ // Hours, minutes and optional seconds without `:` delimiter
1037
+ // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1038
+ // so this token always has the same output as `xx`
1039
+ case "xxxx":
1040
+ case "xx":
1041
+ return O(r);
1042
+ // Hours, minutes and optional seconds with `:` delimiter
1043
+ // Note: neither ISO-8601 nor JavaScript supports seconds in timezone offsets
1044
+ // so this token always has the same output as `xxx`
1045
+ case "xxxxx":
1046
+ case "xxx":
1047
+ // Hours and minutes with `:` delimiter
1048
+ default:
1049
+ return O(r, ":");
1050
+ }
1051
+ },
1052
+ // Timezone (GMT)
1053
+ O: function(n, e, t) {
1054
+ const r = n.getTimezoneOffset();
1055
+ switch (e) {
1056
+ // Short
1057
+ case "O":
1058
+ case "OO":
1059
+ case "OOO":
1060
+ return "GMT" + z(r, ":");
1061
+ // Long
1062
+ case "OOOO":
1063
+ default:
1064
+ return "GMT" + O(r, ":");
1065
+ }
1066
+ },
1067
+ // Timezone (specific non-location)
1068
+ z: function(n, e, t) {
1069
+ const r = n.getTimezoneOffset();
1070
+ switch (e) {
1071
+ // Short
1072
+ case "z":
1073
+ case "zz":
1074
+ case "zzz":
1075
+ return "GMT" + z(r, ":");
1076
+ // Long
1077
+ case "zzzz":
1078
+ default:
1079
+ return "GMT" + O(r, ":");
1080
+ }
1081
+ },
1082
+ // Seconds timestamp
1083
+ t: function(n, e, t) {
1084
+ const r = Math.trunc(+n / 1e3);
1085
+ return s(r, e.length);
1086
+ },
1087
+ // Milliseconds timestamp
1088
+ T: function(n, e, t) {
1089
+ return s(+n, e.length);
1090
+ }
1091
+ };
1092
+ function z(n, e = "") {
1093
+ const t = n > 0 ? "-" : "+", r = Math.abs(n), a = Math.trunc(r / 60), i = r % 60;
1094
+ return i === 0 ? t + String(a) : t + String(a) + e + s(i, 2);
1095
+ }
1096
+ function K(n, e) {
1097
+ return n % 60 === 0 ? (n > 0 ? "-" : "+") + s(Math.abs(n) / 60, 2) : O(n, e);
1098
+ }
1099
+ function O(n, e = "") {
1100
+ const t = n > 0 ? "-" : "+", r = Math.abs(n), a = s(Math.trunc(r / 60), 2), i = s(r % 60, 2);
1101
+ return t + a + e + i;
1102
+ }
1103
+ const Z = (n, e) => {
1104
+ switch (n) {
1105
+ case "P":
1106
+ return e.date({ width: "short" });
1107
+ case "PP":
1108
+ return e.date({ width: "medium" });
1109
+ case "PPP":
1110
+ return e.date({ width: "long" });
1111
+ case "PPPP":
1112
+ default:
1113
+ return e.date({ width: "full" });
1114
+ }
1115
+ }, ne = (n, e) => {
1116
+ switch (n) {
1117
+ case "p":
1118
+ return e.time({ width: "short" });
1119
+ case "pp":
1120
+ return e.time({ width: "medium" });
1121
+ case "ppp":
1122
+ return e.time({ width: "long" });
1123
+ case "pppp":
1124
+ default:
1125
+ return e.time({ width: "full" });
1126
+ }
1127
+ }, ze = (n, e) => {
1128
+ const t = n.match(/(P+)(p+)?/) || [], r = t[1], a = t[2];
1129
+ if (!a)
1130
+ return Z(n, e);
1131
+ let i;
1132
+ switch (r) {
1133
+ case "P":
1134
+ i = e.dateTime({ width: "short" });
1135
+ break;
1136
+ case "PP":
1137
+ i = e.dateTime({ width: "medium" });
1138
+ break;
1139
+ case "PPP":
1140
+ i = e.dateTime({ width: "long" });
1141
+ break;
1142
+ case "PPPP":
1143
+ default:
1144
+ i = e.dateTime({ width: "full" });
1145
+ break;
1146
+ }
1147
+ return i.replace("{{date}}", Z(r, e)).replace("{{time}}", ne(a, e));
1148
+ }, Ke = {
1149
+ p: ne,
1150
+ P: ze
1151
+ }, Ze = /^D+$/, pe = /^Y+$/, et = ["D", "DD", "YY", "YYYY"];
1152
+ function tt(n) {
1153
+ return Ze.test(n);
1154
+ }
1155
+ function nt(n) {
1156
+ return pe.test(n);
1157
+ }
1158
+ function rt(n, e, t) {
1159
+ const r = at(n, e, t);
1160
+ if (console.warn(r), et.includes(n)) throw new RangeError(r);
1161
+ }
1162
+ function at(n, e, t) {
1163
+ const r = n[0] === "Y" ? "years" : "days of the month";
1164
+ return `Use \`${n.toLowerCase()}\` instead of \`${n}\` (in \`${e}\`) for formatting ${r} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
1165
+ }
1166
+ const it = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, st = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, ot = /^'([^]*?)'?$/, ut = /''/g, ct = /[a-zA-Z]/;
1167
+ function lt(n, e, t) {
1168
+ var m, l, g, w, y, D, k, W, N, C, H, Q, X, _, L, j, G, B;
1169
+ const r = q(), a = (l = (m = t == null ? void 0 : t.locale) != null ? m : r.locale) != null ? l : Ie, i = (C = (N = (D = (y = t == null ? void 0 : t.firstWeekContainsDate) != null ? y : (w = (g = t == null ? void 0 : t.locale) == null ? void 0 : g.options) == null ? void 0 : w.firstWeekContainsDate) != null ? D : r.firstWeekContainsDate) != null ? N : (W = (k = r.locale) == null ? void 0 : k.options) == null ? void 0 : W.firstWeekContainsDate) != null ? C : 1, o = (B = (G = (_ = (X = t == null ? void 0 : t.weekStartsOn) != null ? X : (Q = (H = t == null ? void 0 : t.locale) == null ? void 0 : H.options) == null ? void 0 : Q.weekStartsOn) != null ? _ : r.weekStartsOn) != null ? G : (j = (L = r.locale) == null ? void 0 : L.options) == null ? void 0 : j.weekStartsOn) != null ? B : 0, d = f(n, t == null ? void 0 : t.in);
1170
+ if (!le(d))
1171
+ throw new RangeError("Invalid time value");
1172
+ let h = e.match(st).map((c) => {
1173
+ const u = c[0];
1174
+ if (u === "p" || u === "P") {
1175
+ const E = Ke[u];
1176
+ return E(c, a.formatLong);
1177
+ }
1178
+ return c;
1179
+ }).join("").match(it).map((c) => {
1180
+ if (c === "''")
1181
+ return { isToken: !1, value: "'" };
1182
+ const u = c[0];
1183
+ if (u === "'")
1184
+ return { isToken: !1, value: dt(c) };
1185
+ if (U[u])
1186
+ return { isToken: !0, value: c };
1187
+ if (u.match(ct))
1188
+ throw new RangeError(
1189
+ "Format string contains an unescaped latin alphabet character `" + u + "`"
1190
+ );
1191
+ return { isToken: !1, value: c };
1192
+ });
1193
+ a.localize.preprocessor && (h = a.localize.preprocessor(d, h));
1194
+ const P = {
1195
+ firstWeekContainsDate: i,
1196
+ weekStartsOn: o,
1197
+ locale: a
1198
+ };
1199
+ return h.map((c) => {
1200
+ if (!c.isToken) return c.value;
1201
+ const u = c.value;
1202
+ (!(t != null && t.useAdditionalWeekYearTokens) && nt(u) || !(t != null && t.useAdditionalDayOfYearTokens) && tt(u)) && rt(u, e, String(n));
1203
+ const E = U[u[0]];
1204
+ return E(d, u, a.localize, P);
1205
+ }).join("");
1206
+ }
1207
+ function dt(n) {
1208
+ const e = n.match(ot);
1209
+ return e ? e[1].replace(ut, "'") : n;
1210
+ }
1211
+ export {
1212
+ mt as a,
1213
+ ge as b,
1214
+ S as c,
1215
+ he as d,
1216
+ Ie as e,
1217
+ lt as f,
1218
+ J as g,
1219
+ Je as h,
1220
+ Ue as i,
1221
+ me as j,
1222
+ $ as s
1223
+ };