impact-ui 4.0.6 → 4.0.7-alpha.1
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.
- package/package.json +4 -5
- package/dist/_virtual/Add.js +0 -4
- package/dist/_virtual/AttachFile.js +0 -4
- package/dist/_virtual/AutoFixHigh.js +0 -4
- package/dist/_virtual/Block.js +0 -4
- package/dist/_virtual/BookmarkBorderOutlined.js +0 -4
- package/dist/_virtual/Brush.js +0 -4
- package/dist/_virtual/Cancel.js +0 -4
- package/dist/_virtual/CheckCircle.js +0 -4
- package/dist/_virtual/ChevronLeft.js +0 -4
- package/dist/_virtual/ChevronLeftOutlined.js +0 -4
- package/dist/_virtual/ChevronRight.js +0 -4
- package/dist/_virtual/ChevronRightOutlined.js +0 -4
- package/dist/_virtual/Clear.js +0 -4
- package/dist/_virtual/Close.js +0 -4
- package/dist/_virtual/CloseOutlined.js +0 -4
- package/dist/_virtual/CloseRounded.js +0 -4
- package/dist/_virtual/DefaultTheme.js +0 -4
- package/dist/_virtual/DeleteOutlineOutlined.js +0 -4
- package/dist/_virtual/DeleteOutlined.js +0 -4
- package/dist/_virtual/DragIndicator.js +0 -4
- package/dist/_virtual/ErrorOutline.js +0 -4
- package/dist/_virtual/ExpandLess.js +0 -4
- package/dist/_virtual/ExpandLessOutlined.js +0 -4
- package/dist/_virtual/ExpandMore.js +0 -4
- package/dist/_virtual/ExpandMoreOutlined.js +0 -4
- package/dist/_virtual/FileDownloadOutlined.js +0 -4
- package/dist/_virtual/FilterAltOffOutlined.js +0 -4
- package/dist/_virtual/FilterAltOutlined.js +0 -4
- package/dist/_virtual/FilterList.js +0 -4
- package/dist/_virtual/FilterListOutlined.js +0 -4
- package/dist/_virtual/FormatBold.js +0 -4
- package/dist/_virtual/FormatColorTextOutlined.js +0 -4
- package/dist/_virtual/FormatItalic.js +0 -4
- package/dist/_virtual/FormatListBulleted.js +0 -4
- package/dist/_virtual/FormatListNumbered.js +0 -4
- package/dist/_virtual/Image.js +0 -4
- package/dist/_virtual/Info.js +0 -4
- package/dist/_virtual/InfoOutlined.js +0 -4
- package/dist/_virtual/InsertEmoticon.js +0 -4
- package/dist/_virtual/IsConstructor.js +0 -4
- package/dist/_virtual/KeyboardArrowDown.js +0 -4
- package/dist/_virtual/KeyboardArrowDownOutlined.js +0 -4
- package/dist/_virtual/KeyboardArrowLeft.js +0 -4
- package/dist/_virtual/KeyboardArrowRight.js +0 -4
- package/dist/_virtual/KeyboardArrowRightOutlined.js +0 -4
- package/dist/_virtual/KeyboardArrowUp.js +0 -4
- package/dist/_virtual/KeyboardRounded.js +0 -4
- package/dist/_virtual/Link.js +0 -4
- package/dist/_virtual/Looks3.js +0 -4
- package/dist/_virtual/Looks4.js +0 -4
- package/dist/_virtual/Looks5.js +0 -4
- package/dist/_virtual/Looks6.js +0 -4
- package/dist/_virtual/LooksOne.js +0 -4
- package/dist/_virtual/LooksTwo.js +0 -4
- package/dist/_virtual/MoreHoriz.js +0 -4
- package/dist/_virtual/MoreHorizOutlined.js +0 -4
- package/dist/_virtual/MoreVert.js +0 -4
- package/dist/_virtual/North.js +0 -4
- package/dist/_virtual/NotificationsOff.js +0 -4
- package/dist/_virtual/RemoveRounded.js +0 -4
- package/dist/_virtual/SaveOutlined.js +0 -4
- package/dist/_virtual/Search.js +0 -4
- package/dist/_virtual/SearchOutlined.js +0 -4
- package/dist/_virtual/SettingsOutlined.js +0 -4
- package/dist/_virtual/StrikethroughS.js +0 -4
- package/dist/_virtual/TableChartOutlined.js +0 -4
- package/dist/_virtual/ThemedStyleSheet.js +0 -4
- package/dist/_virtual/Tune.js +0 -4
- package/dist/_virtual/ViewColumnOutlined.js +0 -4
- package/dist/_virtual/Warning.js +0 -4
- package/dist/_virtual/___vite-browser-external.js +0 -6
- package/dist/_virtual/__vite-browser-external.js +0 -4
- package/dist/_virtual/_commonjsHelpers.js +0 -33
- package/dist/_virtual/colorManipulator.js +0 -4
- package/dist/_virtual/constants.js +0 -4
- package/dist/_virtual/createStyled.js +0 -4
- package/dist/_virtual/createSvgIcon.js +0 -4
- package/dist/_virtual/getClassName.js +0 -4
- package/dist/_virtual/index.js +0 -6
- package/dist/_virtual/index10.js +0 -6
- package/dist/_virtual/index11.js +0 -6
- package/dist/_virtual/index12.js +0 -6
- package/dist/_virtual/index13.js +0 -4
- package/dist/_virtual/index14.js +0 -4
- package/dist/_virtual/index15.js +0 -4
- package/dist/_virtual/index16.js +0 -4
- package/dist/_virtual/index2.js +0 -4
- package/dist/_virtual/index3.js +0 -4
- package/dist/_virtual/index4.js +0 -6
- package/dist/_virtual/index5.js +0 -6
- package/dist/_virtual/index6.js +0 -4
- package/dist/_virtual/index7.js +0 -6
- package/dist/_virtual/index8.js +0 -6
- package/dist/_virtual/index9.js +0 -6
- package/dist/_virtual/lodash.js +0 -4
- package/dist/_virtual/react-is.development.js +0 -4
- package/dist/_virtual/react-is.development2.js +0 -4
- package/dist/_virtual/react-is.development3.js +0 -4
- package/dist/_virtual/react-is.production.js +0 -4
- package/dist/_virtual/react-is.production.min.js +0 -4
- package/dist/_virtual/react-is.production.min2.js +0 -4
- package/dist/_virtual/registerCSSInterfaceWithDefaultTheme.js +0 -4
- package/dist/_virtual/registerInterfaceWithDefaultTheme.js +0 -4
- package/dist/_virtual/separateStyles.js +0 -4
- package/dist/_virtual/useThemeWithoutDefault.js +0 -4
- package/dist/components/Accordion/Accordion.types.d.ts +0 -118
- package/dist/components/Accordion/Accordion.types.d.ts.map +0 -1
- package/dist/components/Accordion/index.d.ts +0 -21
- package/dist/components/Accordion/index.d.ts.map +0 -1
- package/dist/components/Accordion/index.js +0 -137
- package/dist/components/AccordionModern/AccordionModern.types.d.ts +0 -35
- package/dist/components/AccordionModern/AccordionModern.types.d.ts.map +0 -1
- package/dist/components/AccordionModern/SortableAccordionComp.d.ts +0 -19
- package/dist/components/AccordionModern/SortableAccordionComp.d.ts.map +0 -1
- package/dist/components/AccordionModern/SortableAccordionComp.js +0 -145
- package/dist/components/AccordionModern/index.d.ts +0 -12
- package/dist/components/AccordionModern/index.d.ts.map +0 -1
- package/dist/components/AccordionModern/index.js +0 -99
- package/dist/components/Alert/Alert.types.d.ts +0 -102
- package/dist/components/Alert/Alert.types.d.ts.map +0 -1
- package/dist/components/Alert/index.d.ts +0 -30
- package/dist/components/Alert/index.d.ts.map +0 -1
- package/dist/components/Alert/index.js +0 -78
- package/dist/components/Avatar/Avatar.types.d.ts +0 -62
- package/dist/components/Avatar/Avatar.types.d.ts.map +0 -1
- package/dist/components/Avatar/index.d.ts +0 -19
- package/dist/components/Avatar/index.d.ts.map +0 -1
- package/dist/components/Avatar/index.js +0 -62
- package/dist/components/Badge/Badge.types.d.ts +0 -53
- package/dist/components/Badge/Badge.types.d.ts.map +0 -1
- package/dist/components/Badge/filled/filledIconLabelBadges/index.d.ts +0 -4
- package/dist/components/Badge/filled/filledIconLabelBadges/index.d.ts.map +0 -1
- package/dist/components/Badge/filled/filledIconLabelBadges/index.js +0 -40
- package/dist/components/Badge/filled/filledOnlyIconBadges/index.d.ts +0 -4
- package/dist/components/Badge/filled/filledOnlyIconBadges/index.d.ts.map +0 -1
- package/dist/components/Badge/filled/filledOnlyIconBadges/index.js +0 -33
- package/dist/components/Badge/filled/filledOnlyLabelBadges/index.d.ts +0 -4
- package/dist/components/Badge/filled/filledOnlyLabelBadges/index.d.ts.map +0 -1
- package/dist/components/Badge/filled/filledOnlyLabelBadges/index.js +0 -39
- package/dist/components/Badge/filled/index.d.ts +0 -4
- package/dist/components/Badge/filled/index.d.ts.map +0 -1
- package/dist/components/Badge/filled/index.js +0 -23
- package/dist/components/Badge/index.d.ts +0 -12
- package/dist/components/Badge/index.d.ts.map +0 -1
- package/dist/components/Badge/index.js +0 -20
- package/dist/components/Badge/stroke/index.d.ts +0 -4
- package/dist/components/Badge/stroke/index.d.ts.map +0 -1
- package/dist/components/Badge/stroke/index.js +0 -33
- package/dist/components/Badge/stroke/strokeIconLabelBadges/index.d.ts +0 -4
- package/dist/components/Badge/stroke/strokeIconLabelBadges/index.d.ts.map +0 -1
- package/dist/components/Badge/stroke/strokeIconLabelBadges/index.js +0 -40
- package/dist/components/Badge/stroke/strokeOnlyIconBadges/index.d.ts +0 -4
- package/dist/components/Badge/stroke/strokeOnlyIconBadges/index.d.ts.map +0 -1
- package/dist/components/Badge/stroke/strokeOnlyIconBadges/index.js +0 -33
- package/dist/components/Badge/stroke/strokeOnlyLabelBadges/index.d.ts +0 -4
- package/dist/components/Badge/stroke/strokeOnlyLabelBadges/index.d.ts.map +0 -1
- package/dist/components/Badge/stroke/strokeOnlyLabelBadges/index.js +0 -37
- package/dist/components/Badge/subtle/index.d.ts +0 -4
- package/dist/components/Badge/subtle/index.d.ts.map +0 -1
- package/dist/components/Badge/subtle/index.js +0 -23
- package/dist/components/Badge/subtle/subtleIOnlyIconBadges/index.d.ts +0 -4
- package/dist/components/Badge/subtle/subtleIOnlyIconBadges/index.d.ts.map +0 -1
- package/dist/components/Badge/subtle/subtleIOnlyIconBadges/index.js +0 -39
- package/dist/components/Badge/subtle/subtleIconLabelBadges/index.d.ts +0 -4
- package/dist/components/Badge/subtle/subtleIconLabelBadges/index.d.ts.map +0 -1
- package/dist/components/Badge/subtle/subtleIconLabelBadges/index.js +0 -41
- package/dist/components/Badge/subtle/subtleOnlyLabelBadges/index.d.ts +0 -4
- package/dist/components/Badge/subtle/subtleOnlyLabelBadges/index.d.ts.map +0 -1
- package/dist/components/Badge/subtle/subtleOnlyLabelBadges/index.js +0 -40
- package/dist/components/BottomSheet/BottomSheet.types.d.ts +0 -12
- package/dist/components/BottomSheet/BottomSheet.types.d.ts.map +0 -1
- package/dist/components/BottomSheet/index.d.ts +0 -11
- package/dist/components/BottomSheet/index.d.ts.map +0 -1
- package/dist/components/BottomSheet/index.js +0 -80
- package/dist/components/Breadcrumbs/Breadcrumbs.types.d.ts +0 -21
- package/dist/components/Breadcrumbs/Breadcrumbs.types.d.ts.map +0 -1
- package/dist/components/Breadcrumbs/HomeIcon.d.ts +0 -5
- package/dist/components/Breadcrumbs/HomeIcon.d.ts.map +0 -1
- package/dist/components/Breadcrumbs/HomeIcon.js +0 -24
- package/dist/components/Breadcrumbs/index.d.ts +0 -13
- package/dist/components/Breadcrumbs/index.d.ts.map +0 -1
- package/dist/components/Breadcrumbs/index.js +0 -90
- package/dist/components/Button/Button.types.d.ts +0 -52
- package/dist/components/Button/Button.types.d.ts.map +0 -1
- package/dist/components/Button/index.d.ts +0 -10
- package/dist/components/Button/index.d.ts.map +0 -1
- package/dist/components/Button/index.js +0 -142
- package/dist/components/ButtonGroup/ButtonGroup.types.d.ts +0 -28
- package/dist/components/ButtonGroup/ButtonGroup.types.d.ts.map +0 -1
- package/dist/components/ButtonGroup/index.d.ts +0 -12
- package/dist/components/ButtonGroup/index.d.ts.map +0 -1
- package/dist/components/ButtonGroup/index.js +0 -73
- package/dist/components/Card/Card.types.d.ts +0 -50
- package/dist/components/Card/Card.types.d.ts.map +0 -1
- package/dist/components/Card/index.d.ts +0 -9
- package/dist/components/Card/index.d.ts.map +0 -1
- package/dist/components/Card/index.js +0 -66
- package/dist/components/Chart/ChartSkeleton.d.ts +0 -23
- package/dist/components/Chart/ChartSkeleton.d.ts.map +0 -1
- package/dist/components/Chart/ChartSkeleton.js +0 -171
- package/dist/components/Chart/index.d.ts +0 -69
- package/dist/components/Chart/index.d.ts.map +0 -1
- package/dist/components/Chart/index.js +0 -647
- package/dist/components/Chatbot/Chatbot.types.d.ts +0 -280
- package/dist/components/Chatbot/Chatbot.types.d.ts.map +0 -1
- package/dist/components/Chatbot/bookMarkPanel.d.ts +0 -4
- package/dist/components/Chatbot/bookMarkPanel.d.ts.map +0 -1
- package/dist/components/Chatbot/bookMarkPanel.js +0 -64
- package/dist/components/Chatbot/chatBotFooter.d.ts +0 -4
- package/dist/components/Chatbot/chatBotFooter.d.ts.map +0 -1
- package/dist/components/Chatbot/chatBotFooter.js +0 -8
- package/dist/components/Chatbot/chatBotLandingScreen.d.ts +0 -4
- package/dist/components/Chatbot/chatBotLandingScreen.d.ts.map +0 -1
- package/dist/components/Chatbot/chatBotLandingScreen.js +0 -24
- package/dist/components/Chatbot/chatInput.d.ts +0 -4
- package/dist/components/Chatbot/chatInput.d.ts.map +0 -1
- package/dist/components/Chatbot/chatInput.js +0 -180
- package/dist/components/Chatbot/chatbotModuleMenu.d.ts +0 -4
- package/dist/components/Chatbot/chatbotModuleMenu.d.ts.map +0 -1
- package/dist/components/Chatbot/chatbotModuleMenu.js +0 -272
- package/dist/components/Chatbot/constant.d.ts +0 -6
- package/dist/components/Chatbot/constant.d.ts.map +0 -1
- package/dist/components/Chatbot/constant.js +0 -27
- package/dist/components/Chatbot/conversationScreen.d.ts +0 -4
- package/dist/components/Chatbot/conversationScreen.d.ts.map +0 -1
- package/dist/components/Chatbot/conversationScreen.js +0 -203
- package/dist/components/Chatbot/customScreen.d.ts +0 -4
- package/dist/components/Chatbot/customScreen.d.ts.map +0 -1
- package/dist/components/Chatbot/customScreen.js +0 -65
- package/dist/components/Chatbot/historyPanel.d.ts +0 -4
- package/dist/components/Chatbot/historyPanel.d.ts.map +0 -1
- package/dist/components/Chatbot/historyPanel.js +0 -318
- package/dist/components/Chatbot/index.d.ts +0 -8
- package/dist/components/Chatbot/index.d.ts.map +0 -1
- package/dist/components/Chatbot/index.js +0 -467
- package/dist/components/Chatbot/newChatComponent.d.ts +0 -4
- package/dist/components/Chatbot/newChatComponent.d.ts.map +0 -1
- package/dist/components/Chatbot/newChatComponent.js +0 -93
- package/dist/components/Chatbot/utils.d.ts +0 -5
- package/dist/components/Chatbot/utils.d.ts.map +0 -1
- package/dist/components/Chatbot/utils.js +0 -29
- package/dist/components/Checkbox/Checkbox.types.d.ts +0 -179
- package/dist/components/Checkbox/Checkbox.types.d.ts.map +0 -1
- package/dist/components/Checkbox/Dashed.d.ts +0 -8
- package/dist/components/Checkbox/Dashed.d.ts.map +0 -1
- package/dist/components/Checkbox/Dashed.js +0 -37
- package/dist/components/Checkbox/Default.d.ts +0 -8
- package/dist/components/Checkbox/Default.d.ts.map +0 -1
- package/dist/components/Checkbox/Default.js +0 -86
- package/dist/components/Checkbox/WithDropDown.d.ts +0 -7
- package/dist/components/Checkbox/WithDropDown.d.ts.map +0 -1
- package/dist/components/Checkbox/WithDropDown.js +0 -101
- package/dist/components/Checkbox/WithoutFormLabel.d.ts +0 -7
- package/dist/components/Checkbox/WithoutFormLabel.d.ts.map +0 -1
- package/dist/components/Checkbox/WithoutFormLabel.js +0 -55
- package/dist/components/Checkbox/index.d.ts +0 -26
- package/dist/components/Checkbox/index.d.ts.map +0 -1
- package/dist/components/Checkbox/index.js +0 -59
- package/dist/components/Chips/Chips.types.d.ts +0 -69
- package/dist/components/Chips/Chips.types.d.ts.map +0 -1
- package/dist/components/Chips/index.d.ts +0 -9
- package/dist/components/Chips/index.d.ts.map +0 -1
- package/dist/components/Chips/index.js +0 -34
- package/dist/components/CommentsPanel/CommentsContext.d.ts +0 -11
- package/dist/components/CommentsPanel/CommentsContext.d.ts.map +0 -1
- package/dist/components/CommentsPanel/CommentsContext.js +0 -556
- package/dist/components/CommentsPanel/CommentsPanel.impl.d.ts +0 -8
- package/dist/components/CommentsPanel/CommentsPanel.impl.d.ts.map +0 -1
- package/dist/components/CommentsPanel/CommentsPanel.impl.js +0 -417
- package/dist/components/CommentsPanel/CommentsPanel.types.d.ts +0 -68
- package/dist/components/CommentsPanel/CommentsPanel.types.d.ts.map +0 -1
- package/dist/components/CommentsPanel/index.d.ts +0 -7
- package/dist/components/CommentsPanel/index.d.ts.map +0 -1
- package/dist/components/CommentsPanel/index.js +0 -5
- package/dist/components/CreateItemFlow/CreateItemFlow.types.d.ts +0 -38
- package/dist/components/CreateItemFlow/CreateItemFlow.types.d.ts.map +0 -1
- package/dist/components/CreateItemFlow/index.d.ts +0 -18
- package/dist/components/CreateItemFlow/index.d.ts.map +0 -1
- package/dist/components/CreateItemFlow/index.js +0 -72
- package/dist/components/DatePicker/DatePicker.types.d.ts +0 -53
- package/dist/components/DatePicker/DatePicker.types.d.ts.map +0 -1
- package/dist/components/DatePicker/datePickerDropdown.d.ts +0 -39
- package/dist/components/DatePicker/datePickerDropdown.d.ts.map +0 -1
- package/dist/components/DatePicker/datePickerDropdown.js +0 -282
- package/dist/components/DatePicker/datePickerFooter.d.ts +0 -18
- package/dist/components/DatePicker/datePickerFooter.d.ts.map +0 -1
- package/dist/components/DatePicker/datePickerFooter.js +0 -48
- package/dist/components/DatePicker/datePickerInput.d.ts +0 -25
- package/dist/components/DatePicker/datePickerInput.d.ts.map +0 -1
- package/dist/components/DatePicker/datePickerInput.js +0 -255
- package/dist/components/DatePicker/index.d.ts +0 -9
- package/dist/components/DatePicker/index.d.ts.map +0 -1
- package/dist/components/DatePicker/index.js +0 -272
- package/dist/components/DatePicker/showMonthYearSelect.d.ts +0 -15
- package/dist/components/DatePicker/showMonthYearSelect.d.ts.map +0 -1
- package/dist/components/DatePicker/showMonthYearSelect.js +0 -106
- package/dist/components/DateRangePicker/DateRangePicker.types.d.ts +0 -54
- package/dist/components/DateRangePicker/DateRangePicker.types.d.ts.map +0 -1
- package/dist/components/DateRangePicker/dateRangePickerCustom.d.ts +0 -2
- package/dist/components/DateRangePicker/dateRangePickerCustom.d.ts.map +0 -1
- package/dist/components/DateRangePicker/dateRangePickerCustom.js +0 -22
- package/dist/components/DateRangePicker/dateRangePickerDropdown.d.ts +0 -2
- package/dist/components/DateRangePicker/dateRangePickerDropdown.d.ts.map +0 -1
- package/dist/components/DateRangePicker/dateRangePickerDropdown.js +0 -306
- package/dist/components/DateRangePicker/dateRangePickerFooter.d.ts +0 -2
- package/dist/components/DateRangePicker/dateRangePickerFooter.d.ts.map +0 -1
- package/dist/components/DateRangePicker/dateRangePickerFooter.js +0 -49
- package/dist/components/DateRangePicker/dateRangePickerInput.d.ts +0 -2
- package/dist/components/DateRangePicker/dateRangePickerInput.d.ts.map +0 -1
- package/dist/components/DateRangePicker/dateRangePickerInput.js +0 -425
- package/dist/components/DateRangePicker/index.d.ts +0 -5
- package/dist/components/DateRangePicker/index.d.ts.map +0 -1
- package/dist/components/DateRangePicker/index.js +0 -330
- package/dist/components/DateRangePicker/showMonthYearSelect.d.ts +0 -2
- package/dist/components/DateRangePicker/showMonthYearSelect.d.ts.map +0 -1
- package/dist/components/DateRangePicker/showMonthYearSelect.js +0 -81
- package/dist/components/DateRangePicker/utils.d.ts +0 -19
- package/dist/components/DateRangePicker/utils.d.ts.map +0 -1
- package/dist/components/DateRangePicker/utils.js +0 -74
- package/dist/components/DynamicLayout/DynamicLayout.types.d.ts +0 -26
- package/dist/components/DynamicLayout/DynamicLayout.types.d.ts.map +0 -1
- package/dist/components/DynamicLayout/index.d.ts +0 -15
- package/dist/components/DynamicLayout/index.d.ts.map +0 -1
- package/dist/components/DynamicLayout/index.js +0 -49
- package/dist/components/EmptyState/EmptyState.types.d.ts +0 -27
- package/dist/components/EmptyState/EmptyState.types.d.ts.map +0 -1
- package/dist/components/EmptyState/EmptyStateImage.d.ts +0 -5
- package/dist/components/EmptyState/EmptyStateImage.d.ts.map +0 -1
- package/dist/components/EmptyState/EmptyStateImage.js +0 -44
- package/dist/components/EmptyState/index.d.ts +0 -10
- package/dist/components/EmptyState/index.d.ts.map +0 -1
- package/dist/components/EmptyState/index.js +0 -56
- package/dist/components/FileUpload/FileUpload.types.d.ts +0 -67
- package/dist/components/FileUpload/FileUpload.types.d.ts.map +0 -1
- package/dist/components/FileUpload/FileUpload.types.js +0 -33
- package/dist/components/FileUpload/TemplatePreview.d.ts +0 -9
- package/dist/components/FileUpload/TemplatePreview.d.ts.map +0 -1
- package/dist/components/FileUpload/TemplatePreview.js +0 -33
- package/dist/components/FileUpload/fileUploadAssets.loader.d.ts +0 -20
- package/dist/components/FileUpload/fileUploadAssets.loader.d.ts.map +0 -1
- package/dist/components/FileUpload/fileUploadAssets.loader.js +0 -24
- package/dist/components/FileUpload/fileUploadUtils.d.ts +0 -4
- package/dist/components/FileUpload/fileUploadUtils.d.ts.map +0 -1
- package/dist/components/FileUpload/fileUploadUtils.js +0 -14
- package/dist/components/FileUpload/index.d.ts +0 -9
- package/dist/components/FileUpload/index.d.ts.map +0 -1
- package/dist/components/FileUpload/index.js +0 -591
- package/dist/components/FileUpload/useFileUploadTemplateState.d.ts +0 -14
- package/dist/components/FileUpload/useFileUploadTemplateState.d.ts.map +0 -1
- package/dist/components/FileUpload/useFileUploadTemplateState.js +0 -46
- package/dist/components/FilterPanel/FilterPanel.types.d.ts +0 -55
- package/dist/components/FilterPanel/FilterPanel.types.d.ts.map +0 -1
- package/dist/components/FilterPanel/FilterPanelHeader.d.ts +0 -9
- package/dist/components/FilterPanel/FilterPanelHeader.d.ts.map +0 -1
- package/dist/components/FilterPanel/FilterPanelHeader.js +0 -16
- package/dist/components/FilterPanel/PanelFooter.d.ts +0 -22
- package/dist/components/FilterPanel/PanelFooter.d.ts.map +0 -1
- package/dist/components/FilterPanel/PanelFooter.js +0 -31
- package/dist/components/FilterPanel/PanelSidebar.d.ts +0 -12
- package/dist/components/FilterPanel/PanelSidebar.d.ts.map +0 -1
- package/dist/components/FilterPanel/PanelSidebar.js +0 -62
- package/dist/components/FilterPanel/index.d.ts +0 -15
- package/dist/components/FilterPanel/index.d.ts.map +0 -1
- package/dist/components/FilterPanel/index.js +0 -109
- package/dist/components/FiltersStrip/AppliedFilters.d.ts +0 -25
- package/dist/components/FiltersStrip/AppliedFilters.d.ts.map +0 -1
- package/dist/components/FiltersStrip/AppliedFilters.js +0 -162
- package/dist/components/FiltersStrip/FilterDropDown.d.ts +0 -22
- package/dist/components/FiltersStrip/FilterDropDown.d.ts.map +0 -1
- package/dist/components/FiltersStrip/FilterDropDown.js +0 -114
- package/dist/components/FiltersStrip/FilterSlider.d.ts +0 -29
- package/dist/components/FiltersStrip/FilterSlider.d.ts.map +0 -1
- package/dist/components/FiltersStrip/FilterSlider.js +0 -257
- package/dist/components/FiltersStrip/FilterSliderPortal.d.ts +0 -23
- package/dist/components/FiltersStrip/FilterSliderPortal.d.ts.map +0 -1
- package/dist/components/FiltersStrip/FilterSliderPortal.js +0 -45
- package/dist/components/FiltersStrip/FiltersStrip.types.d.ts +0 -60
- package/dist/components/FiltersStrip/FiltersStrip.types.d.ts.map +0 -1
- package/dist/components/FiltersStrip/index.d.ts +0 -14
- package/dist/components/FiltersStrip/index.d.ts.map +0 -1
- package/dist/components/FiltersStrip/index.js +0 -151
- package/dist/components/FiltersStrip/mockData.d.ts +0 -29
- package/dist/components/FiltersStrip/mockData.d.ts.map +0 -1
- package/dist/components/Header/Header.types.d.ts +0 -74
- package/dist/components/Header/Header.types.d.ts.map +0 -1
- package/dist/components/Header/index.d.ts +0 -11
- package/dist/components/Header/index.d.ts.map +0 -1
- package/dist/components/Header/index.js +0 -351
- package/dist/components/HomePage/HomePage.types.d.ts +0 -63
- package/dist/components/HomePage/HomePage.types.d.ts.map +0 -1
- package/dist/components/HomePage/constants.d.ts +0 -8
- package/dist/components/HomePage/constants.d.ts.map +0 -1
- package/dist/components/HomePage/constants.js +0 -310
- package/dist/components/HomePage/index.d.ts +0 -9
- package/dist/components/HomePage/index.d.ts.map +0 -1
- package/dist/components/HomePage/index.js +0 -604
- package/dist/components/Input/HelperText.d.ts +0 -8
- package/dist/components/Input/HelperText.d.ts.map +0 -1
- package/dist/components/Input/HelperText.js +0 -18
- package/dist/components/Input/Input.types.d.ts +0 -151
- package/dist/components/Input/Input.types.d.ts.map +0 -1
- package/dist/components/Input/InputWithIcon.d.ts +0 -7
- package/dist/components/Input/InputWithIcon.d.ts.map +0 -1
- package/dist/components/Input/InputWithIcon.js +0 -103
- package/dist/components/Input/VanillaInput.d.ts +0 -7
- package/dist/components/Input/VanillaInput.d.ts.map +0 -1
- package/dist/components/Input/VanillaInput.js +0 -57
- package/dist/components/Input/index.d.ts +0 -24
- package/dist/components/Input/index.d.ts.map +0 -1
- package/dist/components/Input/index.js +0 -72
- package/dist/components/KeyboardShortCuts/Keycombo.d.ts +0 -17
- package/dist/components/KeyboardShortCuts/Keycombo.d.ts.map +0 -1
- package/dist/components/KeyboardShortCuts/Keycombo.js +0 -31
- package/dist/components/KeyboardShortCuts/ShortcutLandingPage.d.ts +0 -7
- package/dist/components/KeyboardShortCuts/ShortcutLandingPage.d.ts.map +0 -1
- package/dist/components/KeyboardShortCuts/ShortcutLandingPage.js +0 -103
- package/dist/components/KeyboardShortCuts/ShortcutModal.d.ts +0 -7
- package/dist/components/KeyboardShortCuts/ShortcutModal.d.ts.map +0 -1
- package/dist/components/KeyboardShortCuts/ShortcutModal.js +0 -143
- package/dist/components/KeyboardShortCuts/StarOutlineIcon.d.ts +0 -3
- package/dist/components/KeyboardShortCuts/StarOutlineIcon.d.ts.map +0 -1
- package/dist/components/KeyboardShortCuts/allSetBox.d.ts +0 -5
- package/dist/components/KeyboardShortCuts/allSetBox.d.ts.map +0 -1
- package/dist/components/KeyboardShortCuts/allSetBox.js +0 -37
- package/dist/components/KeyboardShortCuts/index.d.ts +0 -14
- package/dist/components/KeyboardShortCuts/index.d.ts.map +0 -1
- package/dist/components/KeyboardShortCuts/index.js +0 -173
- package/dist/components/KeyboardShortCuts/screen2.d.ts +0 -4
- package/dist/components/KeyboardShortCuts/screen2.d.ts.map +0 -1
- package/dist/components/KeyboardShortCuts/screen2.js +0 -22
- package/dist/components/KeyboardShortCuts/screen3.d.ts +0 -4
- package/dist/components/KeyboardShortCuts/screen3.d.ts.map +0 -1
- package/dist/components/KeyboardShortCuts/screen3.js +0 -22
- package/dist/components/KeyboardShortCuts/tutorial.d.ts +0 -8
- package/dist/components/KeyboardShortCuts/tutorial.d.ts.map +0 -1
- package/dist/components/KeyboardShortCuts/tutorial.js +0 -254
- package/dist/components/Loader/Loader.types.d.ts +0 -52
- package/dist/components/Loader/Loader.types.d.ts.map +0 -1
- package/dist/components/Loader/index.d.ts +0 -12
- package/dist/components/Loader/index.d.ts.map +0 -1
- package/dist/components/Loader/index.js +0 -103
- package/dist/components/Menu/IconMenuItem.d.ts +0 -21
- package/dist/components/Menu/IconMenuItem.d.ts.map +0 -1
- package/dist/components/Menu/IconMenuItem.js +0 -84
- package/dist/components/Menu/Menu.types.d.ts +0 -121
- package/dist/components/Menu/Menu.types.d.ts.map +0 -1
- package/dist/components/Menu/MenuHeaderInfo.d.ts +0 -7
- package/dist/components/Menu/MenuHeaderInfo.d.ts.map +0 -1
- package/dist/components/Menu/MenuHeaderInfo.js +0 -256
- package/dist/components/Menu/MenuHeaderInfo.types.d.ts +0 -60
- package/dist/components/Menu/MenuHeaderInfo.types.d.ts.map +0 -1
- package/dist/components/Menu/NestedMenuItem.d.ts +0 -26
- package/dist/components/Menu/NestedMenuItem.d.ts.map +0 -1
- package/dist/components/Menu/NestedMenuItem.js +0 -161
- package/dist/components/Menu/index.d.ts +0 -14
- package/dist/components/Menu/index.d.ts.map +0 -1
- package/dist/components/Menu/index.js +0 -196
- package/dist/components/Menu/nestedMenuItemsFromObject.d.ts +0 -24
- package/dist/components/Menu/nestedMenuItemsFromObject.d.ts.map +0 -1
- package/dist/components/Menu/nestedMenuItemsFromObject.js +0 -93
- package/dist/components/Modal/Modal.types.d.ts +0 -40
- package/dist/components/Modal/Modal.types.d.ts.map +0 -1
- package/dist/components/Modal/index.d.ts +0 -8
- package/dist/components/Modal/index.d.ts.map +0 -1
- package/dist/components/Modal/index.js +0 -116
- package/dist/components/MonthPicker/DefaultYearSelect.d.ts +0 -4
- package/dist/components/MonthPicker/DefaultYearSelect.d.ts.map +0 -1
- package/dist/components/MonthPicker/MonthPicker.types.d.ts +0 -58
- package/dist/components/MonthPicker/MonthPicker.types.d.ts.map +0 -1
- package/dist/components/MonthPicker/constants.d.ts +0 -2
- package/dist/components/MonthPicker/constants.d.ts.map +0 -1
- package/dist/components/MonthPicker/constants.js +0 -4
- package/dist/components/MonthPicker/index.d.ts +0 -9
- package/dist/components/MonthPicker/index.d.ts.map +0 -1
- package/dist/components/MonthPicker/index.js +0 -457
- package/dist/components/MonthRangePicker/MonthRangePicker.types.d.ts +0 -30
- package/dist/components/MonthRangePicker/MonthRangePicker.types.d.ts.map +0 -1
- package/dist/components/MonthRangePicker/constants.d.ts +0 -2
- package/dist/components/MonthRangePicker/constants.d.ts.map +0 -1
- package/dist/components/MonthRangePicker/constants.js +0 -4
- package/dist/components/MonthRangePicker/index.d.ts +0 -25
- package/dist/components/MonthRangePicker/index.d.ts.map +0 -1
- package/dist/components/MonthRangePicker/index.js +0 -611
- package/dist/components/Notification/Notification.types.d.ts +0 -105
- package/dist/components/Notification/Notification.types.d.ts.map +0 -1
- package/dist/components/Notification/NotificationBody/NotificationBody.types.d.ts +0 -35
- package/dist/components/Notification/NotificationBody/NotificationBody.types.d.ts.map +0 -1
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationChipsList.d.ts +0 -23
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationChipsList.d.ts.map +0 -1
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationChipsList.js +0 -118
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationList.d.ts +0 -30
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationList.d.ts.map +0 -1
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationList.js +0 -221
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationListItem.d.ts +0 -14
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationListItem.d.ts.map +0 -1
- package/dist/components/Notification/NotificationBody/NotificationList/NotificationListItem.js +0 -548
- package/dist/components/Notification/NotificationBody/NotificationPanelContent.d.ts +0 -9
- package/dist/components/Notification/NotificationBody/NotificationPanelContent.d.ts.map +0 -1
- package/dist/components/Notification/NotificationBody/NotificationPanelContent.js +0 -71
- package/dist/components/Notification/NotificationBody/NotificationTaskList.d.ts +0 -43
- package/dist/components/Notification/NotificationBody/NotificationTaskList.d.ts.map +0 -1
- package/dist/components/Notification/NotificationBody/NotificationTaskList.js +0 -255
- package/dist/components/Notification/NotificationBody/index.d.ts +0 -11
- package/dist/components/Notification/NotificationBody/index.d.ts.map +0 -1
- package/dist/components/Notification/NotificationBody/index.js +0 -89
- package/dist/components/Notification/NotificationFooter.d.ts +0 -11
- package/dist/components/Notification/NotificationFooter.d.ts.map +0 -1
- package/dist/components/Notification/NotificationFooter.js +0 -20
- package/dist/components/Notification/NotificationHeader.d.ts +0 -15
- package/dist/components/Notification/NotificationHeader.d.ts.map +0 -1
- package/dist/components/Notification/NotificationHeader.js +0 -39
- package/dist/components/Notification/index.d.ts +0 -10
- package/dist/components/Notification/index.d.ts.map +0 -1
- package/dist/components/Notification/index.js +0 -130
- package/dist/components/Notification/mockData.d.ts +0 -14
- package/dist/components/Notification/mockData.d.ts.map +0 -1
- package/dist/components/Panel/Panel.types.d.ts +0 -53
- package/dist/components/Panel/Panel.types.d.ts.map +0 -1
- package/dist/components/Panel/index.d.ts +0 -5
- package/dist/components/Panel/index.d.ts.map +0 -1
- package/dist/components/Panel/index.js +0 -153
- package/dist/components/Popover/Popover.types.d.ts +0 -29
- package/dist/components/Popover/Popover.types.d.ts.map +0 -1
- package/dist/components/Popover/index.d.ts +0 -11
- package/dist/components/Popover/index.d.ts.map +0 -1
- package/dist/components/Popover/index.js +0 -76
- package/dist/components/Portal/Portal.types.d.ts +0 -14
- package/dist/components/Portal/Portal.types.d.ts.map +0 -1
- package/dist/components/Portal/index.d.ts +0 -12
- package/dist/components/Portal/index.d.ts.map +0 -1
- package/dist/components/Portal/index.js +0 -18
- package/dist/components/ProgressBar/ProgressBar.types.d.ts +0 -14
- package/dist/components/ProgressBar/ProgressBar.types.d.ts.map +0 -1
- package/dist/components/ProgressBar/index.d.ts +0 -8
- package/dist/components/ProgressBar/index.d.ts.map +0 -1
- package/dist/components/ProgressBar/index.js +0 -52
- package/dist/components/Prompt/Prompt.types.d.ts +0 -30
- package/dist/components/Prompt/Prompt.types.d.ts.map +0 -1
- package/dist/components/Prompt/index.d.ts +0 -11
- package/dist/components/Prompt/index.d.ts.map +0 -1
- package/dist/components/Prompt/index.js +0 -89
- package/dist/components/RadioButtonGroup/RadioButtonGroup.types.d.ts +0 -22
- package/dist/components/RadioButtonGroup/RadioButtonGroup.types.d.ts.map +0 -1
- package/dist/components/RadioButtonGroup/index.d.ts +0 -8
- package/dist/components/RadioButtonGroup/index.d.ts.map +0 -1
- package/dist/components/RadioButtonGroup/index.js +0 -90
- package/dist/components/Select/SearchFilter.d.ts +0 -5
- package/dist/components/Select/SearchFilter.d.ts.map +0 -1
- package/dist/components/Select/SearchFilter.js +0 -179
- package/dist/components/Select/Select.types.d.ts +0 -241
- package/dist/components/Select/Select.types.d.ts.map +0 -1
- package/dist/components/Select/customGroupHeading.d.ts +0 -4
- package/dist/components/Select/customGroupHeading.d.ts.map +0 -1
- package/dist/components/Select/customGroupHeading.js +0 -30
- package/dist/components/Select/dropdown.d.ts +0 -4
- package/dist/components/Select/dropdown.d.ts.map +0 -1
- package/dist/components/Select/dropdown.js +0 -53
- package/dist/components/Select/hooks/index.d.ts +0 -6
- package/dist/components/Select/hooks/index.d.ts.map +0 -1
- package/dist/components/Select/hooks/useClickOutside.d.ts +0 -9
- package/dist/components/Select/hooks/useClickOutside.d.ts.map +0 -1
- package/dist/components/Select/hooks/useClickOutside.js +0 -32
- package/dist/components/Select/hooks/useKeyboardNavigation.d.ts +0 -22
- package/dist/components/Select/hooks/useKeyboardNavigation.d.ts.map +0 -1
- package/dist/components/Select/hooks/useKeyboardNavigation.js +0 -160
- package/dist/components/Select/hooks/useMenuPosition.d.ts +0 -16
- package/dist/components/Select/hooks/useMenuPosition.d.ts.map +0 -1
- package/dist/components/Select/hooks/useMenuPosition.js +0 -185
- package/dist/components/Select/hooks/useScrollIntoView.d.ts +0 -12
- package/dist/components/Select/hooks/useScrollIntoView.d.ts.map +0 -1
- package/dist/components/Select/hooks/useScrollIntoView.js +0 -30
- package/dist/components/Select/hooks/useTypeahead.d.ts +0 -11
- package/dist/components/Select/hooks/useTypeahead.d.ts.map +0 -1
- package/dist/components/Select/hooks/useTypeahead.js +0 -41
- package/dist/components/Select/index.d.ts +0 -6
- package/dist/components/Select/index.d.ts.map +0 -1
- package/dist/components/Select/index.js +0 -1260
- package/dist/components/Select/menuList.d.ts +0 -6
- package/dist/components/Select/menuList.d.ts.map +0 -1
- package/dist/components/Select/menuList.js +0 -118
- package/dist/components/Select/optionList.d.ts +0 -6
- package/dist/components/Select/optionList.d.ts.map +0 -1
- package/dist/components/Select/optionList.js +0 -140
- package/dist/components/Select/selected-option-tags.d.ts +0 -6
- package/dist/components/Select/selected-option-tags.d.ts.map +0 -1
- package/dist/components/Select/selected-option-tags.js +0 -80
- package/dist/components/Select/utils.d.ts +0 -16
- package/dist/components/Select/utils.d.ts.map +0 -1
- package/dist/components/Select/utils.js +0 -95
- package/dist/components/Shortcuts/ShortcutContext.d.ts +0 -3
- package/dist/components/Shortcuts/ShortcutContext.d.ts.map +0 -1
- package/dist/components/Shortcuts/ShortcutContext.js +0 -5
- package/dist/components/Shortcuts/ShortcutHint.d.ts +0 -9
- package/dist/components/Shortcuts/ShortcutHint.d.ts.map +0 -1
- package/dist/components/Shortcuts/ShortcutHint.js +0 -33
- package/dist/components/Shortcuts/ShortcutScope.d.ts +0 -9
- package/dist/components/Shortcuts/ShortcutScope.d.ts.map +0 -1
- package/dist/components/Shortcuts/ShortcutScope.js +0 -10
- package/dist/components/Shortcuts/ShortcutsConfigContext.d.ts +0 -7
- package/dist/components/Shortcuts/ShortcutsConfigContext.d.ts.map +0 -1
- package/dist/components/Shortcuts/ShortcutsConfigContext.js +0 -8
- package/dist/components/Shortcuts/ShortcutsProvider.d.ts +0 -9
- package/dist/components/Shortcuts/ShortcutsProvider.d.ts.map +0 -1
- package/dist/components/Shortcuts/ShortcutsProvider.js +0 -18
- package/dist/components/Shortcuts/index.d.ts +0 -13
- package/dist/components/Shortcuts/index.d.ts.map +0 -1
- package/dist/components/Shortcuts/useShortcut.d.ts +0 -6
- package/dist/components/Shortcuts/useShortcut.d.ts.map +0 -1
- package/dist/components/Shortcuts/useShortcut.js +0 -95
- package/dist/components/Shortcuts/useShortcutScope.d.ts +0 -5
- package/dist/components/Shortcuts/useShortcutScope.d.ts.map +0 -1
- package/dist/components/Shortcuts/useShortcutScope.js +0 -25
- package/dist/components/Sidebar/ChildMenu.d.ts +0 -16
- package/dist/components/Sidebar/ChildMenu.d.ts.map +0 -1
- package/dist/components/Sidebar/ChildMenu.js +0 -121
- package/dist/components/Sidebar/ParentMenu.d.ts +0 -18
- package/dist/components/Sidebar/ParentMenu.d.ts.map +0 -1
- package/dist/components/Sidebar/ParentMenu.js +0 -162
- package/dist/components/Sidebar/Sidebar.types.d.ts +0 -40
- package/dist/components/Sidebar/Sidebar.types.d.ts.map +0 -1
- package/dist/components/Sidebar/SidebarActions.d.ts +0 -13
- package/dist/components/Sidebar/SidebarActions.d.ts.map +0 -1
- package/dist/components/Sidebar/SidebarActions.js +0 -41
- package/dist/components/Sidebar/SidebarMenus.d.ts +0 -19
- package/dist/components/Sidebar/SidebarMenus.d.ts.map +0 -1
- package/dist/components/Sidebar/SidebarMenus.js +0 -136
- package/dist/components/Sidebar/index.d.ts +0 -8
- package/dist/components/Sidebar/index.d.ts.map +0 -1
- package/dist/components/Sidebar/index.js +0 -133
- package/dist/components/Sidebar/mock.d.ts +0 -5
- package/dist/components/Sidebar/mock.d.ts.map +0 -1
- package/dist/components/Sidebar/utils.d.ts +0 -4
- package/dist/components/Sidebar/utils.d.ts.map +0 -1
- package/dist/components/Sidebar/utils.js +0 -8
- package/dist/components/Skeleton/Skeleton.types.d.ts +0 -39
- package/dist/components/Skeleton/Skeleton.types.d.ts.map +0 -1
- package/dist/components/Skeleton/index.d.ts +0 -13
- package/dist/components/Skeleton/index.d.ts.map +0 -1
- package/dist/components/Skeleton/index.js +0 -94
- package/dist/components/Slider/Slider.types.d.ts +0 -43
- package/dist/components/Slider/Slider.types.d.ts.map +0 -1
- package/dist/components/Slider/index.d.ts +0 -11
- package/dist/components/Slider/index.d.ts.map +0 -1
- package/dist/components/Slider/index.js +0 -255
- package/dist/components/Stepper/Stepper.types.d.ts +0 -24
- package/dist/components/Stepper/Stepper.types.d.ts.map +0 -1
- package/dist/components/Stepper/index.d.ts +0 -7
- package/dist/components/Stepper/index.d.ts.map +0 -1
- package/dist/components/Stepper/index.js +0 -114
- package/dist/components/Switch/Switch.types.d.ts +0 -76
- package/dist/components/Switch/Switch.types.d.ts.map +0 -1
- package/dist/components/Switch/index.d.ts +0 -29
- package/dist/components/Switch/index.d.ts.map +0 -1
- package/dist/components/Switch/index.js +0 -71
- package/dist/components/Table/AdvanceSearchModalItem.d.ts +0 -27
- package/dist/components/Table/AdvanceSearchModalItem.d.ts.map +0 -1
- package/dist/components/Table/AdvanceSearchModalItem.js +0 -313
- package/dist/components/Table/AdvanceSortModal.d.ts +0 -8
- package/dist/components/Table/AdvanceSortModal.d.ts.map +0 -1
- package/dist/components/Table/AdvanceSortModal.js +0 -299
- package/dist/components/Table/AgGridHeader.d.ts +0 -13
- package/dist/components/Table/AgGridHeader.d.ts.map +0 -1
- package/dist/components/Table/AgGridHeader.js +0 -810
- package/dist/components/Table/CommentsPortal.d.ts +0 -29
- package/dist/components/Table/CommentsPortal.d.ts.map +0 -1
- package/dist/components/Table/CommentsPortal.js +0 -361
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModal.d.ts +0 -13
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModal.d.ts.map +0 -1
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModal.js +0 -285
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModalItem.d.ts +0 -17
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModalItem.d.ts.map +0 -1
- package/dist/components/Table/NewAdvanceSearchModal/NewAdvanceSearchModalItem.js +0 -326
- package/dist/components/Table/NoComments.d.ts +0 -16
- package/dist/components/Table/NoComments.d.ts.map +0 -1
- package/dist/components/Table/NoComments.js +0 -238
- package/dist/components/Table/Table.types.d.ts +0 -36
- package/dist/components/Table/Table.types.d.ts.map +0 -1
- package/dist/components/Table/actionBar.d.ts +0 -7
- package/dist/components/Table/actionBar.d.ts.map +0 -1
- package/dist/components/Table/actionBar.js +0 -35
- package/dist/components/Table/advanceSearchModal.d.ts +0 -20
- package/dist/components/Table/advanceSearchModal.d.ts.map +0 -1
- package/dist/components/Table/advanceSearchModal.js +0 -601
- package/dist/components/Table/agGridLocale.d.ts +0 -33
- package/dist/components/Table/agGridLocale.d.ts.map +0 -1
- package/dist/components/Table/agGridLocale.js +0 -59
- package/dist/components/Table/filterUtils.d.ts +0 -186
- package/dist/components/Table/filterUtils.d.ts.map +0 -1
- package/dist/components/Table/filterUtils.js +0 -552
- package/dist/components/Table/filterUtils.test.d.ts +0 -2
- package/dist/components/Table/filterUtils.test.d.ts.map +0 -1
- package/dist/components/Table/index.d.ts +0 -3
- package/dist/components/Table/index.d.ts.map +0 -1
- package/dist/components/Table/index.js +0 -1435
- package/dist/components/Table/mockData.d.ts +0 -39
- package/dist/components/Table/mockData.d.ts.map +0 -1
- package/dist/components/Table/tableFunctions.d.ts +0 -56
- package/dist/components/Table/tableFunctions.d.ts.map +0 -1
- package/dist/components/Table/tableFunctions.js +0 -1376
- package/dist/components/Table/tableHeader.d.ts +0 -80
- package/dist/components/Table/tableHeader.d.ts.map +0 -1
- package/dist/components/Table/tableHeader.js +0 -405
- package/dist/components/Table/tableIcons.d.ts +0 -3
- package/dist/components/Table/tableIcons.d.ts.map +0 -1
- package/dist/components/Table/tableMoreOptions.d.ts +0 -52
- package/dist/components/Table/tableMoreOptions.d.ts.map +0 -1
- package/dist/components/Table/tableMoreOptions.js +0 -321
- package/dist/components/Table/tablePagination.d.ts +0 -7
- package/dist/components/Table/tablePagination.d.ts.map +0 -1
- package/dist/components/Table/tablePagination.js +0 -77
- package/dist/components/Table/tableSettings.d.ts +0 -41
- package/dist/components/Table/tableSettings.d.ts.map +0 -1
- package/dist/components/Table/tableSettings.js +0 -281
- package/dist/components/Table/withCommentIcon.d.ts +0 -2
- package/dist/components/Table/withCommentIcon.d.ts.map +0 -1
- package/dist/components/Table/withCommentIcon.js +0 -88
- package/dist/components/TableChat/EmptyContainer.d.ts +0 -6
- package/dist/components/TableChat/EmptyContainer.d.ts.map +0 -1
- package/dist/components/TableChat/EmptyContainer.js +0 -14
- package/dist/components/TableChat/TableChatSidePanel.d.ts +0 -8
- package/dist/components/TableChat/TableChatSidePanel.d.ts.map +0 -1
- package/dist/components/TableChat/TableChatSidePanel.js +0 -624
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatFooterSkeleton.d.ts +0 -4
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatFooterSkeleton.d.ts.map +0 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatFooterSkeleton.js +0 -35
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatHeaderSkeleton.d.ts +0 -4
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatHeaderSkeleton.d.ts.map +0 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatHeaderSkeleton.js +0 -23
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatMessageListSkeleton.d.ts +0 -7
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatMessageListSkeleton.d.ts.map +0 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatMessageListSkeleton.js +0 -61
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatSkeleton.d.ts +0 -4
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatSkeleton.d.ts.map +0 -1
- package/dist/components/TableChat/components/ChatMessageSkeleton/ChatSkeleton.js +0 -16
- package/dist/components/TableChat/components/SkeletonList.d.ts +0 -5
- package/dist/components/TableChat/components/SkeletonList.d.ts.map +0 -1
- package/dist/components/TableChat/components/SkeletonList.js +0 -11
- package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.d.ts +0 -11
- package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.d.ts.map +0 -1
- package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.js +0 -171
- package/dist/components/TableChat/components/TableChatLeftSection/ChannelCheckbox/ChannelCheckbox.d.ts +0 -11
- package/dist/components/TableChat/components/TableChatLeftSection/ChannelCheckbox/ChannelCheckbox.d.ts.map +0 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChannelCheckbox/ChannelCheckbox.js +0 -37
- package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.d.ts +0 -23
- package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.d.ts.map +0 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.js +0 -110
- package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelList.d.ts +0 -12
- package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelList.d.ts.map +0 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelList.js +0 -77
- package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderButton/ChatHeaderButton.d.ts +0 -11
- package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderButton/ChatHeaderButton.d.ts.map +0 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderButton/ChatHeaderButton.js +0 -31
- package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderNavigation.d.ts +0 -2
- package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderNavigation.d.ts.map +0 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderNavigation.js +0 -157
- package/dist/components/TableChat/components/TableChatLeftSection/ChatIconButton/ChatIconButton.d.ts +0 -10
- package/dist/components/TableChat/components/TableChatLeftSection/ChatIconButton/ChatIconButton.d.ts.map +0 -1
- package/dist/components/TableChat/components/TableChatLeftSection/ChatIconButton/ChatIconButton.js +0 -26
- package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.d.ts +0 -31
- package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.d.ts.map +0 -1
- package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.js +0 -87
- package/dist/components/TableChat/components/TableChatLeftSection/UnreadBadge/UnreadBadge.d.ts +0 -7
- package/dist/components/TableChat/components/TableChatLeftSection/UnreadBadge/UnreadBadge.d.ts.map +0 -1
- package/dist/components/TableChat/components/TableChatLeftSection/UnreadBadge/UnreadBadge.js +0 -16
- package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.d.ts +0 -13
- package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.d.ts.map +0 -1
- package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.js +0 -122
- package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.d.ts +0 -19
- package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.d.ts.map +0 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.js +0 -200
- package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.d.ts +0 -6
- package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.d.ts.map +0 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.js +0 -24
- package/dist/components/TableChat/components/TableChatRightSection/ChatEditedMessageType/ChatEditedMessageType.d.ts +0 -12
- package/dist/components/TableChat/components/TableChatRightSection/ChatEditedMessageType/ChatEditedMessageType.d.ts.map +0 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatEditedMessageType/ChatEditedMessageType.js +0 -65
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.d.ts +0 -14
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.d.ts.map +0 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.js +0 -343
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.d.ts +0 -36
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.d.ts.map +0 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.js +0 -339
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.d.ts +0 -9
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.d.ts.map +0 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.js +0 -36
- package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.d.ts +0 -22
- package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.d.ts.map +0 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.js +0 -604
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessageActions/ChatMessageActions.d.ts +0 -12
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessageActions/ChatMessageActions.d.ts.map +0 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessageAvatar/ChatMessageAvatar.d.ts +0 -6
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessageAvatar/ChatMessageAvatar.d.ts.map +0 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessageAvatar/ChatMessageAvatar.js +0 -10
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.d.ts +0 -34
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.d.ts.map +0 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.js +0 -193
- package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.d.ts +0 -13
- package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.d.ts.map +0 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.js +0 -166
- package/dist/components/TableChat/components/TableChatRightSection/DateSeparator/DateSeparator.d.ts +0 -6
- package/dist/components/TableChat/components/TableChatRightSection/DateSeparator/DateSeparator.d.ts.map +0 -1
- package/dist/components/TableChat/components/TableChatRightSection/DateSeparator/DateSeparator.js +0 -30
- package/dist/components/TableChat/components/TableChatRightSection/EmojiPicker/EmojiPicker.d.ts +0 -8
- package/dist/components/TableChat/components/TableChatRightSection/EmojiPicker/EmojiPicker.d.ts.map +0 -1
- package/dist/components/TableChat/components/TableChatRightSection/EmojiPicker/EmojiPicker.js +0 -28
- package/dist/components/TableChat/components/TableChatRightSection/FileUploader/FileUploader.d.ts +0 -12
- package/dist/components/TableChat/components/TableChatRightSection/FileUploader/FileUploader.d.ts.map +0 -1
- package/dist/components/TableChat/components/TableChatRightSection/FileUploader/FileUploader.js +0 -146
- package/dist/components/TableChat/components/TableChatRightSection/ImageUploader/ImageUploader.d.ts +0 -12
- package/dist/components/TableChat/components/TableChatRightSection/ImageUploader/ImageUploader.d.ts.map +0 -1
- package/dist/components/TableChat/components/TableChatRightSection/ImageUploader/ImageUploader.js +0 -136
- package/dist/components/TableChat/components/TableChatRightSection/PinedChatPanel/PinedChatPanel.d.ts +0 -8
- package/dist/components/TableChat/components/TableChatRightSection/PinedChatPanel/PinedChatPanel.d.ts.map +0 -1
- package/dist/components/TableChat/components/TableChatRightSection/PinedChatPanel/PinedChatPanel.js +0 -184
- package/dist/components/TableChat/components/TableChatRightSection/ReplyBadge/ReplyBadge.d.ts +0 -10
- package/dist/components/TableChat/components/TableChatRightSection/ReplyBadge/ReplyBadge.d.ts.map +0 -1
- package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.d.ts +0 -31
- package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.d.ts.map +0 -1
- package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.js +0 -959
- package/dist/components/TableChat/components/TextEditor/EditorToolbar.d.ts +0 -4
- package/dist/components/TableChat/components/TextEditor/EditorToolbar.d.ts.map +0 -1
- package/dist/components/TableChat/components/TextEditor/EditorToolbar.js +0 -198
- package/dist/components/TableChat/components/TextEditor/Mention.d.ts +0 -3
- package/dist/components/TableChat/components/TextEditor/Mention.d.ts.map +0 -1
- package/dist/components/TableChat/components/TextEditor/Mention.js +0 -183
- package/dist/components/TableChat/components/TextEditor/MentionList.d.ts +0 -3
- package/dist/components/TableChat/components/TextEditor/MentionList.d.ts.map +0 -1
- package/dist/components/TableChat/components/TextEditor/MentionList.js +0 -86
- package/dist/components/TableChat/components/TextEditor/suggestion.d.ts +0 -19
- package/dist/components/TableChat/components/TextEditor/suggestion.d.ts.map +0 -1
- package/dist/components/TableChat/components/TextEditor/suggestion.js +0 -89
- package/dist/components/TableChat/components/chatConfig.d.ts +0 -37
- package/dist/components/TableChat/components/chatConfig.d.ts.map +0 -1
- package/dist/components/TableChat/components/chatConfig.js +0 -21
- package/dist/components/TableChat/hooks/useInfiniteScroll.d.ts +0 -19
- package/dist/components/TableChat/hooks/useInfiniteScroll.d.ts.map +0 -1
- package/dist/components/TableChat/hooks/useInfiniteScroll.js +0 -193
- package/dist/components/TableChat/utils/formatChatTimestamp.d.ts +0 -5
- package/dist/components/TableChat/utils/formatChatTimestamp.d.ts.map +0 -1
- package/dist/components/TableChat/utils/formatChatTimestamp.js +0 -14
- package/dist/components/TableOld/AgGridHeader.d.ts +0 -12
- package/dist/components/TableOld/AgGridHeader.d.ts.map +0 -1
- package/dist/components/TableOld/AgGridHeader.js +0 -494
- package/dist/components/TableOld/actionBar.d.ts +0 -7
- package/dist/components/TableOld/actionBar.d.ts.map +0 -1
- package/dist/components/TableOld/actionBar.js +0 -35
- package/dist/components/TableOld/index.d.ts +0 -3
- package/dist/components/TableOld/index.d.ts.map +0 -1
- package/dist/components/TableOld/index.js +0 -608
- package/dist/components/TableOld/mockData.d.ts +0 -39
- package/dist/components/TableOld/mockData.d.ts.map +0 -1
- package/dist/components/TableOld/tableFunctions.d.ts +0 -56
- package/dist/components/TableOld/tableFunctions.d.ts.map +0 -1
- package/dist/components/TableOld/tableFunctions.js +0 -1380
- package/dist/components/TableOld/tableHeader.d.ts +0 -52
- package/dist/components/TableOld/tableHeader.d.ts.map +0 -1
- package/dist/components/TableOld/tableHeader.js +0 -227
- package/dist/components/TableOld/tableIcons.d.ts +0 -3
- package/dist/components/TableOld/tableIcons.d.ts.map +0 -1
- package/dist/components/TableOld/tablePagination.d.ts +0 -8
- package/dist/components/TableOld/tablePagination.d.ts.map +0 -1
- package/dist/components/TableOld/tablePagination.js +0 -80
- package/dist/components/TableOld/tableSettings.d.ts +0 -11
- package/dist/components/TableOld/tableSettings.d.ts.map +0 -1
- package/dist/components/Tabs/TabPanel.d.ts +0 -12
- package/dist/components/Tabs/TabPanel.d.ts.map +0 -1
- package/dist/components/Tabs/TabPanel.js +0 -28
- package/dist/components/Tabs/TabPanel.types.d.ts +0 -15
- package/dist/components/Tabs/TabPanel.types.d.ts.map +0 -1
- package/dist/components/Tabs/Tabs.types.d.ts +0 -31
- package/dist/components/Tabs/Tabs.types.d.ts.map +0 -1
- package/dist/components/Tabs/index.d.ts +0 -14
- package/dist/components/Tabs/index.d.ts.map +0 -1
- package/dist/components/Tabs/index.js +0 -90
- package/dist/components/Tag/Tag.types.d.ts +0 -114
- package/dist/components/Tag/Tag.types.d.ts.map +0 -1
- package/dist/components/Tag/filled.d.ts +0 -8
- package/dist/components/Tag/filled.d.ts.map +0 -1
- package/dist/components/Tag/filled.js +0 -60
- package/dist/components/Tag/index.d.ts +0 -31
- package/dist/components/Tag/index.d.ts.map +0 -1
- package/dist/components/Tag/index.js +0 -40
- package/dist/components/Tag/solid.d.ts +0 -8
- package/dist/components/Tag/solid.d.ts.map +0 -1
- package/dist/components/Tag/solid.js +0 -60
- package/dist/components/Tag/stroke.d.ts +0 -8
- package/dist/components/Tag/stroke.d.ts.map +0 -1
- package/dist/components/Tag/stroke.js +0 -60
- package/dist/components/Tag/utils.d.ts +0 -9
- package/dist/components/Tag/utils.d.ts.map +0 -1
- package/dist/components/Tag/utils.js +0 -15
- package/dist/components/TagGroup/TagGroup.types.d.ts +0 -11
- package/dist/components/TagGroup/TagGroup.types.d.ts.map +0 -1
- package/dist/components/TagGroup/index.d.ts +0 -11
- package/dist/components/TagGroup/index.d.ts.map +0 -1
- package/dist/components/TagGroup/index.js +0 -27
- package/dist/components/TextArea/TextArea.types.d.ts +0 -32
- package/dist/components/TextArea/TextArea.types.d.ts.map +0 -1
- package/dist/components/TextArea/index.d.ts +0 -8
- package/dist/components/TextArea/index.d.ts.map +0 -1
- package/dist/components/TextArea/index.js +0 -103
- package/dist/components/Toast/Toast.types.d.ts +0 -22
- package/dist/components/Toast/Toast.types.d.ts.map +0 -1
- package/dist/components/Toast/index.d.ts +0 -8
- package/dist/components/Toast/index.d.ts.map +0 -1
- package/dist/components/Toast/index.js +0 -37
- package/dist/components/Tooltip/Tooltip.types.d.ts +0 -20
- package/dist/components/Tooltip/Tooltip.types.d.ts.map +0 -1
- package/dist/components/Tooltip/index.d.ts +0 -5
- package/dist/components/Tooltip/index.d.ts.map +0 -1
- package/dist/components/Tooltip/index.js +0 -66
- package/dist/components/YearSelect/YearSelect.types.d.ts +0 -24
- package/dist/components/YearSelect/YearSelect.types.d.ts.map +0 -1
- package/dist/components/YearSelect/index.d.ts +0 -9
- package/dist/components/YearSelect/index.d.ts.map +0 -1
- package/dist/components/common/HelperText/HelperText.types.d.ts +0 -12
- package/dist/components/common/HelperText/HelperText.types.d.ts.map +0 -1
- package/dist/components/common/HelperText/index.d.ts +0 -11
- package/dist/components/common/HelperText/index.d.ts.map +0 -1
- package/dist/components/common/HelperText/index.js +0 -44
- package/dist/components/common/MentionEditor/MentionList/index.d.ts +0 -4
- package/dist/components/common/MentionEditor/MentionList/index.d.ts.map +0 -1
- package/dist/components/common/MentionEditor/MentionList/index.js +0 -99
- package/dist/components/common/MentionEditor/index.d.ts +0 -4
- package/dist/components/common/MentionEditor/index.d.ts.map +0 -1
- package/dist/components/common/MentionEditor/index.js +0 -168
- package/dist/components/common/MentionEditor/suggestion.d.ts +0 -19
- package/dist/components/common/MentionEditor/suggestion.d.ts.map +0 -1
- package/dist/components/common/MentionEditor/suggestion.js +0 -89
- package/dist/components/index.d.ts +0 -112
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/index.js +0 -176
- package/dist/i18n/I18nContext.d.ts +0 -23
- package/dist/i18n/I18nContext.d.ts.map +0 -1
- package/dist/i18n/I18nContext.js +0 -58
- package/dist/i18n/index.d.ts +0 -9
- package/dist/i18n/index.d.ts.map +0 -1
- package/dist/i18n/translate.d.ts +0 -15
- package/dist/i18n/translate.d.ts.map +0 -1
- package/dist/i18n/translate.js +0 -22
- package/dist/i18n/types.d.ts +0 -18
- package/dist/i18n/types.d.ts.map +0 -1
- package/dist/i18n/useI18n.d.ts +0 -10
- package/dist/i18n/useI18n.d.ts.map +0 -1
- package/dist/i18n/useI18n.js +0 -28
- package/dist/i18n/useTranslation.d.ts +0 -15
- package/dist/i18n/useTranslation.d.ts.map +0 -1
- package/dist/i18n/useTranslation.js +0 -8
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +0 -1
- package/dist/locales/de-DE.json.d.ts +0 -560
- package/dist/locales/de-DE.json.js +0 -504
- package/dist/locales/en-US.json.d.ts +0 -555
- package/dist/locales/en-US.json.js +0 -501
- package/dist/locales/index.d.ts +0 -24
- package/dist/locales/index.d.ts.map +0 -1
- package/dist/locales/index.js +0 -32
- package/dist/mcp-component-registry.json +0 -6626
- package/dist/mock.d.ts +0 -4
- package/dist/mock.d.ts.map +0 -1
- package/dist/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js +0 -311
- package/dist/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -31
- package/dist/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js +0 -11
- package/dist/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -10
- package/dist/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js +0 -86
- package/dist/node_modules/@emotion/react/dist/emotion-react.browser.esm.js +0 -101
- package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +0 -173
- package/dist/node_modules/@emotion/sheet/dist/emotion-sheet.esm.js +0 -83
- package/dist/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js +0 -130
- package/dist/node_modules/@emotion/styled/dist/emotion-styled.browser.esm.js +0 -147
- package/dist/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -53
- package/dist/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.browser.esm.js +0 -11
- package/dist/node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js +0 -45
- package/dist/node_modules/@impactsmartsuite/impact-icons/dist/index.js +0 -5195
- package/dist/node_modules/@mui/base/TextareaAutosize/TextareaAutosize.js +0 -195
- package/dist/node_modules/@mui/icons-material/Add.js +0 -17
- package/dist/node_modules/@mui/icons-material/AttachFile.js +0 -17
- package/dist/node_modules/@mui/icons-material/AutoFixHigh.js +0 -17
- package/dist/node_modules/@mui/icons-material/Block.js +0 -17
- package/dist/node_modules/@mui/icons-material/BookmarkBorderOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/Brush.js +0 -17
- package/dist/node_modules/@mui/icons-material/Cancel.js +0 -17
- package/dist/node_modules/@mui/icons-material/CheckCircle.js +0 -17
- package/dist/node_modules/@mui/icons-material/ChevronLeft.js +0 -17
- package/dist/node_modules/@mui/icons-material/ChevronLeftOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/ChevronRight.js +0 -17
- package/dist/node_modules/@mui/icons-material/ChevronRightOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/Clear.js +0 -17
- package/dist/node_modules/@mui/icons-material/Close.js +0 -17
- package/dist/node_modules/@mui/icons-material/CloseOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/CloseRounded.js +0 -17
- package/dist/node_modules/@mui/icons-material/DeleteOutlineOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/DeleteOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/DragIndicator.js +0 -17
- package/dist/node_modules/@mui/icons-material/ErrorOutline.js +0 -17
- package/dist/node_modules/@mui/icons-material/ExpandLess.js +0 -17
- package/dist/node_modules/@mui/icons-material/ExpandLessOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/ExpandMore.js +0 -17
- package/dist/node_modules/@mui/icons-material/ExpandMoreOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/FileDownloadOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/FilterAltOffOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/FilterAltOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/FilterList.js +0 -17
- package/dist/node_modules/@mui/icons-material/FilterListOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/FormatBold.js +0 -17
- package/dist/node_modules/@mui/icons-material/FormatColorTextOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/FormatItalic.js +0 -17
- package/dist/node_modules/@mui/icons-material/FormatListBulleted.js +0 -17
- package/dist/node_modules/@mui/icons-material/FormatListNumbered.js +0 -17
- package/dist/node_modules/@mui/icons-material/Image.js +0 -17
- package/dist/node_modules/@mui/icons-material/Info.js +0 -17
- package/dist/node_modules/@mui/icons-material/InfoOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/InsertEmoticon.js +0 -17
- package/dist/node_modules/@mui/icons-material/KeyboardArrowDown.js +0 -17
- package/dist/node_modules/@mui/icons-material/KeyboardArrowDownOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/KeyboardArrowLeft.js +0 -17
- package/dist/node_modules/@mui/icons-material/KeyboardArrowRight.js +0 -17
- package/dist/node_modules/@mui/icons-material/KeyboardArrowRightOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/KeyboardArrowUp.js +0 -17
- package/dist/node_modules/@mui/icons-material/KeyboardRounded.js +0 -17
- package/dist/node_modules/@mui/icons-material/Link.js +0 -17
- package/dist/node_modules/@mui/icons-material/Looks3.js +0 -17
- package/dist/node_modules/@mui/icons-material/Looks4.js +0 -17
- package/dist/node_modules/@mui/icons-material/Looks5.js +0 -17
- package/dist/node_modules/@mui/icons-material/Looks6.js +0 -17
- package/dist/node_modules/@mui/icons-material/LooksOne.js +0 -17
- package/dist/node_modules/@mui/icons-material/LooksTwo.js +0 -17
- package/dist/node_modules/@mui/icons-material/MoreHoriz.js +0 -17
- package/dist/node_modules/@mui/icons-material/MoreHorizOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/MoreVert.js +0 -17
- package/dist/node_modules/@mui/icons-material/North.js +0 -17
- package/dist/node_modules/@mui/icons-material/NotificationsOff.js +0 -17
- package/dist/node_modules/@mui/icons-material/RemoveRounded.js +0 -17
- package/dist/node_modules/@mui/icons-material/SaveOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/Search.js +0 -17
- package/dist/node_modules/@mui/icons-material/SearchOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/SettingsOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/StrikethroughS.js +0 -17
- package/dist/node_modules/@mui/icons-material/TableChartOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/Tune.js +0 -17
- package/dist/node_modules/@mui/icons-material/ViewColumnOutlined.js +0 -17
- package/dist/node_modules/@mui/icons-material/Warning.js +0 -17
- package/dist/node_modules/@mui/icons-material/esm/AddOutlined.js +0 -8
- package/dist/node_modules/@mui/icons-material/esm/ChevronRight.js +0 -8
- package/dist/node_modules/@mui/icons-material/esm/Close.js +0 -8
- package/dist/node_modules/@mui/icons-material/esm/DragIndicator.js +0 -8
- package/dist/node_modules/@mui/icons-material/esm/FileDownload.js +0 -8
- package/dist/node_modules/@mui/icons-material/esm/HighlightOff.js +0 -8
- package/dist/node_modules/@mui/icons-material/esm/KeyboardArrowDown.js +0 -8
- package/dist/node_modules/@mui/icons-material/esm/Replay.js +0 -8
- package/dist/node_modules/@mui/icons-material/utils/createSvgIcon.js +0 -24
- package/dist/node_modules/@mui/material/Accordion/Accordion.js +0 -294
- package/dist/node_modules/@mui/material/Accordion/AccordionContext.js +0 -8
- package/dist/node_modules/@mui/material/Accordion/accordionClasses.js +0 -10
- package/dist/node_modules/@mui/material/AccordionDetails/AccordionDetails.js +0 -70
- package/dist/node_modules/@mui/material/AccordionDetails/accordionDetailsClasses.js +0 -9
- package/dist/node_modules/@mui/material/AccordionSummary/AccordionSummary.js +0 -198
- package/dist/node_modules/@mui/material/AccordionSummary/accordionSummaryClasses.js +0 -10
- package/dist/node_modules/@mui/material/Alert/Alert.js +0 -346
- package/dist/node_modules/@mui/material/Alert/alertClasses.js +0 -10
- package/dist/node_modules/@mui/material/AlertTitle/AlertTitle.js +0 -76
- package/dist/node_modules/@mui/material/AlertTitle/alertTitleClasses.js +0 -9
- package/dist/node_modules/@mui/material/Avatar/Avatar.js +0 -284
- package/dist/node_modules/@mui/material/Avatar/avatarClasses.js +0 -9
- package/dist/node_modules/@mui/material/Backdrop/Backdrop.js +0 -187
- package/dist/node_modules/@mui/material/Backdrop/backdropClasses.js +0 -9
- package/dist/node_modules/@mui/material/Badge/Badge.js +0 -427
- package/dist/node_modules/@mui/material/Badge/badgeClasses.js +0 -37
- package/dist/node_modules/@mui/material/Badge/useBadge.js +0 -31
- package/dist/node_modules/@mui/material/Box/Box.js +0 -35
- package/dist/node_modules/@mui/material/Box/boxClasses.js +0 -5
- package/dist/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js +0 -85
- package/dist/node_modules/@mui/material/Breadcrumbs/Breadcrumbs.js +0 -233
- package/dist/node_modules/@mui/material/Breadcrumbs/breadcrumbsClasses.js +0 -10
- package/dist/node_modules/@mui/material/Button/Button.js +0 -378
- package/dist/node_modules/@mui/material/Button/buttonClasses.js +0 -10
- package/dist/node_modules/@mui/material/ButtonBase/ButtonBase.js +0 -458
- package/dist/node_modules/@mui/material/ButtonBase/Ripple.js +0 -83
- package/dist/node_modules/@mui/material/ButtonBase/TouchRipple.js +0 -303
- package/dist/node_modules/@mui/material/ButtonBase/buttonBaseClasses.js +0 -10
- package/dist/node_modules/@mui/material/ButtonBase/touchRippleClasses.js +0 -5
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroupButtonContext.js +0 -8
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroupContext.js +0 -8
- package/dist/node_modules/@mui/material/Card/Card.js +0 -86
- package/dist/node_modules/@mui/material/Card/cardClasses.js +0 -9
- package/dist/node_modules/@mui/material/Checkbox/Checkbox.js +0 -212
- package/dist/node_modules/@mui/material/Checkbox/checkboxClasses.js +0 -10
- package/dist/node_modules/@mui/material/Chip/Chip.js +0 -496
- package/dist/node_modules/@mui/material/Chip/chipClasses.js +0 -10
- package/dist/node_modules/@mui/material/CircularProgress/CircularProgress.js +0 -240
- package/dist/node_modules/@mui/material/CircularProgress/circularProgressClasses.js +0 -9
- package/dist/node_modules/@mui/material/ClickAwayListener/ClickAwayListener.js +0 -146
- package/dist/node_modules/@mui/material/Collapse/Collapse.js +0 -363
- package/dist/node_modules/@mui/material/Collapse/collapseClasses.js +0 -9
- package/dist/node_modules/@mui/material/DefaultPropsProvider/DefaultPropsProvider.js +0 -25
- package/dist/node_modules/@mui/material/Dialog/Dialog.js +0 -393
- package/dist/node_modules/@mui/material/Dialog/DialogContext.js +0 -8
- package/dist/node_modules/@mui/material/Dialog/dialogClasses.js +0 -10
- package/dist/node_modules/@mui/material/DialogActions/DialogActions.js +0 -92
- package/dist/node_modules/@mui/material/DialogActions/dialogActionsClasses.js +0 -9
- package/dist/node_modules/@mui/material/DialogContent/DialogContent.js +0 -98
- package/dist/node_modules/@mui/material/DialogContent/dialogContentClasses.js +0 -9
- package/dist/node_modules/@mui/material/DialogContentText/DialogContentText.js +0 -74
- package/dist/node_modules/@mui/material/DialogContentText/dialogContentTextClasses.js +0 -9
- package/dist/node_modules/@mui/material/DialogTitle/DialogTitle.js +0 -82
- package/dist/node_modules/@mui/material/DialogTitle/dialogTitleClasses.js +0 -10
- package/dist/node_modules/@mui/material/Divider/dividerClasses.js +0 -5
- package/dist/node_modules/@mui/material/Drawer/Drawer.js +0 -309
- package/dist/node_modules/@mui/material/Drawer/drawerClasses.js +0 -9
- package/dist/node_modules/@mui/material/Fade/Fade.js +0 -195
- package/dist/node_modules/@mui/material/FormControl/FormControl.js +0 -259
- package/dist/node_modules/@mui/material/FormControl/FormControlContext.js +0 -8
- package/dist/node_modules/@mui/material/FormControl/formControlClasses.js +0 -9
- package/dist/node_modules/@mui/material/FormControl/formControlState.js +0 -18
- package/dist/node_modules/@mui/material/FormControl/useFormControl.js +0 -8
- package/dist/node_modules/@mui/material/FormControlLabel/FormControlLabel.js +0 -239
- package/dist/node_modules/@mui/material/FormControlLabel/formControlLabelClasses.js +0 -10
- package/dist/node_modules/@mui/material/FormGroup/FormGroup.js +0 -98
- package/dist/node_modules/@mui/material/FormGroup/formGroupClasses.js +0 -9
- package/dist/node_modules/@mui/material/FormHelperText/FormHelperText.js +0 -167
- package/dist/node_modules/@mui/material/FormHelperText/formHelperTextClasses.js +0 -10
- package/dist/node_modules/@mui/material/GlobalStyles/GlobalStyles.js +0 -26
- package/dist/node_modules/@mui/material/Grow/Grow.js +0 -240
- package/dist/node_modules/@mui/material/IconButton/IconButton.js +0 -199
- package/dist/node_modules/@mui/material/IconButton/iconButtonClasses.js +0 -10
- package/dist/node_modules/@mui/material/InputBase/InputBase.js +0 -695
- package/dist/node_modules/@mui/material/InputBase/inputBaseClasses.js +0 -10
- package/dist/node_modules/@mui/material/InputBase/utils.js +0 -14
- package/dist/node_modules/@mui/material/LinearProgress/LinearProgress.js +0 -335
- package/dist/node_modules/@mui/material/LinearProgress/linearProgressClasses.js +0 -9
- package/dist/node_modules/@mui/material/Link/Link.js +0 -211
- package/dist/node_modules/@mui/material/Link/getTextDecoration.js +0 -28
- package/dist/node_modules/@mui/material/Link/linkClasses.js +0 -10
- package/dist/node_modules/@mui/material/List/List.js +0 -126
- package/dist/node_modules/@mui/material/List/ListContext.js +0 -8
- package/dist/node_modules/@mui/material/List/listClasses.js +0 -9
- package/dist/node_modules/@mui/material/ListItemIcon/ListItemIcon.js +0 -87
- package/dist/node_modules/@mui/material/ListItemIcon/listItemIconClasses.js +0 -10
- package/dist/node_modules/@mui/material/ListItemText/listItemTextClasses.js +0 -5
- package/dist/node_modules/@mui/material/Menu/Menu.js +0 -297
- package/dist/node_modules/@mui/material/Menu/menuClasses.js +0 -9
- package/dist/node_modules/@mui/material/MenuItem/MenuItem.js +0 -261
- package/dist/node_modules/@mui/material/MenuItem/menuItemClasses.js +0 -10
- package/dist/node_modules/@mui/material/MenuList/MenuList.js +0 -250
- package/dist/node_modules/@mui/material/Modal/Modal.js +0 -367
- package/dist/node_modules/@mui/material/Modal/ModalManager.js +0 -189
- package/dist/node_modules/@mui/material/Modal/modalClasses.js +0 -9
- package/dist/node_modules/@mui/material/Modal/useModal.js +0 -168
- package/dist/node_modules/@mui/material/OutlinedInput/NotchedOutline.js +0 -136
- package/dist/node_modules/@mui/material/OutlinedInput/OutlinedInput.js +0 -349
- package/dist/node_modules/@mui/material/OutlinedInput/outlinedInputClasses.js +0 -12
- package/dist/node_modules/@mui/material/Paper/Paper.js +0 -145
- package/dist/node_modules/@mui/material/Paper/paperClasses.js +0 -9
- package/dist/node_modules/@mui/material/Popover/Popover.js +0 -510
- package/dist/node_modules/@mui/material/Popover/popoverClasses.js +0 -9
- package/dist/node_modules/@mui/material/Popper/BasePopper.js +0 -362
- package/dist/node_modules/@mui/material/Popper/Popper.js +0 -195
- package/dist/node_modules/@mui/material/Popper/popperClasses.js +0 -9
- package/dist/node_modules/@mui/material/Portal/Portal.js +0 -82
- package/dist/node_modules/@mui/material/Radio/Radio.js +0 -212
- package/dist/node_modules/@mui/material/Radio/RadioButtonIcon.js +0 -82
- package/dist/node_modules/@mui/material/Radio/radioClasses.js +0 -10
- package/dist/node_modules/@mui/material/RadioGroup/RadioGroup.js +0 -116
- package/dist/node_modules/@mui/material/RadioGroup/RadioGroupContext.js +0 -8
- package/dist/node_modules/@mui/material/RadioGroup/radioGroupClasses.js +0 -9
- package/dist/node_modules/@mui/material/RadioGroup/useRadioGroup.js +0 -8
- package/dist/node_modules/@mui/material/Skeleton/Skeleton.js +0 -218
- package/dist/node_modules/@mui/material/Skeleton/skeletonClasses.js +0 -9
- package/dist/node_modules/@mui/material/Slide/Slide.js +0 -315
- package/dist/node_modules/@mui/material/Slider/Slider.js +0 -1045
- package/dist/node_modules/@mui/material/Slider/SliderValueLabel.js +0 -50
- package/dist/node_modules/@mui/material/Slider/sliderClasses.js +0 -10
- package/dist/node_modules/@mui/material/Slider/useSlider.js +0 -605
- package/dist/node_modules/@mui/material/Snackbar/Snackbar.js +0 -304
- package/dist/node_modules/@mui/material/Snackbar/snackbarClasses.js +0 -9
- package/dist/node_modules/@mui/material/Snackbar/useSnackbar.js +0 -108
- package/dist/node_modules/@mui/material/SnackbarContent/SnackbarContent.js +0 -132
- package/dist/node_modules/@mui/material/SnackbarContent/snackbarContentClasses.js +0 -9
- package/dist/node_modules/@mui/material/Stack/Stack.js +0 -62
- package/dist/node_modules/@mui/material/Step/Step.js +0 -167
- package/dist/node_modules/@mui/material/Step/StepContext.js +0 -8
- package/dist/node_modules/@mui/material/Step/stepClasses.js +0 -9
- package/dist/node_modules/@mui/material/StepConnector/StepConnector.js +0 -134
- package/dist/node_modules/@mui/material/StepConnector/stepConnectorClasses.js +0 -9
- package/dist/node_modules/@mui/material/StepIcon/StepIcon.js +0 -159
- package/dist/node_modules/@mui/material/StepIcon/stepIconClasses.js +0 -10
- package/dist/node_modules/@mui/material/StepLabel/StepLabel.js +0 -237
- package/dist/node_modules/@mui/material/StepLabel/stepLabelClasses.js +0 -10
- package/dist/node_modules/@mui/material/Stepper/Stepper.js +0 -153
- package/dist/node_modules/@mui/material/Stepper/StepperContext.js +0 -8
- package/dist/node_modules/@mui/material/Stepper/stepperClasses.js +0 -9
- package/dist/node_modules/@mui/material/SvgIcon/SvgIcon.js +0 -185
- package/dist/node_modules/@mui/material/SvgIcon/svgIconClasses.js +0 -9
- package/dist/node_modules/@mui/material/Switch/Switch.js +0 -335
- package/dist/node_modules/@mui/material/Switch/switchClasses.js +0 -10
- package/dist/node_modules/@mui/material/Tab/Tab.js +0 -263
- package/dist/node_modules/@mui/material/Tab/tabClasses.js +0 -10
- package/dist/node_modules/@mui/material/TabScrollButton/TabScrollButton.js +0 -153
- package/dist/node_modules/@mui/material/TabScrollButton/tabScrollButtonClasses.js +0 -10
- package/dist/node_modules/@mui/material/Tabs/ScrollbarSize.js +0 -56
- package/dist/node_modules/@mui/material/Tabs/Tabs.js +0 -801
- package/dist/node_modules/@mui/material/Tabs/tabsClasses.js +0 -10
- package/dist/node_modules/@mui/material/TextareaAutosize/TextareaAutosize.js +0 -216
- package/dist/node_modules/@mui/material/ToggleButton/ToggleButton.js +0 -233
- package/dist/node_modules/@mui/material/ToggleButton/toggleButtonClasses.js +0 -10
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup.js +0 -269
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +0 -8
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupContext.js +0 -8
- package/dist/node_modules/@mui/material/ToggleButtonGroup/isValueSelected.js +0 -12
- package/dist/node_modules/@mui/material/ToggleButtonGroup/toggleButtonGroupClasses.js +0 -10
- package/dist/node_modules/@mui/material/Tooltip/Tooltip.js +0 -737
- package/dist/node_modules/@mui/material/Tooltip/tooltipClasses.js +0 -10
- package/dist/node_modules/@mui/material/Typography/Typography.js +0 -196
- package/dist/node_modules/@mui/material/Typography/typographyClasses.js +0 -9
- package/dist/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap.js +0 -280
- package/dist/node_modules/@mui/material/colors/blue.js +0 -10
- package/dist/node_modules/@mui/material/colors/common.js +0 -7
- package/dist/node_modules/@mui/material/colors/green.js +0 -11
- package/dist/node_modules/@mui/material/colors/grey.js +0 -19
- package/dist/node_modules/@mui/material/colors/lightBlue.js +0 -10
- package/dist/node_modules/@mui/material/colors/orange.js +0 -10
- package/dist/node_modules/@mui/material/colors/purple.js +0 -11
- package/dist/node_modules/@mui/material/colors/red.js +0 -10
- package/dist/node_modules/@mui/material/internal/SwitchBase.js +0 -266
- package/dist/node_modules/@mui/material/internal/animate.js +0 -44
- package/dist/node_modules/@mui/material/internal/svg-icons/Cancel.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/CheckBox.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/CheckBoxOutlineBlank.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/CheckCircle.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/Close.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/ErrorOutline.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/IndeterminateCheckBox.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/InfoOutlined.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/KeyboardArrowLeft.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/KeyboardArrowRight.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/MoreHoriz.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/Person.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/RadioButtonChecked.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/RadioButtonUnchecked.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/ReportProblemOutlined.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/SuccessOutlined.js +0 -9
- package/dist/node_modules/@mui/material/internal/svg-icons/Warning.js +0 -9
- package/dist/node_modules/@mui/material/internal/switchBaseClasses.js +0 -9
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js +0 -19
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType.js +0 -17
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/appendOwnerState/appendOwnerState.js +0 -13
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/capitalize/capitalize.js +0 -10
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js +0 -11
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/clamp/clamp.js +0 -6
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/composeClasses/composeClasses.js +0 -25
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/createChainedFunction/createChainedFunction.js +0 -15
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/debounce/debounce.js +0 -17
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +0 -43
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/deprecatedPropType/deprecatedPropType.js +0 -16
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js +0 -33
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js +0 -31
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/exactProp/exactProp.js +0 -19
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/extractEventHandlers/extractEventHandlers.js +0 -13
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.js +0 -10
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js +0 -23
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/generateUtilityClasses/generateUtilityClasses.js +0 -11
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/getReactElementRef/getReactElementRef.js +0 -11
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/getScrollbarSize/getScrollbarSize.js +0 -7
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/getValidReactChildren/getValidReactChildren.js +0 -7
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/integerPropType/integerPropType.js +0 -52
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/isHostComponent/isHostComponent.js +0 -6
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/isMuiElement/isMuiElement.js +0 -13
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/mergeSlotProps/mergeSlotProps.js +0 -48
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/omitEventHandlers/omitEventHandlers.js +0 -13
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js +0 -6
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/ownerWindow/ownerWindow.js +0 -8
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/refType/refType.js +0 -5
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/requirePropFactory/requirePropFactory.js +0 -25
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/resolveComponentProps/resolveComponentProps.js +0 -9
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/resolveProps/resolveProps.js +0 -29
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/scrollLeft/scrollLeft.js +0 -49
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/setRef/setRef.js +0 -10
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/unsupportedProp/unsupportedProp.js +0 -13
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/useControlled/useControlled.js +0 -37
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js +0 -5
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js +0 -15
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/useForkRef/useForkRef.js +0 -17
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/useId/useId.js +0 -24
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/useIsFocusVisible/useIsFocusVisible.js +0 -104
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/useLazyRef/useLazyRef.js +0 -12
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/useOnMount/useOnMount.js +0 -8
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/usePreviousProps/usePreviousProps.js +0 -11
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js +0 -31
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/useTimeout/useTimeout.js +0 -38
- package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/visuallyHidden/visuallyHidden.js +0 -14
- package/dist/node_modules/@mui/material/styles/createMixins.js +0 -19
- package/dist/node_modules/@mui/material/styles/createPalette.js +0 -305
- package/dist/node_modules/@mui/material/styles/createTheme.js +0 -79
- package/dist/node_modules/@mui/material/styles/createTransitions.js +0 -83
- package/dist/node_modules/@mui/material/styles/createTypography.js +0 -87
- package/dist/node_modules/@mui/material/styles/cssUtils.js +0 -10
- package/dist/node_modules/@mui/material/styles/defaultTheme.js +0 -5
- package/dist/node_modules/@mui/material/styles/getOverlayAlpha.js +0 -12
- package/dist/node_modules/@mui/material/styles/identifier.js +0 -4
- package/dist/node_modules/@mui/material/styles/rootShouldForwardProp.js +0 -5
- package/dist/node_modules/@mui/material/styles/shadows.js +0 -10
- package/dist/node_modules/@mui/material/styles/slotShouldForwardProp.js +0 -6
- package/dist/node_modules/@mui/material/styles/styled.js +0 -13
- package/dist/node_modules/@mui/material/styles/useTheme.js +0 -14
- package/dist/node_modules/@mui/material/styles/zIndex.js +0 -13
- package/dist/node_modules/@mui/material/transitions/utils.js +0 -18
- package/dist/node_modules/@mui/material/utils/areArraysEqual.js +0 -6
- package/dist/node_modules/@mui/material/utils/capitalize.js +0 -4
- package/dist/node_modules/@mui/material/utils/createChainedFunction.js +0 -4
- package/dist/node_modules/@mui/material/utils/createSvgIcon.js +0 -22
- package/dist/node_modules/@mui/material/utils/debounce.js +0 -4
- package/dist/node_modules/@mui/material/utils/deprecatedPropType.js +0 -4
- package/dist/node_modules/@mui/material/utils/getScrollbarSize.js +0 -4
- package/dist/node_modules/@mui/material/utils/index.js +0 -46
- package/dist/node_modules/@mui/material/utils/isMuiElement.js +0 -4
- package/dist/node_modules/@mui/material/utils/ownerDocument.js +0 -4
- package/dist/node_modules/@mui/material/utils/ownerWindow.js +0 -4
- package/dist/node_modules/@mui/material/utils/requirePropFactory.js +0 -4
- package/dist/node_modules/@mui/material/utils/setRef.js +0 -4
- package/dist/node_modules/@mui/material/utils/shouldSpreadAdditionalProps.js +0 -7
- package/dist/node_modules/@mui/material/utils/unsupportedProp.js +0 -4
- package/dist/node_modules/@mui/material/utils/useControlled.js +0 -4
- package/dist/node_modules/@mui/material/utils/useEnhancedEffect.js +0 -4
- package/dist/node_modules/@mui/material/utils/useEventCallback.js +0 -4
- package/dist/node_modules/@mui/material/utils/useForkRef.js +0 -4
- package/dist/node_modules/@mui/material/utils/useId.js +0 -4
- package/dist/node_modules/@mui/material/utils/useIsFocusVisible.js +0 -4
- package/dist/node_modules/@mui/material/utils/useSlot.js +0 -55
- package/dist/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.js +0 -24
- package/dist/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js +0 -65
- package/dist/node_modules/@mui/styled-engine/index.js +0 -48
- package/dist/node_modules/@mui/system/colorManipulator.js +0 -271
- package/dist/node_modules/@mui/system/createStyled.js +0 -265
- package/dist/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js +0 -53
- package/dist/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js +0 -61
- package/dist/node_modules/@mui/system/esm/RtlProvider/index.js +0 -17
- package/dist/node_modules/@mui/system/esm/Stack/createStack.js +0 -167
- package/dist/node_modules/@mui/system/esm/borders.js +0 -61
- package/dist/node_modules/@mui/system/esm/breakpoints.js +0 -123
- package/dist/node_modules/@mui/system/esm/colorManipulator.js +0 -96
- package/dist/node_modules/@mui/system/esm/compose.js +0 -23
- package/dist/node_modules/@mui/system/esm/createBox.js +0 -38
- package/dist/node_modules/@mui/system/esm/createStyled.js +0 -231
- package/dist/node_modules/@mui/system/esm/createTheme/applyStyles.js +0 -16
- package/dist/node_modules/@mui/system/esm/createTheme/createBreakpoints.js +0 -78
- package/dist/node_modules/@mui/system/esm/createTheme/createSpacing.js +0 -26
- package/dist/node_modules/@mui/system/esm/createTheme/createTheme.js +0 -44
- package/dist/node_modules/@mui/system/esm/createTheme/index.js +0 -8
- package/dist/node_modules/@mui/system/esm/createTheme/shape.js +0 -6
- package/dist/node_modules/@mui/system/esm/cssGrid.js +0 -89
- package/dist/node_modules/@mui/system/esm/memoize.js +0 -12
- package/dist/node_modules/@mui/system/esm/merge.js +0 -13
- package/dist/node_modules/@mui/system/esm/palette.js +0 -31
- package/dist/node_modules/@mui/system/esm/responsivePropType.js +0 -5
- package/dist/node_modules/@mui/system/esm/sizing.js +0 -74
- package/dist/node_modules/@mui/system/esm/spacing.js +0 -144
- package/dist/node_modules/@mui/system/esm/style.js +0 -73
- package/dist/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js +0 -293
- package/dist/node_modules/@mui/system/esm/styleFunctionSx/extendSxProp.js +0 -50
- package/dist/node_modules/@mui/system/esm/styleFunctionSx/index.js +0 -9
- package/dist/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js +0 -125
- package/dist/node_modules/@mui/system/esm/styled.js +0 -5
- package/dist/node_modules/@mui/system/esm/useTheme.js +0 -10
- package/dist/node_modules/@mui/system/esm/useThemeProps/getThemeProps.js +0 -15
- package/dist/node_modules/@mui/system/esm/useThemeProps/useThemeProps.js +0 -22
- package/dist/node_modules/@mui/system/esm/useThemeWithoutDefault.js +0 -12
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js +0 -19
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/capitalize/capitalize.js +0 -10
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/capitalize/index.js +0 -4
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/clamp/clamp.js +0 -6
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/clamp/index.js +0 -4
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/composeClasses/composeClasses.js +0 -25
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +0 -43
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/deepmerge/index.js +0 -5
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.js +0 -10
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/formatMuiErrorMessage/index.js +0 -4
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js +0 -23
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js +0 -40
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/getDisplayName/index.js +0 -5
- package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/resolveProps/resolveProps.js +0 -29
- package/dist/node_modules/@mui/system/useThemeWithoutDefault.js +0 -39
- package/dist/node_modules/@mui/utils/esm/debounce/debounce.js +0 -17
- package/dist/node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js +0 -6
- package/dist/node_modules/@mui/utils/esm/ownerWindow/ownerWindow.js +0 -8
- package/dist/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js +0 -5
- package/dist/node_modules/@mui/utils/esm/useForkRef/useForkRef.js +0 -42
- package/dist/node_modules/array.prototype.flat/implementation.js +0 -33
- package/dist/node_modules/array.prototype.flat/index.js +0 -28
- package/dist/node_modules/array.prototype.flat/polyfill.js +0 -15
- package/dist/node_modules/array.prototype.flat/shim.js +0 -28
- package/dist/node_modules/call-bind/index.js +0 -34
- package/dist/node_modules/call-bind-apply-helpers/actualApply.js +0 -19
- package/dist/node_modules/call-bind-apply-helpers/applyBind.js +0 -19
- package/dist/node_modules/call-bind-apply-helpers/functionApply.js +0 -11
- package/dist/node_modules/call-bind-apply-helpers/functionCall.js +0 -11
- package/dist/node_modules/call-bind-apply-helpers/index.js +0 -24
- package/dist/node_modules/call-bind-apply-helpers/reflectApply.js +0 -11
- package/dist/node_modules/call-bound/index.js +0 -28
- package/dist/node_modules/clsx/dist/clsx.js +0 -17
- package/dist/node_modules/define-data-property/index.js +0 -55
- package/dist/node_modules/define-properties/index.js +0 -50
- package/dist/node_modules/dunder-proto/get.js +0 -36
- package/dist/node_modules/dunder-proto/set.js +0 -40
- package/dist/node_modules/es-abstract/2024/ArrayCreate.js +0 -45
- package/dist/node_modules/es-abstract/2024/ArraySpeciesCreate.js +0 -50
- package/dist/node_modules/es-abstract/2024/Call.js +0 -26
- package/dist/node_modules/es-abstract/2024/CreateDataProperty.js +0 -33
- package/dist/node_modules/es-abstract/2024/CreateDataPropertyOrThrow.js +0 -30
- package/dist/node_modules/es-abstract/2024/DefinePropertyOrThrow.js +0 -48
- package/dist/node_modules/es-abstract/2024/FlattenIntoArray.js +0 -65
- package/dist/node_modules/es-abstract/2024/FromPropertyDescriptor.js +0 -22
- package/dist/node_modules/es-abstract/2024/Get.js +0 -27
- package/dist/node_modules/es-abstract/2024/HasProperty.js +0 -25
- package/dist/node_modules/es-abstract/2024/IsAccessorDescriptor.js +0 -28
- package/dist/node_modules/es-abstract/2024/IsArray.js +0 -12
- package/dist/node_modules/es-abstract/2024/IsCallable.js +0 -12
- package/dist/node_modules/es-abstract/2024/IsConstructor.js +0 -42
- package/dist/node_modules/es-abstract/2024/IsDataDescriptor.js +0 -28
- package/dist/node_modules/es-abstract/2024/IsExtensible.js +0 -21
- package/dist/node_modules/es-abstract/2024/IsGenericDescriptor.js +0 -30
- package/dist/node_modules/es-abstract/2024/LengthOfArrayLike.js +0 -24
- package/dist/node_modules/es-abstract/2024/OrdinaryDefineOwnProperty.js +0 -59
- package/dist/node_modules/es-abstract/2024/SameValue.js +0 -21
- package/dist/node_modules/es-abstract/2024/StringToNumber.js +0 -48
- package/dist/node_modules/es-abstract/2024/ToBoolean.js +0 -13
- package/dist/node_modules/es-abstract/2024/ToIntegerOrInfinity.js +0 -28
- package/dist/node_modules/es-abstract/2024/ToLength.js +0 -24
- package/dist/node_modules/es-abstract/2024/ToNumber.js +0 -34
- package/dist/node_modules/es-abstract/2024/ToObject.js +0 -12
- package/dist/node_modules/es-abstract/2024/ToPrimitive.js +0 -18
- package/dist/node_modules/es-abstract/2024/ToPropertyDescriptor.js +0 -56
- package/dist/node_modules/es-abstract/2024/ToString.js +0 -21
- package/dist/node_modules/es-abstract/2024/ValidateAndApplyPropertyDescriptor.js +0 -161
- package/dist/node_modules/es-abstract/2024/floor.js +0 -18
- package/dist/node_modules/es-abstract/2024/truncate.js +0 -21
- package/dist/node_modules/es-abstract/GetIntrinsic.js +0 -12
- package/dist/node_modules/es-abstract/helpers/DefineOwnProperty.js +0 -42
- package/dist/node_modules/es-abstract/helpers/IsArray.js +0 -18
- package/dist/node_modules/es-abstract/helpers/fromPropertyDescriptor.js +0 -35
- package/dist/node_modules/es-abstract/helpers/isFullyPopulatedPropertyDescriptor.js +0 -15
- package/dist/node_modules/es-abstract/helpers/isPrimitive.js +0 -13
- package/dist/node_modules/es-abstract/helpers/isPropertyKey.js +0 -13
- package/dist/node_modules/es-abstract/helpers/records/property-descriptor.js +0 -39
- package/dist/node_modules/es-define-property/index.js +0 -19
- package/dist/node_modules/es-errors/eval.js +0 -11
- package/dist/node_modules/es-errors/index.js +0 -11
- package/dist/node_modules/es-errors/range.js +0 -11
- package/dist/node_modules/es-errors/ref.js +0 -11
- package/dist/node_modules/es-errors/syntax.js +0 -11
- package/dist/node_modules/es-errors/type.js +0 -11
- package/dist/node_modules/es-errors/uri.js +0 -11
- package/dist/node_modules/es-object-atoms/RequireObjectCoercible.js +0 -18
- package/dist/node_modules/es-object-atoms/ToObject.js +0 -18
- package/dist/node_modules/es-object-atoms/index.js +0 -11
- package/dist/node_modules/es-object-atoms/isObject.js +0 -13
- package/dist/node_modules/es-shim-unscopables/index.js +0 -26
- package/dist/node_modules/es-to-primitive/es2015.js +0 -89
- package/dist/node_modules/es-to-primitive/helpers/isPrimitive.js +0 -13
- package/dist/node_modules/function-bind/implementation.js +0 -79
- package/dist/node_modules/function-bind/index.js +0 -13
- package/dist/node_modules/get-intrinsic/index.js +0 -358
- package/dist/node_modules/get-proto/Object.getPrototypeOf.js +0 -13
- package/dist/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -11
- package/dist/node_modules/get-proto/index.js +0 -26
- package/dist/node_modules/global-cache/index.js +0 -84
- package/dist/node_modules/gopd/gOPD.js +0 -11
- package/dist/node_modules/gopd/index.js +0 -20
- package/dist/node_modules/has-property-descriptors/index.js +0 -26
- package/dist/node_modules/has-symbols/index.js +0 -28
- package/dist/node_modules/has-symbols/shams.js +0 -58
- package/dist/node_modules/has-tostringtag/shams.js +0 -15
- package/dist/node_modules/hasown/index.js +0 -15
- package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +0 -20
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +0 -165
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +0 -106
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +0 -12
- package/dist/node_modules/is-callable/index.js +0 -120
- package/dist/node_modules/is-date-object/index.js +0 -31
- package/dist/node_modules/is-regex/index.js +0 -70
- package/dist/node_modules/is-symbol/index.js +0 -44
- package/dist/node_modules/lodash/lodash.js +0 -5506
- package/dist/node_modules/math-intrinsics/abs.js +0 -11
- package/dist/node_modules/math-intrinsics/constants/maxArrayLength.js +0 -11
- package/dist/node_modules/math-intrinsics/constants/maxSafeInteger.js +0 -12
- package/dist/node_modules/math-intrinsics/floor.js +0 -11
- package/dist/node_modules/math-intrinsics/isFinite.js +0 -15
- package/dist/node_modules/math-intrinsics/isInteger.js +0 -25
- package/dist/node_modules/math-intrinsics/isNaN.js +0 -13
- package/dist/node_modules/math-intrinsics/max.js +0 -11
- package/dist/node_modules/math-intrinsics/min.js +0 -11
- package/dist/node_modules/math-intrinsics/pow.js +0 -11
- package/dist/node_modules/math-intrinsics/round.js +0 -11
- package/dist/node_modules/math-intrinsics/sign.js +0 -18
- package/dist/node_modules/moment/dist/locale/de.js +0 -75
- package/dist/node_modules/moment/dist/moment.js +0 -3986
- package/dist/node_modules/object-assign/index.js +0 -78
- package/dist/node_modules/object-inspect/index.js +0 -536
- package/dist/node_modules/object-keys/implementation.js +0 -125
- package/dist/node_modules/object-keys/index.js +0 -39
- package/dist/node_modules/object-keys/isArguments.js +0 -19
- package/dist/node_modules/prop-types/checkPropTypes.js +0 -68
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -58
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -451
- package/dist/node_modules/prop-types/index.js +0 -17
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -12
- package/dist/node_modules/prop-types/lib/has.js +0 -11
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +0 -165
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +0 -106
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +0 -17
- package/dist/node_modules/react-dates/lib/initialize.js +0 -5
- package/dist/node_modules/react-dates/lib/theme/DefaultTheme.js +0 -193
- package/dist/node_modules/react-dates/lib/utils/registerCSSInterfaceWithDefaultTheme.js +0 -25
- package/dist/node_modules/react-dates/lib/utils/registerInterfaceWithDefaultTheme.js +0 -26
- package/dist/node_modules/react-is/cjs/react-is.development.js +0 -105
- package/dist/node_modules/react-is/cjs/react-is.production.js +0 -103
- package/dist/node_modules/react-is/index.js +0 -12
- package/dist/node_modules/react-transition-group/esm/Transition.js +0 -439
- package/dist/node_modules/react-transition-group/esm/TransitionGroup.js +0 -144
- package/dist/node_modules/react-transition-group/esm/TransitionGroupContext.js +0 -5
- package/dist/node_modules/react-transition-group/esm/config.js +0 -6
- package/dist/node_modules/react-transition-group/esm/utils/ChildMapping.js +0 -99
- package/dist/node_modules/react-transition-group/esm/utils/PropTypes.js +0 -21
- package/dist/node_modules/react-transition-group/esm/utils/reflow.js +0 -6
- package/dist/node_modules/react-with-styles/lib/ThemedStyleSheet.js +0 -100
- package/dist/node_modules/react-with-styles-interface-css/dist/index.js +0 -57
- package/dist/node_modules/react-with-styles-interface-css/dist/utils/constants.js +0 -18
- package/dist/node_modules/react-with-styles-interface-css/dist/utils/getClassName.js +0 -20
- package/dist/node_modules/react-with-styles-interface-css/dist/utils/separateStyles.js +0 -39
- package/dist/node_modules/react-with-styles-interface-css/index.js +0 -12
- package/dist/node_modules/safe-regex-test/index.js +0 -25
- package/dist/node_modules/set-function-length/index.js +0 -61
- package/dist/node_modules/set-proto/Object.setPrototypeOf.js +0 -13
- package/dist/node_modules/set-proto/Reflect.setPrototypeOf.js +0 -11
- package/dist/node_modules/set-proto/index.js +0 -27
- package/dist/node_modules/string.prototype.trim/implementation.js +0 -24
- package/dist/node_modules/string.prototype.trim/index.js +0 -33
- package/dist/node_modules/string.prototype.trim/polyfill.js +0 -20
- package/dist/node_modules/string.prototype.trim/shim.js +0 -27
- package/dist/node_modules/stylis/src/Enum.js +0 -20
- package/dist/node_modules/stylis/src/Middleware.js +0 -22
- package/dist/node_modules/stylis/src/Parser.js +0 -140
- package/dist/node_modules/stylis/src/Serializer.js +0 -29
- package/dist/node_modules/stylis/src/Tokenizer.js +0 -150
- package/dist/node_modules/stylis/src/Utility.js +0 -52
- package/dist/renderReactRoot.d.ts +0 -12
- package/dist/renderReactRoot.d.ts.map +0 -1
- package/dist/stories/i18nDemo.d.ts +0 -7
- package/dist/stories/i18nDemo.d.ts.map +0 -1
- package/dist/storybook-utils/rootAttributes.d.ts +0 -33
- package/dist/storybook-utils/rootAttributes.d.ts.map +0 -1
- package/dist/storybook-utils.d.ts +0 -6
- package/dist/storybook-utils.d.ts.map +0 -1
- package/dist/styles/entry.d.ts +0 -2
- package/dist/styles/entry.d.ts.map +0 -1
- package/dist/styles/entry.js +0 -1
- package/dist/styles/style.css +0 -1
- package/dist/test/a11y-utils.d.ts +0 -8
- package/dist/test/a11y-utils.d.ts.map +0 -1
- package/dist/test/setup.d.ts +0 -2
- package/dist/test/setup.d.ts.map +0 -1
- package/dist/test-utils/itForwardsRootId.d.ts +0 -15
- package/dist/test-utils/itForwardsRootId.d.ts.map +0 -1
- package/dist/test-utils/rootAttributes.d.ts +0 -22
- package/dist/test-utils/rootAttributes.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -24
- package/dist/types/index.d.ts.map +0 -1
- package/dist/utils/assetBase.d.ts +0 -7
- package/dist/utils/assetBase.d.ts.map +0 -1
- package/dist/utils/assetBase.js +0 -14
- package/dist/utils/avatarColor.d.ts +0 -14
- package/dist/utils/avatarColor.d.ts.map +0 -1
- package/dist/utils/avatarColor.js +0 -38
- package/dist/utils/avatarColor.test.d.ts +0 -2
- package/dist/utils/avatarColor.test.d.ts.map +0 -1
- package/dist/utils/debounce.d.ts +0 -22
- package/dist/utils/debounce.d.ts.map +0 -1
- package/dist/utils/debounce.js +0 -21
- package/dist/utils/debounce.test.d.ts +0 -2
- package/dist/utils/debounce.test.d.ts.map +0 -1
- package/dist/utils/formatCommentTimestamp.d.ts +0 -3
- package/dist/utils/formatCommentTimestamp.d.ts.map +0 -1
- package/dist/utils/helper.d.ts +0 -98
- package/dist/utils/helper.d.ts.map +0 -1
- package/dist/utils/helper.js +0 -144
- package/dist/utils/helper.test.d.ts +0 -2
- package/dist/utils/helper.test.d.ts.map +0 -1
- package/dist/utils/html.d.ts +0 -19
- package/dist/utils/html.d.ts.map +0 -1
- package/dist/utils/html.js +0 -27
- package/dist/utils/html.test.d.ts +0 -2
- package/dist/utils/html.test.d.ts.map +0 -1
- package/dist/utils/index.d.ts +0 -16
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/index.test.d.ts +0 -2
- package/dist/utils/index.test.d.ts.map +0 -1
- package/dist/utils/pickRootDomAttributes.d.ts +0 -18
- package/dist/utils/pickRootDomAttributes.d.ts.map +0 -1
- package/dist/utils/reactVersion.d.ts +0 -5
- package/dist/utils/reactVersion.d.ts.map +0 -1
- package/dist/utils/reactVersion.test.d.ts +0 -2
- package/dist/utils/reactVersion.test.d.ts.map +0 -1
- package/dist/utils/shortcuts/ShortcutManager.d.ts +0 -38
- package/dist/utils/shortcuts/ShortcutManager.d.ts.map +0 -1
- package/dist/utils/shortcuts/ShortcutManager.js +0 -195
- package/dist/utils/shortcuts/constants.d.ts +0 -12
- package/dist/utils/shortcuts/constants.d.ts.map +0 -1
- package/dist/utils/shortcuts/constants.js +0 -58
- package/dist/utils/shortcuts/format.d.ts +0 -7
- package/dist/utils/shortcuts/format.d.ts.map +0 -1
- package/dist/utils/shortcuts/format.js +0 -44
- package/dist/utils/shortcuts/index.d.ts +0 -10
- package/dist/utils/shortcuts/index.d.ts.map +0 -1
- package/dist/utils/shortcuts/match.d.ts +0 -9
- package/dist/utils/shortcuts/match.d.ts.map +0 -1
- package/dist/utils/shortcuts/match.js +0 -96
- package/dist/utils/shortcuts/parse.d.ts +0 -13
- package/dist/utils/shortcuts/parse.d.ts.map +0 -1
- package/dist/utils/shortcuts/parse.js +0 -64
- package/dist/utils/shortcuts/platform.d.ts +0 -2
- package/dist/utils/shortcuts/platform.d.ts.map +0 -1
- package/dist/utils/shortcuts/platform.js +0 -5
- package/dist/utils/shortcuts/sequence.d.ts +0 -18
- package/dist/utils/shortcuts/sequence.d.ts.map +0 -1
- package/dist/utils/shortcuts/sequence.js +0 -62
- package/dist/utils/shortcuts/shortcuts.extra.test.d.ts +0 -2
- package/dist/utils/shortcuts/shortcuts.extra.test.d.ts.map +0 -1
- package/dist/utils/shortcuts/shortcuts.test.d.ts +0 -2
- package/dist/utils/shortcuts/shortcuts.test.d.ts.map +0 -1
- package/dist/utils/shortcuts/types.d.ts +0 -52
- package/dist/utils/shortcuts/types.d.ts.map +0 -1
- package/dist/utils/useTextOverflow.d.ts +0 -22
- package/dist/utils/useTextOverflow.d.ts.map +0 -1
- package/dist/utils/useTextOverflow.js +0 -26
|
@@ -1,3986 +0,0 @@
|
|
|
1
|
-
//! moment.js
|
|
2
|
-
//! version : 2.30.1
|
|
3
|
-
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
4
|
-
//! license : MIT
|
|
5
|
-
//! momentjs.com
|
|
6
|
-
var hookCallback;
|
|
7
|
-
function hooks() {
|
|
8
|
-
return hookCallback.apply(null, arguments);
|
|
9
|
-
}
|
|
10
|
-
function setHookCallback(callback) {
|
|
11
|
-
hookCallback = callback;
|
|
12
|
-
}
|
|
13
|
-
function isArray(input) {
|
|
14
|
-
return input instanceof Array || Object.prototype.toString.call(input) === "[object Array]";
|
|
15
|
-
}
|
|
16
|
-
function isObject(input) {
|
|
17
|
-
return input != null && Object.prototype.toString.call(input) === "[object Object]";
|
|
18
|
-
}
|
|
19
|
-
function hasOwnProp(a, b) {
|
|
20
|
-
return Object.prototype.hasOwnProperty.call(a, b);
|
|
21
|
-
}
|
|
22
|
-
function isObjectEmpty(obj) {
|
|
23
|
-
if (Object.getOwnPropertyNames) {
|
|
24
|
-
return Object.getOwnPropertyNames(obj).length === 0;
|
|
25
|
-
} else {
|
|
26
|
-
var k;
|
|
27
|
-
for (k in obj) {
|
|
28
|
-
if (hasOwnProp(obj, k)) {
|
|
29
|
-
return false;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
return true;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
function isUndefined(input) {
|
|
36
|
-
return input === void 0;
|
|
37
|
-
}
|
|
38
|
-
function isNumber(input) {
|
|
39
|
-
return typeof input === "number" || Object.prototype.toString.call(input) === "[object Number]";
|
|
40
|
-
}
|
|
41
|
-
function isDate(input) {
|
|
42
|
-
return input instanceof Date || Object.prototype.toString.call(input) === "[object Date]";
|
|
43
|
-
}
|
|
44
|
-
function map(arr, fn) {
|
|
45
|
-
var res = [], i, arrLen = arr.length;
|
|
46
|
-
for (i = 0; i < arrLen; ++i) {
|
|
47
|
-
res.push(fn(arr[i], i));
|
|
48
|
-
}
|
|
49
|
-
return res;
|
|
50
|
-
}
|
|
51
|
-
function extend(a, b) {
|
|
52
|
-
for (var i in b) {
|
|
53
|
-
if (hasOwnProp(b, i)) {
|
|
54
|
-
a[i] = b[i];
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
if (hasOwnProp(b, "toString")) {
|
|
58
|
-
a.toString = b.toString;
|
|
59
|
-
}
|
|
60
|
-
if (hasOwnProp(b, "valueOf")) {
|
|
61
|
-
a.valueOf = b.valueOf;
|
|
62
|
-
}
|
|
63
|
-
return a;
|
|
64
|
-
}
|
|
65
|
-
function createUTC(input, format2, locale2, strict) {
|
|
66
|
-
return createLocalOrUTC(input, format2, locale2, strict, true).utc();
|
|
67
|
-
}
|
|
68
|
-
function defaultParsingFlags() {
|
|
69
|
-
return {
|
|
70
|
-
empty: false,
|
|
71
|
-
unusedTokens: [],
|
|
72
|
-
unusedInput: [],
|
|
73
|
-
overflow: -2,
|
|
74
|
-
charsLeftOver: 0,
|
|
75
|
-
nullInput: false,
|
|
76
|
-
invalidEra: null,
|
|
77
|
-
invalidMonth: null,
|
|
78
|
-
invalidFormat: false,
|
|
79
|
-
userInvalidated: false,
|
|
80
|
-
iso: false,
|
|
81
|
-
parsedDateParts: [],
|
|
82
|
-
era: null,
|
|
83
|
-
meridiem: null,
|
|
84
|
-
rfc2822: false,
|
|
85
|
-
weekdayMismatch: false
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
function getParsingFlags(m) {
|
|
89
|
-
if (m._pf == null) {
|
|
90
|
-
m._pf = defaultParsingFlags();
|
|
91
|
-
}
|
|
92
|
-
return m._pf;
|
|
93
|
-
}
|
|
94
|
-
var some;
|
|
95
|
-
if (Array.prototype.some) {
|
|
96
|
-
some = Array.prototype.some;
|
|
97
|
-
} else {
|
|
98
|
-
some = function(fun) {
|
|
99
|
-
var t = Object(this), len = t.length >>> 0, i;
|
|
100
|
-
for (i = 0; i < len; i++) {
|
|
101
|
-
if (i in t && fun.call(this, t[i], i, t)) {
|
|
102
|
-
return true;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
return false;
|
|
106
|
-
};
|
|
107
|
-
}
|
|
108
|
-
function isValid(m) {
|
|
109
|
-
var flags = null, parsedParts = false, isNowValid = m._d && !isNaN(m._d.getTime());
|
|
110
|
-
if (isNowValid) {
|
|
111
|
-
flags = getParsingFlags(m);
|
|
112
|
-
parsedParts = some.call(flags.parsedDateParts, function(i) {
|
|
113
|
-
return i != null;
|
|
114
|
-
});
|
|
115
|
-
isNowValid = flags.overflow < 0 && !flags.empty && !flags.invalidEra && !flags.invalidMonth && !flags.invalidWeekday && !flags.weekdayMismatch && !flags.nullInput && !flags.invalidFormat && !flags.userInvalidated && (!flags.meridiem || flags.meridiem && parsedParts);
|
|
116
|
-
if (m._strict) {
|
|
117
|
-
isNowValid = isNowValid && flags.charsLeftOver === 0 && flags.unusedTokens.length === 0 && flags.bigHour === void 0;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
if (Object.isFrozen == null || !Object.isFrozen(m)) {
|
|
121
|
-
m._isValid = isNowValid;
|
|
122
|
-
} else {
|
|
123
|
-
return isNowValid;
|
|
124
|
-
}
|
|
125
|
-
return m._isValid;
|
|
126
|
-
}
|
|
127
|
-
function createInvalid(flags) {
|
|
128
|
-
var m = createUTC(NaN);
|
|
129
|
-
if (flags != null) {
|
|
130
|
-
extend(getParsingFlags(m), flags);
|
|
131
|
-
} else {
|
|
132
|
-
getParsingFlags(m).userInvalidated = true;
|
|
133
|
-
}
|
|
134
|
-
return m;
|
|
135
|
-
}
|
|
136
|
-
var momentProperties = hooks.momentProperties = [], updateInProgress = false;
|
|
137
|
-
function copyConfig(to2, from2) {
|
|
138
|
-
var i, prop, val, momentPropertiesLen = momentProperties.length;
|
|
139
|
-
if (!isUndefined(from2._isAMomentObject)) {
|
|
140
|
-
to2._isAMomentObject = from2._isAMomentObject;
|
|
141
|
-
}
|
|
142
|
-
if (!isUndefined(from2._i)) {
|
|
143
|
-
to2._i = from2._i;
|
|
144
|
-
}
|
|
145
|
-
if (!isUndefined(from2._f)) {
|
|
146
|
-
to2._f = from2._f;
|
|
147
|
-
}
|
|
148
|
-
if (!isUndefined(from2._l)) {
|
|
149
|
-
to2._l = from2._l;
|
|
150
|
-
}
|
|
151
|
-
if (!isUndefined(from2._strict)) {
|
|
152
|
-
to2._strict = from2._strict;
|
|
153
|
-
}
|
|
154
|
-
if (!isUndefined(from2._tzm)) {
|
|
155
|
-
to2._tzm = from2._tzm;
|
|
156
|
-
}
|
|
157
|
-
if (!isUndefined(from2._isUTC)) {
|
|
158
|
-
to2._isUTC = from2._isUTC;
|
|
159
|
-
}
|
|
160
|
-
if (!isUndefined(from2._offset)) {
|
|
161
|
-
to2._offset = from2._offset;
|
|
162
|
-
}
|
|
163
|
-
if (!isUndefined(from2._pf)) {
|
|
164
|
-
to2._pf = getParsingFlags(from2);
|
|
165
|
-
}
|
|
166
|
-
if (!isUndefined(from2._locale)) {
|
|
167
|
-
to2._locale = from2._locale;
|
|
168
|
-
}
|
|
169
|
-
if (momentPropertiesLen > 0) {
|
|
170
|
-
for (i = 0; i < momentPropertiesLen; i++) {
|
|
171
|
-
prop = momentProperties[i];
|
|
172
|
-
val = from2[prop];
|
|
173
|
-
if (!isUndefined(val)) {
|
|
174
|
-
to2[prop] = val;
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
return to2;
|
|
179
|
-
}
|
|
180
|
-
function Moment(config) {
|
|
181
|
-
copyConfig(this, config);
|
|
182
|
-
this._d = new Date(config._d != null ? config._d.getTime() : NaN);
|
|
183
|
-
if (!this.isValid()) {
|
|
184
|
-
this._d = /* @__PURE__ */ new Date(NaN);
|
|
185
|
-
}
|
|
186
|
-
if (updateInProgress === false) {
|
|
187
|
-
updateInProgress = true;
|
|
188
|
-
hooks.updateOffset(this);
|
|
189
|
-
updateInProgress = false;
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
function isMoment(obj) {
|
|
193
|
-
return obj instanceof Moment || obj != null && obj._isAMomentObject != null;
|
|
194
|
-
}
|
|
195
|
-
function warn(msg) {
|
|
196
|
-
if (hooks.suppressDeprecationWarnings === false && typeof console !== "undefined" && console.warn) {
|
|
197
|
-
console.warn("Deprecation warning: " + msg);
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
function deprecate(msg, fn) {
|
|
201
|
-
var firstTime = true;
|
|
202
|
-
return extend(function() {
|
|
203
|
-
if (hooks.deprecationHandler != null) {
|
|
204
|
-
hooks.deprecationHandler(null, msg);
|
|
205
|
-
}
|
|
206
|
-
if (firstTime) {
|
|
207
|
-
var args = [], arg, i, key, argLen = arguments.length;
|
|
208
|
-
for (i = 0; i < argLen; i++) {
|
|
209
|
-
arg = "";
|
|
210
|
-
if (typeof arguments[i] === "object") {
|
|
211
|
-
arg += "\n[" + i + "] ";
|
|
212
|
-
for (key in arguments[0]) {
|
|
213
|
-
if (hasOwnProp(arguments[0], key)) {
|
|
214
|
-
arg += key + ": " + arguments[0][key] + ", ";
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
arg = arg.slice(0, -2);
|
|
218
|
-
} else {
|
|
219
|
-
arg = arguments[i];
|
|
220
|
-
}
|
|
221
|
-
args.push(arg);
|
|
222
|
-
}
|
|
223
|
-
warn(
|
|
224
|
-
msg + "\nArguments: " + Array.prototype.slice.call(args).join("") + "\n" + new Error().stack
|
|
225
|
-
);
|
|
226
|
-
firstTime = false;
|
|
227
|
-
}
|
|
228
|
-
return fn.apply(this, arguments);
|
|
229
|
-
}, fn);
|
|
230
|
-
}
|
|
231
|
-
var deprecations = {};
|
|
232
|
-
function deprecateSimple(name, msg) {
|
|
233
|
-
if (hooks.deprecationHandler != null) {
|
|
234
|
-
hooks.deprecationHandler(name, msg);
|
|
235
|
-
}
|
|
236
|
-
if (!deprecations[name]) {
|
|
237
|
-
warn(msg);
|
|
238
|
-
deprecations[name] = true;
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
hooks.suppressDeprecationWarnings = false;
|
|
242
|
-
hooks.deprecationHandler = null;
|
|
243
|
-
function isFunction(input) {
|
|
244
|
-
return typeof Function !== "undefined" && input instanceof Function || Object.prototype.toString.call(input) === "[object Function]";
|
|
245
|
-
}
|
|
246
|
-
function set(config) {
|
|
247
|
-
var prop, i;
|
|
248
|
-
for (i in config) {
|
|
249
|
-
if (hasOwnProp(config, i)) {
|
|
250
|
-
prop = config[i];
|
|
251
|
-
if (isFunction(prop)) {
|
|
252
|
-
this[i] = prop;
|
|
253
|
-
} else {
|
|
254
|
-
this["_" + i] = prop;
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
this._config = config;
|
|
259
|
-
this._dayOfMonthOrdinalParseLenient = new RegExp(
|
|
260
|
-
(this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source
|
|
261
|
-
);
|
|
262
|
-
}
|
|
263
|
-
function mergeConfigs(parentConfig, childConfig) {
|
|
264
|
-
var res = extend({}, parentConfig), prop;
|
|
265
|
-
for (prop in childConfig) {
|
|
266
|
-
if (hasOwnProp(childConfig, prop)) {
|
|
267
|
-
if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) {
|
|
268
|
-
res[prop] = {};
|
|
269
|
-
extend(res[prop], parentConfig[prop]);
|
|
270
|
-
extend(res[prop], childConfig[prop]);
|
|
271
|
-
} else if (childConfig[prop] != null) {
|
|
272
|
-
res[prop] = childConfig[prop];
|
|
273
|
-
} else {
|
|
274
|
-
delete res[prop];
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
for (prop in parentConfig) {
|
|
279
|
-
if (hasOwnProp(parentConfig, prop) && !hasOwnProp(childConfig, prop) && isObject(parentConfig[prop])) {
|
|
280
|
-
res[prop] = extend({}, res[prop]);
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
return res;
|
|
284
|
-
}
|
|
285
|
-
function Locale(config) {
|
|
286
|
-
if (config != null) {
|
|
287
|
-
this.set(config);
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
var keys;
|
|
291
|
-
if (Object.keys) {
|
|
292
|
-
keys = Object.keys;
|
|
293
|
-
} else {
|
|
294
|
-
keys = function(obj) {
|
|
295
|
-
var i, res = [];
|
|
296
|
-
for (i in obj) {
|
|
297
|
-
if (hasOwnProp(obj, i)) {
|
|
298
|
-
res.push(i);
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
return res;
|
|
302
|
-
};
|
|
303
|
-
}
|
|
304
|
-
var defaultCalendar = {
|
|
305
|
-
sameDay: "[Today at] LT",
|
|
306
|
-
nextDay: "[Tomorrow at] LT",
|
|
307
|
-
nextWeek: "dddd [at] LT",
|
|
308
|
-
lastDay: "[Yesterday at] LT",
|
|
309
|
-
lastWeek: "[Last] dddd [at] LT",
|
|
310
|
-
sameElse: "L"
|
|
311
|
-
};
|
|
312
|
-
function calendar(key, mom, now2) {
|
|
313
|
-
var output = this._calendar[key] || this._calendar["sameElse"];
|
|
314
|
-
return isFunction(output) ? output.call(mom, now2) : output;
|
|
315
|
-
}
|
|
316
|
-
function zeroFill(number, targetLength, forceSign) {
|
|
317
|
-
var absNumber = "" + Math.abs(number), zerosToFill = targetLength - absNumber.length, sign2 = number >= 0;
|
|
318
|
-
return (sign2 ? forceSign ? "+" : "" : "-") + Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) + absNumber;
|
|
319
|
-
}
|
|
320
|
-
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 = {};
|
|
321
|
-
function addFormatToken(token2, padded, ordinal2, callback) {
|
|
322
|
-
var func = callback;
|
|
323
|
-
if (typeof callback === "string") {
|
|
324
|
-
func = function() {
|
|
325
|
-
return this[callback]();
|
|
326
|
-
};
|
|
327
|
-
}
|
|
328
|
-
if (token2) {
|
|
329
|
-
formatTokenFunctions[token2] = func;
|
|
330
|
-
}
|
|
331
|
-
if (padded) {
|
|
332
|
-
formatTokenFunctions[padded[0]] = function() {
|
|
333
|
-
return zeroFill(func.apply(this, arguments), padded[1], padded[2]);
|
|
334
|
-
};
|
|
335
|
-
}
|
|
336
|
-
if (ordinal2) {
|
|
337
|
-
formatTokenFunctions[ordinal2] = function() {
|
|
338
|
-
return this.localeData().ordinal(
|
|
339
|
-
func.apply(this, arguments),
|
|
340
|
-
token2
|
|
341
|
-
);
|
|
342
|
-
};
|
|
343
|
-
}
|
|
344
|
-
}
|
|
345
|
-
function removeFormattingTokens(input) {
|
|
346
|
-
if (input.match(/\[[\s\S]/)) {
|
|
347
|
-
return input.replace(/^\[|\]$/g, "");
|
|
348
|
-
}
|
|
349
|
-
return input.replace(/\\/g, "");
|
|
350
|
-
}
|
|
351
|
-
function makeFormatFunction(format2) {
|
|
352
|
-
var array = format2.match(formattingTokens), i, length;
|
|
353
|
-
for (i = 0, length = array.length; i < length; i++) {
|
|
354
|
-
if (formatTokenFunctions[array[i]]) {
|
|
355
|
-
array[i] = formatTokenFunctions[array[i]];
|
|
356
|
-
} else {
|
|
357
|
-
array[i] = removeFormattingTokens(array[i]);
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
return function(mom) {
|
|
361
|
-
var output = "", i2;
|
|
362
|
-
for (i2 = 0; i2 < length; i2++) {
|
|
363
|
-
output += isFunction(array[i2]) ? array[i2].call(mom, format2) : array[i2];
|
|
364
|
-
}
|
|
365
|
-
return output;
|
|
366
|
-
};
|
|
367
|
-
}
|
|
368
|
-
function formatMoment(m, format2) {
|
|
369
|
-
if (!m.isValid()) {
|
|
370
|
-
return m.localeData().invalidDate();
|
|
371
|
-
}
|
|
372
|
-
format2 = expandFormat(format2, m.localeData());
|
|
373
|
-
formatFunctions[format2] = formatFunctions[format2] || makeFormatFunction(format2);
|
|
374
|
-
return formatFunctions[format2](m);
|
|
375
|
-
}
|
|
376
|
-
function expandFormat(format2, locale2) {
|
|
377
|
-
var i = 5;
|
|
378
|
-
function replaceLongDateFormatTokens(input) {
|
|
379
|
-
return locale2.longDateFormat(input) || input;
|
|
380
|
-
}
|
|
381
|
-
localFormattingTokens.lastIndex = 0;
|
|
382
|
-
while (i >= 0 && localFormattingTokens.test(format2)) {
|
|
383
|
-
format2 = format2.replace(
|
|
384
|
-
localFormattingTokens,
|
|
385
|
-
replaceLongDateFormatTokens
|
|
386
|
-
);
|
|
387
|
-
localFormattingTokens.lastIndex = 0;
|
|
388
|
-
i -= 1;
|
|
389
|
-
}
|
|
390
|
-
return format2;
|
|
391
|
-
}
|
|
392
|
-
var defaultLongDateFormat = {
|
|
393
|
-
LTS: "h:mm:ss A",
|
|
394
|
-
LT: "h:mm A",
|
|
395
|
-
L: "MM/DD/YYYY",
|
|
396
|
-
LL: "MMMM D, YYYY",
|
|
397
|
-
LLL: "MMMM D, YYYY h:mm A",
|
|
398
|
-
LLLL: "dddd, MMMM D, YYYY h:mm A"
|
|
399
|
-
};
|
|
400
|
-
function longDateFormat(key) {
|
|
401
|
-
var format2 = this._longDateFormat[key], formatUpper = this._longDateFormat[key.toUpperCase()];
|
|
402
|
-
if (format2 || !formatUpper) {
|
|
403
|
-
return format2;
|
|
404
|
-
}
|
|
405
|
-
this._longDateFormat[key] = formatUpper.match(formattingTokens).map(function(tok) {
|
|
406
|
-
if (tok === "MMMM" || tok === "MM" || tok === "DD" || tok === "dddd") {
|
|
407
|
-
return tok.slice(1);
|
|
408
|
-
}
|
|
409
|
-
return tok;
|
|
410
|
-
}).join("");
|
|
411
|
-
return this._longDateFormat[key];
|
|
412
|
-
}
|
|
413
|
-
var defaultInvalidDate = "Invalid date";
|
|
414
|
-
function invalidDate() {
|
|
415
|
-
return this._invalidDate;
|
|
416
|
-
}
|
|
417
|
-
var defaultOrdinal = "%d", defaultDayOfMonthOrdinalParse = /\d{1,2}/;
|
|
418
|
-
function ordinal(number) {
|
|
419
|
-
return this._ordinal.replace("%d", number);
|
|
420
|
-
}
|
|
421
|
-
var defaultRelativeTime = {
|
|
422
|
-
future: "in %s",
|
|
423
|
-
past: "%s ago",
|
|
424
|
-
s: "a few seconds",
|
|
425
|
-
ss: "%d seconds",
|
|
426
|
-
m: "a minute",
|
|
427
|
-
mm: "%d minutes",
|
|
428
|
-
h: "an hour",
|
|
429
|
-
hh: "%d hours",
|
|
430
|
-
d: "a day",
|
|
431
|
-
dd: "%d days",
|
|
432
|
-
w: "a week",
|
|
433
|
-
ww: "%d weeks",
|
|
434
|
-
M: "a month",
|
|
435
|
-
MM: "%d months",
|
|
436
|
-
y: "a year",
|
|
437
|
-
yy: "%d years"
|
|
438
|
-
};
|
|
439
|
-
function relativeTime(number, withoutSuffix, string, isFuture) {
|
|
440
|
-
var output = this._relativeTime[string];
|
|
441
|
-
return isFunction(output) ? output(number, withoutSuffix, string, isFuture) : output.replace(/%d/i, number);
|
|
442
|
-
}
|
|
443
|
-
function pastFuture(diff2, output) {
|
|
444
|
-
var format2 = this._relativeTime[diff2 > 0 ? "future" : "past"];
|
|
445
|
-
return isFunction(format2) ? format2(output) : format2.replace(/%s/i, output);
|
|
446
|
-
}
|
|
447
|
-
var aliases = {
|
|
448
|
-
D: "date",
|
|
449
|
-
dates: "date",
|
|
450
|
-
date: "date",
|
|
451
|
-
d: "day",
|
|
452
|
-
days: "day",
|
|
453
|
-
day: "day",
|
|
454
|
-
e: "weekday",
|
|
455
|
-
weekdays: "weekday",
|
|
456
|
-
weekday: "weekday",
|
|
457
|
-
E: "isoWeekday",
|
|
458
|
-
isoweekdays: "isoWeekday",
|
|
459
|
-
isoweekday: "isoWeekday",
|
|
460
|
-
DDD: "dayOfYear",
|
|
461
|
-
dayofyears: "dayOfYear",
|
|
462
|
-
dayofyear: "dayOfYear",
|
|
463
|
-
h: "hour",
|
|
464
|
-
hours: "hour",
|
|
465
|
-
hour: "hour",
|
|
466
|
-
ms: "millisecond",
|
|
467
|
-
milliseconds: "millisecond",
|
|
468
|
-
millisecond: "millisecond",
|
|
469
|
-
m: "minute",
|
|
470
|
-
minutes: "minute",
|
|
471
|
-
minute: "minute",
|
|
472
|
-
M: "month",
|
|
473
|
-
months: "month",
|
|
474
|
-
month: "month",
|
|
475
|
-
Q: "quarter",
|
|
476
|
-
quarters: "quarter",
|
|
477
|
-
quarter: "quarter",
|
|
478
|
-
s: "second",
|
|
479
|
-
seconds: "second",
|
|
480
|
-
second: "second",
|
|
481
|
-
gg: "weekYear",
|
|
482
|
-
weekyears: "weekYear",
|
|
483
|
-
weekyear: "weekYear",
|
|
484
|
-
GG: "isoWeekYear",
|
|
485
|
-
isoweekyears: "isoWeekYear",
|
|
486
|
-
isoweekyear: "isoWeekYear",
|
|
487
|
-
w: "week",
|
|
488
|
-
weeks: "week",
|
|
489
|
-
week: "week",
|
|
490
|
-
W: "isoWeek",
|
|
491
|
-
isoweeks: "isoWeek",
|
|
492
|
-
isoweek: "isoWeek",
|
|
493
|
-
y: "year",
|
|
494
|
-
years: "year",
|
|
495
|
-
year: "year"
|
|
496
|
-
};
|
|
497
|
-
function normalizeUnits(units) {
|
|
498
|
-
return typeof units === "string" ? aliases[units] || aliases[units.toLowerCase()] : void 0;
|
|
499
|
-
}
|
|
500
|
-
function normalizeObjectUnits(inputObject) {
|
|
501
|
-
var normalizedInput = {}, normalizedProp, prop;
|
|
502
|
-
for (prop in inputObject) {
|
|
503
|
-
if (hasOwnProp(inputObject, prop)) {
|
|
504
|
-
normalizedProp = normalizeUnits(prop);
|
|
505
|
-
if (normalizedProp) {
|
|
506
|
-
normalizedInput[normalizedProp] = inputObject[prop];
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
return normalizedInput;
|
|
511
|
-
}
|
|
512
|
-
var priorities = {
|
|
513
|
-
date: 9,
|
|
514
|
-
day: 11,
|
|
515
|
-
weekday: 11,
|
|
516
|
-
isoWeekday: 11,
|
|
517
|
-
dayOfYear: 4,
|
|
518
|
-
hour: 13,
|
|
519
|
-
millisecond: 16,
|
|
520
|
-
minute: 14,
|
|
521
|
-
month: 8,
|
|
522
|
-
quarter: 7,
|
|
523
|
-
second: 15,
|
|
524
|
-
weekYear: 1,
|
|
525
|
-
isoWeekYear: 1,
|
|
526
|
-
week: 5,
|
|
527
|
-
isoWeek: 5,
|
|
528
|
-
year: 1
|
|
529
|
-
};
|
|
530
|
-
function getPrioritizedUnits(unitsObj) {
|
|
531
|
-
var units = [], u;
|
|
532
|
-
for (u in unitsObj) {
|
|
533
|
-
if (hasOwnProp(unitsObj, u)) {
|
|
534
|
-
units.push({ unit: u, priority: priorities[u] });
|
|
535
|
-
}
|
|
536
|
-
}
|
|
537
|
-
units.sort(function(a, b) {
|
|
538
|
-
return a.priority - b.priority;
|
|
539
|
-
});
|
|
540
|
-
return units;
|
|
541
|
-
}
|
|
542
|
-
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;
|
|
543
|
-
regexes = {};
|
|
544
|
-
function addRegexToken(token2, regex, strictRegex) {
|
|
545
|
-
regexes[token2] = isFunction(regex) ? regex : function(isStrict, localeData2) {
|
|
546
|
-
return isStrict && strictRegex ? strictRegex : regex;
|
|
547
|
-
};
|
|
548
|
-
}
|
|
549
|
-
function getParseRegexForToken(token2, config) {
|
|
550
|
-
if (!hasOwnProp(regexes, token2)) {
|
|
551
|
-
return new RegExp(unescapeFormat(token2));
|
|
552
|
-
}
|
|
553
|
-
return regexes[token2](config._strict, config._locale);
|
|
554
|
-
}
|
|
555
|
-
function unescapeFormat(s) {
|
|
556
|
-
return regexEscape(
|
|
557
|
-
s.replace("\\", "").replace(
|
|
558
|
-
/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
|
|
559
|
-
function(matched, p1, p2, p3, p4) {
|
|
560
|
-
return p1 || p2 || p3 || p4;
|
|
561
|
-
}
|
|
562
|
-
)
|
|
563
|
-
);
|
|
564
|
-
}
|
|
565
|
-
function regexEscape(s) {
|
|
566
|
-
return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
|
|
567
|
-
}
|
|
568
|
-
function absFloor(number) {
|
|
569
|
-
if (number < 0) {
|
|
570
|
-
return Math.ceil(number) || 0;
|
|
571
|
-
} else {
|
|
572
|
-
return Math.floor(number);
|
|
573
|
-
}
|
|
574
|
-
}
|
|
575
|
-
function toInt(argumentForCoercion) {
|
|
576
|
-
var coercedNumber = +argumentForCoercion, value = 0;
|
|
577
|
-
if (coercedNumber !== 0 && isFinite(coercedNumber)) {
|
|
578
|
-
value = absFloor(coercedNumber);
|
|
579
|
-
}
|
|
580
|
-
return value;
|
|
581
|
-
}
|
|
582
|
-
var tokens = {};
|
|
583
|
-
function addParseToken(token2, callback) {
|
|
584
|
-
var i, func = callback, tokenLen;
|
|
585
|
-
if (typeof token2 === "string") {
|
|
586
|
-
token2 = [token2];
|
|
587
|
-
}
|
|
588
|
-
if (isNumber(callback)) {
|
|
589
|
-
func = function(input, array) {
|
|
590
|
-
array[callback] = toInt(input);
|
|
591
|
-
};
|
|
592
|
-
}
|
|
593
|
-
tokenLen = token2.length;
|
|
594
|
-
for (i = 0; i < tokenLen; i++) {
|
|
595
|
-
tokens[token2[i]] = func;
|
|
596
|
-
}
|
|
597
|
-
}
|
|
598
|
-
function addWeekParseToken(token2, callback) {
|
|
599
|
-
addParseToken(token2, function(input, array, config, token3) {
|
|
600
|
-
config._w = config._w || {};
|
|
601
|
-
callback(input, config._w, config, token3);
|
|
602
|
-
});
|
|
603
|
-
}
|
|
604
|
-
function addTimeToArrayFromToken(token2, input, config) {
|
|
605
|
-
if (input != null && hasOwnProp(tokens, token2)) {
|
|
606
|
-
tokens[token2](input, config._a, config, token2);
|
|
607
|
-
}
|
|
608
|
-
}
|
|
609
|
-
function isLeapYear(year) {
|
|
610
|
-
return year % 4 === 0 && year % 100 !== 0 || year % 400 === 0;
|
|
611
|
-
}
|
|
612
|
-
var YEAR = 0, MONTH = 1, DATE = 2, HOUR = 3, MINUTE = 4, SECOND = 5, MILLISECOND = 6, WEEK = 7, WEEKDAY = 8;
|
|
613
|
-
addFormatToken("Y", 0, 0, function() {
|
|
614
|
-
var y = this.year();
|
|
615
|
-
return y <= 9999 ? zeroFill(y, 4) : "+" + y;
|
|
616
|
-
});
|
|
617
|
-
addFormatToken(0, ["YY", 2], 0, function() {
|
|
618
|
-
return this.year() % 100;
|
|
619
|
-
});
|
|
620
|
-
addFormatToken(0, ["YYYY", 4], 0, "year");
|
|
621
|
-
addFormatToken(0, ["YYYYY", 5], 0, "year");
|
|
622
|
-
addFormatToken(0, ["YYYYYY", 6, true], 0, "year");
|
|
623
|
-
addRegexToken("Y", matchSigned);
|
|
624
|
-
addRegexToken("YY", match1to2, match2);
|
|
625
|
-
addRegexToken("YYYY", match1to4, match4);
|
|
626
|
-
addRegexToken("YYYYY", match1to6, match6);
|
|
627
|
-
addRegexToken("YYYYYY", match1to6, match6);
|
|
628
|
-
addParseToken(["YYYYY", "YYYYYY"], YEAR);
|
|
629
|
-
addParseToken("YYYY", function(input, array) {
|
|
630
|
-
array[YEAR] = input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input);
|
|
631
|
-
});
|
|
632
|
-
addParseToken("YY", function(input, array) {
|
|
633
|
-
array[YEAR] = hooks.parseTwoDigitYear(input);
|
|
634
|
-
});
|
|
635
|
-
addParseToken("Y", function(input, array) {
|
|
636
|
-
array[YEAR] = parseInt(input, 10);
|
|
637
|
-
});
|
|
638
|
-
function daysInYear(year) {
|
|
639
|
-
return isLeapYear(year) ? 366 : 365;
|
|
640
|
-
}
|
|
641
|
-
hooks.parseTwoDigitYear = function(input) {
|
|
642
|
-
return toInt(input) + (toInt(input) > 68 ? 1900 : 2e3);
|
|
643
|
-
};
|
|
644
|
-
var getSetYear = makeGetSet("FullYear", true);
|
|
645
|
-
function getIsLeapYear() {
|
|
646
|
-
return isLeapYear(this.year());
|
|
647
|
-
}
|
|
648
|
-
function makeGetSet(unit, keepTime) {
|
|
649
|
-
return function(value) {
|
|
650
|
-
if (value != null) {
|
|
651
|
-
set$1(this, unit, value);
|
|
652
|
-
hooks.updateOffset(this, keepTime);
|
|
653
|
-
return this;
|
|
654
|
-
} else {
|
|
655
|
-
return get(this, unit);
|
|
656
|
-
}
|
|
657
|
-
};
|
|
658
|
-
}
|
|
659
|
-
function get(mom, unit) {
|
|
660
|
-
if (!mom.isValid()) {
|
|
661
|
-
return NaN;
|
|
662
|
-
}
|
|
663
|
-
var d = mom._d, isUTC = mom._isUTC;
|
|
664
|
-
switch (unit) {
|
|
665
|
-
case "Milliseconds":
|
|
666
|
-
return isUTC ? d.getUTCMilliseconds() : d.getMilliseconds();
|
|
667
|
-
case "Seconds":
|
|
668
|
-
return isUTC ? d.getUTCSeconds() : d.getSeconds();
|
|
669
|
-
case "Minutes":
|
|
670
|
-
return isUTC ? d.getUTCMinutes() : d.getMinutes();
|
|
671
|
-
case "Hours":
|
|
672
|
-
return isUTC ? d.getUTCHours() : d.getHours();
|
|
673
|
-
case "Date":
|
|
674
|
-
return isUTC ? d.getUTCDate() : d.getDate();
|
|
675
|
-
case "Day":
|
|
676
|
-
return isUTC ? d.getUTCDay() : d.getDay();
|
|
677
|
-
case "Month":
|
|
678
|
-
return isUTC ? d.getUTCMonth() : d.getMonth();
|
|
679
|
-
case "FullYear":
|
|
680
|
-
return isUTC ? d.getUTCFullYear() : d.getFullYear();
|
|
681
|
-
default:
|
|
682
|
-
return NaN;
|
|
683
|
-
}
|
|
684
|
-
}
|
|
685
|
-
function set$1(mom, unit, value) {
|
|
686
|
-
var d, isUTC, year, month, date;
|
|
687
|
-
if (!mom.isValid() || isNaN(value)) {
|
|
688
|
-
return;
|
|
689
|
-
}
|
|
690
|
-
d = mom._d;
|
|
691
|
-
isUTC = mom._isUTC;
|
|
692
|
-
switch (unit) {
|
|
693
|
-
case "Milliseconds":
|
|
694
|
-
return void (isUTC ? d.setUTCMilliseconds(value) : d.setMilliseconds(value));
|
|
695
|
-
case "Seconds":
|
|
696
|
-
return void (isUTC ? d.setUTCSeconds(value) : d.setSeconds(value));
|
|
697
|
-
case "Minutes":
|
|
698
|
-
return void (isUTC ? d.setUTCMinutes(value) : d.setMinutes(value));
|
|
699
|
-
case "Hours":
|
|
700
|
-
return void (isUTC ? d.setUTCHours(value) : d.setHours(value));
|
|
701
|
-
case "Date":
|
|
702
|
-
return void (isUTC ? d.setUTCDate(value) : d.setDate(value));
|
|
703
|
-
case "FullYear":
|
|
704
|
-
break;
|
|
705
|
-
default:
|
|
706
|
-
return;
|
|
707
|
-
}
|
|
708
|
-
year = value;
|
|
709
|
-
month = mom.month();
|
|
710
|
-
date = mom.date();
|
|
711
|
-
date = date === 29 && month === 1 && !isLeapYear(year) ? 28 : date;
|
|
712
|
-
void (isUTC ? d.setUTCFullYear(year, month, date) : d.setFullYear(year, month, date));
|
|
713
|
-
}
|
|
714
|
-
function stringGet(units) {
|
|
715
|
-
units = normalizeUnits(units);
|
|
716
|
-
if (isFunction(this[units])) {
|
|
717
|
-
return this[units]();
|
|
718
|
-
}
|
|
719
|
-
return this;
|
|
720
|
-
}
|
|
721
|
-
function stringSet(units, value) {
|
|
722
|
-
if (typeof units === "object") {
|
|
723
|
-
units = normalizeObjectUnits(units);
|
|
724
|
-
var prioritized = getPrioritizedUnits(units), i, prioritizedLen = prioritized.length;
|
|
725
|
-
for (i = 0; i < prioritizedLen; i++) {
|
|
726
|
-
this[prioritized[i].unit](units[prioritized[i].unit]);
|
|
727
|
-
}
|
|
728
|
-
} else {
|
|
729
|
-
units = normalizeUnits(units);
|
|
730
|
-
if (isFunction(this[units])) {
|
|
731
|
-
return this[units](value);
|
|
732
|
-
}
|
|
733
|
-
}
|
|
734
|
-
return this;
|
|
735
|
-
}
|
|
736
|
-
function mod(n, x) {
|
|
737
|
-
return (n % x + x) % x;
|
|
738
|
-
}
|
|
739
|
-
var indexOf;
|
|
740
|
-
if (Array.prototype.indexOf) {
|
|
741
|
-
indexOf = Array.prototype.indexOf;
|
|
742
|
-
} else {
|
|
743
|
-
indexOf = function(o) {
|
|
744
|
-
var i;
|
|
745
|
-
for (i = 0; i < this.length; ++i) {
|
|
746
|
-
if (this[i] === o) {
|
|
747
|
-
return i;
|
|
748
|
-
}
|
|
749
|
-
}
|
|
750
|
-
return -1;
|
|
751
|
-
};
|
|
752
|
-
}
|
|
753
|
-
function daysInMonth(year, month) {
|
|
754
|
-
if (isNaN(year) || isNaN(month)) {
|
|
755
|
-
return NaN;
|
|
756
|
-
}
|
|
757
|
-
var modMonth = mod(month, 12);
|
|
758
|
-
year += (month - modMonth) / 12;
|
|
759
|
-
return modMonth === 1 ? isLeapYear(year) ? 29 : 28 : 31 - modMonth % 7 % 2;
|
|
760
|
-
}
|
|
761
|
-
addFormatToken("M", ["MM", 2], "Mo", function() {
|
|
762
|
-
return this.month() + 1;
|
|
763
|
-
});
|
|
764
|
-
addFormatToken("MMM", 0, 0, function(format2) {
|
|
765
|
-
return this.localeData().monthsShort(this, format2);
|
|
766
|
-
});
|
|
767
|
-
addFormatToken("MMMM", 0, 0, function(format2) {
|
|
768
|
-
return this.localeData().months(this, format2);
|
|
769
|
-
});
|
|
770
|
-
addRegexToken("M", match1to2, match1to2NoLeadingZero);
|
|
771
|
-
addRegexToken("MM", match1to2, match2);
|
|
772
|
-
addRegexToken("MMM", function(isStrict, locale2) {
|
|
773
|
-
return locale2.monthsShortRegex(isStrict);
|
|
774
|
-
});
|
|
775
|
-
addRegexToken("MMMM", function(isStrict, locale2) {
|
|
776
|
-
return locale2.monthsRegex(isStrict);
|
|
777
|
-
});
|
|
778
|
-
addParseToken(["M", "MM"], function(input, array) {
|
|
779
|
-
array[MONTH] = toInt(input) - 1;
|
|
780
|
-
});
|
|
781
|
-
addParseToken(["MMM", "MMMM"], function(input, array, config, token2) {
|
|
782
|
-
var month = config._locale.monthsParse(input, token2, config._strict);
|
|
783
|
-
if (month != null) {
|
|
784
|
-
array[MONTH] = month;
|
|
785
|
-
} else {
|
|
786
|
-
getParsingFlags(config).invalidMonth = input;
|
|
787
|
-
}
|
|
788
|
-
});
|
|
789
|
-
var defaultLocaleMonths = "January_February_March_April_May_June_July_August_September_October_November_December".split(
|
|
790
|
-
"_"
|
|
791
|
-
), 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;
|
|
792
|
-
function localeMonths(m, format2) {
|
|
793
|
-
if (!m) {
|
|
794
|
-
return isArray(this._months) ? this._months : this._months["standalone"];
|
|
795
|
-
}
|
|
796
|
-
return isArray(this._months) ? this._months[m.month()] : this._months[(this._months.isFormat || MONTHS_IN_FORMAT).test(format2) ? "format" : "standalone"][m.month()];
|
|
797
|
-
}
|
|
798
|
-
function localeMonthsShort(m, format2) {
|
|
799
|
-
if (!m) {
|
|
800
|
-
return isArray(this._monthsShort) ? this._monthsShort : this._monthsShort["standalone"];
|
|
801
|
-
}
|
|
802
|
-
return isArray(this._monthsShort) ? this._monthsShort[m.month()] : this._monthsShort[MONTHS_IN_FORMAT.test(format2) ? "format" : "standalone"][m.month()];
|
|
803
|
-
}
|
|
804
|
-
function handleStrictParse(monthName, format2, strict) {
|
|
805
|
-
var i, ii, mom, llc = monthName.toLocaleLowerCase();
|
|
806
|
-
if (!this._monthsParse) {
|
|
807
|
-
this._monthsParse = [];
|
|
808
|
-
this._longMonthsParse = [];
|
|
809
|
-
this._shortMonthsParse = [];
|
|
810
|
-
for (i = 0; i < 12; ++i) {
|
|
811
|
-
mom = createUTC([2e3, i]);
|
|
812
|
-
this._shortMonthsParse[i] = this.monthsShort(
|
|
813
|
-
mom,
|
|
814
|
-
""
|
|
815
|
-
).toLocaleLowerCase();
|
|
816
|
-
this._longMonthsParse[i] = this.months(mom, "").toLocaleLowerCase();
|
|
817
|
-
}
|
|
818
|
-
}
|
|
819
|
-
if (strict) {
|
|
820
|
-
if (format2 === "MMM") {
|
|
821
|
-
ii = indexOf.call(this._shortMonthsParse, llc);
|
|
822
|
-
return ii !== -1 ? ii : null;
|
|
823
|
-
} else {
|
|
824
|
-
ii = indexOf.call(this._longMonthsParse, llc);
|
|
825
|
-
return ii !== -1 ? ii : null;
|
|
826
|
-
}
|
|
827
|
-
} else {
|
|
828
|
-
if (format2 === "MMM") {
|
|
829
|
-
ii = indexOf.call(this._shortMonthsParse, llc);
|
|
830
|
-
if (ii !== -1) {
|
|
831
|
-
return ii;
|
|
832
|
-
}
|
|
833
|
-
ii = indexOf.call(this._longMonthsParse, llc);
|
|
834
|
-
return ii !== -1 ? ii : null;
|
|
835
|
-
} else {
|
|
836
|
-
ii = indexOf.call(this._longMonthsParse, llc);
|
|
837
|
-
if (ii !== -1) {
|
|
838
|
-
return ii;
|
|
839
|
-
}
|
|
840
|
-
ii = indexOf.call(this._shortMonthsParse, llc);
|
|
841
|
-
return ii !== -1 ? ii : null;
|
|
842
|
-
}
|
|
843
|
-
}
|
|
844
|
-
}
|
|
845
|
-
function localeMonthsParse(monthName, format2, strict) {
|
|
846
|
-
var i, mom, regex;
|
|
847
|
-
if (this._monthsParseExact) {
|
|
848
|
-
return handleStrictParse.call(this, monthName, format2, strict);
|
|
849
|
-
}
|
|
850
|
-
if (!this._monthsParse) {
|
|
851
|
-
this._monthsParse = [];
|
|
852
|
-
this._longMonthsParse = [];
|
|
853
|
-
this._shortMonthsParse = [];
|
|
854
|
-
}
|
|
855
|
-
for (i = 0; i < 12; i++) {
|
|
856
|
-
mom = createUTC([2e3, i]);
|
|
857
|
-
if (strict && !this._longMonthsParse[i]) {
|
|
858
|
-
this._longMonthsParse[i] = new RegExp(
|
|
859
|
-
"^" + this.months(mom, "").replace(".", "") + "$",
|
|
860
|
-
"i"
|
|
861
|
-
);
|
|
862
|
-
this._shortMonthsParse[i] = new RegExp(
|
|
863
|
-
"^" + this.monthsShort(mom, "").replace(".", "") + "$",
|
|
864
|
-
"i"
|
|
865
|
-
);
|
|
866
|
-
}
|
|
867
|
-
if (!strict && !this._monthsParse[i]) {
|
|
868
|
-
regex = "^" + this.months(mom, "") + "|^" + this.monthsShort(mom, "");
|
|
869
|
-
this._monthsParse[i] = new RegExp(regex.replace(".", ""), "i");
|
|
870
|
-
}
|
|
871
|
-
if (strict && format2 === "MMMM" && this._longMonthsParse[i].test(monthName)) {
|
|
872
|
-
return i;
|
|
873
|
-
} else if (strict && format2 === "MMM" && this._shortMonthsParse[i].test(monthName)) {
|
|
874
|
-
return i;
|
|
875
|
-
} else if (!strict && this._monthsParse[i].test(monthName)) {
|
|
876
|
-
return i;
|
|
877
|
-
}
|
|
878
|
-
}
|
|
879
|
-
}
|
|
880
|
-
function setMonth(mom, value) {
|
|
881
|
-
if (!mom.isValid()) {
|
|
882
|
-
return mom;
|
|
883
|
-
}
|
|
884
|
-
if (typeof value === "string") {
|
|
885
|
-
if (/^\d+$/.test(value)) {
|
|
886
|
-
value = toInt(value);
|
|
887
|
-
} else {
|
|
888
|
-
value = mom.localeData().monthsParse(value);
|
|
889
|
-
if (!isNumber(value)) {
|
|
890
|
-
return mom;
|
|
891
|
-
}
|
|
892
|
-
}
|
|
893
|
-
}
|
|
894
|
-
var month = value, date = mom.date();
|
|
895
|
-
date = date < 29 ? date : Math.min(date, daysInMonth(mom.year(), month));
|
|
896
|
-
void (mom._isUTC ? mom._d.setUTCMonth(month, date) : mom._d.setMonth(month, date));
|
|
897
|
-
return mom;
|
|
898
|
-
}
|
|
899
|
-
function getSetMonth(value) {
|
|
900
|
-
if (value != null) {
|
|
901
|
-
setMonth(this, value);
|
|
902
|
-
hooks.updateOffset(this, true);
|
|
903
|
-
return this;
|
|
904
|
-
} else {
|
|
905
|
-
return get(this, "Month");
|
|
906
|
-
}
|
|
907
|
-
}
|
|
908
|
-
function getDaysInMonth() {
|
|
909
|
-
return daysInMonth(this.year(), this.month());
|
|
910
|
-
}
|
|
911
|
-
function monthsShortRegex(isStrict) {
|
|
912
|
-
if (this._monthsParseExact) {
|
|
913
|
-
if (!hasOwnProp(this, "_monthsRegex")) {
|
|
914
|
-
computeMonthsParse.call(this);
|
|
915
|
-
}
|
|
916
|
-
if (isStrict) {
|
|
917
|
-
return this._monthsShortStrictRegex;
|
|
918
|
-
} else {
|
|
919
|
-
return this._monthsShortRegex;
|
|
920
|
-
}
|
|
921
|
-
} else {
|
|
922
|
-
if (!hasOwnProp(this, "_monthsShortRegex")) {
|
|
923
|
-
this._monthsShortRegex = defaultMonthsShortRegex;
|
|
924
|
-
}
|
|
925
|
-
return this._monthsShortStrictRegex && isStrict ? this._monthsShortStrictRegex : this._monthsShortRegex;
|
|
926
|
-
}
|
|
927
|
-
}
|
|
928
|
-
function monthsRegex(isStrict) {
|
|
929
|
-
if (this._monthsParseExact) {
|
|
930
|
-
if (!hasOwnProp(this, "_monthsRegex")) {
|
|
931
|
-
computeMonthsParse.call(this);
|
|
932
|
-
}
|
|
933
|
-
if (isStrict) {
|
|
934
|
-
return this._monthsStrictRegex;
|
|
935
|
-
} else {
|
|
936
|
-
return this._monthsRegex;
|
|
937
|
-
}
|
|
938
|
-
} else {
|
|
939
|
-
if (!hasOwnProp(this, "_monthsRegex")) {
|
|
940
|
-
this._monthsRegex = defaultMonthsRegex;
|
|
941
|
-
}
|
|
942
|
-
return this._monthsStrictRegex && isStrict ? this._monthsStrictRegex : this._monthsRegex;
|
|
943
|
-
}
|
|
944
|
-
}
|
|
945
|
-
function computeMonthsParse() {
|
|
946
|
-
function cmpLenRev(a, b) {
|
|
947
|
-
return b.length - a.length;
|
|
948
|
-
}
|
|
949
|
-
var shortPieces = [], longPieces = [], mixedPieces = [], i, mom, shortP, longP;
|
|
950
|
-
for (i = 0; i < 12; i++) {
|
|
951
|
-
mom = createUTC([2e3, i]);
|
|
952
|
-
shortP = regexEscape(this.monthsShort(mom, ""));
|
|
953
|
-
longP = regexEscape(this.months(mom, ""));
|
|
954
|
-
shortPieces.push(shortP);
|
|
955
|
-
longPieces.push(longP);
|
|
956
|
-
mixedPieces.push(longP);
|
|
957
|
-
mixedPieces.push(shortP);
|
|
958
|
-
}
|
|
959
|
-
shortPieces.sort(cmpLenRev);
|
|
960
|
-
longPieces.sort(cmpLenRev);
|
|
961
|
-
mixedPieces.sort(cmpLenRev);
|
|
962
|
-
this._monthsRegex = new RegExp("^(" + mixedPieces.join("|") + ")", "i");
|
|
963
|
-
this._monthsShortRegex = this._monthsRegex;
|
|
964
|
-
this._monthsStrictRegex = new RegExp(
|
|
965
|
-
"^(" + longPieces.join("|") + ")",
|
|
966
|
-
"i"
|
|
967
|
-
);
|
|
968
|
-
this._monthsShortStrictRegex = new RegExp(
|
|
969
|
-
"^(" + shortPieces.join("|") + ")",
|
|
970
|
-
"i"
|
|
971
|
-
);
|
|
972
|
-
}
|
|
973
|
-
function createDate(y, m, d, h, M, s, ms) {
|
|
974
|
-
var date;
|
|
975
|
-
if (y < 100 && y >= 0) {
|
|
976
|
-
date = new Date(y + 400, m, d, h, M, s, ms);
|
|
977
|
-
if (isFinite(date.getFullYear())) {
|
|
978
|
-
date.setFullYear(y);
|
|
979
|
-
}
|
|
980
|
-
} else {
|
|
981
|
-
date = new Date(y, m, d, h, M, s, ms);
|
|
982
|
-
}
|
|
983
|
-
return date;
|
|
984
|
-
}
|
|
985
|
-
function createUTCDate(y) {
|
|
986
|
-
var date, args;
|
|
987
|
-
if (y < 100 && y >= 0) {
|
|
988
|
-
args = Array.prototype.slice.call(arguments);
|
|
989
|
-
args[0] = y + 400;
|
|
990
|
-
date = new Date(Date.UTC.apply(null, args));
|
|
991
|
-
if (isFinite(date.getUTCFullYear())) {
|
|
992
|
-
date.setUTCFullYear(y);
|
|
993
|
-
}
|
|
994
|
-
} else {
|
|
995
|
-
date = new Date(Date.UTC.apply(null, arguments));
|
|
996
|
-
}
|
|
997
|
-
return date;
|
|
998
|
-
}
|
|
999
|
-
function firstWeekOffset(year, dow, doy) {
|
|
1000
|
-
var fwd = 7 + dow - doy, fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7;
|
|
1001
|
-
return -fwdlw + fwd - 1;
|
|
1002
|
-
}
|
|
1003
|
-
function dayOfYearFromWeeks(year, week, weekday, dow, doy) {
|
|
1004
|
-
var localWeekday = (7 + weekday - dow) % 7, weekOffset = firstWeekOffset(year, dow, doy), dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset, resYear, resDayOfYear;
|
|
1005
|
-
if (dayOfYear <= 0) {
|
|
1006
|
-
resYear = year - 1;
|
|
1007
|
-
resDayOfYear = daysInYear(resYear) + dayOfYear;
|
|
1008
|
-
} else if (dayOfYear > daysInYear(year)) {
|
|
1009
|
-
resYear = year + 1;
|
|
1010
|
-
resDayOfYear = dayOfYear - daysInYear(year);
|
|
1011
|
-
} else {
|
|
1012
|
-
resYear = year;
|
|
1013
|
-
resDayOfYear = dayOfYear;
|
|
1014
|
-
}
|
|
1015
|
-
return {
|
|
1016
|
-
year: resYear,
|
|
1017
|
-
dayOfYear: resDayOfYear
|
|
1018
|
-
};
|
|
1019
|
-
}
|
|
1020
|
-
function weekOfYear(mom, dow, doy) {
|
|
1021
|
-
var weekOffset = firstWeekOffset(mom.year(), dow, doy), week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1, resWeek, resYear;
|
|
1022
|
-
if (week < 1) {
|
|
1023
|
-
resYear = mom.year() - 1;
|
|
1024
|
-
resWeek = week + weeksInYear(resYear, dow, doy);
|
|
1025
|
-
} else if (week > weeksInYear(mom.year(), dow, doy)) {
|
|
1026
|
-
resWeek = week - weeksInYear(mom.year(), dow, doy);
|
|
1027
|
-
resYear = mom.year() + 1;
|
|
1028
|
-
} else {
|
|
1029
|
-
resYear = mom.year();
|
|
1030
|
-
resWeek = week;
|
|
1031
|
-
}
|
|
1032
|
-
return {
|
|
1033
|
-
week: resWeek,
|
|
1034
|
-
year: resYear
|
|
1035
|
-
};
|
|
1036
|
-
}
|
|
1037
|
-
function weeksInYear(year, dow, doy) {
|
|
1038
|
-
var weekOffset = firstWeekOffset(year, dow, doy), weekOffsetNext = firstWeekOffset(year + 1, dow, doy);
|
|
1039
|
-
return (daysInYear(year) - weekOffset + weekOffsetNext) / 7;
|
|
1040
|
-
}
|
|
1041
|
-
addFormatToken("w", ["ww", 2], "wo", "week");
|
|
1042
|
-
addFormatToken("W", ["WW", 2], "Wo", "isoWeek");
|
|
1043
|
-
addRegexToken("w", match1to2, match1to2NoLeadingZero);
|
|
1044
|
-
addRegexToken("ww", match1to2, match2);
|
|
1045
|
-
addRegexToken("W", match1to2, match1to2NoLeadingZero);
|
|
1046
|
-
addRegexToken("WW", match1to2, match2);
|
|
1047
|
-
addWeekParseToken(
|
|
1048
|
-
["w", "ww", "W", "WW"],
|
|
1049
|
-
function(input, week, config, token2) {
|
|
1050
|
-
week[token2.substr(0, 1)] = toInt(input);
|
|
1051
|
-
}
|
|
1052
|
-
);
|
|
1053
|
-
function localeWeek(mom) {
|
|
1054
|
-
return weekOfYear(mom, this._week.dow, this._week.doy).week;
|
|
1055
|
-
}
|
|
1056
|
-
var defaultLocaleWeek = {
|
|
1057
|
-
dow: 0,
|
|
1058
|
-
// Sunday is the first day of the week.
|
|
1059
|
-
doy: 6
|
|
1060
|
-
// The week that contains Jan 6th is the first week of the year.
|
|
1061
|
-
};
|
|
1062
|
-
function localeFirstDayOfWeek() {
|
|
1063
|
-
return this._week.dow;
|
|
1064
|
-
}
|
|
1065
|
-
function localeFirstDayOfYear() {
|
|
1066
|
-
return this._week.doy;
|
|
1067
|
-
}
|
|
1068
|
-
function getSetWeek(input) {
|
|
1069
|
-
var week = this.localeData().week(this);
|
|
1070
|
-
return input == null ? week : this.add((input - week) * 7, "d");
|
|
1071
|
-
}
|
|
1072
|
-
function getSetISOWeek(input) {
|
|
1073
|
-
var week = weekOfYear(this, 1, 4).week;
|
|
1074
|
-
return input == null ? week : this.add((input - week) * 7, "d");
|
|
1075
|
-
}
|
|
1076
|
-
addFormatToken("d", 0, "do", "day");
|
|
1077
|
-
addFormatToken("dd", 0, 0, function(format2) {
|
|
1078
|
-
return this.localeData().weekdaysMin(this, format2);
|
|
1079
|
-
});
|
|
1080
|
-
addFormatToken("ddd", 0, 0, function(format2) {
|
|
1081
|
-
return this.localeData().weekdaysShort(this, format2);
|
|
1082
|
-
});
|
|
1083
|
-
addFormatToken("dddd", 0, 0, function(format2) {
|
|
1084
|
-
return this.localeData().weekdays(this, format2);
|
|
1085
|
-
});
|
|
1086
|
-
addFormatToken("e", 0, 0, "weekday");
|
|
1087
|
-
addFormatToken("E", 0, 0, "isoWeekday");
|
|
1088
|
-
addRegexToken("d", match1to2);
|
|
1089
|
-
addRegexToken("e", match1to2);
|
|
1090
|
-
addRegexToken("E", match1to2);
|
|
1091
|
-
addRegexToken("dd", function(isStrict, locale2) {
|
|
1092
|
-
return locale2.weekdaysMinRegex(isStrict);
|
|
1093
|
-
});
|
|
1094
|
-
addRegexToken("ddd", function(isStrict, locale2) {
|
|
1095
|
-
return locale2.weekdaysShortRegex(isStrict);
|
|
1096
|
-
});
|
|
1097
|
-
addRegexToken("dddd", function(isStrict, locale2) {
|
|
1098
|
-
return locale2.weekdaysRegex(isStrict);
|
|
1099
|
-
});
|
|
1100
|
-
addWeekParseToken(["dd", "ddd", "dddd"], function(input, week, config, token2) {
|
|
1101
|
-
var weekday = config._locale.weekdaysParse(input, token2, config._strict);
|
|
1102
|
-
if (weekday != null) {
|
|
1103
|
-
week.d = weekday;
|
|
1104
|
-
} else {
|
|
1105
|
-
getParsingFlags(config).invalidWeekday = input;
|
|
1106
|
-
}
|
|
1107
|
-
});
|
|
1108
|
-
addWeekParseToken(["d", "e", "E"], function(input, week, config, token2) {
|
|
1109
|
-
week[token2] = toInt(input);
|
|
1110
|
-
});
|
|
1111
|
-
function parseWeekday(input, locale2) {
|
|
1112
|
-
if (typeof input !== "string") {
|
|
1113
|
-
return input;
|
|
1114
|
-
}
|
|
1115
|
-
if (!isNaN(input)) {
|
|
1116
|
-
return parseInt(input, 10);
|
|
1117
|
-
}
|
|
1118
|
-
input = locale2.weekdaysParse(input);
|
|
1119
|
-
if (typeof input === "number") {
|
|
1120
|
-
return input;
|
|
1121
|
-
}
|
|
1122
|
-
return null;
|
|
1123
|
-
}
|
|
1124
|
-
function parseIsoWeekday(input, locale2) {
|
|
1125
|
-
if (typeof input === "string") {
|
|
1126
|
-
return locale2.weekdaysParse(input) % 7 || 7;
|
|
1127
|
-
}
|
|
1128
|
-
return isNaN(input) ? null : input;
|
|
1129
|
-
}
|
|
1130
|
-
function shiftWeekdays(ws, n) {
|
|
1131
|
-
return ws.slice(n, 7).concat(ws.slice(0, n));
|
|
1132
|
-
}
|
|
1133
|
-
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;
|
|
1134
|
-
function localeWeekdays(m, format2) {
|
|
1135
|
-
var weekdays = isArray(this._weekdays) ? this._weekdays : this._weekdays[m && m !== true && this._weekdays.isFormat.test(format2) ? "format" : "standalone"];
|
|
1136
|
-
return m === true ? shiftWeekdays(weekdays, this._week.dow) : m ? weekdays[m.day()] : weekdays;
|
|
1137
|
-
}
|
|
1138
|
-
function localeWeekdaysShort(m) {
|
|
1139
|
-
return m === true ? shiftWeekdays(this._weekdaysShort, this._week.dow) : m ? this._weekdaysShort[m.day()] : this._weekdaysShort;
|
|
1140
|
-
}
|
|
1141
|
-
function localeWeekdaysMin(m) {
|
|
1142
|
-
return m === true ? shiftWeekdays(this._weekdaysMin, this._week.dow) : m ? this._weekdaysMin[m.day()] : this._weekdaysMin;
|
|
1143
|
-
}
|
|
1144
|
-
function handleStrictParse$1(weekdayName, format2, strict) {
|
|
1145
|
-
var i, ii, mom, llc = weekdayName.toLocaleLowerCase();
|
|
1146
|
-
if (!this._weekdaysParse) {
|
|
1147
|
-
this._weekdaysParse = [];
|
|
1148
|
-
this._shortWeekdaysParse = [];
|
|
1149
|
-
this._minWeekdaysParse = [];
|
|
1150
|
-
for (i = 0; i < 7; ++i) {
|
|
1151
|
-
mom = createUTC([2e3, 1]).day(i);
|
|
1152
|
-
this._minWeekdaysParse[i] = this.weekdaysMin(
|
|
1153
|
-
mom,
|
|
1154
|
-
""
|
|
1155
|
-
).toLocaleLowerCase();
|
|
1156
|
-
this._shortWeekdaysParse[i] = this.weekdaysShort(
|
|
1157
|
-
mom,
|
|
1158
|
-
""
|
|
1159
|
-
).toLocaleLowerCase();
|
|
1160
|
-
this._weekdaysParse[i] = this.weekdays(mom, "").toLocaleLowerCase();
|
|
1161
|
-
}
|
|
1162
|
-
}
|
|
1163
|
-
if (strict) {
|
|
1164
|
-
if (format2 === "dddd") {
|
|
1165
|
-
ii = indexOf.call(this._weekdaysParse, llc);
|
|
1166
|
-
return ii !== -1 ? ii : null;
|
|
1167
|
-
} else if (format2 === "ddd") {
|
|
1168
|
-
ii = indexOf.call(this._shortWeekdaysParse, llc);
|
|
1169
|
-
return ii !== -1 ? ii : null;
|
|
1170
|
-
} else {
|
|
1171
|
-
ii = indexOf.call(this._minWeekdaysParse, llc);
|
|
1172
|
-
return ii !== -1 ? ii : null;
|
|
1173
|
-
}
|
|
1174
|
-
} else {
|
|
1175
|
-
if (format2 === "dddd") {
|
|
1176
|
-
ii = indexOf.call(this._weekdaysParse, llc);
|
|
1177
|
-
if (ii !== -1) {
|
|
1178
|
-
return ii;
|
|
1179
|
-
}
|
|
1180
|
-
ii = indexOf.call(this._shortWeekdaysParse, llc);
|
|
1181
|
-
if (ii !== -1) {
|
|
1182
|
-
return ii;
|
|
1183
|
-
}
|
|
1184
|
-
ii = indexOf.call(this._minWeekdaysParse, llc);
|
|
1185
|
-
return ii !== -1 ? ii : null;
|
|
1186
|
-
} else if (format2 === "ddd") {
|
|
1187
|
-
ii = indexOf.call(this._shortWeekdaysParse, llc);
|
|
1188
|
-
if (ii !== -1) {
|
|
1189
|
-
return ii;
|
|
1190
|
-
}
|
|
1191
|
-
ii = indexOf.call(this._weekdaysParse, llc);
|
|
1192
|
-
if (ii !== -1) {
|
|
1193
|
-
return ii;
|
|
1194
|
-
}
|
|
1195
|
-
ii = indexOf.call(this._minWeekdaysParse, llc);
|
|
1196
|
-
return ii !== -1 ? ii : null;
|
|
1197
|
-
} else {
|
|
1198
|
-
ii = indexOf.call(this._minWeekdaysParse, llc);
|
|
1199
|
-
if (ii !== -1) {
|
|
1200
|
-
return ii;
|
|
1201
|
-
}
|
|
1202
|
-
ii = indexOf.call(this._weekdaysParse, llc);
|
|
1203
|
-
if (ii !== -1) {
|
|
1204
|
-
return ii;
|
|
1205
|
-
}
|
|
1206
|
-
ii = indexOf.call(this._shortWeekdaysParse, llc);
|
|
1207
|
-
return ii !== -1 ? ii : null;
|
|
1208
|
-
}
|
|
1209
|
-
}
|
|
1210
|
-
}
|
|
1211
|
-
function localeWeekdaysParse(weekdayName, format2, strict) {
|
|
1212
|
-
var i, mom, regex;
|
|
1213
|
-
if (this._weekdaysParseExact) {
|
|
1214
|
-
return handleStrictParse$1.call(this, weekdayName, format2, strict);
|
|
1215
|
-
}
|
|
1216
|
-
if (!this._weekdaysParse) {
|
|
1217
|
-
this._weekdaysParse = [];
|
|
1218
|
-
this._minWeekdaysParse = [];
|
|
1219
|
-
this._shortWeekdaysParse = [];
|
|
1220
|
-
this._fullWeekdaysParse = [];
|
|
1221
|
-
}
|
|
1222
|
-
for (i = 0; i < 7; i++) {
|
|
1223
|
-
mom = createUTC([2e3, 1]).day(i);
|
|
1224
|
-
if (strict && !this._fullWeekdaysParse[i]) {
|
|
1225
|
-
this._fullWeekdaysParse[i] = new RegExp(
|
|
1226
|
-
"^" + this.weekdays(mom, "").replace(".", "\\.?") + "$",
|
|
1227
|
-
"i"
|
|
1228
|
-
);
|
|
1229
|
-
this._shortWeekdaysParse[i] = new RegExp(
|
|
1230
|
-
"^" + this.weekdaysShort(mom, "").replace(".", "\\.?") + "$",
|
|
1231
|
-
"i"
|
|
1232
|
-
);
|
|
1233
|
-
this._minWeekdaysParse[i] = new RegExp(
|
|
1234
|
-
"^" + this.weekdaysMin(mom, "").replace(".", "\\.?") + "$",
|
|
1235
|
-
"i"
|
|
1236
|
-
);
|
|
1237
|
-
}
|
|
1238
|
-
if (!this._weekdaysParse[i]) {
|
|
1239
|
-
regex = "^" + this.weekdays(mom, "") + "|^" + this.weekdaysShort(mom, "") + "|^" + this.weekdaysMin(mom, "");
|
|
1240
|
-
this._weekdaysParse[i] = new RegExp(regex.replace(".", ""), "i");
|
|
1241
|
-
}
|
|
1242
|
-
if (strict && format2 === "dddd" && this._fullWeekdaysParse[i].test(weekdayName)) {
|
|
1243
|
-
return i;
|
|
1244
|
-
} else if (strict && format2 === "ddd" && this._shortWeekdaysParse[i].test(weekdayName)) {
|
|
1245
|
-
return i;
|
|
1246
|
-
} else if (strict && format2 === "dd" && this._minWeekdaysParse[i].test(weekdayName)) {
|
|
1247
|
-
return i;
|
|
1248
|
-
} else if (!strict && this._weekdaysParse[i].test(weekdayName)) {
|
|
1249
|
-
return i;
|
|
1250
|
-
}
|
|
1251
|
-
}
|
|
1252
|
-
}
|
|
1253
|
-
function getSetDayOfWeek(input) {
|
|
1254
|
-
if (!this.isValid()) {
|
|
1255
|
-
return input != null ? this : NaN;
|
|
1256
|
-
}
|
|
1257
|
-
var day = get(this, "Day");
|
|
1258
|
-
if (input != null) {
|
|
1259
|
-
input = parseWeekday(input, this.localeData());
|
|
1260
|
-
return this.add(input - day, "d");
|
|
1261
|
-
} else {
|
|
1262
|
-
return day;
|
|
1263
|
-
}
|
|
1264
|
-
}
|
|
1265
|
-
function getSetLocaleDayOfWeek(input) {
|
|
1266
|
-
if (!this.isValid()) {
|
|
1267
|
-
return input != null ? this : NaN;
|
|
1268
|
-
}
|
|
1269
|
-
var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7;
|
|
1270
|
-
return input == null ? weekday : this.add(input - weekday, "d");
|
|
1271
|
-
}
|
|
1272
|
-
function getSetISODayOfWeek(input) {
|
|
1273
|
-
if (!this.isValid()) {
|
|
1274
|
-
return input != null ? this : NaN;
|
|
1275
|
-
}
|
|
1276
|
-
if (input != null) {
|
|
1277
|
-
var weekday = parseIsoWeekday(input, this.localeData());
|
|
1278
|
-
return this.day(this.day() % 7 ? weekday : weekday - 7);
|
|
1279
|
-
} else {
|
|
1280
|
-
return this.day() || 7;
|
|
1281
|
-
}
|
|
1282
|
-
}
|
|
1283
|
-
function weekdaysRegex(isStrict) {
|
|
1284
|
-
if (this._weekdaysParseExact) {
|
|
1285
|
-
if (!hasOwnProp(this, "_weekdaysRegex")) {
|
|
1286
|
-
computeWeekdaysParse.call(this);
|
|
1287
|
-
}
|
|
1288
|
-
if (isStrict) {
|
|
1289
|
-
return this._weekdaysStrictRegex;
|
|
1290
|
-
} else {
|
|
1291
|
-
return this._weekdaysRegex;
|
|
1292
|
-
}
|
|
1293
|
-
} else {
|
|
1294
|
-
if (!hasOwnProp(this, "_weekdaysRegex")) {
|
|
1295
|
-
this._weekdaysRegex = defaultWeekdaysRegex;
|
|
1296
|
-
}
|
|
1297
|
-
return this._weekdaysStrictRegex && isStrict ? this._weekdaysStrictRegex : this._weekdaysRegex;
|
|
1298
|
-
}
|
|
1299
|
-
}
|
|
1300
|
-
function weekdaysShortRegex(isStrict) {
|
|
1301
|
-
if (this._weekdaysParseExact) {
|
|
1302
|
-
if (!hasOwnProp(this, "_weekdaysRegex")) {
|
|
1303
|
-
computeWeekdaysParse.call(this);
|
|
1304
|
-
}
|
|
1305
|
-
if (isStrict) {
|
|
1306
|
-
return this._weekdaysShortStrictRegex;
|
|
1307
|
-
} else {
|
|
1308
|
-
return this._weekdaysShortRegex;
|
|
1309
|
-
}
|
|
1310
|
-
} else {
|
|
1311
|
-
if (!hasOwnProp(this, "_weekdaysShortRegex")) {
|
|
1312
|
-
this._weekdaysShortRegex = defaultWeekdaysShortRegex;
|
|
1313
|
-
}
|
|
1314
|
-
return this._weekdaysShortStrictRegex && isStrict ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex;
|
|
1315
|
-
}
|
|
1316
|
-
}
|
|
1317
|
-
function weekdaysMinRegex(isStrict) {
|
|
1318
|
-
if (this._weekdaysParseExact) {
|
|
1319
|
-
if (!hasOwnProp(this, "_weekdaysRegex")) {
|
|
1320
|
-
computeWeekdaysParse.call(this);
|
|
1321
|
-
}
|
|
1322
|
-
if (isStrict) {
|
|
1323
|
-
return this._weekdaysMinStrictRegex;
|
|
1324
|
-
} else {
|
|
1325
|
-
return this._weekdaysMinRegex;
|
|
1326
|
-
}
|
|
1327
|
-
} else {
|
|
1328
|
-
if (!hasOwnProp(this, "_weekdaysMinRegex")) {
|
|
1329
|
-
this._weekdaysMinRegex = defaultWeekdaysMinRegex;
|
|
1330
|
-
}
|
|
1331
|
-
return this._weekdaysMinStrictRegex && isStrict ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex;
|
|
1332
|
-
}
|
|
1333
|
-
}
|
|
1334
|
-
function computeWeekdaysParse() {
|
|
1335
|
-
function cmpLenRev(a, b) {
|
|
1336
|
-
return b.length - a.length;
|
|
1337
|
-
}
|
|
1338
|
-
var minPieces = [], shortPieces = [], longPieces = [], mixedPieces = [], i, mom, minp, shortp, longp;
|
|
1339
|
-
for (i = 0; i < 7; i++) {
|
|
1340
|
-
mom = createUTC([2e3, 1]).day(i);
|
|
1341
|
-
minp = regexEscape(this.weekdaysMin(mom, ""));
|
|
1342
|
-
shortp = regexEscape(this.weekdaysShort(mom, ""));
|
|
1343
|
-
longp = regexEscape(this.weekdays(mom, ""));
|
|
1344
|
-
minPieces.push(minp);
|
|
1345
|
-
shortPieces.push(shortp);
|
|
1346
|
-
longPieces.push(longp);
|
|
1347
|
-
mixedPieces.push(minp);
|
|
1348
|
-
mixedPieces.push(shortp);
|
|
1349
|
-
mixedPieces.push(longp);
|
|
1350
|
-
}
|
|
1351
|
-
minPieces.sort(cmpLenRev);
|
|
1352
|
-
shortPieces.sort(cmpLenRev);
|
|
1353
|
-
longPieces.sort(cmpLenRev);
|
|
1354
|
-
mixedPieces.sort(cmpLenRev);
|
|
1355
|
-
this._weekdaysRegex = new RegExp("^(" + mixedPieces.join("|") + ")", "i");
|
|
1356
|
-
this._weekdaysShortRegex = this._weekdaysRegex;
|
|
1357
|
-
this._weekdaysMinRegex = this._weekdaysRegex;
|
|
1358
|
-
this._weekdaysStrictRegex = new RegExp(
|
|
1359
|
-
"^(" + longPieces.join("|") + ")",
|
|
1360
|
-
"i"
|
|
1361
|
-
);
|
|
1362
|
-
this._weekdaysShortStrictRegex = new RegExp(
|
|
1363
|
-
"^(" + shortPieces.join("|") + ")",
|
|
1364
|
-
"i"
|
|
1365
|
-
);
|
|
1366
|
-
this._weekdaysMinStrictRegex = new RegExp(
|
|
1367
|
-
"^(" + minPieces.join("|") + ")",
|
|
1368
|
-
"i"
|
|
1369
|
-
);
|
|
1370
|
-
}
|
|
1371
|
-
function hFormat() {
|
|
1372
|
-
return this.hours() % 12 || 12;
|
|
1373
|
-
}
|
|
1374
|
-
function kFormat() {
|
|
1375
|
-
return this.hours() || 24;
|
|
1376
|
-
}
|
|
1377
|
-
addFormatToken("H", ["HH", 2], 0, "hour");
|
|
1378
|
-
addFormatToken("h", ["hh", 2], 0, hFormat);
|
|
1379
|
-
addFormatToken("k", ["kk", 2], 0, kFormat);
|
|
1380
|
-
addFormatToken("hmm", 0, 0, function() {
|
|
1381
|
-
return "" + hFormat.apply(this) + zeroFill(this.minutes(), 2);
|
|
1382
|
-
});
|
|
1383
|
-
addFormatToken("hmmss", 0, 0, function() {
|
|
1384
|
-
return "" + hFormat.apply(this) + zeroFill(this.minutes(), 2) + zeroFill(this.seconds(), 2);
|
|
1385
|
-
});
|
|
1386
|
-
addFormatToken("Hmm", 0, 0, function() {
|
|
1387
|
-
return "" + this.hours() + zeroFill(this.minutes(), 2);
|
|
1388
|
-
});
|
|
1389
|
-
addFormatToken("Hmmss", 0, 0, function() {
|
|
1390
|
-
return "" + this.hours() + zeroFill(this.minutes(), 2) + zeroFill(this.seconds(), 2);
|
|
1391
|
-
});
|
|
1392
|
-
function meridiem(token2, lowercase) {
|
|
1393
|
-
addFormatToken(token2, 0, 0, function() {
|
|
1394
|
-
return this.localeData().meridiem(
|
|
1395
|
-
this.hours(),
|
|
1396
|
-
this.minutes(),
|
|
1397
|
-
lowercase
|
|
1398
|
-
);
|
|
1399
|
-
});
|
|
1400
|
-
}
|
|
1401
|
-
meridiem("a", true);
|
|
1402
|
-
meridiem("A", false);
|
|
1403
|
-
function matchMeridiem(isStrict, locale2) {
|
|
1404
|
-
return locale2._meridiemParse;
|
|
1405
|
-
}
|
|
1406
|
-
addRegexToken("a", matchMeridiem);
|
|
1407
|
-
addRegexToken("A", matchMeridiem);
|
|
1408
|
-
addRegexToken("H", match1to2, match1to2HasZero);
|
|
1409
|
-
addRegexToken("h", match1to2, match1to2NoLeadingZero);
|
|
1410
|
-
addRegexToken("k", match1to2, match1to2NoLeadingZero);
|
|
1411
|
-
addRegexToken("HH", match1to2, match2);
|
|
1412
|
-
addRegexToken("hh", match1to2, match2);
|
|
1413
|
-
addRegexToken("kk", match1to2, match2);
|
|
1414
|
-
addRegexToken("hmm", match3to4);
|
|
1415
|
-
addRegexToken("hmmss", match5to6);
|
|
1416
|
-
addRegexToken("Hmm", match3to4);
|
|
1417
|
-
addRegexToken("Hmmss", match5to6);
|
|
1418
|
-
addParseToken(["H", "HH"], HOUR);
|
|
1419
|
-
addParseToken(["k", "kk"], function(input, array, config) {
|
|
1420
|
-
var kInput = toInt(input);
|
|
1421
|
-
array[HOUR] = kInput === 24 ? 0 : kInput;
|
|
1422
|
-
});
|
|
1423
|
-
addParseToken(["a", "A"], function(input, array, config) {
|
|
1424
|
-
config._isPm = config._locale.isPM(input);
|
|
1425
|
-
config._meridiem = input;
|
|
1426
|
-
});
|
|
1427
|
-
addParseToken(["h", "hh"], function(input, array, config) {
|
|
1428
|
-
array[HOUR] = toInt(input);
|
|
1429
|
-
getParsingFlags(config).bigHour = true;
|
|
1430
|
-
});
|
|
1431
|
-
addParseToken("hmm", function(input, array, config) {
|
|
1432
|
-
var pos = input.length - 2;
|
|
1433
|
-
array[HOUR] = toInt(input.substr(0, pos));
|
|
1434
|
-
array[MINUTE] = toInt(input.substr(pos));
|
|
1435
|
-
getParsingFlags(config).bigHour = true;
|
|
1436
|
-
});
|
|
1437
|
-
addParseToken("hmmss", function(input, array, config) {
|
|
1438
|
-
var pos1 = input.length - 4, pos2 = input.length - 2;
|
|
1439
|
-
array[HOUR] = toInt(input.substr(0, pos1));
|
|
1440
|
-
array[MINUTE] = toInt(input.substr(pos1, 2));
|
|
1441
|
-
array[SECOND] = toInt(input.substr(pos2));
|
|
1442
|
-
getParsingFlags(config).bigHour = true;
|
|
1443
|
-
});
|
|
1444
|
-
addParseToken("Hmm", function(input, array, config) {
|
|
1445
|
-
var pos = input.length - 2;
|
|
1446
|
-
array[HOUR] = toInt(input.substr(0, pos));
|
|
1447
|
-
array[MINUTE] = toInt(input.substr(pos));
|
|
1448
|
-
});
|
|
1449
|
-
addParseToken("Hmmss", function(input, array, config) {
|
|
1450
|
-
var pos1 = input.length - 4, pos2 = input.length - 2;
|
|
1451
|
-
array[HOUR] = toInt(input.substr(0, pos1));
|
|
1452
|
-
array[MINUTE] = toInt(input.substr(pos1, 2));
|
|
1453
|
-
array[SECOND] = toInt(input.substr(pos2));
|
|
1454
|
-
});
|
|
1455
|
-
function localeIsPM(input) {
|
|
1456
|
-
return (input + "").toLowerCase().charAt(0) === "p";
|
|
1457
|
-
}
|
|
1458
|
-
var defaultLocaleMeridiemParse = /[ap]\.?m?\.?/i, getSetHour = makeGetSet("Hours", true);
|
|
1459
|
-
function localeMeridiem(hours2, minutes2, isLower) {
|
|
1460
|
-
if (hours2 > 11) {
|
|
1461
|
-
return isLower ? "pm" : "PM";
|
|
1462
|
-
} else {
|
|
1463
|
-
return isLower ? "am" : "AM";
|
|
1464
|
-
}
|
|
1465
|
-
}
|
|
1466
|
-
var baseConfig = {
|
|
1467
|
-
calendar: defaultCalendar,
|
|
1468
|
-
longDateFormat: defaultLongDateFormat,
|
|
1469
|
-
invalidDate: defaultInvalidDate,
|
|
1470
|
-
ordinal: defaultOrdinal,
|
|
1471
|
-
dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse,
|
|
1472
|
-
relativeTime: defaultRelativeTime,
|
|
1473
|
-
months: defaultLocaleMonths,
|
|
1474
|
-
monthsShort: defaultLocaleMonthsShort,
|
|
1475
|
-
week: defaultLocaleWeek,
|
|
1476
|
-
weekdays: defaultLocaleWeekdays,
|
|
1477
|
-
weekdaysMin: defaultLocaleWeekdaysMin,
|
|
1478
|
-
weekdaysShort: defaultLocaleWeekdaysShort,
|
|
1479
|
-
meridiemParse: defaultLocaleMeridiemParse
|
|
1480
|
-
};
|
|
1481
|
-
var locales = {}, localeFamilies = {}, globalLocale;
|
|
1482
|
-
function commonPrefix(arr1, arr2) {
|
|
1483
|
-
var i, minl = Math.min(arr1.length, arr2.length);
|
|
1484
|
-
for (i = 0; i < minl; i += 1) {
|
|
1485
|
-
if (arr1[i] !== arr2[i]) {
|
|
1486
|
-
return i;
|
|
1487
|
-
}
|
|
1488
|
-
}
|
|
1489
|
-
return minl;
|
|
1490
|
-
}
|
|
1491
|
-
function normalizeLocale(key) {
|
|
1492
|
-
return key ? key.toLowerCase().replace("_", "-") : key;
|
|
1493
|
-
}
|
|
1494
|
-
function chooseLocale(names) {
|
|
1495
|
-
var i = 0, j, next, locale2, split;
|
|
1496
|
-
while (i < names.length) {
|
|
1497
|
-
split = normalizeLocale(names[i]).split("-");
|
|
1498
|
-
j = split.length;
|
|
1499
|
-
next = normalizeLocale(names[i + 1]);
|
|
1500
|
-
next = next ? next.split("-") : null;
|
|
1501
|
-
while (j > 0) {
|
|
1502
|
-
locale2 = loadLocale(split.slice(0, j).join("-"));
|
|
1503
|
-
if (locale2) {
|
|
1504
|
-
return locale2;
|
|
1505
|
-
}
|
|
1506
|
-
if (next && next.length >= j && commonPrefix(split, next) >= j - 1) {
|
|
1507
|
-
break;
|
|
1508
|
-
}
|
|
1509
|
-
j--;
|
|
1510
|
-
}
|
|
1511
|
-
i++;
|
|
1512
|
-
}
|
|
1513
|
-
return globalLocale;
|
|
1514
|
-
}
|
|
1515
|
-
function isLocaleNameSane(name) {
|
|
1516
|
-
return !!(name && name.match("^[^/\\\\]*$"));
|
|
1517
|
-
}
|
|
1518
|
-
function loadLocale(name) {
|
|
1519
|
-
var oldLocale = null, aliasedRequire;
|
|
1520
|
-
if (locales[name] === void 0 && typeof module !== "undefined" && module && module.exports && isLocaleNameSane(name)) {
|
|
1521
|
-
try {
|
|
1522
|
-
oldLocale = globalLocale._abbr;
|
|
1523
|
-
aliasedRequire = require;
|
|
1524
|
-
aliasedRequire("./locale/" + name);
|
|
1525
|
-
getSetGlobalLocale(oldLocale);
|
|
1526
|
-
} catch (e) {
|
|
1527
|
-
locales[name] = null;
|
|
1528
|
-
}
|
|
1529
|
-
}
|
|
1530
|
-
return locales[name];
|
|
1531
|
-
}
|
|
1532
|
-
function getSetGlobalLocale(key, values) {
|
|
1533
|
-
var data;
|
|
1534
|
-
if (key) {
|
|
1535
|
-
if (isUndefined(values)) {
|
|
1536
|
-
data = getLocale(key);
|
|
1537
|
-
} else {
|
|
1538
|
-
data = defineLocale(key, values);
|
|
1539
|
-
}
|
|
1540
|
-
if (data) {
|
|
1541
|
-
globalLocale = data;
|
|
1542
|
-
} else {
|
|
1543
|
-
if (typeof console !== "undefined" && console.warn) {
|
|
1544
|
-
console.warn(
|
|
1545
|
-
"Locale " + key + " not found. Did you forget to load it?"
|
|
1546
|
-
);
|
|
1547
|
-
}
|
|
1548
|
-
}
|
|
1549
|
-
}
|
|
1550
|
-
return globalLocale._abbr;
|
|
1551
|
-
}
|
|
1552
|
-
function defineLocale(name, config) {
|
|
1553
|
-
if (config !== null) {
|
|
1554
|
-
var locale2, parentConfig = baseConfig;
|
|
1555
|
-
config.abbr = name;
|
|
1556
|
-
if (locales[name] != null) {
|
|
1557
|
-
deprecateSimple(
|
|
1558
|
-
"defineLocaleOverride",
|
|
1559
|
-
"use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."
|
|
1560
|
-
);
|
|
1561
|
-
parentConfig = locales[name]._config;
|
|
1562
|
-
} else if (config.parentLocale != null) {
|
|
1563
|
-
if (locales[config.parentLocale] != null) {
|
|
1564
|
-
parentConfig = locales[config.parentLocale]._config;
|
|
1565
|
-
} else {
|
|
1566
|
-
locale2 = loadLocale(config.parentLocale);
|
|
1567
|
-
if (locale2 != null) {
|
|
1568
|
-
parentConfig = locale2._config;
|
|
1569
|
-
} else {
|
|
1570
|
-
if (!localeFamilies[config.parentLocale]) {
|
|
1571
|
-
localeFamilies[config.parentLocale] = [];
|
|
1572
|
-
}
|
|
1573
|
-
localeFamilies[config.parentLocale].push({
|
|
1574
|
-
name,
|
|
1575
|
-
config
|
|
1576
|
-
});
|
|
1577
|
-
return null;
|
|
1578
|
-
}
|
|
1579
|
-
}
|
|
1580
|
-
}
|
|
1581
|
-
locales[name] = new Locale(mergeConfigs(parentConfig, config));
|
|
1582
|
-
if (localeFamilies[name]) {
|
|
1583
|
-
localeFamilies[name].forEach(function(x) {
|
|
1584
|
-
defineLocale(x.name, x.config);
|
|
1585
|
-
});
|
|
1586
|
-
}
|
|
1587
|
-
getSetGlobalLocale(name);
|
|
1588
|
-
return locales[name];
|
|
1589
|
-
} else {
|
|
1590
|
-
delete locales[name];
|
|
1591
|
-
return null;
|
|
1592
|
-
}
|
|
1593
|
-
}
|
|
1594
|
-
function updateLocale(name, config) {
|
|
1595
|
-
if (config != null) {
|
|
1596
|
-
var locale2, tmpLocale, parentConfig = baseConfig;
|
|
1597
|
-
if (locales[name] != null && locales[name].parentLocale != null) {
|
|
1598
|
-
locales[name].set(mergeConfigs(locales[name]._config, config));
|
|
1599
|
-
} else {
|
|
1600
|
-
tmpLocale = loadLocale(name);
|
|
1601
|
-
if (tmpLocale != null) {
|
|
1602
|
-
parentConfig = tmpLocale._config;
|
|
1603
|
-
}
|
|
1604
|
-
config = mergeConfigs(parentConfig, config);
|
|
1605
|
-
if (tmpLocale == null) {
|
|
1606
|
-
config.abbr = name;
|
|
1607
|
-
}
|
|
1608
|
-
locale2 = new Locale(config);
|
|
1609
|
-
locale2.parentLocale = locales[name];
|
|
1610
|
-
locales[name] = locale2;
|
|
1611
|
-
}
|
|
1612
|
-
getSetGlobalLocale(name);
|
|
1613
|
-
} else {
|
|
1614
|
-
if (locales[name] != null) {
|
|
1615
|
-
if (locales[name].parentLocale != null) {
|
|
1616
|
-
locales[name] = locales[name].parentLocale;
|
|
1617
|
-
if (name === getSetGlobalLocale()) {
|
|
1618
|
-
getSetGlobalLocale(name);
|
|
1619
|
-
}
|
|
1620
|
-
} else if (locales[name] != null) {
|
|
1621
|
-
delete locales[name];
|
|
1622
|
-
}
|
|
1623
|
-
}
|
|
1624
|
-
}
|
|
1625
|
-
return locales[name];
|
|
1626
|
-
}
|
|
1627
|
-
function getLocale(key) {
|
|
1628
|
-
var locale2;
|
|
1629
|
-
if (key && key._locale && key._locale._abbr) {
|
|
1630
|
-
key = key._locale._abbr;
|
|
1631
|
-
}
|
|
1632
|
-
if (!key) {
|
|
1633
|
-
return globalLocale;
|
|
1634
|
-
}
|
|
1635
|
-
if (!isArray(key)) {
|
|
1636
|
-
locale2 = loadLocale(key);
|
|
1637
|
-
if (locale2) {
|
|
1638
|
-
return locale2;
|
|
1639
|
-
}
|
|
1640
|
-
key = [key];
|
|
1641
|
-
}
|
|
1642
|
-
return chooseLocale(key);
|
|
1643
|
-
}
|
|
1644
|
-
function listLocales() {
|
|
1645
|
-
return keys(locales);
|
|
1646
|
-
}
|
|
1647
|
-
function checkOverflow(m) {
|
|
1648
|
-
var overflow, a = m._a;
|
|
1649
|
-
if (a && getParsingFlags(m).overflow === -2) {
|
|
1650
|
-
overflow = a[MONTH] < 0 || a[MONTH] > 11 ? MONTH : a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH]) ? DATE : a[HOUR] < 0 || a[HOUR] > 24 || a[HOUR] === 24 && (a[MINUTE] !== 0 || a[SECOND] !== 0 || a[MILLISECOND] !== 0) ? HOUR : a[MINUTE] < 0 || a[MINUTE] > 59 ? MINUTE : a[SECOND] < 0 || a[SECOND] > 59 ? SECOND : a[MILLISECOND] < 0 || a[MILLISECOND] > 999 ? MILLISECOND : -1;
|
|
1651
|
-
if (getParsingFlags(m)._overflowDayOfYear && (overflow < YEAR || overflow > DATE)) {
|
|
1652
|
-
overflow = DATE;
|
|
1653
|
-
}
|
|
1654
|
-
if (getParsingFlags(m)._overflowWeeks && overflow === -1) {
|
|
1655
|
-
overflow = WEEK;
|
|
1656
|
-
}
|
|
1657
|
-
if (getParsingFlags(m)._overflowWeekday && overflow === -1) {
|
|
1658
|
-
overflow = WEEKDAY;
|
|
1659
|
-
}
|
|
1660
|
-
getParsingFlags(m).overflow = overflow;
|
|
1661
|
-
}
|
|
1662
|
-
return m;
|
|
1663
|
-
}
|
|
1664
|
-
var extendedIsoRegex = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, basicIsoRegex = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, tzRegex = /Z|[+-]\d\d(?::?\d\d)?/, isoDates = [
|
|
1665
|
-
["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
|
|
1666
|
-
["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
|
|
1667
|
-
["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
|
|
1668
|
-
["GGGG-[W]WW", /\d{4}-W\d\d/, false],
|
|
1669
|
-
["YYYY-DDD", /\d{4}-\d{3}/],
|
|
1670
|
-
["YYYY-MM", /\d{4}-\d\d/, false],
|
|
1671
|
-
["YYYYYYMMDD", /[+-]\d{10}/],
|
|
1672
|
-
["YYYYMMDD", /\d{8}/],
|
|
1673
|
-
["GGGG[W]WWE", /\d{4}W\d{3}/],
|
|
1674
|
-
["GGGG[W]WW", /\d{4}W\d{2}/, false],
|
|
1675
|
-
["YYYYDDD", /\d{7}/],
|
|
1676
|
-
["YYYYMM", /\d{6}/, false],
|
|
1677
|
-
["YYYY", /\d{4}/, false]
|
|
1678
|
-
], isoTimes = [
|
|
1679
|
-
["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/],
|
|
1680
|
-
["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/],
|
|
1681
|
-
["HH:mm:ss", /\d\d:\d\d:\d\d/],
|
|
1682
|
-
["HH:mm", /\d\d:\d\d/],
|
|
1683
|
-
["HHmmss.SSSS", /\d\d\d\d\d\d\.\d+/],
|
|
1684
|
-
["HHmmss,SSSS", /\d\d\d\d\d\d,\d+/],
|
|
1685
|
-
["HHmmss", /\d\d\d\d\d\d/],
|
|
1686
|
-
["HHmm", /\d\d\d\d/],
|
|
1687
|
-
["HH", /\d\d/]
|
|
1688
|
-
], aspNetJsonRegex = /^\/?Date\((-?\d+)/i, rfc2822 = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/, obsOffsets = {
|
|
1689
|
-
UT: 0,
|
|
1690
|
-
GMT: 0,
|
|
1691
|
-
EDT: -4 * 60,
|
|
1692
|
-
EST: -5 * 60,
|
|
1693
|
-
CDT: -5 * 60,
|
|
1694
|
-
CST: -6 * 60,
|
|
1695
|
-
MDT: -6 * 60,
|
|
1696
|
-
MST: -7 * 60,
|
|
1697
|
-
PDT: -7 * 60,
|
|
1698
|
-
PST: -8 * 60
|
|
1699
|
-
};
|
|
1700
|
-
function configFromISO(config) {
|
|
1701
|
-
var i, l, string = config._i, match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string), allowTime, dateFormat, timeFormat, tzFormat, isoDatesLen = isoDates.length, isoTimesLen = isoTimes.length;
|
|
1702
|
-
if (match) {
|
|
1703
|
-
getParsingFlags(config).iso = true;
|
|
1704
|
-
for (i = 0, l = isoDatesLen; i < l; i++) {
|
|
1705
|
-
if (isoDates[i][1].exec(match[1])) {
|
|
1706
|
-
dateFormat = isoDates[i][0];
|
|
1707
|
-
allowTime = isoDates[i][2] !== false;
|
|
1708
|
-
break;
|
|
1709
|
-
}
|
|
1710
|
-
}
|
|
1711
|
-
if (dateFormat == null) {
|
|
1712
|
-
config._isValid = false;
|
|
1713
|
-
return;
|
|
1714
|
-
}
|
|
1715
|
-
if (match[3]) {
|
|
1716
|
-
for (i = 0, l = isoTimesLen; i < l; i++) {
|
|
1717
|
-
if (isoTimes[i][1].exec(match[3])) {
|
|
1718
|
-
timeFormat = (match[2] || " ") + isoTimes[i][0];
|
|
1719
|
-
break;
|
|
1720
|
-
}
|
|
1721
|
-
}
|
|
1722
|
-
if (timeFormat == null) {
|
|
1723
|
-
config._isValid = false;
|
|
1724
|
-
return;
|
|
1725
|
-
}
|
|
1726
|
-
}
|
|
1727
|
-
if (!allowTime && timeFormat != null) {
|
|
1728
|
-
config._isValid = false;
|
|
1729
|
-
return;
|
|
1730
|
-
}
|
|
1731
|
-
if (match[4]) {
|
|
1732
|
-
if (tzRegex.exec(match[4])) {
|
|
1733
|
-
tzFormat = "Z";
|
|
1734
|
-
} else {
|
|
1735
|
-
config._isValid = false;
|
|
1736
|
-
return;
|
|
1737
|
-
}
|
|
1738
|
-
}
|
|
1739
|
-
config._f = dateFormat + (timeFormat || "") + (tzFormat || "");
|
|
1740
|
-
configFromStringAndFormat(config);
|
|
1741
|
-
} else {
|
|
1742
|
-
config._isValid = false;
|
|
1743
|
-
}
|
|
1744
|
-
}
|
|
1745
|
-
function extractFromRFC2822Strings(yearStr, monthStr, dayStr, hourStr, minuteStr, secondStr) {
|
|
1746
|
-
var result = [
|
|
1747
|
-
untruncateYear(yearStr),
|
|
1748
|
-
defaultLocaleMonthsShort.indexOf(monthStr),
|
|
1749
|
-
parseInt(dayStr, 10),
|
|
1750
|
-
parseInt(hourStr, 10),
|
|
1751
|
-
parseInt(minuteStr, 10)
|
|
1752
|
-
];
|
|
1753
|
-
if (secondStr) {
|
|
1754
|
-
result.push(parseInt(secondStr, 10));
|
|
1755
|
-
}
|
|
1756
|
-
return result;
|
|
1757
|
-
}
|
|
1758
|
-
function untruncateYear(yearStr) {
|
|
1759
|
-
var year = parseInt(yearStr, 10);
|
|
1760
|
-
if (year <= 49) {
|
|
1761
|
-
return 2e3 + year;
|
|
1762
|
-
} else if (year <= 999) {
|
|
1763
|
-
return 1900 + year;
|
|
1764
|
-
}
|
|
1765
|
-
return year;
|
|
1766
|
-
}
|
|
1767
|
-
function preprocessRFC2822(s) {
|
|
1768
|
-
return s.replace(/\([^()]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").replace(/^\s\s*/, "").replace(/\s\s*$/, "");
|
|
1769
|
-
}
|
|
1770
|
-
function checkWeekday(weekdayStr, parsedInput, config) {
|
|
1771
|
-
if (weekdayStr) {
|
|
1772
|
-
var weekdayProvided = defaultLocaleWeekdaysShort.indexOf(weekdayStr), weekdayActual = new Date(
|
|
1773
|
-
parsedInput[0],
|
|
1774
|
-
parsedInput[1],
|
|
1775
|
-
parsedInput[2]
|
|
1776
|
-
).getDay();
|
|
1777
|
-
if (weekdayProvided !== weekdayActual) {
|
|
1778
|
-
getParsingFlags(config).weekdayMismatch = true;
|
|
1779
|
-
config._isValid = false;
|
|
1780
|
-
return false;
|
|
1781
|
-
}
|
|
1782
|
-
}
|
|
1783
|
-
return true;
|
|
1784
|
-
}
|
|
1785
|
-
function calculateOffset(obsOffset, militaryOffset, numOffset) {
|
|
1786
|
-
if (obsOffset) {
|
|
1787
|
-
return obsOffsets[obsOffset];
|
|
1788
|
-
} else if (militaryOffset) {
|
|
1789
|
-
return 0;
|
|
1790
|
-
} else {
|
|
1791
|
-
var hm = parseInt(numOffset, 10), m = hm % 100, h = (hm - m) / 100;
|
|
1792
|
-
return h * 60 + m;
|
|
1793
|
-
}
|
|
1794
|
-
}
|
|
1795
|
-
function configFromRFC2822(config) {
|
|
1796
|
-
var match = rfc2822.exec(preprocessRFC2822(config._i)), parsedArray;
|
|
1797
|
-
if (match) {
|
|
1798
|
-
parsedArray = extractFromRFC2822Strings(
|
|
1799
|
-
match[4],
|
|
1800
|
-
match[3],
|
|
1801
|
-
match[2],
|
|
1802
|
-
match[5],
|
|
1803
|
-
match[6],
|
|
1804
|
-
match[7]
|
|
1805
|
-
);
|
|
1806
|
-
if (!checkWeekday(match[1], parsedArray, config)) {
|
|
1807
|
-
return;
|
|
1808
|
-
}
|
|
1809
|
-
config._a = parsedArray;
|
|
1810
|
-
config._tzm = calculateOffset(match[8], match[9], match[10]);
|
|
1811
|
-
config._d = createUTCDate.apply(null, config._a);
|
|
1812
|
-
config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);
|
|
1813
|
-
getParsingFlags(config).rfc2822 = true;
|
|
1814
|
-
} else {
|
|
1815
|
-
config._isValid = false;
|
|
1816
|
-
}
|
|
1817
|
-
}
|
|
1818
|
-
function configFromString(config) {
|
|
1819
|
-
var matched = aspNetJsonRegex.exec(config._i);
|
|
1820
|
-
if (matched !== null) {
|
|
1821
|
-
config._d = /* @__PURE__ */ new Date(+matched[1]);
|
|
1822
|
-
return;
|
|
1823
|
-
}
|
|
1824
|
-
configFromISO(config);
|
|
1825
|
-
if (config._isValid === false) {
|
|
1826
|
-
delete config._isValid;
|
|
1827
|
-
} else {
|
|
1828
|
-
return;
|
|
1829
|
-
}
|
|
1830
|
-
configFromRFC2822(config);
|
|
1831
|
-
if (config._isValid === false) {
|
|
1832
|
-
delete config._isValid;
|
|
1833
|
-
} else {
|
|
1834
|
-
return;
|
|
1835
|
-
}
|
|
1836
|
-
if (config._strict) {
|
|
1837
|
-
config._isValid = false;
|
|
1838
|
-
} else {
|
|
1839
|
-
hooks.createFromInputFallback(config);
|
|
1840
|
-
}
|
|
1841
|
-
}
|
|
1842
|
-
hooks.createFromInputFallback = deprecate(
|
|
1843
|
-
"value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",
|
|
1844
|
-
function(config) {
|
|
1845
|
-
config._d = /* @__PURE__ */ new Date(config._i + (config._useUTC ? " UTC" : ""));
|
|
1846
|
-
}
|
|
1847
|
-
);
|
|
1848
|
-
function defaults(a, b, c) {
|
|
1849
|
-
if (a != null) {
|
|
1850
|
-
return a;
|
|
1851
|
-
}
|
|
1852
|
-
if (b != null) {
|
|
1853
|
-
return b;
|
|
1854
|
-
}
|
|
1855
|
-
return c;
|
|
1856
|
-
}
|
|
1857
|
-
function currentDateArray(config) {
|
|
1858
|
-
var nowValue = new Date(hooks.now());
|
|
1859
|
-
if (config._useUTC) {
|
|
1860
|
-
return [
|
|
1861
|
-
nowValue.getUTCFullYear(),
|
|
1862
|
-
nowValue.getUTCMonth(),
|
|
1863
|
-
nowValue.getUTCDate()
|
|
1864
|
-
];
|
|
1865
|
-
}
|
|
1866
|
-
return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()];
|
|
1867
|
-
}
|
|
1868
|
-
function configFromArray(config) {
|
|
1869
|
-
var i, date, input = [], currentDate, expectedWeekday, yearToUse;
|
|
1870
|
-
if (config._d) {
|
|
1871
|
-
return;
|
|
1872
|
-
}
|
|
1873
|
-
currentDate = currentDateArray(config);
|
|
1874
|
-
if (config._w && config._a[DATE] == null && config._a[MONTH] == null) {
|
|
1875
|
-
dayOfYearFromWeekInfo(config);
|
|
1876
|
-
}
|
|
1877
|
-
if (config._dayOfYear != null) {
|
|
1878
|
-
yearToUse = defaults(config._a[YEAR], currentDate[YEAR]);
|
|
1879
|
-
if (config._dayOfYear > daysInYear(yearToUse) || config._dayOfYear === 0) {
|
|
1880
|
-
getParsingFlags(config)._overflowDayOfYear = true;
|
|
1881
|
-
}
|
|
1882
|
-
date = createUTCDate(yearToUse, 0, config._dayOfYear);
|
|
1883
|
-
config._a[MONTH] = date.getUTCMonth();
|
|
1884
|
-
config._a[DATE] = date.getUTCDate();
|
|
1885
|
-
}
|
|
1886
|
-
for (i = 0; i < 3 && config._a[i] == null; ++i) {
|
|
1887
|
-
config._a[i] = input[i] = currentDate[i];
|
|
1888
|
-
}
|
|
1889
|
-
for (; i < 7; i++) {
|
|
1890
|
-
config._a[i] = input[i] = config._a[i] == null ? i === 2 ? 1 : 0 : config._a[i];
|
|
1891
|
-
}
|
|
1892
|
-
if (config._a[HOUR] === 24 && config._a[MINUTE] === 0 && config._a[SECOND] === 0 && config._a[MILLISECOND] === 0) {
|
|
1893
|
-
config._nextDay = true;
|
|
1894
|
-
config._a[HOUR] = 0;
|
|
1895
|
-
}
|
|
1896
|
-
config._d = (config._useUTC ? createUTCDate : createDate).apply(
|
|
1897
|
-
null,
|
|
1898
|
-
input
|
|
1899
|
-
);
|
|
1900
|
-
expectedWeekday = config._useUTC ? config._d.getUTCDay() : config._d.getDay();
|
|
1901
|
-
if (config._tzm != null) {
|
|
1902
|
-
config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);
|
|
1903
|
-
}
|
|
1904
|
-
if (config._nextDay) {
|
|
1905
|
-
config._a[HOUR] = 24;
|
|
1906
|
-
}
|
|
1907
|
-
if (config._w && typeof config._w.d !== "undefined" && config._w.d !== expectedWeekday) {
|
|
1908
|
-
getParsingFlags(config).weekdayMismatch = true;
|
|
1909
|
-
}
|
|
1910
|
-
}
|
|
1911
|
-
function dayOfYearFromWeekInfo(config) {
|
|
1912
|
-
var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow, curWeek;
|
|
1913
|
-
w = config._w;
|
|
1914
|
-
if (w.GG != null || w.W != null || w.E != null) {
|
|
1915
|
-
dow = 1;
|
|
1916
|
-
doy = 4;
|
|
1917
|
-
weekYear = defaults(
|
|
1918
|
-
w.GG,
|
|
1919
|
-
config._a[YEAR],
|
|
1920
|
-
weekOfYear(createLocal(), 1, 4).year
|
|
1921
|
-
);
|
|
1922
|
-
week = defaults(w.W, 1);
|
|
1923
|
-
weekday = defaults(w.E, 1);
|
|
1924
|
-
if (weekday < 1 || weekday > 7) {
|
|
1925
|
-
weekdayOverflow = true;
|
|
1926
|
-
}
|
|
1927
|
-
} else {
|
|
1928
|
-
dow = config._locale._week.dow;
|
|
1929
|
-
doy = config._locale._week.doy;
|
|
1930
|
-
curWeek = weekOfYear(createLocal(), dow, doy);
|
|
1931
|
-
weekYear = defaults(w.gg, config._a[YEAR], curWeek.year);
|
|
1932
|
-
week = defaults(w.w, curWeek.week);
|
|
1933
|
-
if (w.d != null) {
|
|
1934
|
-
weekday = w.d;
|
|
1935
|
-
if (weekday < 0 || weekday > 6) {
|
|
1936
|
-
weekdayOverflow = true;
|
|
1937
|
-
}
|
|
1938
|
-
} else if (w.e != null) {
|
|
1939
|
-
weekday = w.e + dow;
|
|
1940
|
-
if (w.e < 0 || w.e > 6) {
|
|
1941
|
-
weekdayOverflow = true;
|
|
1942
|
-
}
|
|
1943
|
-
} else {
|
|
1944
|
-
weekday = dow;
|
|
1945
|
-
}
|
|
1946
|
-
}
|
|
1947
|
-
if (week < 1 || week > weeksInYear(weekYear, dow, doy)) {
|
|
1948
|
-
getParsingFlags(config)._overflowWeeks = true;
|
|
1949
|
-
} else if (weekdayOverflow != null) {
|
|
1950
|
-
getParsingFlags(config)._overflowWeekday = true;
|
|
1951
|
-
} else {
|
|
1952
|
-
temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy);
|
|
1953
|
-
config._a[YEAR] = temp.year;
|
|
1954
|
-
config._dayOfYear = temp.dayOfYear;
|
|
1955
|
-
}
|
|
1956
|
-
}
|
|
1957
|
-
hooks.ISO_8601 = function() {
|
|
1958
|
-
};
|
|
1959
|
-
hooks.RFC_2822 = function() {
|
|
1960
|
-
};
|
|
1961
|
-
function configFromStringAndFormat(config) {
|
|
1962
|
-
if (config._f === hooks.ISO_8601) {
|
|
1963
|
-
configFromISO(config);
|
|
1964
|
-
return;
|
|
1965
|
-
}
|
|
1966
|
-
if (config._f === hooks.RFC_2822) {
|
|
1967
|
-
configFromRFC2822(config);
|
|
1968
|
-
return;
|
|
1969
|
-
}
|
|
1970
|
-
config._a = [];
|
|
1971
|
-
getParsingFlags(config).empty = true;
|
|
1972
|
-
var string = "" + config._i, i, parsedInput, tokens2, token2, skipped, stringLength = string.length, totalParsedInputLength = 0, era, tokenLen;
|
|
1973
|
-
tokens2 = expandFormat(config._f, config._locale).match(formattingTokens) || [];
|
|
1974
|
-
tokenLen = tokens2.length;
|
|
1975
|
-
for (i = 0; i < tokenLen; i++) {
|
|
1976
|
-
token2 = tokens2[i];
|
|
1977
|
-
parsedInput = (string.match(getParseRegexForToken(token2, config)) || [])[0];
|
|
1978
|
-
if (parsedInput) {
|
|
1979
|
-
skipped = string.substr(0, string.indexOf(parsedInput));
|
|
1980
|
-
if (skipped.length > 0) {
|
|
1981
|
-
getParsingFlags(config).unusedInput.push(skipped);
|
|
1982
|
-
}
|
|
1983
|
-
string = string.slice(
|
|
1984
|
-
string.indexOf(parsedInput) + parsedInput.length
|
|
1985
|
-
);
|
|
1986
|
-
totalParsedInputLength += parsedInput.length;
|
|
1987
|
-
}
|
|
1988
|
-
if (formatTokenFunctions[token2]) {
|
|
1989
|
-
if (parsedInput) {
|
|
1990
|
-
getParsingFlags(config).empty = false;
|
|
1991
|
-
} else {
|
|
1992
|
-
getParsingFlags(config).unusedTokens.push(token2);
|
|
1993
|
-
}
|
|
1994
|
-
addTimeToArrayFromToken(token2, parsedInput, config);
|
|
1995
|
-
} else if (config._strict && !parsedInput) {
|
|
1996
|
-
getParsingFlags(config).unusedTokens.push(token2);
|
|
1997
|
-
}
|
|
1998
|
-
}
|
|
1999
|
-
getParsingFlags(config).charsLeftOver = stringLength - totalParsedInputLength;
|
|
2000
|
-
if (string.length > 0) {
|
|
2001
|
-
getParsingFlags(config).unusedInput.push(string);
|
|
2002
|
-
}
|
|
2003
|
-
if (config._a[HOUR] <= 12 && getParsingFlags(config).bigHour === true && config._a[HOUR] > 0) {
|
|
2004
|
-
getParsingFlags(config).bigHour = void 0;
|
|
2005
|
-
}
|
|
2006
|
-
getParsingFlags(config).parsedDateParts = config._a.slice(0);
|
|
2007
|
-
getParsingFlags(config).meridiem = config._meridiem;
|
|
2008
|
-
config._a[HOUR] = meridiemFixWrap(
|
|
2009
|
-
config._locale,
|
|
2010
|
-
config._a[HOUR],
|
|
2011
|
-
config._meridiem
|
|
2012
|
-
);
|
|
2013
|
-
era = getParsingFlags(config).era;
|
|
2014
|
-
if (era !== null) {
|
|
2015
|
-
config._a[YEAR] = config._locale.erasConvertYear(era, config._a[YEAR]);
|
|
2016
|
-
}
|
|
2017
|
-
configFromArray(config);
|
|
2018
|
-
checkOverflow(config);
|
|
2019
|
-
}
|
|
2020
|
-
function meridiemFixWrap(locale2, hour, meridiem2) {
|
|
2021
|
-
var isPm;
|
|
2022
|
-
if (meridiem2 == null) {
|
|
2023
|
-
return hour;
|
|
2024
|
-
}
|
|
2025
|
-
if (locale2.meridiemHour != null) {
|
|
2026
|
-
return locale2.meridiemHour(hour, meridiem2);
|
|
2027
|
-
} else if (locale2.isPM != null) {
|
|
2028
|
-
isPm = locale2.isPM(meridiem2);
|
|
2029
|
-
if (isPm && hour < 12) {
|
|
2030
|
-
hour += 12;
|
|
2031
|
-
}
|
|
2032
|
-
if (!isPm && hour === 12) {
|
|
2033
|
-
hour = 0;
|
|
2034
|
-
}
|
|
2035
|
-
return hour;
|
|
2036
|
-
} else {
|
|
2037
|
-
return hour;
|
|
2038
|
-
}
|
|
2039
|
-
}
|
|
2040
|
-
function configFromStringAndArray(config) {
|
|
2041
|
-
var tempConfig, bestMoment, scoreToBeat, i, currentScore, validFormatFound, bestFormatIsValid = false, configfLen = config._f.length;
|
|
2042
|
-
if (configfLen === 0) {
|
|
2043
|
-
getParsingFlags(config).invalidFormat = true;
|
|
2044
|
-
config._d = /* @__PURE__ */ new Date(NaN);
|
|
2045
|
-
return;
|
|
2046
|
-
}
|
|
2047
|
-
for (i = 0; i < configfLen; i++) {
|
|
2048
|
-
currentScore = 0;
|
|
2049
|
-
validFormatFound = false;
|
|
2050
|
-
tempConfig = copyConfig({}, config);
|
|
2051
|
-
if (config._useUTC != null) {
|
|
2052
|
-
tempConfig._useUTC = config._useUTC;
|
|
2053
|
-
}
|
|
2054
|
-
tempConfig._f = config._f[i];
|
|
2055
|
-
configFromStringAndFormat(tempConfig);
|
|
2056
|
-
if (isValid(tempConfig)) {
|
|
2057
|
-
validFormatFound = true;
|
|
2058
|
-
}
|
|
2059
|
-
currentScore += getParsingFlags(tempConfig).charsLeftOver;
|
|
2060
|
-
currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10;
|
|
2061
|
-
getParsingFlags(tempConfig).score = currentScore;
|
|
2062
|
-
if (!bestFormatIsValid) {
|
|
2063
|
-
if (scoreToBeat == null || currentScore < scoreToBeat || validFormatFound) {
|
|
2064
|
-
scoreToBeat = currentScore;
|
|
2065
|
-
bestMoment = tempConfig;
|
|
2066
|
-
if (validFormatFound) {
|
|
2067
|
-
bestFormatIsValid = true;
|
|
2068
|
-
}
|
|
2069
|
-
}
|
|
2070
|
-
} else {
|
|
2071
|
-
if (currentScore < scoreToBeat) {
|
|
2072
|
-
scoreToBeat = currentScore;
|
|
2073
|
-
bestMoment = tempConfig;
|
|
2074
|
-
}
|
|
2075
|
-
}
|
|
2076
|
-
}
|
|
2077
|
-
extend(config, bestMoment || tempConfig);
|
|
2078
|
-
}
|
|
2079
|
-
function configFromObject(config) {
|
|
2080
|
-
if (config._d) {
|
|
2081
|
-
return;
|
|
2082
|
-
}
|
|
2083
|
-
var i = normalizeObjectUnits(config._i), dayOrDate = i.day === void 0 ? i.date : i.day;
|
|
2084
|
-
config._a = map(
|
|
2085
|
-
[i.year, i.month, dayOrDate, i.hour, i.minute, i.second, i.millisecond],
|
|
2086
|
-
function(obj) {
|
|
2087
|
-
return obj && parseInt(obj, 10);
|
|
2088
|
-
}
|
|
2089
|
-
);
|
|
2090
|
-
configFromArray(config);
|
|
2091
|
-
}
|
|
2092
|
-
function createFromConfig(config) {
|
|
2093
|
-
var res = new Moment(checkOverflow(prepareConfig(config)));
|
|
2094
|
-
if (res._nextDay) {
|
|
2095
|
-
res.add(1, "d");
|
|
2096
|
-
res._nextDay = void 0;
|
|
2097
|
-
}
|
|
2098
|
-
return res;
|
|
2099
|
-
}
|
|
2100
|
-
function prepareConfig(config) {
|
|
2101
|
-
var input = config._i, format2 = config._f;
|
|
2102
|
-
config._locale = config._locale || getLocale(config._l);
|
|
2103
|
-
if (input === null || format2 === void 0 && input === "") {
|
|
2104
|
-
return createInvalid({ nullInput: true });
|
|
2105
|
-
}
|
|
2106
|
-
if (typeof input === "string") {
|
|
2107
|
-
config._i = input = config._locale.preparse(input);
|
|
2108
|
-
}
|
|
2109
|
-
if (isMoment(input)) {
|
|
2110
|
-
return new Moment(checkOverflow(input));
|
|
2111
|
-
} else if (isDate(input)) {
|
|
2112
|
-
config._d = input;
|
|
2113
|
-
} else if (isArray(format2)) {
|
|
2114
|
-
configFromStringAndArray(config);
|
|
2115
|
-
} else if (format2) {
|
|
2116
|
-
configFromStringAndFormat(config);
|
|
2117
|
-
} else {
|
|
2118
|
-
configFromInput(config);
|
|
2119
|
-
}
|
|
2120
|
-
if (!isValid(config)) {
|
|
2121
|
-
config._d = null;
|
|
2122
|
-
}
|
|
2123
|
-
return config;
|
|
2124
|
-
}
|
|
2125
|
-
function configFromInput(config) {
|
|
2126
|
-
var input = config._i;
|
|
2127
|
-
if (isUndefined(input)) {
|
|
2128
|
-
config._d = new Date(hooks.now());
|
|
2129
|
-
} else if (isDate(input)) {
|
|
2130
|
-
config._d = new Date(input.valueOf());
|
|
2131
|
-
} else if (typeof input === "string") {
|
|
2132
|
-
configFromString(config);
|
|
2133
|
-
} else if (isArray(input)) {
|
|
2134
|
-
config._a = map(input.slice(0), function(obj) {
|
|
2135
|
-
return parseInt(obj, 10);
|
|
2136
|
-
});
|
|
2137
|
-
configFromArray(config);
|
|
2138
|
-
} else if (isObject(input)) {
|
|
2139
|
-
configFromObject(config);
|
|
2140
|
-
} else if (isNumber(input)) {
|
|
2141
|
-
config._d = new Date(input);
|
|
2142
|
-
} else {
|
|
2143
|
-
hooks.createFromInputFallback(config);
|
|
2144
|
-
}
|
|
2145
|
-
}
|
|
2146
|
-
function createLocalOrUTC(input, format2, locale2, strict, isUTC) {
|
|
2147
|
-
var c = {};
|
|
2148
|
-
if (format2 === true || format2 === false) {
|
|
2149
|
-
strict = format2;
|
|
2150
|
-
format2 = void 0;
|
|
2151
|
-
}
|
|
2152
|
-
if (locale2 === true || locale2 === false) {
|
|
2153
|
-
strict = locale2;
|
|
2154
|
-
locale2 = void 0;
|
|
2155
|
-
}
|
|
2156
|
-
if (isObject(input) && isObjectEmpty(input) || isArray(input) && input.length === 0) {
|
|
2157
|
-
input = void 0;
|
|
2158
|
-
}
|
|
2159
|
-
c._isAMomentObject = true;
|
|
2160
|
-
c._useUTC = c._isUTC = isUTC;
|
|
2161
|
-
c._l = locale2;
|
|
2162
|
-
c._i = input;
|
|
2163
|
-
c._f = format2;
|
|
2164
|
-
c._strict = strict;
|
|
2165
|
-
return createFromConfig(c);
|
|
2166
|
-
}
|
|
2167
|
-
function createLocal(input, format2, locale2, strict) {
|
|
2168
|
-
return createLocalOrUTC(input, format2, locale2, strict, false);
|
|
2169
|
-
}
|
|
2170
|
-
var prototypeMin = deprecate(
|
|
2171
|
-
"moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
2172
|
-
function() {
|
|
2173
|
-
var other = createLocal.apply(null, arguments);
|
|
2174
|
-
if (this.isValid() && other.isValid()) {
|
|
2175
|
-
return other < this ? this : other;
|
|
2176
|
-
} else {
|
|
2177
|
-
return createInvalid();
|
|
2178
|
-
}
|
|
2179
|
-
}
|
|
2180
|
-
), prototypeMax = deprecate(
|
|
2181
|
-
"moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",
|
|
2182
|
-
function() {
|
|
2183
|
-
var other = createLocal.apply(null, arguments);
|
|
2184
|
-
if (this.isValid() && other.isValid()) {
|
|
2185
|
-
return other > this ? this : other;
|
|
2186
|
-
} else {
|
|
2187
|
-
return createInvalid();
|
|
2188
|
-
}
|
|
2189
|
-
}
|
|
2190
|
-
);
|
|
2191
|
-
function pickBy(fn, moments) {
|
|
2192
|
-
var res, i;
|
|
2193
|
-
if (moments.length === 1 && isArray(moments[0])) {
|
|
2194
|
-
moments = moments[0];
|
|
2195
|
-
}
|
|
2196
|
-
if (!moments.length) {
|
|
2197
|
-
return createLocal();
|
|
2198
|
-
}
|
|
2199
|
-
res = moments[0];
|
|
2200
|
-
for (i = 1; i < moments.length; ++i) {
|
|
2201
|
-
if (!moments[i].isValid() || moments[i][fn](res)) {
|
|
2202
|
-
res = moments[i];
|
|
2203
|
-
}
|
|
2204
|
-
}
|
|
2205
|
-
return res;
|
|
2206
|
-
}
|
|
2207
|
-
function min() {
|
|
2208
|
-
var args = [].slice.call(arguments, 0);
|
|
2209
|
-
return pickBy("isBefore", args);
|
|
2210
|
-
}
|
|
2211
|
-
function max() {
|
|
2212
|
-
var args = [].slice.call(arguments, 0);
|
|
2213
|
-
return pickBy("isAfter", args);
|
|
2214
|
-
}
|
|
2215
|
-
var now = function() {
|
|
2216
|
-
return Date.now ? Date.now() : +/* @__PURE__ */ new Date();
|
|
2217
|
-
};
|
|
2218
|
-
var ordering = [
|
|
2219
|
-
"year",
|
|
2220
|
-
"quarter",
|
|
2221
|
-
"month",
|
|
2222
|
-
"week",
|
|
2223
|
-
"day",
|
|
2224
|
-
"hour",
|
|
2225
|
-
"minute",
|
|
2226
|
-
"second",
|
|
2227
|
-
"millisecond"
|
|
2228
|
-
];
|
|
2229
|
-
function isDurationValid(m) {
|
|
2230
|
-
var key, unitHasDecimal = false, i, orderLen = ordering.length;
|
|
2231
|
-
for (key in m) {
|
|
2232
|
-
if (hasOwnProp(m, key) && !(indexOf.call(ordering, key) !== -1 && (m[key] == null || !isNaN(m[key])))) {
|
|
2233
|
-
return false;
|
|
2234
|
-
}
|
|
2235
|
-
}
|
|
2236
|
-
for (i = 0; i < orderLen; ++i) {
|
|
2237
|
-
if (m[ordering[i]]) {
|
|
2238
|
-
if (unitHasDecimal) {
|
|
2239
|
-
return false;
|
|
2240
|
-
}
|
|
2241
|
-
if (parseFloat(m[ordering[i]]) !== toInt(m[ordering[i]])) {
|
|
2242
|
-
unitHasDecimal = true;
|
|
2243
|
-
}
|
|
2244
|
-
}
|
|
2245
|
-
}
|
|
2246
|
-
return true;
|
|
2247
|
-
}
|
|
2248
|
-
function isValid$1() {
|
|
2249
|
-
return this._isValid;
|
|
2250
|
-
}
|
|
2251
|
-
function createInvalid$1() {
|
|
2252
|
-
return createDuration(NaN);
|
|
2253
|
-
}
|
|
2254
|
-
function Duration(duration) {
|
|
2255
|
-
var normalizedInput = normalizeObjectUnits(duration), years2 = normalizedInput.year || 0, quarters = normalizedInput.quarter || 0, months2 = normalizedInput.month || 0, weeks2 = normalizedInput.week || normalizedInput.isoWeek || 0, days2 = normalizedInput.day || 0, hours2 = normalizedInput.hour || 0, minutes2 = normalizedInput.minute || 0, seconds2 = normalizedInput.second || 0, milliseconds2 = normalizedInput.millisecond || 0;
|
|
2256
|
-
this._isValid = isDurationValid(normalizedInput);
|
|
2257
|
-
this._milliseconds = +milliseconds2 + seconds2 * 1e3 + // 1000
|
|
2258
|
-
minutes2 * 6e4 + // 1000 * 60
|
|
2259
|
-
hours2 * 1e3 * 60 * 60;
|
|
2260
|
-
this._days = +days2 + weeks2 * 7;
|
|
2261
|
-
this._months = +months2 + quarters * 3 + years2 * 12;
|
|
2262
|
-
this._data = {};
|
|
2263
|
-
this._locale = getLocale();
|
|
2264
|
-
this._bubble();
|
|
2265
|
-
}
|
|
2266
|
-
function isDuration(obj) {
|
|
2267
|
-
return obj instanceof Duration;
|
|
2268
|
-
}
|
|
2269
|
-
function absRound(number) {
|
|
2270
|
-
if (number < 0) {
|
|
2271
|
-
return Math.round(-1 * number) * -1;
|
|
2272
|
-
} else {
|
|
2273
|
-
return Math.round(number);
|
|
2274
|
-
}
|
|
2275
|
-
}
|
|
2276
|
-
function compareArrays(array1, array2, dontConvert) {
|
|
2277
|
-
var len = Math.min(array1.length, array2.length), lengthDiff = Math.abs(array1.length - array2.length), diffs = 0, i;
|
|
2278
|
-
for (i = 0; i < len; i++) {
|
|
2279
|
-
if (toInt(array1[i]) !== toInt(array2[i])) {
|
|
2280
|
-
diffs++;
|
|
2281
|
-
}
|
|
2282
|
-
}
|
|
2283
|
-
return diffs + lengthDiff;
|
|
2284
|
-
}
|
|
2285
|
-
function offset(token2, separator) {
|
|
2286
|
-
addFormatToken(token2, 0, 0, function() {
|
|
2287
|
-
var offset2 = this.utcOffset(), sign2 = "+";
|
|
2288
|
-
if (offset2 < 0) {
|
|
2289
|
-
offset2 = -offset2;
|
|
2290
|
-
sign2 = "-";
|
|
2291
|
-
}
|
|
2292
|
-
return sign2 + zeroFill(~~(offset2 / 60), 2) + separator + zeroFill(~~offset2 % 60, 2);
|
|
2293
|
-
});
|
|
2294
|
-
}
|
|
2295
|
-
offset("Z", ":");
|
|
2296
|
-
offset("ZZ", "");
|
|
2297
|
-
addRegexToken("Z", matchShortOffset);
|
|
2298
|
-
addRegexToken("ZZ", matchShortOffset);
|
|
2299
|
-
addParseToken(["Z", "ZZ"], function(input, array, config) {
|
|
2300
|
-
config._useUTC = true;
|
|
2301
|
-
config._tzm = offsetFromString(matchShortOffset, input);
|
|
2302
|
-
});
|
|
2303
|
-
var chunkOffset = /([\+\-]|\d\d)/gi;
|
|
2304
|
-
function offsetFromString(matcher, string) {
|
|
2305
|
-
var matches = (string || "").match(matcher), chunk, parts, minutes2;
|
|
2306
|
-
if (matches === null) {
|
|
2307
|
-
return null;
|
|
2308
|
-
}
|
|
2309
|
-
chunk = matches[matches.length - 1] || [];
|
|
2310
|
-
parts = (chunk + "").match(chunkOffset) || ["-", 0, 0];
|
|
2311
|
-
minutes2 = +(parts[1] * 60) + toInt(parts[2]);
|
|
2312
|
-
return minutes2 === 0 ? 0 : parts[0] === "+" ? minutes2 : -minutes2;
|
|
2313
|
-
}
|
|
2314
|
-
function cloneWithOffset(input, model) {
|
|
2315
|
-
var res, diff2;
|
|
2316
|
-
if (model._isUTC) {
|
|
2317
|
-
res = model.clone();
|
|
2318
|
-
diff2 = (isMoment(input) || isDate(input) ? input.valueOf() : createLocal(input).valueOf()) - res.valueOf();
|
|
2319
|
-
res._d.setTime(res._d.valueOf() + diff2);
|
|
2320
|
-
hooks.updateOffset(res, false);
|
|
2321
|
-
return res;
|
|
2322
|
-
} else {
|
|
2323
|
-
return createLocal(input).local();
|
|
2324
|
-
}
|
|
2325
|
-
}
|
|
2326
|
-
function getDateOffset(m) {
|
|
2327
|
-
return -Math.round(m._d.getTimezoneOffset());
|
|
2328
|
-
}
|
|
2329
|
-
hooks.updateOffset = function() {
|
|
2330
|
-
};
|
|
2331
|
-
function getSetOffset(input, keepLocalTime, keepMinutes) {
|
|
2332
|
-
var offset2 = this._offset || 0, localAdjust;
|
|
2333
|
-
if (!this.isValid()) {
|
|
2334
|
-
return input != null ? this : NaN;
|
|
2335
|
-
}
|
|
2336
|
-
if (input != null) {
|
|
2337
|
-
if (typeof input === "string") {
|
|
2338
|
-
input = offsetFromString(matchShortOffset, input);
|
|
2339
|
-
if (input === null) {
|
|
2340
|
-
return this;
|
|
2341
|
-
}
|
|
2342
|
-
} else if (Math.abs(input) < 16 && !keepMinutes) {
|
|
2343
|
-
input = input * 60;
|
|
2344
|
-
}
|
|
2345
|
-
if (!this._isUTC && keepLocalTime) {
|
|
2346
|
-
localAdjust = getDateOffset(this);
|
|
2347
|
-
}
|
|
2348
|
-
this._offset = input;
|
|
2349
|
-
this._isUTC = true;
|
|
2350
|
-
if (localAdjust != null) {
|
|
2351
|
-
this.add(localAdjust, "m");
|
|
2352
|
-
}
|
|
2353
|
-
if (offset2 !== input) {
|
|
2354
|
-
if (!keepLocalTime || this._changeInProgress) {
|
|
2355
|
-
addSubtract(
|
|
2356
|
-
this,
|
|
2357
|
-
createDuration(input - offset2, "m"),
|
|
2358
|
-
1,
|
|
2359
|
-
false
|
|
2360
|
-
);
|
|
2361
|
-
} else if (!this._changeInProgress) {
|
|
2362
|
-
this._changeInProgress = true;
|
|
2363
|
-
hooks.updateOffset(this, true);
|
|
2364
|
-
this._changeInProgress = null;
|
|
2365
|
-
}
|
|
2366
|
-
}
|
|
2367
|
-
return this;
|
|
2368
|
-
} else {
|
|
2369
|
-
return this._isUTC ? offset2 : getDateOffset(this);
|
|
2370
|
-
}
|
|
2371
|
-
}
|
|
2372
|
-
function getSetZone(input, keepLocalTime) {
|
|
2373
|
-
if (input != null) {
|
|
2374
|
-
if (typeof input !== "string") {
|
|
2375
|
-
input = -input;
|
|
2376
|
-
}
|
|
2377
|
-
this.utcOffset(input, keepLocalTime);
|
|
2378
|
-
return this;
|
|
2379
|
-
} else {
|
|
2380
|
-
return -this.utcOffset();
|
|
2381
|
-
}
|
|
2382
|
-
}
|
|
2383
|
-
function setOffsetToUTC(keepLocalTime) {
|
|
2384
|
-
return this.utcOffset(0, keepLocalTime);
|
|
2385
|
-
}
|
|
2386
|
-
function setOffsetToLocal(keepLocalTime) {
|
|
2387
|
-
if (this._isUTC) {
|
|
2388
|
-
this.utcOffset(0, keepLocalTime);
|
|
2389
|
-
this._isUTC = false;
|
|
2390
|
-
if (keepLocalTime) {
|
|
2391
|
-
this.subtract(getDateOffset(this), "m");
|
|
2392
|
-
}
|
|
2393
|
-
}
|
|
2394
|
-
return this;
|
|
2395
|
-
}
|
|
2396
|
-
function setOffsetToParsedOffset() {
|
|
2397
|
-
if (this._tzm != null) {
|
|
2398
|
-
this.utcOffset(this._tzm, false, true);
|
|
2399
|
-
} else if (typeof this._i === "string") {
|
|
2400
|
-
var tZone = offsetFromString(matchOffset, this._i);
|
|
2401
|
-
if (tZone != null) {
|
|
2402
|
-
this.utcOffset(tZone);
|
|
2403
|
-
} else {
|
|
2404
|
-
this.utcOffset(0, true);
|
|
2405
|
-
}
|
|
2406
|
-
}
|
|
2407
|
-
return this;
|
|
2408
|
-
}
|
|
2409
|
-
function hasAlignedHourOffset(input) {
|
|
2410
|
-
if (!this.isValid()) {
|
|
2411
|
-
return false;
|
|
2412
|
-
}
|
|
2413
|
-
input = input ? createLocal(input).utcOffset() : 0;
|
|
2414
|
-
return (this.utcOffset() - input) % 60 === 0;
|
|
2415
|
-
}
|
|
2416
|
-
function isDaylightSavingTime() {
|
|
2417
|
-
return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();
|
|
2418
|
-
}
|
|
2419
|
-
function isDaylightSavingTimeShifted() {
|
|
2420
|
-
if (!isUndefined(this._isDSTShifted)) {
|
|
2421
|
-
return this._isDSTShifted;
|
|
2422
|
-
}
|
|
2423
|
-
var c = {}, other;
|
|
2424
|
-
copyConfig(c, this);
|
|
2425
|
-
c = prepareConfig(c);
|
|
2426
|
-
if (c._a) {
|
|
2427
|
-
other = c._isUTC ? createUTC(c._a) : createLocal(c._a);
|
|
2428
|
-
this._isDSTShifted = this.isValid() && compareArrays(c._a, other.toArray()) > 0;
|
|
2429
|
-
} else {
|
|
2430
|
-
this._isDSTShifted = false;
|
|
2431
|
-
}
|
|
2432
|
-
return this._isDSTShifted;
|
|
2433
|
-
}
|
|
2434
|
-
function isLocal() {
|
|
2435
|
-
return this.isValid() ? !this._isUTC : false;
|
|
2436
|
-
}
|
|
2437
|
-
function isUtcOffset() {
|
|
2438
|
-
return this.isValid() ? this._isUTC : false;
|
|
2439
|
-
}
|
|
2440
|
-
function isUtc() {
|
|
2441
|
-
return this.isValid() ? this._isUTC && this._offset === 0 : false;
|
|
2442
|
-
}
|
|
2443
|
-
var aspNetRegex = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, isoRegex = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
|
|
2444
|
-
function createDuration(input, key) {
|
|
2445
|
-
var duration = input, match = null, sign2, ret, diffRes;
|
|
2446
|
-
if (isDuration(input)) {
|
|
2447
|
-
duration = {
|
|
2448
|
-
ms: input._milliseconds,
|
|
2449
|
-
d: input._days,
|
|
2450
|
-
M: input._months
|
|
2451
|
-
};
|
|
2452
|
-
} else if (isNumber(input) || !isNaN(+input)) {
|
|
2453
|
-
duration = {};
|
|
2454
|
-
if (key) {
|
|
2455
|
-
duration[key] = +input;
|
|
2456
|
-
} else {
|
|
2457
|
-
duration.milliseconds = +input;
|
|
2458
|
-
}
|
|
2459
|
-
} else if (match = aspNetRegex.exec(input)) {
|
|
2460
|
-
sign2 = match[1] === "-" ? -1 : 1;
|
|
2461
|
-
duration = {
|
|
2462
|
-
y: 0,
|
|
2463
|
-
d: toInt(match[DATE]) * sign2,
|
|
2464
|
-
h: toInt(match[HOUR]) * sign2,
|
|
2465
|
-
m: toInt(match[MINUTE]) * sign2,
|
|
2466
|
-
s: toInt(match[SECOND]) * sign2,
|
|
2467
|
-
ms: toInt(absRound(match[MILLISECOND] * 1e3)) * sign2
|
|
2468
|
-
// the millisecond decimal point is included in the match
|
|
2469
|
-
};
|
|
2470
|
-
} else if (match = isoRegex.exec(input)) {
|
|
2471
|
-
sign2 = match[1] === "-" ? -1 : 1;
|
|
2472
|
-
duration = {
|
|
2473
|
-
y: parseIso(match[2], sign2),
|
|
2474
|
-
M: parseIso(match[3], sign2),
|
|
2475
|
-
w: parseIso(match[4], sign2),
|
|
2476
|
-
d: parseIso(match[5], sign2),
|
|
2477
|
-
h: parseIso(match[6], sign2),
|
|
2478
|
-
m: parseIso(match[7], sign2),
|
|
2479
|
-
s: parseIso(match[8], sign2)
|
|
2480
|
-
};
|
|
2481
|
-
} else if (duration == null) {
|
|
2482
|
-
duration = {};
|
|
2483
|
-
} else if (typeof duration === "object" && ("from" in duration || "to" in duration)) {
|
|
2484
|
-
diffRes = momentsDifference(
|
|
2485
|
-
createLocal(duration.from),
|
|
2486
|
-
createLocal(duration.to)
|
|
2487
|
-
);
|
|
2488
|
-
duration = {};
|
|
2489
|
-
duration.ms = diffRes.milliseconds;
|
|
2490
|
-
duration.M = diffRes.months;
|
|
2491
|
-
}
|
|
2492
|
-
ret = new Duration(duration);
|
|
2493
|
-
if (isDuration(input) && hasOwnProp(input, "_locale")) {
|
|
2494
|
-
ret._locale = input._locale;
|
|
2495
|
-
}
|
|
2496
|
-
if (isDuration(input) && hasOwnProp(input, "_isValid")) {
|
|
2497
|
-
ret._isValid = input._isValid;
|
|
2498
|
-
}
|
|
2499
|
-
return ret;
|
|
2500
|
-
}
|
|
2501
|
-
createDuration.fn = Duration.prototype;
|
|
2502
|
-
createDuration.invalid = createInvalid$1;
|
|
2503
|
-
function parseIso(inp, sign2) {
|
|
2504
|
-
var res = inp && parseFloat(inp.replace(",", "."));
|
|
2505
|
-
return (isNaN(res) ? 0 : res) * sign2;
|
|
2506
|
-
}
|
|
2507
|
-
function positiveMomentsDifference(base, other) {
|
|
2508
|
-
var res = {};
|
|
2509
|
-
res.months = other.month() - base.month() + (other.year() - base.year()) * 12;
|
|
2510
|
-
if (base.clone().add(res.months, "M").isAfter(other)) {
|
|
2511
|
-
--res.months;
|
|
2512
|
-
}
|
|
2513
|
-
res.milliseconds = +other - +base.clone().add(res.months, "M");
|
|
2514
|
-
return res;
|
|
2515
|
-
}
|
|
2516
|
-
function momentsDifference(base, other) {
|
|
2517
|
-
var res;
|
|
2518
|
-
if (!(base.isValid() && other.isValid())) {
|
|
2519
|
-
return { milliseconds: 0, months: 0 };
|
|
2520
|
-
}
|
|
2521
|
-
other = cloneWithOffset(other, base);
|
|
2522
|
-
if (base.isBefore(other)) {
|
|
2523
|
-
res = positiveMomentsDifference(base, other);
|
|
2524
|
-
} else {
|
|
2525
|
-
res = positiveMomentsDifference(other, base);
|
|
2526
|
-
res.milliseconds = -res.milliseconds;
|
|
2527
|
-
res.months = -res.months;
|
|
2528
|
-
}
|
|
2529
|
-
return res;
|
|
2530
|
-
}
|
|
2531
|
-
function createAdder(direction, name) {
|
|
2532
|
-
return function(val, period) {
|
|
2533
|
-
var dur, tmp;
|
|
2534
|
-
if (period !== null && !isNaN(+period)) {
|
|
2535
|
-
deprecateSimple(
|
|
2536
|
-
name,
|
|
2537
|
-
"moment()." + name + "(period, number) is deprecated. Please use moment()." + name + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."
|
|
2538
|
-
);
|
|
2539
|
-
tmp = val;
|
|
2540
|
-
val = period;
|
|
2541
|
-
period = tmp;
|
|
2542
|
-
}
|
|
2543
|
-
dur = createDuration(val, period);
|
|
2544
|
-
addSubtract(this, dur, direction);
|
|
2545
|
-
return this;
|
|
2546
|
-
};
|
|
2547
|
-
}
|
|
2548
|
-
function addSubtract(mom, duration, isAdding, updateOffset) {
|
|
2549
|
-
var milliseconds2 = duration._milliseconds, days2 = absRound(duration._days), months2 = absRound(duration._months);
|
|
2550
|
-
if (!mom.isValid()) {
|
|
2551
|
-
return;
|
|
2552
|
-
}
|
|
2553
|
-
updateOffset = updateOffset == null ? true : updateOffset;
|
|
2554
|
-
if (months2) {
|
|
2555
|
-
setMonth(mom, get(mom, "Month") + months2 * isAdding);
|
|
2556
|
-
}
|
|
2557
|
-
if (days2) {
|
|
2558
|
-
set$1(mom, "Date", get(mom, "Date") + days2 * isAdding);
|
|
2559
|
-
}
|
|
2560
|
-
if (milliseconds2) {
|
|
2561
|
-
mom._d.setTime(mom._d.valueOf() + milliseconds2 * isAdding);
|
|
2562
|
-
}
|
|
2563
|
-
if (updateOffset) {
|
|
2564
|
-
hooks.updateOffset(mom, days2 || months2);
|
|
2565
|
-
}
|
|
2566
|
-
}
|
|
2567
|
-
var add = createAdder(1, "add"), subtract = createAdder(-1, "subtract");
|
|
2568
|
-
function isString(input) {
|
|
2569
|
-
return typeof input === "string" || input instanceof String;
|
|
2570
|
-
}
|
|
2571
|
-
function isMomentInput(input) {
|
|
2572
|
-
return isMoment(input) || isDate(input) || isString(input) || isNumber(input) || isNumberOrStringArray(input) || isMomentInputObject(input) || input === null || input === void 0;
|
|
2573
|
-
}
|
|
2574
|
-
function isMomentInputObject(input) {
|
|
2575
|
-
var objectTest = isObject(input) && !isObjectEmpty(input), propertyTest = false, properties = [
|
|
2576
|
-
"years",
|
|
2577
|
-
"year",
|
|
2578
|
-
"y",
|
|
2579
|
-
"months",
|
|
2580
|
-
"month",
|
|
2581
|
-
"M",
|
|
2582
|
-
"days",
|
|
2583
|
-
"day",
|
|
2584
|
-
"d",
|
|
2585
|
-
"dates",
|
|
2586
|
-
"date",
|
|
2587
|
-
"D",
|
|
2588
|
-
"hours",
|
|
2589
|
-
"hour",
|
|
2590
|
-
"h",
|
|
2591
|
-
"minutes",
|
|
2592
|
-
"minute",
|
|
2593
|
-
"m",
|
|
2594
|
-
"seconds",
|
|
2595
|
-
"second",
|
|
2596
|
-
"s",
|
|
2597
|
-
"milliseconds",
|
|
2598
|
-
"millisecond",
|
|
2599
|
-
"ms"
|
|
2600
|
-
], i, property, propertyLen = properties.length;
|
|
2601
|
-
for (i = 0; i < propertyLen; i += 1) {
|
|
2602
|
-
property = properties[i];
|
|
2603
|
-
propertyTest = propertyTest || hasOwnProp(input, property);
|
|
2604
|
-
}
|
|
2605
|
-
return objectTest && propertyTest;
|
|
2606
|
-
}
|
|
2607
|
-
function isNumberOrStringArray(input) {
|
|
2608
|
-
var arrayTest = isArray(input), dataTypeTest = false;
|
|
2609
|
-
if (arrayTest) {
|
|
2610
|
-
dataTypeTest = input.filter(function(item) {
|
|
2611
|
-
return !isNumber(item) && isString(input);
|
|
2612
|
-
}).length === 0;
|
|
2613
|
-
}
|
|
2614
|
-
return arrayTest && dataTypeTest;
|
|
2615
|
-
}
|
|
2616
|
-
function isCalendarSpec(input) {
|
|
2617
|
-
var objectTest = isObject(input) && !isObjectEmpty(input), propertyTest = false, properties = [
|
|
2618
|
-
"sameDay",
|
|
2619
|
-
"nextDay",
|
|
2620
|
-
"lastDay",
|
|
2621
|
-
"nextWeek",
|
|
2622
|
-
"lastWeek",
|
|
2623
|
-
"sameElse"
|
|
2624
|
-
], i, property;
|
|
2625
|
-
for (i = 0; i < properties.length; i += 1) {
|
|
2626
|
-
property = properties[i];
|
|
2627
|
-
propertyTest = propertyTest || hasOwnProp(input, property);
|
|
2628
|
-
}
|
|
2629
|
-
return objectTest && propertyTest;
|
|
2630
|
-
}
|
|
2631
|
-
function getCalendarFormat(myMoment, now2) {
|
|
2632
|
-
var diff2 = myMoment.diff(now2, "days", true);
|
|
2633
|
-
return diff2 < -6 ? "sameElse" : diff2 < -1 ? "lastWeek" : diff2 < 0 ? "lastDay" : diff2 < 1 ? "sameDay" : diff2 < 2 ? "nextDay" : diff2 < 7 ? "nextWeek" : "sameElse";
|
|
2634
|
-
}
|
|
2635
|
-
function calendar$1(time, formats) {
|
|
2636
|
-
if (arguments.length === 1) {
|
|
2637
|
-
if (!arguments[0]) {
|
|
2638
|
-
time = void 0;
|
|
2639
|
-
formats = void 0;
|
|
2640
|
-
} else if (isMomentInput(arguments[0])) {
|
|
2641
|
-
time = arguments[0];
|
|
2642
|
-
formats = void 0;
|
|
2643
|
-
} else if (isCalendarSpec(arguments[0])) {
|
|
2644
|
-
formats = arguments[0];
|
|
2645
|
-
time = void 0;
|
|
2646
|
-
}
|
|
2647
|
-
}
|
|
2648
|
-
var now2 = time || createLocal(), sod = cloneWithOffset(now2, this).startOf("day"), format2 = hooks.calendarFormat(this, sod) || "sameElse", output = formats && (isFunction(formats[format2]) ? formats[format2].call(this, now2) : formats[format2]);
|
|
2649
|
-
return this.format(
|
|
2650
|
-
output || this.localeData().calendar(format2, this, createLocal(now2))
|
|
2651
|
-
);
|
|
2652
|
-
}
|
|
2653
|
-
function clone() {
|
|
2654
|
-
return new Moment(this);
|
|
2655
|
-
}
|
|
2656
|
-
function isAfter(input, units) {
|
|
2657
|
-
var localInput = isMoment(input) ? input : createLocal(input);
|
|
2658
|
-
if (!(this.isValid() && localInput.isValid())) {
|
|
2659
|
-
return false;
|
|
2660
|
-
}
|
|
2661
|
-
units = normalizeUnits(units) || "millisecond";
|
|
2662
|
-
if (units === "millisecond") {
|
|
2663
|
-
return this.valueOf() > localInput.valueOf();
|
|
2664
|
-
} else {
|
|
2665
|
-
return localInput.valueOf() < this.clone().startOf(units).valueOf();
|
|
2666
|
-
}
|
|
2667
|
-
}
|
|
2668
|
-
function isBefore(input, units) {
|
|
2669
|
-
var localInput = isMoment(input) ? input : createLocal(input);
|
|
2670
|
-
if (!(this.isValid() && localInput.isValid())) {
|
|
2671
|
-
return false;
|
|
2672
|
-
}
|
|
2673
|
-
units = normalizeUnits(units) || "millisecond";
|
|
2674
|
-
if (units === "millisecond") {
|
|
2675
|
-
return this.valueOf() < localInput.valueOf();
|
|
2676
|
-
} else {
|
|
2677
|
-
return this.clone().endOf(units).valueOf() < localInput.valueOf();
|
|
2678
|
-
}
|
|
2679
|
-
}
|
|
2680
|
-
function isBetween(from2, to2, units, inclusivity) {
|
|
2681
|
-
var localFrom = isMoment(from2) ? from2 : createLocal(from2), localTo = isMoment(to2) ? to2 : createLocal(to2);
|
|
2682
|
-
if (!(this.isValid() && localFrom.isValid() && localTo.isValid())) {
|
|
2683
|
-
return false;
|
|
2684
|
-
}
|
|
2685
|
-
inclusivity = inclusivity || "()";
|
|
2686
|
-
return (inclusivity[0] === "(" ? this.isAfter(localFrom, units) : !this.isBefore(localFrom, units)) && (inclusivity[1] === ")" ? this.isBefore(localTo, units) : !this.isAfter(localTo, units));
|
|
2687
|
-
}
|
|
2688
|
-
function isSame(input, units) {
|
|
2689
|
-
var localInput = isMoment(input) ? input : createLocal(input), inputMs;
|
|
2690
|
-
if (!(this.isValid() && localInput.isValid())) {
|
|
2691
|
-
return false;
|
|
2692
|
-
}
|
|
2693
|
-
units = normalizeUnits(units) || "millisecond";
|
|
2694
|
-
if (units === "millisecond") {
|
|
2695
|
-
return this.valueOf() === localInput.valueOf();
|
|
2696
|
-
} else {
|
|
2697
|
-
inputMs = localInput.valueOf();
|
|
2698
|
-
return this.clone().startOf(units).valueOf() <= inputMs && inputMs <= this.clone().endOf(units).valueOf();
|
|
2699
|
-
}
|
|
2700
|
-
}
|
|
2701
|
-
function isSameOrAfter(input, units) {
|
|
2702
|
-
return this.isSame(input, units) || this.isAfter(input, units);
|
|
2703
|
-
}
|
|
2704
|
-
function isSameOrBefore(input, units) {
|
|
2705
|
-
return this.isSame(input, units) || this.isBefore(input, units);
|
|
2706
|
-
}
|
|
2707
|
-
function diff(input, units, asFloat) {
|
|
2708
|
-
var that, zoneDelta, output;
|
|
2709
|
-
if (!this.isValid()) {
|
|
2710
|
-
return NaN;
|
|
2711
|
-
}
|
|
2712
|
-
that = cloneWithOffset(input, this);
|
|
2713
|
-
if (!that.isValid()) {
|
|
2714
|
-
return NaN;
|
|
2715
|
-
}
|
|
2716
|
-
zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4;
|
|
2717
|
-
units = normalizeUnits(units);
|
|
2718
|
-
switch (units) {
|
|
2719
|
-
case "year":
|
|
2720
|
-
output = monthDiff(this, that) / 12;
|
|
2721
|
-
break;
|
|
2722
|
-
case "month":
|
|
2723
|
-
output = monthDiff(this, that);
|
|
2724
|
-
break;
|
|
2725
|
-
case "quarter":
|
|
2726
|
-
output = monthDiff(this, that) / 3;
|
|
2727
|
-
break;
|
|
2728
|
-
case "second":
|
|
2729
|
-
output = (this - that) / 1e3;
|
|
2730
|
-
break;
|
|
2731
|
-
case "minute":
|
|
2732
|
-
output = (this - that) / 6e4;
|
|
2733
|
-
break;
|
|
2734
|
-
case "hour":
|
|
2735
|
-
output = (this - that) / 36e5;
|
|
2736
|
-
break;
|
|
2737
|
-
case "day":
|
|
2738
|
-
output = (this - that - zoneDelta) / 864e5;
|
|
2739
|
-
break;
|
|
2740
|
-
case "week":
|
|
2741
|
-
output = (this - that - zoneDelta) / 6048e5;
|
|
2742
|
-
break;
|
|
2743
|
-
default:
|
|
2744
|
-
output = this - that;
|
|
2745
|
-
}
|
|
2746
|
-
return asFloat ? output : absFloor(output);
|
|
2747
|
-
}
|
|
2748
|
-
function monthDiff(a, b) {
|
|
2749
|
-
if (a.date() < b.date()) {
|
|
2750
|
-
return -monthDiff(b, a);
|
|
2751
|
-
}
|
|
2752
|
-
var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month()), anchor = a.clone().add(wholeMonthDiff, "months"), anchor2, adjust;
|
|
2753
|
-
if (b - anchor < 0) {
|
|
2754
|
-
anchor2 = a.clone().add(wholeMonthDiff - 1, "months");
|
|
2755
|
-
adjust = (b - anchor) / (anchor - anchor2);
|
|
2756
|
-
} else {
|
|
2757
|
-
anchor2 = a.clone().add(wholeMonthDiff + 1, "months");
|
|
2758
|
-
adjust = (b - anchor) / (anchor2 - anchor);
|
|
2759
|
-
}
|
|
2760
|
-
return -(wholeMonthDiff + adjust) || 0;
|
|
2761
|
-
}
|
|
2762
|
-
hooks.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ";
|
|
2763
|
-
hooks.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
|
|
2764
|
-
function toString() {
|
|
2765
|
-
return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ");
|
|
2766
|
-
}
|
|
2767
|
-
function toISOString(keepOffset) {
|
|
2768
|
-
if (!this.isValid()) {
|
|
2769
|
-
return null;
|
|
2770
|
-
}
|
|
2771
|
-
var utc = keepOffset !== true, m = utc ? this.clone().utc() : this;
|
|
2772
|
-
if (m.year() < 0 || m.year() > 9999) {
|
|
2773
|
-
return formatMoment(
|
|
2774
|
-
m,
|
|
2775
|
-
utc ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
|
2776
|
-
);
|
|
2777
|
-
}
|
|
2778
|
-
if (isFunction(Date.prototype.toISOString)) {
|
|
2779
|
-
if (utc) {
|
|
2780
|
-
return this.toDate().toISOString();
|
|
2781
|
-
} else {
|
|
2782
|
-
return new Date(this.valueOf() + this.utcOffset() * 60 * 1e3).toISOString().replace("Z", formatMoment(m, "Z"));
|
|
2783
|
-
}
|
|
2784
|
-
}
|
|
2785
|
-
return formatMoment(
|
|
2786
|
-
m,
|
|
2787
|
-
utc ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ"
|
|
2788
|
-
);
|
|
2789
|
-
}
|
|
2790
|
-
function inspect() {
|
|
2791
|
-
if (!this.isValid()) {
|
|
2792
|
-
return "moment.invalid(/* " + this._i + " */)";
|
|
2793
|
-
}
|
|
2794
|
-
var func = "moment", zone = "", prefix, year, datetime, suffix;
|
|
2795
|
-
if (!this.isLocal()) {
|
|
2796
|
-
func = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone";
|
|
2797
|
-
zone = "Z";
|
|
2798
|
-
}
|
|
2799
|
-
prefix = "[" + func + '("]';
|
|
2800
|
-
year = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY";
|
|
2801
|
-
datetime = "-MM-DD[T]HH:mm:ss.SSS";
|
|
2802
|
-
suffix = zone + '[")]';
|
|
2803
|
-
return this.format(prefix + year + datetime + suffix);
|
|
2804
|
-
}
|
|
2805
|
-
function format(inputString) {
|
|
2806
|
-
if (!inputString) {
|
|
2807
|
-
inputString = this.isUtc() ? hooks.defaultFormatUtc : hooks.defaultFormat;
|
|
2808
|
-
}
|
|
2809
|
-
var output = formatMoment(this, inputString);
|
|
2810
|
-
return this.localeData().postformat(output);
|
|
2811
|
-
}
|
|
2812
|
-
function from(time, withoutSuffix) {
|
|
2813
|
-
if (this.isValid() && (isMoment(time) && time.isValid() || createLocal(time).isValid())) {
|
|
2814
|
-
return createDuration({ to: this, from: time }).locale(this.locale()).humanize(!withoutSuffix);
|
|
2815
|
-
} else {
|
|
2816
|
-
return this.localeData().invalidDate();
|
|
2817
|
-
}
|
|
2818
|
-
}
|
|
2819
|
-
function fromNow(withoutSuffix) {
|
|
2820
|
-
return this.from(createLocal(), withoutSuffix);
|
|
2821
|
-
}
|
|
2822
|
-
function to(time, withoutSuffix) {
|
|
2823
|
-
if (this.isValid() && (isMoment(time) && time.isValid() || createLocal(time).isValid())) {
|
|
2824
|
-
return createDuration({ from: this, to: time }).locale(this.locale()).humanize(!withoutSuffix);
|
|
2825
|
-
} else {
|
|
2826
|
-
return this.localeData().invalidDate();
|
|
2827
|
-
}
|
|
2828
|
-
}
|
|
2829
|
-
function toNow(withoutSuffix) {
|
|
2830
|
-
return this.to(createLocal(), withoutSuffix);
|
|
2831
|
-
}
|
|
2832
|
-
function locale(key) {
|
|
2833
|
-
var newLocaleData;
|
|
2834
|
-
if (key === void 0) {
|
|
2835
|
-
return this._locale._abbr;
|
|
2836
|
-
} else {
|
|
2837
|
-
newLocaleData = getLocale(key);
|
|
2838
|
-
if (newLocaleData != null) {
|
|
2839
|
-
this._locale = newLocaleData;
|
|
2840
|
-
}
|
|
2841
|
-
return this;
|
|
2842
|
-
}
|
|
2843
|
-
}
|
|
2844
|
-
var lang = deprecate(
|
|
2845
|
-
"moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",
|
|
2846
|
-
function(key) {
|
|
2847
|
-
if (key === void 0) {
|
|
2848
|
-
return this.localeData();
|
|
2849
|
-
} else {
|
|
2850
|
-
return this.locale(key);
|
|
2851
|
-
}
|
|
2852
|
-
}
|
|
2853
|
-
);
|
|
2854
|
-
function localeData() {
|
|
2855
|
-
return this._locale;
|
|
2856
|
-
}
|
|
2857
|
-
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;
|
|
2858
|
-
function mod$1(dividend, divisor) {
|
|
2859
|
-
return (dividend % divisor + divisor) % divisor;
|
|
2860
|
-
}
|
|
2861
|
-
function localStartOfDate(y, m, d) {
|
|
2862
|
-
if (y < 100 && y >= 0) {
|
|
2863
|
-
return new Date(y + 400, m, d) - MS_PER_400_YEARS;
|
|
2864
|
-
} else {
|
|
2865
|
-
return new Date(y, m, d).valueOf();
|
|
2866
|
-
}
|
|
2867
|
-
}
|
|
2868
|
-
function utcStartOfDate(y, m, d) {
|
|
2869
|
-
if (y < 100 && y >= 0) {
|
|
2870
|
-
return Date.UTC(y + 400, m, d) - MS_PER_400_YEARS;
|
|
2871
|
-
} else {
|
|
2872
|
-
return Date.UTC(y, m, d);
|
|
2873
|
-
}
|
|
2874
|
-
}
|
|
2875
|
-
function startOf(units) {
|
|
2876
|
-
var time, startOfDate;
|
|
2877
|
-
units = normalizeUnits(units);
|
|
2878
|
-
if (units === void 0 || units === "millisecond" || !this.isValid()) {
|
|
2879
|
-
return this;
|
|
2880
|
-
}
|
|
2881
|
-
startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;
|
|
2882
|
-
switch (units) {
|
|
2883
|
-
case "year":
|
|
2884
|
-
time = startOfDate(this.year(), 0, 1);
|
|
2885
|
-
break;
|
|
2886
|
-
case "quarter":
|
|
2887
|
-
time = startOfDate(
|
|
2888
|
-
this.year(),
|
|
2889
|
-
this.month() - this.month() % 3,
|
|
2890
|
-
1
|
|
2891
|
-
);
|
|
2892
|
-
break;
|
|
2893
|
-
case "month":
|
|
2894
|
-
time = startOfDate(this.year(), this.month(), 1);
|
|
2895
|
-
break;
|
|
2896
|
-
case "week":
|
|
2897
|
-
time = startOfDate(
|
|
2898
|
-
this.year(),
|
|
2899
|
-
this.month(),
|
|
2900
|
-
this.date() - this.weekday()
|
|
2901
|
-
);
|
|
2902
|
-
break;
|
|
2903
|
-
case "isoWeek":
|
|
2904
|
-
time = startOfDate(
|
|
2905
|
-
this.year(),
|
|
2906
|
-
this.month(),
|
|
2907
|
-
this.date() - (this.isoWeekday() - 1)
|
|
2908
|
-
);
|
|
2909
|
-
break;
|
|
2910
|
-
case "day":
|
|
2911
|
-
case "date":
|
|
2912
|
-
time = startOfDate(this.year(), this.month(), this.date());
|
|
2913
|
-
break;
|
|
2914
|
-
case "hour":
|
|
2915
|
-
time = this._d.valueOf();
|
|
2916
|
-
time -= mod$1(
|
|
2917
|
-
time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),
|
|
2918
|
-
MS_PER_HOUR
|
|
2919
|
-
);
|
|
2920
|
-
break;
|
|
2921
|
-
case "minute":
|
|
2922
|
-
time = this._d.valueOf();
|
|
2923
|
-
time -= mod$1(time, MS_PER_MINUTE);
|
|
2924
|
-
break;
|
|
2925
|
-
case "second":
|
|
2926
|
-
time = this._d.valueOf();
|
|
2927
|
-
time -= mod$1(time, MS_PER_SECOND);
|
|
2928
|
-
break;
|
|
2929
|
-
}
|
|
2930
|
-
this._d.setTime(time);
|
|
2931
|
-
hooks.updateOffset(this, true);
|
|
2932
|
-
return this;
|
|
2933
|
-
}
|
|
2934
|
-
function endOf(units) {
|
|
2935
|
-
var time, startOfDate;
|
|
2936
|
-
units = normalizeUnits(units);
|
|
2937
|
-
if (units === void 0 || units === "millisecond" || !this.isValid()) {
|
|
2938
|
-
return this;
|
|
2939
|
-
}
|
|
2940
|
-
startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;
|
|
2941
|
-
switch (units) {
|
|
2942
|
-
case "year":
|
|
2943
|
-
time = startOfDate(this.year() + 1, 0, 1) - 1;
|
|
2944
|
-
break;
|
|
2945
|
-
case "quarter":
|
|
2946
|
-
time = startOfDate(
|
|
2947
|
-
this.year(),
|
|
2948
|
-
this.month() - this.month() % 3 + 3,
|
|
2949
|
-
1
|
|
2950
|
-
) - 1;
|
|
2951
|
-
break;
|
|
2952
|
-
case "month":
|
|
2953
|
-
time = startOfDate(this.year(), this.month() + 1, 1) - 1;
|
|
2954
|
-
break;
|
|
2955
|
-
case "week":
|
|
2956
|
-
time = startOfDate(
|
|
2957
|
-
this.year(),
|
|
2958
|
-
this.month(),
|
|
2959
|
-
this.date() - this.weekday() + 7
|
|
2960
|
-
) - 1;
|
|
2961
|
-
break;
|
|
2962
|
-
case "isoWeek":
|
|
2963
|
-
time = startOfDate(
|
|
2964
|
-
this.year(),
|
|
2965
|
-
this.month(),
|
|
2966
|
-
this.date() - (this.isoWeekday() - 1) + 7
|
|
2967
|
-
) - 1;
|
|
2968
|
-
break;
|
|
2969
|
-
case "day":
|
|
2970
|
-
case "date":
|
|
2971
|
-
time = startOfDate(this.year(), this.month(), this.date() + 1) - 1;
|
|
2972
|
-
break;
|
|
2973
|
-
case "hour":
|
|
2974
|
-
time = this._d.valueOf();
|
|
2975
|
-
time += MS_PER_HOUR - mod$1(
|
|
2976
|
-
time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),
|
|
2977
|
-
MS_PER_HOUR
|
|
2978
|
-
) - 1;
|
|
2979
|
-
break;
|
|
2980
|
-
case "minute":
|
|
2981
|
-
time = this._d.valueOf();
|
|
2982
|
-
time += MS_PER_MINUTE - mod$1(time, MS_PER_MINUTE) - 1;
|
|
2983
|
-
break;
|
|
2984
|
-
case "second":
|
|
2985
|
-
time = this._d.valueOf();
|
|
2986
|
-
time += MS_PER_SECOND - mod$1(time, MS_PER_SECOND) - 1;
|
|
2987
|
-
break;
|
|
2988
|
-
}
|
|
2989
|
-
this._d.setTime(time);
|
|
2990
|
-
hooks.updateOffset(this, true);
|
|
2991
|
-
return this;
|
|
2992
|
-
}
|
|
2993
|
-
function valueOf() {
|
|
2994
|
-
return this._d.valueOf() - (this._offset || 0) * 6e4;
|
|
2995
|
-
}
|
|
2996
|
-
function unix() {
|
|
2997
|
-
return Math.floor(this.valueOf() / 1e3);
|
|
2998
|
-
}
|
|
2999
|
-
function toDate() {
|
|
3000
|
-
return new Date(this.valueOf());
|
|
3001
|
-
}
|
|
3002
|
-
function toArray() {
|
|
3003
|
-
var m = this;
|
|
3004
|
-
return [
|
|
3005
|
-
m.year(),
|
|
3006
|
-
m.month(),
|
|
3007
|
-
m.date(),
|
|
3008
|
-
m.hour(),
|
|
3009
|
-
m.minute(),
|
|
3010
|
-
m.second(),
|
|
3011
|
-
m.millisecond()
|
|
3012
|
-
];
|
|
3013
|
-
}
|
|
3014
|
-
function toObject() {
|
|
3015
|
-
var m = this;
|
|
3016
|
-
return {
|
|
3017
|
-
years: m.year(),
|
|
3018
|
-
months: m.month(),
|
|
3019
|
-
date: m.date(),
|
|
3020
|
-
hours: m.hours(),
|
|
3021
|
-
minutes: m.minutes(),
|
|
3022
|
-
seconds: m.seconds(),
|
|
3023
|
-
milliseconds: m.milliseconds()
|
|
3024
|
-
};
|
|
3025
|
-
}
|
|
3026
|
-
function toJSON() {
|
|
3027
|
-
return this.isValid() ? this.toISOString() : null;
|
|
3028
|
-
}
|
|
3029
|
-
function isValid$2() {
|
|
3030
|
-
return isValid(this);
|
|
3031
|
-
}
|
|
3032
|
-
function parsingFlags() {
|
|
3033
|
-
return extend({}, getParsingFlags(this));
|
|
3034
|
-
}
|
|
3035
|
-
function invalidAt() {
|
|
3036
|
-
return getParsingFlags(this).overflow;
|
|
3037
|
-
}
|
|
3038
|
-
function creationData() {
|
|
3039
|
-
return {
|
|
3040
|
-
input: this._i,
|
|
3041
|
-
format: this._f,
|
|
3042
|
-
locale: this._locale,
|
|
3043
|
-
isUTC: this._isUTC,
|
|
3044
|
-
strict: this._strict
|
|
3045
|
-
};
|
|
3046
|
-
}
|
|
3047
|
-
addFormatToken("N", 0, 0, "eraAbbr");
|
|
3048
|
-
addFormatToken("NN", 0, 0, "eraAbbr");
|
|
3049
|
-
addFormatToken("NNN", 0, 0, "eraAbbr");
|
|
3050
|
-
addFormatToken("NNNN", 0, 0, "eraName");
|
|
3051
|
-
addFormatToken("NNNNN", 0, 0, "eraNarrow");
|
|
3052
|
-
addFormatToken("y", ["y", 1], "yo", "eraYear");
|
|
3053
|
-
addFormatToken("y", ["yy", 2], 0, "eraYear");
|
|
3054
|
-
addFormatToken("y", ["yyy", 3], 0, "eraYear");
|
|
3055
|
-
addFormatToken("y", ["yyyy", 4], 0, "eraYear");
|
|
3056
|
-
addRegexToken("N", matchEraAbbr);
|
|
3057
|
-
addRegexToken("NN", matchEraAbbr);
|
|
3058
|
-
addRegexToken("NNN", matchEraAbbr);
|
|
3059
|
-
addRegexToken("NNNN", matchEraName);
|
|
3060
|
-
addRegexToken("NNNNN", matchEraNarrow);
|
|
3061
|
-
addParseToken(
|
|
3062
|
-
["N", "NN", "NNN", "NNNN", "NNNNN"],
|
|
3063
|
-
function(input, array, config, token2) {
|
|
3064
|
-
var era = config._locale.erasParse(input, token2, config._strict);
|
|
3065
|
-
if (era) {
|
|
3066
|
-
getParsingFlags(config).era = era;
|
|
3067
|
-
} else {
|
|
3068
|
-
getParsingFlags(config).invalidEra = input;
|
|
3069
|
-
}
|
|
3070
|
-
}
|
|
3071
|
-
);
|
|
3072
|
-
addRegexToken("y", matchUnsigned);
|
|
3073
|
-
addRegexToken("yy", matchUnsigned);
|
|
3074
|
-
addRegexToken("yyy", matchUnsigned);
|
|
3075
|
-
addRegexToken("yyyy", matchUnsigned);
|
|
3076
|
-
addRegexToken("yo", matchEraYearOrdinal);
|
|
3077
|
-
addParseToken(["y", "yy", "yyy", "yyyy"], YEAR);
|
|
3078
|
-
addParseToken(["yo"], function(input, array, config, token2) {
|
|
3079
|
-
var match;
|
|
3080
|
-
if (config._locale._eraYearOrdinalRegex) {
|
|
3081
|
-
match = input.match(config._locale._eraYearOrdinalRegex);
|
|
3082
|
-
}
|
|
3083
|
-
if (config._locale.eraYearOrdinalParse) {
|
|
3084
|
-
array[YEAR] = config._locale.eraYearOrdinalParse(input, match);
|
|
3085
|
-
} else {
|
|
3086
|
-
array[YEAR] = parseInt(input, 10);
|
|
3087
|
-
}
|
|
3088
|
-
});
|
|
3089
|
-
function localeEras(m, format2) {
|
|
3090
|
-
var i, l, date, eras = this._eras || getLocale("en")._eras;
|
|
3091
|
-
for (i = 0, l = eras.length; i < l; ++i) {
|
|
3092
|
-
switch (typeof eras[i].since) {
|
|
3093
|
-
case "string":
|
|
3094
|
-
date = hooks(eras[i].since).startOf("day");
|
|
3095
|
-
eras[i].since = date.valueOf();
|
|
3096
|
-
break;
|
|
3097
|
-
}
|
|
3098
|
-
switch (typeof eras[i].until) {
|
|
3099
|
-
case "undefined":
|
|
3100
|
-
eras[i].until = Infinity;
|
|
3101
|
-
break;
|
|
3102
|
-
case "string":
|
|
3103
|
-
date = hooks(eras[i].until).startOf("day").valueOf();
|
|
3104
|
-
eras[i].until = date.valueOf();
|
|
3105
|
-
break;
|
|
3106
|
-
}
|
|
3107
|
-
}
|
|
3108
|
-
return eras;
|
|
3109
|
-
}
|
|
3110
|
-
function localeErasParse(eraName, format2, strict) {
|
|
3111
|
-
var i, l, eras = this.eras(), name, abbr, narrow;
|
|
3112
|
-
eraName = eraName.toUpperCase();
|
|
3113
|
-
for (i = 0, l = eras.length; i < l; ++i) {
|
|
3114
|
-
name = eras[i].name.toUpperCase();
|
|
3115
|
-
abbr = eras[i].abbr.toUpperCase();
|
|
3116
|
-
narrow = eras[i].narrow.toUpperCase();
|
|
3117
|
-
if (strict) {
|
|
3118
|
-
switch (format2) {
|
|
3119
|
-
case "N":
|
|
3120
|
-
case "NN":
|
|
3121
|
-
case "NNN":
|
|
3122
|
-
if (abbr === eraName) {
|
|
3123
|
-
return eras[i];
|
|
3124
|
-
}
|
|
3125
|
-
break;
|
|
3126
|
-
case "NNNN":
|
|
3127
|
-
if (name === eraName) {
|
|
3128
|
-
return eras[i];
|
|
3129
|
-
}
|
|
3130
|
-
break;
|
|
3131
|
-
case "NNNNN":
|
|
3132
|
-
if (narrow === eraName) {
|
|
3133
|
-
return eras[i];
|
|
3134
|
-
}
|
|
3135
|
-
break;
|
|
3136
|
-
}
|
|
3137
|
-
} else if ([name, abbr, narrow].indexOf(eraName) >= 0) {
|
|
3138
|
-
return eras[i];
|
|
3139
|
-
}
|
|
3140
|
-
}
|
|
3141
|
-
}
|
|
3142
|
-
function localeErasConvertYear(era, year) {
|
|
3143
|
-
var dir = era.since <= era.until ? 1 : -1;
|
|
3144
|
-
if (year === void 0) {
|
|
3145
|
-
return hooks(era.since).year();
|
|
3146
|
-
} else {
|
|
3147
|
-
return hooks(era.since).year() + (year - era.offset) * dir;
|
|
3148
|
-
}
|
|
3149
|
-
}
|
|
3150
|
-
function getEraName() {
|
|
3151
|
-
var i, l, val, eras = this.localeData().eras();
|
|
3152
|
-
for (i = 0, l = eras.length; i < l; ++i) {
|
|
3153
|
-
val = this.clone().startOf("day").valueOf();
|
|
3154
|
-
if (eras[i].since <= val && val <= eras[i].until) {
|
|
3155
|
-
return eras[i].name;
|
|
3156
|
-
}
|
|
3157
|
-
if (eras[i].until <= val && val <= eras[i].since) {
|
|
3158
|
-
return eras[i].name;
|
|
3159
|
-
}
|
|
3160
|
-
}
|
|
3161
|
-
return "";
|
|
3162
|
-
}
|
|
3163
|
-
function getEraNarrow() {
|
|
3164
|
-
var i, l, val, eras = this.localeData().eras();
|
|
3165
|
-
for (i = 0, l = eras.length; i < l; ++i) {
|
|
3166
|
-
val = this.clone().startOf("day").valueOf();
|
|
3167
|
-
if (eras[i].since <= val && val <= eras[i].until) {
|
|
3168
|
-
return eras[i].narrow;
|
|
3169
|
-
}
|
|
3170
|
-
if (eras[i].until <= val && val <= eras[i].since) {
|
|
3171
|
-
return eras[i].narrow;
|
|
3172
|
-
}
|
|
3173
|
-
}
|
|
3174
|
-
return "";
|
|
3175
|
-
}
|
|
3176
|
-
function getEraAbbr() {
|
|
3177
|
-
var i, l, val, eras = this.localeData().eras();
|
|
3178
|
-
for (i = 0, l = eras.length; i < l; ++i) {
|
|
3179
|
-
val = this.clone().startOf("day").valueOf();
|
|
3180
|
-
if (eras[i].since <= val && val <= eras[i].until) {
|
|
3181
|
-
return eras[i].abbr;
|
|
3182
|
-
}
|
|
3183
|
-
if (eras[i].until <= val && val <= eras[i].since) {
|
|
3184
|
-
return eras[i].abbr;
|
|
3185
|
-
}
|
|
3186
|
-
}
|
|
3187
|
-
return "";
|
|
3188
|
-
}
|
|
3189
|
-
function getEraYear() {
|
|
3190
|
-
var i, l, dir, val, eras = this.localeData().eras();
|
|
3191
|
-
for (i = 0, l = eras.length; i < l; ++i) {
|
|
3192
|
-
dir = eras[i].since <= eras[i].until ? 1 : -1;
|
|
3193
|
-
val = this.clone().startOf("day").valueOf();
|
|
3194
|
-
if (eras[i].since <= val && val <= eras[i].until || eras[i].until <= val && val <= eras[i].since) {
|
|
3195
|
-
return (this.year() - hooks(eras[i].since).year()) * dir + eras[i].offset;
|
|
3196
|
-
}
|
|
3197
|
-
}
|
|
3198
|
-
return this.year();
|
|
3199
|
-
}
|
|
3200
|
-
function erasNameRegex(isStrict) {
|
|
3201
|
-
if (!hasOwnProp(this, "_erasNameRegex")) {
|
|
3202
|
-
computeErasParse.call(this);
|
|
3203
|
-
}
|
|
3204
|
-
return isStrict ? this._erasNameRegex : this._erasRegex;
|
|
3205
|
-
}
|
|
3206
|
-
function erasAbbrRegex(isStrict) {
|
|
3207
|
-
if (!hasOwnProp(this, "_erasAbbrRegex")) {
|
|
3208
|
-
computeErasParse.call(this);
|
|
3209
|
-
}
|
|
3210
|
-
return isStrict ? this._erasAbbrRegex : this._erasRegex;
|
|
3211
|
-
}
|
|
3212
|
-
function erasNarrowRegex(isStrict) {
|
|
3213
|
-
if (!hasOwnProp(this, "_erasNarrowRegex")) {
|
|
3214
|
-
computeErasParse.call(this);
|
|
3215
|
-
}
|
|
3216
|
-
return isStrict ? this._erasNarrowRegex : this._erasRegex;
|
|
3217
|
-
}
|
|
3218
|
-
function matchEraAbbr(isStrict, locale2) {
|
|
3219
|
-
return locale2.erasAbbrRegex(isStrict);
|
|
3220
|
-
}
|
|
3221
|
-
function matchEraName(isStrict, locale2) {
|
|
3222
|
-
return locale2.erasNameRegex(isStrict);
|
|
3223
|
-
}
|
|
3224
|
-
function matchEraNarrow(isStrict, locale2) {
|
|
3225
|
-
return locale2.erasNarrowRegex(isStrict);
|
|
3226
|
-
}
|
|
3227
|
-
function matchEraYearOrdinal(isStrict, locale2) {
|
|
3228
|
-
return locale2._eraYearOrdinalRegex || matchUnsigned;
|
|
3229
|
-
}
|
|
3230
|
-
function computeErasParse() {
|
|
3231
|
-
var abbrPieces = [], namePieces = [], narrowPieces = [], mixedPieces = [], i, l, erasName, erasAbbr, erasNarrow, eras = this.eras();
|
|
3232
|
-
for (i = 0, l = eras.length; i < l; ++i) {
|
|
3233
|
-
erasName = regexEscape(eras[i].name);
|
|
3234
|
-
erasAbbr = regexEscape(eras[i].abbr);
|
|
3235
|
-
erasNarrow = regexEscape(eras[i].narrow);
|
|
3236
|
-
namePieces.push(erasName);
|
|
3237
|
-
abbrPieces.push(erasAbbr);
|
|
3238
|
-
narrowPieces.push(erasNarrow);
|
|
3239
|
-
mixedPieces.push(erasName);
|
|
3240
|
-
mixedPieces.push(erasAbbr);
|
|
3241
|
-
mixedPieces.push(erasNarrow);
|
|
3242
|
-
}
|
|
3243
|
-
this._erasRegex = new RegExp("^(" + mixedPieces.join("|") + ")", "i");
|
|
3244
|
-
this._erasNameRegex = new RegExp("^(" + namePieces.join("|") + ")", "i");
|
|
3245
|
-
this._erasAbbrRegex = new RegExp("^(" + abbrPieces.join("|") + ")", "i");
|
|
3246
|
-
this._erasNarrowRegex = new RegExp(
|
|
3247
|
-
"^(" + narrowPieces.join("|") + ")",
|
|
3248
|
-
"i"
|
|
3249
|
-
);
|
|
3250
|
-
}
|
|
3251
|
-
addFormatToken(0, ["gg", 2], 0, function() {
|
|
3252
|
-
return this.weekYear() % 100;
|
|
3253
|
-
});
|
|
3254
|
-
addFormatToken(0, ["GG", 2], 0, function() {
|
|
3255
|
-
return this.isoWeekYear() % 100;
|
|
3256
|
-
});
|
|
3257
|
-
function addWeekYearFormatToken(token2, getter) {
|
|
3258
|
-
addFormatToken(0, [token2, token2.length], 0, getter);
|
|
3259
|
-
}
|
|
3260
|
-
addWeekYearFormatToken("gggg", "weekYear");
|
|
3261
|
-
addWeekYearFormatToken("ggggg", "weekYear");
|
|
3262
|
-
addWeekYearFormatToken("GGGG", "isoWeekYear");
|
|
3263
|
-
addWeekYearFormatToken("GGGGG", "isoWeekYear");
|
|
3264
|
-
addRegexToken("G", matchSigned);
|
|
3265
|
-
addRegexToken("g", matchSigned);
|
|
3266
|
-
addRegexToken("GG", match1to2, match2);
|
|
3267
|
-
addRegexToken("gg", match1to2, match2);
|
|
3268
|
-
addRegexToken("GGGG", match1to4, match4);
|
|
3269
|
-
addRegexToken("gggg", match1to4, match4);
|
|
3270
|
-
addRegexToken("GGGGG", match1to6, match6);
|
|
3271
|
-
addRegexToken("ggggg", match1to6, match6);
|
|
3272
|
-
addWeekParseToken(
|
|
3273
|
-
["gggg", "ggggg", "GGGG", "GGGGG"],
|
|
3274
|
-
function(input, week, config, token2) {
|
|
3275
|
-
week[token2.substr(0, 2)] = toInt(input);
|
|
3276
|
-
}
|
|
3277
|
-
);
|
|
3278
|
-
addWeekParseToken(["gg", "GG"], function(input, week, config, token2) {
|
|
3279
|
-
week[token2] = hooks.parseTwoDigitYear(input);
|
|
3280
|
-
});
|
|
3281
|
-
function getSetWeekYear(input) {
|
|
3282
|
-
return getSetWeekYearHelper.call(
|
|
3283
|
-
this,
|
|
3284
|
-
input,
|
|
3285
|
-
this.week(),
|
|
3286
|
-
this.weekday() + this.localeData()._week.dow,
|
|
3287
|
-
this.localeData()._week.dow,
|
|
3288
|
-
this.localeData()._week.doy
|
|
3289
|
-
);
|
|
3290
|
-
}
|
|
3291
|
-
function getSetISOWeekYear(input) {
|
|
3292
|
-
return getSetWeekYearHelper.call(
|
|
3293
|
-
this,
|
|
3294
|
-
input,
|
|
3295
|
-
this.isoWeek(),
|
|
3296
|
-
this.isoWeekday(),
|
|
3297
|
-
1,
|
|
3298
|
-
4
|
|
3299
|
-
);
|
|
3300
|
-
}
|
|
3301
|
-
function getISOWeeksInYear() {
|
|
3302
|
-
return weeksInYear(this.year(), 1, 4);
|
|
3303
|
-
}
|
|
3304
|
-
function getISOWeeksInISOWeekYear() {
|
|
3305
|
-
return weeksInYear(this.isoWeekYear(), 1, 4);
|
|
3306
|
-
}
|
|
3307
|
-
function getWeeksInYear() {
|
|
3308
|
-
var weekInfo = this.localeData()._week;
|
|
3309
|
-
return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy);
|
|
3310
|
-
}
|
|
3311
|
-
function getWeeksInWeekYear() {
|
|
3312
|
-
var weekInfo = this.localeData()._week;
|
|
3313
|
-
return weeksInYear(this.weekYear(), weekInfo.dow, weekInfo.doy);
|
|
3314
|
-
}
|
|
3315
|
-
function getSetWeekYearHelper(input, week, weekday, dow, doy) {
|
|
3316
|
-
var weeksTarget;
|
|
3317
|
-
if (input == null) {
|
|
3318
|
-
return weekOfYear(this, dow, doy).year;
|
|
3319
|
-
} else {
|
|
3320
|
-
weeksTarget = weeksInYear(input, dow, doy);
|
|
3321
|
-
if (week > weeksTarget) {
|
|
3322
|
-
week = weeksTarget;
|
|
3323
|
-
}
|
|
3324
|
-
return setWeekAll.call(this, input, week, weekday, dow, doy);
|
|
3325
|
-
}
|
|
3326
|
-
}
|
|
3327
|
-
function setWeekAll(weekYear, week, weekday, dow, doy) {
|
|
3328
|
-
var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy), date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear);
|
|
3329
|
-
this.year(date.getUTCFullYear());
|
|
3330
|
-
this.month(date.getUTCMonth());
|
|
3331
|
-
this.date(date.getUTCDate());
|
|
3332
|
-
return this;
|
|
3333
|
-
}
|
|
3334
|
-
addFormatToken("Q", 0, "Qo", "quarter");
|
|
3335
|
-
addRegexToken("Q", match1);
|
|
3336
|
-
addParseToken("Q", function(input, array) {
|
|
3337
|
-
array[MONTH] = (toInt(input) - 1) * 3;
|
|
3338
|
-
});
|
|
3339
|
-
function getSetQuarter(input) {
|
|
3340
|
-
return input == null ? Math.ceil((this.month() + 1) / 3) : this.month((input - 1) * 3 + this.month() % 3);
|
|
3341
|
-
}
|
|
3342
|
-
addFormatToken("D", ["DD", 2], "Do", "date");
|
|
3343
|
-
addRegexToken("D", match1to2, match1to2NoLeadingZero);
|
|
3344
|
-
addRegexToken("DD", match1to2, match2);
|
|
3345
|
-
addRegexToken("Do", function(isStrict, locale2) {
|
|
3346
|
-
return isStrict ? locale2._dayOfMonthOrdinalParse || locale2._ordinalParse : locale2._dayOfMonthOrdinalParseLenient;
|
|
3347
|
-
});
|
|
3348
|
-
addParseToken(["D", "DD"], DATE);
|
|
3349
|
-
addParseToken("Do", function(input, array) {
|
|
3350
|
-
array[DATE] = toInt(input.match(match1to2)[0]);
|
|
3351
|
-
});
|
|
3352
|
-
var getSetDayOfMonth = makeGetSet("Date", true);
|
|
3353
|
-
addFormatToken("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
|
|
3354
|
-
addRegexToken("DDD", match1to3);
|
|
3355
|
-
addRegexToken("DDDD", match3);
|
|
3356
|
-
addParseToken(["DDD", "DDDD"], function(input, array, config) {
|
|
3357
|
-
config._dayOfYear = toInt(input);
|
|
3358
|
-
});
|
|
3359
|
-
function getSetDayOfYear(input) {
|
|
3360
|
-
var dayOfYear = Math.round(
|
|
3361
|
-
(this.clone().startOf("day") - this.clone().startOf("year")) / 864e5
|
|
3362
|
-
) + 1;
|
|
3363
|
-
return input == null ? dayOfYear : this.add(input - dayOfYear, "d");
|
|
3364
|
-
}
|
|
3365
|
-
addFormatToken("m", ["mm", 2], 0, "minute");
|
|
3366
|
-
addRegexToken("m", match1to2, match1to2HasZero);
|
|
3367
|
-
addRegexToken("mm", match1to2, match2);
|
|
3368
|
-
addParseToken(["m", "mm"], MINUTE);
|
|
3369
|
-
var getSetMinute = makeGetSet("Minutes", false);
|
|
3370
|
-
addFormatToken("s", ["ss", 2], 0, "second");
|
|
3371
|
-
addRegexToken("s", match1to2, match1to2HasZero);
|
|
3372
|
-
addRegexToken("ss", match1to2, match2);
|
|
3373
|
-
addParseToken(["s", "ss"], SECOND);
|
|
3374
|
-
var getSetSecond = makeGetSet("Seconds", false);
|
|
3375
|
-
addFormatToken("S", 0, 0, function() {
|
|
3376
|
-
return ~~(this.millisecond() / 100);
|
|
3377
|
-
});
|
|
3378
|
-
addFormatToken(0, ["SS", 2], 0, function() {
|
|
3379
|
-
return ~~(this.millisecond() / 10);
|
|
3380
|
-
});
|
|
3381
|
-
addFormatToken(0, ["SSS", 3], 0, "millisecond");
|
|
3382
|
-
addFormatToken(0, ["SSSS", 4], 0, function() {
|
|
3383
|
-
return this.millisecond() * 10;
|
|
3384
|
-
});
|
|
3385
|
-
addFormatToken(0, ["SSSSS", 5], 0, function() {
|
|
3386
|
-
return this.millisecond() * 100;
|
|
3387
|
-
});
|
|
3388
|
-
addFormatToken(0, ["SSSSSS", 6], 0, function() {
|
|
3389
|
-
return this.millisecond() * 1e3;
|
|
3390
|
-
});
|
|
3391
|
-
addFormatToken(0, ["SSSSSSS", 7], 0, function() {
|
|
3392
|
-
return this.millisecond() * 1e4;
|
|
3393
|
-
});
|
|
3394
|
-
addFormatToken(0, ["SSSSSSSS", 8], 0, function() {
|
|
3395
|
-
return this.millisecond() * 1e5;
|
|
3396
|
-
});
|
|
3397
|
-
addFormatToken(0, ["SSSSSSSSS", 9], 0, function() {
|
|
3398
|
-
return this.millisecond() * 1e6;
|
|
3399
|
-
});
|
|
3400
|
-
addRegexToken("S", match1to3, match1);
|
|
3401
|
-
addRegexToken("SS", match1to3, match2);
|
|
3402
|
-
addRegexToken("SSS", match1to3, match3);
|
|
3403
|
-
var token, getSetMillisecond;
|
|
3404
|
-
for (token = "SSSS"; token.length <= 9; token += "S") {
|
|
3405
|
-
addRegexToken(token, matchUnsigned);
|
|
3406
|
-
}
|
|
3407
|
-
function parseMs(input, array) {
|
|
3408
|
-
array[MILLISECOND] = toInt(("0." + input) * 1e3);
|
|
3409
|
-
}
|
|
3410
|
-
for (token = "S"; token.length <= 9; token += "S") {
|
|
3411
|
-
addParseToken(token, parseMs);
|
|
3412
|
-
}
|
|
3413
|
-
getSetMillisecond = makeGetSet("Milliseconds", false);
|
|
3414
|
-
addFormatToken("z", 0, 0, "zoneAbbr");
|
|
3415
|
-
addFormatToken("zz", 0, 0, "zoneName");
|
|
3416
|
-
function getZoneAbbr() {
|
|
3417
|
-
return this._isUTC ? "UTC" : "";
|
|
3418
|
-
}
|
|
3419
|
-
function getZoneName() {
|
|
3420
|
-
return this._isUTC ? "Coordinated Universal Time" : "";
|
|
3421
|
-
}
|
|
3422
|
-
var proto = Moment.prototype;
|
|
3423
|
-
proto.add = add;
|
|
3424
|
-
proto.calendar = calendar$1;
|
|
3425
|
-
proto.clone = clone;
|
|
3426
|
-
proto.diff = diff;
|
|
3427
|
-
proto.endOf = endOf;
|
|
3428
|
-
proto.format = format;
|
|
3429
|
-
proto.from = from;
|
|
3430
|
-
proto.fromNow = fromNow;
|
|
3431
|
-
proto.to = to;
|
|
3432
|
-
proto.toNow = toNow;
|
|
3433
|
-
proto.get = stringGet;
|
|
3434
|
-
proto.invalidAt = invalidAt;
|
|
3435
|
-
proto.isAfter = isAfter;
|
|
3436
|
-
proto.isBefore = isBefore;
|
|
3437
|
-
proto.isBetween = isBetween;
|
|
3438
|
-
proto.isSame = isSame;
|
|
3439
|
-
proto.isSameOrAfter = isSameOrAfter;
|
|
3440
|
-
proto.isSameOrBefore = isSameOrBefore;
|
|
3441
|
-
proto.isValid = isValid$2;
|
|
3442
|
-
proto.lang = lang;
|
|
3443
|
-
proto.locale = locale;
|
|
3444
|
-
proto.localeData = localeData;
|
|
3445
|
-
proto.max = prototypeMax;
|
|
3446
|
-
proto.min = prototypeMin;
|
|
3447
|
-
proto.parsingFlags = parsingFlags;
|
|
3448
|
-
proto.set = stringSet;
|
|
3449
|
-
proto.startOf = startOf;
|
|
3450
|
-
proto.subtract = subtract;
|
|
3451
|
-
proto.toArray = toArray;
|
|
3452
|
-
proto.toObject = toObject;
|
|
3453
|
-
proto.toDate = toDate;
|
|
3454
|
-
proto.toISOString = toISOString;
|
|
3455
|
-
proto.inspect = inspect;
|
|
3456
|
-
if (typeof Symbol !== "undefined" && Symbol.for != null) {
|
|
3457
|
-
proto[Symbol.for("nodejs.util.inspect.custom")] = function() {
|
|
3458
|
-
return "Moment<" + this.format() + ">";
|
|
3459
|
-
};
|
|
3460
|
-
}
|
|
3461
|
-
proto.toJSON = toJSON;
|
|
3462
|
-
proto.toString = toString;
|
|
3463
|
-
proto.unix = unix;
|
|
3464
|
-
proto.valueOf = valueOf;
|
|
3465
|
-
proto.creationData = creationData;
|
|
3466
|
-
proto.eraName = getEraName;
|
|
3467
|
-
proto.eraNarrow = getEraNarrow;
|
|
3468
|
-
proto.eraAbbr = getEraAbbr;
|
|
3469
|
-
proto.eraYear = getEraYear;
|
|
3470
|
-
proto.year = getSetYear;
|
|
3471
|
-
proto.isLeapYear = getIsLeapYear;
|
|
3472
|
-
proto.weekYear = getSetWeekYear;
|
|
3473
|
-
proto.isoWeekYear = getSetISOWeekYear;
|
|
3474
|
-
proto.quarter = proto.quarters = getSetQuarter;
|
|
3475
|
-
proto.month = getSetMonth;
|
|
3476
|
-
proto.daysInMonth = getDaysInMonth;
|
|
3477
|
-
proto.week = proto.weeks = getSetWeek;
|
|
3478
|
-
proto.isoWeek = proto.isoWeeks = getSetISOWeek;
|
|
3479
|
-
proto.weeksInYear = getWeeksInYear;
|
|
3480
|
-
proto.weeksInWeekYear = getWeeksInWeekYear;
|
|
3481
|
-
proto.isoWeeksInYear = getISOWeeksInYear;
|
|
3482
|
-
proto.isoWeeksInISOWeekYear = getISOWeeksInISOWeekYear;
|
|
3483
|
-
proto.date = getSetDayOfMonth;
|
|
3484
|
-
proto.day = proto.days = getSetDayOfWeek;
|
|
3485
|
-
proto.weekday = getSetLocaleDayOfWeek;
|
|
3486
|
-
proto.isoWeekday = getSetISODayOfWeek;
|
|
3487
|
-
proto.dayOfYear = getSetDayOfYear;
|
|
3488
|
-
proto.hour = proto.hours = getSetHour;
|
|
3489
|
-
proto.minute = proto.minutes = getSetMinute;
|
|
3490
|
-
proto.second = proto.seconds = getSetSecond;
|
|
3491
|
-
proto.millisecond = proto.milliseconds = getSetMillisecond;
|
|
3492
|
-
proto.utcOffset = getSetOffset;
|
|
3493
|
-
proto.utc = setOffsetToUTC;
|
|
3494
|
-
proto.local = setOffsetToLocal;
|
|
3495
|
-
proto.parseZone = setOffsetToParsedOffset;
|
|
3496
|
-
proto.hasAlignedHourOffset = hasAlignedHourOffset;
|
|
3497
|
-
proto.isDST = isDaylightSavingTime;
|
|
3498
|
-
proto.isLocal = isLocal;
|
|
3499
|
-
proto.isUtcOffset = isUtcOffset;
|
|
3500
|
-
proto.isUtc = isUtc;
|
|
3501
|
-
proto.isUTC = isUtc;
|
|
3502
|
-
proto.zoneAbbr = getZoneAbbr;
|
|
3503
|
-
proto.zoneName = getZoneName;
|
|
3504
|
-
proto.dates = deprecate(
|
|
3505
|
-
"dates accessor is deprecated. Use date instead.",
|
|
3506
|
-
getSetDayOfMonth
|
|
3507
|
-
);
|
|
3508
|
-
proto.months = deprecate(
|
|
3509
|
-
"months accessor is deprecated. Use month instead",
|
|
3510
|
-
getSetMonth
|
|
3511
|
-
);
|
|
3512
|
-
proto.years = deprecate(
|
|
3513
|
-
"years accessor is deprecated. Use year instead",
|
|
3514
|
-
getSetYear
|
|
3515
|
-
);
|
|
3516
|
-
proto.zone = deprecate(
|
|
3517
|
-
"moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
|
|
3518
|
-
getSetZone
|
|
3519
|
-
);
|
|
3520
|
-
proto.isDSTShifted = deprecate(
|
|
3521
|
-
"isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
|
|
3522
|
-
isDaylightSavingTimeShifted
|
|
3523
|
-
);
|
|
3524
|
-
function createUnix(input) {
|
|
3525
|
-
return createLocal(input * 1e3);
|
|
3526
|
-
}
|
|
3527
|
-
function createInZone() {
|
|
3528
|
-
return createLocal.apply(null, arguments).parseZone();
|
|
3529
|
-
}
|
|
3530
|
-
function preParsePostFormat(string) {
|
|
3531
|
-
return string;
|
|
3532
|
-
}
|
|
3533
|
-
var proto$1 = Locale.prototype;
|
|
3534
|
-
proto$1.calendar = calendar;
|
|
3535
|
-
proto$1.longDateFormat = longDateFormat;
|
|
3536
|
-
proto$1.invalidDate = invalidDate;
|
|
3537
|
-
proto$1.ordinal = ordinal;
|
|
3538
|
-
proto$1.preparse = preParsePostFormat;
|
|
3539
|
-
proto$1.postformat = preParsePostFormat;
|
|
3540
|
-
proto$1.relativeTime = relativeTime;
|
|
3541
|
-
proto$1.pastFuture = pastFuture;
|
|
3542
|
-
proto$1.set = set;
|
|
3543
|
-
proto$1.eras = localeEras;
|
|
3544
|
-
proto$1.erasParse = localeErasParse;
|
|
3545
|
-
proto$1.erasConvertYear = localeErasConvertYear;
|
|
3546
|
-
proto$1.erasAbbrRegex = erasAbbrRegex;
|
|
3547
|
-
proto$1.erasNameRegex = erasNameRegex;
|
|
3548
|
-
proto$1.erasNarrowRegex = erasNarrowRegex;
|
|
3549
|
-
proto$1.months = localeMonths;
|
|
3550
|
-
proto$1.monthsShort = localeMonthsShort;
|
|
3551
|
-
proto$1.monthsParse = localeMonthsParse;
|
|
3552
|
-
proto$1.monthsRegex = monthsRegex;
|
|
3553
|
-
proto$1.monthsShortRegex = monthsShortRegex;
|
|
3554
|
-
proto$1.week = localeWeek;
|
|
3555
|
-
proto$1.firstDayOfYear = localeFirstDayOfYear;
|
|
3556
|
-
proto$1.firstDayOfWeek = localeFirstDayOfWeek;
|
|
3557
|
-
proto$1.weekdays = localeWeekdays;
|
|
3558
|
-
proto$1.weekdaysMin = localeWeekdaysMin;
|
|
3559
|
-
proto$1.weekdaysShort = localeWeekdaysShort;
|
|
3560
|
-
proto$1.weekdaysParse = localeWeekdaysParse;
|
|
3561
|
-
proto$1.weekdaysRegex = weekdaysRegex;
|
|
3562
|
-
proto$1.weekdaysShortRegex = weekdaysShortRegex;
|
|
3563
|
-
proto$1.weekdaysMinRegex = weekdaysMinRegex;
|
|
3564
|
-
proto$1.isPM = localeIsPM;
|
|
3565
|
-
proto$1.meridiem = localeMeridiem;
|
|
3566
|
-
function get$1(format2, index, field, setter) {
|
|
3567
|
-
var locale2 = getLocale(), utc = createUTC().set(setter, index);
|
|
3568
|
-
return locale2[field](utc, format2);
|
|
3569
|
-
}
|
|
3570
|
-
function listMonthsImpl(format2, index, field) {
|
|
3571
|
-
if (isNumber(format2)) {
|
|
3572
|
-
index = format2;
|
|
3573
|
-
format2 = void 0;
|
|
3574
|
-
}
|
|
3575
|
-
format2 = format2 || "";
|
|
3576
|
-
if (index != null) {
|
|
3577
|
-
return get$1(format2, index, field, "month");
|
|
3578
|
-
}
|
|
3579
|
-
var i, out = [];
|
|
3580
|
-
for (i = 0; i < 12; i++) {
|
|
3581
|
-
out[i] = get$1(format2, i, field, "month");
|
|
3582
|
-
}
|
|
3583
|
-
return out;
|
|
3584
|
-
}
|
|
3585
|
-
function listWeekdaysImpl(localeSorted, format2, index, field) {
|
|
3586
|
-
if (typeof localeSorted === "boolean") {
|
|
3587
|
-
if (isNumber(format2)) {
|
|
3588
|
-
index = format2;
|
|
3589
|
-
format2 = void 0;
|
|
3590
|
-
}
|
|
3591
|
-
format2 = format2 || "";
|
|
3592
|
-
} else {
|
|
3593
|
-
format2 = localeSorted;
|
|
3594
|
-
index = format2;
|
|
3595
|
-
localeSorted = false;
|
|
3596
|
-
if (isNumber(format2)) {
|
|
3597
|
-
index = format2;
|
|
3598
|
-
format2 = void 0;
|
|
3599
|
-
}
|
|
3600
|
-
format2 = format2 || "";
|
|
3601
|
-
}
|
|
3602
|
-
var locale2 = getLocale(), shift = localeSorted ? locale2._week.dow : 0, i, out = [];
|
|
3603
|
-
if (index != null) {
|
|
3604
|
-
return get$1(format2, (index + shift) % 7, field, "day");
|
|
3605
|
-
}
|
|
3606
|
-
for (i = 0; i < 7; i++) {
|
|
3607
|
-
out[i] = get$1(format2, (i + shift) % 7, field, "day");
|
|
3608
|
-
}
|
|
3609
|
-
return out;
|
|
3610
|
-
}
|
|
3611
|
-
function listMonths(format2, index) {
|
|
3612
|
-
return listMonthsImpl(format2, index, "months");
|
|
3613
|
-
}
|
|
3614
|
-
function listMonthsShort(format2, index) {
|
|
3615
|
-
return listMonthsImpl(format2, index, "monthsShort");
|
|
3616
|
-
}
|
|
3617
|
-
function listWeekdays(localeSorted, format2, index) {
|
|
3618
|
-
return listWeekdaysImpl(localeSorted, format2, index, "weekdays");
|
|
3619
|
-
}
|
|
3620
|
-
function listWeekdaysShort(localeSorted, format2, index) {
|
|
3621
|
-
return listWeekdaysImpl(localeSorted, format2, index, "weekdaysShort");
|
|
3622
|
-
}
|
|
3623
|
-
function listWeekdaysMin(localeSorted, format2, index) {
|
|
3624
|
-
return listWeekdaysImpl(localeSorted, format2, index, "weekdaysMin");
|
|
3625
|
-
}
|
|
3626
|
-
getSetGlobalLocale("en", {
|
|
3627
|
-
eras: [
|
|
3628
|
-
{
|
|
3629
|
-
since: "0001-01-01",
|
|
3630
|
-
until: Infinity,
|
|
3631
|
-
offset: 1,
|
|
3632
|
-
name: "Anno Domini",
|
|
3633
|
-
narrow: "AD",
|
|
3634
|
-
abbr: "AD"
|
|
3635
|
-
},
|
|
3636
|
-
{
|
|
3637
|
-
since: "0000-12-31",
|
|
3638
|
-
until: -Infinity,
|
|
3639
|
-
offset: 1,
|
|
3640
|
-
name: "Before Christ",
|
|
3641
|
-
narrow: "BC",
|
|
3642
|
-
abbr: "BC"
|
|
3643
|
-
}
|
|
3644
|
-
],
|
|
3645
|
-
dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
|
|
3646
|
-
ordinal: function(number) {
|
|
3647
|
-
var b = number % 10, output = toInt(number % 100 / 10) === 1 ? "th" : b === 1 ? "st" : b === 2 ? "nd" : b === 3 ? "rd" : "th";
|
|
3648
|
-
return number + output;
|
|
3649
|
-
}
|
|
3650
|
-
});
|
|
3651
|
-
hooks.lang = deprecate(
|
|
3652
|
-
"moment.lang is deprecated. Use moment.locale instead.",
|
|
3653
|
-
getSetGlobalLocale
|
|
3654
|
-
);
|
|
3655
|
-
hooks.langData = deprecate(
|
|
3656
|
-
"moment.langData is deprecated. Use moment.localeData instead.",
|
|
3657
|
-
getLocale
|
|
3658
|
-
);
|
|
3659
|
-
var mathAbs = Math.abs;
|
|
3660
|
-
function abs() {
|
|
3661
|
-
var data = this._data;
|
|
3662
|
-
this._milliseconds = mathAbs(this._milliseconds);
|
|
3663
|
-
this._days = mathAbs(this._days);
|
|
3664
|
-
this._months = mathAbs(this._months);
|
|
3665
|
-
data.milliseconds = mathAbs(data.milliseconds);
|
|
3666
|
-
data.seconds = mathAbs(data.seconds);
|
|
3667
|
-
data.minutes = mathAbs(data.minutes);
|
|
3668
|
-
data.hours = mathAbs(data.hours);
|
|
3669
|
-
data.months = mathAbs(data.months);
|
|
3670
|
-
data.years = mathAbs(data.years);
|
|
3671
|
-
return this;
|
|
3672
|
-
}
|
|
3673
|
-
function addSubtract$1(duration, input, value, direction) {
|
|
3674
|
-
var other = createDuration(input, value);
|
|
3675
|
-
duration._milliseconds += direction * other._milliseconds;
|
|
3676
|
-
duration._days += direction * other._days;
|
|
3677
|
-
duration._months += direction * other._months;
|
|
3678
|
-
return duration._bubble();
|
|
3679
|
-
}
|
|
3680
|
-
function add$1(input, value) {
|
|
3681
|
-
return addSubtract$1(this, input, value, 1);
|
|
3682
|
-
}
|
|
3683
|
-
function subtract$1(input, value) {
|
|
3684
|
-
return addSubtract$1(this, input, value, -1);
|
|
3685
|
-
}
|
|
3686
|
-
function absCeil(number) {
|
|
3687
|
-
if (number < 0) {
|
|
3688
|
-
return Math.floor(number);
|
|
3689
|
-
} else {
|
|
3690
|
-
return Math.ceil(number);
|
|
3691
|
-
}
|
|
3692
|
-
}
|
|
3693
|
-
function bubble() {
|
|
3694
|
-
var milliseconds2 = this._milliseconds, days2 = this._days, months2 = this._months, data = this._data, seconds2, minutes2, hours2, years2, monthsFromDays;
|
|
3695
|
-
if (!(milliseconds2 >= 0 && days2 >= 0 && months2 >= 0 || milliseconds2 <= 0 && days2 <= 0 && months2 <= 0)) {
|
|
3696
|
-
milliseconds2 += absCeil(monthsToDays(months2) + days2) * 864e5;
|
|
3697
|
-
days2 = 0;
|
|
3698
|
-
months2 = 0;
|
|
3699
|
-
}
|
|
3700
|
-
data.milliseconds = milliseconds2 % 1e3;
|
|
3701
|
-
seconds2 = absFloor(milliseconds2 / 1e3);
|
|
3702
|
-
data.seconds = seconds2 % 60;
|
|
3703
|
-
minutes2 = absFloor(seconds2 / 60);
|
|
3704
|
-
data.minutes = minutes2 % 60;
|
|
3705
|
-
hours2 = absFloor(minutes2 / 60);
|
|
3706
|
-
data.hours = hours2 % 24;
|
|
3707
|
-
days2 += absFloor(hours2 / 24);
|
|
3708
|
-
monthsFromDays = absFloor(daysToMonths(days2));
|
|
3709
|
-
months2 += monthsFromDays;
|
|
3710
|
-
days2 -= absCeil(monthsToDays(monthsFromDays));
|
|
3711
|
-
years2 = absFloor(months2 / 12);
|
|
3712
|
-
months2 %= 12;
|
|
3713
|
-
data.days = days2;
|
|
3714
|
-
data.months = months2;
|
|
3715
|
-
data.years = years2;
|
|
3716
|
-
return this;
|
|
3717
|
-
}
|
|
3718
|
-
function daysToMonths(days2) {
|
|
3719
|
-
return days2 * 4800 / 146097;
|
|
3720
|
-
}
|
|
3721
|
-
function monthsToDays(months2) {
|
|
3722
|
-
return months2 * 146097 / 4800;
|
|
3723
|
-
}
|
|
3724
|
-
function as(units) {
|
|
3725
|
-
if (!this.isValid()) {
|
|
3726
|
-
return NaN;
|
|
3727
|
-
}
|
|
3728
|
-
var days2, months2, milliseconds2 = this._milliseconds;
|
|
3729
|
-
units = normalizeUnits(units);
|
|
3730
|
-
if (units === "month" || units === "quarter" || units === "year") {
|
|
3731
|
-
days2 = this._days + milliseconds2 / 864e5;
|
|
3732
|
-
months2 = this._months + daysToMonths(days2);
|
|
3733
|
-
switch (units) {
|
|
3734
|
-
case "month":
|
|
3735
|
-
return months2;
|
|
3736
|
-
case "quarter":
|
|
3737
|
-
return months2 / 3;
|
|
3738
|
-
case "year":
|
|
3739
|
-
return months2 / 12;
|
|
3740
|
-
}
|
|
3741
|
-
} else {
|
|
3742
|
-
days2 = this._days + Math.round(monthsToDays(this._months));
|
|
3743
|
-
switch (units) {
|
|
3744
|
-
case "week":
|
|
3745
|
-
return days2 / 7 + milliseconds2 / 6048e5;
|
|
3746
|
-
case "day":
|
|
3747
|
-
return days2 + milliseconds2 / 864e5;
|
|
3748
|
-
case "hour":
|
|
3749
|
-
return days2 * 24 + milliseconds2 / 36e5;
|
|
3750
|
-
case "minute":
|
|
3751
|
-
return days2 * 1440 + milliseconds2 / 6e4;
|
|
3752
|
-
case "second":
|
|
3753
|
-
return days2 * 86400 + milliseconds2 / 1e3;
|
|
3754
|
-
case "millisecond":
|
|
3755
|
-
return Math.floor(days2 * 864e5) + milliseconds2;
|
|
3756
|
-
default:
|
|
3757
|
-
throw new Error("Unknown unit " + units);
|
|
3758
|
-
}
|
|
3759
|
-
}
|
|
3760
|
-
}
|
|
3761
|
-
function makeAs(alias) {
|
|
3762
|
-
return function() {
|
|
3763
|
-
return this.as(alias);
|
|
3764
|
-
};
|
|
3765
|
-
}
|
|
3766
|
-
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$1 = asMilliseconds;
|
|
3767
|
-
function clone$1() {
|
|
3768
|
-
return createDuration(this);
|
|
3769
|
-
}
|
|
3770
|
-
function get$2(units) {
|
|
3771
|
-
units = normalizeUnits(units);
|
|
3772
|
-
return this.isValid() ? this[units + "s"]() : NaN;
|
|
3773
|
-
}
|
|
3774
|
-
function makeGetter(name) {
|
|
3775
|
-
return function() {
|
|
3776
|
-
return this.isValid() ? this._data[name] : NaN;
|
|
3777
|
-
};
|
|
3778
|
-
}
|
|
3779
|
-
var milliseconds = makeGetter("milliseconds"), seconds = makeGetter("seconds"), minutes = makeGetter("minutes"), hours = makeGetter("hours"), days = makeGetter("days"), months = makeGetter("months"), years = makeGetter("years");
|
|
3780
|
-
function weeks() {
|
|
3781
|
-
return absFloor(this.days() / 7);
|
|
3782
|
-
}
|
|
3783
|
-
var round = Math.round, thresholds = {
|
|
3784
|
-
ss: 44,
|
|
3785
|
-
// a few seconds to seconds
|
|
3786
|
-
s: 45,
|
|
3787
|
-
// seconds to minute
|
|
3788
|
-
m: 45,
|
|
3789
|
-
// minutes to hour
|
|
3790
|
-
h: 22,
|
|
3791
|
-
// hours to day
|
|
3792
|
-
d: 26,
|
|
3793
|
-
// days to month/week
|
|
3794
|
-
w: null,
|
|
3795
|
-
// weeks to month
|
|
3796
|
-
M: 11
|
|
3797
|
-
// months to year
|
|
3798
|
-
};
|
|
3799
|
-
function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale2) {
|
|
3800
|
-
return locale2.relativeTime(number || 1, !!withoutSuffix, string, isFuture);
|
|
3801
|
-
}
|
|
3802
|
-
function relativeTime$1(posNegDuration, withoutSuffix, thresholds2, locale2) {
|
|
3803
|
-
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];
|
|
3804
|
-
if (thresholds2.w != null) {
|
|
3805
|
-
a = a || weeks2 <= 1 && ["w"] || weeks2 < thresholds2.w && ["ww", weeks2];
|
|
3806
|
-
}
|
|
3807
|
-
a = a || months2 <= 1 && ["M"] || months2 < thresholds2.M && ["MM", months2] || years2 <= 1 && ["y"] || ["yy", years2];
|
|
3808
|
-
a[2] = withoutSuffix;
|
|
3809
|
-
a[3] = +posNegDuration > 0;
|
|
3810
|
-
a[4] = locale2;
|
|
3811
|
-
return substituteTimeAgo.apply(null, a);
|
|
3812
|
-
}
|
|
3813
|
-
function getSetRelativeTimeRounding(roundingFunction) {
|
|
3814
|
-
if (roundingFunction === void 0) {
|
|
3815
|
-
return round;
|
|
3816
|
-
}
|
|
3817
|
-
if (typeof roundingFunction === "function") {
|
|
3818
|
-
round = roundingFunction;
|
|
3819
|
-
return true;
|
|
3820
|
-
}
|
|
3821
|
-
return false;
|
|
3822
|
-
}
|
|
3823
|
-
function getSetRelativeTimeThreshold(threshold, limit) {
|
|
3824
|
-
if (thresholds[threshold] === void 0) {
|
|
3825
|
-
return false;
|
|
3826
|
-
}
|
|
3827
|
-
if (limit === void 0) {
|
|
3828
|
-
return thresholds[threshold];
|
|
3829
|
-
}
|
|
3830
|
-
thresholds[threshold] = limit;
|
|
3831
|
-
if (threshold === "s") {
|
|
3832
|
-
thresholds.ss = limit - 1;
|
|
3833
|
-
}
|
|
3834
|
-
return true;
|
|
3835
|
-
}
|
|
3836
|
-
function humanize(argWithSuffix, argThresholds) {
|
|
3837
|
-
if (!this.isValid()) {
|
|
3838
|
-
return this.localeData().invalidDate();
|
|
3839
|
-
}
|
|
3840
|
-
var withSuffix = false, th = thresholds, locale2, output;
|
|
3841
|
-
if (typeof argWithSuffix === "object") {
|
|
3842
|
-
argThresholds = argWithSuffix;
|
|
3843
|
-
argWithSuffix = false;
|
|
3844
|
-
}
|
|
3845
|
-
if (typeof argWithSuffix === "boolean") {
|
|
3846
|
-
withSuffix = argWithSuffix;
|
|
3847
|
-
}
|
|
3848
|
-
if (typeof argThresholds === "object") {
|
|
3849
|
-
th = Object.assign({}, thresholds, argThresholds);
|
|
3850
|
-
if (argThresholds.s != null && argThresholds.ss == null) {
|
|
3851
|
-
th.ss = argThresholds.s - 1;
|
|
3852
|
-
}
|
|
3853
|
-
}
|
|
3854
|
-
locale2 = this.localeData();
|
|
3855
|
-
output = relativeTime$1(this, !withSuffix, th, locale2);
|
|
3856
|
-
if (withSuffix) {
|
|
3857
|
-
output = locale2.pastFuture(+this, output);
|
|
3858
|
-
}
|
|
3859
|
-
return locale2.postformat(output);
|
|
3860
|
-
}
|
|
3861
|
-
var abs$1 = Math.abs;
|
|
3862
|
-
function sign(x) {
|
|
3863
|
-
return (x > 0) - (x < 0) || +x;
|
|
3864
|
-
}
|
|
3865
|
-
function toISOString$1() {
|
|
3866
|
-
if (!this.isValid()) {
|
|
3867
|
-
return this.localeData().invalidDate();
|
|
3868
|
-
}
|
|
3869
|
-
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;
|
|
3870
|
-
if (!total) {
|
|
3871
|
-
return "P0D";
|
|
3872
|
-
}
|
|
3873
|
-
minutes2 = absFloor(seconds2 / 60);
|
|
3874
|
-
hours2 = absFloor(minutes2 / 60);
|
|
3875
|
-
seconds2 %= 60;
|
|
3876
|
-
minutes2 %= 60;
|
|
3877
|
-
years2 = absFloor(months2 / 12);
|
|
3878
|
-
months2 %= 12;
|
|
3879
|
-
s = seconds2 ? seconds2.toFixed(3).replace(/\.?0+$/, "") : "";
|
|
3880
|
-
totalSign = total < 0 ? "-" : "";
|
|
3881
|
-
ymSign = sign(this._months) !== sign(total) ? "-" : "";
|
|
3882
|
-
daysSign = sign(this._days) !== sign(total) ? "-" : "";
|
|
3883
|
-
hmsSign = sign(this._milliseconds) !== sign(total) ? "-" : "";
|
|
3884
|
-
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" : "");
|
|
3885
|
-
}
|
|
3886
|
-
var proto$2 = Duration.prototype;
|
|
3887
|
-
proto$2.isValid = isValid$1;
|
|
3888
|
-
proto$2.abs = abs;
|
|
3889
|
-
proto$2.add = add$1;
|
|
3890
|
-
proto$2.subtract = subtract$1;
|
|
3891
|
-
proto$2.as = as;
|
|
3892
|
-
proto$2.asMilliseconds = asMilliseconds;
|
|
3893
|
-
proto$2.asSeconds = asSeconds;
|
|
3894
|
-
proto$2.asMinutes = asMinutes;
|
|
3895
|
-
proto$2.asHours = asHours;
|
|
3896
|
-
proto$2.asDays = asDays;
|
|
3897
|
-
proto$2.asWeeks = asWeeks;
|
|
3898
|
-
proto$2.asMonths = asMonths;
|
|
3899
|
-
proto$2.asQuarters = asQuarters;
|
|
3900
|
-
proto$2.asYears = asYears;
|
|
3901
|
-
proto$2.valueOf = valueOf$1;
|
|
3902
|
-
proto$2._bubble = bubble;
|
|
3903
|
-
proto$2.clone = clone$1;
|
|
3904
|
-
proto$2.get = get$2;
|
|
3905
|
-
proto$2.milliseconds = milliseconds;
|
|
3906
|
-
proto$2.seconds = seconds;
|
|
3907
|
-
proto$2.minutes = minutes;
|
|
3908
|
-
proto$2.hours = hours;
|
|
3909
|
-
proto$2.days = days;
|
|
3910
|
-
proto$2.weeks = weeks;
|
|
3911
|
-
proto$2.months = months;
|
|
3912
|
-
proto$2.years = years;
|
|
3913
|
-
proto$2.humanize = humanize;
|
|
3914
|
-
proto$2.toISOString = toISOString$1;
|
|
3915
|
-
proto$2.toString = toISOString$1;
|
|
3916
|
-
proto$2.toJSON = toISOString$1;
|
|
3917
|
-
proto$2.locale = locale;
|
|
3918
|
-
proto$2.localeData = localeData;
|
|
3919
|
-
proto$2.toIsoString = deprecate(
|
|
3920
|
-
"toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
|
|
3921
|
-
toISOString$1
|
|
3922
|
-
);
|
|
3923
|
-
proto$2.lang = lang;
|
|
3924
|
-
addFormatToken("X", 0, 0, "unix");
|
|
3925
|
-
addFormatToken("x", 0, 0, "valueOf");
|
|
3926
|
-
addRegexToken("x", matchSigned);
|
|
3927
|
-
addRegexToken("X", matchTimestamp);
|
|
3928
|
-
addParseToken("X", function(input, array, config) {
|
|
3929
|
-
config._d = new Date(parseFloat(input) * 1e3);
|
|
3930
|
-
});
|
|
3931
|
-
addParseToken("x", function(input, array, config) {
|
|
3932
|
-
config._d = new Date(toInt(input));
|
|
3933
|
-
});
|
|
3934
|
-
//! moment.js
|
|
3935
|
-
hooks.version = "2.30.1";
|
|
3936
|
-
setHookCallback(createLocal);
|
|
3937
|
-
hooks.fn = proto;
|
|
3938
|
-
hooks.min = min;
|
|
3939
|
-
hooks.max = max;
|
|
3940
|
-
hooks.now = now;
|
|
3941
|
-
hooks.utc = createUTC;
|
|
3942
|
-
hooks.unix = createUnix;
|
|
3943
|
-
hooks.months = listMonths;
|
|
3944
|
-
hooks.isDate = isDate;
|
|
3945
|
-
hooks.locale = getSetGlobalLocale;
|
|
3946
|
-
hooks.invalid = createInvalid;
|
|
3947
|
-
hooks.duration = createDuration;
|
|
3948
|
-
hooks.isMoment = isMoment;
|
|
3949
|
-
hooks.weekdays = listWeekdays;
|
|
3950
|
-
hooks.parseZone = createInZone;
|
|
3951
|
-
hooks.localeData = getLocale;
|
|
3952
|
-
hooks.isDuration = isDuration;
|
|
3953
|
-
hooks.monthsShort = listMonthsShort;
|
|
3954
|
-
hooks.weekdaysMin = listWeekdaysMin;
|
|
3955
|
-
hooks.defineLocale = defineLocale;
|
|
3956
|
-
hooks.updateLocale = updateLocale;
|
|
3957
|
-
hooks.locales = listLocales;
|
|
3958
|
-
hooks.weekdaysShort = listWeekdaysShort;
|
|
3959
|
-
hooks.normalizeUnits = normalizeUnits;
|
|
3960
|
-
hooks.relativeTimeRounding = getSetRelativeTimeRounding;
|
|
3961
|
-
hooks.relativeTimeThreshold = getSetRelativeTimeThreshold;
|
|
3962
|
-
hooks.calendarFormat = getCalendarFormat;
|
|
3963
|
-
hooks.prototype = proto;
|
|
3964
|
-
hooks.HTML5_FMT = {
|
|
3965
|
-
DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
|
|
3966
|
-
// <input type="datetime-local" />
|
|
3967
|
-
DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
|
|
3968
|
-
// <input type="datetime-local" step="1" />
|
|
3969
|
-
DATETIME_LOCAL_MS: "YYYY-MM-DDTHH:mm:ss.SSS",
|
|
3970
|
-
// <input type="datetime-local" step="0.001" />
|
|
3971
|
-
DATE: "YYYY-MM-DD",
|
|
3972
|
-
// <input type="date" />
|
|
3973
|
-
TIME: "HH:mm",
|
|
3974
|
-
// <input type="time" />
|
|
3975
|
-
TIME_SECONDS: "HH:mm:ss",
|
|
3976
|
-
// <input type="time" step="1" />
|
|
3977
|
-
TIME_MS: "HH:mm:ss.SSS",
|
|
3978
|
-
// <input type="time" step="0.001" />
|
|
3979
|
-
WEEK: "GGGG-[W]WW",
|
|
3980
|
-
// <input type="week" />
|
|
3981
|
-
MONTH: "YYYY-MM"
|
|
3982
|
-
// <input type="month" />
|
|
3983
|
-
};
|
|
3984
|
-
export {
|
|
3985
|
-
hooks as default
|
|
3986
|
-
};
|