@nylas/web-elements 0.0.0-canary-20241008193213 → 0.0.0-canary-20241017103834
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/dist/cdn/add-circle/add-circle.es.js +1 -1
- package/dist/cdn/add-circle-icon/add-circle-icon.es.js +1 -1
- package/dist/cdn/archive-icon/archive-icon.es.js +127 -127
- package/dist/cdn/arrow-icon/arrow-icon.es.js +248 -248
- package/dist/cdn/bold-icon/bold-icon.es.js +1 -1
- package/dist/cdn/button-component/button-component.es.js +2 -2
- package/dist/cdn/calendar/calendar.es.js +77 -77
- package/dist/cdn/calendar-agenda/calendar-agenda.es.js +1 -1
- package/dist/cdn/calendar-agenda-fill/calendar-agenda-fill.es.js +1 -1
- package/dist/cdn/calendar-agenda-fill-icon/calendar-agenda-fill-icon.es.js +1 -1
- package/dist/cdn/calendar-agenda-icon/calendar-agenda-icon.es.js +1 -1
- package/dist/cdn/calendar-cancel/calendar-cancel.es.js +1 -1
- package/dist/cdn/calendar-cancel-icon/calendar-cancel-icon.es.js +1 -1
- package/dist/cdn/calendar-check/calendar-check.es.js +139 -139
- package/dist/cdn/calendar-check-icon/calendar-check-icon.es.js +14 -14
- package/dist/cdn/calendar-icon/calendar-icon.es.js +24 -24
- package/dist/cdn/calendar-info/calendar-info.es.js +1 -1
- package/dist/cdn/calendar-info-icon/calendar-info-icon.es.js +1 -1
- package/dist/cdn/calendar-patterns/calendar-patterns.es.js +1 -1
- package/dist/cdn/calendar-patterns-icon/calendar-patterns-icon.es.js +1 -1
- package/dist/cdn/checkbox-component/checkbox-component.es.js +1 -1
- package/dist/cdn/checkmark/checkmark.es.js +86 -86
- package/dist/cdn/checkmark-circle/checkmark-circle.es.js +99 -99
- package/dist/cdn/checkmark-circle-icon/checkmark-circle-icon.es.js +14 -14
- package/dist/cdn/checkmark-icon/checkmark-icon.es.js +1 -1
- package/dist/cdn/chevron/chevron.es.js +16 -16
- package/dist/cdn/chevron-icon/chevron-icon.es.js +14 -14
- package/dist/cdn/clock/clock.es.js +16 -16
- package/dist/cdn/clock-icon/clock-icon.es.js +14 -14
- package/dist/cdn/close/close.es.js +1 -1
- package/dist/cdn/close-icon/close-icon.es.js +54 -54
- package/dist/cdn/constants/constants.es.js +3 -3
- package/dist/cdn/copy/copy.es.js +239 -239
- package/dist/cdn/copy-icon/copy-icon.es.js +271 -271
- package/dist/cdn/delete/delete.es.js +1 -1
- package/dist/cdn/delete-icon/delete-icon.es.js +1 -1
- package/dist/cdn/document-refresh-icon/document-refresh-icon.es.js +1 -1
- package/dist/cdn/dragable/dragable.es.js +54 -54
- package/dist/cdn/dragable-icon/dragable-icon.es.js +1 -1
- package/dist/cdn/edit/edit.es.js +1 -1
- package/dist/cdn/edit-icon/edit-icon.es.js +1 -1
- package/dist/cdn/envelope/envelope.es.js +25 -25
- package/dist/cdn/envelope-fill/envelope-fill.es.js +16 -16
- package/dist/cdn/envelope-fill-icon/envelope-fill-icon.es.js +97 -97
- package/dist/cdn/envelope-icon/envelope-icon.es.js +24 -24
- package/dist/cdn/eye/eye.es.js +1 -1
- package/dist/cdn/eye-icon/eye-icon.es.js +1 -1
- package/dist/cdn/feedback-icon/feedback-icon.es.js +86 -86
- package/dist/cdn/flow/flow.es.js +1 -1
- package/dist/cdn/flow-icon/flow-icon.es.js +1 -1
- package/dist/cdn/folder-icon/folder-icon.es.js +14 -14
- package/dist/cdn/forward-icon/forward-icon.es.js +240 -240
- package/dist/cdn/globe/globe.es.js +1 -1
- package/dist/cdn/globe-icon/globe-icon.es.js +1 -1
- package/dist/cdn/google-logo/google-logo.es.js +1 -1
- package/dist/cdn/google-logo-icon/google-logo-icon.es.js +1 -1
- package/dist/cdn/google-meet/google-meet.es.js +15 -15
- package/dist/cdn/google-meet-icon/google-meet-icon.es.js +1 -1
- package/dist/cdn/inbox-icon/inbox-icon.es.js +1 -1
- package/dist/cdn/info/info.es.js +239 -239
- package/dist/cdn/info-icon/info-icon.es.js +240 -240
- package/dist/cdn/input-color-picker/input-color-picker.es.js +3 -3
- package/dist/cdn/input-component/input-component.es.js +1 -1
- package/dist/cdn/input-dropdown/input-dropdown.es.js +1 -1
- package/dist/cdn/input-image-url/input-image-url.es.js +366 -366
- package/dist/cdn/italic-icon/italic-icon.es.js +86 -86
- package/dist/cdn/loading/loading.es.js +270 -270
- package/dist/cdn/loading-icon/loading-icon.es.js +271 -271
- package/dist/cdn/location/location.es.js +100 -100
- package/dist/cdn/location-icon/location-icon.es.js +19 -19
- package/dist/cdn/location-off/location-off.es.js +86 -86
- package/dist/cdn/location-off-icon/location-off-icon.es.js +1 -1
- package/dist/cdn/microsof-teams/microsof-teams.es.js +96 -96
- package/dist/cdn/microsoft-logo/microsoft-logo.es.js +1 -1
- package/dist/cdn/microsoft-logo-icon/microsoft-logo-icon.es.js +1 -1
- package/dist/cdn/microsoft-teams-icon/microsoft-teams-icon.es.js +97 -97
- package/dist/cdn/multi-select-dropdown/multi-select-dropdown.es.js +3 -3
- package/dist/cdn/nylas-additional-participants/nylas-additional-participants.es.js +55 -57
- package/dist/cdn/nylas-availability-picker/nylas-availability-picker.es.js +15 -15
- package/dist/cdn/nylas-booked-event-card/nylas-booked-event-card.es.js +10 -10
- package/dist/cdn/nylas-booking-calendar-picker/nylas-booking-calendar-picker.es.js +5 -5
- package/dist/cdn/nylas-booking-confirmation-redirect/nylas-booking-confirmation-redirect.es.js +7 -7
- package/dist/cdn/nylas-booking-confirmation-type/nylas-booking-confirmation-type.es.js +733 -734
- package/dist/cdn/nylas-booking-form/nylas-booking-form.es.js +154 -151
- package/dist/cdn/nylas-booking-form-config/nylas-booking-form-config.es.js +9 -9
- package/dist/cdn/nylas-buffer-time/nylas-buffer-time.es.js +5 -5
- package/dist/cdn/nylas-calendar-picker/nylas-calendar-picker.es.js +7 -7
- package/dist/cdn/nylas-cancel-booking-form/nylas-cancel-booking-form.es.js +10 -10
- package/dist/cdn/nylas-cancellation-policy/nylas-cancellation-policy.es.js +3 -3
- package/dist/cdn/nylas-cancelled-event-card/nylas-cancelled-event-card.es.js +7 -7
- package/dist/cdn/nylas-confirmation-email/nylas-confirmation-email.es.js +99 -95
- package/dist/cdn/nylas-confirmed-event-card/nylas-confirmed-event-card.es.js +723 -723
- package/dist/cdn/nylas-connected-calendars/nylas-connected-calendars.es.js +179 -179
- package/dist/cdn/nylas-custom-booking-flow/nylas-custom-booking-flow.es.js +2 -2
- package/dist/cdn/nylas-custom-event-slug/nylas-custom-event-slug.es.js +7 -7
- package/dist/cdn/nylas-customize-booking-settings/nylas-customize-booking-settings.es.js +147 -147
- package/dist/cdn/nylas-date-picker/nylas-date-picker.es.js +7 -7
- package/dist/cdn/nylas-editor-tabs/nylas-editor-tabs.es.js +6451 -6036
- package/dist/cdn/nylas-event-description/nylas-event-description.es.js +3 -3
- package/dist/cdn/nylas-event-duration/nylas-event-duration.es.js +232 -232
- package/dist/cdn/nylas-event-info/nylas-event-info.es.js +2 -2
- package/dist/cdn/nylas-event-limits/nylas-event-limits.es.js +2 -2
- package/dist/cdn/nylas-event-location/nylas-event-location.es.js +2558 -2533
- package/dist/cdn/nylas-event-title/nylas-event-title.es.js +10 -5
- package/dist/cdn/nylas-feedback-form/nylas-feedback-form.es.js +8 -8
- package/dist/cdn/nylas-form-card/nylas-form-card.es.js +1 -1
- package/dist/cdn/nylas-if-state/nylas-if-state.es.js +1 -1
- package/dist/cdn/nylas-limit-future-bookings/nylas-limit-future-bookings.es.js +8 -8
- package/dist/cdn/nylas-list-configurations/nylas-list-configurations.es.js +21 -17
- package/dist/cdn/nylas-locale-switch/nylas-locale-switch.es.js +1168 -1168
- package/dist/cdn/nylas-login/nylas-login.es.js +1 -1
- package/dist/cdn/nylas-logo/nylas-logo.es.js +125 -125
- package/dist/cdn/nylas-min-booking-notice/nylas-min-booking-notice.es.js +10 -10
- package/dist/cdn/nylas-min-cancellation-notice/nylas-min-cancellation-notice.es.js +10 -10
- package/dist/cdn/nylas-notification/nylas-notification.es.js +3 -3
- package/dist/cdn/nylas-organizer-confirmation-card/nylas-organizer-confirmation-card.es.js +6 -6
- package/dist/cdn/nylas-page-name/nylas-page-name.es.js +7 -7
- package/dist/cdn/nylas-page-styling/nylas-page-styling.es.js +4 -4
- package/dist/cdn/nylas-participant-booking-calendars/nylas-participant-booking-calendars.es.js +8 -8
- package/dist/cdn/nylas-participants-custom-availability/nylas-participants-custom-availability.es.js +176 -176
- package/dist/cdn/nylas-provider/nylas-provider.es.js +652 -644
- package/dist/cdn/nylas-reminder-emails/nylas-reminder-emails.es.js +17 -17
- package/dist/cdn/nylas-reminder-time/nylas-reminder-time.es.js +5 -5
- package/dist/cdn/nylas-scheduler-editor/nylas-scheduler-editor.es.js +1430 -1001
- package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +1081 -1056
- package/dist/cdn/nylas-scheduling-method/nylas-scheduling-method.es.js +10 -12
- package/dist/cdn/nylas-selected-event-card/nylas-selected-event-card.es.js +4 -4
- package/dist/cdn/nylas-time-window-picker/nylas-time-window-picker.es.js +1 -1
- package/dist/cdn/nylas-timeslot-interval/nylas-timeslot-interval.es.js +147 -149
- package/dist/cdn/nylas-timeslot-picker/nylas-timeslot-picker.es.js +10 -9
- package/dist/cdn/paintbrush/paintbrush.es.js +239 -239
- package/dist/cdn/paintbrush-fill/paintbrush-fill.es.js +1 -1
- package/dist/cdn/paintbrush-fill-icon/paintbrush-fill-icon.es.js +1 -1
- package/dist/cdn/paintbrush-icon/paintbrush-icon.es.js +240 -240
- package/dist/cdn/people/people.es.js +1 -1
- package/dist/cdn/people-icon/people-icon.es.js +1 -1
- package/dist/cdn/person/person.es.js +1 -1
- package/dist/cdn/person-clipboard/person-clipboard.es.js +1 -1
- package/dist/cdn/person-clipboard-icon/person-clipboard-icon.es.js +1 -1
- package/dist/cdn/person-icon/person-icon.es.js +1 -1
- package/dist/cdn/play-icon/play-icon.es.js +248 -248
- package/dist/cdn/plus/plus.es.js +16 -16
- package/dist/cdn/plus-icon/plus-icon.es.js +14 -14
- package/dist/cdn/radio-button-group/radio-button-group.es.js +1 -1
- package/dist/cdn/refresh-icon/refresh-icon.es.js +14 -14
- package/dist/cdn/reply-all-icon/reply-all-icon.es.js +14 -14
- package/dist/cdn/reply-icon/reply-icon.es.js +14 -14
- package/dist/cdn/scheduler-store/scheduler-store.es.js +654 -646
- package/dist/cdn/search/search.es.js +1 -1
- package/dist/cdn/search-icon/search-icon.es.js +86 -86
- package/dist/cdn/select-dropdown/select-dropdown.es.js +3 -3
- package/dist/cdn/sent-icon/sent-icon.es.js +1 -1
- package/dist/cdn/spam-icon/spam-icon.es.js +86 -86
- package/dist/cdn/star-icon/star-icon.es.js +1 -1
- package/dist/cdn/stop-icon/stop-icon.es.js +1 -1
- package/dist/cdn/textarea-component/textarea-component.es.js +3 -3
- package/dist/cdn/time-period-selector/time-period-selector.es.js +230 -230
- package/dist/cdn/toggle-switch/toggle-switch.es.js +1 -1
- package/dist/cdn/toolitp-component/toolitp-component.es.js +23 -23
- package/dist/cdn/tooltip-component/tooltip-component.es.js +26 -26
- package/dist/cdn/translate/translate.es.js +246 -246
- package/dist/cdn/translate-icon/translate-icon.es.js +247 -247
- package/dist/cdn/trash/trash.es.js +1 -1
- package/dist/cdn/trash-fill-icon/trash-fill-icon.es.js +14 -14
- package/dist/cdn/trash-icon/trash-icon.es.js +1 -1
- package/dist/cdn/underline-icon/underline-icon.es.js +1 -1
- package/dist/cdn/warning/warning.es.js +247 -247
- package/dist/cdn/warning-icon/warning-icon.es.js +248 -248
- package/dist/cdn/zoom/zoom.es.js +1 -1
- package/dist/cdn/zoom-icon/zoom-icon.es.js +1 -1
- package/dist/cjs/add-circle-icon_2.cjs.entry.js +2 -2
- package/dist/cjs/archive-icon.cjs.entry.js +1 -1
- package/dist/cjs/arrow-icon.cjs.entry.js +1 -1
- package/dist/cjs/bold-icon.cjs.entry.js +1 -1
- package/dist/cjs/button-component_2.cjs.entry.js +2 -2
- package/dist/cjs/{calendar-agenda-fill-icon_51.cjs.entry.js → calendar-agenda-fill-icon_54.cjs.entry.js} +736 -326
- package/dist/cjs/calendar-agenda-fill-icon_54.cjs.entry.js.map +1 -0
- package/dist/cjs/calendar-cancel-icon.cjs.entry.js +1 -1
- package/dist/cjs/calendar-check-icon_2.cjs.entry.js +2 -2
- package/dist/cjs/calendar-icon.cjs.entry.js +1 -1
- package/dist/cjs/checkbox-component_2.cjs.entry.js +2 -2
- package/dist/cjs/chevron-icon_3.cjs.entry.js +3 -3
- package/dist/cjs/clock-icon_4.cjs.entry.js +4 -4
- package/dist/cjs/copy-icon.cjs.entry.js +1 -1
- package/dist/cjs/delete-icon.cjs.entry.js +1 -1
- package/dist/cjs/document-refresh-icon.cjs.entry.js +1 -1
- package/dist/cjs/folder-icon.cjs.entry.js +1 -1
- package/dist/cjs/forward-icon.cjs.entry.js +1 -1
- package/dist/cjs/globe-icon.cjs.entry.js +1 -1
- package/dist/cjs/google-logo-icon_4.cjs.entry.js +34 -23
- package/dist/cjs/google-logo-icon_4.cjs.entry.js.map +1 -1
- package/dist/cjs/inbox-icon.cjs.entry.js +1 -1
- package/dist/cjs/index-7af03e3f.js +2 -10
- package/dist/cjs/info-icon_2.cjs.entry.js +2 -2
- package/dist/cjs/input-color-picker.cjs.entry.js +2 -2
- package/dist/cjs/input-component.cjs.entry.js +1 -1
- package/dist/cjs/input-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/italic-icon.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/multi-select-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/nylas-booked-event-card_12.cjs.entry.js +35 -34
- package/dist/cjs/nylas-booked-event-card_12.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-form-card.cjs.entry.js +1 -1
- package/dist/cjs/nylas-if-state.cjs.entry.js +1 -1
- package/dist/cjs/nylas-login.cjs.entry.js +1 -1
- package/dist/cjs/nylas-provider.cjs.entry.js +2 -2
- package/dist/cjs/nylas-scheduler-editor.cjs.entry.js +1 -1
- package/dist/cjs/nylas-scheduling.cjs.entry.js +22 -9
- package/dist/cjs/nylas-scheduling.cjs.entry.js.map +1 -1
- package/dist/cjs/nylas-time-window-picker.cjs.entry.js +1 -1
- package/dist/cjs/nylas-web-elements.cjs.js +1 -1
- package/dist/cjs/person-icon.cjs.entry.js +1 -1
- package/dist/cjs/play-icon.cjs.entry.js +1 -1
- package/dist/cjs/refresh-icon.cjs.entry.js +1 -1
- package/dist/cjs/reply-all-icon.cjs.entry.js +1 -1
- package/dist/cjs/reply-icon.cjs.entry.js +1 -1
- package/dist/cjs/{scheduler-store-4489a68b.js → scheduler-store-e3ddffc1.js} +13 -4
- package/dist/cjs/scheduler-store-e3ddffc1.js.map +1 -0
- package/dist/cjs/sent-icon.cjs.entry.js +1 -1
- package/dist/cjs/spam-icon.cjs.entry.js +1 -1
- package/dist/cjs/star-icon.cjs.entry.js +1 -1
- package/dist/cjs/stop-icon.cjs.entry.js +1 -1
- package/dist/cjs/textarea-component.cjs.entry.js +1 -1
- package/dist/cjs/time-period-selector.cjs.entry.js +1 -1
- package/dist/cjs/translate-icon.cjs.entry.js +1 -1
- package/dist/cjs/trash-fill-icon.cjs.entry.js +1 -1
- package/dist/cjs/underline-icon.cjs.entry.js +1 -1
- package/dist/cjs/warning-icon.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/common/icons/add-circle.js +1 -1
- package/dist/collection/common/icons/archive.js +1 -1
- package/dist/collection/common/icons/arrow.js +1 -1
- package/dist/collection/common/icons/bold.js +1 -1
- package/dist/collection/common/icons/calendar-agenda-fill.js +1 -1
- package/dist/collection/common/icons/calendar-agenda.js +1 -1
- package/dist/collection/common/icons/calendar-cancel.js +1 -1
- package/dist/collection/common/icons/calendar-check.js +1 -1
- package/dist/collection/common/icons/calendar-info.js +1 -1
- package/dist/collection/common/icons/calendar-patterns.js +1 -1
- package/dist/collection/common/icons/calendar.js +1 -1
- package/dist/collection/common/icons/checkmark-circle.js +1 -1
- package/dist/collection/common/icons/checkmark.js +1 -1
- package/dist/collection/common/icons/chevron.js +1 -1
- package/dist/collection/common/icons/clock.js +1 -1
- package/dist/collection/common/icons/close.js +1 -1
- package/dist/collection/common/icons/copy.js +1 -1
- package/dist/collection/common/icons/delete.js +1 -1
- package/dist/collection/common/icons/document-refresh.js +1 -1
- package/dist/collection/common/icons/dragable.js +1 -1
- package/dist/collection/common/icons/edit.js +1 -1
- package/dist/collection/common/icons/envelope-fill.js +1 -1
- package/dist/collection/common/icons/envelope.js +1 -1
- package/dist/collection/common/icons/eye.js +1 -1
- package/dist/collection/common/icons/feedback-icon.js +1 -1
- package/dist/collection/common/icons/flow.js +1 -1
- package/dist/collection/common/icons/folder.js +1 -1
- package/dist/collection/common/icons/forward.js +1 -1
- package/dist/collection/common/icons/globe.js +1 -1
- package/dist/collection/common/icons/google-logo.js +1 -1
- package/dist/collection/common/icons/google-meet.js +1 -1
- package/dist/collection/common/icons/inbox.js +1 -1
- package/dist/collection/common/icons/info.js +1 -1
- package/dist/collection/common/icons/italic.js +1 -1
- package/dist/collection/common/icons/loading.js +1 -1
- package/dist/collection/common/icons/location-off.js +1 -1
- package/dist/collection/common/icons/location.js +1 -1
- package/dist/collection/common/icons/microsof-teams.js +1 -1
- package/dist/collection/common/icons/microsoft-logo.js +1 -1
- package/dist/collection/common/icons/nylas-logo.js +1 -1
- package/dist/collection/common/icons/paintbrush-fill.js +1 -1
- package/dist/collection/common/icons/paintbrush.js +1 -1
- package/dist/collection/common/icons/people.js +1 -1
- package/dist/collection/common/icons/person-clipboard.js +1 -1
- package/dist/collection/common/icons/person.js +1 -1
- package/dist/collection/common/icons/play.js +1 -1
- package/dist/collection/common/icons/plus.js +1 -1
- package/dist/collection/common/icons/refresh.js +1 -1
- package/dist/collection/common/icons/reply-all.js +1 -1
- package/dist/collection/common/icons/reply.js +1 -1
- package/dist/collection/common/icons/search.js +1 -1
- package/dist/collection/common/icons/sent.js +1 -1
- package/dist/collection/common/icons/spam.js +1 -1
- package/dist/collection/common/icons/star.js +1 -1
- package/dist/collection/common/icons/stop.js +1 -1
- package/dist/collection/common/icons/translate.js +1 -1
- package/dist/collection/common/icons/trash-fill.js +1 -1
- package/dist/collection/common/icons/trash.js +1 -1
- package/dist/collection/common/icons/underline.js +1 -1
- package/dist/collection/common/icons/warning.js +1 -1
- package/dist/collection/common/icons/zoom.js +1 -1
- package/dist/collection/common/types.js.map +1 -1
- package/dist/collection/components/design-system/button-component/button-component.js +1 -1
- package/dist/collection/components/design-system/checkbox-component/checkbox-component.js +1 -1
- package/dist/collection/components/design-system/input-color-picker/input-color-picker.js +2 -2
- package/dist/collection/components/design-system/input-component/input-component.js +1 -1
- package/dist/collection/components/design-system/input-dropdown/input-dropdown.js +1 -1
- package/dist/collection/components/design-system/input-image-url/input-image-url.js +20 -2
- package/dist/collection/components/design-system/input-image-url/input-image-url.js.map +1 -1
- package/dist/collection/components/design-system/multi-select-dropdown/multi-select-dropdown.js +1 -1
- package/dist/collection/components/design-system/radio-button-group/radio-button-group.js +1 -1
- package/dist/collection/components/design-system/select-dropdown/select-dropdown.js +1 -1
- package/dist/collection/components/design-system/textarea-component/textarea-component.js +1 -1
- package/dist/collection/components/design-system/time-period-selector/time-period-selector.js +1 -1
- package/dist/collection/components/design-system/toggle-switch/toggle-switch.js +1 -1
- package/dist/collection/components/design-system/tooltip-component/toolitp-component.js +1 -1
- package/dist/collection/components/nylas-if-state/nylas-if-state.js +1 -1
- package/dist/collection/components/nylas-login/nylas-login.js +1 -1
- package/dist/collection/components/nylas-provider/nylas-provider.js +1 -1
- package/dist/collection/components/scheduler/nylas-booked-event-card/nylas-booked-event-card.css +23 -0
- package/dist/collection/components/scheduler/nylas-booked-event-card/nylas-booked-event-card.js +66 -51
- package/dist/collection/components/scheduler/nylas-booked-event-card/nylas-booked-event-card.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-booking-form/nylas-booking-form.css +23 -0
- package/dist/collection/components/scheduler/nylas-booking-form/nylas-booking-form.js +35 -24
- package/dist/collection/components/scheduler/nylas-booking-form/nylas-booking-form.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-cancel-booking-form/nylas-cancel-booking-form.css +23 -0
- package/dist/collection/components/scheduler/nylas-cancel-booking-form/nylas-cancel-booking-form.js +38 -29
- package/dist/collection/components/scheduler/nylas-cancel-booking-form/nylas-cancel-booking-form.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-cancelled-event-card/nylas-cancelled-event-card.css +23 -0
- package/dist/collection/components/scheduler/nylas-cancelled-event-card/nylas-cancelled-event-card.js +26 -23
- package/dist/collection/components/scheduler/nylas-cancelled-event-card/nylas-cancelled-event-card.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-confirmed-event-card/nylas-confirmed-event-card.js +26 -23
- package/dist/collection/components/scheduler/nylas-confirmed-event-card/nylas-confirmed-event-card.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-date-picker/nylas-date-picker.css +23 -0
- package/dist/collection/components/scheduler/nylas-date-picker/nylas-date-picker.js +26 -20
- package/dist/collection/components/scheduler/nylas-date-picker/nylas-date-picker.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-feedback-form/nylas-feedback-form.js +2 -2
- package/dist/collection/components/scheduler/nylas-locale-switch/nylas-locale-switch.css +23 -0
- package/dist/collection/components/scheduler/nylas-notification/nylas-notification.js +1 -1
- package/dist/collection/components/scheduler/nylas-organizer-confirmation-card/nylas-organizer-confirmation-card.js +29 -23
- package/dist/collection/components/scheduler/nylas-organizer-confirmation-card/nylas-organizer-confirmation-card.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js +24 -10
- package/dist/collection/components/scheduler/nylas-scheduling/nylas-scheduling.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-scheduling/test/nylas-scheduling.spec.js +143 -0
- package/dist/collection/components/scheduler/nylas-scheduling/test/nylas-scheduling.spec.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-selected-event-card/nylas-selected-event-card.css +23 -0
- package/dist/collection/components/scheduler/nylas-selected-event-card/nylas-selected-event-card.js +3 -3
- package/dist/collection/components/scheduler/nylas-selected-event-card/nylas-selected-event-card.js.map +1 -1
- package/dist/collection/components/scheduler/nylas-timeslot-picker/nylas-timeslot-picker.css +23 -0
- package/dist/collection/components/scheduler/nylas-timeslot-picker/nylas-timeslot-picker.js +50 -44
- package/dist/collection/components/scheduler/nylas-timeslot-picker/nylas-timeslot-picker.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.js +66 -55
- package/dist/collection/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-additional-participants/test/nylas-additional-participants.spec.js +106 -0
- package/dist/collection/components/scheduler-editor/nylas-additional-participants/test/nylas-additional-participants.spec.js.map +1 -0
- package/dist/collection/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.js +44 -28
- package/dist/collection/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-booking-calendar-picker/nylas-booking-calendar-picker.js +25 -10
- package/dist/collection/components/scheduler-editor/nylas-booking-calendar-picker/nylas-booking-calendar-picker.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-booking-confirmation-redirect/nylas-booking-confirmation-redirect.js +21 -9
- package/dist/collection/components/scheduler-editor/nylas-booking-confirmation-redirect/nylas-booking-confirmation-redirect.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-booking-confirmation-type/nylas-booking-confirmation-type.js +19 -10
- package/dist/collection/components/scheduler-editor/nylas-booking-confirmation-type/nylas-booking-confirmation-type.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-booking-form-config/nylas-booking-form-config.js +6 -3
- package/dist/collection/components/scheduler-editor/nylas-booking-form-config/nylas-booking-form-config.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-buffer-time/nylas-buffer-time.js +10 -4
- package/dist/collection/components/scheduler-editor/nylas-buffer-time/nylas-buffer-time.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-calendar-picker/nylas-calendar-picker.js +45 -33
- package/dist/collection/components/scheduler-editor/nylas-calendar-picker/nylas-calendar-picker.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-cancellation-policy/nylas-cancellation-policy.css +2 -1
- package/dist/collection/components/scheduler-editor/nylas-cancellation-policy/nylas-cancellation-policy.js +16 -7
- package/dist/collection/components/scheduler-editor/nylas-cancellation-policy/nylas-cancellation-policy.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-confirmation-email/nylas-confirmation-email.js +58 -30
- package/dist/collection/components/scheduler-editor/nylas-confirmation-email/nylas-confirmation-email.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-confirmation-email/test/nylas-confirmation-email.spec.js +33 -0
- package/dist/collection/components/scheduler-editor/nylas-confirmation-email/test/nylas-confirmation-email.spec.js.map +1 -0
- package/dist/collection/components/scheduler-editor/nylas-connected-calendars/nylas-connected-calendars.js +26 -10
- package/dist/collection/components/scheduler-editor/nylas-connected-calendars/nylas-connected-calendars.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-custom-booking-flow/nylas-custom-booking-flow.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-custom-booking-flow/nylas-custom-booking-flow.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-custom-event-slug/nylas-custom-event-slug.js +1 -0
- package/dist/collection/components/scheduler-editor/nylas-custom-event-slug/nylas-custom-event-slug.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-customize-booking-settings/nylas-customize-booking-settings.js +17 -11
- package/dist/collection/components/scheduler-editor/nylas-customize-booking-settings/nylas-customize-booking-settings.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js +62 -28
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/tab-contents.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/tab-contents.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/test/nylas-editor-tabs.spec.js +171 -1
- package/dist/collection/components/scheduler-editor/nylas-editor-tabs/test/nylas-editor-tabs.spec.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-description/nylas-event-description.js +16 -7
- package/dist/collection/components/scheduler-editor/nylas-event-description/nylas-event-description.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-duration/nylas-event-duration.js +20 -9
- package/dist/collection/components/scheduler-editor/nylas-event-duration/nylas-event-duration.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-duration/test/nylas-event-duration.spec.js +55 -0
- package/dist/collection/components/scheduler-editor/nylas-event-duration/test/nylas-event-duration.spec.js.map +1 -0
- package/dist/collection/components/scheduler-editor/nylas-event-info/nylas-event-info.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-limits/nylas-event-limits.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-location/nylas-event-location.js +74 -29
- package/dist/collection/components/scheduler-editor/nylas-event-location/nylas-event-location.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-event-title/nylas-event-title.js +25 -11
- package/dist/collection/components/scheduler-editor/nylas-event-title/nylas-event-title.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-form-card/nylas-form-card.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-limit-future-bookings/nylas-limit-future-bookings.js +16 -7
- package/dist/collection/components/scheduler-editor/nylas-limit-future-bookings/nylas-limit-future-bookings.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-list-configurations/nylas-list-configurations.js +2 -2
- package/dist/collection/components/scheduler-editor/nylas-list-configurations/nylas-list-configurations.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-min-booking-notice/nylas-min-booking-notice.js +32 -23
- package/dist/collection/components/scheduler-editor/nylas-min-booking-notice/nylas-min-booking-notice.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-min-cancellation-notice/nylas-min-cancellation-notice.js +32 -23
- package/dist/collection/components/scheduler-editor/nylas-min-cancellation-notice/nylas-min-cancellation-notice.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-page-name/nylas-page-name.js +43 -28
- package/dist/collection/components/scheduler-editor/nylas-page-name/nylas-page-name.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-page-styling/nylas-page-styling.js +38 -26
- package/dist/collection/components/scheduler-editor/nylas-page-styling/nylas-page-styling.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-participant-booking-calendars/nylas-participant-booking-calendars.js +31 -12
- package/dist/collection/components/scheduler-editor/nylas-participant-booking-calendars/nylas-participant-booking-calendars.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.js +18 -8
- package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/test/nylas-participants-custom-availability.spec.js +47 -0
- package/dist/collection/components/scheduler-editor/nylas-participants-custom-availability/test/nylas-participants-custom-availability.spec.js.map +1 -0
- package/dist/collection/components/scheduler-editor/nylas-reminder-emails/nylas-reminder-emails.js +3 -3
- package/dist/collection/components/scheduler-editor/nylas-reminder-time/nylas-reminder-time.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-scheduler-editor/nylas-scheduler-editor.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-scheduling-method/nylas-scheduling-method.js +34 -27
- package/dist/collection/components/scheduler-editor/nylas-scheduling-method/nylas-scheduling-method.js.map +1 -1
- package/dist/collection/components/scheduler-editor/nylas-time-window-picker/nylas-time-window-picker.js +1 -1
- package/dist/collection/components/scheduler-editor/nylas-timeslot-interval/nylas-timeslot-interval.js +18 -53
- package/dist/collection/components/scheduler-editor/nylas-timeslot-interval/nylas-timeslot-interval.js.map +1 -1
- package/dist/collection/connector/shared/api/scheduler.js +12 -3
- package/dist/collection/connector/shared/api/scheduler.js.map +1 -1
- package/dist/collection/types/index.js +7 -6
- package/dist/collection/types/index.js.map +1 -1
- package/dist/collection/utils/test-utils.js +9 -0
- package/dist/collection/utils/test-utils.js.map +1 -1
- package/dist/components/add-circle.js +1 -1
- package/dist/components/archive-icon.js +1 -1
- package/dist/components/arrow-icon.js +1 -1
- package/dist/components/bold-icon.js +1 -1
- package/dist/components/button-component2.js +1 -1
- package/dist/components/calendar-agenda-fill.js +1 -1
- package/dist/components/calendar-agenda.js +1 -1
- package/dist/components/calendar-cancel.js +1 -1
- package/dist/components/calendar-check.js +1 -1
- package/dist/components/calendar-info.js +1 -1
- package/dist/components/calendar-patterns.js +1 -1
- package/dist/components/calendar.js +1 -1
- package/dist/components/checkbox-component2.js +1 -1
- package/dist/components/checkmark-circle.js +1 -1
- package/dist/components/checkmark.js +1 -1
- package/dist/components/chevron.js +1 -1
- package/dist/components/clock.js +1 -1
- package/dist/components/close.js +1 -1
- package/dist/components/constants.js +1 -1
- package/dist/components/copy.js +1 -1
- package/dist/components/delete.js +1 -1
- package/dist/components/document-refresh-icon.js +1 -1
- package/dist/components/dragable.js +1 -1
- package/dist/components/edit.js +1 -1
- package/dist/components/envelope-fill.js +1 -1
- package/dist/components/envelope.js +1 -1
- package/dist/components/eye.js +1 -1
- package/dist/components/feedback-icon2.js +1 -1
- package/dist/components/flow.js +1 -1
- package/dist/components/folder-icon.js +1 -1
- package/dist/components/forward-icon.js +1 -1
- package/dist/components/globe.js +1 -1
- package/dist/components/google-logo.js +1 -1
- package/dist/components/google-meet.js +1 -1
- package/dist/components/inbox-icon.js +1 -1
- package/dist/components/info.js +1 -1
- package/dist/components/input-color-picker.js +2 -2
- package/dist/components/input-component2.js +1 -1
- package/dist/components/input-dropdown2.js +1 -1
- package/dist/components/input-image-url2.js +6 -2
- package/dist/components/input-image-url2.js.map +1 -1
- package/dist/components/italic-icon.js +1 -1
- package/dist/components/loading.js +1 -1
- package/dist/components/location-off.js +1 -1
- package/dist/components/location.js +1 -1
- package/dist/components/microsof-teams.js +1 -1
- package/dist/components/microsoft-logo.js +1 -1
- package/dist/components/multi-select-dropdown2.js +1 -1
- package/dist/components/nylas-additional-participants2.js +16 -20
- package/dist/components/nylas-additional-participants2.js.map +1 -1
- package/dist/components/nylas-availability-picker2.js +5 -4
- package/dist/components/nylas-availability-picker2.js.map +1 -1
- package/dist/components/nylas-booked-event-card2.js +8 -8
- package/dist/components/nylas-booked-event-card2.js.map +1 -1
- package/dist/components/nylas-booking-calendar-picker2.js.map +1 -1
- package/dist/components/nylas-booking-confirmation-redirect2.js +1 -1
- package/dist/components/nylas-booking-confirmation-redirect2.js.map +1 -1
- package/dist/components/nylas-booking-confirmation-type2.js +2 -2
- package/dist/components/nylas-booking-confirmation-type2.js.map +1 -1
- package/dist/components/nylas-booking-form-config2.js +1 -1
- package/dist/components/nylas-booking-form-config2.js.map +1 -1
- package/dist/components/nylas-booking-form2.js +6 -5
- package/dist/components/nylas-booking-form2.js.map +1 -1
- package/dist/components/nylas-buffer-time2.js.map +1 -1
- package/dist/components/nylas-calendar-picker2.js +4 -4
- package/dist/components/nylas-calendar-picker2.js.map +1 -1
- package/dist/components/nylas-cancel-booking-form2.js +4 -4
- package/dist/components/nylas-cancel-booking-form2.js.map +1 -1
- package/dist/components/nylas-cancellation-policy2.js +1 -1
- package/dist/components/nylas-cancellation-policy2.js.map +1 -1
- package/dist/components/nylas-cancelled-event-card2.js +4 -4
- package/dist/components/nylas-cancelled-event-card2.js.map +1 -1
- package/dist/components/nylas-confirmation-email2.js +16 -6
- package/dist/components/nylas-confirmation-email2.js.map +1 -1
- package/dist/components/nylas-confirmed-event-card2.js +3 -3
- package/dist/components/nylas-confirmed-event-card2.js.map +1 -1
- package/dist/components/nylas-connected-calendars2.js +6 -2
- package/dist/components/nylas-connected-calendars2.js.map +1 -1
- package/dist/components/nylas-custom-booking-flow2.js +1 -1
- package/dist/components/nylas-custom-booking-flow2.js.map +1 -1
- package/dist/components/nylas-custom-event-slug2.js +1 -0
- package/dist/components/nylas-custom-event-slug2.js.map +1 -1
- package/dist/components/nylas-customize-booking-settings2.js +4 -4
- package/dist/components/nylas-customize-booking-settings2.js.map +1 -1
- package/dist/components/nylas-date-picker2.js +4 -4
- package/dist/components/nylas-date-picker2.js.map +1 -1
- package/dist/components/nylas-editor-tabs2.js +196 -167
- package/dist/components/nylas-editor-tabs2.js.map +1 -1
- package/dist/components/nylas-event-description2.js +1 -1
- package/dist/components/nylas-event-description2.js.map +1 -1
- package/dist/components/nylas-event-duration2.js +5 -3
- package/dist/components/nylas-event-duration2.js.map +1 -1
- package/dist/components/nylas-event-info2.js +1 -1
- package/dist/components/nylas-event-limits2.js +1 -1
- package/dist/components/nylas-event-location2.js +39 -15
- package/dist/components/nylas-event-location2.js.map +1 -1
- package/dist/components/nylas-event-title2.js +10 -5
- package/dist/components/nylas-event-title2.js.map +1 -1
- package/dist/components/nylas-feedback-form2.js +2 -2
- package/dist/components/nylas-form-card2.js +1 -1
- package/dist/components/nylas-if-state.js +1 -1
- package/dist/components/nylas-limit-future-bookings2.js +1 -1
- package/dist/components/nylas-limit-future-bookings2.js.map +1 -1
- package/dist/components/nylas-list-configurations2.js +2 -2
- package/dist/components/nylas-list-configurations2.js.map +1 -1
- package/dist/components/nylas-locale-switch2.js +2 -2
- package/dist/components/nylas-locale-switch2.js.map +1 -1
- package/dist/components/nylas-login.js +1 -1
- package/dist/components/nylas-logo2.js +1 -1
- package/dist/components/nylas-min-booking-notice2.js +3 -3
- package/dist/components/nylas-min-booking-notice2.js.map +1 -1
- package/dist/components/nylas-min-cancellation-notice2.js +3 -3
- package/dist/components/nylas-min-cancellation-notice2.js.map +1 -1
- package/dist/components/nylas-notification2.js +1 -1
- package/dist/components/nylas-organizer-confirmation-card2.js +3 -3
- package/dist/components/nylas-organizer-confirmation-card2.js.map +1 -1
- package/dist/components/nylas-page-name2.js +3 -3
- package/dist/components/nylas-page-name2.js.map +1 -1
- package/dist/components/nylas-page-styling2.js +3 -3
- package/dist/components/nylas-page-styling2.js.map +1 -1
- package/dist/components/nylas-participant-booking-calendars2.js +6 -2
- package/dist/components/nylas-participant-booking-calendars2.js.map +1 -1
- package/dist/components/nylas-participants-custom-availability2.js +3 -2
- package/dist/components/nylas-participants-custom-availability2.js.map +1 -1
- package/dist/components/nylas-provider.js +1 -1
- package/dist/components/nylas-reminder-emails.js +1 -302
- package/dist/components/nylas-reminder-emails.js.map +1 -1
- package/dist/{esm/nylas-reminder-emails.entry.js → components/nylas-reminder-emails2.js} +123 -21
- package/dist/components/nylas-reminder-emails2.js.map +1 -0
- package/dist/components/nylas-reminder-time2.js +2 -2
- package/dist/components/nylas-scheduler-editor.js +179 -161
- package/dist/components/nylas-scheduler-editor.js.map +1 -1
- package/dist/components/nylas-scheduling-method2.js +4 -6
- package/dist/components/nylas-scheduling-method2.js.map +1 -1
- package/dist/components/nylas-scheduling.js +22 -8
- package/dist/components/nylas-scheduling.js.map +1 -1
- package/dist/components/nylas-selected-event-card2.js +3 -3
- package/dist/components/nylas-selected-event-card2.js.map +1 -1
- package/dist/components/nylas-time-window-picker2.js +1 -1
- package/dist/components/nylas-timeslot-interval2.js +4 -8
- package/dist/components/nylas-timeslot-interval2.js.map +1 -1
- package/dist/components/nylas-timeslot-picker2.js +7 -7
- package/dist/components/nylas-timeslot-picker2.js.map +1 -1
- package/dist/components/paintbrush-fill.js +1 -1
- package/dist/components/paintbrush.js +1 -1
- package/dist/components/people.js +1 -1
- package/dist/components/person-clipboard.js +1 -1
- package/dist/components/person.js +1 -1
- package/dist/components/play-icon.js +1 -1
- package/dist/components/plus.js +1 -1
- package/dist/components/radio-button-group2.js +1 -1
- package/dist/components/refresh-icon.js +1 -1
- package/dist/components/reply-all-icon.js +1 -1
- package/dist/components/reply-icon.js +1 -1
- package/dist/components/scheduler-store.js +12 -3
- package/dist/components/scheduler-store.js.map +1 -1
- package/dist/components/search.js +1 -1
- package/dist/components/select-dropdown2.js +1 -1
- package/dist/components/sent-icon.js +1 -1
- package/dist/components/spam-icon.js +1 -1
- package/dist/components/star-icon.js +1 -1
- package/dist/components/stop-icon.js +1 -1
- package/dist/components/textarea-component2.js +1 -1
- package/dist/components/time-period-selector2.js +1 -1
- package/dist/components/toggle-switch2.js +1 -1
- package/dist/components/toolitp-component.js +1 -1
- package/dist/components/translate.js +1 -1
- package/dist/components/trash-fill-icon.js +1 -1
- package/dist/components/trash.js +1 -1
- package/dist/components/underline-icon.js +1 -1
- package/dist/components/warning.js +1 -1
- package/dist/components/zoom.js +1 -1
- package/dist/esm/add-circle-icon_2.entry.js +2 -2
- package/dist/esm/archive-icon.entry.js +1 -1
- package/dist/esm/arrow-icon.entry.js +1 -1
- package/dist/esm/bold-icon.entry.js +1 -1
- package/dist/esm/button-component_2.entry.js +2 -2
- package/dist/esm/{calendar-agenda-fill-icon_51.entry.js → calendar-agenda-fill-icon_54.entry.js} +735 -328
- package/dist/esm/calendar-agenda-fill-icon_54.entry.js.map +1 -0
- package/dist/esm/calendar-cancel-icon.entry.js +1 -1
- package/dist/esm/calendar-check-icon_2.entry.js +2 -2
- package/dist/esm/calendar-icon.entry.js +1 -1
- package/dist/esm/checkbox-component_2.entry.js +2 -2
- package/dist/esm/chevron-icon_3.entry.js +3 -3
- package/dist/esm/clock-icon_4.entry.js +4 -4
- package/dist/esm/{constants-94520f89.js → constants-c549b12b.js} +2 -2
- package/dist/esm/{constants-94520f89.js.map → constants-c549b12b.js.map} +1 -1
- package/dist/esm/copy-icon.entry.js +1 -1
- package/dist/esm/delete-icon.entry.js +1 -1
- package/dist/esm/document-refresh-icon.entry.js +1 -1
- package/dist/esm/folder-icon.entry.js +1 -1
- package/dist/esm/forward-icon.entry.js +1 -1
- package/dist/esm/globe-icon.entry.js +1 -1
- package/dist/esm/google-logo-icon_4.entry.js +35 -24
- package/dist/esm/google-logo-icon_4.entry.js.map +1 -1
- package/dist/esm/inbox-icon.entry.js +1 -1
- package/dist/esm/index-7cb0dd3d.js +2 -10
- package/dist/esm/info-icon_2.entry.js +2 -2
- package/dist/esm/input-color-picker.entry.js +2 -2
- package/dist/esm/input-component.entry.js +1 -1
- package/dist/esm/input-dropdown.entry.js +1 -1
- package/dist/esm/italic-icon.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/multi-select-dropdown.entry.js +1 -1
- package/dist/esm/nylas-booked-event-card_12.entry.js +36 -35
- package/dist/esm/nylas-booked-event-card_12.entry.js.map +1 -1
- package/dist/esm/nylas-form-card.entry.js +1 -1
- package/dist/esm/nylas-if-state.entry.js +1 -1
- package/dist/esm/nylas-login.entry.js +1 -1
- package/dist/esm/nylas-provider.entry.js +2 -2
- package/dist/esm/nylas-scheduler-editor.entry.js +1 -1
- package/dist/esm/nylas-scheduling.entry.js +23 -10
- package/dist/esm/nylas-scheduling.entry.js.map +1 -1
- package/dist/esm/nylas-time-window-picker.entry.js +1 -1
- package/dist/esm/nylas-web-elements.js +1 -1
- package/dist/esm/person-icon.entry.js +1 -1
- package/dist/esm/play-icon.entry.js +1 -1
- package/dist/esm/refresh-icon.entry.js +1 -1
- package/dist/esm/reply-all-icon.entry.js +1 -1
- package/dist/esm/reply-icon.entry.js +1 -1
- package/dist/esm/{scheduler-store-24e5fb65.js → scheduler-store-d4784b24.js} +13 -4
- package/dist/esm/scheduler-store-d4784b24.js.map +1 -0
- package/dist/esm/sent-icon.entry.js +1 -1
- package/dist/esm/spam-icon.entry.js +1 -1
- package/dist/esm/star-icon.entry.js +1 -1
- package/dist/esm/stop-icon.entry.js +1 -1
- package/dist/esm/textarea-component.entry.js +1 -1
- package/dist/esm/time-period-selector.entry.js +1 -1
- package/dist/esm/translate-icon.entry.js +1 -1
- package/dist/esm/trash-fill-icon.entry.js +1 -1
- package/dist/esm/underline-icon.entry.js +1 -1
- package/dist/esm/warning-icon.entry.js +1 -1
- package/dist/nylas-web-elements/nylas-web-elements.esm.js +1 -1
- package/dist/nylas-web-elements/nylas-web-elements.esm.js.map +1 -1
- package/dist/nylas-web-elements/{p-14493c1f.entry.js → p-04d397d3.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-b6e4de5b.js → p-08a590fe.js} +2 -2
- package/dist/nylas-web-elements/{p-7943a9f3.entry.js → p-108bd821.entry.js} +2 -2
- package/dist/nylas-web-elements/p-12d690b8.js +2 -0
- package/dist/nylas-web-elements/p-12d690b8.js.map +1 -0
- package/dist/nylas-web-elements/{p-d902a356.entry.js → p-1546bd61.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-651232a3.entry.js → p-1c25b695.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-caad44c4.entry.js → p-2c1432a2.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-21fb688e.entry.js → p-2f91359b.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-27074ad6.entry.js → p-3268077f.entry.js} +2 -2
- package/dist/nylas-web-elements/p-32bc7f60.entry.js +2 -0
- package/dist/nylas-web-elements/p-33800554.entry.js +2 -0
- package/dist/nylas-web-elements/p-3971e86b.entry.js +2 -0
- package/dist/nylas-web-elements/p-483f2fb4.entry.js +2 -0
- package/dist/nylas-web-elements/{p-8a082b24.entry.js → p-4e57a9ee.entry.js} +2 -2
- package/dist/nylas-web-elements/p-4fb91c8b.entry.js +2 -0
- package/dist/nylas-web-elements/{p-effd77ed.entry.js → p-525bd709.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-7d5b3918.entry.js → p-56834b7a.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-faeec15a.entry.js → p-5ed596d7.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-6fa4597b.entry.js → p-6089d6fa.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-39af67b7.entry.js → p-61ea19c2.entry.js} +2 -2
- package/dist/nylas-web-elements/p-713505c9.entry.js +2 -0
- package/dist/nylas-web-elements/{p-bd85bf92.entry.js → p-7140bca8.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-3f2f3b85.entry.js → p-762ae706.entry.js} +2 -2
- package/dist/nylas-web-elements/p-7919d41d.entry.js +2 -0
- package/dist/nylas-web-elements/p-7a1d51ab.entry.js +2 -0
- package/dist/nylas-web-elements/p-7a1d51ab.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-7bed0959.entry.js +2 -0
- package/dist/nylas-web-elements/p-7bed0959.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-27b52475.entry.js → p-7c20444b.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-d55f619c.entry.js → p-988eee6f.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-0519e48e.entry.js → p-9d8ffc7b.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-fbddb6fe.entry.js → p-9f009793.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-1e2ffdc6.entry.js → p-aa4b24ce.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-5973b208.entry.js → p-ac8386d1.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-062f6da2.entry.js → p-acfe4f6e.entry.js} +2 -2
- package/dist/nylas-web-elements/p-af2ab331.entry.js +2 -0
- package/dist/nylas-web-elements/{p-100c9ff7.entry.js → p-b110d5c1.entry.js} +2 -2
- package/dist/nylas-web-elements/p-bbf86b8c.entry.js +2 -0
- package/dist/nylas-web-elements/{p-e012eac3.entry.js → p-be938025.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-36792b8a.entry.js → p-cad17478.entry.js} +2 -2
- package/dist/nylas-web-elements/p-ce2c8e67.entry.js +2 -0
- package/dist/nylas-web-elements/{p-68320c97.entry.js → p-d1abdef7.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-8013d0a2.entry.js → p-dcdb47dd.entry.js} +2 -2
- package/dist/nylas-web-elements/p-df131a08.entry.js +8 -0
- package/dist/nylas-web-elements/p-df131a08.entry.js.map +1 -0
- package/dist/nylas-web-elements/{p-cc8f94f7.entry.js → p-e1cd1887.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-00d89615.entry.js → p-eb2d8167.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-9b62edf6.entry.js → p-ec302526.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-bbcf8659.entry.js → p-ec528a20.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-0e0c00cc.entry.js → p-eee29c7e.entry.js} +2 -2
- package/dist/nylas-web-elements/{p-f62df769.entry.js → p-f2ae34c9.entry.js} +2 -2
- package/dist/nylas-web-elements/p-fc6ae4ec.entry.js +2 -0
- package/dist/nylas-web-elements/p-fc6ae4ec.entry.js.map +1 -0
- package/dist/nylas-web-elements/p-fe34d0ee.entry.js +2 -0
- package/dist/nylas-web-elements/p-febf4adf.entry.js +2 -0
- package/dist/types/common/types.d.ts +3 -0
- package/dist/types/components/design-system/input-image-url/input-image-url.d.ts +4 -0
- package/dist/types/components/scheduler/nylas-booked-event-card/nylas-booked-event-card.d.ts +2 -2
- package/dist/types/components/scheduler/nylas-booking-form/nylas-booking-form.d.ts +3 -4
- package/dist/types/components/scheduler/nylas-cancel-booking-form/nylas-cancel-booking-form.d.ts +1 -1
- package/dist/types/components/scheduler/nylas-cancelled-event-card/nylas-cancelled-event-card.d.ts +1 -1
- package/dist/types/components/scheduler/nylas-confirmed-event-card/nylas-confirmed-event-card.d.ts +1 -1
- package/dist/types/components/scheduler/nylas-date-picker/nylas-date-picker.d.ts +1 -1
- package/dist/types/components/scheduler/nylas-organizer-confirmation-card/nylas-organizer-confirmation-card.d.ts +1 -1
- package/dist/types/components/scheduler/nylas-scheduling/nylas-scheduling.d.ts +5 -3
- package/dist/types/components/scheduler/nylas-timeslot-picker/nylas-timeslot-picker.d.ts +2 -2
- package/dist/types/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.d.ts +3 -3
- package/dist/types/components/scheduler-editor/nylas-availability-picker/nylas-availability-picker.d.ts +1 -1
- package/dist/types/components/scheduler-editor/nylas-calendar-picker/nylas-calendar-picker.d.ts +2 -2
- package/dist/types/components/scheduler-editor/nylas-confirmation-email/nylas-confirmation-email.d.ts +5 -1
- package/dist/types/components/scheduler-editor/nylas-editor-tabs/nylas-editor-tabs.d.ts +2 -1
- package/dist/types/components/scheduler-editor/nylas-event-location/nylas-event-location.d.ts +2 -0
- package/dist/types/components/scheduler-editor/nylas-min-booking-notice/nylas-min-booking-notice.d.ts +1 -1
- package/dist/types/components/scheduler-editor/nylas-min-cancellation-notice/nylas-min-cancellation-notice.d.ts +1 -1
- package/dist/types/components/scheduler-editor/nylas-page-name/nylas-page-name.d.ts +1 -1
- package/dist/types/components/scheduler-editor/nylas-page-styling/nylas-page-styling.d.ts +1 -1
- package/dist/types/components/scheduler-editor/nylas-participants-custom-availability/nylas-participants-custom-availability.d.ts +1 -0
- package/dist/types/components/scheduler-editor/nylas-scheduling-method/nylas-scheduling-method.d.ts +1 -1
- package/dist/types/components/scheduler-editor/nylas-timeslot-interval/nylas-timeslot-interval.d.ts +0 -2
- package/dist/types/components.d.ts +265 -290
- package/dist/types/connector/shared/api/scheduler.d.ts +4 -4
- package/dist/types/types/index.d.ts +164 -32
- package/package.json +7 -5
- package/dist/cjs/calendar-agenda-fill-icon_51.cjs.entry.js.map +0 -1
- package/dist/cjs/nylas-reminder-emails.cjs.entry.js +0 -208
- package/dist/cjs/nylas-reminder-emails.cjs.entry.js.map +0 -1
- package/dist/cjs/nylas-reminder-time_2.cjs.entry.js +0 -175
- package/dist/cjs/nylas-reminder-time_2.cjs.entry.js.map +0 -1
- package/dist/cjs/scheduler-store-4489a68b.js.map +0 -1
- package/dist/esm/calendar-agenda-fill-icon_51.entry.js.map +0 -1
- package/dist/esm/nylas-reminder-emails.entry.js.map +0 -1
- package/dist/esm/nylas-reminder-time_2.entry.js +0 -170
- package/dist/esm/nylas-reminder-time_2.entry.js.map +0 -1
- package/dist/esm/scheduler-store-24e5fb65.js.map +0 -1
- package/dist/nylas-web-elements/p-06e44cfc.entry.js +0 -2
- package/dist/nylas-web-elements/p-06e44cfc.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-2653e311.entry.js +0 -2
- package/dist/nylas-web-elements/p-3ff76491.entry.js +0 -2
- package/dist/nylas-web-elements/p-3ff76491.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-51a66bf5.entry.js +0 -2
- package/dist/nylas-web-elements/p-5b237299.entry.js +0 -2
- package/dist/nylas-web-elements/p-63341f71.entry.js +0 -2
- package/dist/nylas-web-elements/p-6c833d5e.entry.js +0 -2
- package/dist/nylas-web-elements/p-6c833d5e.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-742d7c3c.entry.js +0 -2
- package/dist/nylas-web-elements/p-76fc639b.entry.js +0 -2
- package/dist/nylas-web-elements/p-781e954b.entry.js +0 -2
- package/dist/nylas-web-elements/p-7f56a139.entry.js +0 -2
- package/dist/nylas-web-elements/p-7f56a139.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-86194780.entry.js +0 -2
- package/dist/nylas-web-elements/p-86194780.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-96bcc255.entry.js +0 -2
- package/dist/nylas-web-elements/p-aeab587c.entry.js +0 -2
- package/dist/nylas-web-elements/p-c417fd2f.entry.js +0 -2
- package/dist/nylas-web-elements/p-ef3561ae.js +0 -2
- package/dist/nylas-web-elements/p-ef3561ae.js.map +0 -1
- package/dist/nylas-web-elements/p-fbe814b2.entry.js +0 -8
- package/dist/nylas-web-elements/p-fbe814b2.entry.js.map +0 -1
- package/dist/nylas-web-elements/p-fdc60ce2.entry.js +0 -2
- package/dist/nylas-web-elements/p-fecf68ef.entry.js +0 -2
- /package/dist/nylas-web-elements/{p-14493c1f.entry.js.map → p-04d397d3.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-b6e4de5b.js.map → p-08a590fe.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-7943a9f3.entry.js.map → p-108bd821.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-d902a356.entry.js.map → p-1546bd61.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-651232a3.entry.js.map → p-1c25b695.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-caad44c4.entry.js.map → p-2c1432a2.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-21fb688e.entry.js.map → p-2f91359b.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-27074ad6.entry.js.map → p-3268077f.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-aeab587c.entry.js.map → p-32bc7f60.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-76fc639b.entry.js.map → p-33800554.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-781e954b.entry.js.map → p-3971e86b.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-63341f71.entry.js.map → p-483f2fb4.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-8a082b24.entry.js.map → p-4e57a9ee.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-5b237299.entry.js.map → p-4fb91c8b.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-effd77ed.entry.js.map → p-525bd709.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-7d5b3918.entry.js.map → p-56834b7a.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-faeec15a.entry.js.map → p-5ed596d7.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-6fa4597b.entry.js.map → p-6089d6fa.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-39af67b7.entry.js.map → p-61ea19c2.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-fdc60ce2.entry.js.map → p-713505c9.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-bd85bf92.entry.js.map → p-7140bca8.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-3f2f3b85.entry.js.map → p-762ae706.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-c417fd2f.entry.js.map → p-7919d41d.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-27b52475.entry.js.map → p-7c20444b.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-d55f619c.entry.js.map → p-988eee6f.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-0519e48e.entry.js.map → p-9d8ffc7b.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-fbddb6fe.entry.js.map → p-9f009793.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-1e2ffdc6.entry.js.map → p-aa4b24ce.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-5973b208.entry.js.map → p-ac8386d1.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-062f6da2.entry.js.map → p-acfe4f6e.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-742d7c3c.entry.js.map → p-af2ab331.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-100c9ff7.entry.js.map → p-b110d5c1.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-fecf68ef.entry.js.map → p-bbf86b8c.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-e012eac3.entry.js.map → p-be938025.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-36792b8a.entry.js.map → p-cad17478.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-2653e311.entry.js.map → p-ce2c8e67.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-68320c97.entry.js.map → p-d1abdef7.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-8013d0a2.entry.js.map → p-dcdb47dd.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-cc8f94f7.entry.js.map → p-e1cd1887.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-00d89615.entry.js.map → p-eb2d8167.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-9b62edf6.entry.js.map → p-ec302526.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-bbcf8659.entry.js.map → p-ec528a20.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-0e0c00cc.entry.js.map → p-eee29c7e.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-f62df769.entry.js.map → p-f2ae34c9.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-96bcc255.entry.js.map → p-fe34d0ee.entry.js.map} +0 -0
- /package/dist/nylas-web-elements/{p-51a66bf5.entry.js.map → p-febf4adf.entry.js.map} +0 -0
|
@@ -47,12 +47,12 @@ function Ht(n, e, t, r, i) {
|
|
|
47
47
|
return (h ? -1 : 1) * o * Math.pow(2, u - r);
|
|
48
48
|
}
|
|
49
49
|
function wi(n, e, t, r, i, u) {
|
|
50
|
-
var o, s, a, l = u * 8 - i - 1, f = (1 << l) - 1, d = f >> 1, c = i === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, h = r ? 0 : u - 1,
|
|
51
|
-
for (e = Math.abs(e), isNaN(e) || e === 1 / 0 ? (s = isNaN(e) ? 1 : 0, o = f) : (o = Math.floor(Math.log(e) / Math.LN2), e * (a = Math.pow(2, -o)) < 1 && (o--, a *= 2), o + d >= 1 ? e += c / a : e += c * Math.pow(2, 1 - d), e * a >= 2 && (o++, a /= 2), o + d >= f ? (s = 0, o = f) : o + d >= 1 ? (s = (e * a - 1) * Math.pow(2, i), o = o + d) : (s = e * Math.pow(2, d - 1) * Math.pow(2, i), o = 0)); i >= 8; n[t + h] = s & 255, h +=
|
|
50
|
+
var o, s, a, l = u * 8 - i - 1, f = (1 << l) - 1, d = f >> 1, c = i === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, h = r ? 0 : u - 1, g = r ? 1 : -1, m = e < 0 || e === 0 && 1 / e < 0 ? 1 : 0;
|
|
51
|
+
for (e = Math.abs(e), isNaN(e) || e === 1 / 0 ? (s = isNaN(e) ? 1 : 0, o = f) : (o = Math.floor(Math.log(e) / Math.LN2), e * (a = Math.pow(2, -o)) < 1 && (o--, a *= 2), o + d >= 1 ? e += c / a : e += c * Math.pow(2, 1 - d), e * a >= 2 && (o++, a /= 2), o + d >= f ? (s = 0, o = f) : o + d >= 1 ? (s = (e * a - 1) * Math.pow(2, i), o = o + d) : (s = e * Math.pow(2, d - 1) * Math.pow(2, i), o = 0)); i >= 8; n[t + h] = s & 255, h += g, s /= 256, i -= 8)
|
|
52
52
|
;
|
|
53
|
-
for (o = o << i | s, l += i; l > 0; n[t + h] = o & 255, h +=
|
|
53
|
+
for (o = o << i | s, l += i; l > 0; n[t + h] = o & 255, h += g, o /= 256, l -= 8)
|
|
54
54
|
;
|
|
55
|
-
n[t + h -
|
|
55
|
+
n[t + h - g] |= m * 128;
|
|
56
56
|
}
|
|
57
57
|
var A1 = {}.toString, $i = Array.isArray || function(n) {
|
|
58
58
|
return A1.call(n) == "[object Array]";
|
|
@@ -355,8 +355,8 @@ function dn(n, e, t, r, i) {
|
|
|
355
355
|
return -1;
|
|
356
356
|
u = 2, o /= 2, s /= 2, t /= 2;
|
|
357
357
|
}
|
|
358
|
-
function a(h,
|
|
359
|
-
return u === 1 ? h[
|
|
358
|
+
function a(h, g) {
|
|
359
|
+
return u === 1 ? h[g] : h.readUInt16BE(g * u);
|
|
360
360
|
}
|
|
361
361
|
var l;
|
|
362
362
|
if (i) {
|
|
@@ -881,107 +881,107 @@ var _i = { exports: {} };
|
|
|
881
881
|
(function(t, r) {
|
|
882
882
|
n.exports = r();
|
|
883
883
|
})(ne, function() {
|
|
884
|
-
var t = 1e3, r = 6e4, i = 36e5, u = "millisecond", o = "second", s = "minute", a = "hour", l = "day", f = "week", d = "month", c = "quarter", h = "year",
|
|
885
|
-
var
|
|
886
|
-
return "[" +
|
|
887
|
-
} },
|
|
888
|
-
var
|
|
889
|
-
return !
|
|
890
|
-
}, B = { s:
|
|
891
|
-
var
|
|
892
|
-
return (
|
|
893
|
-
}, m: function
|
|
894
|
-
if (
|
|
895
|
-
var
|
|
896
|
-
return +(-(
|
|
897
|
-
}, a: function(
|
|
898
|
-
return
|
|
899
|
-
}, p: function(
|
|
900
|
-
return { M: d, y: h, w: f, d: l, D:
|
|
901
|
-
}, u: function(
|
|
902
|
-
return
|
|
903
|
-
} },
|
|
904
|
-
|
|
905
|
-
var
|
|
906
|
-
return
|
|
907
|
-
}, F = function
|
|
884
|
+
var t = 1e3, r = 6e4, i = 36e5, u = "millisecond", o = "second", s = "minute", a = "hour", l = "day", f = "week", d = "month", c = "quarter", h = "year", g = "date", m = "Invalid Date", p = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, x = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, $ = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(y) {
|
|
885
|
+
var v = ["th", "st", "nd", "rd"], k = y % 100;
|
|
886
|
+
return "[" + y + (v[(k - 20) % 10] || v[k] || v[0]) + "]";
|
|
887
|
+
} }, C = function(y, v, k) {
|
|
888
|
+
var D = String(y);
|
|
889
|
+
return !D || D.length >= v ? y : "" + Array(v + 1 - D.length).join(k) + y;
|
|
890
|
+
}, B = { s: C, z: function(y) {
|
|
891
|
+
var v = -y.utcOffset(), k = Math.abs(v), D = Math.floor(k / 60), T = k % 60;
|
|
892
|
+
return (v <= 0 ? "+" : "-") + C(D, 2, "0") + ":" + C(T, 2, "0");
|
|
893
|
+
}, m: function y(v, k) {
|
|
894
|
+
if (v.date() < k.date()) return -y(k, v);
|
|
895
|
+
var D = 12 * (k.year() - v.year()) + (k.month() - v.month()), T = v.clone().add(D, d), M = k - T < 0, R = v.clone().add(D + (M ? -1 : 1), d);
|
|
896
|
+
return +(-(D + (k - T) / (M ? T - R : R - T)) || 0);
|
|
897
|
+
}, a: function(y) {
|
|
898
|
+
return y < 0 ? Math.ceil(y) || 0 : Math.floor(y);
|
|
899
|
+
}, p: function(y) {
|
|
900
|
+
return { M: d, y: h, w: f, d: l, D: g, h: a, m: s, s: o, ms: u, Q: c }[y] || String(y || "").toLowerCase().replace(/s$/, "");
|
|
901
|
+
}, u: function(y) {
|
|
902
|
+
return y === void 0;
|
|
903
|
+
} }, A = "en", O = {};
|
|
904
|
+
O[A] = $;
|
|
905
|
+
var P = function(y) {
|
|
906
|
+
return y instanceof b;
|
|
907
|
+
}, F = function y(v, k, D) {
|
|
908
908
|
var T;
|
|
909
|
-
if (!
|
|
910
|
-
if (typeof
|
|
911
|
-
var
|
|
912
|
-
|
|
913
|
-
var R =
|
|
914
|
-
if (!T && R.length > 1) return
|
|
909
|
+
if (!v) return A;
|
|
910
|
+
if (typeof v == "string") {
|
|
911
|
+
var M = v.toLowerCase();
|
|
912
|
+
O[M] && (T = M), k && (O[M] = k, T = M);
|
|
913
|
+
var R = v.split("-");
|
|
914
|
+
if (!T && R.length > 1) return y(R[0]);
|
|
915
915
|
} else {
|
|
916
|
-
var N =
|
|
917
|
-
|
|
916
|
+
var N = v.name;
|
|
917
|
+
O[N] = v, T = N;
|
|
918
918
|
}
|
|
919
|
-
return !
|
|
920
|
-
}, _ = function(
|
|
921
|
-
if (
|
|
922
|
-
var
|
|
923
|
-
return
|
|
924
|
-
},
|
|
925
|
-
|
|
926
|
-
return _(
|
|
919
|
+
return !D && T && (A = T), T || !D && A;
|
|
920
|
+
}, _ = function(y, v) {
|
|
921
|
+
if (P(y)) return y.clone();
|
|
922
|
+
var k = typeof v == "object" ? v : {};
|
|
923
|
+
return k.date = y, k.args = arguments, new b(k);
|
|
924
|
+
}, I = B;
|
|
925
|
+
I.l = F, I.i = P, I.w = function(y, v) {
|
|
926
|
+
return _(y, { locale: v.$L, utc: v.$u, x: v.$x, $offset: v.$offset });
|
|
927
927
|
};
|
|
928
928
|
var b = function() {
|
|
929
|
-
function k
|
|
930
|
-
this.$L = F(
|
|
929
|
+
function y(k) {
|
|
930
|
+
this.$L = F(k.locale, null, !0), this.parse(k);
|
|
931
931
|
}
|
|
932
|
-
var
|
|
933
|
-
return
|
|
934
|
-
this.$d = function(
|
|
935
|
-
var T =
|
|
932
|
+
var v = y.prototype;
|
|
933
|
+
return v.parse = function(k) {
|
|
934
|
+
this.$d = function(D) {
|
|
935
|
+
var T = D.date, M = D.utc;
|
|
936
936
|
if (T === null) return /* @__PURE__ */ new Date(NaN);
|
|
937
|
-
if (
|
|
937
|
+
if (I.u(T)) return /* @__PURE__ */ new Date();
|
|
938
938
|
if (T instanceof Date) return new Date(T);
|
|
939
939
|
if (typeof T == "string" && !/Z$/i.test(T)) {
|
|
940
|
-
var R = T.match(
|
|
940
|
+
var R = T.match(p);
|
|
941
941
|
if (R) {
|
|
942
942
|
var N = R[2] - 1 || 0, z = (R[7] || "0").substring(0, 3);
|
|
943
|
-
return
|
|
943
|
+
return M ? new Date(Date.UTC(R[1], N, R[3] || 1, R[4] || 0, R[5] || 0, R[6] || 0, z)) : new Date(R[1], N, R[3] || 1, R[4] || 0, R[5] || 0, R[6] || 0, z);
|
|
944
944
|
}
|
|
945
945
|
}
|
|
946
946
|
return new Date(T);
|
|
947
|
-
}(
|
|
948
|
-
},
|
|
949
|
-
var
|
|
950
|
-
this.$y =
|
|
951
|
-
},
|
|
952
|
-
return
|
|
953
|
-
},
|
|
947
|
+
}(k), this.$x = k.x || {}, this.init();
|
|
948
|
+
}, v.init = function() {
|
|
949
|
+
var k = this.$d;
|
|
950
|
+
this.$y = k.getFullYear(), this.$M = k.getMonth(), this.$D = k.getDate(), this.$W = k.getDay(), this.$H = k.getHours(), this.$m = k.getMinutes(), this.$s = k.getSeconds(), this.$ms = k.getMilliseconds();
|
|
951
|
+
}, v.$utils = function() {
|
|
952
|
+
return I;
|
|
953
|
+
}, v.isValid = function() {
|
|
954
954
|
return this.$d.toString() !== m;
|
|
955
|
-
},
|
|
956
|
-
var T = _(
|
|
957
|
-
return this.startOf(
|
|
958
|
-
},
|
|
959
|
-
return _(
|
|
960
|
-
},
|
|
961
|
-
return this.endOf(
|
|
962
|
-
},
|
|
963
|
-
return
|
|
964
|
-
},
|
|
955
|
+
}, v.isSame = function(k, D) {
|
|
956
|
+
var T = _(k);
|
|
957
|
+
return this.startOf(D) <= T && T <= this.endOf(D);
|
|
958
|
+
}, v.isAfter = function(k, D) {
|
|
959
|
+
return _(k) < this.startOf(D);
|
|
960
|
+
}, v.isBefore = function(k, D) {
|
|
961
|
+
return this.endOf(D) < _(k);
|
|
962
|
+
}, v.$g = function(k, D, T) {
|
|
963
|
+
return I.u(k) ? this[D] : this.set(T, k);
|
|
964
|
+
}, v.unix = function() {
|
|
965
965
|
return Math.floor(this.valueOf() / 1e3);
|
|
966
|
-
},
|
|
966
|
+
}, v.valueOf = function() {
|
|
967
967
|
return this.$d.getTime();
|
|
968
|
-
},
|
|
969
|
-
var T = this,
|
|
970
|
-
var Be =
|
|
971
|
-
return
|
|
968
|
+
}, v.startOf = function(k, D) {
|
|
969
|
+
var T = this, M = !!I.u(D) || D, R = I.p(k), N = function(Le, te) {
|
|
970
|
+
var Be = I.w(T.$u ? Date.UTC(T.$y, te, Le) : new Date(T.$y, te, Le), T);
|
|
971
|
+
return M ? Be : Be.endOf(l);
|
|
972
972
|
}, z = function(Le, te) {
|
|
973
|
-
return
|
|
973
|
+
return I.w(T.toDate()[Le].apply(T.toDate("s"), (M ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(te)), T);
|
|
974
974
|
}, W = this.$W, Z = this.$M, Se = this.$D, ke = "set" + (this.$u ? "UTC" : "");
|
|
975
975
|
switch (R) {
|
|
976
976
|
case h:
|
|
977
|
-
return
|
|
977
|
+
return M ? N(1, 0) : N(31, 11);
|
|
978
978
|
case d:
|
|
979
|
-
return
|
|
979
|
+
return M ? N(1, Z) : N(0, Z + 1);
|
|
980
980
|
case f:
|
|
981
981
|
var We = this.$locale().weekStart || 0, Ge = (W < We ? W + 7 : W) - We;
|
|
982
|
-
return N(
|
|
982
|
+
return N(M ? Se - Ge : Se + (6 - Ge), Z);
|
|
983
983
|
case l:
|
|
984
|
-
case
|
|
984
|
+
case g:
|
|
985
985
|
return z(ke + "Hours", 0);
|
|
986
986
|
case a:
|
|
987
987
|
return z(ke + "Minutes", 1);
|
|
@@ -992,82 +992,82 @@ var _i = { exports: {} };
|
|
|
992
992
|
default:
|
|
993
993
|
return this.clone();
|
|
994
994
|
}
|
|
995
|
-
},
|
|
996
|
-
return this.startOf(
|
|
997
|
-
},
|
|
998
|
-
var T,
|
|
999
|
-
if (
|
|
1000
|
-
var W = this.clone().set(
|
|
1001
|
-
W.$d[N](z), W.init(), this.$d = W.set(
|
|
995
|
+
}, v.endOf = function(k) {
|
|
996
|
+
return this.startOf(k, !1);
|
|
997
|
+
}, v.$set = function(k, D) {
|
|
998
|
+
var T, M = I.p(k), R = "set" + (this.$u ? "UTC" : ""), N = (T = {}, T[l] = R + "Date", T[g] = R + "Date", T[d] = R + "Month", T[h] = R + "FullYear", T[a] = R + "Hours", T[s] = R + "Minutes", T[o] = R + "Seconds", T[u] = R + "Milliseconds", T)[M], z = M === l ? this.$D + (D - this.$W) : D;
|
|
999
|
+
if (M === d || M === h) {
|
|
1000
|
+
var W = this.clone().set(g, 1);
|
|
1001
|
+
W.$d[N](z), W.init(), this.$d = W.set(g, Math.min(this.$D, W.daysInMonth())).$d;
|
|
1002
1002
|
} else N && this.$d[N](z);
|
|
1003
1003
|
return this.init(), this;
|
|
1004
|
-
},
|
|
1005
|
-
return this.clone().$set(
|
|
1006
|
-
},
|
|
1007
|
-
return this[
|
|
1008
|
-
},
|
|
1009
|
-
var T,
|
|
1010
|
-
|
|
1011
|
-
var R =
|
|
1012
|
-
var Se = _(
|
|
1013
|
-
return
|
|
1004
|
+
}, v.set = function(k, D) {
|
|
1005
|
+
return this.clone().$set(k, D);
|
|
1006
|
+
}, v.get = function(k) {
|
|
1007
|
+
return this[I.p(k)]();
|
|
1008
|
+
}, v.add = function(k, D) {
|
|
1009
|
+
var T, M = this;
|
|
1010
|
+
k = Number(k);
|
|
1011
|
+
var R = I.p(D), N = function(Z) {
|
|
1012
|
+
var Se = _(M);
|
|
1013
|
+
return I.w(Se.date(Se.date() + Math.round(Z * k)), M);
|
|
1014
1014
|
};
|
|
1015
|
-
if (R === d) return this.set(d, this.$M +
|
|
1016
|
-
if (R === h) return this.set(h, this.$y +
|
|
1015
|
+
if (R === d) return this.set(d, this.$M + k);
|
|
1016
|
+
if (R === h) return this.set(h, this.$y + k);
|
|
1017
1017
|
if (R === l) return N(1);
|
|
1018
1018
|
if (R === f) return N(7);
|
|
1019
|
-
var z = (T = {}, T[s] = r, T[a] = i, T[o] = t, T)[R] || 1, W = this.$d.getTime() +
|
|
1020
|
-
return
|
|
1021
|
-
},
|
|
1022
|
-
return this.add(-1 *
|
|
1023
|
-
},
|
|
1024
|
-
var
|
|
1019
|
+
var z = (T = {}, T[s] = r, T[a] = i, T[o] = t, T)[R] || 1, W = this.$d.getTime() + k * z;
|
|
1020
|
+
return I.w(W, this);
|
|
1021
|
+
}, v.subtract = function(k, D) {
|
|
1022
|
+
return this.add(-1 * k, D);
|
|
1023
|
+
}, v.format = function(k) {
|
|
1024
|
+
var D = this, T = this.$locale();
|
|
1025
1025
|
if (!this.isValid()) return T.invalidDate || m;
|
|
1026
|
-
var
|
|
1027
|
-
return te && (te[Be] || te(
|
|
1026
|
+
var M = k || "YYYY-MM-DDTHH:mm:ssZ", R = I.z(this), N = this.$H, z = this.$m, W = this.$M, Z = T.weekdays, Se = T.months, ke = function(te, Be, tr, dt) {
|
|
1027
|
+
return te && (te[Be] || te(D, M)) || tr[Be].slice(0, dt);
|
|
1028
1028
|
}, We = function(te) {
|
|
1029
|
-
return
|
|
1029
|
+
return I.s(N % 12 || 12, te, "0");
|
|
1030
1030
|
}, Ge = T.meridiem || function(te, Be, tr) {
|
|
1031
1031
|
var dt = te < 12 ? "AM" : "PM";
|
|
1032
1032
|
return tr ? dt.toLowerCase() : dt;
|
|
1033
|
-
}, Le = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: W + 1, MM:
|
|
1034
|
-
return
|
|
1033
|
+
}, Le = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: W + 1, MM: I.s(W + 1, 2, "0"), MMM: ke(T.monthsShort, W, Se, 3), MMMM: ke(Se, W), D: this.$D, DD: I.s(this.$D, 2, "0"), d: String(this.$W), dd: ke(T.weekdaysMin, this.$W, Z, 2), ddd: ke(T.weekdaysShort, this.$W, Z, 3), dddd: Z[this.$W], H: String(N), HH: I.s(N, 2, "0"), h: We(1), hh: We(2), a: Ge(N, z, !0), A: Ge(N, z, !1), m: String(z), mm: I.s(z, 2, "0"), s: String(this.$s), ss: I.s(this.$s, 2, "0"), SSS: I.s(this.$ms, 3, "0"), Z: R };
|
|
1034
|
+
return M.replace(x, function(te, Be) {
|
|
1035
1035
|
return Be || Le[te] || R.replace(":", "");
|
|
1036
1036
|
});
|
|
1037
|
-
},
|
|
1037
|
+
}, v.utcOffset = function() {
|
|
1038
1038
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
1039
|
-
},
|
|
1040
|
-
var
|
|
1041
|
-
return Z = (
|
|
1042
|
-
},
|
|
1039
|
+
}, v.diff = function(k, D, T) {
|
|
1040
|
+
var M, R = I.p(D), N = _(k), z = (N.utcOffset() - this.utcOffset()) * r, W = this - N, Z = I.m(this, N);
|
|
1041
|
+
return Z = (M = {}, M[h] = Z / 12, M[d] = Z, M[c] = Z / 3, M[f] = (W - z) / 6048e5, M[l] = (W - z) / 864e5, M[a] = W / i, M[s] = W / r, M[o] = W / t, M)[R] || W, T ? Z : I.a(Z);
|
|
1042
|
+
}, v.daysInMonth = function() {
|
|
1043
1043
|
return this.endOf(d).$D;
|
|
1044
|
-
},
|
|
1045
|
-
return
|
|
1046
|
-
},
|
|
1047
|
-
if (!
|
|
1048
|
-
var T = this.clone(),
|
|
1049
|
-
return
|
|
1050
|
-
},
|
|
1051
|
-
return
|
|
1052
|
-
},
|
|
1044
|
+
}, v.$locale = function() {
|
|
1045
|
+
return O[this.$L];
|
|
1046
|
+
}, v.locale = function(k, D) {
|
|
1047
|
+
if (!k) return this.$L;
|
|
1048
|
+
var T = this.clone(), M = F(k, D, !0);
|
|
1049
|
+
return M && (T.$L = M), T;
|
|
1050
|
+
}, v.clone = function() {
|
|
1051
|
+
return I.w(this.$d, this);
|
|
1052
|
+
}, v.toDate = function() {
|
|
1053
1053
|
return new Date(this.valueOf());
|
|
1054
|
-
},
|
|
1054
|
+
}, v.toJSON = function() {
|
|
1055
1055
|
return this.isValid() ? this.toISOString() : null;
|
|
1056
|
-
},
|
|
1056
|
+
}, v.toISOString = function() {
|
|
1057
1057
|
return this.$d.toISOString();
|
|
1058
|
-
},
|
|
1058
|
+
}, v.toString = function() {
|
|
1059
1059
|
return this.$d.toUTCString();
|
|
1060
|
-
},
|
|
1061
|
-
}(),
|
|
1062
|
-
return _.prototype =
|
|
1063
|
-
|
|
1064
|
-
return this.$g(
|
|
1060
|
+
}, y;
|
|
1061
|
+
}(), w = b.prototype;
|
|
1062
|
+
return _.prototype = w, [["$ms", u], ["$s", o], ["$m", s], ["$H", a], ["$W", l], ["$M", d], ["$y", h], ["$D", g]].forEach(function(y) {
|
|
1063
|
+
w[y[1]] = function(v) {
|
|
1064
|
+
return this.$g(v, y[0], y[1]);
|
|
1065
1065
|
};
|
|
1066
|
-
}), _.extend = function(
|
|
1067
|
-
return
|
|
1068
|
-
}, _.locale = F, _.isDayjs =
|
|
1069
|
-
return _(1e3 *
|
|
1070
|
-
}, _.en =
|
|
1066
|
+
}), _.extend = function(y, v) {
|
|
1067
|
+
return y.$i || (y(v, b, _), y.$i = !0), _;
|
|
1068
|
+
}, _.locale = F, _.isDayjs = P, _.unix = function(y) {
|
|
1069
|
+
return _(1e3 * y);
|
|
1070
|
+
}, _.en = O[A], _.Ls = O, _.p = {}, _;
|
|
1071
1071
|
});
|
|
1072
1072
|
})(_i);
|
|
1073
1073
|
const Ni = _i.exports;
|
|
@@ -1405,7 +1405,7 @@ var vn = (
|
|
|
1405
1405
|
var e = this.gettext;
|
|
1406
1406
|
if (!(this.options.freq in n.IMPLEMENTED))
|
|
1407
1407
|
return e("RRule error: Unable to fully convert this rrule to text");
|
|
1408
|
-
if (this.text = [e("every")], this[
|
|
1408
|
+
if (this.text = [e("every")], this[L.FREQUENCIES[this.options.freq]](), this.options.until) {
|
|
1409
1409
|
this.add(e("until"));
|
|
1410
1410
|
var t = this.options.until;
|
|
1411
1411
|
this.add(this.dateFormatter(t.getUTCFullYear(), this.language.monthNames[t.getUTCMonth()], t.getUTCDate()));
|
|
@@ -1550,25 +1550,25 @@ function Hi(n, e) {
|
|
|
1550
1550
|
throw new Error("Unexpected end");
|
|
1551
1551
|
switch (r.symbol) {
|
|
1552
1552
|
case "day(s)":
|
|
1553
|
-
t.freq =
|
|
1553
|
+
t.freq = L.DAILY, r.nextSymbol() && (o(), d());
|
|
1554
1554
|
break;
|
|
1555
1555
|
case "weekday(s)":
|
|
1556
|
-
t.freq =
|
|
1556
|
+
t.freq = L.WEEKLY, t.byweekday = [L.MO, L.TU, L.WE, L.TH, L.FR], r.nextSymbol(), d();
|
|
1557
1557
|
break;
|
|
1558
1558
|
case "week(s)":
|
|
1559
|
-
t.freq =
|
|
1559
|
+
t.freq = L.WEEKLY, r.nextSymbol() && (u(), d());
|
|
1560
1560
|
break;
|
|
1561
1561
|
case "hour(s)":
|
|
1562
|
-
t.freq =
|
|
1562
|
+
t.freq = L.HOURLY, r.nextSymbol() && (u(), d());
|
|
1563
1563
|
break;
|
|
1564
1564
|
case "minute(s)":
|
|
1565
|
-
t.freq =
|
|
1565
|
+
t.freq = L.MINUTELY, r.nextSymbol() && (u(), d());
|
|
1566
1566
|
break;
|
|
1567
1567
|
case "month(s)":
|
|
1568
|
-
t.freq =
|
|
1568
|
+
t.freq = L.MONTHLY, r.nextSymbol() && (u(), d());
|
|
1569
1569
|
break;
|
|
1570
1570
|
case "year(s)":
|
|
1571
|
-
t.freq =
|
|
1571
|
+
t.freq = L.YEARLY, r.nextSymbol() && (u(), d());
|
|
1572
1572
|
break;
|
|
1573
1573
|
case "monday":
|
|
1574
1574
|
case "tuesday":
|
|
@@ -1577,17 +1577,17 @@ function Hi(n, e) {
|
|
|
1577
1577
|
case "friday":
|
|
1578
1578
|
case "saturday":
|
|
1579
1579
|
case "sunday":
|
|
1580
|
-
t.freq =
|
|
1580
|
+
t.freq = L.WEEKLY;
|
|
1581
1581
|
var h = r.symbol.substr(0, 2).toUpperCase();
|
|
1582
|
-
if (t.byweekday = [
|
|
1582
|
+
if (t.byweekday = [L[h]], !r.nextSymbol())
|
|
1583
1583
|
return;
|
|
1584
1584
|
for (; r.accept("comma"); ) {
|
|
1585
1585
|
if (r.isDone())
|
|
1586
1586
|
throw new Error("Unexpected end");
|
|
1587
|
-
var
|
|
1588
|
-
if (!
|
|
1587
|
+
var g = a();
|
|
1588
|
+
if (!g)
|
|
1589
1589
|
throw new Error("Unexpected symbol " + r.symbol + ", expected weekday");
|
|
1590
|
-
t.byweekday.push(
|
|
1590
|
+
t.byweekday.push(L[g]), r.nextSymbol();
|
|
1591
1591
|
}
|
|
1592
1592
|
f(), d();
|
|
1593
1593
|
break;
|
|
@@ -1603,7 +1603,7 @@ function Hi(n, e) {
|
|
|
1603
1603
|
case "october":
|
|
1604
1604
|
case "november":
|
|
1605
1605
|
case "december":
|
|
1606
|
-
if (t.freq =
|
|
1606
|
+
if (t.freq = L.YEARLY, t.bymonth = [s()], !r.nextSymbol())
|
|
1607
1607
|
return;
|
|
1608
1608
|
for (; r.accept("comma"); ) {
|
|
1609
1609
|
if (r.isDone())
|
|
@@ -1623,13 +1623,13 @@ function Hi(n, e) {
|
|
|
1623
1623
|
var c = r.accept("on"), h = r.accept("the");
|
|
1624
1624
|
if (c || h)
|
|
1625
1625
|
do {
|
|
1626
|
-
var
|
|
1627
|
-
if (
|
|
1628
|
-
m ? (r.nextSymbol(), t.byweekday || (t.byweekday = []), t.byweekday.push(
|
|
1626
|
+
var g = l(), m = a(), p = s();
|
|
1627
|
+
if (g)
|
|
1628
|
+
m ? (r.nextSymbol(), t.byweekday || (t.byweekday = []), t.byweekday.push(L[m].nth(g))) : (t.bymonthday || (t.bymonthday = []), t.bymonthday.push(g), r.accept("day(s)"));
|
|
1629
1629
|
else if (m)
|
|
1630
|
-
r.nextSymbol(), t.byweekday || (t.byweekday = []), t.byweekday.push(
|
|
1630
|
+
r.nextSymbol(), t.byweekday || (t.byweekday = []), t.byweekday.push(L[m]);
|
|
1631
1631
|
else if (r.symbol === "weekday(s)")
|
|
1632
|
-
r.nextSymbol(), t.byweekday || (t.byweekday = [
|
|
1632
|
+
r.nextSymbol(), t.byweekday || (t.byweekday = [L.MO, L.TU, L.WE, L.TH, L.FR]);
|
|
1633
1633
|
else if (r.symbol === "week(s)") {
|
|
1634
1634
|
r.nextSymbol();
|
|
1635
1635
|
var x = r.acceptNumber();
|
|
@@ -1640,8 +1640,8 @@ function Hi(n, e) {
|
|
|
1640
1640
|
throw new Error("Unexpected symbol " + r.symbol + "; expected monthday");
|
|
1641
1641
|
t.byweekno.push(parseInt(x[0], 10));
|
|
1642
1642
|
}
|
|
1643
|
-
} else if (
|
|
1644
|
-
r.nextSymbol(), t.bymonth || (t.bymonth = []), t.bymonth.push(
|
|
1643
|
+
} else if (p)
|
|
1644
|
+
r.nextSymbol(), t.bymonth || (t.bymonth = []), t.bymonth.push(p);
|
|
1645
1645
|
else
|
|
1646
1646
|
return;
|
|
1647
1647
|
} while (r.accept("comma") || r.accept("the") || r.accept("on"));
|
|
@@ -1750,7 +1750,7 @@ function Hr(n) {
|
|
|
1750
1750
|
return n < j.HOURLY;
|
|
1751
1751
|
}
|
|
1752
1752
|
var fg = function(n, e) {
|
|
1753
|
-
return e === void 0 && (e = Mt), new
|
|
1753
|
+
return e === void 0 && (e = Mt), new L(Hi(n, e) || void 0);
|
|
1754
1754
|
}, He = [
|
|
1755
1755
|
"count",
|
|
1756
1756
|
"until",
|
|
@@ -1880,9 +1880,9 @@ function Wi(n) {
|
|
|
1880
1880
|
}
|
|
1881
1881
|
function pg(n) {
|
|
1882
1882
|
var e = oe(oe({}, Wr), Wi(n));
|
|
1883
|
-
if (G(e.byeaster) && (e.freq =
|
|
1883
|
+
if (G(e.byeaster) && (e.freq = L.YEARLY), !(G(e.freq) && L.FREQUENCIES[e.freq]))
|
|
1884
1884
|
throw new Error("Invalid frequency: ".concat(e.freq, " ").concat(n.freq));
|
|
1885
|
-
if (e.dtstart || (e.dtstart = new Date((/* @__PURE__ */ new Date()).setMilliseconds(0))), G(e.wkst) ? ge(e.wkst) || (e.wkst = e.wkst.weekday) : e.wkst =
|
|
1885
|
+
if (e.dtstart || (e.dtstart = new Date((/* @__PURE__ */ new Date()).setMilliseconds(0))), G(e.wkst) ? ge(e.wkst) || (e.wkst = e.wkst.weekday) : e.wkst = L.MO.weekday, G(e.bysetpos)) {
|
|
1886
1886
|
ge(e.bysetpos) && (e.bysetpos = [e.bysetpos]);
|
|
1887
1887
|
for (var t = 0; t < e.bysetpos.length; t++) {
|
|
1888
1888
|
var r = e.bysetpos[t];
|
|
@@ -1892,13 +1892,13 @@ function pg(n) {
|
|
|
1892
1892
|
}
|
|
1893
1893
|
if (!(e.byweekno || V(e.byweekno) || V(e.byyearday) || e.bymonthday || V(e.bymonthday) || G(e.byweekday) || G(e.byeaster)))
|
|
1894
1894
|
switch (e.freq) {
|
|
1895
|
-
case
|
|
1895
|
+
case L.YEARLY:
|
|
1896
1896
|
e.bymonth || (e.bymonth = e.dtstart.getUTCMonth() + 1), e.bymonthday = e.dtstart.getUTCDate();
|
|
1897
1897
|
break;
|
|
1898
|
-
case
|
|
1898
|
+
case L.MONTHLY:
|
|
1899
1899
|
e.bymonthday = e.dtstart.getUTCDate();
|
|
1900
1900
|
break;
|
|
1901
|
-
case
|
|
1901
|
+
case L.WEEKLY:
|
|
1902
1902
|
e.byweekday = [Ye(e.dtstart)];
|
|
1903
1903
|
break;
|
|
1904
1904
|
}
|
|
@@ -1918,7 +1918,7 @@ function pg(n) {
|
|
|
1918
1918
|
else if (gn(e.byweekday))
|
|
1919
1919
|
e.byweekday = [ee.fromStr(e.byweekday).weekday], e.bynweekday = null;
|
|
1920
1920
|
else if (e.byweekday instanceof ee)
|
|
1921
|
-
!e.byweekday.n || e.freq >
|
|
1921
|
+
!e.byweekday.n || e.freq > L.MONTHLY ? (e.byweekday = [e.byweekday.weekday], e.bynweekday = null) : (e.bynweekday = [[e.byweekday.weekday, e.byweekday.n]], e.byweekday = null);
|
|
1922
1922
|
else {
|
|
1923
1923
|
for (var o = [], s = [], t = 0; t < e.byweekday.length; t++) {
|
|
1924
1924
|
var a = e.byweekday[t];
|
|
@@ -1929,11 +1929,11 @@ function pg(n) {
|
|
|
1929
1929
|
o.push(ee.fromStr(a).weekday);
|
|
1930
1930
|
continue;
|
|
1931
1931
|
}
|
|
1932
|
-
!a.n || e.freq >
|
|
1932
|
+
!a.n || e.freq > L.MONTHLY ? o.push(a.weekday) : s.push([a.weekday, a.n]);
|
|
1933
1933
|
}
|
|
1934
1934
|
e.byweekday = V(o) ? o : null, e.bynweekday = V(s) ? s : null;
|
|
1935
1935
|
}
|
|
1936
|
-
return G(e.byhour) ? ge(e.byhour) && (e.byhour = [e.byhour]) : e.byhour = e.freq <
|
|
1936
|
+
return G(e.byhour) ? ge(e.byhour) && (e.byhour = [e.byhour]) : e.byhour = e.freq < L.HOURLY ? [e.dtstart.getUTCHours()] : null, G(e.byminute) ? ge(e.byminute) && (e.byminute = [e.byminute]) : e.byminute = e.freq < L.MINUTELY ? [e.dtstart.getUTCMinutes()] : null, G(e.bysecond) ? ge(e.bysecond) && (e.bysecond = [e.bysecond]) : e.bysecond = e.freq < L.SECONDLY ? [e.dtstart.getUTCSeconds()] : null, { parsedOptions: e };
|
|
1937
1937
|
}
|
|
1938
1938
|
function mg(n) {
|
|
1939
1939
|
var e = n.dtstart.getTime() % 1e3;
|
|
@@ -2076,7 +2076,7 @@ function br(n) {
|
|
|
2076
2076
|
if (!(!G(s) || ue(s) && !s.length)) {
|
|
2077
2077
|
switch (o) {
|
|
2078
2078
|
case "FREQ":
|
|
2079
|
-
a =
|
|
2079
|
+
a = L.FREQUENCIES[n.freq];
|
|
2080
2080
|
break;
|
|
2081
2081
|
case "WKST":
|
|
2082
2082
|
ge(s) ? a = new ee(s).toString() : a = s.toString();
|
|
@@ -2104,8 +2104,8 @@ function br(n) {
|
|
|
2104
2104
|
}
|
|
2105
2105
|
}
|
|
2106
2106
|
var d = e.map(function(h) {
|
|
2107
|
-
var
|
|
2108
|
-
return "".concat(
|
|
2107
|
+
var g = h[0], m = h[1];
|
|
2108
|
+
return "".concat(g, "=").concat(m.toString());
|
|
2109
2109
|
}).join(";"), c = "";
|
|
2110
2110
|
return d !== "" && (c = "RRULE:".concat(d)), [t, c].filter(function(h) {
|
|
2111
2111
|
return !!h;
|
|
@@ -2167,32 +2167,32 @@ function Lg(n, e) {
|
|
|
2167
2167
|
s.wnomask = U(0, r + 7);
|
|
2168
2168
|
var a, l, f = a = ae(7 - o + e.wkst, 7);
|
|
2169
2169
|
f >= 4 ? (f = 0, l = s.yearlen + ae(o - e.wkst, 7)) : l = r - f;
|
|
2170
|
-
for (var d = Math.floor(l / 7), c = ae(l, 7), h = Math.floor(d + c / 4),
|
|
2171
|
-
var m = e.byweekno[
|
|
2170
|
+
for (var d = Math.floor(l / 7), c = ae(l, 7), h = Math.floor(d + c / 4), g = 0; g < e.byweekno.length; g++) {
|
|
2171
|
+
var m = e.byweekno[g];
|
|
2172
2172
|
if (m < 0 && (m += h + 1), m > 0 && m <= h) {
|
|
2173
|
-
var
|
|
2174
|
-
m > 1 ? (
|
|
2175
|
-
for (var x = 0; x < 7 && (s.wnomask[
|
|
2173
|
+
var p = void 0;
|
|
2174
|
+
m > 1 ? (p = f + (m - 1) * 7, f !== a && (p -= 7 - a)) : p = f;
|
|
2175
|
+
for (var x = 0; x < 7 && (s.wnomask[p] = 1, p++, s.wdaymask[p] !== e.wkst); x++)
|
|
2176
2176
|
;
|
|
2177
2177
|
}
|
|
2178
2178
|
}
|
|
2179
2179
|
if (q(e.byweekno, 1)) {
|
|
2180
|
-
var
|
|
2181
|
-
if (f !== a && (
|
|
2182
|
-
for (var
|
|
2180
|
+
var p = f + h * 7;
|
|
2181
|
+
if (f !== a && (p -= 7 - a), p < r)
|
|
2182
|
+
for (var g = 0; g < 7 && (s.wnomask[p] = 1, p += 1, s.wdaymask[p] !== e.wkst); g++)
|
|
2183
2183
|
;
|
|
2184
2184
|
}
|
|
2185
2185
|
if (f) {
|
|
2186
|
-
var
|
|
2186
|
+
var $ = void 0;
|
|
2187
2187
|
if (q(e.byweekno, -1))
|
|
2188
|
-
|
|
2188
|
+
$ = -1;
|
|
2189
2189
|
else {
|
|
2190
|
-
var
|
|
2191
|
-
B >= 4 ? (B = 0,
|
|
2190
|
+
var C = Ye(Oe(n - 1, 1, 1)), B = ae(7 - C.valueOf() + e.wkst, 7), A = Qe(n - 1) ? 366 : 365, O = void 0;
|
|
2191
|
+
B >= 4 ? (B = 0, O = A + ae(C - e.wkst, 7)) : O = r - f, $ = Math.floor(52 + ae(O, 7) / 4);
|
|
2192
2192
|
}
|
|
2193
|
-
if (q(e.byweekno,
|
|
2194
|
-
for (var
|
|
2195
|
-
s.wnomask[
|
|
2193
|
+
if (q(e.byweekno, $))
|
|
2194
|
+
for (var p = 0; p < f; p++)
|
|
2195
|
+
s.wnomask[p] = 1;
|
|
2196
2196
|
}
|
|
2197
2197
|
return s;
|
|
2198
2198
|
}
|
|
@@ -2218,27 +2218,27 @@ function _g(n, e, t, r, i, u) {
|
|
|
2218
2218
|
lastmonth: e,
|
|
2219
2219
|
nwdaymask: []
|
|
2220
2220
|
}, s = [];
|
|
2221
|
-
if (u.freq ===
|
|
2221
|
+
if (u.freq === L.YEARLY)
|
|
2222
2222
|
if (pe(u.bymonth))
|
|
2223
2223
|
s = [[0, t]];
|
|
2224
2224
|
else
|
|
2225
2225
|
for (var a = 0; a < u.bymonth.length; a++)
|
|
2226
2226
|
e = u.bymonth[a], s.push(r.slice(e - 1, e + 1));
|
|
2227
|
-
else u.freq ===
|
|
2227
|
+
else u.freq === L.MONTHLY && (s = [r.slice(e - 1, e + 1)]);
|
|
2228
2228
|
if (pe(s))
|
|
2229
2229
|
return o;
|
|
2230
2230
|
o.nwdaymask = U(0, t);
|
|
2231
2231
|
for (var a = 0; a < s.length; a++)
|
|
2232
2232
|
for (var l = s[a], f = l[0], d = l[1] - 1, c = 0; c < u.bynweekday.length; c++) {
|
|
2233
|
-
var h = void 0,
|
|
2234
|
-
|
|
2233
|
+
var h = void 0, g = u.bynweekday[c], m = g[0], p = g[1];
|
|
2234
|
+
p < 0 ? (h = d + (p + 1) * 7, h -= ae(i[h] - m, 7)) : (h = f + (p - 1) * 7, h += ae(7 - i[h] + m, 7)), f <= h && h <= d && (o.nwdaymask[h] = 1);
|
|
2235
2235
|
}
|
|
2236
2236
|
return o;
|
|
2237
2237
|
}
|
|
2238
2238
|
function Ng(n, e) {
|
|
2239
2239
|
e === void 0 && (e = 0);
|
|
2240
|
-
var t = n % 19, r = Math.floor(n / 100), i = n % 100, u = Math.floor(r / 4), o = r % 4, s = Math.floor((r + 8) / 25), a = Math.floor((r - s + 1) / 3), l = Math.floor(19 * t + r - u - a + 15) % 30, f = Math.floor(i / 4), d = i % 4, c = Math.floor(32 + 2 * o + 2 * f - l - d) % 7, h = Math.floor((t + 11 * l + 22 * c) / 451),
|
|
2241
|
-
return [Math.ceil((
|
|
2240
|
+
var t = n % 19, r = Math.floor(n / 100), i = n % 100, u = Math.floor(r / 4), o = r % 4, s = Math.floor((r + 8) / 25), a = Math.floor((r - s + 1) / 3), l = Math.floor(19 * t + r - u - a + 15) % 30, f = Math.floor(i / 4), d = i % 4, c = Math.floor(32 + 2 * o + 2 * f - l - d) % 7, h = Math.floor((t + 11 * l + 22 * c) / 451), g = Math.floor((l + c - 7 * h + 114) / 31), m = (l + c - 7 * h + 114) % 31 + 1, p = Date.UTC(n, g - 1, m + e), x = Date.UTC(n, 0, 1);
|
|
2241
|
+
return [Math.ceil((p - x) / (1e3 * 60 * 60 * 24))];
|
|
2242
2242
|
}
|
|
2243
2243
|
var Fg = (
|
|
2244
2244
|
/** @class */
|
|
@@ -2383,9 +2383,9 @@ function Ug(n, e, t, r, i, u) {
|
|
|
2383
2383
|
var h = u[c];
|
|
2384
2384
|
G(h) && d.push(h);
|
|
2385
2385
|
}
|
|
2386
|
-
var
|
|
2387
|
-
a < 0 ?
|
|
2388
|
-
var m = e[l],
|
|
2386
|
+
var g = void 0;
|
|
2387
|
+
a < 0 ? g = d.slice(a)[0] : g = d[a];
|
|
2388
|
+
var m = e[l], p = qi(i.yearordinal + g), x = zi(p, m);
|
|
2389
2389
|
q(o, x) || o.push(x);
|
|
2390
2390
|
}
|
|
2391
2391
|
return tt(o), o;
|
|
@@ -2397,29 +2397,29 @@ function Gi(n, e) {
|
|
|
2397
2397
|
var a = gg.fromDate(t), l = new Fg(e);
|
|
2398
2398
|
l.rebuild(a.year, a.month);
|
|
2399
2399
|
for (var f = qg(l, a, e); ; ) {
|
|
2400
|
-
var d = l.getdayset(r)(a.year, a.month, a.day), c = d[0], h = d[1],
|
|
2400
|
+
var d = l.getdayset(r)(a.year, a.month, a.day), c = d[0], h = d[1], g = d[2], m = Yg(c, h, g, l, e);
|
|
2401
2401
|
if (V(o))
|
|
2402
|
-
for (var
|
|
2403
|
-
var
|
|
2404
|
-
if (u &&
|
|
2402
|
+
for (var p = Ug(o, f, h, g, l, c), x = 0; x < p.length; x++) {
|
|
2403
|
+
var $ = p[x];
|
|
2404
|
+
if (u && $ > u)
|
|
2405
2405
|
return xe(n);
|
|
2406
|
-
if (
|
|
2407
|
-
var
|
|
2408
|
-
if (!n.accept(
|
|
2406
|
+
if ($ >= t) {
|
|
2407
|
+
var C = $n($, e);
|
|
2408
|
+
if (!n.accept(C) || s && (--s, !s))
|
|
2409
2409
|
return xe(n);
|
|
2410
2410
|
}
|
|
2411
2411
|
}
|
|
2412
2412
|
else
|
|
2413
|
-
for (var x = h; x <
|
|
2413
|
+
for (var x = h; x < g; x++) {
|
|
2414
2414
|
var B = c[x];
|
|
2415
2415
|
if (G(B))
|
|
2416
|
-
for (var
|
|
2417
|
-
var
|
|
2418
|
-
if (u &&
|
|
2416
|
+
for (var A = qi(l.yearordinal + B), O = 0; O < f.length; O++) {
|
|
2417
|
+
var P = f[O], $ = zi(A, P);
|
|
2418
|
+
if (u && $ > u)
|
|
2419
2419
|
return xe(n);
|
|
2420
|
-
if (
|
|
2421
|
-
var
|
|
2422
|
-
if (!n.accept(
|
|
2420
|
+
if ($ >= t) {
|
|
2421
|
+
var C = $n($, e);
|
|
2422
|
+
if (!n.accept(C) || s && (--s, !s))
|
|
2423
2423
|
return xe(n);
|
|
2424
2424
|
}
|
|
2425
2425
|
}
|
|
@@ -2448,7 +2448,7 @@ function Yg(n, e, t, r, i) {
|
|
|
2448
2448
|
}
|
|
2449
2449
|
function qg(n, e, t) {
|
|
2450
2450
|
var r = t.freq, i = t.byhour, u = t.byminute, o = t.bysecond;
|
|
2451
|
-
return Hr(r) ? mg(t) : r >=
|
|
2451
|
+
return Hr(r) ? mg(t) : r >= L.HOURLY && V(i) && !q(i, e.hour) || r >= L.MINUTELY && V(u) && !q(u, e.minute) || r >= L.SECONDLY && V(o) && !q(o, e.second) ? [] : n.gettimeset(r)(e.hour, e.minute, e.second, e.millisecond);
|
|
2452
2452
|
}
|
|
2453
2453
|
var le = {
|
|
2454
2454
|
MO: new ee(0),
|
|
@@ -2478,7 +2478,7 @@ var le = {
|
|
|
2478
2478
|
byminute: null,
|
|
2479
2479
|
bysecond: null,
|
|
2480
2480
|
byeaster: null
|
|
2481
|
-
}, zg = Object.keys(Wr),
|
|
2481
|
+
}, zg = Object.keys(Wr), L = (
|
|
2482
2482
|
/** @class */
|
|
2483
2483
|
function() {
|
|
2484
2484
|
function n(e, t) {
|
|
@@ -2550,8 +2550,8 @@ var le = {
|
|
|
2550
2550
|
function Hg(n, e, t, r, i, u) {
|
|
2551
2551
|
var o = {}, s = n.accept;
|
|
2552
2552
|
function a(c, h) {
|
|
2553
|
-
t.forEach(function(
|
|
2554
|
-
|
|
2553
|
+
t.forEach(function(g) {
|
|
2554
|
+
g.between(c, h, !0).forEach(function(m) {
|
|
2555
2555
|
o[Number(m)] = !0;
|
|
2556
2556
|
});
|
|
2557
2557
|
});
|
|
@@ -2599,24 +2599,24 @@ function Wg(n, e) {
|
|
|
2599
2599
|
return l.forEach(function(f) {
|
|
2600
2600
|
var d;
|
|
2601
2601
|
if (f) {
|
|
2602
|
-
var c = Jg(f), h = c.name,
|
|
2602
|
+
var c = Jg(f), h = c.name, g = c.parms, m = c.value;
|
|
2603
2603
|
switch (h.toUpperCase()) {
|
|
2604
2604
|
case "RRULE":
|
|
2605
|
-
if (
|
|
2606
|
-
throw new Error("unsupported RRULE parm: ".concat(
|
|
2605
|
+
if (g.length)
|
|
2606
|
+
throw new Error("unsupported RRULE parm: ".concat(g.join(",")));
|
|
2607
2607
|
t.push(mr(f));
|
|
2608
2608
|
break;
|
|
2609
2609
|
case "RDATE":
|
|
2610
|
-
var
|
|
2611
|
-
x && !a && (a = x), r = r.concat(Bn(m,
|
|
2610
|
+
var p = (d = /RDATE(?:;TZID=([^:=]+))?/i.exec(f)) !== null && d !== void 0 ? d : [], x = p[1];
|
|
2611
|
+
x && !a && (a = x), r = r.concat(Bn(m, g));
|
|
2612
2612
|
break;
|
|
2613
2613
|
case "EXRULE":
|
|
2614
|
-
if (
|
|
2615
|
-
throw new Error("unsupported EXRULE parm: ".concat(
|
|
2614
|
+
if (g.length)
|
|
2615
|
+
throw new Error("unsupported EXRULE parm: ".concat(g.join(",")));
|
|
2616
2616
|
i.push(mr(m));
|
|
2617
2617
|
break;
|
|
2618
2618
|
case "EXDATE":
|
|
2619
|
-
u = u.concat(Bn(m,
|
|
2619
|
+
u = u.concat(Bn(m, g));
|
|
2620
2620
|
break;
|
|
2621
2621
|
case "DTSTART":
|
|
2622
2622
|
break;
|
|
@@ -2638,17 +2638,17 @@ function Gg(n, e) {
|
|
|
2638
2638
|
if (e.compatible && (e.forceset = !0, e.unfold = !0), e.forceset || r.length > 1 || i.length || u.length || o.length) {
|
|
2639
2639
|
var f = new Xg(l);
|
|
2640
2640
|
return f.dtstart(s), f.tzid(a || void 0), r.forEach(function(c) {
|
|
2641
|
-
f.rrule(new
|
|
2641
|
+
f.rrule(new L(nr(c, s, a), l));
|
|
2642
2642
|
}), i.forEach(function(c) {
|
|
2643
2643
|
f.rdate(c);
|
|
2644
2644
|
}), u.forEach(function(c) {
|
|
2645
|
-
f.exrule(new
|
|
2645
|
+
f.exrule(new L(nr(c, s, a), l));
|
|
2646
2646
|
}), o.forEach(function(c) {
|
|
2647
2647
|
f.exdate(c);
|
|
2648
2648
|
}), e.compatible && e.dtstart && f.rdate(s), f;
|
|
2649
2649
|
}
|
|
2650
2650
|
var d = r[0] || {};
|
|
2651
|
-
return new
|
|
2651
|
+
return new L(nr(d, d.dtstart || e.dtstart || s, d.tzid || e.tzid || a), l);
|
|
2652
2652
|
}
|
|
2653
2653
|
function Sn(n, e) {
|
|
2654
2654
|
return e === void 0 && (e = {}), Gg(n, Kg(e));
|
|
@@ -2784,10 +2784,10 @@ var Xg = (
|
|
|
2784
2784
|
return t.exdate(new Date(r.getTime()));
|
|
2785
2785
|
}), t;
|
|
2786
2786
|
}, e;
|
|
2787
|
-
}(
|
|
2787
|
+
}(L)
|
|
2788
2788
|
);
|
|
2789
2789
|
function Mn(n, e) {
|
|
2790
|
-
if (!(n instanceof
|
|
2790
|
+
if (!(n instanceof L))
|
|
2791
2791
|
throw new TypeError(String(n) + " is not RRule instance");
|
|
2792
2792
|
q(e.map(String), String(n)) || e.push(n);
|
|
2793
2793
|
}
|
|
@@ -3187,8 +3187,8 @@ class Pt extends Vt {
|
|
|
3187
3187
|
}
|
|
3188
3188
|
const d = this.resolve(e, t);
|
|
3189
3189
|
let c = d && d.res;
|
|
3190
|
-
const h = d && d.usedKey || o,
|
|
3191
|
-
if (
|
|
3190
|
+
const h = d && d.usedKey || o, g = d && d.exactUsedKey || o, m = Object.prototype.toString.apply(c), p = ["[object Number]", "[object Function]", "[object RegExp]"], x = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, $ = !this.i18nFormat || this.i18nFormat.handleAsObject;
|
|
3191
|
+
if ($ && c && (typeof c != "string" && typeof c != "boolean" && typeof c != "number") && p.indexOf(m) < 0 && !(typeof x == "string" && Array.isArray(c))) {
|
|
3192
3192
|
if (!t.returnObjects && !this.options.returnObjects) {
|
|
3193
3193
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
3194
3194
|
const B = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(h, c, {
|
|
@@ -3198,53 +3198,53 @@ class Pt extends Vt {
|
|
|
3198
3198
|
return i ? (d.res = B, d.usedParams = this.getUsedParamsDetails(t), d) : B;
|
|
3199
3199
|
}
|
|
3200
3200
|
if (u) {
|
|
3201
|
-
const B = Array.isArray(c),
|
|
3202
|
-
for (const
|
|
3203
|
-
if (Object.prototype.hasOwnProperty.call(c,
|
|
3204
|
-
const F = `${
|
|
3205
|
-
|
|
3201
|
+
const B = Array.isArray(c), A = B ? [] : {}, O = B ? g : h;
|
|
3202
|
+
for (const P in c)
|
|
3203
|
+
if (Object.prototype.hasOwnProperty.call(c, P)) {
|
|
3204
|
+
const F = `${O}${u}${P}`;
|
|
3205
|
+
A[P] = this.translate(F, {
|
|
3206
3206
|
...t,
|
|
3207
3207
|
joinArrays: !1,
|
|
3208
3208
|
ns: s
|
|
3209
|
-
}),
|
|
3209
|
+
}), A[P] === F && (A[P] = c[P]);
|
|
3210
3210
|
}
|
|
3211
|
-
c =
|
|
3211
|
+
c = A;
|
|
3212
3212
|
}
|
|
3213
|
-
} else if (
|
|
3213
|
+
} else if ($ && typeof x == "string" && Array.isArray(c))
|
|
3214
3214
|
c = c.join(x), c && (c = this.extendTranslation(c, e, t, r));
|
|
3215
3215
|
else {
|
|
3216
|
-
let B = !1,
|
|
3217
|
-
const
|
|
3216
|
+
let B = !1, A = !1;
|
|
3217
|
+
const O = t.count !== void 0 && typeof t.count != "string", P = Pt.hasDefaultValue(t), F = O ? this.pluralResolver.getSuffix(l, t.count, t) : "", _ = t.ordinal && O ? this.pluralResolver.getSuffix(l, t.count, {
|
|
3218
3218
|
ordinal: !1
|
|
3219
|
-
}) : "",
|
|
3220
|
-
!this.isValidLookup(c) &&
|
|
3221
|
-
const
|
|
3222
|
-
if (
|
|
3223
|
-
if (this.logger.log(
|
|
3224
|
-
const
|
|
3219
|
+
}) : "", I = O && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), b = I && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${F}`] || t[`defaultValue${_}`] || t.defaultValue;
|
|
3220
|
+
!this.isValidLookup(c) && P && (B = !0, c = b), this.isValidLookup(c) || (A = !0, c = o);
|
|
3221
|
+
const y = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && A ? void 0 : c, v = P && b !== c && this.options.updateMissing;
|
|
3222
|
+
if (A || B || v) {
|
|
3223
|
+
if (this.logger.log(v ? "updateKey" : "missingKey", l, a, o, v ? b : c), u) {
|
|
3224
|
+
const M = this.resolve(o, {
|
|
3225
3225
|
...t,
|
|
3226
3226
|
keySeparator: !1
|
|
3227
3227
|
});
|
|
3228
|
-
|
|
3228
|
+
M && M.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
|
|
3229
3229
|
}
|
|
3230
|
-
let
|
|
3231
|
-
const
|
|
3232
|
-
if (this.options.saveMissingTo === "fallback" &&
|
|
3233
|
-
for (let
|
|
3234
|
-
|
|
3235
|
-
else this.options.saveMissingTo === "all" ?
|
|
3236
|
-
const T = (
|
|
3237
|
-
const z =
|
|
3238
|
-
this.options.missingKeyHandler ? this.options.missingKeyHandler(
|
|
3230
|
+
let k = [];
|
|
3231
|
+
const D = this.languageUtils.getFallbackCodes(this.options.fallbackLng, t.lng || this.language);
|
|
3232
|
+
if (this.options.saveMissingTo === "fallback" && D && D[0])
|
|
3233
|
+
for (let M = 0; M < D.length; M++)
|
|
3234
|
+
k.push(D[M]);
|
|
3235
|
+
else this.options.saveMissingTo === "all" ? k = this.languageUtils.toResolveHierarchy(t.lng || this.language) : k.push(t.lng || this.language);
|
|
3236
|
+
const T = (M, R, N) => {
|
|
3237
|
+
const z = P && N !== c ? N : y;
|
|
3238
|
+
this.options.missingKeyHandler ? this.options.missingKeyHandler(M, a, R, z, v, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(M, a, R, z, v, t), this.emit("missingKey", M, a, R, c);
|
|
3239
3239
|
};
|
|
3240
|
-
this.options.saveMissing && (this.options.saveMissingPlurals &&
|
|
3241
|
-
const R = this.pluralResolver.getSuffixes(
|
|
3242
|
-
|
|
3243
|
-
T([
|
|
3240
|
+
this.options.saveMissing && (this.options.saveMissingPlurals && O ? k.forEach((M) => {
|
|
3241
|
+
const R = this.pluralResolver.getSuffixes(M, t);
|
|
3242
|
+
I && t[`defaultValue${this.options.pluralSeparator}zero`] && R.indexOf(`${this.options.pluralSeparator}zero`) < 0 && R.push(`${this.options.pluralSeparator}zero`), R.forEach((N) => {
|
|
3243
|
+
T([M], o + N, t[`defaultValue${N}`] || b);
|
|
3244
3244
|
});
|
|
3245
|
-
}) : T(
|
|
3245
|
+
}) : T(k, o, b));
|
|
3246
3246
|
}
|
|
3247
|
-
c = this.extendTranslation(c, e, t, d, r),
|
|
3247
|
+
c = this.extendTranslation(c, e, t, d, r), A && c === o && this.options.appendNamespaceToMissingKey && (c = `${a}:${o}`), (A || B) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? c = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${a}:${o}` : o, B ? c : void 0) : c = this.options.parseMissingKeyHandler(c));
|
|
3248
3248
|
}
|
|
3249
3249
|
return i ? (d.res = c, d.usedParams = this.getUsedParamsDetails(t), d) : c;
|
|
3250
3250
|
}
|
|
@@ -3280,8 +3280,8 @@ class Pt extends Vt {
|
|
|
3280
3280
|
f < h && (r.nest = !1);
|
|
3281
3281
|
}
|
|
3282
3282
|
!r.lng && this.options.compatibilityAPI !== "v1" && i && i.res && (r.lng = i.usedLng), r.nest !== !1 && (e = this.interpolator.nest(e, function() {
|
|
3283
|
-
for (var c = arguments.length, h = new Array(c),
|
|
3284
|
-
h[
|
|
3283
|
+
for (var c = arguments.length, h = new Array(c), g = 0; g < c; g++)
|
|
3284
|
+
h[g] = arguments[g];
|
|
3285
3285
|
return u && u[0] === h[0] && !r.context ? (o.logger.warn(`It seems you are nesting recursively key: ${h[0]} in key: ${t[0]}`), null) : o.translate(...h, t);
|
|
3286
3286
|
}, r)), r.interpolation && this.interpolator.reset();
|
|
3287
3287
|
}
|
|
@@ -3302,26 +3302,26 @@ class Pt extends Vt {
|
|
|
3302
3302
|
i = f;
|
|
3303
3303
|
let d = l.namespaces;
|
|
3304
3304
|
this.options.fallbackNS && (d = d.concat(this.options.fallbackNS));
|
|
3305
|
-
const c = t.count !== void 0 && typeof t.count != "string", h = c && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(),
|
|
3306
|
-
d.forEach((
|
|
3307
|
-
this.isValidLookup(r) || (s =
|
|
3305
|
+
const c = t.count !== void 0 && typeof t.count != "string", h = c && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), g = t.context !== void 0 && (typeof t.context == "string" || typeof t.context == "number") && t.context !== "", m = t.lngs ? t.lngs : this.languageUtils.toResolveHierarchy(t.lng || this.language, t.fallbackLng);
|
|
3306
|
+
d.forEach((p) => {
|
|
3307
|
+
this.isValidLookup(r) || (s = p, !Ln[`${m[0]}-${p}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(s) && (Ln[`${m[0]}-${p}`] = !0, this.logger.warn(`key "${i}" for languages "${m.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), m.forEach((x) => {
|
|
3308
3308
|
if (this.isValidLookup(r)) return;
|
|
3309
3309
|
o = x;
|
|
3310
|
-
const
|
|
3310
|
+
const $ = [f];
|
|
3311
3311
|
if (this.i18nFormat && this.i18nFormat.addLookupKeys)
|
|
3312
|
-
this.i18nFormat.addLookupKeys(
|
|
3312
|
+
this.i18nFormat.addLookupKeys($, f, x, p, t);
|
|
3313
3313
|
else {
|
|
3314
3314
|
let B;
|
|
3315
3315
|
c && (B = this.pluralResolver.getSuffix(x, t.count, t));
|
|
3316
|
-
const
|
|
3317
|
-
if (c && (
|
|
3318
|
-
const
|
|
3319
|
-
|
|
3316
|
+
const A = `${this.options.pluralSeparator}zero`, O = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
|
3317
|
+
if (c && ($.push(f + B), t.ordinal && B.indexOf(O) === 0 && $.push(f + B.replace(O, this.options.pluralSeparator)), h && $.push(f + A)), g) {
|
|
3318
|
+
const P = `${f}${this.options.contextSeparator}${t.context}`;
|
|
3319
|
+
$.push(P), c && ($.push(P + B), t.ordinal && B.indexOf(O) === 0 && $.push(P + B.replace(O, this.options.pluralSeparator)), h && $.push(P + A));
|
|
3320
3320
|
}
|
|
3321
3321
|
}
|
|
3322
|
-
let
|
|
3323
|
-
for (;
|
|
3324
|
-
this.isValidLookup(r) || (u =
|
|
3322
|
+
let C;
|
|
3323
|
+
for (; C = $.pop(); )
|
|
3324
|
+
this.isValidLookup(r) || (u = C, r = this.getResource(x, p, C, t));
|
|
3325
3325
|
}));
|
|
3326
3326
|
});
|
|
3327
3327
|
}), {
|
|
@@ -3681,13 +3681,13 @@ class bp {
|
|
|
3681
3681
|
unescapePrefix: d,
|
|
3682
3682
|
nestingPrefix: c,
|
|
3683
3683
|
nestingPrefixEscaped: h,
|
|
3684
|
-
nestingSuffix:
|
|
3684
|
+
nestingSuffix: g,
|
|
3685
3685
|
nestingSuffixEscaped: m,
|
|
3686
|
-
nestingOptionsSeparator:
|
|
3686
|
+
nestingOptionsSeparator: p,
|
|
3687
3687
|
maxReplaces: x,
|
|
3688
|
-
alwaysFormat:
|
|
3688
|
+
alwaysFormat: $
|
|
3689
3689
|
} = e.interpolation;
|
|
3690
|
-
this.escape = t !== void 0 ? t : op, this.escapeValue = r !== void 0 ? r : !0, this.useRawValueToEscape = i !== void 0 ? i : !1, this.prefix = u ? _e(u) : o || "{{", this.suffix = s ? _e(s) : a || "}}", this.formatSeparator = l || ",", this.unescapePrefix = f ? "" : d || "-", this.unescapeSuffix = this.unescapePrefix ? "" : f || "", this.nestingPrefix = c ? _e(c) : h || _e("$t("), this.nestingSuffix =
|
|
3690
|
+
this.escape = t !== void 0 ? t : op, this.escapeValue = r !== void 0 ? r : !0, this.useRawValueToEscape = i !== void 0 ? i : !1, this.prefix = u ? _e(u) : o || "{{", this.suffix = s ? _e(s) : a || "}}", this.formatSeparator = l || ",", this.unescapePrefix = f ? "" : d || "-", this.unescapeSuffix = this.unescapePrefix ? "" : f || "", this.nestingPrefix = c ? _e(c) : h || _e("$t("), this.nestingSuffix = g ? _e(g) : m || _e(")"), this.nestingOptionsSeparator = p || ",", this.maxReplaces = x || 1e3, this.alwaysFormat = $ !== void 0 ? $ : !1, this.resetRegExp();
|
|
3691
3691
|
}
|
|
3692
3692
|
reset() {
|
|
3693
3693
|
this.options && this.init(this.options);
|
|
@@ -3699,35 +3699,35 @@ class bp {
|
|
|
3699
3699
|
interpolate(e, t, r, i) {
|
|
3700
3700
|
let u, o, s;
|
|
3701
3701
|
const a = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {};
|
|
3702
|
-
function l(
|
|
3703
|
-
return
|
|
3702
|
+
function l(g) {
|
|
3703
|
+
return g.replace(/\$/g, "$$$$");
|
|
3704
3704
|
}
|
|
3705
|
-
const f = (
|
|
3706
|
-
if (
|
|
3707
|
-
const
|
|
3708
|
-
return this.alwaysFormat ? this.format(
|
|
3705
|
+
const f = (g) => {
|
|
3706
|
+
if (g.indexOf(this.formatSeparator) < 0) {
|
|
3707
|
+
const $ = Nn(t, a, g, this.options.keySeparator, this.options.ignoreJSONStructure);
|
|
3708
|
+
return this.alwaysFormat ? this.format($, void 0, r, {
|
|
3709
3709
|
...i,
|
|
3710
3710
|
...t,
|
|
3711
|
-
interpolationkey:
|
|
3712
|
-
}) :
|
|
3711
|
+
interpolationkey: g
|
|
3712
|
+
}) : $;
|
|
3713
3713
|
}
|
|
3714
|
-
const m =
|
|
3715
|
-
return this.format(Nn(t, a,
|
|
3714
|
+
const m = g.split(this.formatSeparator), p = m.shift().trim(), x = m.join(this.formatSeparator).trim();
|
|
3715
|
+
return this.format(Nn(t, a, p, this.options.keySeparator, this.options.ignoreJSONStructure), x, r, {
|
|
3716
3716
|
...i,
|
|
3717
3717
|
...t,
|
|
3718
|
-
interpolationkey:
|
|
3718
|
+
interpolationkey: p
|
|
3719
3719
|
});
|
|
3720
3720
|
};
|
|
3721
3721
|
this.resetRegExp();
|
|
3722
3722
|
const d = i && i.missingInterpolationHandler || this.options.missingInterpolationHandler, c = i && i.interpolation && i.interpolation.skipOnVariables !== void 0 ? i.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
|
|
3723
3723
|
return [{
|
|
3724
3724
|
regex: this.regexpUnescape,
|
|
3725
|
-
safeValue: (
|
|
3725
|
+
safeValue: (g) => l(g)
|
|
3726
3726
|
}, {
|
|
3727
3727
|
regex: this.regexp,
|
|
3728
|
-
safeValue: (
|
|
3729
|
-
}].forEach((
|
|
3730
|
-
for (s = 0; u =
|
|
3728
|
+
safeValue: (g) => this.escapeValue ? l(this.escape(g)) : l(g)
|
|
3729
|
+
}].forEach((g) => {
|
|
3730
|
+
for (s = 0; u = g.regex.exec(e); ) {
|
|
3731
3731
|
const m = u[1].trim();
|
|
3732
3732
|
if (o = f(m), o === void 0)
|
|
3733
3733
|
if (typeof d == "function") {
|
|
@@ -3741,8 +3741,8 @@ class bp {
|
|
|
3741
3741
|
} else
|
|
3742
3742
|
this.logger.warn(`missed to pass in variable ${m} for interpolating ${e}`), o = "";
|
|
3743
3743
|
else typeof o != "string" && !this.useRawValueToEscape && (o = Rn(o));
|
|
3744
|
-
const
|
|
3745
|
-
if (e = e.replace(u[0],
|
|
3744
|
+
const p = g.safeValue(o);
|
|
3745
|
+
if (e = e.replace(u[0], p), c ? (g.regex.lastIndex += o.length, g.regex.lastIndex -= u[0].length) : g.regex.lastIndex = 0, s++, s >= this.maxReplaces)
|
|
3746
3746
|
break;
|
|
3747
3747
|
}
|
|
3748
3748
|
}), e;
|
|
@@ -3755,8 +3755,8 @@ class bp {
|
|
|
3755
3755
|
const d = a.split(new RegExp(`${f}[ ]*{`));
|
|
3756
3756
|
let c = `{${d[1]}`;
|
|
3757
3757
|
a = d[0], c = this.interpolate(c, o);
|
|
3758
|
-
const h = c.match(/'/g),
|
|
3759
|
-
(h && h.length % 2 === 0 && !
|
|
3758
|
+
const h = c.match(/'/g), g = c.match(/"/g);
|
|
3759
|
+
(h && h.length % 2 === 0 && !g || g.length % 2 !== 0) && (c = c.replace(/'/g, '"'));
|
|
3760
3760
|
try {
|
|
3761
3761
|
o = JSON.parse(c), l && (o = {
|
|
3762
3762
|
...l,
|
|
@@ -4138,12 +4138,12 @@ class rt extends Vt {
|
|
|
4138
4138
|
}), f && (!this.options.interpolation.format || this.options.interpolation.format === i.interpolation.format) && (c.formatter = u(f), c.formatter.init(c, this.options), this.options.interpolation.format = c.formatter.format.bind(c.formatter)), c.interpolator = new bp(this.options), c.utils = {
|
|
4139
4139
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
|
4140
4140
|
}, c.backendConnector = new xp(u(this.modules.backend), c.resourceStore, c, this.options), c.backendConnector.on("*", function(h) {
|
|
4141
|
-
for (var
|
|
4142
|
-
m[
|
|
4141
|
+
for (var g = arguments.length, m = new Array(g > 1 ? g - 1 : 0), p = 1; p < g; p++)
|
|
4142
|
+
m[p - 1] = arguments[p];
|
|
4143
4143
|
e.emit(h, ...m);
|
|
4144
4144
|
}), this.modules.languageDetector && (c.languageDetector = u(this.modules.languageDetector), c.languageDetector.init && c.languageDetector.init(c, this.options.detection, this.options)), this.modules.i18nFormat && (c.i18nFormat = u(this.modules.i18nFormat), c.i18nFormat.init && c.i18nFormat.init(this)), this.translator = new Pt(this.services, this.options), this.translator.on("*", function(h) {
|
|
4145
|
-
for (var
|
|
4146
|
-
m[
|
|
4145
|
+
for (var g = arguments.length, m = new Array(g > 1 ? g - 1 : 0), p = 1; p < g; p++)
|
|
4146
|
+
m[p - 1] = arguments[p];
|
|
4147
4147
|
e.emit(h, ...m);
|
|
4148
4148
|
}), this.modules.external.forEach((h) => {
|
|
4149
4149
|
h.init && h.init(this);
|
|
@@ -4246,7 +4246,7 @@ class rt extends Vt {
|
|
|
4246
4246
|
a.lng = a.lng || u.lng, a.lngs = a.lngs || u.lngs, a.ns = a.ns || u.ns, a.keyPrefix = a.keyPrefix || r || u.keyPrefix;
|
|
4247
4247
|
const c = i.options.keySeparator || ".";
|
|
4248
4248
|
let h;
|
|
4249
|
-
return a.keyPrefix && Array.isArray(o) ? h = o.map((
|
|
4249
|
+
return a.keyPrefix && Array.isArray(o) ? h = o.map((g) => `${a.keyPrefix}${c}${g}`) : h = a.keyPrefix ? `${a.keyPrefix}${c}${o}` : o, i.t(h, a);
|
|
4250
4250
|
};
|
|
4251
4251
|
return typeof e == "string" ? u.lng = e : u.lngs = e, u.ns = t, u.keyPrefix = r, u;
|
|
4252
4252
|
}
|
|
@@ -5717,23 +5717,23 @@ var vr = {};
|
|
|
5717
5717
|
n.default = i;
|
|
5718
5718
|
})(vr);
|
|
5719
5719
|
(function(n) {
|
|
5720
|
-
var e = ne && ne.__createBinding || (Object.create ? function(b,
|
|
5721
|
-
|
|
5722
|
-
var
|
|
5723
|
-
(!
|
|
5724
|
-
return
|
|
5725
|
-
} }), Object.defineProperty(b,
|
|
5726
|
-
} : function(b,
|
|
5727
|
-
|
|
5728
|
-
}), t = ne && ne.__setModuleDefault || (Object.create ? function(b,
|
|
5729
|
-
Object.defineProperty(b, "default", { enumerable: !0, value:
|
|
5730
|
-
} : function(b,
|
|
5731
|
-
b.default =
|
|
5720
|
+
var e = ne && ne.__createBinding || (Object.create ? function(b, w, y, v) {
|
|
5721
|
+
v === void 0 && (v = y);
|
|
5722
|
+
var k = Object.getOwnPropertyDescriptor(w, y);
|
|
5723
|
+
(!k || ("get" in k ? !w.__esModule : k.writable || k.configurable)) && (k = { enumerable: !0, get: function() {
|
|
5724
|
+
return w[y];
|
|
5725
|
+
} }), Object.defineProperty(b, v, k);
|
|
5726
|
+
} : function(b, w, y, v) {
|
|
5727
|
+
v === void 0 && (v = y), b[v] = w[y];
|
|
5728
|
+
}), t = ne && ne.__setModuleDefault || (Object.create ? function(b, w) {
|
|
5729
|
+
Object.defineProperty(b, "default", { enumerable: !0, value: w });
|
|
5730
|
+
} : function(b, w) {
|
|
5731
|
+
b.default = w;
|
|
5732
5732
|
}), r = ne && ne.__importStar || function(b) {
|
|
5733
5733
|
if (b && b.__esModule) return b;
|
|
5734
|
-
var
|
|
5735
|
-
if (b != null) for (var
|
|
5736
|
-
return t(
|
|
5734
|
+
var w = {};
|
|
5735
|
+
if (b != null) for (var y in b) y !== "default" && Object.prototype.hasOwnProperty.call(b, y) && e(w, b, y);
|
|
5736
|
+
return t(w, b), w;
|
|
5737
5737
|
}, i = ne && ne.__importDefault || function(b) {
|
|
5738
5738
|
return b && b.__esModule ? b : { default: b };
|
|
5739
5739
|
};
|
|
@@ -5764,173 +5764,173 @@ var vr = {};
|
|
|
5764
5764
|
function h(b) {
|
|
5765
5765
|
return b >= l.UPPER_A && b <= l.UPPER_F || b >= l.LOWER_A && b <= l.LOWER_F;
|
|
5766
5766
|
}
|
|
5767
|
-
function
|
|
5767
|
+
function g(b) {
|
|
5768
5768
|
return b >= l.UPPER_A && b <= l.UPPER_Z || b >= l.LOWER_A && b <= l.LOWER_Z || c(b);
|
|
5769
5769
|
}
|
|
5770
5770
|
function m(b) {
|
|
5771
|
-
return b === l.EQUALS ||
|
|
5771
|
+
return b === l.EQUALS || g(b);
|
|
5772
5772
|
}
|
|
5773
|
-
var
|
|
5773
|
+
var p;
|
|
5774
5774
|
(function(b) {
|
|
5775
5775
|
b[b.EntityStart = 0] = "EntityStart", b[b.NumericStart = 1] = "NumericStart", b[b.NumericDecimal = 2] = "NumericDecimal", b[b.NumericHex = 3] = "NumericHex", b[b.NamedEntity = 4] = "NamedEntity";
|
|
5776
|
-
})(
|
|
5776
|
+
})(p || (p = {}));
|
|
5777
5777
|
var x;
|
|
5778
5778
|
(function(b) {
|
|
5779
5779
|
b[b.Legacy = 0] = "Legacy", b[b.Strict = 1] = "Strict", b[b.Attribute = 2] = "Attribute";
|
|
5780
5780
|
})(x = n.DecodingMode || (n.DecodingMode = {}));
|
|
5781
|
-
var
|
|
5781
|
+
var $ = (
|
|
5782
5782
|
/** @class */
|
|
5783
5783
|
function() {
|
|
5784
|
-
function b(
|
|
5785
|
-
this.decodeTree =
|
|
5784
|
+
function b(w, y, v) {
|
|
5785
|
+
this.decodeTree = w, this.emitCodePoint = y, this.errors = v, this.state = p.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = x.Strict;
|
|
5786
5786
|
}
|
|
5787
|
-
return b.prototype.startEntity = function(
|
|
5788
|
-
this.decodeMode =
|
|
5789
|
-
}, b.prototype.write = function(
|
|
5787
|
+
return b.prototype.startEntity = function(w) {
|
|
5788
|
+
this.decodeMode = w, this.state = p.EntityStart, this.result = 0, this.treeIndex = 0, this.excess = 1, this.consumed = 1;
|
|
5789
|
+
}, b.prototype.write = function(w, y) {
|
|
5790
5790
|
switch (this.state) {
|
|
5791
|
-
case
|
|
5792
|
-
return
|
|
5793
|
-
case
|
|
5794
|
-
return this.stateNumericStart(
|
|
5795
|
-
case
|
|
5796
|
-
return this.stateNumericDecimal(
|
|
5797
|
-
case
|
|
5798
|
-
return this.stateNumericHex(
|
|
5799
|
-
case
|
|
5800
|
-
return this.stateNamedEntity(
|
|
5791
|
+
case p.EntityStart:
|
|
5792
|
+
return w.charCodeAt(y) === l.NUM ? (this.state = p.NumericStart, this.consumed += 1, this.stateNumericStart(w, y + 1)) : (this.state = p.NamedEntity, this.stateNamedEntity(w, y));
|
|
5793
|
+
case p.NumericStart:
|
|
5794
|
+
return this.stateNumericStart(w, y);
|
|
5795
|
+
case p.NumericDecimal:
|
|
5796
|
+
return this.stateNumericDecimal(w, y);
|
|
5797
|
+
case p.NumericHex:
|
|
5798
|
+
return this.stateNumericHex(w, y);
|
|
5799
|
+
case p.NamedEntity:
|
|
5800
|
+
return this.stateNamedEntity(w, y);
|
|
5801
5801
|
}
|
|
5802
|
-
}, b.prototype.stateNumericStart = function(
|
|
5803
|
-
return
|
|
5804
|
-
}, b.prototype.addToNumericResult = function(
|
|
5805
|
-
if (
|
|
5806
|
-
var
|
|
5807
|
-
this.result = this.result * Math.pow(
|
|
5802
|
+
}, b.prototype.stateNumericStart = function(w, y) {
|
|
5803
|
+
return y >= w.length ? -1 : (w.charCodeAt(y) | f) === l.LOWER_X ? (this.state = p.NumericHex, this.consumed += 1, this.stateNumericHex(w, y + 1)) : (this.state = p.NumericDecimal, this.stateNumericDecimal(w, y));
|
|
5804
|
+
}, b.prototype.addToNumericResult = function(w, y, v, k) {
|
|
5805
|
+
if (y !== v) {
|
|
5806
|
+
var D = v - y;
|
|
5807
|
+
this.result = this.result * Math.pow(k, D) + parseInt(w.substr(y, D), k), this.consumed += D;
|
|
5808
5808
|
}
|
|
5809
|
-
}, b.prototype.stateNumericHex = function(
|
|
5810
|
-
for (var
|
|
5811
|
-
var
|
|
5812
|
-
if (c(
|
|
5813
|
-
|
|
5809
|
+
}, b.prototype.stateNumericHex = function(w, y) {
|
|
5810
|
+
for (var v = y; y < w.length; ) {
|
|
5811
|
+
var k = w.charCodeAt(y);
|
|
5812
|
+
if (c(k) || h(k))
|
|
5813
|
+
y += 1;
|
|
5814
5814
|
else
|
|
5815
|
-
return this.addToNumericResult(
|
|
5815
|
+
return this.addToNumericResult(w, v, y, 16), this.emitNumericEntity(k, 3);
|
|
5816
5816
|
}
|
|
5817
|
-
return this.addToNumericResult(
|
|
5818
|
-
}, b.prototype.stateNumericDecimal = function(
|
|
5819
|
-
for (var
|
|
5820
|
-
var
|
|
5821
|
-
if (c(
|
|
5822
|
-
|
|
5817
|
+
return this.addToNumericResult(w, v, y, 16), -1;
|
|
5818
|
+
}, b.prototype.stateNumericDecimal = function(w, y) {
|
|
5819
|
+
for (var v = y; y < w.length; ) {
|
|
5820
|
+
var k = w.charCodeAt(y);
|
|
5821
|
+
if (c(k))
|
|
5822
|
+
y += 1;
|
|
5823
5823
|
else
|
|
5824
|
-
return this.addToNumericResult(
|
|
5824
|
+
return this.addToNumericResult(w, v, y, 10), this.emitNumericEntity(k, 2);
|
|
5825
5825
|
}
|
|
5826
|
-
return this.addToNumericResult(
|
|
5827
|
-
}, b.prototype.emitNumericEntity = function(
|
|
5828
|
-
var
|
|
5829
|
-
if (this.consumed <=
|
|
5830
|
-
return (
|
|
5831
|
-
if (
|
|
5826
|
+
return this.addToNumericResult(w, v, y, 10), -1;
|
|
5827
|
+
}, b.prototype.emitNumericEntity = function(w, y) {
|
|
5828
|
+
var v;
|
|
5829
|
+
if (this.consumed <= y)
|
|
5830
|
+
return (v = this.errors) === null || v === void 0 || v.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
|
|
5831
|
+
if (w === l.SEMI)
|
|
5832
5832
|
this.consumed += 1;
|
|
5833
5833
|
else if (this.decodeMode === x.Strict)
|
|
5834
5834
|
return 0;
|
|
5835
|
-
return this.emitCodePoint((0, s.replaceCodePoint)(this.result), this.consumed), this.errors && (
|
|
5836
|
-
}, b.prototype.stateNamedEntity = function(
|
|
5837
|
-
for (var
|
|
5838
|
-
var T =
|
|
5839
|
-
if (this.treeIndex = B(
|
|
5835
|
+
return this.emitCodePoint((0, s.replaceCodePoint)(this.result), this.consumed), this.errors && (w !== l.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
|
|
5836
|
+
}, b.prototype.stateNamedEntity = function(w, y) {
|
|
5837
|
+
for (var v = this.decodeTree, k = v[this.treeIndex], D = (k & d.VALUE_LENGTH) >> 14; y < w.length; y++, this.excess++) {
|
|
5838
|
+
var T = w.charCodeAt(y);
|
|
5839
|
+
if (this.treeIndex = B(v, k, this.treeIndex + Math.max(1, D), T), this.treeIndex < 0)
|
|
5840
5840
|
return this.result === 0 || // If we are parsing an attribute
|
|
5841
5841
|
this.decodeMode === x.Attribute && // We shouldn't have consumed any characters after the entity,
|
|
5842
|
-
(
|
|
5842
|
+
(D === 0 || // And there should be no invalid characters.
|
|
5843
5843
|
m(T)) ? 0 : this.emitNotTerminatedNamedEntity();
|
|
5844
|
-
if (
|
|
5844
|
+
if (k = v[this.treeIndex], D = (k & d.VALUE_LENGTH) >> 14, D !== 0) {
|
|
5845
5845
|
if (T === l.SEMI)
|
|
5846
|
-
return this.emitNamedEntityData(this.treeIndex,
|
|
5846
|
+
return this.emitNamedEntityData(this.treeIndex, D, this.consumed + this.excess);
|
|
5847
5847
|
this.decodeMode !== x.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
|
|
5848
5848
|
}
|
|
5849
5849
|
}
|
|
5850
5850
|
return -1;
|
|
5851
5851
|
}, b.prototype.emitNotTerminatedNamedEntity = function() {
|
|
5852
|
-
var
|
|
5853
|
-
return this.emitNamedEntityData(
|
|
5854
|
-
}, b.prototype.emitNamedEntityData = function(
|
|
5855
|
-
var
|
|
5856
|
-
return this.emitCodePoint(
|
|
5852
|
+
var w, y = this, v = y.result, k = y.decodeTree, D = (k[v] & d.VALUE_LENGTH) >> 14;
|
|
5853
|
+
return this.emitNamedEntityData(v, D, this.consumed), (w = this.errors) === null || w === void 0 || w.missingSemicolonAfterCharacterReference(), this.consumed;
|
|
5854
|
+
}, b.prototype.emitNamedEntityData = function(w, y, v) {
|
|
5855
|
+
var k = this.decodeTree;
|
|
5856
|
+
return this.emitCodePoint(y === 1 ? k[w] & ~d.VALUE_LENGTH : k[w + 1], v), y === 3 && this.emitCodePoint(k[w + 2], v), v;
|
|
5857
5857
|
}, b.prototype.end = function() {
|
|
5858
|
-
var
|
|
5858
|
+
var w;
|
|
5859
5859
|
switch (this.state) {
|
|
5860
|
-
case
|
|
5860
|
+
case p.NamedEntity:
|
|
5861
5861
|
return this.result !== 0 && (this.decodeMode !== x.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
|
|
5862
|
-
case
|
|
5862
|
+
case p.NumericDecimal:
|
|
5863
5863
|
return this.emitNumericEntity(0, 2);
|
|
5864
|
-
case
|
|
5864
|
+
case p.NumericHex:
|
|
5865
5865
|
return this.emitNumericEntity(0, 3);
|
|
5866
|
-
case
|
|
5867
|
-
return (
|
|
5868
|
-
case
|
|
5866
|
+
case p.NumericStart:
|
|
5867
|
+
return (w = this.errors) === null || w === void 0 || w.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
|
|
5868
|
+
case p.EntityStart:
|
|
5869
5869
|
return 0;
|
|
5870
5870
|
}
|
|
5871
5871
|
}, b;
|
|
5872
5872
|
}()
|
|
5873
5873
|
);
|
|
5874
|
-
n.EntityDecoder =
|
|
5875
|
-
function
|
|
5876
|
-
var
|
|
5877
|
-
return
|
|
5874
|
+
n.EntityDecoder = $;
|
|
5875
|
+
function C(b) {
|
|
5876
|
+
var w = "", y = new $(b, function(v) {
|
|
5877
|
+
return w += (0, s.fromCodePoint)(v);
|
|
5878
5878
|
});
|
|
5879
|
-
return function(
|
|
5880
|
-
for (var T = 0,
|
|
5881
|
-
|
|
5882
|
-
var R =
|
|
5883
|
-
|
|
5879
|
+
return function(k, D) {
|
|
5880
|
+
for (var T = 0, M = 0; (M = k.indexOf("&", M)) >= 0; ) {
|
|
5881
|
+
w += k.slice(T, M), y.startEntity(D);
|
|
5882
|
+
var R = y.write(
|
|
5883
|
+
k,
|
|
5884
5884
|
// Skip the "&"
|
|
5885
|
-
|
|
5885
|
+
M + 1
|
|
5886
5886
|
);
|
|
5887
5887
|
if (R < 0) {
|
|
5888
|
-
T =
|
|
5888
|
+
T = M + y.end();
|
|
5889
5889
|
break;
|
|
5890
5890
|
}
|
|
5891
|
-
T =
|
|
5891
|
+
T = M + R, M = R === 0 ? T + 1 : T;
|
|
5892
5892
|
}
|
|
5893
|
-
var N =
|
|
5894
|
-
return
|
|
5893
|
+
var N = w + k.slice(T);
|
|
5894
|
+
return w = "", N;
|
|
5895
5895
|
};
|
|
5896
5896
|
}
|
|
5897
|
-
function B(b,
|
|
5898
|
-
var
|
|
5899
|
-
if (
|
|
5900
|
-
return
|
|
5901
|
-
if (
|
|
5902
|
-
var T =
|
|
5903
|
-
return T < 0 || T >=
|
|
5904
|
-
}
|
|
5905
|
-
for (var
|
|
5906
|
-
var N =
|
|
5907
|
-
if (z <
|
|
5908
|
-
|
|
5909
|
-
else if (z >
|
|
5897
|
+
function B(b, w, y, v) {
|
|
5898
|
+
var k = (w & d.BRANCH_LENGTH) >> 7, D = w & d.JUMP_TABLE;
|
|
5899
|
+
if (k === 0)
|
|
5900
|
+
return D !== 0 && v === D ? y : -1;
|
|
5901
|
+
if (D) {
|
|
5902
|
+
var T = v - D;
|
|
5903
|
+
return T < 0 || T >= k ? -1 : b[y + T] - 1;
|
|
5904
|
+
}
|
|
5905
|
+
for (var M = y, R = M + k - 1; M <= R; ) {
|
|
5906
|
+
var N = M + R >>> 1, z = b[N];
|
|
5907
|
+
if (z < v)
|
|
5908
|
+
M = N + 1;
|
|
5909
|
+
else if (z > v)
|
|
5910
5910
|
R = N - 1;
|
|
5911
5911
|
else
|
|
5912
|
-
return b[N +
|
|
5912
|
+
return b[N + k];
|
|
5913
5913
|
}
|
|
5914
5914
|
return -1;
|
|
5915
5915
|
}
|
|
5916
5916
|
n.determineBranch = B;
|
|
5917
|
-
var
|
|
5918
|
-
function
|
|
5919
|
-
return
|
|
5917
|
+
var A = C(u.default), O = C(o.default);
|
|
5918
|
+
function P(b, w) {
|
|
5919
|
+
return w === void 0 && (w = x.Legacy), A(b, w);
|
|
5920
5920
|
}
|
|
5921
|
-
n.decodeHTML =
|
|
5921
|
+
n.decodeHTML = P;
|
|
5922
5922
|
function F(b) {
|
|
5923
|
-
return
|
|
5923
|
+
return A(b, x.Attribute);
|
|
5924
5924
|
}
|
|
5925
5925
|
n.decodeHTMLAttribute = F;
|
|
5926
5926
|
function _(b) {
|
|
5927
|
-
return
|
|
5927
|
+
return A(b, x.Strict);
|
|
5928
5928
|
}
|
|
5929
5929
|
n.decodeHTMLStrict = _;
|
|
5930
|
-
function
|
|
5931
|
-
return
|
|
5930
|
+
function I(b) {
|
|
5931
|
+
return O(b, x.Strict);
|
|
5932
5932
|
}
|
|
5933
|
-
n.decodeXML =
|
|
5933
|
+
n.decodeXML = I;
|
|
5934
5934
|
})(Fp);
|
|
5935
5935
|
var jn;
|
|
5936
5936
|
(function(n) {
|
|
@@ -6076,52 +6076,52 @@ var Up = { exports: {} };
|
|
|
6076
6076
|
B === "\r";
|
|
6077
6077
|
}
|
|
6078
6078
|
function r(B) {
|
|
6079
|
-
var
|
|
6080
|
-
if (
|
|
6081
|
-
return
|
|
6079
|
+
var A, O = B.exec(e.substring(p));
|
|
6080
|
+
if (O)
|
|
6081
|
+
return A = O[0], p += A.length, A;
|
|
6082
6082
|
}
|
|
6083
|
-
for (var i = e.length, u = /^[ \t\n\r\u000c]+/, o = /^[, \t\n\r\u000c]+/, s = /^[^ \t\n\r\u000c]+/, a = /[,]+$/, l = /^\d+$/, f = /^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/, d, c, h,
|
|
6084
|
-
if (r(o),
|
|
6083
|
+
for (var i = e.length, u = /^[ \t\n\r\u000c]+/, o = /^[, \t\n\r\u000c]+/, s = /^[^ \t\n\r\u000c]+/, a = /[,]+$/, l = /^\d+$/, f = /^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/, d, c, h, g, m, p = 0, x = []; ; ) {
|
|
6084
|
+
if (r(o), p >= i)
|
|
6085
6085
|
return x;
|
|
6086
|
-
d = r(s), c = [], d.slice(-1) === "," ? (d = d.replace(a, ""),
|
|
6086
|
+
d = r(s), c = [], d.slice(-1) === "," ? (d = d.replace(a, ""), C()) : $();
|
|
6087
6087
|
}
|
|
6088
|
-
function
|
|
6089
|
-
for (r(u), h = "",
|
|
6090
|
-
if (m = e.charAt(
|
|
6088
|
+
function $() {
|
|
6089
|
+
for (r(u), h = "", g = "in descriptor"; ; ) {
|
|
6090
|
+
if (m = e.charAt(p), g === "in descriptor")
|
|
6091
6091
|
if (t(m))
|
|
6092
|
-
h && (c.push(h), h = "",
|
|
6092
|
+
h && (c.push(h), h = "", g = "after descriptor");
|
|
6093
6093
|
else if (m === ",") {
|
|
6094
|
-
|
|
6094
|
+
p += 1, h && c.push(h), C();
|
|
6095
6095
|
return;
|
|
6096
6096
|
} else if (m === "(")
|
|
6097
|
-
h = h + m,
|
|
6097
|
+
h = h + m, g = "in parens";
|
|
6098
6098
|
else if (m === "") {
|
|
6099
|
-
h && c.push(h),
|
|
6099
|
+
h && c.push(h), C();
|
|
6100
6100
|
return;
|
|
6101
6101
|
} else
|
|
6102
6102
|
h = h + m;
|
|
6103
|
-
else if (
|
|
6103
|
+
else if (g === "in parens")
|
|
6104
6104
|
if (m === ")")
|
|
6105
|
-
h = h + m,
|
|
6105
|
+
h = h + m, g = "in descriptor";
|
|
6106
6106
|
else if (m === "") {
|
|
6107
|
-
c.push(h),
|
|
6107
|
+
c.push(h), C();
|
|
6108
6108
|
return;
|
|
6109
6109
|
} else
|
|
6110
6110
|
h = h + m;
|
|
6111
|
-
else if (
|
|
6111
|
+
else if (g === "after descriptor" && !t(m))
|
|
6112
6112
|
if (m === "") {
|
|
6113
|
-
|
|
6113
|
+
C();
|
|
6114
6114
|
return;
|
|
6115
6115
|
} else
|
|
6116
|
-
|
|
6117
|
-
|
|
6116
|
+
g = "in descriptor", p -= 1;
|
|
6117
|
+
p += 1;
|
|
6118
6118
|
}
|
|
6119
6119
|
}
|
|
6120
|
-
function
|
|
6121
|
-
var B = !1,
|
|
6120
|
+
function C() {
|
|
6121
|
+
var B = !1, A, O, P, F, _ = {}, I, b, w, y, v;
|
|
6122
6122
|
for (F = 0; F < c.length; F++)
|
|
6123
|
-
|
|
6124
|
-
B ? console && console.log && console.log("Invalid srcset descriptor found in '" + e + "' at '" +
|
|
6123
|
+
I = c[F], b = I[I.length - 1], w = I.substring(0, I.length - 1), y = parseInt(w, 10), v = parseFloat(w), l.test(w) && b === "w" ? ((A || O) && (B = !0), y === 0 ? B = !0 : A = y) : f.test(w) && b === "x" ? ((A || O || P) && (B = !0), v < 0 ? B = !0 : O = v) : l.test(w) && b === "h" ? ((P || O) && (B = !0), y === 0 ? B = !0 : P = y) : B = !0;
|
|
6124
|
+
B ? console && console.log && console.log("Invalid srcset descriptor found in '" + e + "' at '" + I + "'.") : (_.url = d, A && (_.w = A), O && (_.d = O), P && (_.h = P), x.push(_));
|
|
6125
6125
|
}
|
|
6126
6126
|
};
|
|
6127
6127
|
});
|
|
@@ -7233,31 +7233,31 @@ var en = Dr;
|
|
|
7233
7233
|
Dr.default = Dr;
|
|
7234
7234
|
const ar = 39, ti = 34, mt = 92, ri = 47, bt = 10, Ve = 32, yt = 12, vt = 9, kt = 13, ym = 91, vm = 93, km = 40, xm = 41, Em = 123, wm = 125, $m = 59, Tm = 42, Sm = 58, Bm = 64, xt = /[\t\n\f\r "#'()/;[\\\]{}]/g, Et = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, Am = /.[\n"'(/\\]/, ni = /[\da-f]/i;
|
|
7235
7235
|
var Mm = function(e, t = {}) {
|
|
7236
|
-
let r = e.css.valueOf(), i = t.ignoreErrors, u, o, s, a, l, f, d, c, h,
|
|
7237
|
-
function
|
|
7238
|
-
return
|
|
7236
|
+
let r = e.css.valueOf(), i = t.ignoreErrors, u, o, s, a, l, f, d, c, h, g, m = r.length, p = 0, x = [], $ = [];
|
|
7237
|
+
function C() {
|
|
7238
|
+
return p;
|
|
7239
7239
|
}
|
|
7240
7240
|
function B(F) {
|
|
7241
|
-
throw e.error("Unclosed " + F,
|
|
7241
|
+
throw e.error("Unclosed " + F, p);
|
|
7242
7242
|
}
|
|
7243
|
-
function
|
|
7244
|
-
return
|
|
7243
|
+
function A() {
|
|
7244
|
+
return $.length === 0 && p >= m;
|
|
7245
7245
|
}
|
|
7246
|
-
function
|
|
7247
|
-
if (
|
|
7248
|
-
if (
|
|
7246
|
+
function O(F) {
|
|
7247
|
+
if ($.length) return $.pop();
|
|
7248
|
+
if (p >= m) return;
|
|
7249
7249
|
let _ = F ? F.ignoreUnclosed : !1;
|
|
7250
|
-
switch (u = r.charCodeAt(
|
|
7250
|
+
switch (u = r.charCodeAt(p), u) {
|
|
7251
7251
|
case bt:
|
|
7252
7252
|
case Ve:
|
|
7253
7253
|
case vt:
|
|
7254
7254
|
case kt:
|
|
7255
7255
|
case yt: {
|
|
7256
|
-
o =
|
|
7256
|
+
o = p;
|
|
7257
7257
|
do
|
|
7258
7258
|
o += 1, u = r.charCodeAt(o);
|
|
7259
7259
|
while (u === Ve || u === bt || u === vt || u === kt || u === yt);
|
|
7260
|
-
|
|
7260
|
+
g = ["space", r.slice(p, o)], p = o - 1;
|
|
7261
7261
|
break;
|
|
7262
7262
|
}
|
|
7263
7263
|
case ym:
|
|
@@ -7267,74 +7267,74 @@ var Mm = function(e, t = {}) {
|
|
|
7267
7267
|
case Sm:
|
|
7268
7268
|
case $m:
|
|
7269
7269
|
case xm: {
|
|
7270
|
-
let
|
|
7271
|
-
|
|
7270
|
+
let I = String.fromCharCode(u);
|
|
7271
|
+
g = [I, I, p];
|
|
7272
7272
|
break;
|
|
7273
7273
|
}
|
|
7274
7274
|
case km: {
|
|
7275
|
-
if (c = x.length ? x.pop()[1] : "", h = r.charCodeAt(
|
|
7276
|
-
o =
|
|
7275
|
+
if (c = x.length ? x.pop()[1] : "", h = r.charCodeAt(p + 1), c === "url" && h !== ar && h !== ti && h !== Ve && h !== bt && h !== vt && h !== yt && h !== kt) {
|
|
7276
|
+
o = p;
|
|
7277
7277
|
do {
|
|
7278
7278
|
if (f = !1, o = r.indexOf(")", o + 1), o === -1)
|
|
7279
7279
|
if (i || _) {
|
|
7280
|
-
o =
|
|
7280
|
+
o = p;
|
|
7281
7281
|
break;
|
|
7282
7282
|
} else
|
|
7283
7283
|
B("bracket");
|
|
7284
7284
|
for (d = o; r.charCodeAt(d - 1) === mt; )
|
|
7285
7285
|
d -= 1, f = !f;
|
|
7286
7286
|
} while (f);
|
|
7287
|
-
|
|
7287
|
+
g = ["brackets", r.slice(p, o + 1), p, o], p = o;
|
|
7288
7288
|
} else
|
|
7289
|
-
o = r.indexOf(")",
|
|
7289
|
+
o = r.indexOf(")", p + 1), a = r.slice(p, o + 1), o === -1 || Am.test(a) ? g = ["(", "(", p] : (g = ["brackets", a, p, o], p = o);
|
|
7290
7290
|
break;
|
|
7291
7291
|
}
|
|
7292
7292
|
case ar:
|
|
7293
7293
|
case ti: {
|
|
7294
|
-
s = u === ar ? "'" : '"', o =
|
|
7294
|
+
s = u === ar ? "'" : '"', o = p;
|
|
7295
7295
|
do {
|
|
7296
7296
|
if (f = !1, o = r.indexOf(s, o + 1), o === -1)
|
|
7297
7297
|
if (i || _) {
|
|
7298
|
-
o =
|
|
7298
|
+
o = p + 1;
|
|
7299
7299
|
break;
|
|
7300
7300
|
} else
|
|
7301
7301
|
B("string");
|
|
7302
7302
|
for (d = o; r.charCodeAt(d - 1) === mt; )
|
|
7303
7303
|
d -= 1, f = !f;
|
|
7304
7304
|
} while (f);
|
|
7305
|
-
|
|
7305
|
+
g = ["string", r.slice(p, o + 1), p, o], p = o;
|
|
7306
7306
|
break;
|
|
7307
7307
|
}
|
|
7308
7308
|
case Bm: {
|
|
7309
|
-
xt.lastIndex =
|
|
7309
|
+
xt.lastIndex = p + 1, xt.test(r), xt.lastIndex === 0 ? o = r.length - 1 : o = xt.lastIndex - 2, g = ["at-word", r.slice(p, o + 1), p, o], p = o;
|
|
7310
7310
|
break;
|
|
7311
7311
|
}
|
|
7312
7312
|
case mt: {
|
|
7313
|
-
for (o =
|
|
7313
|
+
for (o = p, l = !0; r.charCodeAt(o + 1) === mt; )
|
|
7314
7314
|
o += 1, l = !l;
|
|
7315
7315
|
if (u = r.charCodeAt(o + 1), l && u !== ri && u !== Ve && u !== bt && u !== vt && u !== kt && u !== yt && (o += 1, ni.test(r.charAt(o)))) {
|
|
7316
7316
|
for (; ni.test(r.charAt(o + 1)); )
|
|
7317
7317
|
o += 1;
|
|
7318
7318
|
r.charCodeAt(o + 1) === Ve && (o += 1);
|
|
7319
7319
|
}
|
|
7320
|
-
|
|
7320
|
+
g = ["word", r.slice(p, o + 1), p, o], p = o;
|
|
7321
7321
|
break;
|
|
7322
7322
|
}
|
|
7323
7323
|
default: {
|
|
7324
|
-
u === ri && r.charCodeAt(
|
|
7324
|
+
u === ri && r.charCodeAt(p + 1) === Tm ? (o = r.indexOf("*/", p + 2) + 1, o === 0 && (i || _ ? o = r.length : B("comment")), g = ["comment", r.slice(p, o + 1), p, o], p = o) : (Et.lastIndex = p + 1, Et.test(r), Et.lastIndex === 0 ? o = r.length - 1 : o = Et.lastIndex - 2, g = ["word", r.slice(p, o + 1), p, o], x.push(g), p = o);
|
|
7325
7325
|
break;
|
|
7326
7326
|
}
|
|
7327
7327
|
}
|
|
7328
|
-
return
|
|
7328
|
+
return p++, g;
|
|
7329
7329
|
}
|
|
7330
|
-
function
|
|
7331
|
-
|
|
7330
|
+
function P(F) {
|
|
7331
|
+
$.push(F);
|
|
7332
7332
|
}
|
|
7333
7333
|
return {
|
|
7334
|
-
back:
|
|
7335
|
-
nextToken:
|
|
7336
|
-
endOfFile:
|
|
7337
|
-
position:
|
|
7334
|
+
back: P,
|
|
7335
|
+
nextToken: O,
|
|
7336
|
+
endOfFile: A,
|
|
7337
|
+
position: C
|
|
7338
7338
|
};
|
|
7339
7339
|
};
|
|
7340
7340
|
let Zh = Ie;
|
|
@@ -7628,7 +7628,7 @@ class _m {
|
|
|
7628
7628
|
for (let c = 0; c < s; c += 1)
|
|
7629
7629
|
u = r[c], o = u[0], o === "space" && c === s - 1 && !i ? l = !1 : o === "comment" ? (d = r[c - 1] ? r[c - 1][0] : "empty", f = r[c + 1] ? r[c + 1][0] : "empty", !ui[d] && !ui[f] ? a.slice(-1) === "," ? l = !1 : a += u[1] : l = !1) : a += u[1];
|
|
7630
7630
|
if (!l) {
|
|
7631
|
-
let c = r.reduce((h,
|
|
7631
|
+
let c = r.reduce((h, g) => h + g[1], "");
|
|
7632
7632
|
e.raws[t] = { value: a, raw: c };
|
|
7633
7633
|
}
|
|
7634
7634
|
e[t] = a;
|
|
@@ -8262,11 +8262,11 @@ var f1 = { exports: {} };
|
|
|
8262
8262
|
return function(u, o, s) {
|
|
8263
8263
|
var a = o.prototype;
|
|
8264
8264
|
s.utc = function(m) {
|
|
8265
|
-
var
|
|
8266
|
-
return new o(
|
|
8265
|
+
var p = { date: m, utc: !0, args: arguments };
|
|
8266
|
+
return new o(p);
|
|
8267
8267
|
}, a.utc = function(m) {
|
|
8268
|
-
var
|
|
8269
|
-
return m ?
|
|
8268
|
+
var p = s(this.toDate(), { locale: this.$L, utc: !0 });
|
|
8269
|
+
return m ? p.add(this.utcOffset(), t) : p;
|
|
8270
8270
|
}, a.local = function() {
|
|
8271
8271
|
return s(this.toDate(), { locale: this.$L, utc: !1 });
|
|
8272
8272
|
};
|
|
@@ -8282,28 +8282,28 @@ var f1 = { exports: {} };
|
|
|
8282
8282
|
} else f.call(this);
|
|
8283
8283
|
};
|
|
8284
8284
|
var d = a.utcOffset;
|
|
8285
|
-
a.utcOffset = function(m,
|
|
8285
|
+
a.utcOffset = function(m, p) {
|
|
8286
8286
|
var x = this.$utils().u;
|
|
8287
8287
|
if (x(m)) return this.$u ? 0 : x(this.$offset) ? d.call(this) : this.$offset;
|
|
8288
|
-
if (typeof m == "string" && (m = function(
|
|
8289
|
-
|
|
8290
|
-
var
|
|
8291
|
-
if (!
|
|
8292
|
-
var
|
|
8288
|
+
if (typeof m == "string" && (m = function(A) {
|
|
8289
|
+
A === void 0 && (A = "");
|
|
8290
|
+
var O = A.match(r);
|
|
8291
|
+
if (!O) return null;
|
|
8292
|
+
var P = ("" + O[0]).match(i) || ["-", 0, 0], F = P[0], _ = 60 * +P[1] + +P[2];
|
|
8293
8293
|
return _ === 0 ? 0 : F === "+" ? _ : -_;
|
|
8294
8294
|
}(m), m === null)) return this;
|
|
8295
|
-
var
|
|
8296
|
-
if (
|
|
8295
|
+
var $ = Math.abs(m) <= 16 ? 60 * m : m, C = this;
|
|
8296
|
+
if (p) return C.$offset = $, C.$u = m === 0, C;
|
|
8297
8297
|
if (m !== 0) {
|
|
8298
8298
|
var B = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
8299
|
-
(
|
|
8300
|
-
} else
|
|
8301
|
-
return
|
|
8299
|
+
(C = this.local().add($ + B, t)).$offset = $, C.$x.$localOffset = B;
|
|
8300
|
+
} else C = this.utc();
|
|
8301
|
+
return C;
|
|
8302
8302
|
};
|
|
8303
8303
|
var c = a.format;
|
|
8304
8304
|
a.format = function(m) {
|
|
8305
|
-
var
|
|
8306
|
-
return c.call(this,
|
|
8305
|
+
var p = m || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
|
|
8306
|
+
return c.call(this, p);
|
|
8307
8307
|
}, a.valueOf = function() {
|
|
8308
8308
|
var m = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
|
|
8309
8309
|
return this.$d.valueOf() - 6e4 * m;
|
|
@@ -8318,11 +8318,11 @@ var f1 = { exports: {} };
|
|
|
8318
8318
|
a.toDate = function(m) {
|
|
8319
8319
|
return m === "s" && this.$offset ? s(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : h.call(this);
|
|
8320
8320
|
};
|
|
8321
|
-
var
|
|
8322
|
-
a.diff = function(m,
|
|
8323
|
-
if (m && this.$u === m.$u) return
|
|
8324
|
-
var
|
|
8325
|
-
return
|
|
8321
|
+
var g = a.diff;
|
|
8322
|
+
a.diff = function(m, p, x) {
|
|
8323
|
+
if (m && this.$u === m.$u) return g.call(this, m, p, x);
|
|
8324
|
+
var $ = this.local(), C = s(m).local();
|
|
8325
|
+
return g.call($, C, p, x);
|
|
8326
8326
|
};
|
|
8327
8327
|
};
|
|
8328
8328
|
});
|
|
@@ -8335,51 +8335,51 @@ var d1 = { exports: {} };
|
|
|
8335
8335
|
})(ne, function() {
|
|
8336
8336
|
var t = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, r = {};
|
|
8337
8337
|
return function(i, u, o) {
|
|
8338
|
-
var s, a = function(c, h,
|
|
8339
|
-
|
|
8340
|
-
var m = new Date(c),
|
|
8341
|
-
|
|
8342
|
-
var
|
|
8343
|
-
return
|
|
8344
|
-
}(h,
|
|
8345
|
-
return
|
|
8338
|
+
var s, a = function(c, h, g) {
|
|
8339
|
+
g === void 0 && (g = {});
|
|
8340
|
+
var m = new Date(c), p = function(x, $) {
|
|
8341
|
+
$ === void 0 && ($ = {});
|
|
8342
|
+
var C = $.timeZoneName || "short", B = x + "|" + C, A = r[B];
|
|
8343
|
+
return A || (A = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: x, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: C }), r[B] = A), A;
|
|
8344
|
+
}(h, g);
|
|
8345
|
+
return p.formatToParts(m);
|
|
8346
8346
|
}, l = function(c, h) {
|
|
8347
|
-
for (var
|
|
8348
|
-
var x = p
|
|
8349
|
-
B >= 0 && (m[B] = parseInt(
|
|
8347
|
+
for (var g = a(c, h), m = [], p = 0; p < g.length; p += 1) {
|
|
8348
|
+
var x = g[p], $ = x.type, C = x.value, B = t[$];
|
|
8349
|
+
B >= 0 && (m[B] = parseInt(C, 10));
|
|
8350
8350
|
}
|
|
8351
|
-
var
|
|
8352
|
-
return (o.utc(
|
|
8351
|
+
var A = m[3], O = A === 24 ? 0 : A, P = m[0] + "-" + m[1] + "-" + m[2] + " " + O + ":" + m[4] + ":" + m[5] + ":000", F = +c;
|
|
8352
|
+
return (o.utc(P).valueOf() - (F -= F % 1e3)) / 6e4;
|
|
8353
8353
|
}, f = u.prototype;
|
|
8354
8354
|
f.tz = function(c, h) {
|
|
8355
8355
|
c === void 0 && (c = s);
|
|
8356
|
-
var
|
|
8356
|
+
var g = this.utcOffset(), m = this.toDate(), p = m.toLocaleString("en-US", { timeZone: c }), x = Math.round((m - new Date(p)) / 1e3 / 60), $ = o(p).$set("millisecond", this.$ms).utcOffset(15 * -Math.round(m.getTimezoneOffset() / 15) - x, !0);
|
|
8357
8357
|
if (h) {
|
|
8358
|
-
var
|
|
8359
|
-
|
|
8358
|
+
var C = $.utcOffset();
|
|
8359
|
+
$ = $.add(g - C, "minute");
|
|
8360
8360
|
}
|
|
8361
|
-
return
|
|
8361
|
+
return $.$x.$timezone = c, $;
|
|
8362
8362
|
}, f.offsetName = function(c) {
|
|
8363
|
-
var h = this.$x.$timezone || o.tz.guess(),
|
|
8363
|
+
var h = this.$x.$timezone || o.tz.guess(), g = a(this.valueOf(), h, { timeZoneName: c }).find(function(m) {
|
|
8364
8364
|
return m.type.toLowerCase() === "timezonename";
|
|
8365
8365
|
});
|
|
8366
|
-
return
|
|
8366
|
+
return g && g.value;
|
|
8367
8367
|
};
|
|
8368
8368
|
var d = f.startOf;
|
|
8369
8369
|
f.startOf = function(c, h) {
|
|
8370
8370
|
if (!this.$x || !this.$x.$timezone) return d.call(this, c, h);
|
|
8371
|
-
var
|
|
8372
|
-
return d.call(
|
|
8373
|
-
}, o.tz = function(c, h,
|
|
8374
|
-
var m =
|
|
8375
|
-
if (typeof c != "string") return o(c).tz(
|
|
8376
|
-
var
|
|
8377
|
-
var _ =
|
|
8378
|
-
if (
|
|
8379
|
-
var b = l(_ -= 60 * (
|
|
8380
|
-
return
|
|
8381
|
-
}(o.utc(c, m).valueOf(), x,
|
|
8382
|
-
return
|
|
8371
|
+
var g = o(this.format("YYYY-MM-DD HH:mm:ss:SSS"));
|
|
8372
|
+
return d.call(g, c, h).tz(this.$x.$timezone, !0);
|
|
8373
|
+
}, o.tz = function(c, h, g) {
|
|
8374
|
+
var m = g && h, p = g || h || s, x = l(+o(), p);
|
|
8375
|
+
if (typeof c != "string") return o(c).tz(p);
|
|
8376
|
+
var $ = function(O, P, F) {
|
|
8377
|
+
var _ = O - 60 * P * 1e3, I = l(_, F);
|
|
8378
|
+
if (P === I) return [_, P];
|
|
8379
|
+
var b = l(_ -= 60 * (I - P) * 1e3, F);
|
|
8380
|
+
return I === b ? [_, I] : [O - 60 * Math.min(I, b) * 1e3, Math.max(I, b)];
|
|
8381
|
+
}(o.utc(c, m).valueOf(), x, p), C = $[0], B = $[1], A = o(C).utcOffset(B);
|
|
8382
|
+
return A.$x.$timezone = p, A;
|
|
8383
8383
|
}, o.tz.guess = function() {
|
|
8384
8384
|
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
8385
8385
|
}, o.tz.setDefault = function(c) {
|
|
@@ -8589,7 +8589,7 @@ const Yt = (n, e = "") => () => {
|
|
|
8589
8589
|
}
|
|
8590
8590
|
}
|
|
8591
8591
|
}, Nb = (n, e, t, r, i = !1) => {
|
|
8592
|
-
let u = 0, o = 0, s = 0, a = 0, l = e.length - 1, f = e[0], d = e[l], c = r.length - 1, h = r[0],
|
|
8592
|
+
let u = 0, o = 0, s = 0, a = 0, l = e.length - 1, f = e[0], d = e[l], c = r.length - 1, h = r[0], g = r[c], m, p;
|
|
8593
8593
|
for (; u <= l && o <= c; )
|
|
8594
8594
|
if (f == null)
|
|
8595
8595
|
f = e[++u];
|
|
@@ -8597,23 +8597,23 @@ const Yt = (n, e = "") => () => {
|
|
|
8597
8597
|
d = e[--l];
|
|
8598
8598
|
else if (h == null)
|
|
8599
8599
|
h = r[++o];
|
|
8600
|
-
else if (
|
|
8601
|
-
|
|
8600
|
+
else if (g == null)
|
|
8601
|
+
g = r[--c];
|
|
8602
8602
|
else if ($t(f, h, i))
|
|
8603
8603
|
Ue(f, h, i), f = e[++u], h = r[++o];
|
|
8604
|
-
else if ($t(d,
|
|
8605
|
-
Ue(d,
|
|
8606
|
-
else if ($t(f,
|
|
8607
|
-
(f.$tag$ === "slot" ||
|
|
8604
|
+
else if ($t(d, g, i))
|
|
8605
|
+
Ue(d, g, i), d = e[--l], g = r[--c];
|
|
8606
|
+
else if ($t(f, g, i))
|
|
8607
|
+
(f.$tag$ === "slot" || g.$tag$ === "slot") && lt(f.$elm$.parentNode, !1), Ue(f, g, i), n.insertBefore(f.$elm$, d.$elm$.nextSibling), f = e[++u], g = r[--c];
|
|
8608
8608
|
else if ($t(d, h, i))
|
|
8609
|
-
(f.$tag$ === "slot" ||
|
|
8609
|
+
(f.$tag$ === "slot" || g.$tag$ === "slot") && lt(d.$elm$.parentNode, !1), Ue(d, h, i), n.insertBefore(d.$elm$, f.$elm$), d = e[--l], h = r[++o];
|
|
8610
8610
|
else {
|
|
8611
8611
|
for (s = -1, a = u; a <= l; ++a)
|
|
8612
8612
|
if (e[a] && e[a].$key$ !== null && e[a].$key$ === h.$key$) {
|
|
8613
8613
|
s = a;
|
|
8614
8614
|
break;
|
|
8615
8615
|
}
|
|
8616
|
-
s >= 0 ? (
|
|
8616
|
+
s >= 0 ? (p = e[s], p.$tag$ !== h.$tag$ ? m = qt(e && e[o], t, s, n) : (Ue(p, h, i), e[s] = void 0, m = p.$elm$), h = r[++o]) : (m = qt(e && e[o], t, o, n), h = r[++o]), m && v1(f.$elm$).insertBefore(m, sn(f.$elm$));
|
|
8617
8617
|
}
|
|
8618
8618
|
u > l ? b1(n, r[c + 1] == null ? null : r[c + 1].$elm$, t, r, o, c) : o > c && y1(e, u, l);
|
|
8619
8619
|
}, $t = (n, e, t = !1) => n.$tag$ === e.$tag$ ? n.$tag$ === "slot" ? n.$name$ === e.$name$ : t ? !0 : n.$key$ === e.$key$ : !1, sn = (n) => n && n["s-ol"] || n, v1 = (n) => (n["s-ol"] ? n["s-ol"] : n).parentNode, Ue = (n, e, t = !1) => {
|
|
@@ -8679,27 +8679,27 @@ const Yt = (n, e = "") => () => {
|
|
|
8679
8679
|
for (const c of Ee) {
|
|
8680
8680
|
const h = c.$nodeToRelocate$;
|
|
8681
8681
|
if (!h["s-ol"]) {
|
|
8682
|
-
const
|
|
8683
|
-
|
|
8682
|
+
const g = Bt.createTextNode("");
|
|
8683
|
+
g["s-nr"] = h, h.parentNode.insertBefore(h["s-ol"] = g, h);
|
|
8684
8684
|
}
|
|
8685
8685
|
}
|
|
8686
8686
|
for (const c of Ee) {
|
|
8687
|
-
const h = c.$nodeToRelocate$,
|
|
8688
|
-
if (
|
|
8689
|
-
const m =
|
|
8690
|
-
let
|
|
8687
|
+
const h = c.$nodeToRelocate$, g = c.$slotRefNode$;
|
|
8688
|
+
if (g) {
|
|
8689
|
+
const m = g.parentNode;
|
|
8690
|
+
let p = g.nextSibling;
|
|
8691
8691
|
{
|
|
8692
8692
|
let x = (r = h["s-ol"]) === null || r === void 0 ? void 0 : r.previousSibling;
|
|
8693
8693
|
for (; x; ) {
|
|
8694
|
-
let
|
|
8695
|
-
if (
|
|
8696
|
-
|
|
8694
|
+
let $ = (i = x["s-nr"]) !== null && i !== void 0 ? i : null;
|
|
8695
|
+
if ($ && $["s-sn"] === h["s-sn"] && m === $.parentNode && ($ = $.nextSibling, !$ || !$["s-nr"])) {
|
|
8696
|
+
p = $;
|
|
8697
8697
|
break;
|
|
8698
8698
|
}
|
|
8699
8699
|
x = x.previousSibling;
|
|
8700
8700
|
}
|
|
8701
8701
|
}
|
|
8702
|
-
(!
|
|
8702
|
+
(!p && m !== h.parentNode || h.nextSibling !== p) && h !== p && (!h["s-hn"] && h["s-ol"] && (h["s-hn"] = h["s-ol"].parentNode.nodeName), m.insertBefore(h, p), h.nodeType === 1 && (h.hidden = (u = h["s-ih"]) !== null && u !== void 0 ? u : !1));
|
|
8703
8703
|
} else
|
|
8704
8704
|
h.nodeType === 1 && (t && (h["s-ih"] = (o = h.hidden) !== null && o !== void 0 ? o : !1), h.hidden = !0);
|
|
8705
8705
|
}
|
|
@@ -8804,18 +8804,18 @@ const $e = {
|
|
|
8804
8804
|
set: [],
|
|
8805
8805
|
reset: []
|
|
8806
8806
|
}, u = () => {
|
|
8807
|
-
var
|
|
8808
|
-
r = new Map(Object.entries((
|
|
8807
|
+
var g;
|
|
8808
|
+
r = new Map(Object.entries((g = lr(n)) !== null && g !== void 0 ? g : {})), i.reset.forEach((m) => m());
|
|
8809
8809
|
}, o = () => {
|
|
8810
|
-
i.dispose.forEach((
|
|
8811
|
-
}, s = (
|
|
8812
|
-
const
|
|
8813
|
-
e(m,
|
|
8810
|
+
i.dispose.forEach((g) => g()), u();
|
|
8811
|
+
}, s = (g) => (i.get.forEach((m) => m(g)), r.get(g)), a = (g, m) => {
|
|
8812
|
+
const p = r.get(g);
|
|
8813
|
+
e(m, p, g) && (r.set(g, m), i.set.forEach((x) => x(g, m, p)));
|
|
8814
8814
|
}, l = typeof Proxy > "u" ? {} : new Proxy(t, {
|
|
8815
|
-
get(
|
|
8815
|
+
get(g, m) {
|
|
8816
8816
|
return s(m);
|
|
8817
8817
|
},
|
|
8818
|
-
ownKeys(
|
|
8818
|
+
ownKeys(g) {
|
|
8819
8819
|
return Array.from(r.keys());
|
|
8820
8820
|
},
|
|
8821
8821
|
getOwnPropertyDescriptor() {
|
|
@@ -8824,37 +8824,37 @@ const $e = {
|
|
|
8824
8824
|
configurable: !0
|
|
8825
8825
|
};
|
|
8826
8826
|
},
|
|
8827
|
-
has(
|
|
8827
|
+
has(g, m) {
|
|
8828
8828
|
return r.has(m);
|
|
8829
8829
|
},
|
|
8830
|
-
set(
|
|
8831
|
-
return a(m,
|
|
8830
|
+
set(g, m, p) {
|
|
8831
|
+
return a(m, p), !0;
|
|
8832
8832
|
}
|
|
8833
|
-
}), f = (
|
|
8834
|
-
i2(i[
|
|
8833
|
+
}), f = (g, m) => (i[g].push(m), () => {
|
|
8834
|
+
i2(i[g], m);
|
|
8835
8835
|
});
|
|
8836
8836
|
return {
|
|
8837
8837
|
state: l,
|
|
8838
8838
|
get: s,
|
|
8839
8839
|
set: a,
|
|
8840
8840
|
on: f,
|
|
8841
|
-
onChange: (
|
|
8842
|
-
const
|
|
8843
|
-
|
|
8844
|
-
}), x = f("reset", () => m(lr(n)[
|
|
8841
|
+
onChange: (g, m) => {
|
|
8842
|
+
const p = f("set", ($, C) => {
|
|
8843
|
+
$ === g && m(C);
|
|
8844
|
+
}), x = f("reset", () => m(lr(n)[g]));
|
|
8845
8845
|
return () => {
|
|
8846
|
-
|
|
8846
|
+
p(), x();
|
|
8847
8847
|
};
|
|
8848
8848
|
},
|
|
8849
|
-
use: (...
|
|
8850
|
-
const m =
|
|
8851
|
-
return () => m.forEach((
|
|
8849
|
+
use: (...g) => {
|
|
8850
|
+
const m = g.reduce((p, x) => (x.set && p.push(f("set", x.set)), x.get && p.push(f("get", x.get)), x.reset && p.push(f("reset", x.reset)), x.dispose && p.push(f("dispose", x.dispose)), p), []);
|
|
8851
|
+
return () => m.forEach((p) => p());
|
|
8852
8852
|
},
|
|
8853
8853
|
dispose: o,
|
|
8854
8854
|
reset: u,
|
|
8855
|
-
forceUpdate: (
|
|
8856
|
-
const m = r.get(
|
|
8857
|
-
i.set.forEach((
|
|
8855
|
+
forceUpdate: (g) => {
|
|
8856
|
+
const m = r.get(g);
|
|
8857
|
+
i.set.forEach((p) => p(g, m, m));
|
|
8858
8858
|
}
|
|
8859
8859
|
};
|
|
8860
8860
|
}, i2 = (n, e) => {
|
|
@@ -9077,7 +9077,7 @@ class s2 {
|
|
|
9077
9077
|
return this.schedulerStore.set("organizerConfirmationBookingId", ""), this.schedulerStore.set("confirmedEventInfo", void 0), e;
|
|
9078
9078
|
}
|
|
9079
9079
|
async bookTimeslot(e) {
|
|
9080
|
-
var
|
|
9080
|
+
var C;
|
|
9081
9081
|
this.schedulerStore.set("isLoading", !0);
|
|
9082
9082
|
const { selectedTimeslot: t, selectedTimezone: r, bookingInfo: i, selectedLanguage: u } = this.schedulerStore.state;
|
|
9083
9083
|
if (!e && !i)
|
|
@@ -9085,40 +9085,44 @@ class s2 {
|
|
|
9085
9085
|
const o = (e == null ? void 0 : e.timeslot) || t;
|
|
9086
9086
|
if (!o)
|
|
9087
9087
|
return { error: this.errors.component(K.t("createBookingErrorTitle")).no_timeslot_selected() };
|
|
9088
|
-
const s = e && (e != null && e.timezone) ? e == null ? void 0 : e.timezone : r;
|
|
9088
|
+
const s = e && (e != null && e.timezone) ? e == null ? void 0 : e.timezone : r, a = u || "en-US";
|
|
9089
9089
|
if (!s)
|
|
9090
9090
|
return { error: this.errors.component(K.t("createBookingErrorTitle")).no_timezone_selected() };
|
|
9091
|
-
const
|
|
9092
|
-
let
|
|
9093
|
-
if (
|
|
9094
|
-
const
|
|
9095
|
-
for (let
|
|
9096
|
-
if (
|
|
9097
|
-
|
|
9091
|
+
const l = this.schedulerStore.get("availabilityOrderEmails");
|
|
9092
|
+
let f = "";
|
|
9093
|
+
if (l.length > 0) {
|
|
9094
|
+
const B = (o == null ? void 0 : o.emails) || [];
|
|
9095
|
+
for (let A = 0; A < l.length; A++)
|
|
9096
|
+
if (B.includes(l[A])) {
|
|
9097
|
+
f = l[A];
|
|
9098
9098
|
break;
|
|
9099
9099
|
}
|
|
9100
9100
|
}
|
|
9101
|
-
const
|
|
9102
|
-
|
|
9103
|
-
|
|
9104
|
-
|
|
9105
|
-
|
|
9101
|
+
const d = {};
|
|
9102
|
+
Object.entries((i == null ? void 0 : i.additionalFields) || {}).forEach(([B, A]) => {
|
|
9103
|
+
d[B] = A.value;
|
|
9104
|
+
});
|
|
9105
|
+
const c = e ? e == null ? void 0 : e.primaryParticipant : i == null ? void 0 : i.primaryParticipant, h = e ? (e == null ? void 0 : e.guests) || [] : (i == null ? void 0 : i.guests) || [], g = e ? e == null ? void 0 : e.additionalFields : d, m = this.getHeaders(), x = `/v3/scheduling/bookings${!this.sessionId && this.configId ? `?configuration_id=${this.configId}` : !this.sessionId && this.slug && this.clientId ? `?slug=${this.slug}&client_id=${this.clientId}` : ""}`, $ = await this.makeAPIRequest(decodeURIComponent(x), "POST", JSON.stringify({
|
|
9106
|
+
participants: f ? [{ email: f }] : void 0,
|
|
9107
|
+
additional_fields: g,
|
|
9108
|
+
additional_guests: h,
|
|
9109
|
+
guest: { ...c },
|
|
9106
9110
|
start_time: o.start_time.getTime() / 1e3,
|
|
9107
9111
|
end_time: o.end_time.getTime() / 1e3,
|
|
9108
9112
|
timezone: s,
|
|
9109
|
-
email_language: this.getTwoLetterLanguageCode(
|
|
9110
|
-
}),
|
|
9111
|
-
if ("error" in
|
|
9113
|
+
email_language: this.getTwoLetterLanguageCode(a)
|
|
9114
|
+
}), m);
|
|
9115
|
+
if ("error" in $) {
|
|
9112
9116
|
this.schedulerStore.set("isLoading", !1);
|
|
9113
|
-
const
|
|
9114
|
-
let
|
|
9115
|
-
if (
|
|
9116
|
-
const
|
|
9117
|
-
|
|
9117
|
+
const B = (C = $.error) == null ? void 0 : C.type;
|
|
9118
|
+
let A = $.error;
|
|
9119
|
+
if (B && B in this.errors.api("Create Booking")) {
|
|
9120
|
+
const O = this.getErrorMessage(A);
|
|
9121
|
+
A = this.errors.api("Create Booking")[B](O);
|
|
9118
9122
|
}
|
|
9119
|
-
return { error:
|
|
9123
|
+
return { error: A };
|
|
9120
9124
|
}
|
|
9121
|
-
return "data" in
|
|
9125
|
+
return "data" in $ && this.schedulerStore.set("eventInfo", $ == null ? void 0 : $.data), this.schedulerStore.set("isLoading", !1), $;
|
|
9122
9126
|
}
|
|
9123
9127
|
async getUISettings() {
|
|
9124
9128
|
var u;
|
|
@@ -9149,18 +9153,18 @@ class s2 {
|
|
|
9149
9153
|
return Math.min(i, e);
|
|
9150
9154
|
}
|
|
9151
9155
|
async getAvailability(e = 0, t = 0) {
|
|
9152
|
-
var c, h,
|
|
9156
|
+
var c, h, g, m;
|
|
9153
9157
|
this.schedulerStore.set("isLoading", !0);
|
|
9154
9158
|
const r = new URLSearchParams(), i = /* @__PURE__ */ new Date(), u = i.getTime();
|
|
9155
9159
|
if (t && t < u / 1e3)
|
|
9156
9160
|
return this.schedulerStore.set("isLoading", !1), { error: this.errors.component(K.t("getAvailabilityErrorTitle")).endtime_not_in_future() };
|
|
9157
9161
|
if (!e) {
|
|
9158
|
-
const
|
|
9159
|
-
e = Math.floor(
|
|
9162
|
+
const p = new Date(i.getFullYear(), i.getMonth(), 1);
|
|
9163
|
+
e = Math.floor(p.getTime() / 1e3);
|
|
9160
9164
|
}
|
|
9161
9165
|
if (!t) {
|
|
9162
|
-
const
|
|
9163
|
-
t = Math.floor(
|
|
9166
|
+
const p = new Date(i.getFullYear(), i.getMonth() + 1, 0);
|
|
9167
|
+
t = Math.floor(p.getTime() / 1e3);
|
|
9164
9168
|
}
|
|
9165
9169
|
t = this.getEndTimeForAvailableDaysInFuture(t);
|
|
9166
9170
|
const o = this.getStartTimeWithMinBookingNotice(e);
|
|
@@ -9170,23 +9174,23 @@ class s2 {
|
|
|
9170
9174
|
const a = r.toString(), l = `/v3/scheduling/availability${a ? `?${a}` : ""}`, f = this.getHeaders(), d = await this.makeAPIRequest(decodeURIComponent(l), "GET", void 0, f);
|
|
9171
9175
|
if ("error" in d) {
|
|
9172
9176
|
this.schedulerStore.set("availability", []), this.schedulerStore.set("isLoading", !1);
|
|
9173
|
-
const
|
|
9177
|
+
const p = (c = d.error) == null ? void 0 : c.type;
|
|
9174
9178
|
let x = d.error;
|
|
9175
|
-
if (
|
|
9176
|
-
const
|
|
9177
|
-
x = this.errors.api(K.t("getAvailabilityErrorTitle"))[
|
|
9179
|
+
if (p && p in this.errors.api(K.t("getAvailabilityErrorTitle"))) {
|
|
9180
|
+
const $ = this.getErrorMessage(x);
|
|
9181
|
+
x = this.errors.api(K.t("getAvailabilityErrorTitle"))[p]($);
|
|
9178
9182
|
}
|
|
9179
9183
|
return { error: x };
|
|
9180
9184
|
}
|
|
9181
9185
|
if ("data" in d) {
|
|
9182
|
-
const x = (((
|
|
9183
|
-
...
|
|
9184
|
-
start_time: new Date(
|
|
9185
|
-
end_time: new Date(
|
|
9186
|
-
}))) || []).filter((
|
|
9186
|
+
const x = (((g = (h = d.data) == null ? void 0 : h.time_slots) == null ? void 0 : g.map((C) => ({
|
|
9187
|
+
...C,
|
|
9188
|
+
start_time: new Date(C.start_time * 1e3),
|
|
9189
|
+
end_time: new Date(C.end_time * 1e3)
|
|
9190
|
+
}))) || []).filter((C) => C.start_time.getTime() > u);
|
|
9187
9191
|
this.schedulerStore.set("availability", x);
|
|
9188
|
-
const
|
|
9189
|
-
this.schedulerStore.set("availabilityOrderEmails",
|
|
9192
|
+
const $ = ((m = d.data) == null ? void 0 : m.order) || [];
|
|
9193
|
+
this.schedulerStore.set("availabilityOrderEmails", $);
|
|
9190
9194
|
}
|
|
9191
9195
|
return this.schedulerStore.set("isLoading", !1), d;
|
|
9192
9196
|
}
|
|
@@ -9213,7 +9217,7 @@ class s2 {
|
|
|
9213
9217
|
}), this.schedulerStore.set("rescheduleBookingId", ""), this.schedulerStore.set("isLoading", !1), o;
|
|
9214
9218
|
}
|
|
9215
9219
|
async rescheduleBooking(e, t) {
|
|
9216
|
-
var
|
|
9220
|
+
var I;
|
|
9217
9221
|
if (this.schedulerStore.set("isLoading", !0), !e)
|
|
9218
9222
|
return { error: this.errors.component(K.t("rescheduleBookingErrorTitle")).no_booking_id() };
|
|
9219
9223
|
const r = this.errors.api(K.t("rescheduleBookingErrorTitle")), i = this.errors.component(K.t("rescheduleBookingErrorTitle")), { bookingInfo: u, selectedTimeslot: o, selectedTimezone: s, selectedLanguage: a } = this.schedulerStore.state, { startTime: l, endTime: f, timezone: d } = t, c = l || (o == null ? void 0 : o.start_time);
|
|
@@ -9222,51 +9226,55 @@ class s2 {
|
|
|
9222
9226
|
const h = f || (o == null ? void 0 : o.end_time);
|
|
9223
9227
|
if (!h)
|
|
9224
9228
|
return { error: i.invalid_end_time('Please pass "endTime" in data or set "selectedTimeslot" in the defaultSchedulerState.') };
|
|
9225
|
-
const
|
|
9229
|
+
const g = this.schedulerStore.get("availabilityOrderEmails");
|
|
9226
9230
|
let m = "";
|
|
9227
|
-
if (
|
|
9228
|
-
const
|
|
9229
|
-
for (let
|
|
9230
|
-
if (
|
|
9231
|
-
m =
|
|
9231
|
+
if (g.length > 0) {
|
|
9232
|
+
const b = (o == null ? void 0 : o.emails) || [];
|
|
9233
|
+
for (let w = 0; w < g.length; w++)
|
|
9234
|
+
if (b.includes(g[w])) {
|
|
9235
|
+
m = g[w];
|
|
9232
9236
|
break;
|
|
9233
9237
|
}
|
|
9234
9238
|
}
|
|
9235
|
-
const
|
|
9236
|
-
if (!
|
|
9239
|
+
const p = d || s;
|
|
9240
|
+
if (!p)
|
|
9237
9241
|
return { error: i.invalid_timezone('Please pass "timezone" in data or set "selectedTimezone" in the defaultSchedulerState.') };
|
|
9238
|
-
const x =
|
|
9242
|
+
const x = {};
|
|
9243
|
+
Object.entries((u == null ? void 0 : u.additionalFields) || {}).forEach(([b, w]) => {
|
|
9244
|
+
x[b] = w.value;
|
|
9245
|
+
});
|
|
9246
|
+
const $ = t ? t == null ? void 0 : t.primaryParticipant : u == null ? void 0 : u.primaryParticipant, C = t ? (t == null ? void 0 : t.guests) || [] : (u == null ? void 0 : u.guests) || [], B = t ? t == null ? void 0 : t.additionalFields : x, A = !this.sessionId && this.configId ? `?configuration_id=${this.configId}` : !this.sessionId && this.slug && this.clientId ? `?slug=${this.slug}&client_id=${this.clientId}` : "", O = `/v3/scheduling/bookings/${e}${A}`, P = this.getHeaders(), F = await this.makeAPIRequest(decodeURIComponent(O), "PATCH", JSON.stringify({
|
|
9239
9247
|
start_time: c.getTime() / 1e3,
|
|
9240
9248
|
end_time: h.getTime() / 1e3,
|
|
9241
|
-
timezone:
|
|
9242
|
-
additional_fields:
|
|
9243
|
-
guest: {
|
|
9244
|
-
additional_guests:
|
|
9249
|
+
timezone: p,
|
|
9250
|
+
additional_fields: B,
|
|
9251
|
+
guest: { ...$ },
|
|
9252
|
+
additional_guests: C,
|
|
9245
9253
|
participants: m ? [{ email: m }] : void 0,
|
|
9246
9254
|
email_language: this.getTwoLetterLanguageCode(a)
|
|
9247
|
-
}),
|
|
9248
|
-
if ("error" in
|
|
9255
|
+
}), P);
|
|
9256
|
+
if ("error" in F) {
|
|
9249
9257
|
this.schedulerStore.set("isLoading", !1);
|
|
9250
|
-
const
|
|
9251
|
-
let
|
|
9252
|
-
if (
|
|
9253
|
-
const
|
|
9254
|
-
|
|
9258
|
+
const b = (I = F.error) == null ? void 0 : I.type;
|
|
9259
|
+
let w = F.error;
|
|
9260
|
+
if (b && b in r) {
|
|
9261
|
+
const y = this.getErrorMessage(w);
|
|
9262
|
+
w = r[b](y);
|
|
9255
9263
|
}
|
|
9256
|
-
return { error:
|
|
9264
|
+
return { error: w };
|
|
9257
9265
|
}
|
|
9258
|
-
const
|
|
9259
|
-
if ("data" in
|
|
9260
|
-
this.schedulerStore.set("eventInfo",
|
|
9261
|
-
else if (
|
|
9262
|
-
this.schedulerStore.set("eventInfo",
|
|
9266
|
+
const _ = this.schedulerStore.get("reschedulingEventInfo");
|
|
9267
|
+
if ("data" in F)
|
|
9268
|
+
this.schedulerStore.set("eventInfo", F == null ? void 0 : F.data);
|
|
9269
|
+
else if (_)
|
|
9270
|
+
this.schedulerStore.set("eventInfo", _);
|
|
9263
9271
|
else {
|
|
9264
|
-
const
|
|
9272
|
+
const b = {
|
|
9265
9273
|
booking_id: e
|
|
9266
9274
|
};
|
|
9267
|
-
this.schedulerStore.set("eventInfo",
|
|
9275
|
+
this.schedulerStore.set("eventInfo", b);
|
|
9268
9276
|
}
|
|
9269
|
-
return this.schedulerStore.set("isLoading", !1),
|
|
9277
|
+
return this.schedulerStore.set("isLoading", !1), F;
|
|
9270
9278
|
}
|
|
9271
9279
|
async updateBooking(e) {
|
|
9272
9280
|
var d;
|
|
@@ -9286,8 +9294,8 @@ class s2 {
|
|
|
9286
9294
|
const c = (d = f.error) == null ? void 0 : d.type;
|
|
9287
9295
|
let h = f.error;
|
|
9288
9296
|
if (c && c in this.errors.api(o)) {
|
|
9289
|
-
const
|
|
9290
|
-
h = this.errors.api(o)[c](
|
|
9297
|
+
const g = this.getErrorMessage(h);
|
|
9298
|
+
h = this.errors.api(o)[c](g);
|
|
9291
9299
|
}
|
|
9292
9300
|
return { error: h };
|
|
9293
9301
|
}
|