impact-ui 5.0.2-beta.2 → 5.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (776) hide show
  1. package/dist/_virtual/index4.js +2 -4
  2. package/dist/_virtual/index5.js +2 -4
  3. package/dist/_virtual/index7.js +2 -4
  4. package/dist/_virtual/index8.js +2 -4
  5. package/dist/_virtual/react-is3.production.min.js +4 -0
  6. package/dist/components/Accordion/index.js +1 -1
  7. package/dist/components/AccordionModern/SortableAccordionComp.js +2 -2
  8. package/dist/components/AccordionModern/index.d.ts.map +1 -1
  9. package/dist/components/AccordionModern/index.js +41 -34
  10. package/dist/components/Alert/index.js +1 -1
  11. package/dist/components/Avatar/index.js +1 -1
  12. package/dist/components/Badge/filled/filledIconLabelBadges/index.js +1 -1
  13. package/dist/components/Badge/filled/filledOnlyIconBadges/index.js +1 -1
  14. package/dist/components/Badge/filled/filledOnlyLabelBadges/index.js +1 -1
  15. package/dist/components/Badge/index.js +1 -1
  16. package/dist/components/Badge/stroke/strokeIconLabelBadges/index.js +1 -1
  17. package/dist/components/Badge/stroke/strokeOnlyIconBadges/index.js +1 -1
  18. package/dist/components/Badge/stroke/strokeOnlyLabelBadges/index.js +1 -1
  19. package/dist/components/Badge/subtle/subtleIOnlyIconBadges/index.js +1 -1
  20. package/dist/components/Badge/subtle/subtleIconLabelBadges/index.js +1 -1
  21. package/dist/components/Badge/subtle/subtleOnlyLabelBadges/index.js +1 -1
  22. package/dist/components/BottomSheet/index.js +1 -1
  23. package/dist/components/Breadcrumbs/HomeIcon.js +1 -1
  24. package/dist/components/Breadcrumbs/index.d.ts.map +1 -1
  25. package/dist/components/Breadcrumbs/index.js +2 -8
  26. package/dist/components/Button/index.d.ts.map +1 -1
  27. package/dist/components/Button/index.js +1 -5
  28. package/dist/components/ButtonGroup/index.js +1 -1
  29. package/dist/components/Card/index.js +1 -1
  30. package/dist/components/Chart/ChartSkeleton.d.ts.map +1 -1
  31. package/dist/components/Chart/ChartSkeleton.js +17 -24
  32. package/dist/components/Chart/index.d.ts +4 -1
  33. package/dist/components/Chart/index.d.ts.map +1 -1
  34. package/dist/components/Chart/index.js +69 -85
  35. package/dist/components/Chatbot/bookMarkPanel.d.ts.map +1 -1
  36. package/dist/components/Chatbot/bookMarkPanel.js +5 -12
  37. package/dist/components/Chatbot/chatInput.d.ts.map +1 -1
  38. package/dist/components/Chatbot/chatInput.js +9 -7
  39. package/dist/components/Chatbot/chatbotModuleMenu.d.ts.map +1 -1
  40. package/dist/components/Chatbot/chatbotModuleMenu.js +62 -69
  41. package/dist/components/Chatbot/constant.d.ts.map +1 -1
  42. package/dist/components/Chatbot/constant.js +12 -12
  43. package/dist/components/Chatbot/historyPanel.d.ts.map +1 -1
  44. package/dist/components/Chatbot/historyPanel.js +3 -11
  45. package/dist/components/Chatbot/index.d.ts.map +1 -1
  46. package/dist/components/Chatbot/index.js +7 -8
  47. package/dist/components/Chatbot/newChatComponent.d.ts.map +1 -1
  48. package/dist/components/Checkbox/index.js +1 -1
  49. package/dist/components/Chips/index.d.ts.map +1 -1
  50. package/dist/components/Chips/index.js +3 -9
  51. package/dist/components/CommentsPanel/CommentsContext.d.ts.map +1 -1
  52. package/dist/components/CommentsPanel/CommentsContext.js +4 -5
  53. package/dist/components/CommentsPanel/CommentsPanel.impl.d.ts.map +1 -1
  54. package/dist/components/CommentsPanel/CommentsPanel.impl.js +8 -11
  55. package/dist/components/CommentsPanel/CommentsPanel.types.d.ts +1 -1
  56. package/dist/components/CommentsPanel/CommentsPanel.types.d.ts.map +1 -1
  57. package/dist/components/CreateItemFlow/index.js +1 -1
  58. package/dist/components/DatePicker/datePickerInput.d.ts.map +1 -1
  59. package/dist/components/DatePicker/datePickerInput.js +2 -5
  60. package/dist/components/DatePicker/index.js +2 -2
  61. package/dist/components/DateRangePicker/dateRangePickerInput.js +7 -6
  62. package/dist/components/DateRangePicker/index.js +2 -2
  63. package/dist/components/DynamicLayout/index.js +1 -1
  64. package/dist/components/EmptyState/EmptyStateImage.d.ts +1 -1
  65. package/dist/components/EmptyState/EmptyStateImage.d.ts.map +1 -1
  66. package/dist/components/EmptyState/EmptyStateImage.js +13 -26
  67. package/dist/components/EmptyState/index.d.ts.map +1 -1
  68. package/dist/components/EmptyState/index.js +1 -29
  69. package/dist/components/FileUpload/fileUploadAssets.loader.d.ts +1 -0
  70. package/dist/components/FileUpload/fileUploadAssets.loader.d.ts.map +1 -1
  71. package/dist/components/FileUpload/fileUploadAssets.loader.js +1 -0
  72. package/dist/components/FileUpload/index.d.ts.map +1 -1
  73. package/dist/components/FileUpload/index.js +11 -27
  74. package/dist/components/FilterPanel/index.d.ts.map +1 -1
  75. package/dist/components/FilterPanel/index.js +43 -67
  76. package/dist/components/FiltersStrip/FilterSlider.js +1 -1
  77. package/dist/components/FiltersStrip/index.js +1 -1
  78. package/dist/components/Header/Header.types.d.ts +5 -22
  79. package/dist/components/Header/Header.types.d.ts.map +1 -1
  80. package/dist/components/Header/index.d.ts +1 -1
  81. package/dist/components/Header/index.d.ts.map +1 -1
  82. package/dist/components/Header/index.js +57 -88
  83. package/dist/components/HomePage/HomePage.types.d.ts +2 -3
  84. package/dist/components/HomePage/HomePage.types.d.ts.map +1 -1
  85. package/dist/components/HomePage/constants.d.ts.map +1 -1
  86. package/dist/components/HomePage/constants.js +45 -24
  87. package/dist/components/HomePage/index.d.ts.map +1 -1
  88. package/dist/components/HomePage/index.js +53 -48
  89. package/dist/components/Input/HelperText.d.ts.map +1 -1
  90. package/dist/components/Input/HelperText.js +1 -3
  91. package/dist/components/Input/InputWithIcon.js +1 -1
  92. package/dist/components/Input/VanillaInput.js +1 -1
  93. package/dist/components/Input/index.js +3 -3
  94. package/dist/components/KeyboardShortCuts/ShortcutLandingPage.d.ts.map +1 -1
  95. package/dist/components/KeyboardShortCuts/ShortcutLandingPage.js +4 -5
  96. package/dist/components/KeyboardShortCuts/ShortcutModal.js +2 -2
  97. package/dist/components/KeyboardShortCuts/allSetBox.d.ts +3 -4
  98. package/dist/components/KeyboardShortCuts/allSetBox.d.ts.map +1 -1
  99. package/dist/components/KeyboardShortCuts/allSetBox.js +16 -12
  100. package/dist/components/KeyboardShortCuts/index.js +1 -1
  101. package/dist/components/KeyboardShortCuts/tutorial.d.ts.map +1 -1
  102. package/dist/components/KeyboardShortCuts/tutorial.js +2 -3
  103. package/dist/components/Loader/index.d.ts.map +1 -1
  104. package/dist/components/Loader/index.js +1 -3
  105. package/dist/components/Menu/IconMenuItem.js +1 -1
  106. package/dist/components/Menu/MenuHeaderInfo.d.ts.map +1 -1
  107. package/dist/components/Menu/MenuHeaderInfo.js +2 -10
  108. package/dist/components/Menu/NestedMenuItem.js +1 -1
  109. package/dist/components/Menu/index.js +14 -5
  110. package/dist/components/Menu/nestedMenuItemsFromObject.js +1 -1
  111. package/dist/components/Modal/index.js +1 -1
  112. package/dist/components/MonthPicker/index.d.ts.map +1 -1
  113. package/dist/components/MonthPicker/index.js +4 -10
  114. package/dist/components/MonthRangePicker/constants.d.ts +0 -4
  115. package/dist/components/MonthRangePicker/constants.d.ts.map +1 -1
  116. package/dist/components/MonthRangePicker/constants.js +1 -15
  117. package/dist/components/MonthRangePicker/index.d.ts.map +1 -1
  118. package/dist/components/MonthRangePicker/index.js +30 -68
  119. package/dist/components/NewCreateItemFlow/index.js +1 -1
  120. package/dist/components/NewDynamicLayout/index.d.ts.map +1 -1
  121. package/dist/components/NewDynamicLayout/index.js +15 -13
  122. package/dist/components/Notification/NotificationBody/NotificationList/NotificationChipsList.d.ts.map +1 -1
  123. package/dist/components/Notification/NotificationBody/NotificationList/NotificationChipsList.js +1 -3
  124. package/dist/components/Notification/NotificationBody/NotificationList/NotificationList.js +1 -1
  125. package/dist/components/Notification/NotificationBody/NotificationList/NotificationListItem.d.ts.map +1 -1
  126. package/dist/components/Notification/NotificationBody/NotificationList/NotificationListItem.js +16 -12
  127. package/dist/components/Notification/NotificationBody/NotificationTaskList.js +2 -4
  128. package/dist/components/Notification/NotificationHeader.d.ts.map +1 -1
  129. package/dist/components/Notification/NotificationHeader.js +3 -13
  130. package/dist/components/Notification/index.js +1 -1
  131. package/dist/components/OnboardingTour/index.d.ts.map +1 -1
  132. package/dist/components/OnboardingTour/index.js +4 -10
  133. package/dist/components/OnboardingTour/productTourList.js +4 -4
  134. package/dist/components/OnboardingTour/tooltipCard.d.ts.map +1 -1
  135. package/dist/components/OnboardingTour/tooltipCard.js +2 -2
  136. package/dist/components/Panel/index.d.ts +1 -1
  137. package/dist/components/Panel/index.d.ts.map +1 -1
  138. package/dist/components/Panel/index.js +7 -13
  139. package/dist/components/Popover/Popover.types.d.ts +0 -5
  140. package/dist/components/Popover/Popover.types.d.ts.map +1 -1
  141. package/dist/components/Popover/index.d.ts +1 -1
  142. package/dist/components/Popover/index.d.ts.map +1 -1
  143. package/dist/components/Popover/index.js +4 -12
  144. package/dist/components/ProgressBar/index.js +1 -1
  145. package/dist/components/Prompt/index.d.ts.map +1 -1
  146. package/dist/components/Prompt/index.js +2 -10
  147. package/dist/components/RadioButtonGroup/index.js +1 -1
  148. package/dist/components/Select/index.d.ts.map +1 -1
  149. package/dist/components/Select/index.js +34 -64
  150. package/dist/components/Select/menuList.d.ts.map +1 -1
  151. package/dist/components/Select/menuList.js +1 -2
  152. package/dist/components/Shortcuts/ShortcutHint.d.ts.map +1 -1
  153. package/dist/components/Shortcuts/ShortcutHint.js +18 -4
  154. package/dist/components/Sidebar/SidebarActions.d.ts.map +1 -1
  155. package/dist/components/Sidebar/SidebarActions.js +3 -3
  156. package/dist/components/Sidebar/index.d.ts.map +1 -1
  157. package/dist/components/Sidebar/index.js +1 -1
  158. package/dist/components/Skeleton/index.js +1 -1
  159. package/dist/components/Slider/index.d.ts.map +1 -1
  160. package/dist/components/Slider/index.js +6 -8
  161. package/dist/components/Stepper/index.d.ts.map +1 -1
  162. package/dist/components/Stepper/index.js +2 -2
  163. package/dist/components/Switch/index.d.ts.map +1 -1
  164. package/dist/components/Switch/index.js +10 -11
  165. package/dist/components/TableChat/EmptyContainer.js +1 -1
  166. package/dist/components/TableChat/TableChatSidePanel.js +1 -1
  167. package/dist/components/TableChat/components/ChatMessageSkeleton/ChatFooterSkeleton.js +1 -1
  168. package/dist/components/TableChat/components/ChatMessageSkeleton/ChatHeaderSkeleton.js +1 -1
  169. package/dist/components/TableChat/components/ChatMessageSkeleton/ChatMessageListSkeleton.js +1 -1
  170. package/dist/components/TableChat/components/ChatMessageSkeleton/ChatSkeleton.js +1 -1
  171. package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.js +1 -1
  172. package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.d.ts.map +1 -1
  173. package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.js +5 -6
  174. package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderNavigation.js +1 -1
  175. package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.js +1 -1
  176. package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.js +37 -19
  177. package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.d.ts.map +1 -1
  178. package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.js +21 -13
  179. package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.js +1 -1
  180. package/dist/components/TableChat/components/TableChatRightSection/ChatEditedMessageType/ChatEditedMessageType.d.ts.map +1 -1
  181. package/dist/components/TableChat/components/TableChatRightSection/ChatEditedMessageType/ChatEditedMessageType.js +13 -24
  182. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.d.ts.map +1 -1
  183. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.js +4 -4
  184. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.d.ts.map +1 -1
  185. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.js +11 -23
  186. package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.d.ts.map +1 -1
  187. package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.js +24 -21
  188. package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.d.ts.map +1 -1
  189. package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.js +6 -5
  190. package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.js +1 -1
  191. package/dist/components/TableChat/components/TableChatRightSection/DateSeparator/DateSeparator.js +1 -1
  192. package/dist/components/TableChat/components/TableChatRightSection/FileUploader/FileUploader.js +6 -6
  193. package/dist/components/TableChat/components/TableChatRightSection/ImageUploader/ImageUploader.js +5 -5
  194. package/dist/components/TableChat/components/TableChatRightSection/PinedChatPanel/PinedChatPanel.js +1 -1
  195. package/dist/components/TableChat/components/TableChatRightSection/ReplyBadge/ReplyBadge.d.ts.map +1 -1
  196. package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.d.ts.map +1 -1
  197. package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.js +5 -12
  198. package/dist/components/TableChat/components/TextEditor/EditorToolbar.js +1 -1
  199. package/dist/components/TableChat/components/TextEditor/Mention.d.ts.map +1 -1
  200. package/dist/components/TableChat/components/TextEditor/Mention.js +7 -2
  201. package/dist/components/TableChat/components/TextEditor/MentionList.js +1 -1
  202. package/dist/components/TableV36/AdvanceSearchModalItem.d.ts.map +1 -1
  203. package/dist/components/TableV36/AdvanceSortModal.d.ts.map +1 -1
  204. package/dist/components/TableV36/AdvanceSortModal.js +42 -42
  205. package/dist/components/TableV36/AgGridHeader.d.ts.map +1 -1
  206. package/dist/components/TableV36/AgGridHeader.js +11 -21
  207. package/dist/components/TableV36/CommentsPortal.d.ts.map +1 -1
  208. package/dist/components/TableV36/CommentsPortal.js +4 -7
  209. package/dist/components/TableV36/NewAdvanceSearchModal/NewAdvanceSearchModalItem.d.ts.map +1 -1
  210. package/dist/components/TableV36/NewAdvanceSearchModal/NewAdvanceSearchModalItem.js +0 -5
  211. package/dist/components/TableV36/NoComments.js +1 -1
  212. package/dist/components/TableV36/Table.types.d.ts +2 -2
  213. package/dist/components/TableV36/Table.types.d.ts.map +1 -1
  214. package/dist/components/TableV36/TableSkeletonCell.d.ts.map +1 -1
  215. package/dist/components/TableV36/TableSkeletonCell.js +15 -3
  216. package/dist/components/TableV36/index.d.ts.map +1 -1
  217. package/dist/components/TableV36/index.js +13 -30
  218. package/dist/components/TableV36/tableFunctions.d.ts.map +1 -1
  219. package/dist/components/TableV36/tableFunctions.js +31 -45
  220. package/dist/components/TableV36/tableHeader.d.ts +3 -1
  221. package/dist/components/TableV36/tableHeader.d.ts.map +1 -1
  222. package/dist/components/TableV36/tableHeader.js +4 -5
  223. package/dist/components/TableV36/tableMoreOptions.d.ts.map +1 -1
  224. package/dist/components/TableV36/tableMoreOptions.js +18 -36
  225. package/dist/components/TableV36/tableSettings.d.ts.map +1 -1
  226. package/dist/components/TableV36/tableSettings.js +9 -8
  227. package/dist/components/TableV36/withCommentIcon.d.ts.map +1 -1
  228. package/dist/components/TableV36/withCommentIcon.js +5 -13
  229. package/dist/components/Tabs/index.js +1 -1
  230. package/dist/components/Tag/index.js +1 -1
  231. package/dist/components/TextArea/index.js +3 -3
  232. package/dist/components/Toast/index.js +1 -1
  233. package/dist/components/Tooltip/index.js +1 -1
  234. package/dist/components/common/HelperText/index.js +1 -1
  235. package/dist/components/common/MentionEditor/MentionList/index.js +1 -1
  236. package/dist/components/common/MentionEditor/index.js +1 -1
  237. package/dist/components/index.d.ts +0 -9
  238. package/dist/components/index.d.ts.map +1 -1
  239. package/dist/components/index.js +0 -48
  240. package/dist/components/shared/tableColumnSettings/columnsTabV36.d.ts.map +1 -1
  241. package/dist/components/shared/tableColumnSettings/tableSettingsV36.d.ts.map +1 -1
  242. package/dist/locales/de-DE.json.d.ts +0 -42
  243. package/dist/locales/de-DE.json.js +0 -42
  244. package/dist/locales/en-US.json.d.ts +0 -42
  245. package/dist/locales/en-US.json.js +0 -42
  246. package/dist/locales/es-ES.json.d.ts +0 -42
  247. package/dist/locales/es-ES.json.js +0 -42
  248. package/dist/mcp-component-registry.json +139 -183
  249. package/dist/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js +4 -4
  250. package/dist/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js +1 -2
  251. package/dist/node_modules/@emotion/react/dist/emotion-react.browser.esm.js +0 -2
  252. package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +1 -1
  253. package/dist/node_modules/@impactsmartsuite/impact-icons/dist/index.js +364 -636
  254. package/dist/node_modules/@mui/base/TextareaAutosize/TextareaAutosize.js +15 -21
  255. package/dist/node_modules/@mui/icons-material/Add.js +3 -2
  256. package/dist/node_modules/@mui/icons-material/AttachFile.js +3 -2
  257. package/dist/node_modules/@mui/icons-material/AutoFixHigh.js +3 -2
  258. package/dist/node_modules/@mui/icons-material/Block.js +3 -2
  259. package/dist/node_modules/@mui/icons-material/BookmarkBorderOutlined.js +3 -2
  260. package/dist/node_modules/@mui/icons-material/Brush.js +3 -2
  261. package/dist/node_modules/@mui/icons-material/Cancel.js +3 -2
  262. package/dist/node_modules/@mui/icons-material/CheckCircle.js +3 -2
  263. package/dist/node_modules/@mui/icons-material/ChevronLeft.js +2 -1
  264. package/dist/node_modules/@mui/icons-material/ChevronLeftOutlined.js +3 -2
  265. package/dist/node_modules/@mui/icons-material/ChevronRight.js +2 -1
  266. package/dist/node_modules/@mui/icons-material/ChevronRightOutlined.js +3 -2
  267. package/dist/node_modules/@mui/icons-material/Clear.js +2 -1
  268. package/dist/node_modules/@mui/icons-material/Close.js +2 -1
  269. package/dist/node_modules/@mui/icons-material/CloseOutlined.js +3 -2
  270. package/dist/node_modules/@mui/icons-material/CloseRounded.js +3 -2
  271. package/dist/node_modules/@mui/icons-material/DeleteOutlineOutlined.js +3 -2
  272. package/dist/node_modules/@mui/icons-material/DeleteOutlined.js +3 -2
  273. package/dist/node_modules/@mui/icons-material/DragIndicator.js +3 -2
  274. package/dist/node_modules/@mui/icons-material/ErrorOutline.js +3 -2
  275. package/dist/node_modules/@mui/icons-material/ExpandLess.js +2 -1
  276. package/dist/node_modules/@mui/icons-material/ExpandLessOutlined.js +3 -2
  277. package/dist/node_modules/@mui/icons-material/ExpandMore.js +2 -1
  278. package/dist/node_modules/@mui/icons-material/ExpandMoreOutlined.js +3 -2
  279. package/dist/node_modules/@mui/icons-material/FileDownloadOutlined.js +3 -2
  280. package/dist/node_modules/@mui/icons-material/FilterAltOffOutlined.js +3 -2
  281. package/dist/node_modules/@mui/icons-material/FilterAltOutlined.js +3 -2
  282. package/dist/node_modules/@mui/icons-material/FilterList.js +3 -2
  283. package/dist/node_modules/@mui/icons-material/FilterListOutlined.js +3 -2
  284. package/dist/node_modules/@mui/icons-material/FormatBold.js +3 -2
  285. package/dist/node_modules/@mui/icons-material/FormatColorTextOutlined.js +3 -2
  286. package/dist/node_modules/@mui/icons-material/FormatItalic.js +2 -1
  287. package/dist/node_modules/@mui/icons-material/FormatListBulleted.js +3 -2
  288. package/dist/node_modules/@mui/icons-material/FormatListNumbered.js +3 -2
  289. package/dist/node_modules/@mui/icons-material/Image.js +3 -2
  290. package/dist/node_modules/@mui/icons-material/Info.js +3 -2
  291. package/dist/node_modules/@mui/icons-material/InfoOutlined.js +3 -2
  292. package/dist/node_modules/@mui/icons-material/InsertEmoticon.js +3 -2
  293. package/dist/node_modules/@mui/icons-material/KeyboardArrowDown.js +3 -2
  294. package/dist/node_modules/@mui/icons-material/KeyboardArrowDownOutlined.js +3 -2
  295. package/dist/node_modules/@mui/icons-material/KeyboardArrowLeft.js +3 -2
  296. package/dist/node_modules/@mui/icons-material/KeyboardArrowRight.js +3 -2
  297. package/dist/node_modules/@mui/icons-material/KeyboardArrowRightOutlined.js +3 -2
  298. package/dist/node_modules/@mui/icons-material/KeyboardArrowUp.js +2 -1
  299. package/dist/node_modules/@mui/icons-material/KeyboardRounded.js +3 -2
  300. package/dist/node_modules/@mui/icons-material/Link.js +3 -2
  301. package/dist/node_modules/@mui/icons-material/Looks3.js +3 -2
  302. package/dist/node_modules/@mui/icons-material/Looks4.js +3 -2
  303. package/dist/node_modules/@mui/icons-material/Looks5.js +3 -2
  304. package/dist/node_modules/@mui/icons-material/Looks6.js +3 -2
  305. package/dist/node_modules/@mui/icons-material/LooksOne.js +3 -2
  306. package/dist/node_modules/@mui/icons-material/LooksTwo.js +3 -2
  307. package/dist/node_modules/@mui/icons-material/MoreHoriz.js +3 -2
  308. package/dist/node_modules/@mui/icons-material/MoreHorizOutlined.js +3 -2
  309. package/dist/node_modules/@mui/icons-material/MoreVert.js +3 -2
  310. package/dist/node_modules/@mui/icons-material/North.js +3 -2
  311. package/dist/node_modules/@mui/icons-material/NotificationsOff.js +3 -2
  312. package/dist/node_modules/@mui/icons-material/RemoveRounded.js +3 -2
  313. package/dist/node_modules/@mui/icons-material/SaveOutlined.js +3 -2
  314. package/dist/node_modules/@mui/icons-material/Search.js +3 -2
  315. package/dist/node_modules/@mui/icons-material/SearchOutlined.js +3 -2
  316. package/dist/node_modules/@mui/icons-material/SettingsOutlined.js +3 -2
  317. package/dist/node_modules/@mui/icons-material/StrikethroughS.js +3 -2
  318. package/dist/node_modules/@mui/icons-material/TableChartOutlined.js +3 -2
  319. package/dist/node_modules/@mui/icons-material/Tune.js +3 -2
  320. package/dist/node_modules/@mui/icons-material/ViewColumnOutlined.js +3 -2
  321. package/dist/node_modules/@mui/icons-material/Warning.js +3 -2
  322. package/dist/node_modules/@mui/icons-material/esm/AddOutlined.js +1 -1
  323. package/dist/node_modules/@mui/icons-material/esm/DragIndicator.js +1 -1
  324. package/dist/node_modules/@mui/icons-material/esm/FileDownload.js +1 -1
  325. package/dist/node_modules/@mui/icons-material/esm/HighlightOff.js +1 -1
  326. package/dist/node_modules/@mui/icons-material/esm/KeyboardArrowDown.js +1 -1
  327. package/dist/node_modules/@mui/icons-material/esm/Replay.js +1 -1
  328. package/dist/node_modules/@mui/material/Accordion/Accordion.js +43 -82
  329. package/dist/node_modules/@mui/material/Accordion/accordionClasses.js +2 -2
  330. package/dist/node_modules/@mui/material/AccordionDetails/AccordionDetails.js +8 -8
  331. package/dist/node_modules/@mui/material/AccordionDetails/accordionDetailsClasses.js +2 -2
  332. package/dist/node_modules/@mui/material/AccordionSummary/AccordionSummary.js +29 -35
  333. package/dist/node_modules/@mui/material/AccordionSummary/accordionSummaryClasses.js +2 -2
  334. package/dist/node_modules/@mui/material/Alert/Alert.js +66 -88
  335. package/dist/node_modules/@mui/material/Alert/alertClasses.js +3 -3
  336. package/dist/node_modules/@mui/material/AlertTitle/AlertTitle.js +8 -8
  337. package/dist/node_modules/@mui/material/AlertTitle/alertTitleClasses.js +2 -2
  338. package/dist/node_modules/@mui/material/Avatar/Avatar.js +31 -76
  339. package/dist/node_modules/@mui/material/Avatar/avatarClasses.js +2 -2
  340. package/dist/node_modules/@mui/material/Backdrop/Backdrop.js +7 -7
  341. package/dist/node_modules/@mui/material/Backdrop/backdropClasses.js +2 -2
  342. package/dist/node_modules/@mui/material/Badge/Badge.js +117 -178
  343. package/dist/node_modules/@mui/material/Badge/badgeClasses.js +2 -2
  344. package/dist/node_modules/@mui/material/Box/Box.js +6 -7
  345. package/dist/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js +4 -6
  346. package/dist/node_modules/@mui/material/Breadcrumbs/Breadcrumbs.js +10 -10
  347. package/dist/node_modules/@mui/material/Breadcrumbs/breadcrumbsClasses.js +2 -2
  348. package/dist/node_modules/@mui/material/Button/Button.js +20 -24
  349. package/dist/node_modules/@mui/material/Button/buttonClasses.js +3 -3
  350. package/dist/node_modules/@mui/material/ButtonBase/ButtonBase.js +12 -12
  351. package/dist/node_modules/@mui/material/ButtonBase/Ripple.js +1 -0
  352. package/dist/node_modules/@mui/material/ButtonBase/TouchRipple.js +17 -10
  353. package/dist/node_modules/@mui/material/ButtonBase/buttonBaseClasses.js +2 -2
  354. package/dist/node_modules/@mui/material/ButtonBase/touchRippleClasses.js +1 -1
  355. package/dist/node_modules/@mui/material/Card/Card.js +8 -8
  356. package/dist/node_modules/@mui/material/Card/cardClasses.js +2 -2
  357. package/dist/node_modules/@mui/material/Checkbox/Checkbox.js +14 -15
  358. package/dist/node_modules/@mui/material/Checkbox/checkboxClasses.js +2 -2
  359. package/dist/node_modules/@mui/material/Chip/Chip.js +22 -30
  360. package/dist/node_modules/@mui/material/Chip/chipClasses.js +2 -2
  361. package/dist/node_modules/@mui/material/CircularProgress/CircularProgress.js +11 -11
  362. package/dist/node_modules/@mui/material/CircularProgress/circularProgressClasses.js +2 -2
  363. package/dist/node_modules/@mui/material/Collapse/Collapse.js +18 -16
  364. package/dist/node_modules/@mui/material/Collapse/collapseClasses.js +2 -2
  365. package/dist/node_modules/@mui/material/Dialog/Dialog.js +12 -20
  366. package/dist/node_modules/@mui/material/Dialog/dialogClasses.js +2 -2
  367. package/dist/node_modules/@mui/material/DialogActions/DialogActions.js +8 -8
  368. package/dist/node_modules/@mui/material/DialogActions/dialogActionsClasses.js +2 -2
  369. package/dist/node_modules/@mui/material/DialogContent/DialogContent.js +7 -7
  370. package/dist/node_modules/@mui/material/DialogContent/dialogContentClasses.js +2 -2
  371. package/dist/node_modules/@mui/material/DialogContentText/DialogContentText.js +8 -9
  372. package/dist/node_modules/@mui/material/DialogContentText/dialogContentTextClasses.js +2 -2
  373. package/dist/node_modules/@mui/material/DialogTitle/DialogTitle.js +7 -7
  374. package/dist/node_modules/@mui/material/DialogTitle/dialogTitleClasses.js +2 -2
  375. package/dist/node_modules/@mui/material/Divider/dividerClasses.js +1 -1
  376. package/dist/node_modules/@mui/material/Drawer/Drawer.js +13 -22
  377. package/dist/node_modules/@mui/material/Drawer/drawerClasses.js +2 -2
  378. package/dist/node_modules/@mui/material/Fade/Fade.js +7 -8
  379. package/dist/node_modules/@mui/material/FormControl/FormControl.js +10 -10
  380. package/dist/node_modules/@mui/material/FormControl/formControlClasses.js +2 -2
  381. package/dist/node_modules/@mui/material/FormControlLabel/FormControlLabel.js +11 -10
  382. package/dist/node_modules/@mui/material/FormControlLabel/formControlLabelClasses.js +2 -2
  383. package/dist/node_modules/@mui/material/FormGroup/FormGroup.js +7 -7
  384. package/dist/node_modules/@mui/material/FormGroup/formGroupClasses.js +2 -2
  385. package/dist/node_modules/@mui/material/FormHelperText/FormHelperText.js +8 -8
  386. package/dist/node_modules/@mui/material/FormHelperText/formHelperTextClasses.js +2 -2
  387. package/dist/node_modules/@mui/material/GlobalStyles/GlobalStyles.js +4 -4
  388. package/dist/node_modules/@mui/material/Grow/Grow.js +14 -11
  389. package/dist/node_modules/@mui/material/IconButton/IconButton.js +15 -15
  390. package/dist/node_modules/@mui/material/IconButton/iconButtonClasses.js +2 -2
  391. package/dist/node_modules/@mui/material/InputBase/InputBase.js +18 -18
  392. package/dist/node_modules/@mui/material/InputBase/inputBaseClasses.js +2 -2
  393. package/dist/node_modules/@mui/material/LinearProgress/LinearProgress.js +15 -15
  394. package/dist/node_modules/@mui/material/LinearProgress/linearProgressClasses.js +2 -2
  395. package/dist/node_modules/@mui/material/Link/Link.js +11 -11
  396. package/dist/node_modules/@mui/material/Link/getTextDecoration.js +2 -2
  397. package/dist/node_modules/@mui/material/Link/linkClasses.js +2 -2
  398. package/dist/node_modules/@mui/material/List/List.js +7 -7
  399. package/dist/node_modules/@mui/material/List/listClasses.js +2 -2
  400. package/dist/node_modules/@mui/material/ListItemIcon/ListItemIcon.js +7 -7
  401. package/dist/node_modules/@mui/material/ListItemIcon/listItemIconClasses.js +2 -2
  402. package/dist/node_modules/@mui/material/ListItemText/listItemTextClasses.js +1 -1
  403. package/dist/node_modules/@mui/material/Menu/Menu.js +16 -18
  404. package/dist/node_modules/@mui/material/Menu/menuClasses.js +2 -2
  405. package/dist/node_modules/@mui/material/MenuItem/MenuItem.js +15 -16
  406. package/dist/node_modules/@mui/material/MenuItem/menuItemClasses.js +2 -2
  407. package/dist/node_modules/@mui/material/MenuList/MenuList.js +11 -13
  408. package/dist/node_modules/@mui/material/Modal/Modal.js +46 -107
  409. package/dist/node_modules/@mui/material/OutlinedInput/NotchedOutline.js +3 -9
  410. package/dist/node_modules/@mui/material/OutlinedInput/OutlinedInput.js +10 -11
  411. package/dist/node_modules/@mui/material/OutlinedInput/outlinedInputClasses.js +2 -2
  412. package/dist/node_modules/@mui/material/Paper/Paper.js +11 -11
  413. package/dist/node_modules/@mui/material/Paper/paperClasses.js +2 -2
  414. package/dist/node_modules/@mui/material/Popover/Popover.js +25 -39
  415. package/dist/node_modules/@mui/material/Popover/popoverClasses.js +2 -2
  416. package/dist/node_modules/@mui/material/Popper/Popper.js +11 -14
  417. package/dist/node_modules/@mui/material/Radio/Radio.js +17 -19
  418. package/dist/node_modules/@mui/material/Radio/RadioButtonIcon.js +4 -11
  419. package/dist/node_modules/@mui/material/Radio/radioClasses.js +3 -3
  420. package/dist/node_modules/@mui/material/RadioGroup/RadioGroup.js +9 -30
  421. package/dist/node_modules/@mui/material/Skeleton/Skeleton.js +9 -9
  422. package/dist/node_modules/@mui/material/Skeleton/skeletonClasses.js +2 -2
  423. package/dist/node_modules/@mui/material/Slide/Slide.js +11 -12
  424. package/dist/node_modules/@mui/material/Slider/Slider.js +320 -434
  425. package/dist/node_modules/@mui/material/Slider/sliderClasses.js +3 -3
  426. package/dist/node_modules/@mui/material/Snackbar/Snackbar.js +18 -18
  427. package/dist/node_modules/@mui/material/Snackbar/snackbarClasses.js +2 -2
  428. package/dist/node_modules/@mui/material/SnackbarContent/SnackbarContent.js +9 -9
  429. package/dist/node_modules/@mui/material/SnackbarContent/snackbarContentClasses.js +2 -2
  430. package/dist/node_modules/@mui/material/Stack/Stack.js +6 -6
  431. package/dist/node_modules/@mui/material/Step/Step.js +8 -8
  432. package/dist/node_modules/@mui/material/Step/stepClasses.js +2 -2
  433. package/dist/node_modules/@mui/material/StepConnector/StepConnector.js +8 -8
  434. package/dist/node_modules/@mui/material/StepConnector/stepConnectorClasses.js +2 -2
  435. package/dist/node_modules/@mui/material/StepIcon/StepIcon.js +7 -7
  436. package/dist/node_modules/@mui/material/StepIcon/stepIconClasses.js +2 -2
  437. package/dist/node_modules/@mui/material/StepLabel/StepLabel.js +7 -7
  438. package/dist/node_modules/@mui/material/StepLabel/stepLabelClasses.js +2 -2
  439. package/dist/node_modules/@mui/material/Stepper/Stepper.js +10 -12
  440. package/dist/node_modules/@mui/material/Stepper/stepperClasses.js +3 -3
  441. package/dist/node_modules/@mui/material/SvgIcon/SvgIcon.js +10 -10
  442. package/dist/node_modules/@mui/material/SvgIcon/svgIconClasses.js +2 -2
  443. package/dist/node_modules/@mui/material/Switch/Switch.js +52 -71
  444. package/dist/node_modules/@mui/material/Switch/switchClasses.js +2 -2
  445. package/dist/node_modules/@mui/material/Tab/Tab.js +10 -12
  446. package/dist/node_modules/@mui/material/Tab/tabClasses.js +2 -2
  447. package/dist/node_modules/@mui/material/TabScrollButton/TabScrollButton.js +11 -10
  448. package/dist/node_modules/@mui/material/TabScrollButton/tabScrollButtonClasses.js +2 -2
  449. package/dist/node_modules/@mui/material/Tabs/ScrollbarSize.js +5 -6
  450. package/dist/node_modules/@mui/material/Tabs/Tabs.js +27 -46
  451. package/dist/node_modules/@mui/material/Tabs/tabsClasses.js +2 -2
  452. package/dist/node_modules/@mui/material/ToggleButton/ToggleButton.js +13 -25
  453. package/dist/node_modules/@mui/material/ToggleButton/toggleButtonClasses.js +3 -3
  454. package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup.js +52 -94
  455. package/dist/node_modules/@mui/material/ToggleButtonGroup/toggleButtonGroupClasses.js +3 -3
  456. package/dist/node_modules/@mui/material/Tooltip/Tooltip.js +71 -61
  457. package/dist/node_modules/@mui/material/Tooltip/tooltipClasses.js +2 -2
  458. package/dist/node_modules/@mui/material/Typography/Typography.js +8 -8
  459. package/dist/node_modules/@mui/material/Typography/typographyClasses.js +2 -2
  460. package/dist/node_modules/@mui/material/internal/SwitchBase.js +7 -12
  461. package/dist/node_modules/@mui/material/internal/switchBaseClasses.js +2 -2
  462. package/dist/node_modules/@mui/material/{ClickAwayListener → node_modules/@mui/base/ClickAwayListener}/ClickAwayListener.js +15 -12
  463. package/dist/node_modules/@mui/material/{Unstable_TrapFocus → node_modules/@mui/base/FocusTrap}/FocusTrap.js +53 -56
  464. package/dist/node_modules/@mui/material/node_modules/@mui/base/Modal/Modal.js +250 -0
  465. package/dist/node_modules/@mui/material/node_modules/@mui/base/Modal/modalClasses.js +9 -0
  466. package/dist/node_modules/@mui/material/{Popper/BasePopper.js → node_modules/@mui/base/Popper/Popper.js} +19 -24
  467. package/dist/node_modules/@mui/material/node_modules/@mui/base/Popper/popperClasses.js +9 -0
  468. package/dist/node_modules/@mui/material/{Portal → node_modules/@mui/base/Portal}/Portal.js +12 -16
  469. package/dist/node_modules/@mui/material/node_modules/@mui/base/TextareaAutosize/TextareaAutosize.js +226 -0
  470. package/dist/node_modules/@mui/material/{Modal → node_modules/@mui/base/unstable_useModal}/ModalManager.js +3 -3
  471. package/dist/node_modules/@mui/material/{Modal → node_modules/@mui/base/unstable_useModal}/useModal.js +11 -12
  472. package/dist/node_modules/@mui/material/{Badge → node_modules/@mui/base/useBadge}/useBadge.js +2 -2
  473. package/dist/node_modules/@mui/material/{Slider → node_modules/@mui/base/useSlider}/useSlider.js +60 -86
  474. package/dist/node_modules/@mui/material/{Snackbar → node_modules/@mui/base/useSnackbar}/useSnackbar.js +27 -22
  475. package/dist/node_modules/@mui/material/node_modules/@mui/base/utils/ClassNameConfigurator.js +20 -0
  476. package/dist/node_modules/@mui/material/node_modules/@mui/{utils/esm/appendOwnerState → base/utils}/appendOwnerState.js +2 -2
  477. package/dist/node_modules/@mui/material/{utils → node_modules/@mui/base/utils}/areArraysEqual.js +1 -1
  478. package/dist/node_modules/@mui/material/node_modules/@mui/{utils/esm/extractEventHandlers → base/utils}/extractEventHandlers.js +1 -1
  479. package/dist/node_modules/@mui/material/node_modules/@mui/{utils/esm/isHostComponent → base/utils}/isHostComponent.js +1 -1
  480. package/dist/node_modules/@mui/material/node_modules/@mui/{utils/esm/mergeSlotProps → base/utils}/mergeSlotProps.js +5 -5
  481. package/dist/node_modules/@mui/material/node_modules/@mui/{utils/esm/omitEventHandlers → base/utils}/omitEventHandlers.js +1 -1
  482. package/dist/node_modules/@mui/material/node_modules/@mui/{utils/esm/resolveComponentProps → base/utils}/resolveComponentProps.js +1 -1
  483. package/dist/node_modules/@mui/material/node_modules/@mui/{utils/esm/useSlotProps → base/utils}/useSlotProps.js +5 -5
  484. package/dist/node_modules/{hoist-non-react-statics → @mui/material}/node_modules/react-is/cjs/react-is.development.js +60 -32
  485. package/dist/node_modules/@mui/material/node_modules/react-is/cjs/react-is.production.min.js +109 -0
  486. package/dist/node_modules/{hoist-non-react-statics → @mui/material}/node_modules/react-is/index.js +1 -1
  487. package/dist/node_modules/@mui/material/styles/createPalette.js +7 -7
  488. package/dist/node_modules/@mui/material/styles/createTheme.js +4 -6
  489. package/dist/node_modules/@mui/material/styles/createTypography.js +1 -1
  490. package/dist/node_modules/@mui/material/styles/styled.js +6 -4
  491. package/dist/node_modules/@mui/material/styles/useThemeProps.js +17 -0
  492. package/dist/node_modules/@mui/material/utils/capitalize.js +1 -1
  493. package/dist/node_modules/@mui/material/utils/createChainedFunction.js +1 -1
  494. package/dist/node_modules/@mui/material/utils/debounce.js +1 -1
  495. package/dist/node_modules/@mui/material/utils/deprecatedPropType.js +1 -1
  496. package/dist/node_modules/@mui/material/utils/getScrollbarSize.js +1 -1
  497. package/dist/node_modules/@mui/material/utils/index.js +17 -17
  498. package/dist/node_modules/@mui/material/utils/isMuiElement.js +1 -1
  499. package/dist/node_modules/@mui/material/utils/ownerDocument.js +1 -1
  500. package/dist/node_modules/@mui/material/utils/ownerWindow.js +1 -1
  501. package/dist/node_modules/@mui/material/utils/requirePropFactory.js +1 -1
  502. package/dist/node_modules/@mui/material/utils/setRef.js +1 -1
  503. package/dist/node_modules/@mui/material/utils/shouldSpreadAdditionalProps.js +1 -1
  504. package/dist/node_modules/@mui/material/utils/unsupportedProp.js +1 -1
  505. package/dist/node_modules/@mui/material/utils/useControlled.js +1 -1
  506. package/dist/node_modules/@mui/material/utils/useEnhancedEffect.js +1 -1
  507. package/dist/node_modules/@mui/material/utils/useEventCallback.js +1 -1
  508. package/dist/node_modules/@mui/material/utils/useForkRef.js +1 -1
  509. package/dist/node_modules/@mui/material/utils/useId.js +1 -1
  510. package/dist/node_modules/@mui/material/utils/useIsFocusVisible.js +1 -1
  511. package/dist/node_modules/@mui/styled-engine/index.js +2 -18
  512. package/dist/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js +5 -29
  513. package/dist/node_modules/@mui/system/esm/Stack/createStack.js +3 -3
  514. package/dist/node_modules/@mui/system/esm/borders.js +47 -23
  515. package/dist/node_modules/@mui/system/esm/breakpoints.js +1 -1
  516. package/dist/node_modules/@mui/system/esm/colorManipulator.js +78 -5
  517. package/dist/node_modules/@mui/system/esm/createStyled.js +79 -92
  518. package/dist/node_modules/@mui/system/esm/createTheme/createTheme.js +1 -3
  519. package/dist/node_modules/@mui/system/esm/merge.js +1 -1
  520. package/dist/node_modules/@mui/system/esm/propsToClassKey.js +23 -0
  521. package/dist/node_modules/@mui/system/esm/sizing.js +2 -12
  522. package/dist/node_modules/@mui/system/esm/style.js +1 -1
  523. package/dist/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js +0 -7
  524. package/dist/node_modules/@mui/system/esm/styleFunctionSx/extendSxProp.js +1 -1
  525. package/dist/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js +3 -10
  526. package/dist/node_modules/@mui/system/esm/useThemeProps/getThemeProps.js +1 -1
  527. package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/deepmerge/deepmerge.js +5 -6
  528. package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/elementAcceptingRef/elementAcceptingRef.js +1 -1
  529. package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/elementTypeAcceptingRef/elementTypeAcceptingRef.js +1 -1
  530. package/dist/node_modules/@mui/{system/node_modules/@mui/utils/esm → utils}/getDisplayName/getDisplayName.js +1 -1
  531. package/dist/node_modules/{prop-types → @mui/utils}/node_modules/react-is/cjs/react-is.development.js +60 -32
  532. package/dist/node_modules/@mui/utils/node_modules/react-is/cjs/react-is.production.min.js +109 -0
  533. package/dist/node_modules/@mui/utils/node_modules/react-is/index.js +12 -0
  534. package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/refType/refType.js +1 -1
  535. package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/useControlled/useControlled.js +1 -1
  536. package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/useTimeout/useTimeout.js +1 -9
  537. package/dist/node_modules/call-bind/index.js +1 -1
  538. package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +2 -2
  539. package/dist/node_modules/is-symbol/index.js +1 -1
  540. package/dist/node_modules/moment/dist/locale/de.js +1 -21
  541. package/dist/node_modules/moment/dist/moment.js +754 -982
  542. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +1 -1
  543. package/dist/node_modules/prop-types/index.js +1 -1
  544. package/dist/node_modules/react-is/cjs/react-is.development.js +148 -88
  545. package/dist/node_modules/{prop-types/node_modules/react-is → react-is}/cjs/react-is.production.min.js +1 -1
  546. package/dist/node_modules/react-is/index.js +13 -8
  547. package/dist/node_modules/react-with-styles-interface-css/dist/index.js +1 -1
  548. package/dist/node_modules/stylis/src/Parser.js +1 -1
  549. package/dist/node_modules/stylis/src/Tokenizer.js +1 -1
  550. package/dist/stories/tableV36ChatApiMock.d.ts +29 -10
  551. package/dist/stories/tableV36ChatApiMock.d.ts.map +1 -1
  552. package/dist/storybook-utils/rootAttributes.d.ts +1 -1
  553. package/dist/storybook-utils/rootAttributes.d.ts.map +1 -1
  554. package/dist/styles/style.css +1 -1
  555. package/package.json +3 -12
  556. package/dist/_virtual/colorManipulator.js +0 -4
  557. package/dist/_virtual/createStyled.js +0 -4
  558. package/dist/_virtual/index10.js +0 -6
  559. package/dist/_virtual/index11.js +0 -6
  560. package/dist/_virtual/index12.js +0 -6
  561. package/dist/_virtual/index13.js +0 -4
  562. package/dist/_virtual/index14.js +0 -4
  563. package/dist/_virtual/index15.js +0 -4
  564. package/dist/_virtual/index16.js +0 -4
  565. package/dist/_virtual/index9.js +0 -6
  566. package/dist/_virtual/react-is.production.js +0 -4
  567. package/dist/_virtual/useThemeWithoutDefault.js +0 -4
  568. package/dist/assets/animated-bar.lottie.js +0 -4
  569. package/dist/assets/animated-bulb.lottie.js +0 -4
  570. package/dist/assets/animated-chip.lottie.js +0 -4
  571. package/dist/assets/confetti-cone.lottie.js +0 -4
  572. package/dist/assets/halloween_devil_morning_final.html.js +0 -1304
  573. package/dist/assets/halloween_devil_night_Final.html.js +0 -1299
  574. package/dist/components/Chips/chipLeadingIcon.d.ts +0 -6
  575. package/dist/components/Chips/chipLeadingIcon.d.ts.map +0 -1
  576. package/dist/components/Chips/chipLeadingIcon.js +0 -46
  577. package/dist/components/HalloweenStyleIntro/HalloweenStyleIntroProvider.d.ts +0 -14
  578. package/dist/components/HalloweenStyleIntro/HalloweenStyleIntroProvider.d.ts.map +0 -1
  579. package/dist/components/HalloweenStyleIntro/HalloweenStyleIntroProvider.js +0 -131
  580. package/dist/components/HalloweenStyleIntro/halloweenIntro.constants.d.ts +0 -13
  581. package/dist/components/HalloweenStyleIntro/halloweenIntro.constants.d.ts.map +0 -1
  582. package/dist/components/HalloweenStyleIntro/halloweenIntro.constants.js +0 -9
  583. package/dist/components/HalloweenStyleIntro/halloweenIntroHtml.d.ts +0 -15
  584. package/dist/components/HalloweenStyleIntro/halloweenIntroHtml.d.ts.map +0 -1
  585. package/dist/components/HalloweenStyleIntro/halloweenIntroHtml.js +0 -141
  586. package/dist/components/HalloweenStyleIntro/halloweenIntroHtml.test.d.ts +0 -2
  587. package/dist/components/HalloweenStyleIntro/halloweenIntroHtml.test.d.ts.map +0 -1
  588. package/dist/components/HalloweenStyleIntro/index.d.ts +0 -4
  589. package/dist/components/HalloweenStyleIntro/index.d.ts.map +0 -1
  590. package/dist/components/ImpactIcon/index.d.ts +0 -19
  591. package/dist/components/ImpactIcon/index.d.ts.map +0 -1
  592. package/dist/components/ImpactIcon/index.js +0 -52
  593. package/dist/components/Loader/HalloweenLoaderSlides.d.ts +0 -13
  594. package/dist/components/Loader/HalloweenLoaderSlides.d.ts.map +0 -1
  595. package/dist/components/Loader/HalloweenLoaderSlides.js +0 -109
  596. package/dist/components/ProfileMenu/ProfileMenu.types.d.ts +0 -55
  597. package/dist/components/ProfileMenu/ProfileMenu.types.d.ts.map +0 -1
  598. package/dist/components/ProfileMenu/ProfileMenuListItem.d.ts +0 -12
  599. package/dist/components/ProfileMenu/ProfileMenuListItem.d.ts.map +0 -1
  600. package/dist/components/ProfileMenu/ProfileMenuListItem.js +0 -42
  601. package/dist/components/ProfileMenu/index.d.ts +0 -11
  602. package/dist/components/ProfileMenu/index.d.ts.map +0 -1
  603. package/dist/components/ProfileMenu/index.js +0 -164
  604. package/dist/components/Slider/sliderValueLabel.d.ts +0 -7
  605. package/dist/components/Slider/sliderValueLabel.d.ts.map +0 -1
  606. package/dist/components/Slider/sliderValueLabel.js +0 -31
  607. package/dist/components/ThemingPanel/AccentColorSection.d.ts +0 -11
  608. package/dist/components/ThemingPanel/AccentColorSection.d.ts.map +0 -1
  609. package/dist/components/ThemingPanel/AccentColorSection.js +0 -45
  610. package/dist/components/ThemingPanel/EnhanceContrastSection.d.ts +0 -11
  611. package/dist/components/ThemingPanel/EnhanceContrastSection.d.ts.map +0 -1
  612. package/dist/components/ThemingPanel/EnhanceContrastSection.js +0 -42
  613. package/dist/components/ThemingPanel/InterfaceThemeSection.d.ts +0 -13
  614. package/dist/components/ThemingPanel/InterfaceThemeSection.d.ts.map +0 -1
  615. package/dist/components/ThemingPanel/InterfaceThemeSection.js +0 -118
  616. package/dist/components/ThemingPanel/StylesSection.d.ts +0 -11
  617. package/dist/components/ThemingPanel/StylesSection.d.ts.map +0 -1
  618. package/dist/components/ThemingPanel/StylesSection.js +0 -44
  619. package/dist/components/ThemingPanel/ThemesTab.d.ts +0 -23
  620. package/dist/components/ThemingPanel/ThemesTab.d.ts.map +0 -1
  621. package/dist/components/ThemingPanel/ThemesTab.js +0 -49
  622. package/dist/components/ThemingPanel/ThemingPanel.d.ts +0 -10
  623. package/dist/components/ThemingPanel/ThemingPanel.d.ts.map +0 -1
  624. package/dist/components/ThemingPanel/ThemingPanel.js +0 -233
  625. package/dist/components/ThemingPanel/ThemingPanel.types.d.ts +0 -33
  626. package/dist/components/ThemingPanel/ThemingPanel.types.d.ts.map +0 -1
  627. package/dist/components/ThemingPanel/ThemingPanel.types.js +0 -8
  628. package/dist/components/ThemingPanel/index.d.ts +0 -10
  629. package/dist/components/ThemingPanel/index.d.ts.map +0 -1
  630. package/dist/components/ThemingPanel/themingPanel.constants.d.ts +0 -24
  631. package/dist/components/ThemingPanel/themingPanel.constants.d.ts.map +0 -1
  632. package/dist/components/ThemingPanel/themingPanel.constants.js +0 -49
  633. package/dist/components/common/DotLottiePlayer/index.d.ts +0 -5
  634. package/dist/components/common/DotLottiePlayer/index.d.ts.map +0 -1
  635. package/dist/components/common/DotLottiePlayer/index.js +0 -9
  636. package/dist/node_modules/@lottiefiles/dotlottie-react/dist/index.js +0 -87
  637. package/dist/node_modules/@lottiefiles/dotlottie-web/dist/index.js +0 -1871
  638. package/dist/node_modules/@mui/material/Box/boxClasses.js +0 -5
  639. package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroupButtonContext.js +0 -8
  640. package/dist/node_modules/@mui/material/DefaultPropsProvider/DefaultPropsProvider.js +0 -25
  641. package/dist/node_modules/@mui/material/Modal/modalClasses.js +0 -9
  642. package/dist/node_modules/@mui/material/Popper/popperClasses.js +0 -9
  643. package/dist/node_modules/@mui/material/RadioGroup/radioGroupClasses.js +0 -9
  644. package/dist/node_modules/@mui/material/TextareaAutosize/TextareaAutosize.js +0 -216
  645. package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +0 -8
  646. package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupContext.js +0 -8
  647. package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/clamp/clamp.js +0 -6
  648. package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/getReactElementRef/getReactElementRef.js +0 -11
  649. package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/getValidReactChildren/getValidReactChildren.js +0 -7
  650. package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/useLazyRef/useLazyRef.js +0 -12
  651. package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/useOnMount/useOnMount.js +0 -8
  652. package/dist/node_modules/@mui/material/styles/ThemeProvider.js +0 -43
  653. package/dist/node_modules/@mui/material/styles/rootShouldForwardProp.js +0 -5
  654. package/dist/node_modules/@mui/material/styles/slotShouldForwardProp.js +0 -6
  655. package/dist/node_modules/@mui/material/utils/useSlot.js +0 -55
  656. package/dist/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js +0 -59
  657. package/dist/node_modules/@mui/private-theming/ThemeProvider/nested.js +0 -5
  658. package/dist/node_modules/@mui/private-theming/node_modules/@mui/utils/esm/exactProp/exactProp.js +0 -19
  659. package/dist/node_modules/@mui/private-theming/useTheme/ThemeContext.js +0 -8
  660. package/dist/node_modules/@mui/private-theming/useTheme/useTheme.js +0 -12
  661. package/dist/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js +0 -65
  662. package/dist/node_modules/@mui/system/colorManipulator.js +0 -271
  663. package/dist/node_modules/@mui/system/createStyled.js +0 -265
  664. package/dist/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js +0 -63
  665. package/dist/node_modules/@mui/system/esm/RtlProvider/index.js +0 -27
  666. package/dist/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js +0 -86
  667. package/dist/node_modules/@mui/system/esm/ThemeProvider/useLayerOrder.js +0 -50
  668. package/dist/node_modules/@mui/system/esm/createTheme/applyStyles.js +0 -16
  669. package/dist/node_modules/@mui/system/esm/createTheme/index.js +0 -8
  670. package/dist/node_modules/@mui/system/esm/styleFunctionSx/index.js +0 -9
  671. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js +0 -19
  672. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/capitalize/capitalize.js +0 -10
  673. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/capitalize/index.js +0 -4
  674. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/clamp/clamp.js +0 -6
  675. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/clamp/index.js +0 -4
  676. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/composeClasses/composeClasses.js +0 -25
  677. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +0 -43
  678. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/deepmerge/index.js +0 -5
  679. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/exactProp/exactProp.js +0 -19
  680. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.js +0 -10
  681. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/formatMuiErrorMessage/index.js +0 -4
  682. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js +0 -23
  683. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/getDisplayName/index.js +0 -5
  684. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/resolveProps/resolveProps.js +0 -29
  685. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js +0 -5
  686. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/useId/useId.js +0 -24
  687. package/dist/node_modules/@mui/system/useThemeWithoutDefault.js +0 -39
  688. package/dist/node_modules/@mui/utils/esm/debounce/debounce.js +0 -17
  689. package/dist/node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js +0 -6
  690. package/dist/node_modules/@mui/utils/esm/ownerWindow/ownerWindow.js +0 -8
  691. package/dist/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js +0 -5
  692. package/dist/node_modules/@mui/utils/esm/useForkRef/useForkRef.js +0 -42
  693. package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +0 -106
  694. package/dist/node_modules/prop-types/node_modules/react-is/index.js +0 -17
  695. package/dist/node_modules/react-is/cjs/react-is.production.js +0 -103
  696. package/dist/stories/designTokensStoryHelpers.d.ts +0 -2
  697. package/dist/stories/designTokensStoryHelpers.d.ts.map +0 -1
  698. package/dist/styles/tokens/accent-palettes.generated.d.ts +0 -13
  699. package/dist/styles/tokens/accent-palettes.generated.d.ts.map +0 -1
  700. package/dist/styles/tokens/accent-palettes.generated.js +0 -8
  701. package/dist/styles/tokens/effects.generated.d.ts +0 -60
  702. package/dist/styles/tokens/effects.generated.d.ts.map +0 -1
  703. package/dist/styles/tokens/effects.generated.js +0 -80
  704. package/dist/styles/tokens/tokens.generated.d.ts +0 -438
  705. package/dist/styles/tokens/tokens.generated.d.ts.map +0 -1
  706. package/dist/styles/tokens/tokens.generated.js +0 -431
  707. package/dist/tokens/ImpactUiAppProviders.d.ts +0 -18
  708. package/dist/tokens/ImpactUiAppProviders.d.ts.map +0 -1
  709. package/dist/tokens/ImpactUiAppProviders.js +0 -23
  710. package/dist/tokens/ImpactUiThemeProvider.d.ts +0 -17
  711. package/dist/tokens/ImpactUiThemeProvider.d.ts.map +0 -1
  712. package/dist/tokens/ImpactUiThemeProvider.js +0 -86
  713. package/dist/tokens/accentDom.d.ts +0 -17
  714. package/dist/tokens/accentDom.d.ts.map +0 -1
  715. package/dist/tokens/accentDom.js +0 -44
  716. package/dist/tokens/accentDom.test.d.ts +0 -2
  717. package/dist/tokens/accentDom.test.d.ts.map +0 -1
  718. package/dist/tokens/contrastDom.d.ts +0 -18
  719. package/dist/tokens/contrastDom.d.ts.map +0 -1
  720. package/dist/tokens/contrastDom.js +0 -34
  721. package/dist/tokens/contrastDom.test.d.ts +0 -2
  722. package/dist/tokens/contrastDom.test.d.ts.map +0 -1
  723. package/dist/tokens/createImpactUiMuiTheme.d.ts +0 -13
  724. package/dist/tokens/createImpactUiMuiTheme.d.ts.map +0 -1
  725. package/dist/tokens/createImpactUiMuiTheme.js +0 -122
  726. package/dist/tokens/impactUiPreferences.d.ts +0 -25
  727. package/dist/tokens/impactUiPreferences.d.ts.map +0 -1
  728. package/dist/tokens/impactUiPreferences.js +0 -109
  729. package/dist/tokens/impactUiPreferences.test.d.ts +0 -2
  730. package/dist/tokens/impactUiPreferences.test.d.ts.map +0 -1
  731. package/dist/tokens/index.d.ts +0 -22
  732. package/dist/tokens/index.d.ts.map +0 -1
  733. package/dist/tokens/interfaceStyleDom.d.ts +0 -26
  734. package/dist/tokens/interfaceStyleDom.d.ts.map +0 -1
  735. package/dist/tokens/interfaceStyleDom.js +0 -58
  736. package/dist/tokens/theme.types.d.ts +0 -19
  737. package/dist/tokens/theme.types.d.ts.map +0 -1
  738. package/dist/tokens/themeDom.d.ts +0 -34
  739. package/dist/tokens/themeDom.d.ts.map +0 -1
  740. package/dist/tokens/themeDom.js +0 -97
  741. package/dist/tokens/useImpactUiInterfaceStyle.d.ts +0 -7
  742. package/dist/tokens/useImpactUiInterfaceStyle.d.ts.map +0 -1
  743. package/dist/tokens/useImpactUiInterfaceStyle.js +0 -19
  744. package/dist/tokens/useImpactUiTheme.d.ts +0 -9
  745. package/dist/tokens/useImpactUiTheme.d.ts.map +0 -1
  746. package/dist/tokens/useImpactUiTheme.js +0 -46
  747. /package/dist/node_modules/@emotion/{unitless → serialize/node_modules/@emotion/unitless}/dist/emotion-unitless.esm.js +0 -0
  748. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/ClassNameGenerator/ClassNameGenerator.js +0 -0
  749. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/HTMLElementType/HTMLElementType.js +0 -0
  750. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/capitalize/capitalize.js +0 -0
  751. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/chainPropTypes/chainPropTypes.js +0 -0
  752. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/composeClasses/composeClasses.js +0 -0
  753. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/createChainedFunction/createChainedFunction.js +0 -0
  754. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/debounce/debounce.js +0 -0
  755. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/deprecatedPropType/deprecatedPropType.js +0 -0
  756. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/exactProp/exactProp.js +0 -0
  757. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/formatMuiErrorMessage/formatMuiErrorMessage.js +0 -0
  758. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/generateUtilityClass/generateUtilityClass.js +0 -0
  759. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/generateUtilityClasses/generateUtilityClasses.js +0 -0
  760. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/getScrollbarSize/getScrollbarSize.js +0 -0
  761. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/integerPropType/integerPropType.js +0 -0
  762. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/isMuiElement/isMuiElement.js +0 -0
  763. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/ownerDocument/ownerDocument.js +0 -0
  764. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/ownerWindow/ownerWindow.js +0 -0
  765. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/requirePropFactory/requirePropFactory.js +0 -0
  766. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/resolveProps/resolveProps.js +0 -0
  767. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/scrollLeft/scrollLeft.js +0 -0
  768. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/setRef/setRef.js +0 -0
  769. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/unsupportedProp/unsupportedProp.js +0 -0
  770. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/useEnhancedEffect/useEnhancedEffect.js +0 -0
  771. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/useEventCallback/useEventCallback.js +0 -0
  772. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/useForkRef/useForkRef.js +0 -0
  773. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/useId/useId.js +0 -0
  774. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/useIsFocusVisible/useIsFocusVisible.js +0 -0
  775. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/usePreviousProps/usePreviousProps.js +0 -0
  776. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/visuallyHidden/visuallyHidden.js +0 -0
