@nylas/web-elements 0.0.0-canary-20241008193213 → 0.0.0-canary-20241015194719
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 +2 -2
- 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 +12 -12
- 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 +15 -15
- 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 +6323 -5910
- package/dist/cdn/nylas-event-description/nylas-event-description.es.js +3 -3
- package/dist/cdn/nylas-event-duration/nylas-event-duration.es.js +5 -5
- 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 +1364 -937
- package/dist/cdn/nylas-scheduling/nylas-scheduling.es.js +1077 -1053
- 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 +6 -6
- 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} +703 -304
- 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 +33 -32
- 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/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 +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 +48 -42
- 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 +56 -41
- package/dist/collection/components/scheduler-editor/nylas-additional-participants/nylas-additional-participants.js.map +1 -1
- 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 +8 -4
- package/dist/collection/components/scheduler-editor/nylas-confirmation-email/nylas-confirmation-email.js.map +1 -1
- 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 +16 -7
- package/dist/collection/components/scheduler-editor/nylas-event-duration/nylas-event-duration.js.map +1 -1
- 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 +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 +6 -6
- 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 +3 -2
- 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 +1 -1
- 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 +5 -5
- 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} +702 -306
- 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 +34 -33
- 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-698d229c.entry.js +2 -0
- package/dist/nylas-web-elements/p-698d229c.entry.js.map +1 -0
- 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-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-b9a8d404.entry.js +8 -0
- package/dist/nylas-web-elements/p-b9a8d404.entry.js.map +1 -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-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-fecf68ef.entry.js → p-f4334e3a.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/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 +2 -2
- 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-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 +252 -289
- 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-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-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-fecf68ef.entry.js.map → p-f4334e3a.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
|
@@ -673,18 +673,18 @@ var Zb = {}.toString, Is = Array.isArray || function(r) {
|
|
|
673
673
|
* @license MIT
|
|
674
674
|
*/
|
|
675
675
|
var Qb = 50;
|
|
676
|
-
|
|
676
|
+
A.TYPED_ARRAY_SUPPORT = ci.TYPED_ARRAY_SUPPORT !== void 0 ? ci.TYPED_ARRAY_SUPPORT : !0;
|
|
677
677
|
function di() {
|
|
678
|
-
return
|
|
678
|
+
return A.TYPED_ARRAY_SUPPORT ? 2147483647 : 1073741823;
|
|
679
679
|
}
|
|
680
680
|
function Ke(r, e) {
|
|
681
681
|
if (di() < e)
|
|
682
682
|
throw new RangeError("Invalid typed array length");
|
|
683
|
-
return
|
|
683
|
+
return A.TYPED_ARRAY_SUPPORT ? (r = new Uint8Array(e), r.__proto__ = A.prototype) : (r === null && (r = new A(e)), r.length = e), r;
|
|
684
684
|
}
|
|
685
|
-
function
|
|
686
|
-
if (!
|
|
687
|
-
return new
|
|
685
|
+
function A(r, e, t) {
|
|
686
|
+
if (!A.TYPED_ARRAY_SUPPORT && !(this instanceof A))
|
|
687
|
+
return new A(r, e, t);
|
|
688
688
|
if (typeof r == "number") {
|
|
689
689
|
if (typeof e == "string")
|
|
690
690
|
throw new Error(
|
|
@@ -694,19 +694,19 @@ function C(r, e, t) {
|
|
|
694
694
|
}
|
|
695
695
|
return Ls(this, r, e, t);
|
|
696
696
|
}
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
return r.__proto__ =
|
|
697
|
+
A.poolSize = 8192;
|
|
698
|
+
A._augment = function(r) {
|
|
699
|
+
return r.__proto__ = A.prototype, r;
|
|
700
700
|
};
|
|
701
701
|
function Ls(r, e, t, n) {
|
|
702
702
|
if (typeof e == "number")
|
|
703
703
|
throw new TypeError('"value" argument must not be a number');
|
|
704
704
|
return typeof ArrayBuffer < "u" && e instanceof ArrayBuffer ? ty(r, e, t, n) : typeof e == "string" ? ey(r, e, t) : ry(r, e);
|
|
705
705
|
}
|
|
706
|
-
|
|
706
|
+
A.from = function(r, e, t) {
|
|
707
707
|
return Ls(null, r, e, t);
|
|
708
708
|
};
|
|
709
|
-
|
|
709
|
+
A.TYPED_ARRAY_SUPPORT && (A.prototype.__proto__ = Uint8Array.prototype, A.__proto__ = Uint8Array);
|
|
710
710
|
function Ns(r) {
|
|
711
711
|
if (typeof r != "number")
|
|
712
712
|
throw new TypeError('"size" argument must be a number');
|
|
@@ -716,23 +716,23 @@ function Ns(r) {
|
|
|
716
716
|
function Xb(r, e, t, n) {
|
|
717
717
|
return Ns(e), e <= 0 ? Ke(r, e) : t !== void 0 ? typeof n == "string" ? Ke(r, e).fill(t, n) : Ke(r, e).fill(t) : Ke(r, e);
|
|
718
718
|
}
|
|
719
|
-
|
|
719
|
+
A.alloc = function(r, e, t) {
|
|
720
720
|
return Xb(null, r, e, t);
|
|
721
721
|
};
|
|
722
722
|
function ho(r, e) {
|
|
723
|
-
if (Ns(e), r = Ke(r, e < 0 ? 0 : go(e) | 0), !
|
|
723
|
+
if (Ns(e), r = Ke(r, e < 0 ? 0 : go(e) | 0), !A.TYPED_ARRAY_SUPPORT)
|
|
724
724
|
for (var t = 0; t < e; ++t)
|
|
725
725
|
r[t] = 0;
|
|
726
726
|
return r;
|
|
727
727
|
}
|
|
728
|
-
|
|
728
|
+
A.allocUnsafe = function(r) {
|
|
729
729
|
return ho(null, r);
|
|
730
730
|
};
|
|
731
|
-
|
|
731
|
+
A.allocUnsafeSlow = function(r) {
|
|
732
732
|
return ho(null, r);
|
|
733
733
|
};
|
|
734
734
|
function ey(r, e, t) {
|
|
735
|
-
if ((typeof t != "string" || t === "") && (t = "utf8"), !
|
|
735
|
+
if ((typeof t != "string" || t === "") && (t = "utf8"), !A.isEncoding(t))
|
|
736
736
|
throw new TypeError('"encoding" must be a valid string encoding');
|
|
737
737
|
var n = Fs(e, t) | 0;
|
|
738
738
|
r = Ke(r, n);
|
|
@@ -751,7 +751,7 @@ function ty(r, e, t, n) {
|
|
|
751
751
|
throw new RangeError("'offset' is out of bounds");
|
|
752
752
|
if (e.byteLength < t + (n || 0))
|
|
753
753
|
throw new RangeError("'length' is out of bounds");
|
|
754
|
-
return t === void 0 && n === void 0 ? e = new Uint8Array(e) : n === void 0 ? e = new Uint8Array(e, t) : e = new Uint8Array(e, t, n),
|
|
754
|
+
return t === void 0 && n === void 0 ? e = new Uint8Array(e) : n === void 0 ? e = new Uint8Array(e, t) : e = new Uint8Array(e, t, n), A.TYPED_ARRAY_SUPPORT ? (r = e, r.__proto__ = A.prototype) : r = fi(r, e), r;
|
|
755
755
|
}
|
|
756
756
|
function ry(r, e) {
|
|
757
757
|
if (Le(e)) {
|
|
@@ -771,11 +771,11 @@ function go(r) {
|
|
|
771
771
|
throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + di().toString(16) + " bytes");
|
|
772
772
|
return r | 0;
|
|
773
773
|
}
|
|
774
|
-
|
|
774
|
+
A.isBuffer = xy;
|
|
775
775
|
function Le(r) {
|
|
776
776
|
return !!(r != null && r._isBuffer);
|
|
777
777
|
}
|
|
778
|
-
|
|
778
|
+
A.compare = function(e, t) {
|
|
779
779
|
if (!Le(e) || !Le(t))
|
|
780
780
|
throw new TypeError("Arguments must be Buffers");
|
|
781
781
|
if (e === t) return 0;
|
|
@@ -786,7 +786,7 @@ C.compare = function(e, t) {
|
|
|
786
786
|
}
|
|
787
787
|
return n < i ? -1 : i < n ? 1 : 0;
|
|
788
788
|
};
|
|
789
|
-
|
|
789
|
+
A.isEncoding = function(e) {
|
|
790
790
|
switch (String(e).toLowerCase()) {
|
|
791
791
|
case "hex":
|
|
792
792
|
case "utf8":
|
|
@@ -804,16 +804,16 @@ C.isEncoding = function(e) {
|
|
|
804
804
|
return !1;
|
|
805
805
|
}
|
|
806
806
|
};
|
|
807
|
-
|
|
807
|
+
A.concat = function(e, t) {
|
|
808
808
|
if (!Is(e))
|
|
809
809
|
throw new TypeError('"list" argument must be an Array of Buffers');
|
|
810
810
|
if (e.length === 0)
|
|
811
|
-
return
|
|
811
|
+
return A.alloc(0);
|
|
812
812
|
var n;
|
|
813
813
|
if (t === void 0)
|
|
814
814
|
for (t = 0, n = 0; n < e.length; ++n)
|
|
815
815
|
t += e[n].length;
|
|
816
|
-
var i =
|
|
816
|
+
var i = A.allocUnsafe(t), o = 0;
|
|
817
817
|
for (n = 0; n < e.length; ++n) {
|
|
818
818
|
var u = e[n];
|
|
819
819
|
if (!Le(u))
|
|
@@ -854,7 +854,7 @@ function Fs(r, e) {
|
|
|
854
854
|
e = ("" + e).toLowerCase(), n = !0;
|
|
855
855
|
}
|
|
856
856
|
}
|
|
857
|
-
|
|
857
|
+
A.byteLength = Fs;
|
|
858
858
|
function ny(r, e, t) {
|
|
859
859
|
var n = !1;
|
|
860
860
|
if ((e === void 0 || e < 0) && (e = 0), e > this.length || ((t === void 0 || t > this.length) && (t = this.length), t <= 0) || (t >>>= 0, e >>>= 0, t <= e))
|
|
@@ -883,12 +883,12 @@ function ny(r, e, t) {
|
|
|
883
883
|
r = (r + "").toLowerCase(), n = !0;
|
|
884
884
|
}
|
|
885
885
|
}
|
|
886
|
-
|
|
886
|
+
A.prototype._isBuffer = !0;
|
|
887
887
|
function dt(r, e, t) {
|
|
888
888
|
var n = r[e];
|
|
889
889
|
r[e] = r[t], r[t] = n;
|
|
890
890
|
}
|
|
891
|
-
|
|
891
|
+
A.prototype.swap16 = function() {
|
|
892
892
|
var e = this.length;
|
|
893
893
|
if (e % 2 !== 0)
|
|
894
894
|
throw new RangeError("Buffer size must be a multiple of 16-bits");
|
|
@@ -896,7 +896,7 @@ C.prototype.swap16 = function() {
|
|
|
896
896
|
dt(this, t, t + 1);
|
|
897
897
|
return this;
|
|
898
898
|
};
|
|
899
|
-
|
|
899
|
+
A.prototype.swap32 = function() {
|
|
900
900
|
var e = this.length;
|
|
901
901
|
if (e % 4 !== 0)
|
|
902
902
|
throw new RangeError("Buffer size must be a multiple of 32-bits");
|
|
@@ -904,7 +904,7 @@ C.prototype.swap32 = function() {
|
|
|
904
904
|
dt(this, t, t + 3), dt(this, t + 1, t + 2);
|
|
905
905
|
return this;
|
|
906
906
|
};
|
|
907
|
-
|
|
907
|
+
A.prototype.swap64 = function() {
|
|
908
908
|
var e = this.length;
|
|
909
909
|
if (e % 8 !== 0)
|
|
910
910
|
throw new RangeError("Buffer size must be a multiple of 64-bits");
|
|
@@ -912,19 +912,19 @@ C.prototype.swap64 = function() {
|
|
|
912
912
|
dt(this, t, t + 7), dt(this, t + 1, t + 6), dt(this, t + 2, t + 5), dt(this, t + 3, t + 4);
|
|
913
913
|
return this;
|
|
914
914
|
};
|
|
915
|
-
|
|
915
|
+
A.prototype.toString = function() {
|
|
916
916
|
var e = this.length | 0;
|
|
917
917
|
return e === 0 ? "" : arguments.length === 0 ? qs(this, 0, e) : ny.apply(this, arguments);
|
|
918
918
|
};
|
|
919
|
-
|
|
919
|
+
A.prototype.equals = function(e) {
|
|
920
920
|
if (!Le(e)) throw new TypeError("Argument must be a Buffer");
|
|
921
|
-
return this === e ? !0 :
|
|
921
|
+
return this === e ? !0 : A.compare(this, e) === 0;
|
|
922
922
|
};
|
|
923
|
-
|
|
923
|
+
A.prototype.inspect = function() {
|
|
924
924
|
var e = "", t = Qb;
|
|
925
925
|
return this.length > 0 && (e = this.toString("hex", 0, t).match(/.{2}/g).join(" "), this.length > t && (e += " ... ")), "<Buffer " + e + ">";
|
|
926
926
|
};
|
|
927
|
-
|
|
927
|
+
A.prototype.compare = function(e, t, n, i, o) {
|
|
928
928
|
if (!Le(e))
|
|
929
929
|
throw new TypeError("Argument must be a Buffer");
|
|
930
930
|
if (t === void 0 && (t = 0), n === void 0 && (n = e ? e.length : 0), i === void 0 && (i = 0), o === void 0 && (o = this.length), t < 0 || n > e.length || i < 0 || o > this.length)
|
|
@@ -951,10 +951,10 @@ function Us(r, e, t, n, i) {
|
|
|
951
951
|
} else if (t < 0)
|
|
952
952
|
if (i) t = 0;
|
|
953
953
|
else return -1;
|
|
954
|
-
if (typeof e == "string" && (e =
|
|
954
|
+
if (typeof e == "string" && (e = A.from(e, n)), Le(e))
|
|
955
955
|
return e.length === 0 ? -1 : su(r, e, t, n, i);
|
|
956
956
|
if (typeof e == "number")
|
|
957
|
-
return e = e & 255,
|
|
957
|
+
return e = e & 255, A.TYPED_ARRAY_SUPPORT && typeof Uint8Array.prototype.indexOf == "function" ? i ? Uint8Array.prototype.indexOf.call(r, e, t) : Uint8Array.prototype.lastIndexOf.call(r, e, t) : su(r, [e], t, n, i);
|
|
958
958
|
throw new TypeError("val must be string, number or Buffer");
|
|
959
959
|
}
|
|
960
960
|
function su(r, e, t, n, i) {
|
|
@@ -986,13 +986,13 @@ function su(r, e, t, n, i) {
|
|
|
986
986
|
}
|
|
987
987
|
return -1;
|
|
988
988
|
}
|
|
989
|
-
|
|
989
|
+
A.prototype.includes = function(e, t, n) {
|
|
990
990
|
return this.indexOf(e, t, n) !== -1;
|
|
991
991
|
};
|
|
992
|
-
|
|
992
|
+
A.prototype.indexOf = function(e, t, n) {
|
|
993
993
|
return Us(this, e, t, n, !0);
|
|
994
994
|
};
|
|
995
|
-
|
|
995
|
+
A.prototype.lastIndexOf = function(e, t, n) {
|
|
996
996
|
return Us(this, e, t, n, !1);
|
|
997
997
|
};
|
|
998
998
|
function iy(r, e, t, n) {
|
|
@@ -1024,7 +1024,7 @@ function sy(r, e, t, n) {
|
|
|
1024
1024
|
function ay(r, e, t, n) {
|
|
1025
1025
|
return On(wy(e, r.length - t), r, t, n);
|
|
1026
1026
|
}
|
|
1027
|
-
|
|
1027
|
+
A.prototype.write = function(e, t, n, i) {
|
|
1028
1028
|
if (t === void 0)
|
|
1029
1029
|
i = "utf8", n = this.length, t = 0;
|
|
1030
1030
|
else if (n === void 0 && typeof t == "string")
|
|
@@ -1063,7 +1063,7 @@ C.prototype.write = function(e, t, n, i) {
|
|
|
1063
1063
|
i = ("" + i).toLowerCase(), u = !0;
|
|
1064
1064
|
}
|
|
1065
1065
|
};
|
|
1066
|
-
|
|
1066
|
+
A.prototype.toJSON = function() {
|
|
1067
1067
|
return {
|
|
1068
1068
|
type: "Buffer",
|
|
1069
1069
|
data: Array.prototype.slice.call(this._arr || this, 0)
|
|
@@ -1134,15 +1134,15 @@ function gy(r, e, t) {
|
|
|
1134
1134
|
i += String.fromCharCode(n[o] + n[o + 1] * 256);
|
|
1135
1135
|
return i;
|
|
1136
1136
|
}
|
|
1137
|
-
|
|
1137
|
+
A.prototype.slice = function(e, t) {
|
|
1138
1138
|
var n = this.length;
|
|
1139
1139
|
e = ~~e, t = t === void 0 ? n : ~~t, e < 0 ? (e += n, e < 0 && (e = 0)) : e > n && (e = n), t < 0 ? (t += n, t < 0 && (t = 0)) : t > n && (t = n), t < e && (t = e);
|
|
1140
1140
|
var i;
|
|
1141
|
-
if (
|
|
1142
|
-
i = this.subarray(e, t), i.__proto__ =
|
|
1141
|
+
if (A.TYPED_ARRAY_SUPPORT)
|
|
1142
|
+
i = this.subarray(e, t), i.__proto__ = A.prototype;
|
|
1143
1143
|
else {
|
|
1144
1144
|
var o = t - e;
|
|
1145
|
-
i = new
|
|
1145
|
+
i = new A(o, void 0);
|
|
1146
1146
|
for (var u = 0; u < o; ++u)
|
|
1147
1147
|
i[u] = this[u + e];
|
|
1148
1148
|
}
|
|
@@ -1152,74 +1152,74 @@ function oe(r, e, t) {
|
|
|
1152
1152
|
if (r % 1 !== 0 || r < 0) throw new RangeError("offset is not uint");
|
|
1153
1153
|
if (r + e > t) throw new RangeError("Trying to access beyond buffer length");
|
|
1154
1154
|
}
|
|
1155
|
-
|
|
1155
|
+
A.prototype.readUIntLE = function(e, t, n) {
|
|
1156
1156
|
e = e | 0, t = t | 0, n || oe(e, t, this.length);
|
|
1157
1157
|
for (var i = this[e], o = 1, u = 0; ++u < t && (o *= 256); )
|
|
1158
1158
|
i += this[e + u] * o;
|
|
1159
1159
|
return i;
|
|
1160
1160
|
};
|
|
1161
|
-
|
|
1161
|
+
A.prototype.readUIntBE = function(e, t, n) {
|
|
1162
1162
|
e = e | 0, t = t | 0, n || oe(e, t, this.length);
|
|
1163
1163
|
for (var i = this[e + --t], o = 1; t > 0 && (o *= 256); )
|
|
1164
1164
|
i += this[e + --t] * o;
|
|
1165
1165
|
return i;
|
|
1166
1166
|
};
|
|
1167
|
-
|
|
1167
|
+
A.prototype.readUInt8 = function(e, t) {
|
|
1168
1168
|
return t || oe(e, 1, this.length), this[e];
|
|
1169
1169
|
};
|
|
1170
|
-
|
|
1170
|
+
A.prototype.readUInt16LE = function(e, t) {
|
|
1171
1171
|
return t || oe(e, 2, this.length), this[e] | this[e + 1] << 8;
|
|
1172
1172
|
};
|
|
1173
|
-
|
|
1173
|
+
A.prototype.readUInt16BE = function(e, t) {
|
|
1174
1174
|
return t || oe(e, 2, this.length), this[e] << 8 | this[e + 1];
|
|
1175
1175
|
};
|
|
1176
|
-
|
|
1176
|
+
A.prototype.readUInt32LE = function(e, t) {
|
|
1177
1177
|
return t || oe(e, 4, this.length), (this[e] | this[e + 1] << 8 | this[e + 2] << 16) + this[e + 3] * 16777216;
|
|
1178
1178
|
};
|
|
1179
|
-
|
|
1179
|
+
A.prototype.readUInt32BE = function(e, t) {
|
|
1180
1180
|
return t || oe(e, 4, this.length), this[e] * 16777216 + (this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3]);
|
|
1181
1181
|
};
|
|
1182
|
-
|
|
1182
|
+
A.prototype.readIntLE = function(e, t, n) {
|
|
1183
1183
|
e = e | 0, t = t | 0, n || oe(e, t, this.length);
|
|
1184
1184
|
for (var i = this[e], o = 1, u = 0; ++u < t && (o *= 256); )
|
|
1185
1185
|
i += this[e + u] * o;
|
|
1186
1186
|
return o *= 128, i >= o && (i -= Math.pow(2, 8 * t)), i;
|
|
1187
1187
|
};
|
|
1188
|
-
|
|
1188
|
+
A.prototype.readIntBE = function(e, t, n) {
|
|
1189
1189
|
e = e | 0, t = t | 0, n || oe(e, t, this.length);
|
|
1190
1190
|
for (var i = t, o = 1, u = this[e + --i]; i > 0 && (o *= 256); )
|
|
1191
1191
|
u += this[e + --i] * o;
|
|
1192
1192
|
return o *= 128, u >= o && (u -= Math.pow(2, 8 * t)), u;
|
|
1193
1193
|
};
|
|
1194
|
-
|
|
1194
|
+
A.prototype.readInt8 = function(e, t) {
|
|
1195
1195
|
return t || oe(e, 1, this.length), this[e] & 128 ? (255 - this[e] + 1) * -1 : this[e];
|
|
1196
1196
|
};
|
|
1197
|
-
|
|
1197
|
+
A.prototype.readInt16LE = function(e, t) {
|
|
1198
1198
|
t || oe(e, 2, this.length);
|
|
1199
1199
|
var n = this[e] | this[e + 1] << 8;
|
|
1200
1200
|
return n & 32768 ? n | 4294901760 : n;
|
|
1201
1201
|
};
|
|
1202
|
-
|
|
1202
|
+
A.prototype.readInt16BE = function(e, t) {
|
|
1203
1203
|
t || oe(e, 2, this.length);
|
|
1204
1204
|
var n = this[e + 1] | this[e] << 8;
|
|
1205
1205
|
return n & 32768 ? n | 4294901760 : n;
|
|
1206
1206
|
};
|
|
1207
|
-
|
|
1207
|
+
A.prototype.readInt32LE = function(e, t) {
|
|
1208
1208
|
return t || oe(e, 4, this.length), this[e] | this[e + 1] << 8 | this[e + 2] << 16 | this[e + 3] << 24;
|
|
1209
1209
|
};
|
|
1210
|
-
|
|
1210
|
+
A.prototype.readInt32BE = function(e, t) {
|
|
1211
1211
|
return t || oe(e, 4, this.length), this[e] << 24 | this[e + 1] << 16 | this[e + 2] << 8 | this[e + 3];
|
|
1212
1212
|
};
|
|
1213
|
-
|
|
1213
|
+
A.prototype.readFloatLE = function(e, t) {
|
|
1214
1214
|
return t || oe(e, 4, this.length), Rn(this, e, !0, 23, 4);
|
|
1215
1215
|
};
|
|
1216
|
-
|
|
1216
|
+
A.prototype.readFloatBE = function(e, t) {
|
|
1217
1217
|
return t || oe(e, 4, this.length), Rn(this, e, !1, 23, 4);
|
|
1218
1218
|
};
|
|
1219
|
-
|
|
1219
|
+
A.prototype.readDoubleLE = function(e, t) {
|
|
1220
1220
|
return t || oe(e, 8, this.length), Rn(this, e, !0, 52, 8);
|
|
1221
1221
|
};
|
|
1222
|
-
|
|
1222
|
+
A.prototype.readDoubleBE = function(e, t) {
|
|
1223
1223
|
return t || oe(e, 8, this.length), Rn(this, e, !1, 52, 8);
|
|
1224
1224
|
};
|
|
1225
1225
|
function me(r, e, t, n, i, o) {
|
|
@@ -1227,7 +1227,7 @@ function me(r, e, t, n, i, o) {
|
|
|
1227
1227
|
if (e > i || e < o) throw new RangeError('"value" argument is out of bounds');
|
|
1228
1228
|
if (t + n > r.length) throw new RangeError("Index out of range");
|
|
1229
1229
|
}
|
|
1230
|
-
|
|
1230
|
+
A.prototype.writeUIntLE = function(e, t, n, i) {
|
|
1231
1231
|
if (e = +e, t = t | 0, n = n | 0, !i) {
|
|
1232
1232
|
var o = Math.pow(2, 8 * n) - 1;
|
|
1233
1233
|
me(this, e, t, n, o, 0);
|
|
@@ -1237,7 +1237,7 @@ C.prototype.writeUIntLE = function(e, t, n, i) {
|
|
|
1237
1237
|
this[t + s] = e / u & 255;
|
|
1238
1238
|
return t + n;
|
|
1239
1239
|
};
|
|
1240
|
-
|
|
1240
|
+
A.prototype.writeUIntBE = function(e, t, n, i) {
|
|
1241
1241
|
if (e = +e, t = t | 0, n = n | 0, !i) {
|
|
1242
1242
|
var o = Math.pow(2, 8 * n) - 1;
|
|
1243
1243
|
me(this, e, t, n, o, 0);
|
|
@@ -1247,32 +1247,32 @@ C.prototype.writeUIntBE = function(e, t, n, i) {
|
|
|
1247
1247
|
this[t + u] = e / s & 255;
|
|
1248
1248
|
return t + n;
|
|
1249
1249
|
};
|
|
1250
|
-
|
|
1251
|
-
return e = +e, t = t | 0, n || me(this, e, t, 1, 255, 0),
|
|
1250
|
+
A.prototype.writeUInt8 = function(e, t, n) {
|
|
1251
|
+
return e = +e, t = t | 0, n || me(this, e, t, 1, 255, 0), A.TYPED_ARRAY_SUPPORT || (e = Math.floor(e)), this[t] = e & 255, t + 1;
|
|
1252
1252
|
};
|
|
1253
1253
|
function Dn(r, e, t, n) {
|
|
1254
1254
|
e < 0 && (e = 65535 + e + 1);
|
|
1255
1255
|
for (var i = 0, o = Math.min(r.length - t, 2); i < o; ++i)
|
|
1256
1256
|
r[t + i] = (e & 255 << 8 * (n ? i : 1 - i)) >>> (n ? i : 1 - i) * 8;
|
|
1257
1257
|
}
|
|
1258
|
-
|
|
1259
|
-
return e = +e, t = t | 0, n || me(this, e, t, 2, 65535, 0),
|
|
1258
|
+
A.prototype.writeUInt16LE = function(e, t, n) {
|
|
1259
|
+
return e = +e, t = t | 0, n || me(this, e, t, 2, 65535, 0), A.TYPED_ARRAY_SUPPORT ? (this[t] = e & 255, this[t + 1] = e >>> 8) : Dn(this, e, t, !0), t + 2;
|
|
1260
1260
|
};
|
|
1261
|
-
|
|
1262
|
-
return e = +e, t = t | 0, n || me(this, e, t, 2, 65535, 0),
|
|
1261
|
+
A.prototype.writeUInt16BE = function(e, t, n) {
|
|
1262
|
+
return e = +e, t = t | 0, n || me(this, e, t, 2, 65535, 0), A.TYPED_ARRAY_SUPPORT ? (this[t] = e >>> 8, this[t + 1] = e & 255) : Dn(this, e, t, !1), t + 2;
|
|
1263
1263
|
};
|
|
1264
1264
|
function Mn(r, e, t, n) {
|
|
1265
1265
|
e < 0 && (e = 4294967295 + e + 1);
|
|
1266
1266
|
for (var i = 0, o = Math.min(r.length - t, 4); i < o; ++i)
|
|
1267
1267
|
r[t + i] = e >>> (n ? i : 3 - i) * 8 & 255;
|
|
1268
1268
|
}
|
|
1269
|
-
|
|
1270
|
-
return e = +e, t = t | 0, n || me(this, e, t, 4, 4294967295, 0),
|
|
1269
|
+
A.prototype.writeUInt32LE = function(e, t, n) {
|
|
1270
|
+
return e = +e, t = t | 0, n || me(this, e, t, 4, 4294967295, 0), A.TYPED_ARRAY_SUPPORT ? (this[t + 3] = e >>> 24, this[t + 2] = e >>> 16, this[t + 1] = e >>> 8, this[t] = e & 255) : Mn(this, e, t, !0), t + 4;
|
|
1271
1271
|
};
|
|
1272
|
-
|
|
1273
|
-
return e = +e, t = t | 0, n || me(this, e, t, 4, 4294967295, 0),
|
|
1272
|
+
A.prototype.writeUInt32BE = function(e, t, n) {
|
|
1273
|
+
return e = +e, t = t | 0, n || me(this, e, t, 4, 4294967295, 0), A.TYPED_ARRAY_SUPPORT ? (this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = e & 255) : Mn(this, e, t, !1), t + 4;
|
|
1274
1274
|
};
|
|
1275
|
-
|
|
1275
|
+
A.prototype.writeIntLE = function(e, t, n, i) {
|
|
1276
1276
|
if (e = +e, t = t | 0, !i) {
|
|
1277
1277
|
var o = Math.pow(2, 8 * n - 1);
|
|
1278
1278
|
me(this, e, t, n, o - 1, -o);
|
|
@@ -1282,7 +1282,7 @@ C.prototype.writeIntLE = function(e, t, n, i) {
|
|
|
1282
1282
|
e < 0 && a === 0 && this[t + u - 1] !== 0 && (a = 1), this[t + u] = (e / s >> 0) - a & 255;
|
|
1283
1283
|
return t + n;
|
|
1284
1284
|
};
|
|
1285
|
-
|
|
1285
|
+
A.prototype.writeIntBE = function(e, t, n, i) {
|
|
1286
1286
|
if (e = +e, t = t | 0, !i) {
|
|
1287
1287
|
var o = Math.pow(2, 8 * n - 1);
|
|
1288
1288
|
me(this, e, t, n, o - 1, -o);
|
|
@@ -1292,20 +1292,20 @@ C.prototype.writeIntBE = function(e, t, n, i) {
|
|
|
1292
1292
|
e < 0 && a === 0 && this[t + u + 1] !== 0 && (a = 1), this[t + u] = (e / s >> 0) - a & 255;
|
|
1293
1293
|
return t + n;
|
|
1294
1294
|
};
|
|
1295
|
-
|
|
1296
|
-
return e = +e, t = t | 0, n || me(this, e, t, 1, 127, -128),
|
|
1295
|
+
A.prototype.writeInt8 = function(e, t, n) {
|
|
1296
|
+
return e = +e, t = t | 0, n || me(this, e, t, 1, 127, -128), A.TYPED_ARRAY_SUPPORT || (e = Math.floor(e)), e < 0 && (e = 255 + e + 1), this[t] = e & 255, t + 1;
|
|
1297
1297
|
};
|
|
1298
|
-
|
|
1299
|
-
return e = +e, t = t | 0, n || me(this, e, t, 2, 32767, -32768),
|
|
1298
|
+
A.prototype.writeInt16LE = function(e, t, n) {
|
|
1299
|
+
return e = +e, t = t | 0, n || me(this, e, t, 2, 32767, -32768), A.TYPED_ARRAY_SUPPORT ? (this[t] = e & 255, this[t + 1] = e >>> 8) : Dn(this, e, t, !0), t + 2;
|
|
1300
1300
|
};
|
|
1301
|
-
|
|
1302
|
-
return e = +e, t = t | 0, n || me(this, e, t, 2, 32767, -32768),
|
|
1301
|
+
A.prototype.writeInt16BE = function(e, t, n) {
|
|
1302
|
+
return e = +e, t = t | 0, n || me(this, e, t, 2, 32767, -32768), A.TYPED_ARRAY_SUPPORT ? (this[t] = e >>> 8, this[t + 1] = e & 255) : Dn(this, e, t, !1), t + 2;
|
|
1303
1303
|
};
|
|
1304
|
-
|
|
1305
|
-
return e = +e, t = t | 0, n || me(this, e, t, 4, 2147483647, -2147483648),
|
|
1304
|
+
A.prototype.writeInt32LE = function(e, t, n) {
|
|
1305
|
+
return e = +e, t = t | 0, n || me(this, e, t, 4, 2147483647, -2147483648), A.TYPED_ARRAY_SUPPORT ? (this[t] = e & 255, this[t + 1] = e >>> 8, this[t + 2] = e >>> 16, this[t + 3] = e >>> 24) : Mn(this, e, t, !0), t + 4;
|
|
1306
1306
|
};
|
|
1307
|
-
|
|
1308
|
-
return e = +e, t = t | 0, n || me(this, e, t, 4, 2147483647, -2147483648), e < 0 && (e = 4294967295 + e + 1),
|
|
1307
|
+
A.prototype.writeInt32BE = function(e, t, n) {
|
|
1308
|
+
return e = +e, t = t | 0, n || me(this, e, t, 4, 2147483647, -2147483648), e < 0 && (e = 4294967295 + e + 1), A.TYPED_ARRAY_SUPPORT ? (this[t] = e >>> 24, this[t + 1] = e >>> 16, this[t + 2] = e >>> 8, this[t + 3] = e & 255) : Mn(this, e, t, !1), t + 4;
|
|
1309
1309
|
};
|
|
1310
1310
|
function Ys(r, e, t, n, i, o) {
|
|
1311
1311
|
if (t + n > r.length) throw new RangeError("Index out of range");
|
|
@@ -1314,22 +1314,22 @@ function Ys(r, e, t, n, i, o) {
|
|
|
1314
1314
|
function Hs(r, e, t, n, i) {
|
|
1315
1315
|
return i || Ys(r, e, t, 4), Ps(r, e, t, n, 23, 4), t + 4;
|
|
1316
1316
|
}
|
|
1317
|
-
|
|
1317
|
+
A.prototype.writeFloatLE = function(e, t, n) {
|
|
1318
1318
|
return Hs(this, e, t, !0, n);
|
|
1319
1319
|
};
|
|
1320
|
-
|
|
1320
|
+
A.prototype.writeFloatBE = function(e, t, n) {
|
|
1321
1321
|
return Hs(this, e, t, !1, n);
|
|
1322
1322
|
};
|
|
1323
1323
|
function zs(r, e, t, n, i) {
|
|
1324
1324
|
return i || Ys(r, e, t, 8), Ps(r, e, t, n, 52, 8), t + 8;
|
|
1325
1325
|
}
|
|
1326
|
-
|
|
1326
|
+
A.prototype.writeDoubleLE = function(e, t, n) {
|
|
1327
1327
|
return zs(this, e, t, !0, n);
|
|
1328
1328
|
};
|
|
1329
|
-
|
|
1329
|
+
A.prototype.writeDoubleBE = function(e, t, n) {
|
|
1330
1330
|
return zs(this, e, t, !1, n);
|
|
1331
1331
|
};
|
|
1332
|
-
|
|
1332
|
+
A.prototype.copy = function(e, t, n, i) {
|
|
1333
1333
|
if (n || (n = 0), !i && i !== 0 && (i = this.length), t >= e.length && (t = e.length), t || (t = 0), i > 0 && i < n && (i = n), i === n || e.length === 0 || this.length === 0) return 0;
|
|
1334
1334
|
if (t < 0)
|
|
1335
1335
|
throw new RangeError("targetStart out of bounds");
|
|
@@ -1340,7 +1340,7 @@ C.prototype.copy = function(e, t, n, i) {
|
|
|
1340
1340
|
if (this === e && n < t && t < i)
|
|
1341
1341
|
for (u = o - 1; u >= 0; --u)
|
|
1342
1342
|
e[u + t] = this[u + n];
|
|
1343
|
-
else if (o < 1e3 || !
|
|
1343
|
+
else if (o < 1e3 || !A.TYPED_ARRAY_SUPPORT)
|
|
1344
1344
|
for (u = 0; u < o; ++u)
|
|
1345
1345
|
e[u + t] = this[u + n];
|
|
1346
1346
|
else
|
|
@@ -1351,7 +1351,7 @@ C.prototype.copy = function(e, t, n, i) {
|
|
|
1351
1351
|
);
|
|
1352
1352
|
return o;
|
|
1353
1353
|
};
|
|
1354
|
-
|
|
1354
|
+
A.prototype.fill = function(e, t, n, i) {
|
|
1355
1355
|
if (typeof e == "string") {
|
|
1356
1356
|
if (typeof t == "string" ? (i = t, t = 0, n = this.length) : typeof n == "string" && (i = n, n = this.length), e.length === 1) {
|
|
1357
1357
|
var o = e.charCodeAt(0);
|
|
@@ -1359,7 +1359,7 @@ C.prototype.fill = function(e, t, n, i) {
|
|
|
1359
1359
|
}
|
|
1360
1360
|
if (i !== void 0 && typeof i != "string")
|
|
1361
1361
|
throw new TypeError("encoding must be a string");
|
|
1362
|
-
if (typeof i == "string" && !
|
|
1362
|
+
if (typeof i == "string" && !A.isEncoding(i))
|
|
1363
1363
|
throw new TypeError("Unknown encoding: " + i);
|
|
1364
1364
|
} else typeof e == "number" && (e = e & 255);
|
|
1365
1365
|
if (t < 0 || this.length < t || this.length < n)
|
|
@@ -1372,7 +1372,7 @@ C.prototype.fill = function(e, t, n, i) {
|
|
|
1372
1372
|
for (u = t; u < n; ++u)
|
|
1373
1373
|
this[u] = e;
|
|
1374
1374
|
else {
|
|
1375
|
-
var s = Le(e) ? e : an(new
|
|
1375
|
+
var s = Le(e) ? e : an(new A(e, i).toString()), a = s.length;
|
|
1376
1376
|
for (u = 0; u < n - t; ++u)
|
|
1377
1377
|
this[u + t] = s[u % a];
|
|
1378
1378
|
}
|
|
@@ -1491,17 +1491,17 @@ var Vs = { exports: {} };
|
|
|
1491
1491
|
r.exports = n();
|
|
1492
1492
|
})(ve, function() {
|
|
1493
1493
|
var t = 1e3, n = 6e4, i = 36e5, o = "millisecond", u = "second", s = "minute", a = "hour", l = "day", d = "week", c = "month", f = "quarter", h = "year", g = "date", p = "Invalid Date", m = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, b = /\[([^\]]+)]|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, y = { 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(E) {
|
|
1494
|
-
var
|
|
1495
|
-
return "[" + E + (
|
|
1496
|
-
} },
|
|
1494
|
+
var k = ["th", "st", "nd", "rd"], S = E % 100;
|
|
1495
|
+
return "[" + E + (k[(S - 20) % 10] || k[S] || k[0]) + "]";
|
|
1496
|
+
} }, x = function(E, k, S) {
|
|
1497
1497
|
var P = String(E);
|
|
1498
|
-
return !P || P.length >=
|
|
1499
|
-
},
|
|
1500
|
-
var
|
|
1501
|
-
return (
|
|
1502
|
-
}, m: function E(
|
|
1503
|
-
if (
|
|
1504
|
-
var P = 12 * (S.year() -
|
|
1498
|
+
return !P || P.length >= k ? E : "" + Array(k + 1 - P.length).join(S) + E;
|
|
1499
|
+
}, w = { s: x, z: function(E) {
|
|
1500
|
+
var k = -E.utcOffset(), S = Math.abs(k), P = Math.floor(S / 60), R = S % 60;
|
|
1501
|
+
return (k <= 0 ? "+" : "-") + x(P, 2, "0") + ":" + x(R, 2, "0");
|
|
1502
|
+
}, m: function E(k, S) {
|
|
1503
|
+
if (k.date() < S.date()) return -E(S, k);
|
|
1504
|
+
var P = 12 * (S.year() - k.year()) + (S.month() - k.month()), R = k.clone().add(P, c), O = S - R < 0, N = k.clone().add(P + (O ? -1 : 1), c);
|
|
1505
1505
|
return +(-(P + (S - R) / (O ? R - N : N - R)) || 0);
|
|
1506
1506
|
}, a: function(E) {
|
|
1507
1507
|
return E < 0 ? Math.ceil(E) || 0 : Math.floor(E);
|
|
@@ -1509,41 +1509,41 @@ var Vs = { exports: {} };
|
|
|
1509
1509
|
return { M: c, y: h, w: d, d: l, D: g, h: a, m: s, s: u, ms: o, Q: f }[E] || String(E || "").toLowerCase().replace(/s$/, "");
|
|
1510
1510
|
}, u: function(E) {
|
|
1511
1511
|
return E === void 0;
|
|
1512
|
-
} },
|
|
1513
|
-
T[
|
|
1514
|
-
var
|
|
1512
|
+
} }, $ = "en", T = {};
|
|
1513
|
+
T[$] = y;
|
|
1514
|
+
var B = function(E) {
|
|
1515
1515
|
return E instanceof v;
|
|
1516
|
-
},
|
|
1516
|
+
}, I = function E(k, S, P) {
|
|
1517
1517
|
var R;
|
|
1518
|
-
if (!
|
|
1519
|
-
if (typeof
|
|
1520
|
-
var O =
|
|
1518
|
+
if (!k) return $;
|
|
1519
|
+
if (typeof k == "string") {
|
|
1520
|
+
var O = k.toLowerCase();
|
|
1521
1521
|
T[O] && (R = O), S && (T[O] = S, R = O);
|
|
1522
|
-
var N =
|
|
1522
|
+
var N = k.split("-");
|
|
1523
1523
|
if (!R && N.length > 1) return E(N[0]);
|
|
1524
1524
|
} else {
|
|
1525
|
-
var Y =
|
|
1526
|
-
T[Y] =
|
|
1525
|
+
var Y = k.name;
|
|
1526
|
+
T[Y] = k, R = Y;
|
|
1527
1527
|
}
|
|
1528
|
-
return !P && R && (
|
|
1529
|
-
}, _ = function(E,
|
|
1530
|
-
if (
|
|
1531
|
-
var S = typeof
|
|
1528
|
+
return !P && R && ($ = R), R || !P && $;
|
|
1529
|
+
}, _ = function(E, k) {
|
|
1530
|
+
if (B(E)) return E.clone();
|
|
1531
|
+
var S = typeof k == "object" ? k : {};
|
|
1532
1532
|
return S.date = E, S.args = arguments, new v(S);
|
|
1533
|
-
},
|
|
1534
|
-
|
|
1535
|
-
return _(E, { locale:
|
|
1533
|
+
}, M = w;
|
|
1534
|
+
M.l = I, M.i = B, M.w = function(E, k) {
|
|
1535
|
+
return _(E, { locale: k.$L, utc: k.$u, x: k.$x, $offset: k.$offset });
|
|
1536
1536
|
};
|
|
1537
1537
|
var v = function() {
|
|
1538
1538
|
function E(S) {
|
|
1539
|
-
this.$L =
|
|
1539
|
+
this.$L = I(S.locale, null, !0), this.parse(S);
|
|
1540
1540
|
}
|
|
1541
|
-
var
|
|
1542
|
-
return
|
|
1541
|
+
var k = E.prototype;
|
|
1542
|
+
return k.parse = function(S) {
|
|
1543
1543
|
this.$d = function(P) {
|
|
1544
1544
|
var R = P.date, O = P.utc;
|
|
1545
1545
|
if (R === null) return /* @__PURE__ */ new Date(NaN);
|
|
1546
|
-
if (
|
|
1546
|
+
if (M.u(R)) return /* @__PURE__ */ new Date();
|
|
1547
1547
|
if (R instanceof Date) return new Date(R);
|
|
1548
1548
|
if (typeof R == "string" && !/Z$/i.test(R)) {
|
|
1549
1549
|
var N = R.match(m);
|
|
@@ -1554,32 +1554,32 @@ var Vs = { exports: {} };
|
|
|
1554
1554
|
}
|
|
1555
1555
|
return new Date(R);
|
|
1556
1556
|
}(S), this.$x = S.x || {}, this.init();
|
|
1557
|
-
},
|
|
1557
|
+
}, k.init = function() {
|
|
1558
1558
|
var S = this.$d;
|
|
1559
1559
|
this.$y = S.getFullYear(), this.$M = S.getMonth(), this.$D = S.getDate(), this.$W = S.getDay(), this.$H = S.getHours(), this.$m = S.getMinutes(), this.$s = S.getSeconds(), this.$ms = S.getMilliseconds();
|
|
1560
|
-
},
|
|
1561
|
-
return
|
|
1562
|
-
},
|
|
1560
|
+
}, k.$utils = function() {
|
|
1561
|
+
return M;
|
|
1562
|
+
}, k.isValid = function() {
|
|
1563
1563
|
return this.$d.toString() !== p;
|
|
1564
|
-
},
|
|
1564
|
+
}, k.isSame = function(S, P) {
|
|
1565
1565
|
var R = _(S);
|
|
1566
1566
|
return this.startOf(P) <= R && R <= this.endOf(P);
|
|
1567
|
-
},
|
|
1567
|
+
}, k.isAfter = function(S, P) {
|
|
1568
1568
|
return _(S) < this.startOf(P);
|
|
1569
|
-
},
|
|
1569
|
+
}, k.isBefore = function(S, P) {
|
|
1570
1570
|
return this.endOf(P) < _(S);
|
|
1571
|
-
},
|
|
1572
|
-
return
|
|
1573
|
-
},
|
|
1571
|
+
}, k.$g = function(S, P, R) {
|
|
1572
|
+
return M.u(S) ? this[P] : this.set(R, S);
|
|
1573
|
+
}, k.unix = function() {
|
|
1574
1574
|
return Math.floor(this.valueOf() / 1e3);
|
|
1575
|
-
},
|
|
1575
|
+
}, k.valueOf = function() {
|
|
1576
1576
|
return this.$d.getTime();
|
|
1577
|
-
},
|
|
1578
|
-
var R = this, O = !!
|
|
1579
|
-
var Xe =
|
|
1577
|
+
}, k.startOf = function(S, P) {
|
|
1578
|
+
var R = this, O = !!M.u(P) || P, N = M.p(S), Y = function(kt, pe) {
|
|
1579
|
+
var Xe = M.w(R.$u ? Date.UTC(R.$y, pe, kt) : new Date(R.$y, pe, kt), R);
|
|
1580
1580
|
return O ? Xe : Xe.endOf(l);
|
|
1581
1581
|
}, V = function(kt, pe) {
|
|
1582
|
-
return
|
|
1582
|
+
return M.w(R.toDate()[kt].apply(R.toDate("s"), (O ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(pe)), R);
|
|
1583
1583
|
}, X = this.$W, ue = this.$M, Qe = this.$D, Ue = "set" + (this.$u ? "UTC" : "");
|
|
1584
1584
|
switch (N) {
|
|
1585
1585
|
case h:
|
|
@@ -1601,82 +1601,82 @@ var Vs = { exports: {} };
|
|
|
1601
1601
|
default:
|
|
1602
1602
|
return this.clone();
|
|
1603
1603
|
}
|
|
1604
|
-
},
|
|
1604
|
+
}, k.endOf = function(S) {
|
|
1605
1605
|
return this.startOf(S, !1);
|
|
1606
|
-
},
|
|
1607
|
-
var R, O =
|
|
1606
|
+
}, k.$set = function(S, P) {
|
|
1607
|
+
var R, O = M.p(S), N = "set" + (this.$u ? "UTC" : ""), Y = (R = {}, R[l] = N + "Date", R[g] = N + "Date", R[c] = N + "Month", R[h] = N + "FullYear", R[a] = N + "Hours", R[s] = N + "Minutes", R[u] = N + "Seconds", R[o] = N + "Milliseconds", R)[O], V = O === l ? this.$D + (P - this.$W) : P;
|
|
1608
1608
|
if (O === c || O === h) {
|
|
1609
1609
|
var X = this.clone().set(g, 1);
|
|
1610
1610
|
X.$d[Y](V), X.init(), this.$d = X.set(g, Math.min(this.$D, X.daysInMonth())).$d;
|
|
1611
1611
|
} else Y && this.$d[Y](V);
|
|
1612
1612
|
return this.init(), this;
|
|
1613
|
-
},
|
|
1613
|
+
}, k.set = function(S, P) {
|
|
1614
1614
|
return this.clone().$set(S, P);
|
|
1615
|
-
},
|
|
1616
|
-
return this[
|
|
1617
|
-
},
|
|
1615
|
+
}, k.get = function(S) {
|
|
1616
|
+
return this[M.p(S)]();
|
|
1617
|
+
}, k.add = function(S, P) {
|
|
1618
1618
|
var R, O = this;
|
|
1619
1619
|
S = Number(S);
|
|
1620
|
-
var N =
|
|
1620
|
+
var N = M.p(P), Y = function(ue) {
|
|
1621
1621
|
var Qe = _(O);
|
|
1622
|
-
return
|
|
1622
|
+
return M.w(Qe.date(Qe.date() + Math.round(ue * S)), O);
|
|
1623
1623
|
};
|
|
1624
1624
|
if (N === c) return this.set(c, this.$M + S);
|
|
1625
1625
|
if (N === h) return this.set(h, this.$y + S);
|
|
1626
1626
|
if (N === l) return Y(1);
|
|
1627
1627
|
if (N === d) return Y(7);
|
|
1628
1628
|
var V = (R = {}, R[s] = n, R[a] = i, R[u] = t, R)[N] || 1, X = this.$d.getTime() + S * V;
|
|
1629
|
-
return
|
|
1630
|
-
},
|
|
1629
|
+
return M.w(X, this);
|
|
1630
|
+
}, k.subtract = function(S, P) {
|
|
1631
1631
|
return this.add(-1 * S, P);
|
|
1632
|
-
},
|
|
1632
|
+
}, k.format = function(S) {
|
|
1633
1633
|
var P = this, R = this.$locale();
|
|
1634
1634
|
if (!this.isValid()) return R.invalidDate || p;
|
|
1635
|
-
var O = S || "YYYY-MM-DDTHH:mm:ssZ", N =
|
|
1635
|
+
var O = S || "YYYY-MM-DDTHH:mm:ssZ", N = M.z(this), Y = this.$H, V = this.$m, X = this.$M, ue = R.weekdays, Qe = R.months, Ue = function(pe, Xe, Yn, _r) {
|
|
1636
1636
|
return pe && (pe[Xe] || pe(P, O)) || Yn[Xe].slice(0, _r);
|
|
1637
1637
|
}, Ht = function(pe) {
|
|
1638
|
-
return
|
|
1638
|
+
return M.s(Y % 12 || 12, pe, "0");
|
|
1639
1639
|
}, zt = R.meridiem || function(pe, Xe, Yn) {
|
|
1640
1640
|
var _r = pe < 12 ? "AM" : "PM";
|
|
1641
1641
|
return Yn ? _r.toLowerCase() : _r;
|
|
1642
|
-
}, kt = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: X + 1, MM:
|
|
1642
|
+
}, kt = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: X + 1, MM: M.s(X + 1, 2, "0"), MMM: Ue(R.monthsShort, X, Qe, 3), MMMM: Ue(Qe, X), D: this.$D, DD: M.s(this.$D, 2, "0"), d: String(this.$W), dd: Ue(R.weekdaysMin, this.$W, ue, 2), ddd: Ue(R.weekdaysShort, this.$W, ue, 3), dddd: ue[this.$W], H: String(Y), HH: M.s(Y, 2, "0"), h: Ht(1), hh: Ht(2), a: zt(Y, V, !0), A: zt(Y, V, !1), m: String(V), mm: M.s(V, 2, "0"), s: String(this.$s), ss: M.s(this.$s, 2, "0"), SSS: M.s(this.$ms, 3, "0"), Z: N };
|
|
1643
1643
|
return O.replace(b, function(pe, Xe) {
|
|
1644
1644
|
return Xe || kt[pe] || N.replace(":", "");
|
|
1645
1645
|
});
|
|
1646
|
-
},
|
|
1646
|
+
}, k.utcOffset = function() {
|
|
1647
1647
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
1648
|
-
},
|
|
1649
|
-
var O, N =
|
|
1650
|
-
return ue = (O = {}, O[h] = ue / 12, O[c] = ue, O[f] = ue / 3, O[d] = (X - V) / 6048e5, O[l] = (X - V) / 864e5, O[a] = X / i, O[s] = X / n, O[u] = X / t, O)[N] || X, R ? ue :
|
|
1651
|
-
},
|
|
1648
|
+
}, k.diff = function(S, P, R) {
|
|
1649
|
+
var O, N = M.p(P), Y = _(S), V = (Y.utcOffset() - this.utcOffset()) * n, X = this - Y, ue = M.m(this, Y);
|
|
1650
|
+
return ue = (O = {}, O[h] = ue / 12, O[c] = ue, O[f] = ue / 3, O[d] = (X - V) / 6048e5, O[l] = (X - V) / 864e5, O[a] = X / i, O[s] = X / n, O[u] = X / t, O)[N] || X, R ? ue : M.a(ue);
|
|
1651
|
+
}, k.daysInMonth = function() {
|
|
1652
1652
|
return this.endOf(c).$D;
|
|
1653
|
-
},
|
|
1653
|
+
}, k.$locale = function() {
|
|
1654
1654
|
return T[this.$L];
|
|
1655
|
-
},
|
|
1655
|
+
}, k.locale = function(S, P) {
|
|
1656
1656
|
if (!S) return this.$L;
|
|
1657
|
-
var R = this.clone(), O =
|
|
1657
|
+
var R = this.clone(), O = I(S, P, !0);
|
|
1658
1658
|
return O && (R.$L = O), R;
|
|
1659
|
-
},
|
|
1660
|
-
return
|
|
1661
|
-
},
|
|
1659
|
+
}, k.clone = function() {
|
|
1660
|
+
return M.w(this.$d, this);
|
|
1661
|
+
}, k.toDate = function() {
|
|
1662
1662
|
return new Date(this.valueOf());
|
|
1663
|
-
},
|
|
1663
|
+
}, k.toJSON = function() {
|
|
1664
1664
|
return this.isValid() ? this.toISOString() : null;
|
|
1665
|
-
},
|
|
1665
|
+
}, k.toISOString = function() {
|
|
1666
1666
|
return this.$d.toISOString();
|
|
1667
|
-
},
|
|
1667
|
+
}, k.toString = function() {
|
|
1668
1668
|
return this.$d.toUTCString();
|
|
1669
1669
|
}, E;
|
|
1670
|
-
}(),
|
|
1671
|
-
return _.prototype =
|
|
1672
|
-
|
|
1673
|
-
return this.$g(
|
|
1670
|
+
}(), C = v.prototype;
|
|
1671
|
+
return _.prototype = C, [["$ms", o], ["$s", u], ["$m", s], ["$H", a], ["$W", l], ["$M", c], ["$y", h], ["$D", g]].forEach(function(E) {
|
|
1672
|
+
C[E[1]] = function(k) {
|
|
1673
|
+
return this.$g(k, E[0], E[1]);
|
|
1674
1674
|
};
|
|
1675
|
-
}), _.extend = function(E,
|
|
1676
|
-
return E.$i || (E(
|
|
1677
|
-
}, _.locale =
|
|
1675
|
+
}), _.extend = function(E, k) {
|
|
1676
|
+
return E.$i || (E(k, v, _), E.$i = !0), _;
|
|
1677
|
+
}, _.locale = I, _.isDayjs = B, _.unix = function(E) {
|
|
1678
1678
|
return _(1e3 * E);
|
|
1679
|
-
}, _.en = T[
|
|
1679
|
+
}, _.en = T[$], _.Ls = T, _.p = {}, _;
|
|
1680
1680
|
});
|
|
1681
1681
|
})(Vs);
|
|
1682
1682
|
const Js = Vs.exports;
|
|
@@ -1875,7 +1875,7 @@ var ke = function() {
|
|
|
1875
1875
|
return e;
|
|
1876
1876
|
}, ke.apply(this, arguments);
|
|
1877
1877
|
};
|
|
1878
|
-
function
|
|
1878
|
+
function D(r, e, t) {
|
|
1879
1879
|
for (var n = 0, i = e.length, o; n < i; n++)
|
|
1880
1880
|
(o || !(n in e)) && (o || (o = Array.prototype.slice.call(e, 0, n)), o[n] = e[n]);
|
|
1881
1881
|
return r.concat(o || Array.prototype.slice.call(e));
|
|
@@ -2764,7 +2764,7 @@ var zy = (
|
|
|
2764
2764
|
return we(n) ? fu(n) : n instanceof Date ? pi(n) : n;
|
|
2765
2765
|
}, r;
|
|
2766
2766
|
}()
|
|
2767
|
-
), Ky =
|
|
2767
|
+
), Ky = D(D(D(D(D(D(D(D(D(D(D(D(D([], H(1, 31), !0), H(2, 28), !0), H(3, 31), !0), H(4, 30), !0), H(5, 31), !0), H(6, 30), !0), H(7, 31), !0), H(8, 31), !0), H(9, 30), !0), H(10, 31), !0), H(11, 30), !0), H(12, 31), !0), H(1, 7)), Wy = D(D(D(D(D(D(D(D(D(D(D(D(D([], H(1, 31), !0), H(2, 29), !0), H(3, 31), !0), H(4, 30), !0), H(5, 31), !0), H(6, 30), !0), H(7, 31), !0), H(8, 31), !0), H(9, 30), !0), H(10, 31), !0), H(11, 30), !0), H(12, 31), !0), H(1, 7)), Gy = Ne(1, 29), Vy = Ne(1, 30), it = Ne(1, 31), se = Ne(1, 32), Jy = D(D(D(D(D(D(D(D(D(D(D(D(D([], se, !0), Vy, !0), se, !0), it, !0), se, !0), it, !0), se, !0), se, !0), it, !0), se, !0), it, !0), se, !0), se.slice(0, 7)), Zy = D(D(D(D(D(D(D(D(D(D(D(D(D([], se, !0), Gy, !0), se, !0), it, !0), se, !0), it, !0), se, !0), se, !0), it, !0), se, !0), it, !0), se, !0), se.slice(0, 7)), Qy = Ne(-28, 0), Xy = Ne(-29, 0), ot = Ne(-30, 0), ae = Ne(-31, 0), e2 = D(D(D(D(D(D(D(D(D(D(D(D(D([], ae, !0), Xy, !0), ae, !0), ot, !0), ae, !0), ot, !0), ae, !0), ae, !0), ot, !0), ae, !0), ot, !0), ae, !0), ae.slice(0, 7)), t2 = D(D(D(D(D(D(D(D(D(D(D(D(D([], ae, !0), Qy, !0), ae, !0), ot, !0), ae, !0), ot, !0), ae, !0), ae, !0), ot, !0), ae, !0), ot, !0), ae, !0), ae.slice(0, 7)), r2 = [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335, 366], n2 = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365], yu = function() {
|
|
2768
2768
|
for (var r = [], e = 0; e < 55; e++)
|
|
2769
2769
|
r = r.concat(Ne(7));
|
|
2770
2770
|
return r;
|
|
@@ -2796,8 +2796,8 @@ function i2(r, e) {
|
|
|
2796
2796
|
if (W(e.byweekno, -1))
|
|
2797
2797
|
y = -1;
|
|
2798
2798
|
else {
|
|
2799
|
-
var
|
|
2800
|
-
|
|
2799
|
+
var x = Pt(bt(r - 1, 1, 1)), w = $e(7 - x.valueOf() + e.wkst, 7), $ = Xt(r - 1) ? 366 : 365, T = void 0;
|
|
2800
|
+
w >= 4 ? (w = 0, T = $ + $e(x - e.wkst, 7)) : T = n - d, y = Math.floor(52 + $e(T, 7) / 4);
|
|
2801
2801
|
}
|
|
2802
2802
|
if (W(e.byweekno, y))
|
|
2803
2803
|
for (var m = 0; m < d; m++)
|
|
@@ -3013,22 +3013,22 @@ function oa(r, e) {
|
|
|
3013
3013
|
if (o && y > o)
|
|
3014
3014
|
return je(r);
|
|
3015
3015
|
if (y >= t) {
|
|
3016
|
-
var
|
|
3017
|
-
if (!r.accept(
|
|
3016
|
+
var x = vu(y, e);
|
|
3017
|
+
if (!r.accept(x) || s && (--s, !s))
|
|
3018
3018
|
return je(r);
|
|
3019
3019
|
}
|
|
3020
3020
|
}
|
|
3021
3021
|
else
|
|
3022
3022
|
for (var b = h; b < g; b++) {
|
|
3023
|
-
var
|
|
3024
|
-
if (ee(
|
|
3025
|
-
for (var
|
|
3026
|
-
var
|
|
3023
|
+
var w = f[b];
|
|
3024
|
+
if (ee(w))
|
|
3025
|
+
for (var $ = ta(l.yearordinal + w), T = 0; T < d.length; T++) {
|
|
3026
|
+
var B = d[T], y = ra($, B);
|
|
3027
3027
|
if (o && y > o)
|
|
3028
3028
|
return je(r);
|
|
3029
3029
|
if (y >= t) {
|
|
3030
|
-
var
|
|
3031
|
-
if (!r.accept(
|
|
3030
|
+
var x = vu(y, e);
|
|
3031
|
+
if (!r.accept(x) || s && (--s, !s))
|
|
3032
3032
|
return je(r);
|
|
3033
3033
|
}
|
|
3034
3034
|
}
|
|
@@ -3775,15 +3775,15 @@ class mn extends Pn {
|
|
|
3775
3775
|
} = this.extractFromKey(e[e.length - 1], t), a = s[s.length - 1], l = t.lng || this.language, d = t.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
|
|
3776
3776
|
if (l && l.toLowerCase() === "cimode") {
|
|
3777
3777
|
if (d) {
|
|
3778
|
-
const
|
|
3778
|
+
const w = t.nsSeparator || this.options.nsSeparator;
|
|
3779
3779
|
return i ? {
|
|
3780
|
-
res: `${a}${
|
|
3780
|
+
res: `${a}${w}${u}`,
|
|
3781
3781
|
usedKey: u,
|
|
3782
3782
|
exactUsedKey: u,
|
|
3783
3783
|
usedLng: l,
|
|
3784
3784
|
usedNS: a,
|
|
3785
3785
|
usedParams: this.getUsedParamsDetails(t)
|
|
3786
|
-
} : `${a}${
|
|
3786
|
+
} : `${a}${w}${u}`;
|
|
3787
3787
|
}
|
|
3788
3788
|
return i ? {
|
|
3789
3789
|
res: u,
|
|
@@ -3800,36 +3800,36 @@ class mn extends Pn {
|
|
|
3800
3800
|
if (y && f && (typeof f != "string" && typeof f != "boolean" && typeof f != "number") && m.indexOf(p) < 0 && !(typeof b == "string" && Array.isArray(f))) {
|
|
3801
3801
|
if (!t.returnObjects && !this.options.returnObjects) {
|
|
3802
3802
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
3803
|
-
const
|
|
3803
|
+
const w = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(h, f, {
|
|
3804
3804
|
...t,
|
|
3805
3805
|
ns: s
|
|
3806
3806
|
}) : `key '${u} (${this.language})' returned an object instead of string.`;
|
|
3807
|
-
return i ? (c.res =
|
|
3807
|
+
return i ? (c.res = w, c.usedParams = this.getUsedParamsDetails(t), c) : w;
|
|
3808
3808
|
}
|
|
3809
3809
|
if (o) {
|
|
3810
|
-
const
|
|
3811
|
-
for (const
|
|
3812
|
-
if (Object.prototype.hasOwnProperty.call(f,
|
|
3813
|
-
const
|
|
3814
|
-
B
|
|
3810
|
+
const w = Array.isArray(f), $ = w ? [] : {}, T = w ? g : h;
|
|
3811
|
+
for (const B in f)
|
|
3812
|
+
if (Object.prototype.hasOwnProperty.call(f, B)) {
|
|
3813
|
+
const I = `${T}${o}${B}`;
|
|
3814
|
+
$[B] = this.translate(I, {
|
|
3815
3815
|
...t,
|
|
3816
3816
|
joinArrays: !1,
|
|
3817
3817
|
ns: s
|
|
3818
|
-
}), B
|
|
3818
|
+
}), $[B] === I && ($[B] = f[B]);
|
|
3819
3819
|
}
|
|
3820
|
-
f =
|
|
3820
|
+
f = $;
|
|
3821
3821
|
}
|
|
3822
3822
|
} else if (y && typeof b == "string" && Array.isArray(f))
|
|
3823
3823
|
f = f.join(b), f && (f = this.extendTranslation(f, e, t, n));
|
|
3824
3824
|
else {
|
|
3825
|
-
let
|
|
3826
|
-
const T = t.count !== void 0 && typeof t.count != "string",
|
|
3825
|
+
let w = !1, $ = !1;
|
|
3826
|
+
const T = t.count !== void 0 && typeof t.count != "string", B = mn.hasDefaultValue(t), I = T ? this.pluralResolver.getSuffix(l, t.count, t) : "", _ = t.ordinal && T ? this.pluralResolver.getSuffix(l, t.count, {
|
|
3827
3827
|
ordinal: !1
|
|
3828
|
-
}) : "",
|
|
3829
|
-
!this.isValidLookup(f) &&
|
|
3830
|
-
const E = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) &&
|
|
3831
|
-
if (
|
|
3832
|
-
if (this.logger.log(
|
|
3828
|
+
}) : "", M = T && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), v = M && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${I}`] || t[`defaultValue${_}`] || t.defaultValue;
|
|
3829
|
+
!this.isValidLookup(f) && B && (w = !0, f = v), this.isValidLookup(f) || ($ = !0, f = u);
|
|
3830
|
+
const E = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && $ ? void 0 : f, k = B && v !== f && this.options.updateMissing;
|
|
3831
|
+
if ($ || w || k) {
|
|
3832
|
+
if (this.logger.log(k ? "updateKey" : "missingKey", l, a, u, k ? v : f), o) {
|
|
3833
3833
|
const O = this.resolve(u, {
|
|
3834
3834
|
...t,
|
|
3835
3835
|
keySeparator: !1
|
|
@@ -3843,17 +3843,17 @@ class mn extends Pn {
|
|
|
3843
3843
|
S.push(P[O]);
|
|
3844
3844
|
else this.options.saveMissingTo === "all" ? S = this.languageUtils.toResolveHierarchy(t.lng || this.language) : S.push(t.lng || this.language);
|
|
3845
3845
|
const R = (O, N, Y) => {
|
|
3846
|
-
const V =
|
|
3847
|
-
this.options.missingKeyHandler ? this.options.missingKeyHandler(O, a, N, V,
|
|
3846
|
+
const V = B && Y !== f ? Y : E;
|
|
3847
|
+
this.options.missingKeyHandler ? this.options.missingKeyHandler(O, a, N, V, k, t) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(O, a, N, V, k, t), this.emit("missingKey", O, a, N, f);
|
|
3848
3848
|
};
|
|
3849
3849
|
this.options.saveMissing && (this.options.saveMissingPlurals && T ? S.forEach((O) => {
|
|
3850
3850
|
const N = this.pluralResolver.getSuffixes(O, t);
|
|
3851
|
-
|
|
3851
|
+
M && t[`defaultValue${this.options.pluralSeparator}zero`] && N.indexOf(`${this.options.pluralSeparator}zero`) < 0 && N.push(`${this.options.pluralSeparator}zero`), N.forEach((Y) => {
|
|
3852
3852
|
R([O], u + Y, t[`defaultValue${Y}`] || v);
|
|
3853
3853
|
});
|
|
3854
3854
|
}) : R(S, u, v));
|
|
3855
3855
|
}
|
|
3856
|
-
f = this.extendTranslation(f, e, t, c, n),
|
|
3856
|
+
f = this.extendTranslation(f, e, t, c, n), $ && f === u && this.options.appendNamespaceToMissingKey && (f = `${a}:${u}`), ($ || w) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? f = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${a}:${u}` : u, w ? f : void 0) : f = this.options.parseMissingKeyHandler(f));
|
|
3857
3857
|
}
|
|
3858
3858
|
return i ? (c.res = f, c.usedParams = this.getUsedParamsDetails(t), c) : f;
|
|
3859
3859
|
}
|
|
@@ -3920,17 +3920,17 @@ class mn extends Pn {
|
|
|
3920
3920
|
if (this.i18nFormat && this.i18nFormat.addLookupKeys)
|
|
3921
3921
|
this.i18nFormat.addLookupKeys(y, d, b, m, t);
|
|
3922
3922
|
else {
|
|
3923
|
-
let
|
|
3924
|
-
f && (
|
|
3925
|
-
const
|
|
3926
|
-
if (f && (y.push(d +
|
|
3927
|
-
const
|
|
3928
|
-
y.push(
|
|
3923
|
+
let w;
|
|
3924
|
+
f && (w = this.pluralResolver.getSuffix(b, t.count, t));
|
|
3925
|
+
const $ = `${this.options.pluralSeparator}zero`, T = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
|
3926
|
+
if (f && (y.push(d + w), t.ordinal && w.indexOf(T) === 0 && y.push(d + w.replace(T, this.options.pluralSeparator)), h && y.push(d + $)), g) {
|
|
3927
|
+
const B = `${d}${this.options.contextSeparator}${t.context}`;
|
|
3928
|
+
y.push(B), f && (y.push(B + w), t.ordinal && w.indexOf(T) === 0 && y.push(B + w.replace(T, this.options.pluralSeparator)), h && y.push(B + $));
|
|
3929
3929
|
}
|
|
3930
3930
|
}
|
|
3931
|
-
let
|
|
3932
|
-
for (;
|
|
3933
|
-
this.isValidLookup(n) || (o =
|
|
3931
|
+
let x;
|
|
3932
|
+
for (; x = y.pop(); )
|
|
3933
|
+
this.isValidLookup(n) || (o = x, n = this.getResource(b, m, x, t));
|
|
3934
3934
|
}));
|
|
3935
3935
|
});
|
|
3936
3936
|
}), {
|
|
@@ -6326,23 +6326,23 @@ var wi = {};
|
|
|
6326
6326
|
r.default = i;
|
|
6327
6327
|
})(wi);
|
|
6328
6328
|
(function(r) {
|
|
6329
|
-
var e = ve && ve.__createBinding || (Object.create ? function(v,
|
|
6330
|
-
|
|
6331
|
-
var S = Object.getOwnPropertyDescriptor(
|
|
6332
|
-
(!S || ("get" in S ? !
|
|
6333
|
-
return
|
|
6334
|
-
} }), Object.defineProperty(v,
|
|
6335
|
-
} : function(v,
|
|
6336
|
-
|
|
6337
|
-
}), t = ve && ve.__setModuleDefault || (Object.create ? function(v,
|
|
6338
|
-
Object.defineProperty(v, "default", { enumerable: !0, value:
|
|
6339
|
-
} : function(v,
|
|
6340
|
-
v.default =
|
|
6329
|
+
var e = ve && ve.__createBinding || (Object.create ? function(v, C, E, k) {
|
|
6330
|
+
k === void 0 && (k = E);
|
|
6331
|
+
var S = Object.getOwnPropertyDescriptor(C, E);
|
|
6332
|
+
(!S || ("get" in S ? !C.__esModule : S.writable || S.configurable)) && (S = { enumerable: !0, get: function() {
|
|
6333
|
+
return C[E];
|
|
6334
|
+
} }), Object.defineProperty(v, k, S);
|
|
6335
|
+
} : function(v, C, E, k) {
|
|
6336
|
+
k === void 0 && (k = E), v[k] = C[E];
|
|
6337
|
+
}), t = ve && ve.__setModuleDefault || (Object.create ? function(v, C) {
|
|
6338
|
+
Object.defineProperty(v, "default", { enumerable: !0, value: C });
|
|
6339
|
+
} : function(v, C) {
|
|
6340
|
+
v.default = C;
|
|
6341
6341
|
}), n = ve && ve.__importStar || function(v) {
|
|
6342
6342
|
if (v && v.__esModule) return v;
|
|
6343
|
-
var
|
|
6344
|
-
if (v != null) for (var E in v) E !== "default" && Object.prototype.hasOwnProperty.call(v, E) && e(
|
|
6345
|
-
return t(
|
|
6343
|
+
var C = {};
|
|
6344
|
+
if (v != null) for (var E in v) E !== "default" && Object.prototype.hasOwnProperty.call(v, E) && e(C, v, E);
|
|
6345
|
+
return t(C, v), C;
|
|
6346
6346
|
}, i = ve && ve.__importDefault || function(v) {
|
|
6347
6347
|
return v && v.__esModule ? v : { default: v };
|
|
6348
6348
|
};
|
|
@@ -6390,67 +6390,67 @@ var wi = {};
|
|
|
6390
6390
|
var y = (
|
|
6391
6391
|
/** @class */
|
|
6392
6392
|
function() {
|
|
6393
|
-
function v(
|
|
6394
|
-
this.decodeTree =
|
|
6393
|
+
function v(C, E, k) {
|
|
6394
|
+
this.decodeTree = C, this.emitCodePoint = E, this.errors = k, this.state = m.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = b.Strict;
|
|
6395
6395
|
}
|
|
6396
|
-
return v.prototype.startEntity = function(
|
|
6397
|
-
this.decodeMode =
|
|
6398
|
-
}, v.prototype.write = function(
|
|
6396
|
+
return v.prototype.startEntity = function(C) {
|
|
6397
|
+
this.decodeMode = C, this.state = m.EntityStart, this.result = 0, this.treeIndex = 0, this.excess = 1, this.consumed = 1;
|
|
6398
|
+
}, v.prototype.write = function(C, E) {
|
|
6399
6399
|
switch (this.state) {
|
|
6400
6400
|
case m.EntityStart:
|
|
6401
|
-
return
|
|
6401
|
+
return C.charCodeAt(E) === l.NUM ? (this.state = m.NumericStart, this.consumed += 1, this.stateNumericStart(C, E + 1)) : (this.state = m.NamedEntity, this.stateNamedEntity(C, E));
|
|
6402
6402
|
case m.NumericStart:
|
|
6403
|
-
return this.stateNumericStart(
|
|
6403
|
+
return this.stateNumericStart(C, E);
|
|
6404
6404
|
case m.NumericDecimal:
|
|
6405
|
-
return this.stateNumericDecimal(
|
|
6405
|
+
return this.stateNumericDecimal(C, E);
|
|
6406
6406
|
case m.NumericHex:
|
|
6407
|
-
return this.stateNumericHex(
|
|
6407
|
+
return this.stateNumericHex(C, E);
|
|
6408
6408
|
case m.NamedEntity:
|
|
6409
|
-
return this.stateNamedEntity(
|
|
6409
|
+
return this.stateNamedEntity(C, E);
|
|
6410
6410
|
}
|
|
6411
|
-
}, v.prototype.stateNumericStart = function(
|
|
6412
|
-
return E >=
|
|
6413
|
-
}, v.prototype.addToNumericResult = function(
|
|
6414
|
-
if (E !==
|
|
6415
|
-
var P =
|
|
6416
|
-
this.result = this.result * Math.pow(S, P) + parseInt(
|
|
6411
|
+
}, v.prototype.stateNumericStart = function(C, E) {
|
|
6412
|
+
return E >= C.length ? -1 : (C.charCodeAt(E) | d) === l.LOWER_X ? (this.state = m.NumericHex, this.consumed += 1, this.stateNumericHex(C, E + 1)) : (this.state = m.NumericDecimal, this.stateNumericDecimal(C, E));
|
|
6413
|
+
}, v.prototype.addToNumericResult = function(C, E, k, S) {
|
|
6414
|
+
if (E !== k) {
|
|
6415
|
+
var P = k - E;
|
|
6416
|
+
this.result = this.result * Math.pow(S, P) + parseInt(C.substr(E, P), S), this.consumed += P;
|
|
6417
6417
|
}
|
|
6418
|
-
}, v.prototype.stateNumericHex = function(
|
|
6419
|
-
for (var
|
|
6420
|
-
var S =
|
|
6418
|
+
}, v.prototype.stateNumericHex = function(C, E) {
|
|
6419
|
+
for (var k = E; E < C.length; ) {
|
|
6420
|
+
var S = C.charCodeAt(E);
|
|
6421
6421
|
if (f(S) || h(S))
|
|
6422
6422
|
E += 1;
|
|
6423
6423
|
else
|
|
6424
|
-
return this.addToNumericResult(
|
|
6424
|
+
return this.addToNumericResult(C, k, E, 16), this.emitNumericEntity(S, 3);
|
|
6425
6425
|
}
|
|
6426
|
-
return this.addToNumericResult(
|
|
6427
|
-
}, v.prototype.stateNumericDecimal = function(
|
|
6428
|
-
for (var
|
|
6429
|
-
var S =
|
|
6426
|
+
return this.addToNumericResult(C, k, E, 16), -1;
|
|
6427
|
+
}, v.prototype.stateNumericDecimal = function(C, E) {
|
|
6428
|
+
for (var k = E; E < C.length; ) {
|
|
6429
|
+
var S = C.charCodeAt(E);
|
|
6430
6430
|
if (f(S))
|
|
6431
6431
|
E += 1;
|
|
6432
6432
|
else
|
|
6433
|
-
return this.addToNumericResult(
|
|
6433
|
+
return this.addToNumericResult(C, k, E, 10), this.emitNumericEntity(S, 2);
|
|
6434
6434
|
}
|
|
6435
|
-
return this.addToNumericResult(
|
|
6436
|
-
}, v.prototype.emitNumericEntity = function(
|
|
6437
|
-
var
|
|
6435
|
+
return this.addToNumericResult(C, k, E, 10), -1;
|
|
6436
|
+
}, v.prototype.emitNumericEntity = function(C, E) {
|
|
6437
|
+
var k;
|
|
6438
6438
|
if (this.consumed <= E)
|
|
6439
|
-
return (
|
|
6440
|
-
if (
|
|
6439
|
+
return (k = this.errors) === null || k === void 0 || k.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
|
|
6440
|
+
if (C === l.SEMI)
|
|
6441
6441
|
this.consumed += 1;
|
|
6442
6442
|
else if (this.decodeMode === b.Strict)
|
|
6443
6443
|
return 0;
|
|
6444
|
-
return this.emitCodePoint((0, s.replaceCodePoint)(this.result), this.consumed), this.errors && (
|
|
6445
|
-
}, v.prototype.stateNamedEntity = function(
|
|
6446
|
-
for (var
|
|
6447
|
-
var R =
|
|
6448
|
-
if (this.treeIndex = k
|
|
6444
|
+
return this.emitCodePoint((0, s.replaceCodePoint)(this.result), this.consumed), this.errors && (C !== l.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
|
|
6445
|
+
}, v.prototype.stateNamedEntity = function(C, E) {
|
|
6446
|
+
for (var k = this.decodeTree, S = k[this.treeIndex], P = (S & c.VALUE_LENGTH) >> 14; E < C.length; E++, this.excess++) {
|
|
6447
|
+
var R = C.charCodeAt(E);
|
|
6448
|
+
if (this.treeIndex = w(k, S, this.treeIndex + Math.max(1, P), R), this.treeIndex < 0)
|
|
6449
6449
|
return this.result === 0 || // If we are parsing an attribute
|
|
6450
6450
|
this.decodeMode === b.Attribute && // We shouldn't have consumed any characters after the entity,
|
|
6451
6451
|
(P === 0 || // And there should be no invalid characters.
|
|
6452
6452
|
p(R)) ? 0 : this.emitNotTerminatedNamedEntity();
|
|
6453
|
-
if (S =
|
|
6453
|
+
if (S = k[this.treeIndex], P = (S & c.VALUE_LENGTH) >> 14, P !== 0) {
|
|
6454
6454
|
if (R === l.SEMI)
|
|
6455
6455
|
return this.emitNamedEntityData(this.treeIndex, P, this.consumed + this.excess);
|
|
6456
6456
|
this.decodeMode !== b.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
|
|
@@ -6458,13 +6458,13 @@ var wi = {};
|
|
|
6458
6458
|
}
|
|
6459
6459
|
return -1;
|
|
6460
6460
|
}, v.prototype.emitNotTerminatedNamedEntity = function() {
|
|
6461
|
-
var
|
|
6462
|
-
return this.emitNamedEntityData(
|
|
6463
|
-
}, v.prototype.emitNamedEntityData = function(
|
|
6461
|
+
var C, E = this, k = E.result, S = E.decodeTree, P = (S[k] & c.VALUE_LENGTH) >> 14;
|
|
6462
|
+
return this.emitNamedEntityData(k, P, this.consumed), (C = this.errors) === null || C === void 0 || C.missingSemicolonAfterCharacterReference(), this.consumed;
|
|
6463
|
+
}, v.prototype.emitNamedEntityData = function(C, E, k) {
|
|
6464
6464
|
var S = this.decodeTree;
|
|
6465
|
-
return this.emitCodePoint(E === 1 ? S[
|
|
6465
|
+
return this.emitCodePoint(E === 1 ? S[C] & ~c.VALUE_LENGTH : S[C + 1], k), E === 3 && this.emitCodePoint(S[C + 2], k), k;
|
|
6466
6466
|
}, v.prototype.end = function() {
|
|
6467
|
-
var
|
|
6467
|
+
var C;
|
|
6468
6468
|
switch (this.state) {
|
|
6469
6469
|
case m.NamedEntity:
|
|
6470
6470
|
return this.result !== 0 && (this.decodeMode !== b.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
|
|
@@ -6473,7 +6473,7 @@ var wi = {};
|
|
|
6473
6473
|
case m.NumericHex:
|
|
6474
6474
|
return this.emitNumericEntity(0, 3);
|
|
6475
6475
|
case m.NumericStart:
|
|
6476
|
-
return (
|
|
6476
|
+
return (C = this.errors) === null || C === void 0 || C.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
|
|
6477
6477
|
case m.EntityStart:
|
|
6478
6478
|
return 0;
|
|
6479
6479
|
}
|
|
@@ -6481,13 +6481,13 @@ var wi = {};
|
|
|
6481
6481
|
}()
|
|
6482
6482
|
);
|
|
6483
6483
|
r.EntityDecoder = y;
|
|
6484
|
-
function
|
|
6485
|
-
var
|
|
6486
|
-
return
|
|
6484
|
+
function x(v) {
|
|
6485
|
+
var C = "", E = new y(v, function(k) {
|
|
6486
|
+
return C += (0, s.fromCodePoint)(k);
|
|
6487
6487
|
});
|
|
6488
6488
|
return function(S, P) {
|
|
6489
6489
|
for (var R = 0, O = 0; (O = S.indexOf("&", O)) >= 0; ) {
|
|
6490
|
-
|
|
6490
|
+
C += S.slice(R, O), E.startEntity(P);
|
|
6491
6491
|
var N = E.write(
|
|
6492
6492
|
S,
|
|
6493
6493
|
// Skip the "&"
|
|
@@ -6499,47 +6499,47 @@ var wi = {};
|
|
|
6499
6499
|
}
|
|
6500
6500
|
R = O + N, O = N === 0 ? R + 1 : R;
|
|
6501
6501
|
}
|
|
6502
|
-
var Y =
|
|
6503
|
-
return
|
|
6502
|
+
var Y = C + S.slice(R);
|
|
6503
|
+
return C = "", Y;
|
|
6504
6504
|
};
|
|
6505
6505
|
}
|
|
6506
|
-
function
|
|
6507
|
-
var S = (
|
|
6506
|
+
function w(v, C, E, k) {
|
|
6507
|
+
var S = (C & c.BRANCH_LENGTH) >> 7, P = C & c.JUMP_TABLE;
|
|
6508
6508
|
if (S === 0)
|
|
6509
|
-
return P !== 0 &&
|
|
6509
|
+
return P !== 0 && k === P ? E : -1;
|
|
6510
6510
|
if (P) {
|
|
6511
|
-
var R =
|
|
6511
|
+
var R = k - P;
|
|
6512
6512
|
return R < 0 || R >= S ? -1 : v[E + R] - 1;
|
|
6513
6513
|
}
|
|
6514
6514
|
for (var O = E, N = O + S - 1; O <= N; ) {
|
|
6515
6515
|
var Y = O + N >>> 1, V = v[Y];
|
|
6516
|
-
if (V <
|
|
6516
|
+
if (V < k)
|
|
6517
6517
|
O = Y + 1;
|
|
6518
|
-
else if (V >
|
|
6518
|
+
else if (V > k)
|
|
6519
6519
|
N = Y - 1;
|
|
6520
6520
|
else
|
|
6521
6521
|
return v[Y + S];
|
|
6522
6522
|
}
|
|
6523
6523
|
return -1;
|
|
6524
6524
|
}
|
|
6525
|
-
r.determineBranch =
|
|
6526
|
-
var
|
|
6527
|
-
function
|
|
6528
|
-
return
|
|
6525
|
+
r.determineBranch = w;
|
|
6526
|
+
var $ = x(o.default), T = x(u.default);
|
|
6527
|
+
function B(v, C) {
|
|
6528
|
+
return C === void 0 && (C = b.Legacy), $(v, C);
|
|
6529
6529
|
}
|
|
6530
|
-
r.decodeHTML =
|
|
6531
|
-
function
|
|
6532
|
-
return
|
|
6530
|
+
r.decodeHTML = B;
|
|
6531
|
+
function I(v) {
|
|
6532
|
+
return $(v, b.Attribute);
|
|
6533
6533
|
}
|
|
6534
|
-
r.decodeHTMLAttribute =
|
|
6534
|
+
r.decodeHTMLAttribute = I;
|
|
6535
6535
|
function _(v) {
|
|
6536
|
-
return
|
|
6536
|
+
return $(v, b.Strict);
|
|
6537
6537
|
}
|
|
6538
6538
|
r.decodeHTMLStrict = _;
|
|
6539
|
-
function
|
|
6539
|
+
function M(v) {
|
|
6540
6540
|
return T(v, b.Strict);
|
|
6541
6541
|
}
|
|
6542
|
-
r.decodeXML =
|
|
6542
|
+
r.decodeXML = M;
|
|
6543
6543
|
})(a3);
|
|
6544
6544
|
var Iu;
|
|
6545
6545
|
(function(r) {
|
|
@@ -6676,23 +6676,23 @@ var l3 = { exports: {} };
|
|
|
6676
6676
|
r.exports ? r.exports = t() : e.parseSrcset = t();
|
|
6677
6677
|
})(ve, function() {
|
|
6678
6678
|
return function(e) {
|
|
6679
|
-
function t(
|
|
6680
|
-
return
|
|
6681
|
-
|
|
6682
|
-
|
|
6679
|
+
function t(w) {
|
|
6680
|
+
return w === " " || // space
|
|
6681
|
+
w === " " || // horizontal tab
|
|
6682
|
+
w === `
|
|
6683
6683
|
` || // new line
|
|
6684
|
-
|
|
6685
|
-
|
|
6684
|
+
w === "\f" || // form feed
|
|
6685
|
+
w === "\r";
|
|
6686
6686
|
}
|
|
6687
|
-
function n(
|
|
6688
|
-
var
|
|
6687
|
+
function n(w) {
|
|
6688
|
+
var $, T = w.exec(e.substring(m));
|
|
6689
6689
|
if (T)
|
|
6690
|
-
return
|
|
6690
|
+
return $ = T[0], m += $.length, $;
|
|
6691
6691
|
}
|
|
6692
6692
|
for (var i = e.length, o = /^[ \t\n\r\u000c]+/, u = /^[, \t\n\r\u000c]+/, s = /^[^ \t\n\r\u000c]+/, a = /[,]+$/, l = /^\d+$/, d = /^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/, c, f, h, g, p, m = 0, b = []; ; ) {
|
|
6693
6693
|
if (n(u), m >= i)
|
|
6694
6694
|
return b;
|
|
6695
|
-
c = n(s), f = [], c.slice(-1) === "," ? (c = c.replace(a, ""),
|
|
6695
|
+
c = n(s), f = [], c.slice(-1) === "," ? (c = c.replace(a, ""), x()) : y();
|
|
6696
6696
|
}
|
|
6697
6697
|
function y() {
|
|
6698
6698
|
for (n(o), h = "", g = "in descriptor"; ; ) {
|
|
@@ -6700,12 +6700,12 @@ var l3 = { exports: {} };
|
|
|
6700
6700
|
if (t(p))
|
|
6701
6701
|
h && (f.push(h), h = "", g = "after descriptor");
|
|
6702
6702
|
else if (p === ",") {
|
|
6703
|
-
m += 1, h && f.push(h),
|
|
6703
|
+
m += 1, h && f.push(h), x();
|
|
6704
6704
|
return;
|
|
6705
6705
|
} else if (p === "(")
|
|
6706
6706
|
h = h + p, g = "in parens";
|
|
6707
6707
|
else if (p === "") {
|
|
6708
|
-
h && f.push(h),
|
|
6708
|
+
h && f.push(h), x();
|
|
6709
6709
|
return;
|
|
6710
6710
|
} else
|
|
6711
6711
|
h = h + p;
|
|
@@ -6713,24 +6713,24 @@ var l3 = { exports: {} };
|
|
|
6713
6713
|
if (p === ")")
|
|
6714
6714
|
h = h + p, g = "in descriptor";
|
|
6715
6715
|
else if (p === "") {
|
|
6716
|
-
f.push(h),
|
|
6716
|
+
f.push(h), x();
|
|
6717
6717
|
return;
|
|
6718
6718
|
} else
|
|
6719
6719
|
h = h + p;
|
|
6720
6720
|
else if (g === "after descriptor" && !t(p))
|
|
6721
6721
|
if (p === "") {
|
|
6722
|
-
|
|
6722
|
+
x();
|
|
6723
6723
|
return;
|
|
6724
6724
|
} else
|
|
6725
6725
|
g = "in descriptor", m -= 1;
|
|
6726
6726
|
m += 1;
|
|
6727
6727
|
}
|
|
6728
6728
|
}
|
|
6729
|
-
function
|
|
6730
|
-
var
|
|
6731
|
-
for (
|
|
6732
|
-
|
|
6733
|
-
|
|
6729
|
+
function x() {
|
|
6730
|
+
var w = !1, $, T, B, I, _ = {}, M, v, C, E, k;
|
|
6731
|
+
for (I = 0; I < f.length; I++)
|
|
6732
|
+
M = f[I], v = M[M.length - 1], C = M.substring(0, M.length - 1), E = parseInt(C, 10), k = parseFloat(C), l.test(C) && v === "w" ? (($ || T) && (w = !0), E === 0 ? w = !0 : $ = E) : d.test(C) && v === "x" ? (($ || T || B) && (w = !0), k < 0 ? w = !0 : T = k) : l.test(C) && v === "h" ? ((B || T) && (w = !0), E === 0 ? w = !0 : B = E) : w = !0;
|
|
6733
|
+
w ? console && console.log && console.log("Invalid srcset descriptor found in '" + e + "' at '" + M + "'.") : (_.url = c, $ && (_.w = $), T && (_.d = T), B && (_.h = B), b.push(_));
|
|
6734
6734
|
}
|
|
6735
6735
|
};
|
|
6736
6736
|
});
|
|
@@ -7216,7 +7216,7 @@ const x3 = /* @__PURE__ */ Object.freeze({
|
|
|
7216
7216
|
}), E3 = /* @__PURE__ */ Gs(x3);
|
|
7217
7217
|
let { SourceMapConsumer: Hu, SourceMapGenerator: zu } = Ae, { existsSync: $3, readFileSync: T3 } = Ae, { dirname: Gn, join: S3 } = Ae;
|
|
7218
7218
|
function B3(r) {
|
|
7219
|
-
return
|
|
7219
|
+
return A ? A.from(r, "base64").toString() : window.atob(r);
|
|
7220
7220
|
}
|
|
7221
7221
|
class Si {
|
|
7222
7222
|
constructor(e, t) {
|
|
@@ -7491,7 +7491,7 @@ class I3 {
|
|
|
7491
7491
|
return this.isInline() ? !0 : typeof this.mapOpts.annotation < "u" ? this.mapOpts.annotation : this.previous().length ? this.previous().some((e) => e.annotation) : !0;
|
|
7492
7492
|
}
|
|
7493
7493
|
toBase64(e) {
|
|
7494
|
-
return
|
|
7494
|
+
return A ? A.from(e).toString("base64") : window.btoa(unescape(encodeURIComponent(e)));
|
|
7495
7495
|
}
|
|
7496
7496
|
addAnnotation() {
|
|
7497
7497
|
let e;
|
|
@@ -7843,19 +7843,19 @@ Ri.default = Ri;
|
|
|
7843
7843
|
const Zn = 39, Ju = 34, Mr = 92, Zu = 47, Or = 10, Wt = 32, Pr = 12, Ir = 9, Lr = 13, j3 = 91, q3 = 93, Y3 = 40, H3 = 41, z3 = 123, K3 = 125, W3 = 59, G3 = 42, V3 = 58, J3 = 64, Nr = /[\t\n\f\r "#'()/;[\\\]{}]/g, Fr = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, Z3 = /.[\n"'(/\\]/, Qu = /[\da-f]/i;
|
|
7844
7844
|
var Q3 = function(e, t = {}) {
|
|
7845
7845
|
let n = e.css.valueOf(), i = t.ignoreErrors, o, u, s, a, l, d, c, f, h, g, p = n.length, m = 0, b = [], y = [];
|
|
7846
|
-
function
|
|
7846
|
+
function x() {
|
|
7847
7847
|
return m;
|
|
7848
7848
|
}
|
|
7849
|
-
function
|
|
7850
|
-
throw e.error("Unclosed " +
|
|
7849
|
+
function w(I) {
|
|
7850
|
+
throw e.error("Unclosed " + I, m);
|
|
7851
7851
|
}
|
|
7852
|
-
function
|
|
7852
|
+
function $() {
|
|
7853
7853
|
return y.length === 0 && m >= p;
|
|
7854
7854
|
}
|
|
7855
|
-
function T(
|
|
7855
|
+
function T(I) {
|
|
7856
7856
|
if (y.length) return y.pop();
|
|
7857
7857
|
if (m >= p) return;
|
|
7858
|
-
let _ =
|
|
7858
|
+
let _ = I ? I.ignoreUnclosed : !1;
|
|
7859
7859
|
switch (o = n.charCodeAt(m), o) {
|
|
7860
7860
|
case Or:
|
|
7861
7861
|
case Wt:
|
|
@@ -7876,8 +7876,8 @@ var Q3 = function(e, t = {}) {
|
|
|
7876
7876
|
case V3:
|
|
7877
7877
|
case W3:
|
|
7878
7878
|
case H3: {
|
|
7879
|
-
let
|
|
7880
|
-
g = [
|
|
7879
|
+
let M = String.fromCharCode(o);
|
|
7880
|
+
g = [M, M, m];
|
|
7881
7881
|
break;
|
|
7882
7882
|
}
|
|
7883
7883
|
case Y3: {
|
|
@@ -7889,7 +7889,7 @@ var Q3 = function(e, t = {}) {
|
|
|
7889
7889
|
u = m;
|
|
7890
7890
|
break;
|
|
7891
7891
|
} else
|
|
7892
|
-
|
|
7892
|
+
w("bracket");
|
|
7893
7893
|
for (c = u; n.charCodeAt(c - 1) === Mr; )
|
|
7894
7894
|
c -= 1, d = !d;
|
|
7895
7895
|
} while (d);
|
|
@@ -7907,7 +7907,7 @@ var Q3 = function(e, t = {}) {
|
|
|
7907
7907
|
u = m + 1;
|
|
7908
7908
|
break;
|
|
7909
7909
|
} else
|
|
7910
|
-
|
|
7910
|
+
w("string");
|
|
7911
7911
|
for (c = u; n.charCodeAt(c - 1) === Mr; )
|
|
7912
7912
|
c -= 1, d = !d;
|
|
7913
7913
|
} while (d);
|
|
@@ -7930,20 +7930,20 @@ var Q3 = function(e, t = {}) {
|
|
|
7930
7930
|
break;
|
|
7931
7931
|
}
|
|
7932
7932
|
default: {
|
|
7933
|
-
o === Zu && n.charCodeAt(m + 1) === G3 ? (u = n.indexOf("*/", m + 2) + 1, u === 0 && (i || _ ? u = n.length :
|
|
7933
|
+
o === Zu && n.charCodeAt(m + 1) === G3 ? (u = n.indexOf("*/", m + 2) + 1, u === 0 && (i || _ ? u = n.length : w("comment")), g = ["comment", n.slice(m, u + 1), m, u], m = u) : (Fr.lastIndex = m + 1, Fr.test(n), Fr.lastIndex === 0 ? u = n.length - 1 : u = Fr.lastIndex - 2, g = ["word", n.slice(m, u + 1), m, u], b.push(g), m = u);
|
|
7934
7934
|
break;
|
|
7935
7935
|
}
|
|
7936
7936
|
}
|
|
7937
7937
|
return m++, g;
|
|
7938
7938
|
}
|
|
7939
|
-
function
|
|
7940
|
-
y.push(
|
|
7939
|
+
function B(I) {
|
|
7940
|
+
y.push(I);
|
|
7941
7941
|
}
|
|
7942
7942
|
return {
|
|
7943
|
-
back:
|
|
7943
|
+
back: B,
|
|
7944
7944
|
nextToken: T,
|
|
7945
|
-
endOfFile:
|
|
7946
|
-
position:
|
|
7945
|
+
endOfFile: $,
|
|
7946
|
+
position: x
|
|
7947
7947
|
};
|
|
7948
7948
|
};
|
|
7949
7949
|
let am = wt;
|
|
@@ -8894,20 +8894,20 @@ var xm = { exports: {} };
|
|
|
8894
8894
|
a.utcOffset = function(p, m) {
|
|
8895
8895
|
var b = this.$utils().u;
|
|
8896
8896
|
if (b(p)) return this.$u ? 0 : b(this.$offset) ? c.call(this) : this.$offset;
|
|
8897
|
-
if (typeof p == "string" && (p = function(
|
|
8898
|
-
|
|
8899
|
-
var T =
|
|
8897
|
+
if (typeof p == "string" && (p = function($) {
|
|
8898
|
+
$ === void 0 && ($ = "");
|
|
8899
|
+
var T = $.match(n);
|
|
8900
8900
|
if (!T) return null;
|
|
8901
|
-
var
|
|
8902
|
-
return _ === 0 ? 0 :
|
|
8901
|
+
var B = ("" + T[0]).match(i) || ["-", 0, 0], I = B[0], _ = 60 * +B[1] + +B[2];
|
|
8902
|
+
return _ === 0 ? 0 : I === "+" ? _ : -_;
|
|
8903
8903
|
}(p), p === null)) return this;
|
|
8904
|
-
var y = Math.abs(p) <= 16 ? 60 * p : p,
|
|
8905
|
-
if (m) return
|
|
8904
|
+
var y = Math.abs(p) <= 16 ? 60 * p : p, x = this;
|
|
8905
|
+
if (m) return x.$offset = y, x.$u = p === 0, x;
|
|
8906
8906
|
if (p !== 0) {
|
|
8907
|
-
var
|
|
8908
|
-
(
|
|
8909
|
-
} else
|
|
8910
|
-
return
|
|
8907
|
+
var w = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
|
|
8908
|
+
(x = this.local().add(y + w, t)).$offset = y, x.$x.$localOffset = w;
|
|
8909
|
+
} else x = this.utc();
|
|
8910
|
+
return x;
|
|
8911
8911
|
};
|
|
8912
8912
|
var f = a.format;
|
|
8913
8913
|
a.format = function(p) {
|
|
@@ -8930,8 +8930,8 @@ var xm = { exports: {} };
|
|
|
8930
8930
|
var g = a.diff;
|
|
8931
8931
|
a.diff = function(p, m, b) {
|
|
8932
8932
|
if (p && this.$u === p.$u) return g.call(this, p, m, b);
|
|
8933
|
-
var y = this.local(),
|
|
8934
|
-
return g.call(y,
|
|
8933
|
+
var y = this.local(), x = s(p).local();
|
|
8934
|
+
return g.call(y, x, m, b);
|
|
8935
8935
|
};
|
|
8936
8936
|
};
|
|
8937
8937
|
});
|
|
@@ -8948,24 +8948,24 @@ var Em = { exports: {} };
|
|
|
8948
8948
|
g === void 0 && (g = {});
|
|
8949
8949
|
var p = new Date(f), m = function(b, y) {
|
|
8950
8950
|
y === void 0 && (y = {});
|
|
8951
|
-
var
|
|
8952
|
-
return
|
|
8951
|
+
var x = y.timeZoneName || "short", w = b + "|" + x, $ = n[w];
|
|
8952
|
+
return $ || ($ = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: b, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: x }), n[w] = $), $;
|
|
8953
8953
|
}(h, g);
|
|
8954
8954
|
return m.formatToParts(p);
|
|
8955
8955
|
}, l = function(f, h) {
|
|
8956
8956
|
for (var g = a(f, h), p = [], m = 0; m < g.length; m += 1) {
|
|
8957
|
-
var b = g[m], y = b.type,
|
|
8958
|
-
|
|
8957
|
+
var b = g[m], y = b.type, x = b.value, w = t[y];
|
|
8958
|
+
w >= 0 && (p[w] = parseInt(x, 10));
|
|
8959
8959
|
}
|
|
8960
|
-
var
|
|
8961
|
-
return (u.utc(
|
|
8960
|
+
var $ = p[3], T = $ === 24 ? 0 : $, B = p[0] + "-" + p[1] + "-" + p[2] + " " + T + ":" + p[4] + ":" + p[5] + ":000", I = +f;
|
|
8961
|
+
return (u.utc(B).valueOf() - (I -= I % 1e3)) / 6e4;
|
|
8962
8962
|
}, d = o.prototype;
|
|
8963
8963
|
d.tz = function(f, h) {
|
|
8964
8964
|
f === void 0 && (f = s);
|
|
8965
8965
|
var g = this.utcOffset(), p = this.toDate(), m = p.toLocaleString("en-US", { timeZone: f }), b = Math.round((p - new Date(m)) / 1e3 / 60), y = u(m).$set("millisecond", this.$ms).utcOffset(15 * -Math.round(p.getTimezoneOffset() / 15) - b, !0);
|
|
8966
8966
|
if (h) {
|
|
8967
|
-
var
|
|
8968
|
-
y = y.add(g -
|
|
8967
|
+
var x = y.utcOffset();
|
|
8968
|
+
y = y.add(g - x, "minute");
|
|
8969
8969
|
}
|
|
8970
8970
|
return y.$x.$timezone = f, y;
|
|
8971
8971
|
}, d.offsetName = function(f) {
|
|
@@ -8982,13 +8982,13 @@ var Em = { exports: {} };
|
|
|
8982
8982
|
}, u.tz = function(f, h, g) {
|
|
8983
8983
|
var p = g && h, m = g || h || s, b = l(+u(), m);
|
|
8984
8984
|
if (typeof f != "string") return u(f).tz(m);
|
|
8985
|
-
var y = function(T,
|
|
8986
|
-
var _ = T - 60 *
|
|
8987
|
-
if (
|
|
8988
|
-
var v = l(_ -= 60 * (
|
|
8989
|
-
return
|
|
8990
|
-
}(u.utc(f, p).valueOf(), b, m),
|
|
8991
|
-
return
|
|
8985
|
+
var y = function(T, B, I) {
|
|
8986
|
+
var _ = T - 60 * B * 1e3, M = l(_, I);
|
|
8987
|
+
if (B === M) return [_, B];
|
|
8988
|
+
var v = l(_ -= 60 * (M - B) * 1e3, I);
|
|
8989
|
+
return M === v ? [_, M] : [T - 60 * Math.min(M, v) * 1e3, Math.max(M, v)];
|
|
8990
|
+
}(u.utc(f, p).valueOf(), b, m), x = y[0], w = y[1], $ = u(x).utcOffset(w);
|
|
8991
|
+
return $.$x.$timezone = m, $;
|
|
8992
8992
|
}, u.tz.guess = function() {
|
|
8993
8993
|
return Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
8994
8994
|
}, u.tz.setDefault = function(f) {
|
|
@@ -9087,13 +9087,13 @@ class e6 {
|
|
|
9087
9087
|
const m = ns(f.toString());
|
|
9088
9088
|
F(`[${this.hostTagName}] Adding event listener for "${m}" on "${l.tagName}"`), l.addEventListener(m, g);
|
|
9089
9089
|
}), n == null || n.forEach((c, f) => {
|
|
9090
|
-
var b, y,
|
|
9090
|
+
var b, y, x, w;
|
|
9091
9091
|
const [h, g] = f.split("."), m = this.getStore(h).state[g];
|
|
9092
9092
|
if (!l.dataset.nylasId) {
|
|
9093
9093
|
F(`[${this.hostTagName}] Component "${e.name}" not registered. Skipping.`, { component: e });
|
|
9094
9094
|
return;
|
|
9095
9095
|
}
|
|
9096
|
-
this.propStateRegistrations.has(h) || this.propStateRegistrations.set(h, /* @__PURE__ */ new Map()), (b = this.propStateRegistrations.get(h)) != null && b.has(g) ? (
|
|
9096
|
+
this.propStateRegistrations.has(h) || this.propStateRegistrations.set(h, /* @__PURE__ */ new Map()), (b = this.propStateRegistrations.get(h)) != null && b.has(g) ? (w = (x = this.propStateRegistrations.get(h)) == null ? void 0 : x.get(g)) == null || w.push({
|
|
9097
9097
|
elementId: l.dataset.nylasId,
|
|
9098
9098
|
propKey: c
|
|
9099
9099
|
}) : (y = this.propStateRegistrations.get(h)) == null || y.set(g, [
|
|
@@ -9486,7 +9486,7 @@ var qi = !1, v6 = ji ? () => {
|
|
|
9486
9486
|
}
|
|
9487
9487
|
});
|
|
9488
9488
|
} }, U = Ot, Qt = [], gt = 0, Qr = [];
|
|
9489
|
-
function
|
|
9489
|
+
function L(r) {
|
|
9490
9490
|
if (typeof this != "object")
|
|
9491
9491
|
throw new TypeError("Promises must be constructed via new");
|
|
9492
9492
|
this._listeners = [], this.onuncatched = G, this._lib = !1;
|
|
@@ -9503,7 +9503,7 @@ const Ki = { get: function() {
|
|
|
9503
9503
|
function t(n, i) {
|
|
9504
9504
|
var o = !r.global && (r !== U || e !== Tn);
|
|
9505
9505
|
const u = o && !Je();
|
|
9506
|
-
var s = new
|
|
9506
|
+
var s = new L((a, l) => {
|
|
9507
9507
|
No(this, new Lm(Sn(n, r, o, u), Sn(i, r, o, u), a, l, r));
|
|
9508
9508
|
});
|
|
9509
9509
|
return Fe && jm(s, this), s;
|
|
@@ -9525,7 +9525,7 @@ function Nm(r, e) {
|
|
|
9525
9525
|
throw new TypeError("A promise cannot be resolved with itself.");
|
|
9526
9526
|
var n = r._lib && Sr();
|
|
9527
9527
|
t && typeof t.then == "function" ? Nm(r, (i, o) => {
|
|
9528
|
-
t instanceof
|
|
9528
|
+
t instanceof L ? t._then(i, o) : t.then(i, o);
|
|
9529
9529
|
}) : (r._state = !0, r._value = t, Fm(r)), n && Br();
|
|
9530
9530
|
}
|
|
9531
9531
|
}, Wi.bind(null, r));
|
|
@@ -9624,7 +9624,7 @@ function Fo() {
|
|
|
9624
9624
|
e[--t]();
|
|
9625
9625
|
}
|
|
9626
9626
|
function jr(r) {
|
|
9627
|
-
return new
|
|
9627
|
+
return new L(br, !1, r);
|
|
9628
9628
|
}
|
|
9629
9629
|
function Q(r, e) {
|
|
9630
9630
|
var t = U;
|
|
@@ -9639,7 +9639,7 @@ function Q(r, e) {
|
|
|
9639
9639
|
}
|
|
9640
9640
|
};
|
|
9641
9641
|
}
|
|
9642
|
-
Nt(
|
|
9642
|
+
Nt(L.prototype, { then: Ki, _then: function(r, e) {
|
|
9643
9643
|
No(this, new Lm(null, null, r, e, U));
|
|
9644
9644
|
}, catch: function(r) {
|
|
9645
9645
|
if (arguments.length === 1)
|
|
@@ -9660,38 +9660,38 @@ From previous: `);
|
|
|
9660
9660
|
qi = !1;
|
|
9661
9661
|
}
|
|
9662
9662
|
} }, timeout: function(r, e) {
|
|
9663
|
-
return r < 1 / 0 ? new
|
|
9663
|
+
return r < 1 / 0 ? new L((t, n) => {
|
|
9664
9664
|
var i = setTimeout(() => n(new j.Timeout(e)), r);
|
|
9665
9665
|
this.then(t, n).finally(clearTimeout.bind(null, i));
|
|
9666
9666
|
}) : this;
|
|
9667
|
-
} }), typeof Symbol < "u" && Symbol.toStringTag && Ge(
|
|
9667
|
+
} }), typeof Symbol < "u" && Symbol.toStringTag && Ge(L.prototype, Symbol.toStringTag, "Dexie.Promise"), Ot.env = qm(), Nt(L, { all: function() {
|
|
9668
9668
|
var r = ze.apply(null, arguments).map(qr);
|
|
9669
|
-
return new
|
|
9669
|
+
return new L(function(e, t) {
|
|
9670
9670
|
r.length === 0 && e([]);
|
|
9671
9671
|
var n = r.length;
|
|
9672
|
-
r.forEach((i, o) =>
|
|
9672
|
+
r.forEach((i, o) => L.resolve(i).then((u) => {
|
|
9673
9673
|
r[o] = u, --n || e(r);
|
|
9674
9674
|
}, t));
|
|
9675
9675
|
});
|
|
9676
9676
|
}, resolve: (r) => {
|
|
9677
|
-
if (r instanceof
|
|
9677
|
+
if (r instanceof L)
|
|
9678
9678
|
return r;
|
|
9679
9679
|
if (r && typeof r.then == "function")
|
|
9680
|
-
return new
|
|
9680
|
+
return new L((t, n) => {
|
|
9681
9681
|
r.then(t, n);
|
|
9682
9682
|
});
|
|
9683
|
-
var e = new
|
|
9683
|
+
var e = new L(br, !0, r);
|
|
9684
9684
|
return jm(e, Hi), e;
|
|
9685
9685
|
}, reject: jr, race: function() {
|
|
9686
9686
|
var r = ze.apply(null, arguments).map(qr);
|
|
9687
|
-
return new
|
|
9688
|
-
r.map((n) =>
|
|
9687
|
+
return new L((e, t) => {
|
|
9688
|
+
r.map((n) => L.resolve(n).then(e, t));
|
|
9689
9689
|
});
|
|
9690
9690
|
}, PSD: { get: () => U, set: (r) => U = r }, totalEchoes: { get: () => Tn }, newPSD: st, usePSD: Yt, scheduler: { get: () => rr, set: (r) => {
|
|
9691
9691
|
rr = r;
|
|
9692
9692
|
} }, rejectionMapper: { get: () => zi, set: (r) => {
|
|
9693
9693
|
zi = r;
|
|
9694
|
-
} }, follow: (r, e) => new
|
|
9694
|
+
} }, follow: (r, e) => new L((t, n) => st((i, o) => {
|
|
9695
9695
|
var u = U;
|
|
9696
9696
|
u.unhandleds = [], u.onunhandled = o, u.finalize = yt(function() {
|
|
9697
9697
|
(function(s) {
|
|
@@ -9705,21 +9705,21 @@ From previous: `);
|
|
|
9705
9705
|
this.unhandleds.length === 0 ? i() : o(this.unhandleds[0]);
|
|
9706
9706
|
});
|
|
9707
9707
|
}, u.finalize), r();
|
|
9708
|
-
}, e, t, n)) }), Jr && (Jr.allSettled && Ge(
|
|
9708
|
+
}, e, t, n)) }), Jr && (Jr.allSettled && Ge(L, "allSettled", function() {
|
|
9709
9709
|
const r = ze.apply(null, arguments).map(qr);
|
|
9710
|
-
return new
|
|
9710
|
+
return new L((e) => {
|
|
9711
9711
|
r.length === 0 && e([]);
|
|
9712
9712
|
let t = r.length;
|
|
9713
9713
|
const n = new Array(t);
|
|
9714
|
-
r.forEach((i, o) =>
|
|
9714
|
+
r.forEach((i, o) => L.resolve(i).then((u) => n[o] = { status: "fulfilled", value: u }, (u) => n[o] = { status: "rejected", reason: u }).then(() => --t || e(n)));
|
|
9715
9715
|
});
|
|
9716
|
-
}), Jr.any && typeof AggregateError < "u" && Ge(
|
|
9716
|
+
}), Jr.any && typeof AggregateError < "u" && Ge(L, "any", function() {
|
|
9717
9717
|
const r = ze.apply(null, arguments).map(qr);
|
|
9718
|
-
return new
|
|
9718
|
+
return new L((e, t) => {
|
|
9719
9719
|
r.length === 0 && t(new AggregateError([]));
|
|
9720
9720
|
let n = r.length;
|
|
9721
9721
|
const i = new Array(n);
|
|
9722
|
-
r.forEach((o, u) =>
|
|
9722
|
+
r.forEach((o, u) => L.resolve(o).then((s) => e(s), (s) => {
|
|
9723
9723
|
i[u] = s, --n || t(new AggregateError(i));
|
|
9724
9724
|
}));
|
|
9725
9725
|
});
|
|
@@ -9730,7 +9730,7 @@ function st(r, e, t, n) {
|
|
|
9730
9730
|
var i = U, o = Object.create(i);
|
|
9731
9731
|
o.parent = i, o.ref = 0, o.global = !1, o.id = ++x6;
|
|
9732
9732
|
var u = Ot.env;
|
|
9733
|
-
o.env = Lo ? { Promise:
|
|
9733
|
+
o.env = Lo ? { Promise: L, PromiseProp: { value: L, configurable: !0, writable: !0 }, all: L.all, race: L.race, allSettled: L.allSettled, any: L.any, resolve: L.resolve, reject: L.reject, nthen: us(u.nthen, o), gthen: us(u.gthen, o) } : {}, e && ge(o, e), ++i.ref, o.finalize = function() {
|
|
9734
9734
|
--this.parent.ref || this.parent.finalize();
|
|
9735
9735
|
};
|
|
9736
9736
|
var s = Yt(o, r, t, n);
|
|
@@ -9810,7 +9810,7 @@ function as(r, e) {
|
|
|
9810
9810
|
} catch {
|
|
9811
9811
|
}
|
|
9812
9812
|
}
|
|
9813
|
-
var ne =
|
|
9813
|
+
var ne = L.reject;
|
|
9814
9814
|
function Gi(r, e, t, n) {
|
|
9815
9815
|
if (r.idbdb && (r._state.openComplete || U.letThrough || r._vip)) {
|
|
9816
9816
|
var i = r._createTransaction(e, t, r._dbSchema);
|
|
@@ -9938,7 +9938,7 @@ class B6 {
|
|
|
9938
9938
|
add(e, t) {
|
|
9939
9939
|
const { auto: n, keyPath: i } = this.schema.primKey;
|
|
9940
9940
|
let o = e;
|
|
9941
|
-
return i && n && (o = Yr(i)(e)), this._trans("readwrite", (u) => this.core.mutate({ trans: u, type: "add", keys: t != null ? [t] : null, values: [o] })).then((u) => u.numFailures ?
|
|
9941
|
+
return i && n && (o = Yr(i)(e)), this._trans("readwrite", (u) => this.core.mutate({ trans: u, type: "add", keys: t != null ? [t] : null, values: [o] })).then((u) => u.numFailures ? L.reject(u.failures[0]) : u.lastResult).then((u) => {
|
|
9942
9942
|
if (i)
|
|
9943
9943
|
try {
|
|
9944
9944
|
Be(e, i, u);
|
|
@@ -9966,7 +9966,7 @@ class B6 {
|
|
|
9966
9966
|
put(e, t) {
|
|
9967
9967
|
const { auto: n, keyPath: i } = this.schema.primKey;
|
|
9968
9968
|
let o = e;
|
|
9969
|
-
return i && n && (o = Yr(i)(e)), this._trans("readwrite", (u) => this.core.mutate({ trans: u, type: "put", values: [o], keys: t != null ? [t] : null })).then((u) => u.numFailures ?
|
|
9969
|
+
return i && n && (o = Yr(i)(e)), this._trans("readwrite", (u) => this.core.mutate({ trans: u, type: "put", values: [o], keys: t != null ? [t] : null })).then((u) => u.numFailures ? L.reject(u.failures[0]) : u.lastResult).then((u) => {
|
|
9970
9970
|
if (i)
|
|
9971
9971
|
try {
|
|
9972
9972
|
Be(e, i, u);
|
|
@@ -9976,10 +9976,10 @@ class B6 {
|
|
|
9976
9976
|
});
|
|
9977
9977
|
}
|
|
9978
9978
|
delete(e) {
|
|
9979
|
-
return this._trans("readwrite", (t) => this.core.mutate({ trans: t, type: "delete", keys: [e] })).then((t) => t.numFailures ?
|
|
9979
|
+
return this._trans("readwrite", (t) => this.core.mutate({ trans: t, type: "delete", keys: [e] })).then((t) => t.numFailures ? L.reject(t.failures[0]) : void 0);
|
|
9980
9980
|
}
|
|
9981
9981
|
clear() {
|
|
9982
|
-
return this._trans("readwrite", (e) => this.core.mutate({ trans: e, type: "deleteRange", range: Km })).then((e) => e.numFailures ?
|
|
9982
|
+
return this._trans("readwrite", (e) => this.core.mutate({ trans: e, type: "deleteRange", range: Km })).then((e) => e.numFailures ? L.reject(e.failures[0]) : void 0);
|
|
9983
9983
|
}
|
|
9984
9984
|
bulkGet(e) {
|
|
9985
9985
|
return this._trans("readonly", (t) => this.core.getMany({ keys: e, trans: t }).then((n) => n.map((i) => this.hook.reading.fire(i))));
|
|
@@ -10356,8 +10356,8 @@ class _6 {
|
|
|
10356
10356
|
var o = te(e), u = o.length;
|
|
10357
10357
|
i = function(p) {
|
|
10358
10358
|
for (var m = !1, b = 0; b < u; ++b) {
|
|
10359
|
-
var y = o[b],
|
|
10360
|
-
Ve(p, y) !==
|
|
10359
|
+
var y = o[b], x = e[y];
|
|
10360
|
+
Ve(p, y) !== x && (Be(p, y, x), m = !0);
|
|
10361
10361
|
}
|
|
10362
10362
|
return m;
|
|
10363
10363
|
};
|
|
@@ -10367,24 +10367,24 @@ class _6 {
|
|
|
10367
10367
|
const h = [], g = (p, m) => {
|
|
10368
10368
|
const { failures: b, numFailures: y } = m;
|
|
10369
10369
|
f += p - y;
|
|
10370
|
-
for (let
|
|
10371
|
-
c.push(b[
|
|
10370
|
+
for (let x of te(b))
|
|
10371
|
+
c.push(b[x]);
|
|
10372
10372
|
};
|
|
10373
10373
|
return this.clone().primaryKeys().then((p) => {
|
|
10374
10374
|
const m = (b) => {
|
|
10375
10375
|
const y = Math.min(d, p.length - b);
|
|
10376
|
-
return s.getMany({ trans: n, keys: p.slice(b, b + y), cache: "immutable" }).then((
|
|
10377
|
-
const
|
|
10376
|
+
return s.getMany({ trans: n, keys: p.slice(b, b + y), cache: "immutable" }).then((x) => {
|
|
10377
|
+
const w = [], $ = [], T = a ? [] : null, B = [];
|
|
10378
10378
|
for (let _ = 0; _ < y; ++_) {
|
|
10379
|
-
const
|
|
10380
|
-
i.call(v, v.value, v) !== !1 && (v.value == null ?
|
|
10379
|
+
const M = x[_], v = { value: Tr(M), primKey: p[b + _] };
|
|
10380
|
+
i.call(v, v.value, v) !== !1 && (v.value == null ? B.push(p[b + _]) : a || he(l(M), l(v.value)) === 0 ? ($.push(v.value), a && T.push(p[b + _])) : (B.push(p[b + _]), w.push(v.value)));
|
|
10381
10381
|
}
|
|
10382
|
-
const
|
|
10383
|
-
return Promise.resolve(
|
|
10384
|
-
for (let
|
|
10385
|
-
|
|
10386
|
-
g(
|
|
10387
|
-
})).then(() => (
|
|
10382
|
+
const I = Tt(t) && t.limit === 1 / 0 && (typeof e != "function" || e === ni) && { index: t.index, range: t.range };
|
|
10383
|
+
return Promise.resolve(w.length > 0 && s.mutate({ trans: n, type: "add", values: w }).then((_) => {
|
|
10384
|
+
for (let M in _.failures)
|
|
10385
|
+
B.splice(parseInt(M), 1);
|
|
10386
|
+
g(w.length, _);
|
|
10387
|
+
})).then(() => ($.length > 0 || I && typeof e == "object") && s.mutate({ trans: n, type: "put", keys: T, values: $, criteria: I, changeSpec: typeof e != "function" && e }).then((_) => g($.length, _))).then(() => (B.length > 0 || I && e === ni) && s.mutate({ trans: n, type: "delete", keys: B, criteria: I }).then((_) => g(B.length, _))).then(() => p.length > b + y && m(b + d));
|
|
10388
10388
|
});
|
|
10389
10389
|
};
|
|
10390
10390
|
return m(0).then(() => {
|
|
@@ -10461,15 +10461,15 @@ function zr(r, e, t, n) {
|
|
|
10461
10461
|
var y = p.key;
|
|
10462
10462
|
if (typeof y != "string")
|
|
10463
10463
|
return !1;
|
|
10464
|
-
var
|
|
10465
|
-
if (e(
|
|
10464
|
+
var x = o(y);
|
|
10465
|
+
if (e(x, a, g))
|
|
10466
10466
|
return !0;
|
|
10467
|
-
for (var
|
|
10468
|
-
var T = R6(y,
|
|
10469
|
-
T === null &&
|
|
10467
|
+
for (var w = null, $ = g; $ < c; ++$) {
|
|
10468
|
+
var T = R6(y, x, s[$], a[$], u, l);
|
|
10469
|
+
T === null && w === null ? g = $ + 1 : (w === null || u(w, T) > 0) && (w = T);
|
|
10470
10470
|
}
|
|
10471
|
-
return m(
|
|
10472
|
-
p.continue(
|
|
10471
|
+
return m(w !== null ? function() {
|
|
10472
|
+
p.continue(w + d);
|
|
10473
10473
|
} : b), !1;
|
|
10474
10474
|
}), h;
|
|
10475
10475
|
}
|
|
@@ -10571,20 +10571,20 @@ class Gm {
|
|
|
10571
10571
|
return be(this, "First argument to inAnyRange() must be an Array of two-value Arrays [lower,upper] where upper must not be lower than lower", j.InvalidArgument);
|
|
10572
10572
|
const a = !t || t.includeLowers !== !1, l = t && t.includeUppers === !0;
|
|
10573
10573
|
let d, c = i;
|
|
10574
|
-
function f(y,
|
|
10575
|
-
return c(y[0],
|
|
10574
|
+
function f(y, x) {
|
|
10575
|
+
return c(y[0], x[0]);
|
|
10576
10576
|
}
|
|
10577
10577
|
try {
|
|
10578
|
-
d = e.reduce(function(y,
|
|
10579
|
-
let
|
|
10580
|
-
for (;
|
|
10581
|
-
const T = y[
|
|
10582
|
-
if (n(
|
|
10583
|
-
T[0] = u(T[0],
|
|
10578
|
+
d = e.reduce(function(y, x) {
|
|
10579
|
+
let w = 0, $ = y.length;
|
|
10580
|
+
for (; w < $; ++w) {
|
|
10581
|
+
const T = y[w];
|
|
10582
|
+
if (n(x[0], T[1]) < 0 && n(x[1], T[0]) > 0) {
|
|
10583
|
+
T[0] = u(T[0], x[0]), T[1] = s(T[1], x[1]);
|
|
10584
10584
|
break;
|
|
10585
10585
|
}
|
|
10586
10586
|
}
|
|
10587
|
-
return
|
|
10587
|
+
return w === $ && y.push(x), y;
|
|
10588
10588
|
}, []), d.sort(f);
|
|
10589
10589
|
} catch {
|
|
10590
10590
|
return be(this, qe);
|
|
@@ -10595,13 +10595,13 @@ class Gm {
|
|
|
10595
10595
|
const b = new this.Collection(this, () => et(d[0][0], d[d.length - 1][1], !a, !l));
|
|
10596
10596
|
return b._ondirectionchange = (y) => {
|
|
10597
10597
|
y === "next" ? (m = g, c = i) : (m = p, c = o), d.sort(f);
|
|
10598
|
-
}, b._addAlgorithm((y,
|
|
10599
|
-
for (var
|
|
10598
|
+
}, b._addAlgorithm((y, x, w) => {
|
|
10599
|
+
for (var $ = y.key; m($); )
|
|
10600
10600
|
if (++h, h === d.length)
|
|
10601
|
-
return w
|
|
10601
|
+
return x(w), !1;
|
|
10602
10602
|
return !!function(T) {
|
|
10603
10603
|
return !g(T) && !p(T);
|
|
10604
|
-
}(
|
|
10604
|
+
}($) || (this._cmp($, d[h][1]) === 0 || this._cmp($, d[h][0]) === 0 || x(() => {
|
|
10605
10605
|
c === i ? y.continue(d[h][0]) : y.continue(d[h][1]);
|
|
10606
10606
|
}), !1);
|
|
10607
10607
|
}), b;
|
|
@@ -10667,21 +10667,21 @@ class D6 {
|
|
|
10667
10667
|
if (!this.active)
|
|
10668
10668
|
return ne(new j.TransactionInactive());
|
|
10669
10669
|
if (this._locked())
|
|
10670
|
-
return new
|
|
10670
|
+
return new L((o, u) => {
|
|
10671
10671
|
this._blockedFuncs.push([() => {
|
|
10672
10672
|
this._promise(e, t, n).then(o, u);
|
|
10673
10673
|
}, U]);
|
|
10674
10674
|
});
|
|
10675
10675
|
if (n)
|
|
10676
10676
|
return st(() => {
|
|
10677
|
-
var o = new
|
|
10677
|
+
var o = new L((u, s) => {
|
|
10678
10678
|
this._lock();
|
|
10679
10679
|
const a = t(u, s, this);
|
|
10680
10680
|
a && a.then && a.then(u, s);
|
|
10681
10681
|
});
|
|
10682
10682
|
return o.finally(() => this._unlock()), o._lib = !0, o;
|
|
10683
10683
|
});
|
|
10684
|
-
var i = new
|
|
10684
|
+
var i = new L((o, u) => {
|
|
10685
10685
|
var s = t(o, u, this);
|
|
10686
10686
|
s && s.then && s.then(o, u);
|
|
10687
10687
|
});
|
|
@@ -10692,7 +10692,7 @@ class D6 {
|
|
|
10692
10692
|
}
|
|
10693
10693
|
waitFor(e) {
|
|
10694
10694
|
var t = this._root();
|
|
10695
|
-
const n =
|
|
10695
|
+
const n = L.resolve(e);
|
|
10696
10696
|
if (t._waitingFor)
|
|
10697
10697
|
t._waitingFor = t._waitingFor.then(() => n);
|
|
10698
10698
|
else {
|
|
@@ -10705,7 +10705,7 @@ class D6 {
|
|
|
10705
10705
|
})();
|
|
10706
10706
|
}
|
|
10707
10707
|
var o = t._waitingFor;
|
|
10708
|
-
return new
|
|
10708
|
+
return new L((u, s) => {
|
|
10709
10709
|
n.then((a) => t._waitingQueue.push(Q(u.bind(null, a))), (a) => t._waitingQueue.push(Q(s.bind(null, a)))).finally(() => {
|
|
10710
10710
|
t._waitingFor === o && (t._waitingFor = null);
|
|
10711
10711
|
});
|
|
@@ -10767,8 +10767,8 @@ function O6(r, e, t) {
|
|
|
10767
10767
|
const d = gs(a.objectStoreNames);
|
|
10768
10768
|
return { schema: { name: a.name, tables: d.map((c) => l.objectStore(c)).map((c) => {
|
|
10769
10769
|
const { keyPath: f, autoIncrement: h } = c, g = ce(f), p = f == null, m = {}, b = { name: c.name, primaryKey: { name: null, isPrimaryKey: !0, outbound: p, compound: g, keyPath: f, autoIncrement: h, unique: !0, extractKey: Zi(f) }, indexes: gs(c.indexNames).map((y) => c.index(y)).map((y) => {
|
|
10770
|
-
const { name:
|
|
10771
|
-
return m[or(T)] =
|
|
10770
|
+
const { name: x, unique: w, multiEntry: $, keyPath: T } = y, B = { name: x, compound: ce(T), keyPath: T, unique: w, multiEntry: $, extractKey: Zi(T) };
|
|
10771
|
+
return m[or(T)] = B, B;
|
|
10772
10772
|
}), getIndexByKeyPath: (y) => m[or(y)] };
|
|
10773
10773
|
return m[":id"] = b.primaryKey, f != null && (m[or(f)] = b.primaryKey), b;
|
|
10774
10774
|
}) }, hasGetAll: d.length > 0 && "getAll" in l.objectStore(d[0]) && !(typeof navigator < "u" && /Safari/.test(navigator.userAgent) && !/(Chrome\/|Edge\/)/.test(navigator.userAgent) && [].concat(navigator.userAgent.match(/Safari\/(\d*)/))[1] < 604) };
|
|
@@ -10777,52 +10777,52 @@ function O6(r, e, t) {
|
|
|
10777
10777
|
return { name: d, schema: l, mutate: function({ trans: c, type: f, keys: h, values: g, range: p }) {
|
|
10778
10778
|
return new Promise((m, b) => {
|
|
10779
10779
|
m = Q(m);
|
|
10780
|
-
const y = c.objectStore(d),
|
|
10781
|
-
if (!
|
|
10780
|
+
const y = c.objectStore(d), x = y.keyPath == null, w = f === "put" || f === "add";
|
|
10781
|
+
if (!w && f !== "delete" && f !== "deleteRange")
|
|
10782
10782
|
throw new Error("Invalid operation type: " + f);
|
|
10783
|
-
const { length:
|
|
10783
|
+
const { length: $ } = h || g || { length: 1 };
|
|
10784
10784
|
if (h && g && h.length !== g.length)
|
|
10785
10785
|
throw new Error("Given keys array must have same length as given values array.");
|
|
10786
|
-
if (
|
|
10786
|
+
if ($ === 0)
|
|
10787
10787
|
return m({ numFailures: 0, failures: {}, results: [], lastResult: void 0 });
|
|
10788
10788
|
let T;
|
|
10789
|
-
const
|
|
10789
|
+
const B = [], I = [];
|
|
10790
10790
|
let _ = 0;
|
|
10791
|
-
const
|
|
10792
|
-
++_, yr(
|
|
10791
|
+
const M = (C) => {
|
|
10792
|
+
++_, yr(C);
|
|
10793
10793
|
};
|
|
10794
10794
|
if (f === "deleteRange") {
|
|
10795
10795
|
if (p.type === 4)
|
|
10796
|
-
return m({ numFailures: _, failures:
|
|
10797
|
-
p.type === 3 ?
|
|
10796
|
+
return m({ numFailures: _, failures: I, results: [], lastResult: void 0 });
|
|
10797
|
+
p.type === 3 ? B.push(T = y.clear()) : B.push(T = y.delete(n(p)));
|
|
10798
10798
|
} else {
|
|
10799
|
-
const [
|
|
10800
|
-
if (
|
|
10801
|
-
for (let
|
|
10802
|
-
|
|
10799
|
+
const [C, E] = w ? x ? [g, h] : [g, null] : [h, null];
|
|
10800
|
+
if (w)
|
|
10801
|
+
for (let k = 0; k < $; ++k)
|
|
10802
|
+
B.push(T = E && E[k] !== void 0 ? y[f](C[k], E[k]) : y[f](C[k])), T.onerror = M;
|
|
10803
10803
|
else
|
|
10804
|
-
for (let
|
|
10805
|
-
|
|
10804
|
+
for (let k = 0; k < $; ++k)
|
|
10805
|
+
B.push(T = y[f](C[k])), T.onerror = M;
|
|
10806
10806
|
}
|
|
10807
|
-
const v = (
|
|
10808
|
-
const E =
|
|
10809
|
-
|
|
10807
|
+
const v = (C) => {
|
|
10808
|
+
const E = C.target.result;
|
|
10809
|
+
B.forEach((k, S) => k.error != null && (I[S] = k.error)), m({ numFailures: _, failures: I, results: f === "delete" ? h : B.map((k) => k.result), lastResult: E });
|
|
10810
10810
|
};
|
|
10811
|
-
T.onerror = (
|
|
10812
|
-
|
|
10811
|
+
T.onerror = (C) => {
|
|
10812
|
+
M(C), v(C);
|
|
10813
10813
|
}, T.onsuccess = v;
|
|
10814
10814
|
});
|
|
10815
10815
|
}, getMany: ({ trans: c, keys: f }) => new Promise((h, g) => {
|
|
10816
10816
|
h = Q(h);
|
|
10817
10817
|
const p = c.objectStore(d), m = f.length, b = new Array(m);
|
|
10818
|
-
let y,
|
|
10819
|
-
const
|
|
10820
|
-
const
|
|
10821
|
-
b[
|
|
10818
|
+
let y, x = 0, w = 0;
|
|
10819
|
+
const $ = (B) => {
|
|
10820
|
+
const I = B.target;
|
|
10821
|
+
b[I._pos] = I.result, ++w === x && h(b);
|
|
10822
10822
|
}, T = Me(g);
|
|
10823
|
-
for (let
|
|
10824
|
-
f[
|
|
10825
|
-
|
|
10823
|
+
for (let B = 0; B < m; ++B)
|
|
10824
|
+
f[B] != null && (y = p.get(f[B]), y._pos = B, y.onsuccess = $, y.onerror = T, ++x);
|
|
10825
|
+
x === 0 && h(b);
|
|
10826
10826
|
}), get: ({ trans: c, key: f }) => new Promise((h, g) => {
|
|
10827
10827
|
h = Q(h);
|
|
10828
10828
|
const p = c.objectStore(d).get(f);
|
|
@@ -10830,50 +10830,50 @@ function O6(r, e, t) {
|
|
|
10830
10830
|
}), query: /* @__PURE__ */ function(c) {
|
|
10831
10831
|
return (f) => new Promise((h, g) => {
|
|
10832
10832
|
h = Q(h);
|
|
10833
|
-
const { trans: p, values: m, limit: b, query: y } = f,
|
|
10833
|
+
const { trans: p, values: m, limit: b, query: y } = f, x = b === 1 / 0 ? void 0 : b, { index: w, range: $ } = y, T = p.objectStore(d), B = w.isPrimaryKey ? T : T.index(w.name), I = n($);
|
|
10834
10834
|
if (b === 0)
|
|
10835
10835
|
return h({ result: [] });
|
|
10836
10836
|
if (c) {
|
|
10837
|
-
const _ = m ?
|
|
10838
|
-
_.onsuccess = (
|
|
10837
|
+
const _ = m ? B.getAll(I, x) : B.getAllKeys(I, x);
|
|
10838
|
+
_.onsuccess = (M) => h({ result: M.target.result }), _.onerror = Me(g);
|
|
10839
10839
|
} else {
|
|
10840
10840
|
let _ = 0;
|
|
10841
|
-
const
|
|
10842
|
-
|
|
10843
|
-
const E =
|
|
10841
|
+
const M = m || !("openKeyCursor" in B) ? B.openCursor(I) : B.openKeyCursor(I), v = [];
|
|
10842
|
+
M.onsuccess = (C) => {
|
|
10843
|
+
const E = M.result;
|
|
10844
10844
|
return E ? (v.push(m ? E.value : E.primaryKey), ++_ === b ? h({ result: v }) : void E.continue()) : h({ result: v });
|
|
10845
|
-
},
|
|
10845
|
+
}, M.onerror = Me(g);
|
|
10846
10846
|
}
|
|
10847
10847
|
});
|
|
10848
10848
|
}(o), openCursor: function({ trans: c, values: f, query: h, reverse: g, unique: p }) {
|
|
10849
10849
|
return new Promise((m, b) => {
|
|
10850
10850
|
m = Q(m);
|
|
10851
|
-
const { index: y, range:
|
|
10852
|
-
|
|
10853
|
-
const _ =
|
|
10851
|
+
const { index: y, range: x } = h, w = c.objectStore(d), $ = y.isPrimaryKey ? w : w.index(y.name), T = g ? p ? "prevunique" : "prev" : p ? "nextunique" : "next", B = f || !("openKeyCursor" in $) ? $.openCursor(n(x), T) : $.openKeyCursor(n(x), T);
|
|
10852
|
+
B.onerror = Me(b), B.onsuccess = Q((I) => {
|
|
10853
|
+
const _ = B.result;
|
|
10854
10854
|
if (!_)
|
|
10855
10855
|
return void m(null);
|
|
10856
10856
|
_.___id = ++M6, _.done = !1;
|
|
10857
|
-
const
|
|
10857
|
+
const M = _.continue.bind(_);
|
|
10858
10858
|
let v = _.continuePrimaryKey;
|
|
10859
10859
|
v && (v = v.bind(_));
|
|
10860
|
-
const
|
|
10860
|
+
const C = _.advance.bind(_), E = () => {
|
|
10861
10861
|
throw new Error("Cursor not stopped");
|
|
10862
10862
|
};
|
|
10863
10863
|
_.trans = c, _.stop = _.continue = _.continuePrimaryKey = _.advance = () => {
|
|
10864
10864
|
throw new Error("Cursor not started");
|
|
10865
10865
|
}, _.fail = Q(b), _.next = function() {
|
|
10866
|
-
let
|
|
10867
|
-
return this.start(() =>
|
|
10868
|
-
}, _.start = (
|
|
10866
|
+
let k = 1;
|
|
10867
|
+
return this.start(() => k-- ? this.continue() : this.stop()).then(() => this);
|
|
10868
|
+
}, _.start = (k) => {
|
|
10869
10869
|
const S = new Promise((R, O) => {
|
|
10870
|
-
R = Q(R),
|
|
10870
|
+
R = Q(R), B.onerror = Me(O), _.fail = O, _.stop = (N) => {
|
|
10871
10871
|
_.stop = _.continue = _.continuePrimaryKey = _.advance = E, R(N);
|
|
10872
10872
|
};
|
|
10873
10873
|
}), P = () => {
|
|
10874
|
-
if (
|
|
10874
|
+
if (B.result)
|
|
10875
10875
|
try {
|
|
10876
|
-
|
|
10876
|
+
k();
|
|
10877
10877
|
} catch (R) {
|
|
10878
10878
|
_.fail(R);
|
|
10879
10879
|
}
|
|
@@ -10882,17 +10882,17 @@ function O6(r, e, t) {
|
|
|
10882
10882
|
throw new Error("Cursor behind last entry");
|
|
10883
10883
|
}, _.stop();
|
|
10884
10884
|
};
|
|
10885
|
-
return
|
|
10886
|
-
|
|
10887
|
-
}), _.continue =
|
|
10885
|
+
return B.onsuccess = Q((R) => {
|
|
10886
|
+
B.onsuccess = P, P();
|
|
10887
|
+
}), _.continue = M, _.continuePrimaryKey = v, _.advance = C, P(), S;
|
|
10888
10888
|
}, m(_);
|
|
10889
10889
|
}, b);
|
|
10890
10890
|
});
|
|
10891
10891
|
}, count({ query: c, trans: f }) {
|
|
10892
10892
|
const { index: h, range: g } = c;
|
|
10893
10893
|
return new Promise((p, m) => {
|
|
10894
|
-
const b = f.objectStore(d), y = h.isPrimaryKey ? b : b.index(h.name),
|
|
10895
|
-
|
|
10894
|
+
const b = f.objectStore(d), y = h.isPrimaryKey ? b : b.index(h.name), x = n(g), w = x ? y.count(x) : y.count();
|
|
10895
|
+
w.onsuccess = Q(($) => p($.target.result)), w.onerror = Me(m);
|
|
10896
10896
|
});
|
|
10897
10897
|
} };
|
|
10898
10898
|
}(a)), s = {};
|
|
@@ -10942,57 +10942,57 @@ function I6(r, e, t, n) {
|
|
|
10942
10942
|
st(() => {
|
|
10943
10943
|
U.trans = o, U.transless = s, e === 0 ? (te(i).forEach((a) => {
|
|
10944
10944
|
ii(t, a, i[a].primKey, i[a].indexes);
|
|
10945
|
-
}), Qi(r, t),
|
|
10945
|
+
}), Qi(r, t), L.follow(() => r.on.populate.fire(o)).catch(u)) : function({ _novip: a }, l, d, c) {
|
|
10946
10946
|
const f = [], h = a._versions;
|
|
10947
10947
|
let g = a._dbSchema = to(a, a.idbdb, c), p = !1;
|
|
10948
10948
|
const m = h.filter((y) => y._cfg.version >= l);
|
|
10949
10949
|
function b() {
|
|
10950
|
-
return f.length ?
|
|
10950
|
+
return f.length ? L.resolve(f.shift()(d.idbtrans)).then(b) : L.resolve();
|
|
10951
10951
|
}
|
|
10952
10952
|
return m.forEach((y) => {
|
|
10953
10953
|
f.push(() => {
|
|
10954
|
-
const
|
|
10955
|
-
ro(a,
|
|
10956
|
-
const
|
|
10957
|
-
|
|
10958
|
-
ii(c,
|
|
10959
|
-
}),
|
|
10960
|
-
if (
|
|
10954
|
+
const x = g, w = y._cfg.dbschema;
|
|
10955
|
+
ro(a, x, c), ro(a, w, c), g = a._dbSchema = w;
|
|
10956
|
+
const $ = Zm(x, w);
|
|
10957
|
+
$.add.forEach((B) => {
|
|
10958
|
+
ii(c, B[0], B[1].primKey, B[1].indexes);
|
|
10959
|
+
}), $.change.forEach((B) => {
|
|
10960
|
+
if (B.recreate)
|
|
10961
10961
|
throw new j.Upgrade("Not yet support for changing primary key");
|
|
10962
10962
|
{
|
|
10963
|
-
const
|
|
10964
|
-
|
|
10965
|
-
|
|
10966
|
-
}),
|
|
10963
|
+
const I = c.objectStore(B.name);
|
|
10964
|
+
B.add.forEach((_) => eo(I, _)), B.change.forEach((_) => {
|
|
10965
|
+
I.deleteIndex(_.name), eo(I, _);
|
|
10966
|
+
}), B.del.forEach((_) => I.deleteIndex(_));
|
|
10967
10967
|
}
|
|
10968
10968
|
});
|
|
10969
10969
|
const T = y._cfg.contentUpgrade;
|
|
10970
10970
|
if (T && y._cfg.version > l) {
|
|
10971
10971
|
Qi(a, c), d._memoizedTables = {}, p = !0;
|
|
10972
|
-
let
|
|
10973
|
-
|
|
10974
|
-
|
|
10975
|
-
}), Xi(a, [a.Transaction.prototype]), Bn(a, [a.Transaction.prototype], te(
|
|
10976
|
-
const
|
|
10972
|
+
let B = _m(w);
|
|
10973
|
+
$.del.forEach((v) => {
|
|
10974
|
+
B[v] = x[v];
|
|
10975
|
+
}), Xi(a, [a.Transaction.prototype]), Bn(a, [a.Transaction.prototype], te(B), B), d.schema = B;
|
|
10976
|
+
const I = Mo(T);
|
|
10977
10977
|
let _;
|
|
10978
|
-
|
|
10979
|
-
const
|
|
10980
|
-
if (_ = T(d), _ &&
|
|
10978
|
+
I && qt();
|
|
10979
|
+
const M = L.follow(() => {
|
|
10980
|
+
if (_ = T(d), _ && I) {
|
|
10981
10981
|
var v = Je.bind(null, null);
|
|
10982
10982
|
_.then(v, v);
|
|
10983
10983
|
}
|
|
10984
10984
|
});
|
|
10985
|
-
return _ && typeof _.then == "function" ?
|
|
10985
|
+
return _ && typeof _.then == "function" ? L.resolve(_) : M.then(() => _);
|
|
10986
10986
|
}
|
|
10987
|
-
}), f.push((
|
|
10988
|
-
(!p || !T6) && function(
|
|
10989
|
-
[].slice.call(
|
|
10990
|
-
}(y._cfg.dbschema,
|
|
10987
|
+
}), f.push((x) => {
|
|
10988
|
+
(!p || !T6) && function(w, $) {
|
|
10989
|
+
[].slice.call($.db.objectStoreNames).forEach((T) => w[T] == null && $.db.deleteObjectStore(T));
|
|
10990
|
+
}(y._cfg.dbschema, x), Xi(a, [a.Transaction.prototype]), Bn(a, [a.Transaction.prototype], a._storeNames, a._dbSchema), d.schema = a._dbSchema;
|
|
10991
10991
|
});
|
|
10992
10992
|
}), b().then(() => {
|
|
10993
|
-
var y,
|
|
10994
|
-
|
|
10995
|
-
|
|
10993
|
+
var y, x;
|
|
10994
|
+
x = c, te(y = g).forEach((w) => {
|
|
10995
|
+
x.db.objectStoreNames.contains(w) || ii(x, w, y[w].primKey, y[w].indexes);
|
|
10996
10996
|
});
|
|
10997
10997
|
});
|
|
10998
10998
|
}(r, e, o, t).catch(u);
|
|
@@ -11128,7 +11128,7 @@ function F6(r) {
|
|
|
11128
11128
|
throw new j.DatabaseClosed("db.open() was cancelled");
|
|
11129
11129
|
}
|
|
11130
11130
|
let o = e.dbReadyResolve, u = null, s = !1;
|
|
11131
|
-
return
|
|
11131
|
+
return L.race([n, (typeof navigator > "u" ? L.resolve() : N6()).then(() => new L((a, l) => {
|
|
11132
11132
|
if (i(), !t)
|
|
11133
11133
|
throw new j.MissingAPI();
|
|
11134
11134
|
const d = r.name, c = e.autoSchema ? t.open(d) : t.open(d, Math.round(10 * r.verno));
|
|
@@ -11154,11 +11154,11 @@ function F6(r) {
|
|
|
11154
11154
|
const p = f.transaction((g = h).length === 1 ? g[0] : g, "readonly");
|
|
11155
11155
|
e.autoSchema ? function({ _novip: m }, b, y) {
|
|
11156
11156
|
m.verno = b.version / 10;
|
|
11157
|
-
const
|
|
11158
|
-
m._storeNames = kn(b.objectStoreNames, 0), Bn(m, [m._allTables], te(
|
|
11157
|
+
const x = m._dbSchema = to(0, b, y);
|
|
11158
|
+
m._storeNames = kn(b.objectStoreNames, 0), Bn(m, [m._allTables], te(x), x);
|
|
11159
11159
|
}(r, f, p) : (ro(r, r._dbSchema, p), function(m, b) {
|
|
11160
11160
|
const y = Zm(to(0, m.idbdb, b), m._dbSchema);
|
|
11161
|
-
return !(y.add.length || y.change.some((
|
|
11161
|
+
return !(y.add.length || y.change.some((x) => x.add.length || x.change.length));
|
|
11162
11162
|
}(r, p) || console.warn("Dexie SchemaDiff: Schema was extended without increasing the number passed to db.version(). Some queries may fail.")), Qi(r, p);
|
|
11163
11163
|
} catch {
|
|
11164
11164
|
}
|
|
@@ -11171,10 +11171,10 @@ function F6(r) {
|
|
|
11171
11171
|
!jo(p) && b !== qn && Uo(p, m).put({ name: b }).catch(G);
|
|
11172
11172
|
}(r._deps, d), a();
|
|
11173
11173
|
}, l);
|
|
11174
|
-
}))]).then(() => (i(), e.onReadyBeingFired = [],
|
|
11174
|
+
}))]).then(() => (i(), e.onReadyBeingFired = [], L.resolve(no(() => r.on.ready.fire(r.vip))).then(function a() {
|
|
11175
11175
|
if (e.onReadyBeingFired.length > 0) {
|
|
11176
11176
|
let l = e.onReadyBeingFired.reduce(Io, G);
|
|
11177
|
-
return e.onReadyBeingFired = [],
|
|
11177
|
+
return e.onReadyBeingFired = [], L.resolve(no(() => l(r.vip))).then(a);
|
|
11178
11178
|
}
|
|
11179
11179
|
}))).finally(() => {
|
|
11180
11180
|
e.onReadyBeingFired = null, e.isBeingOpened = !1;
|
|
@@ -11208,7 +11208,7 @@ function U6(r, e, t) {
|
|
|
11208
11208
|
return t = i.pop(), [r, Cm(i), t];
|
|
11209
11209
|
}
|
|
11210
11210
|
function Qm(r, e, t, n, i) {
|
|
11211
|
-
return
|
|
11211
|
+
return L.resolve().then(() => {
|
|
11212
11212
|
const o = U.transless || U, u = r._createTransaction(e, t, r._dbSchema, n), s = { trans: u, transless: o };
|
|
11213
11213
|
if (n)
|
|
11214
11214
|
u.idbtrans = n.idbtrans;
|
|
@@ -11221,7 +11221,7 @@ function Qm(r, e, t, n, i) {
|
|
|
11221
11221
|
const a = Mo(i);
|
|
11222
11222
|
let l;
|
|
11223
11223
|
a && qt();
|
|
11224
|
-
const d =
|
|
11224
|
+
const d = L.follow(() => {
|
|
11225
11225
|
if (l = i.call(u, u), l)
|
|
11226
11226
|
if (a) {
|
|
11227
11227
|
var c = Je.bind(null, null);
|
|
@@ -11229,7 +11229,7 @@ function Qm(r, e, t, n, i) {
|
|
|
11229
11229
|
} else
|
|
11230
11230
|
typeof l.next == "function" && typeof l.throw == "function" && (l = io(l));
|
|
11231
11231
|
}, s);
|
|
11232
|
-
return (l && typeof l.then == "function" ?
|
|
11232
|
+
return (l && typeof l.then == "function" ? L.resolve(l).then((c) => u.active ? c : ne(new j.PrematureCommit("Transaction committed too early. See http://bit.ly/2kdckMn"))) : d.then(() => l)).then((c) => (n && u._resolve(), u._completion.then(() => c))).catch((c) => (u._reject(c), ne(c)));
|
|
11233
11233
|
});
|
|
11234
11234
|
}
|
|
11235
11235
|
function Kr(r, e, t) {
|
|
@@ -11322,29 +11322,29 @@ const q6 = { stack: "dbcore", name: "HooksMiddleware", level: 2, create: (r) =>
|
|
|
11322
11322
|
return p.type === "add" ? Promise.resolve([]) : g.getMany({ trans: p.trans, keys: m, cache: "immutable" });
|
|
11323
11323
|
}(t, c, h).then((g) => {
|
|
11324
11324
|
const p = h.map((m, b) => {
|
|
11325
|
-
const y = g[b],
|
|
11325
|
+
const y = g[b], x = { onerror: null, onsuccess: null };
|
|
11326
11326
|
if (c.type === "delete")
|
|
11327
|
-
u.fire.call(
|
|
11327
|
+
u.fire.call(x, m, y, f);
|
|
11328
11328
|
else if (c.type === "add" || y === void 0) {
|
|
11329
|
-
const
|
|
11330
|
-
m == null &&
|
|
11329
|
+
const w = s.fire.call(x, m, c.values[b], f);
|
|
11330
|
+
m == null && w != null && (m = w, c.keys[b] = m, n.outbound || Be(c.values[b], n.keyPath, m));
|
|
11331
11331
|
} else {
|
|
11332
|
-
const
|
|
11333
|
-
if (
|
|
11332
|
+
const w = qo(y, c.values[b]), $ = a.fire.call(x, w, m, y, f);
|
|
11333
|
+
if ($) {
|
|
11334
11334
|
const T = c.values[b];
|
|
11335
|
-
Object.keys(
|
|
11336
|
-
xe(T,
|
|
11335
|
+
Object.keys($).forEach((B) => {
|
|
11336
|
+
xe(T, B) ? T[B] = $[B] : Be(T, B, $[B]);
|
|
11337
11337
|
});
|
|
11338
11338
|
}
|
|
11339
11339
|
}
|
|
11340
|
-
return
|
|
11340
|
+
return x;
|
|
11341
11341
|
});
|
|
11342
|
-
return t.mutate(c).then(({ failures: m, results: b, numFailures: y, lastResult:
|
|
11343
|
-
for (let
|
|
11344
|
-
const
|
|
11345
|
-
|
|
11342
|
+
return t.mutate(c).then(({ failures: m, results: b, numFailures: y, lastResult: x }) => {
|
|
11343
|
+
for (let w = 0; w < h.length; ++w) {
|
|
11344
|
+
const $ = b ? b[w] : h[w], T = p[w];
|
|
11345
|
+
$ == null ? T.onerror && T.onerror(m[w]) : T.onsuccess && T.onsuccess(c.type === "put" && g[w] ? c.values[w] : $);
|
|
11346
11346
|
}
|
|
11347
|
-
return { failures: m, results: b, numFailures: y, lastResult:
|
|
11347
|
+
return { failures: m, results: b, numFailures: y, lastResult: x };
|
|
11348
11348
|
}).catch((m) => (p.forEach((b) => b.onerror && b.onerror(m)), Promise.reject(m)));
|
|
11349
11349
|
});
|
|
11350
11350
|
}
|
|
@@ -11371,7 +11371,7 @@ const Y6 = { stack: "dbcore", level: -1, create: (r) => ({ table: (e) => {
|
|
|
11371
11371
|
if (!n.cache)
|
|
11372
11372
|
return t.getMany(n);
|
|
11373
11373
|
const i = Xm(n.keys, n.trans._cache, n.cache === "clone");
|
|
11374
|
-
return i ?
|
|
11374
|
+
return i ? L.resolve(i) : t.getMany(n).then((o) => (n.trans._cache = { keys: n.keys, values: n.cache === "clone" ? Tr(o) : o }, o));
|
|
11375
11375
|
}, mutate: (n) => (n.type !== "add" && (n.trans._cache = null), t.mutate(n)) };
|
|
11376
11376
|
} }) };
|
|
11377
11377
|
function Yo(r) {
|
|
@@ -11474,34 +11474,34 @@ const z6 = { stack: "dbcore", level: 0, create: (r) => {
|
|
|
11474
11474
|
return { ...r, table: (n) => {
|
|
11475
11475
|
const i = r.table(n), { schema: o } = i, { primaryKey: u } = o, { extractKey: s, outbound: a } = u, l = { ...i, mutate: (f) => {
|
|
11476
11476
|
const h = f.trans, g = h.mutatedParts || (h.mutatedParts = {}), p = (T) => {
|
|
11477
|
-
const
|
|
11478
|
-
return g[
|
|
11477
|
+
const B = `idb://${e}/${n}/${T}`;
|
|
11478
|
+
return g[B] || (g[B] = new He());
|
|
11479
11479
|
}, m = p(""), b = p(":dels"), { type: y } = f;
|
|
11480
|
-
let [
|
|
11481
|
-
const
|
|
11480
|
+
let [x, w] = f.type === "deleteRange" ? [f.range] : f.type === "delete" ? [f.keys] : f.values.length < 50 ? [[], f.values] : [];
|
|
11481
|
+
const $ = f.trans._cache;
|
|
11482
11482
|
return i.mutate(f).then((T) => {
|
|
11483
|
-
if (ce(
|
|
11484
|
-
y !== "delete" && (
|
|
11485
|
-
const
|
|
11486
|
-
|
|
11487
|
-
function
|
|
11488
|
-
const
|
|
11483
|
+
if (ce(x)) {
|
|
11484
|
+
y !== "delete" && (x = T.results), m.addKeys(x);
|
|
11485
|
+
const B = Xm(x, $);
|
|
11486
|
+
B || y === "add" || b.addKeys(x), (B || w) && function(I, _, M, v) {
|
|
11487
|
+
function C(E) {
|
|
11488
|
+
const k = I(E.name || "");
|
|
11489
11489
|
function S(R) {
|
|
11490
11490
|
return R != null ? E.extractKey(R) : null;
|
|
11491
11491
|
}
|
|
11492
|
-
const P = (R) => E.multiEntry && ce(R) ? R.forEach((O) =>
|
|
11493
|
-
(
|
|
11494
|
-
const N =
|
|
11492
|
+
const P = (R) => E.multiEntry && ce(R) ? R.forEach((O) => k.addKey(O)) : k.addKey(R);
|
|
11493
|
+
(M || v).forEach((R, O) => {
|
|
11494
|
+
const N = M && S(M[O]), Y = v && S(v[O]);
|
|
11495
11495
|
he(N, Y) !== 0 && (N != null && P(N), Y != null && P(Y));
|
|
11496
11496
|
});
|
|
11497
11497
|
}
|
|
11498
|
-
_.indexes.forEach(
|
|
11499
|
-
}(p, o,
|
|
11500
|
-
} else if (
|
|
11501
|
-
const
|
|
11502
|
-
b.add(
|
|
11498
|
+
_.indexes.forEach(C);
|
|
11499
|
+
}(p, o, B, w);
|
|
11500
|
+
} else if (x) {
|
|
11501
|
+
const B = { from: x.lower, to: x.upper };
|
|
11502
|
+
b.add(B), m.add(B);
|
|
11503
11503
|
} else
|
|
11504
|
-
m.add(t), b.add(t), o.indexes.forEach((
|
|
11504
|
+
m.add(t), b.add(t), o.indexes.forEach((B) => p(B.name).add(t));
|
|
11505
11505
|
return T;
|
|
11506
11506
|
});
|
|
11507
11507
|
} }, d = ({ query: { index: f, range: h } }) => {
|
|
@@ -11512,27 +11512,27 @@ const z6 = { stack: "dbcore", level: 0, create: (r) => {
|
|
|
11512
11512
|
l[f] = function(h) {
|
|
11513
11513
|
const { subscr: g } = U;
|
|
11514
11514
|
if (g) {
|
|
11515
|
-
const p = (
|
|
11516
|
-
const
|
|
11517
|
-
return g[
|
|
11518
|
-
}, m = p(""), b = p(":dels"), [y,
|
|
11519
|
-
if (p(y.name || "").add(
|
|
11515
|
+
const p = (w) => {
|
|
11516
|
+
const $ = `idb://${e}/${n}/${w}`;
|
|
11517
|
+
return g[$] || (g[$] = new He());
|
|
11518
|
+
}, m = p(""), b = p(":dels"), [y, x] = c[f](h);
|
|
11519
|
+
if (p(y.name || "").add(x), !y.isPrimaryKey) {
|
|
11520
11520
|
if (f !== "count") {
|
|
11521
|
-
const
|
|
11522
|
-
return i[f].apply(this, arguments).then((
|
|
11521
|
+
const w = f === "query" && a && h.values && i.query({ ...h, values: !1 });
|
|
11522
|
+
return i[f].apply(this, arguments).then(($) => {
|
|
11523
11523
|
if (f === "query") {
|
|
11524
11524
|
if (a && h.values)
|
|
11525
|
-
return
|
|
11526
|
-
const T = h.values ?
|
|
11525
|
+
return w.then(({ result: B }) => (m.addKeys(B), $));
|
|
11526
|
+
const T = h.values ? $.result.map(s) : $.result;
|
|
11527
11527
|
h.values ? m.addKeys(T) : b.addKeys(T);
|
|
11528
11528
|
} else if (f === "openCursor") {
|
|
11529
|
-
const T = B
|
|
11529
|
+
const T = $, B = h.values;
|
|
11530
11530
|
return T && Object.create(T, { key: { get: () => (b.addKey(T.primaryKey), T.key) }, primaryKey: { get() {
|
|
11531
|
-
const
|
|
11532
|
-
return b.addKey(
|
|
11533
|
-
} }, value: { get: () => (
|
|
11531
|
+
const I = T.primaryKey;
|
|
11532
|
+
return b.addKey(I), I;
|
|
11533
|
+
} }, value: { get: () => (B && m.addKey(T.primaryKey), T.value) } });
|
|
11534
11534
|
}
|
|
11535
|
-
return
|
|
11535
|
+
return $;
|
|
11536
11536
|
});
|
|
11537
11537
|
}
|
|
11538
11538
|
b.add(t);
|
|
@@ -11552,15 +11552,15 @@ class pt {
|
|
|
11552
11552
|
this._dbSchema = {}, this._versions = [], this._storeNames = [], this._allTables = {}, this.idbdb = null, this._novip = this;
|
|
11553
11553
|
const o = { dbOpenError: null, isBeingOpened: !1, onReadyBeingFired: null, openComplete: !1, dbReadyResolve: G, dbReadyPromise: null, cancelOpen: G, openCanceller: null, autoSchema: !0, PR1398_maxLoop: 3 };
|
|
11554
11554
|
var u;
|
|
11555
|
-
o.dbReadyPromise = new
|
|
11555
|
+
o.dbReadyPromise = new L((s) => {
|
|
11556
11556
|
o.dbReadyResolve = s;
|
|
11557
|
-
}), o.openCanceller = new
|
|
11557
|
+
}), o.openCanceller = new L((s, a) => {
|
|
11558
11558
|
o.cancelOpen = a;
|
|
11559
11559
|
}), this._state = o, this.name = e, this.on = ir(this, "populate", "blocked", "versionchange", "close", { ready: [Io, G] }), this.on.ready.subscribe = Tm(this.on.ready.subscribe, (s) => (a, l) => {
|
|
11560
11560
|
pt.vip(() => {
|
|
11561
11561
|
const d = this._state;
|
|
11562
11562
|
if (d.openComplete)
|
|
11563
|
-
d.dbOpenError ||
|
|
11563
|
+
d.dbOpenError || L.resolve().then(a), l && s(a);
|
|
11564
11564
|
else if (d.onReadyBeingFired)
|
|
11565
11565
|
d.onReadyBeingFired.push(a), l && s(a);
|
|
11566
11566
|
else {
|
|
@@ -11588,7 +11588,7 @@ class pt {
|
|
|
11588
11588
|
});
|
|
11589
11589
|
}(this), this.Transaction = function(s) {
|
|
11590
11590
|
return Vt(D6.prototype, function(a, l, d, c, f) {
|
|
11591
|
-
this.db = s, this.mode = a, this.storeNames = l, this.schema = d, this.chromeTransactionDurability = c, this.idbtrans = null, this.on = ir(this, "complete", "error", "abort"), this.parent = f || null, this.active = !0, this._reculock = 0, this._blockedFuncs = [], this._resolve = null, this._reject = null, this._waitingFor = null, this._waitingQueue = null, this._spinCount = 0, this._completion = new
|
|
11591
|
+
this.db = s, this.mode = a, this.storeNames = l, this.schema = d, this.chromeTransactionDurability = c, this.idbtrans = null, this.on = ir(this, "complete", "error", "abort"), this.parent = f || null, this.active = !0, this._reculock = 0, this._blockedFuncs = [], this._resolve = null, this._reject = null, this._waitingFor = null, this._waitingQueue = null, this._spinCount = 0, this._completion = new L((h, g) => {
|
|
11592
11592
|
this._resolve = h, this._reject = g;
|
|
11593
11593
|
}), this._completion.then(() => {
|
|
11594
11594
|
this.active = !1, this.on.complete.fire();
|
|
@@ -11628,7 +11628,7 @@ class pt {
|
|
|
11628
11628
|
return n || (n = new this.Version(e), t.push(n), t.sort(P6), n.stores({}), this._state.autoSchema = !1, n);
|
|
11629
11629
|
}
|
|
11630
11630
|
_whenReady(e) {
|
|
11631
|
-
return this.idbdb && (this._state.openComplete || U.letThrough || this._vip) ? e() : new
|
|
11631
|
+
return this.idbdb && (this._state.openComplete || U.letThrough || this._vip) ? e() : new L((t, n) => {
|
|
11632
11632
|
if (this._state.openComplete)
|
|
11633
11633
|
return n(new j.DatabaseClosed(this._state.dbOpenError));
|
|
11634
11634
|
if (!this._state.isBeingOpened) {
|
|
@@ -11659,9 +11659,9 @@ class pt {
|
|
|
11659
11659
|
}
|
|
11660
11660
|
this._novip.idbdb = null;
|
|
11661
11661
|
}
|
|
11662
|
-
e.dbReadyPromise = new
|
|
11662
|
+
e.dbReadyPromise = new L((n) => {
|
|
11663
11663
|
e.dbReadyResolve = n;
|
|
11664
|
-
}), e.openCanceller = new
|
|
11664
|
+
}), e.openCanceller = new L((n, i) => {
|
|
11665
11665
|
e.cancelOpen = i;
|
|
11666
11666
|
});
|
|
11667
11667
|
}
|
|
@@ -11672,7 +11672,7 @@ class pt {
|
|
|
11672
11672
|
}
|
|
11673
11673
|
delete() {
|
|
11674
11674
|
const e = arguments.length > 0, t = this._state;
|
|
11675
|
-
return new
|
|
11675
|
+
return new L((n, i) => {
|
|
11676
11676
|
const o = () => {
|
|
11677
11677
|
this.close();
|
|
11678
11678
|
var u = this._deps.indexedDB.deleteDatabase(this.name);
|
|
@@ -11797,8 +11797,8 @@ function G6(r) {
|
|
|
11797
11797
|
s = {};
|
|
11798
11798
|
const p = {}, m = function(b) {
|
|
11799
11799
|
o && qt();
|
|
11800
|
-
const y = () => st(r, { subscr: b, trans: null }),
|
|
11801
|
-
return o &&
|
|
11800
|
+
const y = () => st(r, { subscr: b, trans: null }), x = U.trans ? Yt(U.transless, y) : y();
|
|
11801
|
+
return o && x.then(Je, Je), x;
|
|
11802
11802
|
}(p);
|
|
11803
11803
|
c || (lt(vr, h), c = !0), d = !0, Promise.resolve(m).then((b) => {
|
|
11804
11804
|
t = !0, e = b, d = !1, u || (f() ? g() : (s = {}, a = p, i.next && i.next(b)));
|
|
@@ -11839,7 +11839,7 @@ Nt(ct, { ...Vr, delete: (r) => new ct(r, { addons: [] }).delete(), exists: (r) =
|
|
|
11839
11839
|
return function() {
|
|
11840
11840
|
try {
|
|
11841
11841
|
var e = io(r.apply(this, arguments));
|
|
11842
|
-
return e && typeof e.then == "function" ? e :
|
|
11842
|
+
return e && typeof e.then == "function" ? e : L.resolve(e);
|
|
11843
11843
|
} catch (t) {
|
|
11844
11844
|
return ne(t);
|
|
11845
11845
|
}
|
|
@@ -11847,14 +11847,14 @@ Nt(ct, { ...Vr, delete: (r) => new ct(r, { addons: [] }).delete(), exists: (r) =
|
|
|
11847
11847
|
}, spawn: function(r, e, t) {
|
|
11848
11848
|
try {
|
|
11849
11849
|
var n = io(r.apply(t, e || []));
|
|
11850
|
-
return n && typeof n.then == "function" ? n :
|
|
11850
|
+
return n && typeof n.then == "function" ? n : L.resolve(n);
|
|
11851
11851
|
} catch (i) {
|
|
11852
11852
|
return ne(i);
|
|
11853
11853
|
}
|
|
11854
11854
|
}, currentTransaction: { get: () => U.trans || null }, waitFor: function(r, e) {
|
|
11855
|
-
const t =
|
|
11855
|
+
const t = L.resolve(typeof r == "function" ? ct.ignoreTransaction(r) : r).timeout(e || 6e4);
|
|
11856
11856
|
return U.trans ? U.trans.waitFor(t) : t;
|
|
11857
|
-
}, Promise:
|
|
11857
|
+
}, Promise: L, debug: { get: () => Fe, set: (r) => {
|
|
11858
11858
|
Rm(r, r === "dexie" ? () => !0 : zm);
|
|
11859
11859
|
} }, derive: Dt, extend: ge, props: Nt, override: Tm, Events: ir, on: lt, liveQuery: G6, extendObservabilitySet: eb, getByKeyPath: Ve, setByKeyPath: Be, delByKeyPath: function(r, e) {
|
|
11860
11860
|
typeof e == "string" ? Be(r, e, void 0) : "length" in e && [].map.call(e, function(t) {
|
|
@@ -11893,7 +11893,7 @@ if (typeof BroadcastChannel < "u") {
|
|
|
11893
11893
|
e && e.type === nt && tn(e.changedParts);
|
|
11894
11894
|
});
|
|
11895
11895
|
}
|
|
11896
|
-
|
|
11896
|
+
L.rejectionMapper = function(r, e) {
|
|
11897
11897
|
if (!r || r instanceof Mt || r instanceof TypeError || r instanceof SyntaxError || !r.name || !os[r.name])
|
|
11898
11898
|
return r;
|
|
11899
11899
|
var t = new os[r.name](e || r.message, r);
|
|
@@ -12208,8 +12208,8 @@ const Q6 = (r, e, t) => {
|
|
|
12208
12208
|
set: a,
|
|
12209
12209
|
on: d,
|
|
12210
12210
|
onChange: (g, p) => {
|
|
12211
|
-
const m = d("set", (y,
|
|
12212
|
-
y === g && p(
|
|
12211
|
+
const m = d("set", (y, x) => {
|
|
12212
|
+
y === g && p(x);
|
|
12213
12213
|
}), b = d("reset", () => p(oi(r)[g]));
|
|
12214
12214
|
return () => {
|
|
12215
12215
|
m(), b();
|
|
@@ -12446,7 +12446,7 @@ class ow {
|
|
|
12446
12446
|
return this.schedulerStore.set("organizerConfirmationBookingId", ""), this.schedulerStore.set("confirmedEventInfo", void 0), e;
|
|
12447
12447
|
}
|
|
12448
12448
|
async bookTimeslot(e) {
|
|
12449
|
-
var
|
|
12449
|
+
var x;
|
|
12450
12450
|
this.schedulerStore.set("isLoading", !0);
|
|
12451
12451
|
const { selectedTimeslot: t, selectedTimezone: n, bookingInfo: i, selectedLanguage: o } = this.schedulerStore.state;
|
|
12452
12452
|
if (!e && !i)
|
|
@@ -12454,40 +12454,44 @@ class ow {
|
|
|
12454
12454
|
const u = (e == null ? void 0 : e.timeslot) || t;
|
|
12455
12455
|
if (!u)
|
|
12456
12456
|
return { error: this.errors.component(re.t("createBookingErrorTitle")).no_timeslot_selected() };
|
|
12457
|
-
const s = e && (e != null && e.timezone) ? e == null ? void 0 : e.timezone : n;
|
|
12457
|
+
const s = e && (e != null && e.timezone) ? e == null ? void 0 : e.timezone : n, a = o || "en-US";
|
|
12458
12458
|
if (!s)
|
|
12459
12459
|
return { error: this.errors.component(re.t("createBookingErrorTitle")).no_timezone_selected() };
|
|
12460
|
-
const
|
|
12461
|
-
let
|
|
12462
|
-
if (
|
|
12463
|
-
const
|
|
12464
|
-
for (let
|
|
12465
|
-
if (
|
|
12466
|
-
|
|
12460
|
+
const l = this.schedulerStore.get("availabilityOrderEmails");
|
|
12461
|
+
let d = "";
|
|
12462
|
+
if (l.length > 0) {
|
|
12463
|
+
const w = (u == null ? void 0 : u.emails) || [];
|
|
12464
|
+
for (let $ = 0; $ < l.length; $++)
|
|
12465
|
+
if (w.includes(l[$])) {
|
|
12466
|
+
d = l[$];
|
|
12467
12467
|
break;
|
|
12468
12468
|
}
|
|
12469
12469
|
}
|
|
12470
|
-
const
|
|
12471
|
-
|
|
12472
|
-
|
|
12473
|
-
|
|
12474
|
-
|
|
12470
|
+
const c = {};
|
|
12471
|
+
Object.entries((i == null ? void 0 : i.additionalFields) || {}).forEach(([w, $]) => {
|
|
12472
|
+
c[w] = $.value;
|
|
12473
|
+
});
|
|
12474
|
+
const f = 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 : c, p = this.getHeaders(), b = `/v3/scheduling/bookings${!this.sessionId && this.configId ? `?configuration_id=${this.configId}` : !this.sessionId && this.slug && this.clientId ? `?slug=${this.slug}&client_id=${this.clientId}` : ""}`, y = await this.makeAPIRequest(decodeURIComponent(b), "POST", JSON.stringify({
|
|
12475
|
+
participants: d ? [{ email: d }] : void 0,
|
|
12476
|
+
additional_fields: g,
|
|
12477
|
+
additional_guests: h,
|
|
12478
|
+
guest: { ...f },
|
|
12475
12479
|
start_time: u.start_time.getTime() / 1e3,
|
|
12476
12480
|
end_time: u.end_time.getTime() / 1e3,
|
|
12477
12481
|
timezone: s,
|
|
12478
|
-
email_language: this.getTwoLetterLanguageCode(
|
|
12479
|
-
}),
|
|
12480
|
-
if ("error" in
|
|
12482
|
+
email_language: this.getTwoLetterLanguageCode(a)
|
|
12483
|
+
}), p);
|
|
12484
|
+
if ("error" in y) {
|
|
12481
12485
|
this.schedulerStore.set("isLoading", !1);
|
|
12482
|
-
const
|
|
12483
|
-
let
|
|
12484
|
-
if (
|
|
12485
|
-
const
|
|
12486
|
-
|
|
12486
|
+
const w = (x = y.error) == null ? void 0 : x.type;
|
|
12487
|
+
let $ = y.error;
|
|
12488
|
+
if (w && w in this.errors.api("Create Booking")) {
|
|
12489
|
+
const T = this.getErrorMessage($);
|
|
12490
|
+
$ = this.errors.api("Create Booking")[w](T);
|
|
12487
12491
|
}
|
|
12488
|
-
return { error:
|
|
12492
|
+
return { error: $ };
|
|
12489
12493
|
}
|
|
12490
|
-
return "data" in
|
|
12494
|
+
return "data" in y && this.schedulerStore.set("eventInfo", y == null ? void 0 : y.data), this.schedulerStore.set("isLoading", !1), y;
|
|
12491
12495
|
}
|
|
12492
12496
|
async getUISettings() {
|
|
12493
12497
|
var o;
|
|
@@ -12548,11 +12552,11 @@ class ow {
|
|
|
12548
12552
|
return { error: b };
|
|
12549
12553
|
}
|
|
12550
12554
|
if ("data" in c) {
|
|
12551
|
-
const b = (((g = (h = c.data) == null ? void 0 : h.time_slots) == null ? void 0 : g.map((
|
|
12552
|
-
...
|
|
12553
|
-
start_time: new Date(
|
|
12554
|
-
end_time: new Date(
|
|
12555
|
-
}))) || []).filter((
|
|
12555
|
+
const b = (((g = (h = c.data) == null ? void 0 : h.time_slots) == null ? void 0 : g.map((x) => ({
|
|
12556
|
+
...x,
|
|
12557
|
+
start_time: new Date(x.start_time * 1e3),
|
|
12558
|
+
end_time: new Date(x.end_time * 1e3)
|
|
12559
|
+
}))) || []).filter((x) => x.start_time.getTime() > o);
|
|
12556
12560
|
this.schedulerStore.set("availability", b);
|
|
12557
12561
|
const y = ((p = c.data) == null ? void 0 : p.order) || [];
|
|
12558
12562
|
this.schedulerStore.set("availabilityOrderEmails", y);
|
|
@@ -12582,7 +12586,7 @@ class ow {
|
|
|
12582
12586
|
}), this.schedulerStore.set("rescheduleBookingId", ""), this.schedulerStore.set("isLoading", !1), u;
|
|
12583
12587
|
}
|
|
12584
12588
|
async rescheduleBooking(e, t) {
|
|
12585
|
-
var
|
|
12589
|
+
var M;
|
|
12586
12590
|
if (this.schedulerStore.set("isLoading", !0), !e)
|
|
12587
12591
|
return { error: this.errors.component(re.t("rescheduleBookingErrorTitle")).no_booking_id() };
|
|
12588
12592
|
const n = this.errors.api(re.t("rescheduleBookingErrorTitle")), i = this.errors.component(re.t("rescheduleBookingErrorTitle")), { bookingInfo: o, selectedTimeslot: u, selectedTimezone: s, selectedLanguage: a } = this.schedulerStore.state, { startTime: l, endTime: d, timezone: c } = t, f = l || (u == null ? void 0 : u.start_time);
|
|
@@ -12594,48 +12598,52 @@ class ow {
|
|
|
12594
12598
|
const g = this.schedulerStore.get("availabilityOrderEmails");
|
|
12595
12599
|
let p = "";
|
|
12596
12600
|
if (g.length > 0) {
|
|
12597
|
-
const
|
|
12598
|
-
for (let
|
|
12599
|
-
if (
|
|
12600
|
-
p = g[
|
|
12601
|
+
const v = (u == null ? void 0 : u.emails) || [];
|
|
12602
|
+
for (let C = 0; C < g.length; C++)
|
|
12603
|
+
if (v.includes(g[C])) {
|
|
12604
|
+
p = g[C];
|
|
12601
12605
|
break;
|
|
12602
12606
|
}
|
|
12603
12607
|
}
|
|
12604
12608
|
const m = c || s;
|
|
12605
12609
|
if (!m)
|
|
12606
12610
|
return { error: i.invalid_timezone('Please pass "timezone" in data or set "selectedTimezone" in the defaultSchedulerState.') };
|
|
12607
|
-
const b =
|
|
12611
|
+
const b = {};
|
|
12612
|
+
Object.entries((o == null ? void 0 : o.additionalFields) || {}).forEach(([v, C]) => {
|
|
12613
|
+
b[v] = C.value;
|
|
12614
|
+
});
|
|
12615
|
+
const y = t ? t == null ? void 0 : t.primaryParticipant : o == null ? void 0 : o.primaryParticipant, x = t ? (t == null ? void 0 : t.guests) || [] : (o == null ? void 0 : o.guests) || [], w = t ? t == null ? void 0 : t.additionalFields : b, $ = !this.sessionId && this.configId ? `?configuration_id=${this.configId}` : !this.sessionId && this.slug && this.clientId ? `?slug=${this.slug}&client_id=${this.clientId}` : "", T = `/v3/scheduling/bookings/${e}${$}`, B = this.getHeaders(), I = await this.makeAPIRequest(decodeURIComponent(T), "PATCH", JSON.stringify({
|
|
12608
12616
|
start_time: f.getTime() / 1e3,
|
|
12609
12617
|
end_time: h.getTime() / 1e3,
|
|
12610
12618
|
timezone: m,
|
|
12611
12619
|
additional_fields: w,
|
|
12612
|
-
guest: { ...
|
|
12613
|
-
additional_guests:
|
|
12620
|
+
guest: { ...y },
|
|
12621
|
+
additional_guests: x,
|
|
12614
12622
|
participants: p ? [{ email: p }] : void 0,
|
|
12615
12623
|
email_language: this.getTwoLetterLanguageCode(a)
|
|
12616
|
-
}),
|
|
12617
|
-
if ("error" in
|
|
12624
|
+
}), B);
|
|
12625
|
+
if ("error" in I) {
|
|
12618
12626
|
this.schedulerStore.set("isLoading", !1);
|
|
12619
|
-
const
|
|
12620
|
-
let
|
|
12621
|
-
if (
|
|
12622
|
-
const
|
|
12623
|
-
|
|
12627
|
+
const v = (M = I.error) == null ? void 0 : M.type;
|
|
12628
|
+
let C = I.error;
|
|
12629
|
+
if (v && v in n) {
|
|
12630
|
+
const E = this.getErrorMessage(C);
|
|
12631
|
+
C = n[v](E);
|
|
12624
12632
|
}
|
|
12625
|
-
return { error:
|
|
12633
|
+
return { error: C };
|
|
12626
12634
|
}
|
|
12627
|
-
const
|
|
12628
|
-
if ("data" in
|
|
12629
|
-
this.schedulerStore.set("eventInfo",
|
|
12630
|
-
else if (
|
|
12631
|
-
this.schedulerStore.set("eventInfo",
|
|
12635
|
+
const _ = this.schedulerStore.get("reschedulingEventInfo");
|
|
12636
|
+
if ("data" in I)
|
|
12637
|
+
this.schedulerStore.set("eventInfo", I == null ? void 0 : I.data);
|
|
12638
|
+
else if (_)
|
|
12639
|
+
this.schedulerStore.set("eventInfo", _);
|
|
12632
12640
|
else {
|
|
12633
|
-
const
|
|
12641
|
+
const v = {
|
|
12634
12642
|
booking_id: e
|
|
12635
12643
|
};
|
|
12636
|
-
this.schedulerStore.set("eventInfo",
|
|
12644
|
+
this.schedulerStore.set("eventInfo", v);
|
|
12637
12645
|
}
|
|
12638
|
-
return this.schedulerStore.set("isLoading", !1),
|
|
12646
|
+
return this.schedulerStore.set("isLoading", !1), I;
|
|
12639
12647
|
}
|
|
12640
12648
|
async updateBooking(e) {
|
|
12641
12649
|
var c;
|
|
@@ -12971,7 +12979,7 @@ const hw = ":host{display:contents}", gw = hw, tb = Ob(class extends Ub {
|
|
|
12971
12979
|
return (e = this.baseProvider) == null ? void 0 : e.getStore("schedulerConfig");
|
|
12972
12980
|
}
|
|
12973
12981
|
render() {
|
|
12974
|
-
return nn(ks, { key: "
|
|
12982
|
+
return nn(ks, { key: "a07ace4fe61c7f7ee20b723d1858f7ebac56ff95" }, nn("slot", { key: "7c10f2b5cf18450c28617b3f35215b720f1d8bd2" }));
|
|
12975
12983
|
}
|
|
12976
12984
|
get host() {
|
|
12977
12985
|
return this;
|