@@ -1,5 +1,5 @@
1
1
  //! moment.js
2
- //! version : 2.31.0
2
+ //! version : 2.29.4
3
3
  //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
4
4
  //! license : MIT
5
5
  //! momentjs.com
@@ -75,7 +75,6 @@ function defaultParsingFlags() {
75
75
  nullInput: false,
76
76
  invalidEra: null,
77
77
  invalidMonth: null,
78
- invalidOffset: null,
79
78
  invalidFormat: false,
80
79
  userInvalidated: false,
81
80
  iso: false,
@@ -106,26 +105,23 @@ if (Array.prototype.some) {
106
105
  return false;
107
106
  };
108
107
  }
109
- function isValid$2(m) {
110
- var flags = null, parsedParts = false, isNowValid = m._d && !isNaN(m._d.getTime());
111
- if (isNowValid) {
112
- flags = getParsingFlags(m);
113
- parsedParts = some.call(flags.parsedDateParts, function(i) {
108
+ function isValid(m) {
109
+ if (m._isValid == null) {
110
+ var flags = getParsingFlags(m), parsedParts = some.call(flags.parsedDateParts, function(i) {
114
111
  return i != null;
115
- });
116
- isNowValid = flags.overflow < 0 && !flags.empty && !flags.invalidEra && !flags.invalidMonth && !flags.invalidOffset && !flags.invalidWeekday && !flags.weekdayMismatch && !flags.nullInput && !flags.invalidFormat && !flags.userInvalidated && (!flags.meridiem || flags.meridiem && parsedParts);
112
+ }), isNowValid = !isNaN(m._d.getTime()) && flags.overflow < 0 && !flags.empty && !flags.invalidEra && !flags.invalidMonth && !flags.invalidWeekday && !flags.weekdayMismatch && !flags.nullInput && !flags.invalidFormat && !flags.userInvalidated && (!flags.meridiem || flags.meridiem && parsedParts);
117
113
  if (m._strict) {
118
114
  isNowValid = isNowValid && flags.charsLeftOver === 0 && flags.unusedTokens.length === 0 && flags.bigHour === void 0;
119
115
  }
120
- }
121
- if (Object.isFrozen == null || !Object.isFrozen(m)) {
122
- m._isValid = isNowValid;
123
- } else {
124
- return isNowValid;
116
+ if (Object.isFrozen == null || !Object.isFrozen(m)) {
117
+ m._isValid = isNowValid;
118
+ } else {
119
+ return isNowValid;
120
+ }
125
121
  }
126
122
  return m._isValid;
127
123
  }
128
- function createInvalid$1(flags) {
124
+ function createInvalid(flags) {
129
125
  var m = createUTC(NaN);
130
126
  if (flags != null) {
131
127
  extend(getParsingFlags(m), flags);
@@ -235,7 +231,7 @@ function deprecateSimple(name, msg) {
235
231
  hooks.deprecationHandler(name, msg);
236
232
  }
237
233
  if (!deprecations[name]) {
238
- warn(msg + "\n" + new Error().stack);
234
+ warn(msg);
239
235
  deprecations[name] = true;
240
236
  }
241
237
  }
@@ -244,106 +240,81 @@ hooks.deprecationHandler = null;
244
240
  function isFunction(input) {
245
241
  return typeof Function !== "undefined" && input instanceof Function || Object.prototype.toString.call(input) === "[object Function]";
246
242
  }
247
- var aliases = {
248
- D: "date",
249
- dates: "date",
250
- date: "date",
251
- d: "day",
252
- days: "day",
253
- day: "day",
254
- e: "weekday",
255
- weekdays: "weekday",
256
- weekday: "weekday",
257
- E: "isoWeekday",
258
- isoweekdays: "isoWeekday",
259
- isoweekday: "isoWeekday",
260
- DDD: "dayOfYear",
261
- dayofyears: "dayOfYear",
262
- dayofyear: "dayOfYear",
263
- h: "hour",
264
- hours: "hour",
265
- hour: "hour",
266
- ms: "millisecond",
267
- milliseconds: "millisecond",
268
- millisecond: "millisecond",
269
- m: "minute",
270
- minutes: "minute",
271
- minute: "minute",
272
- M: "month",
273
- months: "month",
274
- month: "month",
275
- Q: "quarter",
276
- quarters: "quarter",
277
- quarter: "quarter",
278
- s: "second",
279
- seconds: "second",
280
- second: "second",
281
- gg: "weekYear",
282
- weekyears: "weekYear",
283
- weekyear: "weekYear",
284
- GG: "isoWeekYear",
285
- isoweekyears: "isoWeekYear",
286
- isoweekyear: "isoWeekYear",
287
- w: "week",
288
- weeks: "week",
289
- week: "week",
290
- W: "isoWeek",
291
- isoweeks: "isoWeek",
292
- isoweek: "isoWeek",
293
- y: "year",
294
- years: "year",
295
- year: "year"
296
- };
297
- function normalizeUnits(units) {
298
- return typeof units === "string" ? aliases[units] || aliases[units.toLowerCase()] : void 0;
299
- }
300
- function normalizeObjectUnits(inputObject) {
301
- var normalizedInput = {}, normalizedProp, prop;
302
- for (prop in inputObject) {
303
- if (hasOwnProp(inputObject, prop)) {
304
- normalizedProp = normalizeUnits(prop);
305
- if (normalizedProp) {
306
- normalizedInput[normalizedProp] = inputObject[prop];
243
+ function set(config) {
244
+ var prop, i;
245
+ for (i in config) {
246
+ if (hasOwnProp(config, i)) {
247
+ prop = config[i];
248
+ if (isFunction(prop)) {
249
+ this[i] = prop;
250
+ } else {
251
+ this["_" + i] = prop;
307
252
  }
308
253
  }
309
254
  }
310
- return normalizedInput;
255
+ this._config = config;
256
+ this._dayOfMonthOrdinalParseLenient = new RegExp(
257
+ (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source
258
+ );
311
259
  }
312
- var priorities = {
313
- date: 9,
314
- day: 11,
315
- weekday: 11,
316
- isoWeekday: 11,
317
- dayOfYear: 4,
318
- hour: 13,
319
- millisecond: 16,
320
- minute: 14,
321
- month: 8,
322
- quarter: 7,
323
- second: 15,
324
- weekYear: 1,
325
- isoWeekYear: 1,
326
- week: 5,
327
- isoWeek: 5,
328
- year: 1
329
- };
330
- function getPrioritizedUnits(unitsObj) {
331
- var units = [], u;
332
- for (u in unitsObj) {
333
- if (hasOwnProp(unitsObj, u)) {
334
- units.push({ unit: u, priority: priorities[u] });
260
+ function mergeConfigs(parentConfig, childConfig) {
261
+ var res = extend({}, parentConfig), prop;
262
+ for (prop in childConfig) {
263
+ if (hasOwnProp(childConfig, prop)) {
264
+ if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) {
265
+ res[prop] = {};
266
+ extend(res[prop], parentConfig[prop]);
267
+ extend(res[prop], childConfig[prop]);
268
+ } else if (childConfig[prop] != null) {
269
+ res[prop] = childConfig[prop];
270
+ } else {
271
+ delete res[prop];
272
+ }
335
273
  }
336
274
  }
337
- units.sort(function(a, b) {
338
- return a.priority - b.priority;
339
- });
340
- return units;
275
+ for (prop in parentConfig) {
276
+ if (hasOwnProp(parentConfig, prop) && !hasOwnProp(childConfig, prop) && isObject(parentConfig[prop])) {
277
+ res[prop] = extend({}, res[prop]);
278
+ }
279
+ }
280
+ return res;
281
+ }
282
+ function Locale(config) {
283
+ if (config != null) {
284
+ this.set(config);
285
+ }
286
+ }
287
+ var keys;
288
+ if (Object.keys) {
289
+ keys = Object.keys;
290
+ } else {
291
+ keys = function(obj) {
292
+ var i, res = [];
293
+ for (i in obj) {
294
+ if (hasOwnProp(obj, i)) {
295
+ res.push(i);
296
+ }
297
+ }
298
+ return res;
299
+ };
300
+ }
301
+ var defaultCalendar = {
302
+ sameDay: "[Today at] LT",
303
+ nextDay: "[Tomorrow at] LT",
304
+ nextWeek: "dddd [at] LT",
305
+ lastDay: "[Yesterday at] LT",
306
+ lastWeek: "[Last] dddd [at] LT",
307
+ sameElse: "L"
308
+ };
309
+ function calendar(key, mom, now2) {
310
+ var output = this._calendar[key] || this._calendar["sameElse"];
311
+ return isFunction(output) ? output.call(mom, now2) : output;
341
312
  }
342
313
  function zeroFill(number, targetLength, forceSign) {
343
314
  var absNumber = "" + Math.abs(number), zerosToFill = targetLength - absNumber.length, sign2 = number >= 0;
344
315
  return (sign2 ? forceSign ? "+" : "" : "-") + Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) + absNumber;
345
316
  }
346
- var formattingTokens = /(\[[^\[]*\])|(\\e)|(\\)?(eHHmm|[Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, localFormattingTokens = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, formatFunctions = {}, formatTokenFunctions = {};
317
+ var formattingTokens = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, localFormattingTokens = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, formatFunctions = {}, formatTokenFunctions = {};
347
318
  function addFormatToken(token2, padded, ordinal2, callback) {
348
319
  var func = callback;
349
320
  if (typeof callback === "string") {
@@ -396,11 +367,8 @@ function formatMoment(m, format2) {
396
367
  return m.localeData().invalidDate();
397
368
  }
398
369
  format2 = expandFormat(format2, m.localeData());
399
- var cacheKey = "$" + format2;
400
- if (!hasOwnProp(formatFunctions, cacheKey)) {
401
- formatFunctions[cacheKey] = makeFormatFunction(format2);
402
- }
403
- return formatFunctions[cacheKey](m);
370
+ formatFunctions[format2] = formatFunctions[format2] || makeFormatFunction(format2);
371
+ return formatFunctions[format2](m);
404
372
  }
405
373
  function expandFormat(format2, locale2) {
406
374
  var i = 5;
@@ -418,7 +386,165 @@ function expandFormat(format2, locale2) {
418
386
  }
419
387
  return format2;
420
388
  }
421
- var match1 = /\d/, match2 = /\d\d/, match3 = /\d{3}/, match4 = /\d{4}/, match6 = /[+-]?\d{6}/, match1to2 = /\d\d?/, match3to4 = /\d\d\d\d?/, match5to6 = /\d\d\d\d\d\d?/, match1to3 = /\d{1,3}/, match1to4 = /\d{1,4}/, match1to6 = /[+-]?\d{1,6}/, matchUnsigned = /\d+/, matchSigned = /[+-]?\d+/, matchOffset = /Z|[+-]\d\d:?\d\d/gi, matchShortOffset = /Z|[+-]\d\d(?::?\d\d)?/gi, matchTimestamp = /[+-]?\d+(\.\d{1,3})?/, matchWord = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, match1to2NoLeadingZero = /^[1-9]\d?/, match1to2HasZero = /^([1-9]\d|\d)/, regexes;
389
+ var defaultLongDateFormat = {
390
+ LTS: "h:mm:ss A",
391
+ LT: "h:mm A",
392
+ L: "MM/DD/YYYY",
393
+ LL: "MMMM D, YYYY",
394
+ LLL: "MMMM D, YYYY h:mm A",
395
+ LLLL: "dddd, MMMM D, YYYY h:mm A"
396
+ };
397
+ function longDateFormat(key) {
398
+ var format2 = this._longDateFormat[key], formatUpper = this._longDateFormat[key.toUpperCase()];
399
+ if (format2 || !formatUpper) {
400
+ return format2;
401
+ }
402
+ this._longDateFormat[key] = formatUpper.match(formattingTokens).map(function(tok) {
403
+ if (tok === "MMMM" || tok === "MM" || tok === "DD" || tok === "dddd") {
404
+ return tok.slice(1);
405
+ }
406
+ return tok;
407
+ }).join("");
408
+ return this._longDateFormat[key];
409
+ }
410
+ var defaultInvalidDate = "Invalid date";
411
+ function invalidDate() {
412
+ return this._invalidDate;
413
+ }
414
+ var defaultOrdinal = "%d", defaultDayOfMonthOrdinalParse = /\d{1,2}/;
415
+ function ordinal(number) {
416
+ return this._ordinal.replace("%d", number);
417
+ }
418
+ var defaultRelativeTime = {
419
+ future: "in %s",
420
+ past: "%s ago",
421
+ s: "a few seconds",
422
+ ss: "%d seconds",
423
+ m: "a minute",
424
+ mm: "%d minutes",
425
+ h: "an hour",
426
+ hh: "%d hours",
427
+ d: "a day",
428
+ dd: "%d days",
429
+ w: "a week",
430
+ ww: "%d weeks",
431
+ M: "a month",
432
+ MM: "%d months",
433
+ y: "a year",
434
+ yy: "%d years"
435
+ };
436
+ function relativeTime(number, withoutSuffix, string, isFuture) {
437
+ var output = this._relativeTime[string];
438
+ return isFunction(output) ? output(number, withoutSuffix, string, isFuture) : output.replace(/%d/i, number);
439
+ }
440
+ function pastFuture(diff2, output) {
441
+ var format2 = this._relativeTime[diff2 > 0 ? "future" : "past"];
442
+ return isFunction(format2) ? format2(output) : format2.replace(/%s/i, output);
443
+ }
444
+ var aliases = {};
445
+ function addUnitAlias(unit, shorthand) {
446
+ var lowerCase = unit.toLowerCase();
447
+ aliases[lowerCase] = aliases[lowerCase + "s"] = aliases[shorthand] = unit;
448
+ }
449
+ function normalizeUnits(units) {
450
+ return typeof units === "string" ? aliases[units] || aliases[units.toLowerCase()] : void 0;
451
+ }
452
+ function normalizeObjectUnits(inputObject) {
453
+ var normalizedInput = {}, normalizedProp, prop;
454
+ for (prop in inputObject) {
455
+ if (hasOwnProp(inputObject, prop)) {
456
+ normalizedProp = normalizeUnits(prop);
457
+ if (normalizedProp) {
458
+ normalizedInput[normalizedProp] = inputObject[prop];
459
+ }
460
+ }
461
+ }
462
+ return normalizedInput;
463
+ }
464
+ var priorities = {};
465
+ function addUnitPriority(unit, priority) {
466
+ priorities[unit] = priority;
467
+ }
468
+ function getPrioritizedUnits(unitsObj) {
469
+ var units = [], u;
470
+ for (u in unitsObj) {
471
+ if (hasOwnProp(unitsObj, u)) {
472
+ units.push({ unit: u, priority: priorities[u] });
473
+ }
474
+ }
475
+ units.sort(function(a, b) {
476
+ return a.priority - b.priority;
477
+ });
478
+ return units;
479
+ }
480
+ function isLeapYear(year) {
481
+ return year % 4 === 0 && year % 100 !== 0 || year % 400 === 0;
482
+ }
483
+ function absFloor(number) {
484
+ if (number < 0) {
485
+ return Math.ceil(number) || 0;
486
+ } else {
487
+ return Math.floor(number);
488
+ }
489
+ }
490
+ function toInt(argumentForCoercion) {
491
+ var coercedNumber = +argumentForCoercion, value = 0;
492
+ if (coercedNumber !== 0 && isFinite(coercedNumber)) {
493
+ value = absFloor(coercedNumber);
494
+ }
495
+ return value;
496
+ }
497
+ function makeGetSet(unit, keepTime) {
498
+ return function(value) {
499
+ if (value != null) {
500
+ set$1(this, unit, value);
501
+ hooks.updateOffset(this, keepTime);
502
+ return this;
503
+ } else {
504
+ return get(this, unit);
505
+ }
506
+ };
507
+ }
508
+ function get(mom, unit) {
509
+ return mom.isValid() ? mom._d["get" + (mom._isUTC ? "UTC" : "") + unit]() : NaN;
510
+ }
511
+ function set$1(mom, unit, value) {
512
+ if (mom.isValid() && !isNaN(value)) {
513
+ if (unit === "FullYear" && isLeapYear(mom.year()) && mom.month() === 1 && mom.date() === 29) {
514
+ value = toInt(value);
515
+ mom._d["set" + (mom._isUTC ? "UTC" : "") + unit](
516
+ value,
517
+ mom.month(),
518
+ daysInMonth(value, mom.month())
519
+ );
520
+ } else {
521
+ mom._d["set" + (mom._isUTC ? "UTC" : "") + unit](value);
522
+ }
523
+ }
524
+ }
525
+ function stringGet(units) {
526
+ units = normalizeUnits(units);
527
+ if (isFunction(this[units])) {
528
+ return this[units]();
529
+ }
530
+ return this;
531
+ }
532
+ function stringSet(units, value) {
533
+ if (typeof units === "object") {
534
+ units = normalizeObjectUnits(units);
535
+ var prioritized = getPrioritizedUnits(units), i, prioritizedLen = prioritized.length;
536
+ for (i = 0; i < prioritizedLen; i++) {
537
+ this[prioritized[i].unit](units[prioritized[i].unit]);
538
+ }
539
+ } else {
540
+ units = normalizeUnits(units);
541
+ if (isFunction(this[units])) {
542
+ return this[units](value);
543
+ }
544
+ }
545
+ return this;
546
+ }
547
+ var match1 = /\d/, match2 = /\d\d/, match3 = /\d{3}/, match4 = /\d{4}/, match6 = /[+-]?\d{6}/, match1to2 = /\d\d?/, match3to4 = /\d\d\d\d?/, match5to6 = /\d\d\d\d\d\d?/, match1to3 = /\d{1,3}/, match1to4 = /\d{1,4}/, match1to6 = /[+-]?\d{1,6}/, matchUnsigned = /\d+/, matchSigned = /[+-]?\d+/, matchOffset = /Z|[+-]\d\d:?\d\d/gi, matchShortOffset = /Z|[+-]\d\d(?::?\d\d)?/gi, matchTimestamp = /[+-]?\d+(\.\d{1,3})?/, matchWord = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, regexes;
422
548
  regexes = {};
423
549
  function addRegexToken(token2, regex, strictRegex) {
424
550
  regexes[token2] = isFunction(regex) ? regex : function(isStrict, localeData2) {
@@ -444,20 +570,6 @@ function unescapeFormat(s) {
444
570
  function regexEscape(s) {
445
571
  return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
446
572
  }
447
- function absFloor(number) {
448
- if (number < 0) {
449
- return Math.ceil(number) || 0;
450
- } else {
451
- return Math.floor(number);
452
- }
453
- }
454
- function toInt(argumentForCoercion) {
455
- var coercedNumber = +argumentForCoercion, value = 0;
456
- if (coercedNumber !== 0 && isFinite(coercedNumber)) {
457
- value = absFloor(coercedNumber);
458
- }
459
- return value;
460
- }
461
573
  var tokens = {};
462
574
  function addParseToken(token2, callback) {
463
575
  var i, func = callback, tokenLen;
@@ -485,134 +597,8 @@ function addTimeToArrayFromToken(token2, input, config) {
485
597
  tokens[token2](input, config._a, config, token2);
486
598
  }
487
599
  }
488
- function isLeapYear(year) {
489
- return year % 4 === 0 && year % 100 !== 0 || year % 400 === 0;
490
- }
491
600
  var YEAR = 0, MONTH = 1, DATE = 2, HOUR = 3, MINUTE = 4, SECOND = 5, MILLISECOND = 6, WEEK = 7, WEEKDAY = 8;
492
- addFormatToken("Y", 0, 0, function() {
493
- var y = this.year();
494
- return y <= 9999 ? zeroFill(y, 4) : "+" + y;
495
- });
496
- addFormatToken(0, ["YY", 2], 0, function() {
497
- return this.year() % 100;
498
- });
499
- addFormatToken(0, ["YYYY", 4], 0, "year");
500
- addFormatToken(0, ["YYYYY", 5], 0, "year");
501
- addFormatToken(0, ["YYYYYY", 6, true], 0, "year");
502
- addRegexToken("Y", matchSigned);
503
- addRegexToken("YY", match1to2, match2);
504
- addRegexToken("YYYY", match1to4, match4);
505
- addRegexToken("YYYYY", match1to6, match6);
506
- addRegexToken("YYYYYY", match1to6, match6);
507
- addParseToken(["YYYYY", "YYYYYY"], YEAR);
508
- addParseToken("YYYY", function(input, array) {
509
- array[YEAR] = input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input);
510
- });
511
- addParseToken("YY", function(input, array) {
512
- array[YEAR] = hooks.parseTwoDigitYear(input);
513
- });
514
- addParseToken("Y", function(input, array) {
515
- array[YEAR] = parseInt(input, 10);
516
- });
517
- function daysInYear(year) {
518
- return isLeapYear(year) ? 366 : 365;
519
- }
520
- hooks.parseTwoDigitYear = function(input) {
521
- return toInt(input) + (toInt(input) > 68 ? 1900 : 2e3);
522
- };
523
- var getSetYear = makeGetSet("FullYear", true);
524
- function getIsLeapYear() {
525
- return isLeapYear(this.year());
526
- }
527
- function makeGetSet(unit, keepTime) {
528
- return function(value) {
529
- if (value != null) {
530
- set$1(this, unit, value);
531
- hooks.updateOffset(this, keepTime);
532
- return this;
533
- } else {
534
- return get$2(this, unit);
535
- }
536
- };
537
- }
538
- function get$2(mom, unit) {
539
- if (!mom.isValid()) {
540
- return NaN;
541
- }
542
- var d = mom._d, isUTC = mom._isUTC;
543
- switch (unit) {
544
- case "Milliseconds":
545
- return isUTC ? d.getUTCMilliseconds() : d.getMilliseconds();
546
- case "Seconds":
547
- return isUTC ? d.getUTCSeconds() : d.getSeconds();
548
- case "Minutes":
549
- return isUTC ? d.getUTCMinutes() : d.getMinutes();
550
- case "Hours":
551
- return isUTC ? d.getUTCHours() : d.getHours();
552
- case "Date":
553
- return isUTC ? d.getUTCDate() : d.getDate();
554
- case "Day":
555
- return isUTC ? d.getUTCDay() : d.getDay();
556
- case "Month":
557
- return isUTC ? d.getUTCMonth() : d.getMonth();
558
- case "FullYear":
559
- return isUTC ? d.getUTCFullYear() : d.getFullYear();
560
- default:
561
- return NaN;
562
- }
563
- }
564
- function set$1(mom, unit, value) {
565
- var d, isUTC, year, month, date;
566
- if (!mom.isValid() || isNaN(value)) {
567
- return;
568
- }
569
- d = mom._d;
570
- isUTC = mom._isUTC;
571
- switch (unit) {
572
- case "Milliseconds":
573
- return void (isUTC ? d.setUTCMilliseconds(value) : d.setMilliseconds(value));
574
- case "Seconds":
575
- return void (isUTC ? d.setUTCSeconds(value) : d.setSeconds(value));
576
- case "Minutes":
577
- return void (isUTC ? d.setUTCMinutes(value) : d.setMinutes(value));
578
- case "Hours":
579
- return void (isUTC ? d.setUTCHours(value) : d.setHours(value));
580
- case "Date":
581
- return void (isUTC ? d.setUTCDate(value) : d.setDate(value));
582
- case "FullYear":
583
- break;
584
- default:
585
- return;
586
- }
587
- year = value;
588
- month = mom.month();
589
- date = mom.date();
590
- date = date === 29 && month === 1 && !isLeapYear(year) ? 28 : date;
591
- void (isUTC ? d.setUTCFullYear(year, month, date) : d.setFullYear(year, month, date));
592
- }
593
- function stringGet(units) {
594
- units = normalizeUnits(units);
595
- if (isFunction(this[units])) {
596
- return this[units]();
597
- }
598
- return this;
599
- }
600
- function stringSet(units, value) {
601
- if (typeof units === "object") {
602
- units = normalizeObjectUnits(units);
603
- var prioritized = getPrioritizedUnits(units), i, prioritizedLen = prioritized.length;
604
- for (i = 0; i < prioritizedLen; i++) {
605
- this[prioritized[i].unit](units[prioritized[i].unit]);
606
- }
607
- } else {
608
- units = normalizeUnits(units);
609
- if (isFunction(this[units])) {
610
- return this[units](value);
611
- }
612
- }
613
- return this;
614
- }
615
- function mod$1(n, x) {
601
+ function mod(n, x) {
616
602
  return (n % x + x) % x;
617
603
  }
618
604
  var indexOf;
@@ -633,7 +619,7 @@ function daysInMonth(year, month) {
633
619
  if (isNaN(year) || isNaN(month)) {
634
620
  return NaN;
635
621
  }
636
- var modMonth = mod$1(month, 12);
622
+ var modMonth = mod(month, 12);
637
623
  year += (month - modMonth) / 12;
638
624
  return modMonth === 1 ? isLeapYear(year) ? 29 : 28 : 31 - modMonth % 7 % 2;
639
625
  }
@@ -646,7 +632,9 @@ addFormatToken("MMM", 0, 0, function(format2) {
646
632
  addFormatToken("MMMM", 0, 0, function(format2) {
647
633
  return this.localeData().months(this, format2);
648
634
  });
649
- addRegexToken("M", match1to2, match1to2NoLeadingZero);
635
+ addUnitAlias("month", "M");
636
+ addUnitPriority("month", 8);
637
+ addRegexToken("M", match1to2);
650
638
  addRegexToken("MM", match1to2, match2);
651
639
  addRegexToken("MMM", function(isStrict, locale2) {
652
640
  return locale2.monthsShortRegex(isStrict);
@@ -667,24 +655,7 @@ addParseToken(["MMM", "MMMM"], function(input, array, config, token2) {
667
655
  });
668
656
  var defaultLocaleMonths = "January_February_March_April_May_June_July_August_September_October_November_December".split(
669
657
  "_"
670
- ), defaultLocaleMonthsShort = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, defaultMonthsShortRegex = matchWord, defaultMonthsRegex = matchWord, monthsParseProperties = [
671
- "monthsParse",
672
- "longMonthsParse",
673
- "shortMonthsParse",
674
- "monthsRegex",
675
- "monthsShortRegex",
676
- "monthsStrictRegex",
677
- "monthsShortStrictRegex"
678
- ];
679
- function clearMonthsParseCache(locale2, config) {
680
- var i, prop;
681
- for (i = 0; i < monthsParseProperties.length; i++) {
682
- prop = monthsParseProperties[i];
683
- if (!hasOwnProp(config, prop)) {
684
- delete locale2["_" + prop];
685
- }
686
- }
687
- }
658
+ ), defaultLocaleMonthsShort = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, defaultMonthsShortRegex = matchWord, defaultMonthsRegex = matchWord;
688
659
  function localeMonths(m, format2) {
689
660
  if (!m) {
690
661
  return isArray(this._months) ? this._months : this._months["standalone"];
@@ -697,7 +668,7 @@ function localeMonthsShort(m, format2) {
697
668
  }
698
669
  return isArray(this._monthsShort) ? this._monthsShort[m.month()] : this._monthsShort[MONTHS_IN_FORMAT.test(format2) ? "format" : "standalone"][m.month()];
699
670
  }
700
- function handleStrictParse$1(monthName, format2, strict) {
671
+ function handleStrictParse(monthName, format2, strict) {
701
672
  var i, ii, mom, llc = monthName.toLocaleLowerCase();
702
673
  if (!this._monthsParse) {
703
674
  this._monthsParse = [];
@@ -741,7 +712,7 @@ function handleStrictParse$1(monthName, format2, strict) {
741
712
  function localeMonthsParse(monthName, format2, strict) {
742
713
  var i, mom, regex;
743
714
  if (this._monthsParseExact) {
744
- return handleStrictParse$1.call(this, monthName, format2, strict);
715
+ return handleStrictParse.call(this, monthName, format2, strict);
745
716
  }
746
717
  if (!this._monthsParse) {
747
718
  this._monthsParse = [];
@@ -774,6 +745,7 @@ function localeMonthsParse(monthName, format2, strict) {
774
745
  }
775
746
  }
776
747
  function setMonth(mom, value) {
748
+ var dayOfMonth;
777
749
  if (!mom.isValid()) {
778
750
  return mom;
779
751
  }
@@ -787,9 +759,8 @@ function setMonth(mom, value) {
787
759
  }
788
760
  }
789
761
  }
790
- var month = value, date = mom.date();
791
- date = date < 29 ? date : Math.min(date, daysInMonth(mom.year(), month));
792
- void (mom._isUTC ? mom._d.setUTCMonth(month, date) : mom._d.setMonth(month, date));
762
+ dayOfMonth = Math.min(mom.date(), daysInMonth(mom.year(), value));
763
+ mom._d["set" + (mom._isUTC ? "UTC" : "") + "Month"](value, dayOfMonth);
793
764
  return mom;
794
765
  }
795
766
  function getSetMonth(value) {
@@ -798,7 +769,7 @@ function getSetMonth(value) {
798
769
  hooks.updateOffset(this, true);
799
770
  return this;
800
771
  } else {
801
- return get$2(this, "Month");
772
+ return get(this, "Month");
802
773
  }
803
774
  }
804
775
  function getDaysInMonth() {
@@ -842,19 +813,24 @@ function computeMonthsParse() {
842
813
  function cmpLenRev(a, b) {
843
814
  return b.length - a.length;
844
815
  }
845
- var shortPieces = [], longPieces = [], mixedPieces = [], i, mom, shortP, longP;
816
+ var shortPieces = [], longPieces = [], mixedPieces = [], i, mom;
846
817
  for (i = 0; i < 12; i++) {
847
818
  mom = createUTC([2e3, i]);
848
- shortP = regexEscape(this.monthsShort(mom, ""));
849
- longP = regexEscape(this.months(mom, ""));
850
- shortPieces.push(shortP);
851
- longPieces.push(longP);
852
- mixedPieces.push(longP);
853
- mixedPieces.push(shortP);
819
+ shortPieces.push(this.monthsShort(mom, ""));
820
+ longPieces.push(this.months(mom, ""));
821
+ mixedPieces.push(this.months(mom, ""));
822
+ mixedPieces.push(this.monthsShort(mom, ""));
854
823
  }
855
824
  shortPieces.sort(cmpLenRev);
856
825
  longPieces.sort(cmpLenRev);
857
826
  mixedPieces.sort(cmpLenRev);
827
+ for (i = 0; i < 12; i++) {
828
+ shortPieces[i] = regexEscape(shortPieces[i]);
829
+ longPieces[i] = regexEscape(longPieces[i]);
830
+ }
831
+ for (i = 0; i < 24; i++) {
832
+ mixedPieces[i] = regexEscape(mixedPieces[i]);
833
+ }
858
834
  this._monthsRegex = new RegExp("^(" + mixedPieces.join("|") + ")", "i");
859
835
  this._monthsShortRegex = this._monthsRegex;
860
836
  this._monthsStrictRegex = new RegExp(
@@ -866,6 +842,150 @@ function computeMonthsParse() {
866
842
  "i"
867
843
  );
868
844
  }
845
+ addFormatToken("Y", 0, 0, function() {
846
+ var y = this.year();
847
+ return y <= 9999 ? zeroFill(y, 4) : "+" + y;
848
+ });
849
+ addFormatToken(0, ["YY", 2], 0, function() {
850
+ return this.year() % 100;
851
+ });
852
+ addFormatToken(0, ["YYYY", 4], 0, "year");
853
+ addFormatToken(0, ["YYYYY", 5], 0, "year");
854
+ addFormatToken(0, ["YYYYYY", 6, true], 0, "year");
855
+ addUnitAlias("year", "y");
856
+ addUnitPriority("year", 1);
857
+ addRegexToken("Y", matchSigned);
858
+ addRegexToken("YY", match1to2, match2);
859
+ addRegexToken("YYYY", match1to4, match4);
860
+ addRegexToken("YYYYY", match1to6, match6);
861
+ addRegexToken("YYYYYY", match1to6, match6);
862
+ addParseToken(["YYYYY", "YYYYYY"], YEAR);
863
+ addParseToken("YYYY", function(input, array) {
864
+ array[YEAR] = input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input);
865
+ });
866
+ addParseToken("YY", function(input, array) {
867
+ array[YEAR] = hooks.parseTwoDigitYear(input);
868
+ });
869
+ addParseToken("Y", function(input, array) {
870
+ array[YEAR] = parseInt(input, 10);
871
+ });
872
+ function daysInYear(year) {
873
+ return isLeapYear(year) ? 366 : 365;
874
+ }
875
+ hooks.parseTwoDigitYear = function(input) {
876
+ return toInt(input) + (toInt(input) > 68 ? 1900 : 2e3);
877
+ };
878
+ var getSetYear = makeGetSet("FullYear", true);
879
+ function getIsLeapYear() {
880
+ return isLeapYear(this.year());
881
+ }
882
+ function createDate(y, m, d, h, M, s, ms) {
883
+ var date;
884
+ if (y < 100 && y >= 0) {
885
+ date = new Date(y + 400, m, d, h, M, s, ms);
886
+ if (isFinite(date.getFullYear())) {
887
+ date.setFullYear(y);
888
+ }
889
+ } else {
890
+ date = new Date(y, m, d, h, M, s, ms);
891
+ }
892
+ return date;
893
+ }
894
+ function createUTCDate(y) {
895
+ var date, args;
896
+ if (y < 100 && y >= 0) {
897
+ args = Array.prototype.slice.call(arguments);
898
+ args[0] = y + 400;
899
+ date = new Date(Date.UTC.apply(null, args));
900
+ if (isFinite(date.getUTCFullYear())) {
901
+ date.setUTCFullYear(y);
902
+ }
903
+ } else {
904
+ date = new Date(Date.UTC.apply(null, arguments));
905
+ }
906
+ return date;
907
+ }
908
+ function firstWeekOffset(year, dow, doy) {
909
+ var fwd = 7 + dow - doy, fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7;
910
+ return -fwdlw + fwd - 1;
911
+ }
912
+ function dayOfYearFromWeeks(year, week, weekday, dow, doy) {
913
+ var localWeekday = (7 + weekday - dow) % 7, weekOffset = firstWeekOffset(year, dow, doy), dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset, resYear, resDayOfYear;
914
+ if (dayOfYear <= 0) {
915
+ resYear = year - 1;
916
+ resDayOfYear = daysInYear(resYear) + dayOfYear;
917
+ } else if (dayOfYear > daysInYear(year)) {
918
+ resYear = year + 1;
919
+ resDayOfYear = dayOfYear - daysInYear(year);
920
+ } else {
921
+ resYear = year;
922
+ resDayOfYear = dayOfYear;
923
+ }
924
+ return {
925
+ year: resYear,
926
+ dayOfYear: resDayOfYear
927
+ };
928
+ }
929
+ function weekOfYear(mom, dow, doy) {
930
+ var weekOffset = firstWeekOffset(mom.year(), dow, doy), week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1, resWeek, resYear;
931
+ if (week < 1) {
932
+ resYear = mom.year() - 1;
933
+ resWeek = week + weeksInYear(resYear, dow, doy);
934
+ } else if (week > weeksInYear(mom.year(), dow, doy)) {
935
+ resWeek = week - weeksInYear(mom.year(), dow, doy);
936
+ resYear = mom.year() + 1;
937
+ } else {
938
+ resYear = mom.year();
939
+ resWeek = week;
940
+ }
941
+ return {
942
+ week: resWeek,
943
+ year: resYear
944
+ };
945
+ }
946
+ function weeksInYear(year, dow, doy) {
947
+ var weekOffset = firstWeekOffset(year, dow, doy), weekOffsetNext = firstWeekOffset(year + 1, dow, doy);
948
+ return (daysInYear(year) - weekOffset + weekOffsetNext) / 7;
949
+ }
950
+ addFormatToken("w", ["ww", 2], "wo", "week");
951
+ addFormatToken("W", ["WW", 2], "Wo", "isoWeek");
952
+ addUnitAlias("week", "w");
953
+ addUnitAlias("isoWeek", "W");
954
+ addUnitPriority("week", 5);
955
+ addUnitPriority("isoWeek", 5);
956
+ addRegexToken("w", match1to2);
957
+ addRegexToken("ww", match1to2, match2);
958
+ addRegexToken("W", match1to2);
959
+ addRegexToken("WW", match1to2, match2);
960
+ addWeekParseToken(
961
+ ["w", "ww", "W", "WW"],
962
+ function(input, week, config, token2) {
963
+ week[token2.substr(0, 1)] = toInt(input);
964
+ }
965
+ );
966
+ function localeWeek(mom) {
967
+ return weekOfYear(mom, this._week.dow, this._week.doy).week;
968
+ }
969
+ var defaultLocaleWeek = {
970
+ dow: 0,
971
+ // Sunday is the first day of the week.
972
+ doy: 6
973
+ // The week that contains Jan 6th is the first week of the year.
974
+ };
975
+ function localeFirstDayOfWeek() {
976
+ return this._week.dow;
977
+ }
978
+ function localeFirstDayOfYear() {
979
+ return this._week.doy;
980
+ }
981
+ function getSetWeek(input) {
982
+ var week = this.localeData().week(this);
983
+ return input == null ? week : this.add((input - week) * 7, "d");
984
+ }
985
+ function getSetISOWeek(input) {
986
+ var week = weekOfYear(this, 1, 4).week;
987
+ return input == null ? week : this.add((input - week) * 7, "d");
988
+ }
869
989
  addFormatToken("d", 0, "do", "day");
870
990
  addFormatToken("dd", 0, 0, function(format2) {
871
991
  return this.localeData().weekdaysMin(this, format2);
@@ -878,13 +998,15 @@ addFormatToken("dddd", 0, 0, function(format2) {
878
998
  });
879
999
  addFormatToken("e", 0, 0, "weekday");
880
1000
  addFormatToken("E", 0, 0, "isoWeekday");
881
- addFormatToken("eHHmm", 0, 0, function() {
882
- return "" + this.weekday() + zeroFill(this.hours(), 2) + zeroFill(this.minutes(), 2);
883
- });
1001
+ addUnitAlias("day", "d");
1002
+ addUnitAlias("weekday", "e");
1003
+ addUnitAlias("isoWeekday", "E");
1004
+ addUnitPriority("day", 11);
1005
+ addUnitPriority("weekday", 11);
1006
+ addUnitPriority("isoWeekday", 11);
884
1007
  addRegexToken("d", match1to2);
885
1008
  addRegexToken("e", match1to2);
886
1009
  addRegexToken("E", match1to2);
887
- addRegexToken("eHHmm", match5to6);
888
1010
  addRegexToken("dd", function(isStrict, locale2) {
889
1011
  return locale2.weekdaysMinRegex(isStrict);
890
1012
  });
@@ -905,12 +1027,6 @@ addWeekParseToken(["dd", "ddd", "dddd"], function(input, week, config, token2) {
905
1027
  addWeekParseToken(["d", "e", "E"], function(input, week, config, token2) {
906
1028
  week[token2] = toInt(input);
907
1029
  });
908
- addWeekParseToken("eHHmm", function(input, week, config) {
909
- var weekdayEnd = input.length - 4;
910
- week.e = toInt(input.substr(0, weekdayEnd));
911
- config._a[HOUR] = toInt(input.substr(weekdayEnd, 2));
912
- config._a[MINUTE] = toInt(input.substr(weekdayEnd + 2));
913
- });
914
1030
  function parseWeekday(input, locale2) {
915
1031
  if (typeof input !== "string") {
916
1032
  return input;
@@ -933,27 +1049,7 @@ function parseIsoWeekday(input, locale2) {
933
1049
  function shiftWeekdays(ws, n) {
934
1050
  return ws.slice(n, 7).concat(ws.slice(0, n));
935
1051
  }
936
- var defaultLocaleWeekdays = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), defaultLocaleWeekdaysShort = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), defaultLocaleWeekdaysMin = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), defaultWeekdaysRegex = matchWord, defaultWeekdaysShortRegex = matchWord, defaultWeekdaysMinRegex = matchWord, weekdaysParseProperties = [
937
- "weekdaysParse",
938
- "fullWeekdaysParse",
939
- "shortWeekdaysParse",
940
- "minWeekdaysParse",
941
- "weekdaysRegex",
942
- "weekdaysShortRegex",
943
- "weekdaysMinRegex",
944
- "weekdaysStrictRegex",
945
- "weekdaysShortStrictRegex",
946
- "weekdaysMinStrictRegex"
947
- ];
948
- function clearWeekdaysParseCache(locale2, config) {
949
- var i, prop;
950
- for (i = 0; i < weekdaysParseProperties.length; i++) {
951
- prop = weekdaysParseProperties[i];
952
- if (!hasOwnProp(config, prop)) {
953
- delete locale2["_" + prop];
954
- }
955
- }
956
- }
1052
+ var defaultLocaleWeekdays = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), defaultLocaleWeekdaysShort = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), defaultLocaleWeekdaysMin = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), defaultWeekdaysRegex = matchWord, defaultWeekdaysShortRegex = matchWord, defaultWeekdaysMinRegex = matchWord;
957
1053
  function localeWeekdays(m, format2) {
958
1054
  var weekdays = isArray(this._weekdays) ? this._weekdays : this._weekdays[m && m !== true && this._weekdays.isFormat.test(format2) ? "format" : "standalone"];
959
1055
  return m === true ? shiftWeekdays(weekdays, this._week.dow) : m ? weekdays[m.day()] : weekdays;
@@ -964,7 +1060,7 @@ function localeWeekdaysShort(m) {
964
1060
  function localeWeekdaysMin(m) {
965
1061
  return m === true ? shiftWeekdays(this._weekdaysMin, this._week.dow) : m ? this._weekdaysMin[m.day()] : this._weekdaysMin;
966
1062
  }
967
- function handleStrictParse(weekdayName, format2, strict) {
1063
+ function handleStrictParse$1(weekdayName, format2, strict) {
968
1064
  var i, ii, mom, llc = weekdayName.toLocaleLowerCase();
969
1065
  if (!this._weekdaysParse) {
970
1066
  this._weekdaysParse = [];
@@ -1034,7 +1130,7 @@ function handleStrictParse(weekdayName, format2, strict) {
1034
1130
  function localeWeekdaysParse(weekdayName, format2, strict) {
1035
1131
  var i, mom, regex;
1036
1132
  if (this._weekdaysParseExact) {
1037
- return handleStrictParse.call(this, weekdayName, format2, strict);
1133
+ return handleStrictParse$1.call(this, weekdayName, format2, strict);
1038
1134
  }
1039
1135
  if (!this._weekdaysParse) {
1040
1136
  this._weekdaysParse = [];
@@ -1063,398 +1159,133 @@ function localeWeekdaysParse(weekdayName, format2, strict) {
1063
1159
  this._weekdaysParse[i] = new RegExp(regex.replace(".", ""), "i");
1064
1160
  }
1065
1161
  if (strict && format2 === "dddd" && this._fullWeekdaysParse[i].test(weekdayName)) {
1066
- return i;
1067
- } else if (strict && format2 === "ddd" && this._shortWeekdaysParse[i].test(weekdayName)) {
1068
- return i;
1069
- } else if (strict && format2 === "dd" && this._minWeekdaysParse[i].test(weekdayName)) {
1070
- return i;
1071
- } else if (!strict && this._weekdaysParse[i].test(weekdayName)) {
1072
- return i;
1073
- }
1074
- }
1075
- }
1076
- function getSetDayOfWeek(input) {
1077
- if (!this.isValid()) {
1078
- return input != null ? this : NaN;
1079
- }
1080
- var day = get$2(this, "Day");
1081
- if (input != null) {
1082
- input = parseWeekday(input, this.localeData());
1083
- return this.add(input - day, "d");
1084
- } else {
1085
- return day;
1086
- }
1087
- }
1088
- function getSetLocaleDayOfWeek(input) {
1089
- if (!this.isValid()) {
1090
- return input != null ? this : NaN;
1091
- }
1092
- var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7;
1093
- return input == null ? weekday : this.add(input - weekday, "d");
1094
- }
1095
- function getSetISODayOfWeek(input) {
1096
- if (!this.isValid()) {
1097
- return input != null ? this : NaN;
1098
- }
1099
- if (input != null) {
1100
- var weekday = parseIsoWeekday(input, this.localeData());
1101
- return this.day(this.day() % 7 ? weekday : weekday - 7);
1102
- } else {
1103
- return this.day() || 7;
1104
- }
1105
- }
1106
- function weekdaysRegex(isStrict) {
1107
- if (this._weekdaysParseExact) {
1108
- if (!hasOwnProp(this, "_weekdaysRegex")) {
1109
- computeWeekdaysParse.call(this);
1110
- }
1111
- if (isStrict) {
1112
- return this._weekdaysStrictRegex;
1113
- } else {
1114
- return this._weekdaysRegex;
1115
- }
1116
- } else {
1117
- if (!hasOwnProp(this, "_weekdaysRegex")) {
1118
- this._weekdaysRegex = defaultWeekdaysRegex;
1119
- }
1120
- return this._weekdaysStrictRegex && isStrict ? this._weekdaysStrictRegex : this._weekdaysRegex;
1121
- }
1122
- }
1123
- function weekdaysShortRegex(isStrict) {
1124
- if (this._weekdaysParseExact) {
1125
- if (!hasOwnProp(this, "_weekdaysRegex")) {
1126
- computeWeekdaysParse.call(this);
1127
- }
1128
- if (isStrict) {
1129
- return this._weekdaysShortStrictRegex;
1130
- } else {
1131
- return this._weekdaysShortRegex;
1132
- }
1133
- } else {
1134
- if (!hasOwnProp(this, "_weekdaysShortRegex")) {
1135
- this._weekdaysShortRegex = defaultWeekdaysShortRegex;
1136
- }
1137
- return this._weekdaysShortStrictRegex && isStrict ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex;
1138
- }
1139
- }
1140
- function weekdaysMinRegex(isStrict) {
1141
- if (this._weekdaysParseExact) {
1142
- if (!hasOwnProp(this, "_weekdaysRegex")) {
1143
- computeWeekdaysParse.call(this);
1144
- }
1145
- if (isStrict) {
1146
- return this._weekdaysMinStrictRegex;
1147
- } else {
1148
- return this._weekdaysMinRegex;
1149
- }
1150
- } else {
1151
- if (!hasOwnProp(this, "_weekdaysMinRegex")) {
1152
- this._weekdaysMinRegex = defaultWeekdaysMinRegex;
1153
- }
1154
- return this._weekdaysMinStrictRegex && isStrict ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex;
1155
- }
1156
- }
1157
- function computeWeekdaysParse() {
1158
- function cmpLenRev(a, b) {
1159
- return b.length - a.length;
1160
- }
1161
- var minPieces = [], shortPieces = [], longPieces = [], mixedPieces = [], i, mom, minp, shortp, longp;
1162
- for (i = 0; i < 7; i++) {
1163
- mom = createUTC([2e3, 1]).day(i);
1164
- minp = regexEscape(this.weekdaysMin(mom, ""));
1165
- shortp = regexEscape(this.weekdaysShort(mom, ""));
1166
- longp = regexEscape(this.weekdays(mom, ""));
1167
- minPieces.push(minp);
1168
- shortPieces.push(shortp);
1169
- longPieces.push(longp);
1170
- mixedPieces.push(minp);
1171
- mixedPieces.push(shortp);
1172
- mixedPieces.push(longp);
1173
- }
1174
- minPieces.sort(cmpLenRev);
1175
- shortPieces.sort(cmpLenRev);
1176
- longPieces.sort(cmpLenRev);
1177
- mixedPieces.sort(cmpLenRev);
1178
- this._weekdaysRegex = new RegExp("^(" + mixedPieces.join("|") + ")", "i");
1179
- this._weekdaysShortRegex = this._weekdaysRegex;
1180
- this._weekdaysMinRegex = this._weekdaysRegex;
1181
- this._weekdaysStrictRegex = new RegExp(
1182
- "^(" + longPieces.join("|") + ")",
1183
- "i"
1184
- );
1185
- this._weekdaysShortStrictRegex = new RegExp(
1186
- "^(" + shortPieces.join("|") + ")",
1187
- "i"
1188
- );
1189
- this._weekdaysMinStrictRegex = new RegExp(
1190
- "^(" + minPieces.join("|") + ")",
1191
- "i"
1192
- );
1193
- }
1194
- function set(config) {
1195
- var prop, i;
1196
- clearMonthsParseCache(this, config);
1197
- clearWeekdaysParseCache(this, config);
1198
- for (i in config) {
1199
- if (hasOwnProp(config, i)) {
1200
- prop = config[i];
1201
- if (isFunction(prop)) {
1202
- this[i] = prop;
1203
- } else {
1204
- this["_" + i] = prop;
1205
- }
1206
- }
1207
- }
1208
- this._config = config;
1209
- this._dayOfMonthOrdinalParseLenient = new RegExp(
1210
- (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source
1211
- );
1212
- }
1213
- function mergeConfigs(parentConfig, childConfig) {
1214
- var res = extend({}, parentConfig), prop;
1215
- for (prop in childConfig) {
1216
- if (hasOwnProp(childConfig, prop)) {
1217
- if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) {
1218
- res[prop] = {};
1219
- extend(res[prop], parentConfig[prop]);
1220
- extend(res[prop], childConfig[prop]);
1221
- } else if (childConfig[prop] != null) {
1222
- res[prop] = childConfig[prop];
1223
- } else {
1224
- delete res[prop];
1225
- }
1226
- }
1227
- }
1228
- for (prop in parentConfig) {
1229
- if (hasOwnProp(parentConfig, prop) && !hasOwnProp(childConfig, prop) && isObject(parentConfig[prop])) {
1230
- res[prop] = extend({}, res[prop]);
1231
- }
1232
- }
1233
- return res;
1234
- }
1235
- function Locale(config) {
1236
- if (config != null) {
1237
- this.set(config);
1238
- }
1239
- }
1240
- var keys;
1241
- if (Object.keys) {
1242
- keys = Object.keys;
1243
- } else {
1244
- keys = function(obj) {
1245
- var i, res = [];
1246
- for (i in obj) {
1247
- if (hasOwnProp(obj, i)) {
1248
- res.push(i);
1249
- }
1250
- }
1251
- return res;
1252
- };
1253
- }
1254
- var defaultCalendar = {
1255
- sameDay: "[Today at] LT",
1256
- nextDay: "[Tomorrow at] LT",
1257
- nextWeek: "dddd [at] LT",
1258
- lastDay: "[Yesterday at] LT",
1259
- lastWeek: "[Last] dddd [at] LT",
1260
- sameElse: "L"
1261
- };
1262
- function calendar$1(key, mom, now2) {
1263
- var output = this._calendar[key] || this._calendar["sameElse"];
1264
- return isFunction(output) ? output.call(mom, now2) : output;
1265
- }
1266
- var defaultLongDateFormat = {
1267
- LTS: "h:mm:ss A",
1268
- LT: "h:mm A",
1269
- L: "MM/DD/YYYY",
1270
- LL: "MMMM D, YYYY",
1271
- LLL: "MMMM D, YYYY h:mm A",
1272
- LLLL: "dddd, MMMM D, YYYY h:mm A"
1273
- };
1274
- function longDateFormat(key) {
1275
- var format2 = this._longDateFormat[key], formatUpper = this._longDateFormat[key.toUpperCase()], formatCache = this._longDateFormatCache;
1276
- if (format2 || !formatUpper) {
1277
- return format2;
1278
- }
1279
- if (formatCache && formatCache[key] && formatCache[key].formatUpper === formatUpper) {
1280
- return formatCache[key].format;
1281
- }
1282
- format2 = formatUpper.match(formattingTokens).map(function(tok) {
1283
- if (tok === "MMMM" || tok === "MM" || tok === "DD" || tok === "dddd") {
1284
- return tok.slice(1);
1285
- }
1286
- return tok;
1287
- }).join("");
1288
- if (!formatCache) {
1289
- formatCache = this._longDateFormatCache = {};
1290
- }
1291
- formatCache[key] = {
1292
- formatUpper,
1293
- format: format2
1294
- };
1295
- return format2;
1296
- }
1297
- var defaultInvalidDate = "Invalid date";
1298
- function invalidDate() {
1299
- return this._invalidDate;
1300
- }
1301
- var defaultOrdinal = "%d", defaultDayOfMonthOrdinalParse = /\d{1,2}/;
1302
- function ordinal(number) {
1303
- return this._ordinal.replace("%d", number);
1304
- }
1305
- var defaultRelativeTime = {
1306
- future: "in %s",
1307
- past: "%s ago",
1308
- s: "a few seconds",
1309
- ss: "%d seconds",
1310
- m: "a minute",
1311
- mm: "%d minutes",
1312
- h: "an hour",
1313
- hh: "%d hours",
1314
- d: "a day",
1315
- dd: "%d days",
1316
- w: "a week",
1317
- ww: "%d weeks",
1318
- M: "a month",
1319
- MM: "%d months",
1320
- y: "a year",
1321
- yy: "%d years"
1322
- };
1323
- function relativeTimeWithoutPostformat(number, withoutSuffix, string, isFuture) {
1324
- var output = this._relativeTime[string];
1325
- return isFunction(output) ? output(number, withoutSuffix, string, isFuture) : output.replace(/%d/i, number);
1326
- }
1327
- function relativeTime$1(number, withoutSuffix, string, isFuture) {
1328
- return this.postformat(
1329
- relativeTimeWithoutPostformat.call(
1330
- this,
1331
- number,
1332
- withoutSuffix,
1333
- string,
1334
- isFuture
1335
- )
1336
- );
1337
- }
1338
- function pastFutureWithoutPostformat(diff2, output) {
1339
- var format2 = this._relativeTime[diff2 > 0 ? "future" : "past"];
1340
- return isFunction(format2) ? format2(output) : format2.replace(/%s/i, output);
1341
- }
1342
- function pastFuture(diff2, output) {
1343
- return this.postformat(
1344
- pastFutureWithoutPostformat.call(this, diff2, output)
1345
- );
1346
- }
1347
- function createDate(y, m, d, h, M, s, ms) {
1348
- var date;
1349
- if (y < 100 && y >= 0) {
1350
- date = new Date(y + 400, m, d, h, M, s, ms);
1351
- if (isFinite(date.getFullYear())) {
1352
- date.setFullYear(y);
1162
+ return i;
1163
+ } else if (strict && format2 === "ddd" && this._shortWeekdaysParse[i].test(weekdayName)) {
1164
+ return i;
1165
+ } else if (strict && format2 === "dd" && this._minWeekdaysParse[i].test(weekdayName)) {
1166
+ return i;
1167
+ } else if (!strict && this._weekdaysParse[i].test(weekdayName)) {
1168
+ return i;
1353
1169
  }
1354
- } else {
1355
- date = new Date(y, m, d, h, M, s, ms);
1356
1170
  }
1357
- return date;
1358
1171
  }
1359
- function createUTCDate(y) {
1360
- var date, args;
1361
- if (y < 100 && y >= 0) {
1362
- args = Array.prototype.slice.call(arguments);
1363
- args[0] = y + 400;
1364
- date = new Date(Date.UTC.apply(null, args));
1365
- if (isFinite(date.getUTCFullYear())) {
1366
- date.setUTCFullYear(y);
1367
- }
1172
+ function getSetDayOfWeek(input) {
1173
+ if (!this.isValid()) {
1174
+ return input != null ? this : NaN;
1175
+ }
1176
+ var day = this._isUTC ? this._d.getUTCDay() : this._d.getDay();
1177
+ if (input != null) {
1178
+ input = parseWeekday(input, this.localeData());
1179
+ return this.add(input - day, "d");
1368
1180
  } else {
1369
- date = new Date(Date.UTC.apply(null, arguments));
1181
+ return day;
1370
1182
  }
1371
- return date;
1372
1183
  }
1373
- function firstWeekOffset(year, dow, doy) {
1374
- var fwd = 7 + dow - doy, fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7;
1375
- return -fwdlw + fwd - 1;
1184
+ function getSetLocaleDayOfWeek(input) {
1185
+ if (!this.isValid()) {
1186
+ return input != null ? this : NaN;
1187
+ }
1188
+ var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7;
1189
+ return input == null ? weekday : this.add(input - weekday, "d");
1376
1190
  }
1377
- function dayOfYearFromWeeks(year, week, weekday, dow, doy) {
1378
- var localWeekday = (7 + weekday - dow) % 7, weekOffset = firstWeekOffset(year, dow, doy), dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset, resYear, resDayOfYear;
1379
- if (dayOfYear <= 0) {
1380
- resYear = year - 1;
1381
- resDayOfYear = daysInYear(resYear) + dayOfYear;
1382
- } else if (dayOfYear > daysInYear(year)) {
1383
- resYear = year + 1;
1384
- resDayOfYear = dayOfYear - daysInYear(year);
1191
+ function getSetISODayOfWeek(input) {
1192
+ if (!this.isValid()) {
1193
+ return input != null ? this : NaN;
1194
+ }
1195
+ if (input != null) {
1196
+ var weekday = parseIsoWeekday(input, this.localeData());
1197
+ return this.day(this.day() % 7 ? weekday : weekday - 7);
1385
1198
  } else {
1386
- resYear = year;
1387
- resDayOfYear = dayOfYear;
1199
+ return this.day() || 7;
1388
1200
  }
1389
- return {
1390
- year: resYear,
1391
- dayOfYear: resDayOfYear
1392
- };
1393
1201
  }
1394
- function weekOfYearFromDayOfYear(year, dayOfYear, dow, doy) {
1395
- var weekOffset = firstWeekOffset(year, dow, doy), week = Math.floor((dayOfYear - weekOffset - 1) / 7) + 1, resWeek, resYear;
1396
- if (week < 1) {
1397
- resYear = year - 1;
1398
- resWeek = week + weeksInYear(resYear, dow, doy);
1399
- } else if (week > weeksInYear(year, dow, doy)) {
1400
- resWeek = week - weeksInYear(year, dow, doy);
1401
- resYear = year + 1;
1202
+ function weekdaysRegex(isStrict) {
1203
+ if (this._weekdaysParseExact) {
1204
+ if (!hasOwnProp(this, "_weekdaysRegex")) {
1205
+ computeWeekdaysParse.call(this);
1206
+ }
1207
+ if (isStrict) {
1208
+ return this._weekdaysStrictRegex;
1209
+ } else {
1210
+ return this._weekdaysRegex;
1211
+ }
1402
1212
  } else {
1403
- resYear = year;
1404
- resWeek = week;
1213
+ if (!hasOwnProp(this, "_weekdaysRegex")) {
1214
+ this._weekdaysRegex = defaultWeekdaysRegex;
1215
+ }
1216
+ return this._weekdaysStrictRegex && isStrict ? this._weekdaysStrictRegex : this._weekdaysRegex;
1405
1217
  }
1406
- return {
1407
- week: resWeek,
1408
- year: resYear
1409
- };
1410
- }
1411
- function weekOfYear(mom, dow, doy) {
1412
- return weekOfYearFromDayOfYear(mom.year(), mom.dayOfYear(), dow, doy);
1413
- }
1414
- function weekOfYearFromDate(year, month, date, dow, doy) {
1415
- var dayOfYear = Math.round(
1416
- (createUTCDate(year, month, date) - createUTCDate(year, 0, 1)) / 864e5
1417
- ) + 1;
1418
- return weekOfYearFromDayOfYear(year, dayOfYear, dow, doy);
1419
- }
1420
- function weeksInYear(year, dow, doy) {
1421
- var weekOffset = firstWeekOffset(year, dow, doy), weekOffsetNext = firstWeekOffset(year + 1, dow, doy);
1422
- return (daysInYear(year) - weekOffset + weekOffsetNext) / 7;
1423
1218
  }
1424
- addFormatToken("w", ["ww", 2], "wo", "week");
1425
- addFormatToken("W", ["WW", 2], "Wo", "isoWeek");
1426
- addRegexToken("w", match1to2, match1to2NoLeadingZero);
1427
- addRegexToken("ww", match1to2, match2);
1428
- addRegexToken("W", match1to2, match1to2NoLeadingZero);
1429
- addRegexToken("WW", match1to2, match2);
1430
- addWeekParseToken(
1431
- ["w", "ww", "W", "WW"],
1432
- function(input, week, config, token2) {
1433
- week[token2.substr(0, 1)] = toInt(input);
1219
+ function weekdaysShortRegex(isStrict) {
1220
+ if (this._weekdaysParseExact) {
1221
+ if (!hasOwnProp(this, "_weekdaysRegex")) {
1222
+ computeWeekdaysParse.call(this);
1223
+ }
1224
+ if (isStrict) {
1225
+ return this._weekdaysShortStrictRegex;
1226
+ } else {
1227
+ return this._weekdaysShortRegex;
1228
+ }
1229
+ } else {
1230
+ if (!hasOwnProp(this, "_weekdaysShortRegex")) {
1231
+ this._weekdaysShortRegex = defaultWeekdaysShortRegex;
1232
+ }
1233
+ return this._weekdaysShortStrictRegex && isStrict ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex;
1434
1234
  }
1435
- );
1436
- function localeWeek(mom) {
1437
- return weekOfYear(mom, this._week.dow, this._week.doy).week;
1438
- }
1439
- var defaultLocaleWeek = {
1440
- dow: 0,
1441
- // Sunday is the first day of the week.
1442
- doy: 6
1443
- // The week that contains Jan 6th is the first week of the year.
1444
- };
1445
- function localeFirstDayOfWeek() {
1446
- return this._week.dow;
1447
1235
  }
1448
- function localeFirstDayOfYear() {
1449
- return this._week.doy;
1450
- }
1451
- function getSetWeek(input) {
1452
- var week = this.localeData().week(this);
1453
- return input == null ? week : this.add((input - week) * 7, "d");
1236
+ function weekdaysMinRegex(isStrict) {
1237
+ if (this._weekdaysParseExact) {
1238
+ if (!hasOwnProp(this, "_weekdaysRegex")) {
1239
+ computeWeekdaysParse.call(this);
1240
+ }
1241
+ if (isStrict) {
1242
+ return this._weekdaysMinStrictRegex;
1243
+ } else {
1244
+ return this._weekdaysMinRegex;
1245
+ }
1246
+ } else {
1247
+ if (!hasOwnProp(this, "_weekdaysMinRegex")) {
1248
+ this._weekdaysMinRegex = defaultWeekdaysMinRegex;
1249
+ }
1250
+ return this._weekdaysMinStrictRegex && isStrict ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex;
1251
+ }
1454
1252
  }
1455
- function getSetISOWeek(input) {
1456
- var week = weekOfYear(this, 1, 4).week;
1457
- return input == null ? week : this.add((input - week) * 7, "d");
1253
+ function computeWeekdaysParse() {
1254
+ function cmpLenRev(a, b) {
1255
+ return b.length - a.length;
1256
+ }
1257
+ var minPieces = [], shortPieces = [], longPieces = [], mixedPieces = [], i, mom, minp, shortp, longp;
1258
+ for (i = 0; i < 7; i++) {
1259
+ mom = createUTC([2e3, 1]).day(i);
1260
+ minp = regexEscape(this.weekdaysMin(mom, ""));
1261
+ shortp = regexEscape(this.weekdaysShort(mom, ""));
1262
+ longp = regexEscape(this.weekdays(mom, ""));
1263
+ minPieces.push(minp);
1264
+ shortPieces.push(shortp);
1265
+ longPieces.push(longp);
1266
+ mixedPieces.push(minp);
1267
+ mixedPieces.push(shortp);
1268
+ mixedPieces.push(longp);
1269
+ }
1270
+ minPieces.sort(cmpLenRev);
1271
+ shortPieces.sort(cmpLenRev);
1272
+ longPieces.sort(cmpLenRev);
1273
+ mixedPieces.sort(cmpLenRev);
1274
+ this._weekdaysRegex = new RegExp("^(" + mixedPieces.join("|") + ")", "i");
1275
+ this._weekdaysShortRegex = this._weekdaysRegex;
1276
+ this._weekdaysMinRegex = this._weekdaysRegex;
1277
+ this._weekdaysStrictRegex = new RegExp(
1278
+ "^(" + longPieces.join("|") + ")",
1279
+ "i"
1280
+ );
1281
+ this._weekdaysShortStrictRegex = new RegExp(
1282
+ "^(" + shortPieces.join("|") + ")",
1283
+ "i"
1284
+ );
1285
+ this._weekdaysMinStrictRegex = new RegExp(
1286
+ "^(" + minPieces.join("|") + ")",
1287
+ "i"
1288
+ );
1458
1289
  }
1459
1290
  function hFormat() {
1460
1291
  return this.hours() % 12 || 12;
@@ -1488,14 +1319,16 @@ function meridiem(token2, lowercase) {
1488
1319
  }
1489
1320
  meridiem("a", true);
1490
1321
  meridiem("A", false);
1322
+ addUnitAlias("hour", "h");
1323
+ addUnitPriority("hour", 13);
1491
1324
  function matchMeridiem(isStrict, locale2) {
1492
1325
  return locale2._meridiemParse;
1493
1326
  }
1494
1327
  addRegexToken("a", matchMeridiem);
1495
1328
  addRegexToken("A", matchMeridiem);
1496
- addRegexToken("H", match1to2, match1to2HasZero);
1497
- addRegexToken("h", match1to2, match1to2NoLeadingZero);
1498
- addRegexToken("k", match1to2, match1to2NoLeadingZero);
1329
+ addRegexToken("H", match1to2);
1330
+ addRegexToken("h", match1to2);
1331
+ addRegexToken("k", match1to2);
1499
1332
  addRegexToken("HH", match1to2, match2);
1500
1333
  addRegexToken("hh", match1to2, match2);
1501
1334
  addRegexToken("kk", match1to2, match2);
@@ -1601,30 +1434,21 @@ function chooseLocale(names) {
1601
1434
  return globalLocale;
1602
1435
  }
1603
1436
  function isLocaleNameSane(name) {
1604
- return typeof name === "string" && /^[a-z0-9]+(?:-[a-z0-9]+)*$/.test(name);
1437
+ return name.match("^[^/\\\\]*$") != null;
1605
1438
  }
1606
1439
  function loadLocale(name) {
1607
- var oldLocale = null, aliasedRequire, normalizedName;
1608
- if (hasOwnProp(locales, name)) {
1609
- return locales[name];
1610
- }
1611
- normalizedName = normalizeLocale(name);
1612
- if (hasOwnProp(locales, normalizedName)) {
1613
- return locales[normalizedName];
1614
- }
1615
- if (typeof module !== "undefined" && module && module.exports && isLocaleNameSane(normalizedName)) {
1440
+ var oldLocale = null, aliasedRequire;
1441
+ if (locales[name] === void 0 && typeof module !== "undefined" && module && module.exports && isLocaleNameSane(name)) {
1616
1442
  try {
1617
1443
  oldLocale = globalLocale._abbr;
1618
1444
  aliasedRequire = require;
1619
- aliasedRequire("./locale/" + normalizedName);
1445
+ aliasedRequire("./locale/" + name);
1620
1446
  getSetGlobalLocale(oldLocale);
1621
1447
  } catch (e) {
1622
- locales[normalizedName] = null;
1448
+ locales[name] = null;
1623
1449
  }
1624
1450
  }
1625
- if (hasOwnProp(locales, normalizedName)) {
1626
- return locales[normalizedName];
1627
- }
1451
+ return locales[name];
1628
1452
  }
1629
1453
  function getSetGlobalLocale(key, values) {
1630
1454
  var data;
@@ -1689,14 +1513,12 @@ function defineLocale(name, config) {
1689
1513
  }
1690
1514
  }
1691
1515
  function updateLocale(name, config) {
1692
- var locale2, tmpLocale = loadLocale(name), parentConfig = baseConfig;
1693
- if (tmpLocale != null) {
1694
- name = tmpLocale._abbr;
1695
- }
1696
1516
  if (config != null) {
1517
+ var locale2, tmpLocale, parentConfig = baseConfig;
1697
1518
  if (locales[name] != null && locales[name].parentLocale != null) {
1698
1519
  locales[name].set(mergeConfigs(locales[name]._config, config));
1699
1520
  } else {
1521
+ tmpLocale = loadLocale(name);
1700
1522
  if (tmpLocale != null) {
1701
1523
  parentConfig = tmpLocale._config;
1702
1524
  }
@@ -1953,38 +1775,8 @@ function defaults(a, b, c) {
1953
1775
  }
1954
1776
  return c;
1955
1777
  }
1956
- function currentDateArray(config, now2, forWeek) {
1957
- var hadWeekContext = Object.prototype.hasOwnProperty.call(
1958
- config,
1959
- "_isDefaultDatePartsForWeek"
1960
- ), weekContext = config._isDefaultDatePartsForWeek;
1961
- config._isDefaultDatePartsForWeek = !!forWeek;
1962
- try {
1963
- return hooks._getDefaultDateParts(config, now2, forWeek);
1964
- } finally {
1965
- if (hadWeekContext) {
1966
- config._isDefaultDatePartsForWeek = weekContext;
1967
- } else {
1968
- delete config._isDefaultDatePartsForWeek;
1969
- }
1970
- }
1971
- }
1972
- function currentDateNow(config) {
1973
- var now2 = config._defaultDatePartsNow;
1974
- if (!now2) {
1975
- return hooks.now();
1976
- }
1977
- if (!now2.hasValue) {
1978
- now2.value = hooks.now();
1979
- now2.hasValue = true;
1980
- }
1981
- return now2.value;
1982
- }
1983
- function getDefaultDateParts(config, now2, forWeek) {
1984
- var useWeekDefaults = forWeek || config._isDefaultDatePartsForWeek, nowValue = useWeekDefaults ? createLocal(now2) : new Date(now2);
1985
- if (useWeekDefaults) {
1986
- return [nowValue.year(), nowValue.month(), nowValue.date()];
1987
- }
1778
+ function currentDateArray(config) {
1779
+ var nowValue = new Date(hooks.now());
1988
1780
  if (config._useUTC) {
1989
1781
  return [
1990
1782
  nowValue.getUTCFullYear(),
@@ -1994,21 +1786,17 @@ function getDefaultDateParts(config, now2, forWeek) {
1994
1786
  }
1995
1787
  return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()];
1996
1788
  }
1997
- hooks._getDefaultDateParts = getDefaultDateParts;
1998
1789
  function configFromArray(config) {
1999
- var i, date, input = [], now2, currentDate, expectedWeekday, yearToUse, dateIsDefaulted;
1790
+ var i, date, input = [], currentDate, expectedWeekday, yearToUse;
2000
1791
  if (config._d) {
2001
1792
  return;
2002
1793
  }
2003
- if (config._a[YEAR] == null || config._a[MONTH] == null || config._a[DATE] == null) {
2004
- now2 = currentDateNow(config);
2005
- currentDate = currentDateArray(config, now2);
2006
- }
1794
+ currentDate = currentDateArray(config);
2007
1795
  if (config._w && config._a[DATE] == null && config._a[MONTH] == null) {
2008
- dayOfYearFromWeekInfo(config, currentDateArray(config, now2, true));
1796
+ dayOfYearFromWeekInfo(config);
2009
1797
  }
2010
1798
  if (config._dayOfYear != null) {
2011
- yearToUse = config._a[YEAR] != null ? config._a[YEAR] : currentDate[YEAR];
1799
+ yearToUse = defaults(config._a[YEAR], currentDate[YEAR]);
2012
1800
  if (config._dayOfYear > daysInYear(yearToUse) || config._dayOfYear === 0) {
2013
1801
  getParsingFlags(config)._overflowDayOfYear = true;
2014
1802
  }
@@ -2016,7 +1804,6 @@ function configFromArray(config) {
2016
1804
  config._a[MONTH] = date.getUTCMonth();
2017
1805
  config._a[DATE] = date.getUTCDate();
2018
1806
  }
2019
- dateIsDefaulted = config._a[YEAR] == null || config._a[MONTH] == null || config._a[DATE] == null;
2020
1807
  for (i = 0; i < 3 && config._a[i] == null; ++i) {
2021
1808
  config._a[i] = input[i] = currentDate[i];
2022
1809
  }
@@ -2038,11 +1825,11 @@ function configFromArray(config) {
2038
1825
  if (config._nextDay) {
2039
1826
  config._a[HOUR] = 24;
2040
1827
  }
2041
- if (config._w && typeof config._w.d !== "undefined" && !dateIsDefaulted && config._w.d !== expectedWeekday) {
1828
+ if (config._w && typeof config._w.d !== "undefined" && config._w.d !== expectedWeekday) {
2042
1829
  getParsingFlags(config).weekdayMismatch = true;
2043
1830
  }
2044
1831
  }
2045
- function dayOfYearFromWeekInfo(config, currentDate) {
1832
+ function dayOfYearFromWeekInfo(config) {
2046
1833
  var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow, curWeek;
2047
1834
  w = config._w;
2048
1835
  if (w.GG != null || w.W != null || w.E != null) {
@@ -2051,13 +1838,7 @@ function dayOfYearFromWeekInfo(config, currentDate) {
2051
1838
  weekYear = defaults(
2052
1839
  w.GG,
2053
1840
  config._a[YEAR],
2054
- weekOfYearFromDate(
2055
- currentDate[YEAR],
2056
- currentDate[MONTH],
2057
- currentDate[DATE],
2058
- 1,
2059
- 4
2060
- ).year
1841
+ weekOfYear(createLocal(), 1, 4).year
2061
1842
  );
2062
1843
  week = defaults(w.W, 1);
2063
1844
  weekday = defaults(w.E, 1);
@@ -2067,13 +1848,7 @@ function dayOfYearFromWeekInfo(config, currentDate) {
2067
1848
  } else {
2068
1849
  dow = config._locale._week.dow;
2069
1850
  doy = config._locale._week.doy;
2070
- curWeek = weekOfYearFromDate(
2071
- currentDate[YEAR],
2072
- currentDate[MONTH],
2073
- currentDate[DATE],
2074
- dow,
2075
- doy
2076
- );
1851
+ curWeek = weekOfYear(createLocal(), dow, doy);
2077
1852
  weekYear = defaults(w.gg, config._a[YEAR], curWeek.year);
2078
1853
  week = defaults(w.w, curWeek.week);
2079
1854
  if (w.d != null) {
@@ -2184,7 +1959,7 @@ function meridiemFixWrap(locale2, hour, meridiem2) {
2184
1959
  }
2185
1960
  }
2186
1961
  function configFromStringAndArray(config) {
2187
- var tempConfig, bestMoment, scoreToBeat, i, currentScore, validFormatFound, bestFormatIsValid = false, defaultDatePartsNow = {}, configfLen = config._f.length;
1962
+ var tempConfig, bestMoment, scoreToBeat, i, currentScore, validFormatFound, bestFormatIsValid = false, configfLen = config._f.length;
2188
1963
  if (configfLen === 0) {
2189
1964
  getParsingFlags(config).invalidFormat = true;
2190
1965
  config._d = /* @__PURE__ */ new Date(NaN);
@@ -2197,10 +1972,9 @@ function configFromStringAndArray(config) {
2197
1972
  if (config._useUTC != null) {
2198
1973
  tempConfig._useUTC = config._useUTC;
2199
1974
  }
2200
- tempConfig._defaultDatePartsNow = defaultDatePartsNow;
2201
1975
  tempConfig._f = config._f[i];
2202
1976
  configFromStringAndFormat(tempConfig);
2203
- if (isValid$2(tempConfig)) {
1977
+ if (isValid(tempConfig)) {
2204
1978
  validFormatFound = true;
2205
1979
  }
2206
1980
  currentScore += getParsingFlags(tempConfig).charsLeftOver;
@@ -2248,7 +2022,7 @@ function prepareConfig(config) {
2248
2022
  var input = config._i, format2 = config._f;
2249
2023
  config._locale = config._locale || getLocale(config._l);
2250
2024
  if (input === null || format2 === void 0 && input === "") {
2251
- return createInvalid$1({ nullInput: true });
2025
+ return createInvalid({ nullInput: true });
2252
2026
  }
2253
2027
  if (typeof input === "string") {
2254
2028
  config._i = input = config._locale.preparse(input);
@@ -2264,7 +2038,7 @@ function prepareConfig(config) {
2264
2038
  } else {
2265
2039
  configFromInput(config);
2266
2040
  }
2267
- if (!isValid$2(config)) {
2041
+ if (!isValid(config)) {
2268
2042
  config._d = null;
2269
2043
  }
2270
2044
  return config;
@@ -2321,7 +2095,7 @@ var prototypeMin = deprecate(
2321
2095
  if (this.isValid() && other.isValid()) {
2322
2096
  return other < this ? this : other;
2323
2097
  } else {
2324
- return createInvalid$1();
2098
+ return createInvalid();
2325
2099
  }
2326
2100
  }
2327
2101
  ), prototypeMax = deprecate(
@@ -2331,7 +2105,7 @@ var prototypeMin = deprecate(
2331
2105
  if (this.isValid() && other.isValid()) {
2332
2106
  return other > this ? this : other;
2333
2107
  } else {
2334
- return createInvalid$1();
2108
+ return createInvalid();
2335
2109
  }
2336
2110
  }
2337
2111
  );
@@ -2343,17 +2117,9 @@ function pickBy(fn, moments) {
2343
2117
  if (!moments.length) {
2344
2118
  return createLocal();
2345
2119
  }
2346
- for (i = 0; i < moments.length; ++i) {
2347
- if (isMoment(moments[i])) {
2348
- res = moments[i];
2349
- break;
2350
- }
2351
- }
2352
- if (!res) {
2353
- return createInvalid$1();
2354
- }
2355
- for (++i; i < moments.length; ++i) {
2356
- if (isMoment(moments[i]) && (!moments[i].isValid() || moments[i][fn](res))) {
2120
+ res = moments[0];
2121
+ for (i = 1; i < moments.length; ++i) {
2122
+ if (!moments[i].isValid() || moments[i][fn](res)) {
2357
2123
  res = moments[i];
2358
2124
  }
2359
2125
  }
@@ -2403,7 +2169,7 @@ function isDurationValid(m) {
2403
2169
  function isValid$1() {
2404
2170
  return this._isValid;
2405
2171
  }
2406
- function createInvalid() {
2172
+ function createInvalid$1() {
2407
2173
  return createDuration(NaN);
2408
2174
  }
2409
2175
  function Duration(duration) {
@@ -2452,12 +2218,8 @@ offset("ZZ", "");
2452
2218
  addRegexToken("Z", matchShortOffset);
2453
2219
  addRegexToken("ZZ", matchShortOffset);
2454
2220
  addParseToken(["Z", "ZZ"], function(input, array, config) {
2455
- var offset2 = offsetFromString(matchShortOffset, input);
2456
2221
  config._useUTC = true;
2457
- config._tzm = offset2;
2458
- if (offset2 === null) {
2459
- getParsingFlags(config).invalidOffset = input;
2460
- }
2222
+ config._tzm = offsetFromString(matchShortOffset, input);
2461
2223
  });
2462
2224
  var chunkOffset = /([\+\-]|\d\d)/gi;
2463
2225
  function offsetFromString(matcher, string) {
@@ -2468,9 +2230,6 @@ function offsetFromString(matcher, string) {
2468
2230
  chunk = matches[matches.length - 1] || [];
2469
2231
  parts = (chunk + "").match(chunkOffset) || ["-", 0, 0];
2470
2232
  minutes2 = +(parts[1] * 60) + toInt(parts[2]);
2471
- if (toInt(parts[2]) > 59 || (parts[0] === "+" ? minutes2 > 14 * 60 : minutes2 > 12 * 60)) {
2472
- return null;
2473
- }
2474
2233
  return minutes2 === 0 ? 0 : parts[0] === "+" ? minutes2 : -minutes2;
2475
2234
  }
2476
2235
  function cloneWithOffset(input, model) {
@@ -2514,7 +2273,7 @@ function getSetOffset(input, keepLocalTime, keepMinutes) {
2514
2273
  }
2515
2274
  if (offset2 !== input) {
2516
2275
  if (!keepLocalTime || this._changeInProgress) {
2517
- addSubtract$1(
2276
+ addSubtract(
2518
2277
  this,
2519
2278
  createDuration(input - offset2, "m"),
2520
2279
  1,
@@ -2661,7 +2420,7 @@ function createDuration(input, key) {
2661
2420
  return ret;
2662
2421
  }
2663
2422
  createDuration.fn = Duration.prototype;
2664
- createDuration.invalid = createInvalid;
2423
+ createDuration.invalid = createInvalid$1;
2665
2424
  function parseIso(inp, sign2) {
2666
2425
  var res = inp && parseFloat(inp.replace(",", "."));
2667
2426
  return (isNaN(res) ? 0 : res) * sign2;
@@ -2703,21 +2462,21 @@ function createAdder(direction, name) {
2703
2462
  period = tmp;
2704
2463
  }
2705
2464
  dur = createDuration(val, period);
2706
- addSubtract$1(this, dur, direction);
2465
+ addSubtract(this, dur, direction);
2707
2466
  return this;
2708
2467
  };
2709
2468
  }
2710
- function addSubtract$1(mom, duration, isAdding, updateOffset) {
2469
+ function addSubtract(mom, duration, isAdding, updateOffset) {
2711
2470
  var milliseconds2 = duration._milliseconds, days2 = absRound(duration._days), months2 = absRound(duration._months);
2712
2471
  if (!mom.isValid()) {
2713
2472
  return;
2714
2473
  }
2715
2474
  updateOffset = updateOffset == null ? true : updateOffset;
2716
2475
  if (months2) {
2717
- setMonth(mom, get$2(mom, "Month") + months2 * isAdding);
2476
+ setMonth(mom, get(mom, "Month") + months2 * isAdding);
2718
2477
  }
2719
2478
  if (days2) {
2720
- set$1(mom, "Date", get$2(mom, "Date") + days2 * isAdding);
2479
+ set$1(mom, "Date", get(mom, "Date") + days2 * isAdding);
2721
2480
  }
2722
2481
  if (milliseconds2) {
2723
2482
  mom._d.setTime(mom._d.valueOf() + milliseconds2 * isAdding);
@@ -2726,7 +2485,7 @@ function addSubtract$1(mom, duration, isAdding, updateOffset) {
2726
2485
  hooks.updateOffset(mom, days2 || months2);
2727
2486
  }
2728
2487
  }
2729
- var add$1 = createAdder(1, "add"), subtract$1 = createAdder(-1, "subtract");
2488
+ var add = createAdder(1, "add"), subtract = createAdder(-1, "subtract");
2730
2489
  function isString(input) {
2731
2490
  return typeof input === "string" || input instanceof String;
2732
2491
  }
@@ -2794,7 +2553,7 @@ function getCalendarFormat(myMoment, now2) {
2794
2553
  var diff2 = myMoment.diff(now2, "days", true);
2795
2554
  return diff2 < -6 ? "sameElse" : diff2 < -1 ? "lastWeek" : diff2 < 0 ? "lastDay" : diff2 < 1 ? "sameDay" : diff2 < 2 ? "nextDay" : diff2 < 7 ? "nextWeek" : "sameElse";
2796
2555
  }
2797
- function calendar(time, formats) {
2556
+ function calendar$1(time, formats) {
2798
2557
  if (arguments.length === 1) {
2799
2558
  if (!arguments[0]) {
2800
2559
  time = void 0;
@@ -2812,7 +2571,7 @@ function calendar(time, formats) {
2812
2571
  output || this.localeData().calendar(format2, this, createLocal(now2))
2813
2572
  );
2814
2573
  }
2815
- function clone$1() {
2574
+ function clone() {
2816
2575
  return new Moment(this);
2817
2576
  }
2818
2577
  function isAfter(input, units) {
@@ -2926,7 +2685,7 @@ hooks.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
2926
2685
  function toString() {
2927
2686
  return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ");
2928
2687
  }
2929
- function toISOString$1(keepOffset) {
2688
+ function toISOString(keepOffset) {
2930
2689
  if (!this.isValid()) {
2931
2690
  return null;
2932
2691
  }
@@ -3017,7 +2776,7 @@ function localeData() {
3017
2776
  return this._locale;
3018
2777
  }
3019
2778
  var MS_PER_SECOND = 1e3, MS_PER_MINUTE = 60 * MS_PER_SECOND, MS_PER_HOUR = 60 * MS_PER_MINUTE, MS_PER_400_YEARS = (365 * 400 + 97) * 24 * MS_PER_HOUR;
3020
- function mod(dividend, divisor) {
2779
+ function mod$1(dividend, divisor) {
3021
2780
  return (dividend % divisor + divisor) % divisor;
3022
2781
  }
3023
2782
  function localStartOfDate(y, m, d) {
@@ -3075,18 +2834,18 @@ function startOf(units) {
3075
2834
  break;
3076
2835
  case "hour":
3077
2836
  time = this._d.valueOf();
3078
- time -= mod(
2837
+ time -= mod$1(
3079
2838
  time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),
3080
2839
  MS_PER_HOUR
3081
2840
  );
3082
2841
  break;
3083
2842
  case "minute":
3084
2843
  time = this._d.valueOf();
3085
- time -= mod(time, MS_PER_MINUTE);
2844
+ time -= mod$1(time, MS_PER_MINUTE);
3086
2845
  break;
3087
2846
  case "second":
3088
2847
  time = this._d.valueOf();
3089
- time -= mod(time, MS_PER_SECOND);
2848
+ time -= mod$1(time, MS_PER_SECOND);
3090
2849
  break;
3091
2850
  }
3092
2851
  this._d.setTime(time);
@@ -3134,25 +2893,25 @@ function endOf(units) {
3134
2893
  break;
3135
2894
  case "hour":
3136
2895
  time = this._d.valueOf();
3137
- time += MS_PER_HOUR - mod(
2896
+ time += MS_PER_HOUR - mod$1(
3138
2897
  time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),
3139
2898
  MS_PER_HOUR
3140
2899
  ) - 1;
3141
2900
  break;
3142
2901
  case "minute":
3143
2902
  time = this._d.valueOf();
3144
- time += MS_PER_MINUTE - mod(time, MS_PER_MINUTE) - 1;
2903
+ time += MS_PER_MINUTE - mod$1(time, MS_PER_MINUTE) - 1;
3145
2904
  break;
3146
2905
  case "second":
3147
2906
  time = this._d.valueOf();
3148
- time += MS_PER_SECOND - mod(time, MS_PER_SECOND) - 1;
2907
+ time += MS_PER_SECOND - mod$1(time, MS_PER_SECOND) - 1;
3149
2908
  break;
3150
2909
  }
3151
2910
  this._d.setTime(time);
3152
2911
  hooks.updateOffset(this, true);
3153
2912
  return this;
3154
2913
  }
3155
- function valueOf$1() {
2914
+ function valueOf() {
3156
2915
  return this._d.valueOf() - (this._offset || 0) * 6e4;
3157
2916
  }
3158
2917
  function unix() {
@@ -3188,8 +2947,8 @@ function toObject() {
3188
2947
  function toJSON() {
3189
2948
  return this.isValid() ? this.toISOString() : null;
3190
2949
  }
3191
- function isValid() {
3192
- return isValid$2(this);
2950
+ function isValid$2() {
2951
+ return isValid(this);
3193
2952
  }
3194
2953
  function parsingFlags() {
3195
2954
  return extend({}, getParsingFlags(this));
@@ -3390,17 +3149,14 @@ function matchEraYearOrdinal(isStrict, locale2) {
3390
3149
  return locale2._eraYearOrdinalRegex || matchUnsigned;
3391
3150
  }
3392
3151
  function computeErasParse() {
3393
- var abbrPieces = [], namePieces = [], narrowPieces = [], mixedPieces = [], i, l, erasName, erasAbbr, erasNarrow, eras = this.eras();
3152
+ var abbrPieces = [], namePieces = [], narrowPieces = [], mixedPieces = [], i, l, eras = this.eras();
3394
3153
  for (i = 0, l = eras.length; i < l; ++i) {
3395
- erasName = regexEscape(eras[i].name);
3396
- erasAbbr = regexEscape(eras[i].abbr);
3397
- erasNarrow = regexEscape(eras[i].narrow);
3398
- namePieces.push(erasName);
3399
- abbrPieces.push(erasAbbr);
3400
- narrowPieces.push(erasNarrow);
3401
- mixedPieces.push(erasName);
3402
- mixedPieces.push(erasAbbr);
3403
- mixedPieces.push(erasNarrow);
3154
+ namePieces.push(regexEscape(eras[i].name));
3155
+ abbrPieces.push(regexEscape(eras[i].abbr));
3156
+ narrowPieces.push(regexEscape(eras[i].narrow));
3157
+ mixedPieces.push(regexEscape(eras[i].name));
3158
+ mixedPieces.push(regexEscape(eras[i].abbr));
3159
+ mixedPieces.push(regexEscape(eras[i].narrow));
3404
3160
  }
3405
3161
  this._erasRegex = new RegExp("^(" + mixedPieces.join("|") + ")", "i");
3406
3162
  this._erasNameRegex = new RegExp("^(" + namePieces.join("|") + ")", "i");
@@ -3423,6 +3179,10 @@ addWeekYearFormatToken("gggg", "weekYear");
3423
3179
  addWeekYearFormatToken("ggggg", "weekYear");
3424
3180
  addWeekYearFormatToken("GGGG", "isoWeekYear");
3425
3181
  addWeekYearFormatToken("GGGGG", "isoWeekYear");
3182
+ addUnitAlias("weekYear", "gg");
3183
+ addUnitAlias("isoWeekYear", "GG");
3184
+ addUnitPriority("weekYear", 1);
3185
+ addUnitPriority("isoWeekYear", 1);
3426
3186
  addRegexToken("G", matchSigned);
3427
3187
  addRegexToken("g", matchSigned);
3428
3188
  addRegexToken("GG", match1to2, match2);
@@ -3445,7 +3205,7 @@ function getSetWeekYear(input) {
3445
3205
  this,
3446
3206
  input,
3447
3207
  this.week(),
3448
- this.weekday() + this.localeData()._week.dow,
3208
+ this.weekday(),
3449
3209
  this.localeData()._week.dow,
3450
3210
  this.localeData()._week.doy
3451
3211
  );
@@ -3494,6 +3254,8 @@ function setWeekAll(weekYear, week, weekday, dow, doy) {
3494
3254
  return this;
3495
3255
  }
3496
3256
  addFormatToken("Q", 0, "Qo", "quarter");
3257
+ addUnitAlias("quarter", "Q");
3258
+ addUnitPriority("quarter", 7);
3497
3259
  addRegexToken("Q", match1);
3498
3260
  addParseToken("Q", function(input, array) {
3499
3261
  array[MONTH] = (toInt(input) - 1) * 3;
@@ -3502,7 +3264,9 @@ function getSetQuarter(input) {
3502
3264
  return input == null ? Math.ceil((this.month() + 1) / 3) : this.month((input - 1) * 3 + this.month() % 3);
3503
3265
  }
3504
3266
  addFormatToken("D", ["DD", 2], "Do", "date");
3505
- addRegexToken("D", match1to2, match1to2NoLeadingZero);
3267
+ addUnitAlias("date", "D");
3268
+ addUnitPriority("date", 9);
3269
+ addRegexToken("D", match1to2);
3506
3270
  addRegexToken("DD", match1to2, match2);
3507
3271
  addRegexToken("Do", function(isStrict, locale2) {
3508
3272
  return isStrict ? locale2._dayOfMonthOrdinalParse || locale2._ordinalParse : locale2._dayOfMonthOrdinalParseLenient;
@@ -3513,6 +3277,8 @@ addParseToken("Do", function(input, array) {
3513
3277
  });
3514
3278
  var getSetDayOfMonth = makeGetSet("Date", true);
3515
3279
  addFormatToken("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
3280
+ addUnitAlias("dayOfYear", "DDD");
3281
+ addUnitPriority("dayOfYear", 4);
3516
3282
  addRegexToken("DDD", match1to3);
3517
3283
  addRegexToken("DDDD", match3);
3518
3284
  addParseToken(["DDD", "DDDD"], function(input, array, config) {
@@ -3525,12 +3291,16 @@ function getSetDayOfYear(input) {
3525
3291
  return input == null ? dayOfYear : this.add(input - dayOfYear, "d");
3526
3292
  }
3527
3293
  addFormatToken("m", ["mm", 2], 0, "minute");
3528
- addRegexToken("m", match1to2, match1to2HasZero);
3294
+ addUnitAlias("minute", "m");
3295
+ addUnitPriority("minute", 14);
3296
+ addRegexToken("m", match1to2);
3529
3297
  addRegexToken("mm", match1to2, match2);
3530
3298
  addParseToken(["m", "mm"], MINUTE);
3531
3299
  var getSetMinute = makeGetSet("Minutes", false);
3532
3300
  addFormatToken("s", ["ss", 2], 0, "second");
3533
- addRegexToken("s", match1to2, match1to2HasZero);
3301
+ addUnitAlias("second", "s");
3302
+ addUnitPriority("second", 15);
3303
+ addRegexToken("s", match1to2);
3534
3304
  addRegexToken("ss", match1to2, match2);
3535
3305
  addParseToken(["s", "ss"], SECOND);
3536
3306
  var getSetSecond = makeGetSet("Seconds", false);
@@ -3559,6 +3329,8 @@ addFormatToken(0, ["SSSSSSSS", 8], 0, function() {
3559
3329
  addFormatToken(0, ["SSSSSSSSS", 9], 0, function() {
3560
3330
  return this.millisecond() * 1e6;
3561
3331
  });
3332
+ addUnitAlias("millisecond", "ms");
3333
+ addUnitPriority("millisecond", 16);
3562
3334
  addRegexToken("S", match1to3, match1);
3563
3335
  addRegexToken("SS", match1to3, match2);
3564
3336
  addRegexToken("SSS", match1to3, match3);
@@ -3581,105 +3353,105 @@ function getZoneAbbr() {
3581
3353
  function getZoneName() {
3582
3354
  return this._isUTC ? "Coordinated Universal Time" : "";
3583
3355
  }
3584
- var proto$2 = Moment.prototype;
3585
- proto$2.add = add$1;
3586
- proto$2.calendar = calendar;
3587
- proto$2.clone = clone$1;
3588
- proto$2.diff = diff;
3589
- proto$2.endOf = endOf;
3590
- proto$2.format = format;
3591
- proto$2.from = from;
3592
- proto$2.fromNow = fromNow;
3593
- proto$2.to = to;
3594
- proto$2.toNow = toNow;
3595
- proto$2.get = stringGet;
3596
- proto$2.invalidAt = invalidAt;
3597
- proto$2.isAfter = isAfter;
3598
- proto$2.isBefore = isBefore;
3599
- proto$2.isBetween = isBetween;
3600
- proto$2.isSame = isSame;
3601
- proto$2.isSameOrAfter = isSameOrAfter;
3602
- proto$2.isSameOrBefore = isSameOrBefore;
3603
- proto$2.isValid = isValid;
3604
- proto$2.lang = lang;
3605
- proto$2.locale = locale;
3606
- proto$2.localeData = localeData;
3607
- proto$2.max = prototypeMax;
3608
- proto$2.min = prototypeMin;
3609
- proto$2.parsingFlags = parsingFlags;
3610
- proto$2.set = stringSet;
3611
- proto$2.startOf = startOf;
3612
- proto$2.subtract = subtract$1;
3613
- proto$2.toArray = toArray;
3614
- proto$2.toObject = toObject;
3615
- proto$2.toDate = toDate;
3616
- proto$2.toISOString = toISOString$1;
3617
- proto$2.inspect = inspect;
3356
+ var proto = Moment.prototype;
3357
+ proto.add = add;
3358
+ proto.calendar = calendar$1;
3359
+ proto.clone = clone;
3360
+ proto.diff = diff;
3361
+ proto.endOf = endOf;
3362
+ proto.format = format;
3363
+ proto.from = from;
3364
+ proto.fromNow = fromNow;
3365
+ proto.to = to;
3366
+ proto.toNow = toNow;
3367
+ proto.get = stringGet;
3368
+ proto.invalidAt = invalidAt;
3369
+ proto.isAfter = isAfter;
3370
+ proto.isBefore = isBefore;
3371
+ proto.isBetween = isBetween;
3372
+ proto.isSame = isSame;
3373
+ proto.isSameOrAfter = isSameOrAfter;
3374
+ proto.isSameOrBefore = isSameOrBefore;
3375
+ proto.isValid = isValid$2;
3376
+ proto.lang = lang;
3377
+ proto.locale = locale;
3378
+ proto.localeData = localeData;
3379
+ proto.max = prototypeMax;
3380
+ proto.min = prototypeMin;
3381
+ proto.parsingFlags = parsingFlags;
3382
+ proto.set = stringSet;
3383
+ proto.startOf = startOf;
3384
+ proto.subtract = subtract;
3385
+ proto.toArray = toArray;
3386
+ proto.toObject = toObject;
3387
+ proto.toDate = toDate;
3388
+ proto.toISOString = toISOString;
3389
+ proto.inspect = inspect;
3618
3390
  if (typeof Symbol !== "undefined" && Symbol.for != null) {
3619
- proto$2[Symbol.for("nodejs.util.inspect.custom")] = function() {
3391
+ proto[Symbol.for("nodejs.util.inspect.custom")] = function() {
3620
3392
  return "Moment<" + this.format() + ">";
3621
3393
  };
3622
3394
  }
3623
- proto$2.toJSON = toJSON;
3624
- proto$2.toString = toString;
3625
- proto$2.unix = unix;
3626
- proto$2.valueOf = valueOf$1;
3627
- proto$2.creationData = creationData;
3628
- proto$2.eraName = getEraName;
3629
- proto$2.eraNarrow = getEraNarrow;
3630
- proto$2.eraAbbr = getEraAbbr;
3631
- proto$2.eraYear = getEraYear;
3632
- proto$2.year = getSetYear;
3633
- proto$2.isLeapYear = getIsLeapYear;
3634
- proto$2.weekYear = getSetWeekYear;
3635
- proto$2.isoWeekYear = getSetISOWeekYear;
3636
- proto$2.quarter = proto$2.quarters = getSetQuarter;
3637
- proto$2.month = getSetMonth;
3638
- proto$2.daysInMonth = getDaysInMonth;
3639
- proto$2.week = proto$2.weeks = getSetWeek;
3640
- proto$2.isoWeek = proto$2.isoWeeks = getSetISOWeek;
3641
- proto$2.weeksInYear = getWeeksInYear;
3642
- proto$2.weeksInWeekYear = getWeeksInWeekYear;
3643
- proto$2.isoWeeksInYear = getISOWeeksInYear;
3644
- proto$2.isoWeeksInISOWeekYear = getISOWeeksInISOWeekYear;
3645
- proto$2.date = getSetDayOfMonth;
3646
- proto$2.day = proto$2.days = getSetDayOfWeek;
3647
- proto$2.weekday = getSetLocaleDayOfWeek;
3648
- proto$2.isoWeekday = getSetISODayOfWeek;
3649
- proto$2.dayOfYear = getSetDayOfYear;
3650
- proto$2.hour = proto$2.hours = getSetHour;
3651
- proto$2.minute = proto$2.minutes = getSetMinute;
3652
- proto$2.second = proto$2.seconds = getSetSecond;
3653
- proto$2.millisecond = proto$2.milliseconds = getSetMillisecond;
3654
- proto$2.utcOffset = getSetOffset;
3655
- proto$2.utc = setOffsetToUTC;
3656
- proto$2.local = setOffsetToLocal;
3657
- proto$2.parseZone = setOffsetToParsedOffset;
3658
- proto$2.hasAlignedHourOffset = hasAlignedHourOffset;
3659
- proto$2.isDST = isDaylightSavingTime;
3660
- proto$2.isLocal = isLocal;
3661
- proto$2.isUtcOffset = isUtcOffset;
3662
- proto$2.isUtc = isUtc;
3663
- proto$2.isUTC = isUtc;
3664
- proto$2.zoneAbbr = getZoneAbbr;
3665
- proto$2.zoneName = getZoneName;
3666
- proto$2.dates = deprecate(
3395
+ proto.toJSON = toJSON;
3396
+ proto.toString = toString;
3397
+ proto.unix = unix;
3398
+ proto.valueOf = valueOf;
3399
+ proto.creationData = creationData;
3400
+ proto.eraName = getEraName;
3401
+ proto.eraNarrow = getEraNarrow;
3402
+ proto.eraAbbr = getEraAbbr;
3403
+ proto.eraYear = getEraYear;
3404
+ proto.year = getSetYear;
3405
+ proto.isLeapYear = getIsLeapYear;
3406
+ proto.weekYear = getSetWeekYear;
3407
+ proto.isoWeekYear = getSetISOWeekYear;
3408
+ proto.quarter = proto.quarters = getSetQuarter;
3409
+ proto.month = getSetMonth;
3410
+ proto.daysInMonth = getDaysInMonth;
3411
+ proto.week = proto.weeks = getSetWeek;
3412
+ proto.isoWeek = proto.isoWeeks = getSetISOWeek;
3413
+ proto.weeksInYear = getWeeksInYear;
3414
+ proto.weeksInWeekYear = getWeeksInWeekYear;
3415
+ proto.isoWeeksInYear = getISOWeeksInYear;
3416
+ proto.isoWeeksInISOWeekYear = getISOWeeksInISOWeekYear;
3417
+ proto.date = getSetDayOfMonth;
3418
+ proto.day = proto.days = getSetDayOfWeek;
3419
+ proto.weekday = getSetLocaleDayOfWeek;
3420
+ proto.isoWeekday = getSetISODayOfWeek;
3421
+ proto.dayOfYear = getSetDayOfYear;
3422
+ proto.hour = proto.hours = getSetHour;
3423
+ proto.minute = proto.minutes = getSetMinute;
3424
+ proto.second = proto.seconds = getSetSecond;
3425
+ proto.millisecond = proto.milliseconds = getSetMillisecond;
3426
+ proto.utcOffset = getSetOffset;
3427
+ proto.utc = setOffsetToUTC;
3428
+ proto.local = setOffsetToLocal;
3429
+ proto.parseZone = setOffsetToParsedOffset;
3430
+ proto.hasAlignedHourOffset = hasAlignedHourOffset;
3431
+ proto.isDST = isDaylightSavingTime;
3432
+ proto.isLocal = isLocal;
3433
+ proto.isUtcOffset = isUtcOffset;
3434
+ proto.isUtc = isUtc;
3435
+ proto.isUTC = isUtc;
3436
+ proto.zoneAbbr = getZoneAbbr;
3437
+ proto.zoneName = getZoneName;
3438
+ proto.dates = deprecate(
3667
3439
  "dates accessor is deprecated. Use date instead.",
3668
3440
  getSetDayOfMonth
3669
3441
  );
3670
- proto$2.months = deprecate(
3442
+ proto.months = deprecate(
3671
3443
  "months accessor is deprecated. Use month instead",
3672
3444
  getSetMonth
3673
3445
  );
3674
- proto$2.years = deprecate(
3446
+ proto.years = deprecate(
3675
3447
  "years accessor is deprecated. Use year instead",
3676
3448
  getSetYear
3677
3449
  );
3678
- proto$2.zone = deprecate(
3450
+ proto.zone = deprecate(
3679
3451
  "moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
3680
3452
  getSetZone
3681
3453
  );
3682
- proto$2.isDSTShifted = deprecate(
3454
+ proto.isDSTShifted = deprecate(
3683
3455
  "isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
3684
3456
  isDaylightSavingTimeShifted
3685
3457
  );
@@ -3693,13 +3465,13 @@ function preParsePostFormat(string) {
3693
3465
  return string;
3694
3466
  }
3695
3467
  var proto$1 = Locale.prototype;
3696
- proto$1.calendar = calendar$1;
3468
+ proto$1.calendar = calendar;
3697
3469
  proto$1.longDateFormat = longDateFormat;
3698
3470
  proto$1.invalidDate = invalidDate;
3699
3471
  proto$1.ordinal = ordinal;
3700
3472
  proto$1.preparse = preParsePostFormat;
3701
3473
  proto$1.postformat = preParsePostFormat;
3702
- proto$1.relativeTime = relativeTime$1;
3474
+ proto$1.relativeTime = relativeTime;
3703
3475
  proto$1.pastFuture = pastFuture;
3704
3476
  proto$1.set = set;
3705
3477
  proto$1.eras = localeEras;
@@ -3819,7 +3591,7 @@ hooks.langData = deprecate(
3819
3591
  getLocale
3820
3592
  );
3821
3593
  var mathAbs = Math.abs;
3822
- function abs$1() {
3594
+ function abs() {
3823
3595
  var data = this._data;
3824
3596
  this._milliseconds = mathAbs(this._milliseconds);
3825
3597
  this._days = mathAbs(this._days);
@@ -3832,18 +3604,18 @@ function abs$1() {
3832
3604
  data.years = mathAbs(data.years);
3833
3605
  return this;
3834
3606
  }
3835
- function addSubtract(duration, input, value, direction) {
3607
+ function addSubtract$1(duration, input, value, direction) {
3836
3608
  var other = createDuration(input, value);
3837
3609
  duration._milliseconds += direction * other._milliseconds;
3838
3610
  duration._days += direction * other._days;
3839
3611
  duration._months += direction * other._months;
3840
3612
  return duration._bubble();
3841
3613
  }
3842
- function add(input, value) {
3843
- return addSubtract(this, input, value, 1);
3614
+ function add$1(input, value) {
3615
+ return addSubtract$1(this, input, value, 1);
3844
3616
  }
3845
- function subtract(input, value) {
3846
- return addSubtract(this, input, value, -1);
3617
+ function subtract$1(input, value) {
3618
+ return addSubtract$1(this, input, value, -1);
3847
3619
  }
3848
3620
  function absCeil(number) {
3849
3621
  if (number < 0) {
@@ -3920,16 +3692,22 @@ function as(units) {
3920
3692
  }
3921
3693
  }
3922
3694
  }
3695
+ function valueOf$1() {
3696
+ if (!this.isValid()) {
3697
+ return NaN;
3698
+ }
3699
+ return this._milliseconds + this._days * 864e5 + this._months % 12 * 2592e6 + toInt(this._months / 12) * 31536e6;
3700
+ }
3923
3701
  function makeAs(alias) {
3924
3702
  return function() {
3925
3703
  return this.as(alias);
3926
3704
  };
3927
3705
  }
3928
- var asMilliseconds = makeAs("ms"), asSeconds = makeAs("s"), asMinutes = makeAs("m"), asHours = makeAs("h"), asDays = makeAs("d"), asWeeks = makeAs("w"), asMonths = makeAs("M"), asQuarters = makeAs("Q"), asYears = makeAs("y"), valueOf = asMilliseconds;
3929
- function clone() {
3706
+ var asMilliseconds = makeAs("ms"), asSeconds = makeAs("s"), asMinutes = makeAs("m"), asHours = makeAs("h"), asDays = makeAs("d"), asWeeks = makeAs("w"), asMonths = makeAs("M"), asQuarters = makeAs("Q"), asYears = makeAs("y");
3707
+ function clone$1() {
3930
3708
  return createDuration(this);
3931
3709
  }
3932
- function get(units) {
3710
+ function get$2(units) {
3933
3711
  units = normalizeUnits(units);
3934
3712
  return this.isValid() ? this[units + "s"]() : NaN;
3935
3713
  }
@@ -3959,15 +3737,9 @@ var round = Math.round, thresholds = {
3959
3737
  // months to year
3960
3738
  };
3961
3739
  function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale2) {
3962
- return relativeTimeWithoutPostformat.call(
3963
- locale2,
3964
- number || 1,
3965
- !!withoutSuffix,
3966
- string,
3967
- isFuture
3968
- );
3740
+ return locale2.relativeTime(number || 1, !!withoutSuffix, string, isFuture);
3969
3741
  }
3970
- function relativeTime(posNegDuration, withoutSuffix, thresholds2, locale2) {
3742
+ function relativeTime$1(posNegDuration, withoutSuffix, thresholds2, locale2) {
3971
3743
  var duration = createDuration(posNegDuration).abs(), seconds2 = round(duration.as("s")), minutes2 = round(duration.as("m")), hours2 = round(duration.as("h")), days2 = round(duration.as("d")), months2 = round(duration.as("M")), weeks2 = round(duration.as("w")), years2 = round(duration.as("y")), a = seconds2 <= thresholds2.ss && ["s", seconds2] || seconds2 < thresholds2.s && ["ss", seconds2] || minutes2 <= 1 && ["m"] || minutes2 < thresholds2.m && ["mm", minutes2] || hours2 <= 1 && ["h"] || hours2 < thresholds2.h && ["hh", hours2] || days2 <= 1 && ["d"] || days2 < thresholds2.d && ["dd", days2];
3972
3744
  if (thresholds2.w != null) {
3973
3745
  a = a || weeks2 <= 1 && ["w"] || weeks2 < thresholds2.w && ["ww", weeks2];
@@ -4014,27 +3786,27 @@ function humanize(argWithSuffix, argThresholds) {
4014
3786
  withSuffix = argWithSuffix;
4015
3787
  }
4016
3788
  if (typeof argThresholds === "object") {
4017
- th = extend(extend({}, thresholds), argThresholds || {});
3789
+ th = Object.assign({}, thresholds, argThresholds);
4018
3790
  if (argThresholds.s != null && argThresholds.ss == null) {
4019
3791
  th.ss = argThresholds.s - 1;
4020
3792
  }
4021
3793
  }
4022
3794
  locale2 = this.localeData();
4023
- output = relativeTime(this, !withSuffix, th, locale2);
3795
+ output = relativeTime$1(this, !withSuffix, th, locale2);
4024
3796
  if (withSuffix) {
4025
- output = pastFutureWithoutPostformat.call(locale2, +this, output);
3797
+ output = locale2.pastFuture(+this, output);
4026
3798
  }
4027
3799
  return locale2.postformat(output);
4028
3800
  }
4029
- var abs = Math.abs;
3801
+ var abs$1 = Math.abs;
4030
3802
  function sign(x) {
4031
3803
  return (x > 0) - (x < 0) || +x;
4032
3804
  }
4033
- function toISOString() {
3805
+ function toISOString$1() {
4034
3806
  if (!this.isValid()) {
4035
3807
  return this.localeData().invalidDate();
4036
3808
  }
4037
- var seconds2 = abs(this._milliseconds) / 1e3, days2 = abs(this._days), months2 = abs(this._months), minutes2, hours2, years2, s, total = this.asSeconds(), totalSign, ymSign, daysSign, hmsSign;
3809
+ var seconds2 = abs$1(this._milliseconds) / 1e3, days2 = abs$1(this._days), months2 = abs$1(this._months), minutes2, hours2, years2, s, total = this.asSeconds(), totalSign, ymSign, daysSign, hmsSign;
4038
3810
  if (!total) {
4039
3811
  return "P0D";
4040
3812
  }
@@ -4051,44 +3823,44 @@ function toISOString() {
4051
3823
  hmsSign = sign(this._milliseconds) !== sign(total) ? "-" : "";
4052
3824
  return totalSign + "P" + (years2 ? ymSign + years2 + "Y" : "") + (months2 ? ymSign + months2 + "M" : "") + (days2 ? daysSign + days2 + "D" : "") + (hours2 || minutes2 || seconds2 ? "T" : "") + (hours2 ? hmsSign + hours2 + "H" : "") + (minutes2 ? hmsSign + minutes2 + "M" : "") + (seconds2 ? hmsSign + s + "S" : "");
4053
3825
  }
4054
- var proto = Duration.prototype;
4055
- proto.isValid = isValid$1;
4056
- proto.abs = abs$1;
4057
- proto.add = add;
4058
- proto.subtract = subtract;
4059
- proto.as = as;
4060
- proto.asMilliseconds = asMilliseconds;
4061
- proto.asSeconds = asSeconds;
4062
- proto.asMinutes = asMinutes;
4063
- proto.asHours = asHours;
4064
- proto.asDays = asDays;
4065
- proto.asWeeks = asWeeks;
4066
- proto.asMonths = asMonths;
4067
- proto.asQuarters = asQuarters;
4068
- proto.asYears = asYears;
4069
- proto.valueOf = valueOf;
4070
- proto._bubble = bubble;
4071
- proto.clone = clone;
4072
- proto.get = get;
4073
- proto.milliseconds = milliseconds;
4074
- proto.seconds = seconds;
4075
- proto.minutes = minutes;
4076
- proto.hours = hours;
4077
- proto.days = days;
4078
- proto.weeks = weeks;
4079
- proto.months = months;
4080
- proto.years = years;
4081
- proto.humanize = humanize;
4082
- proto.toISOString = toISOString;
4083
- proto.toString = toISOString;
4084
- proto.toJSON = toISOString;
4085
- proto.locale = locale;
4086
- proto.localeData = localeData;
4087
- proto.toIsoString = deprecate(
3826
+ var proto$2 = Duration.prototype;
3827
+ proto$2.isValid = isValid$1;
3828
+ proto$2.abs = abs;
3829
+ proto$2.add = add$1;
3830
+ proto$2.subtract = subtract$1;
3831
+ proto$2.as = as;
3832
+ proto$2.asMilliseconds = asMilliseconds;
3833
+ proto$2.asSeconds = asSeconds;
3834
+ proto$2.asMinutes = asMinutes;
3835
+ proto$2.asHours = asHours;
3836
+ proto$2.asDays = asDays;
3837
+ proto$2.asWeeks = asWeeks;
3838
+ proto$2.asMonths = asMonths;
3839
+ proto$2.asQuarters = asQuarters;
3840
+ proto$2.asYears = asYears;
3841
+ proto$2.valueOf = valueOf$1;
3842
+ proto$2._bubble = bubble;
3843
+ proto$2.clone = clone$1;
3844
+ proto$2.get = get$2;
3845
+ proto$2.milliseconds = milliseconds;
3846
+ proto$2.seconds = seconds;
3847
+ proto$2.minutes = minutes;
3848
+ proto$2.hours = hours;
3849
+ proto$2.days = days;
3850
+ proto$2.weeks = weeks;
3851
+ proto$2.months = months;
3852
+ proto$2.years = years;
3853
+ proto$2.humanize = humanize;
3854
+ proto$2.toISOString = toISOString$1;
3855
+ proto$2.toString = toISOString$1;
3856
+ proto$2.toJSON = toISOString$1;
3857
+ proto$2.locale = locale;
3858
+ proto$2.localeData = localeData;
3859
+ proto$2.toIsoString = deprecate(
4088
3860
  "toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
4089
- toISOString
3861
+ toISOString$1
4090
3862
  );
4091
- proto.lang = lang;
3863
+ proto$2.lang = lang;
4092
3864
  addFormatToken("X", 0, 0, "unix");
4093
3865
  addFormatToken("x", 0, 0, "valueOf");
4094
3866
  addRegexToken("x", matchSigned);
@@ -4100,9 +3872,9 @@ addParseToken("x", function(input, array, config) {
4100
3872
  config._d = new Date(toInt(input));
4101
3873
  });
4102
3874
  //! moment.js
4103
- hooks.version = "2.31.0";
3875
+ hooks.version = "2.29.4";
4104
3876
  setHookCallback(createLocal);
4105
- hooks.fn = proto$2;
3877
+ hooks.fn = proto;
4106
3878
  hooks.min = min;
4107
3879
  hooks.max = max;
4108
3880
  hooks.now = now;
@@ -4111,7 +3883,7 @@ hooks.unix = createUnix;
4111
3883
  hooks.months = listMonths;
4112
3884
  hooks.isDate = isDate;
4113
3885
  hooks.locale = getSetGlobalLocale;
4114
- hooks.invalid = createInvalid$1;
3886
+ hooks.invalid = createInvalid;
4115
3887
  hooks.duration = createDuration;
4116
3888
  hooks.isMoment = isMoment;
4117
3889
  hooks.weekdays = listWeekdays;
@@ -4128,7 +3900,7 @@ hooks.normalizeUnits = normalizeUnits;
4128
3900
  hooks.relativeTimeRounding = getSetRelativeTimeRounding;
4129
3901
  hooks.relativeTimeThreshold = getSetRelativeTimeThreshold;
4130
3902
  hooks.calendarFormat = getCalendarFormat;
4131
- hooks.prototype = proto$2;
3903
+ hooks.prototype = proto;
4132
3904
  hooks.HTML5_FMT = {
4133
3905
  DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
4134
3906
  // <input type="datetime-local" />